implemented null value support

Explanation About What Code Achieves:
Null data support added to line chart
New code renders line paths with gaps using "null" values.
Screenshots/GIFs:

Steps To Test:
Add a line chart and set some null values to datasets
TODOs:

A simple interpolation is added but not tested fully, can be enabled in AxisChart.js.
Null data drawing logics are dependent of the dataset real values, a drawback is they need to be provided through the call chain, some advice is needed if the desire is to make use of the "yPositions" property.
Note: some refactoring has been done in draw-utils spline function

Pull Request Test Coverage Report for Build 134

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

Totals

Change from base Build 133:
0.0%

Covered Lines:
29

Relevant Lines:
62

💛  - Coveralls

Any chance to see that PR merged in a near future ?

Is there any generic use-case for such a chart?

@scmmishra As many other chart libs has this feature I believe it could be a nice addition, however you may just go ahead and close this if it makes sense. :thumbsup:

@scmmishra I would also be interested in seeing this pull request merged.  We use Frappe charts to plot sensor data, but as the communication to the sensor is not 100% reliable and as a result we occasionally have missed data points - null value support would allow us to show the missing data.
Also as a side note: this would fix #98

I'll review this and try to get this release soon

I would also be happy if this was merged. It would be great to have a general option for line charts to render smooth instead of spiky lines.

@nniclas can you complete test interpolate feature? From my testing it seems like its good to merge. Let me know we can enable the option.

+1 for getting this merged, really like what I see from the library, but it would be nice to be able to pad out the labels

Would love to see this get merged and put out in a new version!


Fix broken location lookup

Weather lookup is broken (again!) this time due to the sunsetting of the other API calls for looking up location. This causes getLocationInfo to fail to retrieve a WOEID and also prevents weather setting from showing autocomplete places.
This PR fixes this by migrating the remaining API calls to the public YQL query.

I haven't tried it but this PR looks nice. @ekchang do you still use DashClock? If so, do you use a version compiled with this commit?

@getkey I did for a while which worked for me, but have not used DashClock since I got a Pixel (which has a clock built into the launcher). People are welcome to compile their own local build with this fix or bother @romannurik to merge :P

Okay, I'll try to build tomorrow, thanks. :-)


Add a generic GpioPin type for downgrading

The new GpioPin type is generic over its direction (Input or Output) and captures the pin number in a member variable.
It is useful for situations where concrete types cause errors, e.g. collecting multiple pins in an array. At the same time the new type is conform with the current API for peripherals.
This is an implementation of #15.

Thanks, LGTM!
btw @ivmarkov, it seems clippy is emitting some warnings, but these don't seem to be picked up by CI.

Yes, I need to change the CI to treat Clippy warnings as error.

Thanks!


Bump lsp-types version to match tower-lsp

Good afternoon, we would like to use taplo and some components from taplo's LSP to provide autocompletion for toml configuration in our linter's LSP. However, taplo uses a relatively old version of lsp-types which is incompatible with tower-lsp. This PR bumps the version of lsp-types to match tower-lsp

Thanks! I wanted to do this bump eventually as well. It will break taplo-ide, but it shouldn't matter right now.


Please update the spark-on-k8s operator

The spark-on-k8s by GoogleCloudPlatform is very old (2019) and won't be compatible with OCP 4.9.
Can you please update it?
Best regards

Please contact operator contributors/authors here https://github.com/k8s-operatorhub/community-operators.

Thanks @J0zi !


Could not determine target platform version, please check project setup (bug?)

Hi, I wrote a project listener, but ide have an error Could not determine target platform version, please check project setup

i saw this in the community forum, but my ide is version 2021.3, is this still a bug?

@Nthily Which version of the Gradle IntelliJ Plugin do you use? What is your target SDK version?

sorry, I forgot to explain these important things, I am using loadpath to load the idea
plugin.org.jetbrains.intellij = 1.2.1
Local idea information:
IntelliJ IDEA 2021.2 (Community Edition)
Build #IC-212.4746.92, built on July 27, 2021
Runtime version: 11.0.11+9-b1504.13 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1900M
Cores: 16
Registry: ide.balloon.shadow.size=0
Non-Bundled Plugins: com.github.nthily (1.0.1), com.markskelton.one-dark-theme (5.3.0), com.mallowigi (38.0.0), com.github.copilot (1.0.3), net.mamoe.mirai-console (2.7-M1), org.jetbrains.compose.desktop.ide (1.0.0-beta6-dev462), com.chrisrm.idea.MaterialThemeUI (6.7.2-2021.2)
Kotlin: 212-1.5.10-release-IJ4746.92

Could you please provide your Gradle configuration?
BTW, we've released 1.3.0 this week.

build.gradle.kts
@file:Suppress("SpellCheckingInspection")

plugins {
  kotlin
  id("org.jetbrains.intellij")
  id("org.jetbrains.compose")
  id("idea")
}

repositories {
  maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
  mavenCentral()
  google()
}

intellij {
  pluginName.set(rootProject.name)
  updateSinceUntilBuild.set(false)
  plugins.add("Kotlin")
  // If the intellij path is defined in 'gradle.properties' or 'local.properties' or environment variables, use it.
  findPropertyOrEnv("intellij.path")?.toString()?.let(localPath::set) ?: version.set("2020.3")
}

dependencies {
  implementation(compose.desktop.currentOs)
}

https://github.com/compose-museum/compose-code-helper

Ok, I've reproduced it – thanks for reporting!
This is a slightly different issue than the one you've mentioned – that one was related to using LATEST-EAP-SNAPSHOT, when you're referring to the local instance of the IDE.

https://youtrack.jetbrains.com/issue/IDEA-274609


Re-license code according to CLA and update link to CLA

My contribution clearly is not worth arguing about so I decided to sign the CLA and change the license to Apache as requested.
Cf. #15
The PR also fixes the outdated link to the CLA in the README.

Thanks very much @tribut, I really appreciate this!


Auth0 template v2

The next of #112
What I do

Use typescript
Use express-jwt middleware to have more explicits errors (and less code)
Add some unit tests (always better for upgrading API and fix bugs)
Try to be consistent with other templates (eg facebook/github)
Add a little FAQ

Question
I can easily add many profile information into User node (nickname, name, picture…) It's looks good for me, but I don't know if you want this kind of feature in the basic template :wink:

I can easily add many profile information into User node (nickname, name, picture…) It's looks good for me, but I don't know if you want this kind of feature in the basic template

Can you add it, but comment it out with a quick explanation inside the code? So, by default, it wouldn't add the extra info, but it's easy to activate it.

@marktani It will be a little messy to add this in comment (it's in the createUser mutation and the User type).
But it's really to add due to email injection example and the Auth0User interface :wink: I think we can let this like that and change if many people request for this feature :wink:

@fabien0102 I am excited about this PR.  How can I help test this before it is merged?

@rcy Just clone the repo, copy/past files into your graphcool project and link the handler into you graphcool.yml
I have tested in my climbing app(https://github.com/fabien0102/climbing-app), all is working as expected ;)

@marktani Any update on this PR? 😄

Hey @fabien0102, I will take a detailed look at your PR later this week, thanks! 🙂

@fabien0102 Thanks for your work! Are you currently using this version in production?
@marktani Did you have time to look at this yet? :)

@lukasluecke Currently just on my side projects (we don't use auth0 in my company) but from my side, it's totally production ready 😉

2 days late, but Happy birthday for my PR 🎉 (and no merge conflicts 😄)
cc @marktani :angel:


It is not recommended to make sstatus.UXL!=64 an unsupported extension

The profile should not only consider users who natively build new systems on RISC-V, but should also consider the needs of users who have migrated from other platforms. At present, a considerable number of users in the IoT market are trying to migrate from 32-bit low-cost application processor systems such as Cortex-A7 to RISC-V. They want to still maintain (non-binary) compatibility with legacy 32-bit user mode code. This not only requires hardware to support 32-bit user mode, but also requires RISC-V linux to support compat mode. sstatus.UXL!=64 becoming an unsupported extension will limit risc-v Linux mainline support for compat mode, which will adversely affect these users.
Therefore it is not recommended to make sstatus.UXL!=64 an unsupported extension.

Your argument is that folks will have an easier time porting their code from AArch32 to RV32.  That's bunk.  Once you've ported the code to a new ISA, it hardly matters whether it's a 32-bit or 64-bit ISA (unless the code is very poorly written).


Update creating an endpoint documentation to reflect newer pattern

The documentation was referencing AuditableAppContextFromRequest instead of AuditableAppContextFromRequestWithErrors.

Yeah this documentation is very very old. There's also a documentation update that needs to happen once AppContextFromRequest is removed or made private.


Feature: Helix API support

Proposed changes
Proposal for #92 and open for alternatives.
Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Chore (change that does not fix an issue or add functionality, but improves TwitchJS in some other way)

Checklist

[x] I have read the CONTRIBUTING doc
[x] My PR is named according to CONTRIBUTING doc
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)
[x] Any dependent changes have been merged and published in downstream modules

As it is not documented right now. How is it supposed to work to do an Helix call? :)

Thank you!!


Implement module-config template

Description
Changes proposed in this pull request:

as in the title

Related issue(s)

https://github.com/kyma-project/keda-manager/issues/267

run logs:
https://status.build.kyma-project.io/view/gs/kyma-prow-logs/logs/pprecel_test_of_prowjob_post-main-keda-manager-verify/1702433502324068352


Test suite incorrectly imports either-prime

either-both fails to build, due to the package being 'incorrectly named in the test-suite imports](https://github.com/strake/either-both.hs/blob/master/either-both.cabal#L44).
Ref. commercialhaskell/stackage#4757

http://hackage.haskell.org/package/either-both-<IP_ADDRESS>


[SPARK-48355][SQL][TESTS][FOLLOWUP] Disable a test case failing on non-ANSI mode

What changes were proposed in this pull request?
This PR is a follow-up of https://github.com/apache/spark/pull/47672 to disable a test case failing on non-ANSI mode.
Why are the changes needed?
To recover non-ANSI CI.

https://github.com/apache/spark/actions/workflows/build_non_ansi.yml

Does this PR introduce any user-facing change?
No, this is a test-only change.
How was this patch tested?
Manual review.
$ SPARK_ANSI_SQL_MODE=false build/sbt "sql/testOnly *.SqlScriptingInterpreterSuite"
...
[info] - simple case mismatched types !!! IGNORED !!!
[info] All tests passed.
[success] Total time: 24 s, completed Sep 14, 2024, 7:51:15 PM

Was this patch authored or co-authored using generative AI tooling?
No.

cc @MaxGekk , @dusantism-db , @davidm-db , @panbingkun from #47672

Could you review this when you have some time, @viirya ?

Since this is only skipping a test case, let me merge this for Apache Spark 4.0.0-preview2 preparation.

@dongjoon-hyun Thank you for the fix. Not clear to me why the test starts failing while I merged all green GAs: https://github.com/dusantism-db/spark/runs/30098936727

To @viirya , yes. It seems that I wrote in a misleading way. I wanted to describe a test case failing on non-ANSI mode, not disable ... on non-ANSI mode.

I think it is ignored no matter ansi or non-ansi mode, right?

To @MaxGekk , Apache Spark 4.0.0 uses ANSI mode by default for all. So, it passed all CIs except the reported GitHub Action job which aims to test non-ANSI model.

#46013

Thank you, @viirya and @MaxGekk, for the reply.

For the record, non-ANSI CI is recovered.

https://github.com/apache/spark/actions/runs/10876127971

late LGTM.


#159054004 Integrate Travis With README Badge.

What Does This PR Do?
Integrate Travis and add README badge.
Relevant PT Stories?
#59054004

Everything looks fine. Good job.

Everything looks ok. Good job.


Replace topup modal with topup route

Something is wrong with styles, in the first picture title should be aligned to left and the background colour is wrong. In the second and the third there isn't gasPrice component and in the third logos of payment method are not loaded.


[bootstrap.ps1] Add option for building 64-bit vcpkg.exe

We are testing vcpkg for targeting arm64, but currently not for doing the builds on arm64.
If I can get my hands on an arm64 machine, I will test :).

@alexkaratarakis Good.

@fcharlie Merging this. Thanks for the PR!

@alexkaratarakis Will fail in other locales
powershell "Get-WmiObject win32_operatingsystem | Select-Object osarchitecture"

My OS output:

osarchitecture
--------------
64 位


FPASF-556: Enable warn_redundant_ignores mypy config

Enable warn_redundant_ignores mypy config
How to test
Is mypy check passing?

Weird.. all passed on local.. I will test after lunch.

fails on my local

curiously ... with fewer errors that pre-commit is flagging 🤔

pre-commit.ci run

pre-commit.ci run


Remove the words preceeding "sir" or "mr" or "viscount"

Sometimes speaker names have words preceding "sir" or "mr." These words should be dropped.
Example:
whole of mr vansittarts
whereupon viscount cranborne

@stephbuon tag alexander if still exists

@alexanderr This problem still exists


RHOAIENG-10350 feat(Dockerfiles): switch from s2i python images to plain ubi/c9s bases

https://issues.redhat.com/browse/RHOAIENG-10350
Description
The main benefit is size and cve exposure, as the python images come with packages we don't use; python and pip is enough for us.
Every image is made approx 300MB smaller by doing this!
Before:
rstudio-c9s-python-3.9-main_dbeac5b  4c5c83479bb2  7 seconds ago      3.44 GB

After:
rstudio-c9s-python-3.9-jd_ubi_base_adedd4a  040b74e5a618  50 minutes ago     3.08 GB

Additionally, using plain ubi makes things more explicit.
How Has This Been Tested?
I'll test this when making this change is planned into a sprint.
Merge criteria:

[x] The commits are squashed in a cohesive manner and have meaningful messages.
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[ ] The developer has manually tested the changes and verified that the changes work

This PR is great, definitely will be good to have however

Great! In that case I'll go forward creating a Jira so this can be groomed. https://issues.redhat.com/browse/RHOAIENG-10350

the s2i image bring working dir: /opt/app-root/src

our images explicitly set this in the WORKDIR instruction, so we're good in that respect

however we should thoroughly check these changes.

sure, that's why I created a jira for doing all the work in organized manner; the disk space savings are not all that significant, but I like how this removes much of the s2i magic, so that's what makes this seem worth doing to me

BTW, I was wondering what are the most important changes, so I prepared some basic script for the image comparison (I have a plan to improve it further and put it into our CI/GHA for our convenience). I tried to compare one of the base images you change here with what we have (note that your build is 2 weeks old, I took the quay image from today):

checkout this branch https://github.com/opendatahub-io/notebooks/compare/main...jstourac:notebooks:compareImages
run this:

./ci/compare-images.sh quay.io/opendatahub/workbench-images@sha256:e92bf20e127e545bdf56887903dc72ad227082b8bc23f45ff4f0fc67e6430318 ghcr.io/jiridanek/notebooks/workbench-images:base-ubi9-python-3.9-jd_ubi_base_adedd4a943977ecdcb67bc6eb9eda572d10c3ddc

+1 for this update, I like this. :slightly_smiling_face: As Harshad mentioned, we should thoroughly test everything to ensure there are no issues with the PVCs. Otherwise, it /lgtm

we should thoroughly test everything

yeah; was just thinking whether nginx gets properly installed after this change; I did not think of it before


Proof of Concept: Using Alpine as a base image

This PR updates the Dockerfile to use alpine:3.9 as a base image.
See https://hub.docker.com/_/alpine for more details.
Try it
workflow "handle-it" {
  on = "pull_request"
  resolves = ["Assignee to reviewer"]
}

action "Assignee to reviewer" {
  uses = "francisfuzz/assignee-to-reviewer-action-1@5d053f7"
  secrets = ["GITHUB_TOKEN"]
}

:wave: this is meant to be a proof of concept and I have no expectations of getting this merged in 😸 Closing this so it remains as an artifact for future use. ✌

@francisfuzz Thanks Francis! What were the reasons for the change? Is it because alpine is a smaller base image which would improve execution time of the Action? If so I'd love to merge it in :)

@francisfuzz Thanks Francis! Just saw your email about this. Appreciate the help, I'll test this out.


form-recognizer/quickstarts/python-layout

change content type in code samples from application/json to application/octet-stream

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

@PatrickFarley Hello Patrick. is there any update for this PR? Could you please take a look and check on it? Thanks.

octet-stream isn't listed as a valid input, but I've corrected it to application/pdf
#sign-off


Sort suggestions by type

Currently VS Code just throws everything together in the suggestions box.
It would be much better, if it sorted them by their type.
Screenshot of the current behavior with Node.js's "path" module:

Here you can see that "delimiter" and "posix" are put between the functions.
They should rather be above them to make finding new variables and functions easier.
The same goes for other things such as constants and namespaces.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Curved Progress Bar displays Squarish Progress when progress is less than 2%

Please complete the following information:

Library Version: 1.0.1
Affected Device(s): Any

Describe the Bug:
When the progress bar has a very strong radius or is very curved. The progress bar is showing a more squarish progress than a curved one.
Expected Behavior:
Should still show a more curved one.

Released a new version 1.0.3.
@anoop44 Thank you for your contributions :)


Position Tracking with FreePieBridge not working anymore

Hello! After pull new commits (latest: 4cef4b1) and rebuild...I tried using PSMoveFreepieBridge as before...but Positional Tracking not worked, nothing happened. Any idea?

 I had to change the client interface for the support the new DualShock4 controller support I'm working on. This almost certainly broke the PSMoveFreepieBridge (which I don't maintain). The latest binary release (alpha4.6) should still work, but anything past commit 830cd18017ad3d47b62b42460915c895d562bc0f will likely stop working until PSMoveFreePieBridge is updated.
@hawkinse Sorry I probably should have dropped you a line about these changes coming down the pipe. It should be pretty easy to adapt the the freepie bridge to the new client interface changes. I believe the psmove specific stuff is mostly the same. Most of the new code has to do with the addition of new dual shock 4 related controller structures and some modified enums.

@HipsterSloth @luizlago No worries, I expected things like this would occasionally happen since the client interface isn't finished. I'll be able to work on getting that fixed tomorrow.

Thanks @hawkinse! I'll try to keep you in the loop the next time we update the client interface, which I think will be when we flip the switch over to the C-API were working on.

I suspect the breakage occurred because the values of a few constants have changed. I can still build PSMoveFreepieBridge with no code changes with the updated PSMoveClient header files. I'm still building PSMoveService, so I'm not sure if that's all I needed to get things working again.
I ran into an issue updating my PSMoveService source. Pulling via git conflicted with some of my local changes (not surprised), and attempting to clone a clean copy failed failed on protobuf:
fatal: destination path 'thirdparty/protobuf' already exists and is not an empty directory.
Clone of 'https://github.com/google/protobuf.git' into submodule path 'thirdparty/protobuf' failed
It might be that I was just doing something stupid, and I was able to work around it by deleting the protobuf directory mid-checkout before it started to clone it. I'll make another post once I'm done building PSMoveService and have verified that the updated headers fixed the issue.

Yeah I believe we updated the protobuf submodule link. Updated submodules can be a real pain when updating a pre-existing clone. My git-fu is weak so I don't know what the "right" way to do that is (@cboulay might know), but I usually do what you did and just delete the submodule folder (sometimes I just do a fresh pull of everything). I think we actually want to switch over to using cmake's external_project mechanism and drop submodules altogether at some point so this sort of thing won't be an issue anymore.
Thanks for the update!

@hawkinse
After doing the usual git fetch and git pull, you have to follow that up with a git submodule update. That should be all that is needed.
However, sometimes the build process will add some things to the submodule, and those things aren't properly ignored by the submodule's .gitignore file, so the submodule will be in a dirty state. When that happens, I usually change into the submodule directory (so now git commands apply to the submodule's repository) and do a git clean -f. Then cd .. out of there and try git submodule update again.

@luizlago is PSMoveService able to access your cameras? In my log for PSMoveService I'm seeing the messages like:
`libusb: error [winusbx_claim_interface] could not access interface 0: [87] The parameter is incorrect.
[2016-08-10 11:55:06.765]: PS3EyeTracker::open - Failed to open PS3EyeTracker(USB\VID_1415&PID_2000\3\1, camera_index=1)`
and in the tracker settings in PSMoveConfigTool I'm only seeing the message "No trackers controllers" instead of options to calibrate or test tracking. If PSMoveService can't use the cameras, PSMoveFreepieBridge can't track the controllers.
@HipsterSloth a copy of my log can be found here if it helps.

You aren't running the Win10 anniversary update by chance are you? There was a change they made that prevents devices from being opened in exclusive mode (http://windowsreport.com/anniversary-update-exclusive-mode-game-controllers/).

As of update 1607, kernel32.dll CreateFile() using only the flags GENERIC_READ and GENERIC_WRITE and 0 for dwShareMode no longer allow exclusive (non shared) access to devices needed in some circumstances.
An example of a device that is not allowing exclusive access any more is the Sony Dualshock 4 Game controller.

I'd need to dig into libusb and see if in fact it's trying to open the camera this way.

Also this is me grasping at straws but have you tried re-installing the libusb driver for the camera? Also does test_camera.exe work for you or does it fail the same way?

@HipsterSloth yep, I am. However, previous versions of PSMoveService work fine. At least, alpha 4.5 does. Haven't tried 4.6.
test_camera fails with the same output. I have not yet tried reinstalling the libusb driver.

@hawkinse Looks like this isn't a new issue (can't blame Win10AU). I forgot about this same problem was posted a while ago: https://github.com/cboulay/PSMoveService/issues/56
I'm hoping some combination of reinstalling the drivers or changing USB ports will fix the issue for you.

that prevents devices from being opened in exclusive mode

That reminded me of what happened with hidapi and Windows >= 8. Here was the commit that fixed it. I don't know if this applies to libusb but it might be relevant.

@HipsterSloth thanks for posting that issue! Reinstalling alone didn't help, but switching from libusb-win32 to libusbK fixed it.
@luizlago try this version of PSMoveFreepieBridge. I don't want to post it to my downloads page yet since it doesn't work with current releases of PSMoveService. Included is a release and a debug version, use the same version as the one you compiled PSMoveService as.

@hawkinse if you now switch back to libusb-win32 does it work? This trick of having once used libusbK then using libusb-win32 used to be a big issue. It used to be that you'd have to switch back to libusb-win32 after a reboot because libusbK would then not work.

@zelmon64 yep, switching back to libusb-win32 works. Good catch!

@hawkinse that's very interesting that this issue has re-emerged. It's particularly annoying because as I said, libusbK will stop working after you reboot your computer. It is also particularly strange because you now never have to reinstall libusbK unless you restore your computer to a time before libusbK was installed. You can even uninstall all drivers for the PSEye then reinstall libusb-win32 and it will be fine. Obviously something gets permanently altered but I can't see why it should.
This oddity was quite the thorn in my side when working with the FreePIE PSMove plugins which is why I'm particularly vocal about it!

@zelmon64 The windows implementation of libusb has been a continuous source of grief for me as well since the start of this project (OS X hasn't really been an issue). Down the road I want to look into making a proper camera driver for Windows using the WinUSB api. The amount of hoops we have to make users jump through to keep a camera working is unfortunate. When I do work on the PS4 Camera it will probably force the issue of making a platform specific driver because there is no high speed isosochronous transfer support in the windows implementation of libusb (you have to patch it in).

@luizlago is PSMoveService able to access your cameras? In my log for PSMoveService I'm seeing messages like:
libusb: error [winusbx_claim_interface] could not access interface 0: [87] The parameter is incorrect.
[2016-08-10 11:55:06.765]: PS3EyeTracker::open - Failed to open PS3EyeTracker(USB\VID_1415&PID_2000\3\1, camera_index=1)
and in the tracker settings in PSMoveConfigTool I'm only seeing the message "No trackers controllers" instead of options to calibrate or test tracking. If PSMoveService can't use the cameras, PSMoveFreepieBridge can't track the controllers.

Yes, is show up for me too. My log:
[2016-08-10 21:04:21.129]: PS3EyeTracker::open - Opening PS3EyeTracker(USB\VID_1415&PID_2000\0\0, camera_index=0)libusb: error [windows_get_device_list] program assertion failed - existing device should share parent libusb: error [windows_get_device_list] program assertion failed - existing device should share parent libusb: error [windows_get_device_list] program assertion failed - existing device should share parent libusb: error [windows_get_device_list] program assertion failed - existing device should share parent libusb: error [windows_get_device_list] program assertion failed - existing device should share parent libusb: error [windows_get_device_list] program assertion failed - existing device should share parent ps3eye::PS3EYECam::getDevices() found 2 devices.
But, apparently my 2 pseyes working in test_camera and configtool too.

@luizlago try this version of PSMoveFreepieBridge. I don't want to post it to my downloads page yet since it doesn't work with current releases of PSMoveService. Included is a release and a debug version, use the same version as the one you compiled PSMoveService as.

I going test now! Thanks!

@hawkinse

@luizlago try this version of PSMoveFreepieBridge. I don't want to post it to my downloads page yet since it doesn't work with current releases of PSMoveService. Included is a release and a debug version, use the same version as the one you compiled PSMoveService as.

work fine! Thanks!!

@hawkinse I finally just published a release with the DS4 changes. Let me know when you have posted the new version of PSMoveFreepieBridge and I'll update the release notes. If anything comes up please feel free to start a discussion on the newly opened forum: https://groups.google.com/forum/#!forum/psmoveservice

Actually I should leave this issue open until the new PSMoveFreepieBridge build is up

@HipsterSloth Updated version is up.

@hawkinse Thanks for the quick turn around! I updated the release notes with a link to the latest version of PSMoveFreePieBridge.


Start a sqlite package and test basic application in cmd/rebuilddb app

This is coming along on the rebuilddb branch

Closed by https://github.com/dcrdata/dcrdata/pull/4


Add update-option to build.ps1

Newer versions of conan require the --updateoption. Otherwise they
will fail if there is deviation in the recipe revision. Always adding
the update option is not ideal but a work-around for now.

Great, thanks! So with this update if I get the same issue than the other day I could just do & .\build.ps1 --update to fix it right?

Great, thanks! So with this update if I get the same issue than the other day I could just do & .\build.ps1 --update to fix it right?

No quite: You just do & .\build.ps1 <<profile>> and it should just work.
Thanks!


How to use wow to activate css animations on scroll?

I have some percentage circles on my page and they are further down the page as a lot of content is above it - e.g;
lots of content pushing the circles down the page so that you can't see them
circles I'm trying to animate on scroll
I would like to know how to use wow to be able to activate the circle's animation when I scroll down to them as at the moment they are activating when I cannot see them.
My code is here: https://codepen.io/digitalbydefault/pen/LJYPXw
Please, can anyone point me in the right direction?
thanks

how to use wow to be able to activate the circle's animation when I scroll down to them ...

Add the CSS class .wow to a HTML element: it will be invisible until the user scrolls to reveal it. see docs
NOTE: wow.js is temporarily deprecated in favour of AOS (Animate on Scroll). Feel free to ignore the warning if you can't use AOS. see here
Also check scrollOut that detects changes in scroll for reveal, parallax, and CSS Variable effects!
sal.js A Performance focused, lightweight (less than 2.8 kb) scroll animation library, written in vanilla JavaScript. (you may need to use polyfills when using sal.js)

Hi @CharlesKumar
Thanks for your reply. I sorted this a while ago but I appreciate it.
I did not know it was temporarily deprecated until now. Why is this?

Hi @emmadalby,
The deve;p[er/maintainers of this project are not interested in updating this library. (updating like bug fixing, adding new features, reducing lib file size or providing slim version, improving browser compatibility, improving performance, etc.,)
why - they may think other libraries like aos.js (or any other) is already doing that, so there is less need to (contemporarily) maintaining a similar libray.
NOTE: I use lot of deprecated libraries. The reason is there is no worries about security issues while using  event/animation libraries. It just works as i expect it to be. I only move to other libraries if i need performance, compatibility badly otherwise i am fine with old libraries. Code is beautiful ! Sharing is caring ! open source is boon !


OpenMP when using clang during cmake

There is an error that occurs when using clang and OpenMP.

@nils1603 Is this only on mac?

Fixed


If you are reporting a new issue, PLEASE make sure that does not have any duplicates already open.
We would like to take this time to remind you of the information we need to debug the problem you are seeing. This is an automated response so if this ticket is not about a bug, do not fret.
If you fail to provide this information within 7 days, we will close this because we cannot debug your issue. We can reopen whenever the information is provided.
Thank you.
Please see:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues
Description of problem:

`docker version`:

`docker info`:

`uname -a`:

Environment details (AWS, VirtualBox, physical, etc.):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual Results:

Expected Results:

Additional info:

#ENEEDMOREINFO

I think we fixed this on master no?
On Mon, May 4, 2015 at 2:52 PM, Gordon<EMAIL_ADDRESS>wrote:

Hi!
If you are reporting a new issue, PLEASE make sure that does not have any
duplicates already open.
We would like to take this time to remind you of the information we need
to debug the problem you are seeing. This is an automated response so if
this ticket is not about a bug, do not fret.
If you fail to provide this information within 7 days, we will close this
because we cannot debug your issue. We can reopen whenever the information
is provided.
Thank you.
Please see:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues
Description of problem:
docker version:
docker info:
uname -a:
Environment details (AWS, VirtualBox, physical, etc.):
How reproducible:
Steps to Reproduce:1.2.3.
Actual Results:
Expected Results:
Additional info:
#ENEEDMOREINFO
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/issues/12974#issuecomment-98858414.

Nope, just tried on master, looking into this btw

@aluzzardi I'm pretty sure that you're attached after line was written. Logs just read it from file.
WDYT?

Is this a dup of https://github.com/docker/docker/issues/8521?

IMO @LK4D4 is right and echo is executed before attach so it's not showing in attach command

Is this still an issue? On master I'm not seeing it:
$ echo enter | docker attach $(docker run -di busybox sh -c "head -n 1 ; echo exit")
enter
exit

$ docker logs $(docker ps -q -n=1)
enter
exit

closing i think this was fixed and @aluzzardi can reopen if otherwise


[Request] Allow insert into a non-empty drawer with non-matching item in hand

Currently, you can only insert into a drawer with items in it if you have that item in your main hand and right click or if you double right click with an empty hand to push all of that item in your inventory. Storage Drawers was much more forgiving about how to trigger inserts and it's really confusing when old habits don't do what you're expecting.

What version are you using?

1.18.2-0.0.15


Transcode plaintext to binary requests

Thank you for your great work and great project.
I have a betterproto+grpclib server backend (i.e. in Python) and was having a hard time debugging grpc-web requests as all communications were binary. I switched to connectRPC, motivated by the much better support for typescript browser code and plaintext requests.
However, after setting up the connect <-> gRPC envoy bridge as demonstrated in this repo, I have realised that plaintext connect requests are not transcoded to binary gRPC. My backend does not support JSON requests, so I am stuck using connect with binary format, thus losing the benefits from using connect in the first place.
Is adding a feature request in envoy to support this transcoding in the bridge the right approach? Do you know of a way to solve this in the short term, e.g. plugging in some additional envoy filter in the stack? I've tried using Envoy's grpc json transcoder, but without success.

Hi Imondada, transcoding the descriptor from json to proto is currently not supported. The issue being that it would require the descriptors to perform the translation. A trade off was made to keep the implementation simple as usually adding JSON support for servers is easy to add, in go for instance this is a one liner. You may be interested in vanguard-go which is a go library that can act as a reverse proxy and supports translation.

Thanks Ed, that makes sense. I will look into adding JSON support to my python stack then :)


chore: add new svg images

PR Details
Add images in SVG format for redesign

We need to have a viewBox attribute defined instead of width/height for SVGs in order to correctly handle inline assets size using CSS. PS: pay attention to GitHiub common icon that most likely have an incorrect size right now on that branch.

oh, there was a viewBox attribute, but it was removed by the optimizer, apparently. I'll fix it.
about the GitHiub icon - I'll look at it

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Pug templates are not set as doctype html

Version
3.0.0-alpha.13
Reproduction link
https://codesandbox.io/s/pjzpx376q
Steps to reproduce

Create a new project using the CLI.
Set
Install pug
Create element with a boolean value e.g. b-navbar(toggleable type="light")
Start app and load page.

What is expected?
The render output should be <b-navbar toggleable type="light">
What is actually happening?
The rendered output is b-navbar toggleable="toggleable" type="light">

This setting is dependant on https://pugjs.org/language/attributes.html#boolean-attributes having the doctype be set to html.
Nuxt seemed to have fixed a similar issue: https://github.com/nuxt/nuxt.js/pull/1361/files#diff-4f5f40ac2485bef65351d77d76fd33c5
Currently you can get around the issue by setting toggleable='' but that seems like a hack.
I tried using chainWebpack in vue.config.js to add the setting but was unable to add the option to vue-loader

After reading more source code I was able to get it to work using
  chainWebpack: (config) => {
    config.module
      .rule('vue')
      .test(/\.vue$/)
      .use('vue-loader')
      .loader('vue-loader')
      .tap((args) => ({
        ...args,
        template: {
          doctype: 'html',
        },
      }));
  },

Not sure if there would be a reason not to have this be the default.

I'm having this problem using rc5.  Was there a regression or do I need to configure it differently?


Can not get it running properly

I spend a lot of time on setting it up (following amongst others your post here):
http://owaislone.org/blog/webpack-plus-reactjs-and-django/
, tackling several minor issues:

looks like babel-core needs to be installed as well otherwise I get errormessages
this issue:
https://github.com/owais/django-webpack-loader/issues/22

Still it is not working 'as expected'. Part of the problem is I do not exactly know what to expect. The purposes of separating Django world from JS (webpack) world seems sensible to me. But the exact separation is not clear and not working for me. My background is mainly the Django world in which I could get JS and CSS working from a staticfolder. I am not -until recently- very familiar with the npm, webpack, js world of things and I do have a couple of questions that when answered might shed some light on the problems I'm having:

I read in one of the closed issues that Django-webpack-loader solution is aimed at .js and .css ; So not images and other static items. Is that correct y/n? If yes, how should you treat 'other items': the Django way, or the JS way (or choose?). Does it makes sense to just 'build a bridge' for js and css ?
Following the article it says "If you left webpack running in watch mode, it should automatically pick up the changes and compile a new bundle."  I tried a simple Django project to make things more clear for myself, but automatic rebuilding is not happening... It just compiles the same bundle once (no new hash), no error... nothing new.
I did manage to have webpack build script run and then have new bundles compiled (when I imported new js libraries), so that seems to work fine; also the bundle-tracker gets new correct hash, so that seems fine. However, I tried to incorporate the js and css into a page, it does not work I think. Part of the problem is I do not know if I test correctly. Your article gives the setup/framework but no real proof of working js or css as far as I can see. In my setup for sure I only see html layout so the css is not coming through from the bundle...
I do not know exactly how the css should work. It seems that it should be included into the main-hash.js bundle and is import into html from that bundle... Is that correct? Could there be a detailed example of how to go about. For example I would like to use bootstrap which consists of bootstrap.js and bootstrap.css; Do I import both from the index.js and then they will be included in the bundle and then using the {% load render_bundle from webpack_loader %}  {% render_bundle 'main' %} ? An example with bootstrap and/ or materialcss would be very helpful. Also when I have a custom.css, how do I include it?
I do not really need the react part; I assume that is not a dealbreaker and using django-webpack-loader still makes sense?!
After you made a bundle with webpack and want to go live, do you include the bundle in a 'normal Django static folder'? It seems to be explained somewhere but it is still not really clear to me.

Here is my config:
//Webpack.config.js
var path = require('path');
var webpack = require('webpack');
var BundleTracker = require('webpack-bundle-tracker');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var Clean = require('clean-webpack-plugin');
var bootstrapPath = path.join(__dirname, 'node_modules/bootstrap/dist/css');
var sourcePath = path.join(__dirname, 'assets');

module.exports = {
    devtool: 'eval-source-map',
    context: __dirname,
    entry: './assets/js/index', // entry point of our app. .assets/js/index.js should require other js modules and dependencies it needs
    output: {
        path: path.resolve('./assets/bundles/'),
        filename: '[name]-[hash].js'
    },
    node: {
        console: true,
        fs: 'empty'
    },
    plugins: [
        new webpack.ProvidePlugin({
            $: 'jquery',
            jQuery: 'jquery'
        }),
        new BundleTracker({filename: './webpack-stats.json'}),
        new webpack.BannerPlugin('Banner!!!! todo'),
        new HtmlWebpackPlugin({
            template: __dirname + '/assets/index.tmpl.html'
        }),
        new webpack.HotModuleReplacementPlugin(),
        new Clean(['assets/bundles'])
    ],
    module: {
        loaders: [
            {
                test: /\.js[x]?$/,
                loader: 'babel',
                exclude: /(node_modules|bower-components)/,
                query: {
                    presets: ['es2015', 'stage-0']
                }
            },
            {
                test: /\.json$/,
                loader: 'json-loader'
            },
            {
                test: /\.js$/,
                include: path.resolve(__dirname, 'node_modules/mapbox-gl/js/render/shaders.js'),
                loader: 'transform/cacheable?brfs'
            },
            {
                test: /\.js$/,
                include: path.resolve(__dirname, 'node_modules/webworkify/index.js'),
                loader: 'worker'
            },
            {
                test: /\.css$/,
                loader: 'style!css?modules!postcss'
            },
            {
                test: /\.scss$/,
                loaders: ['style', 'css?sourceMap', 'sass?sourceMap']
            },
            {test: /\.woff(\?v=\d+\.\d+\.\d+)?2?$/, loader: 'url-loader'},
            {test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/, loader: 'url-loader'},
            {test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, loader: 'url-loader'},
            {test: /\.svg(\?v=\d+\.\d+\.\d+)?$/, loader: 'url-loader'}
        ]
    },
    postcss: [
        require('autoprefixer')
    ],
    resolve: {
        modulesDirectories: ['node_modules', 'bower_components', bootstrapPath, sourcePath],
        extensions: ['', '.js', '.jsx', '.css'],
        alias: {
            webworkify: 'webworkify-webpack',
            '$': 'jquery',
            'jQuery': 'jquery'
        }
    },
    devServer: {
        contentBase: './assets',
        colors: true,
        historyApiFallback: true,
        inline: true,
        hot: true
    }
};

//index.html
<!DOCTYPE html>

    <meta charset="utf-8">
    <title>Webpack Sample Project</title>

//assets/js/index.js
import '../star-rating';
import '../../node_modules/turf/turf';
import '../ie10-viewport-bug-workaround';
import '../../node_modules/jquery/src/jquery.js';
//import '../../node_modules/materialize-css/dist/js/materialize.js';
//import '../../node_modules/materialize-css/dist/css/materialize.css';
//import '../../node_modules/materialize-css/js/init.js';
import '../../node_modules/bootstrap/dist/js/bootstrap.js';
import '../../node_modules/bootstrap/dist/css/bootstrap.min.css';
import '../css/custom';

//head_css.html
{% load staticfiles %}

{% load render_bundle from webpack_loader %}

{% render_bundle 'main' %}

<link href="{% static 'css/font-awesome.min.css' %}" rel="stylesheet">

{#<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>#}

{#<link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}">#}
{#<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">#}

{#<link href="{% static 'css/navbar-static-top.css' %}" rel="stylesheet">#}
{#    <link href="{% static 'css/star-rating.min.css'%}" media="all" rel="stylesheet" type="text/css">#}
{#<link href="{% static 'css/star-rating.css' %}" media="all" rel="stylesheet" type="text/css">#}
{#<link href="{% static 'css/custom.css' %}" rel="stylesheet">#}

//settings/common.py

# -*- coding: utf-8 -*-
"""
Django settings for myapp project.

For more information on this file, see
https://docs.djangoproject.com/en/dev/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/dev/ref/settings/
"""
# from __future__ import absolute_import, unicode_literals   # python 3 toch?
import environ  # in baserequirements as django-environ

ROOT_DIR = environ.Path(__file__) - 3  # (/a/b/myfile.py - 3 = /)
APPS_DIR = ROOT_DIR.path('myapp')

env = environ.Env()
environ.Env.read_env()

# WEBPACK LOADER CONFIG
WEBPACK_LOADER = {
    'DEFAULT': {
        'BUNDLE_DIR_NAME': 'bundles/',
        'STATS_FILE': str(ROOT_DIR.path('webpack-stats.json'))
    }
}

# print(WEBPACK_LOADER['STATS_FILE'])

# APP CONFIGURATION
# ------------------------------------------------------------------------------
DJANGO_APPS = (
    # Default Django apps:
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.messages',
    'django.contrib.staticfiles',

    # category: Admin apps
    'flat',
    'django.contrib.admin',
)

THIRD_PARTY_APPS = (
    'crispy_forms',  # Form layouts
    'allauth',  # registration
    'allauth.account',  # registration
    'allauth.socialaccount',  # registration

    'webpack_loader',  # Django-webpack-loader

    'localflavor'
)

# Apps specific for this project go here.
LOCAL_APPS = (
    'myapp.users',  # custom users app
    # Your stuff: custom apps go here
    'newsletter',
    'jobs',
    'likes',
    'matches',
    'profiles',
    'questions',
)

# See: https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS + ALLAUTH_PROVIDER_APPS

# MIDDLEWARE CONFIGURATION
# ------------------------------------------------------------------------------
MIDDLEWARE_CLASSES = (
    # Make sure djangosecure.middleware.SecurityMiddleware is listed first
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'django.middleware.clickjacking.XFrameOptionsMiddleware',
)

# MIGRATIONS CONFIGURATION
# ------------------------------------------------------------------------------
MIGRATION_MODULES = {
    'sites': 'myapp.contrib.sites.migrations'
}

# DEBUG
# ------------------------------------------------------------------------------
# See: https://docs.djangoproject.com/en/dev/ref/settings/#debug
DEBUG = env.bool("DJANGO_DEBUG", False)

# FIXTURE CONFIGURATION
# ------------------------------------------------------------------------------
# See: https://docs.djangoproject.com/en/dev/ref/settings/
# std:setting-FIXTURE_DIRS
FIXTURE_DIRS = (
    str(APPS_DIR.path('fixtures')),
)

# TEMPLATE CONFIGURATION
# ------------------------------------------------------------------------------
# See: https://docs.djangoproject.com/en/dev/ref/settings/#templates
TEMPLATES = [
    {
        # See: https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-TEMPLATES-BACKEND
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        # See: https://docs.djangoproject.com/en/dev/ref/settings/#template-dirs
        'DIRS': [
            str(APPS_DIR.path('templates')),
        ],
        'OPTIONS': {
            # See: https://docs.djangoproject.com/en/dev/ref/settings/#template-debug
            'debug': DEBUG,
            # See: https://docs.djangoproject.com/en/dev/ref/settings/#template-loaders
            # https://docs.djangoproject.com/en/dev/ref/templates/api/#loader-types
            'loaders': [
                'django.template.loaders.filesystem.Loader',
                'django.template.loaders.app_directories.Loader',
            ],
            # See: https://docs.djangoproject.com/en/dev/ref/settings/#template-context-processors
            'context_processors': [
                'django.template.context_processors.debug',
                'django.template.context_processors.request',
                'django.contrib.auth.context_processors.auth',
                'django.template.context_processors.i18n',
                'django.template.context_processors.media',
                'django.template.context_processors.static',
                'django.template.context_processors.tz',
                'django.contrib.messages.context_processors.messages',
                # Your stuff: custom template context processors go here
            ],
        },
    },
]

# See: http://django-crispy-forms.readthedocs.org/en/latest/install.html#template-packs
CRISPY_TEMPLATE_PACK = 'bootstrap3'

# STATIC FILE CONFIGURATION
# ------------------------------------------------------------------------------
# See: https://docs.djangoproject.com/en/dev/ref/settings/#static-root
# Dit is waar uiteindelijk de staticfiles 'echt heen gaan' op de server (dmv collectstatic).
STATIC_ROOT = str(ROOT_DIR.path('staticfiles'))

# See: https://docs.djangoproject.com/en/dev/ref/settings/#static-url
# This is the URL reference:
STATIC_URL = '/static/'

# See: https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#std:setting-STATICFILES_DIRS
# Dit zijn de staticfiles 'als onderdeel van je project development'; collectstatic copieert van
# STATICFILES_DIRS naar STATIC_ROOT !!
STATICFILES_DIRS = (
    str(APPS_DIR.path('static')),
    '/home/usr/myapp/assets/bundles')

# See: https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#staticfiles-finders
STATICFILES_FINDERS = (
    'django.contrib.staticfiles.finders.FileSystemFinder',
    'django.contrib.staticfiles.finders.AppDirectoriesFinder',
)

# MEDIA CONFIGURATION
# ------------------------------------------------------------------------------
# See: https://docs.djangoproject.com/en/dev/ref/settings/#media-root
MEDIA_ROOT = str(APPS_DIR('media'))

# See: https://docs.djangoproject.com/en/dev/ref/settings/#media-url
MEDIA_URL = '/media/'

# URL Configuration
# ------------------------------------------------------------------------------
ROOT_URLCONF = 'config.urls'

I read in one of the closed issues that Django-webpack-loader solution is aimed at .js and .css ; So not images and other static items. Is that correct y/n? If yes, how should you treat 'other items': the Django way, or the JS way (or choose?). Does it makes sense to just 'build a bridge' for js and css ?

In modern day application, JS and CSS (or even just JS) are the "entry points" of your frontend applications. They will internally load and use other things like images, videos, etc. Only case where Django would need direct access to images or other files is when you want to reference them directly in a django template and not inside JS/CSS. To address this, we have an undocumented template tag. It is undocumented because I'm not sure yet what to name it exactly and how it should work. You can check an example here: https://github.com/owais/django-webpack-loader/blob/b91c62b57c23784c8f2554437909da4cacd2df80/tests/app/templates/home.html#L12-L13
Also, the idea is that the result of your webpack bundle will be collected by django usng collectstatic so all files generated/managed by webpack should be available to django's static tag as well.

I read in one of the closed issues that Django-webpack-loader solution is aimed at .js and .css ; So not images and other static items. Is that correct y/n? If yes, how should you treat 'other items': the Django way, or the JS way (or choose?). Does it makes sense to just 'build a bridge' for js and css ?

Following the article it says "If you left webpack running in watch mode, it should automatically pick up the changes and compile a new bundle." I tried a simple Django project to make things more clear for myself, but automatic rebuilding is not happening... It just compiles the same bundle once (no new hash), no error... nothing new.

This is not really a problem specific to webpack-loader. It is directly related to webpack. I'd suggest to check webpack docs and ask this on webpack repo for better help (I'll check your example and try to help shortly)

I did manage to have webpack build script run and then have new bundles compiled (when I imported new js libraries), so that seems to work fine; also the bundle-tracker gets new correct hash, so that seems fine. However, I tried to incorporate the js and css into a page, it does not work I think. Part of the problem is I do not know if I test correctly. Your article gives the setup/framework but no real proof of working js or css as far as I can see. In my setup for sure I only see html layout so the css is not coming through from the bundle...

As long as {% webpack_static 'my-image.png' %} produces the correct URL for the bundle, it can be considered to be working.

I do not know exactly how the css should work. It seems that it should be included into the main-hash.js bundle and is import into html from that bundle... Is that correct? Could there be a detailed example of how to go about. For example I would like to use bootstrap which consists of bootstrap.js and bootstrap.css; Do I import both from the index.js and then they will be included in the bundle and then using the {% load render_bundle from webpack_loader %} {% render_bundle 'main' %} ? An example with bootstrap and/ or materialcss would be very helpful. Also when I have a custom.css, how do I include it?

Normally webpack will create a single bundle for JS and CSS. JS bundle will then automatically load the CSS into the page. You can use https://github.com/webpack/extract-text-webpack-plugin to split your bundles in JS and CSS.

I do not really need the react part; I assume that is not a dealbreaker and using django-webpack-loader still makes sense?!
webpack-loader knows nothing about react or even webpack. It just reads a manifest file and render

After you made a bundle with webpack and want to go live, do you include the bundle in a 'normal Django static folder'? It seems to be explained somewhere but it is still not really clear to me.

That is the simplest solution for most cases, yes but you are not limited to it.

This looks like your STATIC_URL was not picked up because it should have started with /static. What I would suggest to try add publicPath: '/static' to webpack config and see if that works. Google "webpack publicPath"

Thanks for you helpful comments. I added publicPath: '/static' to webpack config and now it indeed starts with /static/main-etc in the index.html  However my css is still not appearing in my pages..., so what else is wrong?

So regarding question 4, you mention: "JS bundle will then automatically load the CSS into the page". How are CSS files included in the JS bundle? By importing them in index.js ?
Yes, by importing them as if they were JS modules. This would be a better question to ask in the webpack community as you'd get better answers there. You should also read this: https://webpack.github.io/docs/stylesheets.html

Ok, so the css is included in the bundle, but how is the bundle loaded into my Django html templates?

Ok, so the css is included in the bundle, but how is the bundle loaded into my Django html templates?

https://github.com/owais/django-webpack-loader#templates

Works now. Seems the "import '../star-rating';"; was causing problems somehow...    Furthermore I left out the "publicPath: '/static' " to make it work.


include template controller scenarios in content projection docs

The new Shadow DOM v1 spec has support for slot "fallback content". As a result, our replaceable attribute is no longer needed and has been removed in favor of slot fallbacks. However, slots do not solve the problem of replacing a template that is used by a repeat, if or other template controller. So, we still support placing the part attribute on a template controller's element and overriding it by using replace-part in the element's content.
http://blog.durandal.io/2016/06/08/getting-prepared-for-aurelia-1-0-0-rc/

we need to add this somewhere in here: http://aurelia.io/hub.html#/doc/article/aurelia/templating/latest/templating-content-projection
note: replaceable is still required

I'm looking for documentation on how to implement something like this:
<template>

    Industry
    <select id.bind="titleSafe" value.bind="value" class="form-control">
      <option repeat.for="i of itemsSource" >
        <slot></slot>
      </option>
    </select>

</template>

My guess is that slots don't support this kind of scenario? Unfortunately I can't find any other documentation on this topic.
It's really confusing because here: http://blog.aurelia.io/2016/05/23/aurelia-shadow-dom-v1-slots-prerelease/
it's mentioned that slots can be used, but this one: http://blog.aurelia.io/2016/06/08/getting-prepared-for-aurelia-1-0-0-rc/ says otherwise?

hey @arnederuwe - apologies for the confusion. This issue (#432) is here so we don't forget to improve the documentation around this. Basically slot doesn't work in repeats, I don't know specifically why other than there's some limitation in the spec- maybe @EisenbergEffect can elaborate.
You'll need to use the part/replace-part syntax in repeats. Here's an example: https://gist.run/?id=acf8253329939b2e046cd0e3394351fe

Thanks for the reply! I got a working alternative with replace-part now.
Not really a fan of mixing these two ways of templating in my projects though.. So I'm trying to tackle the issue in another way. If you can spare the time, could you take a look at my question here? Thanks again!

@arnederuwe http://stackoverflow.com/a/43325889/725866

Exactly what I needed, thanks for the example!


ncp: Updates to use the new state changed flag mechanism.

This change makes use of the general-purpose state changed flags to induce the NCP to push out updates for various properties.

LGTM 👍


Generate VSCode snippets file upon building.

This update will generate pastable snippets for VSCode inside vscode_snippets directory upon building.

It looks like a optional work.
I don't think this is important for this repository.

Yes. This is not directly relevant to the repo.
I'll keep a copy of the branch on my local for reference. Feel free to close the PR. ;)


How to get the Google Drive service to access the API

The Google Drive service is protected inside the adapter so here is the extension to retrieve the API service. I assumed that we shouldn't modify the adapter because that is outside it's usual purpose.
I needed the service to change file permissions inside Google Drive, and retrieve other API resources. Why tear my hair out and create another service provider? This will retrieve the Google_Service_Drive object.
class GoogleDriveAdapter extends \Hypweb\Flysystem\GoogleDrive\GoogleDriveAdapter {

    public function __construct(\Google_Service_Drive $service, $root = null, $options = array())
    {
        parent::__construct($service, $root, $options);
    }

    public function getService()
    {
            return $this->service;
    }
}

I highly recommend using @ivanvermeyen's service provider if you are using laravel. Just replace Flysystem's adapter with the one above.

@Unemployed Thanks! 👍


Rotate units on balance

closes #504
Not much room for an extra icon, opted for clicking the balance
@tiero please review

Do not round bits, add the sats as decimals

@tiero b0c560d adds spaces also on bits and sats, and show decimals on bits.
https://github.com/vulpemventures/marina/assets/9318412/238c1980-97cd-4da7-8ccf-2bb891a76129


feat: add option to ignore (unknown) data type formats

Closes #144

Coverage increased (+0.04%) to 97.832% when pulling 568d72e3ecb6d060114bbb1b8b6d3b88f8d76030 on ignore-formats into 6ab047c1429ca9f01757384740725a0524fe31d5 on master.


Add stokes v imaging mode to continuum pipeline

To support #53 and other science use cases a specific imaging mode for stokes-v should be added to the continuum pipeline. This is slim enough that a separate pipeline is not needed, and there could be some use of the image for leakage characterisation.
To do this I think a separate field in the strategy files should be added like we have for defaults / initial / self-cal. It will have a wsclean options field to it. Should stokes-v imaging be requested we pull this from the strategy file (and use other defaults), and image.
Once that work routinely we can consider adding per-beam stokes-v imaging.
Likely going to have to extend the flint naming format to be aware of the stokes. For stokes-v imaging this will have to be passed through to the wsclean imaging code to tell it to create an appropriate name from naming.py. The corresponding regex's and results class should also be updated to recognise this.

This is being worked on under the stokesv branch. More changes and tweaks than i thought, but seems to be working now.

Added in #149


UP-4928: JGroups JDBC_PING db dialect-aware

Checklist

[x] the individual contributor license agreement is signed
[x] commit message follows commit guidelines

Description of change

JGroups JDBC_PING handles it's own SQL instead of integrating with Spring/Hibernate. This PR leverages Spring to define the SQL for common databases and selects the correct SQL based on the property hibernate.dialect.

https://issues.jasig.org/browse/UP-4928

This change looks really good :+1:;  I'm glad to have it in.

Let's merge as soon as the CI finishes.

:penguin: :checkered_flag: Windows and Linux CI builds good to go. :white_check_mark: :arrow_right:
:apple: MacOS builds are currently down on Travis CI :construction_worker_man: :no_entry:
There is currently no ETA for when MacOS builds will be brought back online, this can be merged as is.

We've rebooted our vCenters and continue to work on stabilizing things. All macOS builds remain stopped thank you for patience.
At the moment we do not have an ETA for when we will resume builds.

https://www.traviscistatus.com/incidents/4qylrqvy50gy


Shared cache for In-memory databases support added

(!) This pull-request has been already merged into https://github.com/jayralencar/sqlite-sync.js
It was merged 6 months ago, but they still have not published a new release to npm. I really need this feature for my project unit-testing
In-memory databases are allowed to use shared cache. It allowes to connect multiple times to one in-memory database and see changes by previous session. Special parameter cache=shared should be provided in URI filename.
See https://www.sqlite.org/inmemorydb.html
It's a useful feature for unit-testing. I have implemented it, works fine.

@rory1212 check please


Different sort methods for each albums.

Is your feature request related to a problem? Please describe.
I'm not an native English speaker but translators always bad at translating Chinese to English. Sorry!
I have about 20 different albums due to my amazing Chinese apps' different stategies to sort pics. (eg. Image_UNIX timestamp or bili_UNIX timestamp)
Although they might use UNIX timestamps, but their custom albums didn't ordered in a right way and I often need to change the sort method to adapt this situation.
But this setting is for every albums!
Describe the solution you'd like
So Aves might need to store this settings in every albums so I can always use different methods for different apps
Describe alternatives you've considered
nope
Additional context
Chinese version if you can't understand Chiglish:
我有大概20多个由中国知名app创建的以不同方式命名文件的相册。（例如用 Image_UNIX时间戳或者 bili_时间戳之类的……)
虽然看起来好像很好排列，但是Aves总是没法正常排列它们导致我需要经常更改排列方式。
但是这设置是应用到每一个相册的而我不是每个相册都需要用添加/修改时间排列的。

所以Aves貌似需要分别存储这些排序设置我才好正常看相册……

Duplicate:

#207


delegated snapshot needs to use store packing

timestamp and delegated cumulative

duplicate of https://github.com/EkuboProtocol/governance/issues/4


If GITHUB_ACTIONS is true, the proxy command fails if paths aren't available

Describe the bug
The proxy programme seems to do some GitHub Actions 'magic' under the hood which crashes if the files aren't available to the command. This is the case for example if you use a container without mapping the files into the container.
If you run the underlying binary then it all works fine, it's the proxy programme that has this bug. The code responsible seems to be here: https://github.com/tofuutils/tenv/blob/63f3e3e18e123c19988d073a13bba1f3a2a2477f/pkg/cmdproxy/proxy.go#L87-L91
To Reproduce
In a Github Actions build (or locally in an image and setting GITHUB_ACTIONS to true), use a container using something like taskctl (a task runner which can use Docker contexts).
Try to run terraform, it'll crash.
See Additional context for an example snippet.
Expected behavior
The command should run correctly, if the file doesn't exist then just output to stdout/err etc. as normal. This shouldn't cause the whole proxy to crash...
Screenshots

Environment (please complete the following information):
Inside a container where Github Env files aren't copied in.
OS: Ubuntu (Minimal)
ENV: GITHUB_ACTIONS="true"
tenv version v3.1.0
Additional context
Minimum reproducible code:
$ docker run --rm -it -v $(cygpath -w ${PWD}):/app ensono/eir-infrastructure:1.1.251 pwsh
PowerShell 7.4.4
PS /> ${env:GITHUB_ACTIONS} = $true
PS /> terraform
Failure during /usr/local/tenv/.tenv/Terraform/1.5.7/terraform call : open : no such file or directory

I think, we can log instead of stop for this kind of error. I will do that soon.


CORE-374 - Duplicate Community Memberships

Closes CORE-374

:tada: This PR is included in version 4.9.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


diacylglycerols incorrecty assigned as icosanoids

Hi,
the compounds listed below are children of icosanoid (https://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI:23899)
DG(14:0/20:2(11Z,14Z)/0:0) (CHEBI:88796) is a icosanoid (CHEBI:23899)
DG(14:0/20:3(5Z,8Z,11Z)/0:0) (CHEBI:88794) is a icosanoid (CHEBI:23899)
DG(14:0/20:3(8Z,11Z,14Z)/0:0) (CHEBI:88805) is a icosanoid (CHEBI:23899)
DG(14:0/20:4(5Z,8Z,11Z,14Z)/0:0) (CHEBI:88804) is a icosanoid (CHEBI:23899)
DG(14:0/20:4(8Z,11Z,14Z,17Z)/0:0) (CHEBI:88803) is a icosanoid (CHEBI:23899)
DG(14:1(9Z)/20:2(11Z,14Z)/0:0) (CHEBI:88723) is a icosanoid (CHEBI:23899)
DG(14:1(9Z)/20:3(5Z,8Z,11Z)/0:0) (CHEBI:88724) is a icosanoid (CHEBI:23899)
DG(14:1(9Z)/20:3(8Z,11Z,14Z)/0:0) (CHEBI:88722) is a icosanoid (CHEBI:23899)
DG(15:0/0:0/20:4n6) (CHEBI:172117) is a icosanoid (CHEBI:23899)
DG(18:0/0:0/20:4n3) (CHEBI:171229) is a icosanoid (CHEBI:23899)
DG(18:0/0:0/20:4n6) (CHEBI:171234) is a icosanoid (CHEBI:23899)
DG(18:1n7/0:0/20:2n6) (CHEBI:171998) is a icosanoid (CHEBI:23899)
DG(18:1n7/0:0/20:3n6) (CHEBI:171226) is a icosanoid (CHEBI:23899)
DG(18:1n7/0:0/20:3n9) (CHEBI:171227) is a icosanoid (CHEBI:23899)
DG(18:1n9/0:0/20:2n6) (CHEBI:171999) is a icosanoid (CHEBI:23899)
DG(18:1n9/0:0/20:3n6) (CHEBI:171224) is a icosanoid (CHEBI:23899)
DG(18:1n9/0:0/20:3n9) (CHEBI:171225) is a icosanoid (CHEBI:23899)
However they don't match the definition of icosanoid
Any member of the group of signalling molecules arising from oxidation of the three C20 essential fatty acids (EFAs) icosapentaenoic acid (EPA), arachidonic acid (AA) and dihomo-gamma-linolenic acid (DGLA).
and their relationship to it should be removed. They are actually diacylglycerols that contain a 20 carbon fatty acid, but that C20 fatty acid is not an icosanoid either.
Thanks and all the best, Alan

Thanks for letting us know. These child classes have now been reassigned.


fix spaces + using regions

Using regions just hides the complexity a file hosts. This is also true for using-regions.


Omnipool optimal arbitrage size calculation

https://github.com/galacticcouncil/HydraDX-simulations/blob/main/hydradx_update/derivations/Optimal_arbitrage.ipynb

@inventandchill you can type latex directly into python notebooks by switching a cell from "code" to "markdown", then wrapping math equations in "$" like $/phi_i^j$ for in-line equations or
$$
\phi_i^j
$$
for equation blocks

I've reviewed the math, and everything looks good except I think for the fee calculation... we have two fees in the spec, an asset fee and a protocol fee, and I do not believe your equation handles them correctly. But everything else looks good.
I made a pull request for your review, once you confirm that the equations I put directly in the notebook match the equations in you screenshots, I will remove the screenshots and then push the update to main. I'd prefer that we put equations directly into python notebooks rather than in images, athough it's great that you're getting utility out of SMath.
Once we've gotten that done we can look at the fee formula.

@poliwop  created new file with all changes and removed pictures
https://github.com/galacticcouncil/HydraDX-simulations/blob/cg-optimal-arbitrage-math/hydradx_update/derivations/Optimal_arbitrage_v2.ipynb

@poliwop Math derivation and Smath model updated with adjustment for protocol and asset fee
https://github.com/galacticcouncil/HydraDX-simulations/blob/cg-optimal-arbitrage-math/hydradx_update/derivations/Optimal_arbitrage.ipynb

The formula for \Delta Q_i with fee does not look correct to me. If the trade is asset i in for asset j out, then the fees don't affect \Delta Q_i. If the trade is asset j in for asset i out, then \Delta Q_i should be off from the no-fee version by a factor of (1 - f_P). This formula doesn't match either of those...

Ah I think I see a complication, when accounting for fees the spot prices change a bit and in particular do not match if you consider spot prices for a trade in each direction of an asset pair.
For example the spot price of trading asset i in for j out (spot price of asset i denominated in asset j) is
Qi/Qj * Rj/Ri * (1 - f_A) * (1 - f_P)
while the spot price of trading asset j in for i out (also asset i denominated in asset j) is
Qi/Qj * Rj/Ri / [(1 - f_A) * (1 - f_P)]
So the analysis with fees may be a bit more complex

Just reading reply but cant undertand what is wrong with fomula sry. Could you describe it pls? As i undertand we swap from delta_Ri to delta_Qi.  delta_Qi x f_p go to treasury. Rest is go for swapping delta_Qj to delta_Rj. delta_Rj x f_a is go to protocol owned liqudity. Our goal is to make dollar price of Qi is equal to dollar price of Qj. And everything is ok, checked it with numbers. In our case arbitrage agent add asset i and receive asset  j from pool

With fees, there is no longer just one spot price for dollar price of Q_i. There's a bid/ask spread. I think you would need to determine which direction the arbitrager is trading, and then use the appropriate spot price for the analysis?

Yes, looks like i missed it in description. Formula is ok when (Price of Qi in $ < Price of Qj in $). In opposit case it is also ok, but we need to assume that i is j and j is i


Add support for lastpas

Would be neat to support passwords and other secrets stored in password managers via this tool, such as https://github.com/lastpass/lastpass-cli .

Good idea. I'm assuming there is some case where development-related secrets are pulled from Lastpass (in the sense that it's used also for development purposes and not just as a personal thing).
I'm going to label it appropriately and we'll built a provider.
Thanks!

Is it possible to integrate the new Lastpass Secret Managment too?

@schiederme yes, that is on the roadmap as well

Hey, @artis3n I have implemented LastPass into teller via an HTTP request.
The option to use CLI is going to handle issue #44  for multiple providers

LastPass was added.


Clarify/revisit Webview#uri

re #44466
This doesn't seem like a natural fit and I wonder how it ended up in the proposed API

I agree it's confusing. First it differs from the old API in that it does not read the file content. Second it does not actually associate the webview with any resource so it's not a Resource Identifier.


Inconsistent de-serialization of check fields from DDIC in Dynpros.

Hi,
[using the latest version of abapGit (v1.87) with ABAP 7.4]
I found an issue when de-serializing dynpros that have a check field for which a flag
type has been taken from the Dictionary. The procedure to reproduce the issue is the following:

Create a check field in the dynpro using a flag field from the Dictionary
Accept the prompt to import the properties of the the flag from the Dictionary
There has to be enough space in the Dynpro so the field label is taken
Manually erase the generated text
Notice that the Modify setting in the properties of the field is kept blank. If other circumstances if a dictionary field is taken but the text is not taken (e.g. there is no enough space) this label is automatically set to X.

Save and activate the dynpro
Transport with abapgGit
After the de-serialization in the the target system the Modify setting has been set to F with the corresponding field label text taken from the Dictionary.

This last point can be a bigger issue since at design time other fields may have been added to the dynpro, potentially overlapping with the check field label. In this last case, the error RPY_DYNPRO_INSERT: 6 is triggered during de-serialization stopping the whole process.
I have a patch for this. In the class zcl_abapgit_objects_program, method deserialize_dynpros, add the following block before calling the RPY_DYNPRO_INSERT function:
if  <ls_field>-type = 'CHECK'
    and <ls_field>-from_dict = abap_true
    and <ls_field>-text is initial
    and <ls_field>-modific is initial.

        "If the previous conditions are
        "met the value 'F' will be taken over
        "during de-serialization potentially
        "overlapping other fields in the screen,
        "we set the tag to the correct value 'X':

        <ls_field>-modific = 'X'.

endif.

This addition solves the issue. If you agree I can submit a pull request with the correction.

lets try it, please submit a PR with the test case to https://github.com/abapGit-tests/PROG_dynpro_modi/settings

done

now?

plus can you help submitting a PR to abapGit with the above fix?

Since the patch is already merged into master I think we can close this issue


How to understand the destination of each GRPC request from clientv3 to etcd server ?

We are running clientv3 v3.0.17 and etcd server 3.1.13.
There are 3 etcd servers in our cluster. As far as we know, the etcd clientv3 pins to a particular etcd server as long as the "connection is healthy".
We would like to understand which etcd server process is used for each gRPC call.  Is there a way to achieve this ?
Some context.
We run etcd in kubernetes 1.6.13 as its storage backend.  In kubernetes, only the apiserver has direct access to etcd. ApiServer code in kube1.6.3  uses etcd client version 3.0.17
Our etcd  cluster for kubernetes uses etcd 3.1.13.
Under some circumstances the kubernetes apiserver  (etcdv3 client) responds back to its own clients (e.g kubelet, kubectl) with continuous 5XX requests. During that time, we want to understand which member of the etcd cluster is used by kube apiserver. What is the pinned etcd endpoint in the clientv3 ?
Is there a way to log the grpc requests between etcdv3 client 3.0.17 and etcd server 3.1.13 ? Or any other way to get the information about the endpoints ?
Explored Avenues
On the clientv3 side:
I think the grpc.Balancer.Get function returns the endpoint address used for each grpc request in clientv3. I think one could add a log print here and make apiserver log the etcd address per request. That unfortunately requires code change.
On etcd Server 3.1.14 side:

On the etcd server side, the --debug option as mentioned here only mentions v2 keystore . Even though there are a lot of requests to the v3 store happening, the etcd logs only have these debug messages

2018-05-15 23:44:15.896975 D | etcdserver/api/v2http: [GET] /v2/keys/coreos.com/network/subnets?recursive=true&wait=true&waitIndex=1201704305 remote:<IP_ADDRESS>:37415
2018-05-15 23:44:15.927859 D | etcdserver/api/v2http: [GET] /v2/keys/coreos.com/network/subnets?recursive=true&wait=true&waitIndex=1201704305 remote:<IP_ADDRESS>:37417
2018-05-15 23:44:16.007575 D | etcdserver/api/v2http: [GET] /v2/keys/coreos.com/network/subnets?recursive=true&wait=true&waitIndex=1201704305 remote:<IP_ADDRESS>:37419

Is this expected, the debug messages not mentioning the requests to the V3 store ?

This issue mentions a http://etcd:2379/debug/requests/  endpoint but I do not think it is available in version 3.1.13 yet on the server.

Other approaches ourside of etcd.
We have tried logging at gRPC level or http2 level as well as Linux tools like tcpdump or lsof. They did not reveal the required information. We detail the experience in stackoverflow.
Using gRPC metrics was suggested in etcd-dev . That also does not provide the per request fine level granularity.

We would like to understand which etcd server process is used for each gRPC call. Is there a way to achieve this ?

We do not expose that information, since it does not really matter. All requests are forwarded to leader automatically.
Why do you need this information?

@gyuho  For this use-case it is mostly debugging. We think there is a system level issue and this information would help.
We believe something funky is happening between the kube-api-server and the etcd.
In order to increase understanding it would help significantly if we know to which etcd server the api-server is talking for each request.


List of external examples

Some users have written helpful examples and notes on the web, though they are not accessible from the official site, repository, and documents. I want a list of helpful external examples for convenience of users and developers.
Related to #75.

We should think about how to maintain the Chainer's version with which an example runs. IMO, it is OK to list up the examples with the version at the time the examples are publicized, and if the authors notify us that the examples are up to date, then we update the list.

I want to make an initial list. Please write links here.

I made a initial list of external examples by searching github. And, I found that it is difficult to check which version of chainer is supported.

Hmm, it might be helpful to segment the list by implemented method names and sort each segment by last update time (or the first release date, which does not require updates of the list).

I made an initial list of external examples here: https://github.com/pfnet/chainer/wiki/External-examples

It looks good!

:+1:

Closed. See https://github.com/pfnet/chainer/wiki/External-examples for the list of examples. Thank you @unnonouno!


[AIRFLOW-441] Add Python3 support to hipchat_operator

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

https://issues.apache.org/jira/browse/AIRFLOW-411

Testing Done:

Operator tested with Python 3.4

I don't think that Travis CI build is broken by this commit. It looks like build job # 3625.4 is failing for all recent PRs.

@d-lee rather than have to split the code for Py2/Py3, maybe just change default_options.iteritems() to default_options.items(), which will work in both versions? In this case I don't think there's any real benefit to using the lazy iterator in Py2 anyway.

I don't see a reason for using iterator too but I was not completely sure why the original author wanted it this way, hence the code split. I am totally fine with just replacing it with default_options.items() and params.items() .
Also, I don't think that utf-8 encoding for dictionary keys and values in original code actually works (line # 130). The result of an encode() is a bytestring, and bytestrings cannot be used as dictionary keys nor can they be serialized by json.dumps() . I think it has to be removed

@d-lee yeah, the double-edged sword of contrib is that it's easy for the community to contribute but it's not necessarily maintained or tested as well as core. My guess with regard to iteritems is that the author was used to the best-practices Python2 way, and it's fine to switch. You may be right about the utf-8 encoding, I don't use this Operator and don't have an easy way to test it.

@d-lee  @jlowin sorry about the confusion, I used .iteritems() out of habits, but definitely agree .items() is the way to go.
As for the question about why encoding was used,  'bytes' type was only introduced in Python3, so .encode() in python2 encodes 'unicode' to 'str'.
In particular, this code is probably encoding 'str' to 'str' for the most part, and it works for a very evil reason. It sees that the object is not a unicode and first try to implicitly coerce it into unicode (which works since it's ascii by default) and then encode it into string... I think the reason I did this was because I was hitting unicode errors during testing for some reason with data that were passed in, but I cannot recall exactly.
I do agree that for this to be python3 compatible we should not be encoding it. As long as removing the encode will still work with 2, Im more than happy for the change! Thanks so much for the fix.

Just realized if 'notify' and 'card' were ever passed in to replace the default values, current implementation would break as well since they are not type 'str'. Oversight on my end. Thanks for the catch again.

thanks @jgao54! No need to apologize, iteritems is the correct Py2 way :)
Elsewhere in Airflow I used the python-future library for cross-version compatibility, in particular around strings. It's been a while since I looked at it but I think that if you do from builtins import str you should get a cross-version str() function that you can apply in place of that .encode() call. But please test it, that's just from memory.

Current coverage is 64.70% (diff: 100%)

Merging #1721 into master will decrease coverage by 0.03%

@@             master      #1721   diff @@
==========================================
  Files           127        127
  Lines          9498       9498
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           6149       6146     -3
- Misses         3349       3352     +3
  Partials          0          0

Powered by Codecov. Last update 821bdb5...83b7d7c

hipchat_operator.py is not tracked by codecov. Code quality decrease comes from changes brought in by rebasing on current master.

@d-lee this looks good -- I assume you've tested in Py3? Is it possible to confirm that it runs in Py2 (I don't see why it wouldn't)?

It's been tested in Python 3.4 (full integration test with operator used in a dag). Also we run everything on Py3, there is no quick and easy way for me to test in Py2. Sorry

@jgao54 would it be possible for you to run this in Py2?

Why just not add some tests with mock? It will help verify py2 compat.

Such a minor change, LGTM

Please note -- the correct issue is 411, not 441


Add activate/deactivate extension for Constraint.

Before
let constraint: Constraint? = view.leadingToSuperview()

...

if let c = constraint {
    Constraint.deactivate([c])
}

After
let constraint: Constraint? = view.leadingToSuperview()

...

constraint?.deactivate()

merge merge merge +1


The same query condition continuously click query to get different conditions

What did you do?
The same query condition to get different results graph trend line,Continuous click query.
ceph_osd_apply_latency_ms
What did you expect to see?
The same graph trend line
What did you see instead? Under which circumstances?
Environment

System information:
Linux 3.10.0-693.el7.x86_64 x86_64

Prometheus version:
2.10.0

Alertmanager version:
insert output of alertmanager --version here (if relevant to the issue)

Prometheus configuration file:

insert configuration here

Alertmanager configuration file:

insert configuration here (if relevant to the issue)

Logs:

insert Prometheus and Alertmanager logs relevant to the issue here

Thanks for your report. It looks as if this is actually a question about usage and not development.
It makes more sense to ask questions like this on the prometheus-users mailing list or our forums rather than in a GitHub issue. In our community channels, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.


Place as dictionary

I am writing a small application in which I want to return the found Places as JSONs. As this is very tedious to do manually, it would be nice to have a dictionary representation of Places (and possibly whole SearchResuts).
If this is an acceptable addition, I would create a pull reques implementing a as_dict() for the classes.

I hadn't figured out, that details() alsready implements this.


refactor(app): Strongly suggest dropping tips

Closes EXEC-631

Overview
Updates existing drop tip copy to strongly suggest users drop tips.
This PR also adds a new modal on the desktop app to help call attention to dropping tips. When users close out of this modal, the drop tip banner still displays if tips are attached. If a user completes tip removal on the ODD/another app, this modal will dismiss if no more tips are detected.
During Error Recovery

Accessed by cancelling a run or any recovery flow that involves optional tip dropping.
 Dismissing the modal preserves the banner if tips are attached.

Test Plan and Hands on Testing

See screenshots for updates. The new desktop modal renders at the end of the run if tips are attached (and soon, only if not explicitly handled during error recovery).

Changelog

Updated end-of-run tip detection alerts to more actively encourage users to perform tip dropping (if tips are attached).

Risk assessment
low - mainly copy changes, and the modal, while intentionally intrusive, is easy to demonstrate as dismissable

I'm not sure if this is the right place to bring this up, but in the "During error recovery" screenshot, I find the "Continue" button kind of confusing. It's not clear to me if I should manually remove tips and then tap the button, or if I should tap it to tell the robot to move tips. Should it be "Begin removal" instead?

Should it be "Begin removal" instead?

Yes, yes, it should. Thanks!


there not exists 'idToLabel.pkl'

When I wanted to run the script 'test_model.py,' I found no 'idToLabel.pkl'.
Then I checked the 'build_dataset.py' and could not find the 'idToLabel.pkl' codes.
Could you upload the codes for generating 'idToLabel.pkl'?

My apologies, the dictionary was hardcoded in previously and I added the file in the test_model but not build_dataset script. I have added saving the model to the build_dataset script


fix(docs): correct screenshots

Signed-off-by: doomswatter<EMAIL_ADDRESS>Issue #171
Uploaded corrected screenshots.
Changes

Uploaded corrected screenshots with same names as originals to work with current code.

Flags

Related Issues

Issue #171

Could you provide context on where we can find these changes in your netlify deploy? For example https://deploy-preview-193--accordproject-docs.netlify.com/docs/advanced-latedelivery.html


Tap vs Click in Ionic 3.x

Ionic version:  (check one with "x")
[ ] 1.x
[ ] 2.x
[x] 3.x
I'm submitting a ...  (check one with "x")
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
The click event on a button or non button element, has a lag nearly a second long before the "click=()" event is executed. If I use "tap=()", the event registration is nearly instantaneous.
Expected behavior:
No click event delay irrespective or using "click" or "tap" event in the response time for registration of the event
Steps to reproduce:
Use "click" event and "tap" for same action to note the difference
Related code:
insert any relevant code here

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Cordova CLI: 6.5.0
Ionic Framework Version: 3.0.0-beta.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.2.1
ios-deploy version: 1.9.0
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v7.2.0
Xcode version: Xcode 8.2 Build version 8C38

Hello, thanks for opening an issue with us! Would you mind sharing a repo we can use to reproduce this? Also, what device are you testing on when you run into this issue?

I will try to create a repo. I have tested it in iphone 5s and also on emulator. I just created a test app using the instruction posted here
https://docs.google.com/document/d/1vGokwMXPQItZmTHZQbTO4qwj_SQymFhRS_nJmiH0K3w/edit#heading=h.2k1n0klvkce3 and i find the same lag with click.

here is the repo
https://github.com/vazad28/testv3

If you want instant clicks on non-button elements you have to add tappable attributes to that element, otherwise it has a delay of 300ms. For example:
<div tappable (click)="someHandler()">Click me</div>

This is well explained here https://ionicframework.com/docs/v2/troubleshooting/#click-delays
You have to read the docs.

"The click event on a button or non button element,......"

Hello @vazad28 , unfortunately i cannot reproduce this issue with your repo on either an Iphone 5 running the latest ios 10 or a 1st generation moto g running android 4.4.4. Because of this I am going to close this issue for now, but if you could provide another repo or a chrome timeline that shows the delay then i will happily reopen this issue (:

Wish I could send you a screen recording I made to show the delay.Anyways its too early for 3 so i will see if anyone else share the same observation. Thanks for looking into it. Appreciated.

I have the same issue as well with an app I am building. It was working perfectly on V2 (clicking in a list or a tab would do the click instantly, since upgrading the same project to V3 there is a noticeable lag to every click.
I'll see if I can produce a slimmed down demo repo for testing tomorrow. Just to note this only happens when running the the app on an actual device (iPhone 6S) for me, running it through serve seems to work fine

Hey @jgw96 I've created a repo over here with a demo of the bug that @vazad28 mentioned.  The app has two pages in it with the same code from one of the Ionic demos
The first page "Click" uses the (click) function to navigate to the detail page, the second page "Tap" uses the (tap) function to navigate to the detail page.  From my testing on a simulator (iPhone SE iOS 10.3) and a real device (iPhone 6s iOS 10.3), the (click) functions have a noticeable delay compared to the (tap) functions.
I've doen a small screen recording of it as well which should visualise the error, you should be able to see that when clicking on a list item in the Click page the list item "flashes" twice before navigating, whereas the Tap page navigates basically immediately.
Hope that helps!

I wish this can be re-opened because this is a persistent issue in spite of multiple recent updates in appscript and ionic3 itself.

This will be fixed in 3.0.1

Fixed: https://github.com/driftyco/ionic/commit/59f9737d9b4d3de3b862b47b0af79344bf0268c1

I'm testing this wit 3.0.1 on iPhone 6s with iOS 10 and there is still a noticeable delay in (click) handling, (tap) looks ok.

Can this be reopened?


Ability to use more than one inventory at the same time

Will make it possible to use a local inventory (as in #59), but without losing the ability to pull extensions and providers, etc.

This particular use case could also be implemented by making the Inventories themselves support proxying.

On further reflection I think this is problematic, because as soon as you start publishing new versions that overlap with other inventories you get into unexpected behaviour land. I think we should solve the use cases that multiple inventories would cater for differently; i.e. support proxies in inventories and add a "push to other inventory" command


Cannot download installer

Hi Cameron,
I cannot download the installer from http://www.waldron.co.za/downloads/installers/ShrewReconnectLatest64.msi
Can you please let me know what I am doing wrong or how I can download it?
I get a "Connection refused" error.
Many thanks and best regards,
Enno

Apologies, the server was down. Please try again.
--
Cameron Waldron
mobile :  +27 82 772 6247
skype: cameronwaldron
On 11 January 2017 at 10:42, EnnoKarsten<EMAIL_ADDRESS>wrote:

Hi Cameron,
I cannot download the installer from http://www.waldron.co.za/
downloads/installers/ShrewReconnectLatest64.msi
Can you please let me know what I am doing wrong or how I can download it?
I get a "Connection refused" error.
Many thanks and best regards,
Enno
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/CamW/shrew-reconnect/issues/4, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA9C8qiOnalqpSiG8j96_14bOdco0pvSks5rRJXwgaJpZM4LgUhE
.

Hi Cameron,
Thanks a lot for this super quick reply and problem resolution.
Download has been working now.
Best regards,
Enno


Pass git_branch to ChangePassord.update

This resolves an issue where ChangePassword would set the branch: parameter to the value of params[:branch], which would be nil.
Because we were providing the branch argument, the default "master" was being ignored. Causing the GitHelper.clone method to explode when trying to clone a nil branch.
I've written up a detailed issue here. https://github.com/fastlane/fastlane/issues/4807
Open to suggestions, as you may want to solve it by having the branch always set to master when nil in the GitHelper.clone method or only call checkout_branch if there's a branch and it's not equal to master.

This is great, thanks. Could you just fix the alignment of the newly added option and then it's ready to be shipped 🚀

Awesome, thanks. Will merge once the build is ready 🚀

Thanks for diving into this @mriddle 🚀


Memory leak in Select2 plugin

Hi,
Events not properly detached. Its eating lot of memory. I need the solution.

Muthuraja

What event? And when is it supposed to be removed?

User also reported their error here: https://github.com/iStefo/ember-select-2/issues/143

We can reproduce listener leaks in an Angular 1.x app. What is proving difficult is root causing the issue. Any suggestions?

We don't have immediate plans to provide this. We are focused to fix some major UI bugs (that are majority of issues and PR's). But if you open a PR with unit tests, I will be glad to review and approve if everything is ok :+1:


radar9-co

Description
[Description of the issue]
Version

GitHub Desktop version: [version here]

OS version: [version here]
Steps to Reproduce

[First step]
[Second step]
[and so on]

Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Reproduces how often: [What percentage of the time does it reproduce?]
Logs

Additional Information

wp-admin


Sp/clean comparated Number

Fixes

Fixes #[issue number] by @[issue author]
Description
A new cleaning script has been created to clean a string mixed of comparator and number. (from "<=16" to "16")
It is needed for the mapping of dilution for exemple
Technical details
The re.match() fonction is used in this cleaning script.
Tests
Every type of comparator are tested in the test_clean_comparatedNumber.py.

I think this script could go in clean_quantity, no ?

You also have to increment the version number to 0.2.25 in setup.py :)

PR looks stale and cleaning scripts have been migrated to river so I'm closing this


How to quickly add all the input settings to Edit/Project Settings/Input?

MRTK requires these settings for proper running, but is there a quick-n-dirty way to get these settings into the Axes? Does Menu/Mixed Reality Toolkit/Configure/(something) automagically enter these, or do I need to type them all myself?

The "GettingStarted.md" explains this great.
Look especially at point 4 and 5.

This was fixed by #1126, under Mixed Reality Toolkit/Configure/Apply Mixed Reality Project Settings