Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter reolink for common errors and appropiate suggestions to keep this adapter up to date.
Please see the result of the check below.
ioBroker.reolink
   -

ERRORS:

[ ] :heavy_exclamation_mark: [E162] js-controller 4.0.24 listed as dependency but 4.0.24 is required as minimum, 5.0.19 is recommended. Please update dependency at io-package.json.

:thumbsup: No warnings found
Please review issues reported and consider fixing them as soon as appropiate.
Errors reported by repository checker should be fixed as soon as possible. Some of them require a new release to be considered as fixed. Please note that errors reported by checker might be considered as blocking point for future updates at stable repository.
You may start a new check at any time by adding the following comment to this issue:
@iobroker-bot recheck
Please note that I (and the server at GitHub) have always plenty of work to do. So it may last up to 30 minutes until you see a reaction. I will drop a comment here as soon as I start processing.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
Note: This issue replaces issue #95
@mcm1957 for evidence

This issue has been replaced by new isse #97
This issue can be closed.
your
ioBroker Check and Service Bot


Can't connect

I assume its obv something im doing wrong, I am not seeing my own pc pop up on the web panel? The miner is 100% running can see it on task manager and the checker, im hosting the panel locally so I should just paste my ipv4 as the site name?

Local ip will work even if im having other people run it aswell? I'm trying that now

No the local IP will only work for you locally, to test if you can connect from outside you need to test it on another computer that uses another network (or a VPN).

Yes im aware, but what should I put for the link if I want others to be able to show up on the panel? I take it thats impossible if im locally hosting it?
Also I still never showed up on the panel with <IP_ADDRESS>, does it take 30 min to come up?

For external connections you can put your IPv4 there if the port 80 (or 443 for SSL/HTTPS) is port forwarded but you would be exposing your IP.
Did you enter http://<IP_ADDRESS>/api/endpoint.php into the "API Endpoint URL"?

Yes, exactly that

Are you hosting it on the same computer as you're running the miner (not in a VM or anything like that)? And if you go to http://<IP_ADDRESS>/api/endpoint.php in the browser does it display a page (should say something like "Error: Invalid Data" if it's working).

It says the url was not found when put in browser, so thats the problem
and yes

How do you visit the panel normally?

using http://localhost/panel/       would I use localhost as the name then?

I'm using xamp and "panel" is the folder in htdocs that contains the source

localhost and <IP_ADDRESS> are technically the same, but since you use a subfolder called panel the URL would be http://<IP_ADDRESS>/panel/api/endpoint.php

Made a new build with that, its been a min and still nothing

Nevermind, it just showed up
Thanks for the help, so i'd be better off not locally hosting it I take it


Bump actions/checkout to 4 version

bump action/checkout to 4 version
suppress the noisy progress status output

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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 0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls


Conflict with RazorEngine

Hi,
I have an issue with Glimpse 1.8.6 and RazorEngine 3.6.4 (both installed from NuGet, RazorEngine is only referenced from a separate assembly if that matters).
When RazorEngine compiles a view, I get the following exception: System.NotSupportedException
Some environments conflict with current Glimpse async support. Please set Glimpse:DisableAsyncSupport = true in Web.config, or see https://github.com/Glimpse/Glimpse/issues/632 for more details.
I've looked at issues #632 and #896 but

the workaround proposed here doesn't work: https://github.com/Glimpse/Glimpse/issues/632#issuecomment-29020863 (there is no key "Glimpse.HttpContext" in the CallContext but I still get the exception, setting HttpContext.Current to null doesn't help either ; actually, when the view is compiled, I'm not processing a web request at all, which is why I needed RazorEngine in the first place)
it's not clear for me if disabling async support will have a negative impact ; I am using async controllers
upgrading to glimpse v2 is not a solution for me because it appears it's currently in beta and only targets asp.net 5
someone proposed upgrading RazorEngine, so I tried latest version 3.7.5, but that didn't fix the issue

Any idea what workaround could work? Thanks in advance.

Unfortunately there isn't much I can do at the moment. That said, the progress is being tracked at #226


Fix computation of OWA

Fixes #1556
Description of changes:

For each time series, only compute the sMAPE and MASE of Naive2
Compute the OWA only for the final stats

TBD: new test

awesome find @borchero 😎


jitpack No read access to repo

Hello, I am unable to add dependencies to the project and jitpack shows No read access to repo. Can you help me take a look?

Other dependencies are possible

The correct address is com.github.thegrizzlylabs:sardine-android, as explained in the README
See the correct page on Jipack: https://jitpack.io/#com.github.thegrizzlylabs/sardine-android


Override for title bar colors (background and foreground)

It should be possible to define background and foreground text color for title bar, see existing titleBar() method.

Hi @slavap ,
I know it is not the same but until something like this gets implemented, many arguments can be defined as String, Widget or Function which makes in many cases the background and foreground colors flexible.

I hope you were able to solve your issue.
Closing for inactivity.
Feel free to reopen if needed.


Deprecated aggregate is truly optional

If aggregate is truly optional, need to do a null check otherwise risk an NPE.
See issue #393 -- looks like a bug was introduced by PR #390.

I added the null check in a previous commit.


Update package.json

please check your dependencies - al unrelated to final js modules should be in devDependencies

Looks good to me - Thanks!


Automated Stable Release of npm packages

Tim from Ontario is checking to see if one if his team members can work on this automation. We'll check back with him on the Oct 22 Bifold UG meeting. If nothing then we can consider doing it because I agree it is important to get done.


Python can't use the curses library

This issue has been moved from a ticket on Developer Community.

You can run without vs 2019 with PowerShell.
And with vs 2019, it's a hint:
LINES value must must be s 2 and s 470: got 22353
initscr (): Unable to create SP
With curses-2.2.1 plus utf8-cp37-cp37m-win_amd64.whl this version of curses

Original Comments
Visual Studio Feedback System on 6/4/2020, 10:49 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
409261315 on 6/4/2020, 10:52 AM:
ok

Original Solutions
(no solutions)

Wheel file can be obtained from https://www.lfd.uci.edu/~gohlke/pythonlibs/#curses
Code to repro:
import curses
curses.initscr()

Works when not debugging (CTRL+F5)
Works when debugging with legacy ptvsd 3.x
Fails when debugging with debugpy
LINES value must be >= 2 and <= 331: got 1
initscr(): Unable to create SP
Press any key to continue . . .


fix: fix lucide-react-native failing to publish

I believe that should fix the issues we're dealing with.
https://github.com/lucide-icons/lucide/runs/7116958776?check_suite_focus=true
Note: I was not able to get Yarn classic installed on my machine, so the changes related to lockfile are not included here. Sorry about that!

@ericfennis What about yarn.lock update?

@wojtekmaj Will check it now!


Address the PR#91 issues

@iamshital please describe bug information before you start working.

bug fixed in PR #91


xlim does not seems to always be updated when solvers are selected/deselected

Sometimes unticking a solver changes the x axis, sometimes it does not (e.g:

reproduce:: select the first config in the following report, tick and untick PGD: xlim changes. removing more solvers does not reduce the xlim.
https://www.dropbox.com/s/kicnhajwt3jwgov/benchmark_bcd_benchopt_run_2021-07-21_10h25m04.html?dl=0

Plotly actually  does its job. It rescales the axis when we deselect one curve or more.
It rescales up to the next trace it encounters.
And here the problem is that, the next trace is the horizontal black dotted line.

fixed by #191


How to remove a subtree / have children return a list of zippers.

Hey. What's a good way to remove the currently focused tree? Would it make sense to add a removeFocused : Zipper a -> Maybe (Zipper a) that would remove the focused tree and return the parent or root. In case you try to remove the root, it would return Nothing.
Also, would it make sense to change children to children : Zipper a -> List (Zipper a). I'm traversing my tree by using children and in certain cases I need to figure out if the current node has a specific parent.

I have a tree which I want to render nicely. To do this I transform the labels and add info about the size and position of each node. I need the children to be calculated first in order to position the parent, so I traverse the tree depth first using children and build a new tree.
I have event handlers on some of the nodes, and they require info about if a certain parent is present in the tree. If children returned a list of zippers this would be easy to figure out.
Thinking of it I can just as easily collect this info as I traverse down the tree, which probably is the best way to solve this.
What's the reason for children returning a list of trees and not zippers btw?

Okay, interesting indeed. I'm going to think about this use-case some more and see if I can come up with a solution!

As for children returning a list of trees - children (like label) is one of the "inspect the current focus" functions. So basically, it's just shorthand for zipper |> Zipper.tree |> Tree.children.
The API is basically made up like so:

inspection functions return data from the tree
navigation functions return a new zipper with a different focus
modification functions return a new zipper with the same (possibly modified) focus

Since navigating a Zipper tends to be a step-by-step process (rather than a way of traversing a tree in on go, for which the raw Tree functions should generally offer a nicer API and performance), returning a List (Zipper a) would (I think) lead to rather strange results. It could potentially be rather confusing, too - after all, the returned zippers would all be completely independent, and essentially have nothing to do with one another.
Long story short: it feels like a bad API. If someone wants to navigate the children without considering their ancestors, Zipper.children >> List.map Zipper.fromTree gives a nice list of non-overlapping zippers. If someone is interested in "does one of my ancestors have label xyz", collecting the path to the root is fairly easy: repeat parent until it returns Nothing!


No render on facets without rows

This was previously done in the other repos, but the facets were not added to the state. By doing this here, we remove repetition and make sure everything is cleanly in the state.

Codecov Report

Merging #692 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #692      +/-   ##
==========================================
+ Coverage   99.72%   99.72%   +<.01%
==========================================
  Files         264      264
  Lines        6800     6802       +2
  Branches     1586     1587       +1
==========================================
+ Hits         6781     6783       +2
  Misses         19       19

Impacted Files
Coverage Δ

src/components/facets/Facet.tsx
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Estimate Planning Poker Tool Access Issues

Is there a limit to the number of participant users that can log in and participate in a Estimate planning poker session? We are noticing that some team members (team size is 15) each estimating session can't either access from the link or when trying to access directly from the ADO menu (the users that cannot access are not consistent).
Please confirm

I believe there is no limit to how many users can use the extension. if you need help we can schedule a web session<EMAIL_ADDRESS>


feat: modify default tooltip, enable cursor following

Modified the default tooltip to use react-tooltip mainly in order to enable cursor following.

LGTM. I usually leave the PR open for @brandonramsey to merge since he is the owner of the repo and has to publish the changes anyway FWIW.


fix: Initialize fluentd as nil

Changes
Initializes fluentdSpec as nil, so a user can configure their fluentd through the FluentdConfig CRD.
This is needed so creating a new logging.caas.telekom.de resource does not initialize the fluentd object in the logging.banzaicloud.io resource. By setting it to nil, a user can override the config from the FluentdConfig CRD, which otherwise would not work correctly

Tested this locally. This logging resource
apiVersion: caas.telekom.de/v1alpha1
kind: Logging
metadata:
  name: my-logging
  namespace: customer-1-logging
spec: {}

Results in this banzaicloud resource being created:
apiVersion: logging.banzaicloud.io/v1beta1
kind: Logging
metadata:
  annotations:
    crossplane.io/composition-resource-name: logging
  creationTimestamp: "2024-02-22T13:28:18Z"
  generateName: my-logging-xcftk-
  generation: 1
  labels:
    crossplane.io/claim-name: my-logging
    crossplane.io/claim-namespace: customer-1-logging
    crossplane.io/composite: my-logging-xcftk
  name: my-logging-xcftk-htbpl
  ownerReferences:
  - apiVersion: caas.telekom.de/v1alpha1
    blockOwnerDeletion: true
    controller: true
    kind: XLogging
    name: my-logging-xcftk
    uid: b2c728b9-5f9e-4dc9-8bfb-62ca1bdf3fd3
  resourceVersion: "2039606"
  uid: 3467e4ef-d660-4038-871d-a9f41ce96079
spec:
  allowClusterResourcesFromAllNamespaces: false
  configCheck:
    timeoutSeconds: 0
  controlNamespace: customer-1-logging
  enableRecreateWorkloadOnImmutableFieldChange: false
  flowConfigCheckDisabled: false
  skipInvalidResources: false
  watchNamespaceSelector:
    matchLabels:
      field.cattle.io/projectId: p-12345

As expected there is no fluentd key on the resource :D


[H000206] Sen. Tom Harkin

Sen. Tom Harkin:
http://www.harkin.senate.gov
Likely contact form URL to start with:
http://www.harkin.senate.gov/contact.cfm

YAML file lost. I am working on it.


DAT-18538 :: Undeprecate StringUtil class

Undeprecate StringUtil class.
Make StringUtil class an extension of StringUtils class.
Remove StringUtil deprecated methods because this methods are already implemented in StringUtils class.

Impact

[ ] Bug fix (non-breaking change which fixes expected existing functionality)
[x] Enhancement/New feature (adds functionality without impacting existing logic)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

Things to be aware of

Things to worry about

Additional Context

@MalloD12 something wrong here, ./liquibase --version gives an error
Exception in thread "main" java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at liquibase.integration.commandline.LiquibaseLauncher.main(LiquibaseLauncher.java:116)
Caused by: java.lang.NoSuchMethodError: 'boolean liquibase.util.StringUtil.isNotEmpty(java.lang.String)'
	at liquibase.configuration.pro.SecretsVaultJarExistenceCheck.override(SecretsVaultJarExistenceCheck.java:50)
	at liquibase.configuration.ConfiguredValueModifierFactory.override(ConfiguredValueModifierFactory.java:34)
	at liquibase.configuration.LiquibaseConfiguration.getCurrentConfiguredValue(LiquibaseConfiguration.java:147)
	at liquibase.configuration.ConfigurationDefinition.getCurrentConfiguredValue(ConfigurationDefinition.java:106)
	at liquibase.configuration.ConfigurationDefinition.getCurrentConfiguredValue(ConfigurationDefinition.java:90)
	at liquibase.configuration.ConfigurationDefinition.getCurrentValue(ConfigurationDefinition.java:64)
	at com.datical.liquibase.ext.logging.structured.StructuredLogService.getPriority(StructuredLogService.java:31)
	at liquibase.logging.core.LogServiceFactory.getPriority(LogServiceFactory.java:18)
	at liquibase.logging.core.LogServiceFactory.getPriority(LogServiceFactory.java:6)
	at liquibase.plugin.AbstractPluginFactory.getPlugins(AbstractPluginFactory.java:63)
	at liquibase.plugin.AbstractPluginFactory.getPlugin(AbstractPluginFactory.java:38)
	at liquibase.logging.core.LogServiceFactory.getDefaultLogService(LogServiceFactory.java:22)
	at liquibase.Scope.getCurrentScope(Scope.java:105)
	at liquibase.command.CommandArgumentDefinition$Building.build(CommandArgumentDefinition.java:291)
	at liquibase.command.core.CalculateChecksumCommandStep.<clinit>(CalculateChecksumCommandStep.java:52)
	at liquibase.integration.commandline.LiquibaseCommandLine.<init>(LiquibaseCommandLine.java:110)
	at liquibase.integration.commandline.LiquibaseCommandLine.main(LiquibaseCommandLine.java:95)

Hey @rberezen,
How did you try this? I just tried from my IDE executing --version and this is the output I got:

Thanks,
Daniel.

Hey @rberezen,
How did you try this? I just tried from my IDE executing --version and this is the output I got:

Hey @MalloD12 - looking at the stack trace, seems the exception was thrown from an extension:
 at liquibase.configuration.pro.SecretsVaultJarExistenceCheck.override(SecretsVaultJarExistenceCheck.java:50)
The extensions are using StringUtil, and in this case seems this one is using a method that was removed (we just need to put it back):
Caused by: java.lang.NoSuchMethodError: 'boolean liquibase.util.StringUtil.isNotEmpty(java.lang.String)'

Hey @rberezen,
How did you try this? I just tried from my IDE executing --version and this is the output I got:

Hey @MalloD12 - looking at the stack trace, seems the exception was thrown from an extension:
 at liquibase.configuration.pro.SecretsVaultJarExistenceCheck.override(SecretsVaultJarExistenceCheck.java:50)
The extensions are using StringUtil, and in this case seems this one is using a method that was removed (we just need to put it back):
Caused by: java.lang.NoSuchMethodError: 'boolean liquibase.util.StringUtil.isNotEmpty(java.lang.String)'

Yeah, I can see that but it's weird because that method is already implemented in StringUtils class, and available from StringUtil. I don't know why it is still unavailable there. @filipelautert do you think it could be that PRO is not pulling the right artifact?

StringUtil. I don't know why it is still unavailable there. @filipelautert do you think it could be that PRO is not pulling the right artifact?

The error comes from pro, here: https://github.com/liquibase/liquibase-pro/blob/cd9223d64fbd019fbd65c742429d01becc5e5431/pro/src/main/java/liquibase/configuration/pro/SecretsVaultJarExistenceCheck.java#L50
Maybe it could happen if commons-lang3 is not in the internal/lib directory?


[tool_crash] FileSystemException: Creation failed, OS Error: No such file or directory, errno = 2

Command
flutter doctor

Steps to Reproduce

...
...
...

Logs
FileSystemException: Creation failed, OS Error: No such file or directory, errno = 2
#0      _Directory.createSync (dart:io/directory_impl.dart:129:7)
#1      ForwardingDirectory.createSync (package:file/src/forwarding/forwarding_directory.dart:20:16)
#2      ErrorHandlingDirectory.createSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:428:22)
#3      _runSync (package:flutter_tools/src/base/error_handling_io.dart:590:14)
#4      ErrorHandlingDirectory.createSync (package:flutter_tools/src/base/error_handling_io.dart:427:12)
#5      EngineCachedArtifact.updateInner (package:flutter_tools/src/cache.dart:954:19)
<asynchronous suspension>
#6      CachedArtifact.update (package:flutter_tools/src/cache.dart:848:5)
<asynchronous suspension>
#7      Cache.updateAll (package:flutter_tools/src/cache.dart:715:9)
<asynchronous suspension>
#8      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1629:7)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1367:27)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#11     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:348:9)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchrono

I just deleted the cache file in flutter/bin and run flutter doctor. It setup everything on its own.


Test failing due to cleanup

On a run of integration testing, a test is failing because the deletion of the bucket in the after call is being attempted before the bucket is emptied in the after each.

Put object with same key as prior object With v4 signature "after all" hook:
BucketNotEmpty: The bucket you tried to delete is not empty.
at Request.extractError (node_modules/aws-sdk/lib/services/s3.js:538:35)
at Request.callListeners (node_modules/aws-sdk/lib/sequential_executor.js:105:20)

Fixed by https://github.com/scality/S3/pull/161


Fix inconsistent system tests

The system tests are inconsistent in that when they are first run they fail, but on a follow-up run, they pass.  This seems to be caused by timing issues.

Please prioritize that as we don't have a green CI nightly run because of this failing test.
cc: @ofrobots, @crwilcox


Add type key

So people can get this package in packagist.org by searching with type field.

Awesome! Did not know about packagist's "tagging"


Enhancement

Hello!
I have found a mention of iframe in TkinterWeb's DEFAULT_STYLE and I have an idea how to render iframe.
Maybe you can replace  with

.
small_htmlframe_in_main_htmlframe will load a website that is in src attribute of iframe.
I hope it was useful.

Hi!
That's a great idea. I can use the commands that are invoked when an element with a widgetid attribute is encountered to implement iframes, similarily too the way certain form elements are shown. I can also use that to implement <object> elements (which means that TkinterWeb will be able to pass the Acid2 test). Thank you very much for that idea!
The only problem would be avoiding circular imports (because HtmlFrame imports TkinterWeb, and to implement iframes TkinterWeb should import HtmlFrame), but I will figure it out.
Again, thank you very much for the idea, and I'll let you know when I get it working.
Feel free to let me know if you have any other ideas!

I have found that iframe has srcdoc attribute.
<iframe srcdoc="
Example
">
So in this case htmlframe must call load_html

I've finished adding basic support for <object> and  elements.
At the moment, iframes with an src attribute will display the given website in the document, unless the srcdoc attribute is supplied, which will cause the iframe to display the given HTML code.
Consider reinstalling TkinterWeb.
As always, if you have any other suggestions or notice any bugs, feel free to let me know!
Thanks again for the suggestion.


subsys: canbus: canopen EDSEditor / libedssharp version that works with Zephyr's CANopenNode

Describe the bug
Zephyr maintains its own fork of CANopenNode https://github.com/zephyrproject-rtos/canopennode/commits/zephyr.
To generate .c and .h CO_OD files that contain description of the CAN device, libedssharp is used. However:
it's most recent release 0.8 is not compatible with the Zephyr's version (too old) https://github.com/robincornelius/libedssharp/releases -> it gives error like here https://github.com/zephyrproject-rtos/zephyr/issues/26363

Latest master is also not compatible (too new): it gives error zephyrproject/modules/lib/canopennode/stack/CO_TIME.h:107:5: error: unknown type name 'TIME_OF_DAY'

I noticed that the sample files in Zephyr repo were generated with version 0.8.7: https://github.com/zephyrproject-rtos/zephyr/blame/master/samples/subsys/canbus/canopen/objdict/CO_OD.h#L13
Newer / older version seem to be incompatible, do you have the binary / exe available?
I tried to build the libedssharp with mono/xbuild (Mono Version <IP_ADDRESS>) on Linux, but it looks like the mono compiler lacks a few features that are used in this C# program: DeviceODView.cs(118,48): error CS1644: Feature 'default literal' cannot be used because it is not part of the C# 7.0 language specification
That's why I ask for a binary. Alternatively please point me to an instruction on how to build the https://github.com/robincornelius/libedssharp on Linux. I'm a C# noob.
I found the project CI, however the artifacts are not available I think: https://travis-ci.org/github/robincornelius/libedssharp/jobs/746239909
Any idea @henrikbrixandersen?

Any update, or suggestion how should I approach this?

Describe the bug
Zephyr maintains its own fork of CANopenNode https://github.com/zephyrproject-rtos/canopennode/commits/zephyr.
To generate .c and .h CO_OD files that contain description of the CAN device, libedssharp is used. However:
it's most recent release 0.8 is not compatible with the Zephyr's version (too old) https://github.com/robincornelius/libedssharp/releases -> it gives error like here #26363

The latest upstream release of libedssharp (v0.8) unfortunately contains a bug regarding the name of the CO_NO_TIME/CO_NO_TS definition. It was fixed a few commits after upstream v0.8 was released (in https://github.com/robincornelius/libedssharp/commit/2e53bbcb7c012805f02c7b9336efc67c743a95b1).

Latest master is also not compatible (too new): it gives error zephyrproject/modules/lib/canopennode/stack/CO_TIME.h:107:5: error: unknown type name 'TIME_OF_DAY'

The master branch of upstream libedssharp is dead and no longer used for active development as noted in the last commit to that branch: https://github.com/robincornelius/libedssharp/commit/cad4c74d70c09a1616761643d1f13dbc73d8e531

I noticed that the sample files in Zephyr repo were generated with version 0.8.7: https://github.com/zephyrproject-rtos/zephyr/blame/master/samples/subsys/canbus/canopen/objdict/CO_OD.h#L13

Not v0.8.7, but v0.8-7 (v0.8 tag + 7 commits). This is the commit referenced above.

Newer / older version seem to be incompatible, do you have the binary / exe available?

Unfortunately, I cannot provide binaries for this. You could try contacting upstream.

I tried to build the libedssharp with mono/xbuild (Mono Version <IP_ADDRESS>) on Linux, but it looks like the mono compiler lacks a few features that are used in this C# program: DeviceODView.cs(118,48): error CS1644: Feature 'default literal' cannot be used because it is not part of the C# 7.0 language specification
That's why I ask for a binary. Alternatively please point me to an instruction on how to build the https://github.com/robincornelius/libedssharp on Linux. I'm a C# noob.

I don't have any issues building libedssharp on Ubuntu 20.04 LTS using Mono v<IP_ADDRESS>.
sudo apt-get install -y mono-xbuild mono-complete libcanberra-gtk-module
xbuild EDSTest/EDSEditorGUI.csproj

Hi @henrikbrixandersen, thank you for your detailed answer.

The latest upstream release of libedssharp (v0.8) unfortunately contains a bug regarding the name of the CO_NO_TIME/CO_NO_TS definition. It was fixed a few commits after upstream v0.8 was released (in robincornelius/libedssharp@2e53bbc).

I ended up with using a latest release libedssharp v0.8 + a small definition in Zephyr's project CMakeLists to handle the problematic CO_NO_TIME/CO_NO_TS define:
zephyr_compile_definitions(CO_NO_TIME=CO_NO_TS)
Big thank you to @pawelzadrozniak for this suggestion.


zcash: Waiting for daemon to connect to peers

Description
MiningCore connects to Zcash node daemon, but does not allow miners to connect as it claims it is still "Waiting for daemons to connect to peers..."   The node is certainly connected to many peers and is synced up to current block, but for some reason MiningCore believes otherwise.
Steps to Reproduce

Install Zcash Node on Ubuntu
Wait for Zcash node to sync up.
Configure MiningCore pool with rpc info.
Connect to zcash node (successful)
See MiningCore hanging, believing the node is not connected to peers.

Expected behavior
I expect MiningCore to let me mine zcash on it.
Actual behavior
MiningCore waits forever even though nothing else is reporting a problem.
Reproduces how often
100%
Version
0.2.4 Release
Windows 10 x64
Additional Information
I ran with debug logging, but only got the same loop as the console:
[2018-05-23 00:50:10.0373] [I] [zec1] [Bitcoin Job Manager] Waiting for daemons to connect to peers ...
[2018-05-23 00:50:20.0503] [D] [DaemonClient] ExecuteCmdAnyAsync(getnetworkinfo)
[2018-05-23 00:50:20.5595] [I] [zec1] [Bitcoin Job Manager] Waiting for daemons to connect to peers ...
[2018-05-23 00:50:30.5749] [D] [DaemonClient] ExecuteCmdAnyAsync(getnetworkinfo)
[2018-05-23 00:50:31.0818] [I] [zec1] [Bitcoin Job Manager] Waiting for daemons to connect to peers ...
[2018-05-23 00:50:41.1017] [D] [DaemonClient] ExecuteCmdAnyAsync(getnetworkinfo)
[2018-05-23 00:50:41.6127] [I] [zec1] [Bitcoin Job Manager] Waiting for daemons to connect to peers ...
[2018-05-23 00:50:51.6320] [D] [DaemonClient] ExecuteCmdAnyAsync(getnetworkinfo)
[2018-05-23 00:50:52.1403] [I] [zec1] [Bitcoin Job Manager] Waiting for daemons to connect to peers ...
[2018-05-23 00:51:02.1588] [D] [DaemonClient] ExecuteCmdAnyAsync(getnetworkinfo)

It can definitely tell when the daemon is offline vs online, so I'm not sure what else to expect from it... is it parsing the daemon's status incorrectly?
I just ran the daemon with -gen=1 to check, and yes the daemon itself will even start mining and complete Equihash solver runs, so it's definitely synced up and networked.

root@TestMachineName:~# zcash-cli getnetworkinfo
{
"version": 1010050,
"subversion": "/MagicBean:1.1.0/",
"protocolversion": 170005,
"localservices": "0000000000000005",
"timeoffset": 0,
"connections": 1,
"networks": [
{
"name": "ipv4",
"limited": false,
"reachable": true,
"proxy": "",
"proxy_randomize_credentials": false
},
{
"name": "ipv6",
"limited": false,
"reachable": true,
"proxy": "",
"proxy_randomize_credentials": false
},
{
"name": "onion",
"limited": true,
"reachable": false,
"proxy": "",
"proxy_randomize_credentials": false
}
],
"relayfee": 0.00000100,
"localaddresses": [
],
"warnings": ""
}

Additionally, not sure if it's related, but if I set paymentProcessing to true, I get this exception as well:
[2018-05-23 01:35:25.4836] [I] [zec2] [Bitcoin Job Manager] All daemons online
[2018-05-23 01:35:25.4836] [E] [PayoutManager] [zec2] Payment processing failed System.NullReferenceException: Object reference not set to an instance of an object.
   at MiningCore.Blockchain.ZCash.ZCashPayoutHandler.<ConfigureAsync>d__9.MoveNext() in C:\Users\Ryan\Documents\GitHub\miningcore\src\MiningCore\Blockchain\ZCash\ZCashPayoutHandler.cs:line 79
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Payments.PayoutManager.<ProcessPoolsAsync>d__11.MoveNext() in C:\Users\Ryan\Documents\GitHub\miningcore\src\MiningCore\Payments\PayoutManager.cs:line 93    at MiningCore.Blockchain.ZCash.ZCashPayoutHandler.<ConfigureAsync>d__9.MoveNext() in C:\Users\Ryan\Documents\GitHub\miningcore\src\MiningCore\Blockchain\ZCash\ZCashPayoutHandler.cs:line 79
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Payments.PayoutManager.<ProcessPoolsAsync>d__11.MoveNext() in C:\Users\Ryan\Documents\GitHub\miningcore\src\MiningCore\Payments\PayoutManager.cs:line 93
[2018-05-23 01:35:25.4957] [D] [DaemonClient] ExecuteCmdAnyAsync(getnetworkinfo)

This is specific to ZCash (tried with LTC) and I am using a completely fresh database to test with, same issues.

Had this issue with a litecoin daemon, and ended up tracking this down to not having an rpcallowip in the litecoin.conf file for the IP address of the machine I was connecting from. In order to fix it, I figured out what the IP was that the daemon saw me as coming in on*, then added the appropraite -rpcallowip=<ip address> line to the daemon's config file in ./litecoin/litecoin.conf.
* I had a weird network setup, so I tried to ssh to the daemon's machine with an intentionally faulty password, then checked /var/log/auth.log/ to see what IP was logged as failing to authenticate.


[HOW-TO] Instantiate chromedriver with a service for debugging?

Hi,
is there any way how can I initialize a driver with debugging service:
a standard solution is:
var service = ChromeDriverService.CreateDefaultService();

service.LogPath = "D:\\chromedriver.log";

service.EnableVerboseLogging = true;

driver = new ChromeDriver(service);

but when I initiate driver via easy repro, I am using something like this
            var settings = new TestSettings();
            var client = new WebClient(settings.InitializeSettings());
            XrmApp = new XrmApp(client);
            WebDriver = client?.Browser.Driver;;

Is there any way how to instantiate with the service?

bugboogie666 It is not possible for now, need to extend the Framework for that


Support --inline-source-map in ddc kernel backend

Sorry for such a late addition to the 2.3 milestone but it looks like to get source maps working fully (in package:test primarily), we will need the --inline-source-map option enabled in the kernel backend for ddc.
cc @jmesserly @vsmenon
We could decide to punt on this and accept js stack traces for tests, but it would be good to get in. There may also be other scenarios outside of testing where the inline source maps are required though.

fwiw the command line option doesn't seem to throw (like it used to I believe), but it doesn't seem to be outputting the source map either

Actually nevermind these are being included - we just need to map the uris to something that make sense (we already do this for normal source maps but need to do the same mapping in the dart stack trace mapper code, which we have control of outside of the sdk).

Nice! Yeah, I implemented that flag in the same CL as trackLibraries.


docker: update listening port

fixes issue with agent not connecting to container

@acheong08 should fix issue with container not communicating with Agent
at the moment running this docker container with a firefox docker container (via vnc) completely works


Fix ADR plugin variable mapping

This took me a while... A very long while...
Comparing the default ADR plugin with a transscript to JS and use it as a custom ADR plugin it still didn't work.
A device very near the geateway got DR5 right after his join and first transmission with the integrated ADR algorithm but not with the custom which I have gone over and over again and debugged with the test data and transscribed data from a real device but using the object notation from the example.
So it seems this typo was the cause for my issue...

This took me a while... A very long while...

Good catch and sorry if this has wasted some of your time....

All good, that's life and something you have to deal with in open source... Still so grateful for being able to use the software...


Add image based mysql recipe

@Sandeep-Prajapati is it possible to rename from image-based-mysql-backup-restore.yaml to mysql-image-based-backup-restore.yaml


python312Packages.huum: 0.7.11 -> 0.7.12

Diff: https://github.com/frwickst/pyhuum/compare/refs/tags/0.7.11...0.7.12
Changelog: https://github.com/frwickst/pyhuum/releases/tag/0.7.12

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 355857

x86_64-linux

:white_check_mark: 5 packages built:

home-assistant-component-tests.huum
python311Packages.huum
python311Packages.huum.dist
python312Packages.huum
python312Packages.huum.dist


development: storybook for isolated component dev

I was looking into understanding the Excalidraw codebase to develop an extension, and was wondering if people would be interested in having Storybookjs or a similar offline development tool available to document its components in isolation.
This wouldn't add any weight to the main app. It would be an optional tool people could use when contributing to Excalidraw, and could even be optionally deployed separately to a preview domain.

Right now there's effectively only a single component that we expose publicly — the wrapper for the whole app. I'm not sure how it'd work if you wanted to document the internal components without exporting them. Another consideration is that the internal components' API change without notice, and documenting them publicly would give a feeling of stability.

@dwelle thanks for the reply!

I'm not sure how it'd work if you wanted to document the internal components without exporting them

For example, with https://github.com/excalidraw/excalidraw/blob/master/src/components/ColorPicker.tsx
I'd add something like ColorPicker.stories.tsx as a sibling of this file, and include a few examples of how to use it. It wouldn't need to be added to the https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/index.tsx .

Another consideration is that the internal components' API change without notice, and documenting them publicly would give a feeling of stability.

I can completely relate to this concern. In that case, assuming we were to add this, I'd recommend only having it as an option for local development. I do think that Storybook could be helpful even if it were only for describing the main Excalidraw wrapper, as it can be used to document the explicit states that it was is designed to handle (e.g. a gallery with 1 of each shape, dark mode, usage with different custom functions, etc).
Anyways, if this doesn't fit well for the project, I can also just keep a storybook setup for my local fork - just figured I'd check if it was something worth sharing back to the main branch.


Fix for Unbound Stats: zero_ttl is no longer a valid statistic

This pull request updates the zero_ttl stat in the unbound page to the expired page, and also enhances the statistics to include request queue stats (included in default stats) and some opinionated sorting of the output to include "Total" and "Times" at the top. (Fixes #5792)

@iamperson347 Thanks for the bugfix. Not everyone might agree on the sorting, but I don't expect this to be used by many people anyway, so let's just try it out and wait for feedback if any.


[BUG] Payment history doesn't load anymore: Cannot read properties of undefined (reading 'data')

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
I use my own LndHub instance, I suppose it started happening when I paid a BlueWallet's invoice (also connected to the same LndHub) from Alby. Since the invoice belongs to the same node I assume it's settled internally and it causes some fields to be missing. I had to abandon another account because of the same issue, now at least there could be an explanation.
Screenshots [optional]

Steps To Reproduce

Create an LndHub invoice
Pay it from Alby
The tx list breaks

Expected behavior
It should work as expected.
Alby information

3.9.0, from Chrome store

Device information

Debian testing
Brave Version 1.67.123 Chromium: 126.0.6478.126 (Official Build) (64-bit)

Additional context
No response
Are you working on this?
None

thanks for reporting. do you use the lndhub.go version or the BlueWallet JavaScript one?


Add missing columns, diagnostic settings and fix existing columns in table_azure_app_service_environment. Closes #358

Integration test logs

Logs
arnab@turbotindias-MacBook-Pro azure-test % ./tint.js azure_app_service_environment
No env file present for the current environment:  staging
 Falling back to .env config
No env file present for the current environment:  staging
customEnv TURBOT_TEST_EXPECTED_TIMEOUT undefined

SETUP: tests/azure_app_service_environment []

PRETEST: tests/azure_app_service_environment

TEST: tests/azure_app_service_environment
Running terraform

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # azurerm_app_service_environment.named_test_resource will be created
  + resource "azurerm_app_service_environment" "named_test_resource" {
      + allowed_user_ip_cidrs        = [
          + "<IP_ADDRESS>/32",
          + "<IP_ADDRESS>/24",
        ]
      + front_end_scale_factor       = 10
      + id                           = (known after apply)
      + internal_load_balancing_mode = "Web, Publishing"
      + location                     = (known after apply)
      + name                         = "turbottest75148"
      + pricing_tier                 = "I1"
      + resource_group_name          = (known after apply)
      + subnet_id                    = (known after apply)
      + tags                         = {
          + "name" = "turbottest75148"
        }
      + user_whitelisted_ip_ranges   = (known after apply)
    }

  # azurerm_resource_group.named_test_resource will be created
  + resource "azurerm_resource_group" "named_test_resource" {
      + id       = (known after apply)
      + location = "westus"
      + name     = "turbottest75148"
    }

  # azurerm_subnet.named_test_resource will be created
  + resource "azurerm_subnet" "named_test_resource" {
      + address_prefix                                 = "<IP_ADDRESS>/24"
      + address_prefixes                               = (known after apply)
      + enforce_private_link_endpoint_network_policies = false
      + enforce_private_link_service_network_policies  = false
      + id                                             = (known after apply)
      + name                                           = "turbottest75148"
      + resource_group_name                            = "turbottest75148"
      + virtual_network_name                           = "turbottest75148"
    }

  # azurerm_virtual_network.named_test_resource will be created
  + resource "azurerm_virtual_network" "named_test_resource" {
      + address_space         = [
          + "<IP_ADDRESS>/16",
        ]
      + guid                  = (known after apply)
      + id                    = (known after apply)
      + location              = "westus"
      + name                  = "turbottest75148"
      + resource_group_name   = "turbottest75148"
      + subnet                = (known after apply)
      + vm_protection_enabled = false
    }

Plan: 4 to add, 0 to change, 0 to destroy.

 To silence this warning, move the provider
version constraint into the required_providers block.

Warning: "address_prefix": [DEPRECATED] Use the `address_prefixes` property instead.

  with azurerm_subnet.named_test_resource,
  on variables.tf line 40, in resource "azurerm_subnet" "named_test_resource":
  40: resource "azurerm_subnet" "named_test_resource" {

(and 2 more similar warnings elsewhere)

Apply complete! Resources: 4 added, 0 changed, 0 destroyed.

Outputs:

resource_aka = "azure:///subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourceGroups/turbottest75148/providers/Microsoft.Web/hostingEnvironments/turbottest75148"
resource_aka_lower = "azure:///subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourcegroups/turbottest75148/providers/microsoft.web/hostingenvironments/turbottest75148"
resource_id = "/subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourceGroups/turbottest75148/providers/Microsoft.Web/hostingEnvironments/turbottest75148"
resource_name = "turbottest75148"
subscription_id = "d46d7416-f95f-4771-bbb5-529d4c76659c"

Running SQL query: test-get-query.sql
[
  {
    "front_end_scale_factor": 10,
    "id": "/subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourceGroups/turbottest75148/providers/Microsoft.Web/hostingEnvironments/turbottest75148",
    "name": "turbottest75148",
    "region": "west us",
    "resource_group": "turbottest75148",
    "vnet_name": "turbottest75148",
    "vnet_resource_group_name": "turbottest75148",
    "vnet_subnet_name": "turbottest75148"
  }
]
✔ PASSED

Running SQL query: test-hydrate-query.sql
[
  {
    "akas": [
      "azure:///subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourceGroups/turbottest75148/providers/Microsoft.Web/hostingEnvironments/turbottest75148",
      "azure:///subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourcegroups/turbottest75148/providers/microsoft.web/hostingenvironments/turbottest75148"
    ],
    "internal_load_balancing_mode": "Web, Publishing",
    "name": "turbottest75148",
    "tags": {
      "name": "turbottest75148"
    },
    "title": "turbottest75148"
  }
]
✔ PASSED

Running SQL query: test-list-query.sql
[
  {
    "id": "/subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourceGroups/turbottest75148/providers/Microsoft.Web/hostingEnvironments/turbottest75148",
    "name": "turbottest75148"
  }
]
✔ PASSED

Running SQL query: test-not-found-query.sql
null
✔ PASSED

Running SQL query: test-turbot-query.sql
[
  {
    "akas": [
      "azure:///subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourceGroups/turbottest75148/providers/Microsoft.Web/hostingEnvironments/turbottest75148",
      "azure:///subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourcegroups/turbottest75148/providers/microsoft.web/hostingenvironments/turbottest75148"
    ],
    "name": "turbottest75148",
    "tags": {
      "name": "turbottest75148"
    },
    "title": "turbottest75148"
  }
]
✔ PASSED

POSTTEST: tests/azure_app_service_environment

TEARDOWN: tests/azure_app_service_environment

SUMMARY:

1/1 passed.

Example query results

Results
> select
  name,
  is_healthy_environment
from
  azure_app_service_environment
where
  not is_healthy_environment;
+------+------------------------+
| name | is_healthy_environment |
+------+------------------------+
+------+------------------------+
> select
  name,
  vnet_name,
  vnet_subnet_name,
  vnet_resource_group_name,
  internal_load_balancing_mode
from
  azure_app_service_environment;
+----------+-------------------+------------------+-------------------------------------------+------------------------------+
| name     | vnet_name         | vnet_subnet_name | vnet_resource_group_name                  | internal_load_balancing_mode |
+----------+-------------------+------------------+-------------------------------------------+------------------------------+
| test-env | aks-vnet-13421061 | test-subnet      | MC_nist-test_group_azure-arc_centralindia | None                         |
+----------+-------------------+------------------+-------------------------------------------+------------------------------+
> select
  name,
  id,
  settings ->> 'name' as settings_name,
  settings ->> 'value' as settings_value
from
  azure_app_service_environment,
  jsonb_array_elements(cluster_settings) as settings;
+----------+---------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------+
| name     | id                                                                                | settings_name      | settings_value |
+----------+---------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------+
| test-env | /subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourceGroups/arnab-test-resource-group/providers/Microsoft.Web/hostingEnvironments/test-env | InternalEncryption | true           |
+----------+---------------------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------+
>

Closing this PR for now since it is out of the priority scope for now


ValueError when running text_rnn.py

The program would raise ValueError when running text_rnn.py. I'm using anaconda with tensorflow 1.5.0.
The details are as follows:
Command:
python text_rnn.py
Results:
Traceback (most recent call last):
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/framework/common_shapes.py", line 686, in _call_cpp_shape_fn_impl
input_tensors_as_shapes, status)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 473, in exit
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: Dimensions must be equal, but are 200 and 250 for 'bi_rnn/bidirectional_rnn/fw/fw/while/fw/multi_rnn_cell/cell_0/gru_cell/MatMul_2' (op: 'MatMul') with input shapes: [?,200], [250,200].
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/myname/Documents/python/attrnn/text_rnn.py", line 123, in
attention_size=50, num_classes=30, learning_rate=0.001, grad_clip=5.0)
File "/Users/myname/Documents/python/attrnn/text_rnn.py", line 64, in init
sequence_length=self.seq_len, dtype=tf.float32)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/ops/rnn.py", line 414, in bidirectional_dynamic_rnn
time_major=time_major, scope=fw_scope)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/ops/rnn.py", line 629, in dynamic_rnn
dtype=dtype)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/ops/rnn.py", line 820, in _dynamic_rnn_loop
swap_memory=swap_memory)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/ops/control_flow_ops.py", line 2934, in while_loop
result = loop_context.BuildLoop(cond, body, loop_vars, shape_invariants)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/ops/control_flow_ops.py", line 2720, in BuildLoop
pred, body, original_loop_vars, loop_vars, shape_invariants)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/ops/control_flow_ops.py", line 2662, in _BuildLoop
body_result = body(*packed_vars_for_body)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/ops/control_flow_ops.py", line 2913, in
body = lambda i, lv: (i + 1, orig_body(*lv))
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/ops/rnn.py", line 793, in _time_step
skip_conditionals=True)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/ops/rnn.py", line 248, in _rnn_step
new_output, new_state = call_cell()
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/ops/rnn.py", line 781, in
call_cell = lambda: cell(input_t, state)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/ops/rnn_cell_impl.py", line 1042, in call
output, new_state = self._cell(inputs, state, scope=scope)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/ops/rnn_cell_impl.py", line 188, in call
return super(RNNCell, self).call(inputs, state)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/layers/base.py", line 652, in call
outputs = self.call(inputs, *args, **kwargs)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/ops/rnn_cell_impl.py", line 1217, in call
cur_inp, new_state = cell(cur_inp, cur_state)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/ops/rnn_cell_impl.py", line 292, in call
*args, **kwargs)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/layers/base.py", line 652, in call
outputs = self.call(inputs, *args, **kwargs)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/ops/rnn_cell_impl.py", line 429, in call
array_ops.concat([inputs, state], 1), self._gate_kernel)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/ops/math_ops.py", line 2022, in matmul
a, b, transpose_a=transpose_a, transpose_b=transpose_b, name=name)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/ops/gen_math_ops.py", line 2516, in _mat_mul
name=name)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3162, in create_op
compute_device=compute_device)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3208, in _create_op_helper
set_shapes_for_outputs(op)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2427, in set_shapes_for_outputs
return _set_shapes_for_outputs(op)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2400, in _set_shapes_for_outputs
shapes = shape_func(op)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2330, in call_with_requiring
return call_cpp_shape_fn(op, require_shape_fn=True)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/framework/common_shapes.py", line 627, in call_cpp_shape_fn
require_shape_fn)
File "/Users/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/framework/common_shapes.py", line 691, in _call_cpp_shape_fn_impl
raise ValueError(err.message)
ValueError: Dimensions must be equal, but are 200 and 250 for 'bi_rnn/bidirectional_rnn/fw/fw/while/fw/multi_rnn_cell/cell_0/gru_cell/MatMul_2' (op: 'MatMul') with input shapes: [?,200], [250,200].
Process finished with exit code 1
So could anyone tell me where should I change to solve this problem? Thanks in advance.

The project based on tensorflow1.0, this may help you: https://stackoverflow.com/questions/44615147/valueerror-trying-to-share-variable-rnn-multi-rnn-cell-cell-0-basic-lstm-cell-k

@YCG09 Thanks for your reply. I've solved the problem according to the link you provided. But a new problem was found when running "python train_rnn.py" on server as follows:
Writing to /home/myname/rnn/trained_result_1521874582...
Start training...
Epoch 0...
Segmentation fault (core dumped)
I googled this problem and used gdb to backtrace the problem:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `python train_rnn.py'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __memcpy_avx_unaligned ()
at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:204
204	../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: No such file or directory.
[Current thread is 1 (Thread 0x7f62ade54700 (LWP 64291))]
(gdb) backtrace
#0  __memcpy_avx_unaligned ()
at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:204
#1  0x00007f62728bd36a in std::_Function_handler<void (long long, long long), int tensorflow::functor::HandleCopies<float, int, int, -1>(tensorflow::OpKernelContext*, tensorflow::TTypes<float, 3, long>::ConstTensor, tensorflow::TTypes<int, 1, long>::ConstFlat, int, tensorflow::TTypes<float, 3, long>::Tensor)::{lambda(long long, long long)#1}>::_M_invoke(std::_Any_data const&, long long, long long) ()
from /home/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so
#2  0x00007f6270336479 in std::_Function_handler<void (long, long), Eigen::ThreadPoolDevice::parallelFor(long, Eigen::TensorOpCost const&, std::function<long (long)>, std::function<void (long, long)>) const::{lambda(long, long)#1}>::_M_invoke(std::_Any_data const&, long, long) ()
from /home/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so
#3  0x00007f627033644f in std::_Function_handler<void (long, long), Eigen::ThreadPoolDevice::parallelFor(long, Eigen::TensorOpCost const&, std::function<long (long)>, std::function<void (long, long)>) const::{lambda(long, long)#1}>::_M_invoke(std::_Any_data const&, long, long) ()
from /home/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so
#4  0x00007f627033644f in std::_Function_handler<void (long, long), Eigen::ThreadPoolDevice::parallelFor(long, Eigen::TensorOpCost const&, std::function<long (long)>, std::function<void (long, long)>) const::{lambda(long, long)#1}>::_M_invoke(std::_Any_data const&, long, long) ()
from /home/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so
#5  0x00007f627033644f in std::_Function_handler<void (long, long), Eigen::ThreadPool---Type  to continue, or q  to quit---
Device::parallelFor(long, Eigen::TensorOpCost const&, std::function<long (long)>, std::function<void (long, long)>) const::{lambda(long, long)#1}>::_M_invoke(std::_Any_data const&, long, long) ()
from /home/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so
#6  0x00007f627033644f in std::_Function_handler<void (long, long), Eigen::ThreadPoolDevice::parallelFor(long, Eigen::TensorOpCost const&, std::function<long (long)>, std::function<void (long, long)>) const::{lambda(long, long)#1}>::_M_invoke(std::_Any_data const&, long, long) ()
from /home/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so
#7  0x00007f627033644f in std::_Function_handler<void (long, long), Eigen::ThreadPoolDevice::parallelFor(long, Eigen::TensorOpCost const&, std::function<long (long)>, std::function<void (long, long)>) const::{lambda(long, long)#1}>::_M_invoke(std::_Any_data const&, long, long) ()
from /home/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so
#8  0x00007f627033644f in std::_Function_handler<void (long, long), Eigen::ThreadPoolDevice::parallelFor(long, Eigen::TensorOpCost const&, std::function<long (long)>, std::function<void (long, long)>) const::{lambda(long, long)#1}>::_M_invoke(std::_Any_data const&, long, long) ()
from /home/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so
#9  0x00007f627033644f in std::_Function_handler<void (long, long), Eigen::ThreadPoolDevice::parallelFor(long, Eigen::TensorOpCost const&, std::function<long (long)>, std::function<void (long, long)>) const::{lambda(long, long)#1}>::_M_invoke(std::_Any_data const&, long, long) ()
from /home/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/../---Type  to continue, or q  to quit---
libtensorflow_framework.so
#10 0x00007f627033644f in std::_Function_handler<void (long, long), Eigen::ThreadPoolDevice::parallelFor(long, Eigen::TensorOpCost const&, std::function<long (long)>, std::function<void (long, long)>) const::{lambda(long, long)#1}>::_M_invoke(std::_Any_data const&, long, long) ()
from /home/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so
#11 0x00007f627033644f in std::_Function_handler<void (long, long), Eigen::ThreadPoolDevice::parallelFor(long, Eigen::TensorOpCost const&, std::function<long (long)>, std::function<void (long, long)>) const::{lambda(long, long)#1}>::_M_invoke(std::_Any_data const&, long, long) ()
from /home/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so
#12 0x00007f627033644f in std::_Function_handler<void (long, long), Eigen::ThreadPoolDevice::parallelFor(long, Eigen::TensorOpCost const&, std::function<long (long)>, std::function<void (long, long)>) const::{lambda(long, long)#1}>::_M_invoke(std::_Any_data const&, long, long) ()
from /home/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so
#13 0x00007f627033644f in std::_Function_handler<void (long, long), Eigen::ThreadPoolDevice::parallelFor(long, Eigen::TensorOpCost const&, std::function<long (long)>, std::function<void (long, long)>) const::{lambda(long, long)#1}>::_M_invoke(std::_Any_data const&, long, long) ()
from /home/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so
#14 0x00007f627033644f in std::_Function_handler<void (long, long), Eigen::ThreadPoolDevice::parallelFor(long, Eigen::TensorOpCost const&, std::function<long (long)>, std::function<void (long, long)>) const::{lambda(long, long)#1}>::_M_invoke(std::_Any_da---Type  to continue, or q  to quit---
ta const&, long, long) ()
from /home/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so
#15 0x00007f627033644f in std::_Function_handler<void (long, long), Eigen::ThreadPoolDevice::parallelFor(long, Eigen::TensorOpCost const&, std::function<long (long)>, std::function<void (long, long)>) const::{lambda(long, long)#1}>::_M_invoke(std::_Any_data const&, long, long) ()
from /home/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so
#16 0x00007f6270336e2a in Eigen::NonBlockingThreadPoolTempltensorflow::thread::EigenEnvironment::WorkerLoop(int) ()
from /home/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so
#17 0x00007f6270335ed2 in std::_Function_handler<void (), tensorflow::thread::EigenEnvironment::CreateThread(std::function<void ()>)::{lambda()#1}>::_M_invoke(std::_Any_data const&) ()
from /home/myname/anaconda2/envs/tf/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so
#18 0x00007f629d779c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#19 0x00007f62c1c616ba in start_thread (arg=0x7f62ade54700) at pthread_create.c:333
#20 0x00007f62c107f41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

My env:
OS: ubuntu 16.04
GPU: Nvidia GTX-1080Ti (384.111)
CUDA: 9.0.176
cudnn: 7.5
python: anaconda2 python=3.6
(I've tried rebuilding the conda env or changing to another server with same env, but still get the same error info.)
I haven't met this kind of error before when running tensorflow and don't know how to solve this at all.

Sorry, I have no ideas, it may be caused by gpu settings as below:
tf_config = tf.ConfigProto(
allow_soft_placement=FLAGS.allow_soft_placement,
log_device_placement=FLAGS.log_device_placement)
tf_config.gpu_options.allow_growth = FLAGS.gpu_allow_growth
I think I find a problem with similar description in https://github.com/tensorflow/tensorflow/issues/16291


Request: Unlimited pools for abilties

For abilities like Paladins divine weapon bond and Shamans spirit weapon enhancements where you spend some from a pool to activate abilities, I'd like to be able to have unlimited pool so you can turn on all the abilities at once.

Any chance to do the same for kinetic "burn"? Aka "No burn" cheat from old Bag of Tricks


Push version 1.4.0 to CocoaPods

I just released version 1.4.0, it needs to be pushed to CocoaPods trunk. Seems I have lost my powers to do this myself. 😉
This only needs a pod trunk push from master. Everything else is ready. Alternatively, you can add me to the ResponseDetective's trunk as collaborator (you should have my email).

Thank you for your contribution.
 🎉  Congrats

 🚀  ResponseDetective (1.4.0) successfully published
 📅  March 27th, 08:49
 🌎  https://cocoapods.org/pods/ResponseDetective
 👍  Tell your friends!


build(semantic-release): 🧱 add other commit types to changelog

Adds types other than feat, fix, and breaking change to be included in the changelog/release notes as a patch release

To push directly to master/beta and not trigger a new semver release, the commit must be scoped against 'no-release'.
e.g.
docs(no-release): this will not trigger a semver release
build(no-release): nor will this
refactor(no-release): or this
chore(no-release): you get the point


PIPS-IPM++ support [DRAFT]

Adds a new pips solver module for writing a model into several blocks that can be read by the PIPS-IPM++ solver interface.
This is a non-functional draft PR to collaboratively improve the code as discussed bilaterally earlier today.
@FabianHofmann

Have a test with the following code
from linopy import Model
import numpy as np
import pandas as pd
import xarray as xr
import matplotlib.pyplot as plt
m = Model(chunk="auto")
time = pd.Index(range(100), name="time")
plant = pd.Index(range(40), name="plant")
demand = pd.Series(3 + np.sin(np.pi / 24 * time), index=time)
x = m.add_variables(lower=0, coords=[time, plant], name="x",)
y = m.add_variables(lower=0, coords=[plant], name="y")
capacity = m.add_constraints(y - 1 * x, ">=", 0, name="capacity")
demand = m.add_constraints(x.sum("plant"), "=", demand, name="demand")
ramp = (x - x.shift(time=1)).isel(time=slice(1, None), plant=slice(0, 5))
ramplimit = m.add_constraints(ramp, "<=", 10, name="ramplimit")
co2limit = m.add_constraints((1 * x).sum(), "<=", 50, name="co2limit")
m.add_objective((2 * x).sum() + y.sum())
block_size = 5
blocks = np.repeat(np.arange(1, block_size + 1), len(time) / block_size)
m.blocks = xr.DataArray(blocks, [time])
m.to_block_files("linopy-blocks")

Codecov Report

Merging #4 (89515e6) into master (8ac34d9) will decrease coverage by 12.89%.
The diff coverage is 29.69%.

@@             Coverage Diff             @@
##           master       #4       +/-   ##
===========================================
- Coverage   95.16%   82.27%   -12.90%
===========================================
  Files           9        9
  Lines         910     1117      +207
  Branches      166      203       +37
===========================================
+ Hits          866      919       +53
- Misses         31      182      +151
- Partials       13       16        +3

Impacted Files
Coverage Δ

linopy/io.py
65.64% <9.67%> (-34.36%)
:arrow_down:

linopy/constraints.py
69.93% <27.11%> (-25.68%)
:arrow_down:

linopy/variables.py
76.51% <31.81%> (-22.37%)
:arrow_down:

linopy/solvers.py
85.20% <40.00%> (+0.11%)
:arrow_up:

linopy/model.py
90.11% <46.66%> (-9.01%)
:arrow_down:

linopy/common.py
64.28% <50.00%> (-35.72%)
:arrow_down:

linopy/expressions.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Stub for GitHub pages

Description
Stub for GitHub pages

Codecov Report

Merging #334 into master will increase coverage by 1.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #334      +/-   ##
==========================================
+ Coverage   79.52%   80.56%   +1.03%
==========================================
  Files          15       15
  Lines        1636     1636
==========================================
+ Hits         1301     1318      +17
+ Misses        237      221      -16
+ Partials       98       97       -1

Impacted Files
Coverage Δ

server/server.go
89.51% <0.00%> (+13.70%)
:arrow_up:

Continue to review full report at Codecov.

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


Allow to modify hardcoded quick open keybinding shortcuts

Issue Type: Bug
When I step through the the VSCode Quick Open menu, I want it not to automatically switch between editors until I've selected the file I'm interested in (and hit enter). But with a recent (April?) change to VSCode, it automatically shows me each file as I step through the menu.  Furthermore, it doesn't show the currently selected file.  Instead, it shows each file as it becomes UNselected.

Here's my motivation, for those who are interested:
One of the (common?) ways to use VSCode's "Quick Open" menu is to use it like the "last channel" button on a TV remote. I want to open one editor, then open another, and then quickly toggle back and forth between the two. Since they are my current and most-recent editors, they should appear at the top of the Quick Open Menu, so toggling between them is fast.
This used to work just fine, but a recent (April?) change to the Quick Open menu seems to have broken this functionality. Now, it automatically activates the editor for every file that I step through in the menu, changing my "most recent" ordering. It can no longer be used like a "last channel" button.
Here's a short video demonstrating the problem. Here, I'm starting with one.txt. I want to select five.txt via the Quick Open menu, and then quickly toggle between the two. But it opens all the other files along the way!  Instead of toggling between one.txt  and five.txt, it toggles between four.txt and five.txt.
(In fact, if you watch closely, the behavior is even weirder: It doesn't show me the currently selected file -- it opens the editor for each file as it becomes UN-selected. Maybe this is just a bug?)

FWIW, here are the the relevant parts of my keybindings.json, to make it clear which commands I'm referring to:
// keybindings.json
[
  // Trigger quick open menu and pre-select the previously used editor.
  // (With either cmd+left/cmd+right)
  {
    "key": "cmd+left",
    "command": "workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup",
    "when": "!inEditorsPicker"
  },
  {
    "key": "cmd+right",
    "command": "workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup",
    "when": "!inEditorsPicker"
  },

  // Once the menu is open, scan through the choices.
  // (Forward with cmd+right, backward with cmd+left)
  {
    "key": "cmd+left",
    "command": "workbench.action.quickOpenNavigatePreviousInEditorPicker",
    "when": "inEditorsPicker && inQuickOpen"
  },
  {
    "key": "cmd+right",
    "command": "workbench.action.quickOpenNavigateNextInEditorPicker",
    "when": "inEditorsPicker && inQuickOpen"
  }
]

VS Code version: Code - Insiders 1.46.0-insider (2591ede95a52400d5d22989b16706f9b8b4831da, 2020-05-22T21:12:04.233Z)
OS version: Darwin x64 19.4.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
32.00GB (2.19GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (21)

Extension
Author (truncated)
Version

vscode-bazel
Baz
0.3.0

kill-ring
dvk
0.2.3

json-tools
eri
1.0.2

workspacesort
ici
1.5.9

error-gutters
Igo
1.0.1

restructuredtext
lex
128.0.0

autoconf
mae
0.1.0

vscode-docker
ms-
1.2.0

python
ms-
2020.5.80290

remote-containers
ms-
0.117.1

remote-ssh
ms-
0.51.0

remote-ssh-edit
ms-
0.51.0

remote-wsl
ms-
0.44.2

vscode-remote-extensionpack
ms-
0.20.0

cmake-tools
ms-
1.4.0

cpptools
ms-
0.28.1

vscode-json-editor
nic
0.2.3

vscode-singularity
onn
0.5.0

trailing-spaces
sha
0.3.1

gitblame
wad
4.0.1

vscode-proto3
zxh
0.4.2

This is a consequence of quick pick having a few hardcoded keybindings such as:
https://github.com/microsoft/vscode/blob/a1ed386162d6a5741ed440c6b8998ca5728a89f8/src/vs/base/parts/quickinput/browser/quickInput.ts#L705
We would need to somehow extract this into commands so that a user can unbind them.
There is currently no workaround.

Ah, so if I use different key bindings instead of the settings shown above, it might not conflict with the hard-coded binding?

@stuarteberg yeah the issue is with the arrow-key specifically. Arrow-right in quick open will literally open the file in the background.

@bpasero OK, I can just use up/down instead of left/right.  A slight muscle-memory adjustment, but NBD.  Thanks for looking into this.

Yeah that would work 👍

Hello,
I would like to mention some other cases where it would be useful to allow the arrow shortcuts to be overridden.
Which-key
Vscode-which-key is a plugin inspired from spacemacs, a emacs distribution. It allows users to type a sequence of keys starting with a specific prefix to execute commands and manipulate the editor.
The plugin uses the quick-pick editor to show the available shortcuts and accept user input. However, the arrow keys cannot be bound, limiting its use in certain scenarios.
Relevant issue: https://github.com/VSpaceCode/vscode-which-key/issues/36
Vscode-neovim
Vscode-neovim uses the quick pick feature for the vim commandline. Allowing the use of arrow keys to navigate the history is crucial, currently users are forced to use C-P and C-N.
Relavant issue: https://github.com/asvetliakov/vscode-neovim/issues/288
Potential solution
A solution that would solve the two mentioned use cases (though I'm not completely sure if it would solve OP's issue) without needing to refactor much would be something like this:
diff --git a/src/vs/base/parts/quickinput/browser/quickInput.ts b/src/vs/base/parts/quickinput/browser/quickInput.ts
index 7aed5e2..457ac8a 100644
--- a/src/vs/base/parts/quickinput/browser/quickInput.ts
+++ b/src/vs/base/parts/quickinput/browser/quickInput.ts
@@ -722,7 +722,6 @@ class QuickPick<T extends IQuickPickItem> extends QuickInput implements IQuickPi
 						if (this.canSelectMany) {
 							this.ui.list.domFocus();
 						}
-						dom.EventHelper.stop(event, true);
 						break;
 					case KeyCode.UpArrow:
 						if (this.ui.list.getFocusedElements().length) {
@@ -733,7 +732,6 @@ class QuickPick<T extends IQuickPickItem> extends QuickInput implements IQuickPi
 						if (this.canSelectMany) {
 							this.ui.list.domFocus();
 						}
-						dom.EventHelper.stop(event, true);
 						break;
 					case KeyCode.PageDown:
 						this.ui.list.focus(QuickInputListFocus.NextPage);
@@ -741,13 +739,11 @@ class QuickPick<T extends IQuickPickItem> extends QuickInput implements IQuickPi
 							this.ui.list.domFocus();
 						}
 						dom.EventHelper.stop(event, true);
-						break;
 					case KeyCode.PageUp:
 						this.ui.list.focus(QuickInputListFocus.PreviousPage);
 						if (this.canSelectMany) {
 							this.ui.list.domFocus();
 						}
-						dom.EventHelper.stop(event, true);
 						break;
 					case KeyCode.RightArrow:
 						if (!this._canAcceptInBackground) {
@@ -768,13 +764,11 @@ class QuickPick<T extends IQuickPickItem> extends QuickInput implements IQuickPi
 					case KeyCode.Home:
 						if ((event.ctrlKey || event.metaKey) && !event.shiftKey && !event.altKey) {
 							this.ui.list.focus(QuickInputListFocus.First);
-							dom.EventHelper.stop(event, true);
 						}
 						break;
 					case KeyCode.End:
 						if ((event.ctrlKey || event.metaKey) && !event.shiftKey && !event.altKey) {
 							this.ui.list.focus(QuickInputListFocus.Last);
-							dom.EventHelper.stop(event, true);
 						}
 						break;
 				}

I'm not sure what side effects this has, or if this is a good solution, or if there is a better fix, but it seems to work well for me. It makes user bindings work and does not disrupt the normal arrow key functionality.
As a side note, maybe a year ago, this was not an issue. However, something changed - possibly related to https://github.com/microsoft/vscode/pull/95587.
Thanks!

I would love to find a solution for something I am encountering that is related to this. I navigate the quick open menu with vim-like commands, and have been working on a keybinding for opening the selected file in the background with ctrl+l instead of the right arrow.
Keybindings:
  // Navigate Quick Open
  {
    "key": "ctrl+j",
    "command": "workbench.action.quickOpenSelectNext",
    "when": "inQuickOpen"
  },
  {
    "key": "ctrl+k",
    "command": "workbench.action.quickOpenSelectPrevious",
    "when": "inQuickOpen"
  },
  // Opens the file, but not in the background
  {
    "key": "ctrl+l",
    "command": "workbench.action.acceptSelectedQuickOpenItem",
    "when": "inQuickOpen",
  },

This one is killing me..

Related to #209708 on Stack Overflow: Change keybindings for quick pick separator navigation

Made some progress here: https://github.com/microsoft/vscode/pull/211756
Now the following things can be overridden:

moving up 1 on the list
moving down 1 on the list
moving between separators
moving between "pages"
moving to the top/bottom of the list

Here's what is left:

accepting (ENTER)
canceling (ESC)
alternate accept (right arrow)
toggle tooltip (ctrl+space)
the tab behavior


Publish 05/13/2021, 10:30 AM

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

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Get-MailboxRestoreRequest.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Import-ExchangeCertificate.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-DlpCompliancePolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

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


executemanycolumns cause InterfaceError  UTF-16 Strings are not supported yet when use pyarrow table as parameter

Trying
cursor.executemanycolumns("INSERT INTO my_table VALUES (?, ?,?, ?, ?, ?, ?, ?,?)", table)
My_table looks like:

I got the following error:
File "/opt/anaconda/lib/python3.6/site-packages/turbodbc/exceptions.py", line 54, in wrapper
raise InterfaceError(str(e))
turbodbc.exceptions.InterfaceError: UTF-16 Strings are not supported yet

turbodbc: 2.6.0
Python 3.6
anaconda
MS SQL server
running under linux opensuse

please note I am using
options = make_options(parameter_sets_to_buffer=1000,prefer_unicode=True)

Hi! Yeah, UTF-16 support is currently missing for pyarrow extensions. They should work for the Numpy extensions, however.

This will be fixed by https://github.com/blue-yonder/turbodbc/pull/190


⚠ File access (beta) has degraded performance

In 18ed1f4, File access (beta) (https://beta.fyle.uk/file/fish) experienced degraded performance:

HTTP code: 200
Response time: 5369 ms

Resolved: File access (beta) performance has improved in 8a6ab9a.


Unable to load file '//tf:workspace_tf2_8_0.bzl': file doesn't exist

The following errors show in the 'Install from source code' of  https://github.com/waymo-research/waymo-open-dataset/blob/master/tutorial/tutorial.ipynb
Loading:
ERROR: error loading package '': Unable to load file '//tf:workspace_tf2_8_0.bzl': file doesn't exist
ERROR: error loading package '': Unable to load file '//tf:workspace_tf2_8_0.bzl': file doesn't exist
INFO: Elapsed time: 0.475s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)

They don't provide the file for TensorFlow 2.8, I walk around this by downgrading my TensorFlow to 2.6.

They don't provide the file for TensorFlow 2.8, I walk around this by downgrading my TensorFlow to 2.6.

I downgrade by
!pip3 install --upgrade tensorflow==2.6
!pip3 show tensorflow


errors when running precalc_library_alignment_info.py

Thank you for this excellent software.
I am interested in running BAGEL2 with Multi-target-filtering.
I therefore tried to use precalc_library_alignment_info.py to generate an alignment-info for TKOv1
Unfortunately the script would not complete, and generated errors that I traced back to:
for readid in guideid2seq_series:
In an effort to debug, I replaced the above with
for readid in guideid2seq_series.index:
I also used an input file with lowercase headers corresponding to this call (rather than uppercase as in the helptext) ie:
[READID2SEQ] format:
readid [tab] guideseq
READ1  [tab] ATAGATGTCCTGTGGCCCCG`
With those two changes it seemed to run smoothly and generate an alignment file.
However, I am not sure if this is a genuine bug with the current version that others experience, or simply a mistake on my part with the input files / system setup (python 3.7.3)?
Many thanks

Thanks for this. Please could you let me know which old version of pandas the current release should still run on?

I generated this code under python 2.7 enviroment and converted into python 3 version after.
And, I'm guessing something went wrong during the conversion.
Since I tested it using a READID2SEQ file that I duplicated the sequence column as a read ID, the bug couldn't detected.
I've uploaded updated version, so please use the code.
Thank you again for reporting this issue.

You're very welcome. Thank you for fixing this; I can confirm it ran successfully in a python 3.7.3 environment.


Smoking reminders to check the temperature / water / smoke

It would be really useful for smoking if the app could wake up periodically and let you know to go check the temperature, water status (for smokers with water), and wood status to make sure everything is good.
Another good check would be to warn the user 30 minutes or so before the timer is done to check the internal temperature of the meat so you know if the time needs to be extended.

This is a great feature.

I think we should consider at some point to not only have the temp check timer - but also be able to configure each probe to a set target temp so the user can be notified when the meat hits temp because based on the outside temperature it could happen well before they think it should be done.

Yes, I agree. Probe temperature alarms are the most useful. This is the basic interface for the 2 thermometers I have.

After writing the previous comment I was thinking that probably the most natural interface for the low-n-slow is to have unbounded timers. Everything is temperature-driven. Instead of having the DurationPicker as the main action in the low-n-slow, we could have a TemperaturePicker for the probes and simply let the time go as it needs to.
The only problem with this is if we don't reliably get temperature values from the probe (e.g., battery runs out in the thermometer). We could burn or overcook some food.

I agree. My smoker sits outside far enough away that if I'm anywhere in the house I can't get a connection. It picks it up if I'm within about 40-50 ft., but that's not far enough for me to pick it up inside the house. The timer is more of a general thing, and makes it useful even if you don't have a thermometer.
The way I see it
no therm:

you can estimate the smoking time and temperature based on meat type and weight
enter the time to smoke
setup the smoke/water/temp check
get notifications during the smoking to check on it so you don't forget
when notified you can stick a thermometer in it when you think it might be ready

with thermomter:

things work the same
when the probe reaches the desired internal temp it notifies and you know that it's done, regardless of how much time you set on it

One of the issues I have is that the smoker sits in full sun, and in the middle of the summer it can be difficult to control the smoking temperature so the probe is a nice way to keep on top of it. If you don't have a probe, or don't have bluetooth it would still be nice to be told to check on it (or I have a tendency to forget).

The current implementation keeps the reminder for 2 minutes after the check time has been reached. Perhaps adding vibration would be beneficial.
Having the user clear the alarm would be a bit problematic and cumbersome.
Another option would be to create a custom screen with the alarm. The water/smoke/temp icon in the center and some vibration until you clear it.

I was thinking we could have a view that gets pushed that has the alert information. Then the user just clicks the go button and it goes away.
This could also be used to notify users when running the background that they need to check something.
For the low-mem devices I think it's possible too, but we will have to see.

I'll prioritize this between tomorrow and Friday. Then cleanup the mess with the watch-specific strings.xml. This is unecessary and created a mess.

I think the basic implementation works. The only possible improvement would be to reset the warning flags when:

Smoke timer is reset (e.g., set for another 2 hours)
App wakes up - the warning flags are not persisted now so there is no way of knowing whether the warning has been cleared by the user

I think the basic implementation is ok. We just need to persist the warning flags and add the logic to decide when to warn the user after the app has been re-opened during a smoking session.


Remove settingfields.none

Fixes #5415

This change looks good to me but I think we're missing coverage of SettingFields feature. There are no mock tests and the live test doesn't assert enough.

There are no mock tests and the live test doesn't assert enough.

Good point. I'll add those as part of this PR.


Kube-proxy scaling/perf

We should measure and (maybe) optimize kube-proxy at some point.  There are some fairly easy opportunities to make it more efficient.

Also see #3760 for a performance optimization of the kube proxy.

A benchmark would be useful. I had a chat with a user today about proxy performance problems.
@quinton-hoole

This is extremely old issue and a lot has been done since then. Can we close it?

It's okay with me
-----Message d'origine-----
De : "Wojciech Tyczynski"<EMAIL_ADDRESS>Envoyé : 22/12/2015 16:36
À : "kubernetes/kubernetes"<EMAIL_ADDRESS>Cc : "josselin-c"<EMAIL_ADDRESS>Objet : Re: [kubernetes] Kube-proxy scaling/perf (#1277)
This is extremely old issue and a lot has been done since then. Can we close it?
—
Reply to this email directly or view it on GitHub.


to_timecode ignoring RationalTime's rate

How to reproduce:
import opentimelineio as otio
time1 = otio.opentime.RationalTime(24.0, 24.0)
time2 = otio.opentime.RationalTime(1.0, 1.0)
time1 and time2 are equivalent, here's proof:
time1 - time2
gives:
otio.opentime.RationalTime(value=0.0, rate=24.0)
converting time1 to a 24fps timecode:
otio.opentime.to_timecode(time1, 24.0)
correctly gives:
'00:00:01:00'
however, converting time2 to a 24fps timecode:
otio.opentime.to_timecode(time2, 24.0)
erroneously gives:
'00:00:00:01'
in fact, it seems the RationalTime's rate is being completely ignored by to_timecode, as converting time1 to a 12fps timecode:
otio.opentime.to_timecode(time1, 12.0)
erroneously gives:
'00:00:02:00'

Hi @splidje, thanks for filing! This is definitely an issue. I've checked the pip version as well as the C++ version and they both show the bug.
I'm sure you figured it out already, but the workaround is to rescale the RationalTime to the frame rate before converting:
otio.opentime.to_timecode(time2.rescaled_to(24))
gives:
'00:00:01:00'


Fix lein resolution.

On my Windows box proto-repl was unable to resolve lein location. Giving the path to lein also did not help. This is because 'leinPath' was not being used. This change looks at leinPath, if non-empty and prepends it along with file separator - if needed.

Thanks for the pull request! I'll have a look with any feedback or merge it in the next couple days. I appreciate any fixes that make it work better on Windows.

You are welcome. Although I do suspect that my problem was more to do with some corporate access restrictions in action on my Windows box. Running proto-repl on a Windows VM in my Linux box worked without this change.

I took a look at your code and added a few comments. Do you think this change is still necessary given that it's working for you? Do you think the original issue is still there? I'm trying to understand what the issue is but I don't think I get it yet.
I noticed that you said "'leinPath' was not being used" but it is used in the creation of the env that's passed to the spawn call.

Also another thing, I'm a bit new to the whole pull request process in open source. I'm used to reviewing code from people who are paid to write it so I'm a bit picky in my comments. I really appreciate the effort and time you've put in to help make this a better product. Thanks

Although the filteredEnv did contain leinPath (verified by examining the variable), during execution on the plain Windows 7 box, it would keep raising error that path to lein must be set.
As I said this behaviour could have been due to the fact that the Atom instance was running on a corporate Windows machine that has very strict access controls set. It also has on-the-fly full disk encryption.
However, with the changes that explicitly pointed to the lein executable, proto-repl was able to successfully launch the nREPL.
Maybe it will be better to create a function that would get invoked if and only if the initial spawn that uses filteredEnv did not work. The explicit path-ed lein invoke would then go into that function.

I saw another person with the same problem on #13. I installed a windows VM, tested it and saw the issues they reported. I tried the fixes in this pull request but it didn't quite fix it. I rewrote it but based it on what was here. Everything should be working now. Even though this pull request didn't get merged it it was a big help in the actual solution used.


Basic demo map

Create a demo map on the frontend which user can interact with to:

set start point
set end point
move these

And upon doing so, javascript makes api call to osrm India deployment and fetches the onroad route.

The API url will be fetched on page load from a local .json .
Whenever backend IP address is changed, we can updatethat .json.

Done!


Adding MySqlListItr for partially readable blobs

Can we close and remove these PRs if they are not going to be merged any time soon ?


67470 - [Newsroom] Common Modules -News Posting Article-previous and next button component take time to load on the page for franklin site when clicked.

Severity - 3 - Medium
Steps to Reproduce:

open both the below URL legacy and franklin one

Legacy newsroom page:
https://newsroom.accenture.com/news/accenture-completes-acquisition-of-anser-advisory.htm
Adobe Franklin migrated page:
https://main--accenture-newsroom--hlxsites.hlx.live/news/accenture-completes-acquisition-of-anser-advisory

Click on the previous button on both the pages.

Actual: when previous or next button is clicked on the franklin page observe it takes time to load not same as franklin
Expected: it should load asap as per legacy when clicked.

Azdo link: https://dev.azure.com/accenturecio26/WebContentDigAssetMgmt_PR1093/_workitems/edit/67470
cc: @ravkiran @amol-anand @raymond-h-dev

@ravkiran tagging this as close according to my PO.
cc: @raymond-h-dev @jjjaspher


Update client library

Update client library to python-on-http
Add nose package to requirement

@RackHD/corecommitters @RackHD/rackhd_dev
https://github.com/RackHD/on-http/pull/77 should be merged first.

:+1:

:+1:  Changes look good, but I think we should move away from debian packaging for the generated library.

@brianparry We already had debian deployment in place but we can setup pypi deployment in another PR.


parse_yaml.py: keep the trailing newline

Hi!
I have been using your library for a while and it's really great!
I have a very particular issue that is probably very niche, but I decided to try and fix it. As you can see in the pull request, the fix is very simple.
My use case is very particular, I use docker to prebuild my workspace and then I hop into the container to develop. When prebuilding with --symlink-install, this package create the module inside my src/ directory.
The problem arise when I mount my workspace inside the container. It essentially wipe the generated modules. The solution I use is to rebuild the packages inside my container and then commit the generated modules.
Which comes to the main point of this pull request, the trailing new line. Since most linter and formatter enforce a newline at the end of a python file by default, the fact that the generated modules don't have one is a little bit annoying.
tl;dr: For the (few) packages that somehow commit the generated modules, adding a trailing newline to the generated module could be a nice quality of life upgrade.

Can you run pre-commit to format your change pre-commit run -a. Otherwise, it looks good.

@pac48 I'm so used to it being install on my repo that I forgot to install the hook before committing. This is done!

@BrunoB81HK Looks good now. I will merge it if you can just merge your changes with main.

@pac48 I think its done

pre-commit is still failing with a formatting issue, do you mind running that and pushing the change?

@tylerjw I don't mind. I will do it tomorrow.

@pac48 @tylerjw Since the main branch was updated and it included changes to the .pre-commit-config.yaml file, the PR's commits were all over the place. I rebased the branch onto the latest commit on main, ran pre-commit and squashed all my commits into one. It should now be resolved.

I'm sorry for the difficulty getting this merged. I just kicked off ci again and will merge when it passes.

Great! Thanks a lot guys for your time!


Add interpolations

This lets you override the fetching of tiles (from local or remote file) to use an interpolator to fill up the tiles on the fly.
Side benefits : this lets you try/test things out offline / without access to files or urls; or project any array or image onto the tile space.
Some notes
That's pretty much what I used in https://youtu.be/6pvKW1hcghg using output from a climate model via such an interpolator.
Several things can be improved. I may have gotten confused wrt North/South direction, maybe? Also should mention that I wasn't immediately able to make docs. The example could be used for test but I did not do it.
Others are question marks. I could imagine AbstractProvider definition moving to Tyler, or module ForInterpolations moving to TileProviders alternatively, or maybe all is fine as done here; maybe I could have PR'ed the lng2tile etc functions to MapTiles.jl.

requires https://github.com/JuliaGeo/TileProviders.jl/pull/5

@gaelforget it looks like you didn't add Interpolations to the Docs Project.toml, hence the failure. The environment is independent to the one for base Tyler. Also, for every new file.jl for docs, you need to add an entry after here with the same name as the file but now with md, i.e. file.md : https://github.com/MakieOrg/Tyler.jl/blob/9831ee30391643fabc2903566cb7f158ee226eb5/docs/mkdocs.yml#L108.
As for the right place and style for https://github.com/MakieOrg/Tyler.jl/pull/16/files#diff-3b196dbeff13910024b55eb38dbb48b8bd8d51d698d330ab200031de29ac4e90 @SimonDanisch might have some opinion about it.

@gaelforget it looks like you didn't add Interpolations to the Docs Project.toml, hence the failure. The environment is independent to the one for base Tyler. Also, for every new file.jl for docs, you need to add an entry after here with the same name as the file but now with md, i.e. file.md :
https://github.com/MakieOrg/Tyler.jl/blob/9831ee30391643fabc2903566cb7f158ee226eb5/docs/mkdocs.yml#L108
.
As for the right place and style for https://github.com/MakieOrg/Tyler.jl/pull/16/files#diff-3b196dbeff13910024b55eb38dbb48b8bd8d51d698d330ab200031de29ac4e90 @SimonDanisch might have some opinion about it.

Sounds good. Thanks for the feedback and pointers.

@gaelforget it looks like you didn't add Interpolations to the Docs Project.toml, hence the failure. The environment is independent to the one for base Tyler. Also, for every new file.jl for docs, you need to add an entry after here with the same name as the file but now with md, i.e. file.md :
https://github.com/MakieOrg/Tyler.jl/blob/9831ee30391643fabc2903566cb7f158ee226eb5/docs/mkdocs.yml#L108

Thanks. Still getting a segfault & need to take another look. But rest should be done now.

Just got merged from master branch. ci and documenter workflows seem aok.
Could this be merged? further reviewed?


Add --gateway-retries and --gateway-wait options

Coverage decreased (-0.08%) to 17.951% when pulling e732736325c57b76479a0c7b6af29c330419c09f on raphink:gateway_retries into b2e37af488a31fc7f8ce2eaf591c72a6c8ad2ce6 on camptocamp:master.