Multi-row components

Hey, am I able to make widgets that take up multiple rows like this?

I've tried nesting rows within columns but it doesn't seem to work. It may be that I have messed up the object as the nested arrays and curly braces get really complex. If you have an example, could you please post it?

Nested rows in a column is not supported right now. But having a single row with multiple columns and having multiple widgets in a single column should work. A sample layout is given below.
{
  layout: {
      rows: [{
        columns: [{
          className: 'col-md-6',
          widgets: [{key: 'RocketWidget'}],
        }, {
          className: 'col-md-3',
          widgets: [{key: 'RocketWidget'}, {key: 'RocketWidget'}],
        }, {
          className: 'col-md-3',
          widgets: [{key: 'RocketWidget'}, {key: 'RocketWidget'}],
        }],
      }]
  }
}

FYI, I'm planning to rewrite dazzle which allows for more flexible layout using react-grid-layout. Keep an eye out for the release.

Any ETR on the release? I'm looking forward to it as I'll be able to lay everything out properly.

I'm sorry I don't have an ETA at the moment. Been busy with anther project.

I haven't tested this yet but is Dazzle nestable?


"The requested version does not exist" for yanked crates

For situations where all the versions of a crate has been yanked you get the following error:
The requested version does not exist

when visiting the latest url:

https://docs.rs/$YANKED_CRATE_NAME.
https://docs.rs/$YANKED_CRATE_NAME/latest/.
https://docs.rs/$YANKED_CRATE_NAME/latest/$YANKED_CRATE_NAME/index.html.

Generally when crate authors would share links to the documentation for their crate they would share a link to the generic "latest" page. This means all of those links are dead even though the author may have pushed a final version explaining an alternative crate to use, before yanking that version too.
Real life example:
https://docs.rs/constfft/latest/constfft/
https://docs.rs/constfft/0.2.4/constfft/index.html
Suggestion: redirect to the most recent docs, even when all the versions are yanked, but add a banner that no un-yanked versions exist anymore.

Take a look at https://github.com/rust-lang/docs.rs/blob/master/src/web/routes.rs to figure out what serves those routes - I think something is handling the output of match_version incorrectly.

I'll give this issue a stab

Take a look at https://github.com/rust-lang/docs.rs/blob/a074c8a3ad66857bae654454e1eee507bb76422d/src/web/routes.rs to figure out what serves those routes - I think something is handling the output of match_version incorrectly.

This being a 404 was an explicit design choice from #322

A change to the version resolution code to look up the list of releases of the crate that are marked as yanked in our database, and avoid resolving to yanked releases unless explicitly asked for.

(Side note: if all of a crate's versions have been yanked, this will make it appear to not exist if you go to docs.rs/crate. Is this behavior we want? I can make it check whether all versions have been yanked before filtering them out, if desired.)

I think if all versions of a crate have been yanked, it makes sense to show the latest yanked version, rather than a 404.

Yup, I think it could make sense to change, just clarifying where the behavior came from (and there are explicit tests for the current behavior that will need updating).

That makes sense, if everyone agrees then I'll work on improving the messaging on the page

After just fully yanking one of my own old unused crates I actually like the current design. Yanking all versions without publishing a new unyanked one is a really strong "I don't want anyone using this" signal. I was thinking we probably should also remove fully yanked crates from authors release pages too.

I agree we should heavily signal that the crate should not be used. In fact, it CANNOT be used unless you have it in your Cargo.lock file already. My situation for submitting this issue was that there was an alternate that was appropriate and I as a crate author would like to direct folks to use alternate. My only way of doing this is to update the README to point the user to the alternate. The current behaviour doesn't display any README at all.

This means all of those links are dead even though the author may have pushed a final version explaining an alternative crate to use, before yanking that version too

This is the situation I'm trying to address.


Add note about battery life improvements.

I think it's very important point, I'm able to work in the office kitchen for half of the day now 😸

Marketing, do you speak it!
On Tue, Jan 24, 2017, 08:08 Artur Dryomov<EMAIL_ADDRESS>wrote:

@ming13 commented on this pull request.
STOP IT
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/gojuno/mainframer/pull/138#pullrequestreview-18085594,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA7B3BBnl4Cmi6UNigqj8BpXw6v9-TJQks5rVYdFgaJpZM4LrdX3
.

We’ve spent so much time making disclaimer shorter to include more marketing? Ugh.

Let's do it

I'm slowly pressing Squash and merge…

DO NOT WANT. Too much useless text.

Actually, I think it's very major point.

Still not convinced. CC @dmitry-novikov

Agree with @ming13.

Uh.


FDSC1.8.3 ReferenceError after metasmoke authentication

VM2548:249 fdsc.msWriteToken:  null
VM2548:80 getWriteToken
VM2548:85 input callback: ***
VM2548:131 sendFeedback
VM2548:132 fdsc.msWriteToken:  ***
VM2548:154 Array(3)
VM2548:155 Uncaught ReferenceError: nodeEvent is not defined
    at Object.<anonymous> (<anonymous>:155:19)
    at i (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at y (jquery.min.js:4)
    at XMLHttpRequest.c (jquery.min.js:4)

VM2548:155 is https://github.com/Charcoal-SE/Userscripts/blob/f6b7736/fdsc.user.js#L188 .
I've succeed to report another question after that, so it may only occurs for the first time (i.e. after authentication).

I'm gonna close this for now, since it's now an old version of FDSC and hasn't been repro'd since. If anyone can repro, feel free to reopen or comment.

@ArtOfCode- I have repro'd many times, however it doesn't seem to have any effect on functionality so I'll leave it closed


No method found for class when using @Nonnull annotation

When using @Nonnull (javax.annotation.Nonnull) on the parameter of the KafkaHandler, kafka can`t find the method: "org.springframework.kafka.KafkaException: No method found for class".
Same happens using the annotation @CheckForNull.
Without the annotation everything works fine.
@KafkaListener(topics = "someTopic")
@Component
public class KafkaListener{

    @KafkaHandler
    public void receive(@Nonnull final SomeObject object) {
        //DoSomething
    }
}

Interesting - it also fails the same way with import org.springframework.lang.NonNull.
It works if I move the listener to the method...
	public class Listener {

		@KafkaListener(topics = "gh485", groupId = "gh485")
		public void listen (@NonNull final String in) {
			System.out.println(in);
		}

	}

So that might be a workaround - unless you need the multimethod listener feature.

It's because we're explicitly looking for no annotation or @Payload to find the candidate handler method.


Diagnostics should not be published after a shutdown request is sent

Expected Behaviour
After a shutdown request is sent from the client to gauge lsp server, Gauge should stop all subprocesses. No other request should be sent the client.
Actual Behaviour
Gauge is stopping the runner, but not all go routines spawned by gauge itself is not stopped.
Gauge is still sending publishDiagnostics notification to the client.

Closing this as an old issue. However, any PR's to fix this will be merged.


"Bogdănești", "Filipești" are villages in "Bogdănești" common, "BACĂU" county

Description : When user is typing the villages in the search bar, the locations should appear in the dropdown menu correctly spelled and with localities information (as in Law nr. 2 din 16 februarie 1968)
Preconditions : the website (https://peviitor-ro.github.io/ui.orase/) is up and runing.
After every step delete the text you typed from the search bar.

Steps 1: Click on the search bar and write "Bogdănești"
Expected result: In the drop down menu you find "Bogdănești, BACĂU"

Steps 2: Click on the search bar and write "Filipești"
Expected result: In the drop down menu you find "Filipești, BACĂU (Bogdănești)"


Opam packages

This adds 4 packages (coq-metacoq-{template, checker, pcuic, extraction}, all depending on the previous ones with appropriate opam files (such that opam install . works). checker is still just the checker and requires to recompile the files of template during the build, it's a bit hackish but ok for now I believe. The rest are compiled separately. I had to add a global "DEPS" variable to the master Makefile that is propagated when building locally (not through the opam files) so that one can also build the packages alltogether as usual. This introduces mainly qualifications in the files, no big movement, so shouldn't be hard to rebase on. We can now make a stricter travis check that verifies the packages can be installed at every commit (mostly this will catch if you have unqualified imports).

Yes, you ned to update, opam lint with OPAM 2.0.4 gives the following error:
error <lineno>: Package is needlessly flagged "light-uninstall", since it has no remove instructions

@palmskog indeed, thanks!


3088 hsapi

Pull Request Checklist:

[x] Positive Test Case Written by Dev

[x] Automated Testing

[x] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

Update "rights" via the rest api
Add a file via the rest api and verify the response body includes file_id

retest this, please

retest this, please

retest this, please

retest this, please

retest this, please


Update psql.md

Since psql does not work with > 12.0 it will be great, if we update the documentation with 11.0

This issue has been resolved with recent updates to the Query Service documentation to address versions. Closing this PR as resolved.


Button bounce_time

Given that the intention of GpioZero is to make components as easy to use as possible, and all the Button examples in the docs just do e.g. button = Button(2) I wonder if it might make sense for bounce_time in the Button init-method to default to something other than None ?
I suspect that up until now this hasn't really been an issue since most of the examples just use a Button to turn on and off an LED, in which case you won't notice the switch-bounce. But if you do something like printing a string to the screen when the button was pressed or released, a 'noisy' switch will trigger multiple press or release events for each real press or release.
And something I just remembered while reading some old blog-comments is that IIRC the way the bounce_time works in RPi.GPIO is that if you have a bounce-time of e.g. 100 milliseconds, and then register a falling-edge callback, pressing the button will trigger the callback as expected. But if you then hold the button down for a second (so that the bounce-time has elapsed) and then release the button, the switch-bounce on the release event can cause an additional falling-edge callback to be triggered. If this is still the case (I can't be sure, I'll have to check later) it would be great to see this handled 'properly' inside GpioZero so that only real button-presses trigger the button_pressed callback, no matter how long the switch is held down for before releasing it.

Interesting - I think I've encountered something like this in RPi.GPIO in the past, but I've no idea if it's still an issue (or if I was mistaking it for something else). Worth investigating though.


documentation: updating wasm-web bindings example

Description of change
I noticed that the readme for the wasm-web bindings directory was off and updated it accordingly.
Links to any relevant issues
Be sure to reference any related issues by adding fixes #issue_number.
Type of change
Choose a type of change, and delete any options that are not relevant.

Documentation Fix

Tick the boxes that are relevant to your changes, and delete any items that are not.

[ x] I have made corresponding changes to the documentation

Thanks for the PR, but I think the example import looks better and we should rather change the library to work like that, what do you think? To fix it, one probably only needs to add \nexport default init; here
https://github.com/iotaledger/wallet.rs/blob/dc48003b762bc997b991d0fe6a33bcd08e133005/wallet/bindings/wasm/build_scripts/web.js#L63

Thank you for your patience!
Sounds good to me, I was just fighting with that issue for some hours until I looked up the other libs and figured it out through their approaches (identity wasm and client wasm).
I thought this would be easier on new devs that try make their way into the iota ecosystem since it was a little bit confusing to me.
Maybe another option would be to standardize the examples for the wasm implementations?


Permission/Role additional attributes vectoring

The Permission and Role classes should be able to support additional attributes. For the sake of consistency, I would suggest in one of the following approaches.

function getAttributes(): array that by default returns all the public attributes of the class (modify by extending the class)
or using Arrayable Interface (haven't checked but hopefully it exists in Yii3 as well?)

Original discussion reference here

Adding getAttributes(): array to https://github.com/yiisoft/rbac/blob/master/src/Item.php sounds fine.

Done.


Add ability to configure docs page metadata

Description
Currently the docs pages metadata is hardcoded and there is no option to customize it. It is not a separate component, but it is a part of DocItem file which I have to sizzle to removed the version badge from current docs, adjust styling and add CSS class to metadata block to be able to customize the design of it.
What would be nice to see:

ability to specify maximum number of last contributors from 1 to 5 (hardcoded: 1)
ability to specify the handle by which user is represented (hardcoded: name + surname)

as possible value it would be nice to have GitHub username, email or one of names used alone

ability to display user avatar or profile picture from GitHub (or Gravatar) with a nice fallback
ability to disable the date (hardcoded: always visible)
ability to customize the date format, including the relative formatting (hardcoded: DD/MM/YYYY)

From my perspective this is not a migration blocker rather a feature idea/request.
Ideally it would be good to have customizability at the level which allow to create the similar solution to the one used by GitBook, few examples (you need to scroll to the bottom of the pages):

https://developer.helium.com/
https://docs.gitbook.com/accounts/export-or-delete-your-data (example with more than the max allowed count of contributors)

Ping @slorber.

Yeah that would be a nice enhancement.
Wonder if reading n last contributors could affect build time.
Do you have the doc that shows the API to customize this part in Gitbook?

@slorber GitBook is not a Open Source project. From my tests on the free tier there is no option to customize the page contributors (it looks like this feature is a part of their GitHub integration).

@Simek I think this issue should rather be opened on Docusaurus repo, as it's not something we had on v1, so not really part of the migration, yet would be a nice improvement for all Docusaurus users


Pairwise metric test

#270 issue, template pr, just to clarify correctness of test structure.

Sorry, I made changes on not correct local branch.


chore(main): release 1.5.3

:robot: I have created a release beep boop
1.5.3 (2024-03-28)
Bug Fixes

coauthor_repo: improve error handling (72b5e32)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Mubashwer/git-mob/releases/tag/v1.5.3 :sunflower:


Establish a review process

TODO

[DONE] Add CODEOWNERS file
[DONE] Write up the process in the Wiki
[DONE] Create cf-tls-1000 branch for tls-1000 releases. (Blocked by #55.)

I will add this point to the Wiki, assuming everyone agress: the idea of the CODEOWNERS file is that a PR for a package must be approved by at least two owners, or one owner if the package only has one owner.
What do you think @armfazh, @claucece, @Lekensteyn, and @wbl?

Here is the new contribution guide; https://github.com/cloudflare/go/wiki/Contributing

There seems to be rough consensus on this plan, so I will close this issue.


Update README.md

Add other regex demo code
Because this code is not working in MongoDB extension version => 1.5.5
User::where('name', 'regexp', '/.*doe/i')->get();

@ryan7n https://github.com/jenssegers/laravel-mongodb/pull/1827 i try to research README on old or deprecated things, but @jenssegers don't finish review


I did translation of my own kata, but cannot approve it.

http://www.codewars.com/kumite/55817369a9da1539ca00001e?sel=55817369a9da1539ca00001e
I did a translation of a kata for which I am the author. It published okay, but now when I click the green "Approve" button and then confirm in the popup, nothing happens.

Looks like that was some temporary issue. Although I tried this many times before posting, it never worked. Now I tried again, and it got approved.


Add BlindActuator as cover entity

Implemented in the python package with https://github.com/kingsleyadam/local-abbfreeathome/pull/79

I have no "Attic Window" and also no covers with tilt-possibility in my setup, so I'm not able to finally test it.

I have no "Attic Window" and also no covers with tilt-possibility in my setup, so I'm not able to finally test it.

I can test these. Will try in the evening.

I think I need a bit of help with this. I pulled init.py and cover.py from PR#89 but now I get an error at startup:
Logger: homeassistant.config_entries
Quelle: config_entries.py:635
Erstmals aufgetreten: 16:42:17 (1 Vorkommnisse)
Zuletzt protokolliert: 16:42:17

Error setting up entry Free@Home-SysAP (ABB7F62FB3A6) for abbfreeathome_ci
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/abbfreeathome_ci/__init__.py", line 88, in async_setup_entry
    await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2242, in async_forward_entry_setups
    await integration.async_get_platforms(platforms)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1181, in async_get_platforms
    import_future.result()
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1181, in async_get_platforms
    import_future.result()
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1181, in async_get_platforms
    import_future.result()
  [Previous line repeated 8 more times]
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1169, in async_get_platforms
    platforms.update(self._load_platforms(platform_names))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1094, in _load_platforms
    platform_name: self._load_platform(platform_name)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1268, in _load_platform
    cache[full_name] = self._import_platform(platform_name)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1300, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/config/custom_components/abbfreeathome_ci/cover.py", line 5, in <module>
    from abbfreeathome.devices.cover_actuator import (
ImportError: cannot import name 'CoverActuatorState' from 'abbfreeathome.devices.cover_actuator' (/usr/local/lib/python3.12/site-packages/abbfreeathome/devices/cover_actuator.py)

I believe I need cover_actuator.py from the Python package but I don´t know where to put it.

which version is in the requirements-key of your manifest.json?

{
  "domain": "abbfreeathome_ci",
  "name": "ABB-free@home",
  "codeowners": ["@kingsleyadam"],
  "config_flow": true,
  "dependencies": [],
  "documentation": "https://github.com/kingsleyadam/local-abbfreeathome-hass",
  "homekit": {},
  "iot_class": "local_push",
  "requirements": ["local-abbfreeathome==1.14.1"],
  "ssdp": [],
  "version": "0.13.0",
  "zeroconf": [
    {
      "type": "_http._tcp.local.",
      "name": "free@home*"
    }
  ]
}

Modify it to have "local-abbfreeathome==1.15.1"
Put the modified init.py and cover.py in place and restart HA

Thanks!
That and the addition of lock.py and select.py brought it back to life.
I already can see the actuators of my blinds.
Let me play a bit with it ...

Attic Window works. I already love the forced_open and forced_closed, as this makes closing the window and locking the switch during a rain alarm quite easy!
Covers:

with setup as a roller shutter (german: 'Rolladen') up and down by short press works. Forced_open is also great in situations with strong winds! This all works as it should!

with setup sunblind/shutter. Well I´m not sure about the correct translation, in german it´s a 'Jalousie' up and down by short press works, but I do not see a possibility to tilt the slats.

I cannot test my sunshade/awning/canvas blind (german: 'Sonnensegel') as this is packed for winter but the buttons are there

with setup sunblind/shutter. Well I´m not sure about the correct translation, in german it´s a 'Jalousie' up and down by short press works, but I do not see a possibility to tilt the slats.

Have you set them up in F@H as "Jalousie"?

Des

Yes

Can you provide the config of that device?

 It is closed at the moment because it is wrapped up in a cover for winter. But the buttons only offer to close it (see my screenshot above).
I´m not sure if this is because of my configuration. In my case, pushing the bottom of the switch unfolds it.
Also I would assume the same setting for a 'Markise'.

To me the naming looks correct. You've named the blinds Arbeitszimmer Jalousie  in Free@Home so that's what's coming through in Home Assistant. I can also tell the Device Name and Channel Name are actually different because of the extra space added to the channel name Arbeitszimmer Jalousie vs Arbeitszimmer Jalousie .

Your configuration looks exactly as I expected. But - for whatever reason - the integration seems to register your "Jalousie" as "Rollladen".
I'm now just asking some general questions (please don't feel offended:

Can you control the slats in F@H?
Have you tried to completely delete your SysAP in HA, restart HA and re-add the SysAP?

@nrenner73 , I think it'd be most helpful if you could past the configuration for all of your "cover" type of devices.

I just did a test and configured one of my "Rollladen" as a "Jalousie" in F@H (even that I have no slats). And when I add the integration completely new in HA it shows up correctly and the "slats" can be controlled.

 I believe I never clicked on the name of the blind to get the popup window. Here we go, I can adjust the tilt just fine:

Sorry for the confusion!

Sorry for the confusion!

All good. Nice that it is working for you

Question: I got lost following your conversation about the new Switch/Blind/... Events.
What use can I make of these events?

Question: I got lost following your conversation about the new Switch/Blind/... Events. What use can I make of these events?

I don't use them, but the following use-case comes into my mind:

You have a physical F@H-Switch-Sensor, -Blind-Sensor, -Dimming-Sensor and have not paired it with a device in F@H
In HA you can now link this - through an automation - to a e.g. Shelly-Device, which controls a light

One thing I noticed with my 'Sonnensegel'. It is closed at the moment because it is wrapped up in a cover for winter. But the buttons only offer to close it (see my screenshot above).
I´m not sure if this is because of my configuration. In my case, pushing the bottom of the switch unfolds it.
Also I would assume the same setting for a 'Markise'.

Are we ok on this one?

One thing I noticed with my 'Sonnensegel'. It is closed at the moment because it is wrapped up in a cover for winter. But the buttons only offer to close it (see my screenshot above).
I´m not sure if this is because of my configuration. In my case, pushing the bottom of the switch unfolds it.
Also I would assume the same setting for a 'Markise'.

Are we ok on this one?

I can only state, that I have such a behaviour sometimes also with my covers. I just click on "close", even that it is already closed and everything is fine and controlable.

One thing I noticed with my 'Sonnensegel'. It is closed at the moment because it is wrapped up in a cover for winter. But the buttons only offer to close it (see my screenshot above).
I´m not sure if this is because of my configuration. In my case, pushing the bottom of the switch unfolds it.
Also I would assume the same setting for a 'Markise'.

Are we ok on this one?

I can only state, that I have such a behaviour sometimes also with my covers. I just click on "close", even that it is already closed and everything is fine and controlable.

OK, this test will have to wait until spring. I cannot link the sensor to the actuator now and risk a major havoc with the packed up sunshade.

I can only state, that I have such a behaviour sometimes also with my covers. I just click on "close", even that it is already closed and everything is fine and controlable.

Hmm, that tells me the initial state isn't correct and only gets corrected after a post from the websocket? Strange.
Let me know if we're good on this one and I can merge it in.

OK, this test will have to wait until spring. I cannot link the sensor to the actuator now and risk a major havoc with the packed up sunshade.

Just to be sure, can you also paste the config of your "Sonnensegel"?

Here it is:
  "ABB7F63186FD": {
        "deviceReboots": "22",
        "floor": "02",
        "room": "02",
        "interface": "RF",
        "deviceId": "2039",
        "displayName": "Terrasse Sonnensegel",
        "unresponsive": false,
        "unresponsiveCounter": 0,
        "defect": false,
        "channels": {
          "ch0000": {
            "displayName": "Terrasse Sonnensegel",
            "floor": "02",
            "function": "FID_BLIND_SENSOR",
            "functionID": "3",
            "inputs": {
              "idp0001": {
                "pairing": "AL_NIGHT",
                "pairingID": 18,
                "value": "1"
              },
              "idp0002": {
                "pairing": "AL_INFO_ERROR",
                "pairingID": 273,
                "value": "0"
              },
              "idp0005": {
                "pairing": "AL_SYSAP_INFO_ERROR",
                "pairingID": 278,
                "value": ""
              }
            },
            "outputs": {
              "odp0002": {
                "pairing": "AL_MOVE_UP_DOWN",
                "pairingID": 32,
                "value": "0"
              },
              "odp0003": {
                "pairing": "AL_STOP_STEP_UP_DOWN",
                "pairingID": 33,
                "value": "0"
              },
              "odp0006": {
                "pairing": "AL_SCENE_CONTROL",
                "pairingID": 4,
                "value": ""
              }
            },
            "parameterNames": {
              "PID_LED_NIGHT_BRIGHTNESS (par0002)": "20",
              "PID_LED_DAY_BRIGHTNESS (par0001)": "50",
              "PID_LED_OPERATION_MODE (par0007)": "1"
            },
            "parameters": {
              "par0002": "20",
              "par0001": "50",
              "par0007": "1"
            },
            "room": "02"
          },
          "ch0009": {
            "displayName": "Terrasse Sonnensegel",
            "floor": "02",
            "function": "FID_AWNING_ACTUATOR",
            "functionID": "63",
            "inputs": {
              "idp0000": {
                "pairing": "AL_MOVE_UP_DOWN",
                "pairingID": 32,
                "value": "0"
              },
              "idp0001": {
                "pairing": "AL_STOP_STEP_UP_DOWN",
                "pairingID": 33,
                "value": "1"
              },
              "idp0002": {
                "pairing": "AL_SET_ABSOLUTE_POSITION_BLINDS_PERCENTAGE",
                "pairingID": 35,
                "value": ""
              },
              "idp0004": {
                "pairing": "AL_FORCED_UP_DOWN",
                "pairingID": 40,
                "value": ""
              },
              "idp0005": {
                "pairing": "AL_WIND_ALARM",
                "pairingID": 37,
                "value": ""
              },
              "idp0006": {
                "pairing": "AL_RAIN_ALARM",
                "pairingID": 39,
                "value": ""
              },
              "idp0007": {
                "pairing": "AL_FROST_ALARM",
                "pairingID": 38,
                "value": ""
              },
              "idp0008": {
                "pairing": "AL_SCENE_CONTROL",
                "pairingID": 4,
                "value": ""
              }
            },
            "outputs": {
              "odp0000": {
                "pairing": "AL_INFO_MOVE_UP_DOWN",
                "pairingID": 288,
                "value": "0"
              },
              "odp0001": {
                "pairing": "AL_CURRENT_ABSOLUTE_POSITION_BLINDS_PERCENTAGE",
                "pairingID": 289,
                "value": "0"
              },
              "odp0003": {
                "pairing": "AL_INFO_ERROR",
                "pairingID": 273,
                "value": "0"
              },
              "odp0004": {
                "pairing": "AL_INFO_FORCE",
                "pairingID": 257,
                "value": "0"
              }
            },
            "parameterNames": {
              "PID_TOTAL_BLINDS_MOVEMENT_TIME (par0008)": "83",
              "PID_TOTAL_BLINDS_MOVEMENT_TIME_DOWN (par0035)": "74",
              "PID_TOTAL_SLATS_MOVEMENT_TIME (par000a)": "0",
              "PID_TOTAL_BLINDS_MOVEMENT_TIME_CALIBRATED (par0009)": "2",
              "PID_TOTAL_BLINDS_MOVEMENT_TIME_CALIBRATED_DOWN (par0036)": "2",
              "PID_TOTAL_SLATS_MOVEMENT_TIME_CALIBRATED (par000b)": "2",
              "PID_BEHAVIOUR_ON_MALFUNCTION (par0014)": "1",
              "PID_ENGINE_SWITCH_ON_DELAY_TIME (par0037)": "0",
              "PID_REFERENCE_DRIVE_BEFORE_POSITIONING (par0054)": "1",
              "PID_BEHAVIOUR_DISABLE_FORCE (par005c)": "1",
              "PID_HANDLE_WIND_ALARM (par0058)": "2",
              "PID_HANDLE_RAIN_ALARM (par0059)": "2",
              "PID_HANDLE_FROST_ALARM (par005a)": "2"
            },
            "parameters": {
              "par0008": "83",
              "par0035": "74",
              "par000a": "0",
              "par0009": "2",
              "par0036": "2",
              "par000b": "2",
              "par0014": "1",
              "par0037": "0",
              "par0054": "1",
              "par005c": "1",
              "par0058": "2",
              "par0059": "2",
              "par005a": "2"
            },
            "room": "FB",
            "selectedIcon": "106"
          },
          "ch000a": {
            "displayName": "Terrasse Sonnensegel",
            "floor": "02",
            "function": "FID_BLIND_SENSOR",
            "functionID": "3",
            "inputs": {},
            "outputs": {
              "odp0002": {
                "pairing": "AL_MOVE_UP_DOWN",
                "pairingID": 32,
                "value": "0"
              },
              "odp0003": {
                "pairing": "AL_STOP_STEP_UP_DOWN",
                "pairingID": 33,
                "value": "0"
              }
            },
            "parameterNames": {
              "PID_BI_CONTACT_TYPE (par0010)": "1"
            },
            "parameters": {
              "par0010": "1"
            },
            "room": "02"
          }
        },
        "parameters": {
          "par00ed": "1",
          "par00eb": "1"
        },
        "parameterNames": {
          "PID_CHANNEL_SELECTOR_1_GANG (par00ed)": "1",
          "PID_CHANNEL_SELECTOR_AUX_INPUT_SHUTTER (par00eb)": "1"
        }
      },

I just saw that the icon behaviour of the sunshade is exactly the same in the free@home integration by jheling.
So maybe it´s my setup.
I´m good on that topic.

Let me know if we're good on this one and I can merge it in.

You can merge it :smiley:


zrythm: 1.0.0-alpha.28.1.3 -> 1.0.0-beta.4.5.62, carla: 2.5.1 -> 2.5.3, unstable-2023-02-12

Description of changes
zrythm: 1.0.0-alpha.28.1.3 -> 1.0.0-beta.4.5.62
carla: 2.5.1 -> 2.5.3, unstable-2023-02-12 (zrythm needs unstable Carla. zrythm is the only package that has Carla as dependency)
zix: init at unstable-2023-02-13
supersedes

https://github.com/NixOS/nixpkgs/pull/190730
https://github.com/NixOS/nixpkgs/pull/175505
https://github.com/NixOS/nixpkgs/pull/196227

tested and works

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

@ofborg eval

Maybe it would be best to make Carla unstable a separate pkg.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/847

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/866


v-on:keyup.enter is not working on korean character(2bytes)

Vue.js version
2.0.2
Reproduction Link
https://jsfiddle.net/vingorius/yLqutdg5/5/
Steps to reproduce

On input field, i enter korean character, for example '안녕', and 'Enter' key down .
It does not expire, but i enter an english world 'Hello', and 'Enter' key down.
It works

What is Expected?
inputEnter function expire
What is actually happening?
Nothing

Hi, thanks for filling this issue. By expire do you mean called or invoked?
If I copy the Korean characters into the input field, and press "enter" key, the inputEnter method is called.
Please check if you have custom IME programs that are interfering with keyboard input.

@fnlctrl  right. I changed it. Thanks.


[BUG] Too many logs for ''Remount' failure.

Describe the bug
Below logs is appearing lots of times when the attached node is rebooted.
[longhorn-manager-7tdc9] time="2020-08-14T03:36:21Z" level=info msg="Event(v1.ObjectReference{Kind:\"Volume\", Namespace:\"longhorn-system\", Name:\"restore-vol-1\", UID:\"f11079c0-94fb-4bdc-99b9-c9c0b0a36559\", APIVersion:\"longhorn.io/v1beta1\", ResourceVersion:\"6426\", FieldPath:\"\"}): type: 'Warning' reason: 'Remount' cannot proceed to remount restore-vol-1 on khush-test-logs-wk1: there is not any available mount point for volume restore-vol-1"

To Reproduce
Steps to reproduce the behavior:

Restore a volume
Attach to a node
Reboot the node
Check the longhorn-manager logs

Expected behavior
Logs should not get generated for infinite times.
Log
[longhorn-manager-bmj9k] time="2020-08-13T22:27:14Z" level=info msg="Event(v1.ObjectReference{Kind:\"Volume\", Namespace:\"longhorn-system\", Name:\"restore-test-2\", UID:\"e16af0f5-d83c-49cb-817f-c081d7e03e0e\", APIVersion:\"longhorn.io/v1beta1\", ResourceVersion:\"47935\", FieldPath:\"\"}): type: 'Normal' reason: 'Attached' volume restore-test-2 has been attached to khush-test-lh-wk1"
[longhorn-manager-bmj9k] time="2020-08-13T22:27:16Z" level=info msg="Event(v1.ObjectReference{Kind:\"Volume\", Namespace:\"longhorn-system\", Name:\"restore-test-2\", UID:\"e16af0f5-d83c-49cb-817f-c081d7e03e0e\", APIVersion:\"longhorn.io/v1beta1\", ResourceVersion:\"48043\", FieldPath:\"\"}): type: 'Warning' reason: 'Remount' cannot proceed to remount restore-test-2 on khush-test-lh-wk1: there is not any available mount point for volume restore-test-2"
[longhorn-manager-bmj9k] time="2020-08-13T22:27:16Z" level=info msg="Event(v1.ObjectReference{Kind:\"Volume\", Namespace:\"longhorn-system\", Name:\"restore-test-2\", UID:\"e16af0f5-d83c-49cb-817f-c081d7e03e0e\", APIVersion:\"longhorn.io/v1beta1\", ResourceVersion:\"48043\", FieldPath:\"\"}): type: 'Warning' reason: 'Remount' cannot proceed to remount restore-test-2 on khush-test-lh-wk1: there is not any available mount point for volume restore-test-2"

Environment:

Longhorn version: v1.0.1
Kubernetes version: 18.6
Node OS type and version: Ubuntu 18.04

Found a better way to reproduce it:

Restore a volume
Attach to a node
Format ext4 for the volume but do not mount it
Reboot the node
Check the longhorn-manager logs

But I am not sure if you have formatted/mounted the volume when you succeed to reproduce this issue.
The cause of this issue:
The function wrongly errors out when there is no mount point for the formatted Longhorn volumes after the node reboot.

We are evaluating if we should delete the POD instead of doing remount. https://github.com/longhorn/longhorn/issues/1719

Close due to now we delete the workload pod instead of a remount. So the error message won't be there anymore.
Feel free to reopen if saw this again in v1.1.0.


Expand the scope of the itemscope tree. Fixes #96.

The diff looks really nasty, but the only real change is that the closing <div> tag of the itemscope element has been moved to just before {% endblock content %}

Validator Results

ping @vphill @somexpert @ldko

:+1:
https://github.com/unt-libraries/django-name/pull/98/files?w=1

@ldko originally, I had only looked at the diff in vimdiff. It looked terrible, which is why I added the description. GitHub does a much better job of rendering the diff :100:

?w=1 makes a little diff (pun intended)

Oh wow! that is great!

MUCH better with that little bit added.

:+1:


Add support for excluded paths

I'd love to use this package, but given my team's dev environment, I need to specify excluded files and dirs before I can actually include this in my workflow.

Hi @joshdcomp ,
Sorry for the long period of inactivity.
We are currently working on a new version : better code, more stable, and bug fixes.
This feature will be added after the next release (1.1.0).
Thank you for using our work ! :)

Oh cool, that's good to hear!

This seems very important to me to be able to at least block the config file itself, as it contains password! :)


Open exported PDF document with default application after export

As an user, I want to be able to open the exported PDF document after its creation with the default system application effortlessly.
(See #9 for original feature request by @Denisov21)

This feature has been implemented and thus this issue will be closed.


cityscapesLabelTool not open and label images

Hi, i want to label my images like as cityscape, i use cityscapesLabelTool, when I choose the catalog with images, they don't open...how can i fix it?
i load tool

choose dir

and images don't open

i can open it with my python script. In it i specify a way to image and tool works.But without label(color)map and i can't label my images.
open only one picture

label area

choose class

and than don't have results

similar situation with bbox

maybe someone can help me.

What is the error that you are getting on  the terminal ?

@Bhomik i don't have any errors when i open with standard script
when i open with my script and try to label one image i have
Traceback (most recent call last):
File "/home/egor_antonovich/.local/lib/python2.7/site-packages/cityscapesscripts/annotation/cityscapesLabelTool.py", line 947, in newObject
self.appendObject( label , self.drawPoly )
File "/home/egor_antonovich/.local/lib/python2.7/site-packages/cityscapesscripts/annotation/cityscapesLabelTool.py", line 2359, in appendObject
obj          = CsObject()
TypeError: Can't instantiate abstract class CsObject with abstract methods str, fromJsonText, toJsonText

replace this :
Line 38 : from annotation import Point, Annotation, CsObject, CsPoly
and replace obj = CsObject() with
obj = CsPoly()

@Bhomik i replace and now have new errors
Traceback (most recent call last):
File "/home/egor_antonovich/.local/lib/python2.7/site-packages/cityscapesscripts/annotation/cityscapesLabelTool.py", line 947, in newObject
self.appendObject( label , self.drawPoly )
File "/home/egor_antonovich/.local/lib/python2.7/site-packages/cityscapesscripts/annotation/cityscapesLabelTool.py", line 2368, in appendObject
obj.updateDate()
File "/home/egor_antonovich/.local/lib/python2.7/site-packages/cityscapesscripts/helpers/annotation.py", line 60, in updateDate
locale.setlocale( locale.LC_ALL , 'us_us' )
File "/usr/lib/python2.7/locale.py", line 581, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting

replace in annotation.py with :
locale.setlocale( locale.LC_ALL , 'en_US.utf8' )

@Bhomik thanks alot, it work.
why image dir not open?

it will work, you have to click on icons.

you can reach me at email<EMAIL_ADDRESS>if you have further doubts.

@Bhomik I am facing similar issue where the tool window opens up but when I clicked on the folder icon, nothing opens up.

For your info, I have a CITYSCAPES_DATASET folder on my desktop containing the scripts folder and 1 gtFine and 1 leftImg8bit folder. Has the issue got to do with my folder structure?
Also, I changed a line in the cityscapesLabelTool.py - line 638 from csPath = os.path.join(os.path.dirname(os.path.realpath(file)),'..','..') to csPath = os.chdir("/Users/myname/Desktop/CITYSCAPES_DATASET/") as I was having the error message that the data was not found when I clicked on the folder icon initially.

Changing the directory resolves the error message that the data was not found but now nothing pops up. Kindly seek your advice on how do I go about this. Thank you!

@Bhomik I am facing similar issue where I draw a polygon, select a class and nothing happens and it prompts me with the same keys again and I can't draw a new polygon.
The code that I am using has been adjusted for based on your previous recommendations to @EgorAntonovich of changing to CsPoly and en_US.utf8 in this issue. @EgorAntonovich have you managed to solve the issue?
I draw a polygon

Based on the prompts in the picture above, I typed N and select car and ok

And it brought me back to the same prompt as the first picture and it is an endless loop.

For your info, I commented out the Tkinter as of now as it is not compatible with my Mac. Would that affect?


fix install script. Closes #419

On Ubuntu $_ returns /bin/sh. I'm not bash expert so I've made it simpler :)

hrrm seems fine to me I use it all the time:
ubuntu@web-01:~$ curl -sL https://github.com/apex/apex/releases/download/$LATEST/apex_$PLATFORM -o /usr/local/bin/apex
ubuntu@web-01:~$ echo $_
/usr/local/bin/apex

doesn't hurt to be less obscure though haha, bash is a hot mess. mergin!

interesting, guess I misinterpreted that var :D. good ol bash

In this case, _ expands to the last argument to the previous command, after expansion.
More in the manual

The way it's describe still sounds like /usr/local/bin/apex to me, seems odd, but yea this is certainly more clear haha


Improvement suggestion: Dynamic completion

I have an idea of dynamic completion in case if your completion candidates depend on the context of the overall command and more specifically on all previously typed params/options.
Let's say you want to build a kind of FTP client CLI. And you want to traverse folders one by one until you get to the proper file (the same way a generic filesystem works) and you want them to be autocompleted (of course). So that any next folders/files to show depend on the folder you've already typed.
So at the very basis the idea is to reuse the existing command as an auto-completer which the bash completion script will call with all existing parameters in the COMP_WORDS variable.
To be precise, to have a possibility to write a special class (serving as completionCandidates field that we already have) but instead it gets your own command as a context with potentially some of the fields populated and based on that produces a list of candidates.
Also we'd need a boolean flag on @Command annotation to say "I want this magic super-duper dynamic autocompletion" and then internally we generate a special command that will accept all same params as our command (or just an args array because we don't care), populate our command with those params (just call .parse) and send our command as a context to our special autocompletion class that in its turn will produce a list of completion candidates and return back (via System.out) to Bash.
The question is: do we have some kind of autogeneration of Java classes?
And how could we connect that special command with the whole command hierarchy?
Like, could we have a hidden subcommand of the main/sub command that accepts a raw args array?

I understand the use case, but to be honest, I still have trouble seeing how the bash completion logic would be able to invoke a java program to generate completions.
About the special mode to dynamically generate completions, I believe a starting point for something like this is already available: picocli-3.5 added acomplete function to AutoComplete.
This is used to implement auto-completion for picocli commands in JLine 2.
I am about to release a new module with components and documentation for combining JLine with picocli. Initially this will have a JLine 2 completer based on the CommandSpec. JLine completers can be very powerful. It should be possible to do what you describe in a custom Completer. It would also circumvent the problem of invoking java from the bash completion function (because we stay inside the JLine shell java program).

Yes, I really like the idea of integration of JLine with picocli. But the only downside which is pretty critical to me right now is a possibility to chain/pipe my tool with other system tools, e.g. jq, which in case of JSON processing adds a lot of stuff on top of my own stuff.
I've tried searching for a simple way of integrating JLine with system tools but seems it's not just like that (probably it can be implemented using ProcessBuilder etc. but that's too much effort as for me)...
As for the "how the bash logic would call a Java program" I though it would simply rely on the name of the command (and assume you have a Bash script/alias invoking your command). A bit shaking solution though...

Sounds like JLine is not the best solution for your use case.

As for the "how the bash logic would call a Java program" I though it would simply rely on the name of the command (and assume you have a Bash script/alias invoking your command).

Perhaps I misunderstood. I thought you were thinking to invoke a Java program from inside the bash completion logic to dynamically generate additional completion candidates. (So this is before the actual command is invoked.) I don't know if it possible for an external program to provide completion candidates to the bash complete built-in.

Hm, so assuming we have a command called "mycomm". And if we generate a subcommand that can be called like "mycomm complete".
Then the Bash script that we currently generate could include before calling COMPREPLY=( $( compgen -W "${candidates}" -- ${CURR_WORD} ) ) something like:
candidates=$(mycomm complete "${COMP_WORDS[@]}"), which will call our special command that in its turn will parse the args in scope of our mycomm and generate the candidates based on that.
The only thing is that mycomm must be globally available in Bash (which is probably the first thing you do for easy access to your command, not during development though).
The convenience I see here is that you don't need to:

Write the completion logic completely in Bash (what I'm currently doing and it's feasible in case you have some ready-made tools that can help you with that, but if you have everything in Java, you'd need the step 2.)
Write a new separate completion command and Bash script for it that you'll need to place globally alongside the Bash script that we already generate. And the issue here is that in our generated script you need to know where each of the params you're interested in is located. Let's say your command accepts the following: country, city, first name and last name. And you want to autocomplete the city. You write a brand new autocompletion command of the format complete <country>. Now you want to call it from the Bash script. But you have only a COMP_WORDS array which have absolutely all the args including first name and last name (which can be options intermixed with params). So you'll need to parse that array and find out where the country is. Why should you do that if you already have the main command that accepts absolutely the same set of arguments? So from the point of reusing the existing code I thought this could be useful...

Agree :) Except that probably the "current-word" is always the last argument in the list so no need to pass it. At least the internal __suggest command can infer it and find a proper suggestable field.

Ah, no. You're right. It's needed because an empty last arg would not be handled by the command.

Interesting idea to have a hidden subcommand to generate completion candidates.
I hope that it won't be necessary to introduce new API for this. Please note that a lot of what is being suggested already exists:

take a look at the complete method in AutoComplete. It generates completion candidates for partial command line input. The hidden subcommand could invoke this method to generate candidates. One question though: how would the subcommand (being Java) return these candidates to the bash function? Is it enough to print the resulting candidates to System.out or would that interfere with the bash completion function? (Something to investigate...)
note that completionCandidates is an Iterable<String>; this is just an interface and there is nothing that prevents an implementation from dynamically adjusting its result based on other attributes of the command. (See this completion in the Micronaut CLI as an example of dynamically generating candidates.)

I think this is definitely an innovative and interesting idea and worth pursuing further. Is anyone interesting in creating a POC implementation?
My initial concern was that the resulting setup may be a bit fragile: the completion logic will now depend on the mycomm command to correctly invoke java with the right classpath etc. So when an application author writes an application and distributes it to end users, the app author needs to make sure that the end users have a mycomm script that works correctly in their environment. I was worried that the installation for end users may become more complex but perhaps this is also something that can be investigated in a POC.

Yeah, I may start from a prototype and think about the drawback you mentioned...
Maybe we can infer the correct script name in some way?
Like the first argument passed to the completion script may be a proper command path that we may try to use...

The moment the completion script is generated we can use this invocation to infer which jvm and how it was invoked using the  https://docs.oracle.com/javase/7/docs/api/index.html?java/lang/management/MemoryMXBean.html. This way the classpath, any jvm opts (-Xmx etc) , system properties could be captured in a simple function:
__invoke_mycomm() {
 /path/to/java -Xmx256m -client ... # this line is built using output from JMX bean
}

__mycomm_suggest_name() {
    # same as in previous comment
    __invoke_mycomm __suggest -- "$@"
}

Something like https://github.com/remkop/picocli/issues/456 (proposal for another built-in subcommand) would play nicely with the rest.

First, let's clarify the issue: I think that there are two different enhancements being discussed on this issue, one discussing how to generate completions for use by the program itself (such as within a Java ftp client) and one discussing completions for bash.
Clearly, certain use cases will require that completions be dynamically generated vs. statically generated at compile time. Ideally, we could have access to any value that the JVM would have access to at runtime.
For bash, is it just that you wish to provide completion candidates dynamically (at runtime) vs. the usual static generation (at compile time)? If picocli can already generate dynamic completions for a command, then this might not be necessary. But, it sounds like the feature you are asking for is the following:
You can run an external command which returns completion candidates using the compgen -C option. After the external command is invoked, the COMP_LINE, COMP_POINT, COMP_KEY, and COMP_TYPE variables are set in the environment for the completion candidate generation code to process in order to determine the correct completions to return.
The problem is that it's hard, if not impossible, to know how to invoke a java program under the correct JVM, unless bash can just invoke the program itself (say, $0 using a hidden command-line option).
Here is an example of a python program which uses an external completion program https://github.com/aws/aws-cli/blob/develop/bin/aws_completer. However, you can see it uses #!/usr/bin/env python but something like #!/usr/bin/env java usually doesn't work or can invoke a different JVM than the one we are currently running under.

To clarify a bit more: if the current auto-completion script generator evaluates the completions at the time it is run and injects the static result of this into a string, this will fail under certain conditions.
For example, the auto-completion Java code mentions in a comment supporting, say, MessageDigest values, but this is wrong to do statically. Consider that at the time you run the generator, the JVM supports SHA-512 and SHA-256, and maybe you even have a different crypto provider such as bouncycastle on your CLASSPATH. Then, your user's Java environment is changed. Maybe he now only has support only for weaker digests such as MD-5 and SHA-1. So, when he runs the static script is his "new" environment, he will get incorrect results.

I'd suggest some approach for allowing hidden options e.g. --pico_complete="" or --pico_completion_script instead of additional main methods

Just chiming in to raise my voice in support for dynamic completions. The git command is a great example for this; for instance, git branch <TAB> will show all the currently existing branches. It'd be great to have this functionality in picocli.

For reference, I solved this for now by means of a hidden command which simply prints out a String with the completion candidates of a given context. This is invoked from the completion script via
...
local FOO_PARAM_pos_param_args=`my-binary hidden-command`
...

Yep, I've taken a similar approach https://github.com/rsocket/rsocket-cli/blob/master/zsh/_rsocket-cli#L4
But I think critically, this is functionality that you need to write for bash, zsh, fish etc.  And topics like caching are very relevant if it's potentially a slow command.  Would be ideal to solve this once in a common place.

Was evaluating picocli to see if it could do dynamic completions, and it's a showstopper if not. Most specifically, we need to do this:
custom-tool --database-connection=foo customer show --customer-id=joe[tab]

The above would cause all command line params to the left of the [tab] to be parsed, and the dynamic completion for customer-id would connect to the database defined by params on the left, and look up suitable customer-ids starting with "joe" for autocompletion.

Was evaluating picocli to see if it could do dynamic completions, and it's a showstopper if not. Most specifically, we need to do this:
custom-tool --database-connection=foo customer show --customer-id=joe[tab]

The above would cause all command line params to the left of the [tab] to be parsed, and the dynamic completion for customer-id would connect to the database defined by params on the left, and look up suitable customer-ids starting with "joe" for autocompletion.

@minfrin Are you looking to accomplish this for a single-shot command (so you'd have to use bash/zsh completion) or for an interactive CLI program (so you could use a custom shell, like picocli-shell-jline3)?

@minfrin I see. I will not be able to work on this myself, but I would be very interested in pull requests.
Will you be able to work on this?


Bump iml-docker to 0.3.0

Signed-off-by: Joe Grund<EMAIL_ADDRESS>

This change is

Rebuild of IML Build & Test passed in https://build.whamcloud.com/job/manager-for-lustre/662/


Do i need to compile the colorscheme thing seperately?

No, the plugins you see in this repo are auto-bundled inside the build

I don't see the color schemes where I go to terminal settings

Do you see it in the plugins list?

Yes. I press the colorscheme drop down and don't see anything
On Jul 27, 2017 6:00 AM, "Eugene Pankov"<EMAIL_ADDRESS>wrote:
Do you see it in the plugins list?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Eugeny/terminus/issues/148#issuecomment-318317596, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFD6iIWgTNxCQc76j8mUKLOjZOf9Tk0pks5sSF_YgaJpZM4OkOzu
.

Does the plugin get loaded? (see devtools / app log)


3D Validation is creating OOM

Hi,
I'm training a 3D StarDist model.
Each 3D is ~200x200x300 and I've got around 70 of them.
There's something a bit strange that happens:

if I train on 65 stacks and validate on 5, everything runs just fine
if train on 47 stacks and validate on 23, then I get Out of Memory error (see full error message bellow).

It seems that the training is working at batch level, so it does not really matter the size of the training set, however, it seems that validation is done in a single chunk which will explode the memory.
Is that possible? or I am missing something?
Also, I am currently giving as input a list of numpy arrays (so I need to have all my stacks in my RAM), is it possible to use a data loader that will go read the disk each time it needs to look at a stack (like with pytorch DataLoaders)?
Thank you very much.
Here is the full error message :
Epoch 1/100
100/100 [==============================] - ETA: 0s - loss: 0.7440 - prob_loss: 0.2289 - dist_loss: 2.5754 - prob_kld: 0.1889 - dist_relevant_mae: 2.5658 - dist_relevant_mse: 12.8720
---------------------------------------------------------------------------
ResourceExhaustedError                    Traceback (most recent call last)
<ipython-input-17-44e10be293f6> in <module>
      3             augmenter=augmenter,
      4             epochs=100,
----> 5             seed=42)

/work/.cache/poetry/kc-segmentation-DJpFP61h-py3.7/lib/python3.7/site-packages/stardist/models/model3d.py in train(self, X, Y, validation_data, augmenter, seed, epochs, steps_per_epoch)
    472         history = fit(iter(data_train), validation_data=data_val,
    473                       epochs=epochs, steps_per_epoch=steps_per_epoch,
--> 474                       callbacks=self.callbacks, verbose=1)
    475         self._training_finished()
    476

/work/.cache/poetry/kc-segmentation-DJpFP61h-py3.7/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py in _method_wrapper(self, *args, **kwargs)
    106   def _method_wrapper(self, *args, **kwargs):
    107     if not self._in_multi_worker_mode():  # pylint: disable=protected-access
--> 108       return method(self, *args, **kwargs)
    109
    110     # Running inside `run_distribute_coordinator` already.

/work/.cache/poetry/kc-segmentation-DJpFP61h-py3.7/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py in fit(self, x, y, batch_size, epochs, verbose, callbacks, validation_split, validation_data, shuffle, class_weight, sample_weight, initial_epoch, steps_per_epoch, validation_steps, validation_batch_size, validation_freq, max_queue_size, workers, use_multiprocessing)
   1131               workers=workers,
   1132               use_multiprocessing=use_multiprocessing,
-> 1133               return_dict=True)
   1134           val_logs = {'val_' + name: val for name, val in val_logs.items()}
   1135           epoch_logs.update(val_logs)

/work/.cache/poetry/kc-segmentation-DJpFP61h-py3.7/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py in _method_wrapper(self, *args, **kwargs)
    106   def _method_wrapper(self, *args, **kwargs):
    107     if not self._in_multi_worker_mode():  # pylint: disable=protected-access
--> 108       return method(self, *args, **kwargs)
    109
    110     # Running inside `run_distribute_coordinator` already.

/work/.cache/poetry/kc-segmentation-DJpFP61h-py3.7/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py in evaluate(self, x, y, batch_size, verbose, sample_weight, steps, callbacks, max_queue_size, workers, use_multiprocessing, return_dict)
   1377             with trace.Trace('TraceContext', graph_type='test', step_num=step):
   1378               callbacks.on_test_batch_begin(step)
-> 1379               tmp_logs = test_function(iterator)
   1380               if data_handler.should_sync:
   1381                 context.async_wait()

/work/.cache/poetry/kc-segmentation-DJpFP61h-py3.7/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py in __call__(self, *args, **kwds)
    778       else:
    779         compiler = "nonXla"
--> 780         result = self._call(*args, **kwds)
    781
    782       new_tracing_count = self._get_tracing_count()

/work/.cache/poetry/kc-segmentation-DJpFP61h-py3.7/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py in _call(self, *args, **kwds)
    844               *args, **kwds)
    845       # If we did not create any variables the trace we have is good enough.
--> 846       return self._concrete_stateful_fn._filtered_call(canon_args, canon_kwds)  # pylint: disable=protected-access
    847
    848     def fn_with_cond(*inner_args, **inner_kwds):

/work/.cache/poetry/kc-segmentation-DJpFP61h-py3.7/lib/python3.7/site-packages/tensorflow/python/eager/function.py in _filtered_call(self, args, kwargs, cancellation_manager)
   1846                            resource_variable_ops.BaseResourceVariable))],
   1847         captured_inputs=self.captured_inputs,
-> 1848         cancellation_manager=cancellation_manager)
   1849
   1850   def _call_flat(self, args, captured_inputs, cancellation_manager=None):

/work/.cache/poetry/kc-segmentation-DJpFP61h-py3.7/lib/python3.7/site-packages/tensorflow/python/eager/function.py in _call_flat(self, args, captured_inputs, cancellation_manager)
   1922       # No tape is watching; skip to running the function.
   1923       return self._build_call_outputs(self._inference_function.call(
-> 1924           ctx, args, cancellation_manager=cancellation_manager))
   1925     forward_backward = self._select_forward_and_backward_functions(
   1926         args,

/work/.cache/poetry/kc-segmentation-DJpFP61h-py3.7/lib/python3.7/site-packages/tensorflow/python/eager/function.py in call(self, ctx, args, cancellation_manager)
    548               inputs=args,
    549               attrs=attrs,
--> 550               ctx=ctx)
    551         else:
    552           outputs = execute.execute_with_cancellation(

/work/.cache/poetry/kc-segmentation-DJpFP61h-py3.7/lib/python3.7/site-packages/tensorflow/python/eager/execute.py in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
     58     ctx.ensure_initialized()
     59     tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
---> 60                                         inputs, attrs, num_outputs)
     61   except core._NotOkStatusException as e:
     62     if name is not None:

ResourceExhaustedError:  OOM when allocating tensor with shape[23,60,128,128,32] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
	 [[node functional_1/conv3d_1/Conv3D (defined at /work/.cache/poetry/kc-segmentation-DJpFP61h-py3.7/lib/python3.7/site-packages/stardist/models/model3d.py:474) ]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.
 [Op:__inference_test_function_4113]

Function call stack:
test_function

Hi @Optimox ,
thanks for the report. Could you install the dev branch and see whether the issue persists?
Thanks,
M

Hello @maweigert
I just tried running the large validation case with dev branch and it works fine (I was using version 0.6.0 so I don't know if version 0.6.2 would have worked). Thanks!
Would you mind telling me what was causing the problem?
Also do you have any idea when the 0.6.3 release might happen?

Also, I am currently giving as input a list of numpy arrays (so I need to have all my stacks in my RAM), is it possible to use a data loader that will go read the disk each time it needs to look at a stack (like with pytorch DataLoaders)?

Yes, that's also possible. Please see this post.

Would you mind telling me what was causing the problem?

The batch size for the validation data was different than it was for training the model. @maweigert just fixed that for tensorflow versions 2.2 and later, but it's not (easily) possible in earlier versions of tensorflow/keras.

Also do you have any idea when the 0.6.3 release might happen?

We don't know yet when it will happen, but the next release will likely be 0.7.0. Why do you ask?

Thanks, I'm just asking because I don't feel comfortable working on a dev branch, I'd rather wait a few days/weeks to work on a stable one.


Running a regression model on Esp32

I am trying to run a Regression model on the edukit which takes a array of 7 numbers and (is supposed to) output a array of 5 numbers.
I can run the model using TensorFlow python on my Windows. But when I run it on the Esp32, I don't get a meaningful output.

I expected to see an output of: [100, 100, 100, 100, 100].
Here is my code: https://github.com/Raunak-Singh-Inventor/Stockly/blob/master/edukit_deployment/main/tflite/main_functions.cpp

Hi @Raunak-Singh-Inventor , I checked your model and it is float model.
both Input and Output are float. Whereas while treating the input, you are using int8: https://github.com/Raunak-Singh-Inventor/Stockly/blob/0e14495d044aa1cab64e60a74598e62477cfbefe/edukit_deployment/main/tflite/main_functions.cpp#L85

Thanks for the solution changing the input to float instead of int8: model_input_buffer = model_input->data.f; worked.


Update kubernetes-client, ... to 5.5.0

Updates

io.fabric8:kubernetes-client
io.fabric8:kubernetes-model
io.fabric8:kubernetes-server-mock

from 5.4.1 to 5.5.0.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (5.4.1).
You might want to review and update them manually.
website/package-lock.json
website/yarn.lock

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.fabric8" } ]

labels: library-update, semver-minor, old-version-remains

Superseded by #240.


Button rotation on satellite Stream Decks not working

Tryin' to rotate buttons CCW or CW on satellite-connected stream deck with no success. Locally added Stream Decks work fine.

All versions are in newest releases, both companion and satellite installed on raspberry pi computers (companion on pi4b, satellite on pi3b) with direct images installed.

Teste with stream deck models mini and xl

This is fixed in the next beta build 4735


Duplicated web wasm loads and global overrides produces instanceof mismatches

Description
Using the WithSkiaWeb component multiple times (or rerender the same) while the CanvasKit wasn't loaded yet, produces a wasm download/parsing for each LoadSkiaWeb() call. This behavior overrides the global.CanvasKit variable, producing BindingError when CanvasKit needs to validate that an object is an instanceof something, such as "Paint".

This issue is present in 0.1.141, 0.1.221, and the latest, 0.1.231. All with the same behavior.
Version
0.1.231
Steps to reproduce
Use the provided WithSkiaWeb component multiple times at the same time
Snack, code example, screenshot, or link to a repository
Modified version of the docs Snack: https://snack.expo.dev/@danihv/hello-snack?platform=web (I don't provide the snack with recommended versions to latest expo SDK (49) due to #2108)

Solved in #2122


Add button for plots being disabled after gui opened from cli

Run cli, open a database, create a plot and draw.OpenGUI() From gui or the cli, delete the plot.In the gui window, the 'Add' button for plots will be greyed out.You have to click 'reopen' to make it functional again. After clicking re-open, create another plot.The button is disabled again. I'm listing the found-in as 2.10.0, but I've only tried it with my dev version of 2.10RC and the trunk.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 2604
Status: Pending
Project: VisIt
Tracker: Bug
Priority: Normal
Subject: Add button for plots being disabled after gui opened from cli
Assigned to: -
Category: -
Target version: -
Author: Kathleen Biagas
Start: 04/14/2016
Due date:
% Done: 0%
Estimated time:
Created: 04/14/2016 07:11 pm
Updated: 05/03/2016 06:56 pm
Likelihood: 3 - Occasional
Severity: 3 - Major Irritation
Found in version: 2.10.0
Impact:
Expected Use:
OS: Windows
Support Group: Any
Description:
Run cli, open a database, create a plot and draw.OpenGUI() From gui or the cli, delete the plot.In the gui window, the 'Add' button for plots will be greyed out.You have to click 'reopen' to make it functional again. After clicking re-open, create another plot.The button is disabled again. I'm listing the found-in as 2.10.0, but I've only tried it with my dev version of 2.10RC and the trunk.
Comments:

3.1.1 Still an issue

The code for enabling/disabling the plot menu is in QvisPlotManagerWidget::UpdatePlotAndOperatorMenuEnabledState.
One of the tests is for an open file (!fileServer->GetOpenFile().Empty()).
Prior to the plot deletion, fileServer says it has an open file, after plot deletion, it says it doesn't.
FileServerList::CloseFile (which sets its openFile to empty) is being called when the plot is deleted.


Stop reporting exceptions in custom transformations as internal errors

Instead, just forward the exception

One potential problem with this is that it treats optional built-in transforms as Custom Transforms, so things like ReplSeqMems will be treated in the same way.
We implement this differently in a couple of ways:

Check if the transform is defined in the firrtl package
Create a whitelist of transforms (brittle and annoying to maintain)

I'm leaning toward 1. now. I had thought about that originally but I thought this approach would be more robust. While it is more robust, in my opinion it still has too many false negatives.

Is there anything that precludes a user building a library and putting it in the FIRRTL package? Does that matter?

AFAIK there isn't but what we should probably be doing is naming our packages properly as
..firrtl
Probably too late for 3.2.x

I don't think there is anyway to prevent that. Of course a whitelist could prevent errors in such transforms from being reported as internal errors. I think it doesn't really matter though, if you inject your code into other people's packages you're always asking for trouble.

Per chisel things, I actually don't want this to treat things in com.mycoolcompany.firrtl as internal. Rather, only things defined in firrtl.whatever. I do grant that it's a problem for transforms defined in Chisel; however, there currently isn't a single one.

@chick @seldridge thoughts on the updated implementation?  Unfortunately I don't think there's a more robust to get the "top package" in which a class is defined other than splitting the package String by . and then loading the package named by the head of the resulting array. It looks like package java and package java.lang are two completely unrelated packages at runtime so I did some stringly-typed magic to determine the top-level package.

Okay this fails with a NullPointerException if the transform is defined in the root package, need to fix that

I guess I think it's likely that more and more build-in transforms will be run with that same mechanism and kind of the whole idea of the "Internal Error" Exception is to let the user know that this error is unhandled and is our fault. Relatedly, we should probably stop reporting user error as exceptions with useless stack traces and instead report the errors and exit

So, should we merge this?

The implementation could be cleaner, but assuming it still works, I think this is very desirable. Thoughts @seldridge? The main alternative (a twist on Schuyler's proposal above), is to make all built-in transforms extend some special trait (eg. BuiltInTransform) so that we know what is internal and what is custom. Instead, this PR is using the package name, looking for "firrtl" which is a bit less clean but 🤷♂

Fixed test and rebased (because while it's not a huge deal, the Mergify squash and merge results in intermediate commit messages being kept and I didn't want them from here). This is still fine to rebase and merge, it just won't have intermediate messages

FWIW, one of the gates on mergify is that the commit has to have the Please Merge tag. Without that, you're in complete control including to do a GitHub-based squash and merge.

Ah true, well in any case I cleaned this one up for Mergify but might just do that in the future :-P


can't find parent element.

Runtime decide the parent for contextpop.  I want to get current parent element. How it will achieve ? Pls help.

You can get the element using the event argument in function
$('#mythingy').contextPopup({
title: 'My Popup Menu',
items: [
{label:'Some Item',     icon:'icons/shopping-basket.png', action:function(event) { alert(event.target.id) } }
]});


Switched from Guava Optional to Java Optional.

This is BLOCKED until we switch off of Java serialization.

^^ Once #48 is merged this is safe to review and merge.


Include actual types for restrict-plus-operands.

It can be difficult for users to find out why exactly they received the
"restrict-plus-operands" lint error. In particular, users often end up
with any types leaking into their code (e.g. in tests), and are then
puzzled why this triggers.
To fix, this change includes a textual representation of the type in the
error message, e.g.:
[Operands of '+' operation must either be both strings or both numbers, but found 5 + undefined[]]

The type representation isn't always super pretty (e.g. the
undefined[] bit above), but should still be helpful, and also matches
TS compiler's representation of these.
PR checklist

[x] bugfix

[x] Includes tests

CHANGELOG.md entry:
[bugfix] improve error message for restrict-plus-operands.

@bowenni can you take a look at this?

I think the test failure is an infrastructure failure, but I cannot retry because I don't have permissions.

I love this idea! Marked as accepting PRs.
In the future @mprobst, please file an issue describing your requested changes before sending a PR that non-trivially changes TSLint. This one happens to be immediately acceptable but most aren't.

In the future @mprobst, please file an issue describing your requested changes before sending a PR that non-trivially changes TSLint. This one happens to be immediately acceptable but most aren't.

Will do.


add coinbase sample

this PR add a sample case to show how to ingest websocket data from coinbase into proton by leveraging benthos pipeline

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Gang Tao seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

(Jove Github Bot) added it to the current sprint.


Update serde-json-update

You can use those scripts to update and test all dev contracts:

Are contracts using serde-json-wasm directly? Do they need to upgrade their projects?
Could you add a CHANGELOG entry please?

Could you add a CHANGELOG entry please?

Do we want to include in changelog minor dependency update? It's not been the case so far as I can see.

Do we want to include in changelog minor dependency update? It's not been the case so far as I can see.

I'm not sure if it affects our users. Is anyone installing that dependecy directly and needs to update contracts? Or is this only used transitive?
Seems like users are unaffected as long as they use our wrappers:
pub fn from_slice<T: DeserializeOwned>(value: &[u8]) -> StdResult<T> {
    serde_json_wasm::from_slice(value).map_err(|e| StdError::parse_err(type_name::<T>(), e))
}

pub fn from_binary<T: DeserializeOwned>(value: &Binary) -> StdResult<T> {
    from_slice(value.as_slice())
}

pub fn to_vec<T>(data: &T) -> StdResult<Vec<u8>>
where
    T: Serialize + ?Sized,
{
    serde_json_wasm::to_vec(data).map_err(|e| StdError::serialize_err(type_name::<T>(), e))
}

pub fn to_binary<T>(data: &T) -> StdResult<Binary>
where
    T: Serialize + ?Sized,
{
    to_vec(data).map(Binary)
}

Will add a CHANGELOG entry on main

btw, I just released a minor patch (v0.4.1) which includes the fix so u128/i128 work properly (merged like 6 weeks ago, but never in a tagged release).
This should be pulled in automatically, but maybe we can set it to 0.4.1 (also in cosmwasm-template) to ensure people don't have issues there. (Serialising produced unparsable json)

Yeah saw this too. I got an update 0.3.x -> 0.4.1 automatically in a consumer project. It's probably hard to install 0.4.0 instead of 0.4.1 now. Let's update but with low prio.

Yeah, that's what I meant. Hard to do by accident.


[Batch Mode] [Do not merge; WIP] Refactor performCompile, etc. (2)

Extract functions from performCompiler and performCompileStepsPostSILGen.

@swift-ci please smoke test os x platform

@swift-ci please smoke test os x platform

@swift-ci please smoke test os x platform

@swift-ci please smoke test os x platform

@swift-ci please smoke test os x platform

Thank you for getting to this so quickly!

@swift-ci please smoke test

@swift-ci please smoke

@swift-ci please smoke test

Thanks! I'll fix the test failures and have a new PR for you by the morning.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please test os x platform

Build failed
Swift Test OS X Platform
Git Sha - 326278f4476d515e626fc91aadb575d1cab55110


Could Not Attach to MCP Server Postgres

I'm encountering an issue when trying to add an MCP Postgres server to the chat interface. The error message displayed is:
"Could not attach to MCP server postgres."
Steps to Reproduce
Attempted to add an MCP Postgres server in the chat interface.
Observed that the server could not be added successfully.
The error message "Could not attach to MCP server postgres" keeps appearing in the UI.
Environment Details
Operating System:  Windows 10
Postgres Version:15
Chat Interface Tool: Claude desktop

连接postgresql配置好了，也不报错误，但是claude应用没有发现图标

@sengland-4way , @tanfei1987 Thank you for your response, but unfortunately, it didn’t work for me.

Same issue for me. It works in my iMac (intel chip) But it did not work in my Macbook pro M1 chip.

Try #40 if it works

What do the logs say?

@jspahrsummers There are no errors in logs. Infact it says that it is connected to the MCP.
2024-12-05T09:28:36.911Z [info] Attempting to connect to MCP server brave-search...
2024-12-05T09:28:36.922Z [info] Connected to MCP server brave-search!


[BUG]: invalid schema generation with drizzle-kit introspect:pg

What version of drizzle-orm are you using?
0.28.6
What version of drizzle-kit are you using?
0.19.13
Describe the Bug
id: integer("id").default(nextval('deal_id_seq'::regclass)).primaryKey().notNull()
nextval('deal_id_seq'::regclass) is invalid.
Expected behavior
nextval('deal_id_seq'::regclass) should be sql`'nextval('deal_id_seq'::regclass)'`?
Environment & setup
node -v
v20.4.0

Similar story for me. Somehow primary keys are correct.
"id" uuid PRIMARY KEY DEFAULT uuid_generate_v4() NOT NULL, correctly becomes
id: uuid("id").default(sql`uuid_generate_v4()`).primaryKey().notNull(),
But not primary keys
"accessCode" uuid DEFAULT uuid_generate_v4() NOT NULL, or "siteId" varchar(255) DEFAULT 'mst2000'::character varying NOT NULL,
end up being
accessCode: varchar("accessCode", { length: 255 }).default(uuid_generate_v4()).notNull(),

siteId: varchar("gmoSiteId", { length: 255 }).default('mst2000'::character varying).notNull(),

This should be fixed in<EMAIL_ADDRESS>If you still encounter this issue, please reopen the ticket

I still have the same issue that was described in https://github.com/drizzle-team/drizzle-orm/issues/1220 (which was closed in favor of this ticket).


Update to redis-protocol 4.0

The only change in 4.0.0 was to replace String with StrMut and Vec with BytesMut https://github.com/aembke/redis-protocol.rs/pull/17
I think the Frame fields should be using Bytes/Str instead of BytesMut/StrMut.
I raised an issue https://github.com/aembke/redis-protocol.rs/issues/18 for this.
In the mean time we should upgrade to ensure that when we reason about performance implications we are working from the current state of the library.

Looks like a fix to the raised issue will be available in a reasonable amount of time so lets just wait for that before proceeding.

Thanks @rukai and I agree with the rationale here. I'll review once the lib has been upgraded

Frame now uses Bytes instead of BytesMut so we can proceed with this.
The PR has been updated and is ready for review.

rebased to make sure its compatible with the recent changes

Seems like the comment is accidentally hitting some markdown formatting, other than that pretty cool to see it confirming the performance improvements from using Bytes.


NEOFS_HTTP_GATE parameter not clear

Problem
This parameter confuses me as a regular user. Usually, I read the parameters of any function/action as a part of its code: if it needs it, it should use it and I can understand it better. How http gate is used in this action?
Context
Why do we need this parameter? It is a http gate that should be connected to a storage node used for object download. However, it is not used for object downloading, is not validated, and is not checked for an http-SN relation. It also does not simplify action usability: a user has to figure out the correct http gateway himself anyway, no matter if it happens after the objects download or before CI workflow creation. If he knows it, he can use it. If he does not need it, he doesn't want to find it (hehe, neofs does not live for browsers only), he should be able to omit it (once again, http is not a required thing for the action literally named "push to neofs").

Related to #18.


Fix docs - missing Trainer

What does this PR do?
Fixes missing Trainer docs.
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @Borda! Thanks for opening this PR.

In the file pytorch_lightning/loggers/trains.py:

Line 219:101: E501 line too long (111 > 100 characters)

Do see the Hitchhiker's guide to code style

Do you know if it is possible to test the docs as part of the CI? Sometimes people don't check that the docs compile or don't see the warnings. Otherwise things like this will happen again and need to be fixed by someone else :(

Do you know if it is possible to test the docs as part of the CI? Sometimes people don't check that the docs compile or don't see the warnings. Otherwise things like this will happen again and need to be fixed by someone else :(

yes, we already had this discussion before v0.7.1 but then there was much other work...
we already have it in CI but the problem is that these errors do not crash the building process
https://app.circleci.com/pipelines/github/PyTorchLightning/pytorch-lightning/1369/workflows/4123ff8a-8117-4ad5-83db-6e01d9e061ea/jobs/9335
I was checking for a solution which would raise warning as errors but has not found it yet
in our case, the problem is mostly in autodoc that it fails on bad imports or syntax...


docs(*): update README.md; add example; use manifest v2

Updates the README.md
Migrates spin.toml, snippets, etc to manifest v2
Adds a "rust-classic" example (better name?)

Addressed feedback in https://github.com/fermyon/spin-fileserver/pull/45/commits/2b7da52b70b7a25e43eb0358952a76fbab97162b.  Also added a section mentioning its use via the corresponding spin template.


[Experimental] Chat with history

I am trying to implement chat history to chat with the final report. The code is just experimental since I'm not sure whether this is where I should put the chat agent. The code will put the report and vectorize in a inmemory vectorstore to get the relevant chunks and I used default LangGraph React Agent. Would be cool if I could have some feedbacks on how to proceed! Thanks guys
Here's the UI (default to chatting after having a report, pressing the search symbol will conduct another research)

Pretty awesome @khoangothe!
@assafelovic, deployed a demo of the branch here: https://gptr-green.gptbud.com/
@khoangothe
a) You'll want to think about the text in the homepage, as defined in "frontend/nextjs/components/InputArea.tsx".
Perhaps conditional text based on the current state?

b) I've played with the branch a bit & the results are pretty solid for the follow up questions
I'm curious we should leverage the new GPTR vector_store parameter:
researcher = GPTResearcher(
            query=query,
            report_type="research_report",
            report_source="langchain_vectorstore",
            vector_store=vector_store,
        )

@ElishaKay Got it thanks for the feedback! I'll see if I can push a change soon. Hoping can change the answer to some chat-like interface too.
Regarding the Vector Store, I saw your ideas in the VectorStore PR #781 and I think it would be very cool to have those implemented as well. I think we can store all of the related contents into a vectorstore and retrieve the information when ask for more context. But I struggle in how best to store new data since the vectorstore is inputted by the user which makes it a bit complicated
Case 1: Since we are storing every crawled info/documents in "vector_store", ideally the "vector_store" should be empty or contain related information so the new page won't contaminate the existing data and provide better queries.
Case 2: We just want to store all the results, so user can have an all knowing bot that can answers related to his/her previous reports.
Not sure which case the user will want, but I think I can quickly change the InMemoryVectorStore in the code to the inputted VectorStore after we got this features! Would be cool if we can have a discussion or you could help with some ideas about this!

Pretty awesome @khoangothe!
a) You'll want to think about the text in the homepage, as defined in "frontend/nextjs/components/InputArea.tsx".
Perhaps conditional text based on the current state?

b) I've played with the branch a bit & the results are pretty solid for the follow up questions
I'm curious whether we should leverage the new GPTR vector_store parameter:
researcher = GPTResearcher(
            query=query,
            report_type="research_report",
            report_source="langchain_vectorstore",
            vector_store=vector_store,
        )

Good points @khoangothe
Case 1: Agreed. If we add a chat_id or task_id to the vectorstore records, I guess we'd be able to filter vectorstore searches by chat_id
Case 2: personalization would be great - but it depends on whether we want to have user authentication & multi-user logic within this repo, or whether the GPTR community should build that out independently on a case by case basis - not yet decided
Case 3: Faiss seems like a good candidate since it seems to come out of the box with a pip package. Postgres could be good as well for SQL querying. Have a look here at the Langchain Vector Stores:
https://python.langchain.com/v0.2/docs/integrations/vectorstores/

@ElishaKay  Thanks man, I just added a PR for VectorStore #838 . I think if we want to proceed with the vector_store ideas, we need to implement this first. Then we can continue with this branch to chat with the crawled information in the vector db

@khoangothe
Good thinking!
I've merged #838 into the AI Dev Team flow in #819
I'd like to also merge this PR into the same AI Dev Team branch & do extensive testing.

you can feel free to push up commits to the AI Dev Team branch if inspiration sparks

Thanks man, I do have some ideas on how to leverage the vector store. I'll read through the AI Dev Team branch and see what I can add

Hey @khoangothe any update on this? Would love see this merged!

Thank @assafelovic , my plan was to have the vector_store pr merge first and then utilize the vector_store for this pr. With that functionality, I can store crawled data  into an in memory_db, then we can chat with the data in DB (not just the report).
If you prefer, I can also merge the vector_store to this pr and then push a commit altogether to chat with the crawled data. I'm working on it right now and can push a commit in either case soon!

Got it @khoangothe apologize in advance that we've refactored quite a lot of the codebase to be better written so it created some conflicts with the recent PRs

@assafelovic  no worries! I think I'll just close this PR and make another one instead of resolving the merge conflict so it's easier to keep track of the change history.


Include substances in hierarchy

Merging this w/o approval for now because I need it on develop just to be able to test it.


Building 4_ubuntu1510_js8 fails

Hi @abdulrahmantkhalifa, I just tried to build the 4_ubuntu1510_js8 docker image, which failed on installing urllib3-1.15, see below for more details
Can you help?
*ERROR***********************************************************************************
action: run                  runid:localhost            (ERROR)
    CuisineCore.run.pip3 install urllib3 --upgrade|
    path: /opt/jumpscale8/lib/JumpScale/tools/cuisine/CuisineCore.py
DOC:
    @param profile, execute the bash profile first
ERROR:
    could not execute echo  | sudo -S bash -c "pip3 install urllib3 --upgrade",OUT:
    Collecting urllib3
      Downloading urllib3-1.15.1-py2.py3-none-any.whl (92kB)
    Installing collected packages: urllib3
      Found existing installation: urllib3 1.14
        Uninstalling urllib3-1.14:
          Successfully uninstalled urllib3-1.14
    Successfully installed urllib3
    STDERR:
    Traceback (most recent call last):
      File "/usr/local/bin/pip3", line 11, in <module>
        sys.exit(main())
      File "/usr/local/lib/python3.5/dist-packages/pip/__init__.py", line 221, in main
        return command.main(cmd_args)
      File "/usr/local/lib/python3.5/dist-packages/pip/basecommand.py", line 252, in main
        pip_version_check(session)
      File "/usr/local/lib/python3.5/dist-packages/pip/utils/outdated.py", line 102, in pip_version_check
        installed_version = get_installed_version("pip")
      File "/usr/local/lib/python3.5/dist-packages/pip/utils/__init__.py", line 848, in get_installed_version
        working_set = pkg_resources.WorkingSet()
      File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 619, in __init__
        self.add_entry(entry)
      File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 675, in add_entry
        for dist in find_distributions(entry, True):
      File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1942, in find_eggs_in_zip
        if metadata.has_metadata('PKG-INFO'):
      File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1463, in has_metadata
        return self.egg_info and self._has(self._fn(self.egg_info, name))
      File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1824, in _has
        return zip_path in self.zipinfo or zip_path in self._index()
      File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1704, in zipinfo
        return self._zip_manifests.load(self.loader.archive)
      File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 1644, in load
        mtime = os.stat(path).st_mtime
    FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.5/dist-packages/urllib3-1.14-py3.5.egg'
[Thu12 07:48] - ...lib/JumpScale/tools/actions/Action.py:749  - ERROR    -

******************************************************************************************

[Thu12 07:48] - ...lib/JumpScale/tools/actions/Action.py:621  - ERROR    - error in action: action: run                  runid:localhost       (ERROR)
    pip3 install urllib3 --upgrade

FIXED in https://github.com/Jumpscale/dockers


create directory for design documents

Fixes #13
Simply create the directory and put a README

@egernst my thought is design has a broader scope than architecture, then we could put more design consideration/illustration inside, for example, lifecycle, design principles, detailed mechanism illustrations.

lgtm


Feature/enable weaksauce

@CunningLogic could you please give this a once over and give me some feedback?  The patch then should just be removing dmagent, yea?

Looks good, but untested


I wish to add a TO-DO List

I wish to create a TODO list.

hey @ushmita4 are you dcp contribtuor ?

hey @ushmita4 are you dcp contribtuor ?

Yes

ok @ushmita4
dont you think its related to js
kindly create this issue on
https://github.com/arpit456jain/Amazing-Js-Projects
and close this one I will assign u asap


Nothing happens to my mouse after pressing the "Apply" button

Hello,
When i try to set a color to my mouse nothing happens after pressing the "Apply" button (software is running as administrator).
The mouse led color doesn't change and there are no errors displayed on the screen.
I'm using the FW 1.2.0 but I've tried with different ones, so I don't think it's a FW problem.

If you are on Windows 10, try to run it using Windows 8 compatibility mode

I've tried but nothing changes.