0.8.2-rc2

Signed-off-by: Stephen Curran<EMAIL_ADDRESS>

@WadeBarnes
Should be ready for review after the tests run.  I'll do the release, then a container release, and you can run a smoke test.


Update RMRK NFT endpoints

Update RMRK NFT endpoints as requested by the RMRK team
https://singular.rmrk-api.xyz/api/account/{address}
https://singular.rmrk-api.xyz/api/account-rmrk1/{address}

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./900-merge-build-0.7.4-1670901052964.zip
Validation passed.


Date turns to string in component data between server and client

Version
v1.4.0
Reproduction link
https://ssr-bug-bgifhwojxt.now.sh/
Steps to reproduce
Read additional comments below, this may be a non issue.
The source of the repro deployment is available at https://zeit.co/samtgarson/ssr-bug/bgifhwojxt/source
The logs are available at https://zeit.co/samtgarson/ssr-bug/bgifhwojxt/logs
This app instantiates a Date object in the test page's async data, and has a computed property which reads the date from the data and it is rendered on the page. It also console logs the type of the async data property in the created hook.

Visit https://ssr-bug-bgifhwojxt.now.sh/

Click the button to navigate to the test page

Notice the year is rendered, and note that object has been printed to the console. This is the type of the date property on the page component's data.

Refresh the page and notice that an empty object is rendered, and this time string has been printed to the console, however that object was printed to the logs when the page was rendered on the server.

What is expected ?
The property on the component data should be of type date on the client side (i.e. the year should be rendered and object should be printed to the console in the browser)
What is actually happening?
As the component's data is passed from server to client, it appears that a Date object is being converted to a string, hence string being printed and an error being rendered
Additional comments?
This may be a non-issue—complex objects cannot be serialised, so would not be expected to survive rehydration. This could be considered more of a question because Dates are native objects in JS. This could equally be an issue with Vue SSR.
Either way, maybe it should be documented somewhere?

This bug report is available on Nuxt community (#c7432)

Hi @samtgarson
Thanks for this bug report, indeed, this is a caveat of server-side rendering since the data is serialised so we have no way to give back the good format.
A solution is to use the created hook to restore the correct type:
<template>
  <div>
    {{ year }}
  </div>
</template>

<script>
export default {
  asyncData () {
    return {
      date: new Date()
    }
  },
  created () {
    if (typeof this.date === 'string') {
      this.date = new Date(this.date)
    }
  },
  computed: {
    year () {
      return this.date.getFullYear()
    }
  },
}
</script>

Another way will be to avoid complex types into asyncData.
I will add a "Server-side Caveats" section into the documentation, thank you @samtgarson!


Add Sector shape

What does the pull request do?
This PR adds a Sector shape, similar to the Arc shape.

It also adds three methods to the MathUtilities class which are used in the Sector class. (These can also be used in the Arc class, I will likely make a PR for this as well if it is accepted.)
Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: ErrorCraft sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

You can test this PR using the following package version. 0.10.999-cibuild0022832-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

The code looks OK, but I'm not quite sure about the naming, Sector seems to be too ambigious. Could we name it CircularSector or CircleSector instead?

If there is a similar control/shape in other GUI frameworks, we can take naming from there.
There is none in WPF/UWP/Xamarin from what I know.

A sector is the proper mathematical name.
We were also discussing this here: https://github.com/AvaloniaUI/Avalonia/pull/6003#issuecomment-856046022

there are other possible names https://en.wikipedia.org/wiki/Circular_sector

I mainly chose the name Sector because it's consistent with the name Arc. If the name is changed to CircularSector then Arc should likely be renamed to CircularArc as well. Also speaking of https://github.com/AvaloniaUI/Avalonia/pull/6003#issuecomment-856046022, I was thinking of adding an inner radius to the sector as well to allow for something like this.

In terms of properties I would follow what was decided for arc and have:

StartAngle (units: degrees)
SweepAngle (units: degrees)
(make sure to document these, especially degrees units)

Then I would add an

InnerRadius (units: DI pixels same as height/width)
I've seen many cases where this would be useful already.

There is no need for a Radius property since the height/width of the shape itself define that (as currently reflected in the code).

Would InnerRadius control inner oval height or width?

Would InnerRadius control inner oval height or width?

Good point, I was thinking just for uniform/circular sectors.
Options:

InnerRadius could be of type Size and have both width/height components together
Break apart into two properties

InnerRadiusX
InnerRadiusY

Break apart into two properties but follow the outer radius concepts/naming

InnerHeight
InnerWidth

Option 3 might make the most sense considering how the overall shape size is set.

Note that allowing different inner radius Width/Height would allow some weird shapes which may or not be wanted (e.g. circle cut by ellipse, ellipse cut by circle, or ellipse cut by other, not proportional, ellipse).

As written now, the Sector class supports non-uniform width and height. If that is supported for the outside geometry we should have the same for inside geometry. Since arc allows this, it seems sector should as well. While strange if misused, I think the logic for API purposes makes sense.

Although, I suppose their is a 4th option and the inner radius would be specified as a percentage. Then it would follow the same aspect ratio as the outside geometry. That would ensure both inside and outside are always matching: either ellipse or circle.

RelativeSize type for the inner radius? So it can be specified as percentage OR absolute values.

I couldn't find a RelativeSize type, but the RelativeRect type should work for this. That would allow a single property and both relative/absolute size as mentioned. There are some downsides:

Having a property called InnerRadius taking a Rect doesn't make a lot of sense
It would still be possible to have an outside oval and inside circle which was a concern mentioned above (not so much a concern for me)
The percentage would have to be specified for both the height AND width. That defeats the simplicity of using a percentage which would also match inner aspect ratio with outer.

Well, it's probably best to just finish this up without the inner radius functionality. That can always be added back as a non-breaking change once the API is settled. There doesn't seem to standard anywhere and all the ideas here are quite different.

@maxkatz6 Are you ok with the properties for the arc in Sector being different than in Arc? That still doesn't seem right to me and I would standardize that at least before a merge.

You can test this PR using the following package version. 0.10.999-cibuild0023180-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


[Event Request] Codeunit 99000817 "Manu. Print Report".ConvertUsage

Describe the request
Please add new event
    local procedure ConvertUsage(Usage: Option M1,M2,M3,M4): Enum "Report Selection Usage"
	var
	    ResultReportSelectionUsage: Enum "Report Selection Usage";
    begin
        case Usage of
            Usage::M1:
                exit(ReportSelections.Usage::M1);
            Usage::M2:
                exit(ReportSelections.Usage::M2);
            Usage::M3:
                exit(ReportSelections.Usage::M3);
            Usage::M4:
                exit(ReportSelections.Usage::M4)
            //---------------------------------------------------OnConvertUsageOnUsageElse:BEGIN
            else begin
                OnConvertUsageOnUsageElse(Usage,ResultReportSelectionUsage);
                exit(ResultReportSelectionUsage);
            end;
            //---------------------------------------------------OnConvertUsageOnUsageElse:END
        end;
    end;

    //---------------------------------------------------OnConvertUsageOnUsageElse:BEGIN
    [IntegrationEvent(true, false)]
    local procedure OnConvertUsageOnUsageElse(Usage: Option; var ResultReportSelectionUsage: Enum "Report Selection Usage")
    begin
    end;
    //---------------------------------------------------OnConvertUsageOnUsageElse:END

Additional context
We need option run different usage and different report selection usage.
Internal work item: AB#558147

The signature of the method needs to be changed too. We should drop the option definition in the code, and replace it with numbers. That would indicate to the code that it can be more options than 4. Option definition in method definition is wrong, we should delete all of these.

hello @nikolakukrika, I agree, but I do not know if we can suggest this kind of change. If you use integer it is OK for us. Enum with extensible=true can be too.
Thank you

@fridrichovsky You can ask additional things, the point is to get a good design in place. My comment was more for the team that is processing requests. Defining Options inline is bad. If it is not possible to avoid an option as a parameter in the method signature, then it must not contain any member definitions. The risk is that we are duplicating the definition, it will be hard to keep all the definitions up to date if one of the values changes.


[cleanup] change custom pop-up to that built-in text thingy

example code:
https://github.com/lrvideckis/Minesweeper_Android/commit/be1c89d834858c9ab2e75edeee4a57fe37121993


Fatal error with read_csv for large file on OS X on both

I'm attempting to read a 4.5GB csv file with dask.  read_csv reproducibly crashes Python, as per below.  This seems different to Fatal error when running read_csv #841?
Python 2.7.11 |Continuum Analytics, Inc.| (default, Dec  6 2015, 18:57:58)
Type "copyright", "credits" or "license" for more information.

IPython 4.0.3 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: pdb
Automatic pdb calling has been turned ON

In [2]: import dask.dataframe as dd

In [3]: from dask.diagnostics import Pro
Profiler     ProgressBar

In [3]: from dask.diagnostics import ProgressBar

In [4]: df = dd. read_csv('bigcsv_utf_dot_comma.csv')

In [5]: ProgressBar().register()

In [6]: df.compute()
[                                        ] | 0% Completed |  3.4sFatal Python error: GC object already tracked
/Applications/anaconda/envs/python2/bin/python.app: line 3:  5977 Abort trap: 6           /Applications/anaconda/envs/python2/python.app/Contents/MacOS/python "$@"

What's your pandas version? There was a bug in 0.17.1 that caused segfaults, which was fixed here.

Yeah, this is consistent with the pandas issue.  Three solutions

Use dask.set_options(get=dask.get) to turn off multi-threading in dask
Use pip install git+https://github.com/pydata/pandas.git --upgrade to update to development pandas
Wait a couple of weeks for the next pandas release

0.17.1 - how do i get the fixed version?

Thanks guys - much appreciated


RFE: Ability to specify a Protection Policy

In our environment we have a filer back up volumes to another filer.
When a docker volume is created with the plugin, the volume is not backed up automatically.
It would be nice to have the ability to specify/create the backup relationship automatically.

This hasn't been well-documented yet, but you can specify a snapshot policy for any volume created through the nDVP by specifying a 'snapshotPolicy' in your create command.
For example:
docker volume create -d netapp --name=vol -o snapshotPolicy=default
Does that suffice for your use case? Or were you looking for something more?

My thought was to have the ability for protection policy set up to replicate to another filer.  So, the volume is created and mounted on filer1, then a protection policy is set up to replicate to the backup cluster.

(Comment from NetApp CI):
(Comment from Garrett Mueller):
This hasn't been well-documented yet, but you can specify a snapshot policy for any volume created through the nDVP by specifying a 'snapshotPolicy' in your create command.
For example: docker volume create -d netapp --name=vol -o snapshotPolicy=default
Does that suffice for your use case? Or were you looking for something more?

(Comment from NetApp CI):
(Comment from jamespohl):
My thought was to have the ability for protection policy set up to replicate to another filer. So, the volume is created and mounted on filer1, then a protection policy is set up to replicate to the backup cluster.

(Comment from NetApp CI):
(Comment from Barnacle CI ):
(Comment from NetApp CI):
(Comment from Garrett Mueller):
This hasn't been well-documented yet, but you can specify a snapshot policy for any volume created through the nDVP by specifying a 'snapshotPolicy' in your create command.
For example: docker volume create -d netapp --name=vol -o snapshotPolicy=default
Does that suffice for your use case? Or were you looking for something more?

(Comment from NetApp CI):
(Comment from Barnacle CI ):
(Comment from NetApp CI):
(Comment from jamespohl):
My thought was to have the ability for protection policy set up to replicate to another filer. So, the volume is created and mounted on filer1, then a protection policy is set up to replicate to the backup cluster.


SuperHTML crashes when emmet wraps with abbriviation (Neovim)

when wrapping some tag with emmets "wrap with abbreviation" feature (provided by olrtg/nvim-emmet) superHTML crashes, with nothing logged to LSP's log file

Please provide some repro steps, without those it's impossible for me to know what's going on. Note that I'm not a VSCode user so the more detailed your steps, the better the chances I will be able to reproduce your crash.
If I can't reproduce the crash, I won't be able to fix your bug.

Closing, if you find a way to reproduce the error, either add a comment here or open a new issue.


[WIP] CONTRIBUTING.md rewrite

First pass at simplification mentioned in https://github.com/caskroom/homebrew-cask/issues/16690
DO NOT MERGE - on hold until https://github.com/caskroom/homebrew-cask/issues/16690's rewrite of other documentation is complete
ping @vitorgalvao

It would be better to remove the linked index at the top. The document is so small, it really isn’t needed.

Faster to just submit a new PR after rebasing, closing.


Please a solution for upload multiple

I have this code:
I read and this https://github.com/blueimp/JavaScript-Load-Image/issues/16
$('#up-inputfile').change(function(e) {
  var files = e.target.files,
    len = files.length;
  for(var i = 0; i < len; i++) {
    console.log('index i: ', i);
    loadImage(files[i],
      function (img) {
        console.log('loadImage ['+i+']');
      },
      { meta: true }
    );
  }
  console.log('last i:', i);
});

If I upload 2 files, I get in logs:
index i: 0
index i: 1
last i: 2
loadImage [2]
Seems  that loadImage comes after the  for() block ....

Hi @yourchoice,
the behavior you're seeing is due to how JavaScript closures work:
loadImage() is an asynchronous function and will execute the callback after your loop has finished. At that point, your counter variable has the value of files.length and will be logged as such.
If you'd like a deeper introduction to the topic of closures, I recommend this book:
https://github.com/getify/You-Dont-Know-JS/tree/2nd-ed/scope-closures
I also recommend the whole book series for anyone wanting to get a better understanding of JavaScript, it's one of the best out there:
https://github.com/getify/You-Dont-Know-JS/
Since your post is not an issue with this library, I'll close this.


Ingesting Spectra for Manj19

If you want, you can save just the Publications, Telescope, Instrument, Mode table with these commands:
db.save_reference_table('Publications', 'data')
db.save_reference_table('Telescopes', 'data')
db.save_reference_table('Instruments', 'data')
db.save_reference_table('Modes', 'data')

And then commit and push the resulting changes to the four JSON files.
After you do that, you can comment out the telescope and publication ingests calls.


Add Teams approval process to publishing guidance

Docs Build status updates of commit 5f64f96:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/TOC.yml
:white_check_mark:Succeeded

msteams-platform/publishing/apps-publish.md
:white_check_mark:Succeeded

msteams-platform/publishing/office-store-approval.md
:white_check_mark:Succeeded

msteams-platform/publishing/office-store-guidance.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


<EMAIL_ADDRESS>causing a dependency tree resolution error

Hi. Following the change in 2d444cf, the default setup instructions (npx create-next-app precedent --example "https://github.com/steven-tey/precedent") no longer work on Node v19.7.0, with the following error showing up:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/next
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>|| ^13" from<EMAIL_ADDRESS>
I can bypass the error by going into the folder and yarn install-ing there.

got same problem

same problem and I do not understand how to bypass

@egorkaway, run npx create-next-app precedent --example "https://github.com/steven-tey/precedent", then cd precedent and yarn install, i.e. the solution is to use Yarn instead of Npm.

@egilll any valuable reason using npx so?
I'd rather sticked to yarn create or other corresponding create-next-app starter
Succed ✅
yarn create next-app --example "https://github.com/steven-tey/precedent" precedent_yarn
pnpm create next-app --example "https://github.com/steven-tey/precedent" precedent_pnpm
bunx create-next-app --example "https://github.com/steven-tey/precedent" precedent_bun

Failed ❌
npx create-next-app --example "https://github.com/steven-tey/precedent" precedent_npx
npx create-next-app@latest --example "https://github.com/steven-tey/precedent" precedent_npx_latest

Console log


NA OFI: use ip addr for psm2

let psm2 uses ip:port address format so that user can specify uri at
init time.
Signed-off-by: Yulu Jia<EMAIL_ADDRESS>

@soumagne could you comment on this PR? I wasn't sure what you meant in the email.

closing as we now handle multiple address formats for each provider


Cordova screen orientation plugin, screen is flashing when changing orientation on iOS

I'm developing an app using Cordova/Ionic, and using the plugin for several different app screens.
On Android everything works just as fine, though while testing on iOS device (7.1), whenever I unlock the orientation to allow both landscape and portrait on a certain screen, and then going back to a screen that is fixed on portrait, it flashes quickly with a black screen for about 100ms during the 'orientation fix'.
I wonder if anyone encountered a similar situation before, that would be extremely helpful.
Much thanks!

Is this problem solved?I met the same problem

@shuyye - @gbenvenuti has released 1.4.2 which fixes some iOS issues. Will you try 1.4.2 and provide an update, please?

No response in over a week and AFAIK this issue is resolved so I'm going to close this.
OP or other commenters - please provide additional feedback if this issue is not resolved for you.


linkerd-protocol-http: Handle client exceptions in the path stack

Problem
When an exception is raised in the linkerd client, it is thrown into the
server.  This means that client connection errors are measuerd as server
connection errors in stats, etc.
Solution
Handle exceptions at the top of the router's path stack so that the server
isn't exposed to client-generated exceptions.

⭐  Makes sense to me.

:star: 🍳 TIOLI: is possible to add a test where an exception is thrown in the client and verify the right stats get incremented?


rails_helper.rb is not loaded when running the RunNearestSpec.

when I run the RunNearestSpec using the mapped keys, the rails_helper is not loaded, which makes some problems for me. Since the configuration for the database cleaner gem is added to that file, it is not loaded and thus the database cleaner does not clean my database.
This problem does not exists with the other commands, like RunCurrentSpecFile, and RunAllSpecs

Can you tell what command is being executed when you RunNearestSpec is execute? It should be something like rspec spec/models/some_model_spec.rb:11. Can you run just that command from vim? If not, there's something up with your vim, or Rails setup. This plugin knows nothing about spec helpers, it just runs commands.

I just wrestled with the problem for the last several hours. Here's what happens: vim switches its current working directory to the directory where the spec file is located. If you were still in the Rails project root directory, it would find rails_helper.rb.  I haven't figured out a good way around the problem yet; I just figured out what it is.

Thanks @MatthewMDavis. This plugin assumes that Vim's current directory is project root.


Add --local_tank_cache flag and update requirements.

LGTM!

@monorimet I think there are conflicts.

@monorimet I think there are conflicts.

I should have solved all the merge conflicts, unless you saw some while reviewing that git didn't catch


Use ignore parameter for unset level and tilt (HmIP blinds)

Based on #1269

We're currently processing your upload.  This comment will be updated when the results are available.


Cronjob not used customize service port

Is this a BUG REPORT or FEATURE REQUEST?:
Bug
What happened:
When I customize service port. My cronjob not use right value.
apiVersion: v1
kind: Service
metadata:
  creationTimestamp: "2019-12-16T04:20:15Z"
  labels:
    created-by: kubeless
    function: aws-component-monitoring
  name: aws-component-monitoring
  namespace: kubeless
...
spec:
  ports:
  - name: http-function-port
    port: 9100
    protocol: TCP
    targetPort: 9100
...

---
apiVersion: batch/v1beta1
kind: CronJob
metadata:
  creationTimestamp: "2019-12-16T04:20:16Z"
  labels:
    created-by: kubeless
    function: aws-component-monitoring
  name: trigger-aws-component-monitoring
  namespace: kubeless
...
spec:
  concurrencyPolicy: Allow
  failedJobsHistoryLimit: 1
  jobTemplate:
...
            - -Lv
            - ' -H "event-id: 5mAAlIu7XQtXqSo" -H "event-time: 2019-12-16 04:20:16.53058757
              +0000 UTC" -H "event-type: application/json" -H "event-namespace: cronjobtrigger.kubeless.io"'
            - http://aws-component-monitoring.kubeless.svc.cluster.local:8080
            image: kubeless/unzip@sha256:4863100364496255de9bf8722a220dad7143ab277ac72435876eb8c93936e9d7
...

What you expected to happen:
Used customize port
How to reproduce it (as minimally and precisely as possible):
Create function when customize port, and create trigger cronjob
Anything else we need to know?:
Environment:

Kubernetes version (use kubectl version): v1.13.4
Kubeless version (use kubeless version): v1.0.5-dirty
Cloud provider or physical cluster: AWS (kops)

Hi @alanmoment,
That's correct. Right now the port is hardcoded to 8080 when creating the CronJob, luckily it's easy to fix here:
https://github.com/kubeless/cronjob-trigger/blob/master/pkg/utils/kubelessutil.go#L83
The port is already in the function definition so it's a matter of using it instead. Maybe someone can give it a try?

Hi @alanmoment,
That's correct. Right now the port is hardcoded to 8080 when creating the CronJob, luckily it's easy to fix here:
https://github.com/kubeless/cronjob-trigger/blob/master/pkg/utils/kubelessutil.go#L83
The port is already in the function definition so it's a matter of using it instead. Maybe someone can give it a try?

Thanks

Hi @andresmgot
I create a function with custiom service port. as follows:
apiVersion: kubeless.io/v1beta1
kind: Function
metadata:
  name: aaa
  namespace: default
spec:
  function: |
    module.exports = function() {
      console.log("Hello world!");
      return null;
    };
  handler: aaa.default
  runtime: nodejs12
  service:
    spec:
      ports:
      - port: 9110
        protocol: TCP
        targetPort: 9110

but what i got  is

the service port is still 8080.  Did I mistake something.
Environment:
kubernetes:v1.17.4
kubelessv1.0.6

you did nothing wrong @alanmoment, we never fixed this. The port is still hardcoded to 8080:
https://github.com/kubeless/cronjob-trigger/blob/master/pkg/utils/kubelessutil.go#L63
Still accepting contributions here.


need more info on eventExtenders

:) need more understanding on below points related eventExtenders
1 : Though there is viewBuilder, what is actual purpose of eventExtenders.
2 : Do we have to use both or use eventExtenders when we want to extend event.
3 : What kind of things can fit inside eventExtenders.

have a look at: https://github.com/adrai/node-cqrs-eventdenormalizer/tree/master/test/integration/fixture/set1
viewBuilders modifies your readmodel
eventExtenders extends an event


Example of using implicit resource() dependency

Hello!
Today I was made aware of a feature to denote an implicit dependency on a resource, documented here:

Use the reference function and pass in the resource name to set an implicit dependency between resources that need to share a property. Don't add an explicit dependsOn element when you've already defined an implicit dependency. This approach reduces the risk of having unnecessary dependencies.

Would it be possible to provide an example of this? I'm pretty sure I understand what the statement means, but I'm still a little unclear.

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

ID: c1558fc8-7d7b-6d02-113d-650a87295de6
Version Independent ID: cfb3afb4-bbfc-05da-3faa-02266c8ea270
Content: Best practices for templates - Azure Resource Manager
Content Source: articles/azure-resource-manager/templates/template-best-practices.md
Service: azure-resource-manager
Sub-service: templates
GitHub Login: @mumian
Microsoft Alias: jgao

@APIWT Thanks for your comment. We are actively investigating and will get back to you shortly.

@APIWT - thanks for this feedback. I'll add a link to an example.


Create a mechanism for disabling the sidenav buttons of the Wizard Component

Select one ...  (check one with "x")
[ ] bug
[X] feature request
[ ] enhancement

Expected behavior
There must be an easy mechanism for disabling the the buttons in the sidenav of the Wizard component.
Actual behavior
In order to disable the sidenav buttons, which is fairly common, by my opinion, one must perform a not that beautiful workaround. The current easiest workaround is to use some kind of overlay.

Workaround link: https://plnkr.co/edit/vlWGED?p=preview

Environment details

Angular version: 4.0.1

Clarity version: 0.9.x

OS and version: macOS Sierra 10.12

Browser: [all]

This is a feature that wasn't included as part of our core set of functionality for the wizard and probably should have been. The workaround included above is okay but this should be able to be toggled at the wizard level with an input that toggles off all navigational elements in the wizard.


Curl request processor should allow setting of options

Initially reported by: @arthus as #TRAC1036
Currently, the execute() function of the CURL request processor sets quite a few CURL options. You should be able to extend these with an additional parameter, allowing further options to be set on specific requests (such as to disable security certificate checking).

This issue was moved to habari/system#78


SignatureDoesNotMatch error in RamRoleArn mode

Describe the bug
The query will have errors like this after the steampipe service runs for some time.
Error: alicloud_sandbox: SDK.ServerError
ErrorCode: SignatureDoesNotMatch
Recommend: InvalidAccessKeySecret: Please check you AccessKeySecret
Message: Specified signature is not matched with our calculation.

Steampipe version (steampipe -v)
Steampipe v0.23.2
Plugin version (steampipe plugin list)
hub.steampipe.io/plugins/turbot/alicloud@latest   | 0.23.0
To reproduce

config

connection "alicloud_sandbox" {
  plugin = "alicloud"
  regions = ["cn-shanghai"]
  profile = "syncer-test"
}

# .aliyun/config.json
{
	"current": "default",
	"profiles": [
		{
			"name": "syncer-test",
			"mode": "RamRoleArn",
			"access_key_id": "xxx",
			"access_key_secret": "xxx",
			"sts_token": "",
			"sts_region": "",
			"ram_role_name": "syncer-test",
			"ram_role_arn": "acs:ram::xxx:role/syncer-test",
			"ram_session_name": "syncer-test",
			"source_profile": "",
			"private_key": "",
			"key_pair_name": "",
			"expired_seconds": 0,
			"verified": "",
			"region_id": "cn-shanghai",
			"output_format": "json",
			"language": "en",
			"site": "",
			"retry_timeout": 0,
			"connect_timeout": 0,
			"retry_count": 0,
			"process_command": "",
			"credentials_uri": "",
			"oidc_provider_arn": "",
			"oidc_token_file": ""
		}
	],
	"meta_path": ""
}

steampipe service start
steampipe query
Execute query like select * from alicloud_sandbox.alicloud_ecs_instance
Execute query like select * from alicloud_sandbox.alicloud_ecs_instance after one hour

Expected behavior
The error should not happen.
Additional context
It seems that the credential is expired when this issue happens. This should be renewed internally, rather than throwing an error.

Hello @QiXingchuan,
Sorry to hear that you're encountering this issue.
After reviewing it, I’d like to share a few key points for your consideration:
The ALI Cloud SDK previously did not support CLI authentication. We added profile authentication in Steampipe by manually parsing the file located at ~/.aliyun/config.json. However, it seems we may have missed handling session expiration properly. A support request was also raised with the SDK team. For reference, see: https://github.com/aliyun/alibaba-cloud-sdk-go/issues/629.
Recently, they added support for profile authentication in the SDK. I’ve submitted a PR (https://github.com/turbot/steampipe-plugin-alicloud/pull/456) to address this issue. The updated profile authentication will now use the SDK's built-in mechanism.
The changes in the PR are still in progress, but it would be helpful if you could test it with the PR branch (update-alicloud-sdk) and let us know if the issue is resolved, or if there are any remaining edge cases we need to consider.
Thanks!

Hi @ParthaI. Thank you for getting back to me so quickly! I tested it with PR #456, and the issue has been resolved.

Hi @ParthaI. Is there any plan to merge the PR and release it?

@ParthaI This is blcoking us from using the alicloud plugin. If you can give us a tentative day when the fixed PR will be merged, it would be great.

Apologies for the delay in the review process, @snigdhasambitak. @misraved, could you please review this PR when you get a chance and proceed accordingly? Thank you!

@ParthaI we did verify your change and it works. Can you please merge this PR now?

Addressed in https://github.com/turbot/steampipe-plugin-alicloud/pull/456

@ParthaI thanks for merging the PR. Do you know when we will get a new release version?

Hi @snigdhasambitak, the release is expected either on the last working day of this week or early next week. @misraved, could you please confirm the ETA for releasing this plugin? Thank you!

@ParthaI @misraved We have been waiting for this release for quite some time now. Could you please create a new release soon? May be in the next couple of days?

@ParthaI @misraved can you guys please atleast give a tentative date about the new release? Even though it is merged, still there is no new release. Can we please have a new release soon?

@snigdhasambitak apologies for the delay. I will be releasing a new plugin version today 👍 !!
Thanks!!


For a 0.7.2 release

#178

Codecov Report

Merging #180 (9436c17) into master (72a9f8d) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #180      +/-   ##
==========================================
+ Coverage   87.38%   87.42%   +0.04%
==========================================
  Files          12       12
  Lines         626      628       +2
==========================================
+ Hits          547      549       +2
  Misses         79       79

Impacted Files
Coverage Δ

src/tuned_models.jl
93.75% <100.00%> (+0.05%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 72a9f8d...9436c17. Read the comment docs.


[API] Refactoring the return type of the getEventsByEventHandle interface

The interface for pulling events now directly returns an array (Vec). Then, when pulling the next page, the cursor parameter passed in is "the event seq. number of the last item of the pull result, plus 1". i.e.:
next_cursor = last seq_number + 1

Because the sequence number of the first event record is 0, the result of "not passing in the cursor parameter" is the same as "passing in 0".
It feels like this “+1” operation developers may forget. I don’t know if it is more natural to directly pass the sequence number of ”the last record of“ the current page? I have the impression that Sui RPC API’s approach is like this.
Moreover, Sui returns a Page structure for similar pagination access interfaces, roughly like this (Java pseudocode):
public class Page<T, C> {
    private List<T> data;

    private C nextCursor;

    private Boolean hasNextPage;
    //...
}

In this way, developers don’t need to think about whether to "plus 1” to get next_cursor or not.
The advantage of providing a hasNextPage is that sometimes, the developer don't need to pull one more time, i.e., they don't need to "pull until the empty list is returned", to know that "there is no next page".
The advantage of using "seq. number/ ID of the last record" for a cursor is that the processing logic is more consistent.
In the Java pseudo-code above, the cursor is a generic type, which means that for some types of cursors, it is not always possible to calculate the ID of the next record based on the "ID of the last record".
For example, if the cursor type is a UUID, we can only know what the ID of the last record is, but we cannot deduce what the UUID of the next record is.
So, consider introducing a Page<T> structure into the RPC APIs implementation and refactoring the getEventsByEventHandle function.

Previously in pr https://github.com/rooch-network/rooch/pull/177, the json response was removed, and the standard jsonrpc return was followed.
The problem now is that the expected the Page structure does not comply with the standard jsonrpc format. In order to be compatible with page-turning queries, the interface needs to be adjusted to return as follows:

All interface returns use a new format, and a layer of data is nested in the result to represent the returned data. The data may be a json array or json data.
If it is a page-turning query, next_cursor is additionally returned. When next_cursor is 0 or null, it means that there is no new data, and the caller can end the query.

{
     "jsonrpc": "2.0",
     "result": {
         "data": [
             {
             },
          ]
          "next_cursor": 101
     }
}

cursor supports the following types of MoveValue types:

pub enum MoveValue {
     U8(u8),
     U64(u64),
     U128(u128),
     Bool(bool),
     Address(AccountAddress),
     Vector(Vec<MoveValue>),
     Struct(MoveStruct),
     Signer(AccountAddress),
     // NOTE: Added in bytecode version v6, do not reorder!
     U16(u16),
     U32(u32),
     U256(u256::U256),
}

next_cursor returns using MoveValueAnnotator


Support for displaying compilationSuccessInfo only on initial compilation

Is it possible to display the messages added in compilationSuccessInfo only during the initial build?
I believe this may make sense to some, especially in the cases where clearConsole is set to false.

I would happily accept a PR :)


charter specification

The format of a "Charter" should be standardized in a specification document. At minimum, this document should include requirement descriptions for:

[ ] Key management
[ ] Monetary policy
[ ] Roles and responsibilities
[ ] Arbitration

Each of these should be standardized to the extent that the document can be parsed by a program to pull out the most salient information, like key signers.

Git Guild Bounty Program

Total
Dev
Sales
Reporter
Tester(s)
Maintainer
Documenter

N/A
assignee(s)
N/A
@isysd
@isysd, @d3brouille
@isysd
@d3brouille

$1,741.67
$1,100.00
$0.00
$91.67
$366.67
$91.67
$91.67

This isn't quite required, thanks to abstraction of the core logic. :)


[cherry-pick release-v1.14] create new es client on error

If there is an error accessing es, recreate the es client, as es password might have changed.
Description
Cherrypick https://github.com/tigera/operator/pull/1093

For PR author

[ ] Tests for change.
[ ] If changing pkg/apis/, run make gen-files
[ ] If changing versions, run make gen-versions

For PR reviewers
A note for code reviewers - all pull requests must have the following:

[ ] Milestone set according to targeted release.
[ ] Appropriate labels:

kind/bug if this is a bugfix.
kind/enhancement if this is a a new feature.
enterprise if this PR applies to Calico Enterprise only.

/merge-when-ready

/merge-when-ready

OK, I will merge the pull request when it's ready, leave the commits as is when I merge it, and leave the branch after I've merged it.

OK, I will merge the pull request when it's ready, leave the commits as is when I merge it, and leave the branch after I've merged it.


Improve type inference in MadNLP

For information, this PR does not improve by a lot the precompilation time (apparently Julia is quite good to deal with this type of non-infered type).
For the records, on MadNLP#master, we get with SnoopCompile:
InferenceTimingNode: 5.120791/8.009915 on Core.Compiler.Timings.ROOT() with 9 direct children

On MadNLP#fp/type_inference:
InferenceTimingNode: 4.226086/6.882473 on Core.Compiler.Timings.ROOT() with 2 direct children

x-ref: #186


Fixes POST/PUT of event coordinates in deploymentLocation; uframe only a...

...ccepts floats.
@DanielJMaher

Looks okay to me.


🐛 Bug: Cannot find module<EMAIL_ADDRESS>

Bug Report Checklist

[X] I have tried restarting my IDE and the issue persists.
[X] I have pulled the latest main branch of the repository.
[X] I have searched for related issues and found none that matched my issue.

Expected
This should run seamlessly in repos.
Actual
https://github.com/JoshuaKGoldberg/create-typescript-app/actions/runs/6378928430/job/17310427310
Start: running release-it
ERROR Cannot find module 'file:///home/runner/work/create-typescript-app/create-typescript-app/node_modules/.pnpm/@release-it+conventional-changelog@7.0.1_release-it<EMAIL_ADDRESS>Error: Error running release-it: Error: Cannot find module 'file:///home/runner/work/create-typescript-app/create-typescript-app/node_modules/.pnpm/@release-it+conventional-changelog@7.0.1_release-it<EMAIL_ADDRESS>Error: Error: Cannot find module 'file:///home/runner/work/create-typescript-app/create-typescript-app/node_modules/.pnpm/@release-it+conventional-changelog@7.0.1_release-it<EMAIL_ADDRESS>Result from running release-it: undefined

Additional Info
Linked: https://github.com/release-it/release-it/issues/1043

Note that per the linked release-it issue, this isn't just with pnpm.


Cors issues

Hi, I'm trying to proxy some requests during development to avoid cors issues but getting this error:
Access to XMLHttpRequest at 'https://gateway.boaconsulta.com/api/v1/cep/01322-050' (redirected from 'http://localhost:3000/cep/01322-050') from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
My nuxt.config.js is configured as follow:
axios: {
  proxy: true
},
proxy: {
  '/cep/': { target: 'http://gateway.boaconsulta.com/api/v1/' }
},

I'm calling the service this way on the client side:
async resolveCep () {
  await this.$axios.get(`/cep/${this.data.zip}`)
}

I see on Chrome devtools the origin header to the target url is still http://localhost:3000, but the changeOrigin option isn't about rewrite the origin header to the target url?
What I'm doing wrong?
Appreciate any help.

forgot, my bad

@paulogr You're bad for what? How did you resolve?

yeah @paulogr, the same problem here - what did you do? :)

@paulogr, oh come on this is exactly what I am dealing with past 3 hours...

oh ok! I accept it is very shameful but the problem for me solved with changing
fetch(document.location.origin + '/api/auth/login/', {

to
fetch(document.location.origin + '/api/auth/login', {

notice deleting / from end of url :)


feature: Add possibilty to not manage the openvpn service with puppet.

When you have redundant pairs of firewalls you sometimes want to use
other means to start/stop the service (i.e. keepalived scripts).
This is primarly a request for comments. If somebody has a better approach,
I'd be happy to dig into it.

Well, the approach seems okay for me. I only had one comment, please check.

I added it as parameter so I do not have to worry about the existing test case which invokes the service class directly. I'll give it another go.

You can handle this with a precondition:
let(:pre_condition) { 'class { "openvpn": manage_service => true }' }

Hmm does not seem to work that way... Any idea?

Expand the facts to be like this:
let(:facts) do
  {
    :osfamily => 'Debian',
    :operatingsystem => 'Debian',
    :concat_basedir => '/var/lib/puppet/concat'
  }
end

Now it looks better, thank you.
Sorry this rspec stuff is pretty new to me, I do not yet fully understand the concepts and structure of these tests.

Thanks for your work! Looks good! I will add a reverse test to complete it.


catch catches error in monad continuation

I have the following code
prog1 :: Shell ()
prog1 = do
  echo "prog1"
  catch
    ( do
        echo "will be catched"
        pure ())
    (\(_ :: SomeException) -> do
        echo "exception")

prog2 :: IO ()
prog2 = do
  echo "prog2"
  procs "lll" [] mempty

mainMenu' :: Shell ()
mainMenu' = do
  echo "mainMenu"
  prog1
  liftIO prog2

I would expect that running this will not run the error handler (it will not print "exception). But runnig it prints it
*Main> sh $ mainMenu'
mainMenu
prog1
will be catched
prog2
exception
prog2
*** Exception: lll: createProcess: posix_spawnp: does not exist (No such file or directory)

Doing the same thing in the IO monad works as I expect
I'm on version 1.5.22

Yeah, there's not a good way to fix this, short of removing the MonadCatch instance altogether.
What's happening is that whenever you catch something in Shell the exception handler is catching all exceptions that will ever be raised by that Shell, not just exceptions in the wrapped block.

@Gabriel439 regarding the error itself createProcess: posix_spawnp: does not exist (No such file or directory), how can I fix this? it doesn't happen on my linux machine, but when running this program in an Amazon Linux image it breaks with that error.


datasette.add_database(name, db) and datasette.remove_database(name) methods

datasette.add_database(name, db) - adds a new named database to the list of connected databases. db will be a Database() object, which may prove useful in the future for things like #670 and could also allow some plugins to provide in-memory SQLite databases.
datasette.remove_database(name)

Originally posted by @simonw in https://github.com/simonw/datasette/issues/417#issuecomment-586047995

Documented here: https://datasette.readthedocs.io/en/latest/datasette.html


PAY-3304: Add server SDK support in for new search parameters

Can we add a function test for a search with these new parameters? A single test that sends all of these to match one transaction would be enough.

need to pull in latest from develop


Z-wave battery sensor (from thermostat)

Home Assistant release (hass --version):
0.14
Python release (python3 --version):
3.4
Component/platform:
z-wave
Description of problem:
no sensors for my batteries of my radiator thermostats
Expected:
see the battery level of my stellaz radiator thermostats
Additional info:
6-02-29 20:10:21 ERROR (Thread-8) [homeassistant.components.light] Error while setting up platform zwave
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 97, in _setup_platform
    discovery_info)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/light/zwave.py", line 36, in setup_platform
    add_devices([ZwaveDimmer(value)])
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 146, in add_entities
    if self.component.add_entity(entity):
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 118, in add_entity
    entity.update_ha_state()
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity.py", line 161, in update_ha_state
    device_attr = self.device_state_attributes
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/zwave.py", line 323, in device_state_attributes
    battery_level = self._value.node.get_battery_level()
  File "/usr/local/lib/python3.4/dist-packages/openzwave-0.3.0b8-py3.4.egg/openzwave/command.py", line 284, in get_battery_level
    for val in self.get_battery_levels():
  File "/usr/local/lib/python3.4/dist-packages/openzwave-0.3.0b8-py3.4.egg/openzwave/command.py", line 306, in get_battery_levels
    type='Byte', readonly=True, writeonly=False)
  File "/usr/local/lib/python3.4/dist-packages/openzwave-0.3.0b8-py3.4.egg/openzwave/node.py", line 403, in get_values
    for value in self.values:
RuntimeError: dictionary changed size during iteration

This seems to be an issue with Python Open Z-Wave iterating over a dictionary that is being changed mid-iteration. Best to report it there.


[Event Request] Page 5769 "Whse. Receipt Subform" - OnAfterWhsePostRcptPrintPostedRcpt

Describe the request
I want to run custom business logic after the WhsePostRcptPrintPostedRcpt procedure. Therefore, I request the following Event:
procedure WhsePostRcptPrintPostedRcpt()
var
	WhseRcptLine: Record "Warehouse Receipt Line";
begin
	WhseRcptLine.Copy(Rec);
	CODEUNIT.Run(CODEUNIT::"Whse.-Post Receipt + Pr. Pos.", WhseRcptLine);
	Rec.Reset();
	CurrPage.Update(false);
	//NEW BEGIN
	OnAfterWhsePostRcptPrintPostedRcpt(Rec);
	//NEW END
end;
[IntegrationEvent(false, false)]
local procedure OnAfterWhsePostRcptPrintPostedRcpt(var WarehouseReceiptLine: Record "Warehouse Receipt Line")
begin
end;

Additional context
This allows code to be run after the WhsePostRcptPrintPostedRcpt procedure.
Internal work item: AB#544555

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 23103.


Error while sending transactions

I am getting 400 on transaction sending for one account:
error while getting new transaction: error while building transaction: error while getting user authorizer: cipher: message authentication

@uhbif19, this looks like an error you might get if the encryption key is changed. Have you changed the value for FLOW_WALLET_ENCRYPTION_KEY?

@nanuuki No. And other users worked okay.

@uhbif19 ok, can you provide any additional details about the account & configuration? Are you using local or KMS keys for example?


Hide document upload fields

Describe the task
Since we aren't going to prod with document uploads we need to comment out those fields in the User Operator and Operations forms.
Acceptance Criteria

[ ] Comment out document upload fields in User Operator form
[ ] Comment out document upload fields in Operations form
[ ] Ensure both form create/update functionality works without errors due to missing fields

Additional context

Add any other context about the task here.
Or here

This is probably going to be covered by #598 and #612

Closing - already completed in other tickets.


check_game_state subroutine is not called from anywhere

Hi @flxbe !
check_game_state subroutine in game.asm is not called from anywhere.
A couple of thoughts:

To Delete to check_game_state subroutine in game.asm.
To Call check_game_state subroutine from space-invaders.asm.

Which is better?
Best regards,

Nice catch. I would prefer to call the check_game_state function, since the game function is already pretty verbose.
My suggestion is to rename the winner variable to game_state. The possible values would be

0: still playing
1: player wins
2: invaders win

The check_game_state function can be renamed update_game_state and be called within game. It would update the global variable game_state. game then only has to switch on the updated game_state to possibly update the program_state. What do you think?

Sorry for late reply.😓
No problem!
I will send a pull request soon.


break migration down into methods, clean up some warnings in mailstore

what the title says. this pr contains no actual semantic changes, I only moved code around, got rid of warnings along the way, and made some methods static and reduced visibility here and there, while reading up on LocalFolder and StoreSchemaDefinition (for #1004)

@Valodim: Why did you make the extracted migration methods static?

Because they don't actually use state of the object. No particular reason, I'm just used to it. But I suppose for dependency-injection type deals that loses the dynamic binding, so feel free to change it if you need it differently.

I was simply curious.
Personally, I try to keep static methods to a minimum. I'd have made these methods non-static to show they belong to the larger operation that is performed by an instance of the class. But that's mostly a matter of taste I guess.
There's no dynamic binding with non-static private methods either. So that's not an issue.


Run on the CPU

Can I run this model on cpu? What changes in the code is necessary to do this?

@fregu856

@DenisN03 just tried to do it on CPU after trying on my small GPU and having a memory problem.
The message I get is :
No OpKernel was registered to support Op 'MaxPoolWithArgmax' with these attrs.  Registered devices: [CPU], Registered kernels:

@fregu856


Merge back to develop

!ci-build-me

!ci-nightly-me

Nightly run: https://buildkite.com/o-1-labs-2/mina-end-to-end-nightlies/builds/2741

coverage: 0.0% (-61.0%) from 61.005%
when pulling 1b757eb42496b9a7ed991c05612a9009493801a5 on merge-back-to-develop-2024-1015
into 8ea861f866a75baa0a225558d2a3a98bbfe47a56 on develop.


CAMEL-10901 Implemented support for Kafka consumer to seek to either ...

… beginning or end of topic on startup

Since we are changing the old behavior maybe it can be better if you add something in the .adoc file.
I mean a little section where you describe how the behavior changed.

Yeah the seek to beginning is from CAMEL-9716. So it may be better to have seekToEnd as new option, so its backwards compatible

I did implement at first like Claus suggests, but as these are conflicting parameters and the usual way to implement that in Camel is to use an enum I changed to that instead.
As seekToBeginning functionality was added in 2.19.0-SNAPSHOT it has never been part of a release version and hence it is better in my opinion to keep consistent with how other parameters are handled. I have added a note in the description about it as Andrea suggests.

Its in the 2.18.x releases
https://github.com/apache/camel/blob/camel-2.18.x/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java#L98

Ok, it wasn't mentioned on http://camel.apache.org/kafka.html and fix version of CAMEL-9716 said 2.19.0 so that was why I missed it.
Still in my opinion it is better to keep consistency but if you prefer I can implement it as seekToEnd and throw an exception if they are set to conflicting values.

Yeah its better with a seekToEnd option.

We will wait for your fix, by the way add a note in the docs with an example would be nice

There are no backwards compatibility anyway on the kafka component between 2.19.x and 2.18.x as there are fundamental changes in how brokers and topic are specified:
2.18.x:
kafka:mybrokers?topic=mytopic
2.19.x:
kafka:mytopic?brokers=mybrokers

You can have a point  that users would need to migrate and that seek to beginning was only added in 2.18.x so its only 1 release back.
So we can likely just do the seekTo stuff. And add a note in the 2.19 release note about the option change

I would vote for that but it's up to you to decide.

Thanks for the PR it has been merged. Do you mind closing this?

I was waiting for your opinion before merging @davsclaus
By the way that's fine :-)

Thank you


Crafting with multiple fluids only works with special tanks.

Issue description:
When trying to autocraft something that requires multiple Fluids only one of the fluids gets inserted unless the accepting machine is able to accept multiple Fluids at once.
What happens:
Autocrafting gets stuck when trying to craft with multiple fluids.
What you expected to happen:
First, one fluid gets inserted, then the other afterwards.
Steps to reproduce:

Make a pattern that uses multiple fluids. (Molten Dawnstone in my case it uses Molten Copper and Gold)
Setup the crafter looking at a tank.
Craft
...

Additional Comments
The Craft also is very slow due to the fact that it stalls for a bit whenever it cannot insert the fluid.
The only solution I found is using a tank that accepts multiple liquids. A tinker's smeltery was the only thing I could think of.
On version 1.6.4 where I initially encountered this, the complete system would get reset when it encountered this issue.
Version (make sure you are on the latest version before reporting):

Minecraft: 1.12.2
Forge:2760
Refined Storage: 1.6.6-300 ( from jenkins).

Does this issue occur on a server? [yes/no]
yes

But isn't that the fault of the mod? Most fluid tanks only support 1 fluid at a time. I can't do anything about that.

Kind of yeah, the embers alloy mixer needs the gold in one side and the copper on another. That means I already have to use a different tank as a buffer and then sort the fluid later.
The idea is that RS would insert one fluid and then waits until I empty the tank while it is unable to insert the other. Instead of what it currently does, where if a fluid cannot be inserted it will just be skipped.
This allows working around the issue outside of RS.

What do you mean with "skipped"? It shouldn't skip the fluid. The crafting task blocks until the fluid can enter again. It should insert fluid 1 and when fluid 1 is gone it should insert fluid 2. It does that, right?

Refined Storage needs to be able to insert all the fluids (or even items) at once, to avoid mixing issues. So this will be a won'tfix!


[ListView] [cloneWithRowsAndSections] rowHasChanged compares new rows, not new and old.

When using cloneWithRowsAndSections, it appears that rowHasChanged is comparing the updated row against itself, instead of against the old row.
Checked using: rowHasChanged: (r1, r2) => (console.log(r1, r2)), which outputs two identical rows, both reflecting the top-level object property change (e.g. obj[flagged] = true).
Console output:
{
    id: [x],
    flagged: true
}
{
    id: [x],
    flagged: true
}

Expecting:
{
    id: [x],
    flagged: false
}
{
    id: [x],
    flagged: true
}

As a result, I am unable to compare on that heuristic (like suggested in https://github.com/facebook/react-native/issues/3518), or any other for that matter.
How the property is updated--
Datasource initialized:
// Set state
this.setState({
    assetDataSource: this.state.assetDataSource.cloneWithRowsAndSections(this.asset_data),
    currentAssetSectionInfo: this.section_data
});

Datasource updated:
// Make changes
this.asset_data[id_to_update].flagged = true;

// Update
this.setState({
    assetDataSource: this.state.assetDataSource.cloneWithRowsAndSections(this.asset_data),
    currentAssetSectionInfo: this.section_data
});

Any ideas as to why this might be?

Are your new rows actually your old rows? Try cloning with JSON.parse(JSON.stringify(this.asset_data)) to debug.

Agh - silly of me. That was it. Thank you!


Upload zip format instructions are confusing

The format for uploading a binary policy is
<zipname>.zip containing the structure: <zipname>/policy/sepolicy
I couldn't work this out from the instructions, only looking in one of the provided instructions. Suggest adding an example to the README and the error message when uploading a zip.
(but I have now got my policy loaded and will have a play, thanks for the tool!)

Thanks for your feedback! I added more detailed instructions to the README and the error message. Please let me know if you have any other feedback.


User guide for connecting F4 brain.

F4 brain is a bit confusing to use, we need to document how to connect it to the bus.
@mmoskal is it possible to configure the brain to always boot into app if present, without reprogramming all the bootloaders on the boards?

You can update bootloader with uf2, so it's not very difficult. Would you like it to be app on first power-up and then go to flashing mode on first reset?

@mmoskal see https://github.com/microsoft/jacdac/issues/682

Not clear what i should be doing here.

Raising this to p0 since this is a firmware change.

We can beef up user guide later on.


Adding Patricia Mergen's nominations for Deputy Chair

Hi
I have added my affiliations to the page by using EDIT.  it probably sent a patch pmergen to you, as far as I understood ..


fix(recurring_booking): use startDateTime instead of date only

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 12.104%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/src/model/booking/recurring_booking.dart
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
126

Relevant Lines:
1041

💛  - Coveralls


How should the size of from_io's "sliding buffer" be chosen?

My question concerns the second component of from_io's val argument`:
https://github.com/jamesmunns/postcard/blob/6338601498b23e962632087c44b19830d579227d/src/de/mod.rs#L85
From what I can tell, it is a "sliding buffer":

https://github.com/jamesmunns/postcard/blob/6338601498b23e962632087c44b19830d579227d/src/de/mod.rs#L90
https://github.com/jamesmunns/postcard/blob/6338601498b23e962632087c44b19830d579227d/src/de/flavors.rs#L330-L335

In the loopback test, the buffer is 2048 bytes: https://github.com/jamesmunns/postcard/blob/6338601498b23e962632087c44b19830d579227d/tests/loopback.rs#L191-L193
Is this a good choice, generally?
Thank you.
cc: @xgroleau

Thank you, @xgroleau. Your response is very helpful. But should this example then work?
use postcard::{from_io, to_io};
use serde::de::DeserializeOwned;

fn main() {
    fn sanity(_: &impl DeserializeOwned) {}

    let data = String::from("hello");

    sanity(&data);

    let serialized: ::std::vec::Vec<u8> = vec![];
    let ser = to_io(&data, serialized).unwrap();
    {
        let mut buff = [0; 0]; // <-- Changed 2048 to 0.
        let x = ser.clone();
        let deserialized: String = from_io((x.as_slice(), &mut buff)).unwrap().0;
        assert_eq!(data, deserialized);
    }
}

I get:
thread 'main' panicked at src/main.rs:16:71:
called `Result::unwrap()` on an `Err` value: DeserializeUnexpectedEnd

I'm wondering if there may be a bug here: https://github.com/jamesmunns/postcard/blob/6338601498b23e962632087c44b19830d579227d/src/de/deserializer.rs#L387-L392

You are right, but it seems strings and probably deserialize_byte_buf borrow the data first and the allocate. So in the end, that includes allocation actually, not just borrowed data. I misunderstood and didn't verify with the internals, sorry about that.  Not sure if it is a bug more than just a misunderstanding of the actual behavior.
@jamesmunns could validate that if it is the actual desired behavior. If it is, then you need to make sure to have enough space for allocated items and we could probably document it to make sure the behavior is clear.

I stumbled upon this problem too and it seems that the given buffer must be big enough to contain the entire input. Because it is stack-allocated it means that you can't process anything bigger than about 8MiB (this is the stack size limit on x86_64 Linux).


Validation does not get true

Given the following code, I would expect the first validation call to return false and the second one to return true.
require 'reform'
require 'ostruct'

require "reform/form/active_model/validations"
Reform::Form.class_eval do
  include Reform::Form::ActiveModel::Validations
end

class MyForm < Reform::Form
  property :body, validates: {presence: true}
end

myModel = OpenStruct.new

form = MyForm.new myModel

p "Empty Validate: #{form.validate({})}"

p form.errors

p "body: #{form.body}"
p form.errors

p ""
p "filled Validate: #{form.validate({ body: 'lala', foo: false})}"

p "body: #{form.body}"
p form.errors

So the actual output is:
$ ruby test.rb
"Empty Validate: false"
#<Reform::Contract::Errors:0x007fd5ea215620 @base=#<MyForm:0x007fd5ea21f0f8 @fields={"body"=>nil}, @model=#<OpenStruct>, @mapper=#<#<Class:0x007fd5ea21f008>:0x007fd5ea21ed88 @model=#<OpenStruct>>, @_changes={}, @errors=#<Reform::Contract::Errors:0x007fd5ea215620 ...>>, @messages={:body=>["can't be blank"]}>
"body: "
#<Reform::Contract::Errors:0x007fd5ea215620 @base=#<MyForm:0x007fd5ea21f0f8 @fields={"body"=>nil}, @model=#<OpenStruct>, @mapper=#<#<Class:0x007fd5ea21f008>:0x007fd5ea21ed88 @model=#<OpenStruct>>, @_changes={}, @errors=#<Reform::Contract::Errors:0x007fd5ea215620 ...>>, @messages={:body=>["can't be blank"]}>
""
"filled Validate: false"
"body: lala"
#<Reform::Contract::Errors:0x007fd5ea1e6ca8 @base=#<MyForm:0x007fd5ea21f0f8 @fields={"body"=>"lala"}, @model=#<OpenStruct>, @mapper=#<#<Class:0x007fd5ea21f008>:0x007fd5ea21ed88 @model=#<OpenStruct>>, @_changes={"body"=>true}, @errors=#<Reform::Contract::Errors:0x007fd5ea1e6ca8 ...>>, @messages={:body=>["can't be blank"]}>

That's a bug right? Or should I use the form object differently?
P.S.: That also happens with real ActiveRecord objects, I put in an OStruct instance, to make the test file simpler and to just be callable like that.

Calling #validate twice is not supported by Reform, it simply doesn't make sense to validate a form twice. This issue discusses this already: https://github.com/apotonick/reform/issues/282

BTW, we could think about clearing the errors in #validate but I'm not sure if I really want to encourage people to do so. The form is a throw-away object and shouldn't be reused...?!?!? :wine_glass:

Good to know.
But I don't exactly get the reason why validate should not work the second time.. I mean, if it is possilbe to call it twice, then I would also thing it works the same way, and not change it's behavior.
But I guess, I should discuss that in #282 then.


Regionalization - Burundi - Change Description of salt in food for NCD Social History

Issue
Rephrase the question “Do you add salt to your food?” to "Do you add salt to your food after it is served?"

Task

Change the phrase for Burundi

cc @Diama1 please provide Kurundi translation

https://qa-vhw.pantheonsite.io/app/
QA Review
Checked and approved:

Question is rephrased per request


Cant get it working

Hi,
I flashed HyperSerialWLED ony my 340G AZ Delivery D1 mini v3. It is working good as WLED and also with HyperHDR over network. However, when I connect it to the Pi through USB and enable adalight with awa option in HyperHDR, just nothing happens. Do I miss anything?
Kind regards

Nevermiind, got it working by adding the apprproiate amount of zeros at baud rate :)

I'm having the same exact issue right now with my D1 mini. WLED works fine, HyperHDR works over network, but when I switch to adalight, I get no response. Looking at the logs, it looks like it's able to connect to the ESP. Logs attached below. I'm running HyperHDR on a Pi4 if that matters at all. Any help you could provide at all would be great! I've triple checked the number of zeros in the baud rate.
2021-05-16T04:33:20.611Z [SMOOTHING] (INFO) Clearing queued colors
2021-05-16T04:33:20.646Z [LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:150:put()) PUT: [http://<IP_ADDRESS>/json/state] [{"on":false}]
2021-05-16T04:33:20.687Z [LEDDEVICE] (DEBUG) (ProviderRestApi.cpp:187:getResponse()) Reply.httpStatusCode [200]
2021-05-16T04:33:41.714Z [LEDDEVICE] (INFO)  Stopped LedDevice 'wled'
2021-05-16T04:33:41.715Z [LEDDEVICE] (INFO) Start LedDevice 'adalight'.
2021-05-16T04:33:41.716Z [LEDDEVICE] (DEBUG) (LedDevice.cpp:149:init()) deviceConfig: [{"awa_mode":true,"colorOrder":"rgb","currentLedCount":262,"delayAfterConnect":0,"hardwareLedCount":262,"latchTime":15,"lightberry_apa102_mode":false,"output":"auto","rate":2000000,"rewriteTime":1000,"type":"adalight"}]
2021-05-16T04:33:41.716Z [LEDDEVICE] (DEBUG) (LedDevice.cpp:408:setLatchTime()) LatchTime updated to 15ms
2021-05-16T04:33:41.716Z [LEDDEVICE] (DEBUG) (LedDevice.cpp:429:setRewriteTime()) Refresh interval = 1000ms
2021-05-16T04:33:41.716Z [LEDDEVICE] (DEBUG) (LedDevice.cpp:435:setRewriteTime()) RewriteTime updated to 1000ms
2021-05-16T04:33:41.717Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:36:init()) DeviceType   : adalight
2021-05-16T04:33:41.717Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:37:init()) LedCount     : 262
2021-05-16T04:33:41.717Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:38:init()) ColorOrder   : rgb
2021-05-16T04:33:41.717Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:39:init()) RefreshTime  : 1000
2021-05-16T04:33:41.717Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:40:init()) LatchTime    : 15
2021-05-16T04:33:41.717Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:52:init()) deviceName   : auto
2021-05-16T04:33:41.718Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:53:init()) AutoDevice   : 1
2021-05-16T04:33:41.718Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:54:init()) baudRate_Hz  : 2000000
2021-05-16T04:33:41.718Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:55:init()) delayAfCon ms: 0
2021-05-16T04:33:41.718Z [LEDDEVICE] (DEBUG) (LedDeviceAdalight.cpp:64:CreateHeader()) Adalight driver with activated high speeed & data integration check AWA protocol
2021-05-16T04:33:41.718Z [LEDDEVICE] (DEBUG) (LedDeviceAdalight.cpp:74:CreateHeader()) Adalight header for 262 leds: Awa 0x01 0x05 0x51
2021-05-16T04:33:41.761Z [LEDDEVICE] (INFO) found serial device: ttyUSB0
2021-05-16T04:33:41.761Z [LEDDEVICE] (INFO) Opening UART: ttyUSB0
2021-05-16T04:33:41.762Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:141:tryOpen()) _rs232Port.open(QIODevice::ReadWrite): ttyUSB0, Baud rate [2000000]bps
2021-05-16T04:33:41.807Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:146:tryOpen()) portName:          ttyUSB0
2021-05-16T04:33:41.807Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:147:tryOpen()) systemLocation:    /dev/ttyUSB0
2021-05-16T04:33:41.808Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:148:tryOpen()) description:       USB2.0-Ser
2021-05-16T04:33:41.808Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:149:tryOpen()) manufacturer:      1a86
2021-05-16T04:33:41.808Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:150:tryOpen()) productIdentifier: 0x7523
2021-05-16T04:33:41.808Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:151:tryOpen()) vendorIdentifier:  0x1a86
2021-05-16T04:33:41.808Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:152:tryOpen()) serialNumber:
2021-05-16T04:33:41.818Z [COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled
2021-05-16T04:33:41.819Z [SMOOTHING] (INFO) Using alternative smoothing input (0)
2021-05-16T04:33:41.820Z [SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:139:write()) Enabling timer. Now timer is active: 1, remaining time to run: 12
2021-05-16T04:33:41.832Z [SMOOTHING] (INFO) Using alternative smoothing procedure (0)
2021-05-16T04:33:42.202Z [HTTPJSONRPC] (DEBUG) (JsonAPI.cpp:85:handleInstanceSwitch()) Client '::ffff:<IP_ADDRESS>' switch to HyperHDR instance 0
2021-05-16T04:33:43.197Z [IMAGETOLED] (INFO) Total index number for instance: 0 is: 50312. Sparse processing: disabled, image size: 640 x 480, area number: 261
2021-05-16T04:33:43.477Z [V4L2:/DEV/VIDEO0] (INFO) Video FPS: 30.02, av. delay: 1ms, good: 1801, bad: 0 (60.03,15)
2021-05-16T04:33:56.026Z [IMAGETOLED] (INFO) Total index number for instance: 0 is: 76456. Sparse processing: disabled, image size: 640 x 480, area number: 261
2021-05-16T04:34:12.215Z [HTTPJSONRPC] (DEBUG) (JsonAPI.cpp:85:handleInstanceSwitch()) Client '::ffff:<IP_ADDRESS>' switch to HyperHDR instance 0
2021-05-16T04:34:15.985Z [COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: disabled
2021-05-16T04:34:15.988Z [SMOOTHING] (INFO) Clearing queued colors
2021-05-16T04:34:16.331Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:93:close()) Flush was successful
2021-05-16T04:34:16.332Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:95:close()) Close UART: ttyUSB0
2021-05-16T04:34:30.311Z [LEDDEVICE] (INFO) Opening UART: ttyUSB0
2021-05-16T04:34:30.314Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:141:tryOpen()) _rs232Port.open(QIODevice::ReadWrite): ttyUSB0, Baud rate [2000000]bps
2021-05-16T04:34:30.385Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:146:tryOpen()) portName:          ttyUSB0
2021-05-16T04:34:30.386Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:147:tryOpen()) systemLocation:    /dev/ttyUSB0
2021-05-16T04:34:30.386Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:148:tryOpen()) description:       USB2.0-Ser
2021-05-16T04:34:30.387Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:149:tryOpen()) manufacturer:      1a86
2021-05-16T04:34:30.388Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:150:tryOpen()) productIdentifier: 0x7523
2021-05-16T04:34:30.388Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:151:tryOpen()) vendorIdentifier:  0x1a86
2021-05-16T04:34:30.389Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:152:tryOpen()) serialNumber:
2021-05-16T04:34:30.395Z [COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled
2021-05-16T04:34:30.396Z [SMOOTHING] (INFO) Clearing queued colors
2021-05-16T04:34:30.398Z [SMOOTHING] (INFO) Using alternative smoothing input (0)
2021-05-16T04:34:30.399Z [SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:139:write()) Enabling timer. Now timer is active: 1, remaining time to run: 12
2021-05-16T04:34:30.412Z [SMOOTHING] (INFO) Using alternative smoothing procedure (0)
2021-05-16T04:34:32.259Z [IMAGETOLED] (INFO) Total index number for instance: 0 is: 68024. Sparse processing: disabled, image size: 640 x 480, area number: 261
2021-05-16T04:34:35.392Z [IMAGETOLED] (INFO) Total index number for instance: 0 is: 76456. Sparse processing: disabled, image size: 640 x 480, area number: 261
2021-05-16T04:34:42.209Z [HTTPJSONRPC] (DEBUG) (JsonAPI.cpp:85:handleInstanceSwitch()) Client '::ffff:<IP_ADDRESS>' switch to HyperHDR instance 0
2021-05-16T04:34:43.505Z [V4L2:/DEV/VIDEO0] (INFO) Video FPS: 30.02, av. delay: 5ms, good: 1801, bad: 0 (60.03,15)
2021-05-16T04:35:12.215Z [HTTPJSONRPC] (DEBUG) (JsonAPI.cpp:85:handleInstanceSwitch()) Client '::ffff:<IP_ADDRESS>' switch to HyperHDR instance 0
2021-05-16T04:35:42.218Z [HTTPJSONRPC] (DEBUG) (JsonAPI.cpp:85:handleInstanceSwitch()) Client '::ffff:<IP_ADDRESS>' switch to HyperHDR instance 0
2021-05-16T04:35:43.533Z [V4L2:/DEV/VIDEO0] (INFO) Video FPS: 30.02, av. delay: 5ms, good: 1801, bad: 0 (60.03,15)
2021-05-16T04:36:12.212Z [HTTPJSONRPC] (DEBUG) (JsonAPI.cpp:85:handleInstanceSwitch()) Client '::ffff:<IP_ADDRESS>' switch to HyperHDR instance 0
2021-05-16T04:36:17.209Z [V4L2:/DEV/VIDEO0] (INFO) Signal lost
2021-05-16T04:36:18.777Z [V4L2:/DEV/VIDEO0] (INFO) Signal detected
2021-05-16T04:36:42.231Z [HTTPJSONRPC] (DEBUG) (JsonAPI.cpp:85:handleInstanceSwitch()) Client '::ffff:<IP_ADDRESS>' switch to HyperHDR instance 0
2021-05-16T04:36:43.534Z [V4L2:/DEV/VIDEO0] (INFO) Video FPS: 30.00, av. delay: 5ms, good: 1800, bad: 0 (60.00,15)
2021-05-16T04:37:12.229Z [HTTPJSONRPC] (DEBUG) (JsonAPI.cpp:85:handleInstanceSwitch()) Client '::ffff:<IP_ADDRESS>' switch to HyperHDR instance 0
2021-05-16T04:37:42.244Z [HTTPJSONRPC] (DEBUG) (JsonAPI.cpp:85:handleInstanceSwitch()) Client '::ffff:<IP_ADDRESS>' switch to HyperHDR instance 0
2021-05-16T04:37:43.562Z [V4L2:/DEV/VIDEO0] (INFO) Video FPS: 30.02, av. delay: 5ms, good: 1801, bad: 0 (60.03,15)```

productIdentifier & vendorIdentifier indicate that it's some kind of ch340 family serial chip but verify that with your own eyes on the board because you can't trust them (as in my following logs with fake ID). You could try to limit for a test led number in HyperHDR to 100 but I doubt it can help. My logs for d1 mini are quite different, using different driver and that may cause the trouble in your case and don't allow to use 2Mb serial mode:
2021-05-15T22:29:43.144Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:146:tryOpen()) portName:          ttyUSB0
2021-05-15T22:29:43.144Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:147:tryOpen()) systemLocation:    /dev/ttyUSB0
2021-05-15T22:29:43.144Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:148:tryOpen()) description:       FT232R USB UART
2021-05-15T22:29:43.145Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:149:tryOpen()) manufacturer:      FTDI
2021-05-15T22:29:43.145Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:150:tryOpen()) productIdentifier: 0x6001
2021-05-15T22:29:43.145Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:151:tryOpen()) vendorIdentifier:  0x403
2021-05-15T22:29:43.145Z [LEDDEVICE] (DEBUG) (ProviderRs232.cpp:152:tryOpen()) serialNumber:      A50285BI (which indicate fake chip but it's CH340G and it works)

Thanks so much for your response. I tried to troubleshoot today and have made some progress. The chip does indeed say CH340G so I think it's right. Limiting the led number to 100 didn't change anything. I had been playing around with the Arduino IDE a couple weeks ago for another project, so I thought I would try out a small test program to see if it was capable at communicating at 2000000 baud. Serial monitor was just showing scrambled data at 2000000 but it did work at 1000000. I was able to change HyperSerialEsp8266 to 1000000 and that worked somewhat for my LEDs but gave me other issues with my capture card, not sure if it's related or not. I was also able to get the standard WLED instance working at 115200 baud rate, but that seemed too slow to look good. I tried looking into compiling my own WLED at 1000000 but it seemed much over my head since I'm still new to all this. Is there any make to make your version of HyperSerialWLED have a variable for the baud rate so we could set it ourselves through the WLED UI? Sorry if that's an ignorant question, I'm not really sure how the baud rate actually works. I might shop for some more d1 minis to see if I can find any better ones, but I'm not real sure what to look for.

You may experience more or less troubles using standard WLED at 1 000 000 speed and above but I think it's no it fault. Rather it's the limitation of the standard adalight protocol which assumes perfect, error free transmission. It has protection only for a tiny bit of the frame. You can easily change the HyperSerialWLED speed in https://github.com/awawa-dev/HyperSerialWLED/blob/master/wled00/wled.cpp in setup() and compile the project with Code Studio (perfect instruction is at the WLED project's wiki).

Thanks so much for pointing me in the right direction! I'll give it a shot. Thanks for all your work on HyperHDR, I'm excited to get it up and running!

Do you have another D1 (different manufacturer) available to try? I would give it a try.

I first bought a five pack of them off Amazon and two of them tested the same, but presumably they're the same manufacturer since they came together. I ordered some more off of Amazon that look slightly different in hopes they'll work at 2000000. They arrive tomorrow, so we'll see. I was able to get WLED working at 1000000 today, so right now it's functional, but I want the best performance I can get, so I'll try the new D1s tomorrow.


No autoincrement for serial column

GORM Playground Link
https://github.com/go-gorm/playground/pull/439
Description
Upgrading from gorm v1.22.5 columns of type serial does not appear to increment appropriately. According to the logs, with the new version of gorm and the gorm postgres driver, 0 is inserted in the serial column as opposed to the previous version where nothing is inserted and the column default sequence is correctly used.

gorm v1.3.0, postgress driver v1.3.0:  INSERT INTO "tests" ("id","created_at","updated_at","deleted_at") VALUES (0,'2022-02-22 12:52:02.765','2022-02-22 12:52:02.765',NULL)

gorm v1.22.5, postgress driver v1.2.3: INSERT INTO "tests"  ("created_at","updated_at","deleted_at") VALUES ('2022-02-22 12:51:00.618','2022-02-22 12:51:00.618',NULL) RETURNING "id"

the playground seems works for me.

@madskrogh Did you ever figure out what happened here..? I'm having the same issue. A new entity is initialized with ID 0 and inserted as such.


prefix mixins / functions?

it would be easier to use packages in other projects / to prevent naming collisions

not for now


Problem ajax

Related to #171 (partially resolved)

Eh I screwed up and mixed in other non-related commits. I think this would be a hassle to squash so we should just move forward with merging as is.


Hyphen is not displayed

mdl 1.0.2
Hyphens are not displayed in the Blog template and the text-only template.

Can you provide an example please? They seem to be working here in the templates just fine.

Close the issue.
It is working now.
Cheers
Clay Kalei Ashby
<EMAIL_ADDRESS>On Tue, Aug 18, 2015 at 7:05 AM, Jonathan Garbee<EMAIL_ADDRESS>wrote:

Can you provide an example please? They seem to be working here in the
templates just fine.
—
Reply to this email directly or view it on GitHub
https://github.com/google/material-design-lite/issues/1417#issuecomment-132220274
.

Glad to hear :)


Better exception handling

Currently we do things like
try:
    ...
except Exception as e:
    raise Exception(...) from e

We should introduce some Exception classes, probably in a separate exceptions.py.
That way we don't have to continue this ugly and potentially faulty pattern.

I'm going to close this as to generic; if you have specific PRs for specific locations where this should be fixed I can always reconsider.


Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'createTexture')

Link to the test: https://kalidokit-live2d.glitch.me/
Here's the link to the test I deployed on my own server: https://kalidokit.moeworld.top/
(I may have taken it off the server by the time you visit)
Everything else seems to be working fine, both the live2d loading and the camera display
But the motion capture positioning lines and motion capture effects never appear
The error log below is also 100% reproduced in the demo you provided, even in https://kalidoface.com/
How can I solve this problem and I would like to know if this problem is generated on my client (browser) or on the server?
This is the Error Log in my Chrome's console:
face_mesh_solution_simd_wasm_bin.js:9 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'createTexture')
    at __glGenObject (face_mesh_solution_simd_wasm_bin.js:9:215417)
    at _glGenTextures (face_mesh_solution_simd_wasm_bin.js:9:215791)
    at face_mesh_solution_simd_wasm_bin.wasm:0x1451d
    at face_mesh_solution_simd_wasm_bin.wasm:0x14505
    at Object.createTexture (eval at new_ (face_mesh_solution_simd_wasm_bin.js:9:161510), <anonymous>:7:10)
    at pa.h (face_mesh.js:62:503)
    at sa (face_mesh.js:14:299)
    at ta.next (face_mesh.js:15:91)
    at g (face_mesh.js:42:1204)
__glGenObject @ face_mesh_solution_simd_wasm_bin.js:9
_glGenTextures @ face_mesh_solution_simd_wasm_bin.js:9
$func181 @ face_mesh_solution_simd_wasm_bin.wasm:0x1451d
$func180 @ face_mesh_solution_simd_wasm_bin.wasm:0x14505
createTexture @ VM83:7
(anonymous) @ face_mesh.js:62
sa @ face_mesh.js:14
next @ face_mesh.js:15
g @ face_mesh.js:42
Promise.then (async)
Q @ camera_utils.js:22
(anonymous) @ camera_utils.js:22
requestAnimationFrame (async)
P @ camera_utils.js:22
O.a.video.onloadedmetadata @ camera_utils.js:22

The print in my server's cmd:

><EMAIL_ADDRESS>dev
> vite docs --host <IP_ADDRESS> "<IP_ADDRESS>"

  vite v2.7.1 dev server running at:

  > Network:  http://[the ip I was delete]:3000/
  > Local:    http://localhost:3000/

  ready in 343ms.

16:25:56 [vite] page reload index.html

This is a very interesting project and I spent a long time hoping it would work on my device, but unfortunately I was not able to solve the bug successfully
I hope I can get some help, thanks!
Some content is translated using deepl

This seems like an incompatibility of Mediapipe on your device specifically. I am unable to reproduce that error.
You could also try other browsers like Edge or Firefox to see if it works on them.
You may need to switch to tensorflow.js version of facemesh to support browsers on all devices. It is slower but has more support.

This seems like an incompatibility of Mediapipe on your device specifically. I am unable to reproduce that error on MacOS.
You could also try other browsers like Edge or Firefox to see if it works on them.
You may need to switch to tensorflow.js version of facemesh to support browsers on all devices. It is slower but has more support.

Thank you for your reply, I will download a firefox to try to re-run the demo, if it does not work I will go to update my chrome to try again
But I think Edge is not necessary to try, because edge and Chrome use the same kernel, there should not be any difference in running javascript
I will reply later after testing

Now I have finished the test
But the results are not good
On Firefox, once I press the button to start the camera on https://kalidoface.com/, the whole firefox goes into an unresponsive state and seems to be unrecoverable
I also updated chrome to try this, but the same error occurs as before
I think I should probably try switching to tensorflow.js, but since I'm not very familiar with Nodejs, can you give me a general idea of what I need to do?
Now Environment
Google Chrome	103.0.5060.134 (正式版本) （64 位）
修订版本	8ec6fce403b3feb0869b0732eda8bd95011d333c-refs/branch-heads/5060@{#1262}
操作系统	Windows 7 Service Pack 1 (Build 7601)
JavaScript	V8 <IP_ADDRESS>

I have recently done some other tests
I installed firefox on my Android phone and opened https://kalidoface.com/ with it. In live2d mode, the face capture was normal, but it didn't capture my hand movements
My personal guess is that only 3d models support full motion capture, which is obvious, but it seems that due to network problems, my side can't load 3d models properly, so I can't verify my guess

At the same time, I noticed that it doesn't seem to work properly on Via Browser, opening it without any authorization request and issuing a message that the camera is not authorized.
And the page rendering doesn't look normal
Personally, I think this is probably due to the fact that Via is using the WebView kernel that comes with the system.
Also, what does Mediapipe's support have to do with it? Is it the graphics card?

Could you please reply to me earlier if you have time?
It's been ten days.

Well, okay.
Although you haven't given me a reply until now, and I haven't found out what the problem is.
But after replacing my computer with a new one, I found that both the core and Nvidia discrete graphics cards work fine for this project, so maybe it's solved.


In the settings, while using the typo-tolerance, in an error happens in the sub-fields we return the error code invalid_min_word_length_for_typo instead of invalid_settings_typo_tolerance

Fixed by #3355


Unable to set the type in the JWT header

Any attempt to set the type is always overwritten.
My API requires that the type in the header is set to JWS
Currently working around it by hacking the struct cirectly but this is obviously not portable.
Please advise.

Can you provide a simple example here that reproduces the problem.

If I understand the issue correctly, custom header parameters (as is the typ claim on a JWS token) can be set. THere is a dedicated guide on docs here https://hexdocs.pm/joken/custom_header_arguments.html

Sorry. Replied too fast without looking more deeply into it. We are setting it on a nasty Map.merge call.
I'll fix this and release a new version.

This is fixed on master and will be released soon :)
Nice catch!
Either way it is on the specification that if the typ header claim is present it is RECOMMENDED that its value is JWT. Nonetheless we shouldn't enforce it if it is just a recommendation.

how can I remove type : "JWT" from decode header Joken.encode_and_sign ? after called it I check the source code see it use by default


Can you add auth state with redux toolkit?

sorry, I found no reason for it. You can play with it the way you want. Feel free to do that. Thanks!


解决序列化Connection子类存在属性丢失的问题

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

问题描述：com.alibaba.com.caucho.hessian.io.CollectionSerializer的序列化逻辑会导致属性丢失。比如，通过dubbo接口返回以下类的对象时，其属性totalCount会丢失。
`public class PageList extends ArrayList {
private static final long serialVersionUID =<PHONE_NUMBER>332294208L;

private int totalCount;

public PageList() {
    super();
}

public PageList(Collection<? extends E> c, int totalCount) {
    super(c);
    this.totalCount = totalCount;
}

public PageList(Collection<? extends E> c) {
    super(c);
    this.totalCount = c.size();
}

public int getTotalCount() {
    return totalCount;
}`

修改方案：在CollectionSerializer和CollectionDeserializer中通过反射对子类属性进行序列化与反序列化。

问题描述及解决方案， 详见：
https://my.oschina.net/HuQingmiao/blog/868264

用getDecalredFields仍然有隐患：
例如继承关系为ArrayList -- MyArrayList -- SonArrayList，则会导致MyArrayList 的属性丢失。

经修改后测试， 问题已解决， 共修改三处源码， 详见： https://github.com/HuQingmiao/dubbo


Al 128 replace string table

Removes EnumMixin
Adds tests for str_utils

StringTable removal changes have been reverted in other repos.

StringTable removal changes have been reverted in other repos.


Custom icon image from asset or url

Idea
I wonder if I have some custom icon. (such as movie poster for a movie page)
Screenshots

is icon prop inserted as-is - you can use html ))) 😎
icon:: <img src="https://m.media-amazon.com/images/I/51VLaiKIRHL._AC_.jpg" style="width:1em;">
just replace SRC to yours

Awesome! start to install all your awesome series plugins!

now seems it is works with external or full urls but what if the image is in asset folder?

have you tried scr="../assets/filename.ext"?

Yes I tried but it does not work as we expect.
the image could be shown for normal img syntax:

but if i put it page propery, the icons is a broken image:
icon::

The same img path to asset (twitter image)
also I noticed the html img is not parsed by tab or left sidebar's title (even thought the image url is full url)

i got it! i forgot how i did it in Baners plugin ))
use "assets://pathToGraph/assets/image.png
for ex.: assets://D:/PKM/main-graph/assets/image.png

I create a pull request for adding "icon-url::" page property for icon image's URL
Basically to keep compatible to mobile logseq , so we will not see html tag, instead of put  tag in icon:: , we use another property for that.
Also, a quick icon2 / icon-url2 support for one extra icon in my use case.
The modification should not break the  use case you provided earlier.
https://github.com/yoyurec/logseq-awesome-links/pull/18


MockAnswer is not public

Hi,
First of all thank you for this awesome library!
We are trying to intercept the request to check POST's body parameters to return a response depending on a body parameter value. We are trying to do that with the method thenAnswer that needs as a parameter a io.appflate.restmock.MockAnswer but this interface is not public so we cannot access to it.
This is intentional? If it is, how can we achieve our goal to return a response depending on a body parameter?
If it's not, please could you make it public?
Thanks!

You're definetely right about it should be public. It worked though without being public since lambdas don't need the interface to be public to work. Fixed in 0.3.1 release


[Bug Report] field's order effect  is not attained in el-table-column

Element UI version
1.4.4
OS/Browsers version
mac 10.12.6 / chrome 60.0.3112.113(64)
Vue version
2.4.3
Reproduction Link
https://jsfiddle.net/zx1p4sxf/3/
Steps to reproduce
click 'reverse' button
What is Expected?
the field 'date' and 'name' are going to trade position
What is actually happening?
position as before

In this case, el-table-column needs to be keyed: https://jsfiddle.net/zx1p4sxf/4/


Add a function to disable whitespace-detection

Useful to call for particular file types (e.g., .tex files):
ftplugin/tex.vim:
call airline#extensions#whitespace#disable()

thanks, can we have some documentation please?

Sorry for the irrelevant commits from the upstream

The documentation is there, please let know if the irrelevant commits is an issue.

thanks. I cleaned up the patch a bit and squashed those two commits and applied.


Linux Profiler traces can't be seen from the Azure Portal

There's a known bug in the latest deployed backend that leading to trace analysis failures.
While the issue is fixed, please expect there to be a period before we finish the test and get the fix deployed.
To workaround the issue:

Download the trace from the analysis page using the 'Download' button on the right upper corner.
Rename the trace file from *.etl.zip to *.netperf.zip.
Open it using the latest perfview: https://github.com/Microsoft/perfview

Feel free to open issue for any specific problem you encountered.

The fix is under deploying. Expected to be fully deployed by 3/15.

The deployment has been finished. If there's any further issue, please open new issues and we will troubleshoot it case by case.


[request] create a broccoli task

css-sprite already has gulp and grunt tasks - could you please create a task for broccoli too?

in sprity 1.0.0 external task are moved to there own modules. so if someone wants to write a broccoli task feel free to do it.

Thanks for the update - is sprity the successor to this module, css-sprite?

Yes it is. There where so many changes and I never like the name css-sprite. So it was the right time for renaming.

Any plans for sprity to support SVG sprites? I have had some requests to add that feature in one of my modules that wraps css-sprite, and it would be great if sprity was able to do this.

Currently I personally have no plans for doing that. But thats why I rewrote css-sprite to be as modular as possible. So maybe somebody else wants to write an image processor / style processor that can handle svg.
By the way, if you just want to have svg as an input graphic for your png/jpg sprites you could try sprity-gm. As far as I remember GraphicsMagick is able to handle svgs.


Add a Reset timer button to go reset the current timestamp to the original timestamp picked

What
Add a reset timer button.
If the user clicked on a countdown of 60 seconds [60,59,58,57...], when ticking down [54,53,52,51,50,49....], if a user clicks on 'reset', the timer will be reset to 60 seconds [60,59,58,57...]
How
The socket messages tick every second when ticking down [54,53,52,51,50,49...]. When reset, the messages should still be sent every second, from the originally picked time  [60,59,58,57...]

I'm interested in this issue


add text  to the file

Add description in the comment box for this pull request

Add description in the comment box for this pull request


Input group tests and tweaks

This PR is adding a new docs/4.0/examples/tests/ folder to house more complex and dense kitchen sink examples of all the supported variations of a component. Perhaps there's a better location, so I'm open to moving this in the future.
For now, I'm using this to test additional input group tweaks in hopes of fixing our rounded corner issue from #25110. I'll split those commits out after verifying what we support is functioning as intended.

Closing as stale for now.


Better versionnumbers

Here is my proposal for #35 .
With this change the version information is derived from the build-version.cmake file and -- if available -- repository information (commit hash and dirty flag). It only affects the dependent files when something changes, so no unnecessary builds, even if the version number in build-version.cmake is changed.
The second change parses the version number from git describe including the patch version and updates the appropriate files.

Great! Thank you.
A question: why to create helper.sh instead of putting its code inside update-version.sh? Do you prefer to have functions apart just in case they can be useful in other scripts?

I put them into an extra file to make them testable. With the extra file you can do this very easily:
for d in "0.17.20-0-g0d8f9a3" "0.17.20-2-g25fd5cc" "0.17" "error"
do
    parseDescription "$d"
    echo
done

It should be a real test, but to make sure the implementation works the same as the one before, it's sufficient.

Thank you. Merged.

Closes #35


Refactor building TensorRT model

Signed-off-by: Zhao Lufan<EMAIL_ADDRESS>

bors r+

bors r+

bors r+

bors retry


cli command options - optional and mandatory

Problem description
In the cli reference docs for UCP/DTR the options are listed for each command. This list of options doesn't tell me what options are the most important ones, ie. what options are mandatory for the command, or optional.
For example, the dtr install command, the ucp-url is a mandatory option.
Problem location
The CLI reference docs for UCP and DTR
Project version(s) affected
All
Suggestions for a fix
In the list of options, help me to distinguish the what are mandatory or optional options.
https://docs.docker.com/datacenter/dtr/2.2/reference/cli/
https://beta.docs.docker.com/datacenter/ucp/2.2/reference/cli/

The CLI reference docs for DTR and UCP are generated from the same source as --help, so to implement this we need to make changes to the UCP and DTR CLI tools.

Thankyou


security/acme-client: Add automation action "Reconfigure IPsec service"

Is your feature request related to a problem? Please describe.
I configured the automation action to restart the IPsec VPN service after aquiring a new LE certificate. If I re-issue a certificate now all IPsec clients get obviously disconnected. I would like the service to be available the whole time.
Describe the solution you'd like
Instead of using "Restart IPsec VPN Service" as added in https://github.com/opnsense/core/pull/3755 triggered by https://github.com/opnsense/plugins/issues/1534 it would be better to change it to use the [reconfigure] action in src/opnsense/service/conf/actions.d/actions_ipsec.conf .
There might be users who really want to restart their IPsec VPN service by a cron task. So I would still keep that option.
Describe alternatives you've considered
Triggering the LE cert update during the night - but then it is hard to debug the process if there is something wrong...

Waiting for the core PR to be merged, nothing left to do for me :)


vm.InstallPreprovisionedBenchmarkData fails on GCP with Ubuntu 18.04

Gsutil isn't in the path when issuing remote commands via SSH on Ubuntu 18.04 resulting in an error.  Gsutil is installed and in the path when logged in. It appears the GCP SDK is installed via Ubuntu's snap application package on 18.04.  Not sure how snap packages should be added to path for remote ssh (no shell).
Note: works fine with Ubuntu 16.04.

Thanks for the report. This should now be fixed at head with
https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/commit/1c47a380af51d4d091bce611ee3307f542bd2568.


Explore iD integration

Just starting a place where we can discuss ideas with @tyrasd about tackling https://github.com/openstreetmap/iD/issues/387

iD uses https://github.com/openstreetmap/iD/blob/develop/package.json
So I think this will be unblocked with https://github.com/a-b-street/osm2lanes/pull/60


Bugfix: Memory leak due to TF_LITE_ENSURE fixed

There is a memory leak due to the return path in TF_LITE_ENSURE at line 223
    TF_LITE_ENSURE(context, beam_search.TopPaths(top_paths, &best_paths_b,
                                                 &log_probs, merge_repeated));

Hi Samuel, the original way of dealing with temporary tensor isn't great, can you allocate a "scratch" tensor like here: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/kernels/transpose_conv.cc#L191-L197

@siju-samuel did you get a chance to look at @renjie-liu comments ?

I'm going to go ahead and close this PR, because it seems to have stalled. If you're still interested in pursing this (and responding to my comments), please feel free to reopen!


Feature/pil 153

this is a draft for Date of age patch, test are still missing but business logic should be completed, please let me know if you see something weird or missing.

@Mordil @filipealva this is now ready for review!

Just for sanity sake, could you post a screenshot/gif of all the unit tests passing?

done


⚠ Processors has degraded performance

In a7f2dc7, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 64 ms

Resolved: Processors performance has improved in 7805b2f.