Add support to detect ghostery and/or adblock-plus

This pull requests will add support to detect current versions of adblock-plus and ghostery.
There will be a new event available afterAdBlocked. It's called for each ad separately.
I successfully tested it with adblock plus in chrome/firefox and ghostery. The dfpBlocked Method is not called because the load of the base ad script is successful in current implementations.

The problem we see most ad-blockers cause, is blocking the script from being loaded, so the whole anti-ad-blocking never even gets to the user.
In order to get around that issue, the jquery.dfp could be bundled with other crucial scripts, so user with ad-blockers, will not be able to use the page as intended, or maybe not at all.
It is a battle that is very hard to win, but then again it's not a battle that developers will win - we just make the weapons for both sides :-)
If "supports ad-blockers" really should be part of jquery.dfp, it would be a whole other project.
But a comment to the work done; great, I love seeing so many (new) people contributing :-)
(Sorry for the rant)

On 23. sep. 2015, at 17.14, David Heidrich<EMAIL_ADDRESS>wrote:
This pull requests will add support to detect current versions of adblock-plus and ghostery.
There will be a new event available afterAdBlocked. It's called for each ad separately.
I successfully tested it with adblock plus in chrome/firefox and ghostery. The dfpBlocked Method is not called because the load of the base ad script is successful in current implementations.
You can view, comment on, or merge this pull request online at:
https://github.com/coop182/jquery.dfp.js/pull/110
Commit Summary
Add event listener for ads that have been blocked by adblocker
Better adblock detection
Add support to detect either ghostery and/or adblock-plus extensions
add missing parameters
File Changes
M Readme.markdown (9)
M jquery.dfp.js (47)
Patch Links:
https://github.com/coop182/jquery.dfp.js/pull/110.patch
https://github.com/coop182/jquery.dfp.js/pull/110.diff
—
Reply to this email directly or view it on GitHub.

I don't like most of the ads today, they slow down the sites and I'm pretty sure that 80% are clicking on it by accident, especially on mobile devices. I have one argument that supports adding this functionality, and thats "Design". Some blockers also remove the parent containers (or put them to display:none), and you end up having a site that looks strange because the space that is occupied by a banner will be empty and a white surface. Eventually your site looks cluttered. If you are able to detect that an ad has been blocked, you can at least provide a fallback for the empty space.

Sorry for the slow response to this... very busy week!
I will take a look at this shortly - it looks like a good change I just want to do a bit of testing myself. I agree with @soreng in that I don't think we want to get into an back and forth war with the various ad blockers out there. Then again we have always provided a least basic ad blocker detection as part of this script so it makes sense to at least update that to keep it working - I'm not sure how many people use it... but as long as it doesn't make this script to heavy I think its worth having.

Any new update/opinion on this?

Sorry for the delay... all merged now :smile:


Refactor method signature

The method in bigchaindb/core.py::Bigchain::vote accepts as first argument a block dictionary but in the code only the block['id'] is used.
Having simpler requirements for the method will also help another refactoring I'm doing.

:+1:

[Current coverage][cc-pull] is 90.90%

Merging [#475][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #475   diff @@
==========================================
  Files            18         18
  Lines          1298       1298
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1180       1180
  Misses          118        118
  Partials          0          0

[][cc-pull]

Powered by Codecov. Last updated by [150cade...873ea89][cc-compare]
[cc-base-branch]: https://codecov.io/gh/bigchaindb/bigchaindb/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/bigchaindb/bigchaindb/compare/150cade4dbd93ee668b1a86e3a115ea536d43d17...873ea891d6ef321788be72827515c7dd4561a286?src=pr
[cc-pull]: https://codecov.io/gh/bigchaindb/bigchaindb/pull/475?src=pr


translation service for draw & map service

i have implanted leaflet service at my project and im trying to translate the draw strings
is there any other way to do it other then changing the library code?

What do you mean by "draw strings"?

This is probably something that should be reported in the Leaflet.draw repo.

for example when im drawing a circle, there is a string that says "click and drag to draw a circle"
i want to be able to translate all those strings

That belongs to the Leaflet-draw repo as @mourner said. Furthermore, localization is explicitly mentioned in the documentation.


Implement saving of SSoT in MogoDB

As a Developer, I'd like to be able to continue working on my last model after closing the app.

:thought_balloon: Hints & Thoughts
:question: Additional Questions to Answer / Consider

:white_check_mark: Conditions of satisfaction

[ ] There should be a function to store the SSoT to our DB (includes setting an unique RobotID)
[ ] There should be a dummy-function to get the first robot from MongoDB.

I started to implement this in this branch
Although I got stuck there and I really have no clue how to continue. I copied some stuff together for the routes, the controller and adapted the schema a bit. I would recommend using another collection in our database to store the Single Source of truth files. Added to that, we do not need to set an explicit id, because mongoose does this for us. I would be happy if somebody could continue with me here in pair programming or takes this over.


Improve defaults

Let's use the following as defaults (or at least as a starting place for defaults.)    These will be objective dependent, but at moment they are coming up with very long exposures, etc.  This is probably a better place to start out.
BF:
LED:  10mA?
Gain: 0
Exposure 40ms
(We will need to see what the new illuminator does- we may want to adjust in future)
Fluorescent channels.
LED: 150mA
Gain: Not sure, maybe 4?
Exposure: 100 ms

These settings are dynamically loaded from the settings.json file. This has been updated to reflect the values above. Changes are stored between uses of the software in current.json.


Not working in Windows 8.1

I'm having the same error. Somebody please help.

This updater is now officially deprecated and not supported anymore. You should have been supplied with an alternative program, though if not, feel free to contact me.


Upgrade websockets

Hi!
I'm trying to remove the necessity of pip install --use-deprecated legacy-resolver here which offers to leverage dipdup optionally as indexer for tezos (docs).
Thanks!

Hey! Thanks for the PR, but we have switched to pysignalr in dipdup, this library is no longer maintained


Workspaces for ALL

Removes the workspace type field and enable the workspace admin panel for all workspaces, allowing anyone to rename their workspace and invite people (by domain or email as per other PR)

cc @dust-tt/product-team


Breaks since 15.4.0 was released

Started getting an error today and it looks like it is related to importing a private file from the React codebase.
Error I'm seeing:
ERROR in ./~/react-css-transition-replace/~/react/lib/ReactAddonsDOMDependencies.js
Module not found: Error: Cannot resolve module 'react-dom/lib/ReactDOM' in PROJECT/node_modules/react-css-transition-replace/node_modules/react/lib
 @ ./~/react-css-transition-replace/~/react/lib/ReactAddonsDOMDependencies.js 13:15-48

ERROR in ./~/react-css-transition-replace/~/react/lib/ReactAddonsDOMDependencies.js
Module not found: Error: Cannot resolve module 'react-dom/lib/ReactInstanceMap' in PROJECT/node_modules/react-css-transition-replace/node_modules/react/lib
 @ ./~/react-css-transition-replace/~/react/lib/ReactAddonsDOMDependencies.js 14:23-64

ERROR in ./~/react-css-transition-replace/~/react/lib/ReactTransitionEvents.js
Module not found: Error: Cannot resolve module 'react-dom/lib/getVendorPrefixedEventName' in PROJECT/node_modules/react-css-transition-replace/node_modules/react/lib
 @ ./~/react-css-transition-replace/~/react/lib/ReactTransitionEvents.js 15:33-84

I'm using 15.3.2 specifically in the project but webpack build ends up trying to use the newer version of React for the production build.

Thanks for reporting this, I'll take a look.
On Thu, 17 Nov 2016, 18:12 Dave Hendler<EMAIL_ADDRESS>wrote:

Started getting an error today and it looks like it is related to
importing a private file from the React codebase.
Error I'm seeing:
ERROR in ./~/react-css-transition-replace/~/react/lib/ReactAddonsDOMDependencies.js
Module not found: Error: Cannot resolve module 'react-dom/lib/ReactDOM' in PROJECT/node_modules/react-css-transition-replace/node_modules/react/lib
@ ./~/react-css-transition-replace/~/react/lib/ReactAddonsDOMDependencies.js 13:15-48
ERROR in ./~/react-css-transition-replace/~/react/lib/ReactAddonsDOMDependencies.js
Module not found: Error: Cannot resolve module 'react-dom/lib/ReactInstanceMap' in PROJECT/node_modules/react-css-transition-replace/node_modules/react/lib
@ ./~/react-css-transition-replace/~/react/lib/ReactAddonsDOMDependencies.js 14:23-64
ERROR in ./~/react-css-transition-replace/~/react/lib/ReactTransitionEvents.js
Module not found: Error: Cannot resolve module 'react-dom/lib/getVendorPrefixedEventName' in PROJECT/node_modules/react-css-transition-replace/node_modules/react/lib
@ ./~/react-css-transition-replace/~/react/lib/ReactTransitionEvents.js 15:33-84
I'm using 15.3.2 specifically in the project but webpack build ends up
trying to use the newer version of React for the production build.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/marnusw/react-css-transition-replace/issues/32, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA7S6zGiU4SuQWSSz_0uZQRSlVPFW8uzks5q_JjngaJpZM4K1oTX
.

This may specifically be related to NPM 2.x which is what my project is using at the moment.  It appears NPM 3.x may not be encountering this issue.  Still trying to track down specific.

For the moment, we made a private fork and pinned all the react dependencies to ~15.3.0 to get things working again.  Without pinning to 15.3, NPM 2 ends up with two copies of React which unleashes all kinds of problems.

I'm running the demo on React 15.4.2 via NPM 3 and all seems to work fine. I will close this for now as I think most projects will be using NPM 3 these days.


Create stored procedures

Create SP for loading, saving, updating data in all tables needed

Closes #9


Separate file close from buffer flush

Within the Close function on SFTP Files, the condition is written such that if a file's write buffer is nil, the condition exits without flushing said buffer or closing the file. While the former is appropriate behavior, the latter is not. A File which has not had its Write function called (and therefore had a write buffer created) will never have its underlying file closed.
In particular, this presents an issue when used with the newer version of pkg/sftp we recently upgraded to.

The new version of the pkg/sftp File includes a ReadFrom function.
The stdlib io.Copy function checks for the presence of a ReadFrom function on destination files. If present, it will prefer that over base Read/Write.
CopyAtomic in the cloudstore package is implemented using io.Copy.
When an SFTP file is the destination of a CopyAtomic, its Write function is therefore never invoked.
The underlying SFTP file is never closed (ie, no close command is sent to the SFTP server).

Since LiveRamp's SFTP upload processing relies on a STOR command being recorded, files which are not properly closed are never processed.
This fix will ensure all files are actually closed when the Close function is called on them, regardless of whether they have a write buffer.

This change is

@tylercunnion is my hero!

Thanks!


Context providers inside <Routes> don't provide context values to routed content

Describe the bug
This works:
<FooProvider>
  <Routes>
    <Route path=... element=... /> // the elements have access to context values
  </Routes>
</FooProvider>

This doesn't:
<Routes>
  <FooProvider>
    <Route path=... element=... /> // the elements don't have access to context values
  </FooProvider>
</Routes>

Use case: I want to wrap sets of routed content by specific context providers, as such:
<Routes>
  <I18nProvider namespaces={['auth']}>
    <AuthRoutes />
  </I18nProvider>

  <I18nProvider namespaces={['finance']}>
    <FinanceRoutes />
  </I18nProvider>

  <I18nProvider namespaces={['calendar']}>
    <CalendarRoutes />
  </I18nProvider>
</Routes>

Components such <AuthRoutes> contain something like:
<>
  <Route path=... element=... />
  <Route path=... element=... />
  <Route path=... element=... />
</>

As the above doesn't work, I have to wrap each individual Route by the context provider.
Platform

OS: Windows
Browser: Chrome 113
Solid: 1.7.6
Solid router: 0.8.2

Write this without testing so forgive me if not perfect :)
Does this work?
  <I18nProvider namespaces={['auth']}>
    <Routes>
      <AuthRoutes />
    </Routes>
  </I18nProvider>

  <I18nProvider namespaces={['finance']}>
    <Routes>
      <FinanceRoutes />
    </Routes>
  </I18nProvider>

  <I18nProvider namespaces={['calendar']}>
    <Routes>
      <CalendarRoutes />
    </Routes>
  </I18nProvider>

Also you may want to use <Route component={MyComponent}... instead of <Route element={<></>}... as I think the later might be running all the components immediately to pass into the route instead of creating them as you navigate - which is possibly also why you where having issues with where you placed the providers.

This is immensely valuable input, thank you!
So using component={}  is more performant than element={} then? It is a little cumbersome on my side because I would have to create N new components to wrap the content, eg from element={<Content><OAuthFailure /></Content>} into component={OAuthFailureContent} (need to create a set of a new components such as OAuthFailureContent just to avoid element={}).
Apart from that I wil close this for now.

I realized that the problem with defining multiple <Routes> as you have shown above, is that it will try to match a route inside every Routes collection, even if a route has already match. In other words, when one Route matches inside a Routes, the subsequent Routes are not evaluated; however, with multiple Routes, if one Route matches withing a Routes, the subsequent Routes inside the other Routes will still be evaluated.
This causes 2 problems:

inefficient
I used to have a fallback route:

<Route path="*" component={UnknownRouteErrorThrower} />

in order to be notified in case a user accesses a route that doesn't exist. I can no longer use that fallback route.

Yeah the Routes definition is just JSON so it can't contain providers etc. It needs to be direct. Context in RouteData when nested doesn't work because it is hoisted. However if you only use Context in the components you could make grouped routes. Wrap them in route sections that either are a parent match or even empty path("") and then use the component there to wrap context around the outlet.
<Routes>
    <AuthRoutes />
    <FinanceRoutes />
    <CalendarRoutes />
</Routes>

function AuthRoutes = () => {
  return <Route path="" element={<I18nProvider namespaces={['auth']}><Outlet /></I18nProvider>}>
    <Route path=... element=... />
    <Route path=... element=... />
    <Route path=... element=... />
  </Route>
}

Now that <Outlet /> component and the element attribute no longer exist, what the new solution for this problem?

Yeah the Routes definition is just JSON so it can't contain providers etc. It needs to be direct. This is very much by design.
Context in RouteData when nested doesn't work because it is hoisted. However if you only use Context in the components you could make grouped routes. Wrap them in route sections that either are a parent match or even empty path("") and then use the component there to wrap context around the outlet.
<Routes>
    <AuthRoutes />
    <FinanceRoutes />
    <CalendarRoutes />
</Routes>

function AuthRoutes = () => {
  return <Route path="" element={<I18nProvider namespaces={['auth']}><Outlet /></I18nProvider>}>
    <Route path=... element=... />
    <Route path=... element=... />
    <Route path=... element=... />
  </Route>
}

Now that  component and the element attribute no longer exist, what the new solution for this problem?

I guess this is a solution?
const AuthComponent = (props) => {
  return (
    <I18nProvider namespaces={['auth']}>
      {props.children}
    </I18nProvider>
  )
}
function AuthRoutes = () => {
  return <Route path="" component={AuthComponent}>
    <Route path=... component=... />
    <Route path=... component=... />
    <Route path=... component=... />
  </Route>
}

It works but it feels wrong for some reason..


fix float if last-column is true

If you write something like:
@include grid-column($columns: 4, $last-column: true)

you will have this CSS:
.main__header-btns {
  padding-left: 0.9375rem;
  padding-right: 0.9375rem;
  width: 33.33333%;
  float: right;
  float: left; }

where last float is wrong. Solution for fix this is one of both to set $float as false by default or don't add some float if $last-column was defined as true.
Now I have correct CSS:
.main__header-btns {
  padding-left: 0.9375rem;
  padding-right: 0.9375rem;
  width: 33.33333%;
  float: right; }

Thanks!


[master] User op example doesn't work

A recent change to remove the static linking in user ops seems to have broken them.
From the example:
g++ -std=c++11 -shared zero_out.cc -o zero_out.so -I $TF_INC
you need -fPIC to compile it:
/usr/bin/ld: /tmp/ccvknfY4.o: relocation R_X86_64_32 against '.text' can not be used when making a shared object; recompile with -fPIC
It used to be:
g++ -std=c++11 -shared zero_out.cc -o zero_out.so \
-I $TF_INC -l tensorflow_framework -L $TF_LIB \
-fPIC -Wl,-rpath $TF_LIB

which no longer works since tensorflow_framework was removed.
However, it builds just by adding -fPIC, and you can try to load it:
tf.load_op_library('zero_out.so')
resulting in:
undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringB5cxx11Ev
(and on a minor note, the doc link to load_op_library is broken, it's missing a '.html')

I'm curious whether you don't have the undefined symbol error, or if you just missed it? :) I can only get it to build with -fPIC, but it has missing symbols.

@keveman  to verify

Sorry about closing without a comment. I did verify before closing that I could successfully load the op, I don't see the undefined symbol error. I am on Ubuntu 14.04. What platform are you seeing this error?

I'm on Arch Linux, using a new binary install from http://ci.tensorflow.org/job/tensorflow-master-gpu_pip/.
gcc 5.3.0 and Python 2.7.11
Does it matter where the compiled .so is located? To be clear:
> TF_INC=$(python2 -c 'import tensorflow as tf; print(tf.sysconfig.get_include())')
/home/rasmus/.local/lib/python2.7/site-packages/tensorflow/include
> g++ -std=c++11 -shared zero_out.cc -o zero_out.so -I $TF_INC -fPIC
> python2 -c "import tensorflow as tf; tf.load_op_library('/home/rasmus/deep-rl/zero_out.so')"
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/rasmus/.local/lib/python2.7/site-packages/tensorflow/python/framework/load_library.py", line 71, in load_op_library
    raise errors._make_specific_exception(None, None, error_msg, error_code)
tensorflow.python.framework.errors.NotFoundError: /home/rasmus/deep-rl/zero_out.so: undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringB5cxx11Ev

I tried the following :
$ pip install -U http://ci.tensorflow.org/job/tensorflow-master-gpu_pip/lastSuccessfulBuild/artifact/pip_test/whl/tensorflow-0.7.1-py2-none-any.whl
$ python2
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally
>>> tf.load_op_library('/home/keveman/zero_out.so')
<module '18c058680842296ccc50a4eac3d8b763' (built-in)>

The one reason I can think of why the undefined symbol error could be happening for you is, pywrap_tensorflow.so is not dlopened with RTLD_GLOBAL for some reason. Look at tensorflow/python/__init__.py for these lines :
_default_dlopen_flags = sys.getdlopenflags()
sys.setdlopenflags(_default_dlopen_flags | ctypes.RTLD_GLOBAL)
from tensorflow.python import pywrap_tensorflow
sys.setdlopenflags(_default_dlopen_flags)

Try this on your machine :
$ python2 -c "import ctypes; print ctypes.RTLD_GLOBAL"
256

Although I don't see why that would be different on ArchLinux.

Hmm, I can't say why it doesn't work. ctypes.RTLD_GLOBAL is indeed 256.
Anyways, I tested on a Ubuntu 14.04 machine with Python 2.7.6 and gcc 4.8.4, where the custom op indeed loads just fine. It could be an issue with newer Python/gcc?

Indeed, on the Arch machine:
> $ g++-4.8 --version
g++-4.8 (GCC) 4.8.5

>g++-4.8 -std=c++11 -shared zero_out.cc -o zero_out.so -I $TF_INC -fPIC

> $ python2
Python 2.7.11 (default, Mar  3 2016, 11:00:04)
[GCC 5.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally
>>> tf.load_op_library('/home/rasmus/deep-rl/zero_out.so')
<module '18c058680842296ccc50a4eac3d8b763' (built-in)>

Can you try building with gcc 5, but with -D_GLIBCXX_USE_CXX11_ABI=0 , like so :
g++-4.8 -std=c++11 -shared zero_out.cc -o zero_out.so -I $TF_INC -fPIC -D_GLIBCXX_USE_CXX11_ABI=0

Yes, the ABI was the issue, it works with that flag on gcc 5. Good one :)

Glad it worked. Added a note to the documentation. #1584

Thanks @keveman and it works 👍


let cargo install accept the desired binary with the --bin flag.

Problem
When working with projects that contain multiple binaries, cargo run and cargo build require the user to specify which binary they want via the --bin flag.
cargo install however ignores this flag completely, and asks the user to specify the binary they want when running cargo install --bin name
Proposed Solution
Accept a binary selection via the --bin flag
Notes
The Error message is not very helpful:
error: multiple packages with binaries found: binary-one, binary-two. When installing a git repository, cargo will always search the entire repo for any Cargo.toml. Please specify which to install.

Manifest for installing rust and build-essentials on ubuntu 20.04.03
rustup self uninstall
apt-get update
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe"
apt-get -u dist-upgrade
apt install aptitude
sudo aptitude install libc6=2.31-0ubuntu9
sudo aptitude install build-essential
apt-get update
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
rustup toolchain install nightly --allow-downgrade --profile minimal --component clippy
rustup default stable
rustup update nightly
rustup update stable
rustup target add wasm32-unknown-unknown --toolchain nightly
sudo apt install -y cmake pkg-config libssl-dev git gcc build-essential clang libclang-dev
rustc --version
source $HOME/.cargo/env

#No tested on me Fast Installation: Install all the required dependencies with a single command. (Be patient, this can take up to
30 minutes)

curl https://getsubstrate.io -sSf | bash -s -- --fast

Finally step test:

https://doc.rust-lang.org/cargo/getting-started/first-steps.html
#ArmanRiazi.Blockchain

The same issue. Only happens with --git.

I ran into the same issue, where --bin would be ignored when I also specify --git.


Add Deserialize to PublicKey

Hey @nickray, thanks for your work on cosey!
I'm using cosey in my project, xdg-credentials-portal.  I've made a change locally which I'd like to merge upstream.
I needed a Deserialize implementation of PublicKey (used here for Ctap2). I added the Deserialize trait to the uncovered enum variant, marked the enum as untagged, and added a few tests to verify the enum variants are parsed as expected.
I had to update the serde feature configuration, adding alloc, to ensure untagged deserialization worked.
Tests:
$ cargo test
    Finished test [unoptimized + debuginfo] target(s) in 0.01s
     Running unittests src/lib.rs (target/debug/deps/cosey-8f4d10046bb30e5c)

running 4 tests
test tests::deserialize_publickey_ecdheshkdf256 ... ok
test tests::deserialize_publickey_ed25519key ... ok
test tests::deserialize_publickey_p256key ... ok
test tests::deserialize_publickey_totpkey ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests cosey

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

Will try to review shortly, ping me if I forget.
Independently, are you aware of https://github.com/solokeys/ctap-types?
The plan there was to be usable both in an embedded and regular context.
Your explicit use of an alloc feature gave me the idea we might want to use cfg(feature = "alloc") to swap out heapless::Vec with {alloc,std}::vec::Vec etc. to have properly shareable types (with "normal" ones when there is an allocator).

Thanks @nickray! Moved this under https://github.com/trussed-dev/ctap-types/pull/15, adding an alloc feature so that this can continue being used in no-alloc scenarios.

I think it should be possible to implement this without the need for alloc by deserializing into a RawPublicKey and then convert it to the appropriate type based on kty, alg and crv.  It should be sufficient to implement TryFrom<RawPublicKey> for PublicKey and then use #[serde(try_from = "RawPublicKey")].


Integration tests are failing due to a missing latestAction key

e.g. https://github.com/ably/ably-chat-swift/actions/runs/12127237918/job/33811110604?pr=168

Test basicIntegrationTest() recorded an issue at IntegrationTests.swift:55:6: Caught error: keyNotFound(CodingKeys(stringValue: "latestAction", intValue: nil), Swift.DecodingError.Context(codingPath: [_CodingKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: "latestAction", intValue: nil) ("latestAction").", underlyingError: nil))

┆Issue is synchronized with this Jira Task by Unito

@AndyTWF @ttypic Was latestAction renamed to action recently? Looks like so:

fyi @lawrence-forooghian

Created a spec issue for this https://github.com/ably/specification/issues/254


EACCES

Hi there,
I running node-red on a raspberry nano-w and I tried your module.
When running in terminal with python the module works.
But, with node-red I get the following error in terminal:
[info] [vl6180:86b014ec1af76a20] error: Error: spawn /admin/.node-red/node_modules/@ondrejmiko/node-red-contrib-vl6180/vl6180 EACCES
I hope you can help me out with this, thanks a lot!

Hi there, I running node-red on a raspberry nano-w and I tried your module. When running in terminal with python the module works. But, with node-red I get the following error in terminal:
[info] [vl6180:86b014ec1af76a20] error: Error: spawn /admin/.node-red/node_modules/@ondrejmiko/node-red-contrib-vl6180/vl6180 EACCES
I hope you can help me out with this, thanks a lot!

Hello , which node-red version u r running i can test it
What is "raspberry nano-w" ?  :)

Hi,
Thank you for the reply, i meant raspberry pi zero-w
https://www.kiwi-electronics.com/nl/raspberry-pi-zero-w-2852
Down under more info about the setup!
Thanks for looking into this..
Cheers,
Vincent

node-red version is 3.02
raspbian os 32 bit minimal
code in node red that works through the exec node:
[
{
"id": "fc46332039d57f71",
"type": "exec",
"z": "fb5e2a638ddc9f0c",
"command": "python
@.***/node-red-contrib-vl6180/vl6180.py",
"addpay": "",
"append": "",
"useSpawn": "false",
"timer": "",
"winHide": false,
"oldrc": false,
"name": "runsensor",
"x": 400,
"y": 280,
"wires": [
[
"3eea0cc86803b5d3",
"25c634a2f6ecc28b"
],
[],
[]
]
},
{
"id": "558cf3de202e88e6",
"type": "inject",
"z": "fb5e2a638ddc9f0c",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "2",
"crontab": "",
"once": true,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 110,
"y": 280,
"wires": [
[
"fc46332039d57f71"
]
]
}
]
Op vr 29 sep 2023 om 14:20 schreef OndrejMiko @.***>:

Hi there, I running node-red on a raspberry nano-w and I tried your
module. When running in terminal with python the module works. But, with
node-red I get the following error in terminal:
[info] [vl6180:86b014ec1af76a20] error: Error: spawn
@.***/node-red-contrib-vl6180/vl6180
EACCES
I hope you can help me out with this, thanks a lot!
Hello , which node-red version u r running i can test it
What is "raspberry nano-w" ? :)
—
Reply to this email directly, view it on GitHub
https://github.com/OndrejMiko/node-red-vl6180/issues/1#issuecomment-1740803217,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4MEOVB7GQYG4H4FXS4YM3X424J5ANCNFSM6AAAAAA4Y654TI
.
You are receiving this because you authored the thread.Message ID:
@.***>


"Pădureni" is listed in the drop-down menu

Description:
"Pădureni" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Pădureni" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Pădureni, TIMIȘ (Pădureni)" and "Comuna Pădureni, TIMIȘ".


Revert "fix(core): Regex header values in traditional router are now validated"

Reverts Kong/kong#12365
It fails KIC nightly
Fix https://konghq.atlassian.net/browse/KAG-4788

Add up more context about this reverting.
https://github.com/Kong/kong/pull/12365 fixed an issue but it might break some use cases on header matching when using the trad_compat router, and the KIC nightly tests detected that.
Fixing this issue is easy, but we need to discuss this potential breaking change internally, so let's revert it firstly to make the KIC tests happy.


test_hstcal.ipynb

New STIS notebook for testing installation of hstcal conda package.
This notebook should not be merged into main!


Feature Request: Support url resolution of controller methods

It would be nice to be able to pass in controller method names or route names such as Auth\AuthController@postLogin either into the action method of form open or another method such as route()
open()->action(action('Auth\AuthController@postSms')) seems messy

Hey! Since this package isn't Laravel-only unfortunately I can't easily add this feature. action in terms of the attribute on the form element just refers to the endpoint URL, while in Laravel it means a reverse-resolved controller action URL, so I'm not sure what the API would be even if I wanted to add it.
Are you using this package directly or the BootForms extension? Could probably make a light wrapper for this form builder that added support for controller actions and route resolution. Lemme think about it :

I am using the BootForms extension (I didn't know of the basic forms package until I saw the dependency)
I am probably going to have to extend the BootForms lib myself for our specific use case so its not really a big issue, just a nice to have really.
thanks for the great library.


need to make sure tendermint37 client is also working

we also need to make sure tendermint37 client is also working, while currently telescope's working with 34

@Zetazzz Can I work on this ? also can you give me more context (like a list of criteria) for this issue ?

Hi, yes, that'll be great.
In fact, I don't know much about the difference of 34 and 37.
What I can tell is that, there're some Tendermint34Client.connect inside generated code. And Tendermint34Client is from @cosmjs/tendermint-rpc. So I guess if we'll support Tendermint37Client(also in @cosmjs/tendermint-rpc) as well, we just have to add a flag and replace those clients and test if the code's still working with 37client.
Thank you very much!


M12517: Extra "__" at the end of the sentence

Hello, @lisawong19,
It seems that there is a typo mistake at the end of the sentence. Could you help to review this and merge, please?
Many thanks in advance.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/python-sdk-azure-samples-managed-disks.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Enhancing the fonts of the website

Is your feature request related to a problem? Please describe.
The enhancement of fonts is not related to any problem. The existing Times New Roman font looks too generic so I propose to replace it with better looking font - Montserrat.
Describe the solution you'd like.
I would like to improve the overall look of website by changing the font to Montserrat. The reason I chose Montserrat is that it looks elegant and professional and improvises the overall look of the website.
Describe alternatives you've considered.
If admin/mentor wants a font other than Montserrat to be used on the website, I'll be happy to do that.
Additional context.
No response
Show us the magic with screenshots

The website looks more elegant with the new font.
Checklist

[X] I have checked the Existing Issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

I have worked on it and am ready to take this issue. Please assign it to me.

Hi, @faeez004 we will look for fonts later, for now we are closing this issue.
Please understand.

Thank you for the update.
I understand the decision to prioritize other tasks for now. Please feel
free to reach out whenever the font issue is revisited—I'd be happy to
contribute.
On Fri, 11 Oct, 2024, 10:56 am Vivek Vardhan, @.***>
wrote:

Hi, @faeez004 https://github.com/faeez004 we will look for fonts later,
for now we are closing this issue.
Please understand.
—
Reply to this email directly, view it on GitHub
https://github.com/ML-Fusion-Lab/ML-Fusion-Lab-Website/issues/433#issuecomment-2406578252,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBBGA2JGXZFQBTSMQZFU5L3Z25OORAVCNFSM6AAAAABPYFG5IWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBWGU3TQMRVGI
.
You are receiving this because you were mentioned.Message ID:
@.***>


Error installing Netlify CLI on macOS Catalina 10.5.3

- Do you want to request a feature or report a bug?
Report a bug
- What is the current behavior?
Trying to install Netlify CLI using npm install netlify-cli -g
Error code: https://d.pr/n/GakcpO
- If the current behavior is a bug, please provide the steps to reproduce.
Above is what I did in Terminal.
- What is the expected behavior?
Successful install of Netlify CLI (I have it running on my iMac running 10.14)
- Local Environment Information
Paste the results of netlify status --verbose and netlify version here
I can't run them because Netlify CLI cannot install. I've installed the latest version of Node.

Can you install other NPM packages successfully, @iChris ?  Looks like general npm permissions issues, rather than anything specific to our package.  For instance, can you npm install chalk-cli -g without similar installation errors?

Can you install other NPM packages successfully,

Oh dang I guess not. :( I had installed other things previously so not sure what changed. Alright. I guess I'll go back to the drawing board / Stackoverflow. :)

I do get this error at the top of the install process - is that an issue with your installer or with NPM?
npm WARN deprecated<EMAIL_ADDRESS>core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.

I followed these instructions and that seemed to fix whatever issues cropped up on my install. Netlfiy CLI now installed. Thanks for the time!


Update to v1.1.8

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged) NA
[x] Reset the build number to 0 (if the version changed) YES
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Build Failure
This will fail until the lazy_loader package is available on conda-forge. The following PR was created to bring the library onto conda-forge.

https://github.com/conda-forge/staged-recipes/pull/18639

Note :fire:
Once this PR is merged, the other PR #6 can be closed without merging.

See this comment to update the recipe here.

https://github.com/conda-forge/staged-recipes/pull/18639#discussion_r854679972

Target a pre-release channel for lazy_loader: https://conda-forge.org/docs/maintainer/knowledge_base.html#pre-release-builds
If the recipe is non rc the normal selection will apply, meaning that mamba will select the highest number from both channels or focus on whichever channel you have as your first one as determined by your settings: mamba.readthedocs.io/en/latest/advanced_usage/package_resolution.html

Add the following to recipe/conda_build_config.yaml
# file: recipe/conda_build_config.yaml
channel_sources:
  - conda-forge/label/lazy_loader_rc,conda-forge

@BastianZim Some help with setting up the rc version of lazy_loader will be helpful. Thank you.

@conda-forge-admin, please rerender

Hmm, strange. Anyways, I would first rerender and then see what the error is.

@conda-forge-admin, please rerender

Build Error Reason
(error)
Mamba failed to solve:
 - pip
 - biopython
 - pandas
 - multipledispatch
 - pytest
 - python-codon-tables
 - scikit-learn
 - pytest-regtest
 - lazy_loader
 - numpy
 - weblogo
 - pillow
 - python >=3.6
 - requests

with channels:

The reported errors are:
- Encountered problems while solving:
-   - nothing provides requested lazy_loader


Execution engine testing w/o DV

How can we test DP Tool / Execution Engine functionality using a test file uploaded to the DP Tool (instead of a Dataverse file)?

Related to #36

One method is to use the existing dataverse adapter and change the host.
e.g.: https://github.com/opendifferentialprivacy/whitenoise-system/blob/f2058b69a5acdb04593a0ea5e1a119747d4f6149/sdk/opendp/whitenoise/data/dataverse_adapter.py
e.g. the DP tool can mock this url to download a file. (For the doi, use a UUID linked to an uploaded file on the DP Tool)
def _make_doi_host(host, doi):
    doi = doi.replace("doi:", "")
    return "{}/api/access/datafile/:persistentId/?persistentId=doi:{}".format(host, doi)

First step: creating mock endpoints in the OpenDP API, to be backed by calls to an ML lifecycle platform, such as MLFlow

Mock endpoints completed

no longer using ML Flow


[Feature] Ignore delete file

Is this feature missing in the latest version?

[X] I'm using the latest release

Is your feature request related to a problem? Please describe.
today I have a file that needs to be recovered, but I wouldn't want it to enter as a modified file, you know?
My code is like this:
       - name: Run changed-files with dir_names
         id: changed-files-dir-names
         uses: tj-actions/changed-files@v36
         with:
           dir_names: "true"
           recover_deleted_files: "true"
           files: |
             terraform/mongodb-atlas/clusters/**/
           files_ignore: |
             **/cluster.hcl

I want to ignore cluster.hcl so it doesn't go into ${{ steps.changed-files-dir-names.outputs.all_changed_and_modified_files }}, but I want it to be retrieved. It's possible?
Describe the solution you'd like?
Make a different filter
Describe alternatives you've considered?
Nothing
Anything else?
https://github.com/tj-actions/changed-files/issues/1134#issuecomment-1614887054
Code of Conduct

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

@jackton1 Good morning, do you have a date for this to happen?

@SamuelMolling This should be available this week.


animation icons fnf on the health bar

Describe your problem here.
Hi, I'm one who is building a mod based on the pibby glitch, I wanted to know how to do animation to the icons on the health bar in a script.
Thank you for anyone who will reply to your message.
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

I do not fully understand this, but I will try and help you.
You create the animated icon in Adobe Animate Use it as an icon. You will see it would be animated
Please point out any mistakes. As I do not fully understand and so will be prone to errors.

thanks, now i know what i have to do


[image cleanup #2] Conversion of :::image::: with lightbox=source

Rendered doc-set for review:
https://review.docs.microsoft.com/en-us/microsoft-edge/developer/?branch=pr-en-us-1968
This is a follow-up PR to #1967 and should only be merged after the other one is merged.
This PR converts around 800 :::image::: tags to markdown image tags
The markdown image tag is easier to write, read, and maintain.
The images converted here are only the ones that used a lightbox attribute, but where the lightbox attribute was the same as the source attribute.
This PR contains 13 different commits. Each commit converts a bunch of images, with the hope that it makes it easier to review commit by commit, rather than the whole list at once.

Docs Build status updates of commit a4b9f96:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/accessibility/accessibility-tab.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/color-picker.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/lighthouse.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-analyze-no-focus-indicator.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-analyze-no-keyboard-support.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-color-blindness.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-dark-mode.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-inspect-states.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-inspect-text-contrast.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-inspect-tool.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-issues-tool.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-reduced-ui-motion.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-tab-enter-keys.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/beginners/css.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/beginners/html.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/api.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/console-debug-javascript.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/console-dom-interaction.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/console-filters.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/console-javascript.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/console-log.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/index.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/reference.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/utilities.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/coverage/index.md
:white_check_mark:Succeeded
View

This comment lists only the first 25 files in the pull request.
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit d29ff95:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/accessibility/accessibility-tab.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/color-picker.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/lighthouse.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-analyze-no-focus-indicator.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-analyze-no-keyboard-support.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-color-blindness.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-dark-mode.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-inspect-states.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-inspect-text-contrast.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-inspect-tool.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-issues-tool.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-reduced-ui-motion.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-tab-enter-keys.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/beginners/css.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/beginners/html.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/api.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/console-debug-javascript.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/console-dom-interaction.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/console-filters.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/console-javascript.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/console-log.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/reference.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/console/utilities.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/coverage/index.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/css/css-in-js.md
:white_check_mark:Succeeded
View

This comment lists only the first 25 files in the pull request.
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit ac1c157:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/accessibility/accessibility-tab.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/color-picker.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/lighthouse.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-analyze-no-focus-indicator.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-analyze-no-keyboard-support.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-color-blindness.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-dark-mode.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-inspect-states.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-inspect-text-contrast.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-inspect-tool.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-issues-tool.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-reduced-ui-motion.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/accessibility/test-tab-enter-keys.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/beginners/css.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/beginners/html.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/beginners/media/beginners-html-copy1.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/beginners/media/beginners-html-copy2.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/beginners/media/beginners-html-delete2.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/beginners/media/beginners-html-dom3.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/beginners/media/beginners-html-dom4.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/beginners/media/beginners-html-edit2.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/beginners/media/beginners-html-edit3.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/beginners/media/beginners-html-finished.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/beginners/media/beginners-html-reorder1.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/beginners/media/beginners-html-reorder3.msft.png
:white_check_mark:Succeeded
View

This comment lists only the first 25 files in the pull request.
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@mikehoffms thanks for the review. As you can see from my last commit, I decided not to add the grayBorder syntax in markdown. As mentioned in another comment, I felt like it was going against what we're trying to accomplish with this PR (using standard markdown and simplifying the docs). So instead, I went ahead and added borders inside the images that you had found.
Most of them were pretty straightforward: they were full window screenshots that had been cropped a little bit too much, so the window borders were missing.


Memory Growth and Memory Limit incompatibility

System information

Custom Code
OS Platform and Distribution: Windows 10 Home 1909
TensorFlow installed with pip
TensorFlow version: v2.1.0-rc2-17-ge5bf8de410, 2.1.0
Python version: 3.7.6
CUDA/cuDNN version: CUDA 10.1, cuDNN 7.6.5
GPU model and memory: NVIDIA GTX 1050 notebook, 4GB memory

Describe the current behavior
Tensorflow "forgets" about the setting on memory_growth once you create a vritual device to further limit maximum VRAM usage.
Describe the expected behavior
In practice I would like to be able to both limit maximum VRAM usage AND to tell TF to only use the VRAM that it needs with the memory_growth option. This is something that I was able to do in TF 1.x by passing an appropriate config to a Session, but it doesn't seem like it's possible in TF 2.x (without using 1.x code that is...)
Standalone code to reproduce the issue
https://colab.research.google.com/drive/1MJgZiHernOjT_3vB57YMnjjTRJhgpspo

As mentioned here If memory growth is enabled for a PhysicalDevice, the runtime initialization will not allocate all memory on the device. Memory growth cannot be configured on a PhysicalDevice with virtual devices configured.

I understand, but is it possible as it was before to both set memory growth and a hard limit on the maximum amount of memory that it can occupy

As per the documentation, it is not possible @FMalerba

Thank you very much for the info


Tesla-android wifi network password incorrect

After imaging the Linux the wifi network gets the changeit password and everything works well.
after a reboot (without changing the password) it keeps telling me password incorrect.
can you advice?
thanks

I think the easiest thing would just be to change the wifi password on first boot.


Support negative step size in indexing

From @dcherian in https://github.com/cubed-dev/cubed/pull/636#discussion_r1869951520

https://github.com/pydata/xarray/blob/99ee8c6ca54057a9b994d7685f36236f2d5a69d9/xarray/core/indexing.py#L1084 and friends. We rewrite the query to normal slice with +ve stride, then reverse in-memory after read :)
This is one of Xarray's magic tricks that very few people know about. We guarantee consistent indexing API over any array for the most part.
In https://github.com/pydata/xarray/issues/8667, I suggested reusing this machinery for cubed.
EDIT: actually my comment is here: https://github.com/pydata/xarray/issues/8834#issuecomment-2124943965

Note that when this is implemented we should include array_api_tests/test_array_object.py::test_getitem in the array api tests agains as it was added to the skip list in #636.


New package: Medipix v0.3.0

Registering package: Medipix
Repository: https://github.com/chenspc/Medipix.jl
Created by: @chenspc
Version: v0.3.0
Commit: 61b70bdab094fc9968c813b8b3a2267e6d401ef4
Reviewed by: @chenspc
Reference: https://github.com/chenspc/Medipix.jl/issues/6#issuecomment-1141992451

@chenspc please see the message above.  Once you fix the automerge issues you can register again the new revision without changing the version number and this pull request will be automatically updated.
[noblock]

@giordano I've updated the package according to the message. However, due to the package name change required by the automerge, a new pull request #61726 was generated.
Although I would prefer a shorter package name (Medipix is quite different from Healpix in my opinion), deleting either of this pull request is fine by me. Thanks.
[noblock]

Sorry, the name was ok, the check is there only to prevent malign typosquatting, which wasn't the case here.  But the other issue had to be addressed.  If you want to revert the name back to Medipix you can do that, trigger registration again and this PR will be updated
[noblock]

That's great, thanks! It saves me a lot of trouble updating existing scripts and installations.


ci: Enforce network policy

Pull Request
The issue or feature being addressed

GitHub actions are allowed to reach any network address

Details on the issue fix or feature implementation

Restrict allowed network addresses
Disable sudo

Confirm the following

[x]  I started this PR by branching from the head of the default branch
[x]  I have targeted the PR to merge into the default branch
[x]  I have included unit tests for the issue/feature
[x]  I have successfully run a local build

@devapeai check this PR


AttributeError: 'NoneType' object has no attribute 'replace' on torch.version.cuda.replace

Any updates?

Thank you for your work on this. I am completely new to Linux, Anaconda, Jupyter and Disco Diffusion so the learning curve is fun! I have the same error. Any suggestions? Also, I was expecting to see the same non-code interface for Disco Diffusion that I have used on Google Collab. Probably my naivety. Is there a way that you know of for me to change Diffusion settings without scouring the code? Again, thank you for your attention....

Looks like your pytorch installations aren’t succesfully seeing your GPU, you can check this by looking at the output of the following, which is already in the notebook.
print('Using device:', DEVICE)
This should say “cuda”, and if not, means it’s using CPU which isn’t supported.
If this is the case, the things you want to google / troubleshoot are ie “pytorch doesn’t see GPU”.


Test apply/upgrade with server-side apply

Server-Side Apply in Kubernetes is now in GA and in the future kubectl apply will perform a server-side apply by default which means that more and more cert-manager users who install using static manifests are using server-side apply, also other installation mechanisms are starting to use server-side apply by default.
cert-manager installation contains some resources (CustomResourceDefinitions, MutatingWebhookConfigurations, ValidatingWebhookConfigurations) that are modified by cainjector after installation, which introduces some complexity for server-side apply and we already saw one issue related to this  #4831
It would be good to test basic installation/upgrade via server-side apply.
Possible implementation
We currently have some tests for basic installation and upgrade of via static manifests here using kubectl client side apply. We could also add server side apply to those tests.
/kind cleanup

/remove-lifecycle rotten
This is annoying with fluxCD to manage our config.  It is constantly spamming ValidatingWebhookConfiguration/cert-manager-webhook configured because of (I believe) this annotation:
annotations:
    cert-manager.io/inject-ca-from-secret: "cert-manager/cert-manager-webhook-ca"

/reopen


fix: skip dns change when default route doesn't exists

The problem is described in this issue I created: https://github.com/nestybox/sysbox/issues/834
Looking better at the code I found the problem, and now it behaves normally in this situation checking if the default route exists

I have a minor comment only. Please adjust it as suggested and remember to sign your commit as indicated here.
Thanks for your contribution @domysh!

I done the required edits
Thank you for accepting my request


NTRs for organism terms in PopBio

ID
label
parent

EUPATH:0043067
Psorophora johnstonii
Psorophora

EUPATH:0043068
Psorophora mathesoni
Psorophora

EUPATH:0043069
Psorophora mexicana
Psorophora

EUPATH:0043070
Toxorhynchites rutilus rutilus
Toxorhynchites rutilus

EUPATH:0043071
Aedes atlanticus-tormentor morphological group
Ochlerotatus (subgenus)

EUPATH:0043072
Aedes fijiensis
Finlaya

EUPATH:0043073
Aedes hodgkini
Ochlerotatus (subgenus)

EUPATH:0043074
Aedes hokkaidensis
Ochlerotatus (subgenus)

EUPATH:0043075
Aedes idahoensis
Ochlerotatus (subgenus)

EUPATH:0043076
Aedes juppi
Ochlerotatus (subgenus)

EUPATH:0043077
Aedes ledgeri
Stegomyia

EUPATH:0043078
Aedes mathesoni
Aedes mathesoni complex

EUPATH:0043079
Aedes mathesoni complex
Ochlerotatus (subgenus)

EUPATH:0043080
Aedes subdentatus
Aedimorphus

EUPATH:0043081
Aedes tricholabis
Aedimorphus

EUPATH:0043082
Aedes vexans arabiensis
Aedes vexans sensu lato

EUPATH:0043083
Aedes vexans sensu lato
Aedimorphus

EUPATH:0043084
Aedes vexans vexans
Aedes vexans sensu lato

EUPATH:0043085
Aedes washinoi
Ochlerotatus (subgenus)

EUPATH:0043086
Anopheles barberi
Anopheles (subgenus)

EUPATH:0043087
Anopheles culicifacies AD subgroup
culicifacies species complex

EUPATH:0043088
Anopheles distinctus
Cellia

EUPATH:0043089
Anopheles flavicosta
Cellia

EUPATH:0043090
Anopheles franciscanus
Anopheles (subgenus)

EUPATH:0043091
Anopheles georgianus
Anopheles (subgenus)

EUPATH:0043092
Anopheles listeri
Cellia

EUPATH:0043093
Anopheles natalensis
Cellia

EUPATH:0043094
Anopheles perplexens
Anopheles (subgenus)

EUPATH:0043095
Anopheles sinensis sensu lato
Anopheles (subgenus)

EUPATH:0043096
Anopheles umbrosus
umbrosus group

EUPATH:0043097
Culex aurantapex
Culex (subgenus)

EUPATH:0043098
Culex chorleyi
Culex (subgenus)

EUPATH:0043099
Culex cinerellus
Culiciomyia

EUPATH:0043100
Culex cuyanus
Culex (subgenus)

EUPATH:0043101
Culex inconspicuosus
Eumelanomyia

EUPATH:0043102
Culex lineata
Culex (genus)

EUPATH:0043103
Culex peringueyi
Maillotia

EUPATH:0043104
Culex rubinotus
Eumelanomyia

EUPATH:0043105
Culex salisburiensis
Maillotia

EUPATH:0043106
Culex stigmatosoma
Culex (subgenus)

EUPATH:0043107
Culex trifoliatus
Culex (subgenus)

EUPATH:0043108
Mimomyia hispida
Mimomyia (subgenus)

EUPATH:0043109
Mimomyia mediolineata
Mimomyia (subgenus)

EUPATH:0043110
Mimomyia mimomyiaformis
Mimomyia (subgenus)

EUPATH:0043111
Sergentomyia theodori
Sergentomyia (subgenus)

EUPATH:0043112
Uranotaenia hopkinsi
Uranotaenia (subgenus)

EUPATH:0043113
Uranotaenia mashonaensis
Pseudoficalbia

EUPATH:0043114
Wyeomyia haynei
Wyeomyia

(edited to distinguish the subgenus and genus that are both named Culex)

Include an explanation in editor notes why we're not using NCBI taxon IDs (don't exist and represent unusual groups that wouldn't be submitted.)

@SAK22 @bobular I think we discussed that some of these should not be submitted to NCBI because they represent a taxonomic level that NCBI does not include. Did I understand that correctly? If so, could one of you please point out which terms in this list should not be submitted?

In release. Leaving open in case we want to submit these to NCBI.

In release. Leaving open in case we want to submit these to NCBI.

@SAK22 @bobular Following up on previous question in this thread. The taxon names in the table above (the ones that aren't struck out) have VEuPath IDs, not NCBITaxon. Should any of these be submitted to NCBI?

This is tricky @johnwjudkins I would say do not request Anopheles culicifacies AD subgroup or Aedes atlanticus-tormentor morphological group and let me get back to you on the others after some discussion with @bobular . It is so tricky as you look in one inventory, it places them in one place, look at another it is elsewhere or does not exist at all! Mosquitoes seem to move around their tree a lot and sometimes change names along the way!

Can we close it?

Replaced 3 IRIs in original post:

Taxon
Old IRI
Replacement IRI

Culex inconspicuosus
http://purl.obolibrary.org/obo/EUPATH_0043101
http://purl.obolibrary.org/obo/NCBITaxon_2918769

Mimomyia hispida
http://purl.obolibrary.org/obo/EUPATH_0043108
http://purl.obolibrary.org/obo/NCBITaxon_2918771

Uranotaenia mashonaensis
http://purl.obolibrary.org/obo/EUPATH_0043113
http://purl.obolibrary.org/obo/NCBITaxon_487103

Thanks @johnwjudkins - I've updated these in the (VB->VEuPath migration) mapping spreadsheet.
I had a quick hunt through the tickets in this repo and didn't find any other new-to-NCBI species that we previously had as EUPATH_nnnnnn - do you know of any others?

@bobular I did not find 'Culex inconspicuosus' in the popbio.owl file which including both popbio variables and values. Is it the missing one? Should I add it in?

Hi @zhengj2007 - I wasn't thinking about the popbio.owl file actually. Thanks for the heads-up. I'm not sure those species terms are relevant for the next data loading, but if they are I'll know where to look.

Hi @bobular, we worked on the terms for harmonization work led by Chris. We mapped all popBio used terms to OBO Foundry ones. At that time, we assigned organism terms with EuPathDB IDs when they are not available in the NCBITaxon. John found some of them in the NCBITaxon lately. He replaced the term EuPathDB ID with NCBITaxon ones and deprecated the VEuPathDB ones in the VEuPathDB ontology. The popBio.owl file was generated based on the terms you provided including the organism terms. So, I updated the organism IDs in the popBio.owl as well since we should not use the VEuPathDB IDs anymore. However, I didn't find 'Culex inconspicuosus' in the popbio.owl. So, it could be the term not needed anymore. If it is used, we need to update its ID since the term http://purl.obolibrary.org/obo/EUPATH_0043101 will be deprecated in the ontology.

Hi @zhengj2007
Thanks and sorry I missed this until now.
It seems that 'Culex inconspicuosus' isn't in the current large-ish chunk of data that we are using for migration and EDA data loading testing, so no urgent action is needed.
There will be a bunch of species and other terms to add to both the VEuPath ontology and popbio.owl when we move from testing to an actual production migration (Chado to EDA) but we will try to deal with those at the same time.
Thanks for flagging this up!


[Bug]: Alignment issue in edit page of s3 Datasource

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Alignment issue in edit page of s3 Datasource

Steps To Reproduce

Go to the home page
Create new workspace
create new app
Go to datasource page
click on s3 datasource
in edit page see the alignment of encrypted text

Public Sample App
No response
Version
release

Verified on the DP and looks good


HTTP(s) webserver not starting

 is a comment.
You will see these throughout the issue template. Make sure you do not type your comments
between these characters or we will not be able to see what you wrote!

4. Links
To create a hyperlink, type the [text you want to link](followed by the url in parenthesis)
-->
I'm runing hass-emulated-hue in a standalone docker (not as add-on). HUE Bridge cannot be found on the network. Also port 80 or 443 or not responding on the IP of the docker container.
Steps to Reproduce
Start the docker image:
docker run  --name=hass-emulated-hue -hostname=hass-emulated-hue -e TZ=Europe/Amsterdam -e \
  HASS_URL=https://homeassistant.example.com -e HASS_TOKEN=*** -e VERBOSE=true --network lan-static --ip x.x.x.x  \
   -v hass-emulated-hue-config:/config/.emulated-hue ghcr.io/hass-emulated-hue/core:latest
Expected behavior

HUE Bridge is discoverable on the network. Also ports 80 and/or 443 should at least make a TCP connection.
While browsing other issues, I noticed that the logs should contain lines like these:
emulated_hue.api -- Started HTTP webserver on port 80
emulated_hue.api -- Started HTTPS webserver on port 443

but those are not in my logs.
Logs
Output from docker container:
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-set-vars.sh: executing...
[21:31:30] INFO: Starting Emulated Hue...
[cont-init.d] 00-set-vars.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2022-06-08 21:31:30,501 DEBUG emulated_hue.utils -- Loading /root/.emulated_hue/emulated_hue.json failed: [Errno 2] No such file or directory: '/root/.emulated_hue/emulated_hue.json'
2022-06-08 21:31:30,507 INFO  emulated_hue.config -- Auto detected listen IP address is x.x.x.x
2022-06-08 21:31:30,519 DEBUG getmac -- Raw MAC found: None
2022-06-08 21:31:30,522 DEBUG getmac -- Raw MAC found: 00:50:56:ba:6b:8a

2022-06-08 21:31:30,525 DEBUG aiorun -- Entering run()
2022-06-08 21:31:30,537 DEBUG aiorun -- Creating default executor
2022-06-08 21:31:30,561 INFO  hass_client -- Connected to Home Assistant wss (version 2022.6.4)

Also I see a log entry in Home Assistant when the container starts:
[140174100621440] Client unable to keep up with pending messages. Stayed over 512 for 5 seconds

Hardware Info:

Architecture: x86
Addon version: ghcr.io/hass-emulated-hue/core:latest
OS: Docker: VMWare VCH, HASS: Supervised
Hardware : PC/Server

That's odd. Is this still happening? It seems like it's getting stuck when communicating to HA, but not sure exactly what the issue is.

Yes this is still happening with the docker image I pulled today:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-set-vars.sh: executing...
[09:58:40] INFO: Starting Emulated Hue...
[cont-init.d] 00-set-vars.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2022-08-03 09:58:41,403 DEBUG emulated_hue.utils -- Loading /root/.emulated_hue/emulated_hue.json failed: [Errno 2] No such file or directory: '/root/.emulated_hue/emulated_hue.json'
2022-08-03 09:58:41,408 INFO  emulated_hue.config -- Auto detected listen IP address is <IP_ADDRESS>
2022-08-03 09:58:41,417 DEBUG getmac -- Raw MAC found: None
2022-08-03 09:58:41,417 DEBUG getmac -- Raw MAC found: 00:50:56:ba:02:6c

2022-08-03 09:58:41,419 DEBUG aiorun -- Entering run()
2022-08-03 09:58:41,433 DEBUG aiorun -- Creating default executor
2022-08-03 09:58:41,457 INFO  hass_client -- Connected to Home Assistant wss (version 2022.7.7)

with a simular message in de Home Assistant log:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/http.py:130
Integration: Home Assistant WebSocket API ([documentation](https://www.home-assistant.io/integrations/websocket_api), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
First occurred: 10:01:18 (1 occurrences)
Last logged: 10:01:18

[139803185080992] Client unable to keep up with pending messages. Stayed over 512 for 5 seconds

I have the same problem: emulated_hue is not discovered by my Philips TV. The log from emulated-hue appears to be identical to the one posted above. I'm running emulated_hue as add-on in Home Assistant Supervised on Debian 11.
I just started with Home Assistant, so I may be wrong, but I noticed that the emulated_hue container does not expose any port: may it somehow relative to the inability to contact the hub?

@meden The image uses host networking which allows direct access to host ports. You will therefore not see any port mappings. The ports uses can be configured in the config options.
@fjgalesloot I'm not entirely sure what could be happening here. Can you list the steps that you took to reproduce this from a clean home assistant install? I am unable to reproduce this.

@alexyao2015, in my case the installation was a plain install, following normal steps.
Anyway, this issue happens with the stable version of emulated-hue. The dev version is working properly (well, entertainment mode does not work as expected, but that's another story).
Possibly, having a different version number for the dev version (e.g. some snapshot/alpha/beta/dev qualifier) would have helped in properly triaging this issue.
Thanks for your work!

@alexyao2015, in my case the installation was a plain install, following normal steps.
Anyway, this issue happens with the stable version of emulated-hue. The dev version is working properly (well, entertainment mode does not work as expected, but that's another story).

Did you pull a tagged docker image from the repository that works for you? Can you share which one?
I'm still having the same error with the :dev tag.

I just shelled into the docker container. Running netstat I see:
root@ostname=hass-emulated-hue:/# netstat -n
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp   407808      0 x.x.x.95:56996          x.x.x.37:443            ESTABLISHED

Where x.x.x.37 is the IP address of Home Assistant. It seems the application is nog reading the results, as the receive queue is having data.
Maybe this helps in pinpointing the issue?

I think this has something to do with my docker host. I'm running Vmware Integrated Containers. Running the :master image on my Docker Desktop runs just fine. Running the same image on my vmware setup, I receive the error s6-overlay-suexec: fatal: can only run as pid 1.

I installed it as add-on in Home Assistant Supervised. The version from stable repository is not working, while the version from the dev one is (although both show the same version number; in Maven world the latter would have an higher number with a SNAPSHOT qualifier 😁).

This message here is key s6-overlay-suexec: fatal: can only run as pid 1.. This occurs because something is overriding the default entrypoint. Oftentimes there is some setting to disable this behavior termed init which you'll need to find.

The bug is still present in 0.2.13, but Dev container works.
Logs from 0.2.13 release:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-set-vars.sh: executing...
[cont-init.d] 00-set-vars.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[09:06:02] INFO: Starting Emulated Hue...
2023-01-22 09:06:04,913 INFO  emulated_hue.config -- Auto detected listen IP address is <IP_ADDRESS>
2023-01-22 09:06:05,014 DEBUG getmac -- Raw MAC found: None
2023-01-22 09:06:05,018 DEBUG getmac -- Raw MAC found: 6e:64:72:6f:69:64
2023-01-22 09:06:05,020 DEBUG aiorun -- Entering run()
2023-01-22 09:06:05,048 DEBUG aiorun -- Creating default executor
2023-01-22 09:06:05,094 INFO  hass_client -- Connected to Home Assistant ws (version 2023.1.6)

Logs from updated Dev container:
cont-init: info: /etc/cont-init.d/00-set-vars.sh exited 0
cont-init: info: running /etc/cont-init.d/20-install.sh
[09:24:32] INFO: Installing Emulated Hue version 'master' (https://github.com/hass-emulated-hue/core/archive/master.tar.gz)...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100 59733    0 59733    0     0  63817      0 --:--:-- --:--:-- --:--:-- 63817
core-master/.devcontainer/
core-master/.devcontainer/Dockerfile
core-master/.devcontainer/devcontainer.json
core-master/.devcontainer/docker-compose-pycharm.yml
core-master/.devcontainer/docker-compose-vscode.yml
core-master/.devcontainer/requirements-vscode.txt
core-master/.github/
core-master/.github/ISSUE_TEMPLATE/
core-master/.github/ISSUE_TEMPLATE/bug-report.md
core-master/.github/ISSUE_TEMPLATE/config.yml
core-master/.github/ISSUE_TEMPLATE/feature_request.md
core-master/.github/dependabot.yml
core-master/.github/release-drafter.yml
core-master/.github/workflows/
core-master/.github/workflows/docker-build.yaml
core-master/.github/workflows/release-drafter.yml
core-master/.github/workflows/stale.yml
core-master/.github/workflows/test.yml
core-master/.github/workflows/update-swversion.yml
core-master/.gitignore
core-master/.launchconfigs/
core-master/.launchconfigs/EXAMPLE-hass_emulated_hue.code-workspace
core-master/.launchconfigs/Launch emulated_hue.run.xml.DELETE-ME
core-master/.pre-commit-config.yaml
core-master/.vscode/
core-master/.vscode/settings.json
core-master/LICENSE
core-master/Notes.md
core-master/README.md
core-master/docker-compose.example.yml
core-master/docker/
core-master/docker/Dockerfile
core-master/docker/publish.py
core-master/docker/rootfs-dev/
core-master/docker/rootfs-dev/etc/
core-master/docker/rootfs-dev/etc/cont-init.d/
core-master/docker/rootfs-dev/etc/cont-init.d/20-install.sh
core-master/docker/rootfs/
core-master/docker/rootfs/etc/
core-master/docker/rootfs/etc/cont-init.d/
core-master/docker/rootfs/etc/cont-init.d/00-set-vars.sh
core-master/docker/rootfs/etc/services.d/
core-master/docker/rootfs/etc/services.d/emulated-hue/
core-master/docker/rootfs/etc/services.d/emulated-hue/finish
core-master/docker/rootfs/etc/services.d/emulated-hue/run
core-master/emulated_hue/
core-master/emulated_hue/.vscode/
core-master/emulated_hue/.vscode/.ropeproject/
core-master/emulated_hue/.vscode/.ropeproject/config.py
core-master/emulated_hue/__init__.py
core-master/emulated_hue/__main__.py
core-master/emulated_hue/apiv1.py
core-master/emulated_hue/const.py
core-master/emulated_hue/controllers/
core-master/emulated_hue/controllers/__init__.py
core-master/emulated_hue/controllers/config.py
core-master/emulated_hue/controllers/devices.py
core-master/emulated_hue/controllers/entertainment.py
core-master/emulated_hue/controllers/homeassistant.py
core-master/emulated_hue/controllers/models.py
core-master/emulated_hue/controllers/scheduler.py
core-master/emulated_hue/definitions.json
core-master/emulated_hue/discovery.py
core-master/emulated_hue/ssl_cert.py
core-master/emulated_hue/utils.py
core-master/emulated_hue/web.py
core-master/emulated_hue/web_static/
core-master/emulated_hue/web_static/debug/
core-master/emulated_hue/web_static/debug/clip.css
core-master/emulated_hue/web_static/debug/clip.html
core-master/emulated_hue/web_static/debug/clip.js
core-master/emulated_hue/web_static/description.xml
core-master/emulated_hue/web_static/favicon.ico
core-master/emulated_hue/web_static/hue_logo_0.png
core-master/pylintrc
core-master/requirements.txt
core-master/setup.cfg
[09:24:33] INFO: Installed successfully!
cont-init: info: /etc/cont-init.d/20-install.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun emulated-hue (no readiness notification)
s6-rc: info: service legacy-services successfully started
[09:24:34] INFO: Starting Emulated Hue...
2023-01-22 09:24:36,021 DEBUG aiorun -- Entering run()
2023-01-22 09:24:36,041 DEBUG aiorun -- Creating default executor
2023-01-22 09:24:36,049 INFO  emulated_hue.controllers.config -- Auto detected listen IP address is <IP_ADDRESS>
2023-01-22 09:24:36,080 DEBUG getmac -- Raw MAC found: None
2023-01-22 09:24:36,083 DEBUG getmac -- Raw MAC found: 6e:64:72:6f:69:64
2023-01-22 09:24:36,121 INFO  hass_client -- Connected to Home Assistant ws (version 2023.1.6)
2023-01-22 09:24:36,277 INFO  emulated_hue.web -- Started HTTP webserver on port 80
2023-01-22 09:24:36,373 INFO  emulated_hue.web -- Started HTTPS webserver on port 443

Maybe some issue with the build?.

I've tried to debug that by gdb. It seems that some await waits indefinitely.
# apt update && apt install -y gdb
… (wait for installing GDB)
# gdb python -p 71
…
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
0x0000007fa59dedac in __GI_epoll_pwait (epfd=<optimized out>,
    events=events@entry=0x7fc490de20, maxevents=maxevents@entry=1024,
    timeout=timeout@entry=2000, set=set@entry=0x0)
    at ../sysdeps/unix/sysv/linux/epoll_pwait.c:42
42	../sysdeps/unix/sysv/linux/epoll_pwait.c: No such file or directory.
…

This looks like waiting for some async I/O. I'll look at backtrace:
(gdb) bt
#0  0x0000007fa59dedac in __GI_epoll_pwait (epfd=<optimized out>,
    events=events@entry=0x7fc490de20, maxevents=maxevents@entry=1024,
    timeout=timeout@entry=2000, set=set@entry=0x0)
    at ../sysdeps/unix/sysv/linux/epoll_pwait.c:42
#1  0x0000007fa59def68 in epoll_wait (epfd=<optimized out>,
    events=events@entry=0x7fc490de20, maxevents=maxevents@entry=1024,
    timeout=timeout@entry=2000) at ../sysdeps/unix/sysv/linux/epoll_wait.c:32
#2  0x0000007fa32bb994 in uv__io_poll (loop=loop@entry=0x5574604590,
    timeout=<optimized out>) at src/unix/epoll.c:236
#3  0x0000007fa32adb64 in uv_run (loop=0x5574604590,
    mode=mode@entry=UV_RUN_DEFAULT) at src/unix/core.c:389
#4  0x0000007fa3248778 in __pyx_f_6uvloop_4loop_4Loop___run (
    __pyx_v_self=0x5574669060, __pyx_v_mode=UV_RUN_DEFAULT) at uvloop/loop.c:15044
#5  0x0000007fa3250f70 in __pyx_f_6uvloop_4loop_4Loop__run (
    __pyx_v_self=0x5574669060, __pyx_v_mode=UV_RUN_DEFAULT) at uvloop/loop.c:15423
#6  0x0000007fa3219d6c in __pyx_pf_6uvloop_4loop_4Loop_24run_forever (
    __pyx_v_self=0x5574669060) at uvloop/loop.c:28118
…

OK, looks like run_forever (probably called from asyncio.run in main.py), i.e., it is waiting for some coroutine.
I've also tried to run py-bt, but the python:3.10-slim container doesn't have the python3.10-dbg package. (It has only python3.9-dbg package, which is from Debian.) Anyway, I probably wouldn't see much there, as it would probably show just running threads, not coroutines being awaited.
I've also tried to build the Docker image on aarch64, but I failed with rustup. Anyway, I probably wouldn't want to build Rust on Raspberry Pi…

I've digged a bit deeper (and found a conclusion):
File emualted_hue/controllers/__init__.py: I've added debug print around relevant await:
    print('HAC: connect')
    await ctl.controller_hass.connect()
    print('HAC: connected')

I see this:
HAC: connect
2023-02-14 21:09:37,262 INFO  hass_client -- Connected to Home Assistant wss (version 2023.2.4)

To, it seems that HomeAssistantController.connect awaits indefinitely. This method is inherited from HomeAssistantClient. At the moment of the indefinite await, we are somewhere in https://github.com/hass-emulated-hue/python-hass-client/blob/0.1.5/hass_client/client.py#L288-L293 :

The self._loop.create_task call is probably innocent, as it shouldn't block.
The self.send_command might be innocent, although it is not that easy.
The self._request_full_state() call requests various information. Maybe it requests some information it cannot obtain.

So, I've started sniffing the communication between HA and HEH:
ssh user@host 'sudo dumpcap -P -w - -i lo -f "tcp port 8123"' | qvm-run-vm @dispvm 'wireshark -k -i -'
client: {"type":"subscribe_events","id":1}
server: {"id":1,"type":"result","success":false,"error":{"code":"unauthorized","message":"Unauthorized"}}

Conclusion: At this point, I can probably conclude that HEH requires admin token. When it gets user token, it doesn't report the issue properly and hangs on startup.

Thanks for that! That probably explains why I was never able to reproduce this as there haven't been any sufficient reproduction steps thus far. I can make this more obvious by adding some more logging in the future regarding this.

Thanks @v6ak for the deep digging! This explains why it does not work.
But have you (or @alexyao2015) any clue on why it works fine using the Dev container?

I have no clue. The dev version and the latest release should be identical as of last week. There's not much for me to go off here besides speculation.

I'm also affected. Release Version dosnt/never worked (Was a fresh HA OS install inside a VM) but dev Container works without problems.

I'm also affected. Release Version dosnt/never worked (Was a fresh HA OS install inside a VM) but dev Container works without problems.

I have found another cause. My HA was running the Unifi implementation, which generated about 18,000 entities. The websocket json request was about 10 MB, so probably the Hue emulation crashed due to the big response.


All binary filer is dumb. What does it actually show?

Wizard should use a different default filter. Maybe All Files by default

Tracked by #86


BUGFIX If only extensions have actions, exception is thrown, but it shoul

BUGFIX If only extensions have actions, exception is thrown, but it shouldn't be.

Moved to post-2.4


Private Mode

Added private mode (no data will be passed to LastFm when the option is checked)
Added option in options.html page
Added custom pageAction status (In private Mode)
Added quick menu to checked/unchecked option on other pageAction(s)

For a personnal need, need to be continued

Could you not achieve exactly this by ... disabling/uninstalling the extension?

I needed this to be quickly disabled, and re-enable as quickly. It's just for myself


Can not Ping VPN Client from Local Network

Hello together,
i have the Docker openvpn setup without problem. I can connect to the docker vpn from outside and ping for example a client <IP_ADDRESS>. What i dont understand is why i cant ping the VPN Client with the IP <IP_ADDRESS>. The Docker runs on a synology with the IP <IP_ADDRESS>. Do i have to set some settings to be able to ping / reach the VPN Client <IP_ADDRESS>? I have set a static route on my fritzbox -> <IP_ADDRESS>/24 with the gw <IP_ADDRESS> but actually that doesn't helped.

I fixed the problem by my self! just had to add a static route from the destination network <IP_ADDRESS> the docker Host gateway. <IP_ADDRESS>, aswell a forward iptables and route on the gateway ip where the container is running.

do you have any more details, what you did?


Illegal types disrespecting generic constraints can be created

Bug Report

🔎 Search Terms
constraint, satisfying incorrectly, illegal type
🕗 Version & Regression Information

This changed between versions 4.6.4 and 4.7.4

⏯ Playground Link

Playground Link (change the version to 4.7.4 and 4.6.4 to see where the bug was introduced)
💻 Code

interface Box<T> {
    value: T
}

type TaggedBox<E extends Box<any>> = E & {__boxed: true}

// === //

// perfectly legal
type LegalTagBox = TaggedBox<Box<number>>

// should error, number doesnt extend Box<any>
type IllegalTagBox = TaggedBox<number>

// a function that accepts either an array
// of boxes or a single box as a value
function somehowLegal<T extends Box<any>>
(value: T): TaggedBox<T>

// lets pretend i made a mistake here and accidentally
// wrote Array<any> instead of Array<Box<any>>
function somehowLegal<T extends Array<any>>
(value: T): {[K in keyof T]: TaggedBox<T[K]>}
// T[K] has type any.
// TaggedBox<any> is not supposed to exist.
// why is this compiling???

function somehowLegal<T>(value: T) {
    return Array.isArray(value) ?
        value.map(e => ({...e, __boxed: true})) :
        {...value, __boxed: true}
}

//   vvvvvvvvvvvv this has the type TaggedBox<number> now.
let [numberTagBox] = somehowLegal([3])
// i dont think that is supposed to happen because
// unlike in line 11, TaggedBox<number> is now legal?!

🙁 Actual behavior
A type that should not exist was created.
🙂 Expected behavior
This should error, because it isn't respecting the extends Box<any>

@whzx5byb You're not wrong, replacing it with unknown does fix the code. Nevertheless, TypeScript should still a) catch that illegal invocation of TaggedBox (judging by line 11 that is supposed to happen), and b) not allow a type that directly contradicts itself to exist, even with any.

in general, generic type (and function type) definitions are typechecked when they are defined, not when they are used

Instantiation is not a process that can produce errors, except via constraint violation. These are the risks you undertake when you use any; you can instead write
declare function somehowLegal<T extends Array<unknown>>(value: T): {[K in keyof T]: TaggedBox<T[K]>}


Could you tell me how to use your code for original datasets?

Could you tell me how to use your code for original datasets?
Thanks to your guide, I was able to use your code against 2018 Data Science Bowl dataset
So I tried to use the original dataset, but I couldn't.
Because there is more than one class to identify, I thought.
I tried to change the code, but I couldn't.
Please help me.
Thank you.

@kirohirahanoshi
I add support for multiclass segmentation. Please pull the latest commit and try again. Let me know if you have any problems.

May I ask the author, I have run the data set and code you mentioned, but my IOU is only 0.8 after running, may I ask what is the problem? The original paper has 0.92


support package-manifest with over 1k packages

The api/v1/external/vulnerabilities/scan api has a limit of 1k per package manifest. It would be great if generate-pkg-manifest command could automatically break up the manifest into multiple files.
NOTE: Calls to this operation are rate limited to 10 calls per hour, per access key. If this rate limit is exceeded, an exception is thrown.
Also, note that this operation is limited to 1k of packages per payload. If you require a payload larger than 1k, you must make multiple requests.
For more information about creating an API access key and token to run this operation and using this operation with organization resources,

I think that it would be better if we make the scan-pkg-manifest command to support a single manifest file with over 1k packages. I feel that making the generate-pkg-manifest create multiple files will cause a bit more difficulties mainly because then the user would have to parse every file and submit multiple scans. Thoughts @scottford-lw ?

@afiune I agree that would be a better user experience. It would be great to get some feedback from a customer on this as well. Can you ask in customer slack with the customer that inspired this one?


check digests on read; add tests

Discussion in issue https://github.com/webrecorder/warcio/issues/18

Coverage remained the same at 99.823% when pulling 20f129bcf224a0e7c4d249de1e4d334df1156c54 on cocrawler:master into 60a9aac2977bb0be557acd0822026e403dcc3790 on webrecorder:master.

Coverage remained the same at 99.823% when pulling 20f129bcf224a0e7c4d249de1e4d334df1156c54 on cocrawler:master into 60a9aac2977bb0be557acd0822026e403dcc3790 on webrecorder:master.

Coverage remained the same at 99.823% when pulling 20f129bcf224a0e7c4d249de1e4d334df1156c54 on cocrawler:master into 60a9aac2977bb0be557acd0822026e403dcc3790 on webrecorder:master.


Docs: Async example

Problem
Could you provide an example such as https://github.com/tui-rs-revival/ratatui/blob/main/examples/user_input.rs that demonstrates how to use ratatui with Tokio?
Nowadays there are many libs that provide async versions only (such as the official AWS SDK).
My use case is that I have to trigger some async fn when receiving user input.
Alternatives

Channels

Take a look at https://github.com/toot-rs/toot-rs/blob/main/src/event.rs (and main, app) for how I did it in toot-rs. I wouldn't class it as the best code, but it's an example of a few different async things. I struggled for a bit to find a good way of incorporating multiple screens that each had async workflows and settled on the approach in there - please don't take it as prescriptive, just as one approach that worked for me :)

There are a number of resources available in the ratatui book for this now:

https://ratatui.rs/tutorial/counter-async-app/index.html
https://ratatui.rs/tutorial/stopwatch-app/index.html (not really a tutorial yet)
https://ratatui.rs/faq/tokio-async.html
https://github.com/ratatui-org/ratatui-async-template

Closing this out for now. Feel free to reopen if needed.


Fix data util

Fix missing column in step test model

Coverage increased (+0.01%) to 78.548% when pulling b179481563c5d7b871f9936feba8bc69719bc1af on JulioJLM:dev into e4a07991fc4b79a29cd85a5f52a7135f2e8452f8 on danliris:dev.


[IE11] - td-navigation-drawer-menu not show/hiding correctly in IE11

Bug Report
In IE11, after toggling the td-navigation-drawer-menu , the original td-navigation-drawer's contents are still displayed in addition to the new td-navigation-drawer-menu's contents.  Successive toggles have no effect of restoring to original state
You can reproduce this with the standard stackblitz, running in IE11
StackBlitz template: https://stackblitz.com/edit/covalent
Screenshots or link to CodePen/Plunker/JSfiddle

What is the expected behavior?
Should toggle back and forth between  and  contents
What is the motivation / use case for changing the behavior?
Which version of Angular and Material, and which browser and OS does this issue affect?
angular@7
material@7
<EMAIL_ADDRESS>Did this work in previous versions of Angular / Material?
yes
Other information
This should be related to an issue I'd previously reported ,    #1153

ie1


IPv6 disable setting change

This pull request is to propose the following changes to the IPv6 disable setting:
1.) Usage of a kernel command line parameter instead of the sysctl configuration file:
The benefit of this change is that IPv6 is already disabled from the very beginning of the boot process and it does not depend on sysctl init scripts (that would apply this setting to the running kernel during boot up).
2.) The IPv6 disable setting should be independent from the previously introduced precondition for the network settings:
This will ensure that the IPv6 disable setting (if set in the 'installer-config.txt') is not skipped when the 'ifupdown'-package has not been selected for installation.

👍

Added a global method for the variable check to devel branch.


remove F# Make TFS helper

The SourceLink.Tfs probably shouldn't have been a part of this project. It became a part of the project in my effort to get SourceLink and FAKE adopted at a TFS shop. Luckily, TFS has made their system more extensible and @isaacabraham has created a better approach to integrating FAKE with TFS.
https://cockneycoder.wordpress.com/2016/01/10/visual-studio-team-services-and-fake/
The TFS API wrapper code from SourceLink v1.1.0 can still be used and moved over as needed.
https://github.com/ctaggart/SourceLink/tree/v1.1.0/Tfs
https://www.nuget.org/packages/SourceLink.Tfs/1.1.0

It is worth noting that using SourceLink to source index to TFS will remain fully supported.

Yeah. I'm just waiting for it to get published :-)


Upgrade num-bigint with range

Trying to use this crate with rsa which links num-bigint 0.4.
This should hopefully be a backwards-compatible change while allowing newer versions.

Nevermind, I didn't realize that rsa uses a fork of num-bigint.