Running with 'sudo', throws 'D-Bus error'

Hey,
Thank for the project! I am using that in my toy Rust projects. :)
The program crashes when i run it with sudo. Error backtrace is here:
Error(Dbus(D-Bus error: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. (org.freedesktop.DBus.Error.NoReply)), State { next_error: None, backtrace: InternalBacktrace { backtrace: Some(stack backtrace:
   0: error_chain::backtrace::imp::InternalBacktrace::new::hf39723dd3280a465 (0x55e8475bd668)
   1: <error_chain::State as core::default::Default>::default::heb1b1f6fb40d3c53 (0x55e8475bd3f5)
   2: notify_rust::Notification::show::hc206583a64775c0b (0x55e8475b8dc0)
   3: netlyser::db::notify::h0cabef15b4dafaae (0x55e847576fe9)
   4: netlyser::db::on_hosts_connected::h582bcf0ac31c414e (0x55e847576abf)
   5: netlyser::db::get_notifies::h2da1d8a7154a27a1 (0x55e84757658c)
   6: netlyser::run::run::{{closure}}::hcb8b38a0234e7d3d (0x55e84757e1f2)
   7: std::sys_common::backtrace::__rust_begin_short_backtrace::h05a4a196dc093c28 (0x55e847578048)
   8: std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h82c7e735bf5113a5 (0x55e847578878)
   9: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf4b0650defcfcea4 (0x55e847577ff8)
  10: std::panicking::try::do_call::h649352a5dfdd875e (0x55e847599418)
  11: __rust_maybe_catch_panic (0x55e8476e70c9)
  12: <F as alloc::boxed::FnBox<A>>::call_box::h11218ae7ebf5278c (0x55e8475729e2)
  13: std::sys::unix::thread::Thread::new::thread_start::h01a189d1b31d5438 (0x55e8476e63dd)
  14: start_thread (0x7f1dd1e8ca91)
  15: __clone (0x7f1dd1da0cd2)
  16: <unknown> (0x0)) } })', src/libcore/result.rs:997:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::_print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: std::panicking::rust_panic_with_hook
   5: std::panicking::continue_panic_fmt
   6: rust_begin_unwind
   7: core::panicking::panic_fmt
   8: core::result::unwrap_failed
   9: netlyser::db::notify
  10: netlyser::db::on_hosts_connected
  11: netlyser::db::get_notifies
  12: netlyser::run::run::{{closure}}

Thanks! @hoodie

Just tried it too - it's probably related to the fact that you're trying to send a dbus message as a different user in that case. The notification server is part of your desktop environment (gnome, kde, what-ever-is-kinda-hip-today-wm). So that is running as your user, a tool running as root is likely not allowed to communicate with it.
I'm not a huge dbus expert but I'd investigate into that direction. I'd recommend just not doing that (sorry 🤷♂). There's likely a crate that helps you figure out how to tell that you're root

Thank you for your well-explained comment. But, Can we send a notification to specific user that we have predetermined? Like this:
Notification::new()
    .body("This notification should be sent to user 'Dentrax', if available")
    .to_user("Dentrax")
    .show().unwrap();

you would have to execute the process as that user as they showed in that stack overflow answer - I don't see how notify-rust could do that. other than perhaps forking a subprocess
what are you trying to achieve?


bugfix: fixed issues with min max date

Min max options are working incorrectly:
If I set
minDate -> 15.06.2021, then it allows to select 01.06-15.06. First argument should be date, not this.options.minDate. Same situation for maxDate.
  private isDateSelectable(date: Date): boolean {
    if (this.options.minDate && isBefore(this.options.minDate, date)) {
      return false;
    }
    if (this.options.maxDate && isAfter(this.options.maxDate, date)) {
      return false;
    }
    return true;
  }

This PR fixes it.
Is it fine now?

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

yes, I just published new version 12.0.0 to npm so you can use it. thanks!


Feature/medicine module

Codecov Report
All modified lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files
Coverage Δ

src/modules/medicine/MedicineTest.cpp
100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes
:loudspeaker: Thoughts on this report? Let us know!.


add current month and week number on top of agenda

Hi,
is it possible to add current month and week number of month on top of agenda?
for example:
هفته دوم خرداد
هفته اول دی
...

Umm, No there is no way to do this by component itself,
but you can add a listener to onDayChange onDayPress and get current selected date then simply use moment to format that date and display it before Agenda
<Text style={{}}>{this.state.formattedDayOfWeek}</Text>
<Agenda
 {...}
/>


Group or Layering Capability

I have only begun to work with maker.js, which I have to say really fills a niche that has been missing from the javascript toolset for some time.  So many thanks for publishing such a great toolset.  However, one feature it seems to be missing is the concept of groups (svg) or layers (dxf).  The ability to set these, is important in CNC machining in order to  map tool paths to specific tools and other cut and tool specifics.  Although I see a few places to start, being so new to the codebase, I am not sure what the best approach would be.  I'd be inclined toward adding a group property to the path and model objects. Such that went the model group is set, contained paths would also be set. Then depending on the filetype being exported either group or layer would be named appropriately.
If I could either be pointed in the right direction, or maybe this is a planned feature, which would be great, let me know.  Either way, even though I'm still pretty green with javascript, I've submitted a CLA and forked just incase we get to the point of a pull request.

So far I had only been working with dxf exports, but looks like svg export already has this functionality. Nice.  Digging deeper into the dxf export, I see now that it is much more basic than the svg export.  It might make sense to bump up the dxf export functionality to include mapping models to polylines then using the model id for the layer name for the polyline overriding the path id.

Hi @zrichmond thanks so much for the feedback, and even more thanks for being the first active participant / contributor. So glad that you find it as useful as I do and that it benefits you in a real world sense.
You are correct that the DXF export is more basic than the SVG. Simply because I don't "use" the DXF after I generate it, I just usually upload it to BigBlueSaw and let them cut it. So your input is invaluable as a DXF user. And since there are already hooks as you've seen in the SVG exporter it should be easy to add similar DXF structuring.
If you say you're green at JavaScript, the you might be even greener with TypeScript. However I'm excited to have contributors so let me know if you feel like tackling this or not. I would be happy to.

Took a quick look at TypeScript, the .ts file extension makes sense now.  Seems like it is a way to make javascript somewhat typed, I could see it being very helpful particularly for developers coming from Java and C# or other strong OOP.   I could definitely see it being helpful for creating modules/libraries as you've done with maker.js.
Anyhow, back to the dxf exporting.  Knowing that you are uploading dxfs to BigBlueSaw it makes sense that you wouldn't need layers mapping to specific tooling since it looks like they focus on water-jet and laser cutting neither of which, I believe, have different tools or cut types beyond center-line, with varying feed speed and intensity to get the desired cut quality for the given material.  My experience is with a CNC router/mill, particularly one with a tool changer, where there are many different types of tools available and each tool can make different types of cuts.  In order to facilitate this, typically there is a mapping of layers to the cut type, which would include specifics for the tool as well, radius, feed speed, spindle speed, cut depth, to name a few.
Looking at the dxf export, maybe a few steps could be:
Minimal:

Something simple like, if the object is an IModel, then export the model's paths to a layer name based on the model.id

More involved:

Since some router tool machining is based on the inside or outside of "closed" geometry, the addition of a "closed" property could also be helpful. This would indicate the geometry should be a closed path that would export as a POLYLINE, onto a layer name, again, based on the model.id

Add property "thickness" to export as dxf line thickness which in some 2.5D CAM packages, indicates depth of cut. Essentially a way to get a z-axis without full 3D CAD.

Colors for the layers, though it would be a bit more involved and not as elegant as SVG styling via CSS.

This is something I can personally take a closer look at, but I definitely wouldn't be disappointed if you write the code.  In fact just being able to see how you'd approach it might help me learn the library a bit more.

Great, let's start with implementing the simple as a first pass. For the more involved feature, you mentioned "closed" geometry. I have actually been contemplating adding a feature I call "follow" which will attempt to make a continuous series of connected paths. Currently, there is no notion of connectedness at all (which had its advantages).
One issue to solve is the fact that a continuous "followed" series might actually be made of paths from 2 separate models. For example, if you have 2 overlapping rectangle models, and do a combine operation to keep only their intersection, the result would be a new rectangle but it would have 2 sides from one model and 2 from another. But to your need of a tool path, this would need to be one polyline. So it looks like I ought to implement the "follow" function for that.
That's fine, because I'd surmised that someone would rather also have a "polyline" equivalent in the SVG side as well.

"Follow" is definitely a similar concept.  The main problem this addresses on a router is to control which side of the path the tool should cut.  In 2D cutting there are basically two ways to address the problem, either with direction and handing (left-hand or right-hand), or having "closed" geometry so you can be cutting either inside or outside using clock-wise or counter clock-wise to indicate direction.  It's important because one needs to be able to program offsets based on the shape of the tool, to account for the width of the tool path, kerf if it's a saw cut.  The direction is also important because the rotation of the tool effects how the chips of material are being removed as the tool is cutting.  In a dxf the direction is handled simply by order of the vertices in a polyline.  Also a polyline as defined in a dxf, doesn't actually have to be "closed" it's really just an ordered group of connected lines and arcs (arcs hidden in the bulge property of a vertex). Looking at my previous comment it looks like I miscommunicated that somewhat. With simple lines and arcs, dxf polyline and svg path are basically the same thing.  Maybe not exactly what you were hoping to get into with this, but hopefully it helps.

Ok I've created an image for reference. Given 2 shapes, the blue plus and the green ring (which would be 2 models with their own paths) if they were to be combined as shown, you would want to have 5 "tool path layers", one for each of the four quadrants, and one for the outer circle, is this what you are needing?

Yes I think that would work well, with the additional detail of being able to arbitrarily the name the paths so they can export as layer name (dxf) or group id (svg).  For example, being able to set the outer circle name, to 'outside', then each quadrant  to say 'pie slice', 'cake slice', 'pocket', inside_pocket_2'.
I am sure you recognize the example if done the way you are suggesting would be pretty complicated. More likely in my experience the drawing of paths/geometry would be more straight forward. With 2D/2.5D machining I wouldn't typically be doing boolean type operations on basic shapes to build up more complex shapes.  Without being more familiar with your codebase,  I'm not sure which approach would be simpler.

Yes the boolean operations do add some complexity. That will need some more thought. I'm going to proceed with the original plan of bringing the DXF export up to parity with the SVG export, as a start.

Makes sense to me.  Thanks for taking a closer look at it and if there I can help I will.

Hmmm at first glance it doesnt appear that DXF supports nested layers, i.e. a layer that contains another layer etc. In your other CAD software, are you able to create nested layers?

No, DXF layers are simpler than the svg spec in that there isn't a way to nest them.   However, that being said,  DXF has a BLOCKS  section as a way to group entities. However, it's probably not worth using it to replicate svg's more sophisticated groups especially since the cam applications I've used usually don't know what to do with blocks.
Maybe one way could be to have a layer/group property that once set by user code would be used for the layer/group name when exporting.  Could be as simple as having this property for both a path and a model, such that if it's set on the model the contained paths would also be set to the layer/group name.  Then if the export could it done based on the path, it could support both a model with various path names, and a model with single path names. The model name could be ignored since it's a container for the paths.  Pretty sure that would cover most of what would be needed for controlling the layer/group name.

The layer/group property seems like a good idea. I wonder how this would also translate to the SVG side of things. Would be great to have one programming concept that works for any export type.

Digging deeper into the svg export made me think that maybe it's as simple as just using the path's parent model id as the dxf layer name?

That's what I started looking at - but then I hit nesting.

Maybe ignore the nesting for dxf export?    In other words use just the immediate parent for the layer name, leaving deeper nesting a feature of svg output, and if someone is exclusively exporting for dxf they wouldn't gain from more complex nesting of models, but it is ultimately a limitation of the dxf format not the rest of the library.

How do you feel about calling this "Z" instead of layer?

I'd be a bit apprehensive to use Z.  In 2.5D machining, even though the cut path is generally 2D, a Z value may be used for the depth of cut, and sometimes thickness is used.   To confuse the issue further,  DXF format specifies allows entities to have XYZ coordinates and/or thickness.  I don't think svg has the concept of Z-order either, so maybe in leaning toward the flexibility of the svg format just calling it "group" would suffice?

I understand your apprehension, it makes sense. Z is one possible interpretation of how someone might use the group. SVG does use CSS, so we could apply the concept to "z-index". That's why I suggested Z, so that both SVG and DXF have a use for this property. Since SVG will use z-index, I think your original suggestion of naming it "Layer" seems to work for both cases.

Also, I was going to implement the Layer as a number, so that it can work as z-index for SVG, and Layer index in DXF. Were you hoping to use strings or names of layers, or will a number work?

Layer names in a dxf are strings, and usually used in a human readable way so I guess I was thinking string for the type.  Also with the inclusion of css the z-index makes sense.  A layer in a cad drawing in the cad applications I've used at least, typically doesn't refer to the draw order so that might be confusing.  Might be that there are two properties layer: string and z-index: number ?  Maybe the answer is to have both?  That way it wouldn't be confusing if someone only had experience with web graphics vs cad formats.

I use DraftSight and they have a default layer named 0, which led to the z-index thought. The implementation as numbers was pretty easy, just finished coding it. Was hoping to get one concept that worked for both. Bu I understand if using a number adds confusion. I suppose I could make it a string, and if SVG folks need it, then they can put a number in there...

Ok, it finally made sense to use a string for layer, and to use SVG group to implement layer (not z-index). New version is 4.3, let me know how it works!

Will do!

I've only tried a few exports, but it's looking great. Nice work!


Initial Feedback

Now that most of the documentation and tests are in-place time for some feedback
Main questions before moving to a 0.1 release is probably confirming role/directive names, and maybe css prefix (sd-)
This is intended to replace sphinx-panels; see the README for a section on differences. The main difference are no direct dependence on bootstrap and less direct use of css classes for users.

cc @choldgraf @jorisvandenbossche @Daltz333 @pradyunsg (how best to get colours working out the box for furo)

👍 will give it a look this week

Looks good and I'm excited. Couple of thoughts.

Documentation on applying custom CSS to panels or tabs
Make sure to clarify that this isn't backwards compatible with sphinx-tabs or sphinx-panels (users might be modifying styles of things)

One thing that I've had a bit more of a pain point (but I'm glad I can do it!) with sphinx-panels was when I needed to apply custom styles in some situations. IE: Having two buttons in a footer was a pain to figure out, and I used a hacky solution. See https://github.com/wpilibsuite/frc-docs/blob/main/source/index.rst

how best to get colours working out the box for furo

I'm happy to add a bunch of CSS for this in Furo directly.

Documentation on applying custom CSS to panels or tabs

So yeh I planned to document some of the available CSS classes.
But certainly I want to rely less heavily on these here, in preference to having specific directive options for things like margins, padding, colors, etc

Having two buttons in a footer was a pain to figure out

Yeh so now you could do this using grid + grid-item, as opposed to directly via div + classes.

I'm happy to add a bunch of CSS for this in Furo directly.

Cool cheers!
cool cheers

cc also @mbercx for the aiida stuff 😉

Oh, one bit of feedback I have -- let's tone down the shadows? They're a little too... visible.
Here's an attempt from me, based off of https://tailwindcss.com/docs/box-shadow's shadow:
box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;

Had a look at a couple pages, a few Qs and feedback scattered below. Will try and play around with the codebase more this week.
In general
Really nice - I like the UX much better than sphinx-panels and agree it's better to control things at the directive args level rather than remembering custom CSS classes (I imagine this will also mesh with things like the LSP better). I think overall it's a big improvement.
Grid

I like that grid has you specify number of total columns as the argument, I feel like that is more intuitive than specifying "number of columns taken up by each element" which is how bootstrap tends to do things (ie I think "I want 2 columns" is more intuitive than "each column should have a width of 6").
That said, I feel like the card-level configuration semantically clashes a bit with this since it is called :columns: as well. Perhaps it could be called :column-width: or just :width: rather than :columns:? (I don't feel strongly about this though)
Is it possible to specify auto in the grid arguments? E.g. {grid} auto auto auto 4?
Is there any way to specify an empty column, so that a grid-item could create an empty space? Right now using an empty grid-item causes the next item to collapse.
I think it'd be helpful to add a ## header for the various sections of the "grid" docs (happy to make a PR for this, just writing down here)
Given that we've often spoken about the UX/UI problems with forcing a single number of columns across all screen sizes, I wonder if we should disallow specifying a single number for grid since it might encourage bad practices.
It might be useful to allow for a :height: configuration value for the grid (or maybe a grid-item), so that you could fix this. Alternatively this could be a docs demo for using custom CSS classes / rules.

Badges and buttons

Why is {badge} shortened to {bdg} but {button} is not shortened to {btn}?

General

Could the default docs theme be anything other than Alabaster? That's not a very mobile friendly theme (you have to scroll to the bottom to hit the site navigation, I believe)
Is there a way to set defaults for certain options? For example, I wonder if some people might want all dropdowns to "fade in" and manually specifying this everywhere would be cumbersome. (that said, this is probably not that big a deal)
Is this compatible with sphinx-panels? I know the syntax is different, but if you had both extensions loaded, would they both still work as expected?

A totally random idea for a directive
I can't remember if I've mentioned this before but thought I'd mention it here. I find that these docs are a good demonstration of a common pattern we use in Sphinx docs, which is to do something like:
To use XYZ directive, use it like this:

````
```{XYZ} Title
:somekey: value
Some content
```
````

which renders like this:

```{XYZ} Title
:somekey: value
Some content
```

In these situations, it might be useful if we had something that would let us do something like:
````{demo}
```{XYZ} Title
:somekey: value
Some content
```
````

And it would display a tabs group with:

Tab 1: The "rendered" version of the content of demo
Tab 2: The "literal" content of demo

This might help us cut down on the amount of repetition and updating needed in the docs. I believe @pradyunsg does something similar in the Furo docs.

In general ... Really nice

thanks 😄
Grids

That said, I feel like the card-level configuration semantically clashes a bit with this since it is called :columns: as well.

I did have this as a TODO before, when :columns: was also an option on the grid as opposed to set with the argument. But yeh now I'm not sure; it is the number of columns the item spans, so I don't think column-width is correct, since that infers you are making a single column wider.

Is it possible to specify auto in the grid arguments? E.g. {grid} auto auto auto 4?

[ ] Yes. I will add an example in the docs

Is there any way to specify an empty column, so that a grid-item could create an empty space? Right now using an empty grid-item causes the next item to collapse.

[ ] In principle I guess yes, what would the use case be?

I think it'd be helpful to add a ## header for the various sections of the "grid" docs (happy to make a PR for this, just writing down here)

Sure 👍

Given that we've often spoken about the UX/UI problems with forcing a single number of columns across all screen sizes, I wonder if we should disallow specifying a single number for grid since it might encourage bad practices.

Hmm, don't know if we need to be "forcing" presumed good practices

It might be useful to allow for a :height: configuration value for the grid (or maybe a grid-item), so that you could fix this. Alternatively this could be a docs demo for using custom CSS classes / rules.

What would the use case be?
Badges and buttons

Why is {badge} shortened to {bdg} but {button} is not shortened to {btn}?

because badges are inline roles, and so I felt brevity may be desirable. On top of this, because there is no easy/defined way to add options to roles, I went with the - delimited names e.g. bdg-link-primary-line (a link badge, colored primary, and outlined) which makes things even longer (hence not badge-link-primary-outline).
For buttons though, they are directives so having longer names is not so much a problem, instead of button-link-primary-outline you have:
```{button-link}
:color: primary
:outline:
```

General

Could the default docs theme be anything other than Alabaster? That's not a very mobile friendly theme (you have to scroll to the bottom to hit the site navigation, I believe)

Yeh it is a pain that it is not nicer. The thinking was that I did not want the default to require any additional packages. For example, the sphinx-book-theme currently still pins to sphinx v3 (I am putting that on you to fix 😉)

Is there a way to set defaults for certain options? For example, I wonder if some people might want all dropdowns to "fade in" and manually specifying this everywhere would be cumbersome. (that said, this is probably not that big a deal)

It would certainly be possible/easy to add configuration to change the default of any directives options.
However, a reason why I am a little hesitant, is that it would mean, to understand how to render these directives you would also need to parse/read the configuration file and extract variables from there.
With an eye on our Javascript work (and with the sphinx configuration being in python) this makes it more tricky

Is this compatible with sphinx-panels? I know the syntax is different, but if you had both extensions loaded, would they both still work as expected?

Not right now (dropdown being the main "clash"), there you can set the directive to override anyone previously defined. But aiding people to transition from sphinx-panels to sphinx-design probably needs more thought.
Maybe have a dummy panels directive in sphinx-design which just raises a warning that this is no longer supported and points to documentation on how to do this, i.e. when we replace sphinx-panels with sphinx-design in jupyter-book

A totally random idea for a directive ...

So firstly, I disagree that the rendered output should be part of the tab set, since this means you cannot view the source and rendering at the same time. Indeed, most documentation have these separately; furo, https://getbootstrap.com/docs/5.0/layout/grid/, https://material-ui.com/components/grid/.
I have basically done something similar to https://material-ui.com/components/grid/; which has the rendered version, then a dropdown for the source where you can toggle between (in their case) Javascript and Typescript.
(To exactly copy what they have done, it may in fact be interesting to about having an "integrated" dropdown+tabs bar)
So for example I have:
`````{dropdown} Syntax
:icon: code
:color: light

````{tab-set-code}
```{literalinclude} ./snippets/myst/div-basic.txt
:language: markdown
```
```{literalinclude} ./snippets/rst/div-basic.txt
:language: rst
```
````
`````

Then, the offer nifty part of this is that, in https://github.com/executablebooks/sphinx-design/blob/main/tests/test_snippets.py, I have set it up so that it runs through all the documented snippets, checks that they run for both MyST and RST, and also checks that the output AST is the same for both, i.e. the snippets are essentially the test suite and are "guaranteed" to work.

Wow. It there an simple roadmap so users could know when to transfer from sphinx-pannel?

It there an simple roadmap so users could know when to transfer from sphinx-panel?

So essentially I would say it is ready to use now 😄
I don't envisage any major changes now, apart from things discussed in this issue
There are some notes on transferring here: https://github.com/executablebooks/sphinx-design#comparison-to-sphinx-panels, but obviously any feedback to this is welcome
This is really the last piece of the puzzle; making it as seamless as possible to transfer, particularly for when we migrate from sphinx-panels to sphinx-design in https://github.com/executablebooks/jupyter-book

This is feedback from a sphinx-panels user, but I think it is valid for sphinx-design as well:
I was surprised to see that the grid system uses different labels (“xs sm md lg”) than Bootstrap (xs sm md lg xl xxl), especially since the documentation explicitly states 'See the Bootstrap Grid system for further details.'
At least for sphinx-panels, I got the intended behavior only when using the Bootstrap labels (col-xl-2 col-lg-2 col-md-3 col-sm-3 col-4).

Hi @MarDiehl note sphinx panels derived from bootstrap v4 and the documentation you refer to is for v5, where for example they first introduced xxl.
In sphinx-design you no longer directly uses these classes, so I don’t think it is as much an issue, although I might eventually allow a fifth number for xxl

@chrisjsewell thanks for the quick feedback (and of course for sphinx-panels and sphinx-design).
I was actually referring to bootstrap v5 because the sphinx-design documentation states See the Bootstrap Grid system for further details. Maybe I'm just biased because I reported the same issue for sphinx-panels (where the same classes as in bootstrap v4 are used if I understand it correctly), but a clear hint in the sphinx-design documentation in the spirit of See the Bootstrap Grid system for further details (except for the column labels) would help to avoid confusion.

@chrisjsewell awesome job!
What I've found problematic for me is that the internationalization is not working for buttons (sphinx-panels has the same problem). Maybe I'm missing something to make it work for buttons?
Here I've build an example:
button
source page with button in English
https://sphinx-internationalization-test.readthedocs.io/en/latest/#buttons
translation of button from English to Polish
https://github.com/damian-krawczyk/sphinx-internationalization-test/blob/ba6305e61eb3c57a050ff2064b70b82aa1fa93f0/docs/locale/pl/LC_MESSAGES/index.po#L37-L39
#: ../../index.rst:19 645df2e517a14ebe83fd8f2aa81331dd
msgid "Example button"
msgstr "Przykładowy przycisk"

translated page with button in Polish
https://sphinx-internationalization-test.readthedocs.io/pl/latest/#buttons
badge
source page with badge in English
https://sphinx-internationalization-test.readthedocs.io/en/latest/#badges
translation of badge from English to Polish
https://github.com/damian-krawczyk/sphinx-internationalization-test/blob/db2ac19c92d19a564070c03e7b9561d312d0c89d/docs/locale/pl/LC_MESSAGES/index.po#L45-L47
#: ../../index.rst:34 3651548d5be74a61ac96278b1ec9998d
msgid ":bdg-link-primary-line:`Example badge <https://example.com>`"
msgstr ":bdg-link-primary-line:`Przykładowa odznaka <https://example.com>`"

translated page with badge in Polish
https://sphinx-internationalization-test.readthedocs.io/pl/latest/#badges

source page in English
translated page in Polish

Looks like I can't set grid from 1 to 2?
.. grid:: 1 2 3 4 <- this works
.. grid:: 1 2 <- this doesn't work

Card carousels - it's hard to move it left on smartphone screen.

Thanks for the feedback @damian-krawczyk , some quick notes

Looks like I can't set grid from 1 to 2?

it feels like you are misunderstanding what these numbers represent? They are the number of columns at different screen sizes

t's hard to move it left on smartphone screen.

they are designed to “snap to card edge”, so you have to move them at least half the width of a card to snap to the next card

just got it 👍🏻 I need .. grid:: 1 2 2 2 - and works fine, I wanted to remove my comment but you have been faster 🚀 , thanks for additinal clarification.
carousel - I'm still not convinced, try to refresh page and then move it left. It looks like it works only if I touch the left half of the first card and only if I move my finger fast? 🤔

Hi @chrisjsewell & all
I realised just a few days ago that sphinx-panel was going to be replaced and I still had no chance to test it out. Since I rely quite heavily on panels in my sphinx projects, I second this suggestion:

Maybe have a dummy panels directive in sphinx-design which just raises a warning that this is no longer supported and points to documentation on how to do this, i.e. when we replace sphinx-panels with sphinx-design in jupyter-book

I think a warning could be useful to make sure one migrates all the panels:: directives.
I also hope that the deprecation won't be any time soon, because I would probably not be able to migrate my projects before a couple of months...
Finally, let me thank you and the whole team for the great job, I had only a quick look at sphnx-design and it seems more flexible and usable thatn sphinx-panels, I hope to find the time to test it out ASAP and provide my feedback.

Can you add modification date to article-info?


Add binary search in python

Add binary search in python in the folder already made

@ankitapuri  i would like to do this , plz assim me this

@ankitapuri I would like to work on it. Please assign it to me.

@ankitapuri i would like to do this , plz assim me this

ok @HarshUdai

@ankitapuri I would like to work on it. Please assign it to me.

you can refer to other issues as well.

@ankitapuri  hey, i have made a pr please check.


GH327 Change implementation of ContainsKey in C#

Addresses #327

The build failure looks like an infrastructure error - I'll look into why this is going on, but we can ignore it. The change makes perfect sense, oops!

Should I release a new NuGet version?

Sad not to have a more substantial NuGet release. There's no pressing need for us.

I was meaning to look into improving the C# story for some time now - so perhaps that'll trigger more changes!


Make from optional

Hello, thank you for the great work.
Context:
We are creating an adapter for Sendingblue.
In Sendingblue if you do not specify from in the API request, it will delegate this to whats configured in the template editor (on their platform).
Problem:
Currently lib/swoosh/mailer.ex prevents empty from addresses:
def deliver(%Swoosh.Email{from: nil}, _config) do
    {:error, :from_not_set}
  end
  def deliver(%Swoosh.Email{from: {_name, address}}, _config)
      when address in ["", nil] do
    {:error, :from_not_set}
  end

And we get the error: {:error, :from_not_set}
Question:
What is the best way to make from optional?
How would you do it for our use case? (Without ugly hacks)
If we want to contribute our adapter to this repo how can we integrate this feature in your codebase?
Many thanks in advance.
EDIT: improved wording

Instead of allowing empty from, I might expand the current implementation to accept atoms. And in your adapter code you could look for a specific atom that denotes the intention to use the configured value, and then ignore it.

@princemaple this would involve a refactor in your API, right?
Meaning you would have to update existing adapters?

Not really. It would just be an addition. Existing adapters don't necessarily need to handle atom from. Most changes will be in email.ex, nailer.ex and format.ex

Let me know if you need any help.

Thanks for the contribution @tofran . The new adapter is released in v1.2.0. The task to remove enforced from field is tracked in #556 as a future breaking change.

Thanks for the contribution @tofran . The new adapter is released in v1.2.0. The task to remove enforced from field is tracked in #556 as a future breaking change.

Very good point, Sendinblue actually rejects empty subject:
{
  "code": "missing_parameter",
  "message": "subject is required"
}

So case closed, theres no problem with the current implementation

Very good point, Sendinblue actually rejects empty subject:
{
  "code": "missing_parameter",
  "message": "subject is required"
}

So case closed, theres no problem with the current implementation

@tofran thanks for the confirmation!

@tofran thanks for the confirmation!


Autohentai doesnt work...

Hello, i have a problem with the bot command. The .autohentai command do nothing, we tried use it in different variations... like .autohentai 20, .autohentai 30, .auto hentai 20, .autohentai, .auto hentai 20, .autohentai 30 yuri, .autohentai 30 yuri|tail|long_hair and etc... it just doesnt recognize the command, at first we thought maybe the admin (me), needs to write the command, so i did and it still not works...
What i need to do for the fix?
Thanks~

.autohentai, .autobutts and .autoboobs are disabled on public Nadeko.

@shivaco, so how do i enable it?

You can't, you have to self-host it yourself, and by self-host I mean run it on your own machine.

@kamineko16 If i'm correct you can invite this bot:
http://www.gremagol.com/inv-ene
For support:
https://gremagol.com/discord


Is this project still alive?

In es 5.0 and later versions, the snapshot directory structure has changed.
I'm working to upgrade to 5.4.
Is this project still under development and will add more features?

Indeed, several things have changed with ES 5.x. We're working on upgrading and there's a 5.1.1 dev branch, but at the time of writing I think we're probably a couple months out on getting that stable.


[examples] update to use quantization and torchrun

It's better to seperate this PR into several small PRs. Your PR can be devided into 3 parts:

config change
torchrun
quantization support(You can add quantization result in this PR)

Engineers are encouraged to keep each individual change small , with larger changes preferably broken into a series of smaller changes that a reviewer can easily review in one go. This also makes it easier for the author to respond to major changes suggested during the review of each piece; very large changes are often too rigid and resist reviewer-suggested changes

please refer https://arxiv.org/ftp/arxiv/papers/1702/1702.01715.pdf.


Improve performance greatly

Fixes #333
Benchmark:

updated to reflect essential use cases and performance eaters
NOTE: benchmark framework reports incorrect high number for first bench on some runs, reason unknown

Based on my own usage of chalk, I select KPM:

cached: average of cached: 1 style and cached: 2 styles metrics
non-cached: average of 1 style and 2 styles metrics
total: average of all metrics

KPM increase:

cached: x23
non-cached: x129
total: x24

Changes(incrementally increasing preformance):

replaced regexp replaces by indexOf-slice implementation
streamlined builder instantiation
moved argument handling out of hot zone and optimized
removed all regexp stuff and escape-string-regexp dependency
replaced arrays by linked lists
precomputed chains of open/close codes
close code replace not applied to codes inserted around CRLF, it can change output in some cases, but doesnt change effective styles
added fastpath for do no close code replaces if there is no escape sequences in source string
cached simple getters results(in getters this)

Original(with new benchmark) metrics:
         269,472 op/s » 1 style
         130,959 op/s » 2 styles
          86,590 op/s » 3 styles
       1,407,114 op/s » cached: 1 style
         749,141 op/s » cached: 2 styles
         502,693 op/s » cached: 3 styles
       1,245,477 op/s » cached: 1 style with newline
       1,386,202 op/s » cached: 1 style nested intersecting
       1,368,144 op/s » cached: 1 style nested non-intersecting

Original KPM:

cached: 1078 kop/s
non-cached: 200 kop/s
total: 794 kop/s

Result metrics:
      29,685,124 op/s » 1 style
      21,955,435 op/s » 2 styles
      18,687,591 op/s » 3 styles
      26,847,185 op/s » cached: 1 style
      23,004,420 op/s » cached: 2 styles
      18,772,011 op/s » cached: 3 styles
      12,552,691 op/s » cached: 1 style with newline
       5,585,706 op/s » cached: 1 style nested intersecting
      15,220,157 op/s » cached: 1 style nested non-intersecting

Result KPM:

cached: 24925 kop/s
non-cached: 25820 kop/s
total: 19145 kop/s

cached: 1 style nested intersecting might be a way to improve the speed further. It hits replaces of close codes with open codes, which trashes strings a lot.

Originally, api allowing multiple arguments was killing performance quite a lot, but with moving it out of hot path and providing fast-path for single argument it doesn't seem to be an issue anymore, I didn't look at JIT info, but my guess would be with root function being so small it just gets inlined most times.

Another insight is that for full benchmark, time is spent:

6.9% + sum of some small numbers = probably around 15% on benchmark own code
8.3% + 6.5% = 14.8% on operations related to setting prototypes
10.4% on unoptimized indexOf(which currently happens when replacing close codes)
7.2% + 2.7% = 9.9% on traversing prototypes
5.4% on optimized indexOf, 6.5% on string concatenation

Which shows us that:

using better benchmark framework might help with obtaining clearer results
caching might not work entirely as planned(which is what I want to check next)
replacing close codes might need more work, small state machine for that could probably speed stuff up a lot, hugely increasing performance in 1 style nested non-intersecting and especially in 1 style nested intersecting
complex prototypes might deoptimize cache retrieval from objects, so it might be effective to precompute low nesting level builders and deploy them without using complex prototype, also proxy stuff might be solution too(but I didn't test it yet)
at least 12% of time is spent on operations we MUST perform (which is in line with my reference tests which show that performing checks and generating resulting strings for simple 1 style application is roughly 8 times faster than what is done by chalk), which is quite good result, though some of this time might be spent on repetitive operations.

Plus, another important thing is that not about benchmark framework. First of all, it doesn't perform dry-run, so on your normal PC it first benches show weird results in any case. Second, it seem to make this mistake I mentioned from the beginning with just plain incorrect calculation of first bench sometimes.
But having played with manual dry runs, I can say that performance difference between cached and non-cached versions for simple styling(complex styles like RGB aren't cached at all at the moment), is usually <2%, so for most use cases caching won't be needed at all anymore.

Also, providing shorthands like redBold(and using them) is supposed to increase performance by ~20%

Providing shorthands like redBold(and using them) is supposed to increase performance by ~20%, and it's also easier to type, so I'd happily use them.

Not sure whether you mean internally or externally. My intention was to just optimize for common use-cases internally, not to expose properties like redBold.

complex prototypes might deoptimize cache retrieval from objects, so it might be effective to precompute low nesting level builders and deploy them without using complex prototype, also proxy stuff might be solution too(but I didn't test it yet)

Yes, from experience, V8 is not very good at optimizing complicated prototypes.

This is really awesome! 🙌
Are there any more optimization opportunities you can think of? Or are you done?

Can you give the PR a proper descriptive title?

Really wish I had @remindme running. I want to devote some time to this PR.

@sindresorhus
I also want to incorporate require speed improvements in this patch, which will should also allow to get some runtime speed improvements.
It was sitting in the back of my mind, and I don't recall all my iterations and if I ruled it out, but enabled getters should still be in hot part and that possibly can be eliminated.
I'm already considering writing a github parser to extract common use cases, but I'm not sure I will get to it. There is a lot of questions, but one really important thing is if people frequently use nested styles as in running chalk on chalk output. If that's the case, one more interesting optimization can be applied, which is caching the last rendered line(or few) as an array of tokens to not require parsing it again(parsing/scanning takes a huge part of overall time) . But allocation of array is a really slow operation, so I have to run more benchmarks on that and think about the ways it can be done cheapest, to then decide if it can be done with such a small overhead it will be worth the speedup(we only get in a fraction of cases).
Also, I've tried to add things incrementally with checks at every step to not ruin anything, but I don't completely understand how enabled is supposed to work in non-trivial cases and I'm not sure tests cover it all. Caching might have broken something. So, I have to recheck that part and will be happy to hear some opinions/insights on that.

I also want to incorporate require speed improvements in this patch, which will should also allow to get some runtime speed improvements.

Can you do that in a follow-up PR? This PR is already large and has been open for a long time. I would like to be able to merge this soon.

So what's realistically left to do here?

@sindresorhus Yeah, I will leave other changes to separate PR, the core changes seem to be there already, so should be easy enough to extend on them, plus it's a huge step as it is already. Rebased, fixed style, moved utils to separate file.

@stroncium This looks great. I really appreciate your work on this 🙌
Regarding the require speed improvements, do you think you'll be able to get to that within a couple of weeks? I'm asking as I would like to get out Chalk 3 soon and wondering whether or not I should wait for the require speed improvements.

@sindresorhus I reckon I should be able to. Just got a lot of work in last weeks plus procfs lib documentation writing proved to be a bit bigger task than anticipated(at 20-40 pages of documentation atm depending on how you look at it lol), but the latter is almost finished and I actually hope to make major release today or tomorrow. After that, I'm getting back to my backlog

Ok. Hehe. No worries.

@stroncium FYI, it's finally out: https://twitter.com/sindresorhus/status/1193065505780727808 Thanks again for all your work on the performance improvements. 👌

@stroncium Looking at this a year later, something took my attention. 😄
You have written replaced arrays by linked lists as a performance improvement change. FYI, a linked list is horrible in terms of performance when compared to dense data structures. I could not find the change you are referring to, but I just wanted to mention this. Sorry, if I am too late to the party.

@stroncium Looking at this a year later, something took my attention. 😄
You have written replaced arrays by linked lists as a performance improvement change. FYI, a linked list is horrible in terms of performance when compared to dense data structures. I could not find the change you are referring to, but I just wanted to mention this. Sorry, if I am too late to the party.

That's a blanket statement and not very constructive. Linked lists are useful and can very much be performing depending on how they're used. Otherwise, nobody would use them.
If you have a criticism of a specific piece of code, please go into detail. Pointing someone to an absolutist video about data structures when clearly the OP knows a bit of what they're doing can be seen as condescending. Further, it doesn't provoke conversation.

That's a blanket statement and not very constructive. Linked lists are useful and can very much be performing depending on how they're used. Otherwise, nobody would use them.
If you have a criticism of a specific piece of code, please go into detail. Pointing someone to an absolutist video about data structures when clearly the OP knows a bit of what they're doing can be seen as condescending. Further, it doesn't provoke conversation.

@aminya Apart from what have been said, I'm really curios why did you place this critics here seemingly out of random when there are whole languages where there is no arrays of any kind at all traditionally(hey Python, hey Lisp!). Anyway, going back to the very video you posted, I'd advise you to watch it first, because it alone describes half of why linked lists are appliable in this case in general. But speaking about programming in javascript specifically, linked list argument is also invalid in most other cases as long as you use any kind of objects(which are objects as in pointers to vtable headed structures and not structures itself).

@aminya Apart from what have been said, I'm really curios why did you place this critics here seemingly out of random when there are whole languages where there is no arrays of any kind at all traditionally(hey Python, hey Lisp!). Anyway, going back to the very video you posted, I'd advise you to watch it first, because it alone describes half of why linked lists are appliable in this case in general. But speaking about programming in javascript specifically, linked list argument is also invalid in most other cases as long as you use any kind of objects(which are objects as in pointers to vtable headed structures and not structures itself).


/sys/fs/cgroup/cpuset/docker/cpuset.cpus: no such file or directory: unknown

Using crouton, I am trying to run docker container inside chroot in Chrome OS and docker run command fails with below error
docker: Error response from daemon: OCI runtime create failed: runc create failed: unable to start container process: unable to apply cgroup configuration: openat2 /sys/fs/cgroup/cpuset/docker/cpuset.cpus: no such file or directory: unknown.

Facing exactly same issue as https://github.com/docker/for-linux/issues/689
Any help would be appreciated :)

There is a file called cpus that you can copy from /sys/fs/group/cpuset and rename as needed. Most likely though the /docker directory doesn't exist because /sys is read only.
You can copy everything from /sys/fs/cgroup to a new directory under your home directory and then use mount -o bind to mount the new directory at that location and have it be writable so you can make the missing files and folders under there


expose pc signaling state

signaling state is necessary for implementing perfect negotiation according to https://w3c.github.io/webrtc-pc/#perfect-negotiation-example

hmm this already exists not sure how i missed it 😵


commands usable without user/group

i didn't notice any issue
i've been able to use commands only by setting perms to the default group, without needing to create any group neither user, like this:
set scr_mm_commands "1"
set scr_mm_groups ""
set scr_mm_perms_default "*"

i didn't add the code from https://github.com/cato-a/CoDaM_MiscMod/issues/19#issuecomment-1812544542 not to make any collision with your file
thank you very much

for information i see i need to keep default defined in scr_mm_groups not to get the "No such command..." error when using my custom command (made with the CoDaM_CustomCommands repo)

That is because the group must be "defined" before it's overridden.
https://github.com/cato-a/CoDaM_MiscMod/blob/0dcee77651f6218f8e942556b18d0ca7da72787b/___CoDaM_MiscMod/codam/_mm_commands.gsc#L12-L18
In CustomCommands I guess you could override like with this:
https://github.com/cato-a/CoDaM_MiscMod/blob/0dcee77651f6218f8e942556b18d0ca7da72787b/___CoDaM_MiscMod/codam/_mm_commands.gsc#L34-L35


Add check for GCS file upload exist

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with the jira ticket associated with the PR.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.
[ ] I've updated the README with the added features, breaking changes, new instructions on how to use the repository. I updated the description of the fuction with the changes that were made.

Release planning

[ ] I've decided if this PR requires a new major/minor/patch version accordingly to
semver, and I've changed the name of the BRANCH to release/_ , feature/_ or patch/* .

What
Adding a check to see if the stellar-etl exported data file was actually upload and exists in GCS by checking for the file in GCS.
Why
There have been times that the stellar-etl task in airflow has failed to upload a file to GCS and did not fail the task. This should prevent that scenario from happening again.
Known limitations
It is in theory a redundant check but performance impact is negligible

Need to test after logging issue is fixed in Airflow

This looks good. nit suggestion: To also verify size of the file is > 10b or something to ensure file is not empty
But defer to you whether that's really needed or not

Actually the files can be empty in the case there is no record for a time range 😅
Example:
https://console.cloud.google.com/storage/browser/_details/us-central1-test-hubble-43c3e190-bucket/dag-exported/scheduled__2024-07-25T00:00:00%2B00:00/changes_folder/708319-708382-claimable_balances.txt;tab=live_object?project=test-hubble-319619

Actually the files can be empty in the case there is no record for a time range 😅

Alright, then i take my nit suggestion back


Finish cw-orch integration

Continuation of https://github.com/DA0-DA0/dao-contracts/pull/831

Fixes merge conflicts
Fixes lints
Adds wasm_test feature to test_contracts/tests.rs to avoid wasm build from basic.yml
Fixes schema diff
Adds #[cfg(not(target_arch = "wasm32"))] to cw_orch contracts for wasm compilation in basic.yml
Bumps workspace optimizer version to 0.16.0

Bonus:

Updates just lint to match basic.yml commands

Looking good, just need to get CI to pass. 💪

Looks like to fix integration tests we just need to bump the rust version in CI?
error: package `prost-derive v0.12.6` cannot be built because it requires rustc 1.70 or newer, while the currently active rustc version is 1.69.0-nightly
Either upgrade to rustc 1.70 or newer, or use
cargo update -p<EMAIL_ADDRESS>--precise ver
where `ver` is the latest version of `prost-derive` supporting rustc 1.69.0-nightly
error: Recipe `integration-test` failed on line 21 with exit code 101
Error: Process completed with exit code 101.

Looks like to fix integration tests we just need to bump the rust version in CI?
error: package `prost-derive v0.12.6` cannot be built because it requires rustc 1.70 or newer, while the currently active rustc version is 1.69.0-nightly
Either upgrade to rustc 1.70 or newer, or use
cargo update -p<EMAIL_ADDRESS>--precise ver
where `ver` is the latest version of `prost-derive` supporting rustc 1.69.0-nightly
error: Recipe `integration-test` failed on line 21 with exit code 101
Error: Process completed with exit code 101.

we're fixing this over in #859

@hard-nett  is gonna add some stuff later today too

Ok we should be good now.
@hard-nett latest changes were to establish a centralized framework for testing in /scripts
https://orchestrator.abstract.money/setup/workspace/setup.html#final-project-structure

any suggestions for fixing the test-tube integration tests running out of space?

any suggestions for fixing the test-tube integration tests running out of space?

not too sure for getting around the ci vm error, but  would you agree we can now replace the test-tube logic with cw-orch entirely?

any suggestions for fixing the test-tube integration tests running out of space?

not too sure for getting around the ci vm error, but  would you agree we can now replace the test-tube logic with cw-orch entirely?

Definitely. This should help us get everything on the same version as well, and it should help with the CI storage issue.


download all search results?

Is it possible to download all search results, automatically?

Actually, I don't plan to download all the books from the results. However, I will add an option to download multiple books with a single command.
Like libgen-cli "harry potter" --fiction --md 6 14 21

are you also able to add in nonfiction? What does "-md 6 14 21" do?

I haven't created this command yet, but it allows me tdownload more than one book from the results. For example, it will download for books id 6 14 21 in the list

I haven't created this command yet, but it allows download more than one book from the results. For example, it will download for books id 6 14 21 in the list

great! I'll keep an eye out for that change. Thank you!


Cannot Pair the blinds

Hardware
ESP32
Firmware version
v2.4.1
Application version
v2.4.1
What happened? What did you expect to happen?
After factory reset I cannot pair any blinds
How to reproduce it (step by step)
1. Paired three sets of blinds but copied the remote ID and used the same ID in the App
2. It worked but the control and App get out of sync
3. Remove all blinds from the App and Factory reset all blind motors
4. Try to re-add he motors with different ID numbers ( Unique now )
5.
The ESP/RADIO unit is no more than 6 or 7 feet from any blind.

Hmm.  So your ESPSomfy RTS device has been transmitting in the past? Is that correct?  Just to be sure when you long press on the prog button on the remote do you get a jog?

Hi, Yes, it has been transmitting in the past and yes a long press on the physical remote results in a Jog, just nothing when I press the "Pair Shade" tried pressing that bot short repeatedly and long in case it helps but I never get a jog.

Which motors are these?   Some motors require the endstop limits to be set prior to pairing any other remotes on initial install and after a factory reset.

Not Exactly sure, They are listed as 0.7nm Liion battery motors, they are roll up blind motors if that helps narrow it down. I could take the blind down and try to find the label if needed but I did set all the endstops with the remote prior to trying to pair them.

Did these say Somfy in big letters on the tube?

Yes - This is the first unit https://www.somfypro.com/products/-/e-cat/1240278/Roll_Up_24_WireFree_RTS_Li-ion
On The Tube it says SOMFY on one side, on the other it says 1240278B ROLL UP 24 WF RTS LI-ION

In the instructions the orange led on the motor should be blinking when the memory is open.   Then the green led on the motor should blink 5 times when ESPSomfy RTS is recognized.  Are you seeing the orange led blinking?

The Orange Led does blink but it says in that state, when I press the "prog" button in ESPSomfy, nothing changes, after a few minutes the blind jogs and the orange light stops blinking.

Try changing the address to something else on the shade definition and try again.  Also, please double check your wiring to make sure nothing came disconnected especially with GDO0 - TX pin or changed from when it was sending in the past.  This should just be working.

Changed the address, but exactly the same behaviour, the new address will not clash with anthing from the remote as I notice all the addresses the radio log sees from the remote are 8 digit, the default and updated address on ESPSomfy blind definition are 6 digit. I Checked the wiring, everything firmly in place, nothing hardware wise has changed unless somehow the radio transmitter has failed but that wouls sem like an awfully big co-incidence. Howeverr, if I go back to using the remote's address then it still doesnt work so maybe that what it is ?

Give it a shot.  It is sending the proper frames.  I assume you held down the prog button on ESPSomfy RST when you were trying pair.  Reading the instructions there are multiple cases that when pressing the button with the paper clip that it blinks the leds.  Are you sure the process you are using is correct.  Somfy does this a lot where the same response means different things depending on what you did to get it to jog.  For instance, pairing and unpairing are the same process.

There are many mentions of prog buttons etc so perhaps I am misundrstanding. When we get  to adding the blind it ( I think ) refers to pressing the prog button on the back of the physical remote, then to pair I press te button on screen on the ESPSomfy interface ?

Yes if you press and hold that button in ESPSomfy RTS it will send a longer frame series.  There is also a pairing scenario where you use the prog button on the motor head and a paper clip.  The doc also refers to a remote as a control point.

I could only find the prog button option on the motor for straight after a reset. I did a reset and re-paired with remote but the same.
I bought another radio module , same, I wired it the DSUN way when it didnt pair but then I dont see anything in the Radio logs. I re did the wiring a couple of times, nothing. I have ordered another ESP32 board as a last option, will try tomorrow.

If you do not have a DSUN module then it should not be wired that way.  It will say DSUN on it and most likely be green instead of blue.   The prog output you have from the remote is identical to the output that is being sent from ESPSomfy RTS so I am not sure why it is not pairing.  Is the shade definition set to RTS 56-Bit?

The DSUN wiring was a long shot for sure, and bothe radio modules look identical to your pictures. The shade definition is set to 56bit.

I had the exact same issue, however the solution was re-assigning the RX and TX to GPIO16/17 (RX2/TX2) pins.
It seems like there is an issue when using GPIO12/13 on some clone ESP32 DEV KIT v1 modules


Support for Pandas Dataframe and Series

This PR is attempting to add support for Pandas Dataframes and Series directly.
Resolves #125

Perhaps we could reduce the scope of this somewhat? Only support DataFrames for X and Series for y?

Firstly, panda_handla is a 10/10 choice for variable name 👌
As a first pass, I think it's okay to assume y is a Series object for now. However, my initial thought is that we would want to extend support to Dataframe as well. It's probably also a safe first pass assumption that even if y is a dataframe, it is only 1 column for now. I believe some splitting techniques basically perform KS or SPXY or extrapolation based on the target value and this would be easiest to implement if there is only one target value per entry.
I'll be pretty busy this week, but am happy to schedule a call sometime if it's helpful to discuss details about how to implement this feature.


Scripts to imports + general "options" property

Moved the script imports from granite-c3.html to their own files and changed them to HTML imports. This should help prevent collisions in script imports.
Added an options property so that it is possible to create a js object and pass in the values. Much faster way to write. Additionally, if c3 is updated to expose new values, we won't have to go through the work of exposing them.
e.g. the interaction property is not exposed.

Thanks a lot!


Separate dev / test setup scripts from general provider setup

cli has varius dev stuff
tasks file has dev stuff (e.g. gen mnemonic)
tests imports various of the two above
Some / all of this should be pulled out into own section (like we do with the tests)

need to add a tsconfig.test and tesconfig.dev for including corresponding sections of the src code depending on your situation (e.g. dev'ing / testing / building)
Need corresponding npm scripts for this too

This should be done as part of the separate dev package. tsconfig.test.json has been added in the meantime


Doc Fixes - forc-documenter, assembly, tuples, smart-contracts link

Wanted to do some quick docs fixes and decided to merge them all into one PR as 4 less than 10 line PRs felt a bit spammy. (Can break up if needed though)
This fixes
#1277
#1271
#1270
#1156
Tried to keep with docs style but if any stylistic or errors I missed are there lmk and I can get them resolved.

4 less than 10 line PRs felt a bit spammy

Just for the record, I don't think there's a PR size too small for @adlerjohn :)


Ensure that older JDBC clients are compatible with current Presto server

@findepi looking for an ideas what tests should be in place to ensure that we are good.

@electrum @martint do you remember any specific JDBC compat problems
we should be able to reproduce with this test?

@electrum @martint do you remember any specific JDBC compat problems
we should be able to reproduce with this test?

https://github.com/prestosql/presto/issues/1787#issuecomment-644387720

#1787 (comment)

Thanks!
It seems timestamp is covered by the test being added here, but not  with the various precisions.
And we should also cover timestamp with time zone as well.
Anything else? Do you remember any problems we had, before timestamps?
I vaguely remember Mongo ObjectId and JSON representation, but not
enough to know what to expect... (@wendigo can you test cover that too?)

Here's another one we should be able to catch with these tests: https://github.com/prestosql/presto/pull/4408

Requires https://github.com/prestosql/presto/pull/4475.

AC @findepi

Merged, thanks!


TRON and TRX-10 token support

Implementation of TRON and TRX-10 currencies support.
Useful links:

Full API documentation
https://github.com/tronprotocol/Documentation/blob/master/TRX/Tron-exchange.md
https://developers.tron.network/docs/tron-grid-intro

https://developers.tron.network/docs/tron-grid-intro

@mod @ysv and @mnaichuk

full api documentation https://github.com/tronscan/tronscan-frontend/blob/dev2019/document/api.md

Hey @ulshare, I edited your issue, because it was messy.
We will get back to this feature suggestion in some time, but for now it is postponed.

Any more thoughts on adding TRC10/20?
Thanks


Ladybug is not showing the whole work flow

When I add "parallel" and "maxChildThreads" attributes to the pipe "ArchiveRDWRecordsetsAndRDWRecords" which is a ForEachChildElementPipe, I don't see the flow of this pipe any more (See above picture), this pipe is executed, the output is correct, but just don't see what is going on. And if I remove those two attributes, the work flow of this pipe appears again as follow:

This should be fixed with https://github.com/ibissource/iaf/pull/1351


OAK-10739 : Provide support for FullGC in Mongo DocumentStore

Note that the plan is to do a "merge commit" for this (i.e. not via squash), as it has a lot of useful commit history.

Also note that this PR brings in the fullGC functionality completely disabled by default. There will still be more hardening time needed - during which this feature is disabled by default in trunk. It requires to be explicitly be enabled by a feature toggle.

I started to read, and it's a big change.
Without knowing the details of the design beforehand, it's hard to understand what it does (but that's just a consequence of the complexity of the system).
That said, it would be cool if we could trim down changes to the bare minimum; I see quite a few cosmetic changes (whitespace, static imports, final keywords etc) that do not seem to have anything to do with the change. It would be good if we could reduce the amount of these changes.

Agree, I think we started letting some minor, unrelated improvements slip in, and we shouldn't have. I'm +1 for removing them.

I believe most of the cosmetic changes have been reverted and the PR is ready for review again.

@stefan-egli, is it really a good idea to do a merge commit? These are 160 commits and I would assume that many of them are intermediate changes or even reverted later. If we do no delete the branch, nothing gets lost, even with a squeeze commit.

@mbaedke  yea I had second thought there as well. I'm fine with squeeze as well. @rishabhdaim , @Joscorbe ?

@mbaedke yea I had second thought there as well. I'm fine with squeeze as well. @rishabhdaim , @Joscorbe ?

I am fine with squashing too.

previous, direct commit was just a fix for a previous revert - aka a detail

I'm fine with squashing too @stefan-egli @rishabhdaim.


Handle LTO with an rlib/cdylib crate type

In the case that LTO is happening but we're also generating a
cdylib/rlib simultatneously that means that the final artifact will use
the rlib but the cdylib still needs to be produced. To get this to work
the cdylib's dependency tree needs to be compiled with embedded bitcode.
The cdylib itself will be linked with the linker because we can't LTO an
rlib+cdylib compilation, but the final executable will need to load
bitcode from all its deps.
This is meant to address rust-lang/rust#72268

r? @ehuss
(rust_highfive has picked a reviewer for you, use r? to override)

:+1:
@bors r+

:pushpin: Commit b45fd8ff0af26cc8f196f78bf01fc83b84a3face has been approved by ehuss

:hourglass: Testing commit b45fd8ff0af26cc8f196f78bf01fc83b84a3face with merge 500b2bd01c958f5a33b6aa3f080bea015877b83c...

:sunny: Test successful - checks-azure
Approved by: ehuss
Pushing 500b2bd01c958f5a33b6aa3f080bea015877b83c to master...


[svg] displayed on windows

Hi,
i clone your project on windows 7 and when i launch the browser on localhost:1337, the result is [svg] and no svg chart displayed.
Any idea ?
Best regards
Bruno

Check the dependencies version
$ npm ls
and be sure that xmldom has the version 0.1.19. The problem is in the versions (>0.1.19)

thks,  it s works like a charm :)
2016-05-17 12:58 GMT+02:00 Michele Di Salvatore<EMAIL_ADDRESS>
Check the dependencies version
$ npm ls
and be sure that xmldom has the version 0.1.19. The problem is in the
versions (>0.1.19)
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/Objectway/d3-server-renderer/issues/3#issuecomment-219685275


Shader syntax highlighting breaks when preprocessor variable is undefined (regression 4.3-dev6)

Tested versions

Reproducible in 4.3-dev6
Not reproducible in 4.3-dev5

System information
Godot v4.3.dev6 - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3080 Laptop GPU (NVIDIA; <IP_ADDRESS>33) - 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 Threads)
Issue description
In 4.3-dev6, checking for an undefined shader preprocessor variable with #ifdef causes the remainder of the script to lose its syntax highlighting, starting with the #endif line. In 4.3-dev5, the rest of the script would be highlighted as expected. This seems to only affect syntax highlighting, as the shader I discovered this with in my project still compiles and runs correctly.
4.3-dev5

4.3-dev6

Steps to reproduce

Create a new shader script
Define a shader preprocessing variable using #define VARIABLE_NAME
Place code inside a check for that variable using #ifdef VARIABLE_NAME (shader code here) #endif
Comment out the line that contains #define VARIABLE_NAME
Note that, starting with the #endif line, the remainder of the script loses its syntax highlighting

Minimal reproduction project (MRP)
shader-syntax-highlighting.zip

Bisecting points to #90161 as the culprit

CC @magian1127

Highlighting /** */ and /* */ conflicts.
It seems that I need to modify the code highlighting style to match that of GDScript.
We can start by disabling the highlighting for /** */ and temporarily using the same color as /* */.
If there’s no urgency, I’ll submit a pull request later.


[FEATURE] Automated releasing for new versions with goreleaser

Is your feature request related to a problem? Please describe.
Yes, the current process of releasing new versions of the ntop plugin is manual and time-consuming. Each release requires manually compiling binaries for different platforms, packaging them, and uploading to GitHub releases. This manual intervention is prone to errors and inconsistencies, which can lead to delays in availability and potential issues for users trying to install or upgrade ntop.
Describe the solution you'd like
I would like to automate the entire release process using GoReleaser. This tool should handle the compilation of binaries for supported platforms (Linux, Darwin, Windows, across amd64 and arm64 architectures), packaging these binaries along with necessary files (like LICENSE), and publishing them to GitHub releases. The process should be triggered automatically by tagging a new version in the Git repository. This automation would streamline releases, ensure consistency, and significantly reduce the time and effort required to make ntop available to users.
Describe alternatives you've considered
An alternative considered was using CI/CD pipelines with custom scripts to automate parts of the release process. While this could automate compiling and uploading, it lacks the comprehensive features of GoReleaser, such as handling versioning, changelog generation, and creating platform-specific archives. Custom scripts would also require more maintenance effort as the project evolves.
Additional context
Automating the release process with GoReleaser would not only improve the efficiency and reliability of the ntop release cycle but also allow contributors to focus more on development rather than operational tasks. By reducing the barrier to releasing new versions, we can ensure that ntop users have timely access to new features and fixes. Implementing this feature would be a significant step toward a more robust and developer-friendly project infrastructure.

I did write something and will push a plugin for krew but I've read that section in Krew docs "Import authentication plugins (Go) ref. https://krew.sigs.k8s.io/docs/developer-guide/develop/best-practices/" and we must use "k8s.io/client-go/plugin/pkg/client/auth" instead of client-go pkg and we should add -h/--help arguments before publish app with krew.


[WEB-SDK] - Add Payment Method with Dynamic Field Rendering - Swish

The Hyperswitch SDK is a versatile tool built to streamline payment integration for developers. It simplifies the process of adding multiple payment methods, allowing you to quickly implement support for various gateways without the need to manually integrate each one. With Hyperswitch, you can efficiently manage payments across platforms, reducing complexity and boosting development speed.
Getting started

Get familiar with ReScript.
Check the README.md for project structure and setup instructions.
To setup locally, follow these steps

#  Clone repository
cd hyperswitch-web
yarn install
yarn run server     # This starts the mock server
yarn run re:start   # In another terminal

# Start Demo App in another terminal
cd hyperswitch-react-demo-app
yarn install
yarn run start        # This starts the demo app

Description:
We are looking to implement a new payment method in our WebSDK that supports dynamic field rendering. The goal is to allow the backend to define the fields required for the payment method and have the frontend WebSDK render these fields dynamically based on the response.
This feature should be flexible enough to handle different payment methods, each potentially requiring different types of input fields (e.g., text fields, dropdowns, checkboxes, etc.).

Requirements:

Payment Method Integration Details:
In this section, we provide details on the payment call response and the confirm call payload for the newly integrated payment method. Ensure you have configured the payment method at Hyperswitch Dashboard correctly. The backend already includes support for this payment method, so no additional configuration is needed.
Payment Method List Response for Swish -
{
  "payment_method": "wallet",
  "payment_method_types": [
    {
      "payment_method_type": "swish",
      "payment_experience": [
        {
          "payment_experience_type": "redirect_to_url",
          "eligible_connectors": ["adyen"]
        }
      ],
      "card_networks": null,
      "bank_names": null,
      "bank_debits": null,
      "bank_transfers": null,
      "required_fields": {},
      "surcharge_details": null,
      "pm_auth_connector": null
    }
  ]
}

Confirm call Payload should look like:
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_oSgOcsPeNXYguzYBI3TADEpdhJo3hgNghiMbvKJOKtfCPgu9krratm3AKgUXCxhB' \
--data '{
	"amount": 6540,
	"currency": "SEK",
	"confirm": true,
	"capture_method": "automatic",
	"capture_on": "2022-09-10T10:11:12Z",
	"amount_to_capture": 6540,
	"phone_country_code": "+1",
	"description": "Its my first payment request",
	"authentication_type": "no_three_ds",
	"return_url": "https://duck.com",
	"payment_method": "wallet",
	"payment_method_type": "swish",
	"payment_experience": "redirect_to_url",
	"payment_method_data": {
 	"wallet": {
   	"swish_qr": {}
 	}
	}
}'

Dynamic Field Rendering:

Based on the backend response, the WebSDK should dynamically generate the necessary input fields.
Each field should be properly validated (e.g., required, length, pattern matching) based on the backend specifications.
Support different types of fields such as:

Text fields (e.g., for name, card number)
Select dropdowns (e.g., for country or card type)
Checkbox fields (e.g., for terms and conditions)

User Inputs:

Once the user fills in the fields, the WebSDK should package the input data and send it back to the backend for payment processing.

Contribution Guidelines:

Fork the repository and create a new branch for your work.
Ensure the WebSDK follows best practices for API integration and field rendering.
Write clean, well-documented code with clear commit messages.
Add unit tests to ensure the dynamic field rendering works as expected.
Make sure to follow our coding standards and contribution guidelines.

Helpful Resources:

Link to WebSDK documentation: WebSDK Docs
Link to the API endpoint specifications: API Docs

Submission Process:

Ask the maintainers for assignment of the issue, you can request for assignment by commenting on the issue itself.
Once assigned, submit a pull request (PR).
Maintainers will review and provide feedback, if any.
Maintainers can unassign issues due to inactivity, read more here.

Refer here for Terms and conditions for the contest.
If you have any questions or need help getting started, feel free to ask in the comments!

Hello! Could you assign this to me? @gorakhnathy7 @sakksham7

pls assign it to me @sakksham7

@st17931 Assigning this to you!


Update compose version to 1.6.0 RC

To fix the issue: https://github.com/JetBrains/compose-multiplatform/issues/4277#issuecomment-1944629343

Released in 1.4.0-rc01


Invalid AC Temperature Range

Describe The Bug:
Allows temperature control out of the supported value ranges on RAC_056905. Available range in home app is 16 to 30 and it allows setting 0.5 values while AC doesn't support it.
To Reproduce:
Use temperature slider in home app to access the unavailable ranges.
Expected behavior:
Temperature slider should show only support the available range, which in my case 20-28.
Plugin Config:
{
    "country": "",
    "language": "",
    "auth_mode": "token",
    "refresh_token": "",
    "username": "",
    "password": "",
    "devices": [
        {
            "id": "",
            "name": "Air Conditioner 2",
            "type": "AC",
            "serial_number": "",
            "ac_mode": "BOTH",
            "ac_swing_mode": "BOTH",
            "ac_temperature_sensor": true,
            "ac_fan_control": false,
            "ac_temperature_unit": "C",
            "ac_buttons": []
        },
        {
            "id": "",
            "name": "Air Conditioner 1",
            "type": "AC",
            "serial_number": "",
            "ac_mode": "BOTH",
            "ac_swing_mode": "BOTH",
            "ac_temperature_sensor": true,
            "ac_fan_control": false,
            "ac_temperature_unit": "C"
        }
    ],
    "thinq1": false,
    "refresh_interval": 60,
    "platform": "LGThinQ"
}

Screenshots:

Environment:

Plugin Version: v1.6.3
Homebridge Version: v1.7.0
Node.js Version: v20.11.0
NPM Version: 10.2.4
Operating System: Raspberry Pi OS

I have failed to find where the min/max/step values for each model is stored in the device payload, my assumption is that the application has them hardcoded according to the model number.
I think it would be better if we can set them in the json config in as a string in the format of min,max,step for my device case it would be 16,28,1 for Heat and 20,30,1.
But I'm not sure if HomeKit supports setting different ranges for each mode.

can you share your device data?
homekit can have different range setting for cooling and heating

The ranges for my device in ThinQ app is:
Heat from 16c to 28c with 1c increments
Cool from 20c to 30c with 1c increments
I notice also that the range changes when other functions are enabled.
Is there any other data that would be helpful?

device data json in debug logging, they have device model json and we can extract min/max from this

{   "modelAppType": "NUTS",   "brandType": "common",   "deviceId": "f89ebcc0-2d00-1435-a61b-4cbad730c287",   "deviceType": 401,   "modelName": "RAC_056905_WW",   "subModelNm": null,   "sensorType": null,   "alias": "Air Conditioner 1",   "deviceCode": "AI01",   "networkType": "02",   "tftYn": "N",   "guideTypeYn": "Y",   "guideType": "RAC_TYPE1",   "pccModelYn": "N",   "autoOrderYn": "N",   "drServiceYn": "N",   "ssid": "TP-Link_56B4",   "timezoneCode": "UTC",   "timezoneCodeAlias": "UTC",   "sdsGuide": "{\"deviceCode\":\"AI01\"}",   "newRegYn": "N",   "remoteControlType": null,   "fareTarget": null,   "area": "127159",   "sleep": null,   "deviceState": "E",   "rmsClientId": null,   "regDtUtc": "20240121202441000",   "regIndex": 0,   "blackboxYn": "Y",   "groupableYn": "Y",   "controllableYn": "Y",   "combinedProductYn": "N",   "masterYn": "Y",   "snapshot": {     "airState.windStrength": 8,     "airState.wMode.lowHeating": 0,     "airState.diagCode": 0,     "airState.lightingState.displayControl": 1,     "airState.wDir.hStep": 0,     "mid": 207282178,     "airState.energy.onCurrent": 50,     "airState.wMode.airClean": 0,     "airState.quality.sensorMon": 0,     "airState.miscFuncState.antiBugs": 0,     "airState.tempState.target": 22,     "airState.miscFuncState.autoDryRemainTime": 0,     "airState.operation": 0,     "airState.wMode.jet": 0,     "airState.wDir.vStep": 0,     "timestamp":<PHONE_NUMBER>346,     "airState.powerSave.basic": 0,     "airState.quality.PM10": 0,     "fwUpgradeInfo": {       "upgSched": {         "upgUtc": "0",         "cmd": "none"       }     },     "static": {       "deviceType": "401",       "countryCode": "XX"     },     "airState.miscFuncState.Uvnano": 1,     "airState.quality.overall": 0,     "airState.tempState.current": 23,     "airState.miscFuncState.extraOp": 0,     "airState.reservation.sleepTime": 0,     "airState.miscFuncState.autoDry": 0,     "airState.reservation.targetTimeToStart": 0,     "meta": {       "allDeviceInfoUpdate": false,       "messageId": "mcDsKO32Q8KVeqQwa2h1NA"     },     "airState.quality.PM1": 0,     "airState.wMode.smartCare": 0,     "airState.quality.PM2": 0,     "online": true,     "airState.opMode": 4,     "airState.reservation.targetTimeToStop": 0,     "airState.filterMngStates.maxTime": 0,     "airState.filterMngStates.useTime": 0   },   "manufacture": {     "inventoryOrg": "EAT",     "macAddress": "4C:BA:D7:XX:XX:XX",     "manufactureModel": "S4-W18KLRMA",     "manufacturedAt": "2023-01-17T05:21:34+00:00",     "registeredAt": "2023-01-17T06:05:42.459750+00:00",     "salesModel": "S4-W18KLRMA",     "serialNo": "301TKUR4XXXX"   },   "online": true,   "platformType": "thinq2",   "homeDeviceOrder": -1,   "roomDeviceOrder": -1,   "ownershipYn": "Y",   "modelJsonVer": "13.89",   "**modelJsonUri**": "https://objectcontent.lgthinq.com/2f786c1f-55ec-493a-b2e3-2214a29d2e28?hdnts=exp=1769135674~hmac=bae118d77e7f54b9411c32ecb9806cf657799e9caeb476c21ad0164762312290",   "appModuleVer": "17.78",   "appModuleUri": "https://objectcontent.lgthinq.com/6f9e5106-2098-4fff-8382-44224a29519d?hdnts=exp=1761876104~hmac=dab9befc1797f38e4810be383b21a85f2f907fb843b24d09d46d550cd5213ac4",   "appRestartYn": "Y",   "appModuleSize": "12867303",   "langPackProductTypeVer": "97.4",   "langPackProductTypeUri": "https://objectcontent.lgthinq.com/de179906-32ea-43e6-819b-e3004dcbf8ac?hdnts=exp=1770945840~hmac=030f2a30fd959eee006abd9d6496f80f532d3cf4a0428102e1f9960f5940e70d",   "langPackModelVer": null,   "langPackModelUri": null,   "roomId": "168099967585225981",   "fwInfoList": [     {       "checksum": "00006C65",       "order": 1,       "partNumber": "SAA38690472"     }   ],   "modemInfo": {     "appVersion": "clip_hna_v1.9.198",     "modelName": "RAC_056905_WW",     "modemType": "RTK_RTL8711am",     "oneshot": "y",     "ruleEngine": "y",     "size": 1572864   },   "modemConfig": {     "online_check": "y"   },   "existsEntryPopup": "N",   "fwVer": null,   "modemVer": "clip_hna_v1.9.138",   "subDeviceCount": 0,   "firebaseLogKey": "P:SD",   "cardType": "Large",   "cardControl": "Control",   "detailDeviceCode": null,   "upgradableYn": "N",   "autoFwDownloadYn": "N",   "homeMovableYn": "Y",   "protocolVersion": null,   "btAddress": null,   "isTLV": null,   "jsonList": null,   "mdFotaYn": "Y",   "demandType": "RTK_RTL8711am" }
This is the device info and below is the file referenced from modelJsonUri:
2f786c1f-55ec-493a-b2e3-2214a29d2e28.txt

this one matched your provided information
"support.coolLowLimit": {
      "data_type": "enum",
      "value_mapping": {
        "0": 0,
        "20": 20
      }
    },
    "support.coolHighLimit": {
      "data_type": "enum",
      "value_mapping": {
        "0": 0,
        "30": 30
      }
    },
    "support.heatLowLimit": {
      "data_type": "enum",
      "value_mapping": {
        "0": 0,
        "16": 16
      }
    },
    "support.heatHighLimit": {
      "data_type": "enum",
      "value_mapping": {
        "0": 0,
        "28": 28
      }
    },

Yes, that seems to be correct.
I wonder if they provide the steps information anywhere in that file as this AC units doesn't support setting temperatures in half degrees even though its sensor supports that.

I published new test version v1.8.2-test.1, could you try test it?

I'm running 1.8.3, I'm no longer able to set 60f, min is now 64f.
Will this thread address custom min max?

I have updated to 1.8.3, The new range seems to be working on Homebridge web UI but in Home app it's still not reflected. Is there anything to be done from Home app for it to update?

Range is updated successfully now.
It still allows setting temperatures in half degrees which is not supported by the device.

IDK if this is related... I'm getting an error in the log now when the ac is turned on.  I'm also not able to set the  Cool temp to 60. minimum is now 64.
[4/4/2024, 4:17:42 PM] [homebridge-lg-thinq] This plugin generated a warning from the characteristic 'Cooling Threshold Temperature': characteristic was supplied illegal value: number 15.77 exceeded minimum of 17.77. See https://homebridge.io/w/JtMGR for more info.
[4/4/2024, 4:17:42 PM] [homebridge-lg-thinq] This plugin generated a warning from the characteristic 'Cooling Threshold Temperature': characteristic was supplied illegal value: number 15.77 exceeded minimum of 17.77. See https://homebridge.io/w/JtMGR for more info.

@JasonGoldenDDT please check your device data in debug logging, I need modelJsonUri

Sure,  here's what I've got:
https://objectcontent.lgthinq.com/8b0c2833-99c7-4201-b7b4-145a41291222?hdnts=exp=1764735072~hmac=94c936fe15720c779d91447c578816bd0d7bd3b6177a7b0c4002d86d4e471c35
I'm running version 1.8.3

@JasonGoldenDDT I just released v1.8.4 to fix your issue

Thank you. I've stopped using this plug-in because LG's servers are slow making it unusable.


Bug

Describe the bug
After successfully creating a new pool, new pool will not show up unless user reloads the page.
To Reproduce
Steps to reproduce the behavior:

Create a new pool.
Finish transaction with metamask.
Check if new pool is listed when bottom message says "New Pool Added!"

Expected behavior
New pool should appear.
It can be achieved by adding js to reload pools list from infura when user successfully creates a new pool.
Screenshots

↓New pool appears when page is reloaded by the user

↑New pool appears when page is reloaded by the user
Desktop (please complete the following information):

OS: Mac OS
Browser chrome
Version Version 87.0.4280.88 (Official Build) (x86_64)

Additional context
NA
Wallet address
0x50Eb12BF8911f792F41b94C60584c30372661dF1

it's only for the first pool, as I know about it.
how long did you wait until the refresh? there are 2 blocks to confirm.

it's only for the first pool, as I know about it.
how long did you wait until the refresh? there are 2 blocks to confirm.

it's only for the first pool, as I know about it.
how long did you wait until the refresh? there are 2 blocks to confirm.

it's only for the first pool, as I know about it.
how long did you wait until the refresh? there are 2 blocks to confirm.

It was about 10 seconds.
I guess if it's only for first pool it won't be a big problem.
Thanks for checking!

It was about 10 seconds.
I guess if it's only for first pool it won't be a big problem.
Thanks for checking!


DeployerSuite.TestOneByOneStrategy timed out waiting for job events

FAIL: test_deployer.go:110: DeployerSuite.TestOneByOneStrategy

++ 21:02:35.002 created app pigs-doubt-lucan (dc03584bc3e44e908cbd875ebe399bcd)
++ 21:02:35.431 waiting for job events: map[printer:map[up:2]]
++ 21:02:35.564 got job event: printer 913f76f0-bea1b8356354487bab7c8f11d28e9bfc starting
++ 21:02:37.224 got job event: printer 33d36b3b-7eeac376fa1b4a74be18534f22f76730 starting
++ 21:02:38.734 got job event: printer 33d36b3b-7eeac376fa1b4a74be18534f22f76730 up
test_deployer.go:111:
    deployment := s.createDeployment(t, "printer", "one-by-one", "")
test_scheduler.go:74:
    t.Fatal("timed out waiting for job events: ", expected)
... Error: timed out waiting for job events: map[printer:map[up:2]]

https://ci.flynn.io/builds/20150311205929-abfc609f

Duplicate of #907.


Make add_importer and add_post_importer_plugin override existing importers.

Fixes: https://github.com/godotengine/godot-proposals/issues/3826

Thanks!


If you make a visual smaller in Microsoft Edge, sometimes the left Y axis ends up with cropped labels

This is also an Edge render bug.


Alternative part for Altera 10M02SCE144C8G?

Presumably due to the global chip shortage, the FPGAs listed in the BOM are showing as unavailable everywhere with long lead times. Mouser does not expect any significant stock of these until May 2022!
Could there be an alternative FPGA with the same footprint or is this project effectively stranded? Any advice would be most appreciated. Thanks in advance!

That is a real problem right now. Not only this specific part, but basically the whole chip family is sold out. It seems there are some remaining parts with 16k gates upwards (instead of the 2k), but they cost much more and are not immediately compatible. You would need to modify the PCB to make them fit. Also you need to adjust the firmware to the changed pinout.  All this is quite a major task and not cheap either (€44 instead of €6 for the FPGA alone).

If you are quick, you may get the last assembled board that is available from https://videogameperfection.com/products/commodore-component-video/

Thanks for the reply c0pperdragon. Unfortunately VGP don't ship to the UK due to Brexit issues, I have been talking to Matt on Twitter about this.

Quick update, VGP resolved their issue with UK customs and are shipping again. I was able to source a mod board and fitted it a few weeks ago, it is amazing. I would love to build some of these myself, I had the PCBs made and sourced all the parts... except the actual FPGAs. I really don't know when we're likely to find them for sale again.

Sorry, there is basically no replacement that fits the current PCB design. At mouser there are not even the more expensive parts that could be made to fit by slightly redesigning the PCB.
I guess we have the same problem here as the global automotive industry...

Please don't apologise, this is not in any way your fault. I hope that at some point before VGP's stock runs out, we will all be able to source some of these FPGAs.


[Go Live][May 19]

Push to live

Docs Build status updates of commit 0af33e8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/samples/app-templates.md
:white_check_mark:Succeeded
View

msteams-platform/tabs/how-to/access-teams-context.md
:white_check_mark:Succeeded
View

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


This your work?

These was made from glixzzy lol all credit go to glixzzy

I know that because all the hacks when u use them it says Made By Gliz my twitter lol

he got the hacks from schoolcheats.net so go annoy schoolcheats.net not this repo

Bro can you stfu. Gliz is IP banned on GitHub and said his appeal was denied. IE: You are fake so please stfu.


az interactive: add flag to clear the cache

Describe the bug
az group delete --name mygroup

works as a command, but not inside az interactive.
az group delete --help

returns
Arguments
    --name --resource-group -g -n [Required] : Name of resource group. You can configure the default

This clearly means that either --name or --resource-group is an acceptable flag for the name of the resource group you want to delete.
And az group delete --name mygroup does work.
If you run az interactive and type group delete -- the suggestions are
az>> group delete --name draw-demo
 --name            [Required] Name of resource group. You can configure the default group using `az configure --defaults group=<na...
 --resource-group  [Required] Name of resource group. You can configure the default group using `az configure --defaults group=<na...

This also makes it clear that either --name or --resource-group can be used.
However if you try to run the same command as before, but now in interactive mode, it fails.
$ az interactive
az>> group delete --name mygroup
az group delete: error: the following arguments are required: --resource-group/-g
usage: az group delete [-h] [--verbose] [--debug]
                       [--output {json,jsonc,table,tsv,yaml}]
                       [--query JMESPATH] --resource-group RESOURCE_GROUP_NAME
                       [--yes] [--no-wait] [--subscription _SUBSCRIPTION]

To Reproduce
$ az interactive
az>> group delete --name mygroup

Expected behavior
Group is successfully deleted
Actual Behavior
az group delete: error: the following arguments are required: --resource-group/-g
usage: az group delete [-h] [--verbose] [--debug]
                       [--output {json,jsonc,table,tsv,yaml}]
                       [--query JMESPATH] --resource-group RESOURCE_GROUP_NAME
                       [--yes] [--no-wait] [--subscription _SUBSCRIPTION]

Environment summary

Ubuntu 18
installed based on the official instructions
az --version:

azure-cli (2.0.54)
...

Extensions:
interactive (0.4.1)
...
Python (Linux) 3.6.5

add to backlog


[question] sendCreateCharacter

[Question]
I would like to modify the gender of the bots being created. Any idea what I have to modify for that? I only found following, which doesn't inlcude gender - in GameClient.cs:
public void SendCreateCharacter(int hair, int colour, int tone, int clothe, int eyes)

The tone variable is used to determine the gender.
[0-3]: male
[4-7]: female

wow - never would have thought that - many thanks :D


Millstone: Space travelers hub app

In this milestone 💪

[ ] Setup react app and redux.
[ ] Create routes and view components (Rockets, Missions, My Profile. Used  for the page navigation links and style. active class to indicate which section/page the user is currently on (underlined active navigation link).
[ ]  Fetch data from API and update the Redux store.
[ ] Once the data are fetched, dispatch an action to store the selected data in the Redux store.
[ ] styled the application as per the provided wireframe.
[ ] Render a list of rockets (as per design).
[ ] Render a table with the missions' data (as per design).
[ ] When a user clicks the "Reserve rocket" button the id of the rocket is matched and reserved button appears and the reserve button changes to the cancel reservation button.
[ ] The user can click on the cancel reservation to cancel the reservation
[ ] The user can click on the join mission button to join the mission and the button changes to 'leave mission' which the user can click to leave the mission.
[ ] The reserved rockets and joined mission is then displayed on the 'My Profile' Page.

@TuyishimireEric  Thank you for reviewing our PR and providing valuable feedback: 👍  I have implemented the changes and submitted again.

@jerryowusu  Thank you for reviewing and approving our project

Please, I think there is a mistake to have copied me.
On Thu, Feb 2, 2023, 6:36 PM KASHIF SALEEM @.***> wrote:

@jerryowusu https://github.com/jerryowusu Thank you for reviewing and
approving our project
—
Reply to this email directly, view it on GitHub
https://github.com/Kashif-Saleem-Ghuman/react-group-project/pull/41#issuecomment-1414119209,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3DOH3HQKELZYKNVCY3TVKDWVPWANANCNFSM6AAAAAAUPBN4PU
.
You are receiving this because you were mentioned.Message ID:
@.***>


Can´t find xml comments from vnext/asp.net core projects in production enviroment

In Startup class from project "\test\WebSites\Basic" in "Ahoy" solution, i could observe that in the above code is only possible see the xml comments that sits above the controller's actions in development enviroment...
There is a way to do that in production enviroment?
if (_hostingEnv.IsDevelopment())
            {
                services.ConfigureSwaggerGen(c =>
                {
<EMAIL_ADDRESS>                        GetSolutionBasePath(),
                        _appEnv.Configuration,
                        _appEnv.RuntimeFramework.Identifier,
                        _appEnv.RuntimeFramework.Version.ToString().Replace(".", string.Empty)));
                });
            }

Yep, the sample code only works for dev environment. Take a look at #21, I think there's a solution for prod deploys in there. If you get it working, would be great to add to the example WebSite - I'm happy to accept a PR