Can't load Kernel binary: Dart 2.3 not being recognised

I have Dart 2.3 installed but still I get this error when I run webdev serve in my terminal:
E:\ghghghghgghh>webdev serve
Can't load Kernel binary: Invalid kernel binary format version.
webdev 2.0.5 doesn't support Dart 2.1.0.

Flutter doctor report:
[√] Flutter (Channel beta, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.14393], locale en-GB)
    • Flutter version 1.5.4-hotfix.2 at C:\flutter
    • Framework revision 7a4c33425d (3 weeks ago), 2019-04-29 11:05:24 -0700
    • Engine revision 52c7a1e849
    • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\acer\AppData\Local\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = C:\Users\acer\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[√] Android Studio (version 3.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 29.1.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

You closed this without providing a solution. Could you tell us how you fixed your problem?

@squeezyPig just uninstall the extra dart sdk and use the one that comes with flutter. I uninstalled dart 2.1.0 and VScode automatically configured to the Flutter dart sdk which was 2.3. I hope this helps.

@bayardkalyan how exactly did u do that?


Implemented support for spy.on and spy.object methods

This pull request allows clients to create spy objects(mock objects):
var storage = chai.spy.object('storage', [ 'getItem', 'setItem', 'removeItem' ]);

entityManager.useStorage(storage);

And simplifies spying of object methods
// instead of writing
object.method = chai.spy(object.method);

// you can write
chai.spy.on(object, 'method');

Looks like some really good work @stalniy :smile:!
I've made one small point which I'd like to see addressed, otherwise I'm happy to merge.

glad to hear this @keithamus =)

@keithamus any progress on this?

Great work @stalniy.
FYI I'm not sure github notifies maintainers when a commit is made in a PR, it only seems to notify when you comment. Its always worth just dropping a comment on a PR that you update.

ah, got it. Thanks :)

Could you please publish a new version?


Tap approve or confirm in transaction confirmation actionsheet and button shakes with no error message

This issue is to try to reproduce error and figure out what's wrong
#5453 fixes it so that the errors will be displayed

Re-open if necessary


Create/find text object for pasting a line before current line

No longer wanted or needed. Closing.


Added support in ManageIQ::API::Common::Request to know about request paths with optional authentication

Exposing optional_auth? and related required_auth?
The common paths include:

/api/.*/v#[.#]/openapi.json (osd deployment)
/api/v#[.#]/openapi.json (rails dev env)

/cc @gtanzillo - one of the 2 PRs needed to support optional auth paths (i.e. openapi.json)


Restart and saved game data folder with spaces

So I tried out the restart feature.
However from what I can guess it doesn't handle save game data folders which contain a space e.g. C:\Users\Marvinator\Documents\my games\RimWorld Alpha 13 - after restart, the same game data folder is re-overridden to C:\Users\Marvinator\Documents\my.
Steps to duplicate:

Create or have a RimWorld shortcut which points to a saved game folder other than the default and contains a space.
Start RimWorld using this shortcut.
Enter Mods screen.
Leave Mods screen.
Choose Restart when prompted.

I tested these steps using a non-spaced savegame data folder and that worked fine, by the way, so it's a workaround I can use for now.
output_log.txt
Hope this helps!

Will look at quoting the passed arguments for the next release.


Detect node runtime complains, but no error is found

Describe the bug
When opening VS Code after a reboot, each window that opens displays the modal

There is no apparent error in the terminal window opened, and the SQLTools log does not show anything that looks like an error
[1670191862367] INFO  (ext): initializing language client...
[1670191862367] INFO  (ext): Detecting node path (if this stalls check Terminal view for the stuck session and kill it)...
    ns: "lc"
[1670191865364] INFO  (ext): Registering client for languages [{"scheme":"sqltools"},{"language":"sql","scheme":"untitled"},{"language":"sql","scheme":"file"},{"language":"sql","scheme":"sqltools"}]
    ns: "lc"
[1670191865367] INFO  (ext): loading plugins...
[1670191865367] INFO  (ext): registering Formatter Plugin.
    plugin: {
      "name": "Formatter Plugin"
    }
[1670191865367] INFO  (ext): registering Connection Manager Plugin.
    plugin: {
      "name": "Connection Manager Plugin"
    }
[1670191865367] INFO  (ext): registering CodeLens Plugin.
    plugin: {
      "name": "CodeLens Plugin",
      "registeredLanguages": []
    }
[1670191865368] INFO  (ext): registering Dependency Manager Plugin.
    plugin: {
      "name": "Dependency Manager Plugin",
      "installingDrivers": []
    }
[1670191865369] INFO  (ext): Connection explorer changed. Will be updated.
    ns: "conn-man:explorer"
[1670191865369] INFO  (ext): registering History Manager Plugin.
    plugin: {
      "name": "History Manager Plugin"
    }
[1670191865370] INFO  (ext): registering Bookmarks Manager Plugin.
    plugin: {
      "name": "Bookmarks Manager Plugin"
    }
[1670191865371] INFO  (ext): SQLTools activation completed. 3010.017866 ms
[1670191865371] INFO  (ext): Formatter Plugin registered!
[1670191865371] INFO  (ext): CodeLens Plugin registered!
[1670191865372] INFO  (ext): Dependency Manager Plugin registered!
[1670191865372] INFO  (ext): Connection Manager Plugin registered!
[1670191865372] INFO  (ext): History Manager Plugin registered!
[1670191865372] INFO  (ext): Bookmarks Manager Plugin registered!
[1670191865820] INFO  (ls): SQLTools Server started!
===============================
Using node runtime?: yes
ExecPath: /usr/local/Cellar/node/18.11.0/bin/node v18.11.0
===============================
[1670191865853] INFO  (ext): registering MySQL/MariaDB Plugin (driver).
    plugin: {
      "extensionId": "mtxr.sqltools-driver-mysql",
      "name": "MySQL/MariaDB Plugin",
      "type": "driver"
    }
[1670191865853] INFO  (ext): registering SQLite Plugin (driver).
    plugin: {
      "extensionId": "mtxr.sqltools-driver-sqlite",
      "name": "SQLite Plugin",
      "type": "driver"
    }
[1670191867222] INFO  (ext): EXECUTING COMMAND => sqltools.refreshTree
[1670191867222] INFO  (ext): Connection explorer changed. Will be updated.
    ns: "conn-man:explorer"
[1670191867231] INFO  (ext): LanguageClient ready
    ns: "lc"
[1670191867231] INFO  (ls): Initialized with node version:v18.11.0
[1670191867234] INFO  (ls): REQUEST RECEIVED => ls/RegisterPlugin
[1670191867234] INFO  (ls): request to register plugin: "/Users/paul/.vscode/extensions/mtxr.sqltools-driver-mysql-0.4.1/out/ls/plugin.js"
[1670191867377] INFO  (ls): Driver mysql registered!
    place: "driver-map"
    ns: "ls-context"
[1670191867378] INFO  (ls): Driver mariadb registered!
    place: "driver-map"
    ns: "ls-context"
[1670191867378] INFO  (ls): REQUEST RECEIVED => ls/RegisterPlugin
[1670191867379] INFO  (ls): request to register plugin: "/Users/paul/.vscode/extensions/mtxr.sqltools-driver-sqlite-0.4.1/out/ls/plugin.js"
[1670191867490] INFO  (ext): Connection explorer changed. Will be updated.
    ns: "conn-man:explorer"
[1670191867653] INFO  (ext): MySQL/MariaDB Plugin (driver) registered!
[1670191867545] INFO  (ls): Driver sqlite registered!
    place: "driver-map"
    ns: "ls-context"
[1670191867697] INFO  (ext): SQLite Plugin (driver) registered!
[1670191868697] INFO  (ext): EXECUTING COMMAND => sqltools.refreshTree
[1670191868697] INFO  (ext): Connection explorer changed. Will be updated.
    ns: "conn-man:explorer"

If I reload the VS Code window, everything seems to work, as I am informed Node runtime auto-detected. Using /usr/local/Cellar/node/18.11.0/bin/node.
Expected behavior
Either no complains on proper operation, or a log describing what the problem is
Desktop (please complete the following information):

SQLTools Version v0.26.0
VS Code Version:
Version: 1.73.1
Commit:<PHONE_NUMBER>f055b99068d3688932416f2346dd3b
Date: 2022-11-09T02:08:38.961Z (3 wks ago)
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 21.6.0
Sandboxed: No
OS: macOS Montery 12.6.1
Driver:

[ ] PostgreSQL/Redshift
[ ] MySQL/MariaDB
[ ] MSSQL/Azure
[X] SQLite
[ ] Other? Which...

Database version: [e.g. MySQL v5.6, PostgreSQL vX...]

Additional context
Add any other context about the problem here.

Probably a duplicate of #1034


bug: l1 message is processed repeatedly

If an L1 message fails to be processed, it gets processed again when you restart the node.

@apoorvsadana is this available to be picked up?

Sure @prtk418, assigned

repository archived in favor of https://github.com/madara-alliance/madara


don't link to libgrpc(++)_unsecure

Linking to libgrpc(++)_unsecure.lib disables the possibility to
correctly establish SSL channels (connection silently fails). As the
package always builds with encryption support, it should actually
provide the functionality.
Fixes #49

It's actually worse than that. Linking to both secure and unsecure cause undefined behavior.

This recipe is now in the Conan Center Index.
Please migrate to the recipe version there.
If this is still an issue, please create a new issue in the Conan Center Index issue tracker.
Thanks!
https://conan.io/center/grpc


Fix grammatical error in Network plugins segment in "Compute, Storage, and Networking Extensions" document

Fixing a grammatical error in the Network plugins
paragraph. I chose to maintain consistency with
the preceding section, Device plugins.
Description
Fixing the following grammatical error:
- A network plugin allow Kubernetes to work with different networking topologies and technologies.
+ Network plugins allow Kubernetes to work with different networking topologies and technologies.

/lgtm


Fixed imports to new style flask extensions imports

Fixed the imports in the docs and tests.

Thanks! :)


[SPARK-25084][SQL] distribute by on multiple columns may lead to code…

…gen issue
What changes were proposed in this pull request?
"distribute by" on multiple columns may lead to codegen issue
How was this patch tested?
manual test

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@cloud-fan @jerryshao

ok to test.

Test build #94547 has started for PR 22067 at commit 9e6941c.

Test build #94547 has finished for PR 22067 at commit 9e6941c.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94547/
Test FAILed.

Merged build finished. Test FAILed.

ok to test.

@jerryshao Could you help to trigger test build please?

Test build #94556 has started for PR 22067 at commit 0a6bccc.

Add unit test with a rand() column in 'distribute by'

Test build #94562 has started for PR 22067 at commit b799e92.

Test build #94556 has finished for PR 22067 at commit 0a6bccc.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94556/
Test FAILed.

retest this please

Test build #94568 has started for PR 22067 at commit b799e92.

Test build #94562 has finished for PR 22067 at commit b799e92.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94562/
Test FAILed.

Test build #94568 has finished for PR 22067 at commit b799e92.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94568/
Test FAILed.

Seems #22066 has changed the implementation with a similar approach. I will close this one.


perlPackages.NumberPhone: remove dep on null alias

Description of changes
TestMore is an alias for TestSimple, which is an alias for null. Introduced in https://github.com/NixOS/nixpkgs/pull/173741. Channel blocker, as pointed out in https://github.com/NixOS/nixpkgs/pull/173741#issuecomment-1135060675. Also breaks nixpkgs-review (see also #172386).
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

@ofborg build perl532Packages.NumberPhone perl532Packages.DBMDeep


Modules: Percepio TraceRecorder: Update module from v4.6.0(RC1) to v4.6.3

This update updates the TraceRecorder module from version v4.6.0
(RC1) to v4.6.3. This update fixes some minor bugs where
deleted threads werent removed from the thread table. This
update is also in preparation for updates which changes
some trace hook arguments in Zephyr.
The update to v4.6.3 also improves syscall tracing by
including the id and name as parameters when logging
these events.
Signed-off-by: Torbjörn Leksell<EMAIL_ADDRESS>

@tleksell-pe  please update manifest, the recorder PR was merged.

@nashif the manifest has been updated with the new commit id.


pointer - pointer

For example, strstr() returns a pointer to a substring. There is no good way to get the index of the substring from the pointer.
Not sure what's the best way to do this. I still don't think pointer + integer is a good idea for Jou, because &pointer[integer] does the same thing and is somewhat easier to understand. So if I add pointer - pointer, then you have subtraction without the corresponding addition.

Pretty happy with using #453 for this.


Typo: “desigh” → “design”

Saw the typo, decided it wasn’t intentionally put in place to make a point. ;)

Good catch, thanks!


Add FibreChannel SFP28 (32GFC) interface support

Environment

Python version:  3.6.7
NetBox version:  v2.5-beta1

Proposed Functionality
Just like issue #2561 I spotted an interface type that is not available in Netbox yet: 32G Fibre Channel (32GFC) SFP28. It would be really nice if you could include it. :heart:
https://www.finisar.com/optical-transceivers/ftlf8532p4bcv

Hey @jeremystretch!
Thanks for adding the 32GFC support. From what I can tell it's not that hard to add any additional interface types. If I wanted to add even more interface types could I simply fork the project (development tree) and then add them to the 0062_interface_mtu.py and constants.py files?
I was recently made aware by a colleague that there is also a 4x32GFC QSFP28 interface type available (Brocade part number XBR-000275). Would I name it as IFACE_FF_4X32GFC_QSFP28?

@swerveshot You would:

add them to the constants.py
python3 /netbox/manage.py makemigrations

As a best practice, I would do the following:

Fork the repository
git clone https://github.com//netbox
git checkout develop
git checkout -B <issue#>-description
make changes
python3 /netbox/manage.py makemigrations
git add .
git commit -m"Fixes #<issue#> - Proper description"

You can go further if you want and list out everything that was changed in a more detailed commit message

git push origin <issue#>-description
Open a pull request

This is just what I would do, you can really do it however you want, but I would say work in adifferent branch then develop, otherwise you end up polluting the pull request with extra fluff as well.

Yes, you would need a fully functional install of netbox, including PostgreSQL

Okay @DanSheps now it gets interesting. Do you have any thoughts on how to get you own fork up-and-running really fast? I tried the Vagrant route and that works. All you need to do is change the URL of the repo. But it would be really awesome if I could use Docker Playground and avoid having to host my own Netbox fork in a VM. But unfortunately I have no idea how to accomplish this.


Compiling paper support scripts and analysis notebooks for the paper

I have added a folder in papers/Remy2021 to add all of the notebooks and scripts needed to reproduce all of the results from the paper. I'm going to use this issue as our TODO
Here are the currently missing info/scripts (can be the command line used to train the models, added in the README):

[ ] : Training Deep Mass
[ ] : Training Score Network
[ ] : Generating Samples for COSMOS
[ ] : Running the cluster experiment

Here are the currently missing notebooks:

[ ] : Data preparation for COSMOS dataset, should produce Fig.2
[ ] : Notebook producing Fig 1.
[ ] : Notebook producing Fig 3.
[ ] : Notebook producing Fig 4.
[ ] : Notebook producing Fig 5.
[ ] : Notebook producing Fig 6,7
[ ] : Notebook producing Fig 9

#40 should allow us to tick one of the boxes above


camel-quarkus-jacksonxml:JsonView annotations take no effect in native mode

Can't control the xml payload(with selected properties), seems somehow JsonView doesn't work in native mode only

It turns out to be that JsonView annotation relys on the reflection to load class like
@JsonView(Views.Weight.class)
    private int weight = 70;

And the class here(Both inner class and outer class should be marked as @RegisterForReflection during runtime)

Fixed via 5d2ef77f7fb56379a77eaad55fbe8ab029f92e20


patching the monitoring operator does not work

https://github.com/openshift-scale/scale-ci-deploy/blob/master/OCP-4.X/roles/post-install/tasks/main.yml#L200-L203
Results in
Node-Selectors:  beta.kubernetes.io/os=linux
                 node-role.kubernetes.io/infra=
                 node-role.kubernetes.io/master=

Which causes the monitoring operator to fail since there is no node with both labels.
We should be replacing the line, instead of just patching the infra node.
Maybe this is new for 4.3?

Fixed by https://github.com/openshift-scale/scale-ci-deploy/pull/50.


Bundle native lib into jar

Bundle native library into jar and use
https://stackoverflow.com/a/49500154/1562087

Publish to GitHub Packages following this doc:
https://help.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-gradle-for-use-with-github-packages


Install instructions for other Linux distros.

Just wondering if anyone knows off hand how to install on Fedora? I tried the Ubuntu instructions in the readme minus the apt-get parts ofc(I already have libappindicator1, libnotify4, wget, unzip installed) and it fails spectacularly,lol!!!

I have recently removed the node_modules folder as they now need to be built for each architecture (a follow up README.md needs to occur), so technically to be able to install you need Node.JS and some build libraries, from the top of my head, the packages used for Ubuntu are:
libexpat
libdbus-1-dev
libglib2.0-dev
build-essentials
Node.JS /NPM /node-gyp
Of course you just need to be able to find the packages for Fedora. You then need to 'npm install' the Spotify directory to install all of the essential package dependencies. Since implementing a range of things, I never allowed the dbus_service to run without a local prerequisite version of Node.JS.
This means you can either download the prerequisites and keep everything together, or you make a link between your version of node and refer it to /path/to/project/libs/node/bin/node. At this point on you have started using it more as a developer than a user, but that's the 'easy way' to install it at this time.

That looks like a job for my next day off,lol!!! when I figure it out I'll post step by step instructions and/or make a wiki page for installing on Fedora.

Try the edit I just posted it is quite simple, if that works, I will edit the README for the temporary solution until I create RPM packages

sudo mkdir -p /usr/bin/spotifywebplayer/lib/electron && sudo unzip master.zip /usr/bin/spotifywebplayer

Results in:
Archive:  master.zip
a238a4229acf102f6866e9bad77aa522c3665733
caution: filename not matched:  /usr/bin/spotifywebplayer

Ahh sorry, try changing that to
sudo mkdir -p /usr/bin/spotifywebplayer/lib/electron && sudo unzip master.zip -d /usr/bin/spotifywebplayer

Ahh sorry, try changing that to

That worked butt...
cd /usr/bin/spotifywebplayer && . ./get_prerequisites.sh

Results in:
bash: ./get_prerequisites.sh: No such file or directory

The seems odd as I have no problem with the command at all.... I can only suggest making sure the get_prerequisites.sh file exists in /usr/bin/spotifywebplayer

Is there a folder called master inside the /usr/bin/spotifywebplayer directory?

Yep.
cd /usr/bin/spotifywebplayer/Spotify-Web-Player-for-Linux-master && ./get_prerequisites.sh

Finds and runs the script but results in:
Extracting Electron...
Archive:  /tmp/tmp.hNv3hewGbr
checkdir:  cannot create extraction directory: /usr/bin/spotifywebplayer/Spotify-Web-Player-for-Linux-master/libs//electron
           No such file or directory
Renamed Electron for process name similarity
mv: cannot stat '/usr/bin/spotifywebplayer/Spotify-Web-Player-for-Linux-master/libs//electron/electron': No such file or directory
Extracting Node.JS
tar: /usr/bin/spotifywebplayer/Spotify-Web-Player-for-Linux-master/libs: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
mv: cannot stat '/usr/bin/spotifywebplayer/Spotify-Web-Player-for-Linux-master/libs//node*': No such file or directory
Finished! :)

My guess would be the double ""'s  ("/libs//node")

nah it's because you previously created the libs and electron directory with the command
mkdir -p /usr/bin/spotifywebplayer/libs/electron

so when the zip had extracted to the wrong place (my mistake :S) the libs folder doesn't exist. The best thing to do would be to move everything out of the /usr/bin/spotifywebplayer/Spotify-Web-Player-for-Linux-master into /usr/bin/spotifywebplayer and run the get_prerequisites.sh script again, perhaps something like...
cp -R /usr/bin/spotifywebplayer/Spotify-Web-Player-for-Linux-master/* /usr/bin/spotifywebplayer

Tried:
sudo cp -R /usr/bin/spotifywebplayer/Spotify-Web-Player-for-Linux-master/* /usr/bin/spotifywebplayer

And then:
cd /usr/bin/spotifywebplayer/Spotify-Web-Player-for-Linux-master && ./get_prerequisites.sh

The result was the same.

Scratch that. My bad I got a permission denied.
That last command needs to be:
cd /usr/bin/spotifywebplayer/Spotify-Web-Player-for-Linux-master && sudo ./get_prerequisites.sh

The script seems to have finished with no errors.

That's fine, but I would remove the Spotify-Web-Player-for-Linux-master as everything is now in /usr/bin/spotifywebplayer
rm -rf /usr/bin/spotifywebplayer/Spotify-Web-Player-for-Linux-master

You will then have to extract the node_modules to the right place (run the command if 64bit)
wget https://github.com/Quacky2200/Spotify-Web-Player-for-Linux/files/458211/node_modules_x64.zip && unzip node_modules_x64.zip -d /usr/bin/spotifywebplayer

There's also an error with the last bit in the README as I have read on...
sudo cp /usr/bin/spotifywebplayer/icons/spotify-web-player.png /usr/share/pixmaps/spotify-web-player.png

Setup the launcher
sudo echo "[Desktop Entry]\nVersion=0.9.5-1\nName=Spotify Web Player\nComment=Music for every moment. Spotify is a digital music service that gives you access to millions of songs.\nExec=bash /usr/bin/spotifywebplayer/spotifywebplayer\nPath=/usr/bin/spotifywebplayer\nIcon=spotify-web-player\nCategories=GNOME;GTK;AudioVideo;Audio;Player;\nActions=PlayPause;Next;Previous;\nType=Application\nTerminal=false\n[Desktop Action PlayPause]\nName=Play/Pause\nExec=dbus-send --print-reply --reply-timeout=2500 --session --dest=org.mpris.MediaPlayer2.spotifywebplayer /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause\n[Desktop Action Next]\nName=Next\nExec=dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.spotifywebplayer /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next\n[Desktop Action Previous]\nName=Previous\nExec=dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.spotifywebplayer /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous"

You will also have to install libXScrnSaver using the command
dnf install libXScrnSaver

I don't know why but for some reason Electron requires it

It was already installed.
Your giant echo to create the desktop file fails. You should just ship a desktop file already made prob. I made my own based on your echo. mpris commands from the desktop file?

Yeah I realised that it failed, it was missing the -e parameter. Once that is there it works :)

I get:
bash: /usr/share/applications/spotifywebplayer.desktop: Permission denied

I'm not sure what command you're trying to do to that file, where it's chmod, echo etc, you will need to be root to modify the file (sudo?)

the echo

I'll try sudo su

sudo su did the trick for the echo. But now I get nothing when I click the icon.(no process is even started)
If I try the command from the desktop file I get:
/usr/bin/spotifywebplayer/./spotifywebplayer: line 4: /usr/bin/spotifywebplayer/libs/electron/spotifywebplayer: No such file or directory

is the electron executable called spotifywebplayer? If it is then is would be located in /usr/bin/spotifywebplayer/libs/electron/spotifywebplayer

/usr/bin/spotifywebplayer/libs/electron/ is empty

Oh, try running the prerequisite again, you ran it from the old directory, I wonder if that had any effect..
. /usr/bin/spotifywebplayer/get_prerequisites.sh

Other than that you will have to download electron manually

No bueno:
Extracting Electron...
Archive:  /tmp/tmp.VYc14HwqfX
checkdir:  cannot create extraction directory: /usr/bin/spotifywebplayer/libs//electron
           No such file or directory
Renamed Electron for process name similarity
mv: cannot stat '/usr/bin/spotifywebplayer/libs//electron/electron': No such file or directory
Extracting Node.JS
tar: /usr/bin/spotifywebplayer/libs: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
mv: cannot stat '/usr/bin/spotifywebplayer/libs//node*': No such file or directory
Finished! :)

Run with root/sudo? I can't imagine it being the script as it has been fine or so long

``bash
cd /usr/bin/spotifywebplayer && sudo ./get_prerequisites.sh
Did the trick. It's up and running. Thanks!!!

Slightly off topic but is this normal?

That seems like excessive resource usage.

Sadly yes, this is what Electron uses, it's pretty heavy however, the only figures you need to read is just normal memory rather than resident?

I know. Even that is crazy high. For a frame of reference Pithos uses about 45MB of "normal memory." I guess it is what it is. The price of portability I guess,lol!!!

Yes, I totally agree however this is just a web application, if I could do it without needing all these resources I would but if I were, I would also probably be programming it in Python. There is a pyspotify type application that uses sockets but each time I look at similar projects like that, Spotify is always one step ahead and they stop working for a while - not production level at all...

I feel your pain. Pithos relies on a api's that aren't public. It's a cat and mouse game. They change the api and break Pithos for a little bit then we figure out how to work around it.

The idea here (despite being a resource hog) is so that if anything does get changed which is hopefully just visual it will stay unaffected. Of course anything dramatic will prevent any of it working, but that's why I warn on my README that it's unofficial. Considering how Spotify change and/or remove so much functionality, I won't be able to assure people that it's safe from their evil developers :S. What I can assure them though is that it is more stable than pySpotify and node-spotify-web which have had neverending problems with playback, playlists and authentication.


生成的.d.map文件路径不正确.

基于1.5.0的测试(以前的也不行).
在vscode中,如果生成一个库给app用,如果库附带源代码.在tsconfig中打开 declarationMap.
运行 pnpm test:e2e.
plugin.ts会报错,修改一下可以运行了.
-compilerOptions.rootDir ||= root
+compilerOptions.rootDir = compilerOptions.rootDir || root;

生成的dist/components/DefaultImport.vue.d.ts.map的情况如下:
"sourceRoot":"",
"sources":["DefaultImport.vue.ts"]

tsconfig中增加 "sourceRoot": "."的情况如下
"sourceRoot":"./",
"sources":["src/components/DefaultImport.vue.ts"]

app中引用库后,vscode无法定位到interface类型的源代码,只能导航到相应的 .d.ts 文件
正确的路径应该是.
"sourceRoot":"../../",
"sources":["src/components/DefaultImport.vue.ts"]

或者
"sourceRoot":".",
"sources":["../../src/components/DefaultImport.vue.ts"]

是插件的问题,还是配置问题呢

经过考虑，map 文件路径就算正确也无法指向回 vue 文件，所以目前先不支持 map 功能了。

From what I could translate, it seems declarationMaps are not yet supported, is that correct ? I see @qmhc you added a milestone for this earlier, does this mean the feature is to be included in the next release ?
This is quite a deal breaker for our library since declarationMaps are a very handy feature for DX.
I came across the exact same problem as @BigMango and solved it by using rollup plugins. My solution is a bit hacky, and I would love to have this implemented here instead.

@cchanche The main problem is how to map to vue soruce file.


Add dev patch to set detailed HTTP errors

Resubmitting #22 against dev branch.

Thanks again, @coreyasmith 😁


Revert "Enable extended binary with the v0.43 release."

Reverts felicianotech/docker-hugo#63
The binary isn't running. Undoing this change until I figure out why.

Forgot to merge this and now have a fix, so closing.


npm run dev 报错

`ERROR in ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/Main.vue
Module not found: Error: Can't resolve './main_components/tagsPageopened.vue' in '/home/disk/workspace/vue/iview-admin/src/views'
@ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/Main.vue 11:22-69
@ ./src/views/Main.vue
@ ./src/router.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main
ERROR in ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/my_components/markdown-editor/markdown-editor.vue
Module not found: Error: Can't resolve 'SimpleMDE' in '/home/disk/workspace/vue/iview-admin/src/views/my_components/markdown-editor'
@ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/my_components/markdown-editor/markdown-editor.vue 7:17-37
@ ./src/views/my_components/markdown-editor/markdown-editor.vue
@ ./src/router.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main
ERROR in ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/my_components/count-to/CountTo.vue
Module not found: Error: Can't resolve 'countUp' in '/home/disk/workspace/vue/iview-admin/src/views/my_components/count-to'
@ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/my_components/count-to/CountTo.vue 7:15-33
@ ./src/views/my_components/count-to/CountTo.vue
@ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/my_components/count-to/count-to.vue
@ ./src/views/my_components/count-to/count-to.vue
@ ./src/router.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main
ERROR in ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/home/components/countUp.vue
Module not found: Error: Can't resolve 'countUp' in '/home/disk/workspace/vue/iview-admin/src/views/home/components'
@ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/home/components/countUp.vue 7:15-33
@ ./src/views/home/components/countUp.vue
@ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/home/home.vue
@ ./src/views/home/home.vue
@ ./src/router.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main
`

关闭issue给个提示吧@lison16

不好意思哈

主要是 import SimpleMDE from 'SimpleMDE' 和 import countUp from 'countUp' 这两个地方会报Module not found。昨天晚上还clone到本地，不知道什么问题，这两个是第三方插件吧，，@lison16


[Question]: iOS background doesn't work （kCLErrorDomain error 1）

Please check the following before submitting a new issue.

[X] I have searched the existing issues.
[X] I have carefully read the documentation.

Please select for which platform(s) you need help

[ ] Android
[X] iOS
[ ] Linux
[ ] macOS
[ ] Web
[ ] Windows

Your question
final locationSettings = AppleSettings(
activityType: ActivityType.fitness,
showBackgroundLocationIndicator: true,
allowBackgroundLocationUpdates: true,
);
final sub =
    LocationUtils.getPositionStream(locationSettings: locationSettings).listen((event) {}, onError: (error) {
  print('=======$error');
});

background is enable
info
NSLocationAlwaysAndWhenInUseUsageDescription
NSLocationAlwaysUsageDescription
NSLocationWhenInUseUsageDescription
Flutter 3.19.5
Tools • Dart 3.3.3 • DevTools 2.31.1
Version
12

Dear @jupeng123,
What type of permission have you requested? Could it be related to this issue? And can you check if this works in the example app?
Kind regards,

Dear @jupeng123,
What type of permission have you requested? Could it be related to this issue? And can you check if this works in the example app?
Kind regards,

static Future handleLocationPermission({bool checkService = true}) async {
if (checkService) {
final serviceFlag = await serviceEnabled();
if (!serviceFlag) {
return false;
}
}
LocationPermission permission;
permission = await Geolocator.checkPermission();
if (permission == LocationPermission.denied) {
  permission = await Geolocator.requestPermission();
  if (permission == LocationPermission.denied) {
    return false;
  }
}
if (permission == LocationPermission.deniedForever) {
  return false;
}

return true;

}

Dear @jupeng123,
I asked another question. Are you able to reproduce it with the example app?
Kind regards,

Location permission has been granted

kCLErrorDomain Code 1 occurs when the user has denied your app access to location services. Please check if you have the correct permissions for background locations on iOS. Also try if it is happening with the example app. Also are you testing this on a real iOS device? Because your screenshot does not look like default iOS.
Kind regards,

kCLErrorDomain Code 1 occurs when the user has denied your app access to location services. Please check if you have the correct permissions for background locations on iOS. Also try if it is happening with the example app. Also are you testing this on a real iOS device? Because your screenshot does not look like default iOS.
Kind regards,

Location permissions are all enabled

kCLErrorDomain Code 1 occurs when the user has denied your app access to location services. Please check if you have the correct permissions for background locations on iOS. Also try if it is happening with the example app. Also are you testing this on a real iOS device? Because your screenshot does not look like default iOS.

The device is an iPhone, and location services and permissions are enabled

Dear @jupeng123,
Did you try to run this in the example app?
Kind regards,


What are the requirements for redistribution in other projects?

I would like to use gamecontrollerdb.txt in an open source project that has been released under the GNU General Public License v3.0. The SDL_GameControllerDB license file says the project can be redistributed, but one restriction stuck out to me:

This notice may not be removed or altered from any source distribution.

Does this mean if I use any part of of SDL_GameControllerDB, the LICENSE file must also be included? If so, how would I distinguish SDL_GameControllerDB's license from the license of my own project?

First, I am not a lawyer and this is not legal advice.
You could use a subfolder with the db and license file inside, you can rename the license file so it is clear it is the gamecontrollerdb's license, or you could paste the license as a comment at the top of the db. It should simply be clear it is the database's license and the license should not be modified.


Console: Error when removing Account Management Permissions

Describe the issue:
The console does not work if account all management permissions are removed.  A minimum of view permission on account management is needed.
How to reproduce:
Remove all account management permissions to a role.  Assign that role to a user.  Log in as that user.
Expected behavior:
Expect to log into the console with the "Manage" tab disabled or removed.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: 5.11.0
OS: Windows & Linux
Database: Postgres
Userstore: JDBC

Optional Fields
Related issues:
Properly handle less privileged users inside Console features #10473
Suggested labels:

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


centered the user joined and user left message #23

This is completely fine. But What I would suggest is that please fork the repo again, make changes, and do send the same PR again. I will merge it. @singhalaman23

This is completely fine. But due to a problem, What I would suggest is that please fork the repo again, make changes, and do send the same PR again. I will merge it. @singhalaman23

This is completely fine. But due to a problem, What I would suggest is that please fork the repo again, make changes, and do send the same PR again. I will merge it. @singhalaman23

I have deleted the old forked repository and made a PR using the new forked repo this time...... please check


Tracking page views (dl, dh and dp query parameters)

Description
Hi! Thanks for vue-analytics and vue-gtag! I've noticed an unexpected behaviour when trying out vue-gtag.
Expected behavior
Say we have two URLs: example.org/about and example.org/contacts. When I go from /about to /contacts, I expect collect request to have dl=example.org/contact or dh=example.org&dp=/contact.
Actual behavior
What I see is dl=example.org/about&dp=/contacts. Is this intended behaviour? As far as I understand, there should be either only dl or both dh and dp, where dl is the location of the current document (example.org/contacts), dh is hostname and dp is the path.
https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#dl
Reproducible Demo
https://codesandbox.io/s/zen-gauss-9szcy

If what I see is indeed unintended, maybe the problem is here:
https://github.com/MatteoGabriele/vue-gtag/blob/c8390791f0ffa0937b643cbb6df4df1fab62f8de/src/page-tracker.js#L31
window.location.href should be replaced with window.location.host

:tada: This issue has been resolved in version 1.6.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Julia recipe

https://github.com/mit-orcd/orcd-docs-edit/blob/sec/julia-recipe/docs/recipes/julia.md


Better actions documentation

Here's a better explanation of:

Where degit.json should go
What happens to existing files when you clone
The example degit.json files are written in proper json

Should close https://github.com/Rich-Harris/degit/issues/36 and close https://github.com/Rich-Harris/degit/issues/31

Excellent, thank you!


feat: add evo quorum platformsign command

For a more granular access control,  Core introduced new endpoint quorum platformsign dedicated to Dash Platform.
This PR adds that endpoint to REST interface.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

27 of 37 (72.97%)  changed or added relevant lines in 4 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.2%) to 54.089%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

btcjson/dashevocmds.go
17
19
89.47%

rpcclient/evo.go
8
16
50.0%

Files with Coverage Reduction
New Missed Lines
%

connmgr/connmanager.go
2
86.79%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
24578

Relevant Lines:
45440

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

27 of 37 (72.97%)  changed or added relevant lines in 4 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.2%) to 54.089%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

btcjson/dashevocmds.go
17
19
89.47%

rpcclient/evo.go
8
16
50.0%

Files with Coverage Reduction
New Missed Lines
%

connmgr/connmanager.go
2
86.79%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
24578

Relevant Lines:
45440

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

27 of 37 (72.97%)  changed or added relevant lines in 4 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.2%) to 54.089%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

btcjson/dashevocmds.go
17
19
89.47%

rpcclient/evo.go
8
16
50.0%

Files with Coverage Reduction
New Missed Lines
%

connmgr/connmanager.go
2
86.79%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
24578

Relevant Lines:
45440

💛  - Coveralls


Fixture JSONAPI

Recently I searched the documentation, any response example of a fixture in JSONAPI but not found.
Currently I spend my fixtures normal JSON without formatting JSONAPI. But my serializer and adapter are in JSONAPI. For example, I want to know how I can send a meta tag for page counter, for example:
"count-pages": 13
}```

How I can do this with fixtures?

Fixtures are really for seeding DB data, so putting meta in there probably isn't a good idea.
You can use the this.serialize helper and add meta to your response from a route handler:
this.get('/posts', function(schema, request) {
  let json = this.serialize(schema.posts.all());

  json.meta = {
    some: 'key
  };

  return json;
});

@danilovaz Are you set here?  If so, let's close this issue ...

Hi guys!
Sorry for the delay... busy days :disappointed:
Issue resolved, I will close it.
Thank's so much :heart:


Tabs to 2 space changes for treetop files

I can't merge this because it contains the generated Ruby files for English.treetop and the other two in that directory.


Fix for attribute compatibility rules for file dependencies loaded from configuration cache

Fixes #?
Context
Ensure that attribute compatibility rules are applied to directories contained in file dependencies loaded from the configuration cache.
Contributor Checklist

[ ] Review Contribution Guidelines
[ ] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[ ] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[ ] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[ ] Ensure that tests pass sanity check: ./gradlew sanityCheck
[ ] Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation

@bot-gradle test and merge

I've triggered a build for you.


Update the engine features with the right value

From an email sent to Gary:
I forgot to say when merging the WebGPU changes to the master branch that I added a new EngineFeature property to the engine, which basically replaces all the occurrences of engine.webGLVersion that were used for testing purposes by a test in the feature property. For the time being, all the features are false for native engine as I didn't know what the right value would be.
So, that's something you (or someone else in the Native team) will need to update to match the capabilities of the engine. There's a comment for each capability in the engineFeatures.ts file, but feel tree to ask me if something is not clear.

This is to correctly set the engine._caps from the native side.

This is similar and basically a dupe of #1163


Modify CBMC proofs to make assumptions about malloc explicit.

Some proofs assume that some pointers returned by malloc are not
NULL. This patch modifies those proofs to make these assumptions
explicit with __CPROVER_assume(pointer != NULL) for all such
pointers.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot cbmc restart

/cbmc run checks


Update sites.json

Yes, it‘s true, I need to change it, sorry😅
El El dom, 4 ago 2024 a las 21:23, Tulio Leao @.***>
escribió:

@.**** commented on this pull request.
I'm confused, the notes seem to state that it is impossible to delete the
account, but then the difficulty chosen is hard. Can you clarify?
—
Reply to this email directly, view it on GitHub
https://github.com/jdm-contrib/jdm/pull/2186#pullrequestreview-2217803123,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDPX4GLUQRUCPH6ZRQ62O3DZPZ5TBAVCNFSM6AAAAABL6ROEMOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDEMJXHAYDGMJSGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Put it also in spanish with notes_es as the website is mainly spanish


ddp opens processes on GPUs (and consumes memory) not assigned to the Trainer

🐛 Bug
When training on multiple GPUs with ddp, it is still starting processes on the unused GPUs (with a lot less memory, but still). It's not running any work there (GPU-Util is 0% in nvidia-smi).
How to fix this manually: I can run CUDA_VISIBLE_DEVICES="2,3" python train.py --gpus 0,1 and then it works, it only runs processes on GPUs 2,3 and nothing on 0,1.
It also crashes when you use GPU 0 or GPU 1 and then some others (for example 0, 2, 3 crashes).
To me it looks like the ddp rank is used to index into the list of visible GPUs and there is some error in how that is handled.
To Reproduce
Run training on GPU index 2,3 and it will also create a process on 0 and 1 (can be verified in nvidia-smi):
trainer = pl.Trainer(gpus=[2,3], accelerator='ddp')
trainer.fit(lightning_model)

Expected behavior
I should be able to run any GPU combination and the other GPUs should not be touched.
Environment

CUDA:

GPU:

GeForce RTX 2080 Ti
GeForce RTX 2080 Ti
GeForce RTX 2080 Ti
GeForce RTX 2080 Ti

available:         True
version:           10.2

Packages:

numpy:             1.18.5
pyTorch_debug:     True
pyTorch_version:   1.7.0
pytorch-lightning: 1.0.8
tqdm:              4.54.1

System:

OS:                Linux
architecture:

64bit
ELF

processor:         x86_64
python:            3.8.5
version:           #124-Ubuntu SMP Thu Oct 15 13:03:05 UTC 2020

I think it's related to this: https://github.com/PyTorchLightning/pytorch-lightning/issues/4705

Some further illustrations:
With GPU 0,1 all looks good, 2 processes one on GPU 0, one on GPU 1

However with GPU 2,3, suddenly there are two ghost processes on GPU 0 and 1

This can be fixed when using CUDA_VISIBLE_DEVICES="2,3" and then GPU 0,1 -> 2 processes one on GPU 2, one on GPU3

Some further illustrations:
With GPU 0,1 all looks good, 2 processes one on GPU 0, one on GPU 1

However with GPU 2,3, suddenly there are two ghost processes on GPU 0 and 1

This can be fixed when using CUDA_VISIBLE_DEVICES="2,3" and then GPU 0,1 -> 2 processes one on GPU 2, one on GPU3

same as here? #4705

would you be able to share a reproducible script?

@edenlightning Here is a reproducable script:
https://github.com/mpaepper/pytorch_lightning_issue_5041/tree/master
Running on GPUs 0 and 1 works: python index.py '0,1'
Running on GPUs 0, 2 and 3 doesn't work / hangs: python index.py '0,2,3'

Oh, and importantly what I forgot to mention:
While this fails: python index.py '0,2,3'
This works: CUDA_VISIBLE_DEVICES="0,2,3" python index.py "0,1,2"


Fail unified test if an operation throws an exception

A unified test should fail in the following circumstance:

The operation specification defines neither expectResult nor expectError
The operation throws an exception

JAVA-3960
A test for this is forthcoming in the spec test validator, but wanted to get the fix in now while it was fresh in my mind.

Seems like another situation when a test may fail is when an operation specification expects a result, but a error happens. And this case is covered by the change in this PR.

Seems like another situation when a test may fail is when an operation specification expects a result, but a error happens. And this case is covered by the change in this PR.


SOCIS - Eligibilty

As far as I know, SOCIS is meant for students whose institution is in ESA member states. So you might want to add that info too. :)

Can you submit a pull request for the change?


only get the video thumbnail

how can i make the porject only get the video thumbnail   and just start playing/buffereing when i press the play, ( i dont want the video to buffer in the background unless the user press play)

hey @syrakozz that's out of the scope for this project but you can manage and load thumbnails separately before adding a URL to the player.


Implement WrongDateFormatException

Implement WrongDateFormatException. This Exception is used for AddVisitCommand only. When user inputs date in format other than "yyyy-MM-dd" in addVisit command, WrongDateFormatException is thrown. This Exception is caught and relevant message is displayed for users.

Codecov Report

Merging #146 into master will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #146      +/-   ##
============================================
+ Coverage     76.06%   76.13%   +0.06%
  Complexity      808      808
============================================
  Files           113      113
  Lines          2390     2397       +7
  Branches        287      287
============================================
+ Hits           1818     1825       +7
  Misses          501      501
  Partials         71       71

Impacted Files
Coverage Δ
Complexity Δ

...main/java/seedu/address/commons/core/Messages.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

src/main/java/seedu/address/ui/MainWindow.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

...in/java/seedu/address/logic/parser/ParserUtil.java
95.38% <100.00%> (+0.30%)
26.00 <0.00> (ø)

...ress/logic/parser/visit/AddVisitCommandParser.java
76.47% <100.00%> (+5.04%)
3.00 <0.00> (ø)

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 4ceb739...3cdb53e. Read the comment docs.

This merge does not implement a WrongDateFormatException.
Instead it throws a ParseException that represents a wrong date format.


Unable to switch spaces on Big Sur 11.1 Beta

Hi, I appear to be unable to change or edit spaces on the Big Sur 11.1 beta.
I am unsure why this is. Any ideas? Could the scripting addition be incompatible with this version of MacOS?

https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-release)

I have exactly same problem. Everything else works (switching displays, moving windows, switching windows position etc.) but only this thing is broken. I am not able to change spaces. It changes displays for me. :)
I have Mac OS X 11.1 Beta and Yabai -v3.3.4.

https://github.com/koekeishiya/yabai/wiki/Disabling-System-Integrity-Protection
https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-release)

I've already done that, with the correct steps for Big Sur.

First of all, why are you still running the Beta version?
Verify that the scripting-addition installed correctly; this path should exist:  /Library/ScriptingAdditions/yabai.osax
What is the output of running: sudo yabai --load-sa
I upgraded from the release candidate to the official release and everything works fine.

Oops, I just notice what you are saying is version 11.1. Probably yabai has not been adapted to 11.1 yet.

Right.. I read 11.0.1 as well. Features that require the scripting-addition are heavily version-specific and I do not run Beta versionf of macOS on my mac. If you want to use these features you either need to patch it yourself or refrain from updating until the public release.

Right.. I read 11.0.1 as well. Features that require the scripting-addition are heavily version-specific and I do not run Beta versions of macOS on my mac. If you want to use these features you either need to patch it yourself or refrain from updating until the public release.

patching it requires changing the version check, correct? Do you mind explaining what/where I need to change?

Well, not exactly just a version check..
The byte patterns (and sometimes also offsets) here need to be changed to support 11.1:
https://github.com/koekeishiya/yabai/blob/master/src/osax/x86_64/payload.m

Well, not exactly just a version check..
The byte patterns (and sometimes also offsets) here need to be changed to support 11.1:
https://github.com/koekeishiya/yabai/blob/master/src/osax/x86_64/payload.m

Oh wow, I had no idea it was that complex! Thankfully, my workflow doesn't require me to have the scripting addition. I'll unenroll from the beta and wait for the actual release.

Thank you very much, I also didn't know about this complexity. :) Gonna wait for 11.1 as already updated.

For anyone else on 11.1beta, you can define shortcuts for switching spaces in the native MacOS settings.  I would recommend :one:  and :two:
:one:  Under System Preferences > Keyboard > Shortcuts, you can check the boxes to enable the hotkeys.
By default it's CTRL+1 -> CTRL+10.
:two:  Check the "Reduce motion" box in the Display section of Accessibility. So there isn't jitter when switching workspaces like how yabai does it when its working.

macOS 11.1 is officially released. Does anyone check whether yabai work well on it? Thanks.

Using 11.1, still unable to switch spaces. My guess is offsets probably need updating.

Okay, thank you. Let's stay tune. ❤


port jetty client

fixes https://github.com/http4s/http4s/issues/4089

Thanks!
I guess most of these handlers need to be synchronous for ordering? It would be bad to have onContent running as a future and maybe enqueue more content out of order?
If that's true:
1. I'm not sure we still need a loggingAsyncCallback.  They'll throw exceptions synchronously anyway, so we'll probably get two in the logs?

2. Are any of these really blocking calls?  The `unsafeRunSync` makes more sense to me than the `F.blocking`.

ahh no thanks, I just simply misunderstood the old code and was on the wrong track due to how invokeCallback was implemented. I'll change the code to use unsafeRunAndForget and will log the error cases via attempt

Thanks!
I guess most of these handlers need to be synchronous for ordering? It would be bad to have onContent running as a future and maybe enqueue more content out of order?
If that's true:
1. I'm not sure we still need a loggingAsyncCallback.  They'll throw exceptions synchronously anyway, so we'll probably get two in the logs?

2. Are any of these really blocking calls?  The `unsafeRunSync` makes more sense to me than the `F.blocking`.

ahh no thanks, I just simply misunderstood the old code and was on the wrong track due to how invokeCallback was implemented. I'll change the code to use unsafeRunAndForget and will log the error cases via attempt

I think this is wrong for the reasons above, but as good as what we have. I'd rather get it compiling, and fix the discovered bug as part of #4180.

I think this is wrong for the reasons above, but as good as what we have. I'd rather get it compiling, and fix the discovered bug as part of #4180.


docs: describe execution workflow inputs

While we do have an execution_output_specification.md, the "sanctioned" input files provided by APAeval are not extensively described in the docs. Would be good to add their specification to execution_output_specification.md and rename the file to execution_workflow_file_specifications.md or similar.

Fixed in #464


Fixes the build failure

REQUIRED: Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.

This PR includes the following changes to the `notebooks/official/pipelines/google_cloud_pipeline_components_dataproc_tabular.ipynb` notebook and fixes the PR #1917 :

Updates the mamba installation step and adds libmamba as solver
Adds clean up step for removing experiment and local folders
Adds a gcloud components update step for testing env (for creating artifact registry repo)
Updates the services needed to be enabled under Before you begin section

REQUIRED: Fill out the below checklists or remove if irrelevant

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[x] Use the notebook template as a starting point.
[x] Follow the style and grammar rules outlined in the above notebook template.
[x] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[x] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[ ] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[x] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

If you are opening a PR for Community Notebooks under the notebooks/community folder:

[ ] This notebook has been added to the CODEOWNERS file under the Community Notebooks section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

If you are opening a PR for Community Content under the community-content folder:

[ ] Make sure your main Content Directory Name is descriptive, informative, and includes some of the key products and attributes of your content, so that it is differentiable from other content
[ ] The main content directory has been added to the CODEOWNERS file under the Community Content section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

/gcbrun


MSDKUI-2300: Update examples

Removed map service definition because it is now present in SDK
manifest. Updated deprecated function.
Signed-off-by: Tadeusz Staszak<EMAIL_ADDRESS>

Codecov Report

Merging #181 into master will decrease coverage by 0.08%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #181      +/-   ##
============================================
- Coverage     73.73%   73.65%   -0.09%
+ Complexity     1628      986     -642
============================================
  Files           129       69      -60
  Lines          5731     3952    -1779
  Branches        824      442     -382
============================================
- Hits           4226     2911    -1315
+ Misses          913      797     -116
+ Partials        592      244     -348

Impacted Files
Coverage Δ
Complexity Δ

...ain/java/com/here/msdkuiapp/common/AppActionBar.kt

...main/java/com/here/msdkuiapp/routing/IconButton.kt

.../here/msdkuiapp/routing/SubOptionPanelPresenter.kt

...m/here/msdkuiapp/guidance/GuidanceDashBoardView.kt

.../msdkuiapp/position/LocationPermissionPresenter.kt

...ere/msdkuiapp/guidance/GuidanceManeuverFragment.kt

...rc/main/java/com/here/msdkuiapp/common/Constant.kt

...ava/com/here/msdkuiapp/routing/RoutingContracts.kt

...m/here/msdkuiapp/routing/SubOptionPanelFragment.kt

...ain/java/com/here/msdkuiapp/base/RetainFragment.kt

... and 50 more

Continue to review full report at Codecov.

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


It provides:

A ProcessorMiddleware function interface used to define the actual middleware
WrapProcessor, the function that you use to wrap a TProcessor in a list of middleware
A helper WrappedTProcessorFunction struct to help with developing middleware.

This is may be breaking change for any custom implementations of the TProcessor interface, but should not effect the code generated by compiling Thrift files.  It adds two functions to the interface that are a part of the generated TProcessor code, but were not defined in the interface explicitly.

[x] Did you create an Apache Jira ticket?  (not required for trivial changes)
[x] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[x] Did you squash your changes to a single commit?  (not required, but preferred)
[x] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[x] If your change does not involve any code, add  [skip ci] at the end of your pull request to free up build resources.

@dcelasun :)

@fishy @pacejackson thanks for the PR, I've been looking forward to this!
I'll play around with this locally tomorrow and we'll take it from there.

Tests are failing.
gopath/src/tests/multiplexed_protocol_test.go:72:35: cannot use processor (type *thrift.TMultiplexedProcessor) as type thrift.TProcessor in argument to thrift.NewTSimpleServer4:
	*thrift.TMultiplexedProcessor does not implement thrift.TProcessor (missing AddToProcessorMap method)
gopath/src/tests/multiplexed_protocol_test.go:111:35: cannot use processor (type *thrift.TMultiplexedProcessor) as type thrift.TProcessor in argument to thrift.NewTSimpleServer4:
	*thrift.TMultiplexedProcessor does not implement thrift.TProcessor (missing AddToProcessorMap method)
gopath/src/tests/multiplexed_protocol_test.go:150:35: cannot use processor (type *thrift.TMultiplexedProcessor) as type thrift.TProcessor in argument to thrift.NewTSimpleServer4:
	*thrift.TMultiplexedProcessor does not implement thrift.TProcessor (missing AddToProcessorMap method)
ok  	thrift	0.106s
FAIL	tests [build failed]
ok  	dontexportrwtest	0.004s
FAIL

Failing tests are fixed. The CI failure seems to be gradle related.

All right tests are green, I've managed to play around with it locally and everything looks good.
One small thing: Since this is a breaking change for TProcessor, please mention it in CHANGES.md.

Updated :)

Merged, thanks for the PR @pacejackson!


Jasonem

add problem_scenario.md & user_journey.md

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
10

Relevant Lines:
15

💛  - Coveralls


Automated cherry pick of #1397: Fix handling of empty podIPs annotation

Cherry pick of #1397 on release-v3.18.
#1397: Fix handling of empty podIPs annotation
Fix that Felix would incorrectly treat any deleted pod as immediately finished.  This meant that pods networked with non-Calico CNIs would not have connectivity in the termination grace period. @fasaxc

Reverted


localStorage not set when I set apiBase upon _tokenService.init()

I have a rails BE application on localhost:3000 and FE on localhost:4200. I am trying to get the token validation to be done automatically and I understand this happens through localStorage being set and retrieved during the _tokenService.validateToken() method. The problem seems to be that once I sign in (successfully), I looked at my localStorage in my browser and found nothing saved. Hence, when I refresh the page, there is no localStorage to validate as a part of my validateToken() method and hence, the session is not maintained on the browser. What am I missing here? Is there a mistake in the way I have initialised this command? Do I need to manually set the localStorage everytime? If so, how?
I tried a simple app where my  app.component.ts has the following
import { Component, ViewEncapsulation, OnInit } from '@angular/core';
import { Angular2TokenService } from 'angular2-token';
@Component
....
export class AppComponent {
    constructor(private _tokenService: Angular2TokenService) {
         this._tokenService.init({apiBase:'http://localhost:3000'});
    }
}

My Sign-in (sign-in.component.ts)
import { Component, OnInit } from '@angular/core';
import { Angular2TokenService, SignInData } from 'angular2-token';

@Component({
    selector: 'sign-in',
    templateUrl: 'sign-in.component.html'
})
export class SignInComponent {

    private _signInData: SignInData = <SignInData>{};
    private _output: any;

    constructor(private _tokenService: Angular2TokenService) { }

    // Submit Data to Backend
    onSubmit() {

        this._output = null;

        this._tokenService.signIn(this._signInData).subscribe(
            res => {
                this._signInData    = <SignInData>{};
                this._output        = res;
            }, error => {
                this._signInData    = <SignInData>{};
                this._output        = error;
            }
        );
    }
}

After much searching and trial and error, the solution was in setting a proxy for specific routes. This can be done by adding the following file in the root directory of your angular application

proxy.config.json

{
  "/auth": {
    "target": "http://localhost:3000",
    "secure": false
  }
}

also include this in your

package.json

{
..
..
  "scripts": {
  ...
  ...
  "start": "ng serve  --proxy-config proxy.conf.json",
  ...
  ...
  }
..
..
}

This issue fundamentally was that response headers sent were not getting allocated to my browsers localStorage through the following command
this._tokenService.init({apiBase:'http://localhost:3000'});
changed this back to
this._tokenService.init();
And instead routed all request through the /auth default routes set in the angular2-token through a proxy request to the corresponding rails routes.

@venomoustoad thanks a lot for your detailed explanation.
The way I solved this in the example repository (here) is to use hash style routing and this proxy.conf:
{
  "**": {
    "target": "http://localhost:3000",
    "secure": false
  }
}

Sure np. I tried your solution as well. The problem I faced was considering I had already defined a whole set of assets in my FE application and when I set a ** proxy, it was trying to load everything from my BE instead. Hence, i had to include the api routes uniquely.

I am having a similar issue.  I have the proxy set up and working, and can see localStorage being set in my browser, but getAuthDataFromStroage is returning null.

This was an error my end. I had two instances running.

i had the same problem with a rails api. I couldn't run my app with a proxy, so i have digged a bit deeper.
My Solution was, to allow the used headers explicit.
Example:
    resource '*',              headers: :any,              methods: %i[get post put patch delete options head],               :expose => ['access-token', 'client', 'expiry','token-type', 'uid']
Hope this helpes somebody in the future.


[Types] IntersectionObserverOptions.threshold prevents number[]

Hi there, observed the following inconsistency:
Describe the bug
According to the documentation IntersectionObserverOptions.threshold can be either number | number[].
But the types only allow for type number.
To Reproduce
Steps to reproduce the behavior:

Call const test = useIntersectionObserver(null, {threshold: [0, 1]})
See error Type 'number[]' is not assignable to type 'number'.ts(2322)

Expected behavior
The options object should accept type number[]
Would you be open for a PR?

Documentation is wrong


sudoers.pp osfamily and operating system name missing quote

instead of Redhat: {, it should be 'Redhat':{
please add missing quotes to all osfamily and operatingsystem

This was fixed in #28


Edit Keys

i want to edit what keys activate what buttons on the controlling but i cant figure out how. how do i do this?

When opening the application you will see a Blue background with a on button, look under that to see a controller icon and a settings icon.
Click the controller icon then click "Preset Name" in the bottom corner above "Add Preset". Type in the name of the game you will be playing and click "Add Preset".
Click the game name and then press "Load Preset" in the bottom left.
Click the "Keyboard" tab and then hover over the button you want to edit, move the mouse around near it until the key turns green, double click and it should appear with a new window that says "Select key for - ..." Press any key while inside this window and you should see it show up in the preview text.
When you are finished selecting the key you want press "Okay - Select key". Go back to the settings tab and then press "Save All Changes".
Go back to the "FILE" tab and find the text that says "Active Preset" if the preset does not say the same as "Editing" select the preset in the list of games and click "Set as Active" now the preset you just added and configured should be selected and saved.

To play a game with this preset press the On/Off key defined in the "Settings" tab to turn off the xbox controller (parts of the window should turn red to show that its disabled) and then open the Xbox App (Not the beta app, this will be receiving support soon).
Select your xbox and start streaming, press the On/Off key to turn it back on while in the xbox streaming overlay and you should now be-able to use the virtual xbox controller to control your xbox one.

Anymore questions relating to editing keys please reopen this issue if not but you have another question not related to this please open another issue :)


Refactors gas exchange carbon chemistry (+ adds some complexity)

This PR refactors the carbon chemistry calculations improving the clarity and supersedes #179.
It also moves both the carbon chemistry and gas exchange functions to Models since they are models, and separates them.
This PR also implements the full carbon chemistry standards of the best practice (https://www.ncei.noaa.gov/access/ocean-carbon-acidification-data-system/oceans/Handbook_2007/Guide_all_in_one.pdf) so it can depend on Si and PO4, and approximated fluoride and sulfate. It also introduces proper (TEOS10 and polynomial approximations) density calculations.
Also, all of the equilibrium and pressure correction constants are also tested now.
I also introduce a function calcite_saturation that can compute calcite_concentration and saturation for use in other models.
This should also be faster since it removed a branching operation.
Finally, I changed the structure of GasExchange to make it more flexible (and correct, there was a bug in the computation of x(CO2) from fCO2).

@bethcandish you could do some testing with the "best practice" parameters with this branch and see if it makes any difference, and if so change them here.

@johnryantaylor do you think it would make sense to move carbon chemistry to be a property of Biogeochemistry?
Previously we had only used it in the CO2 flux but PISCES needs the calcite saturation for various things, and it makes sense to me that we separate it so it can be used for any model.
It wouldn't cause many changes and will just be there to be called, e.g. by the boundary condition.

Also, I will update the docs page at some point but the code now includes the pressure correction for the rate constants. I have added some tests which ensure we have the constants right (when using the "best practice" parameters) like how Kgen does, so I think the only difference between the functionality here and cbsyst on the carbon front is the Mg and Ca bits.

Final comment for now, I'm pretty sure that this PR isn't breaking since OCMPI_default wasn't part of the public API, but it's not clear to me if it counts as breaking because lots of things have moved around. I don't really want to make a breaking release because it was a lot of effort to bump the compact of all my packages that rely on it like the giant kelp stuff.

I downloaded all of the latest GLODAP data (~200000 complete records) and get pH error to be 0.00018 ± 0.01173 with the "best practice" parameters (vs 0.006 ± 0.012 with the parameters from the NEMO source code).

Also, in the latest GLODAP, there are 9 cruises which report 10059 directly measured pCO2 values. With the "best practice" parameters I get an error of -7.6 ± 29.5 (vs 11 ± 28 for the NEMO values).

It also looks to me like the error variance is larger at lower temperatures and greater error at lower pH.
Given these results I think we should change the defaults to the "best practice" parameters.

Oh dear GibbsSeaWater doesn't work on GPU

Docs preview is done now and includes much better details of whats going on: https://oceanbiome.github.io/OceanBioME.jl/previews/PR186/model_components/carbon-chemistry/

Great thanks, I'll go back and take another look at this. I'm not sure if it would be useful to have a way for users to input which wind product is used and then have the correct coefficient chosen from there, or whether to just include all the wind product-specific parameterizations and leave it up to the user.

@vtamsitt the refactoring of the gas exchange model here should make adding different gas transfer parameterizations (#168) a lot easier because you can put anything in the transfer_velocity that you like as long as it has a method with arguments u, T.
I also changed the default to Ho et al., 2006 (which is the same as Wanninkhof, 2014 - https://x.com/david_ho/status/1414754481074589697) but it is important that the coefficients are wind product specific so you should use different values.

Do you know if there is a list somewhere of the coefficients for each wind product? I can make a function that builds a ScaledTransferVelocity with the appropriate coefficient if the user specifies a wind product.

@vtamsitt do you know if there is a list somewhere of the coefficients for each wind product? I can make a function that builds a ScaledTransferVelocity with the appropriate coefficient if the user specifies a wind product.

The PySeaFlux data product includes the coefficients they have calculated for  "ERA5", "JRA55", "NCEP1", "CCMP2" in SeaFlux.v2023.02_alpha_1982-2022.nc. These will presumably be recalculated each time the product is updated.
But these are for Wanninkhof 1992!
The code includes a bunch of other gas transfer velocity parameterizations including Ho et al. 2006 and others but as far as I can tell haven't included coefficients for different wind products for the other parameterizations.

If I understand correctly, the data product is a climatology of $k_w$ based on the Wanninkhof 1992 parameterization right? But I downloaded it and it doesn't include the parameter value they used so I assume they used the original values maybe.
In their code it says which wind products each parameterization is suitable for (e.g.  Ho 2006 scale factor says "The gas transfer velocity is for the QuickSCAT satellite wind product").
Since all of the parameterizations are some form of:
$$$
k_w = k_{660}(u) (Sc/660)^{-1/2}
$$$
where $f(u)$ is some polynomial (possibly piecewise e.g. k_Li86) parameterization I think I'll rename ScaledTransferVelocity to SchmidtScaledTransferVelocity which has Sc and f properties, and then I'll add in the default configurations.

If I understand correctly, the data product is a climatology of kw based on the Wanninkhof 1992 parameterization right? But I downloaded it and it doesn't include the parameter value they used so I assume they used the original values maybe.
In their code it says which wind products each parameterization is suitable for (e.g. Ho 2006 scale factor says "The gas transfer velocity is for the QuickSCAT satellite wind product").

There's a separate file SeaFlux.v2023.02_alpha_1982-2022.nc that contains the coefficient of gas transfer for the four wind products:
netcdf SeaFlux.v2023.02_alpha_1982-2022 {
dimensions:
        wind = 4 ;
variables:
         float alpha(wind) ;
                 alpha:_FillValue = NaNf ;
                 alpha:units = "(cm/hr) (m/s)^-2" ;
                 alpha:long_name = "coefficient of gas transfer" ;
                 string alpha:description = "The coefficient of gas transfer is scaled so that the global average kw is 16.5 cm/hr as recommended by Naegler (2009) for the period 1990-2019 using bomb 14-C estimates. Note that there is 20% uncertainty around the global average estimate of kw (16.5 ± 3.2 cm/hr).Note that during scaling, we calculate the area weighted average for kw over only the ice free ocean (ice frac < 5%) where pixels contain only ocean (sea frac > 95%). We also exclude the Black and Caspian sea from the globally averaged kw. " ;
         string wind(wind) ;
 data:

  alpha = 0.270875, 0.2601975, 0.2866424, 0.256789 ;

  wind = "ERA5", "JRA55", "NCEP1", "CCMP2" ;
 }
 (END)

Since all of the parameterizations are some form of:$k_w = k_{660}(u) (Sc/660)^{-1/2}$ where f(u) is some polynomial (possibly piecewise e.g. k_Li86) parameterization I think I'll rename ScaledTransferVelocity to SchmidtScaledTransferVelocity which has Sc and f properties, and then I'll add in the default configurations.

This sounds good, thanks!

Ah I see thank you, I've added the different parameterizations now and interestingly they're all very similar except Wanninkhof99 and McGillis01, and you can that Wanninkhof09 is quite differently parameterised from the others but is near by.

alpha = 0.270875, 0.2601975, 0.2866424, 0.256789 ;
wind = "ERA5", "JRA55", "NCEP1", "CCMP2" ;

It is interesting that these are all within the error estimates of Ho 2006 (and I can't find errors for other ones).
I've added them now too.

Ah I see thank you, I've added the different parameterizations now and interestingly they're all very similar except Wanninkhof99 and McGillis01, and you can that Wanninkhof09 is quite differently parameterised from the others but is near by.

Thanks for adding all these. This is really interesting, thanks!

TODO: check model_implemntation page when rendered because it shouldn't have been using the forcing fallback


When will you make your code public?

I am particularly interested in exploring the code associated with your work, as it would greatly assist us in our own endeavors. Could you kindly provide information on when you plan to release the code publicly? Knowing the anticipated release date would be immensely helpful for our planning and preparation.

Hi! Thanks for your interest--I'll make it public by the end of the week!

Hi @yusirhhh ! The code has been uploaded. Thanks for your patience! Feel free to open more issues if you have any questions.


Change behaviour to preserve the original string

Hello, This PR is a combination of #5 and #4.
I've changed the implementation so that we store only the original string (to avoid consuming double the memory), and lowering before comparison.
This more closely matches the behavior of CITEXT which also preserves case.

It's abandonware.


SDK 1.3.7 IoT client reconnections and timeouts

I use IoT Rules on CONNECTED/DISCONNECTED topic (from here). So I want to get email when a device is connected or disconnected. On my device I run next code on startup (only on startup):
iotClient = new AWSIotMqttClient(Configuration.IOT_CLIENT_ENDPOINT,
                    deviceId,
                    keyStore,
                    keystorePass);

iotClient.setKeepAliveInterval(1200000); //20 minutes (maximum)
iotClient.connect();

But I get very strange behavior. I have 3 devices, and on each device I get this stacktrace but due to different reasons:
[pool-8-thread-1] com.amazonaws.services.iot.client.core.AwsIotConnection.onConnectionSuccess Connection successfully established
[pool-8-thread-1] com.amazonaws.services.iot.client.core.AbstractAwsIotClient.onConnectionSuccess Client connection active: <client ID>
[pool-8-thread-1] com.amazonaws.services.iot.client.core.AwsIotConnection.onConnectionFailure Connection temporarily lost
[pool-8-thread-1] com.amazonaws.services.iot.client.core.AbstractAwsIotClient.onConnectionFailure Client connection lost: <client ID>
[pool-8-thread-1] com.amazonaws.services.iot.client.core.AwsIotConnection$1.run Connection is being retried
[pool-8-thread-1] com.amazonaws.services.iot.client.core.AwsIotConnection.onConnectionSuccess Connection successfully established
[pool-8-thread-1] com.amazonaws.services.iot.client.core.AbstractAwsIotClient.onConnectionSuccess Client connection active: <client ID>

Sometimes I get this stacktrace due to DUPLICATE_CLIENTID disconnection reason, or sometimes due to MQTT_KEEP_ALIVE_TIMEOUT disconnection reason (MQTT_KEEP_ALIVE_TIMEOUT happens every 30-35 minutes, DUPLICATE_CLIENTID happens every 10 minutes)
So, I don't understand why do I need to deal with DUPLICATE_CLIENTID if each client has a unique ID, and to deal with MQTT_KEEP_ALIVE_TIMEOUT if there no an intermittent connectivity issue (I get logs every minute to my server, so it isn't WIFI/internet issue). I use the latest AWS IoT SDK from here - https://github.com/aws/aws-iot-device-sdk-java.
How can I solve these issues?

You can only have one client connected with each client id:

DUPLICATE_CLIENTID | The client is using a client ID that is already in use. In this case, the client that is already connected                                                          will be disconnected with this disconnect reason.

For example when you run the PubSub you need to have different -clientId sdk-java. Because when creating a new AWSIotMqttClient you need to have different clientId's to avoid getting disconnected.
Please try fixing that and let me know if you are still getting any other disconnects (MQTT_KEEP_ALIVE_TIMEOUT)

Each client in my service has a unique CLIENT_ID and function "connect()" is called only once on device startup, so no way the client is using a client ID that is already in use.

Can you provide a minimum code sample that reproduces this? Also what devices and OS are you testing this on?

My code (it runs in tomcat on raspberry - OS buster):
iotClient = new AWSIotMqttClient(Configuration.IOT_CLIENT_ENDPOINT,
                    deviceId,
                    keyStore,
                    keystorePass);

iotClient.setKeepAliveInterval(1200000); // or iotClient.setKeepAliveInterval(0);
iotClient.connect();

I'll ask my question in an another way:
What I try to do is to get notifications when a device is connected/disconnected (by this method here)

Can I use AWS IoT Client in JAVA + IoT Rules on CONNECTED/DISCONNECTED topic for automatic notifications if my device is inactive all time through MQTT protocol (but it sends data through HTTPS every time)?
What is it keep-alive=0? Why does it not work how it's mentioned in documentation?

Thanks

You should be able to do that. You're using AWSIotMqttClient so I'm a little confused when you're saying it sends data through HTTPS, could you please clarify? Below is the topics that get notified when a connection/disconnection occurs.

AWS IoT publishes a message to the following MQTT topics when a client connects or disconnects:
$aws/events/presence/connected/clientId – A client connected to the message broker.
$aws/events/presence/disconnected/clientId – A client disconnected from the message broker.

getKeepAliveInterval:

Gets the keep-alive interval for the MQTT connection in milliseconds
currently configured. Setting this value to 0 will disable the keep-alive
function for the connection. The default keep alive interval is 30,000ms.

I think you might be running into the max connection retries which is defaulted to 5. Use iotClient.setMaxConnectionRetries(x); to set a higher number that will allow for longer periods of no connection.
Does this help solve your connection issues and timeouts?

You should be able to do that. You're using AWSIotMqttClient so I'm a little confused when you're saying it sends data through HTTPS, could you please clarify? Below is the topics that get notified when a connection/disconnection occurs.

AWS IoT publishes a message to the following MQTT topics when a client connects or disconnects:
$aws/events/presence/connected/clientId – A client connected to the message broker.
$aws/events/presence/disconnected/clientId – A client disconnected from the message broker.

getKeepAliveInterval:

Gets the keep-alive interval for the MQTT connection in milliseconds
currently configured. Setting this value to 0 will disable the keep-alive
function for the connection. The default keep alive interval is 30,000ms.

I think you might be running into the max connection retries which is defaulted to 5. Use iotClient.setMaxConnectionRetries(x); to set a higher number that will allow for longer periods of no connection.
Does this help solve your connection issues and timeouts?

Hello, sorry for a delay.

I mean that my device sends logs over HTTPS every time, so it isn't internet issue.

I think, my client on device didn’t send (or can't send) any ping or MQTT control packets. PINGREQ is for this purpose to avoid disconnection whenever I set keep alive time interval. Maybe you know how can I check it? How can I set more detailed logs?

Thanks

Hello, sorry for a delay.

I mean that my device sends logs over HTTPS every time, so it isn't internet issue.

I think, my client on device didn’t send (or can't send) any ping or MQTT control packets. PINGREQ is for this purpose to avoid disconnection whenever I set keep alive time interval. Maybe you know how can I check it? How can I set more detailed logs?

Thanks

You might want to check out Cloudwatch. When attaching logs make sure to redact all personal information.

You might want to check out Cloudwatch. When attaching logs make sure to redact all personal information.


Integration not appearing

I have added the repository within HACS as well as a reboot and the integration is not appearing when searched.

Seeing the same.  Investigating today.

Looks like the issue may be the missing version in the manifest.

Still seeing the same issue today

Working for me with the v. But I didn't install via HACS. Curious.
2021-06-26 12:52:39 INFO (MainThread) [homeassistant.setup] Setting up recteq
2021-06-26 12:52:39 INFO (MainThread) [custom_components.recteq]
-------------------------------------------------------------------
Recteq Custom Integration
Version: 0.0.4
This is a custom integration
If you have any issues with this you need to open an issue here:
https://github.com/pdugas/recteq/issues
-------------------------------------------------------------------

2021-06-26 12:52:39 INFO (MainThread) [homeassistant.setup] Setup of domain recteq took 0.0 seconds

Any updates to this? It was working great until an update to HA

Maybe reinstall?  It's working for me and others since the update.  Dunno what else to offer.


[#2833] unzip resource files to a folder

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

yeah, it'll go in the composite resource phase 2 first... it's a solution to a bug that we found when unzipping at the aggregation level.

@pkdash - Is this good to merge into the composite resource branch now?


Non-dockerized installation instructions

Feature request:
Instructions to install without using docker
Motivation:
This would improve portability; for instance to FreeBSD (with or without jails)
Personal comment:
I suspect it is easy to figure out how to accomplish this by inspecting the code, which is what I intend to do when I have some spare time and energy, but it would still be nice if the instructions were available from the the official documentation.

Yes, makes sense.
Meanwhile, this https://github.com/raspiblitz/raspiblitz/pull/4616/files may help.

Thanks for the tip! I'll keep it in mind when I finally get around to it :)


Update SetupOpenMP.cmake

Without this fix RAJA won't compile on my desktop machine because the if (BLT_OPENMP_COMPILE/LINK_FLAGS)  overwrite the CUDA conditional above.

This PR breaks the functionality of allowing users to completely override the flags the come out of SetupOpenMP.  Either you need to use the override variables BLT_OPENMP_COMPILE_FLAGS and BLT_OPENMP_LINK_FLAGS or show the case in where the above generator expressios dont work for you.  Though keep in mind those generator expressions have been iterated over quite a few times and I am hesitant to change them.
Can you email me more about your case?

I'm trying to use BLT to compile with MPI, CUDA and OpenMP. In such a scenario, the options "-fopenmp" and "-fpthread" are generated, and when passed to nvcc, they need to be wrapped accordingly with the "-XCompiler" or "-Xlinker" options, otherwise the compilation fails. With the modifications in this PR, such problem ceases to exist.

I am not doubting it works on your configuration.  What I am saying is we should not be altering the BLT_OPENMP flags because they are specifically for users to override all of BLT's behavior regarding those flags.  If we alter the override behaviors it defeats their entire purpose. Also you wouldn't be hitting those if statements unless you have them set before BLT is loaded, most likely in your host-config.  Do you have  PR i can look at?


PHP assert execution fail

Failed Task: https://www.codewars.com/kata/length-of-missing-array/php

Test Results:
MyTestCases
testBasicTests
✔ testBasicTests
Completed in 0.20ms
testRandoms
✘ Wrong for [[],[50,15,23,22,6,29],[28],[12,7],[5,4,30,19],[14,1,41]]
Failed asserting that 0 is identical to 5.
Completed in 0.30ms

My implementation results with same input array: https://3v4l.org/vNTq3

I moved issue to codewars-runner-cli


byKeyValue should also work with const loop variables.

Fixes iteration over byKeyValue with const loop variables.

Auto-merge toggled on

Thanks!


Usage with pytest-aiohttp

The documentation states that with pytest-aiohttp one should re-initialise the mock server like below
from aresponses import ResponsesMockServer

@pytest.fixture
async def aresponses(loop):
    async with ResponsesMockServer(loop=loop) as server:
        yield server

However following this documentation and passing the aresponses-fixture to my test function, I get the following error
tests/test_foo.py::test_foo[pyloop]
  /Users/mvalkonen/Library/Caches/pypoetry/virtualenvs/test-py3.7/lib/python3.7/site-packages/aresponses/main.py:53: DeprecationWarning: The object should be created from async function
    srv = Server(self._handler, loop=self._loop, debug=True, **kwargs)

I can reproduce this with the following example
@pytest.fixture
async def aresponses(loop):
    async with ResponsesMockServer(loop=loop) as server:
        yield server

async def test_foo(aresponses):
    pass

How should one use aresponses with pytest-aiohttp?

Is that an error or only a warning?

Looks like aiohttp changed something on their end: https://github.com/aio-libs/aiohttp/issues/3331
We'll have to look at what the recommended pattern is going forward.

It is only a warning, but I still cannot use aresponses. I thought I'll try with an empty project without pytest-aiohttp, and see if it works with the most bare bones imitation of what I'd like to do. Maybe what I am trying is simply not possible?
import pytest

import aiohttp

class Foo:
     async def test(self, url):
         async with aiohttp.ClientSession() as session:
             response = await session.post(url, json={"some_field": "some_value"})
             return await response.json()

@pytest.mark.asyncio
async def test_foo(aresponses):
    url = "http://localhost.com/foo"
    response = aresponses.Response(body=b'{"status":"ok"}', status=200)
    aresponses.add("http://localhost.com", "/foo", "POST", response)
    result = await Foo().test(url)
    print(result)

Running this with pytest gives me two exceptions
ERROR    aiohttp.server:web_protocol.py:355 Error handling request
Traceback (most recent call last):
  File "/Users/mvalkonen/Library/Caches/pypoetry/virtualenvs/test-py3.7/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/Users/mvalkonen/Library/Caches/pypoetry/virtualenvs/test-py3.7/lib/python3.7/site-packages/aresponses/main.py", line 60, in _handler
    return await self._find_response(request)
  File "/Users/mvalkonen/Library/Caches/pypoetry/virtualenvs/test-py3.7/lib/python3.7/site-packages/aresponses/main.py", line 108, in _find_response
    raise self._exception  # noqa
Exception: No Match found for localhost.com /foo POST.  Host Match: False  Path Match: False

and then finally
RuntimeError: Event loop stopped before Future completed.

I'm sure I'm doing something wrong, but the documentation is a little scant so someone new to asyncio and aiohttp might be struggling.


Update Training Gibbs notebook after Sampler Rework

closing this because we decided to update the version in the book and not the demo repository
captured by issue: https://github.com/CUQI-DTU/CUQI-Book/issues/55


JAMES-3897 CrowdSec integration test for SMTP

resolve https://github.com/linagora/james-project/issues/5003
SMTP proxy support with CrowdSec should already be the case.

There is also integration test for IMAP as well, should we put it CrowdsecIntegrationTest with SMTP or separate them?

There is also integration test for IMAP as well, should we put it CrowdsecIntegrationTest with SMTP or separate them?

The ticket name says it all.

Read it. Look good to me

Just remove the third-party/crowdsec/src/test/resources/log/james.log empty file and we are good :)

That empty file was intended. During tests, it is used to store James log and share with CrowdSec. After tests, it would be reset to empty again.
Sry I did not find a solution without an empty file yet. Maybe one day I feel bored :D. Or if you have any idea for me ^^.


removing the env secret step from the README

As per the feedback from the office hours this isn't need anymore  and the test environment can be setup without having to setup the secrets cc @zioproto

Hi @matt-FFFFFF I think we should remove these envs from the document, and merge #79 .


Short solution needed: "Select rows between two values in data frame" (python-pandas)

Please help us write most modern and shortest code solution for this issue:
Select rows between two values in data frame (technology: python-pandas)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Select rows between two values in data frame


Add a note discussing installing poetry with pipsi

As a Python dev, installing tools like poetry with pipsi makes for a very convenient experience. However, the interaction between the currently available pipsi on PyPI and how poetry makes broken virtualenvs. This has been noted in a couple of poetry GitHub issues already.
A note in the poetry documentation, that describes installing via pipsi, and how to handle the resulting broken envs, would be helpful for users wanting to install that way. While partially off topic (since the problem really isn't with poetry) it adds real value to the documentation.
See also:

https://github.com/sdispater/poetry/issues/59
https://github.com/sdispater/poetry/issues/169

Just got bit by this too. A note would be great. Or even better, fixing the relevant issues.

See #378

The documentation has been updated. But note that installing Poetry with pipsi is not the recommended method.


Is there an option to obtain the schema $id from the generated class

If I'd like to get to the schema $id from the generated class, is there an option to get it? Maybe have a static field or an annotation... I didn't find anything in the doc but maybe I missed it. Or even a way to get to the schema document, like in protobuf you can get to a Descriptor from the generate classes?
Thanks!

Hi
According to Reference wiki page id/$id is no it is not supported schema rule.


[snapshot] Update list of snapshot apis to include info details

What changes were proposed in this pull request?
Update list of snapshot apis to include info details
bash-4.2$ ozone sh snapshot info --help
Usage: ozone sh snapshot info [-hV] <value> <snapshotName>
returns information about an existing snapshot

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-9891
How was this patch tested?
NA

@hemantk-12 @swamirishi @nilotpalnandi - Please review