Java 14 missing Java 8 package?  (java.lang.ClassNotFoundException: javax.activation.DataSource)

When executing the jar on Arch Linux with :
java version "14.0.2" 2020-07-14
Java(TM) SE Runtime Environment (build 14.0.2+12-46)
Java HotSpot(TM) 64-Bit Server VM (build 14.0.2+12-46, mixed mode, sharing)
The packages I installed for Java were:
jdk 14.0.2 (aur)
jre 140.2 (aur)
I get the following error (and an empty window opens):

Exception in thread "pool-1-thread-1" java.lang.NoClassDefFoundError: javax/activation/DataSource
	at library.LibrarySystem.pollLibrary(LibrarySystem.java:21)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
	at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 4 more

I've managed to use the application before on Ubuntu/Deb based systems, but no luck on Arch Linux. I'm guessing it is becausing I'm missing a package and online searching (Google/StackOverflow) leads me to believe the missing package was present in Java 8, but was removed in later versions.

Okay, I've managed to get it working. I probably should've added some extra information in my original post.
I'm making use of the Sway window manager on Wayland and I've added the following two environment variables:
 _JAVA_AWT_WM_NONREPARENTING=1
 NO_AT_BRIDGE=1

After rebooting, I still get the error, but the window that opens up is not empty anymore and shows the application itself.
I've also tried opening the jar with java 8 by using:
archlinux-java set java-8-jre
and the application managed to open without any errors and it confirmed my suspicion that something is missing in newer versions of Java (which used to be present in Java 8). I don't know how worthwhile it is to look into this issue, but as far as my original issue is concerned, please feel free to close this ticket :).


I'm assuming it is not available as it doesn't work for me as of <IP_ADDRESS>8

Sorry, it actually works on a second attempt. Will reopen if I find anything new.


six modules import error

import error in:
from six.moves import queue, http_cookies  from six.moves.urllib.robotparser import RobotFileParser from requests import cookies  from six.moves.urllib.parse import urljoin, urlsplit
error type:
Unresolved reference 'queue'
Unresolved reference 'http_cookies'
...
six version : 1.10.0
python version : 2.7.10
Does anyone has same question?
How to solve?

Those don't look like Python errors. What exactly are you doing?


Run node scripts inside soroban-preview container

Currently we are running:
node src/issueAsset.js

inside our machines.
This has 2 problems

We rely on our own node versions
We cannot use the same rpc_url stellar:8000 that when we are running soroban CLI scripts.

If we try to run
docker exec soroban-preview node src/issueAsset.js
we have the following error:
OCI runtime exec failed: exec failed: unable to start container process: exec: "node": executable file not found in $PATH: unknown

I opened the issue: https://github.com/esteblock/soroban-preview-docker/issues/1

https://github.com/esteblock/soroban-preview-docker/issues/1 has been solved.
We shoud try to do it now


Why is the output of the Image Encoder here a tensor with the shape of (64, 64, 256) instead of a one-dimensional vector?

As far as I know, Image Encoder encodes an image into a one-dimensional vector.
Why is the output of the Image Encoder here a tensor with the shape of (64, 64, 256) instead of a one-dimensional vector ?
Does the output of the Image Encoder here represent the feature map of the input image ?

Generally vision transformers (which is what the SAM model uses) output a vector for each of the input patches and often a global vector (often called a 'cls token'), which would be similar to the 1D vector you're describing (although the SAM model doesn't include this).
For the SAM encoder, it uses a patch size of 16 pixels and an input resolution of 1024x1024, which divides into 64x64 patches. Each of these ends up with 256 feature values (regardless of the model size), which is where that 64x64x256 shape comes from.

Generally vision transformers (which is what the SAM model uses) output a vector for each of the input patches and often a global vector (often called a 'cls token'), which would be similar to the 1D vector you're describing (although the SAM model doesn't include this).
For the SAM encoder, it uses a patch size of 16 pixels and an input resolution of 1024x1024, which divides into 64x64 patches. Each of these ends up with 256 feature values (regardless of the model size), which is where that 64x64x256 shape comes from.

Thank you!


Port Response helper methods (eq, first) from hades.SampleSet

Codecov Report

Merging #274 into master will increase coverage by 0.01%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##           master     #274      +/-   ##
==========================================
+ Coverage   94.37%   94.38%   +0.01%
==========================================
  Files          31       31
  Lines        1812     1818       +6
==========================================
+ Hits         1710     1716       +6
  Misses        102      102

Impacted Files
Coverage Δ

dimod/response.py
85.2% <83.33%> (+0.36%)
:arrow_up:

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 de1d40e...8d12491. Read the comment docs.


Add more dartdoc to material.dart

This patch completes the circuit on this library. The next step is to go
through and add docs to anything we missed.

@Hixie


Readme moved to its actual folder

Typo in the directory name for sns. Corrected but forgot to move readme, so now moved

Close #152


Does the dataset have to be placed in ./data/images_largescale?

Hi! I have a question. Does the dataset have to be placed in ./data/images_largescale?

Yes, our pipeline assumes that datasets are placed under either ./data/images_largescale or ./data/images_classic. You can look at the config for each dataset to see specifically its supposed location (e.g., the data_dir field in configs/datasets/imagenet.yml specifies that its location should be ./data/images_largescale/).

I think that customization is achievable if you just change the location specified in the config file to your desired one.

Another question is, when I run ./scripts/basics/cifar100/train_cifar100.sh, it raises an error saying 'srun not found.' This may be related to the installation of Slurm, but I am currently only training on my local machine. Is it possible to avoid using srun-related commands?

It can be downloaded from google drive. You can either use our download script or download it yourself with the gdrive id 1XKzBdWCqg3vPoj-D32YixJyJJ0hL63gP (it is encoded in the download script too). This is also instructed in our README.

Thank you so much for your response and helpful solution!


Use ReactNative to the ios native project，and the compilation was several times slower

Environment
Environment:
OS: macOS High Sierra 10.13.4
Node: 10.8.0
Yarn: 1.9.4
npm: 6.2.0
Watchman: 4.9.0
Xcode: Xcode 9.4.1 Build version 9F2000
Android Studio: Not Found
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: ^0.55.4 => 0.55.4
Description
Excuse me, why did I add ReactNative to the native ios project? Every time when I first compiled the project, it was very slow. It was much slower than the native project.How should this problem be solved?

I also have this problem.

But I found that the version 0.56 doesn't support ios8,so I chose the version 0.55.4
Is there any way to solve this particularly slow compilation problem at 0.55.4?
Or any way to let 0.56 support ios8？

Adding this to your project will not speed up compilation @react-native-bot

Hi, @react-native-bot ,Can you help me solve this problem?

I tried using the latest version ReactNative v0.56.0 just now, but it still took me a long time to build the project for the first time, so the latest version doesn't solve that problem.
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.4
CPU: x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
Memory: 240.03 MB / 8.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 10.8.0 - /usr/local/bin/node
Yarn: 1.9.4 - /usr/local/bin/yarn
npm: 6.2.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
IDEs:
Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
npmPackages:
react: 16.3.1 => 16.3.1
react-native: ^0.56.0 => 0.56.0

@react-native-bot, I find that comment out RCTWebSocket and RCTAnimation , and then pod install will not have that particularly slow compilation problem.
pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'Core',
    'CxxBridge', # Include this for RN >= 0.47
    'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
    'RCTText',
    'RCTLinkingIOS',
    'RCTPushNotification',
    'RCTImage',
    'RCTNetwork',
    #'RCTWebSocket', # Needed for debugging
    #'RCTAnimation', # Needed for FlatList and animations running on native UI thread
  ]


s/plain/plane/g

Area under "Plotting Stability Regions" and "Absolute Stability of the Forward Euler Method" mentions 'complex plain' and should be 'plane'.

Fixed!


Question: clearing highlights/clearing past searches

I notice that when i'm done with my search there is no way to clear my search highlights. Furthermore I noteicce that if you have multiple searches on the same doc, the prior search's highlights remain.
For instance if I search the phrase "invoke" and choose a hit on the page docs/mydoc and then search "in" and choose the same doc all instances of both "invoke" and "in" will be highlighted.
It'd be helpful to have highlights cleared between searches as well as manually if I want to share a link with my colleague sans highlights.
Is this a feature that exists but is not documented?

Hi, this is fixed in v0.14.4. Highlights will be cleared between searches now.
And if you want to manually clear highlights, just remove the params like ?_highlight=x in your browser URL.

Hi, this is fixed in v0.14.4. Highlights will be cleared between searches now.
And if you want to manually clear highlights, just remove the params like ?_highlight=x in your browser URL.

you work fast. thanks mate

you work fast. thanks mate

Hi @weareoutman,
thanks for the clarification. What do you think about adding ESC as a keyboard shortcut to clear highlights similar to how Chrome's native search CMD + F functionality works (that is if you are on macOS)?
This could also be extended with a toggle to jump between search results?


mvn install -DskipTests -Pstreams errors out

Hi: I am trying to run the installation instructions in a Katacoda Ubuntu VM:
https://katacoda.com/courses/ubuntu/playground
(I am hoping to make a set of lessons show people how to use apicurio)
I broke up mvn clean and mvn install.
 I am showing the end of the dump below. I am at a loss about how to make it better. If you need more information, please let me know.
Help? Please? Thanks!
.
.
[ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
[ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
[ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:498)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[ERROR]
[ERROR] 8 errors
[ERROR] role: org.apache.maven.plugin.Mojo
[ERROR] roleHint: io.quarkus:quarkus-maven-plugin:1.5.1.Final:build
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException

Turns out that I need to use the instructions here to get it up apicurio up and running:
https://github.com/apicurio/apicurio-registry

Glad you got it working.  FYI another approach would be to use docker to get the registry up and running.
Note:  this demo is a big old, we'll need to review it soon and make sure it still makes sense.

I had a lot of problems getting the Docker version running. Haven’t be able to get it up and running yet.
Just to make sure we’re talking about the same instruction set, can you give me the URL that I can use as the authority for getting the Docker version up and running.
On Feb 24, 2021, at 8:52 AM, Eric Wittmann <notifications<EMAIL_ADDRESS>wrote:
Glad you got it working. FYI another approach would be to use docker to get the registry up and running.
Note: this demo is a big old, we'll need to review it soon and make sure it still makes sense.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Apicurio/apicurio-registry-demo/issues/10#issuecomment-785217011, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAIPEKIMZ26OZV3ZT7GHZQTTAUVEDANCNFSM4YBMAK7Q.

Oh man, good point - I'm just now realizing that we don't really have documentation on how to run on Docker, only how to run on OpenShift.  I'll try to rectify that at some point.  However, for now, if you wanted to run the Streams variant of registry using docker, you can use this docker image:
https://hub.docker.com/layers/apicurio/apicurio-registry-streams/1.3.2.Final/images/sha256-d3bfb0d13498dedd563d7b45dfa2461e560bf0fbf08ff3767254bb8a198f4845?context=explore
You'll need to specify some ENV vars, which you can find here:
https://github.com/Apicurio/apicurio-registry/blob/1.3.x/distro/openshift-template/apicurio-registry-template-streams.yml#L82-L94
I think really you'd only need QUARKUS_PROFILE, KAFKA_BOOTSTRAP_SERVERS, and APPLICATION_ID.
The value for the profile should be prod and the value for the ApplicationId I think can be whatever you want.

Maybe we can help each other. Since I am under contract with RH, maybe my manager will allow me to update the documentation for running Docker. (You probably just saw note coming at your from under under RH email.)
If, I can help out, I am more than willing to. Just let me know.
On Feb 24, 2021, at 9:51 AM, Eric Wittmann <notifications<EMAIL_ADDRESS>wrote:
Oh man, good point - I'm just now realizing that we don't really have documentation on how to run on Docker, only how to run on OpenShift. I'll try to rectify that at some point. However, for now, if you wanted to run the Streams variant of registry using docker, you can use this docker image:
https://hub.docker.com/layers/apicurio/apicurio-registry-streams/1.3.2.Final/images/sha256-d3bfb0d13498dedd563d7b45dfa2461e560bf0fbf08ff3767254bb8a198f4845?context=explore
You'll need to specify some ENV vars, which you can find here:
https://github.com/Apicurio/apicurio-registry/blob/1.3.x/distro/openshift-template/apicurio-registry-template-streams.yml#L82-L94
I think really you'd only need QUARKUS_PROFILE, KAFKA_BOOTSTRAP_SERVERS, and APPLICATION_ID.
The value for the profile should be prod and the value for the ApplicationId I think can be whatever you want.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Apicurio/apicurio-registry-demo/issues/10#issuecomment-785258139, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAIPEKO5OGST4IZYLJDBFHDTAU4CVANCNFSM4YBMAK7Q.

This instruction set works great!
https://www.apicur.io/registry/docs/apicurio-registry/1.3.3.Final/getting-started/assembly-installing-registry-docker.html


Convert src/services

Is your feature request related to a problem? Please describe.
Convert src/services to TS
Describe the solution you'd like
Convert src/services to TS. There shouldn't be any logical changes to these files. Prettier will automatically format these files which is okay.
[Files to change](https://github.com/nkowaokwu/igbo_api/tree/master/src/services_
Describe alternatives you've considered
N/A
Additional context
N/A

Hello, I'm interested in taking this up.

@Dhaxor assigned to you


WWLLN integration does not remove outdated entities

Home Assistant release with the issue:

0.98.0.dev0
Last working Home Assistant release (if known):
unknown
Operating environment (Hass.io/Docker/Windows/etc.):

macOS 10.14.6, Python 3.7.3 with venv
Component/platform:

https://www.home-assistant.io/components/wwlln/
Description of problem:
The integration successfully generates new geo_location entities, but does not remove outdated ones, i.e. geo_location entities remain active forever (or until the next restart).
This can become an issue in areas with lots of lightning storms where tens or hundreds of entities remain visible on the map which can significantly slow down rendering the map.
According to the documentation, entities that fall outside of the configured window should be removed automatically.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
From core.config_entries:
            {
                "connection_class": "cloud_poll",
                "data": {
                    "latitude": -33.858611,
                    "longitude": 151.214167,
                    "radius": 300,
                    "unit_system": "metric",
                    "window": 3600.0
                },
                "domain": "wwlln",
                "entry_id": "61a9b8b2f7044aa8bd25877c9d0cadec",
                "options": {},
                "source": "user",
                "title": "-33.858611, 151.214167",
                "version": 2
            },

Traceback (if applicable):
n/a
Additional information:
Quick analysis: The WWLLNEventManager communicates with the third-party library and manages entities. In method async_update it attempts to remove outdated entities by comparing currently managed IDs with the new IDs from the latest feed update, but then fails to record the external IDs in self._managed_strike_ids, i.e. this remains an empty set.

This looks like a 1-line fix. I can take a look later today, if no one else wants to volunteer :)

would be really very nice indeed if you'd managed to do so. Since you've mentioned window in the first post: there's no way of setting that in the configuration/integration setup?
In my Ha instances, wwlln: doesn't work and I use the integration setup only. Would be nice if the window could be added there also.
thanks!

One thing at a time.
And apparently the plan is that setting up an integration via the UI is supposed to support only the essential configuration parameters, and if you need more than that to configure an entry in the configuration file. I would suggest opening a separate issue if that doesn't work for you.

Think I already have an issue open somewhere, and lots of discussion on the community.... which you seem familiar with; https://community.home-assistant.io/t/wwlln-working/127171/25?u=mariusthvdb :-)
ended up using only the UI configuration.
Because that does have the window, I would have hope the other option, radius, would be considered essential also?
anyways, thanks for your effort!


RFC30

Motivation and Context
This PR implements features described on RFC30 except for compile time benchmark.
Benchmark is submitted as a separate PR https://github.com/awslabs/smithy-rs/pull/2617.
Once this PR and https://github.com/awslabs/smithy-rs/pull/2617 is merged, RFC30 is complete.
Initially, we tried to make commit to unstable-serde-support branch and merge changes one by one in small PRs. However, in order to make it up to date with the main branch, we would need to go through a large PR of over 700 files.
By merging it directly to the main branch, we can reduce this to under 30 files.
Prerequisite PRs
This is a list of prerequisite PRs; You can reduce the diff if you merge them earlier.
None of them introduces breaking changes.

https://github.com/awslabs/smithy-rs/pull/2614
https://github.com/awslabs/smithy-rs/pull/2638
https://github.com/awslabs/smithy-rs/pull/2647
https://github.com/awslabs/smithy-rs/pull/2645
https://github.com/awslabs/smithy-rs/pull/2646
https://github.com/awslabs/smithy-rs/pull/2616
https://github.com/awslabs/smithy-rs/pull/2650
https://github.com/awslabs/smithy-rs/pull/2651
https://github.com/awslabs/smithy-rs/pull/2652

EDIT:
More sub-PR.

https://github.com/awslabs/smithy-rs/pull/2803
https://github.com/awslabs/smithy-rs/pull/2804

Description
List of changes:

rust runtime

Implements serde support to Number, Blob, Document, DateTime

buildSrc

add rustflag to enable feature gated features

Core codegen code

Add sensitive warning
Add serde attributes
Import serde crate to enable serde(skip) on some namespaces
Add serde crate behind unstable feature gate on Cargo.toml

Client codegen code

add serde as dependency behind feature gate

Testing

rust runtime

tests whether de/ser produces value as expected

Checklist

[x] I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates
[x] I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Only error that I'm facing is this, which comes from tracing crate.
It appears that it's failing to compile regex but I'm not sure where it's coming from.
failures:

---- cache::lazy_caching::tests::load_contention stdout ----
thread 'cache::lazy_caching::tests::load_contention' panicked at 'called `Result::unwrap()` on an `Err` value: Syntax(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regex parse error:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1: (?x)
 2:             ^(?P<global_level>(?i:trace|debug|info|warn|error|off|[0-5]))$ |
                                      ^
 3:                 #                 ^^^.
 4:                 #                     `note: we match log level names case-insensitively
 5:             ^
 6:             (?: # target name or span name
 7:                 (?P<target>[\w:-]+)|(?P<span>\[[^\]]*\])
 8:             ){1,2}
error: test failed, to rerun pass `--lib`
 9:             (?: # level or nothing
10:                 =(?P<level>(?i:trace|debug|info|warn|error|off|[0-5]))?
11:                     #          ^^^.
12:                     #              `note: we match log level names case-insensitively
13:             )?
14:             $
15:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: Unicode-aware case insensitivity matching is not available (make sure the unicode-case feature is enabled)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
)', /opt/cargo/registry/src/github.com-1ecc6299db9ec823/tracing-subscriber-0.3.16/src/filter/env/directive.rs:140:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@Velfi
So I reorganized the PR/code.
I really wanted to make use of unstable-serde branch but it turned out to be difficult without producing large number of file changes.
I'm very sorry for wasting you and your team's time that was spent on reviewing the PRs for said branch.
I really hopes this approach works.
Thank you very much for you and your team's continuous support!

@thomas-k-cameron Thanks for your work here. Very excited to see this merged. I have been testing Output serialization for a personal project and it's working great so far. One note is that maybe there was a bad merge, but I had to remove these two duplicate lines to successfully compile aws-smithy-types: line 1 and line 2. Hope this helps!

Just a heads up.
Many of the sub-PR ended up receiving commits of it's own.
At this point this PR is not working but I will fix it once the sub-PR passes the code review.

@thomas-k-cameron Thanks for your work here. Very excited to see this merged. I have been testing Output serialization for a personal project and it's working great so far. One note is that maybe there was a bad merge, but I had to remove these two duplicate lines to successfully compile aws-smithy-types: line 1 and line 2. Hope this helps!

Thanks for the heads up!
I will fix it up!

Once all sub-PR is merged, we should only have 7 files for this PR.

No idea where it's coming from.
> Task :codegen-server-test:cargoTest
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
error: could not execute process `rustc -vV` (never executed)

Caused by:

  No such file or directory (os error 2)
error: could not execute process `rustc -vV` (never executed)

Caused by:
  No such file or directory (os error 2)
> Task :codegen-server-test:cargoTest FAILED

> Task :codegen-server-test:cargoDoc FAILED
error: no such command: `clippy`

	View all installed commands with `cargo --list`
error: could not execute process `rustc -vV` (never executed)

Caused by:
  No such file or directory (os error 2)

FAILURE: Build completed with 4 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':codegen-server-test:cargoTest'.
> Process 'command 'cargo'' finished with non-zero exit value 101

> Task :codegen-server-test:cargoClippy FAILED

> Task :codegen-server-test:cargoCheck FAILED
28 actionable tasks: 28 executed
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

It seems like cargo isn't reading the environment variable properly. I need to look into it.

It appears that you can't set environment variables for some gradle tasks.
I need to think.

Never seen this error before.
error: all variants have the same postfix: `Operation`
    --> misc/rust-server-codegen-python/src/service.rs:1326:1
     |
1326 | / pub enum Operation {
1327 | |     RequiredHeaderCollectionOperation,
1328 | |     RequiredInnerShapeOperation,
1329 | |     ResponseCodeDefaultOperation,
...    |
1332 | |     TypeComplexityOperation,
1333 | | }
     | |_^
     |
     = help: remove the postfixes and use full paths to the variants instead of glob imports
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names


cannot load none variables

variable: ~

cannot be loaded by xpipe.

Empty files cannot be loaded too.


abt-float-input needs to support value binding and required cascading

An input control is almost useless without value binding. We should be able to write <abt-float-input value.bind="foo" required></abt-float-input> and eventually have ...<input value.bind="foo" required>...

@khuongduybui
Thanks, I am so sorry It is my fault. I fixed it you can use it in next release.
Unfortunately, Aurelia does not support Transparent Wrapper Components yet, so I should support all textbox attributes one by one in each control.
We will have an overhaul on Aurelia-Toolbelt. Something like this control should convert to a custom attribute instead of custom control like at-float-label. This control supports everything you want plus RTL.

Thanks for the info. I didn't see at-float-label on https://aurelia-toolbelt.github.io/#/get-started

@khuongduybui
I know it has some problems yet. I should fix them first :)

@HamedFathi What's the state of this issue? Shall we close this and provide a release?

I fixed it. Yes we can. 😊


Fix initial frame index

Hi, thanks for the plugin, it's great.
There is one scenario I have problem with. If you create animation in Tiled and change order of frames, so the tile which is marked as animated is not first, it doesn't work. This small fix should find the correct initial frame index.

Thanks @Apther!


Adding lab and monitor previews as default cli install

[x] Default install for az lab command module
[x] Default install for az monitor command module

Codecov Report

Merging #2665 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2665      +/-   ##
==========================================
+ Coverage   61.61%   61.61%   +<.01%
==========================================
  Files         515      515
  Lines       25988    25998      +10
  Branches     3890     3891       +1
==========================================
+ Hits        16012    16019       +7
- Misses       9035     9043       +8
+ Partials      941      936       -5

Impacted Files
Coverage Δ

...vault/azure/cli/command_modules/keyvault/custom.py
67.16% <0%> (-0.52%)
:arrow_down:

src/azure-cli-core/azure/cli/core/cloud.py
66.49% <0%> (ø)
:arrow_up:

...gure/azure/cli/command_modules/configure/custom.py
16.21% <0%> (ø)
:arrow_up:

src/azure-cli-core/azure/cli/core/_config.py
96.77% <0%> (+0.34%)
:arrow_up:

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 ec27bbd...607508d. Read the comment docs.


[10.x] Add Arr::mapSpread helper

This PR simply adds an already well-known Collection function $collection->mapSpread() to the Array helper:
Arr::mapSpread($data, fn ($first, $second) => $first.$second)

The underlaying logic is completely the same as the already provided Collection function, the point of this PR is to allow for this often used array manipulation without the overhead of creating a Collection instance first.

done @driesvints https://github.com/laravel/framework/pull/50474


Weather Data analysis

This Closes #391
Greetings !!
Hello Sir,
As told i have made my First Weather Data analysis Project for beginners . This Project was a nice experience for myself to be honest  that i got to know about Data science libraries .
Thank You for the oppurtunity. :)
Regards.

Read CONTRIBUTING.md to get an idea how to add a resoucr

If this is a project about data sicnece then add in to the Projects Table

If this is a project about data sicnece then add in to the Projects Table

As you told sir i have added sir now can you merge my request.
Thank you for taking time :)

Maybe you can give the github URL of your project and follow the format so you can add it under project secion.


Logo

Change the logo, and add a proper about page ?

Hey @akzhy The new profiles aren't giving what we've expected like, the image and the link to profile


pybo silently processes a file as a folder

We need either:
a. an error message asking for a folder
b. detect it's a file and process as such
This is actually a case of "duck typing" and we probably don't even need to ask users if it's a folder or a file in the first place

checks if input dir is directory or not. If input dir is directory, it will iterate over the files inside it and proceed.
if input dir is a file, it will consider the contain inside it and tokenize
if input dir is invalid, it will print an error message.


Getting empty dictionary in Service.entities

I tried to get the data from this site:
http://knesset.gov.il/Odata/ParliamentInfo.svc/
This is the code I used:
from odata import ODataService
url = 'http://knesset.gov.il/Odata/ParliamentInfo.svc/'
Service = ODataService(url, reflect_entities=True)
print(len(Service.entities))

The result is:
0

It should return a dictionary with all the tables on the site.
There is data on the site, and I think the format is good.
Maybe the problem is with the metadata.
Is there a way to fix this?
Thanks,

Based on http://knesset.gov.il/Odata/ParliamentInfo.svc/$metadata the site does not appear to support the OData 4 version used by python-odata.

You may want to look at the fork https://github.com/klem4/python-odata
It appears that it has been revised to support OData version 3. I know nothing else about this fork, but did a quick test using it with your code. The result was 38 entities in Service. Perhaps this will work for you.


Pubmed query not working

Describe the bug
When a new submission is started from a query against Pubmed external system, the query does not return any result.
To Reproduce
Steps to reproduce the behavior:

login to dspace7 and go to MyDSpace
start a new Publication submission from external source
enter a query string and select “Pubmed” as external source

Call to backend performing Pubmed query will fail with 500 error (https://api7.dspace.org/server/api/integration/externalsources/pubmed/entries?sort=id,ASC&page=0&size=10&query=covid19)
Expected behavior
A query returning results.
Running REST locally to investigate the bug, we found out that the first ever query on Pubmed performed when REST backend is up and running returns results, whereas next queries (second, third,...) ends up with no results and 500 error.
Our proposal is, instead of just fixing this bug, operate a refactoring to Pubmed integration and align it to the ones recently merged in DSpace (e.g. CrossRef), then add some tests on Pubmed LiveImport connector refactored.
We (4Science) can take in charge this activity. Our estimation for refactoring and test addition is 8/12 hours of work

@corrad82-4s : Can this be fixed immediately?  It seems like we should minimally fix the Pubmed query in 7.3...even if it means delaying the larger refactoring.
In any case, I'll assign this back to you and move to the 7.3 board.  My preference would be to find a "quick fix" for 7.3, even if that means that the larger refactor needs to wait for 7.4.  Either way, I'd gladly help review this once it is ready.  Thanks!

Hi @tdonohue, I did an initial analysis of the problem and found that the problem lies in the pabmed bees, so it is due to an external problem. Let me explain in more detail, for the same request we make to pubmed, pubmed once answers with 200 another time it might answer with 500, to simulate this just do refreshe (F5) following the behaviour described by @corrad82-4s.
A possible solution: when on the rest side we receive a 500 response from pubmed, we can retry the request for a finite number of times (perhaps configurable in dspace.cfg). otherwise we relaunch the eception.

@Micheleboychuk : I'm ok with a simple retry on the backend if you feel that'd solve the issue here.  I agree it should be a finite number of times...I'm OK with it being configurable, but that's not required in my opinion.   Overall, I'd just like to find a very quick solution as otherwise we'll need to leave this bug in the 7.3 release.

@Micheleboychuk : A quick update... I just realized that Sherpa has a similar retry option, so you might be able to build something similar for PubMed.  See https://github.com/DSpace/DSpace/blob/main/dspace/config/spring/api/external-services.xml#L28-L32

We are still seeing this problem on 7.4 instances. Is anyone else seeing the same?
I'm wondering if the previous solution, that added additional retry requests, might not be effective if the original root cause is rate limiting/throttling on the end of Pubmed?
Background: https://www.ncbi.nlm.nih.gov/books/NBK25497/
TL;DR => if they catch you with more than 3 requests per second, the IP of your server might get flagged.
You can also request an API key (optionally), which gets you more quota.
So maybe we have to go into the direction of adding that api key as an extra config var that people can add in the config, and that, if an API key is configured, the requests will go out with the key?
That is of course if I'm on the right track with the hypothesis that rate limiting/throttling is at the root of this issue, which we have not yet been able to prove but we're looking into it further.

@bram-atmire : Please create a new ticket for your suggestions... those are out of scope for this original closed ticket. It sounds like you are requesting an enhancement to add an API key to these requests. That's a reasonable request, but we would need to find a new volunteer to work on that, and not try to add it to an already closed ticket (as this ticket involved work previously paid for).  Please always open a new ticket for a new request/bug & feel free to link back to older related tickets.


Alternative approach for constructing the AST and mod/file mapping

There's been a couple issues of late with syntax/parse errors stemming from files that rustfmt was configured to ignore. The underlying cause has been traced to how the complete AST is constructed for the crate up front and the mod nodes in the AST are then associated to the corresponding files.
Based on discussion in some other threads, it should be possible to construct the AST and create the file/mod mapping via a different approach that addresses the issues encountered currently (and also avoids having to parse and construct an AST for files that rustfmt is just going to ignore anyway).
There's a lot more detail from @topecongiro on the underlying cause with the current approach and the new approach in https://github.com/rust-lang/rustfmt/pull/3920#issuecomment-554148668

One challenge we may run into with using the ignore list to conditionally construct the AST/file mapping for a crate would be rustfmt potentially ignoring unintentional/unanticipated files that were only imported in an ignored file.
For example:
lib.rs
mod foo;

foo.rs
#[path = "bar.rs"]
mod bar;

fn abc() {
    bar::def();
}

bar.rs
fn def() {
println!("foo bar");
}

and a rustfmt.toml config:
ignore = [ "foo.rs" ]

With this example, I believe the new approach for constructing the ast/file mapping with the current ignore setting would result in rustmt ignoring both bar.rs and foo.rs which I suspect could be confusing/surprising for some users.
That has me wondering if perhaps we should introduce a new config option to allow users to differentiate between files that rustfmt should ignore entirely (i.e. not even try to parse) vs. files that rustfmt can still parse (to be able to discover other mods/files that are imported) but should not format.
So with the above example, if the rustfmt config file was using the theoretical new config option:
parser-ignore = [ "foo.rs" ]

then neither foo.rs nor bar.rs would be formatted but with
ignore = [ "foo.rs" ]

bar.rs would still be formatted
Thoughts?


License

Hi @XZhang97666, great work here! I was wondering you could add an Apache 2.0 or MIT license to the repository?
The rules on GitHub are such that you are not allowed to use your work unless (modify/distribute) unless you add a license.

Thanks for your commit. The license has been added.


Remove duplicate code from python server docs

Related to #607
For this page: https://bigchaindb.readthedocs.io/en/latest/drivers-clients/python-server-api-examples.html
We have the markdown file itself:

https://github.com/bigchaindb/bigchaindb/blob/master/docs/source/drivers-clients/python-server-api-examples.md

but additionally, we also have a Python file that can be run to test the code examples in the markdown file:

https://github.com/bigchaindb/bigchaindb/blob/master/tests/doc/run_doc_python_server_api_examples.py

As updating both files when making changes to the BigchainDB API is quite elaborate, it would be nice if we could:

run the tests somehow against the .md file
extract the python code snippets automatically from the file and test directly against them

/cc @ttmc: Maybe you explored this already?

Issue #607 is about the same example code, but it's concerned with keeping the output up-to-date.

I discussed the Python Server API examples page at
https://bigchaindb.readthedocs.io/en/latest/drivers-clients/python-server-api-examples.html
with Dimi (who wrote that page). He said that all the Python Server API functionality should (eventually) be exposed via the various client-side APIs, so that page will no longer be necessary. Maybe it can be moved to the Appendices, with some notes added to the top.
The corresponding tests in:
https://github.com/bigchaindb/bigchaindb/blob/master/tests/doc/run_doc_python_server_api_examples.py
can probably be deleted.


Update Data Prepper documentation on OpenSearch.org for 1.3.

Update Data Prepper documentation at: https://github.com/opensearch-project/documentation-website
We will have a staging branch in the above repository: data-prepper-1.3 where we can make PRs for upcoming changes.

@keithhc2, We'd like to have a branch for staging our documentation updates for Data Prepper 1.3 - data-prepper-1.3. We will create PRs with documentation changes which target this branch. In this way, we can stage our changes and merge them on the date we release Data Prepper 1.3 (Mar 15, 2022).

@dlvenable – you got it. Feel free to commit to https://github.com/opensearch-project/documentation-website/tree/data-prepper-1.3


RuntimeError: Error(s) in loading state_dict for SentimentClassifier:         Missing key(s) in state_dict: "bert.embeddings.position_ids".

essentially i just git cloned the repository and ran "python3 bin/download_model".
then i just ran the  "uvicorn sentiment_analyzer.api:app". I, however, installed all the dependencies individually as i was having issues to using the "pipenv install --dev" command as it was return errors

this is the entire error message.

this is whats in my assets

and this is the config.json that i did not change
How am i missing the keys from state_dict? is there a preferred enviorment where i deploy this tutorial api?

Hey, I ran into same error today. But I could solve it.
This SentimentClassifier was trained by transformers version 2.8.0, but Now if you install transformers without not designating version, you will get transformers==4.3.3. So if you want to execute this project, you should try following command.
pip install transformers==2.8.0

if you use mac os, maybe you will also encounter building error.
You will solve it wit following command.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env

after that, you will install transformers==2.8.0

Ran into the same error. Not able to resolve it with either-
pip install transformers==2.8.0
or
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh source $HOME/.cargo/env


docs should give pasteable commands to install prerequirements

A new kontena user simply can not know what version to of the docker-engine: https://kontena.io/docs/getting-started/installing/ubuntu#prerequisities

or just a list of which version of docker etc is supported would be a start

(1.11.2 currently)

(actually 1.10.x)

https://github.com/kontena/kontena/pull/1144


refactor: bridge call slash oracle

Summary by CodeRabbit

Bug Fixes

Enhanced the bridge call slashing logic to check the oracle's start height against the bridge call's block height before proceeding with slashing, ensuring more accurate and fair operations.

mg


LoadBalancer - LBStats implementation through FlowStats message

Implemented the statistics of a LBPool.
By creating a routine in StatisticsCollector.java to fetch the switch flow statistics for all the DPIDs and creating a class to store the important information about these flows. (similar to the PortStatsCollector function).
Then, the LB will use the IStatisticsService to get these statistics and filter them by LBPool.
Through the REST API, it is possible to know the bytes in, bytes out and active flows of each Pool.
It is also possible to retrieve flow statistics per DPID.
For instance:
curl -X GET http://localhost:8080/wm/statistics/flow/1/json, for DPID=1
curl -X GET http://localhost:8080/quantum/v1.0/pools/1/stats , for LBPool with id=1
A simple test was created to evaluate the correctness of the function to set the statistics of each LBPool.
OF/Loxigen documentation was checked and all functions used by OFFlowStatsEntry to retrieve the parameters (byte count, packet count, priority...) are compatible with all versions, except OF1.5.
In OF1.5 there is no implementation to get some of the parameters used (as far as I know, feedback appreciated) so it simply logs a warning.

Working on improvements to the Statistics lb_method from previous #745.
Want it to be able to load balance LBMembers with the same address, but from a different LBPool.
Also after some more testing I've seen that only 3 or 4 members are used, even if there are 32 other members, so I'm improving the algorithm to take into account previously picked members.

@OCoutinho sorry for taking so long to get back to you. And thanks for the kind contribution to Floodlight community!
I am testing the code -- so far I figured some load balancer API URI listed in https://github.com/OCoutinho/floodlight/wiki/Load-Balancer-API seems not match the https://github.com/OCoutinho/floodlight/blob/bd76f32c3945d2ba018a0bff66c14a6f34690036/src/main/java/net/floodlightcontroller/loadbalancer/LoadBalancerWebRoutable.java, especially the health monitor part.
I noticed the PR opened date is actually before the Wiki last edition date on Nov, 2017 -- is this PR your most recent load balancer code? If not, would you mind to merge your most recent work to this PR so we can take a look?  Please let us know, thanks!

@QingWang0909  You are right, this is not the most recent work.
The goal was to phase out the contributions, as I changed a lot of features. But, I can merge them in this PR. The changes made are in the repository you mentioned, and you already saw the final API documentation.
More changes were made to the GUI, introducing a new tab for the load balancer, as well as a new python application in the /apps folder.
I'll merge the final version here this week.

@OCoutinho Awesome! Let us know when you merged the final version. Thanks!

@QingWang0909  I have submitted another PR, as I was working on another branch and it is now outdated, I decided it was simpler to make another PR from the updated branch. Redirect here:  #780
This can be closed.

@OCoutinho I saw the PR you just submitted, thanks a lot! I'll take a look and give you feedback soon(probably tomorrow). Thanks again!

Just for posterity and documentation purpose -- @OCoutinho has already submitted his latest work for load balancer in here: #780 therefore we closed this PR and move to his latest work.


:bug: Give permission claim controllers their own name

Summary
Give each of the controllers launched as part of apibindings startup their own name for logging
Related issue(s)
Fixes #1933

e2e-shared-server failed on flake, #2172

Flake #2172
/retest


Discover the scope and requirements for implementing the Docsy Hugo template

Start research in the Docsy template

Create a new GitHub issue describing the requirements and scope of work required to implement the template. (Make it easy for other stakeholders to understand the extent of the challenge and what's required to implement the template.)

Get stakeholder input, then implement a solution. (Get everyone on board, then fix the problem. The template should be uniformly applied across the site with expected results.)

/sig docs
/priority important-soon
Assign to @aimeeu

/assign

/unassign
Zach is looking for a contractor to do the template change.

Would be nice to have a collapsible left menu, as requested in issue #16120


Use stainless steel shaft & 4,6mm spacers

shaft of same dims iso Al hollow shaft. Updated instructions

@abust005

Reviewed and approved.

Tried tagging you to see if that meant I could add you as a reviewer but you don't show up in the dropdown for some reason.


improve cross build configure in build.rs

this addresses https://github.com/MaterializeInc/rust-krb5-src/issues/26

I think this looks about right, but historically we've pushed the responsibility for setting CC and AR correctly onto the person doing the compile—e.g.:
CC=my_cross_cc AR=my_cross_ar cargo build

This is a departure from that philosophy. Probably a worthwhile one, as you're not the first person to struggle getting this crate to cross compile, but a departure nonetheless.
I can get on board with the autodetection of CC and AR if there's a target triple version in the env, but blindly setting the configure tests to yes still feels sketchy to me. Before jumping all the way in to automatically forcing those settings to yes, I'd prefer to instead document in the README of the crate what configure tests will need to be overridden, and how to do so (krb5_cv_attr_constructor_destructor=yes ac_cv... cargo build ...)

I think the reason why the cargo-zigbuild is setting CC_<target_with_underscores> instead of just CC is coming from the convention in rust's cc crate
https://github.com/rust-lang/cc-rs/blob/eb3390615747fde57f7098797b2acb1aec80f539/src/lib.rs#L97
that this seems to be used pretty in common for cross-build
imo I don't think this is necessarily a departure of that philosophy, because zigbuild is the tool to setting CC_<target_with_underscores> and AR_<target_with_underscores> before invoke cargo for the user
without the zigbuild, one still needs to set those variables to invoke CC_<target_with_underscores>=... AR_<target_with_underscores>=... cargo build, where this PR only adds an extension to take the convention used by rust's cc crate.
I do agree that setting those flags are a bit inappropriate, maybe we could provide a variable flag for user to tweak those behaviors, or even better to check compiler support directly without compiling a test program whenever possible?

@benesch based on the conversation I removed the default environment variable set to skip the test, but providing hints to user to skip these checks correspondingly.

@benesch based on the conversation I removed the default environment variable set to skip the test, but providing hints to user to skip these checks correspondingly.

Sounds good. Sorry for the delay here. I pushed up a revision of your patch that refactors things to my taste. Thanks very much for putting this together! Will merge if/when CI goes green.


Select from Query instead of Table

Is there any way to select from a query instead of a table?
Say I was given a complicated query with lots of table joins and conditions, but I wanted to select from it similar to a common table expression (CTE).
For example,
Assuming the "query" returns a table like data set and I would filter that data set as normal in the
query = "select field1, field2, ... from table1 inner join table2 inner join table3 ..."
Given the above query, I would like to select from it as follows, using the ".from()" from sql-smith, resulting in the following query output:
SELECT * FROM (query) AS api_query WHERE field1 = 2112
Is this possible?

I'm going to close this issue since I did find a workaround for using common table expressions (CTEs). However, maybe it would be good idea to add a CTE type expression feature?

Is this the same issue as described here ?

Yes, that looks to be the same issue, although the CTE syntax is a little different than the simple subselect.

A CTE is now possible using the with_ method on a SelectQuery: https://fbraem.github.io/sql-smith/select.html


use exports from ref-fvm

Summary of changes
Changes introduced in this pull request:

used some exports from ref-fvm (from here plus some others on top of it), reducing code duplication a bit

Reference issue to close (if applicable)

Closes #1492
Other information and links

Always great to see a PR that deletes a huge chunk of code. :)


Lazyload

Is it possible to use lazyload?? how??

https://github.com/sachinchoolur/lightslider/issues/175


Remove the sentence about DockerHub account

As I understand it, DockerHub account is not required to use Docker and MsPASS. The following sentence may give users wrong impression that a docker hub account is necessary. I think it should be removed from the "Get Started" section to lower the barrier for new users.

You may want to create an account and sign in your Docker following this instruction.

Codecov Report

Merging #217 (b1cea89) into master (021eeaf) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #217      +/-   ##
==========================================
- Coverage   43.22%   43.19%   -0.03%
==========================================
  Files         117      117
  Lines       14899    14889      -10
==========================================
- Hits         6440     6432       -8
+ Misses       8459     8457       -2

Impacted Files
Coverage Δ

python/mspasspy/util/decorators.py
66.18% <0.00%> (-0.49%)
:arrow_down:

python/mspasspy/db/database.py
82.00% <0.00%> (-0.12%)
:arrow_down:

python/mspasspy/algorithms/RFdeconProcessor.py
0.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 021eeaf...b1cea89. Read the comment docs.

Thanks for the suggestion. I think that make sense.


Avoid thundering herd of probes during failover.

This change guards the status prober with a simple readiness check as an
optimization for the case of failing over and globally resyncing resources.
When a fresh controller pod slurps through ~100 kingress for the first time
we will currently probe ALL of them.  On a 10 Node cluster, with 1 public and
3 private hostnames, this works out to a lot of probes:
  100 * (1 * 10 + 3 * 10) = 4000

Factor in what we do with endpoint probing, and it adds roughly 2000 probes.
Currently, this is what the scale-100 test in serving is doing every 30s or so,
in addition to the standard work it is doing.
Fixes: https://github.com/knative-sandbox/net-contour/issues/203
Possibly related to: https://github.com/knative-sandbox/net-contour/issues/226

Ok, this clearly has bugs.

/lgtm
/approve


Wikipedia page

Dear Maintainers,
My name is Matthew Vita, a programmer in the healthcare industry. I am trying to help build up the high impact "List of open-source health software" Wikipedia page (https://en.wikipedia.org/wiki/List_of_open-source_health_software) and would love to add your software to the list. However, it appears that your project does not have a page on Wikipedia so I ask you to consider the following:

Adding a nice article for your project (see the GNU Health article (https://en.wikipedia.org/wiki/GNU_Health) for a really good example and Ginkgo CADx (https://en.wikipedia.org/wiki/Ginkgo_CADx) for a lightweight, but acceptable example).
Adding said article to "List of open-source health software" Wikipedia page (https://en.wikipedia.org/wiki/List_of_open-source_health_software).

(If you’re already on Wikipedia, my search-fu wasn’t working when I looked you up so please consider doing only step 2 above)
Thanks,
Matthew

Matthew,
FYI, I have submitted a wikpedia page.
https://en.wikipedia.org/wiki/Draft:HospitalRun
hopefully soon
https://en.wikipedia.org/wiki/HospitalRun
On Sun, Apr 30, 2017 at 4:58 PM, Matthew Vita<EMAIL_ADDRESS>wrote:

Dear Maintainers,
My name is Matthew Vita, a programmer in the healthcare industry. I am
trying to help build up the high impact "List of open-source health
software" Wikipedia page (https://en.wikipedia.org/
wiki/List_of_open-source_health_software) and would love to add your
software to the list. However, it appears that your project does not have a
page on Wikipedia so I ask you to consider the following:

Adding a nice article for your project (see the GNU Health article (
https://en.wikipedia.org/wiki/GNU_Health
https://en.wikipedia.org/wiki/GNU_Health) for a really good example
and Ginkgo CADx (https://en.wikipedia.org/wiki/Ginkgo_CADx) for a
lightweight, but acceptable example).
Adding said article to "List of open-source health software"
Wikipedia page (https://en.wikipedia.org/wiki/List_of_open-source_
health_software).

(If you’re already on Wikipedia, my search-fu wasn’t working when I looked
you up so please consider doing only step 2 above)
Thanks,
Matthew
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/HospitalRun/hospitalrun-frontend/issues/1076, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA4t7X4pcVjome-eecQFs9PxkSKc_FKQks5r1PX7gaJpZM4NMsH_
.

--
*Joel Worrall *
@tangollama http://twitter.com/tangollama (c)<PHONE_NUMBER>

Dear Maintainers,
I just wanted to follow up with a few words in regards to Conflict of Interest (COI). As you can imagine, I have been reaching out to all kinds of mature, reputable, and active open source healthcare projects to help build up this Wikipedia list. However, some project members have (rightly) reached out to me with concerns about COI, so I wanted to clear this up as best as I can. I should first note that my role in this process is of a neutral party that is solely acting in the interests of Wikipedia readers that wish to learn about open source healthcare solutions.
Wikipedia defines COI as "contributing to Wikipedia about yourself, family, friends, clients, employers, or your financial and other relationships. Any external relationship can trigger a conflict of interest." They also go on to say that organizations writing about themselves is a COI.
If you meet one or more of those criteria, I suggest reaching out to a neutral party in your project's community to put together the article. If you do not meet any of those criteria, I suggest putting together an article with material that places the interest of the encyclopedia and its reader above all else.
Assuming you don't have a COI, I encourage you to do as other open source healthcare projects have done by creating a neutral article about the project with the help of the community (users, developers, and subject matter experts) as well as reliable references.
For whatever it's worth, my personal opinion is that if you don't have a COI, it is rather easy to write up an article talking about the software's features, history, usage, and milestones all while being neutral.
Thanks,
Matthew Vita

Hello @tangollama. Thank you so much for your efforts thus far. I (exception_e user) has left some notes on your talk page: https://en.wikipedia.org/wiki/Draft_talk:HospitalRun
Thanks.

I have started to write the Page and shall continue my efforts
https://en.wikipedia.org/wiki/Draft:HospitalRun

@fox1t Can anyone from the community put together a draft for the wiki?

@EdwardGoomba are you talking about Wikipedia? If so, I think that we have to write a draft as soon as possible.

Yup - Wikipedia. Are you tackling that or did you need a hand? If you need a hand - any chance Joel has the copy he submitted the first time around on hand?

@tangollama? :)


knowledge of which IDs are actually hardware based.

I've been tasked to generate an ID based on hardware IDs, so it returns a different ID even if the sofware is closed using a full image of the whole disk and copied to another machine.
I've realized that several IDs are actually generated by the drivers, which means they're copied around along the disk image, so they're the same when executed in multiple cloned machines.
Is there a chart, or some knowledge base that tells which IDs can be safely used to actually distinguish two hardwares apart, and which IDs may be copied around along disk images?
I am aware this is a non trivial question and answers can vary between vendors.

In this situation, it's probably the MAC address.
The main four "100% hardware" values that DeviceID uses are MAC address, processor ID, motherboard serial, and system drive serial. Unfortunately, the latter three are not always reliable as it depends on the vendor (and drivers) actually reporting the aforementioned values: many vendors unfortunately just report default/empty values for some of these.

Thanks, sadly that's the answer I guessed


Video Creator: capture cancel doesn't work for slow graphs in 3d

E.g. pull up https://www.desmos.com/3d/0afc43b260 and do a slider capture on a. Will give "Uncaught Error: cancelled"

If you time it right, it does work.


Add Footer/Copyrights Section

Should include:

KUCC Social/Contact Links
Useful Links

@sagar

Can you assign this to me @sabin-thapa ?


[en]update kangaroo to optimize UI

Optimize English version to keep in line with Chinese UI, and add some contents

Thanks.


Used concrete sized in shape for PP data proxy.

Fixes the first problem in https://github.com/SciTools/biggus/issues/135.

Thanks @pelson :+1:

I'll let travis do it's thing and merge once it confirms that specific issue has gone away.

The file header at lib/iris/tests/unit/fileformats/pp/test__create_field_data.py is out of date. :unamused:

All gravy...

All gravy...

Except when it isn't. I've restarted the travis build.

I like your gravy optimism though ...

Boom! Thanks @pelson !


Non-hardcoded FCM Url

Hello!
Currently CorePush hardcodes the FCM Url for sending requests to the FCM API here: https://github.com/andrei-m-code/net-core-push-notifications/blob/master/CorePush/Google/FcmSender.cs#L16
This makes it hard for us to change where the request is sent to (for example to https://webhook.site/ for testing purposes).
FcmSender takes an HttpClient from the user of the library. Wouldn't it make more sense to use the HttpClient.BaseAddress property from the client as the destination for the requests rather than a hard coded URL?
If this is agreeable we can put out a PR for this.

Hi @lawhorkl ,
I'll take care of it sometime soon. Thanks for your feedback!

@lawhorkl
Fcm and Apn senders now both do this:
http.BaseAddress = http.BaseAddress ?? new Uri(fcmUrl);

If http base address is set, it won't be using a hard-coded value. This should solve your issue starting from v3.1.0

thanks!


Fix table in the bottom panel

Fixes the sorting issue mentioned in #31, #36, #40 and #45. The cause was the PanelRow class extending the wrong element, meaning the .cells property did not exist. Which threw a error, stopped sorting from working.
Also fix the styles of the table mentioned in #42.

thank you for your effort. It worked great by using your fork as
apm install fragglebob/atom-lcov-info
hope this get merged. Cheers.

Bump?  I guess I'll install the fork for now. :D

bump

any reason to not take the PR?

ping @jacogr


Unit Test should not depend on external modules

🗣 Description
Mock/stub all external dependencies so unit test executes without external dependencies.  Remove Setup.ps1 from run_powershell_tests.yaml.
💭 Motivation and context
Make UT more efficient and not overlap integration/functional testing. Decrease run time from 5 - 6 minutes to less than a minute +/-.
Closes #867
🧪 Testing

Execute PowerShell unit test locally
Execute workflow of PowerShell unit test

✅ Pre-approval checklist

[X] This PR has an informative and human-readable title.
[X] PR targets the correct parent branch (e.g., main or release-name) for merge.
[X] Changes are limited to a single goal - eschew scope creep!
[X] Changes are sized such that they do not touch excessive number of files.
[X] All future TODOs are captured in issues, which are referenced in code comments.
[X] These code changes follow the ScubaGear content style guide.
[X] Related issues these changes resolve are linked preferably via closing keywords.
[X] All relevant type-of-change labels added.
[X] All relevant project fields are set.
[X] All relevant repo and/or project documentation updated to reflect these changes.
[X] Unit tests added/updated to cover PowerShell and Rego changes.
[X] Functional tests added/updated to cover PowerShell and Rego changes.
[X] All relevant functional tests passed.
[X] All automated checks (e.g., linting, static analysis, unit/smoke tests) passed.

✅ Pre-merge checklist

[ ] PR passed smoke test check.

[ ] Feature branch has been rebased against changes from parent branch, as needed
Use Rebase branch button below or use this reference to rebase from the command line.

[ ] Resolved all merge conflicts on branch

[ ] Notified merge coordinator that PR is ready for merge via comment mention

✅ Post-merge checklist

[ ] Feature branch deleted after merge to clean up repository.
[ ] Verified that all checks pass on parent branch (e.g., main or release-name) after merge.

@julianjburgos @isab-m Re-baselined this feature branch due to other PR merges.

 saw there was no switch statement for mock "Get-ATPProtectionPolicyRule" in Export-DefenderProvider.Tests.ps1, is that something that could be added or is there a reason why it isn't there?
Saw that the Other warning errors for the other functions ScubaSpfRecord/DmacRecord/Dkim all have TODO statements so overlooked those warnings.
Walked through the rest of the code and test runs, seems to be working and code looks clean.

I was just ignoring the warnings since it was not my main focus on breaking the dependencies.  I did fix them though and now get a run without warnings - does make it look better.  Thanks!

@nanda-katikaneni  Ready for merge to main


F# new project can't find templates if Ionide folder path contains a space

My .vscode\extensions folder begins "c:\users\mark lambert"  and the space is screwing up the F# new project command. It claims there are no templates installed, but it's because
cmd.exe /s /c "C:\Users\mark lambert\.vscode\extensions\Ionide.Ionide-fsharp-1.9.1\bin_forge\Forge.exe list templates --no-prompt"
is failing because
'C:\Users\mark' is not recognized as an internal or external command, operable program or batch file.

v2.0 is spawning forge.exe successfully.


Dori/so for bazel next pr

This change is

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

Project coverage is 78.44%. Comparing base (fafed54) to head (1b818b3).

Additional details and impacted files
@@                Coverage Diff                 @@
##           dori/so-for-bazel    #2009   +/-   ##
==================================================
  Coverage              78.44%   78.44%
==================================================
  Files                     63       63
  Lines                   9045     9045
  Branches                9045     9045
==================================================
  Hits                    7095     7095
  Misses                  1503     1503
  Partials                 447      447

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


Fix Config.Setting equals/hashCode

Closes #87

Closing for now. Need to fix CI b/c of the repository name change done post #86


gdal: fix standalone python programs

This addresses issue #9386.
@michelk: would you like to test? thanks.

Thanks a lot. Just tested locally and this does solve the issue.

I guess QGIS could be fixed in a similar way. Currently, when starting QGIS, I get
Traceback (most recent call last):
  File "/nix/store/8hg8mmi8lb05a673jmv4dfs24hmfrwcs-gdal-2.0.0/lib/python2.7/site-packages/site.py", line 75, in <module>
    __boot()
  File "/nix/store/8hg8mmi8lb05a673jmv4dfs24hmfrwcs-gdal-2.0.0/lib/python2.7/site-packages/site.py", line 35, in __boot
    imp.load_module('site',stream,path,descr)
  File "/usr/lib/python2.7/site.py", line 563, in <module>
    main()
  File "/usr/lib/python2.7/site.py", line 545, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/lib/python2.7/site.py", line 272, in addusersitepackages
    user_site = getusersitepackages()
  File "/usr/lib/python2.7/site.py", line 247, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/usr/lib/python2.7/site.py", line 237, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/usr/lib/python2.7/sysconfig.py", line 582, in get_config_var
    return get_config_vars().get(name)
  File "/usr/lib/python2.7/sysconfig.py", line 528, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/usr/lib/python2.7/sysconfig.py", line 412, in _init_posix
    from _sysconfigdata import build_time_vars
  File "/usr/lib/python2.7/_sysconfigdata.py", line 6, in <module>
    from _sysconfigdata_nd import *
ImportError: No module named _sysconfigdata_nd

With the nix-shell-trick, it works.

@michelk could you be clearer about how you get this QGIS error, please? I cannot reproduce it.

I'm using nixpkgs on a debian system.
With
nix-env -iA nixpkgs.qgis
qgis

I'm getting the error listed above.
Though
nix-shell -p python qgis
 qgis

works.

Strange… Are you using any particular plug-in? Is this behaviour new or have you always got such an error?

If you fix qgis, I'll also push to release-15.09

I'm using some plug-ins, but when they were failing (eg. missing python-dependency), I got an error and the plugin was automatically disabled, but QGIS was running correctly.
I never used nixpkgs-QGIS in production, since previously there was a mismatch between compiled and running libpng; therefor I always used the debian-QGIS.

I suggest to merge this PR, as it fixes an issue with gdal. I don’t understand what breaks qgis, so I can’t fix it.


🔪 Drop support for Node 10

Drop support for Node 10 (Playwright 1.11 seems to have dropped support as well).

:tada: This PR is included in version 3.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Hello Microverse, add core files

This basic hello world project contains:

README.md
index.html
style.css
test.md
.gitignore (which includes the test.md file and node_modules)

Updated the README file, and the PR title and description


Update 'Test' : Add Missing Test Cases and Fix Comment

Codecov Report

Merging #276 (de9c31b) into master (b245ddc) will increase coverage by 5.57%.
The diff coverage is 20.00%.

@@             Coverage Diff              @@
##             master     #276      +/-   ##
============================================
+ Coverage     57.69%   63.27%   +5.57%
- Complexity      835      957     +122
============================================
  Files           169      169
  Lines          3151     3153       +2
  Branches        317      324       +7
============================================
+ Hits           1818     1995     +177
+ Misses         1207     1038     -169
+ Partials        126      120       -6

Impacted Files
Coverage Δ
Complexity Δ

...ava/seedu/dictionote/commons/core/GuiSettings.java
96.70% <ø> (+15.38%)
41.00 <0.00> (+13.00)

.../seedu/dictionote/logic/commands/CloseCommand.java
71.42% <ø> (ø)
3.00 <0.00> (ø)

...onote/logic/commands/CopyContentToNoteCommand.java
16.66% <0.00%> (+16.66%)
1.00 <0.00> (+1.00)

.../dictionote/logic/commands/EditContactCommand.java
97.01% <ø> (ø)
11.00 <0.00> (ø)

...edu/dictionote/logic/commands/EditModeCommand.java
100.00% <ø> (+12.50%)
7.00 <0.00> (+3.00)

...dictionote/logic/commands/EditModeQuitCommand.java
100.00% <ø> (+14.28%)
6.00 <0.00> (+3.00)

...dictionote/logic/commands/EditModeSaveCommand.java
100.00% <ø> (+81.25%)
8.00 <0.00> (+6.00)

...a/seedu/dictionote/logic/commands/HelpCommand.java
100.00% <ø> (ø)
2.00 <0.00> (ø)

.../dictionote/logic/commands/ListCommandCommand.java
100.00% <ø> (ø)
2.00 <0.00> (ø)

...note/logic/commands/ListCommandContactCommand.java
100.00% <ø> (ø)
2.00 <0.00> (ø)

... and 62 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 b245ddc...de9c31b. Read the comment docs.


Allow cubit to override the provider

I would like to be able to override the dispose method on my Cubit.    My workaround is to create the timer elsewhere and pass the cubit into the constructor.

Hi @chimon2000 👋
Thanks for opening an issue!
Can you please provide a bit more context? You you can currently override close in your cubit and handle cancelling the timer there.
class CounterCubit extends Cubit<int> {
  @override
  Future<void> close() {
    // clean up stuff here
    return super.close();
  }
}

Let me know if that helps 👍

I was looking for dispose, so I missed this.  Thanks, closing this issue!


automatic log out immediately after logging in when password is too long

I generated a 128 character password and set it as my new password. Everything seemed to go fine without any error messages. When I tried to log in, authentication appeared to succeed because the Zulip UI flashed briefly, but before messages were shown, I was automatically logged out. I had to reset my password and choose a shorter password to get back in. I would expect to be shown an error when setting the password if it is longer than whatever Zulip's limit is.
Zulip Server and web app version:

[x] Zulip Cloud (*.zulipchat.com)
[ ] Zulip Server 7.0+
[ ] Zulip Server 6.0+
[ ] Zulip Server 5.0 or older
[ ] Other or not sure

I'm not sure that the length is the issue. I've also had this happen on other servers with 64 character generated passwords.

How do i replicate this issue?

Generate a password with Bitwarden's password generator that is 128 characters long and includes all character classes (A-Z, a-z, 0-9, !@#$^&*) and reset your password to that.

I started a discussion thread in the development community here.

This looks like a duplicate of https://github.com/zulip/zulip/issues/27922, so closing this in favor of that one. There is a PR in progress for fixing this at https://github.com/zulip/zulip/pull/28311, so posted a comment there to push it forward.


Example precision/recall

Hi,
running the classification example produces:
P@1: 0.11
R@1: 0.11
Number of examples: 100
Is the precision/recall only 11% for this example?
Thanks

Hi, maybe your answer is here https://github.com/facebookresearch/fastText/issues/93

Thanks. But i run the example code from this repo which is a multiclass classification.

@SebastianSingle99 default parameter is better.firstly, i use  classifier = ft.supervised(input_file, output, dim=dim, lr=lr, epoch=epoch,     min_count=min_count, word_ngrams=word_ngrams, bucket=bucket,     thread=thread, silent=silent, label_prefix=label_prefix), the variable value is the same as classification_example.py then i got P@1: 0.36 R@1: 0.36 Number of examples: 100;then i use default parameters like this:classifier = ft.supervised(input_file, output, label_prefix="__label__") and i get the high re-call score P@1: 1.0 R@1: 1.0 Number of examples: 100, but running time is longer than before


[PREGEL] Update pregel status documentation

Update timings
Add details description

TODO rename memoryUsed to memoryBytesUsed (is done in PR https://github.com/arangodb/arangodb/pull/16634)

@jvolmer is it for 3.10 or devel (or both?) The milestone is set to 3.10, but the target branch is devel. In the accompanying docs PR, 3.10 files are updated. Please clarify the affected version(s).

The code changes were merged into devel before the 3.10 branch-off.
Backport of this PR to 3.10: #16759

Thanks for the backport, Simran! I was really unsure whether the added RestStructs in get_api_control_pregel_status.md are correct as they are, but I think you figured it out?


nixos/kea: allow json includes with kea syntax

Description of changes
Kea has its own special json syntax extension that allows one to include external files, documented here
https://kea.readthedocs.io/en/kea-2.4.0/arm/config.html#json-syntax
The problem is that it's difficult (impossible?) to convince jq to output this syntax, while I also didn't want to completely do away with generating configuration files from Nix settings.
Things done

Built on platform(s)

[x] x86_64-linux
[x] 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/)
23.11 Release Notes (or backporting 23.05 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

[ ] Fits CONTRIBUTING.md.

If we were to accept this, there needs to be a nixos test demoing how it looks and that it works.

I'm not exactly a fan of this syntax either, all things considered, and it would be better to document an example with using a custom generator in conjunction with the configFile option.
Did just that in my private configs:
https://github.com/arachnist/nibylandia/blob/a9657f5ce6c23ba2cc01dfcd94ce1e000e6d288b/nixos/scylla/configuration.nix#L3-L13
https://github.com/arachnist/nibylandia/blob/a9657f5ce6c23ba2cc01dfcd94ce1e000e6d288b/nixos/scylla/configuration.nix#L320-L356C5
This kludge isn't worth inflicting on the general Nix community.


OAuth login authentication flow ends in error (if user is not already authenticated)

Observed Behavior
Just after I did the beginning-of-year procedures on the freezing database and config files, I tried to register for the site again via https://freezingsaddles.org/login and hit a problem. At first I was getting a 500 error but that was because the API app was out of quota. After a day the quota issue resolved itself but now I'm getting this error message:

Authorization Failed
There was an error authorizing the Freezing Saddles application to access your Strava account.
Error code: ATHLETE_NOT_FOUND

Expected Behavior
Going to https://freezingsaddles.org/login and authorizing the Freezing Saddles app should result in a correct registration.
Steps to reproduce

Go to https://freezingsaddles.org/login and press the Connect with Strava button
Authorize all requests in the next Strava page and press the Authorize button
See the ATHLETE_NOT_FOUND message

Tech Notes
It looks like the Athlete entity is not getting created in the database.
The logs show this when I try to register:
freezing-web         | Unable to set attribute activity_types on entity <Club id=8123 name='BikeArlington' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=8123 name='BikeArlington' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=8412 name='Arlington Forest Cycling Club' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=8412 name='Arlington Forest Cycling Club' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=35362 name='Cabal' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=35362 name='Cabal' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=36106 name='Modus Create' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=36106 name='Modus Create' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=240695 name='2017 Freezing Saddles' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=240695 name='2017 Freezing Saddles' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=250624 name='Triskaidekasleazia - BAFS2017' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=250624 name='Triskaidekasleazia - BAFS2017' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=281688 name='DCTech' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=281688 name='DCTech' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=324147 name='2018 Freezing Saddles' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=324147 name='2018 Freezing Saddles' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=284963 name='Washington Area Bicyclist Association (WABA)' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=284963 name='Washington Area Bicyclist Association (WABA)' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=335181 name='Team Elevenses -- BAFS2018 Team 11' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=335181 name='Team Elevenses -- BAFS2018 Team 11' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=14329 name='Team Vegan' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=14329 name='Team Vegan' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=45105 name='BikeDC' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=45105 name='BikeDC' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=487039 name='Freezing Saddles 2019' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=487039 name='Freezing Saddles 2019' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=493728 name='Bakers Dozen: BAFS Team 13' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=493728 name='Bakers Dozen: BAFS Team 13' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=231407 name='The Strava Club' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=231407 name='The Strava Club' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=567288 name='Freezing Saddles 2020' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=567288 name='Freezing Saddles 2020' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=207668 name='Toolbox For Strava' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=207668 name='Toolbox For Strava' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=780394 name='Freezing Saddles 2021 - COVID Edition' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=780394 name='Freezing Saddles 2021 - COVID Edition' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=807566 name='BAFS2021 Team Beer Necessities (XIV)' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=807566 name='BAFS2021 Team Beer Necessities (XIV)' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=200788 name='NoVA Vegans' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=200788 name='NoVA Vegans' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=895304 name='NAKED SADDLES: KEEP UP THE STREAK POST-FS2021! ' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=895304 name='NAKED SADDLES: KEEP UP THE STREAK POST-FS2021! ' resource_state=2>
freezing-web         | Unable to set attribute activity_types on entity <Club id=1000227 name='Freezing Saddles 2022' resource_state=2>
freezing-web         | Unable to set attribute dimensions on entity <Club id=1000227 name='Freezing Saddles 2022' resource_state=2>
freezing-web         | Unable to set attribute nickname on entity <Bike id=b1228743 name='Capital Bikeshare' resource_state=None>
freezing-web         | Unable to set attribute retired on entity <Bike id=b1228743 name='Capital Bikeshare' resource_state=2>
freezing-web         | Unable to set attribute converted_distance on entity <Bike id=b1228743 name='Capital Bikeshare' resource_state=2>
freezing-web         | Unable to set attribute nickname on entity <Bike id=b5639430 name='Cargo Bike' resource_state=None>
freezing-web         | Unable to set attribute retired on entity <Bike id=b5639430 name='Cargo Bike' resource_state=2>
freezing-web         | Unable to set attribute converted_distance on entity <Bike id=b5639430 name='Cargo Bike' resource_state=2>
freezing-web         | Unable to set attribute nickname on entity <Bike id=b1232274 name='Diamondback Wildwood' resource_state=None>
freezing-web         | Unable to set attribute retired on entity <Bike id=b1232274 name='Diamondback Wildwood' resource_state=2>
freezing-web         | Unable to set attribute converted_distance on entity <Bike id=b1232274 name='Diamondback Wildwood' resource_state=2>
freezing-web         | Unable to set attribute nickname on entity <Bike id=b4299881 name='Giant Avail ' resource_state=None>
freezing-web         | Unable to set attribute retired on entity <Bike id=b4299881 name='Giant Avail ' resource_state=2>
freezing-web         | Unable to set attribute converted_distance on entity <Bike id=b4299881 name='Giant Avail ' resource_state=2>
freezing-web         | Unable to set attribute nickname on entity <Bike id=b4299876 name='Giant TCR Advanced Pro 1' resource_state=None>
freezing-web         | Unable to set attribute retired on entity <Bike id=b4299876 name='Giant TCR Advanced Pro 1' resource_state=2>
freezing-web         | Unable to set attribute converted_distance on entity <Bike id=b4299876 name='Giant TCR Advanced Pro 1' resource_state=2>
freezing-web         | Unable to set attribute nickname on entity <Bike id=b817044 name='Novara Express' resource_state=None>
freezing-web         | Unable to set attribute retired on entity <Bike id=b817044 name='Novara Express' resource_state=2>
freezing-web         | Unable to set attribute converted_distance on entity <Bike id=b817044 name='Novara Express' resource_state=2>
freezing-web         | Unable to set attribute nickname on entity <Bike id=b3818415 name='Novara Metro' resource_state=None>
freezing-web         | Unable to set attribute retired on entity <Bike id=b3818415 name='Novara Metro' resource_state=2>
freezing-web         | Unable to set attribute converted_distance on entity <Bike id=b3818415 name='Novara Metro' resource_state=2>
freezing-web         | Unable to set attribute nickname on entity <Bike id=b4299868 name='Raleigh 4.5 Hybrid' resource_state=None>
freezing-web         | Unable to set attribute retired on entity <Bike id=b4299868 name='Raleigh 4.5 Hybrid' resource_state=2>
freezing-web         | Unable to set attribute converted_distance on entity <Bike id=b4299868 name='Raleigh 4.5 Hybrid' resource_state=2>
freezing-web         | Unable to set attribute nickname on entity <Bike id=b1206072 name='Trek Domane 2.3' resource_state=None>
freezing-web         | Unable to set attribute retired on entity <Bike id=b1206072 name='Trek Domane 2.3' resource_state=2>
freezing-web         | Unable to set attribute converted_distance on entity <Bike id=b1206072 name='Trek Domane 2.3' resource_state=2>

These error messages come from freezing-model/freezing/orm.py - attributes on entities it does not recognize raise exceptions.
To fix this, we would need to revise freezing-model to either:

Only warn, not throw an exception, when it finds an unrecognized attribute (easy)
Add database columns and entities for all unrecognized attributes (harder)

Hopefully that's as far down as the problem goes!

I asked @hozn for help with the rate limiting issue and he verified that the API had been over limit for a while, and that Strava had not contacted him about the API:

We have a quota of 135000 calls a day, it looks like we had been exceeding it for some time with retries that were going nowhere. See below for a curl that shows the quota being OK (see the  X-RateLimit-Limit: 2700,135000 and < X-RateLimit-Usage: 1,1 headers):
$  curl -G https://www.strava.com/api/v3/push_subscriptions -d client_id=X -d client_secret=REDACTED -v
* About to connect() to www.strava.com port 443 (#0)
*   Trying <IP_ADDRESS>...
* Connected to www.strava.com (<IP_ADDRESS>) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate:
*       subject: CN=*.strava.com,OU=Domain Control Validated
*       start date: Aug 21 18:44:37 2020 GMT
*       expire date: Oct 20 23:05:47 2022 GMT
*       common name: *.strava.com
*       issuer: CN=Go Daddy Secure Certificate Authority - G2,OU=http://certs.godaddy.com/repository/,O="GoDaddy.com, Inc.",L=Scottsdale,ST=Arizona,C=US
> GET /api/v3/push_subscriptions?client_id=145&client_secret=b83b1ed551ed0cd8ea3656e1c03e56f5accbc6c1 HTTP/1.1
> User-Agent: curl/7.29.0
> Host: www.strava.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Wed, 24 Nov 2021 16:10:08 GMT
< Content-Type: application/json; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Via: 1.1 linkerd, 1.1 linkerd
< ETag: W/"b62c408a1bcfb2f646b4dff995aa7801"
< Vary: Origin
< Server: nginx/1.19.5
< Status: 200 OK
< X-Request-Id: 623c9c1f-00cd-49cb-a493-1b57c13535b4
< Cache-Control: max-age=0, private, must-revalidate
< Referrer-Policy: strict-origin-when-cross-origin
< X-FRAME-OPTIONS: DENY
< X-XSS-Protection: 1; mode=block
< X-RateLimit-Limit: 2700,135000
< X-RateLimit-Usage: 1,1
< X-Download-Options: noopen
< X-Content-Type-Options: nosniff
< X-Permitted-Cross-Domain-Policies: none
<
* Connection #0 to host www.strava.com left intact
[{"id":120839,"resource_state":2,"application_id":145,"callback_url":"https://hook.freezingsaddles.org/webhook","created_at":"2018-01-31T03:22:36+00:00","updated_at":"2018-01-31T03:22:36+00:00"}]

The worst part of this is really a duplicate of #188  - we should try to solve that this year. The part of this issue that was sort of new was related to the quota being exceeded - and that is resolved.
I'm going to back out the patch I made to freezing-model and make sure that things are still working by re-registering on the site after cleaning out the athletes table again.


Update Log Stream Plugin to 0.4.0

[#166332950]
Signed-off-by: Caitlyn Yu<EMAIL_ADDRESS>

closing because Travis build failed on network error


Low validation accuracy for cifar10 via tensorflow

I ran the training script myself and after 400 epochs, via two runs of 200 epochs where I reloaded the weights on TensorFlow I had:
Accuracy :  89.38
Error :  10.62
Which seems very low compared to the 94.74% in the readme and paper.

@ahundt May I ask which model type you were training? The DN-40-12 model in the cifar-10 script?
I haven't trained the DenseNet models on Tensorflow so I don't know what the cause is (they hit an OOM on tensorflow, theano with GC allows me to train though).

Here it is:
https://github.com/ahundt/DenseNet/tree/tf
Ah yes the problem might be that I forgot to lower the learning rate. I bet there might also be a way to automatically have rate decay in keras.

you're definitely right it is already at 91% validation accuracy after just a few minutes. Good call! I'll see if I can submit a pull request which can load either the tf or the th model depending on what is run.

@ahundt No problem. Glad I could help.
On the issue of loading the correct model, you could do something like this:
from keras import backend as K

....

if K.backeng() == 'theano':
    model.load_weights('path/to/theano/weights')
else:
    model.load_weights('path/to/tensorflow/weights')

@titu1994  Indeed, I get low validation accuracy even for theano using the current cifar10.py script. At 200 epochs, the accuracy is 88.06%. When I use your pretrained model, I get 94.84% accuracy. In some comment, you mentioned about decreasing the learning rate for Adam to 1e-5, is this the reason your pretrained model performs so well? Would you please help me reproduce your result? Thank you very much!

@fehiepsi I achieved that score by doing a few things. I first trained 50 iterations with Adam learning rate 1e-3, then 100 iterations at 1e-4 and 100 final iterations at 1e-5.
I am sure that with SGD, you can set your learning rate scheduler to do similar things, but since I was using Adam and I didn't know of any direct method to set the learning rate, I did this manually. I believe you can set a learning rate scheduler via a callback for SGD. I haven't tried it for Adam though.
Note that with all deep learning models, it is not possible to perfectly reproduce the score (due to initialization of weights in NN and the adaptive gradients of Adam). Even the pre-trained model accuracy is slightly lesser than the accuracy mentioned in the paper.

Thank you so much @titu1994 !!! Your comment is very helpful to me. I am trying to use the callback in keras with your suggestions.