Stable Children

This PR aims to provide stable element children, to enable persistent Components.
This is not final code, as I'm not really happy with some of this, however I believe it is at least correctly functional unless I've missed something, and I'd like to start getting some feedback.  I think we absolutely need to do something about testing here though - this got rather complicated.
Supercedes #132

Codecov Report

Merging #134 into master will decrease coverage by 10.55%.
The diff coverage is 20.51%.

@@             Coverage Diff             @@
##           master     #134       +/-   ##
===========================================
- Coverage   61.02%   50.47%   -10.56%
===========================================
  Files           5        5
  Lines         331      424       +93
===========================================
+ Hits          202      214       +12
- Misses        116      193       +77
- Partials       13       17        +4

Impacted Files
Coverage Δ

dom.go
50.6% <10.75%> (-14.54%)
:arrow_down:

markup.go
58.33% <58.33%> (-0.76%)
:arrow_down:

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 ef519fb...e71f4c2. Read the comment docs.

There are also certainly render efficiency improvements that can be made once we get correctness nailed.

I have the current review notes queued (with some other minor style changes), but I'll wait for comments on the list handling before doing a rebased push.

@pdf feel free to force push now. It'd be good for me to get a view of it with all pending comments fixed.

golint doesn't like the unexported return value.

I think we have two options:

keep the unexported return and suppress the lint warning as I've done here, by moving to gometalinter (not a terrible idea anyway, as we get some extra checks there)
use two arguments to separate markup from children, though this makes the API awkward

Sorry for the delay on reviewing this @pdf -- took me longer to get around to this than I thought it would.
I know today (Sun for me) is a weekday for you, so in addition to the (many) inline comments I've made above, I have also addressed each and every one of them and sent it as a PR to your branch here via https://github.com/pdf/vecty/pull/1
If I assume that you mostly agree with the comments I've made above, then I see three remaining issues for this PR before merging:

This comment https://github.com/gopherjs/vecty/pull/134#discussion_r135441646
Testing
Updating docs/CHANGELOG.md

On the topic of testing, I have been thinking about it a fair bit. I have some good ideas on how to handle this, by essentially creating some nice helpers in our test suite and then describing results effectively just as a list of HTML / Component operations that occurred. It will probably be a few more weeks before I can get to this, however, and I feel that this PR is a clear improvement over the current status quo (pending resolution of the comment #1 mentioned above) so I'd be fine merging this PR without tests once you feel confident about this being the right approach as well.

Will need to update the CI to use Go 1.9 as well since it is now failing due to GopherJS requiring latest Go version.

@slimsag no problem, thanks for the review - the changes look good to me.
I'm very keen to get this tested, but improvements to the test harness would make the job significantly easier.  Though this is a significant breaking change, I think once it's finalised this should go in regardless, as the current code on master is prone to unexpected behaviour, and I think this is a sensible approach to resolving that.

I merged your changes with a couple of minor modifications, added the change mentioned in https://github.com/gopherjs/vecty/pull/134#discussion_r135463934, and cleaned up the history.  I think this is good for final review now.
I tried bumping the Go version on Travis, but looks like they haven't finished rolling out 1.9 support yet.

Try tip version for Travis? May work.

go1.9.x syntax seems to be working in Travis now. See https://travis-ci.org/go-interpreter/wagon/jobs/269323333.

Thanks for the heads-up @shurcooL, looks like we still need the GOROOT hack though.

And travis has fixed the GOROOT issue now too, no more 1.9 hacks required.

Though this is a significant breaking change, I think once it's finalised this should go in regardless, as the current code on master is prone to unexpected behaviour, and I think this is a sensible approach to resolving that.

I agree highly.
I'll do one final look through of this change + write up the doc/CHANGELOG.md as soon as I can, possibly tonight (Thur) or Saturday morning.

Also, do you have any final concerns about this PR? Feel it's good to go in its current state?

It occurred to me the other night that we could now get rid of the <noscript> output for nil returns from component renders.  I'd like to include that too, and it shouldn't be too much effort, though I might not finish it this morning before work.

Actually, allowing nil renders from components will have some implications for vecty.Rerender() that I may not have time to resolve this weekend, so with a couple of changes to support that approach at a later, I'm going to call this PR now, and we can address <noscript> in a subsequent PR.

Sounds good.
On Aug 31, 2017 4:40 PM, "Peter Fern"<EMAIL_ADDRESS>wrote:

Actually, allowing nil renders from components will have some
implications for vecty.Rerender() that I may not have time to resolve
this weekend, so with a couple of changes to support that approach at a
later, I'm going to call this PR now, and we can address  in a
subsequent PR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gopherjs/vecty/pull/134#issuecomment-326448630, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADBrOF3Yo_FCyg5pLo1P21KapvEnMANxks5sd0RugaJpZM4PCrOK
.

Alright, I've just now had time to do a final pass over this PR. Nothing sticks out to me, so I am going to go ahead and merge this and update the doc/CHANGELOG.md directly following.

Changelog updated, see https://github.com/gopherjs/vecty/blob/master/doc/CHANGELOG.md#sept-2-2017-pr-134-major-breaking-change

Changelog looks good.  Is it worth making mention on slack or somewhere of the breakage?

Yep :) I mentioned in Slack channel as well


[New game]: Make a shootr game using HTML CSS and JS

🎮 Game Request
objective is to hit targets
Point down the features
Made using HTML CSS and JS
Select program in which you are contributing
hacktoberfest
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

/assign

Hey @whiteknight16 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hello @whiteknight16, Time's up!⏰
Sorry for closing your issue!
But it's more than a week since we haven't received anything from your side 😢 .
Come up with new ideas, create a new issue and make sure you finish it within a week! 🔥
All the best! 🚀
Happy Hacking! 💗

Hey @whiteknight16 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Warning! Something went wrong. Forbidden

I followed all of your installation steps on  linux and added plugin to my jupyter notebook.
But I am getting this error after committing  code into repo.
Warning! Something went wrong.
Forbidden

@akashgudadhe1 please share the logs you see at the console from where jupyter is being invoke.

I get this Forbidden error also. Here are my console logs from jupyter:
[W 10:19:59.731 NotebookApp] 403 PUT /git/commit (::1): '_xsrf' argument missing from POST
[W 10:19:59.733 NotebookApp] 403 PUT /git/commit (::1) 2.29ms referer=http://localhost:8888/notebooks/Github%20Integration%20-%20Take%201.ipynb

I reran env.sh and that error went away. Now I get "Not Found".  Console logs below.
I am using ssh port forwarding to run jupyter on a remote server.)
[W 10:26:55.571 NotebookApp] 404 PUT /git/commit (::1) 3.78ms referer=http://localhost:8888/notebooks/new-project/Untitled.ipynb?kernel_name=andrewenv37
[W 10:27:22.132 NotebookApp] 404 PUT /git/commit (::1) 2.49ms referer=http://localhost:8888/notebooks/new-project/TestNotebook.ipynb

Howdy! I am encountering the same issue too can @sat28 help me trouble shoot?
Uncaught exception PUT /git/commit (::1)
    HTTPServerRequest(protocol='http', host='localhost:8888', method='PUT', uri='/git/commit', version='HTTP/1.1', remote_ip='::1')
    Traceback (most recent call last):
      File "/Applications/anaconda3/lib/python3.7/site-packages/githubcommit/handlers.py", line 53, in put
        print(repo.git.checkout('HEAD', b=git_branch))
      File "/Applications/anaconda3/lib/python3.7/site-packages/git/cmd.py", line 545, in <lambda>
        return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
      File "/Applications/anaconda3/lib/python3.7/site-packages/git/cmd.py", line 1014, in _call_process
        return self.execute(call, **exec_kwargs)
      File "/Applications/anaconda3/lib/python3.7/site-packages/git/cmd.py", line 825, in execute
        raise GitCommandError(command, status, stderr_value, stdout_value)
    git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
      cmdline: git checkout -b master HEAD
      stderr: 'fatal: 'HEAD' is not a commit and a branch 'master' cannot be created from it'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/Applications/anaconda3/lib/python3.7/site-packages/git/util.py", line 888, in __getitem__
        return getattr(self, index)
      File "/Applications/anaconda3/lib/python3.7/site-packages/git/util.py", line 881, in __getattr__
        return list.__getattribute__(self, attr)
    AttributeError: 'IterableList' object has no attribute 'master'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/Applications/anaconda3/lib/python3.7/site-packages/tornado/web.py", line 1590, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/Applications/anaconda3/lib/python3.7/site-packages/githubcommit/handlers.py", line 55, in put
        print("Switching to {}".format(repo.heads[git_branch].checkout()))
      File "/Applications/anaconda3/lib/python3.7/site-packages/git/util.py", line 890, in __getitem__
        raise IndexError("No item found with id %r" % (self._prefix + index))
    IndexError: No item found with id 'master'
[E 22:16:32.546 NotebookApp] {
      "Host": "localhost:8888",
      "Connection": "keep-alive",
      "Content-Length": "79",
      "Accept": "application/json, text/javascript, */*; q=0.01",
      "Origin": "http://localhost:8888",
      "X-Requested-With": "XMLHttpRequest",
      "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36",
      "Content-Type": "application/json",
      "Referer": "http://localhost:8888/notebooks/testing.ipynb",
      "Accept-Encoding": "gzip, deflate, br",
      "Accept-Language": "en-US,en;q=0.9",
      "Cookie": "_xsrf=2|abf83965|83c6bbb764c88fcfc7069b42b97b29fd|1570681748; username-localhost-8889=\"2|1:0|10:1570683687|23:username-localhost-8889|44:OGQxMjE5YzNmY2Q1NDU5Yjg1YjVhZDEzNDA0ZWQwYWM=|d5d8428b77af1a7e7439df6cef0d43e3ff8fd71983068fbeae31636810944f4d\"; username-localhost-8888=\"2|1:0|10:1570684545|23:username-localhost-8888|44:OTA4ODUxZTA0NzlkNDJmMmJjNzZjMTM2MGJhYTIyZGM=|b382f8105ca29247d7c19e1b156611b9316f4de3a5a662eeaa6133b768968dc3\""
    }
[E 22:16:32.547 NotebookApp] 500 PUT /git/commit (::1) 58.55ms referer=http://localhost:8888/notebooks/testing.ipynb```

@driskerr and @akashgudadhe1 pls look into this video https://www.youtube.com/watch?v=vKx_4zFvOi8


Sometimes when closing the menu the overlay disappears without the menu closing

Sometimes when closing the menu the overlay disappears without the menu closing, and then on the following click it appears without the menu. Unsure how to recreate it, it just seems to happen after a few clicks. I assume theres a point where both classes are active or missing.
I've fixed this as well as a few linting issues and remove the need for two functions to display the menu.
Ive attached the gif of the issue, apologies for the quality.

Can't repro :( Is this in Chrome?

Yeh, it was happening every 2 or 3 attempts earlier but now it takes about 15 clicks to replicate. Not sure how its happening, cant see anything odd on the DOM, my guess is clicks/taps are too quick and are clicking both the hamburger and the close while the animation is still transitioning.


sensor.snmp added decoding of "Opaque" types.

Description:
SNMP does not support floating point data as native data types. It rather uses asn1 encoding and transfers them as bytes. The sensor.snmp uses pysnmp and that in turn uses pyasn1 to encode/decode these things. So as long as the encoding is supported by pyasn1, this change should be able to decode it.
Related issue (if applicable): fixes #2767
Pull request in home-assistant.github.io with documentation (if applicable): N/A
Example entry for configuration.yaml (if applicable):
see https://github.com/home-assistant/home-assistant/issues/2767
Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] Tests have been added to verify that the new code works.

First of all, I would like to say thank you for giving this a go. Quite honestly, I had lost all hope that someone would ever look into this.
However, I replaced the snmp.py file on my system with your version and after restarting Home Assistant, I got the following error for each of my 4 broken snmp sensors:
2017-12-20 00:42:21 ERROR (MainThread) [homeassistant.components.sensor] Error on device update!
Traceback (most recent call last):
  File "/srv/hass_venv/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 217, in async_add_entity
    yield from entity.async_device_update(warning=False)
  File "/srv/hass_venv/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 306, in async_device_update
    yield from self.hass.async_add_job(self.update)
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 332, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
    future.result()
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 245, in result
    raise self._exception
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/hass_venv/lib/python3.6/site-packages/homeassistant/components/sensor/snmp.py", line 122, in update
    self.data.update()
  File "/srv/hass_venv/lib/python3.6/site-packages/homeassistant/components/sensor/snmp.py", line 183, in update
    value, _ = decoder.decode(bytes(resrow[-1]))
  File "/srv/hass_venv/lib/python3.6/site-packages/pyasn1/codec/ber/decoder.py", line 1183, in __call__
    '%s not in asn1Spec: %r' % (tagSet, asn1Spec)
pyasn1.error.PyAsn1Error: [128:0:120] not in asn1Spec: None

Getting closer:

you can run a ready-to-use SNMP agent using this docker image: https://hub.docker.com/r/polinux/snmpd/
after tinkering with the config file, I now get a float number for the current system load so I have something to test:

09:38 $ snmpget -v2c -c public localhost <IP_ADDRESS>.4.1.2<IP_ADDRESS>.1
iso.<IP_ADDRESS>.1.2<IP_ADDRESS>.1 = Opaque: Float: 0.787109

In the sensor.dnmp  this gets me an <class 'pysnmp.proto.rfc1902.Opaque'> with data b'\x9fx\x04>\xde@\x00' with this config:

sensor:
  - platform: snmp
    host: <IP_ADDRESS>
    baseoid: "<IP_ADDRESS>.4.1.2<IP_ADDRESS>.1"
    name: stringvar
    community: public
    port: 161

logger:
  default: info
  logs:
    homeassistant.components.sensor.snmp: debug

it seems pysnmp/pyasn1 does not support Float as defined in https://tools.ietf.org/html/draft-perkins-opaque-01 so I had to decode it myself using struct.unpack

So right now I can successfully decode a Float. Not sure if that is the most elegant solution...

I also added a feature request here: https://github.com/etingof/pysnmp/issues/118

Just a quick note that you may also use pyasn1 infrastructure for reliably decoding whatever ASN.1 structures should occur inside the Opaque SNMP type.

I just replaced my snmp.py file once more and I can't believe it...it's working! 😮
Thank you so much, @ChristianKuehnel ! I know this can still be improved when etingof implements your FR into pysnmp, but this is awesome already in my book! 👍

Hey @etingof
if I understand it correctly, the pyasn1 infrastructure does depend on some C/C++ libraries?
If so: I'm concerned about the portability of the code. I guess not all operating systems ship these native libraries...

if I understand it correctly, the pyasn1 infrastructure does depend on some C/C++ libraries?

Hey, no! pyasn1 is a pure-Python tool and has no external dependencies. pysnmp is totally dependent on pyasn1.

OK good.
Looking at the library, I did not see support for a "Float" data type. Did I miss something?

Right, there is no Float type in ASN.1 because they borrowed it from the IEEE standard. So unpacking float itself look good to me.
What I meant though is that the wrapping BER encoding could be handled by pyasn1 like this:
floatType = OctetString().subtype(
    implicitTag=Tag(tagClassContext, tagFormatSimple, 120),
    subtypeSpec=ValueSizeConstraint(4, 4)
)
ieee_encoded_float, _ = decode(b'\x9f\x78\x04\x00\x00\x00\x00', asn1Spec=floatType)

Hmmm I can't seem to apply a value_template to Opaque types.
I have the following SNMP sensors (the bottom 4 are Opaque types):

I wish to change the shown state for the battery voltage sensor (for obvious reasons) using the following: value_template: '{{ (value | float) | round(1) }}'. After restarting Home Assistant, this results in the following error in the log file:
2018-01-01 04:34:02 ERROR (MainThread) [homeassistant.components.sensor] Error on device update!
Traceback (most recent call last):
  File "/srv/hass_venv/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 217, in async_add_entity
    yield from entity.async_device_update(warning=False)
  File "/srv/hass_venv/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 306, in async_device_update
    yield from self.hass.async_add_job(self.update)
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 332, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
    future.result()
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 245, in result
    raise self._exception
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/hass_venv/lib/python3.6/site-packages/homeassistant/components/sensor/snmp.py", line 131, in update
    value, STATE_UNKNOWN)
  File "/srv/hass_venv/lib/python3.6/site-packages/homeassistant/helpers/template.py", line 129, in render_with_possible_json_value
    error_value).result()
  File "/usr/local/lib/python3.6/concurrent/futures/_base.py", line 432, in result
    return self.__get_result()
  File "/usr/local/lib/python3.6/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/srv/hass_venv/lib/python3.6/site-packages/homeassistant/util/async.py", line 167, in run_callback
    future.set_result(callback(*args))
  File "/srv/hass_venv/lib/python3.6/site-packages/homeassistant/helpers/template.py", line 147, in async_render_with_possible_json_value
    variables['value_json'] = json.loads(value)
  File "/usr/local/lib/python3.6/json/__init__.py", line 348, in loads
    'not {!r}'.format(s.__class__.__name__))
TypeError: the JSON object must be str, bytes or bytearray, not 'float'

I know my template is fine as I'm able to use it with other sensors (e.g. InfluxDB sensors).

Hmm, OK. I added a type cast to string before returning the float. Can you give it another shot?

@ChristianKuehnel Just tested your change, it works! 😀

weird test results --> closing/opening to trigger new build

what's the status?

Please reopen the PR after all comments are addressed


Access violation on Windows with 24.11.0

Checklist

[x] I added a descriptive title
[x] I searched open reports and couldn't find a duplicate

What happened?
Access violation on windows when installing an installer built with constructor. See for example this failing run on commit https://github.com/mne-tools/mne-installers/pull/312/commits/25de2b52d7aa469fc7b0588c17b56e3e27f1c6ed from https://github.com/mne-tools/mne-installers/pull/312:
Run .\%MNE_INSTALLER_NAME% /S /InstallationType=JustMe /AddToPath=1
Welcome to MNE-Python 1.8.0_0

By continuing this installation you are accepting this license agreement:
C:\Users\runneradmin\mne-python\1.8.0_0\license.rtf
Please run the installer in GUI mode to read the details.

MNE-Python will now be installed into this location:
C:\Users\runneradmin\mne-python\1.8.0_0

Unpacking payload...
Setting up the package cache...
Setting up the base environment...
Installing packages for base, creating shortcuts if necessary...
Error: Process completed with exit code -1073741819.

Compared to this CI run on https://github.com/mne-tools/mne-installers/pull/312/commits/b49580c4ee3d0caf8fd501a332b3fc86c7c2f976 where we pin !=24.11.0 in our env when building the installer:
...
Installing packages for base, creating shortcuts if necessary...
Initializing conda directories...
Running post install...
Clearing package cache...
Adding to PATH...
Setting installation directory permissions...

Some other packages were updated in there but I very much doubt that made the difference. Will open a PR to mne-installers shortly to confirm. EDIT: Confirmed in https://github.com/mne-tools/mne-installers/pull/313#issuecomment-2532329929
In the meantime, the problematic installer can be downloaded on the CI artifacts page, e.g. here.
Additional Context
No response

Can you set CONDA_QUIET=0 and CONDA_VERBOSITY=3, re-run the bad installer and paste the logs here? Let's see if something comes up. Thanks!

Tested in https://github.com/mne-tools/mne-installers/pull/313/commits/4b7647c6eb0cead75b686510eac23376293a29d7 and got what appears to be the same thing oddly enough:
Run .\%MNE_INSTALLER_NAME% /S /InstallationType=JustMe /AddToPath=1
  .\%MNE_INSTALLER_NAME% /S /InstallationType=JustMe /AddToPath=1
  shell: C:\Windows\system32\cmd.EXE /D /E:ON /V:OFF /S /C "CALL "{0}""
  env:
    MNE_INSTALLER_VERSION: 1.8.0_0
    MNE_INSTALLER_NAME: MNE-Python-1.8.0_0-Windows.exe
    MNE_INSTALLER_ARTIFACT_ID: MNE-Python-Windows-x86_64
    MNE_INSTALL_PREFIX: /c/Users/runneradmin/mne-python/1.8.0_0
    RECIPE_DIR: /d/a/mne-installers/mne-installers/tools/../recipes/mne-python
    MNE_ACTIVATE: /c/Users/runneradmin/mne-python/1.8.0_0/Scripts/activate
    NSIS_SCRIPTS_RAISE_ERRORS: 1
    MNE_MACHINE: Windows
    MACOS_ARCH:
    ARTIFACT_RETENTION_DAYS: 5
    CONDA_QUIET: 0
    CONDA_VERBOSITY: 3

Welcome to MNE-Python 1.8.0_0

By continuing this installation you are accepting this license agreement:
C:\Users\runneradmin\mne-python\1.8.0_0\license.rtf
Please run the installer in GUI mode to read the details.

MNE-Python will now be installed into this location:
C:\Users\runneradmin\mne-python\1.8.0_0

Unpacking payload...
Setting up the package cache...
Setting up the base environment...
Installing packages for base, creating shortcuts if necessary...
Error: Process completed with exit code -1073741819.

I used the graphical installer without adding to path and I'm getting the "Failed to link extracted packages" error. Interestingly, if you ignore it, the installation seems to be quite functional: you can activate it and it even gives me a list of packages; it's registered in the environments.txt file, etc.
Maybe finding the package that broke can give us a hint.

Any chance it's https://github.com/conda/constructor/issues/908 ?
Otherwise I can start a long bisect to figure it out...

Another thing I tried was to use conda-standalone from your installer to create an environment based on your specs and it worked. However, those packages were downloaded from conda-forge instead of using a local package cache, so it's not 100% what constructor is doing.

Any chance it's conda/constructor#908 ?
Otherwise I can start a long bisect to figure it out...

That should have been solved by the newest constructor though.


Add Auto Scrolling Container

Step 8 of splitting mega-PR #494 into smaller easier to review PRs

I'm probably going to merge this as it is for now I think - but I want to consider before the next version release whether it worth merging this wholly into the vanilla UIScrolllingContainer rather than having both a UIScrollingContainer and a UIAutoScrollingContainer.
The question is if there are benefits to having the split or not. Do users want manual control over scrolling behaviour of scrollable containers - even if they do, can we accommodate that cleanly in one element rather than two....


fix(android): use SERIAL_EXECUTOR instead of THREAD_POOL_EXECUTOR

We are using a lot getContactsByPhoneNumber to retrieve a bunch of contacts. But if your address book is big and you are looking for a lot, some users have ThreadPool error.

With AsyncTask.THREAD_POOL_EXECUTOR we are able to stack 5 threads in the same time and we could  stack 128 threads  =><EMAIL_ADDRESS>In fact, we don't really have all this method in parallel. The serial mode is good enough and the thread pool size has no limit.

thanks!


Users in SAML enabled organizations can't use Terminus

Summary: As a user in an organization that has SAML enabled for email addresses matching the organization's domain, I cannot use Terminus to perform any commands on my sites.
Scope: Users in organizations with SAML enabled whose account email addresses match the organization's domain. Users whose emails don't match can successfully authenticate with their dashboard passwords and perform Terminus commands.
Symptoms:
$ terminus cli version
Terminus version: 0.7.1
Terminus script: terminus

$ terminus auth login
Your email address?: suzanne@********
Your dashboard password (input will not be shown):
Logging in as suzanne@*******
Saving session data

        .+.
        .+?:
         .+??.
           ??? .
           +???.
      +?????????=.
      .???????????.
      .????????????.

     ########### ########
     ############.#######.
     ####### ####  .......
     ######## #### #######                50 41 4E 54 48 45 4F 4E
     #########.####.######        _____________  __  ________  ____  ______
     ######  ...                 /_  __/ __/ _ \/  |/  /  _/ |/ / / / / __/
     #######.??.##########        / / / _// , _/ /|_/ // //    / /_/ /\ \
     #######~+??.#########       /_/ /___/_/|_/_/  /_/___/_/|_/\____/___/
     ########.??..
     #########.??.#######.
     #########.+?? ######.
               .+?.
         .????????????.
           +??????????,
            .????++++++.
              ????.
              .???,
               .~??.
                 .??
                  .?,.

$ terminus auth whoami
You are authenticated as suzanne@*******

$ terminus sites list
Error: Request Failure: Client error response
[status code] 401
[reason phrase] Unauthorized
[url] https://dashboard.getpantheon.com/api/users//memberships/sites?limit=100

Steps To Reproduce:

Be a user with an email address in an organization with SAML enabled.
Authenticate as that user with Terminus
Attempt any Terminus commands

Known Workarounds: Login as a user who is a member of the organization, but whose email address doesn't match the domain for the SAML-enabled org.

Also see https://github.com/pantheon-systems/cli/issues/291
Hey @suzannealdrich !!

Marking as a feature request because it was a limitation known in the initial design. The current workaround is to set up a machine account, add it to specific sites, and use that user with Terminus, but we're working on real, passwordless Terminus authentication.

The Auth0 update will make this obsolete once it is released to all users.


build the kustomize output to Infra-deployment deploy file

The pipeline-service application is now updated via deploy file after pr: https://github.com/redhat-appstudio/infra-deployments/pull/2383
So adding the kustomize output in the infra-deployment-update-script so that the bot also update the deploy file for staging folder of pipeline-service

/test-docker-images-build

/retest

/hold
Team, PR is blocked on image reference. Started slack thread on this

/hold
Team, PR is blocked on image reference. Started slack thread on this

PR https://github.com/redhat-appstudio/build-definitions/pull/685

This PR does not impact the CI. The failing test is failing because of an unrelated issue.
PR can be merged as is.


Fails to run on react-native-web

Hi guys.  I'm having trouble with this package. It was installed as a dependency of react-native-gifted-chat.
./node_modules/react-native-typing-animation/src/index.js
SyntaxError: /Users/bader/Work/projects/react/gifted-chat-web-demo/node_modules/react-native-typing-animation/src/index.js: Unexpected token (37:6)

  35 |
  36 |     return (
> 37 |       <View style={[styles.container, style]}>
     |       ^
  38 |         <Dot x={dotX - dotRadius - dotMargin} y={this.state.y1} radius={dotRadius} style={dotStyles} dotColor={dotColor} />
  39 |         <Dot x={dotX} y={this.state.y2} radius={dotRadius} style={dotStyles} dotColor={dotColor} />
  40 |         <Dot x={dotX + dotRadius + dotMargin} y={this.state.y3} radius={dotRadius} style={dotStyles} dotColor={dotColor} />

I'm running through react-native-rewired, which as per gifted chat's documentation, we have the following config-override.js, which changes our build as follows:
module.exports = function override(config, env) {
  config.module.rules.push({
    test: /\.js$/,
    exclude: /node_modules[/\\](?!react-native-gifted-chat|react-native-lightbox|react-native-parsed-text|expo-av)/,
    use: {
      loader: 'babel-loader',
      options: {
        babelrc: false,
        configFile: false,
        presets: [
          ['@babel/preset-env', { useBuiltIns: 'usage' }],
          '@babel/preset-react',
        ],
        plugins: ['@babel/plugin-proposal-class-properties'],
      },
    },
  })

  return config
}

Any ideas as to whats going wrong? I noticed in the Readme that this specifically supports react-native-web, but this is crashing.

Hi @bader-ht, kindly share your code for the Gifted Chat component on your project.

Do you try to add react-native-typing-animation into exclude glob in webpack config?

I don’t think so. I’ll have a go at it now and let you know.
On Fri, Jun 26, 2020 at 12:34 PM Xavier Carpentier<EMAIL_ADDRESS>wrote:

Do you try to add react-native-typing-animation into exclude glob in
webpack config?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/watadarkstar/react-native-typing-animation/issues/24#issuecomment-650086847,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ4UMQEV5V5FX3IJZGISH63RYRTSPANCNFSM4NDO4POQ
.

--
Bader Alsayegh
General Manager
H**YPER(TEXT)
E<EMAIL_ADDRESS>M: +96599360047
hypertext.com.kw
Confidentiality Notice:
The contents of this email message and any attachments are intended solely
for the addressee(s) and may contain confidential and/or privileged
information and may be legally protected from disclosure. If you are not
the intended recipient of this message or their agent, or if this message
has been addressed to you in error, please immediately alert the sender by
reply email and then delete this message and any attachments. If you are
not the intended recipient, you are hereby notified that any use,
dissemination, copying, or storage of this message or its attachments is
strictly prohibited.

Thank you @xcarpentier, that got the project to compile, but typing animation does not actually show.  Does Animated.View work on react-native-web?

Yes it should: https://github.com/watadarkstar/react-native-typing-animation/issues/18#issuecomment-569750312


data visualization

被詢問度排序
詢問時間分佈
謠言生命週期 (詢問次數-天數、回答數-天數)
謠言分類器 (是謠言、非謠言、不用處理)
最久閒置的謠言

Currently the open data is processed manually, and here is the result: https://datastudio.google.com/embed/reporting/18J8jZYumsoaCPBk9bdRd97GKvi_W5v-r/page/ckUQ
To facilitate the auto-sync between opendata source on github and Google data studio, we may need to implement a data studio connector:

Referene: https://developers.google.com/datastudio/connector/build (on google apps script)
Unzip: Utilities.unzip https://stackoverflow.com/questions/45284798/using-google-app-script-unzip-a-file-from-google-drive

A connector is no longer needed, the visualizations are connected to google cloud storage open data CSV files now. Closing.


Combat Abilities Development

Description:
We need to design and implement a robust combat system for our game, "Doki Doki D&D Simulator." This issue covers the development of combat abilities, including character attributes, skills, and visual effects. The goal is to create an engaging and balanced combat experience for our players.
Tasks:

Define character stats and attributes
Create a list of combat abilities and their descriptions
Implement combat mechanics and rules
Develop animations and visual effects for abilities
Design a user interface for ability selection
Implement turn order and initiative system
Consider status effects and buffs/debuffs
Test, balance, and playtest the combat system
Gather feedback for iteration
Document the combat system and abilities
Ensure accessibility and inclusivity


Refmt line wraps inconsistently with multi-line strings

I'm using {| |} syntax to construct a multi-line string because with " " refmt converts the newlines to \n. However, when calculating line length for the purposes of code format wrapping it seems to use the entire string rather than the actual indent position of the code.
Note how making the first string shorter improves the format output:
let error expected actual =>
  {|Data not equal:
  ------------
  '|} ^
  expected ^ {|'
  ------------
  '|} ^ actual ^ {|'
  ------------|};

let error expected actual =>
  {|Data not equal:
  '|} ^ expected ^ {|'
  ------------
  '|} ^ actual ^ {|'
  ------------|};

These seem to be correctly formatted now. Please reopen if still an issue.

And in 3.0.4 too! Maybe I should go through more of my old tickets and see if they're already fixed 🤔


Support global default_exclude_links configuration

Add a new global configuration default_exclude_links, which allows to exclude links for all the resources and relationships.
Currently if we need to exclude all the links in relationships, we have to specify exclude_links in every relationship definition.
The exclude_links defined in resource and relationship scope will override the global configuration so nothing breaks.
If you guys think the PR is feasible, I will open another PR for 0.10 later.
New Feature Submissions:

[ ] I've submitted an issue that describes this feature, and received the go ahead from the maintainers.
[x] My submission includes new tests.
[x] My submission maintains compliance with JSON:API.

Test Plan:
I have no idea about testing how the resource goes with the global configuration, because exclude_links method is called when module loaded. Sorry for the inadequate test coverage.
Reviewer Checklist:

[ ] Maintains compliance with JSON:API
[ ] Adequate test coverage exists to prevent regressions

Thanks @ouabing, I think this is a good addition.

@lgebhardt updated

@ouabing Thanks!


libzen configuration is not found

When I run ./configure in Project/GNU/Library, I get this error:
configure: error: libzen configuration is not found
I'm trying to build Project/GNU/Library in an amazon linux container.

When I run ./configure in Project/GNU/Library, I get this error:
configure: error: libzen configuration is not found

libzen is not found in either (from Project/GNU/Library) ../../../../ZenLib or installed devel package (with pkg-config). You can check our "All in one" package for seeing how directories are expected to be.

I'm trying to build Project/GNU/Library in an amazon linux container.

For reference, our development snapshots have now builds suitable for new Amazon containers (the ones without libcurl available), check the package having "Lambda" file name.
It was built with the following command on the respective packages:
cd openssl && ./config no-shared --prefix=$(pwd)/usr && make install
cd curl && autoreconf -if  && ./configure --enable-static --disable-shared --with-ssl=$(pwd)/../openssl/usr --prefix=$(pwd)/usr && make install
cd MediaInfo_CLI_GNU_FromSource && ./CLI_Compile.sh --enable-staticlibs --with-libcurl=$(pwd)/../curl/usr


Use different pathwatcher

@mauricioszabo Would you mind me updating the CI here and pushing that to your branch prior to merging, just to make sure everything there looks good?

Go ahead! I'll merge back your changes as soon as you do it :)


workflow schema output doesn't match other things

[notting@nostromo: ~]$ tower-cli workflow schema testwf @ymlfu
- job_template: 12
- job_template: 12
- job_template: 13
  success_nodes:
  - failure_nodes:
    - job_template: 14
    job_template: 15
  - failure_nodes:
    - job_template: 14
    job_template: 12

The ask is to have this more like the 'normal' ok/changed/failed output.

I struggled getting a grasp on this issue, but I think I we can make something work.
Status Quo
We simply don't do human format for workflow schema commands. We force-switch the runtime format to JSON. Human format will not work because it expects a resource with columns, and this doesn't fit that pattern.
Proposal
Printing the "changed" status implies going through the human formatting code. That means that we will need a special clause in the human formatting method to echo the contents in YAML (or in the future, perhaps a fancy graphical view).
Similar to other commands, this also implies that the "changed" key will be present for YAML or JSON output, example:
- job_template: 12
- job_template: 12
- job_template: 13
  success_nodes:
  - failure_nodes:
    - job_template: 14
    job_template: 15
  - failure_nodes:
    - job_template: 14
    job_template: 12
- changed: True

Of course, the changed status should be smart as to whether any unsafe methods (POST, DELETE, etc.) were used in our new fancy idempotent algorithm.

We should also robustly produce the "changed" value before creating the tower_workflow module for Ansible. FYI @wwitzel3

Kicking out to 3.2.1, still don't know the answer to some questions.

Closing related PR #350 because I don't know what an acceptable solution could even look like, or maybe the fundamentals of the workflow resources simply haven't been communicated.


Experiment with ElasticSearch on single node

See Jupyter transcript https://lsst-uk.atlassian.net/wiki/download/attachments/1235091457/ElasticSearch.html

Will revisit Elastic Search after full investigation of Cassandra


How to make the heat map layer below other layers?

I try to put this heat map layer under some geojson layers, but failed. Is there any suggestion to do that?
Thank you.

This is supported with Leafle 1.0 beta if you create a separate pane and pass it as the pane option. Not an issue of Leaflet.heat.


[BUG] panic: runtime error: slice bounds out of range [512:0] from k3d-linux-amd64 kubeconfig get --all

What did you do

How was the cluster created?

k3d cluster create

What did you do afterwards?

k3d commands?

[jdanek@fedora ~]$ sudo Downloads/k3d-linux-amd64 kubeconfig get --all

docker commands?
OS operations (e.g. shutdown/reboot)?

Screenshots or terminal output
[jdanek@fedora ~]$ sudo Downloads/k3d-linux-amd64 kubeconfig get --all
---
panic: runtime error: slice bounds out of range [512:0]

goroutine 1 [running]:
github.com/k3d-io/k3d/v5/pkg/client.KubeconfigGet({0xec2118, 0xc0000360f0}, {0xee3be8, 0x14fac60}, 0xc000710d00)
        /home/runner/work/k3d/k3d/pkg/client/kubeconfig.go:157 +0xdae
github.com/k3d-io/k3d/v5/pkg/client.KubeconfigGetWrite({0xec2118, 0xc0000360f0}, {0xee3be8, 0x14fac60}, 0xc000710d00, {0xd6e7ad, 0x0}, 0xc00053a17c)
        /home/runner/work/k3d/k3d/pkg/client/kubeconfig.go:54 +0x70
github.com/k3d-io/k3d/v5/cmd/kubeconfig.NewCmdKubeconfigGet.func2(0xc0002fd900, {0xc00052a8f0, 0x1, 0x1})
        /home/runner/work/k3d/k3d/cmd/kubeconfig/kubeconfigGet.go:89 +0x235
github.com/spf13/cobra.(*Command).execute(0xc0002fd900, {0xc00052a8e0, 0x1, 0x1})
        /home/runner/work/k3d/k3d/vendor/github.com/spf13/cobra/command.go:860 +0x5f8
github.com/spf13/cobra.(*Command).ExecuteC(0xc0001b1180)
        /home/runner/work/k3d/k3d/vendor/github.com/spf13/cobra/command.go:974 +0x3bc
github.com/spf13/cobra.(*Command).Execute(...)
        /home/runner/work/k3d/k3d/vendor/github.com/spf13/cobra/command.go:902
github.com/k3d-io/k3d/v5/cmd.Execute()
        /home/runner/work/k3d/k3d/cmd/root.go:144 +0x175
main.main()
        /home/runner/work/k3d/k3d/main.go:27 +0x17

Which OS & Architecture
$ uname -a
Linux fedora 5.17.2-300.fc36.x86_64 #1 SMP PREEMPT Fri Apr 8 14:35:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Which version of k3d
$ sudo Downloads/k3d-linux-amd64 version
k3d version v5.4.1
k3s version v1.22.7-k3s1 (default)

Which version of docker
[jdanek@fedora ~]$ podman version
Client:       Podman Engine
Version:      4.0.2
API Version:  4.0.2
Go Version:   go1.18beta2

Built:      Thu Mar  3 15:56:09 2022
OS/Arch:    linux/amd64
[jdanek@fedora ~]$ podman info
host:
  arch: amd64
  buildahVersion: 1.24.1
  cgroupControllers:
  - cpu
  - io
  - memory
  - pids
  cgroupManager: systemd
  cgroupVersion: v2
  conmon:
    package: conmon-2.1.0-2.fc36.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.1.0, commit: '
  cpus: 12
  distribution:
    distribution: fedora
    variant: workstation
    version: "36"
  eventLogger: journald
  hostname: fedora
  idMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
  kernel: 5.17.2-300.fc36.x86_64
  linkmode: dynamic
  logDriver: journald
  memFree:<PHONE_NUMBER>
  memTotal:<PHONE_NUMBER>2
  networkBackend: netavark
  ociRuntime:
    name: crun
    package: crun-1.4.4-1.fc36.x86_64
    path: /usr/bin/crun
    version: |-
      crun version 1.4.4
      commit: 6521fcc5806f20f6187eb933f9f45130c86da230
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +YAJL
  os: linux
  remoteSocket:
    path: /run/user/1000/podman/podman.sock
  security:
    apparmorEnabled: false
    capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
    rootless: true
    seccompEnabled: true
    seccompProfilePath: /usr/share/containers/seccomp.json
    selinuxEnabled: true
  serviceIsRemote: false
  slirp4netns:
    executable: /usr/bin/slirp4netns
    package: slirp4netns-1.2.0-0.2.beta.0.fc36.x86_64
    version: |-
      slirp4netns version 1.2.0-beta.0
      commit: 477db14a24ff1a3de3a705e51ca2c4c1fe3dda64
      libslirp: 4.6.1
      SLIRP_CONFIG_VERSION_MAX: 3
      libseccomp: 2.5.3
  swapFree:<PHONE_NUMBER>
  swapTotal:<PHONE_NUMBER>
  uptime: 9h 16m 34.8s (Approximately 0.38 days)
plugins:
  log:
  - k8s-file
  - none
  - passthrough
  - journald
  network:
  - bridge
  - macvlan
  volume:
  - local
registries:
  search:
  - registry.fedoraproject.org
  - registry.access.redhat.com
  - docker.io
  - quay.io
store:
  configFile: /home/jdanek/.config/containers/storage.conf
  containerStore:
    number: 0
    paused: 0
    running: 0
    stopped: 0
  graphDriverName: overlay
  graphOptions: {}
  graphRoot: /home/jdanek/.local/share/containers/storage
  graphStatus:
    Backing Filesystem: btrfs
    Native Overlay Diff: "true"
    Supports d_type: "true"
    Using metacopy: "false"
  imageCopyTmpDir: /var/tmp
  imageStore:
    number: 1
  runRoot: /run/user/1000/containers
  volumePath: /home/jdanek/.local/share/containers/storage/volumes
version:
  APIVersion: 4.0.2
  Built:<PHONE_NUMBER>
  BuiltTime: Thu Mar  3 15:56:09 2022
  GitCommit: ""
  GoVersion: go1.18beta2
  OsArch: linux/amd64
  Version: 4.0.2

How reproducible
Command failed first time, then always succeeded when I repeated it again after filling issue. I wanted to try to strace it to see what files it accesses.

Hi @jiridanek , thanks for opening this issue!
It reads the kubeconfig file from the containers and then trims the first few bytes, as they're control characters. I assume this is caused by some issue in reading the file in the first place, resulting in an empty slice.
Do you still see this issue?


fullstack-angular2-starter not available

https://github.com/angular-class/fullstack-angular2-starter - 404

@gdi2290 ??

it will be out soon. The repo needs to be updated to latest changes

@gdi2290 when you'll publicate?

It is same that: https://github.com/angular-class/angular2-universal-starter?

we changed it last minute since people needed a simpler introduction to server rendering

I added the universal starter via https://github.com/angular-class/awesome-angular2/commit/e3dc1456678e27facfd065d6f5b71c63b521f9b6


Reordering GEPs from most to least stable

What type of PR is this?
/kind documentation
What this PR does / why we need it:
This is a follow up to @youngnick's feedback in https://github.com/kubernetes-sigs/gateway-api/pull/2691#discussion_r1442498991.
Does this PR introduce a user-facing change?:
NONE

I'm not actually sure about this change, but created this PR for the sake of discussion.
/hold for consensus
/assign @youngnick

Closing this because it's gone stale, but feel free to reopen and merge if there's still interest.


Link in wikipedia section return a 404 error

Hi !
The link Wikiless manifesto in the wikipedia section (https://github.com/pluja/awesome-privacy#wikipedia) returnd a 404 error.

Looks like this was brought up in #262 but only the line mentioning the alternative was updated in https://github.com/pluja/awesome-privacy/commit/182198f2776e9526024f3b3828ef0f37b9e90f61, and not the link to the manifesto hosted at the same repository.

True, maybe we should contact orenom (the maintainer) to ask for the source code, as I can't find where is hosted


[FEA] Qualification tool: Add operators stats output csv file

Is your feature request related to a problem? Please describe.
Currently we have rapids_4_spark_qualification_output_unsupportedOperators.csv  which has details about unsupported operators and rapids_4_spark_qualification_output_execs.csv  which has details about the execs. It would be good to add another csv file which has additional stats on the operators. It would help to determine the frequency of the operators in an application, task durations of the operators and so on.
Sample output format:
operator_stats.csv
AppId, SQLID, Operator_Name, Count, Total Task Exec Duration(Seconds), Impacted Stage duration, % of Stage Duration, Supported(Boolean)

where Total Task Exec Duration = sum of task exec duration which the operator is part of
Add statistics to the output file incrementally:
### Tasks
- [x] https://github.com/NVIDIA/spark-rapids-tools/pull/1225
- [x] Add supported operators to the output file - (Stats are calculated based on unsupported, execs and stages csv file)
- [ ] For the operators not mapped to stages, report only the totalSQLTaskduration of that SQL.

Adding stats for supported operators is a bit tricky. We have to filter out the operators if they are part of the unsupported operators. We will miss some of the operators in stats file if they are not mapped to any stages

who is the target consumer of these stats?

who is the target consumer of these stats?

This is mainly for PM's and applications team to go over the statistics of what are the most frequent operators used in a job , if the unsupported operators are part of stages having larger duration and also to priortize the operators for adding support and improve the performance if they are used quite frequently.

I will work on this after completing  #1325. We will get more operator stats on 1325.

Exec to stage-ID PR is merged https://github.com/NVIDIA/spark-rapids-tools/pull/1437 and from testing we don't have much Execs  that are not assigned to stages. PR to report all operators is merged too - https://github.com/NVIDIA/spark-rapids-tools/pull/1444.
Closing this issue.


Get response headers

How to get response headers from openai response using ruby-openai?
The rate-limit info which in response headers is useful sometimes

I have a similar problem, when using the Helicone proxy, you receive the message-id attribute as a response header.


Fix broken link to Google JavaScript Style Guide

This pull request only fixes a broken link in the CONTRIBUTING.md
My contribution is covered by CCLA (employee of the company "Klaus Benndorf", see https://github.com/openlayers/cla/pull/6).

Thanks!


Skip plexon 2 tests when wine is not present

This is generating error when the tests are attempeded to run without wine.  I added an informative message. Plus, I also added the vscode files to the gitignore.

Downloading plexon dll to /Users/zacharymckenzie/.plexon_dlls_for_neo/PL2FileReader.dll
Traceback (most recent call last):
Cell In[2], line 1
test = Plexon2RawIO('/Users/zacharymckenzie/Downloads/4chDemoPL2.pl2')
File ~/Documents/GitHub/python-neo/neo/rawio/plexon2rawio/plexon2rawio.py:104 in _init
from neo.rawio.plexon2rawio.pypl2.pypl2lib import PyPL2FileReader
File ~/Documents/GitHub/python-neo/neo/rawio/plexon2rawio/pypl2/pypl2lib.py:18
result_wine = subprocess.run(["dpkg", "-l", "wine"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=True)
File ~/miniconda3/envs/spykes/lib/python3.11/subprocess.py:548 in run
with Popen(*popenargs, **kwargs) as process:
File ~/miniconda3/envs/spykes/lib/python3.11/subprocess.py:1026 in _init
self._execute_child(args, executable, preexec_fn, close_fds,
File ~/miniconda3/envs/spykes/lib/python3.11/subprocess.py:1950 in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'dpkg'
__

Yes, I realize that also the spikeinterface code does not work for Mac. I think this should work but I don't have a mac so I can't test.

@h-mayorquin, you need to switch your import to import platform. The sys.platform isn't what you want. But when I did the switch locally with this PR, it still gives a file not found.

  File ~/miniconda3/envs/spykes/lib/python3.11/subprocess.py:1950 in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)

FileNotFoundError: [Errno 2] No such file or directory: 'wine'

Damn, well, I will restrict the wine check to linux. If someone with mac can expand it that would be great but I can't test that without a mac really.

If you test this on linux and it works for you then I'm fine to merge this. I can confirm it worked on Mac:
   raise ImportError("Wine is not installed. Please install wine to use the PL2FileReader.dll")

ImportError: Wine is not installed. Please install wine to use the PL2FileReader.dll

This works for me.

Sorry one last question @h-mayorquin. You deleted the final else "system not supported". I agree that is probably okay not to have, but what was your logic for that just so we can record that.


ChildWorkflow inherits WorkflowRunTimeout from parent

Recently we changed definition of timeouts for workflow.  Based on the new definition all timeouts on workflow are now optional.  Here are the new timeouts:

WorkflowExecutionTimeout
WorkflowRunTimeout
WorkflowTaskTimeout

Default for WorkflowExecutionTimeout is 10 years, and default for WorkflowRunTimeout is same as WorkflowExecutionTimeout.
In the case of ChildWorkflow, looks like we inherit WorkflowRunTimeout from parent execution.  This seems counter intuitive in the following case.
Parent is started with WorkflowExecutionTimeout of 1 minute.
workflowOptions := client.StartWorkflowOptions{
		ID:                       workflowID,
		TaskList:                 "child-workflow-task-list",
		WorkflowExecutionTimeout: time.Minute,
	}

Child Workflow execution is started with WorkflowExecutionTimeout of 30 minutes:
cwo := workflow.ChildWorkflowOptions{
		WorkflowID:               childID,
		WorkflowExecutionTimeout: 30 * time.Minute,
	}

Now when child is started, workflow execution timeout is 30 minutes but workflow run timeout is 1 minutes:
./tctl wf show -w 1 -pdt
  1  2020-05-03T14:03:39-07:00  WorkflowExecutionStarted     {WorkflowType:{Name:SampleChildWorkflow}, ParentWorkflowNamespace:default,
                                                              ParentWorkflowExecution:{WorkflowId:parent-workflow_40416b51-c93a-46ef-a132-904f2f7aad21,
                                                              RunId:ecbfdd56-be57-48be-af24-5d14d63aa402}, ParentInitiatedEventId:5,
                                                              TaskList:{Name:child-workflow-task-list, Kind:Normal},
                                                              Input:{Payloads:[len=2]}, WorkflowExecutionTimeoutSeconds:1800,
                                                              WorkflowRunTimeoutSeconds:60, WorkflowTaskTimeoutSeconds:10,
                                                              Initiator:Decider, OriginalExecutionRunId:5d75373b-867b-454f-ba63-4a52c37dea17,
                                                              FirstExecutionRunId:5d75373b-867b-454f-ba63-4a52c37dea17, Attempt:0,
                                                              WorkflowExecutionExpirationTimestamp:0, FirstDecisionTaskBackoffSeconds:0,
                                                              Header:{Fields:map{}}}

Agree, defaulting child to the execution timeout that was specified by the parent makes more sense.

This is a server side issue.  Ported as https://github.com/temporalio/temporal/issues/565


State of worker group launch templates stored with keys instead of indices

I have issues...
changing/adding/updating worker groups
It would be nice, particularly for worker/node groups, to store state using keys instead of indices. I've run into issues with state wanting to destroy resources when indices get re-ordered. This issue is already documented in this faq https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/docs/faq.md#how-do-i-safely-remove-old-worker-groups
I'm submitting a...

[ ] bug report
[x] feature request
[ ] support request - read the FAQ first!
[x] kudos, thank you, warm fuzzy

Are you able to fix this problem and submit a PR? Link here if you have already.
No PR, but I have made some changes in a fork that suited my needs. I did, however, have to remove a feature (namely data.aws_iam_instance_profile.custom_worker_group_launch_template_iam_instance_profile).].
Here's my changes: https://github.com/terraform-aws-modules/terraform-aws-eks/compare/master...isaaguilar:day2-ready-launch-templates
This module was a great jumping off point. I hope the changes could be used in some future releases.
Environment details

Affected module version:
OS: osx
Terraform version: 0.12.23

Any other relevant info

Duplicates https://github.com/terraform-aws-modules/terraform-aws-eks/issues/476
You should also follow https://github.com/terraform-aws-modules/terraform-aws-eks/issues/774


how do i code in a secret menu where you have to input a code to get a song?

What is your question?
how do i code in a secret menu where you have to input a code to get a song? like regular friday night

you figure it out
easy fix

you figure it out
easy fix

Unhelpful.

you figure it out
easy fix

Unhelpful.

What? Help me!


:sparkles: Convert docsy to a hugo module

⚠ do not merge until https://github.com/kairos-io/kairos-docs/pull/73 has been merged and do a visual review that nothing breaks with the theme upgrade
When working on the changes for the homepage we had a couple of issues because of the git submodule. This PR changes docsy to use the new hugo modules for installation of themes and updates the docsy theme to the latest stable available.

@mudler whenever you get a chance, could you give me access to the config of the Netlify? or add the following env var: HUGO_VERSION to be set to 0.110.0

Navbar is broken on homepage, other than that seems good


Add Style Checkers

Integrate style checkers into the project to ensure consistent code quality and adherence to coding standards. This task will involve configuring and setting up style checker tools to automatically validate code style during development and before merging pull requests.

Solved


Question about inverse operator

Hello, I have a question about the implementation of filtered back projection. After solving the integral, x is divided by the spacing between detectors. What is the reason for doing this? Thank you.
https://github.com/jmaces/aapm-ct-challenge/blob/81cdf946438ea2227eb4007f9e3ac4e546d4b0c4/aapm-ct/operators.py#L509C2-L509C39

The code part you referenced is not the inverse operator but the adjoint. It is a numerical approximation of an integral that is summing along the discrete detector elements. Dividing by the spacing is a normalization factor for the integral to make this the proper adjoint.

Thank you for the clarification. And Thank you for the awesome work too :D


Cannot get Multi Cluster with the Bookinfo Application to work

Hi Istio
I've a question. I'm following the guide on the istio website
https://istio.io/docs/setup/install/multicluster/gateways/
and
https://istio.io/blog/2019/multicluster-version-routing/
So I'm trying to deploy the bookinfo application on 2 kubernetes clusters. GKE or on AKS.
For GKE I'm using KubeDNS and AKS CoreDNS.
I'm following every step in the guide but if I login as user "jason" I get "service not availiable" on the ratings and reviews.
I think it's a certification or routing problem.
Is there something I'm not doing right or do I need to follow another guide?
The .yaml files I use are the same as the file and the commands I'm running are exactly the same as the guide so I'm a bit stuck here.
Hope you guys can help me out.

I tried 1.4 and it worked in 1.4 but it's not working in 1.5. Any updates?

Same problem.
I can directly access through reviews.default.global.
curl -i http://reviews.default.global:9080/reviews/1
HTTP/1.1 200 OK
x-powered-by: Servlet/3.1
content-type: application/json
date: Thu, 07 May 2020 07:02:53 GMT
content-language: en-US
content-length: 375
x-envoy-upstream-service-time: 89
server: envoy

{"id": "1","reviews": [{  "reviewer": "Reviewer1",  "text": "An extremely entertaining play by Shakespeare. The slapstick humour is refreshing!", "rating": {"stars": 5, "color": "red"}},{  "reviewer": "Reviewer2",  "text": "Absolutely fun and entertaining. The play lacks thematic depth when compared to other plays by Shakespeare.", "rating": {"stars": 4, "color": "red"}}]}/

istio-proxy logs
[2020-05-07T06:46:38.833Z] "GET /reviews/1 HTTP/1.1" 200 - "-" "-" 0 375 73 72 "-" "curl/7.63.0" "b1f39777-3582-448d-ad08-18d759db4e9e" "reviews.default.global:9080" "<IP_ADDRESS>:15443" outbound|9080||reviews.default.global <IP_ADDRESS>:50278 <IP_ADDRESS>:9080 <IP_ADDRESS>:41680 - default

But it's not accessible.
curl -v -i -H 'end-user:jason' http://reviews:9080/reviews/1
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to reviews (<IP_ADDRESS>) port 9080 (#0)
> GET /reviews/1 HTTP/1.1
> Host: reviews:9080
> User-Agent: curl/7.63.0
> Accept: */*
> end-user:jason
>
< HTTP/1.1 503 Service Unavailable
HTTP/1.1 503 Service Unavailable
< content-length: 95
content-length: 95
< content-type: text/plain
content-type: text/plain
< date: Thu, 07 May 2020 07:05:47 GMT
date: Thu, 07 May 2020 07:05:47 GMT
< server: envoy
server: envoy

<
* Connection #0 to host reviews left intact
upstream connect error or disconnect/reset before headers. reset reason: connection termination/

istio-proxy logs
[2020-05-07T06:46:38.274Z] "GET /reviews/1 HTTP/1.1" 503 UC "-" "-" 0 95 97 - "-" "curl/7.63.0" "33c1975a-65c7-4bcd-b968-a7fe18edba22" "reviews:9080" "<IP_ADDRESS>:15443" outbound|9080|v3|reviews.default.global <IP_ADDRESS>:34688 <IP_ADDRESS>:9080 <IP_ADDRESS>:51224 - -

@jorenknieper Were you able to figure it out? I am also facing the same issue..

Hi ECuRyDIN,
Sadly no, I used it during my internship, I couldn't figure it out. I remember it worked on 1.4.8.
I'm sorry.


[iOS] Displaying white box instead of video

Hi,
I am using this for iOS app. I have already ran the link command.
Please find details below
  "dependencies": {
    "react": "16.4.1",
    "react-native": "0.56.0",
    "react-native-youtube": "^1.1.0"
  },

Below is the code
 <View style={styles.container}>
        <YouTube
          videoId="tmIIOsO95Yw"   // The YouTube video ID
          play={true}             // control playback of video with true/false
          fullscreen={true}       // control whether the video should play in fullscreen or inline
          loop={true}             // control whether the video should loop when ended
          style={{ alignSelf: 'stretch', height: 300 }}
          onReady={e => console.log('onReady has been loaded')}
          onError={e => {
            console.error('error occured')
          }}
        />
      </View>

Simulator iphone6

On double click on white screen, I see this

Please suggest how to resolve this.

Can you please tell, how to solve this problem?

Had the same issue. Figured out it was an installation issue. You have to link the HTML frame in your iOs project's root directory.

Maybe this info will be useful for any...
Manually import to Xcode (without Podfile).
1) Add library to Xcode
-Right Click on Libraries dir -> Add Files to "Your Project name"->../node_modules/react-native-youtube/RCTYouTube.xcodeproj
2) Linking library
-Add libRCTYouTube.a to Linked Frameworks and Libraries
3) Manually import YTPlayerView-iframe-player.html
3.1 copy YTPlayerView-iframe-player.html from ../node_modules/react-native-youtube/assets/ to
YOUR_APP/ios/assets/
3.2. In Xcode Right Click on your root -> Add Files to "Your Project name" - find YTPlayerView-iframe-player.html from your ios/assets/
I do not know why it is so difficult, but these steps help me.
Player example in app:
render() {
        return <View
            style={{
                alignItems: "center",
                justifyContent: "center",
                margin: 1,
                backgroundColor: 'black'
            }}
        >

            <YouTube
                apiKey={configuration.youtubeApiKey}
                play={true}
                videoId="sY5MmhLQBng"  // The YouTube video ID
                onReady={(e) => console.log('READY', e)}
                onChangeState={e => console.log('STATE', e)}
                onChangeQuality={e => console.log('onChangeQuality', e)}
                onError={e => console.log('onError', e)}
                style={{ width: '99%', alignSelf: 'stretch', height: 220 }}
            />
        </View>
    }

@LeonidVeremchuk You are a life savior

A few questions about steps 1 and 2:

What if RCTYouTube.xcodeproj is greyed out and can't be selected?

Where can I find libRCTYouTube.a? When you say "add ... to Linked Frameworks and Libraries", do you mean "Frameworks" and "Libraries" in the left sidebar of Xcode? Should I right click on them and > Add Files to "Your Project name" as in step 1? (After someone tells me where I can find this file.)

@maskedjellybean

if it is greyed out that means its already imported - it is automatically imported when you use react-native link react-native-youtube
no it should be added in "link binary with libraries", if its not showing check if it already exists in the list

@LeonidVeremchuk worked for me 👍


Consensus validator table mousovers

Chore
Add mouseovers for each data column.

Stake: The total amount $VEGA staked to this validator including self-stake and all delegation.
Normalised voting power: Voting power is the relative weighting given to the validator in tendermint consensus.  It is calculated based on the stake share of the validator minus any penalties due to overstaking or performance
Total stake share: The stake a validator represents as a share of total stake across the network
Total penalties: Total of penalties taking into account performance (considering proportion of blocks proposed against the number of blocks the validator was expected to propose) and any overstaking.
Pending stake: The amount of stake that will be added or removed from the validator from the next epoch

Acceptance Criteria

[ ] I can see a description (e.g. on hover) for each of the above column headings

Made some changes to normalised voting power based on discussion with Candida.
Also simplified the Total stake share decription because it mentioned it as a share relative to total across consensus validators and I wasnt sure that was actually true ... isnt it just the share of all stake on the network?


Filters should validate array

If filters is passed a string instead of an array, it silently fails.
It should either allow a single string, or error out if filters isn't an array.

FYI, I'll fix this, just need your opinion on what the right thing is.

Fixed in latest version v1.4.0. Now allows either a string or array as filter


[feature request] liquidfun support

If is possible to implement it, would be a great option...
thanks to all the Devs involved

Can you please provide some links and material about this? so we can understand better your request?

http://google.github.io/liquidfun/
At this link you can find the documentation of the library add-on of box2d,
was famous in the past recent years, I wonder how don't you heard about it...
Its main features is adding fluid simulation

Sometime ago I thought about doing this... Since it is a C++ lib, It's not going to be easy, I think. But seems to be possible.
The link below could be a start:
https://stackoverflow.com/questions/54952245/how-to-use-c-code-in-flutter-android-application

It seems to be supported on both Android and iOS, as well as desktop, my only concern on using channel APIs is that we will have some trouble porting to desktop and maybe web.
I see two paths:

implementing this using the channel APIs like @feroult suggested, but not directly on Flame, we could have a flame_liquidfun package

porting the c++ code to dart (kind like how box2d is ported)

I have no idea which idea would be better, or easier, I know the recent dart versions has the possibility to integrated with native stuff easily using ffi, but I never tried it myself. And I don’t know how complicated this library code is to have it ported to dart, the good thing about this approach is that we wouldn’t need to change anything for desktop and web.

There is the DART native FFI which as an interface between dart code and c++. I got this sample running:
Dart code: https://github.com/renancaraujo/bitmap/blob/master/lib/transformations/brightness.dart#L35
c code: https://github.com/renancaraujo/bitmap/blob/9cd10ebf045858067542d5c55c39246db17d9678/ios/Classes/bitmap.cpp#L26
We can do something like that perhaps.

Jbox2d https://github.com/jbox2d/jbox2d/tree/master/jbox2d-library/src/main/java/org/jbox2d already seems to have particle ported... does the dart port of box2d predate that or was it omitted?

@billy1380 I was unaware that particle means liquidfun. we do have some particle related classes on box2d.dart from when it was ported.
@renancaraujo @spydon do you know anything about this? maybe we had liquidfun support all along and didn't know?

No, we don't have liquidfun support.
Liquidfun is a larger extension of box2d than just the particle afaik.

Actually I think I was wrong, I think we have liquidfun support.
According to jbox2d which the dart port comes from it says:

It's technically more accurate to say it's just a port of LiquidFun now, and LiquidFun is fork of Box2D, but the library started as a Box2D port.

Maybe what we need them is just an example to showcase some liquidfun specific functionality? That will also ensure our port of a port works as intended. @renancaraujo or @spydon would you like to think of something? I myself am a bit unclear on the exact distinction of both, I originally thought it was a totally different project but it seems it was something that was eventually merged into box2d itself.

Alright, so I did some more investigation regarding this and we have liquidfun support in the world, but we have no support to render the particle system yet.


Dialog unexpectedly closes on a touch device

Description
see this old issue which was closed, not fixed actually (I was able to reproduce it for all releases from 3.9 to 4.2).
https://github.com/chakra-ui/ark/issues/2816
Link to Reproduction (or Detailed Explanation)
https://stackblitz.com/~/github.com/dannylin108/parkui-bug-report
Steps to Reproduce

Open the page on a touch device (Chrome emulation also works)
Open the drawer
Choose a date in the date picker
The drawer unexpectedly closes, but should remain open showing the chosen date.

Ark UI Version
4.2.0
Framework

[ ] React
[X] Solid
[ ] Vue

Browser
No response
Additional Information
No response

Have the same issue with Ark UI 4.1.2 on React

I have the same issue on Ark UI 4.1.2 for React

@narsiliko @dannylin108
We've released a new version. Please re-open the if the issue persist.

@narsiliko @dannylin108
We've released a new version. Please re-open the if the issue persist.

The issue remains after the latest release (v4.3.0)
https://codesandbox.io/p/sandbox/7j72xj
Touching a combobox menu item closes the dialog.
Clicking on it works with no issues.

I have run into a similar issue that I think may be related. Reproduced on v4.4.3
While using a touch device (or browser emulation of a touch device), when I press a button that's inside a Dialog, and the click event for that button changes state that causes that button to no longer be rendered, I expect the dialog to remain open, but it closes.
https://codesandbox.io/p/sandbox/ark-ui-dialog-forked-6z8w67
To reproduce in the above reproduction:

Open this on a touch device or use browser emulation of a touch device.
Press the "Open Dialog" button.
Press the "Click to hide this button" button.
The Dialog should remain open, but it gets closed.

I have run into a similar issue that I think may be related. Reproduced on v4.4.3
While using a touch device (or browser emulation of a touch device), when I press a button that's inside a Dialog, and the click event for that button changes state that causes that button to no longer be rendered, I expect the dialog to remain open, but it closes.
https://codesandbox.io/p/sandbox/ark-ui-dialog-forked-6z8w67 To reproduce in the above reproduction:

Open this on a touch device or use browser emulation of a touch device.
Press the "Open Dialog" button.
Press the "Click to hide this button" button.
The Dialog should remain open, but it gets closed.

I just did a little research and found out that when the button is unmounted, it ceases to be a child of dialog content, and from the point of view of trackInteractOutside this is an outside action which leads to close of the dialog
https://github.com/chakra-ui/zag/blob/fb6fa8d3da3f607350d9d1608e696f8e12d481fa/packages/utilities/interact-outside/src/index.ts#L101C9-L101C17
I do not know why this happens only on touch devices, but workaround can apply the dom attribute hidden or something similar instead of unmounting the button


Create separate starters for embedded and client/server mode #31

Thanks a lot for the PR @lburgazzoli! There are only some small things to fix and we are good to go.

Yes, exactly.
SEBASTIAN ŁASKAWIEC
INFINISPAN DEVELOPER
Red Hat EMEA https://www.redhat.com/
https://red.ht/sig

done:

remove optional deps
squash tests
update docs

Thanks @lburgazzoli !

I'll test it out with some demos and I think we can release 2.0.0.Alpha1. Good stuff!


Can't publish with "authentication": "UserPassword" from a second machine out of Domain

Describe the bug
We have a Development Business Central OnPremise server joined to our Active Directory Domain.
We can deploy our project from a laptop with Windows 10 (October 2018) joined to the same Domain using domain credentials.
Now we have setting up all the development environment cloning the Git repository in a different laptop with Windows 10 (October 2018) but not-joined to the Domain...
We have changed our launch.json file to "authentication": "UserPassword" but after input our domain-user credentials when try to publish, VSCode throws this Error in console:
[2019-02-03 21:43:22.41] The request for path /bcentral/dev/metadata failed with code Unauthorized. Reason: Unauthorized
[2019-02-03 21:43:22.44] Error: An internal error has occurred

We have tried to deploy with F5 and with Ctrl+F5 and clearing cache credentials several times with the same results.
With these credentials we can log in at web client without any problem in the second laptop and of course can publish from the first laptop joined to the Domain.
Expected behavior
Can deploy from a laptop out of Domain using domain-credentials.
Versions:
AL Language: 2.0.48254
Business Central: ES Dynamics NAV 13.0 (24630) OnPremise

Hi @JavierFuentes ! UserPassword does not mean that you can now enter your domain credentials in VSCode. That setting refers to the types of credentials defined here: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/users-credential-types . Your server must be configured to accept credentials in this manner before you can publish.
Please use one of the following resources to get more help:
Business Central Community
mibuso forum
Dynamics User Group

OK, for all those who, like us, it is not an option to change the value of the Credential types property of the server instance so that your users don't lose the Single Sign On feature or because you are publishing on a Development machine without a valid Certificate...
This problem with development environments can be solved by using the runas /netonly command in a .BAT file
For example:
runas /netonly /user:domain\username "%LOCALAPPDATA%\Programs\Microsoft VS Code\code.exe C:\YourProjectPath\YourExtensionProject.code-workspace"

You will need to type manually your domain-user password, but you will be able to publish extension updates from an out-of-domain machine.

Thank you for sharing the solution with everybody! I will close this issue.


Provide flow type definitions

Related with #1.

Coverage remained the same at 100.0% when pulling 4a58d56352b8fae529fd82f111fa63df8d6f3bb6 on feature/flow into 4f2dc56cfde9d93b6c542b0638aa67c769f24bdc on master.

Coverage remained the same at 100.0% when pulling d114088fa719a13e296f08d0ddadd6fd8450c6fe on feature/flow into 4f2dc56cfde9d93b6c542b0638aa67c769f24bdc on master.

Coverage remained the same at 100.0% when pulling 880e5fc959781577567549d05c0e032c5295af40 on feature/flow into 4f2dc56cfde9d93b6c542b0638aa67c769f24bdc on master.


patch release V.2.0.4

W|A tested and confirmed that changed working now, including the db not having timed out


Return slices

No need to expose the Vec

Hi @njaard, thanks for the PRs. Happy to switch to slices in 0.3.0.


stable/rabbitmq install error Forbidden: may not be used when type is 'ClusterIP'

Is this a request for help?: Yes
BUG REPORT
Version of Helm and Kubernetes:
Kubernetes 1.10
Which chart:
stable/rabbitmq
What happened:
Get this error message:

Error: release my-rabbit failed: Service "my-rabbit-rabbitmq-headless" is invalid: spec.ports[1].nodePort: Forbidden: may not be used when type is 'ClusterIP'

What you expected to happen:
The chart used to install, but some recent changes to stable/rabbitmq has broken this.
How to reproduce it (as minimally and precisely as possible):
Run example here: https://www.katacoda.com/javajon/courses/kubernetes-applications/rabbitmq
or
helm install stable/rabbitmq
--name my-rabbit
--namespace rabbit
--set replicas=3
--set serviceType=NodePort
--set rabbitmq.managerPort=31111
--set rabbitmq.nodePort=31112
--set rabbitmq.username=admin
--set rabbitmq.password=admin
--set rbacEnabled=false
Anything else we need to know:
Consider the problem is svc-headless.yaml allows the application of nodePort to

name: amqp
port: {{ .Values.rabbitmq.amqpPort }}
targetPort: amqp
{{- if (and (eq .Values.serviceType "NodePort") (not (empty .Values.rabbitmq.nodePort))) }}
nodePort: {{ .Values.rabbitmq.nodePort }}
{{- end }}

yet type at top of yaml is fixed to "clusterIP: None"

Blame it on me. I haven't considered this option initially.

Seems isolated to just Minikube version running in Katacoda:
With minikube version: v0.28.2 at the Katacoda link above the error does not appear with chart version 3.3.1, but does with 3.3.2+
helm install stable/rabbitmq --name my-rabbit --namespace rabbit --set replicas=3 --set serviceType=NodePort --set rabbitmq.managerPort=31111 --set rabbitmq.nodePort=31112 --set rabbitmq.username=admin --set rabbitmq.password=admin --set rbacEnabled=false --version 3.3.1
The installation works just fine with Minikube 0.30.0 with VirtualBox locally on a Windows 10 laptop.

@dene14 - Perhaps I'm misusing the combination of options.

@dene14
This error has gone away with chart version: 3.6.1 but I cannot get to the RabbitMQ Portal.  Should be on nodePort 31112?


:clustering-order behavior differs based on which version of clojure is used

When running this query with my project level clojure dependency at 1.5.1, the table is created as expected:
(cql/create-table
   conn
   "user"
   {:userid :text,
    :mode :text,
    :time :text,
    :pid :text,
    :primary-key [[:userId :mode] :time :pid]}
   (cquery/with {:clustering-order {:time :desc, :pid :asc}})

However if I change the clojure dependency to 1.6.0, the table fails to be created with the following error:
InvalidQueryException The order of columns in the CLUSTERING ORDER directive must be the one of the clustering key (time must appear before pid) com.datastax.driver.core.Responses$Error.asException (Responses.java:103)

Behaviour that you see is not dependent on Clojure version. Clojure maps do not preserve order — never had, never will — so using maps for order-dependent stuff is not advisable.
Replace {:clustering-order {:time :desc, :pid :asc}} with {:clustering-order [[:time :desc] [:pid :asc]]}, it should help.

Thanks that worked. I knew it had to do with the non-order preservation of maps, but also thought that since it worked with 1.5.1 there might be an underlying issue.
Gireesh
From: Max Barnash<EMAIL_ADDRESS>To: clojurewerkz/cassaforte<EMAIL_ADDRESS>Cc: gireeshramji<EMAIL_ADDRESS>Sent: Monday, November 23, 2015 4:19 PM
Subject: Re: [cassaforte] :clustering-order behavior differs based on which version of clojure is used (#117)
Behaviour that you see is not dependent on Clojure version. Clojure maps do not preserve order — never had, never will — so using maps for order-dependent stuff is not advisable.Replace {:clustering-order {:time :desc, :pid :asc}} with {:clustering-order [[:time :desc] [:pid :asc]]}, it should help.—
Reply to this email directly or view it on GitHub.


Default color is purple

Yeah so when you make a new share button from scratch, the default color is #a29baa, which is a light purple. While this may be appropriate for the demo page, it's not for normal use. I think an appropriate substitution would be #ccc.

see explanation of closure in #109


⚠ GitLab Server has degraded performance

In 9c707cc, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 6840 ms

Resolved: GitLab Server performance has improved in e57888b.


Airtable Base

I'd like to have a workspace dedicated to building out a bunch of Airtable-focused collections. Let's start with the workspace, and then add the first collection which is just a basic 101 of connecting to an Airtable base and pulling data, and rendering as a simple HTML table using visualizer. Once done, let's link the workspace and collection here.

Breaking this down into chunks and including more things to make a tentative list of stuff that can be built out with Airtable and collections.

Connecting and pulling data from an Airtable base
Rendering data from an Airtable base an HTML table visualizer.
Automate adding links to an Airtable base with slack

Good to see you working on this one. There is so much value for the team and the community in having a robust set of collections that are well documented showing how to best use Airtable + Postman.


Missing table of Analytics cookies

Issue in help/implement/js-implementation/c-unique-visitors/cookie-changes.md
There is a summary table missing after the section titled "How is Adobe Analytics responding to these changes?".

Thanks for pointing this out! It has been fixed for now, and has moved to /technotes/cookies.md. Changes will be published tonight.


Music Generation model using Memory Retention cells

Hey there. I would like to add a new sub project/topic/example here which would be great for users who have interests in music creation and also for those who just want to try different instrumentals out.This can be done using Memory Retention methods,which will not only allow the model to remember what the user wanted before but also what the model itself provided as an output previously depending upon its importance.
I have been doing ML/DL tasks for quite a while now and have made projects and done an internship on the same domain.
I would like to take this issue under GSSOC'24 and solve it real quick.
Hope I make it to your sight.
Thanks..

This issue will be closed for being a duplicate of an earlier one.


Remove setup.py <3.10 version restriction

This change aims to avoid error when installing it in python env version 3.10.6

I have also added python 3.10 to the test matrix.
Merging this now.
Thank you @eu-cristofer !


Add retry_message api

Good One , @HighCWu .
But i don't think this will be helpful, this is just an API, the one you implemented can be directly done in usecases .
THANK YOU.


Will be nice to have layout completion callback

Will be nice to have layout completion callback to notify client about layout readiness.

Done in f6a6fbe


IMPORT FAILED

Hello, author. I’ve encountered some issues and would like to ask for your help.
The following is the incorrect code
Traceback (most recent call last):
File "D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\nodes.py", line 1993, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-BrushNet_init.py", line 1, in
from .brushnet_nodes import BrushNetLoader, BrushNet, BlendInpaint, PowerPaintCLIPLoader, PowerPaint, CutForInpaint
File "D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-BrushNet\brushnet_nodes.py", line 15, in
from .brushnet.brushnet import BrushNetModel
File "D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-BrushNet\brushnet\brushnet.py", line 10, in
from diffusers.models.attention_processor import (
File "D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\lib\site-packages\diffusers\models\attention_processor.py", line 34, in
import xformers
File "D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\lib\site-packages\xformers_init_.py", line 12, in
from .checkpoint import (  # noqa: E402, F401
File "D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\lib\site-packages\xformers\checkpoint.py", line 57, in
from torch.utils.checkpoint import _ignored_ops  # type: ignore
ImportError: cannot import name '_ignored_ops' from 'torch.utils.checkpoint' (D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\lib\site-packages\torch\utils\checkpoint.py)
Cannot import D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-BrushNet module for custom nodes: cannot import name '_ignored_ops' from 'torch.utils.checkpoint' (D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\lib\site-packages\torch\utils\checkpoint.py)

Which PyTorch version are you using? Can you post a full ComfyUI starting log?

Hello author，It should be this version ，pytorch version: 2.1.2+cu118，
[START] Security scan
[DONE] Security scan
ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2024-10-08 09:06:40.105717
** Platform: Windows
** Python version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
** Python executable: D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\python.exe
** ComfyUI Path: D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3
** Log path: D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\comfyui.log
Prestartup times for custom nodes:
0.0 seconds: D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\rgthree-comfy-main
0.0 seconds: D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Marigold
0.0 seconds: D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Easy-Use
5.6 seconds: D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Manager
Total VRAM 16376 MB, total RAM 32577 MB
pytorch version: 2.1.2+cu118
WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.4.0+cu121 with CUDA 1201 (you have 2.1.2+cu118)
Python  3.10.11 (you have 3.10.11)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4070 Ti SUPER : cudaMallocAsync
Using pytorch cross attention
[Prompt Server] web root: D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\web
[AnimateDiffEvo] - ERROR - No motion models found. Please download one and place in: ['D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-AnimateDiff-Evolved\models', 'D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\models\animatediff_models']
Traceback (most recent call last):
File "D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\lib\site-packages\xformers\checkpoint.py", line 53, in
from torch.utils.checkpoint import SAC_IGNORED_OPS as _ignored_ops  # type: ignore
ImportError: cannot import name 'SAC_IGNORED_OPS' from 'torch.utils.checkpoint' (D:\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\lib\site-packages\torch\utils\checkpoint.py)

10.8.log

Thank you for your reply

This is a problem with xformers library. You probably updated it, but it was build with "PyTorch 2.4.0+cu121" while you have 2.1.2. Brushnet nodes just tried to load xformers and you've  got the error. I suggest revert xformers to an old version, or reinstall new pytorch.

Thank you for your answer. It has been fixed now, thank you.


Dev/antlr 4.10.1

Coverage remained the same at 93.765% when pulling f426b9d75e6f55062af6ba74cc6662c96196a328 on dev/antlr-4.10.1 into ea6b46ebfdb04aac54c6efd54a87e21dea33981d on master.


RPC not starting & showing in discord

Every time i try starting the rpc by pressing F1 and typing "Discord Rich Presence: Enable Discord Presence in the current workspace" it gives me this error, and nothing is showing up in my discord activity

https://github.com/LeonardSSH/vscord/issues/38#issuecomment-974157634

Same here. None of the commands work.

#38 (comment)

@LeonardSSH None work for me. I installed Discord from https://discord.com, I've restarted both programs and nothing works.

Hey @TechStudent1, I know the problem, I spotted it some time ago, still haven't tried to find a solution, but I'll look into it.
Question, does the extension not work at all? Or just its commands?

Hey @TechStudent1, I know the problem, I spotted it some time ago, still haven't tried to find a solution, but I'll look into it.
Question, does the extension not work at all? Or just its commands?

None of the commands work and just throw errors.

Have you tried a fresh install of the extension?
Can you show me what your logs show?

wait It's...
working

That's good, it means it connects to the discord-ipc.

Do you have other extensions like this that may disrupt the functionality of my extension?
Have you tried other extensions like this, do those work?

I'm having the same problem for some time now, it's really weird, sometimes it just won't show on discord. Trying to start it manually doesn't work either, and sometimes just restarting vscode works.
Checking the rpc logs, this is all I have:

Note: I have 2 instances running right now but this has never been a problem in the past, and it also breaks with only one instance running too. It's just very weird.
When it breaks, it seems to attempt a connection, and upon trying to connect manually this happens:

It also says rpc.disable doesn't exist.
I haven't reinstalled it yet to see if it goes back to working as it used to, but I'm just noting this here in case it persists even after a fresh install.

1. Do you have other extensions like this that may disrupt the functionality of my extension?

I don't think so.

2. Have you tried other extensions like this, do those work?

Yes I have. icrawl.discord-vscode automatically connected to my Discord Client.

I'll see what I can do.

I'll see what I can do.

Alright. The commands still don't work after a reinstallation, so that's probably a problem with the extension.

Please upgrade the extension and try again.

Alright

@TechStudent11 any news, does it work?

I wasn't able to upgrade it yesterday.
So I have updated it and... What'll you know?

Ok, that's really weird...  I don't know what it could be from, I've tested all the media, it works perfectly for me.
Can you provide me more details?

Where do you get the extension from?
What version of vscode do you have?
What windows do you have? What build?

Where do you get the extension from?

The VSCode marketplace.

What version of vscode do you have?

VSCode 1.64.0
P:\>code -v
1.64.0
5554b12acf27056905806867f251c859323ff7e9
x64

What windows version/build do you have?

Windows 11 21H2 OS Build 22000.318
And, my Discord version is

It says Windows 10, but I am on Windows 11.

Ok, I've the same environment. Honestly, I don't think I can help you, I can't really figure out at the moment, what could be causing your problem, you should try debugging the extension, modifying the source code installed on your PC. It's a sure way to troubleshoot the problem and possibly report it here to fix it.

Ok, I've the same environment. Honestly, I don't think I can help you, I can't really figure out at the moment, what could be causing your problem, you should try debugging the extension, modifying the source code installed on your PC. It's a sure way to troubleshoot the problem and possibly report it here to fix it.

okay. I'll try some time, but probably not today

It happens to me too, although I try to "reconnect" from the command palette
ERROR: (spanish)
https://femboy.wtf/Reven/🐦🍳👢🥟
exit: (spanish)
https://femboy.wtf/Reven/🚧🍙🥘🛀
But if I close my workspace ,it works.
https://femboy.wtf/Reven/💺🌁🎭🧀

[下午7:34:56 - INFO] [data.ts] ext(): Git extension is active
[下午7:34:57 - INFO] Discord Rich Presence for VS Code activated.
[下午7:34:57 - INFO] Registered Discord Rich Presence commands
[下午7:34:57 - ERROR] Encountered following error while trying to login:
Error: Could not connect
[下午7:34:57 - INFO] [002] Destroyed Discord RPC client
[下午7:35:08 - INFO] Reconnecting to Discord Gateway...
[下午7:35:08 - INFO] [003] Destroyed Discord RPC client
[下午7:35:08 - ERROR] Encountered following error while trying to login:
Error: Could not connect
[下午7:35:08 - INFO] [002] Destroyed Discord RPC client
[下午7:35:26 - INFO] Reconnecting to Discord Gateway...
[下午7:35:26 - INFO] [003] Destroyed Discord RPC client
[下午7:35:26 - ERROR] Encountered following error while trying to login:
Error: Could not connect
[下午7:35:26 - INFO] [002] Destroyed Discord RPC client
[下午7:35:55 - INFO] Reconnecting to Discord Gateway...
[下午7:35:55 - INFO] [003] Destroyed Discord RPC client
[下午7:35:55 - ERROR] Encountered following error while trying to login:
Error: Could not connect
[下午7:35:55 - INFO] [002] Destroyed Discord RPC client

logs


Removing outdated admin credentials from readme file

This will help newcomers to this project, and prevent further issues like #21.

Hi @Chris-May,
These login details aren't outdated - they were added in #44 to cater for setups such as Heroku that don't give you direct command-line access, and the account is still in place in the current version of the demo (https://github.com/torchbox/wagtaildemo/blob/master/demo/fixtures/demo.json#L1048-1065).

Hmmm. Could the password have changed? I can't log in with admin / changeme.

How did you set up the site - with, or without Vagrant?

With Vagrant

Hmm, afraid I don't know what's going on there, then - I regularly bring up wagtaildemo Vagrant boxes as part of testing new Wagtail releases (including yesterday's 1.5 release) and the default admin / changeme details always work for me.

Well, if it's working for other people, I'm happy. I can still create a super user and move forward.
Thanks for your time!


Update UI Tests to use Galata

This will help with #228.
Update to @jupyterlab/galata which is built on top of @playwright/test, and brings a couple of helper functions we should be able to use in RetroLab too.

We can also add visual regression tests and reference snapshots to help detect issues like https://github.com/jupyterlab/retrolab/pull/263, for example when updating to newer @jupyterlab packages.

This produces HTML reports:

New reference snapshots are generated on failure.

cc @fcollonval if you want to have a look. Things seems to be working fine also when opening multiple browser tabs,
I opened https://github.com/jupyterlab/jupyterlab/issues/11414 to discuss how we can maybe improve the waitForApplication logic upstream.


Lunch istio on default and failed

Result:

Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
v2.28
and istio v1.05
Installation option (single install/HA):
single install

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
Machine type (cloud/VM/metal) and specifications (CPU/memory):
Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.9", GitCommit:"3e4f6a92de5f259ef313ad876bb008897f6a98f0", GitTreeState:"clean", BuildDate:"2019-08-05T09:22:00Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.6", GitCommit:"96fac5cd13a5dc064f7d9f4f23030a6aeface6cc", GitTreeState:"clean", BuildDate:"2019-08-19T11:05:16Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}

Docker version (use docker version):

Client:
 Version:      1.10.3
 API version:  1.24
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Thu Mar 10 21:49:11 2016
 OS/Arch:      linux/amd64
Cannot connect to the Docker daemon. Is the docker daemon running on this host?```

this is because your internet cannot visit quay.io now


HTML/GWT only loading the 'badlogic.jpg' image

I'm fairly new to libgdx, so I could have simply missed something, but for some reason, the only asset I can load when running a html project is the default 'badlogic.jpg' image.
I just downloaded the most recent setup jar, generated the project (I used tools and Box2d plugins), and imported the gradle project into intellij and did the other steps needed to start a desktop application, which works great.
This happens regardless if I have the android configuration checked. Even if I rename the file in the assets folder, it still loads on the webpage. But the really weird part is that if I delete every badlogic.jpg image in my entire project and restarting my ide and html server, it still loads on the webpage. My only guess it that something isn't updating, but I can't find what or how to fix it.
For example, if I try to load 'badlogics.jpg' (only by adding a 's' to the 'img = new Texture("badlogic.jpg");' in the default code), the webpage spits out
"GwtApplication: exception: Couldn't load image 'badlogics.jpg',file does not exist
Couldn't load image 'badlogics.jpg', file does not exist"
even if it really does exist in the assets folder.
I have started the html project within the terminal with 'gradlew html:superDev' and with by ide and gradle by adding it as a run configuration, the setting for that are as follows
Gradle project: Game:html
Tasks: html:superDev
I am on Windows 10, if that helps.

https://github.com/libgdx/libgdx/wiki/Issue-Tracker

What is wrong with my post? As far as I can tell, it is an issue with libgdx. I've searched and tried things for over 6 hours trying to figure out what is wrong. I read that document already. What about it? Was I not clear enough? Do you need more information?

It's not a problem with libgdx as much as it is a problem with your browser
caching old files. Try clearing your browser cache.
On Sat, Jan 14, 2017, 1:57 PM pentolope<EMAIL_ADDRESS>wrote:

What is wrong with my post? As far as I can tell, it is an issue with
libgdx. I've searched and tried things for over 6 hours trying to figure
out what is wrong. I read that document already. What about it? Was I not
clear enough? Do you need more information?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/libgdx/libgdx/issues/4543#issuecomment-272652525, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABC3KOp8vtod7pWrftCNnOjTujjpX4Baks5rSTbFgaJpZM4Ljtri
.

Huh. Well that worked... Thank you.


Testing docbuilder

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.