Allow for synchronous creation of a binding

Waiting for a binding to be ready would be nice, much like kn service create does:
kn service create edisplay --image gcr.io/knative-releases/knative.dev/eventing-contrib/cmd/event_display
Creating service 'edisplay' in namespace 'default':

  0.034s The Route is still working to reflect the latest desired specification.
  0.048s Configuration "edisplay" is waiting for a Revision to become ready.
  0.072s ...
 13.932s ...
 14.002s Ingress has not yet been reconciled.
 14.042s Waiting for load balancer to be ready
 14.213s Ready to serve.

Service 'edisplay' created to latest revision 'edisplay-00001' is available at URL:
http://edisplay.default.example.com

And maybe add some summary message at the end.
Also, these options would be helpful then
      --wait                              Wait for 'service create' operation to be completed. (default true)
      --wait-timeout int                  Seconds to wait before giving up on waiting for service to be ready. (default 600)

(and --no-wait for an aync operation as it is now)

This would help in detecting errors, like misspelled sink names, as there seems to be no validating webhook on the operator that could detect such an error during creation time.
With a sync operation one could detect the error state and report it back to the user.

/approve
/lgtm

/remove-lifecycle stale


Enable Server GC for Samples

@halter73, @cesarbs

What's the reason for the change?

Ideally, ASP.NET Core would either default to Server GC, or warn customers if it's not enabled.  We currently have neither of these, so it's important we enable Server GC in every sample we publish to help customers know it needs to be enabled.


A11y_SQL database projects extension_Advance Publish_Exclude Object Type_Name Role Value: Corresponding Name is not defined for checkboxes on the "Exclude object types" Page.

GitHub Tags
#A11yWCAG2.1; #A11yTCS; #A11ySev2; #DesktopApp; #Name Role Value; #WCAG4.1.2; #Win11; #SH-SQL Azure Data Studio-Win32-March23; #Win32; #SQL Azure Data Studio; #NVDA; #Screenreader;
"Please do not close this bug. This bug should only be closed by TCS, C+AI Accessibility or the Divisional Driver"
Environment Details
Application Name: SQL Azure Data Studio
Version: 1.41.2 (user setup)
Microsoft Windows 11 Enterprise 10.0.22621 Build 22621
Screen reader: NVDA
Repro Steps

Launch Azure Data Studio
Tab till extension and search for “SQL Database Projects” and install it.
Tab till database project and press enter.
“Database Project” panel will open.
Tab till “View And More Action” button and press enter.
Tab till “Create Project From Database” and press enter.
Tab till server field and press enter.
“Connection” dialog will open. Fill the details for SQL server and connect.
Tab till Create button and press enter.
Database project will get create and will appear in Database project panel.
Tab till created project name in Database Project panel.
Press context menu button(right click).
Tab till Publish and press enter.
Publish Project window will open.
Tab till “Advance” button and press enter.
Tab till Exclude Object Type tab and press enter.
Verify whether the Corresponding Name is defined for checkboxes on the "Exclude object types" Page or not.

Actual Result
Corresponding Name is not defined for checkboxes also NVDA not reading the checkbox status whether they are checked or unchecked.
Expected Result
Corresponding Name should be defined for checkboxes and NVDA should announce the status of checkboxes.
User Impact
Screen reader user will not be able to get the proper information and status of the checkboxes.
Attachment

@AnKushSingh05 this has been fixed in the latest version of the sql database projects extension (0.23.0). Please download the latest insiders build and verify this is fixed. Thanks!


Different CSS property for each project

Hi there,
I'm totally a newbie to Stacey, and not a master in coding either - hope you'll have some patience with me :)
I've 10 projects, and I would like to give to each of this project a different background color in the project list, as well in its own page.
Is there a way I can create variables in the specific project.yml file, that recalls CSS assigning then the color?
For example:
Pro1 -> color #1f39b9
Pro2 -> color #449d9c
Can I set this color in the project.yml file of the Pro1 as, for instance, BGColor: #1f39b9 so that Stacey assign the CSS code to the project background?
Hope it's clear, otherwise I can also show some of the mockups I've made to give you a better understanding of what I'd like to achieve.
Thanks

Yep, this is totally possible!
There are a number of ways you could accomplish this, a quick and easy way would involve inline styling. For example, to change the background color of a div element (or any element):

    ...

And then, as you said, make sure to define the variable bgcolor: 1f39b9 (or whatever hex code) in your project.yml file.

Thanks for the reply!
Works perfectly inside the project's page, but how can I make it work on the category-lists page as well?
I've all the projects on this list, and to each div (so each project) I'd like to give it the color assigned in the project details.
Since the list is a loop, how can I assign the color differently for each project?
:)

I'm not sure about the exact code/template you're using, so I'm going to assume you're using the default category-lists.html template:
{% for child in page.root %}
  {% if child.children %}

    {% for child in child.children %}

{{ child.date | date("Y, M-") }}

          {% if child.thumb %}

          {% endif %}
          {{ child.title }}

    {% endfor %}

  {% endif %}
{% endfor %}

The code should remain similar for whichever template you are using, just add the style="background-color: #{{ child.bgcolor }};" line to the element you wish to style, provided it's in a loop.

This is great! It worked like a charm!
Man I really thank you so much!
I'll probably come back at one point bothering the forum again, but so far you made me understand a lot of things about Stacey and its mark-up.
Plus you solved me a really big problem :) even though it was small, it makes a lot of the style of my page!
I'll try to go on by myself now :) I need to open the projects using smooth transitions instead of loading a page in new.
Well, I'll try, and hopefully I won't ask again!
Thanks a lot!
Cheers

No problem, I'm glad you were able to achieve what you wanted!
By the way, if possible, mark this specific issue as closed :+1:


 Your eyes will remain.

How do I suicide by microwaving my head?
I tried everything but I'm not able to get my head inside the microwave.

nvm... found out... Clever that the "suicide" command in the menu checks what items you have in hand or your sourroundings...


fix: Add flow on components

Very hazardous missing flow, all components are unwatched

@Almouro Je peux merger ça du coup ?


[firebase_messaging] iOS recognizes all notifications ad Data only

I have integrated FCM into my project and sending Notification Messages to my devices.
iOS is processing them as they are data only messages. How did I get that:

Push notification isn't shown when app is in background
When I launch the app after getting push - I receive onMessage callback. Which is what should happen according to docs when app receives DATA messages while being in background.
Here is log:

On message {
from:<PHONE_NUMBER>18,
notification: {title: test_title, e: 1, body: test_body},
collapse_key: com.bundle.id.of.my.ios.app,
notificationId: 13,  // custom param in data object
id: 16, // custom param in data object
type: price, // custom param in data object
click_action: FLUTTER_NOTIFICATION_CLICK // custom param in data object
}

Docs with Notification and Data messages: https://pub.dev/packages/firebase_messaging#receiving-messages
Several observations:

My push notification also contained some data and instead of putting it into data object it has sent it right in the push body. Fields like type, click_action, type, notificationId
Android receives messages just right. As notification + data.

What I tried so far, none of that helped:

Flutter clean and rebuild
Remove Background Modes feature
Tried sending pushes using different ways: legacy API, API v1, Firebase Console

This shouldn't be certificate thing as in general pushes are received by my developer device. But no idea what else. There isn't much code added to the app itself.
There also isn't much code in the app related to pushes. Just obtaining push token, requesting iOS permission and calling _FirebaseMessaging().configure with callbacks.
My flutter doctor:
[✓] Flutter (Channel master, v1.10.15-pre.387, on Mac OS X 10.15 19A602, locale ru-UA)
    • Flutter version 1.10.15-pre.387 at /Users/reiven/flutter
    • Framework revision 3422540bc4 (4 days ago), 2019-11-04 09:09:20 -0800
    • Engine revision 8ea19b1c76
    • Dart version 2.6.0 (build 2.6.0-dev.8.2 bbe2ac28c9)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/reiven/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.1, Build version 11A1027
    • CocoaPods version 1.7.5

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio
    • Android Studio at /Applications/Android Studio 3.6 Preview.app/Contents
    • Flutter plugin version 41.0.3
    • Dart plugin version 192.7402
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 40.1.2
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] Connected device (5 available)
    • F5321        • BH901SWC5P                               • android-arm64  • Android 8.0.0 (API 26)
    • iPad () •   • ios            • iOS 13.1.2
    • iPhone 6s    • 698418C7-2F45-45CB-8057-3358AAADCDA1     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-1 (simulator)
    • Chrome       • chrome                                   • web-javascript • Google Chrome 78.0.3904.87
    • Web Server   • web-server                               • web-javascript • Flutter Tools

• No issues found!

So I'm observing the issue more. Couple of days passed. Nothing changed (in Flutter code, in firebase messaging  plugin,  flutter engine and in code sending FCM requests).
But notifications suddenly started coming. Also push notification looks like this now:
on Message {google.c.a.e: 1, notificationId: 13, aps: {alert: {title: test_title, body: test_body}}, id: 16, type: price, gcm.message_id:<PHONE_NUMBER>044328, click_action: FLUTTER_NOTIFICATION_CLICK}

Hi @AlexBacich please could you try with the latest Flutter & messaging plugin please. If you still have this issue, please let me know and I can reopen the issue.

@Ehesp  I am seeing this issue on the latest flutter/FCM plugin.


Support AscendRange options

Usage of AscendRange during iteration if given pivot options.
Since we have a multi-column primary key, it performs an intersection of the given pivot row schema and the table schema. Using this intersection it performs a comparison using the overlapping sorted columns. If a sorted column doesn't exist in the pivot schema, it's considered equal since it isn't known if that granule is less than the pivot. This can be seen in use with the unit tests where it pivots around a sample type and only ends up iterating over a subset of the granules.
In Parca we'll want to rearrange our sorted columns to be able to leverage this better, with the timestamps being the second sorted column.

AscendGreaterOrEqual

Ascend

The API of this doesn't seem right to me and I think this only gets us halfway to where we want to be.
If the caller needs to be able to figure out the pivot point, then the query engine should be able to do the same, the API of the query engine is for asking what data the user is asking for, not how the query engine will do that.

In Parca we'll want to rearrange our sorted columns to be able to leverage this better, with the timestamps being the second sorted column.

It's a trade-off. If we do this, then all of the memory savings that we get from the efficient encodings go out the window as RLE doesn't have effect anymore. The way I imagine this to work with our current schema is that there needs to be an interaction between the filter physical plan and the table scan, where the table scan starts with the approach mostly laid out in this PR and whenever there is a whole row-group that after filtering contains no interesting data we take an intersection of MAX of that row-group and the filters and start a new AscendLargerThanOrEqualTo, and repeat this until the end.
I think this interaction between the physical plans is fine to defer to a future PR, since this lays the groundwork, but the API should be fixed I believe.

Yea I agree the API is garbage, I was less concerned about the API surface in this iterataion as I was the implementation. However you've pointed out the key flaw in this in that we'd need to sacrifice the storage savings. So I'll need to circle back on this and think about your description some more.


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-sandbox/kn-plugin-operator-approvers
/assign knative-sandbox/kn-plugin-operator-approvers
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/operator dca31cb...41c8623:
  > 41c8623 Promote v1beta1 as the storage version (# 969)
  > 6755bd9 upgrade to latest dependencies (# 972)
  > d907ee3 upgrade to latest dependencies (# 966)
  > 41de09c Enable v1beta1 APIs (# 968)
  > 8164968 upgrade to latest dependencies (# 964)
  > 9c9256f Update actions (# 963)
  > e3e08b8 Update community files (# 961)
  > 0ae4fec upgrade to latest dependencies (# 962)
bumping knative.dev/hack 0456e8b...a8ef7b6:
  > a8ef7b6 Skip presubmit tests for .github updates (# 154)

/lgtm
/approve


Translations

Hi, great work!
Just wanted to ask: do you want to include translations (like README-lang.md) in this repository, or I'm just better off having my own fork?
Some people wanted to have this in Russian, and I'm up for translating it.

Hey!
Yeah, that would be awesome if you're up for the challenge.
Thanks!

I would be happy to work on the Spanish translation

I would be happy to work on the Spanish translation

@blancogerardo94  that would be great! Im sure that would help many


[requires.io] dependency update on master branch

Codecov Report

Merging #9 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #9   +/-   ##
=======================================
  Coverage   83.64%   83.64%
=======================================
  Files          10       10
  Lines         758      758
  Branches      142      142
=======================================
  Hits          634      634
  Misses         94       94
  Partials       30       30

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 f3b7c93...3288065. Read the comment docs.


[Issue]: build_aomp.sh fail at build step for 'runtimes'

Problem Description
[6360/7384] Performing build step for 'runtimes'
...
[1042/2690] Building hostexec file libhostexec-gfx1103-preprep.bc
FAILED: offload/hostexec/CMakeFiles/libhostexec-gfx1103-preprep.bc ~/build/build/llvm-project/runtimes/runtimes-bins/offload/hostexec/CMakeFiles/libhostexec-gfx1103-preprep.bc
cd ~/build/build/llvm-project/runtimes/runtimes-bins/offload/hostexec && ~/build/build/llvm-project/bin/llvm-link hostexec-stubs-gfx1103.bc hostexec-invoke-gfx1103.bc ocl_atomics_amdgcn.bc -o libhostexec-gfx1103-preprep.bc
~/build/build/llvm-project/bin/llvm-link: No such file or directory: 'ocl_atomics_amdgcn.bc'
...
[1045/2690] cd ~/build/build/llvm-project/runtimes/runtimes-bins/offload/hostexec && ~/build/build/llvm-project/bin/clang -fvisibility=default -c -emit-llvm -nogpulib -nogpuinc -DCL_VERSION_2_0=200 -D__OPENCL_C_VERSION__=200 -Dcl_khr_fp64 -Dcl_khr_fp16 -Dcl_khr_subgroups -Dcl_khr_int64_base_atomics -Dcl_khr_int64_extended_atomics -x cl -Xclang -cl-std=CL2.0 -Xclang -finclude-default-header -Xclang -mcode-object-version=none -target amdgcn-amd-amdhsa ~/build/llvm-project/offload/hostexec/src/oclAtomics.cl -o ocl_atomics_amdgcn.bc
...
FAILED: runtimes/runtimes-stamps/runtimes-build ~/build/build/llvm-project/runtimes/runtimes-stamps/runtimes-build
cd ~/build/build/llvm-project/runtimes/runtimes-bins && ~/local/install/cmake-3.22.1/bin/cmake --build .
ninja: build stopped: subcommand failed.
ERROR make -j 1 failed
 !!!  build_aomp.sh: BUILD FAILED FOR COMPONENT project !!!

1042 ~ uses ocl_atomics_amdgcn.bc
1045 ~ creates ocl_atomics_amdgcn.bc
llvm-project/runtimes/runtimes-bins/offload/hostexec/ocl_atomics_amdgcn.bc
does exist when looking after build stops
Operating System
Archlinux
CPU
7940hs
GPU
780m
ROCm Version
ROCm 6.2.0
ROCm Component
llvm-project
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
things i installed after looking at Prerequisites:python-cppheaderparser python-barectf python-termcolor python-lxml python-pandas ccache openmpi
rpm2cpio on archlinux is in rpmextract
wild 'xxd' usage somewhere (installing vim on archlinux fixed it)

export AOMP_USE_NINJA=1
was the cause
changed it to 0 and build is past that spot


Additonal tasks created when assigning a role for a workflow available to update user roles

Moved from https://wso2.org/jira/browse/IDENTITY-6571
Steps to recreate the issue

Create a workflow to change the role of the user (Update_Roles_Of_User)
Select an existing user and go to 'Assign Role' view
Then add an existing role and click 'Update'
Then finish the process by selecting the 'Finish' button

Observations
Two tasks will get created for the approval process. (If user click both 'update' and 'finish' buttons two tasks will get created)

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


A noticeboard to publish the news

Now it is hard for public to find the new changes, therefore we need a noticeboard which contains top 3 or more newest changes with a date and brief description.

I have an idea about whether can we add a float block whose 1/4 can be shown on the right website, and when we click it, the all board will move fluently to the public, if click again, the board will be hiden to the original place.

I have an idea about whether can we add a float block whose 1/4 can be shown on the right website, and when we click it, the all board will move fluently to the public, if click again, the board will be hiden to the original place.

你说的有点像教务系统的课表显示的方式，只不过需要一个显眼一点的标识

嘉立创（难视）

我的想法是把最新文章/文档更新以及日期放到当前的 Feature Card 的位置，做成一个 list

I think the most diffcult part will be how to adjust the mobile device for the both.
We should discuss it in precise later.

After a heated discussion, we decided to make this noticeboard into a independent page.

I guess it is done now. Any features to be added?


Advice on extracting eventtypes

Hi, I'm the maintainer of a free loot logger for Albion (https://github.com/matheussampaio/ao-loot-logger). Once in a while, Albion releases introduces/removes new packets to their game and breaks the loot logger. Every time that happens, it takes me a few nights to figure out the new packets ids.
I was pointed it to your codebase this week (https://github.com/matheussampaio/ao-loot-logger/issues/42) and noticed you generate ALL event types using what it seems to be a script (stringer -type=EventType): https://github.com/ao-data/albiondata-client/blob/d639e71261c65f04699f843396faf49258bbf7be/client/eventtype_string.go#L1
If possible, could you point me out to how I could extract all current ids from the game (I couldn't find the script in the repository).

There's no script for it because it's a manual process. You have to ensure the game has been updated on your machine and then run a program called il2cppdumper against the game files. It gives you a decompiled version of the game that is missing the majority of the game code but does expose function signatures and enums in readable text. I manually grab the event and operation codes, reformat them to work with golang and paste them into https://github.com/ao-data/albiondata-client/blob/master/client/events.go and https://github.com/ao-data/albiondata-client/blob/master/client/operations.go. The stringer output (events_string.go and operations_string.go) is a golang thing and I'm honestly not even sure what it does (it was added to the code base before I tool over maintenance of the project).
I do have some thoughts on how to automate this process, as well as ao-bin-dumps, but as of now, both are a manual process. If you think it'd be of use to you, as well as some other projects I know that are using ev/op codes that outside of what AODP does, I could make a repo on the ao-data github org that holds just the codes, somewhat like ao-bin-dumps holds all the data from the game bin files. Or, since it's just 2 extra files, maybe toss those into the ao-bin-dumps repo.

There's no script for it because it's a manual process. You have to ensure the game has been updated on your machine and then run a program called il2cppdumper against the game files. It gives you a decompiled version of the game that is missing the majority of the game code but does expose function signatures and enums in readable text. I manually grab the event and operation codes, reformat them to work with golang and paste them into https://github.com/ao-data/albiondata-client/blob/master/client/events.go and https://github.com/ao-data/albiondata-client/blob/master/client/operations.go. The stringer output (events_string.go and operations_string.go) is a golang thing and I'm honestly not even sure what it does (it was added to the code base before I tool over maintenance of the project).

Interesting! I'll research about this, thanks for sharing it.

If you think it'd be of use to you, as well as some other projects I know that are using ev/op codes that outside of what AODP does, I could make a repo on the ao-data github org that holds just the codes, somewhat like ao-bin-dumps holds all the data from the game bin files. Or, since it's just 2 extra files, maybe toss those into the ao-bin-dumps repo.

This would be awesome! I don't have experience with Go, but if you share your thoughts on how to automate it, me or maybe someone out there can give a try.


feat: add client-setup package

new package for issue #370
(additional PRs will be created for other packages and to update documentation)
solutions/client-setup

includes / deprecates packages:

none

adds features:

client namespaces
client folder
client management project
client tier2 root sync

depends on:

solutions/core-landing-zone

just missing the release-please stuff

I was thinking to remove it from PR #374 for now and do a separate PR once all new packages are created to include all releases at that time.
It'll avoid dealing with merge conflicts and we could maybe also remove the old packages from the release-please configs at that time?


Fix #795 - Update javascript to disable multiple javascript file refe…

Update javascript to disable multiple javascript file references

Hi @ZeBobo5, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;

Good enhancement!


Improve how neato displays alerts and add alerts for persistent maps

Description:
The old logic was looking for alerts in the wrong location, this PR corrects that.  This PR adds some missing alerts and also ensures that alerts are shown even when the vacuum is not cleaning.  Currently they only show up when the vacuum is in the cleaning state but some alerts persist beyond this state.  This is helpful for certain alerts as the botvac may fail and only an alert is shown instead of an error.  Neato defines errors as something that requires the user to press the "start" button on the vacuum, alerts may still require some type of user attention so this will ensure they are not missed.  This is especially useful for when persistent maps are used.
Related issue (if applicable): fixes #N/A
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#N/A
Example entry for configuration.yaml (if applicable):
neato:
  username: username
  password: password

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

Oops terribly sorry about those notifications :( will close this PR and open a new one with out this mess :(


Add error param to input

At the moment, date-input passes a CSS class to input when it wants to mark a field as having an error:
https://github.com/alphagov/govuk-frontend/blob/e70f59d15a3cab9c949ef8f558d1eb49be7e4c91/src/components/date-input/template.njk#L64
https://github.com/alphagov/govuk-frontend/blob/e70f59d15a3cab9c949ef8f558d1eb49be7e4c91/src/components/date-input/date-input.yaml#L125-L126
This implies that the user of the date-input has inferred knowledge of the inner workings (CSS class name) of input.
I propose that an 'error' param is added to input so that, when using the input template, the user (be it an application using the input template or another component) doesn't need to have inferred knowledge of the class names. The classes param would still exist so this approach would also still work, but the preferred approach would be to use the error param.
This would mean adding an error param to input as follows:
before:
  <input class="govuk-input {%- if params.classes %} {{ params.classes }}{% endif %} {%- if params.errorMessage %} govuk-input--error{% endif %}" id="{{ params.id }}" name="{{ params.name }}" type="{{ params.type | default('text') }}"

after:
  <input class="govuk-input {%- if params.classes %} {{ params.classes }}{% endif %} {%- if params.errorMessage | params.error %} govuk-input--error{% endif %}" id="{{ params.id }}" name="{{ params.name }}" type="{{ params.type | default('text') }}"

And changing the date-input examples as follows:
before:
        name: day
        classes: govuk-input--width-2 govuk-input--error

after:
        name: day
        classes: govuk-input--width-2
        error: true

This may seem like a trivial issue for users of the nunjucks templates - but when working on ports (e.g. using CSSinJS or CSS modules) it is useful for one component/template to not have to have knowledge of the inner workings of another.

Can this be reopened as it doesn't seem to have been addressed in #460?
(as per my comment, for this to be resolved, the fixtures should not contain CSS classes)


Call db:backup form route or controller?

I would like to call php artisan db:backup theara.sql with custom file name from route or controller like this:
// call with default file name
Artisan::call('db:backup'); // work fine

// call with custom file name
Artisan::call('db:backup', array('theara.sql')); // don't work

I do like this because i want to get file name after generate backup file.
And then i have problem when restore it
Artisan::call('db:restore, array('theara.sql'))

Pl help me.

none of the solutions provided here work for me -- I cannot seem to set a filename, with or without hyphens. I also cannot set a path, though I'm not sure if the filename parameter is meant to do that.
If I do use hyphens, I get the "filename" argument does not exist error. If I don't use hyphens, I don't get that error but it still doesn't work.

@z0d14c If it helps, this is what my code looks like, and it is has been working for me sense November of last year (I backup it frequently).
Artisan::call("db:backup", [
			"--filename"   => $filename,
			"--gzip"       => "",
			"--local-path" => $fileLocation,
			"--cleanup"    => ""
		]);

I faced this problem too
try this
Artisan::call('db:backup',['dump' => 'theara.sql']);

This is not working for me, please help:
$execValue = Artisan::call("db:backup", [
"--destination" => "dropbox",
"--destinationPath" => "/db_before_the_movement",
"--timestamp"   => "Y-m-d H:i:s",
"--compression" => "null",
]);  // THIS IS NOT WORKING :(
I am creating backups with schedule using but what I want to do is force the backup in some specific times.
$schedule->command('db:backup --database=mysql --destination=dropbox --destinationPath=/db_ --timestamp="Y-m-d H:i:s" --compression=gzip')
->twiceDaily(8,18); // THIS IS WORKING


Python code in branch main is always formatted correctly.

That is equivalent to saying PRs cannot be merged if the Python code is not formatted correctly.
We have enabled pre-commit again and running pre-commit run --all-files on main modifies a couple of Python files.

Hi @amiorin, I saw you did a reformat round for this. Are you also working on preparing the CI or shall I pick this up? Thanks!

No plan to work on this, you can pick it up. Let me know if you need a review.


Prevent spurious rebuilds with SwiftPM builds of llbuild

The generate-version-h.sh script was writing a new version.h file (thus
updating the timestamp, thus triggering a change detection by the build
system) every time it was run, regardless of whether the content had
actually changed. Only update the file if doing so will actually change
the content, in order to make null builds actually work again.

@swift-ci please smoke test


[WV-336] Convert Form Layout Changes to Include Templates (politician edit) TEAM REVIEW

Refactored to use the django templates
This form was still having spacing/layout issues. Found there was a </div> tag missing it's opener tag, so that was added and the rest of the layout adjusted accordingly to match the other forms
One remaining layout issue was the space on this row, where the small photo thumbnail was too far to the right.

Has been fixed to reflect more standard spacing by giving the file upload input a hard coded width:

Thank you @lredmo1! 👍


Integrate break and torque sensor of wheel in the task logic

Need to define what manipulation is needed for torque control.

segmented by sites/intersite
specified by distribution

Build a MVP around using the torque in the inter-patch-interval

Dependent on #251


Update patch to read zero size files

The previous merged PR was not updated with the latest patch. This just
update the patch as it was discussed in the original PR: https://github.com/conda-forge/dbus-feedstock/pull/5

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@mingwandroid @ccordoba12 just to remind you of this PR with the right patch that should have been merged on #5

Thanks for the reminder, merging.


UX: Change Default TimelinePanBehavior = 'seek' to 'pan'

Is your feature request related to a problem? Please describe.
My problem is on mobile, in the Home Assistant App, it's hard to use the mini-timeline when added to live view cards to pan around the timeline (when the default is set to seek). When the default is set to seek, most any clicks link you over to watch the clips. When the default is in pan mode, you can actually navigate around the timeline, then select & view the clip you'd like to watch.
Describe the solution you'd like
frigate-hass-card/src/components/timeline-core.ts : line 209
...
  public itemClickAction?: TimelineItemClickAction;

  @state()
  protected _panBehavior: TimelinePanBehavior = 'seek';

  protected _targetBarVisible = false;
...

Change this from 'seek' to 'pan'
Describe alternatives you've considered
I've played around with seek & seek-in-media and those don't allow clicking on timeline with out the hass-card navigating away from live-view. I think pan is better.
I know you should be able to change this via the small icon next to the calendar in the bottom right corner of the timeline...problem is the click event handler seems to overlay on top of those icons when using mobile and it's hard to click (seems impossible actually)
Also even if I set this icon to 'pan' instead of one of the 'seek's...I don't believe this change would survive a reload of the page or app.
Alternatively, this could be a setting in the hass-card options...but I still think default 'pan' is the best default behavior and thus should simply just be changed to the default for UX reasons.

When the default is set to seek, most any clicks link you over to watch the clips.

Isn't that what is most useful, though? Don't quite follow why pan is be a better UX by default -- can you expand a little?

I know you should be able to change this via the small icon next to the calendar in the bottom right corner of the timeline...problem is the click event handler seems to overlay on top of those icons when using mobile and it's hard to click (seems impossible actually)

I don't understand this -- I can click this icon just fine on mobile (Android), you cannot?

Alternatively, this could be a setting in the hass-card options...but I still think default 'pan' is the best default behavior and thus should simply just be changed to the default for UX reasons.

Adding it to be configurable is certainly doable, and you're right that whatever you set will be lost if you reload the page.

Implemented. Will be in the next release.


BitBucketFS - An improved "dummy" file system

The Problem
The original VFS repository includes a "Dummy" File system (FS) which simply blurts out a user-defined error on every operation. While it works for examples, it is inflexible and it has very little use in real life.
Use Cases
The proposed BitBucketFS could be used as a dry-run on other applications, as it will soon be in wipechromium. For example, in wipechromium rather than performing a cleanup on the actual filesystem (deleting files/directories in the cache or privacy-compromising areas), it would simply tell the user what it would create/delete without actually doing it (dry mode). Afterwards the user could decide to perform the operation on the real file system (wet mode).
Proposed Requirements
This is what BitBucketFS would do. It is sort of an hybrid between DummyFS and MemFS.

[x] The option to operate like Dummy, throwing a user-defined error on calls but only when it warrants.
[x] The option to simply output to the console the name of the operation (Rename, Remove, etc.) and its parameter. This would be the Silent Mode.
[x] Be able to specify a list of place-holder directories that would be recognized as existent if an operation is called upon them.
[x] Be able to specify a list of place-holder files that would be recognized as existent if an operation is called upon them.
[x] In non-silent mode any operation would be outputted to the console (see Option Nº2), and then if the file or directory is not in the place-holders list, then an appropriate PathError or LinkError would be produced as per the normal os package operation, else it will not return an error.

The 1st release of BitBucket Filesystem bucketfs appears on my version of vfs tagged v1.2.0.

Supports a silent mode where all is good, no errors produced and only prints the operation & parameter for informational purposes like dry runs.
Supports a hybrid mode with a simplified file node (has both a Lite & Extended node but currently set to use the Extended node) which supports os.FileMode, symbolic links, directories and size during the lifetime of the bucketfs instance.


Copyright violation

Hi @pjuu
I found this app on the Google Play Store. This guy just took your source code, added some ads in it and put it on the Store, without warning this is free software...
By the way, all his apps are open source software he copied...
As you are the owner of the source code, feel free to open a request to google here to remove the false app from the Store, if it's your wish ;)
Don't forget to tell Google that:

The app is licensed under MIT license and this guy is violating it;
He is falsely claiming he made the app;
Provide some screenshots of your own app.

This fake dev is down now. Please let me know if you find any other new copy, so I can continue to track fake developers... Will close this issue for now, do not hesitate to reopen it ;)


[Core] Support a list of multiple unique_keys in snapshots

At a minimum, update body to include a link to the page on docs.getdbt.com requiring updates and what part(s) of the page you would like to see updated.
Originating from this issue: https://github.com/dbt-labs/dbt-core/issues/9992
Pull request: https://github.com/dbt-labs/dbt-core/pull/10795

Documentation plan

Update this page https://docs.getdbt.com/reference/resource-configs/unique_key

[ ] Revise the description to account for multiple unique keys
[ ] Add an example for using multiple unique keys: multiple id columns as unique key:

Use multiple unique keys
  ```
  snapshots:
    - name: orders_snapshot
      relation: source('jaffle_shop', 'orders')
      config:
        schema: snapshots
        unique_key:
          - order_id
          - product_id
        strategy: timestamp
        updated_at: updated_at
  ```

Update this page https://docs.getdbt.com/docs/build/snapshots#configuring-snapshots

[ ] Update the example in the table on this page to include an array for two unique ids [order_id, product_id]
[ ] Update description in table to say can be string or array.

Possibly update examples in these pages to become arrays if it's recommended (in question 4)

https://docs.getdbt.com/docs/build/snapshots
https://docs.getdbt.com/reference/snapshot-properties
https://docs.getdbt.com/reference/commands/snapshot

Questions:

Does this replace concatenating columns as unique keys or is that still good practice?
Can we also use inline notation for these arrays For example, unique_key [order_id, product_id] or do we prefer block notations as shown in the example above?
Are multiple unique_keys backwards compatible to previous dbt versions or do I need to version these examples and content?
Should I change all unique_key examples on the snapshot_configs page to become arrays? IOW, is it understood that if you use an array you can also use a string?  https://docs.getdbt.com/reference/snapshot-configs

Yes.
Yes, this replaces concatenating columns as unique keys
The inline notation should be fine too, it's just a matter of yaml syntax style.
Not backwards compatible. This is a net-new feature which is only going into 1.9 and versionless.
I don't think it's necessary to change all unique_key examples, but I would probably replace the concatenating column examples. Either a string or an array is acceptable. We do this in a number of places (that I can't think of right now...)


[Feature]: Migrate framer-motion to motion Package in docs/suspensive.org

Package Scope
etc
Description
The framer-motion package has officially transitioned to the new name motion.
To keep our project up-to-date and aligned with best practices, we should migrate all dependencies and imports from framer-motion to motion.
Possible Solution

Update package.json:

{
  "dependencies": {
-    "framer-motion": "^11.13.1"
+    "motion": "latest"
  }
}

Update Codebase Imports:

- import { motion } from "framer-motion";
+ import { motion } from 'motion/react';

etc.
No response

Thank you for your feedback. We are aware of the issue and are working on it. We will do our best to update the documentation as soon as possible.
related:

https://github.com/toss/suspensive/pull/1389


What is the purpose of this dtls code? I don't find where it's used.

https://github.com/openssl/openssl/blob/28cab20916731c188180628330de27f6ce5f684e/ssl/ssl_local.h#L1862-L1866
https://github.com/openssl/openssl/blob/28cab20916731c188180628330de27f6ce5f684e/ssl/d1_lib.c#L406-L409

Looks like it's been dead code even as of the original DTLS import (36d16f8ee0845d932e250286e8e236580470e35b) -- there used to be a local send_alert that was set when DTLS1_TMO_READ_COUNT was hit, but the only use of send_alert was commented out.


Add a generic base class for cooking-like recipes with bonus items, and a common crushing recipe implementation

As discussed in the Fabric discord.
It's pretty common for tech and tech-like mods to have some form of crushing system, and to work with each others' items. This c:crushing recipe type implemented by the CrushingRecipe class provides a common place for people to define crushing recipes that should work across all mods that consume it.
The CookingWithBonusRecipe class is a convenient base class for any type of one-to-one recipe that may support bonus items. Think standard machine processing recipes, but also exploding/burning recipes in Composable Automation, or anything else that processes one item into another.
If merged, I'll add ore -> dust recipes to cotton-resources.
I also made the recipe types shipping with Cotton use the shared namespace, since it seems to be the right place for it. I can remove that change if I've misunderstood the purpose of the shared namespace.

Updated to no longer inherit from CookingRecipe.


Simplify launch script

Options:

remove relaunching: ASDF seems to work from POSIX shell (at least on macOS)
keep relaunch but decide between bash and zsh based on basename "$SHELL"

Love this, as I've had to move to lexical due to the requirement for asdf (i use rtx for lib management). they have a quick little detection script to detect which to use (though, i'd rather it check for binary, rather than a directory existing, so for now, i just delete ~/.asdf): https://github.com/lexical-lsp/lexical/blob/main/rel/deploy/overlays/start_lexical.sh

@megalithic a PR adding support for rtx would be welcome


No communication with CH32V003 dev board

Hi @aappleby,
thank you for working on this! Very exciting to have all bits of the CH32V003 toolchain open-source.
I am trying to flash the blinky example. I connected my Raspberry Pi Pico dev board over USB, and I made 3 connections between the CH32V003 dev board and the Pico:

GND
3V3
GP28 on the Raspberry Pi Pico -> D1 on CH32V003 with a 1 KOhm pull-up resistor to 3V3.

I built picorvd.uf2 and flashed it on PicoRVD using USB mass storage device method:
~/src/github.com/aapleby/PicoRVD$ ls -lh bin/picorvd.uf2
-rw-rw-r-- 1 krasin krasin 184K May 14 15:48 bin/picorvd.uf2

I rebooted my RP2040 dev board and then built and tried to flash the blinky example:
krasin@localhost:~/src/github.com/aapleby/PicoRVD/example$ ./build.sh
   text	   data	    bss	    dec	    hex	filename
   7856	      0	    260	   8116	   1fb4	bin/blink.elf
krasin@localhost:~/src/github.com/aapleby/PicoRVD/example$ ./flash.sh
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from bin/blink.elf...
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response
Ignoring packet error, continuing...
gdbinit:2: Error in sourced command file:
Remote replied unexpectedly to 'vMustReplyEmpty': timeout
You can't do that when your target is `exec'
The program is not being run.

Can you please confirm that my wiring setup sounds correct? I would also appreciate any hints about how to debug the current problem.
Thanks again for publishing PicoRVD!

I would also like to add that I am able to successfully flash firmware on the CV32V003 dev board using the provided proprietary dongle, so the board itself is fine.

I started to dive into it and documenting my progress here (I hope that's okay!), so that it's easier for others who might hit the same issue to see what's happening.
In short, I made two small changes to the PicoRVD firmware:

I added swio->dump() in main.cpp right after it's initialized:
printf_g("// Starting PicoSWIO\n");
PicoSWIO* swio = new PicoSWIO();
swio->reset(PIN_SWIO);
printf_g("// Let's dump SWIO\n");
swio->dump();
printf_g("// SWIO dumped!\n");

I uncommented #define DUMP_COMMANDS in PicoSWIO.cpp.

This is the output that I get over the USB serial connected to pins 0 and 1 of the Raspberry Pi Pico, when it's just starting up (no gdb call is in progress):
//==============================================================================
// PicoRVD 0.0.2

// Starting PicoSWIO
set_dbg WCH_DM_SHDWCFGR 0x5aa50400
set_dbg     WCH_DM_CFGR 0x5aa50400
set_dbg    DM_DMCONTROL 0x00000000
set_dbg    DM_DMCONTROL 0x00000001
// Let's dump SWIO
get_dbg     WCH_DM_CPBR 0x00000000
DM_CPBR = 0x00000000
  TDIV:0  SOPN:0  CHECKSTA:0  CMDEXTENSTA:0  OUTSTA:0  IOMODE:0  VERSION:0
get_dbg     WCH_DM_CFGR 0x00000000
DM_CFGR = 0x00000000
  TDIVCFG:0  SOPNCFG:0  CHECKEN:0  CMDEXTEN:0  OUTEN:0  IOMODECFG:0  KEY:0x0000
get_dbg WCH_DM_SHDWCFGR 0x00000000
DM_SHDWCFGR = 0x00000000
  TDIVCFG:0  SOPNCFG:0  CHECKEN:0  CMDEXTEN:0  OUTEN:0  IOMODECFG:0  KEY:0x0000
get_dbg     WCH_DM_PART 0x00000000
DM_PARTID = 0x00000000
// SWIO dumped!
// Starting RVDebug
// Starting WCHFlash
// Starting SoftBreak
get_dbg     DM_DMSTATUS 0x00000000
// Starting GDBServer
// Starting Console
// Everything up and running!

Based on the fact that SWIO dump is all zeros, I suspect that it's not really reading anything from the CH32V003 microcontroller, which would then explain timeouts while trying to flash it with GDB.
I plan to continue diving into it and will update the thread if I find anything useful / noteworthy. But at least, the problem is isolated to RP2040 -> CH32V003 communications; it's not a GDB problem and it's not a PC->RP2040 communication problem.

Hi, I've been busy with some family medical stuff recently, I'll try and
follow up on this later this week.
On Sun, May 21, 2023 at 6:42 PM Ivan Krasin @.***>
wrote:

I started to dive into it and documenting my progress here (I hope that's
okay!), so that it's easier for others who might hit the same issue to see
what's happening.
In short, I made two small changes to the PicoRVD firmware:

I added swio->dump() in main.cpp right after it's initialized:
printf_g("// Starting PicoSWIO\n");
PicoSWIO* swio = new PicoSWIO();
swio->reset(PIN_SWIO);
printf_g("// Let's dump SWIO\n");
swio->dump();
printf_g("// SWIO dumped!\n");

I uncommented #define DUMP_COMMANDS in PicoSWIO.cpp.
This is the output that I get over the USB serial connected to pins 0 and
1 of the Raspberry Pi Pico, when it's just starting up (no gdb call is in
progress):
//==============================================================================
// PicoRVD 0.0.2
// Starting PicoSWIO
set_dbg WCH_DM_SHDWCFGR 0x5aa50400
set_dbg     WCH_DM_CFGR 0x5aa50400
set_dbg    DM_DMCONTROL 0x00000000
set_dbg    DM_DMCONTROL 0x00000001
// Let's dump SWIO
get_dbg     WCH_DM_CPBR 0x00000000
DM_CPBR = 0x00000000
TDIV:0  SOPN:0  CHECKSTA:0  CMDEXTENSTA:0  OUTSTA:0  IOMODE:0  VERSION:0
get_dbg     WCH_DM_CFGR 0x00000000
DM_CFGR = 0x00000000
TDIVCFG:0  SOPNCFG:0  CHECKEN:0  CMDEXTEN:0  OUTEN:0  IOMODECFG:0  KEY:0x0000
get_dbg WCH_DM_SHDWCFGR 0x00000000
DM_SHDWCFGR = 0x00000000
TDIVCFG:0  SOPNCFG:0  CHECKEN:0  CMDEXTEN:0  OUTEN:0  IOMODECFG:0  KEY:0x0000
get_dbg     WCH_DM_PART 0x00000000
DM_PARTID = 0x00000000
// SWIO dumped!
// Starting RVDebug
// Starting WCHFlash
// Starting SoftBreak
get_dbg     DM_DMSTATUS 0x00000000
// Starting GDBServer
// Starting Console
// Everything up and running!
Based on the fact that SWIO dump is all zeros, I suspect that it's not
really reading anything from the CH32V003 microcontroller, which would then
explain timeouts while trying to flash it with GDB.
I plan to continue diving into it and will update the thread if I find
anything useful / noteworthy. But at least, the problem is isolated to
RP2040 -> CH32V003 communications; it's not a GDB problem and it's not a
PC->RP2040 communication problem.
—
Reply to this email directly, view it on GitHub
https://github.com/aappleby/PicoRVD/issues/5#issuecomment-1556388426,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAF6BH3DPOH5MCEWIAXWDDLXHLABNANCNFSM6AAAAAAYBN2GZ4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi Austin,
I appreciate a response and please, no worries about this ticket - family medical stuff is way more important.
My current plan is to try esp32s2-funprog and then depending on whether it is successful, take the next steps in debugging my issue.
Btw, your code is very clean and a pleasure to read.
Good luck to you and your family in the current matter,
krasin

I was able to get it flashing working:
~/src/github.com/aapleby/PicoRVD/example$ ./flash.sh
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from bin/blink.elf...
InterruptVector () at ch32v003fun.c:717
717             asm volatile( "\n\
Loading section .init, size 0xa0 lma 0x0
Loading section .text, size 0x1e10 lma 0xa0
Start address 0x00000000, load size 7856
Transfer rate: 181 bytes/sec, 3928 bytes/write.
Detaching from program: /home/krasin/src/github.com/aapleby/PicoRVD/example/bin/blink.elf, Remote target
[Inferior 1 (Remote target) detached]

The problem was me - I got lazy and didn't look up the pinout for Raspberry Pi Pico and connected to the board pin 28 (GND) instead of to the board pin 34 (GP28). Oops!
Now, flashing works, but the blink example from this repo does not. I had to flash blink.elf from ch32v003fun. I also have to reboot the ch32v003 manually, as the flash.sh would not do that. But that's all very minor.
Very excited - I achieved my goal for this weekend, even though it's a bit of Monday already. :)
Thanks again for working on this!


OverflowError: Range exceeds valid bounds

I just transfered my scripts to a different machine (both Ubuntu 16.04) and the error (see Issue title) popped up. On my old machine it is working flawlessly.
My code causing the problem:
model = Sequential()

model.add(Convolution2D(nb_conv_filters, conv_kernel_size, conv_kernel_size, border_mode='valid', input_shape=(1, img_rows, img_cols)))
model.add(Activation('relu'))
model.add(MaxPooling2D(pool_size=(pool_kernel_size, pool_kernel_size)))

model.add(Flatten())

model.add(Dense(nb_dense_neurons)) #128
model.add(Activation('relu'))
model.add(Dropout(0.5))

model.add(Dense(nb_classes))
model.add(Activation('softmax'))

model.compile(loss='categorical_crossentropy',
                  optimizer='adadelta',
                  metrics=['accuracy'])

The error is the following:
Traceback (most recent call last):
  File "sensitivityAnalysis.py", line 14, in <module>
    cnn.buildModelLargeKernels( [4])
  File "/home/user/CNN.py", line 341, in buildModelLargeKernels
    model.add(Dense(nb_dense_neurons)) #128
  File "/usr/local/lib/python3.5/dist-packages/keras/models.py", line 308, in add
    output_tensor = layer(self.outputs[0])
  File "/usr/local/lib/python3.5/dist-packages/keras/engine/topology.py", line 487, in __call__
    build(input_shapes[0])
  File "/usr/local/lib/python3.5/dist-packages/keras/layers/core.py", line 695, in build
    name='{}_W'.format(self.name))
  File "/usr/local/lib/python3.5/dist-packages/keras/initializations.py", line 59, in glorot_uniform
    return uniform(shape, s, name=name)
  File "/usr/local/lib/python3.5/dist-packages/keras/initializations.py", line 32, in uniform
    return K.random_uniform_variable(shape, -scale, scale, name=name)
  File "/usr/local/lib/python3.5/dist-packages/keras/backend/theano_backend.py", line 140, in random_uniform_variable
    return variable(np.random.uniform(low=low, high=high, size=shape),
  File "mtrand.pyx", line 1565, in mtrand.RandomState.uniform (numpy/random/mtrand/mtrand.c:17311)
OverflowError: Range exceeds valid bounds

Any idea what causes this problem and how to get rid of it? It seems to occure while adding a dense layer.

#2681
Same problem with me and others

I am facing the same problem. the networked which were working perfect on ubuntu 14 are generating error "OverflowError: Range exceeds valid bounds" in ubuntu 16. issue is with dense layer. can't figure out the problem. please share if anyone has resolved this issue.

Same problem, and I have an OSX. Exactly same code started to give this problem after I reinstalled keras....

Ok, I solved the problem adding these two lines at the beginning of the code:
from keras import backend as K
K.set_image_dim_ordering('th')
Hope can help

@Simmetria0 it works for me! thanks!

@Simmetria0 it also works for me. Thank you.

is works for me, tks

Thanks. It works for me.

I have the same problem on ubuntu 16.04 and the image_dim_ordering is not working for me since keras.json has 'theano' and 'th' already set. It seems to be connected to the dense layers since when I remove them the error dissapeares.
Here is my code:
`def get_conv_model():
model = Sequential([
Lambda(norm_input, input_shape=(1,28,28)),
Convolution2D(32,32,3, activation='relu'),
Convolution2D(32,32,3, activation='relu'),
MaxPooling2D(),
Convolution2D(64,64,3, activation='relu'),
Convolution2D(64,64,3, activation='relu'),
MaxPooling2D(),
Flatten(),
Dense(512, activation='relu'),
Dense(10, activation='softmax')
])
model.compile(Adam(), loss='categorical_crossentropy', metrics=['accuracy'])
return model
model = get_conv_model()
`
and the error:
`---------------------------------------------------------------------------
OverflowError                             Traceback (most recent call last)
 in ()
----> 1 model = get_conv_model()
 in get_conv_model()
10             Flatten(),
11             Dense(512, activation='relu'),
---> 12             Dense(10, activation='softmax')
13         ])
14     model.compile(Adam(), loss='categorical_crossentropy', metrics=['accuracy'])
/home/ubuntu/anaconda2/lib/python2.7/site-packages/keras/models.pyc in init(self, layers, name)
253
254         for layer in layers:
--> 255             self.add(layer)
256
257     def add(self, layer):
/home/ubuntu/anaconda2/lib/python2.7/site-packages/keras/models.pyc in add(self, layer)
306                  output_shapes=[self.outputs[0]._keras_shape])
307         else:
--> 308             output_tensor = layer(self.outputs[0])
309             if type(output_tensor) is list:
310                 raise Exception('All layers in a Sequential model '
/home/ubuntu/anaconda2/lib/python2.7/site-packages/keras/engine/topology.pyc in call(self, x, mask)
485                                     'layer.build(batch_input_shape)')
486             if len(input_shapes) == 1:
--> 487                 self.build(input_shapes[0])
488             else:
489                 self.build(input_shapes)
/home/ubuntu/anaconda2/lib/python2.7/site-packages/keras/layers/core.pyc in build(self, input_shape)
693
694         self.W = self.init((input_dim, self.output_dim),
--> 695                            name='{}_W'.format(self.name))
696         if self.bias:
697             self.b = K.zeros((self.output_dim,),
/home/ubuntu/anaconda2/lib/python2.7/site-packages/keras/initializations.pyc in glorot_uniform(shape, name, dim_ordering)
57     fan_in, fan_out = get_fans(shape, dim_ordering=dim_ordering)
58     s = np.sqrt(6. / (fan_in + fan_out))
---> 59     return uniform(shape, s, name=name)
60
61
/home/ubuntu/anaconda2/lib/python2.7/site-packages/keras/initializations.pyc in uniform(shape, scale, name)
30
31 def uniform(shape, scale=0.05, name=None):
---> 32     return K.random_uniform_variable(shape, -scale, scale, name=name)
33
34
/home/ubuntu/anaconda2/lib/python2.7/site-packages/keras/backend/theano_backend.pyc in random_uniform_variable(shape, low, high, dtype, name)
138
139 def random_uniform_variable(shape, low, high, dtype=_FLOATX, name=None):
--> 140     return variable(np.random.uniform(low=low, high=high, size=shape),
141                     dtype=dtype, name=name)
142
mtrand.pyx in mtrand.RandomState.uniform (numpy/random/mtrand/mtrand.c:17303)()
OverflowError: Range exceeds valid bounds`
Anyone have any other solutions to try?


logging in with an access token does not validate that token

If you use the spark.login({accessToken: 'ACCESS_TOKEN'}) method of login, it should check to make sure that the token you're using is valid.

Valid in this case means the following.
function isValidAccessToken(token) {
  return /[0-9a-f]{40}/.test(token);
}

where lower case is in fact required.

Sure, I'm just pointing out that's somewhat misleading, in that tokens may
not still be valid, e.g. expired. This means that it's not actually
possible to check that a token still works without trying to use it and
just attempting to catch when it crashes.
This caused a bug in a project for me.
Plus, which seems like a more common situation: you have a saved token, but
it somehow became no longer a length-40 b64 string, or that it expired?
On Thu, Apr 16, 2015, 4:49 PM Zachary Crockett<EMAIL_ADDRESS>wrote:

Valid in this case means the following.
function isValidAccessToken(token) {
return /[0-9a-f]{40}/.test(token);
}
where lower case is in fact required.
—
Reply to this email directly or view it on GitHub
https://github.com/spark/sparkjs/issues/59#issuecomment-93836593.

Ah! No, no, my confusion on what you by "valid", which was why I was clarifying. Much more common to have an expired token. Calling spark.login with an access token doesn't actually hit the cloud at all.
I don't know whether sparkjs gets a new token when an existing one fails and we have a username and password. It should if it doesn't.
@willwhitney If you call login with an access token, and you have not passed a username and password, all sparkjs can do is fail, which is the same whether at login or on some later call. What would you like the behavior to be? What would have helped the most with your project debugging?

It would be a huge improvement for it to fail immediately and exactly the
same way as if you've called spark.login with a username and password.
Since the methods are called the same thing, they should behave the same
way.
Here's what a normal application flow looks like:

Start
Check to see if you have a token and that it works
If you don't, or it doesn't, display a login page to the user
Get a working token
Profit!

If there's not a way to explicitly check this, then you have to write extra
code to hit some random other endpoint of your choosing to check that the
token works. If you don't check the token ahead of time, you're going to
render the UI first, then fail back out to login, which is a very weird
user experience.
On Thu, Apr 16, 2015 at 5:04 PM Zachary Crockett<EMAIL_ADDRESS>wrote:

Ah! No, no, my confusion on what you by "valid", which was why I was
clarifying. Much more common to have an expired token. Calling spark.login
with an access token doesn't actually hit the cloud at all.
I don't know whether sparkjs gets a new token when an existing one fails
and we have a username and password. It should if it doesn't.
@willwhitney https://github.com/willwhitney If you call login with an
access token, and you have not passed a username and password, all sparkjs
can do is fail, which is the same whether at login or on some later call.
What would you like the behavior to be? What would have helped the most
with your project debugging?
—
Reply to this email directly or view it on GitHub
https://github.com/spark/sparkjs/issues/59#issuecomment-93839237.

Oh! And you're talking primarily about the browser, whereas I was thinking primarily about node.
Overall :+1:
Make sense to you @emilyrose?
Thanks for the suggestion @willwhitney — because we're focused on Photon delivery right now, I imagine this will get on the priority list some time in May.

Great, thanks!
On Thu, Apr 16, 2015, 6:02 PM Zachary Crockett<EMAIL_ADDRESS>wrote:

Oh! And you're talking primarily about the browser, whereas I was thinking
primarily about node.
Overall [image: :+1:]
Make sense to you @emilyrose https://github.com/emilyrose?
Thanks for the suggestion @willwhitney https://github.com/willwhitney —
because we're focused on Photon delivery right now, I imagine this will get
on the priority list some time in May.
—
Reply to this email directly or view it on GitHub
https://github.com/spark/sparkjs/issues/59#issuecomment-93849736.

@towynlin thanks for the ping!
@willwhitney this totally makes sense. I had the same kind of confusion you described with an expired token. I think your suggestion sounds like a reasonable way to approach a fix for this!
Thanks!

@towynlin As far as this goes on Node, we'd also really like if calling Spark.login with an access token actually pinged the cloud and verified it, throwing an error if it's not a valid token.
I'm happy to PR this, but I'm not sure what endpoint I would use on the Cloud API to just verify a token.

Hm, we don't have any particular endpoint perfectly suited to just checking token validity. Off the top of my head GET /v1/devices seems best, as in spark.listDevices. :+1:

Unless you have a few hundred/thousand/tens of thousnads devices?

@towynlin @dmiddlecamp I think it would be good to add a GET /v1/access_tokens/id endpoint to get the attributes of a token. Right now, you get those attributes when you create a token, or when you list all tokens, but you can't request attributes for a single token.

:+1:

In particle-api-js the library does not cache the token, you specify the token for each call.


GET operation example needed, e.g., retrieve JSON payload /Document from Cosmos DB

[Enter feedback here]
Since this page was under Request / Response, wouldn't it be better to focus on a synchronous GET operation than a POST operation?  For example, the documentation is not clear how to retrieve query parameters from a URI?  It seems by importing an OpenAPI spec, you would have the ability to retrieve the parameters and reference them.
One could then formulation Cosmos SQL via these parameters, and return JSON payloads.
Perhaps this current page is more along the lines of an asynchronous one-way, or delayed-response pattern, and with the latter, the web-hook would apply.

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

ID: ac80fef5-80b1-8084-394e-3328c4d30297
Version Independent ID: 22ad8679-dc5b-44cb-69b3-80cd632d6fa0
Content: Receive and respond to calls by using HTTPS - Azure Logic Apps
Content Source: articles/connectors/connectors-native-reqres.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

@dubnemo Thank you for your feedback! We will review and update as appropriate.

Hi @dubnemo, thanks for the suggestion. I've added the request to the backlog for prioritization.
@JayaChatterjee-MSFT: #please-close


debugging packets

I made some progress porting azure RTOS with netxduo to my M4 processor. I have most everything working but having some issues debugging ethernet packets.
The low level Ethernet hardware is setup and it looks like I am sending TX frames (I can see DHCP discover frames in Wireshark coming from my device) correctly but I am having issues with receive. I would like to get more visibility into the rx packets.
I am not sure how to build with packet debugging turned on. How do you do this and am I on the right path?

If you are able to receive data, then you can compare the data you received with the one captured by wireshark. If not, I suggest you refer to examples and specs of your platform.

I have already attempted to capture the DHCP offer in Wireshark, unfortunately the offer response is unicast and does not show (I am on a switched network).
But that is not my question. I want to be able to "see" the received data packet information and thus if it get parsed correctly. I see several compile defines that can be switched on to aid debugging ... like NX_DEBUG_PACKET and NX_ENABLE_PACKET_DEBUG_INFO but I do not understand how to used these. I set the #define for these in nx_user.h and rebuilt the app but see little difference. Is it possible to dump packet on terminal?
I have followed receive to the point the data looks to be queued in the nx_ip_packet_dferred_receive.c but not sure where to look next?

The option NX_DEBUG_PACKET  is used by driver. Here is the reference from ram driver: https://github.com/azure-rtos/netxduo/blob/617d1f0bb79ed1623efdeebabb100e299ef266ce/common/src/nx_ram_network_driver.c#L667  You will need to implement it by yourself.
And option NX_ENABLE_PACKET_DEBUG_INFO is used to trace the packet in NetXDuo but not the content.

little help


Counter error

Hi,
I've successfully send one payout, them with the next one got this error:
Counter 866835 already used for contract tz1XXXXXXXXXXXXX (expected 866836)

Thanks for reporting. I haven't seen this yet, possibly a race condition exists.


No Counter Limits

There are no limits on the setting counters.
You can select negative numbers.
Once you have saved with a negative number, the extension is unstable.  In my case, it will not let me change the information, and the selected mailbox is blank (with a (/) no icon when I hover over it.)  Save and Close is disabled.

hey @radmoose – sorry for the bug, but i'm no longer actively developing this extension. if you resolve this yourself, i'd happily merge in your pull request.


How to choose parameters

I have converts my images into vectors with 4096 dimension.
The number of training data is around 200,000 pictures.
To build graph in NSG, need to set the default parameters, including:

L controls the quality of the NSG, the larger the better, L > R.
R controls the index size of the graph, the best R is related to the intrinsic dimension of the dataset.

Could you suggest value of the parameters?

Usually, we do a brute-force search in the parameter space.
You may start with R=50 and L=100


feat: developing settings view

fix #24

CI is failing for make check failure and I'm not able to run the app because the app does not display nothing as the screenshot shows

ooh god sorry, I made a bad mistake


Integrate WS/gateway with blocks service for emitting latest blocks info to frontend

Completed in:
https://github.com/casper-network/casper-blockexplorer-middleware/issues/74


Mulitple src folders

Would it be possible to somehow set multiple src folders likes this:
src: [
'common/images/svg/',
'project1/images/svg/'
]
As it is right now, the script only handles the first src param and ignores the second one. I have multiple subprojects in which I would like to have both common svgs (used in multiple projects) and project specific svgs in different folders.

Hi @tolvstein,
you don't happen to use one of the wrappers for svg-sprite (like grunt-svg-sprite or gulp-svg-sprite), do you? svg-sprite itself doesn't have / use a src parameter ... Would you mind re-posting in the appropriate project?
Thanks & cheers,
Joschi


Upgrade terraform-provider-google-beta to v4.51.0

Fix #982

It looks like we're losing a lot of examples in this change, but I won't have time to track down the cause.


Add support for Cloud Controller Manager (addon?)

Feature Request
Add support for the Cloud Controller Manager (possibly as Typhoon addon?)
Documentation: https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/
Feature
Kubernetes v1.6 introduced a new binary called cloud-controller-manager. cloud-controller-manager is a daemon that embeds cloud-specific control loops. These cloud-specific control loops were originally in the kube-controller-manager. Since cloud providers develop and release at a different pace compared to the Kubernetes project, abstracting the provider-specific code to the cloud-controller-manager binary allows cloud vendors to evolve independently from the core Kubernetes code.
The cloud-controller-manager can be linked to any cloud provider that satisfies cloudprovider.Interface. For backwards compatibility, the cloud-controller-manager provided in the core Kubernetes project uses the same cloud libraries as kube-controller-manager. Cloud providers already supported in Kubernetes core are expected to use the in-tree cloud-controller-manager to transition out of Kubernetes core. In future Kubernetes releases, all cloud controller managers will be developed outside of the core Kubernetes project managed by sig leads or cloud vendors.
(source: https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/)
Tradeoffs
Pros

Cloud provider specific functionality (in my case: access to Elastic Container Registries inside AWS) can be achieved without the deprecated --cloud-provider flag that can be set on kube-apiserver and kube-controller-manager

Cons

Additional complexity is introduced, because kubelets should be invoked with the flag --cloud-provider=external, which indicates, that no workload should be scheduled on nodes prior to full initialization of the cloud controller manager

Doesn't the --cloud-provider=external flag preclude this being an addon? It would have to be maintained in core. I haven't spent much time exploring whether CCM is ready for prime time yet.

Digital Ocean support would probably benefit from switching to the external cloud provider and using cloud controller managers, since it has no built-in cloud provider, while a Digital Ocean cloud controller manager exists.
See-also: https://github.com/poseidon/typhoon/pull/422#issuecomment-472121185

This is still on ice as long as CCM is at odds with Kubelet TLS bootstrap (which Typhoon has been inching toward, though no final decision).
For DigitalOcean, their CSI provider is a nice way to enable cloud-specific storage without any cluster modifications (the poster child of doing this right). But that leaves CCM offering load balancers (non-goal, there's always a better option than service type=LoadBalance) and labels. Only vaguely useful.

I think at this point, any cloud provider specific controllers are managed and/or documented by their respective cloud providers. It's probably not in-scope for this project to directly integrate these.


DRA 1.32: beta

Description
DRA structured parameters are going to be beta in 1.32.
Issue
Related-to: https://github.com/kubernetes/enhancements/issues/4381

/wg device-management
/assign @johnbelamaric

/lgtm

Hello @pohly  👋! I'm reaching out from the Docs team. Just checking in as we approach Docs Freeze on Tuesday November 26th 18:00 PDT. This documentation appears to still be under review. To meet the Docs Freeze, this PR must have a technical review as well as lgtm and approve labels applied, without any unaddressed comments or concerns from SIG Docs. Thank you!

/assign @klueska @SergeyKanzhelev

/lgtm from SIG Docs pending rebase

Thank you for addressing all the comments and reviews
/approve

@salaxander (or anyone): rebased, please re-apply LGTM.

/lgtm


Update negative feedback links

@v-jaswel : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@v-jaswel : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@v-jaswel : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@v-jaswel : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@v-jaswel : Thanks for your contribution! The author(s) have been notified to review your proposed change.


streams: Make stream settings and create stream UI more consistent.

Fixes: #23327

Screenshots and screen captures:
New help docs

UI when announce stream is disabled.

UI when announce stream is enabled.

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

@alya please review this PR. I have addressed all the points mentioned in issue description.

@alya this PR is ready for review. Please have a look.

Thanks! Testing the rest of the PR, this part doesn't seem to be working:

When the option is not shown, we should default to announcing public (or web-public) streams.

Looks good otherwise, so you can tag @sahil839 for a code review once that's been addressed.

Thanks! Testing the rest of the PR, this part doesn't seem to be working:

When the option is not shown, we should default to announcing public (or web-public) streams.

I addressed this point in my PR and it worked on manual testing. However playing with my PR again now, I was able to reproduce the bug. But this issue is not related to this PR, we have a issue in our main branch which I have reported here.
I am pretty sure that you also encountered the issue because Who can add users to streams under organisation settings is  configured to a value which does not allow non-admins to add users. Once we fix the reported issue, the issue which we encountered in this PR will be automatically fixed.

@sahil839 I have done the changes as per your comments. Please have a look.

@sahil839 I have done the changes please have a look.

Looks good to me. @alya do you want to have a look at stream privacy icons change once before Tim reviews this?

Looks good to me, merged, thanks @Ujjawal3!
I'm not entirely sure the spacing is perfect, but we're using a common component, so if we don't like it, we should change it for everywhere.


Fail Whale error page rewrites the current URL in the browser

When an error occurs, a nice error page is shown:

Unfortunately, this also rewrites the URL in the browser to /dashboard/fail-whale. This is bad practice because it influences the user's browser history and makes it impossible for a user to just refresh the current page and see if the error may have gone away (for example a crashed cluster agent started again).
The dashboard should show a nice error message, but the URL should not be rewritten.

There are a few things that we might be able to try in order to resolve this one. The simplest path forward from my perspective seems like adding a button to take the user back to their previous route instead of setting the expectation to reload the page.
I've also been reviewing vue routers [pathMatch](https://router.vuejs.org/guide/essentials/dynamic-matching.html#catch-all-404-not-found-route) prop as an alternative, but it looks like this only applies to catch-all routes, which fail-whale` is not...
Finally, I noticed that we're usually committing and error to our store before redirecting to fail-whale. I'm wondering if we can't make use of a getter in our layouts (default, home...) to render the fail-whale component in place of our regular content.
Is there a preferred path that we would like to take? Can I be overlooking an alternative approach?
@nwmac @richard-cox @vincent99

My checks PASSED
This took several attempts to find a scenario where I can cause the fail wail error to occur.
Reproduction Steps:

Not required.

Validation Environment:

Rancher version: v2.6-head 1a57856 pulled 9/17/21 ~9:30am Pacific
Rancher cluster type: single-node docker install
Docker version: 20.10
Downstream cluster type: rke2
Downstream K8s version: v1.21.4+rke2r2
Validation steps:

Try to navigate to this invalid URL: /dashboard/c/local/explorer/apps.deployment/create#storage
A fail-wail error is seen in the UI
The URL is re-written but this is expected today as per the PR. However there is a new addition - a "Reload" button.
Click this reload button, it does indeed appear to attempt to reload.


Support for react native v0.50.1

Feature request
Hi, I am getting this error when I updated my React Native version to 0.50.1. I think Parallax image needs to add support for  Component.

react-native:v0.50.1

Hi @cruisecoders,
If you take a look at RN's release notes for version 0.50.0, you'll see the following:

<Image> with nested content is no longer supported. Looking into <ImageBackground> instead if this is something you did in our app.

This explains the error. But if you take a look at the component's source code, you'll see that no content is rendered inside <Animated.Image>...
Have you been able to reproduce the error with the provided example?

Hi, @bd-arc I used this example to create the parallax carousel.It is working good in rn version 0.49.3 but when I updated my rn to 0.50.1 then I got the following error.


feat: Add links for other non html log output formats in summary file

If other log output formats are generated such as:  "gfm", "commonmark", "markua", "json" the summary html should show the links for the locations of these log.

we should do this together with taking creating a general function to create summaries (#110 )


[!] Unable to decrypt device reponse.  PSKKEY/AUTHKEY do not match device.

I want to change the device  again after the first cut. but I am getting,
[!] Unable to decrypt device reponse.  PSKKEY/AUTHKEY do not match device.

That means you're using an incorrect profile.  You must use the one you used to originally cut the device.

how to change the profile as the initial one does not work

One that you chose caused the device to receive an A- AP SSID prefix, that was a working profile.  After the device already has the A- prefix, we can't apply the safety check to exit telling you it's a wrong profile, and when a wrong profile is used, you get PSKKEY/AUTHKEY errors.
You select the profile when  you run CloudCutter.

I am getting the ssid and the cloud cutter is working.
but during the last stem I get some dns requests like this,
un 13 04:31:48 dnsmasq-dhcp[15]:<PHONE_NUMBER> DHCPACK(wlx001611009b0d) <IP_ADDRESS> b8:06:0d:19:26:05 wlan0
Jun 13 04:31:48 dnsmasq-dhcp[15]:<PHONE_NUMBER> requested options: 1:netmask, 3:router, 28:broadcast, 6:dns-server
Jun 13 04:31:48 dnsmasq-dhcp[15]:<PHONE_NUMBER> next server: <IP_ADDRESS>
Jun 13 04:31:48 dnsmasq-dhcp[15]:<PHONE_NUMBER> sent size:  1 option: 53 message-type  5
Jun 13 04:31:48 dnsmasq-dhcp[15]:<PHONE_NUMBER> sent size:  4 option: 54 server-identifier  <IP_ADDRESS>
Jun 13 04:31:48 dnsmasq-dhcp[15]:<PHONE_NUMBER> sent size:  4 option: 51 lease-time  12h
Jun 13 04:31:48 dnsmasq-dhcp[15]:<PHONE_NUMBER> sent size:  4 option: 58 T1  6h
Jun 13 04:31:48 dnsmasq-dhcp[15]:<PHONE_NUMBER> sent size:  4 option: 59 T2  10h30m
Jun 13 04:31:48 dnsmasq-dhcp[15]:<PHONE_NUMBER> sent size:  4 option:  1 netmask  <IP_ADDRESS>
Jun 13 04:31:48 dnsmasq-dhcp[15]:<PHONE_NUMBER> sent size:  4 option: 28 broadcast  <IP_ADDRESS>
Jun 13 04:31:48 dnsmasq-dhcp[15]:<PHONE_NUMBER> sent size:  4 option:  3 router  <IP_ADDRESS>
Jun 13 04:31:48 dnsmasq-dhcp[15]:<PHONE_NUMBER> sent size:  4 option:  6 dns-server  <IP_ADDRESS>
.
It is not ending. sometimes the the device wont connect back. Then I used the smart home app to connect it again to cloudcutterflash access point. Then I will get  PSKKEY/AUTHKEY errors

https://github.com/tuya-cloudcutter/tuya-cloudcutter/wiki/FAQ#my-device-gets-stuck-after-dhcp-what-can-i-do
Yeah, any device that isn't the device being exploited that makes web request will get PSKKEY/AUTHKEY errors, and you can just ignore those, you should be able to determine by the hostname/IP communicated through DHCP.
Some devices are really tricky to get connected, make sure they are as close to the CloudCutter AP as possible.

I am still confused. can I change the device type after cutting the device. I want to change it from generic to wipro

CloudCutter doesn't assign brands to a device, only schemas, which can differ slightly from one similar product to the next, but usually have the same base functionality.
The important factor is you use the firmware profile attached to the device in cloudcutter.  All that are the same are compatible with each other.

i was able to solve it by using antela-spl-w-ty-pm-fr-ry-plug-with-energy-monitoring-cb2s-v1.1.8


Update to latest releases

This pull request updates the following software:

Prometheus to v2.3.2
Alertmanager to v0.15.1
Grafana to v5.2.2
node_exporter to v0.16.0

The Grafana and node_exporter upgrades both have impacts to existing dockprom stacks, instructions have been included to upgrade Grafana and all the default Dashboards have been modified to include the metrics for the new node_exporter values.
@stefanprodan not sure how you want to address old metrics vs new metrics, there's a couple different ways.
You can either run both exporters, use recording rules in prometheus (this uses more space) or create queries in the dashboard for both the old and new metrics.
Anybody that starts from scratch should be up and running without any issues.

Thanks


Remove roothash migration code

Once deployment tooling transitions to the BFT export/import tool, roothash migration tooling should not be needed anymore and can be removed.

Can this be removed now?

I think it can be: the playback still "exports" the roothash (https://github.com/oasislabs/oasis-runtime/blob/master/genesis/bin/genesis_playback.rs#L303) though, but that is now used when generating benchmark genesis (and not directly imported using roothash import), but i think that doesn't block this?

but that is now used when generating benchmark genesis (and not directly imported using roothash import), but i think that doesn't block this?

Yeah I don't think that can be avoided?


Update celluloid to version <IP_ADDRESS> in Gemfile

old version was preventing bundle install from executing

Thanks for this! :+1:


Mike metadata fixes

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/docfx.json
:white_check_mark:Succeeded

docs/skills/adaptive-cards.md
:white_check_mark:Succeeded

docs/skills/cortana-channel-data.md
:white_check_mark:Succeeded

docs/skills/cortana-device-type.md
:white_check_mark:Succeeded

docs/skills/cortanas-persona.md
:white_check_mark:Succeeded

docs/skills/get-started.md
:white_check_mark:Succeeded

docs/skills/launch-apps-from-skills.md
:white_check_mark:Succeeded

docs/skills/mva21-setup.md
:white_check_mark:Succeeded

docs/skills/mva22-hello-world.md
:white_check_mark:Succeeded

docs/skills/mva42-visual-ux.md
:white_check_mark:Succeeded

docs/skills/mva43-client-code.md
:white_check_mark:Succeeded

docs/skills/mva51-profile-data.md
:white_check_mark:Succeeded

docs/skills/mva52-using-profile-data.md
:white_check_mark:Succeeded

docs/skills/mva61-authentication.md
:white_check_mark:Succeeded

docs/skills/mva71-share-skill.md
:white_check_mark:Succeeded

docs/skills/mva72-publish-skill.md
:white_check_mark:Succeeded

docs/skills/overview.md
:white_check_mark:Succeeded

docs/skills/performance-guidelines.md
:white_check_mark:Succeeded

docs/skills/privacy-policy-guidelines.md
:white_check_mark:Succeeded

docs/skills/publish-skill.md
:white_check_mark:Succeeded

docs/skills/show-progress.md
:white_check_mark:Succeeded

docs/skills/terms-of-use.md
:white_check_mark:Succeeded

docs/skills/user-profile-contextual-info.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.

Thanks @mikekinsman!!


Roll Flutter Engine from b66a87626300 to 7282a5d94ab6 (2 revisions)

https://github.com/flutter/engine/compare/b66a87626300...7282a5d94ab6
2023-11-04<EMAIL_ADDRESS>Roll Dart SDK from b9ae53ac4663 to 96664852accc (1 revision) (flutter/engine#47679)
2023-11-04<EMAIL_ADDRESS>Roll Dart SDK from c52fb4fe2d86 to b9ae53ac4663 (1 revision) (flutter/engine#47674)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Integrate the ethereum tests

Description
https://github.com/ethereum/tests
Versions
develop
Additional Information
------Chinese-------
集成 ethereum tests 的测试用例

That's the main purpose of this version.
You can focus on this. @ouwenkg

Ok， I will do some research work firstly.

must-have: evm
better-have: others.

https://github.com/cryptape/cita-vm

Create a new issue about evm tests and refer here. @ouwenkg


Time for a new release?

We have an instance of Allstar running as a GitHub action that keeps crashing with
Killed
Error: Process completed with exit code 137.

about 15 seconds after starting a Binary Scan. The internet tells me this may be an OOMKiller at work. It looks like you've made some commits to address memory usage, could you make a Release with your latest fixes? Thanks!

Correction - the apparent OOM killer kicks in about 15s after starting the scan

Hi @pburkholder Will Do!
Yes, #496 changes how memory is held and frees the memory after each run. Originally we thought the cache would be small enough to keep around, but that hasn't worked out on the public instance.
#497 changes the number of concurrent workers, and allows config by env var. More concurrent workers means more memory in use at each time.
I'll get a release out tomorrow (Friday).

That said, I'm still working through issues in the public instance, so there might be other problems with the binary scan. I'll keep debugging it.

Unless there's another newer new release coming, I'm going to close this. Thanks!


Support for EV charger-card UI

Is your feature request related to a problem? Please describe.
Our ocpp integration represents the ChargePoint as a set of sensors and switches. Some may find it more user friendly to use a single graphical representation of the charger that shows the status and access to services, like  lock/unlock, reset, fw upgrade etc.
Describe the solution you'd like
There is a HACS project for a custom
EV charger-card
We should see what would be required to facilitate users to combine our integration with this.
Describe alternatives you've considered
Alternatively, we can create our own card that is specifically designed for ocpp. Not sure if we can integrate the .js file of the card with the custom_component in a single hacs integration, though, so installation may still be a multi-step process.
Additional context
I’ve opened an issue at  the charge-card project to discuss how to facilitate  integration.

Hey
I use this card already in my hass setup.
looks like this:

My yaml config for the card
type: custom:charger-card entity: sensor.wallbox_status image: default customCardTheme: theme_default chargerImage: White
Note that I called my charger sensor wallbox

Great! Did you also connect it to ocpp services?

No I didn't look into that yet.
Was already happy I had some graphical way to show the charger on my homepage 😄

Thinking it would be better to recreate the charger card that is already there and make it OCPP complaint,
I went through the repo and found some comment by the dev: https://github.com/tmjo/charger-card/issues/6#issuecomment-853045278
Here he states he created it specific for a specific charger: ease charger.
So my 2 cent, as OCPP is a standard we (I can code JS) should maybe try to start from scratch and make it OCPP complainant.

And I just noticed that Easee charger user can still use our card via the ocpp service that Easee provides through their API:
https://easee.com/uk/wp-content/uploads/sites/3/2020/03/V1_01-UK_Easee_Charge_Productsheet.pdf
page 6

Here's another card that could be used for inspiration:
https://github.com/JonahKr/power-distribution-card
This has animations and a versatile editor.

Quick question, do you add it into this integration or do we need to create a new repo with only the card?

I would prefer to keep things together, but I am not sure that this is supported by HACS

Hi @jeremycoppey and @lbbrhzn,
I am interested about the status of the card. If you need help I could look into it during the Christmas holiday :)

The Alarmo component also includes a lovelace card. This could be a similar approach


Support maki2

This is just a placeholder issue to keep an eye on
~~https://github.com/mapbox/maki-2/issues/46~~
Maki2 will likely be merged into Maki, which will get a major semver bump.
^UPDATE: this happened already, see https://github.com/mapbox/maki/pull/241
This is good!
iD is currently pinned to Maki 0.5.0, so we don't need to do anything right away.
We might be able to install both versions, and build 2 spritesheets so that we don't lose any of the Maki1 icons that aren't yet available in Maki2.

related ticket in Maki:  https://github.com/mapbox/maki/issues/270

https://github.com/mapbox/maki-2/issues/46 gives a 404

Thanks @pnorman I updated the issue.
maki2 repo is gone and its contents got folded into the main maki repo.
see https://github.com/mapbox/maki/pull/241

@bhousel I just wanted to flag that Maki 2 icons are different sizes than Maki 1: they are 11px/15x versus 12px/18px/24px. It looks like you're currently using Maki 1 -24 for the UI, resized to 32px, and Maki 1 at actual size for the map? Will it work for your purposes to use both versions at the same time?
/cc @natslaughter @aparlato

Will it work for your purposes to use both versions at the same time?

It would probably be ok, but we'll need to add some code to store what icon sizes are available and have iD pick the best size.  See #3025 for more info


Values added to ListProperty aren't taken into account when realizing the property

Given the following code:
class SomeTask extends DefaultTask {
    private ListProperty<String> property = project.objects.listProperty(String)

    void addSomeValue() {
        property.add("some-value")
    }

    @Input
    ListProperty<String> getProperty() {
        return property
    }
}

Expected Behavior

The value from the provider contains the added element.
Current Behavior

The snapshot fails with no value provided to the property. If you set the property to an empty list in the constructor, everything works as expected:
property.set(Collections.emptyList())

Context

Steps to Reproduce (for bugs)

Your Environment

Build scan URL:

A real-life example of this issue can be found here: https://github.com/lacasseio/vscode-gradle-plugin/blob/master/src/main/java/io/lacasse/vscode/gradle/internal/tasks/GenerateCompileCommandsFileTask.java#L65

This is a change in 5.0: https://docs.gradle.org/release-nightly/release-notes.html#incubating-factory-methods-for-creating-properties
You need to change:
    private ListProperty<String> property = project.objects.listProperty(String)

to
    private ListProperty<String> property = project.objects.listProperty(String).empty()

Since the property no longer has a default value.

My bad, I didn't follow enough the latest changes to the Property API.
Given that the collectors list gets cleared when a value is set, wouldn't it be better to fail upon add and addAll on a ListProperty with no value? We can check if the value is NO_VALUE_COLLECTOR to assert this mutation. I went as far as running the debugger and saw that both collectors (no value and the one I added) were present and still couldn't obviously found the issue.

No worries.
That sounds like a good idea.  could you open a new issue?

Done, https://github.com/gradle/gradle/issues/7485


crunchy postgres helm chart package example

this is an example of using Helm charts for starting a crunchy postgres master and replica database configuration.

Hey @jmccormick2001, thanks for the contribution. We're still figuring out what the release process for this charts repository will look like, so hopefully we will have more information on how you can contribute examples soon.

@jmccormick2001 we are now storing the manifest files directly in this repo. Would you like to resubmit or would you prefer if I took the tarball you uploaded here and put it in another PR?

@jmccormick2001 just following up with yah

I'm fine with you just moving the tarball to another PR if that works best.

Will do. Thanks @jmccormick2001.

What we doing with this PR?

just following up on this, did this tar file get merged into another PR?  or do I need to take any further action here?  thanks.

@jmccormick2001 Thank you for the contribution. We now have a release process that will create the chart tar for the repository. This means the raw chart directory should be submitted so that it can pass through the review process. I'll leave it with either you or @viglesiasce to update the PR.

Given there is already a postgresql chart in stable, should this be closed out? This could be resubmitted as a postgresql-cluster chart given it supports replication.

I'll resubmit a new PR and come up with another name, perhaps crunchy-postgresql-cluster


Sliding Window Problem

Add some sliding window problem of Leetcode in cpp language from bruteforce to optimal

@DHEERAJHARODE please assign me to this

please assign me this

please assign me this @DHEERAJHARODE

please assign the issue to me

I wish to contribute. Kindly assign this to me.

Hello sir! I would like to contribute in this issue please assign it to me

I wish to contribute. Kindly assign me this issue.


Feature Request: Add wine inventory

I wasn't going to suggest it, as the whole wine inventory function can get wildly complicated, but in light of #78, I think it could be a nice idea to add a "Wine Rack" area that allows a basic inventory function for wine bottles.

Maybe this could be more generic ? Adding a liquor subcategory so that we can track different whiskies, rhums, wines, gins etc)

Bar Assistant already provides you the tools to create your own inventory and categories however you want. And there is also already support for ingredients which are child ingredients under a bigger parent ingredient.
I already have many liquor subcategories I created myself and parent/child ingredients.
The default setup is just pretty bare bones. The tools are already in place for you to modify the whole thing.
Screenshot below is just a small section of my ingredient category page in Settings page.

I'm adding coffee mostly because I like specialty coffee, and it's something I also like to "track" in some way.
I'd like to add specific wine and beer sections somewhere in the future, but I don't have concrete plan for that yet.

Right-I think the trick is adding stuff that will be separate from the ingredient/cocktails area, since they (mostly) don't interact in that way. Once there's a space to add non-cocktail things (coffee, wine, beer), it should be easy to replicate.

Appreciate the commentary above on how to separate ingredients into different categories, but this really only works when tying into cocktail recipes if you’re able to set an ingredient category as an ingredient for the recipe.
I.E the category could be Bourbon,  individual ingredients under that category, could be different types/brands of bourbon, however you would want to set your cocktail recipe to include 30ml of Bourbon, not a specific type/brand.  The ability to set an ingredient category isn’t available today, so storing your ingredients in the sub-category structure outlined above doesn’t really make sense, unless you are going to require specific types/brands for each individual cocktail recipe.

Just replying to myself here,  The key here I think is the ‘parent ingredient’ section.  Right now if you add an ingredient to your shelf, and it has a ‘parent ingredient’ if there is a cocktail that uses that ‘parent ingredient’ it will say you don’t have any, even if you have the ‘child ingredient’ on your shelf,  if this hierarchy persists, and it recognized the child ingredients as parent ingredients, it fixes the issues i mentioned above.

Tracking parent ingredient as a possible substitute was possible via ENV var, new versions now include "Track parent ingredient as a substitute ingredient in your shelf" checkbox in your profile that can toggle that behavior.
Anyhow, this is offtopic for this issue.