Portability with nalgebra

I wonder if every Complex<T> in the implementation could be replaced with ComplexField<RealField = T> or SimdComplexField<SimdRealField = T> trait in nalgebra so that library implementations based on these 2 crates can be more generic and portable. That's a huge change indeed, but I'm still looking forward to the possibility.
BTW, I've seen the issue #85, which seems to be a particular case of above. I don't quite know about nalgebra's SIMD operations and whether its co-op with this crate would slow down much. But I'm interested to how it would work.

I love the idea of making rustfft more interoperable with other crates. This would be a breaking change, so at minimum, we can't do it for another year. After that, I'm torn, because that would be a very, very large commitment.
Something we do in the AVX code to get around the lack of specialization is to have two different numeric traits (one user-facing and one interal), assert that they're the same type with std::any, then just transmute one to the other. Could we take the same approach here, where we expose an API that accepts nalgebra's types, and internally we transmute them to Complex behind the scenes? That would let us put the nalgebra integration in a different crate and avoid such a massive change, while still providing usability improvements to users.
I'll leave this open and think about it.


pywinauto import disables copying from QLabel (PyQt5)

Expected Behavior
When using pywinauto PyQt5 program should be working as expected.
Actual Behavior
When using pywinauto PyQt5 program disables copying text from Qlabel().
Steps to Reproduce the Problem

Copy code below
Run it - you can select and copy text
Uncomment 'from pywinauto import application' and rerun
Now you can select text, but it can't be copied

Short Example of Code to Demonstrate the Problem
      import sys
      from PyQt5.QtWidgets import QGridLayout, QScrollArea, QVBoxLayout, QLabel, QWidget, QApplication
      from PyQt5 import QtGui
      from PyQt5.QtCore import Qt
      # from pywinauto import application

      class TmpApp(QScrollArea):
          def __init__(self, parent=None):
              super(TmpApp, self).__init__(parent)
              widget = QWidget()
              layout = QVBoxLayout(widget)
              self.text = QLabel()
              self.text.setTextInteractionFlags(Qt.TextSelectableByMouse)
              self.text.setCursor(QtGui.QCursor(Qt.IBeamCursor))
              txt = 'ABCDEFGHIJKLMNOPRSTUWXYZ'
              self.text.setText(txt)
              self.txt_layout = QGridLayout()
              self.txt_layout.addWidget(self.text, 1, 1)
              self.txt_layout.setSpacing(0)
              layout.addLayout(self.txt_layout)
              self.setWidget(widget)
              self.setWidgetResizable(True)

      if __name__ == '__main__':
          app = QApplication(sys.argv)
          window = TmpApp()
          window.show()
          app.exec_()

Specifications

Pywinauto version: 0.6.8
Python version and bitness: 3.8.3 64bit
Platform and OS: Windows 10, PyCharm 2021.1.1

The only difference that usually changes Qt5 behavior is single threaded (STA) or multi threaded (MTA) mode of COM subsystem. It can be regulated by sys.coinit_flags set to 0 (MTA) or 2 (STA) before other imports (preferably set sys.coinit_flags first, then import pywinauto, then import PyQt5). Anyway it looks like some bug in PyQt5 or in Qt5 code. We face with Qt5 bugs from time to time and have to add some workarounds.

Workaround with setting sys.coinit_flags = 2 works. Thank you!


Disable checkboxes programatically through custom method

Changed the PR #510 with this new one, which makes no assumption about client data and uses custom method

@jvmonjo Thanks! PR is great but to be honest i don't like the prop name. What do you think of isRowCheckable ? Did you have other proposals ?

I think isRowCheckable  makes total sense. I'll change it right now.

@jvmonjo Please resolve conflict and update api docs

Actually. Giving it a second thought. Shoudn't isRowCheckable return false if the checkbox is disabled?
I think it must be the other way around. It has to be a question which when you respond trueit means that is disabled.

So maybe isRowDisabled ?

You might change default value.
I don't like isRowDisabled because it's generic about row and not about checked mode.

Don't merge yet. I need to double check the new default.

I've just fixed the logic to the new prop default. I think it's now safe to merge if you want.

Sorry about eslint flag. I had to do it to run de dev server. I've already remove it

Please check review and fix eslint rule error


Noting @rfcbot concerns before PFCP has started

Might be nice for team members to be able to note concerns they have when they first read an RFC before some other team member decides to @rfcbot fcp merge/close/postpone a proposal so that they save some time.
Context: https://github.com/rust-lang/rfcs/pull/2442#issuecomment-389652120

although probably makes the data model a bit more complicated.

So I was thinking that you'd add another table top_concern to the schema and it would be per issue... Then, the bot would take those into account when rendering things and checking if an RFC can make progress or not.


Fix Issue 18675 - Missing toHash in std/experimental/checkedint.d

This is a clean version of #6458

Mind the CI failures on Windows:
std\experimental\checkedint.d(492): Error: `@safe` function `std.experimental.checkedint.Checked!(long, Hook1).Checked.toHash` cannot call `@system` function `std.experimental.checkedint.__unittest_L3108_C9.Hook1.hookToHash!(const(long)).hookToHash`

I split the unittest and added an entry for hookToHash in the Hook Table. Also I changed the function a bit, because I couldn't think of a case when the payload has its own toHash function implemented (because checkedint always wraps an integer) so if the hook does not implement hookToHash the built-in function will be used.

@vlasebian

because I couldn't think of a case when the payload has its own toHash function implemented (because checkedint always wraps an integer)

This is not the case. Checked!(Checked!int, ProperCompare) is totally valid.

I made some changes. Hope it's ok now.

Rebased & replaced a use of TypeInfo.getHash with hashOf.

Noting for the record that I disagree with this in concept (as discussed in the other PR) but there's nothing wrong with the implementation.


Improve PackageChooserDialog

The DataGrid for displaying the packages is replaced by a ListBox
control. Another control  (PackageDetailControl) is added to the right
of the list to display detailed information of the package selected from
the list.
Additionally, the following UI changes have been made.

The search box is now showing a watermark and is placed in the top-
left corner.
The "Close" button is redundant so it is now removed.
The nav buttons are moved to the footer region for better aesthetics.
Package source controls are moved to the top right corner.
The "Show pre-release" checkbox is moved closer to the search box.
The "Auto-load" checkbox is combined with the reload button as a
dropdown button menu item.

Some plumbing code changes are made to support the UI changes.

Add IconUrlToImageCacheConverter: This converter can be used to
download an image given an URL. If there's no valid URL, a default
icon is used instead. The images are cached to reduce download time.

Add NumberToStringConverter: This converter can be used to display
download numbers that are larger than 1000 in kilos, megas, gigas, and
teras unit so that it takes less space to display these them.

PackageInfo class now has the following additional fields.

Description
Tags
Summary
License URL
Project URL
Report Abuse URL
Icon URL

Rename PackageRowDetails to PackageDetailActionsControl: This control
shows actions for a package in details view. The actions consist of
opening, downloading, and viewing all versions.

Notes

I moved all of the views related to the package chooser diaglog to PackageChooser folder in the NuGetPackageExplorer project.
I copied the converters and default package icon from NuGet.Client repo. Is that OK? We'll need to credit them somehow...maybe in the About view.
I also used a control for the reload button (SplitButton) from the Extended WPF ToolKit library.

This PR fixes #372.

Quick observation based on the screenshot - I'll look at this PR closer in a bit - can we use an incremental list view to have it auto-load additional pages instead of having a pager at the bottom?
Do we need an auto-load/reload? Can it do what VS does and load based on changing the feed in the drop down?

@onovotny That requires a bit more work and currently I have not found the time to implement that. Perhaps open another issue for that now so we can tackle it at another time?

Do we need an auto-load/reload? Can it do what VS does and load based on changing the feed in the drop down?
Seems like an easy change. I'll make it happen.

Fair enough, first things first, thanks!

Given the scope of this change, I'm creating a new branch, features/package-chooser to centralize this work before it gets pulled into the master.
I'll merge this as-is to there so we can have multiple PR's to that branch until it's ready.

@onovotny Thanks for merging to the feature branch. I would like to address the items pointed out in @campersau's comments. Would I do that in a different PR (from another branch in my forked repository)?

@onovotny Do you have a definition of "ready" for the feature branch? So far, you mentioned the "infinity scroll".

@khaister a different PR to the feature branch would be the easiest thing for addressing the items. Probably easiest to checkout the feature branch and branch from there.
For "ready," I don't have an exact definition, but while infinity scroll is nice to have, I wouldn't consider it a blocker.
As an aside, we probably want to have it auto-select the first package in the list to prevent the right-column from being blank.

One other item -- for string labels, can we add them as resources in the resx file and bind to them? Will make localization easier in the future should someone want to add it.

@onovotny Do you have a convention for naming the branches created from a feature branch?

As an aside, we probably want to have it auto-select the first package in the list to prevent the right-column from being blank.
...
for string labels, can we add them as resources in the resx file and bind to them?

Good ideas, I'll take care of them!


[Bug]: Hardcoded cut-off date for Recent List Updates

Summary
The Recent List Updates section shows all list updates since 2024-05-26.
A different criteria should be used to prevent the Recent List Updates section to endlessly grow.
Note that the pre-open source version was limiting that section to 3 months.

I think we could show the most recent 3 months, and have a collapsed section for a few more months of updates?

That would be even better. It would be a nice way to integrate back the original changelog too.
In the short term however, I think the priority would be to stop the Recent List Updates from cluttering the list at the very least. Depending on how long it would take to implement that, this part could be tracked in a separate issue.


Tensorboard cannot show the projection embedding

Thanks a lot for the great project.
When i open the Tensorboard, the projector cannot show any embedding. May i ask what i can do to correct this issue?
Many thanks

Meet the same problem. It is clear the author did not finish the Embedding within Tensorboard. However, he realized the Embedding visualization using the function plot_z_run(z_run, label,)


galaxyline is a fork

Is this a mistake? It looks like the original project is still maintained
Edit: I realized the maintainer took some time off... Not sure what's the best to do here

This issue has been addressed in #218. Feel free to close.

But the original one is active again. Maybe include both?

Maybe include both?

I think that will confuse many users.
My observation is that glepnir (original author of galaxyline.nvim) is not focusing on galaxyline right now.


PCL optimized for .NET 4.5

Imported Base, updated project.json, cherry-picked and squashed :disappointed_relieved:

Not portable :sweat:

Right.
It took me some time, but I finally got the entire thing to work as intended.

...and now it's perfect :laughing:

It seems that the [Serializable] attribute is no longer a problem?

Exceptions won't serialize in profile 259, just as they don't in profile 328 used in Base.
I did some shim work in https://github.com/AMDL/CommonMark.NET/tree/shim but I'm not sure it's worth the trouble. Note that it would require the user to install the package with a platform-specific implementation in the top-level project.

Would it be possible to somehow check which version would the nuget manager pick for a non-portable .NET 4.5 target project? If it would pick the standalone 4.5 there should not be any problems by leaving the portable 4.5 exceptions as non-serializable.
The problem I want to avoid is someone upgrading the nuget dependency and ending up with the portable version where previously they used the standalone 4.5.

I just verified it. Here are the steps:

copy CommonMark.NET.0.11.0.nupkg $HOMEPATH\AppData\Local\NuGet\Cache
disconnect from the internet
install-package CommonMark.NET

To clarify - nuget picks the 4.5-only version instead of the PCL? If that is so, I will merge this.

That's just how NuGet works. If the project is pure .NET 4.5, 4.5.1, 4.5.2 or even 4.6, and the package has net45, that will always be preferred over portable-*.
So yes, clearly and undoubtedly, NuGet will pick the 4.5-only version.


can not unzip unfolding_app_template_with_examples_0.9.6.zip

I tried both curl and wget to get the zipball. can't unzip. please see the attached picture. Please help to check thanks.

fixed by download from brower.
you can close now. Thanks.


Explore sourcemap support

Looking at https://github.com/evanw/node-source-map-support#node-support I see the following comment.

Note: if you're using babel-register, it includes source-map-support already.

We use both; babel-register is installed in app/addon blueprints and sourcemap support, so this needs to be figured out. According to @davewasmer we want to remove babel-register since it's not production ready.
Also, sourcemaps currently don't work with denali server --debug, see the issue in node https://github.com/nodejs/node/issues/8369

Status: 🚫  Blocked by https://github.com/nodejs/node/issues/8369
Action Items

[ ] Remove babel-register
[ ] Make sure babel transpile is setup for sourcemaps (sourceMaps: 'inline')

@knownasilya - based on the recent updates to the linked Node issue, it sounds like the latest Node + Chrome Canary supports this now. Plus, denali is now compiled via typescript and includes inlined sourcemaps and sources.
Is that all we need for this to work? Is there anything else?

Sounds good to me.


Quantized network will load failed  if contains argminmax layer

We want to keep QAsymmU8 as input, but this makes output have to be QAsymmU8 also in ArmnnQuantizer. When the network is loaded by arm deserializer, it just  silently catch this exception without any log to the console:
throw InvalidArgumentException(descriptorName + ": Output of ArgMinMax layer must be Int32 or Int64.");
We should have argminmax to support QAsymmU,  QAsymmS8 and QSymm16.
Or have a choice to have output format as int32 but input format as QAsymmU8 in ArmnnQuantizer . Right now both input and output format must be same in ArmnnQuantizer.

Hi @ek9852
where are you getting your model from? Can you share it? The output of an argmin/argmax layer has to be either int32 or int64 because argmin/argmax return the index of the smallest or largest element along an axis, not the value of the element.
Best regards,
Mike

I can't share the model, but it is just a unet model with argmax at the end to do semantic segmentation.  When I am running ArmnnQuantizer , i did not use preserve input and output type, so  ArmnnQuantizer force the output from argmax to be in QAsymmU8 also. ArmnnQuantizer does not output any error during the conversion, but there is an exception when the serialized armnn model file  is load with "Output of ArgMinMax layer must be Int32 or Int64"

Hi @ek9852
I just wanted to share some information with you. We have no plans to develop either the Caffe parser or the ArmnnQuantizer further. It's possible that both the Caffe parser and ArmnnQuantizer may be dropped from Armnn in the near future.
Caffe is an older framework that is no longer being developed and we’ve seen a shift to other frameworks.
Our quantizer implementation was intended as a stopgap until other quantization toolkits became available, you might want to look at the quantization tools in TensorFlow or PyTorch.
Best regards,
Mike

Hi @ek9852
I just wanted to share some information with you. We have no plans to develop either the Caffe parser or the ArmnnQuantizer further. It's possible that both the Caffe parser and ArmnnQuantizer may be dropped from Armnn in the near future.
Caffe is an older framework that is no longer being developed and we’ve seen a shift to other frameworks.
Our quantizer implementation was intended as a stopgap until other quantization toolkits became available, you might want to look at the quantization tools in TensorFlow or PyTorch.
Best regards,
Mike

Another note on this: Although we're not going to be adding new features I am looking at the bug you've reported here where the ArmnnQuantizer incorrectly changes the output of argmax/argmin to be QAsymmU8 and hope to have a fix for it soon.

Another note on this: Although we're not going to be adding new features I am looking at the bug you've reported here where the ArmnnQuantizer incorrectly changes the output of argmax/argmin to be QAsymmU8 and hope to have a fix for it soon.

U will encounter same problem for onnx. It is not a caffe specific bug.
Once u added back the missing argminmax layer support to onnx.
Since the argmax layer in compute library only output int32, not int8 or uint7.
BTW deconv support still missing in onnx parser, but I think i should fire a new issue for that.

U will encounter same problem for onnx. It is not a caffe specific bug.
Once u added back the missing argminmax layer support to onnx.
Since the argmax layer in compute library only output int32, not int8 or uint7.
BTW deconv support still missing in onnx parser, but I think i should fire a new issue for that.

Fixed by https://github.com/ARM-software/armnn/commit/c5e5a04bd26c2d1838828ba291464967a3e20f3f

Fixed by https://github.com/ARM-software/armnn/commit/c5e5a04bd26c2d1838828ba291464967a3e20f3f


Add new langauge to my blog

Sorry for this basic question. I recently created a translation in my language for the blog (https://transifex.com). Can I use it by adding them to my project or do I have to wait for merge to master?

@marcingarbarczykapz first of all, thanks for the contribution!
I'm not sure you can pull those locally, but I can easily merge this in the repo
(actually it's to cut 1.0 release)

Would be nice mate


[Feature] Set Expiration and Lointering delay on Geofence

Would be cool to also set the expiration duration, and loitering delay on the Geofence object.
For example:
.setExpirationDuration(Geofence.NEVER_EXPIRE)
.setLoiteringDelay(3000)

i've added this here
https://github.com/exozet/Geolocator/blob/master/Geolocator/src/main/java/com/sprotte/geolocator/geofencer/GeofenceRepository.kt#L95-L97
and can be configured like this: https://github.com/exozet/Geolocator#configuration


[Icon Request] Support for .format.ps1xml & .types.ps1xml

[x] I'm sure this issue is not a duplicate.

[x] I'm submitting an icon request:

Type: extension
Icon Name: file_type_powershell_format.svg & file_type_powershell_types.svg
Sample original Icon:  but a different color
Extensions: .format.ps1xml & .types.ps1xml
Language ids: powershell

Language Extensions: inbox highlighting and also the PowerShell extension

More info:

It would be nice to have another color for .format.ps1xml & .types.ps1xml

A whole rainbow 🌈

Just to complete your issue:

Microsoft - About format.ps1xml
Microsoft - About types.ps1xml

As side point, the Powershell official icon got changed on the latest release (Core 6) as seen on . This is the current official icon.

Don't worry about this, I got it covered. :cake: I will post the design very soon (this weekend hopefully).


feat: allow users to set command to execute

This commit allows users to explicitly set the command to be executed after cd by setting an environmental variable which defaults to ls if not set.
Hopefully you won't mind 😄

thank you for your contribution!


[feat] useLoadingIndicator error

Describe the feature
When calling finish() from useLoadingIndicator, it would be nice to have a error param to show a red (or any other color) loading bar
example:

Additional information

[X] Would you be willing to help implement this feature?
[ ] Could this feature be implemented as a module?

Final checks

[X] Read the contribution guide.
[X] Check existing discussions and issues.

@huang-julien Hello ! Can I solve this problem ?

Hello @H0onnn I've actually already submitted a pull request to address it. I would really appreciate it if you could take a look at my code and provide any feedback or improvements you might have in mind.
#27176

@dethdkn good ! Thank you for the great job you've done :)


Create user interface

Text input
The baseline approach is to prompt each player on their turn to input their move by chess algebraic notation. Said notation is not simple or consistent, but is actually the most minimal possible so parsing it will be a challenge:

[ ] Write a chess algebraic notation reader (this actually includes action notation). In general, what is written is the destination square, like “pawn to E4” is e4. If a piece specification is needed (most common scenario) the piece is specified only, like "Knight to G5" is Ng5. If two pieces of the same type are gunning for the same square, their file is also designated, like "Knight on E file to G5" is <insert-notation-here>. There are more rules.

So let's create two new issues (reader, engine) for the new features which are currently blockers for a UI and a fully functional game.

Sounds good. Priority shall be given on #10 , which I will personally undertake, but feel free to join. This means that the two objectives here are up for grabs if anyone wants to focus on that instead. I will split this issue into two new ones tomorrow.

Issue has been updated @palasso. I leave the game engine on the side for now. Can anyone get the reader done based on the documentation? Probably regex magics will be necessary.


Component:  Locale selector design spec updates

As an adopter or developer on the DDS team I need to know the design specs for Locale Selector? component.
Additional Information

Locale Selector Box Folder

Acceptance Criteria

[ ] A Sketch file is created or updated with the Locale Selector  design and specs
[ ] Create a Box folder for Locale Selector  (if not already there)
[ ] The design specs and pdf version are added to the Box folder
[ ] Links or documentation that needs Locale Selector  specs are updated

Things needing updates in the locale selector visual spec:

[ ] Update copy to reflect copy deck
[ ] Double-check / add interactive states including active on language list
[ ] Replace eyebrow with new link with icon compontent (review with design before finalizing)
[ ] Cross check with functional specs
[ ] Cross check with Storybook

Ran into a few issues closing this issue out. Mainly: Sketch library updates messed up many layer styles. Hopefully fixed.
New Sketch file with specs v1.2.0 can be found here.
PDF of the same can be found here.
—
Changelog:
– Original warning overlay is hidden from artboards
– Copy is updated
– Cards refer to card-component for specs
– HEX values removed
– UI tokens unlinked from expressive library (Carbon only)
– Internal padding rules for breakpoints as per dev added
The outstanding item I did not get confirmation on is whether to replace the eyebrow to link with icon component following Olivia's recent design work #2146. It would make sense to keep things consistent and reusable from a system perspective. Olivia and I agree but would love @wonilsuhibm 's input here.
For reference. From this:

to this? (alignment and copy FPO)

Wonil agreed to with the blue link with icon component instead of the original gray eyebrow. I'll make the updates to the file today and close this issue.


[Gluten-826]fix Inset is empty

Changelog category (leave one):

Bug Fix
Fix inset is empty return logic erro, cause by spark-29100.

When inset is empty, always return false.
test by gluten  ut

Can one of the admins verify this patch?


Unix start script is overwriting the APP_NAME env var value

Expected Behavior
When using the application plugin and running my apps using the generated start script, I expect any environment variable that I set from outside to be available to be consumed by my app.
Current Behavior
If I set a environment variable called APP_NAME, the value for this variable is overwritten by the start script (Unix version only, Windows version works fine).
Context
I run hundreds of containers in a cloud container service, and as a standard in all environments, we always set APP_NAME and APP_VERSION environment variables to be consumed by loggers.
Now that we are migrating to Gradle, we noticed that, regardless of what we set for APP_NAME, Gradle start scripts overwrites this to what it thinks is the app name.
Steps to Reproduce

Create a simple java application that prints the APP_NAME env var
Enable the application plugin and the dist package, unzip it
run APP_NAME=my-custom-name-from-outside ./app
app will be printed, instead of my-custom-name-from-outside

Your Environment
Gradle 7.4.2 in any Unix OS

Any updates on this?
Removing the variable definition seems a no-brainer to me, the variable is not used in the script, the windows counterpart does not have the same variable, and there is a PR with tests.
Anything else I could do to speed this up?

The fact that the windows script do not have the equivalent makes it looks like a clean up indeed. However some apps out there might depend on it. So it could be a breaking change.
Given the above, we can do this but in 8.0. So it will stay around for a while before being fixed and your PR merged.

The real problem is that the script uses uppercase variable names, which are reserved for Shell internal variables and environment variables. This would never have been an issue if proper lowercase variables would be used within the script for all its own variables. I think that the proposed patch for Gradle 8 is not going far enough, and that we should clean up the script more than this.

@Fleshgrinder I agree!
I can submit additional patches after this one is merged.

Just went to rebase the PR, it seems APP_NAME has been removed already.

In commit b85d728c0f5f66408a2ddefb6dd1118006dbe46c


[SPO] [Confirmation modals] Use bootstrap alerts instead of confirmation modals

As already implemented in clinical site and researcher, use the alerts to display confirmation messages.

@Desouler similar with feedback alerts from clinical site. not a priority for the moment

commited


Won'

When compiling I get the following errors:
PulseSensorAmpd_Processing_1dot1.ino:15:18: error: variable or field ‘serialEvent’ declared void
PulseSensorAmpd_Processing_1dot1.ino:15:25: error: expected ‘)’ before ‘port’
PulseSensorAmpd_Processing_1dot1.ino:9:1: error: ‘import’ does not name a type
PulseSensorAmpd_Processing_1dot1.ino:10:1: error: ‘PFont’ does not name a type
PulseSensorAmpd_Processing_1dot1.ino:11:1: error: ‘Scrollbar’ does not name a type
PulseSensorAmpd_Processing_1dot1.ino:13:1: error: ‘Serial’ does not name a type
PulseSensorAmpd_Processing_1dot1.ino:18:4: error: expected unqualified-id before ‘[’ token
PulseSensorAmpd_Processing_1dot1.ino:19:4: error: expected unqualified-id before ‘[’ token
PulseSensorAmpd_Processing_1dot1.ino:20:4: error: expected unqualified-id before ‘[’ token
PulseSensorAmpd_Processing_1dot1.ino:23:1: error: ‘color’ does not name a type
PulseSensorAmpd_Processing_1dot1.ino: In function ‘void setup()’:
PulseSensorAmpd_Processing_1dot1.ino:34:16: error: ‘size’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:35:16: error: ‘frameRate’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:36:3: error: ‘font’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:36:40: error: ‘loadFont’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:37:16: error: ‘textFont’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:38:13: error: ‘CENTER’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:38:19: error: ‘textAlign’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:39:18: error: ‘rectMode’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:40:21: error: ‘ellipseMode’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:42:3: error: ‘scaleBar’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:42:18: error: expected type-specifier before ‘Scrollbar’
PulseSensorAmpd_Processing_1dot1.ino:42:18: error: expected ‘;’ before ‘Scrollbar’
PulseSensorAmpd_Processing_1dot1.ino:43:3: error: ‘RawY’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:44:3: error: ‘ScaledY’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:45:3: error: ‘rate’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:53:15: error: ‘height’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:57:18: error: ‘class HardwareSerial’ has no member named ‘list’
PulseSensorAmpd_Processing_1dot1.ino:57:24: error: ‘println’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:59:3: error: ‘port’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:59:14: error: expected type-specifier before ‘Serial’
PulseSensorAmpd_Processing_1dot1.ino:59:14: error: expected ‘;’ before ‘Serial’
PulseSensorAmpd_Processing_1dot1.ino: In function ‘void draw()’:
PulseSensorAmpd_Processing_1dot1.ino:65:15: error: ‘background’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:66:12: error: ‘noStroke’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:68:8: error: ‘eggshell’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:68:16: error: ‘fill’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:69:12: error: ‘height’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:69:55: error: ‘rect’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:74:3: error: ‘RawY’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:75:10: error: ‘scaleBar’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:80:5: error: ‘ScaledY’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:82:17: error: ‘stroke’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:83:10: error: ‘noFill’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:84:14: error: ‘beginShape’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:85:23: error: ‘ScaledY’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:86:28: error: ‘vertex’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:88:12: error: ‘endShape’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:94:20: error: ‘rate’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:100:4: error: ‘rate’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:104:16: error: ‘strokeWeight’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:107:20: error: ‘rate’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:108:25: error: ‘vertex’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:121:10: error: ‘smooth’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:122:10: error: ‘width’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:122:62: error: ‘bezier’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:129:50: error: ‘text’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:130:23: error: invalid operands of types ‘const char*’ and ‘const char [3]’ to binary ‘operator+’
PulseSensorAmpd_Processing_1dot1.ino:132:43: error: ‘nf’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:135:20: error: ‘mouseX’ was not declared in this scope
PulseSensorAmpd_Processing_1dot1.ino:135:28: error: ‘mouseY’ was not declared in this scope
keyboard_mouse.ino: In function ‘void mousePressed()’:
keyboard_mouse.ino:3:3: error: ‘scaleBar’ was not declared in this scope
keyboard_mouse.ino:3:18: error: ‘mouseX’ was not declared in this scope
keyboard_mouse.ino:3:26: error: ‘mouseY’ was not declared in this scope
keyboard_mouse.ino: In function ‘void mouseReleased()’:
keyboard_mouse.ino:7:3: error: ‘scaleBar’ was not declared in this scope
keyboard_mouse.ino: In function ‘void keyPressed()’:
keyboard_mouse.ino:12:9: error: ‘key’ was not declared in this scope
keyboard_mouse.ino:15:37: error: ‘saveFrame’ was not declared in this scope
scaleBar.ino: At global scope:
scaleBar.ino:84:2: error: expected ‘;’ after class definition
scaleBar.ino: In member function ‘void Scrollbar::display()’:
scaleBar.ino:65:12: error: ‘noStroke’ was not declared in this scope
scaleBar.ino:66:11: error: ‘fill’ was not declared in this scope
scaleBar.ino:67:20: error: ‘rect’ was not declared in this scope
scaleBar.ino:70:18: error: ‘stroke’ was not declared in this scope
scaleBar.ino:71:18: error: ‘strokeWeight’ was not declared in this scope
scaleBar.ino:73:25: error: ‘ellipse’ was not declared in this scope
scaleBar.ino:74:17: error: ‘strokeWeight’ was not declared in this scope
serialEvent.ino: At global scope:
serialEvent.ino:5:18: error: variable or field ‘serialEvent’ declared void
serialEvent.ino:5:25: error: expected ‘)’ before ‘port’

Nevermind.  I complied it in Processing and it works now.


Add Drupal User Group

Oklahoma Drupalers
3rd Thursdays - 7:30pm-9:30pm
Francis Tuttle Rockwell Campus
https://groups.drupal.org/oklahoma-drupalers

@VeggieMeat Thanks for info on Oklahoma Drupalers. Sorry it took so long to get it up on the site. It's live here now: http://us.techlahoma.org/groups
I took a shot at the blurb, so let me know if you want different wording.
Also, we can add an email address and twitter info if you like.

thank you @ryoe! you've gotten so much going lately :) :hamster: great job
on adding in some temp info for @veggiemeat.
On Mon, Jan 5, 2015 at 11:36 PM, Rick Yoesting<EMAIL_ADDRESS>wrote:

@VeggieMeat https://github.com/VeggieMeat Thanks for info on Oklahoma
Drupalers. Sorry it took so long to get it up on the site. It's live here
now: http://us.techlahoma.org/groups
I took a shot at the blurb, so let me know if you want different wording.
Also, we can add an email address and twitter info if you like.
—
Reply to this email directly or view it on GitHub
https://github.com/techlahoma/techlahoma/issues/47#issuecomment-68828368
.


request: Onyxx Linea Pro

I do not know now if I am right here with my request. I would like to buy this light and found your plugin here. On the homepage of Onyxx this light is controlled with Casambi App. Now my question if your plugin is compatible with this?
Thanks and greetings

Basic functionality of turning it on/off and dimming should work. In rare cases, a small change to the plugin is needed (and I would need your logs to figure out what exactly needs to be changed).
Please note, however, that Casambi announced that the Cloud API (which this plugin uses to access the lights) will no longer be free from July 2022 onwards. We still don't know what that will look like, how much will it cost and whether it will be useable for such a small project at all.

Do not have the light yet. When I have it then I report. Thanks for the info and I hope it does not cost much otherwise I would have to find another alternative. Greetings


Installation with pip succeeds with a failed build when using legacy installation

NOTE: I am filing this issue on behalf of a user who asked for help with this bug in #python on the Libera.chat IRC network
When installing pysqlite3 with a pip that will invoke setup.py directly (i.e. in an environment that does not provide wheel), the exception handler in setup.py will swallow any exception that occurs during a failed build, and the installation will succeed in error, leaving the user scratching their head wondering why the "successful" installation is not functional.
Worse yet, even when the build failure is reported, the reason for the failure is not reported.
Reproduction
An easy way to reproduce this issue is to try to install pysqlite3 in an environment that does not have the necessary headers. Here's a sequence that reproduces the issue in a fresh ubuntu:20.04 Docker image:
$ apt update && apt install python3 python3-pip
# ...
$ python3 -m pip install pysqlite3
Collecting pysqlite3
  Downloading pysqlite3-0.4.8.tar.gz (40 kB)
     |████████████████████████████████| 40 kB 769 kB/s
Building wheels for collected packages: pysqlite3
  Building wheel for pysqlite3 (setup.py) ... done
  WARNING: Legacy build of wheel for 'pysqlite3' created no files.
  Command arguments: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b1ara_c6/pysqlite3/setup.py'"'"'; __file__='"'"'/tmp/pip-install-b1ara_c6/pysqlite3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-q4c8lv38
  Command output: [use --verbose to show]
  Running setup.py clean for pysqlite3
Failed to build pysqlite3
Installing collected packages: pysqlite3
    Running setup.py install for pysqlite3 ... done
Successfully installed pysqlite3
$ python3 -c "import pysqlite3"  # despite the report of a successful installation, pysqlite3 is not available
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'pysqlite3'

Note that this output does indicate Failed to build pysqlite3 and issues a warning that no files were created, but it fails to error.
If we run the install with pip's verbosity turned up, we get more information about what went wrong (in this case, we don't have Python.h)
$ python3 -m pip install -v pysqlite3
# ...
Building wheels for collected packages: pysqlite3
  Created temporary directory: /tmp/pip-wheel-lozvneh0
  Building wheel for pysqlite3 (setup.py) ...   Destination directory: /tmp/pip-wheel-lozvneh0
  Running command /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-9kwwm8h5/pysqlite3/setup.py'"'"'; __file__='"'"'/tmp/pip-install-9kwwm8h5/pysqlite3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-lozvneh0
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.8
  creating build/lib.linux-x86_64-3.8/pysqlite3
  copying pysqlite3/dbapi2.py -> build/lib.linux-x86_64-3.8/pysqlite3
  copying pysqlite3/__init__.py -> build/lib.linux-x86_64-3.8/pysqlite3
  running build_ext
  Builds a C extension linking against libsqlite3 library
  building 'pysqlite3._sqlite3' extension
  creating build/temp.linux-x86_64-3.8
  creating build/temp.linux-x86_64-3.8/src
  x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DMODULE_NAME="pysqlite3.dbapi2" -I/usr/include -I/usr/include/python3.8 -c src/module.c -o build/temp.linux-x86_64-3.8/src/module.o
  In file included from src/module.c:24:
  src/connection.h:34:10: fatal error: sqlite3.h: No such file or directory
     34 | #include "sqlite3.h"
        |          ^~~~~~~~~~~
  compilation terminated.
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Thanks @SnoopJ - I will get this addressed asap.

I didn't look too hard at setup.py but I think if you "just" re-raise the exception it should fix the issue.
That is, assuming there isn't a reason not to do that :sweat_smile:

Verified that this is fixed, version 0.5.0 is up on pypi now.


Missing model class

When trying to run the guided_recovery, the following is called inside test.py:
from models.exe_gan_model import EXE_GAN
from models.stylegan2_co_mod_gan import co_mod_GAN

Where can I get these files?

Hi @rosauravidal
Thanks for your attention.
I have revised the code.
Could you check it again?
Let me know if it can solve the problem.
Thanks!

We can reopen it if we have any issues.


Added ability to specify scrape protocols to accept during HTTP content type negotiation.

This is done via new option in GlobalConfig and ScrapeConfig: "scrape_protocols"

Friendly ping @roidelapluie @beorn7  (:

This is an open door to all sort of bad things. I would not have free text.
Le jeu. 31 août 2023, 00:20, Bartlomiej Plotka @.***> a
écrit :

@.**** commented on this pull request.
In scrape/scrape.go
https://github.com/prometheus/prometheus/pull/12738#discussion_r1310892130
:

@@ -807,10 +809,20 @@ type targetScraper struct {

var errBodySizeLimit = errors.New("body size limit exceeded")
-const (

scrapeAcceptHeader             = application/openmetrics-text;version=1.0.0,application/openmetrics-text;version=0.0.1;q=0.75,text/plain;version=0.0.4;q=0.5,*/*;q=0.1
scrapeAcceptHeaderWithProtobuf = application/vnd.google.protobuf;proto=io.prometheus.client.MetricFamily;encoding=delimited,application/openmetrics-text;version=1.0.0;q=0.8,application/openmetrics-text;version=0.0.1;q=0.75,text/plain;version=0.0.4;q=0.5,*/*;q=0.1
-)
+func acceptHeader(sps []config.ScrapeProtocol) string {

var vals []string
for _, sp := range sps {

switch {

case sp.Equals(config.PrometheusText):

	vals = append(vals, "text/plain;version=0.0.4;q=0.5")

case sp.Equals(config.PrometheusProto):

	vals = append(vals, "application/vnd.google.protobuf;proto=io.prometheus.client.MetricFamily;encoding=delimited")

case sp.Equals(config.OpenMetricsText):

	vals = append(vals, "application/openmetrics-text;version=1.0.0,application/openmetrics-text;version=0.0.1;q=0.75,*/*;q=0.1")

I consider changing to header values for more flexibility and simplicity:
[image: image]
https://user-images.githubusercontent.com/6950331/264486651-67519d7c-2f82-4d31-a5ff-c16134997d08.png
WDYT?
—
Reply to this email directly, view it on GitHub
https://github.com/prometheus/prometheus/pull/12738#discussion_r1310892130,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACHHJRCF6CDZNVUYIQF463XX64C7ANCNFSM6AAAAAA32OPQII
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hm, what bad things?

The alternatives to my proposal are:
B) Multiple enum values like "OpenMetrics1.0.0",  "OpenMetrics0.0.1", "PrometheusText0.0.4" "PrometheusProto" (proto is not versioned) and if new version of something comes in users are blocked (until code is changed). Also more work for us to maintain and update those.
C) Enums for types of format and free form semver version. This gives us ability to  experiment with new versions of formats. More complex code, more flexibility for users.
I guess the benefit of B is that those are formats Prometheus supports and this is clearly guarded by those options.
🤔 @roidelapluie @beorn7

I haven't studied this in detail yet, but I like pragmatic fallbacks, something like:

if the version number exposed by the target doesn't fit exactly, but Prometheus recognizes the protocol, try something "smart" (something like trying the most recent parser for that protocol, but stay within the same major versions if one could be parsed).
if nothing fits, try classic Prometheus text format as the universal fallback (that's what we do right now, don't we?)

@beorn7 I think you meant something else. We don't change parsing here, we only change Accept header that will be passed to clients. It's up to clients to give us something based on our priority as well as what they implement (support).

Yeah, sorry. I'll have a closer look ASAP (which might not be very soon in absolute terms, but let's see if somebody else beats me to it).

I want promethe to only send accept headers that are clearly defined. I do not really care about the enums we are using but let's not allow free text.

Ack, this is what we discussed in person too - moving to enums with version then - will do soon (:


Nav bar: Blog Section can be added and "browse all categories" can have functionality

Is your feature request related to a problem? Please describe.
In our navigation bar, "Browse all categories" button doesn't have any functionality. Clicking on it does nothing. And "blog" also is not taking the users anywhere.
Describe the solution you'd like
I want to add functionality to "Browse all categories" button, so that a dropdown appears listing all the category of items or services we are presenting.
And I want to redirect the user from "Blog" to a page where blogs are there that represents our initiatives or our services and our future expansions.
Additional context
I would prefer to use "alpine.js" for dropdown but I can do it through react too... if you're concerned with alpine.js

@Divyanshu832 blog page is not created yet , I likew your idea , go ahead , level 3

Alright, Do you want me to work on "Browse all category" button too?
And How many of the blogs initially I should attach to the page?

@Divyanshu832 you attach 3 blog on three categories make it responsive , add  styling and pictures you can also use material ui for that. we will discuss about the "Browse all category" button in another issue

So you want like 3 blogs each of categories like, Fashion, Groceries and Electronics?

@MAVRICK-1
I am a GSSOC'24 contributor. I would like to work on  "Browse all category" functionality. Please you assign this to me

@Divyanshu832 any update ? or i will assign this to @anwesha2002


feat(playground): add new query button

Preview

Close #3631

Thanks — I think this sort of thing is good.
Rather than interrupting the flow with a popup asking for a query name, how about a button for "Clear query" which clears the query and sets the name to new-N.prql, where N is a number that works.
"Clear query" (or something similar) also is clear that it's a destructive event — I can imagine clicking "New query" and not realizing my existing query is about to be deleted if I hadn't saved it...

"Clear query" (or something similar) also is clear that it's a destructive event — I can imagine clicking "New query" and not realizing my existing query is about to be deleted if I hadn't saved it...

Exactly! The "Clear query" button that removes your query directly is a bad experience for the user.

Rather than interrupting the flow with a popup asking for a query name, how about a button for "Clear query" which clears the query and sets the name to new-N.prql, where N is a number that works.
"Clear query" (or something similar) also is clear that it's a destructive event — I can imagine clicking "New query" and not realizing my existing query is about to be deleted if I hadn't saved it...

What about saving the query before clearing the query and notifying the user before that? I think it's a better experience for the user

What about saving the query before clearing the query and notifying the user before that? I think it's a better experience for the user

I don't think we want to get in the way of the user — so we don't want a box popping up asking "Do you want to save??" — instead if the button's actions are obvious, the user can decide whether to save before clicking the button.
So I do think that "Clear query" is better than "New query" in that regard...

I'm sorry for the late response. I'm away from my machine these days. So I hope you'll excuse me.
Anyway. Is "Clear query" really useful? I don't know why we would just put a button to remove queries only. The user can use ctrl + a then click backspace and all is done. But, The "New Query" button doesn't remove queries only. It's something like creating a new file. In future, We can add something like taps to switch between files to improve the user experience.

Is "Clear query" really useful?

I think it's somewhat useful... :)
Isn't "Clear query" + "Rename" the same as "New Query"?
Minimum surprise is important — and the current "New Query" clears the existing query, which might be surprising...

Isn't "Clear query" + "Rename" the same as "New Query"?

Technically, yes. but the difference is that New Query will be useful if we add taps so that the user can switch between them.

Minimum surprise is important — and the current "New Query" clears the existing query, which might be surprising...

To avoid that, I think we should work on taps

Yes, tabs could be good!
(It does seem like a much bigger project, though...)

(It does seem like a much bigger project, though...)

Yeah sure. Next week, I will try to work on it and maybe cancel this PR


Blank page when using Share Email in Hebrew

When using Share Email in hebrew, I get a blank page. It LOOKS like the reason is because there's an improperly formatted quotation mark " in the sendWithDifferentServices section of translations_table .

Sample URL: https://www.addthis.com/tellfriend_v2.php?v=300&winname=addthis&pub=atacademy&source=tbx-300&lng=en&s=email&wid=fhss&url=http%3A%2F%2Fwww.addthis.com%2Facademy%2Fadd-email-share-buttons-newsletter%2F&title=How To Add Email Share Buttons To Your Newsletter - AddThis Academy&ate=AT-atacademy/-/per-2/59abbee51abe3bad/2&uid=59abbc10ffcb171a&description=NOTE FOR EXISTING USERS%3A We recently made some changes to our tool gallery%2C and one of those changes included moving the Email Newsletter buttons to a purely code installation as opposed to being able to configure and edit in the dashboard. If you have buttons already in your newsletter%2C we will continue to support them. … Continue reading How To Add Email Share Buttons To Your Newsletter →&uud=1&ct=1&ui_email_to=&ui_email_from=&ui_email_note=&pre=http%3A%2F%2Fwww.addthis.com%2Facademy%2F%3Fs%3Dshare%2Bemail&tt=0&captcha_provider=recaptcha2&pro=0&ats=imp_url%3D0%26smd%3Drsi%253D%2526gen%253D0%2526rsc%253D%2526dr%253Dhttp%25253A%25252F%25252Fwww.addthis.com%25252Facademy%25252F%25253Fs%25253Dshare%25252Bemail%2526sta%253DAT-atacademy%25252F-%25252F-%25252F59abbee51abe3bad%25252F1%26hideEmailSharingConfirmation%3Dundefined%26service%3Demail%26media%3Dundefined%26passthrough%3Dundefined%26email_template%3Dundefined%26email_vars%3Dundefined&atc=username%3Datacademy%26services_exclude%3D%26services_exclude_natural%3D%26services_compact%3Dfacebook%252Ctwitter%252Cprint%252Cemail%252Cpinterest_share%252Cgmail%252Cgoogle_plusone_share%252Clinkedin%252Cmailto%252Ctumblr%252Cmore%26product%3Dtbx-300%26widgetId%3Dfhss%26pubid%3Datacademy%26ui_pane%3Demail&rb=false

Hi there,
This looks like an issue with our email sharing service and not with the AngularJS plugin. Could you send an email with the details to<EMAIL_ADDRESS>

not an issue with plugin


[meshcop] adding Joiner Discerner and new mechanism for commissioning

This PR contains 3 related commits:
[meshcop] adding otJoinerDiscerner
The otJoinerDiscerner enables a new mechanism for Thread commissioning. The traditional Thread commissioning process uses factory assigned EUI-64 of the device to derive the Joiner ID and identify/filter a joiner (through steering data bloom filter). The Joiner Discerner (which is an unsigned value along with a user-specified bit length up to 64 bits) allows users to have more control and do not rely on factory-assigned EUI-64.
On joiner side, when a a Joiner Discerner value is provided, the Joiner code uses the discerner value to derive Joiner ID (appending a random prefix to extend the value to 64 bits) and bloom filter.
On commissioner side, users can add different joiners providing either an EUI-64 or an associated Joiner Discerner and the code accordingly match the Joiner IDs and compute steering data bloom filter.
[joiner] adding otJoinerPskd and JoinerPskd types
[ncp] add support for Joiner Discerner and getting list of joiners
This commit adds/updates spinel properties to add Joiner Discerner support on joiner or commissioner side. It also adds support for getting the list of joiners on commissioner by implementing property get handler for spinel property MESHCOP_COMMISSIONER_JOINERS.

The code in this PR is done so posted it to start the review, but would like to add test-cases to cover the behavior of the new Joiner Discerner commissioning model (before merging). So next steps are

PR in wpantund to support the new spinel properties, then
PR to add toranj test-cases for Discerner based commissioning.

wpantund PR: https://github.com/openthread/wpantund/pull/472

Looks good overall. Are we planning any continuous integration tests with the new Joiner Discerner feature?

Thanks @jwhui . Yes, I want to add CI toranj tests for it (with the wpanatund changes) and see it all passing, before we merge this. Will submit the CI test as a seperate PR (due to its dependency to wpantund changes).

Pushed the updated changes. It includes one additional commit at the end:
[commissioner] use c++11 ranged-base for and explicitly typed enum


angular - make assets dir configurable

currently, the angular profile and command assets are put/generated into grails-app/assets/javascripts/....
i think it may be better to put them into grails-app/assets/angular/... (or similar top-level assets dir):

when using the angular profile along with other javascript assets, it can get confusing which files/dirs in javascripts belong to the angular-part of an app and which files do not
after all, it is not only javascript (*.tpl.html, etc.)

an angular.assets.dir (or similar..) config option (config.yml/build.gradle) would be great.
what do you think? thanks, zyro

@zyro23 Can you give me a use case?
The templates are designed to be stored alongside your controllers, etc /grails-app/assets/javascripts/example/templates.
Third party libraries should be brought in with bower and they get put in grails-app/assets/bower

when integrating into an existing app where there is already infrastructure present and that app is exposing a classic web ui (with non-bower js) alongside an angular part (bower + angular js), it would be nice to have the angular part clearly separated inside the assets dir. but please do not consider this blocking or having high prio. more nice-to-have.

@zyro23 You could move the assets into an /angular folder. You would just need to remember to define that as the top level package when creating assets. Example grails create-ng-controller angular.core.main would create /angular/core/controllers/mainController.js. Does that work for you?

@Schlogen but that would still reside inside grails-app/assets/javascripts (e.g. https://github.com/grails/grails-profile-repository/blob/master/profiles/angular/commands/create-ng-controller.groovy#L19), right?
i was looking for grails-app/assets/myJsAppDirContainingHtmlTemplatesEtc.

@zyro23 I see what you mean. I'll look into it

@zyro23
Currently the path "src/test/javascripts" is being used to store test cases
In your use case should the change in path affect that as well?

@Schlogen for the moment i am fine with src/test/javascripts because that makes a good fit into the dir structure in src/test. thank you!

Fixed by https://github.com/grails/grails-profile-repository/commit/a10035256699ffeaaf191bb5caa0586c83e0a06d


./ethd terminate removed node in other directories

hello, the setup that i work with is that i have several folders where i clone eth-docker. so for example i had:

eth-docker-geth-1
eth-docker-geth-2

eth-docker-geth-1 was a fully synced archive node. i was spinning up eth-docker-geth-2 for demo purposes. when i was done with it, i wanted to remove the node. instead of doing rm -rf eth-docker-geth-2 (should i have done this?), i ran an ./ethd terminate in that folder.
the docs implied to me that this would just remove the archive node for eth-docker-geth-2, but it looks like it removed both! is this expected behavior? when i spin up eth-docker-geth-1 it looks like the chain head is back to 0 :(.
questions

did i misuse ./ethd terminate or did i really lose my other archive node?
can we enhance the docs to make sure it's clear this could remove other synced nodes on the host machine?

This is unexpected and a bug. A nasty one. I'll dig.

I cannot reproduce this. Do you still have the logs from when this happened?
ubuntu@eth-testing:~/eth-docker-geth-2$ ./ethd terminate
WARNING - this action will destroy all data stores for this Ethereum node. Do you wish to continue? (No/Yes) yes
[+] Running 4/4
 ✔ Container eth-docker-geth-2-validator-1  Removed                                                                                0.3s
 ✔ Container eth-docker-geth-2-execution-1  Removed                                                                                0.6s
 ✔ Container eth-docker-geth-2-consensus-1  Removed                                                                                0.5s
 ✔ Network eth-docker-geth-2_default        Removed                                                                                0.3s
eth-docker-geth-2_jwtsecret
eth-docker-geth-2_prysmbeacon-data
eth-docker-geth-2_prysmvalidator-data
eth-docker-geth-2_reth-el-data

All containers stopped and all volumes deleted

ubuntu@eth-testing:~/eth-docker-geth-2$ docker ps
CONTAINER ID   IMAGE                                              COMMAND                  CREATED         STATUS                   PORTS                                                                                NAMES
b9c13ff0fffb   prysm-validator:local                              "docker-entrypoint-v…"   2 minutes ago   Up 2 minutes                                                                                eth-docker-geth-1-validator-1
8a49a9ad92b2   prysm-consensus:local                              "docker-entrypoint.s…"   2 minutes ago   Up 2 minutes             <IP_ADDRESS>:9020->9020/tcp, <IP_ADDRESS>:9020->9020/udp                                                       eth-docker-geth-1-consensus-1
120f0a8ba5ff   reth:local                                         "docker-entrypoint.s…"   3 minutes ago   Up 3 minutes             8545-8546/tcp, 9001/tcp, 30303/tcp, 30303/udp, <IP_ADDRESS>:30323->30323/tcp, <IP_ADDRESS>:30323->30323/udp    eth-docker-geth-1-execution-1

I cannot reproduce this. Do you still have the logs from when this happened?
ubuntu@eth-testing:~/eth-docker-geth-2$ ./ethd terminate
WARNING - this action will destroy all data stores for this Ethereum node. Do you wish to continue? (No/Yes) yes
[+] Running 4/4
 ✔ Container eth-docker-geth-2-validator-1  Removed                                                                                0.3s
 ✔ Container eth-docker-geth-2-execution-1  Removed                                                                                0.6s
 ✔ Container eth-docker-geth-2-consensus-1  Removed                                                                                0.5s
 ✔ Network eth-docker-geth-2_default        Removed                                                                                0.3s
eth-docker-geth-2_jwtsecret
eth-docker-geth-2_prysmbeacon-data
eth-docker-geth-2_prysmvalidator-data
eth-docker-geth-2_reth-el-data

All containers stopped and all volumes deleted

ubuntu@eth-testing:~/eth-docker-geth-2$ docker ps
CONTAINER ID   IMAGE                                              COMMAND                  CREATED         STATUS                   PORTS                                                                                NAMES
b9c13ff0fffb   prysm-validator:local                              "docker-entrypoint-v…"   2 minutes ago   Up 2 minutes                                                                                eth-docker-geth-1-validator-1
8a49a9ad92b2   prysm-consensus:local                              "docker-entrypoint.s…"   2 minutes ago   Up 2 minutes             <IP_ADDRESS>:9020->9020/tcp, <IP_ADDRESS>:9020->9020/udp                                                       eth-docker-geth-1-consensus-1
120f0a8ba5ff   reth:local                                         "docker-entrypoint.s…"   3 minutes ago   Up 3 minutes             8545-8546/tcp, 9001/tcp, 30303/tcp, 30303/udp, <IP_ADDRESS>:30323->30323/tcp, <IP_ADDRESS>:30323->30323/udp    eth-docker-geth-1-execution-1

I will try to reproduce this in about a week from now, I do need my archive node up at the moment so don't want to risk going into downtime. Thanks for getting back on this, hopefully it's just a user error on my side!

Those logs say that the second install wasn’t touched and kept running, which is the expected behavior.

I'll close this for now. If you find evidence that this was an ethd bug, let's reopen it then.

I reproduced this. Thank you for the report - that is a nasty bug! Fixed now.


Fix StochKitSimulator for models w/ expressions

Enable simulation of models with expressions on the StochKitSimulator class
Add an expand_observables argument to Expression.expand_expr(), which expands Observables into species, reducing code duplication
The StochKitExporter is now much faster for large models
Reactions which are mass action according to the StochKit definition are now exported as mass action in the StochKit XML. This means that custom propensity functions don't have to be compiled for these reactions, reducing StochKit compile time for large models. It also means that mass action only models can be run using the Windows StochKit Lite, which doesn't have custom propensity function (non mass action) capability.

Coverage increased (+0.03%) to 74.138% when pulling 66bc2475b2f77afeea691faf9a267fbca84b468c on alubbock:stochkit_expr_fix into 1e33c98a7a51836436f0f1ee71e6183b2e4f1805 on pysb:master.

Also refactored the StochKit export code to make it faster for large models.

Coverage increased (+0.03%) to 74.135% when pulling 3eb9f64cbdc032a6103714f2dfa926fb25ed454c on alubbock:stochkit_expr_fix into 1e33c98a7a51836436f0f1ee71e6183b2e4f1805 on pysb:master.

Coverage decreased (-2.05%) to 72.053% when pulling 766ddbe319951728399dd389651afc20f854df54 on alubbock:stochkit_expr_fix into 1e33c98a7a51836436f0f1ee71e6183b2e4f1805 on pysb:master.

Coverage increased (+0.03%) to 74.135% when pulling 766ddbe319951728399dd389651afc20f854df54 on alubbock:stochkit_expr_fix into 1e33c98a7a51836436f0f1ee71e6183b2e4f1805 on pysb:master.

Coverage decreased (-0.01%) to 74.093% when pulling 98633b854b7da3791d467b4c5d4c5625597b967d on alubbock:stochkit_expr_fix into 1e33c98a7a51836436f0f1ee71e6183b2e4f1805 on pysb:master.

Coverage decreased (-2.2%) to 71.924% when pulling 5fec3f361d55d073f173cd8d9fe393e03e4f3546 on alubbock:stochkit_expr_fix into 1e33c98a7a51836436f0f1ee71e6183b2e4f1805 on pysb:master.

Coverage decreased (-2.2%) to 71.928% when pulling 2ccb9f0467612fb7dd497b7b8a8ba2a81b3efb7a on alubbock:stochkit_expr_fix into 1e33c98a7a51836436f0f1ee71e6183b2e4f1805 on pysb:master.

Coverage decreased (-0.5%) to 74.039% when pulling f8686d9920b1112eaec5a1ceef7cd4c11571534a on alubbock:stochkit_expr_fix into 3f7623edc93bf9d21dad5c7d64d54268e3c2a834 on pysb:master.

Coverage decreased (-0.08%) to 74.431% when pulling c54cb0f624d7ed3183b7e92a54e24bfea540c32a on alubbock:stochkit_expr_fix into 273b0b6ea3ec7beb2586efa14d2bc438f68a3928 on pysb:master.

Coverage decreased (-0.08%) to 74.431% when pulling 1b13a2d90b7851e066da4c0f492feee2bedd25b2 on alubbock:stochkit_expr_fix into 273b0b6ea3ec7beb2586efa14d2bc438f68a3928 on pysb:master.

Coverage decreased (-0.08%) to 74.431% when pulling 514b203d3643517dbd65990c17b2e166f0db72e0 on alubbock:stochkit_expr_fix into d7422c9ae516de92b2ddcb2bbcc3598df0fff827 on pysb:master.

Sorry for the repeated merges from master. I'm trying to review and merge too many PRs at once.

Coverage decreased (-0.08%) to 74.431% when pulling 2bb095dab60e76e99f22d6b8b54c5ff47cdac018 on alubbock:stochkit_expr_fix into 5f55452a709cd7cfb6b3a2a75a75eb8e476d9139 on pysb:master.


Roll Engine from afd9c397a558 to 819f57e87e9d (5 revisions)

https://github.com/flutter/engine/compare/afd9c397a558...819f57e87e9d
2021-04-27<EMAIL_ADDRESS>Roll Skia from c36aae31a446 to 8e3bca639bce (15 revisions) (flutter/engine#25773)
2021-04-27<EMAIL_ADDRESS>[CanvasKit] Support all TextHeightStyles (flutter/engine#25741)
2021-04-27<EMAIL_ADDRESS>Roll Dart SDK from 0546ef689975 to 4b6978f8afef (1 revision) (flutter/engine#25768)
2021-04-27<EMAIL_ADDRESS>fix AccessibilityBridgeMacDelegate to grab nswindow from appdelegate (flutter/engine#25698)
2021-04-27<EMAIL_ADDRESS>Add more doc for how the plugin registration process works and how to customize it (flutter/engine#25578)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


ImportError: No module named _lupa

Hi...
I am getting following error when I am doing import lutorpy
Traceback (most recent call last):
File "", line 1, in
File "lutorpy/init.py", line 56, in
from lutorpy._lupa import *
ImportError: No module named _lupa
How to fix it?Thanks in advances

Are you trying to run import lutorpy without compile and install? If yes, you need to install before import with:
python setup.py install
You may also need the cython option to compile from cython file:
python setup install --with-cython
And when you run import lutorpy, please don't run it in the folder of the source code, to make sure you are importing an installed module.
Please tell if it worked for you.

Hi,
I was trying import in same source code folder.Now it got fixed.Thanks

When I don't run it from the source directory I get:
Python 2.7.10 (default, Oct 23 2015, 19:19:21)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-7<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import lutorpy
Traceback (most recent call last):
File "", line 1, in
File "/Library/Python/2.7/site-packages/lutorpy-1.3-py2.7-macosx-10.11-intel.egg/lutorpy/init.py", line 56, in
from lutorpy._lupa import *
ImportError: dlopen(/Library/Python/2.7/site-packages/lutorpy-1.3-py2.7-macosx-10.11-intel.egg/lutorpy/_lupa.so, 2): Library not loaded: @rpath/libluaT.dylib
Referenced from: /Library/Python/2.7/site-packages/lutorpy-1.3-py2.7-macosx-10.11-intel.egg/lutorpy/_lupa.so
Reason: image not found
`

I fixed this issue by pip install lutorpy without sudo


added documentation of main interface, updated main interface naming

@wenjdu I took your comments into account.
Please review once again :)


Videos downloaded with youtube-dl have no preview on osx

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

Hello.
I noticed that when I download videos without any parameters, just youtube-dl https://example.com/path/to/video, it downloads in such format that there is no spacebar preview and no thumbnail on MacOS. The video itself opens just fine though.
What options should I use for preview and thumbnails to be available for the downloaded video?

@dstftw I can't find the original issue. Could you share the link?

Can anyone share the link to the original issue? Because I can't find it no matter how hard I look for it.


Fix coverage reports

Pull Request Test Coverage Report for Build 35

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.774%

Totals

Change from base Build 33:
0.0%

Covered Lines:
60

Relevant Lines:
62

💛  - Coveralls


Fix no enough disk space on air gap registry server

Fix no enough disk space on air gap registry server
For https://github.com/longhorn/longhorn/issues/4350
Signed-off-by: Yang Chiu<EMAIL_ADDRESS>

@yangchiu Need to backport to 1.3.x and 1.2.x.


[PROPOSAL] Sparse Tensor Support

Start a thread to gather inputs/comments/suggestions. @pluskid @tqchen @piiswrong @mli @jermainewang @szha
Frontend Data Structures
Classes
There are two potential ways to represent sparse ndarrays, either create a new class, or add a type to the existing ndarray class. We need to figure out which one is more desirable.

Two python classes:

NDArray
Normal NDArray with data stored in dense format.

SparseNDArray
NDArray with data stored in sparse format.

 sparse_mat = mx.sparse_nd(sparse_type = 'coo', indices = indices, values = values, shape = shape)
 out = mx.sparse_nd.sparse_tensor_dense_matmul(sparse_mat, dense_mat)
 dense_mat = mx.sparse_nd.to_dense(sparse_mat)

pro: user has explicit control of the sparse type
con: user is forced to think about the sparse types if they want better training performance with sparse data type

NDArray with sparse_type
Under the hood NDArray class will handle sparse-sparse, sparse-dense, dense-dense operators. If a operator is not implemented for sparse data type, the tensor will be converted to dense format first. Warnings will be thrown to notify users that the sparse_type of the ndarray is changed.

pro: user can reuse most of the existing python interface, except array creation is different.
con: user may be confused when ndarray becomes dense after a few operations and loses track of its sparsity.

Basic Sparse Ops

Arithmetics: add, sub, mul, sparse_dense_matrix_mul, etc
Conversion: asnumpy, etc
Indexing: getitem, setitem
Creation: empty, zeros, etc
Logic: equal, etc
Attribute: sparse_type, etc

** we'll further discuss what operators to prioritize in another issue, since there are many to implement.
Sparse Types Specs
Add to original NDArray to avoid v-table and API change. A sparse tensor is represented by two dense tensors, index and data. There are two possible sparse formats:

Let K denote the number of tensor dimensions.
Let M be the number rows containing non-zero elements.
Let N be the number of non-zero values in all dimensions of the tensor.

Row sparse tensors (similar to IndexedSlice in tensorflow)
where each row of data data[i] corresponds to X[index[i]]. Rows with all zeros are omitted. Each row is a dense tensor.
-- shape: (K)
-- index shape: (M)
-- data shape: (M, K)

COO sparse tensor where X[tuple(index[i])] = data[i]
-- shape: (K)
-- index shape: (N, K)
-- data shape: (N, K)

Backend Data Structures
NDArray
Instead of creating another NDArray class, we could introduce ChunkType to help store the indices for sparse tensors. This avoids vtable lookups and API changes.
NDArray {

struct Chunk {
  // auxiliary storage handle (e.g. indices)
  Storage::Handle aux_shandle;

  // storage handle from storage engine */
  Storage::Handle shandle;
  ...
};

enum ChunkType {
  kDense,
  kRowSparse,
  kCOOSparse,
  // kMKL, etc
};

ChunkType chunk_type();

TBlob data() {
  // Error when called on a sparse matrix
  CHECK(chunk_type_ == kDense); ...
}

TBlob sparse_data() {
  // blocks because length_ can change
  this->WaitToRead(); ...
}

Tblob sparse_index() {
  this->WaitToRead(); ...
}

void SparseResize() {
  // Change size of actual data. Reallocate when upsizing.
  // Need to have write lock before calling.
  data_->Reallocate(); ...
}

NDArray to_dense();

private:
SparseType chunk_type_;
shared_ptr<Chunk> data_;
};

The reason for introducing ChunkType and making chunk_ opaque is to abstract away auxiliary memory allocated for NDArray(e.g. indices for sparse data, mkl_mem_, etc).
API
NDArray Op Registration with the following interface:
using FComputeNDArray = std::function<void(
  const nnvm::NodeAttrs& attrs,
  const OpContext& ctx,
  const std::vector<NDArray>& inputs,
  const std::vector<OpReqType>& req,
  const std::vector<NDArray>& outputs)>;

Execution Flow
Imperative Execution
For imperative execution, in MXImperativeInvoke, if at least one of input NDArray is sparse, try to use FComputeNDArray. If no such operator is registered but input tensor is sparse, call to_dense on all inputs.
Symbolic Execution
Weights and gradients initialization
Weights are initialized in dense format, gradients are initialized with specified dense/sparse types.
Bind Symbols
The memory for sparse tensors cannot be planned ahead of time and is allocated during op execution. For a graph with sparse tensor operations, we need to infer if any node in the graph takes sparse input, and try to share memory at execution time. There're two ways to infer the chunk type:

Add an InferChunkType pass, which infers the chunk types based on input chunk types. Ctx information will help infer mkl chunks.

Compose InferChunkType, InferShape, InferType into a single InferNDProperty pass, which performs all three. Type, shape and chunk type are wrapped into a struct. Additional NDArray constructor with this struct will be added.

Dispatch and Execution
Extend FComputeExecutor to execute FComputeNDArray besides FCompute. If the input chunk type is sparse while FCompute is expecting dense input, sparse data will be converted to dense format when OpExecutor::Run is invoked.
Since sparse tensors request memory at execution time, we should use a memory pool for operators to allocate/reallocate memory for its output buffer.
KVStore
KVStore would take a sparse ndarray and perform the update. We can simply implement SGD op with the FComputeNDArray interface.
For communication, keys should be the row ids for the parameters.

suggestion for name change:
FComputeNDArray -> FCompute<cpu, kDense|kRowSparse|...>
kDense -> kDefault

The most common format is CSR (or CSC) for matrices (and the sliced indices for tensors). So this should be the top priority. The second priority is COO. This is usually converted to CSR before processing for efficiency.
For many algorithms, SpMv (sparse matrix * dense vector) operation is very common. The second most common is SpGEMM (sparse matrix * sparse matrix)

to add to this, the inputs (features) can also be sparse vectors (such as Bag of Words), which can then be transformed into dense via  a random mapping. So that would be (dense matrix * sparse vector) computations.

Any reference where the random mapping actually works on sparse feature followed by deep learning ? We run sparse logistic...we tried factorization/svd etc to generate dense mapping for the sparse feature but it's not effective...things like locality sensitive hashing may work but then we can't go back to feature dimension...

Sparse features have been merged thanks to the hard works lead by @eric-haibin-lin and team members. Thanks!


Make ews-cpp run and compile with VS 2017

Visual Studio 2017 is out. Support it.

Compile, link, test
Add AppVeyor config
Add README entry

Just tested building with Visual Studio 2017 and running the tests. Looks good. No changes needed. And feature test macros really pay off :sweat_smile:
AppVeyor CI job and README update still needs to be done.

Everything done with f690902 in master.


typo: Review the Azure Databricks VACUMM documentation for more information.

typo:
Review the Azure Databricks VACUMM documentation for more information.
VACUMM -> VACUUM

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 15b29f1c-3d99-ede1-d8b1-83c5425868b2
Version Independent ID: ba895b69-5d03-c6ec-9ab6-0531385d1ea1
Content: Vaccuming with zero retention results in data loss - Azure Databricks
Content Source: databricks/kb/delta/data-missing-vacuum-parallel-write.md
Service: azure-databricks
GitHub Login: @ddsharmainfo
Microsoft Alias: saperla

Thanks for providing feedback that helps improve our documentation. This issue has been resolved and we are closing the issue.
#please-close


Threshold secret sharing for data (or metadata)

Divide the data into n chunks, any k of which are able to recover the information (but with fewer than k shares, no information on the original data can be discerned). An example is Shamir's secret sharing.
This could be combined with other processors. The data payload could be split between a few cloud providers. By metadata, I mean for example an index or an ephemeral symmetric key. But the more common case could be to apply threshold secret sharing to the stream.

Hi @Intensity. Sorry for the late reply, my notifications were disabled 🙈.
Indeed, that processing you suggest would take the form of a two new procs, one for splitting into parts (like parity), one for joining them (like uparity).
I don't need such a proc, so I must admit I don't have the motivation to invest time in it. Would you?


Cannot run hisense-tv-authorize from Homebridge running in Docker on Synology NAS

Describe Your Problem:
As detailed in #51, I have three Hisense VIDAA TVs. I never got around to re-testing with v2.0.1 which fixed the SSL verification issue, so only ever had two of the three TVs configured with the homebridge-hisense-tv plugin.
I recently updated to v3.0.0 of the homebridge-hisense-tv plugin. I updated the config.json appropriately, including adding the MAC address of my Synology NAS' ethernet interface.
I am now trying to add the third TV (the 55Q8, running VIDAA U 4). However, despite following the instructions, it seems to not be working. Prior to adding the 55Q8 to my config.json, I attempt to run hisense-tv-authorize, however I am met with an error: Connection failed - please check your configuration and try again.
I've tried uninstalling and reinstalling the plugin, without success.
I'm hoping there's something obvious I'm missing, or that you can at least point me in the right direction.
Thanks in advance!
Logs:
root@homebridge:/var/lib/homebridge $ hisense-tv-authorize --hostname <IP_ADDRESS> --mac 00:11:xx:xx:xx:xx
Connection failed - please check your configuration and try again
root@homebridge:/var/lib/homebridge $ hisense-tv-authorize
Connection failed - please check your configuration and try again
root@homebridge:/var/lib/homebridge $

Plugin Config:
{
    "macaddress": "00:11:xx:xx:xx:xx",
    "devices": [
        {
            "id": "Hisense 55PX",
            "name": "Living Room Hisense",
            "showApps": false,
            "tvType": "default",
            "pollingInterval": 4,
            "wolInterval": 400,
            "wolRetries": 3,
            "ipaddress": "<IP_ADDRESS>",
            "macaddress": "10:c7:xx:xx:xx:xx",
            "sslmode": "disabled"
        }
    ],
    "platform": "HiSenseTV"
}

Screenshots:
NA
Environment:

Plugin Version: v3.0.0
Homebridge Version: v1.8.4
Node.js Version: v20.16.0
NPM Version: v10.8.1
Operating System: Homebridge (Ubuntu Jammy (22.04.4 LTS)) in Docker on Synology DSM 7

Hi again,
I have another home where I run Homebridge on Windows 10 using Hyper-V.
The plugin was previously working fine. I installed the v3.0.0 update, and now I cannot control my TV anymore. The TV is continuously and constantly displaying the 4-digit code, but when I try to run hisense-tv-authorize, I am met with the same error as at my other home: Connection failed - please check your configuration and try again.
Further, the plugin is crashing Homebridge every minute - it's rendered everything else completely utterly unusable.
Could you please advise where I'm going wrong, here? Thanks in advance

Hey @Shaun-R !
It seems we'll need some more time to figure this out. In the meantime, I would recommend you downgrade to version 2, if that worked for you.

Thx for the report! As I mentioned in another issue, it seems like I didn’t get notifications for new opened tickets.
I will take a look at the problem later today. You say the plugin keeps crashing. Do you have any error logs from homebridge?

@Shaun-R in your config you set "ssl": disabled. If that's the tv with the problem, you have to run "hisense-tv-authorize" with "--no-ssl" as parameters.

Hi again, I have another home where I run Homebridge on Windows 10 using Hyper-V. The plugin was previously working fine. I installed the v3.0.0 update, and now I cannot control my TV anymore. The TV is continuously and constantly displaying the 4-digit code, but when I try to run hisense-tv-authorize, I am met with the same error as at my other home: Connection failed - please check your configuration and try again.
Further, the plugin is crashing Homebridge every minute - it's rendered everything else completely utterly unusable.
Could you please advise where I'm going wrong, here? Thanks in advance

Can you send me a part of the debug log which shows the thrown error?

Also I added a beta version 3.0.1, which you can install through the home bridge ui by going to the plugins. Clicking on the 3 dots in the Hisense-tv plugin box, and clicking manage versions.
There should be a dropdown, where version 3.0.1 beta.1 is now available.
In this new version the hisense-tv-authorize script actually prints out the error message of what went wrong.

Hi folks, thanks for your replies.
hisense-tv-authorize throws the error message regardless of which flags I pass to it (or even no flags at all).
I’ve downgraded to v2 for now, but will organise to upgrade to v3 and grab the logs as soon as I can.

Hi folks, thanks for your replies. hisense-tv-authorize throws the error message regardless of which flags I pass to it (or even no flags at all).
I’ve downgraded to v2 for now, but will organise to upgrade to v3 and grab the logs as soon as I can.

If you had the time to update, just let me know, I will then start working on a fix asap.
On one side, it would be great to get the error from the authorize script and also from the homerbridge instance (you said on your second machine the plugin crashes)
Thx for trying out the new stuff :)

@Shaun-R v3.0.1 Beta 4 is out now.
Looking forward to hear from you and see the error messages that you are getting.
The error should now hold way more information. Its now printing the actual error and the stack (where the error happened)
The scripts utilities changed and are now accessible by calling hisense-tv authorize (dash removed) and hisense-tv always-on-test.
I also added a debug function where you can listen to all mqtt messages and see them in the console.
hisense-tv listen-to-mqtt --hostname  --mac  --


chore: update json5 dependency to fix high vulnerability

Description
This PR fixes some a high severity vulnerability by updating the json5 package.

[ ] Tests for the changes have been added (for bug fixes / features)
[x] The commit message(s) follow conventional commits
[ ] Documentation added in /docs or commit messages for bug fixes / features
[x] Changes follow the contributing document.

Motivation and Context
This change improves the security of this repository.
TCM-271
Does this PR introduce a breaking change?

[ ] Yes (Make use of BREAKING CHANGE: inside commit message to bump major version)
[x] No

Which merge strategy will you use?

[x] Squash
[ ] Rebase (REVIEW COMMITS)

Will close this PR because the side effects need to be re-evaluated


v2 key "tmpfs" is not used while creating services

Rancher Version:v1.2.0-pre4-rc5
Docker Version:1.12.2
OS and where are the hosts located? (cloud, bare metal, etc):Ubuntu, Cloud
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)Single node
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)Cattle
Steps to Reproduce:

Create a stack "Stack1" using the below yaml file:

version: '2'
services:
  web:
    image: sangeetha/testnewhostrouting
    command: "sleep 1000"
    logging:
      driver: syslog
    network_mode: "bridge"
    tmpfs:
      - /run

Results:
The service created does not have "tmpfs" set in the API.
The exported file also does not have "tmpfs"

Can you please re-test using v1.2.0-pre4-rc6 as rancher-compose didn't fully support these fields until that version?

Tested with v1.2.0-pre4-rc6. Did not see this issue. The tmpfs key is used during the creation of service and is set in the API.


Adding new app misspell

When you add a new app the last letter you write is replace by the letter "s" and included in 30 places between the 3 app files (models.py, crud.py and router.py).
Example: if my new app is called 'nuevo' this is generated as 'nuevs' or 'nuev'.

Hello! @vmunozrivera Thanks for reporting this issue, I'll work to fix it.

By default, kamaqi waits for application names to be plural, perhaps that is the problem.

Hi @Mitchell-Mirano, you are right, if you create the app using plural in works fine. A solution for my issue could be to add the 'S' or plural version of the word if I write it on singular. Or maybe ask for the plural of the name explicitly. Anyways, Thank you for the fast response. I can use it like that for now.

I added a condition that notify when an app name is not in plural form, please test it. Review the develop branch

it shows the following error:

I create a pull request with the indent fixed, with you change it works as you said, it notify the user to create the app in plural.

According to standard the correct change is indent the first if.


Deleted vps 6h ago but contract not deleted

Deleted a VPS and deployed 2 new ones 6 hours ago. The hourly rate multiplied by the number of hours x 2 VPS shows up a huge diference. Found out now that even deleting the VPS the contract is still running.
I am beeing charged 7 times the price that shows up on hourly rate!!!

The image above is the contracts list : 3 contracts
the image bellow show the current VPS running

since there's no way to trace this without the contract details, we opened an issue https://github.com/threefoldtech/grid_weblets/issues/1004. should make it easier to find out what went wrong

A new feature was added in https://github.com/threefoldtech/grid_weblets/issues/1004 where the user is now able to view contract details from the contracts tab in the grid weblets.
***note: this feature is not available yet on test/mainnet and it will be available with the 3.8 release.


Add support for UIBarButtonItem convenience initializer

Add a new convenience initializer for UIBarButtonItem so that it enable user to add Badge on Bar Button Item!

I will do it


[ja] Translate content/en/blog/_posts/2024-05-20-cloud-provider-migration.md into Japanese

This is a Feature Request

What would you like to be added

Translate "Completing the largest migration in Kubernetes history"

https://github.com/kubernetes/website/blob/main/content/en/blog/_posts/2024-05-20-cloud-provider-migration.md

Why is this needed
There is no Japanese translation for this page
Comments

/area localization
/language ja
/assign

thank you!!
/triage accepted


Update to latest RINF

https://github.com/NixOS/nixpkgs/issues/316160
Packaging in nixos is stalled because of this issue:
https://github.com/cunarist/rinf/issues/366
as a result RINF needs to be updated before notiflut-land can be packaged.

Hi, thank you but I am currently working to make Dioxus work with wayland's layershell.
https://github.com/LucaCoduriV/dioxus/tree/from_gtk_window
Once this is done, I'll start to rework on this project but without flutter.
Working with flutter is hard, every update something brakes.

I made a new branch on this repo: https://github.com/LucaCoduriV/Notiflut-Land/tree/dioxus_migration
If you want to follow along.


Block domain doge-ai.org

Domain: doge-ai.org
Requested by @broroduvce9p

Illicit or fraudulent activity.
Imitating some kind of XLM/BTC/USDT tokens.
Falsified claims of asset anchoring/backing with XLM but is not even close to being anchored.
Pump and dump schemes.

Hello @broroduvce9p,
As I explained https://github.com/stellar-expert/public-directory/issues/586#issuecomment-1694133420 doge-ai.org is a very questionable project and is being watched. I agree that their "ETHs" is not pegged but their USDs and dXLM are holding.
This new off blockchain token they are pushing is an EXTREMELY QUESTIONABLE new aspect to their "project"
https://www.mexc.com/exchange/AIDOGEXLM_USDT?_from=header (not even close to pegged and much more volume)
Thank you


Use string separator in nightly version string

Some RAPIDS folk have noticed that dask-sql nightly versions include the date of their publishing:
$ conda search --override-channel -c dask/label/dev dask-sql=0.4.0211102
Loading channels: done
# Name                       Version           Build  Channel
dask-sql                 0.4.0211102 py38_g77f1d87_1  dask/label/dev

This is an issue because it means you can't install nightlies of a specific minor version; for example:
$ conda search --override-channel -c dask/label/dev dask-sql=0.4.0
No match found for: dask-sql=0.4.0. Search: *dask-sql*=0.4.0

PackagesNotFoundError: The following packages are not available from current channels:

  - dask-sql=0.4.0

This PR adds a string separator between the package version and publishing date, which should allow conda install -c dask/label/dev dask-sql=0.4.0 to work.
Another potential solution I considered is to make a new pre-release tag with a string appended, e.g. 0.4.1a. This would achieve the same result as this PR, but I feel that it will be awkward naming pre-release tags when we eventually move over to CalVer (as we don't have a scheduled release cycle to go by).
cc @jakirkham

How do we want to handle the existing packages that don't have this? Leave them? Delete them (now possible that we cut a release)? Something else?

I'm not sure if we have any use for the 0.3.9 nightlies at the moment (maybe @randerzander can speak to this?), but my preference would be to leave them just in case we need to compare a current nightly to one prior to the 0.4.0 release. That being said, it might be good to follow up on the Dask/Distributed nightlies issue to see if other maintainers have a preference here

I'm not sure if we have any use for the 0.3.9 nightlies at the moment (maybe @randerzander can speak to this?), but my preference would be to leave them just in case we need to compare a current nightly to one prior to the 0.4.0 release. That being said, it might be good to follow up on the Dask/Distributed nightlies issue to see if other maintainers have a preference here
That being said, I do think we should delete the single 0.4.0 nightly with this issue, to avoid conflict with future 0.4.0 nightlies.

Agree! Deleting the existing, single 0.4.0 sounds reasonable.

I'm not sure if we have any use for the 0.3.9 nightlies at the moment (maybe @randerzander can speak to this?), but my preference would be to leave them just in case we need to compare a current nightly to one prior to the 0.4.0 release. That being said, it might be good to follow up on the Dask/Distributed nightlies issue to see if other maintainers have a preference here
That being said, I do think we should delete the single 0.4.0 nightly with this issue, to avoid conflict with future 0.4.0 nightlies.

I don't have an opinion on keeping the 0.3.9 nightlies.

That being said, I do think we should delete the single 0.4.0 nightly with this issue, to avoid conflict with future 0.4.0 nightlies.

Have deleted it.


Try to fix invalid reference for Docker image path

The Dockerfile CI scans are not working as intended so hoping this will fix the problem.

Superseded by https://github.com/DFE-Digital/find-information-about-academies-and-trusts/pull/466


If the original type is React.PropsWithChildren, using codemod will still add an extra PropsWithChildren

version<EMAIL_ADDRESS>-  React.FC<React.PropsWithChildren<Props>>
+  React.FC<React.PropsWithChildren<React.PropsWithChildren<Props>>>

We can do this for apparent nestings but we'd still miss
type Props = React.PropsWithChildren<...>
const Component: React.FC<Props>

and apply a redundant PropsWithChildren

okok


Check for _client->connected() while waiting for CONNACK

in the function
boolean PubSubClient::connect(const char *id, const char *user, const char *pass, const char* willTopic, uint8_t willQos, boolean willRetain, const char* willMessage, boolean cleanSession)
while waiting for the CONNACK message from the mqtt broker, you should also check for _client->connected() and abort if the connection has been closed by the server.
according to the mqtt protocol specification, a server is not obliged to send a CONNACK message with the corresponding error flag set to the client. your pubsub client awaits the timeout in a while loop instead of simply returning if the connection has been closed anyway.
i have solved it like this:
while (!_client->available()) {
                unsigned long t = millis();
				if (!_client->connected())
				{
					_state = MQTT_CONNECTION_LOST;
					_client->stop();
					return false;
				}

                if (t-lastInActivity >= ((int32_t) MQTT_SOCKET_TIMEOUT*1000UL)) {
                    _state = MQTT_CONNECTION_TIMEOUT;
                    _client->stop();
                    return false;
                }
            }

erm... bump?

If you wanted to raise a pull-request with your proposed change in, I'm happy to take a look

i have posted the change to your function above, unfortunately I have procrastinated on how to do pull requests, merges, branches, and such stuff for way too long now, so I unfortunately don't know how to do a pull request... :( eventually I will take a look at it but not today and not tomorrow...

@mamama1   your solution really works? you tested this in your code?

yes, i'm using this fix in my code.


Added build yml and introduced versioning

Added yml that builds and runs tests. Artifacts are generated only if a PR has [pack] keyword or during CI.
Artifacts are signed only if it's a release branch.
Versioning assumes major.minor.patch.build for dev branch and major.minor.patch for release branch(es). Dev branch's version.txt always points to the future version to be merged into release branch and released to myget and/or nuget.

Update where version is got from.

/azp run

I added the -beta prefix. But I'm don't think that adding $(VersionSuffix) is necessary since I already have logic in place for non-release builds to have incremental build numbers here https://github.com/Azure/azure-functions-rabbitmq-extension/blob/3d9ac9ba7adaad4d3c958677b77add4115354db6/build/DetermineVersionAndSigning.ps1
azure-pipelines.yml in turn uses the versionNumber listed as highlighted here

/azp run


Script to enforce copyright header

Added a script that makes sure there's a standard copyright header on all swift files in the repo, and then made the release-candidate workflow use it the same way it uses the changelog entry script.
If this seems like a good way to do header enforcement, I can apply this change across all the other repos.

I think it's replacing all the occurrences of comment blocks instead of the ones at the beginning of the file.

It was using gsub() (replace globally) where it should have just used sub() (replace first)
I also found a bug where the file handle wasn't necessarily at the expected spot in the file, so instead of using the same handle for read/write I used a temp file, which I also like better because it makes the changes atomic.


Tests for all macros

As mentioned in #7, there should be tests for all public macros in Hedley.

Fixed in v7.


Mobile miter artifact

Something special with adjacent miters happen.
We probably want to disable miters for obtuse angles.
Related to #12

Done


torchtext dependency issue

Hi
Thanks for the great work!
I encountered below error

(base) root@39c632041e34:/workspace/code/mvdfusion# python demo.py -c configs/mvd_gso.yaml
Traceback (most recent call last):
File "demo.py", line 17, in
from pytorch_lightning import seed_everything
File "/opt/conda/lib/python3.8/site-packages/pytorch_lightning/init.py", line 20, in
from pytorch_lightning import metrics  # noqa: E402
File "/opt/conda/lib/python3.8/site-packages/pytorch_lightning/metrics/init.py", line 15, in
from pytorch_lightning.metrics.classification import (  # noqa: F401
File "/opt/conda/lib/python3.8/site-packages/pytorch_lightning/metrics/classification/init.py", line 14, in
from pytorch_lightning.metrics.classification.accuracy import Accuracy  # noqa: F401
File "/opt/conda/lib/python3.8/site-packages/pytorch_lightning/metrics/classification/accuracy.py", line 18, in
from pytorch_lightning.metrics.utils import deprecated_metrics, void
File "/opt/conda/lib/python3.8/site-packages/pytorch_lightning/metrics/utils.py", line 29, in
from pytorch_lightning.utilities import rank_zero_deprecation
File "/opt/conda/lib/python3.8/site-packages/pytorch_lightning/utilities/init.py", line 18, in
from pytorch_lightning.utilities.apply_func import move_data_to_device  # noqa: F401
File "/opt/conda/lib/python3.8/site-packages/pytorch_lightning/utilities/apply_func.py", line 31, in
from torchtext.legacy.data import Batch
ModuleNotFoundError: No module named 'torchtext.legacy'

which can be handled by changing the version of torchtext to 0.10.x (in current env is 0.12.0)
but when i try to reinstall torchtext the version of torch is automatically changed to older version
is it okay to use older version of torch?
and it would be thankful if you can let me the versions of packages you used
Thanks

Thanks for trying out the code! I dumped the versions of pytorch related packages from an environment that is working.
I can't seem to find torchtext anywhere. But I assume yes older version of torch will work.
# Name                    Version                   Build  Channel
python                    3.8.5                h7579374_1
python-dateutil           2.8.2              pyhd3eb1b0_0
python-multipart          0.0.6                    pypi_0    pypi
python_abi                3.8                      2_cp38    conda-forge
pytorch                   1.11.0          py3.8_cuda11.3_cudnn8.2.0_0    pytorch
pytorch-lightning         1.4.2                    pypi_0    pypi
pytorch-mutex             1.0                        cuda    pytorch
pytorch3d                 0.7.0                    pypi_0    pypi
transformers              4.25.1                   pypi_0    pypi

that's weird...
could you show me the list from pip list | grep torch?
it seems to be that pytorch-lightning use torchtext.legacy when importing packages

here!
pytorch-lightning           1.4.2
pytorch3d                   0.7.1
torch                       1.11.0
torch-ema                   0.3
torchaudio                  0.11.0
torchmetrics                0.6.0
torchvision                 0.12.0