Remove dependency upon `typing'

As per https://pypi.org/project/typing/ - this module is not needed for Python >= 3.5 . Actually, it can also cause problems in newer versions of Python since it shadows the built in typing module, but it not compatible e.g.:
      File "venv/lib/python3.8/site-packages/typing.py", line 1359, in <module>
        class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
      File "venv/lib/python3.8/site-packages/typing.py", line 1007, in __new__
        self._abc_registry = extra._abc_registry
    AttributeError: type object 'Callable' has no attribute '_abc_registry'

This PR just removes the dependency.

Basically, I'm agree with this proposal.
But I'm wondering if we can support older versions (with conditional installation?)

Great! I believe it is possible in principle, but I think this can be avoided because:

Python 3.4 has been end-of-life'd: https://endoflife.date/python
The current version of e.g. https://github.com/pybind/pybind11 does not support Python < 3.5.

Is this module compatible with Python 3.4 currently? Is it worth supporting?

@frankier Thank you for your clarification! Now I completely support this change.
@matsui528 Any concerns?

I agree, too

Thx so much!


API Specifications Weekly - April 18th, 2022

This is a weekly public meeting to discuss the top API specifications, including, but not limited to OpenAPI, AsyncAPI, JSON Schema, GraphQL, gRPC, and Websockets. Discuss ideas on how we can better cross-pollinate information across the communities, develop common extensions, as well as tooling, collections, and other resources that benefit the community.
Agenda:

Updates - Doc provides the updates across specs from the week.

Automating Community Count - Automated the pulling of weekly Twitter and Github numbers, will be doing Stack Overflow.
Twitter Spaces - Use Twitter Spaces as a place to ask questions about spec usage and adoption.
How to Add items to API Specification Weekly Report - Documenting the process.

OpenAPI - Review the projects currently occurring as part of OAI operations, the future of the marketing meeting, and any other relevant items.

Marketing (Repo)
Gluecon - Conference and booth.
Tooling (Repo) (Kanban)
Education Resources - Phil Sturgeon and Jack Skinner working on OpenAPI.dev.

AsyncAPI - Talk about how we can better showcase what they are doing, follow their lead, and energize other areas based upon what is happening.
JSON Schema - Understand how we invest more in JSON Schema, but also vocabularies for AsyncAPI and OpenAPI, but also forms and others.
GraphQL - Updates from the world of GraphQL, sharing what is happening with that community.
API Spec Toolbox - Keep this in the conversation so we can make sure and use it as the central gathering for this work and discussion.

Workspace - Where automation for the space is happening.
Community Rep - Managing this meeting with organization now.

Workshops - Produce 101 series curriculum for training and workshops.

OpenAPI, AsyncAPI, JSON Schema, GraphQL, gRPC
AsyncAPI Training - They are building training and curriculum.

ASC - The API Specifications Conference, event, sponsorship, program.

Event Description
Program
Sponsorship

Please add any agenda items you’d like to discuss below, and we will meet weekly, and push forward projects, stories, collections, and tools to support our work.

Reach out to other specs - GraphQL, gRPC, others to support ASC. Move it beyond the OAI.


[Basic D&D Moldvay] Minor Fixes

Changes / Comments

Changed the page-switching tabs to be slightly larger so
Linked Readme in Sheet Description
Move macro example to Readme.

Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[x] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Hi.
I don't know if that's the right place to ask this, so sorry if it isn't!
First off, thank you very much! That sheet is awesome!
So, I'm about to begin to DM a campaign with Old-School Essentials (B/X retroclone) and your sheet is the best fit by far.
The only issue is that we'll be using the Ascending AC optional rule. In the past that wouldn't be a problem. I'm watching Koebel's Old School Adventures and I saw that in the past we would roll normally, and then check on the To Hit Matrix.
Now the sheet comes with the built-in conversion. So my question is: there is any way to switch that off? Unfortunately I'm just a Plus user, so I can't have a Custom Sheet.
Thanks again. Keep up that awesome work!


Fix python issue #50

This PR adds a method to bindings/python/robots/robot-wrapper.hpp
to read a JointModelFreeFlyer python type and call the appropriate constructor of the RobotWrapper object.
It might be needed to extend this if someone wants to use another joint than a FreeFlyer as a root (but it  looks unlikely to happen).

The new commit is fixing the std::cout issue.

I would say this PR is ready for merging. Thanks for the dev!

Thanks for this PR @olivier-stasse !


bugfix(prometheus): the overhead should use millisecond units, so it needs to be multiplied by 1000

The statistics should use millisecond units, so it needs to be multiplied by 1000.
https://github.com/apache/incubator-apisix/blob/master/apisix/plugins/prometheus/exporter.lua#L113
    overhead = overhead - tonumber(ctx.var.upstream_response_time)
    overhead = overhead * 1000

I wanna fix it.

overhead already has 1000 multiplied, this should be
overhead = overhead - tonumber(ctx.var.upstream_response_time) * 1000

@JanLi-air many thx, your way is right. I was wrong


Is there a way to reload the env files I selected last time?

Thanks for the great extension! I'm happy to use it.
There is a environmentSelectedOnStart option to select envs on startup. I wonder if there is a way to select the envs I selected last time before I colse the eiditor.

It will work with the next version. Just set the setting httpyac.environmentStoreSelectedOnStart to true. Default is intentionally set to false, I find it to be dangerous because the last system may be productive, but I wouldn't necessarily think about it the next time I start it.

Ha, it's true most of us are forgetful, me too. But I won't add production environment to my envs since I have to permission to invoke productive apis. Thus this option is useful for me.

The change can be tested with release 2.12.5.

Confirmed release 2.12.5 works as expected.

Thx


Readthedocs issue with Emmental

Describe the bug
Fix the readthedocs issue with Emmental
To Reproduce
There are some sphinx.ext.autodoc.importer._MockObject in the current readthedoc.
Expected behavior
Have the correct inheritance information.
See https://github.com/HazyResearch/fonduer/pull/329 for context on this bug.

This was just merged: https://github.com/readthedocs/sphinx-autoapi/issues/183.
So, we may be able to do some workaround now.

I've just acknowledged this issue myself.
This issue https://github.com/snorkel-team/snorkel/pull/1274 may be relevant?

mocks and type hints don't work together very well (agronholm/sphinx-autodoc-typehints#70)

Is this still an issue?
I can't find any _MockObject in the readthedocs. (see the search result at https://readthedocs.org/projects/fonduer/search/?q=_MockObject)


Binding the "conversation-simple" app to CloudantDB causes app to crash

Deploy the Watson conversation sample application using https://bluemix.net/deploy?repository=https://github.com/watson-developer-cloud/conversation-simple
Once deployed, add/bind a Cloudant service to this deployed app.
Restaged the app. App will not come up. It crashes.

activity log shows 'an instance of app is crashed, failed to accept connections with health check timeout'.

Hi @JamieGilbertIBM, I'm looking at the manifest and Cloudant is not a requirement for this app. You should be able to run the deploy to Bluemix and have the app working once you update the WORKSPACE_ID


How to test infiniteHandler in jest?

As title

Emm, in this project, I tested it through trigger the scroll event manually, you can check out it in this test case, and do you have any idea about this topic?

@PeachScript I tested following jest test code and passed:
// Mock request load more data(comments)
axios.get.mockResolvedValue({ status: 200, data: mockCommentsMore });
...
wrapper.find(InfiniteLoading).vm.$emit('infinite');
setTimeout(() => {
  expect(wrapper.vm.comments.length).toBe(2);
  expect(wrapper.vm.comments[1].commentID).toBe(2179712);
  done();
}, 10);

Do I do the right?

@smoothdvd  I totally agree with you, because listen scroll event is this plugin's job, so this plugin need to make sure it can convert correctly from scroll event to infinite event, for any project that use this plugin, it just need to care about infinite event rather than scroll event :P


Update filters.py

Initial changes to stop None data in fields

This change will allow users to create bets with and without the customer_order_ref and customer_strategy_ref fields.


报错 com.alibaba.ververica.cdc.connectors.mysql.table.MySQLTableSource.$deserializeLambda$方法找不到

connector的jar包也是1.4.0
flink版本1.13，在另外一台flink版本1.12的机器上似乎没有问题，感觉是flink版本的问题哇

Closing this issue because it was created before version 2.3.0 (2022-11-10). Please try the latest version of Flink CDC to see if the issue has been resolved. If the issue is still valid, kindly report it on Apache Jira under project Flink with component tag Flink CDC. Thank you!


Fix #1056: Remove extra method generated by "x-ms-pageable" custom nextlink operation

So after digging some more, with a test case, Pavel and I think this is a deeper issue. We should be having paging.NextLinkOperation defined as non-null in my test case but it isn't, possibly because the code model has a recursive definition of itself.


chore: install specific version of recompose so demo works

we can revert this after this is released:
https://github.com/callemall/material-ui/pull/6847

https://github.com/acdlite/recompose/issues/380


Glimmer 2 Compatibility

For https://github.com/emberjs/ember-collection/issues/126
Adding support for glimmer 2. Would appreciate any feedback on the approach.

FYI It doesn't look like CI is running the beta build (at least I can't see it in the output)

Some discussion:

We're going to run this branch in production in Intercom as is for a little while.

having some issues getting this working locally...

if the blocker is glimmer support or not, maybe we should just bump a major version?

having some issues getting this working locally.

It appears this doesn't work locally, that is likely something we must see to consider merge.

https://github.com/emberjs/ember-collection/pull/131 gets the dummy app started

#131 gets the dummy app started

@lukemelia / @krisselden either of you guys some cycles to review. Dummy app seems to be functional

@stefanpenner looks good to me. We'll need to get ember-try running tests for it.

@lukemelia #131  does this I believe.

merging this and then #131


SetClusterNodes  allow to match localhost and real ip when listening on <IP_ADDRESS>

Search before asking

[X] I had searched in the issues and found no similar issues.

Motivation
Currently, SetClusterNodes can't match the node if the instance is listening on <IP_ADDRESS> instead of the real IP.
For example, the cluster topology is: lohMbHeln658feDcRVKYb4tT7XClAm3Zr4awKuoK <IP_ADDRESS> 6666 master -  0-16383, but the listen address is <IP_ADDRESS>, then it won't match the cluster node since the listen IP is not strictly equal to cluster's node IP <IP_ADDRESS>(as well as not localhost IP like 172.14.1.x).
This would confuse users because the cluster didn't work as their expected.
Solution
Check the IP address is matched by the real listening IP addresses instead of the bind address directly when using <IP_ADDRESS>.
https://github.com/apache/incubator-kvrocks/blob/unstable/src/cluster/cluster.cc#L211
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

please assign to me

please assign to me

Great! Assigned.


Test suite source validation

After test suite source is fetched, we should store and display validations, including among others:

Whether source contains suites with plugins that have zero tests
Whether source contains suites with wildcard mode (not handled well by save-cloud currently?)

This includes calculating these validations, storing them in the storage and support them on the frontend

Tasks, as discussed with @nulls:

Front-end

[X] #1810
[ ] Display the current fetch status ("Fetching...", "Completed", "Errors encountered", "Time-out", "Preprocessor unavailable") when (re-)fetching
[ ] Display the last fetch status ("Completed", "Errors encountered") when viewing tests (the Tests tab within an organization), using data from the tests_source_version and tests_source_snapshot tables.

Back-end

TBD

Preprocessor

[X] #1778
[x] #1955
[x] #1956
[ ] Refactor TestSuitesPreprocessorController#doFetchTests() and the underlying calls

[ ] The snapshot should be always saved (TestPreprocessorToBackendBridge#saveTestsSuiteSourceSnapshot()), even in case of validation errors. This is necessary, so that a malformed snapshot is never re-fetched again.
[ ] The tests_source_snapshot table, along with the corresponding DTO, should be enriched with isSuccessful and errorMessage fields
[ ] TestDiscoveringService#detectAndSaveAllTestSuitesAndTests() should perform the following operations, in order:

detect test suites and tests
validate test suites and tests
update the saved snapshot with status and error messages, if any
save test suites and tests, if the validation succeeded

Andrey did a lot of related things, probably we will open a new issue, when needed


[MKL] Fix offloading of batch_matmul to MKL

In https://github.com/apache/incubator-tvm/pull/6182, a new extern lib mkl was added to separate MKL offload from cblas. But x86 batch_matmul schedule was not updated to reflect that change, so adding -libs=mkl won't call mkl batched matmul. (I think before https://github.com/apache/incubator-tvm/pull/6182, -libs=cblas will call mkl batch matmul if mkl is enabled)
please review @tkonolige @icemelon9 @anijain2305 @tqchen

Thanks @comaniac


Add Ability to Retrieve All Entities

Description
Would it be possible to add an option to the API to retrieve all entities?
I am currently using a workaround where I add a dummy component to all entities and then just do:
dominion.findEntitiesWith(FillerComponent.class).iterator();

And then just iterate through it to get a list of all my entities, while it works, it would be nicer if I did not have to add a dummy component.
Use case
I wanted to fetch all entities for a debug menu so that I could implement a GUI where I can just click to select an entity from the list to add or remove a component from UI during testing. This is a lot faster than having to make all component changes programmatically.

Hi @Kureika ,
please check new Dominion.findAllEntities and let me know

This change was included in the new RC2

Apologies about the delay, I started testing it yesterday but I was having some really odd problems and I was not sure if it was just me or a bug, I am still not sure as I have not had the time to check it today.
For reference, I was just replacing instances of dominion.findEntitiesWith(FillerComponent.class).iterator(); with dominion.findAllEntities().iterator(); on the assumption it would give me the exact same results, and it even works for most of my test scenes, just that for 1 particular scene it only returns 3 out 5 entities and I am trying to figure out if I have a bug somewhere.
I reckon your changes are fine, just that I have a bug somewhere, just need to figure out where.
If it does end up being something with findAllEntities(), I will raise another issue.

Thanks a lot for your feedback! Let me know and yes, please rise a new issue if you feel something is still wrong ☺


Adding disable/enable functionality to text_area

Adding disable/enable functionality that seems to be missing in TextArea

Thanks for the PR! Not sure why this wasn't the before... :S


[Bug]: Autobuild .save() doesn't record Function/Tools config information

Describe the bug
Autobuild .save() doesn't record Function/Tools config information in the json
Steps to reproduce
Following the steps in this ipynb notebook: https://github.com/krishnashed/autogen/blob/main/notebook/autobuild_function_calling.ipynb
And after executing the step: builder.save()
the config gets saved as json, but it only contains information about:
code_execution_config, default_llm_config, name, model, system_message, description of the AI Agent
It doesn't contain information about the list of Functions mapped to Agents
Model Used
gpt-4-1106-preview, gpt-4
Expected Behavior
The function mapping information should also be saved in the json file, when builder.save() is called
Screenshots and logs
No response
Additional Information
No response

@JieyuZ2 @LinxinS97


function name is void: format-all-probe

For some reason, I reinstall os and emacs, then found this bug.
Once I comment out (format + onsave), the bug fixed. So I think something goes wrong with doom

First, it needs to be (format +onsave), not (format + onsave). That will fix formatting when saving.
Second, did you run bin/doom refresh (or make) after enabling/disabling the :editor format module? These two commands must always be run after modifying your module list.

@hlissner Yes, I run doom refresh and doom autoloads every time I modified configure files.

Alright. By the way, doom autoloads is unnecessary if you're using doom refresh (it calls doom autoloads internally).
Back to the problem: is Doom up to date? I've recently pushed a couple fixes to the :editor format module in the past few days.

I think doom is updated to date because I install my os and emacs just 3 hour ago.
~/.emacs.d >>> git pull                                                              ±[●][develop]
Already up to date.

~/.emacs.d >>> doom doctor                                                           ±[●][develop]
Doom Doctor
Emacs v26.1
Doom v2.0.9 (d7e4901b)
shell: /usr/bin/zsh
Compiled with:
  XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL
  GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11
  MODULES THREADS LIBSYSTEMD LCMS2
uname -a:
  Linux manjaro 4.18.4-1-MANJARO #1 SMP PREEMPT Wed Aug 22 22:33:53 UTC 2018
  x86_64 GNU/Linux

Checking your OS...
Checking your fonts...
Checking gnutls/openssl...
Testing your root certificates...
Checking for GNU/BSD tar...
Loading elec-pair...
Checking your enabled modules...

Everything seems fine, happy Emacs’ing!

Hmm, something doesn't add up. format-all-probe is used twice, [here] (https://github.com/hlissner/doom-emacs/blob/develop/modules/editor/format/config.el#L28) and here. In both cases, the format-all package is loaded just before it is used (and should either complain or short circuit if it failed).
Can you give me a backtrace for the error? Run M-x toggle-debug-on-error (or start emacs with emacs --debug-init) then trigger the error again, and pastebin the resulting backtrace.

Symbol's function definition is void: format-all-probe occupies the minibuffer, I cannot invoke M-x, emacs --debug-init has the same issue(just tell me function is void in minibuffer)

I can only imagine something went wrong when trying to download the format-all package. Try deleting ~/.emacs.d/.local/packages/elpa/format-all-*, then run doom install to reinstall it.

Tried to reinstall this package just now. nothing changed. Thanks for you help. let me reinstall all packages and emacs.

I've made a number of changes to the :editor format module. Please update and let me know if this is still an issue.

I have pulled, but the error still occur and doesn't change.

Even after doom autoloads? Have you byte-compiled (with doom compile)? If so, try doom clean, otherwise I'm stumped. I can't reproduce this.
Is your config on github where I can see it?

Yes, I have tried doom autoloads/refresh/clean.
here is my config: https://bitbucket.org/FirstLoveLife/my-doom-emacs-config

Does disabling +onsave fix the issue?

Doesn't, I tried disable-packages!  +onsave company-irony company-irony-c-headers flycheck-irony irony irony-eldoc ivy-rtags rtags just now.

That's not what I mean. +onsave is not a package, it's a module flag. In your init.el, make this change:
       vc-gutter         ; vcs diff in the fringe
       vi-tilde-fringe   ; fringe tildes to mark beyond EOB
       window-select     ; visually switch windows

       :editor
-      (format +onsave)  ; automated prettiness
+      format            ; automated prettiness
       multiple-cursors  ; editing in many places at once
      ;parinfer          ; turn lisp into python, sort of
       rotate-text       ; cycle region at point between text candidates

Yes! It works now!

@FirstLoveLife I couldn't see any obvious conflicts between packages, however, 1ae3523 may have fixed your format-all-probe issue. Please try enabling +onsave to see if your issue has been resolved.

Unfortunately, not yet:

format-all-20180719.309
Ah ha! That explains the cause. You are using a 1 month old version of format-all, before format-all-probe was introduced. Please update your it with bin/doom update and this should resolve your issue.

I did try doom update several times yesterday. But it doesn't update  format-all:
~/.emacs.d >>> doom update                                                                                ±[●][develop]
Initializing modules
Loading /home/firstlove/.doom.d/custom.el (source)...
Loading elec-pair...
Doom core autoloads is up-to-date
Looking for outdated packages...

Initializing modules
Loading /home/firstlove/.doom.d/custom.el (source)...
Everything is up-to-date

though melpa's latest 0829: https://melpa.org/#/format-all

Let me git clone mannyally.

doom refresh still asks me to install:
Looking for packages to install...
1 packages will be installed:

+ format-all (QUELPA)

Proceed? (y or n) y
Installing format-all
✓ DONE
Finished!

Wait...It works now! I even don't know what have happened. Anyway, thanks for your help @hlissner
You are the greatest man I have ever seen.
electric-layout and +onsave have both been solved, now my doom has no explicitly bug, yeh!

More information:
In the past:
~/.../elpa/format-all-20180719.309 >>> ls -lia                                                                                ±[develop]
total 72
9571455 drwxr-xr-x   2 firstlove firstlove  4096 Aug 30 19:58 .
9176003 drwxr-xr-x 221 firstlove firstlove 16384 Aug 31 08:25 ..
9572370 -rw-r--r--   1 firstlove firstlove  2742 Aug 30 19:58 format-all-autoloads.el
9572369 -rw-r--r--   1 firstlove firstlove 21329 Aug 30 19:58 format-all.el
9572372 -rw-r--r--   1 firstlove firstlove 19978 Aug 30 19:58 format-all.elc
9572371 -rw-r--r--   1 firstlove firstlove   156 Aug 30 19:58 format-all-pkg.el

Now:
~/.../elpa/format-all >>> ls -lia                                                                                ±[master]
total 56
2240344 drwxr-xr-x   3 firstlove firstlove  4096 Aug 31 08:45 .
9176003 drwxr-xr-x 222 firstlove firstlove 16384 Aug 31 08:47 ..
2240393 -rw-r--r--   1 firstlove firstlove 21168 Aug 31 08:45 format-all.el
2240345 drwxr-xr-x   8 firstlove firstlove  4096 Aug 31 08:45 .git
2240377 -rw-r--r--   1 firstlove firstlove     6 Aug 31 08:45 .gitignore
2240392 -rw-r--r--   1 firstlove firstlove  3954 Aug 31 08:45 README.md

Maybe because I use github recipe?
(package! format-all :recipe (:fetcher github :repo "lassik/emacs-format-all-the-code" :files ("*")))


How to use ansible-nas with zfs on Ubuntu 18

I want to use this amazing tool.
I used zfs on Ubuntu 18 for making shared folders, but ansible-nas overwrote the shared zfs folders after running.
Therefore, I mounted shared zfs folders, secondly, I used ansible-nas.
But when I unmounted the zfs folders, I could not mount the zfs folders because of the directories was not empty with folders generated by ansible-nas.
zfs
/tank
/tank/video/
/tank/music/

ansible nas
/tank/video/
/tank/music/
/tank/docker/
/tank/download/

What should I do the case of combining zfs and ansible-nas on the same folders?

Ansible-NAS won't "overwrite" anything, it will simply create the directories you've specified in your all.yml if they don't already exist.
Ansible-NAS also doesn't care if you use zfs, xfs, ext4 etc - it will just use (and create) the paths you configure it to.

My guess is you ran Ansible-NAS when your zfs pool wasn't mounted, then when you've tried to mount it you can't as zfs expects an empty directory to mount to.
To fix it, clear the directories, mount your zfs pool, then run Ansible-NAS again.

Dear davestephens,
I restarted my ubuntu machine and zfs folders were mounted automatically.
But it needed the command of "zfs mount" and/or "zpool import" before reboot
(The not empty error occurred during this command, but mount commands become effective after reboot).
Thank you for your cooperations.
Sincerely,

Glad you got it sorted :+1:


Add component names for controllers used by this operator

Bump library go to include:
https://github.com/openshift/library-go/pull/302
https://github.com/openshift/library-go/pull/301

/lgtm


[Feature request] Implement queue to avoid overload of Homekit Bridges/Devices

Background:
The HomeKit-Controller sends every state change immediately to the corresponding Homekit devices.
In most cases this works absolutely perfect and I am very happy yo have this adapter :)
But we also have situation where where homekti devices are used as a bridge, for example integrations to 1-home, loon or equal.
In that case not 1 (or maybe 3) states are attached to 1 HomeKit device, but we can for example implement up to 149 lights.
(example 1-home to KNX, alle lights are read from KNX and exposed as 1 Homekit device with al their relate light states.
Issue:
When multiple states are switched, like all lights in the mentioned scenario above, the Homekit gateway (not this adapter!) hangs up and get session timeouts. This is a well known behavior and no relation with this adapter.
We can reproduce this situation by adding the Device directly to HomeKit instead of this adapter, switching than all lights also cause a hangup.
Possible solution:
I execute multiple stress tests to identify the problem and how we could avoid that. By doing that, I figured out that an delay of 200-300ms between the switch actions helps to avoid this situation.
Feature request:
Add capability to the adapter if multiple states are triggered for 1 Homekit connected device/bridge a queue should be handled by (most happy if configurable) 200-300 ms between the different switch states.
I was able te reproduce a 100% stable situation by scripting, instead of change all the states at once having a 200ms between each change.
Why should we do that:
When integrating these kind of states to Alexa, google or HomeKit as example and you say "Turn all the lights of".... its just fired to the bridge in milliseconds which cause the connection to fail. Having this kind of queuing implemented would avoid this situation.

@DutchmanNL was that issue solved at the end because of that misconfig or is it still left?

@DutchmanNL was that issue solved at the end because of that misconfig or is it still left?

It was still left, just a matter of overload for 1-home bridge I think 😅


[Mini Issue] master is still version "4.3.15" instead of "4.3.16"

If you want to deliberately move the version updates only into the tags I'd recommend replacing the version in master with some placeholder version. Currently I was just really confused that I had patches in the library which apparently was version 4.3.15 (I checked out master previously) which weren't included in the newer version 4.3.16 (where I checked out the tag)
I just found out that the version in tag 4.3.16 is also 4.3.15 so it just wasn't maintained at all

You are right, I forget about this when I brought out the last release. Sorry for the confusion.


radiomap.ftl  missing dynamic-attributes.ftl

I had the same requirement so I changed the file radiomap.ftl to add support for dynamic attributes.
I think I will post a pull request to jogep.

PR is always welcome. ;-)

I added PR #18, hope can be useful

this was merged with PR #18 and is present in release 2.5.1


Unable to launch lens on Ubuntu 20.4

Dear All,
I have followed the steps mentioned in  https://docs.k8slens.dev/getting-started/install-lens/ to add the repo, update and install lens also created lens.desktop with content mentioned
But when I am trying to launch the lens I get below error. I have tried google search along with issues search but couldn't find any related issue hence posting. Thank you much in advance for help!!
codebuzz@item :applications$ lens
(node:10492) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `lens --trace-deprecation ...` to show where the warning was created)
[10492:0120/125939.250575:ERROR:ozone_platform_x11.cc(247)] Missing X server or $DISPLAY
[10492:0120/125939.250780:ERROR:env.cc(226)] The platform failed to initialize.  Exiting.
The futex facility returned an unexpected error code.
Aborted

Are you trying to install Lens on a headless Linux server? That will not work as Lens Desktop is a desktop GUI application that is installed on your local machine and then is pointed at your cluster.

yes, it was deployed on WSL2(windows subsystem for linux) that didn't worked. Lens installed on windows working fine for me


Scorer/SD design

The scorers I am thinkng of at the moment, see below, are easy to write but I am still not decided whether they will do the job. Maybe this needs some more discussion hence this issue.
I noted on paper so far for scoring in a simple ntuple:

particle ID
parent ID
parent PDG code (have to check how to do that)
interaction (collision) location
time of interaction
track vertex (where created)

All the above can be obtained from the G4Track, i.e. easy access.
The above should then be filtered on particle definitions (a) neutron and (b) ion 77Ge (filters are predefined). I am thinking of 2 multi function detectors, (1) attached to the LAr volume and the ULar volume, (2) to the Ge volume (with the 77Ge filter). I am currently not interested in the water volume.
Question is, is it good enough to get hold of the track vertex? I can't see any easy way of getting hold of the entire history of a filtered hit of interest, here a Ge77 production. Maybe scoring the neutrons is superfluous (not for testing of output though). We are only interested in them in the context of neutrons producing Ge77 after all. I am already disregarding everything the muons do, except the production of a neutron, assuming that very neutron then does something to allow it store its parent ID and vertex location which leads back to the muon.
Another item to keep in mind is that one can filter (with code) the scorer action. At the moment I just insist on filtering on non-boundary step status, i.e. every collision step passes. One can filter a lot stronger, for instance there is a scorer (with filtering conditions) considering only production of secondary particles in general. I quite like the idea but am undecided yet whether it'll do what we need. It may.
Just to say that none of the scorers for our purpose has to be constrained on collision steps only. The more I think about it, they probably shouldn't.

Question is, is it good enough to get hold of the track vertex? I can't see any easy way of getting hold of the entire history of a filtered hit of interest, here a Ge77 production. Maybe scoring the neutrons is superfluous (not for testing of output though). We are only interested in them in the context of neutrons producing Ge77 after all. I am already disregarding everything the muons do, except the production of a neutron, assuming that very neutron then does something to allow it store its parent ID and vertex location which leads back to the muon.

I think at least for recording the history, we'd need to use a concrete class of G4VUserTrackInformation. Searching through the examples gives quite a few use cases so can likely adapt those.

Fair enough. I was hoping to use only primitive scorers but that seems to stretch the concept a little too far.
The extended/runAndEvent/RE01 example looks promising.
This could lead to a primitive scorer which simply counts the number of Ge77 produced in Ge and a history of relevant particles and locations from the track information whenever required (always collected, rarely called upon). Since that happens rarely, for testing, one could simply switch the trigger particle from Ge77 to neutron for instance.

Branch 'newScorer' has the example RE01 as origin and seems to work fine. Caution - currently simply prints trajectories to screen without(!) filterting, every little e- is there - very long output. All that information needs filtering and then output to disk, easiest with the existing root TTree output mechanism - accessible at the same point, i.e. EndOfEventAction function in WLGDEvent.
The 'simplerScorer' branch is a largely unsuccessful attempt at achieving the same effect using only primitive scorers with a multifunctiondetector. I don't think that works as intended hence the trajectory, track stacking mechanism from above. Conceptually, there is a big difference between 'hits' and 'tracks'. Difficult to get a whole history with hits while that can be done following tracks in an event. There still needs to be a sensitive detector to register hits, but for our purposes, that can now reduce to Germanium volume only and filter purely on Ge77 production. That should in the end also be the filter for dumping the entire track history. At the moment, all hits in the various logical volumes of interest are registered for mu-, neutron and Ge77 in the particle filter. Easy to change.

I think with #28 we now got the filter and all we need as output, switchable for storing trajectories or not. For production runs, the only remaining change would be not to score hits from neutrons anymore but only from Ge77 production.
I've seen Ge77 production taking place and being stored in a few test runs. The PDG number looks odd but makes sense hence is useful in case the history is being extracted in runs with trajectory storage.
One item to look out for is the neutron time cut. If many Ge77 hits occur close to the time limit, it should be raised. Time scoring is implemented for hits.


tooltip is hidden by edit modal

I put this code css to see it
dialog[open] {
    padding: 0 40px !important;
}


Completely disable fluids from mods

could you add a possibility to disable cows from certain mods like Nuclearcraft, Animania and so on completely? Right now i have to know which fluid is from these mods to disable them.

For get all fluids from mod - install only two (with mod libs) mods: Fluid Cows & mod.

Good idea, thanks :) But then there is another problem: For example i want to disable all fluids from Nuclearcraft. That's a huge list and because the fluidcows_v2.json from my main modpack is unstructured, i have to search the whole file for every fluid that i want to disable. isn't there an easier way?

If you NOT configure other fluids:
You can install mods & Fluid Cows, start MC, stop MC, open file and replace all "enabled": true to "enabled": false, after copy config to pack with all mods, start MC and you have config with disabled cows from "bad" mods and enabled cows from other mods.

Question solved? Any other questions?


Add jinja view templates

Create a new folder view-jinja under root for containing jinja view templates. --Chao

Looks great! Can you please rename all these files to .html instead of .jinja ? And put them inside the existing templates/ directory ?

Yes, I have made the change. --Chao

Great! Thank you Chao.


zinc: init at 0.3.5

Description of changes
ZincSearch. A lightweight alternative to elasticsearch that requires minimal resources, written in Go.
https://github.com/zinclabs/zinc

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1438


Circumvent netcdf4 driver to parse metadata

netCDF4 driver no longer used to open standard products in standard sorting class. However, devs may experiment with original, vestigial functions leveraging netCDF4 for now (i.e. "OGmappingVersion" and "OGmappingData")
Radar-metadata field "azimuthZeroDopplerMidTime" now parsed directly from filename, and also replaces references to "azimuthZeroDopplerStartTime" and "azimuthZeroDopplerEndTime" in the "extractProduct" and "tsSetup", since the latter two can only be accessed with the netCDF4 driver.
This PR directly addresses suggestions made in issue #138

Looks good @sssangha. Thanks for the catch on the bug @ehavazli.
I assume the next step is to give it the ability to parse the url file directly?
I made a couple changes to move the class important to netCDF4.
Also, I noticed that we are using `file' as a variable name. I think this is generally not recommended since it is also a python built-in function.
https://github.com/sssangha/ARIA-tools/pull/2

Ah error:
Traceback (most recent call last):
  File "/Users/bb/Miniconda3/envs/ARIA/bin/ariaTSsetup.py", line 15, in <module>
    main(inps)
  File "/Users/bb/Miniconda3/envs/ARIA/lib/python3.7/site-packages/ARIAtools/tsSetup.py", line 311, in main
    generateStack(standardproduct_info,'coherence','cohStack',workdir=inps.workdir)
  File "/Users/bb/Miniconda3/envs/ARIA/lib/python3.7/site-packages/ARIAtools/tsSetup.py", line 157, in generateStack
    startRange = aria_prod.products[0][0]['slantRangeStart'][0]

@bbuzz31 thanks for that catch, I went back and added back in the range parameters and tsSetup.py now works fine on my end.
Also, good point on avoiding "file" as a variable-name. I make the appropriate changes to fix this in ARIAProduct.py. Will check the other scripts for this more thoroughly now.

@sssangha great, works now!

@rzinke can you do a test for a track with midnight crossing?
This looks very good @sssangha.
Will await @bbuzz31 recommendation on use of file prior to merging.

I made some good progress on implementing a URL reader , but there seems to be a problem related to #27. The erroneous hdf5 dataset returned from vsicurl don't include the product bounding box in the sub datasets.
when fname is a file on disk:
ds = gdal.Open(fname)
for sds in file_bbox.GetSubDatasets():
    print (sds[0].lower())

yields:
netcdf:"/volumes/bb_1tb/data/vlm/sentinel1/track_004/standardproducts/products/s1-gunw-a-r-004-tops-20190124_20190112-230628-37654n_35778n-pp-2cb6-v2_0_2.nc":productboundingbox
netcdf:"/volumes/bb_1tb/data/vlm/sentinel1/track_004/standardproducts/products/s1-gunw-a-r-004-tops-20190124_20190112-230628-37654n_35778n-pp-2cb6-v2_0_2.nc":/science/grids/data/unwrappedphase
netcdf:"/volumes/bb_1tb/data/vlm/sentinel1/track_004/standardproducts/products/s1-gunw-a-r-004-tops-20190124_20190112-230628-37654n_35778n-pp-2cb6-v2_0_2.nc":/science/grids/data/coherence
netcdf:"/volumes/bb_1tb/data/vlm/sentinel1/track_004/standardproducts/products/s1-gunw-a-r-004-tops-20190124_20190112-230628-37654n_35778n-pp-2cb6-v2_0_2.nc":/science/grids/data/connectedcomponents
netcdf:"/volumes/bb_1tb/data/vlm/sentinel1/track_004/standardproducts/products/s1-gunw-a-r-004-tops-20190124_20190112-230628-37654n_35778n-pp-2cb6-v2_0_2.nc":/science/grids/data/amplitude
netcdf:"/volumes/bb_1tb/data/vlm/sentinel1/track_004/standardproducts/products/s1-gunw-a-r-004-tops-20190124_20190112-230628-37654n_35778n-pp-2cb6-v2_0_2.nc":/science/grids/imaginggeometry/perpendicularbaseline
netcdf:"/volumes/bb_1tb/data/vlm/sentinel1/track_004/standardproducts/products/s1-gunw-a-r-004-tops-20190124_20190112-230628-37654n_35778n-pp-2cb6-v2_0_2.nc":/science/grids/imaginggeometry/parallelbaseline
netcdf:"/volumes/bb_1tb/data/vlm/sentinel1/track_004/standardproducts/products/s1-gunw-a-r-004-tops-20190124_20190112-230628-37654n_35778n-pp-2cb6-v2_0_2.nc":/science/grids/imaginggeometry/incidenceangle
netcdf:"/volumes/bb_1tb/data/vlm/sentinel1/track_004/standardproducts/products/s1-gunw-a-r-004-tops-20190124_20190112-230628-37654n_35778n-pp-2cb6-v2_0_2.nc":/science/grids/imaginggeometry/lookangle
netcdf:"/volumes/bb_1tb/data/vlm/sentinel1/track_004/standardproducts/products/s1-gunw-a-r-004-tops-20190124_20190112-230628-37654n_35778n-pp-2cb6-v2_0_2.nc":/science/grids/imaginggeometry/azimuthangle

when fname is a url with '/vsicurl/' prefix
hdf5:"/vsicurl/https://grfn.asf.alaska.edu/door/download/s1-gunw-a-r-004-tops-20190512_20190406-230629-37655n_35779n-pp-3ea0-v2_0_2.nc"://science/grids/data/amplitude
hdf5:"/vsicurl/https://grfn.asf.alaska.edu/door/download/s1-gunw-a-r-004-tops-20190512_20190406-230629-37655n_35779n-pp-3ea0-v2_0_2.nc"://science/grids/data/coherence
hdf5:"/vsicurl/https://grfn.asf.alaska.edu/door/download/s1-gunw-a-r-004-tops-20190512_20190406-230629-37655n_35779n-pp-3ea0-v2_0_2.nc"://science/grids/data/connectedcomponents
hdf5:"/vsicurl/https://grfn.asf.alaska.edu/door/download/s1-gunw-a-r-004-tops-20190512_20190406-230629-37655n_35779n-pp-3ea0-v2_0_2.nc"://science/grids/data/unwrappedphase
hdf5:"/vsicurl/https://grfn.asf.alaska.edu/door/download/s1-gunw-a-r-004-tops-20190512_20190406-230629-37655n_35779n-pp-3ea0-v2_0_2.nc"://science/grids/imaginggeometry/azimuthangle
hdf5:"/vsicurl/https://grfn.asf.alaska.edu/door/download/s1-gunw-a-r-004-tops-20190512_20190406-230629-37655n_35779n-pp-3ea0-v2_0_2.nc"://science/grids/imaginggeometry/incidenceangle
hdf5:"/vsicurl/https://grfn.asf.alaska.edu/door/download/s1-gunw-a-r-004-tops-20190512_20190406-230629-37655n_35779n-pp-3ea0-v2_0_2.nc"://science/grids/imaginggeometry/lookangle
hdf5:"/vsicurl/https://grfn.asf.alaska.edu/door/download/s1-gunw-a-r-004-tops-20190512_20190406-230629-37655n_35779n-pp-3ea0-v2_0_2.nc"://science/grids/imaginggeometry/parallelbaseline
hdf5:"/vsicurl/https://grfn.asf.alaska.edu/door/download/s1-gunw-a-r-004-tops-20190512_20190406-230629-37655n_35779n-pp-3ea0-v2_0_2.nc"://science/grids/imaginggeometry/perpendicularbaseline

@bbuzz31 per #27 that should be solved upon next gdal release in conda.
see the discussion here: https://github.com/conda-forge/gdal-feedstock/issues/376#issuecomment-614409716
Welcome the URL reader , but we will not leverage it till GDAL is ready unless: 1) your linux kernel is high enough and 2) you build GDAL from source, then it should be working.
We should not hard-code hdf5 in urls. Rather we should implement a check in the code if hdf5 is returned from vsi as reader  for the products, then to error out and inform the user about this. I believe we had something alike for local processing and testing for GDAL 2.3.
Happy to merge the PR, but we need to confirm and solidify that the changes from the spatial-temporal sorting is consistent with the past, e.g. for midnight crossings @rzinke

@dbekaert yes I saw that should have mentioned it. I will keep an eye out for the release. It shouldn't be to difficult to get working once the release comes through.

This

Hi all, we do not currently have any midnight crossing in the ARIA archive. I do not completely understand what I should be testing, could you fill me in?
Thanks

@rzinke the method used to sort in spatial temporal contiguous interferograms has been changed. Want to make sure it still works as it used to do.
@bbuzz31 @sssangha: We can do the end-end testing of the code on opensarlabs. See the update in #27.

To be closed by someone with permissions to do so as working with recent GDAL versions:
(myenv) $ gdalinfo --version
GDAL 3.6.0, released 2022/11/06
(myenv) $ gdalinfo /vsicurl/http://download.osgeo.org/gdal/data/netcdf/utm-big-chunks.nc
Driver: netCDF/Network Common Data Format
Files: /vsicurl/http://download.osgeo.org/gdal/data/netcdf/utm-big-chunks.nc
Size is 3072, 3072
Origin =<PHONE_NUMBER>00000000000,3751320.000000000000000)
Pixel Size = (10.000000000000000,-10.000000000000000)
Metadata:
  Band1#long_name=GDAL Band Number 1
  Band1#_FillValue=0
  NC_GLOBAL#CDI=Climate Data Interface version 1.6.0 (http://code.zmaw.de/projects/cdi)
  NC_GLOBAL#CDO=Climate Data Operators version 1.6.0 (http://code.zmaw.de/projects/cdo)
  NC_GLOBAL#Conventions=CF-1.5
  NC_GLOBAL#GDAL=GDAL 1.10.0, released 2013/04/13
  NC_GLOBAL#history=Tue Apr 16 16:07:46 2013: cdo -f nc4 -z zip -k auto copy utmbig.nc utmbig2.nc
Tue Apr 16 16:06:59 2013: GDAL Create( utmbig.nc, ... )
  x#axis=X
  x#long_name=x coordinate of projection
  x#standard_name=grid_longitude
  x#units=m
  y#axis=Y
  y#long_name=y coordinate of projection
  y#standard_name=grid_latitude
  y#units=m
Corner Coordinates:
Upper Left  (  440720.000, 3751320.000)
Lower Left  (  440720.000, 3720600.000)
Upper Right (  471440.000, 3751320.000)
Lower Right (  471440.000, 3720600.000)
Center      (  456080.000, 3735960.000)
Band 1 Block=1536x1536 Type=Byte, ColorInterp=Undefined
  NoData Value=0
  Metadata:
    long_name=GDAL Band Number 1
    NETCDF_VARNAME=Band1
    _FillValue=0

oops, sorry disregard my previous comment that I'll delete, as well as this one. Posted in wrong channel...


Sending input to the REPL runs out of memory

Run this:
yes 'IO.print(1+2+3+4+5+6+7+8+9+10+11+12+13+14+15)' | ./wren

Memory usage increases steadily until it eventually dies.

I just tested this and memory usage looks steady now. Not sure when this got fixed, but it looks like something took care of it.


[wasi-common] Re-design of generated types, for safer use and more complete code generation

wig presently generates wasi-common types from witx descriptions of the standard. This is a great start, but there are a handful of ways in which the design of wasi-common is difficult to automatically generate more code for. I want to generate as much of the boilerplate for each hostcall as I can, but before we get there, we need to sort out some difficulties with datatypes.
This proposal seeks to redesign we manage 1. validating and chasing pointers into guest memory, ensuring that all references into guest memory are safe, and 2. validating enum and flag values.
We currently depend on some hand-written enc_/dec_ functions to serialize and deserialize some types to and from guest memory. I want to replace those with automatically generated implementations without losing any of the zero-copy optimizations we currently have.
Generated Types
There are two purposes for generated types:

Using a value that resides in guest memory. This includes reading a value
from the guest memory (via a pointer), or writing a value into guest memory.
These should only be used in the host calls, and not by any business logic,
except for logic that determines if a value has a valid encoding (memory
out-of-bounds, memory alignment, or value out-of-range).

struct GuestMemory<'a> encapsulates a Linear Memory and ensures all
borrows of that memory are safe Rust - there can be multiple immutable borrows of the same memory, but at most one mutable borrow. Constructed from a *mut u8 pointer
to the start of linear memory, and usize length. The base pointer for linear
memory be pointer-aligned to simplify alignment checks for pointers to structs
in this memory, but this can be relaxed in the future. Lifetime parameter
ensures that use of memory doesn't survive longer than the host call.

The biggest problem that GuestMemory needs to solve is to track
all of the mutable and immutable borrows at run-time to make sure they
do not cause UB. It will keep a map of the immutable and mutable
borrows, and use the drop impls on GuestPtr and friends to remove
those borrows from the map.

MemoryError describes an out-of-bounds memory access or misaligned pointer.

struct GuestPtr<'a, T> is a pointer to a read-only T in guest memory.
Constructed from GuestMemory<'a>::ptr(&self, ptr: i32) -> Result<GuestPtr<'a, T>, MemoryError>

struct GuestPtrMut<'a, T> is a pointer to a writable T in guest memory.
Constructed from GuestMemory<'a>::ptr_mut(&self, ptr: i32) -> Result<GuestPtrMut<'a, T>, MemoryError>

struct GuestArray<'a, T> is an array of read-only T in guest memory.
Constructed from GuestMemory<'a>::array(&self, ptr: i32, len: i32) -> Result<GuestArray<'a, T>, MemoryError>

All T above have a GuestValue trait constraint. This trait describes
the memory layout of the value.

Construction of the above are only possible if they point to a valid guest
memory location.

GuestPtr and GuestPtrMut each have a fn offset(&self, elems: i32) -> Result<GuestPtr{Mut}<'a, T>, MemoryError> for accessing subsequent
elements. This allows them to be used like an array, in types like iovec
and ciovec.

ReprError describes an invalid representation of a type in guest memory.

impl GuestPtr<'a, T> { pub fn read(&self) -> Result<T, ReprError> }
dereferences a pointer. As part of dereferencing, it validates the pointee

that will check if enum and flag values are in bounds, and recursively
for each member of a struct. It won't do any validation on a union - you
have to pick a variant in order to validate it.

impl GuestPtrMut<'a, T> { pub fn write(&self, T) } writes a T: GuestValue
into the memory it references.

The T: GuestValue for a witx enum should be the host enum $Typename. The
GuestValue impl will be used to validate and decode memory into this
owned type. This decoding can be done inside GuestPtr::read, or on a bare
integer of the enum's repr size.

The T: GuestValue for a witx flags should be the host struct $Typename.
As above, GuestValue does the validation into an owned type.

The T: GuestValue for a witx struct has layout defined by witx. The generated
struct depends on whether the struct recursively contains any unions, pointers,
or arrays:

If it does contain a guest memory reference - lets call these complex GuestValues until I think of a better name, it is a mod guest { struct $Typename }. Rather than have public members, the struct has methods
corresponding to each field, with a constructor function to create complex GuestValues.

All fields have a
fn $fieldname_{ref,mut}(&self) -> Result<GuestPtr{Mut}<T>, MemoryError>
accessor to take references of fields
Fields containing flat values are fn $fieldname(&self) -> Result<T, ReprError>
Fields which are a (mut) pointer are fn $fieldname(&self) -> Result<GuestPtr{Mut}<’a, T>, MemoryError>. Same for arrays.
Fields which are a union are fn $fieldname(&self) -> T

If it does not - lets call these flat GuestValues - then additionally derive ToOwned
to be used without ceremony by the host

The T: GuestValue for a witx union is an opaque struct with a method
for each variant: fn $variantname(&self) -> Result<T, ReprError>

Using a value in the Rust implementation of wasi-common. This should be an
idiomatic, wholly owned Rust value. It should look like a Rust type: use modules
for namespacing instead of repeated prefixes, use CamelCase not
__SHOUTING_SNAKE_CASE.

A witx array should be a rust Vec
A witx (const,) pointer should be a Box<T> where T is the owned rust value.

wiggle exists now! its neat to go back and remember the bad old days


Faild to load Leap Hand model

I am trying to use the leap hand model, the model I use is  from https://github.com/dexsuite/dex-urdf. However, it stills failed to load.

Is there anything I should notice for using new robot model?

It seems the problem is caused by some value in urdf is "e-40", which exceed the limit, after fix this, the model can be loaded.

Although I have been able to load the model, the retarget result from human video in example seems a little weird, for example, at the initial frame the finger of human hand is open, but the retargeted leap hand's finger is bent, is there any parameter I should try to adjust this?
Here is my current yml config file of leap hand
`retargeting:
type: vector
urdf_path: leap_hand/leap_hand_right.urdf
wrist_link_name: "base"
Target refers to the retargeting target, which is the robot hand
target_joint_names: null
target_origin_link_names: [ "base", "base", "base", "base" ]
target_task_link_names: [ "thumb_fingertip", "fingertip", "fingertip_2", "fingertip_3" ]
scaling_factor: 1.6
Source refers to the retargeting input, which usually corresponds to the human hand
The joint indices of human hand joint which corresponds to each link in the target_link_names
target_link_human_indices: [ [ 0, 0, 0, 0 ], [ 4, 8, 12, 16 ] ]
A smaller alpha means stronger filtering, i.e. more smooth but also larger latency
low_pass_alpha: 0.2
`

The yml configuration file seems to be in order; there don't appear to be any faults with it. The actual issue lies in the positioning of the fingertip link—it isn't accurately positioned at the fingertip of the leap hand as one might expect. The frame definition for the fingertip link is presented below:

The solution is to add a finger tip virtual link for leap hand so that the retargeting computation can be performed easily.
Please check the recent commit 3aa3e1a3345ef8f6052792299538e7513f63911d. We provide a yml config file for the leap hand for both vector retargeting and dexpilot retargeting. You can use our provided model in this repo.

Here is the video generated based on DexPilot config of leap hand
https://github.com/dexsuite/dex-retargeting/assets/24649446/bc26c53d-f2f4-424f-99a5-df8a54cd972b

It do looks better, thank you!


Docker-compose and molecule don't work together

Issue Type

Question

Molecule and Ansible details
$ ansible --version
ansible 2.5.3
  config file = None
  configured module search path = [u'/home/travis/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/ansible
  executable location = /home/travis/virtualenv/python2.7.14/bin/ansible
  python version = 2.7.14 (default, Nov 28 2017, 18:46:37) [GCC 4.8.4]

$ molecule --version
molecule, version 2.14.0

Molecule installation method (one of):

pip

Ansible installation method (one of):

pip

Desired Behavior
if I test a playbook that has the following task:
- name: Install docker-py
  pip:
    name: docker-py
    state: present

- name: Start docker service
  docker_service:
    project_src: /opt/docker-taskd-service

I expect molecule to have no problem with it.
Actual Behaviour (Bug report only)
Instead, it crashes with:
    Using module file /home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/ansible/modules/cloud/docker/docker_service.py
    <instance> ESTABLISH DOCKER CONNECTION FOR USER: root
    <instance> EXEC ['/usr/bin/docker', 'exec', '-i', u'instance', u'/bin/sh', '-c', u"/bin/sh -c 'echo ~None && sleep 0'"]
    <instance> EXEC ['/usr/bin/docker', 'exec', '-i', u'instance', u'/bin/sh', '-c', u'/bin/sh -c \'( umask 77 && mkdir -p "` echo ~None/.ansible/tmp/ansible-tmp-1527544905.28-4030689710646 `" && echo ansible-tmp-1527544905.28-4030689710646="` echo ~None/.ansible/tmp/ansible-tmp-1527544905.28-4030689710646 `" ) && sleep 0\'']
    <instance> PUT /home/travis/.ansible/tmp/ansible-local-6317Bn1gbo/tmpuOlqxP TO ~None/.ansible/tmp/ansible-tmp-1527544905.28-4030689710646/docker_service.py
    <instance> EXEC ['/usr/bin/docker', 'exec', '-i', u'instance', u'/bin/sh', '-c', u'/bin/sh -c \'chmod u+x \'"\'"\'~None/.ansible/tmp/ansible-tmp-1527544905.28-4030689710646/\'"\'"\' \'"\'"\'~None/.ansible/tmp/ansible-tmp-1527544905.28-4030689710646/docker_service.py\'"\'"\' && sleep 0\'']
    <instance> EXEC ['/usr/bin/docker', 'exec', '-i', u'instance', u'/bin/sh', '-c', u'/bin/sh -c \'/usr/bin/python \'"\'"\'~None/.ansible/tmp/ansible-tmp-1527544905.28-4030689710646/docker_service.py\'"\'"\' && sleep 0\'']
    <instance> EXEC ['/usr/bin/docker', 'exec', '-i', u'instance', u'/bin/sh', '-c', u'/bin/sh -c \'rm -f -r \'"\'"\'~None/.ansible/tmp/ansible-tmp-1527544905.28-4030689710646/\'"\'"\' > /dev/null 2>&1 && sleep 0\'']
    The full traceback is:
      File "/tmp/ansible_4jrjIi/ansible_modlib.zip/ansible/module_utils/docker_common.py", line 182, in __init__
        super(AnsibleDockerClient, self).__init__(**self._connect_params)
      File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 99, in __init__
        self._version = self._retrieve_server_version()
      File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 124, in _retrieve_server_version
        'Error while fetching server API version: {0}'.format(e)

    fatal: [instance]: FAILED! => {
        "changed": false,
        "invocation": {
            "module_args": {
                "api_version": null,
                "build": false,
                "cacert_path": null,
                "cert_path": null,
                "debug": false,
                "definition": null,
                "dependencies": true,
                "docker_host": null,
                "files": null,
                "filter_logger": false,
                "hostname_check": false,
                "key_path": null,
                "nocache": false,
                "project_name": null,
                "project_src": "/opt/docker-taskd-service",
                "pull": false,
                "recreate": "smart",
                "remove_images": null,
                "remove_orphans": false,
                "remove_volumes": false,
                "restarted": false,
                "scale": null,
                "services": null,
                "ssl_version": null,
                "state": "present",
                "stopped": false,
                "timeout": 10,
                "tls": null,
                "tls_hostname": null,
                "tls_verify": null
            }
        },
        "msg": "Error connecting: Error while fetching server API version: ('Connection aborted.', error(2, 'No such file or directory'))"
    31m}

What does docker compose have to do with this bug report?  I don't see any information about compose other than the subject line.

Sorry I meant to update the issue with more details and forgot.
This is actually a question re how to run a molecule instance as a docker container and still be able to start docker containers from within it.
My particular use case is that my playbook under test is starting docker containers on the host, and when I run this playbook in a molecule test, it's not able to start the container with the error message from the issue. I suspect this might be because it's trying to run a docker container (from the playbook under test's task) within a docker container (the molecule instance), and was wondering how to get around it.
Right now I have set a testing variable to true when running molecule so that it skips all the docker related tasks in my playbook under test but this isn't ideal because it leaves some tasks untested.
I'll update the issue with these details.

You can test Docker in Docker in Molecule with some custom docker config. You can see an example of a role here: https://github.com/openmicroscopy/ansible-role-prometheus/tree/0.2.0 . Unfortunately we still haven't got round to upgrading to Molecule 2.

Isn't this question what you are looking for?
https://stackoverflow.com/questions/27879713/is-it-ok-to-run-docker-from-inside-docker

My issue was that travis is already running within a docker container. So running molecule introduces another level of docker, and then the playbook starting containers is a third level. Essentially, that was docker in docker in docker.
@manics playbook was helpful, if you use sudo: enabled, then travis will run in a VM and not in a container. You're then in a docker in docker situation which seems to work better with a few other tricks I got from their molecule.yml file.


Allow limit action scope when unintalling

Merged in https://github.com/Jumpscale/jumpscale_core8/commit/d2f034406d63a48b2faaed4d457a28db1ae08e38


Having to list every key/value pair in data_points is a bit odd

Is there a way to have this output behave in a similar way to how elasticsearch default output does? By that I mean, key/values produces after filters run are inserted into _source automatically.
I am new to logstash therefore I apologize for any non-sense I may have spoken :)

Hi,
try my fork https://github.com/evgygor/logstash-output-influxdb
I developed it to avoid key/value listing.
All explained in README.
Thanks

Hi @evgygor can you please confirm that your fork contains feature similar to https://github.com/elastic/logstash-contrib/pull/104 so we can maybe focus discussion on your recent work and PR #13 closing others item as duplicates

Hi @wiibaa , it does.
Additional feature that I added is preserving event's data type without coercing each one.
Full explanation with example https://github.com/evgygor/logstash-output-influxdb/blob/master/README.md
Thanks


Uncaught ReferenceError: gid is not defined

Hi,
I got this error message if I use match.groupdict() (Match object from RE module):
__init__.py:214 Uncaught ReferenceError: gid is not defined
    at __init__.py:214
    at Function.<anonymous> (__core__.mod.js:70)
    at example.py:13
    at Function.<anonymous> (__core__.mod.js:70)
    at HTMLButtonElement.onclick (example.html?_ijt=ke8d8679qujfgr8cjhi43j0fjq:3)

Steps to reproduce:

Create a file example.py

import re

class Example:

    d = {'A': 1, 'B': 2}
    rec = re.compile('(?P<decimal>\d+)', re.ASCII)

    def run(self):
        match = self.rec.match('42')
        if not match:
            print('ERROR: RE does not match')
        e = match.groupdict()
        print("before: self.d=", self.d)
        print("before: e=", e)
        self.d.update(e)
        print("after: self.d=", self.d)

example = Example()

Create a file example.html

Hello demo

<button onclick="example.example.run()">Click me and check error console</button>

Output:

Run transcrypt

# transcrypt --build --map --nomin -e 6 example.py
Transcrypt (TM) Python to JavaScript Small Sane Subset Transpiler Version 3.6.50
Copyright (C) Geatec Engineering. License: Apache 2.0
Saving result in: /home/carsten/example/__javascript__/example.js
Process finished with exit code 0

Open the html file in a browser, press the butten and check the error console

Affected version:

Transcrypt 3.6.50

It would be really great if you could fix this error.
Regards,
Carsten

Hi Carsten
The regular expression module still has some loose ends.
It was contributed a.o by @RCL-Carl and I am not familiar with the code.
@RCL-Carl: Could you by any chance find the time to look into this? No obligation of course!
Kind regards
Jacques

@CarstenGrohmann: I  think I found the problem and a fix.
Will familiarize myself a bit more with this module, since it's very useful.
@RCL-Carl: I hope I remember well that you did a lot of work on this. And I hope I have properly repaired this part (it was only a typo in a varname).

Committed and uploaded to PyPi


fixed class memory leak

Right now CCL doesn't free up all the memory initialized by class. This is about 7MB for each call, which is extremely hurtful for any MCMC.
This PR fixes this, but I'm worried that the restructuring of all of our frees after the code review may have introduced other similar bugs, so we should run valgrind on a few typical use cases.

Pull Request Test Coverage Report for Build 2692

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

Totals

Change from base Build 2684:
0.0%

Covered Lines:
546

Relevant Lines:
580

💛  - Coveralls


logger vs debugf

From @database-craftsman on November 28, 2013 19:58
We have been with debug.f for 5 years. There 2 good features that logger doesn't have.

tail -f debug_trace_file.
debug.f("%s rows update on table %s", l_count, l_table_name);

As C printf: It can optionally contain embedded format specifiers that are replaced by the values specified in subsequent additional arguments and formatted as requested.
Below code with logger to print local variables is awkward, it's not as flexible as debug.f("%s",l_abc). when I want to print different set of variables at each time, I have to add and delete some elements in array l_params.
logger.append_param(l_params, 'p_param1_todo',p_param1_todo);
logger.log('START', l_scope, null, l_params);
There is some workaround for "tail -f".
Can we add feature of replacing print variable like printf("%s",l_abc) to next release?
This feature request is same as issues 32, Substitution Strings :
https://github.com/tmuth/Logger---A-PL-SQL-Logging-Utility/issues/32
C printf format is easier to use, better than logger.log('Employee %P_EMPNO%', p_params => l_params, p_do_substitutions => true). Less code.   ^_^
Thanks,
Charlie
Copied from original issue: tmuth/Logger---A-PL-SQL-Logging-Utility#58

This will be implemented in release 2.2.0. Going to mark this ticket as closed and keep all the comments in #32


Did it support scroll to specified position

I use react-native-swiper and want it to scroll to specified,it supply an api which calls scrollBy,but it seems not good,when i changed it first time,it work correctly,but the second time I tried again,it give me a wrong position.So Your document do not introduce you have scrollBy similar to react-native-swiper,do you have it or you will support it in the future?

I've never used react-native-swiper but it's possible to animate to the given page using animateToPage method


fix: PoA stems are duplicated when used for multiple keys

fixes #199, not sure yet why a non-existing location has a value though.

Codecov Report

Merging #200 (757ff9f) into master (d9f6135) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #200   +/-   ##
=======================================
  Coverage   87.69%   87.69%
=======================================
  Files           9        9
  Lines         959      959
=======================================
  Hits          841      841
  Misses         89       89
  Partials       29       29

Impacted Files
Coverage Δ

tree.go
91.92% <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 d9f6135...757ff9f. Read the comment docs.


Adding function for remove background view opacity

I added a function that remove the opacity view based on the issue #183, although the default is always with opacity and to remove the opacity just call the function:
self.addOpacityForBackgroundView(false)
on your MainViewController viewWillAppear(animated: Bool) method

@nschucky
Thank you for your pull request.
I think that is better to use the SlideMenuOptions, don't you?
If you consider the case to be displayed and turn off the overlay,
I think that we should implement both of removeFromSuperView and addSubView.

Closed because this pull request has conflicts that must be resolved.


numpy doctest space

Codecov Report

Merging #537 into 2.0-dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           2.0-dev    #537   +/-   ##
=======================================
  Coverage     91.6%   91.6%
=======================================
  Files           74      74
  Lines         2026    2026
=======================================
  Hits          1856    1856
  Misses         170     170

Impacted Files
Coverage Δ

matchzoo/processor_units/processor_units.py
95.06% <ø> (ø)
: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 cdeeb12...b56ec60. Read the comment docs.


cpp-netlib for ios

I can't use it for ios because it makes xcode crash,my code like this
boost::network::uri::uri uri("http:://www.google.com")
please help me to resolve it,thank you!

Could you provide a more complete example? Thanks.

What version of the library are you using @luowuf? I suspect this should have been fixed in 0.12.0 where we've refactored the Spirit parser implementation. Maybe 0.13-release might be a better candidate to use -- wdyt @glynos?

The 0.13-release branch is better (the 0.12 release is not recommended). The parser implementation has changed on the master branch, 0.12 and 0.13 still use a very old parser implementation. The master branch should still be pretty stable, if you don't require a formal release I would recommend using that.


Use IFormCollection not .Internal implementation

/cc @davidfowl @prafullbhosale

Found while investigating aspnet/HttpAbstractions#549 but not exactly part of that issue. Regardless of the namespace, FormCollection should rarely appear in product or user code.

:shipit:

99fad1e


1.18.1 Flywheel crashes on start in Linux

Describe the Bug
When i want to start the Game with only Create and Flywheel loaded it wont start.
Reproducing Steps

Create new installations with 1.18.1 Forge 39.0.7
Adding Flywheel and Create
Starting the Game

Expected Result
Normal Game boot
Screenshot or Video
Not available
Crash Report or Log

Crash Report
Log Files /I don't know which files are Important so I uploaded the whole folder

Operating System
Ubuntu 20.04
What is your GPU?
Intel® HD Graphics 4400 (HSW GT2)
What is your CPU?
Intel® Core™ i5-4300U CPU @ 1.90GHz × 4
Mod Version
0.4.2-rc
Minecraft Version
1.18.1
Forge Version
39.0.7
Other Mods

Flywheel
Create

Additional Context
When playing on the same forge version but with the mods from 1.18 then it starts.
I Use the newest 1.18.1Create version for the this.
I don't know if this is only a Linux error. Haven't had the time to test this.
If you have any other questions please just ask.

I have the same error, only difference is my CPU and GPU are AMD. Seems nothing I do helps, and it crashes even if it's the only mod enabled.

The same problem on windows11 client

I'm having the same issue with the latest Create and Flywheel from CurseForge. (flywheel-forge-1.18-0.4.2-rc.jar)
I'm running on Arch Linux with the official Mojang launcher on a Ryzen 7 3700U and Vega integrated graphics.

I pulled this out of the logs, it sounds like the shaders are not able to be compiled due to some invalid directives in the shader code.
[14:04:52] [Render thread/INFO]: OpenGL debug message: id=7, source=SHADER COMPILER, type=ERROR, severity=HIGH, message='0:60(1): error: #extension directive is not allowed in the middle of a shader'
[14:04:52] [Render thread/ERROR]: Shader compilation log for create:belt: 0:60(1): error: #extension directive is not allowed in the middle of a shader

Adding Mesa versions here because looking up that error, turns out you can't have #extension directives in the middle of shader code and it is not always caught in other OpenGL graphics libraries for other platforms, but Mesa is apparently very picky on this issue.
I'm currently rebuilding the mod to see if I can find where exactly this is happening.
extra/mesa 21.3.1-1
extra/mesa-vdpau 21.3.1-1
extra/vulkan-radeon 21.3.1-1

The log has an interesting portion here:
void FLWFinalizeWorldPos(inout vec4 worldPos) {
    worldPos = uModel * worldPos;

    BoxCoord = (worldPos.xyz - uLightBoxMin) / uLightBoxSize;

    FragDistance = max(length(worldPos.xz), abs(worldPos.y)); // cylindrical fog

    gl_Position = uViewProjection * worldPos;
}

#elif defined(FRAGMENT_SHADER)

#define ALPHA_DISCARD 0.1
// optimize discard usage
#if defined(ALPHA_DISCARD)
#if defined(GL_ARB_conservative_depth)
#extension GL_ARB_conservative_depth : enable
layout (depth_greater) out float gl_FragDepth;
#endif
#endif

in vec3 BoxCoord;

out vec4 FragColor;

vec4 FLWBlockTexture(vec2 texCoords) {
    return texture(uBlockAtlas, texCoords);
}

You'll notice that the #extension directive got slapped in the middle of the shader, which you apparently can't do. So I'm currently trying to figure out how it got there.

Alright, if you apply the following diffs on the current top commit, you can actually get the shaders to compile on Mesa, and the game launches and I can place belts and stuff.
flywheel.txt
create.txt

Fixed in latest versions of Create and Flywheel.


Include Exchange September Quarterly Release 2019

@lusassl-msft Once the Quarterly Release is made public, please include this in the Script for the branch Dev2.37.0.

Almost ready, still waiting for E16 build number...


[WIP][SPARK-18516][SQL] Split state and progress in streaming

This PR separates the status of a StreamingQuery into two separate APIs:

status - describes the status of a StreamingQuery at this moment, including what phase of processing is currently happening and if data is available.
recentProgress - an array of statistics about the most recent microbatches that have executed.

A recent progress contains the following information:
{
  "id" : "2be8670a-fce1-4859-a530-748f29553bb6",
  "name" : "query-29",
  "timestamp" :<PHONE_NUMBER>724,
  "inputRecordsPerSecond" :<PHONE_NUMBER>6923077,
  "processedRecordsPerSecond" : 10.869565217391303,
  "durationMs" : {
    "triggerExecution" : 276,
    "queryPlanning" : 3,
    "getBatch" : 5,
    "getOffset" : 3,
    "addBatch" : 234,
    "walCommit" : 30
  },
  "currentWatermark" : 0,
  "stateOperators" : [ ],
  "sources" : [ {
    "description" : "KafkaSource[Subscribe[topic-14]]",
    "startOffset" : {
      "topic-14" : {
        "2" : 0,
        "4" : 1,
        "1" : 0,
        "3" : 0,
        "0" : 0
      }
    },
    "endOffset" : {
      "topic-14" : {
        "2" : 1,
        "4" : 2,
        "1" : 0,
        "3" : 0,
        "0" : 1
      }
    },
    "numRecords" : 3,
    "inputRecordsPerSecond" :<PHONE_NUMBER>6923077,
    "processedRecordsPerSecond" : 10.869565217391303
  } ]
}

Additionally, in order to make it possible to correlate progress updates across restarts, we change the id field from an integer that is unique with in the JVM to a UUID that is globally unique.
This is a work in progress until we finish the following:

[ ] Port the remaining tests to the new API
[ ] Store the query UUID in the checkpoint directory

/cc @tdas

Test build #68916 has started for PR 15954 at commit 213081a.

Test build #68916 has finished for PR 15954 at commit 213081a.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #68923 has started for PR 15954 at commit f4357d1.

Test build #68923 has finished for PR 15954 at commit f4357d1.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #68944 has started for PR 15954 at commit 6eb1396.

Test build #68944 has finished for PR 15954 at commit 6eb1396.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #68945 has started for PR 15954 at commit f1bd871.

Test build #68945 has finished for PR 15954 at commit f1bd871.

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

Merged build finished. Test FAILed.

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

Test build #68972 has started for PR 15954 at commit 59a9139.

Test build #68972 has finished for PR 15954 at commit 59a9139.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Test build #69275 has started for PR 15954 at commit c64632c.

Test build #69276 has started for PR 15954 at commit 247ada6.

Test build #69278 has started for PR 15954 at commit 8ac76c6.

Test build #69276 has finished for PR 15954 at commit 247ada6.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
  case class AdvanceManualClock(timeToAdd: Long) extends StreamAction

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

Merged build finished. Test FAILed.

Test build #69275 has finished for PR 15954 at commit c64632c.

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

Merged build finished. Test FAILed.

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

Test build #69288 has started for PR 15954 at commit f6d60df.

Test build #69278 has finished for PR 15954 at commit 8ac76c6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Test build #69290 has started for PR 15954 at commit 32ff04e.

Test build #69293 has started for PR 15954 at commit d6200d1.

Test build #69295 has started for PR 15954 at commit b41a662.

Test build #69293 has finished for PR 15954 at commit d6200d1.

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

Merged build finished. Test FAILed.

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

Test build #69288 has finished for PR 15954 at commit f6d60df.

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

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

Merged build finished. Test FAILed.

Test build #69290 has finished for PR 15954 at commit 32ff04e.

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

Merged build finished. Test FAILed.

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

Test build #69308 has started for PR 15954 at commit d92f4bf.

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

Merged build finished. Test FAILed.

Merged build finished. Test FAILed.

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

Test build #69346 has started for PR 15954 at commit d9d8f82.

Test build #69352 has started for PR 15954 at commit aa8af9c.

Test build #69353 has started for PR 15954 at commit c11d2e5.

Test build #69352 has finished for PR 15954 at commit aa8af9c.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #69353 has finished for PR 15954 at commit c11d2e5.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #69355 has started for PR 15954 at commit 69d9b4a.

Test build #69346 has finished for PR 15954 at commit d9d8f82.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Test build #69355 has finished for PR 15954 at commit 69d9b4a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test PASSed.

LGTM, merging to master and 2.1


Rancher HA with traefik and letsencrypt shows 404 page not found on FQDN

Rancher Server Setup

Rancher version: v2.6.3
Installation option: Helm Chart on STACKIT Kubernetes Engine (SKE)

Information about the Cluster

Kubernetes version: 1.21.10
Cluster Type: Hosted SKE

User Information

What is the role of the user logged in: admin

Describe the bug
Instead of the Rancher UI 404 page not found is shown.
Rancher HA with traefik lb and letsencrypt. A valid certificate was injected from cert-manager, but the rancher FQDN showes 404 page not found.
When we port-forward port 80 of the rancher service we'll get a timeout, but if the https-internal port 403 is forwarded we get the rancher-ui i suppose with the internal dynamic cert.
Somehow port 80 of the rancher service is not working.
We deployed traefik in the ingress-traefik namespace as we didn't find any specific traefik documentation and adapted the default nginx one
To Reproduce
Deploy the Rancher helm chart on a managed kubernetes cluster with traefik and letsencrypt
Result
Rancher UI shows 404 page not found
Expected Result
The Rancher UI should be shown
Screenshots
Rancher FQDN shows 404 page not found

Port-forward port 80 of the rancher service

Port-forward port 403 of the rancher service

Additional context
As a test we deployed a test pod with a simple http website, this one is available correctely through the ingress

did u manage to solve this issue? I'm facing the same problem

This is still happening

Still still happening!
---     kind: Service     apiVersion: v1     metadata:       name: rancher-service-web     spec:       type: ExternalName       ports:         - name: http           port: 443           targetPort: 443       externalName: redacted     ---       apiVersion: traefik.containo.us/v1alpha1     kind: IngressRoute     metadata:       name: rancher-ingressroute-web       namespace: default       annotations:          kubernetes.io/ingress.class: traefik-external     spec:       entryPoints:         - websecure       routes:         - match: Host(rancher.redacted.com)           kind: Rule           services:             - name: rancher-service-web               port: 443           middlewares:             - name: default-headers             - name: https-redirectscheme             - name: rancher-headers       tls:         secretName: redacted-com-production-tls
`
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: traefik-dashboard-basicauth
namespace: traefik
spec:
basicAuth:
secret: traefik-dashboard-auth
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: default-headers
namespace: default
spec:
headers:
browserXssFilter: true
contentTypeNosniff: true
forceSTSHeader: true
stsIncludeSubdomains: true
stsPreload: true
stsSeconds: 15552000
customFrameOptionsValue: SAMEORIGIN
customRequestHeaders:
X-Forwarded-Proto: https
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: https-redirectscheme
namespace: default
spec:
redirectScheme:
scheme: https
permanent: true
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: rancher-headers
namespace: default
spec:
headers:
customRequestHeaders:
X-API-request-url: $scheme://$request_uri
`


Add Missing Gutter Icons for Runnable/Testable Targets

Example:

Note that in this example, intellij_integration_test_suite is in fact runnable, despite missing gutter icons:

I'll close the issue. If you still can reproduce it, please reopen.

The example above is from this repo, i.e. https://github.com/bazelbuild/intellij/blob/fe1c1e884cd8654aa90461cd941905116b301bef/aswb/BUILD#L166

Dupe of https://github.com/bazelbuild/intellij/issues/3728

Hello @abhillman I was able to see the run icon if I imported the project using aswb.bazelproject as in this case the aswb directory is included and this test target is included in the imported project view.

While if you imported the plugin code using ijwb.bazelproject for example the aswb directory will be excluded (and highlighted with yellow) and the run icon will not show next to this target.


Add withTheme flag to fix folding up for themed components

Fixes #3659
I added a flag to detect if a component was themed via withTheme HOC. When styled again, a styled component is folded up and doesn't get a theme from the HOC anymore. I fixed this by using the flag and passing the theme to the folded up component again.

@EduardAkhmetshin thanks for the PR, we aren't accepting any new functionality for v5 but you're welcome to make this change to current main branch

@EduardAkhmetshin any chance you could make a new PR for the current version? Thanks!


feat: delta measures

Add delta calculations to identify increased costs/usage regardless of the forecast configuration.
Delta values are calculated as incremental difference to previous Daily reading in the same month. Hence the first reading in the month will not have a delta.

Discussed in #10


feat: Add possibility to create custom Network Policies for project pods

Description
This PR introduces a feature which allows to configure custom Kubernetes Network Policies for NodeRed instances.
Additionally, it removes hardcoded and unused Network Policy.
Related Issue(s)
#322
Checklist

[x] I have read the contribution guidelines
[ ] Suitable unit/system level tests have been added and they pass
[x] Documentation has been updated

[ ] Upgrade instructions
[ ] Configuration details
[ ] Concepts

[ ] Changes flowforge.yml?

[ ] Issue/PR raised on FlowFuse/helm to update ConfigMap Template
[ ] Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

[ ] Backport needed? -> add the backport label
[ ] Includes a DB migration? -> add the area:migration label

The Helm chart validation is failing because during the upgrade process from the previous chart version to the current one, the --reuse-values flag is used. As a result, new default values shipped with the new chart version are ignored.
This issue has been already reported and some PR was already introduced.
However, until the chart-testing tool will not provide a possibility to configure the mentioned helm command parameter, there is a need to implement a workaround by validating all new chart values.  The simplest way to achieve this is described here.


Enhancement: detect manual labeling

Per discussion on https://github.com/docker/docker/pull/28143#discussion_r86945453, we should have a way to detect if labels on an issue were manually corrected. This may be a difficult one, but initial thoughts;

add a label "manual-override" (e.g.) that tells poule to not apply labels
detect if the issue/PR has a "person X removed label xyz" action, and if so, don't re-apply that label (may be expensive)
detect if labels of a specific kind are already present (e.g., if a "area/xyz" label is already present, don't add a different area, likewise for "kind/xyz")
other suggestions?

/cc @icecrime @ehazlett

those all sound reasonable to me

Just one small note: as it is configured today in Docker, poule will only add labels when an issue is initially opened, reopened, or edited. Unless one of those events apply, we can manually change them and they will state.

add a label "manual-override" (e.g.) that tells poule to not apply labels

Easy enough.

detect if the issue/PR has a "person X removed label xyz" action, and if so, don't re-apply that label (may be expensive)

I don't think that's doable through GitHub's API (there's no audit trail of who did what).

detect if labels of a specific kind are already present (e.g., if a "area/xyz" label is already present, don't add a different area, likewise for "kind/xyz")

I merged something in this morning that allows just that! I added the support for filtering in serve mode, so we should be able to do things like:
- triggers:
      pull_request: [ opened ]
  operations:
      - type:       label
        filters:     {
            ~labels: [ "status/1-design-review", "status/2-code-review", "status/3-docs-review" ],
        settings: {
            patterns: {
                status/0-triage:     [ ".*" ],
            }
        }

Sounds good already @icecrime! I suggest to monitor how it works out, and see if we need changes or not. If it works fine, I'll close this issue
Great work!


upgrade to<EMAIL_ADDRESS>(which has several fixes for Windows)

I guess it's about the cache flag as the version was already covered earlier? Feel free to merge it.

@BridgeAR thought I'd try out the --cache flag for performance, the actual important update is getting rid of:
./node_modules/.bin/_mocha, the new library we're using for spawning doesn't like absolute paths on Windows.

I see :+1:


add changeEmail component

I moved the verificationWarning closer to changeEmail in settings

Closes #698

I know this is just about the frontend component but I got a bit confused with the change email functionality:

changing it to the email address of another user gives a 400 error, but no error is shown on the page, additionally the field keeps the changed email address so it looks like it worked
I changed it to something else, and it seems like it was immediately updated as it only showed the changed one (although I still have to login with the old email address which is not shown)
I couldn't click on the verification email link as they are dummy email accounts, but also could not change the email address back to what it was before

Although as it has email and unverifiedEmail address fields it seems like it should support this.
I think this is one of the UI/UX things we would benefit from just copying from  (airbnb, etc...).
For now though, maybe just showing that there is a pending email address change separately from the current email address?

You're right, the change-email implementation in some ways.

changing it to the email address of another user gives a 400 error, but no error is shown on the page, additionally the field keeps the changed email address so it looks like it worked

True, I was kind of waiting for #668 before adding it. We could leave this PR around until #668 is done and the add the necessary bits, or implement it in the "old" boilerplate-y way (I'm not so motivated right now), or just leave it out for now.

I changed it to something else, and it seems like it was immediately updated as it only showed the changed one (although I still have to login with the old email address which is not shown)

Ah right, this is one of this bits I forgot to copy from the old angular page. I think we should show the old verified email in the email field. If there is no verified email, show the unverified one.

could not change the email address back to what it was before

I discovered this too yesterday, it seems like a backend issue. Will open an issue there.

I think this is one of the UI/UX things we would benefit from just copying from (airbnb, etc...).

That would be great. I think this was one of the features where I went into the trap thinking of an "uninteresting but necessary and easy-to-implement" thing and getting surprised by the huge number of states that need to be handled. Maybe also "django-allauth" or similar could help us there.

Backend issue: https://github.com/yunity/karrot-backend/issues/430

I added the change-email thing to the list in #668


Fix: AddArgumentsAsVariables throw exception in schema delegation with custom transform

https://github.com/apollographql/graphql-tools/issues/820

Sorry, there isn't enough info here to understand how this fixes the issue you referenced. How is __typename related to the issue where args is undefined?

We haven't heard back regarding the additional information requested in https://github.com/apollographql/graphql-tools/pull/821#issuecomment-409318084, so closing for now. Thanks!