Hue lights appear green in UI in .66

Home Assistant release with the issue:

Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):

Component/platform:

Description of problem:
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:
Hue lights appear green in the UI even when they are not green. Changing them to a different color still works however when you turn them off and on again they show as green. Lights are actually never that green color and only display that way in the UI.

+1

It appears to affect only rooms that have color lights but even then I have a room that has color lights but is unaffected. Not sure why this is affecting on specific rooms with color

I'm having a similar issue though it only seems to affect the some of my bulbs (model LCT007, sw: <IP_ADDRESS>36 according to the hue app)

Yep, I guess that's the difference, appears to also affect LCT003, so my guess is rooms that include 3rd gen color bulbs.

I have the same problem!

This is not fixed in 0.67 (beta) and really really annoying. I'd consider the hue component broken because of this.

It's actually worse in .67, now the color is stuck

So after my hassio finally noticed the beta... my lights are now green like this:
Expected snippet from my scene:
  light.living_room:
    state: on
    brightness: 254
    xy_color: [0.4575, 0.4099]```

Actual from scene gen:

light.living_room:
state: on
brightness: 254
xy_color: [0.43, 0.459]```
https://github.com/home-assistant/home-assistant/pull/13665 Has not fixed my issue, just changed it from being Pink to Green; my original issue is still standing - just a different colour - https://github.com/home-assistant/home-assistant/issues/13686

Did this change with 0.67 (final, not the betas)?

No, still the same..
Omri Asta
On Sun, Apr 15, 2018 at 1:28 PM -0400, "Anders Melchiorsen" <notifications<EMAIL_ADDRESS>wrote:
Did this change with 0.67 (final, not the betas)?

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/home-assistant/issues/13589#issuecomment-381423268, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALRnyDSyi8Z086RUiIdZVbYHz3I-jptcks5to4NQgaJpZM4TChfg.

Still present on 0.68 beta

closed with #14119


My componentDidMount() is never invoked

My render() and my componentWillReceiveProps() are invoked, but my componentDidMount() is never invoked.  I am using your composition technique:
export default scriptLoader(
    "/assets/global/plugins/backstretch/jquery.backstretch.min.js"
)(ResetPasswordPage);

Here are the versions of things I am using:
"react": "^15.0.1",
"react-async-script-loader": "^0.2.1",
"react-document-title": "^2.0.1",
"react-dom": "^15.0.1",
"react-router": "^1.0.3",

Using webpack and babel-loader for tooling.
Is this expected behavior?  Reading your doc, I would have thought that my componentDidMount() should be called.

This is very weird, it's hard to tell without sample code. This life cycle function componentDidMount  should be called after component mounted...


Minor improvements

I'm planning much bigger changes, but it would require much time...
So, just a little tweaking for now :)

Thanks!


Do not use special dll linkage for "cdef public" functions

This is meant to fix the module_api Cython test on Cygwin and help with various bugs in SageMath, such as https://trac.sagemath.org/ticket/21459
@embray Please test on Cygwin.

Thanks, I'll have a look soon as possible.

Can confirm this fixes the module_api test on Cygwin.

With Cython 0.26, this is the only remaining Cython patch in SageMath.

I'd like someone with Windows experience to verify this is the intended behavior.

I did.

What are the odds that someone is relying on the current behavior and will be broken? Seems it merits at least a note in CHANGES.rst.

I don't think it will break anything because the current behavior is broken anyways, but I agree it merits a changelog entry.

OK, document on CHANGES.rst and I'll merge.

This strikes me as a really positive move. This will make public declarations work for sharing Cython declarations with C files built into the same extension module. Currently that only works on Python 3 since the DL_IMPORT/DL_EXPORT macros are no-ops there. The tests imply that that's the intended use-case for public declarations. In theory this could potentially break code that uses public declarations to share things with C-level code outside the module itself, but that's a dubious way of doing things, and it would only work on Python 2 right now. That behavior is really more of a bug than a feature. Removing the specifiers makes the behavior consistent and allows use-cases that follow best practices to work across all Python versions.


setup_board: Build grub platform modules

PR https://github.com/coreos/scripts/pull/478 added the pieces to allow us to build the grub modules for arm64 boards, but the user still needed to run emerge by hand to build them.
This PR automates that by running the emerge of the SDK sys-boot/grub again at the very end of setup_board to pick up any config changes that were made within setup_board.  This late emerge is not specific to arm64 and will build grub modules for any architecture that is different from the host.

@marineam Please consider.  I tested this with amd64, and the --changed-use flag seems to work as expected and no emerge is done.

LGTM


fix-head calculates invalid header width, only fixes upon clicking header

I'm trying to use fixed-table-header in conjunction with a couple other modules, but it seems fix-head calculates it's header width well before the other elements kick in. If I click on anything else within the page, fix-head moves into the correct position
Is there anyway to force-refresh the fix-head header calculation at the end of a controller?

I am also facing the same Issue, after the table load the header cell is moved to reposition.

@Syntaf i am get some issue and i add next code for recalculating headers cells width:
          window.dispatchEvent(new Event('resize'))
        , 0```

it trigger resize event for window and call recalc method form lib. It is terrible, but works

@zhukovRoman Awesome!

@Syntaf i am get some issue and i add next code for recalculating headers cells width:
$timeout () -> window.dispatchEvent(new Event('resize')) , 0
it trigger resize event for window and call recalc method form lib. It is terrible, but works.
Roman, can you please provide more details, how this method can be used.
In my case, I call $timeout () -> window.dispatchEvent(new Event('resize')) , 0 in controller method, which is toggle some block on the page.
You can use 0 delay $timeout  (only Angular timeout with $), because it was call after repainting.

Roman, I would be grateful for advice or solution, the problem is the header blinks while implementing
$timeout(function() {
$window.dispatchEvent(new Event("resize"));
}, 100);
I made the value 0, it made it worse, it takes more time to recalculate resize event. timeout 100 works, but it creates blinking when page loads.


Add syntax highlighting for GettingStarted.md

Did I get this right, @schae234? You can check what it should look like here: https://github.com/RaoOfPhysics/Camoco/blob/add-syntax-highlighting/docs/GettingStarted.md
Signed-off-by: Achintya Rao<EMAIL_ADDRESS>

Yes! Perfect, thanks!

I missed adding shell to the first code chunk. Sorry about that. If you want, I can fix it.

Coverage decreased (-0.5%) to 38.753% when pulling 1d81fa381504a4f976ddac8c10122a44d947f4c4 on RaoOfPhysics:add-syntax-highlighting into 74a2914ef99b1ddf809c4da19b00ab67ff386bca on schae234:master.

Oops. How did that happen? All I did was change a .md file…

coveralls can be a bit picky sometimes. There is a place to specify what gets counted in the percentage (i.e. md files should be ignored), but I haven't gotten around to pinpointing it yet.


Provide the ability to include known crashes as part of the corpus

Onefuzz should allow known crashes to be part of the input corpus.
AB#45394

This is supported by adding the existing crash to the crash container


hw2 ch5 part2

RR.c
linklist.h
priority_RR.c
queue.h
我想說同一個ch5，文件就直接更新在x06lan 的readme 了

should update Makefile to
all:
	gcc FCFS.c -o FCFS.out
	gcc SJF.c -o SJF.out
	gcc priority.c -o priority.out
	gcc RR.c -o RR.out
	gcc priority_RR.c -o priority_RR.out
clean:
	rm *.out

should update Makefile to
all:
	gcc FCFS.c -o FCFS.out
	gcc SJF.c -o SJF.out
	gcc priority.c -o priority.out
	gcc RR.c -o RR.out
	gcc priority_RR.c -o priority_RR.out
clean:
	rm *.out

done.

Priority order is wrong

Priorities range from 1 to 10, where a higher numeric value indicates a higher
relative priority.

RR and PriorityRR quantum time is wrong

For round-robin scheduling, the length of a time quantum is
10 milliseconds

done

Priority order is wrong

Priorities range from 1 to 10, where a higher numeric value indicates a higher
relative priority.

RR and PriorityRR quantum time is wrong

For round-robin scheduling, the length of a time quantum is
10 milliseconds

done.

Priority order is wrong

Priorities range from 1 to 10, where a higher numeric value indicates a higher
relative priority.

done.

RR and PriorityRR quantum time is wrong

For round-robin scheduling, the length of a time quantum is
10 milliseconds


arange capabilities array in a table

the issue is basically solved, but I try to move the scroller to the right side so I will leave it open till further notice.


Return exact score for positions with no legal move

Codecov Report

Merging #60 (156b5f5) into main (f0bf331) will increase coverage by 3.70%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
+ Coverage   92.80%   96.51%   +3.70%
==========================================
  Files          45       44       -1
  Lines        5742     5510     -232
==========================================
- Hits         5329     5318      -11
+ Misses        413      192     -221

Impacted Files
Coverage Δ

search/src/alpha_beta.rs
84.37% <ø> (+18.49%)
:arrow_up:

...egen/src/move_generator/move_generator_template.rs
76.44% <0.00%> (-0.88%)
:arrow_down:

movegen/src/file.rs
100.00% <0.00%> (ø)

movegen/src/rank.rs
100.00% <0.00%> (ø)

search/benches/bench_search.rs

movegen/src/move_generator.rs
99.84% <0.00%> (+<0.01%)
:arrow_up:

movegen/src/bitboard.rs
97.43% <0.00%> (+0.85%)
:arrow_up:

engine/src/lib.rs
34.61% <0.00%> (+1.28%)
:arrow_up:

movegen/src/position_history.rs
99.86% <0.00%> (+1.36%)
:arrow_up:

movegen/src/move.rs
97.26% <0.00%> (+2.02%)
:arrow_up:

... and 16 more

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 f0bf331...156b5f5. Read the comment docs.


Allow sharing of recipes by adding the info to the URL.

Right now the URL is always the same (max with '#') which means that you don't have a URL to share if you want to share a specific recipe.

Done


Fails to initialize properly on consecutive inits

I've encountered a somewhat quirky issue with svg-pan-zoom.
Flow of things goes something like this:

svg-pan-zoom works fine on the first time it's initialized
Fiddle with the svg, then call destroy() and navigate to another route (it's a single page app)
Return to the route with our svg
Panning and zooming works just fine, but when I try to call disablePan(), error is thrown: TypeError: undefined is not an object (evaluating 'that.options.panEnabled = true') @ svg-pan-zoom.js:666

Interesting observation: logging the contents of this inside disablePan produces different results on these two consecutive runs:

Content of `this` inside `disablePan` on the first load with no errors
defs: <defs>
eventListeners: {mousedown: function, mouseup: function, mousemove: function, mouseleave: function}
height: 553
lastMouseWheelEventTime:<PHONE_NUMBER>507
options: {viewportSelector: ".svg-pan-zoom_viewport", panEnabled: true, controlIconsEnabled: false, zoomEnabled: true, dblClickZoomEnabled: false, …}
pi: {enablePan: function, disablePan: function, isPanEnabled: function, pan: function, panBy: function, …}
publicInstance: {enablePan: function, disablePan: function, isPanEnabled: function, pan: function, panBy: function, …}
state: "none"
svg: <svg class="svgCanvas--0d3cd29da box--fd770023c js-canvas-container">
viewport: ShadowViewport {viewport: <g class="svgViewport--d65bec44a svg-pan-zoom_viewport">, options: Object, originalState: {zoom: 0.2092494809632015, x:<PHONE_NUMBER>7178564, y:<PHONE_NUMBER>7282536}, activeState: {zoom: 0.5976373548941616, x:<PHONE_NUMBER>452194, y:<PHONE_NUMBER>9157373}, updateCTMCached: function, …}
wheelListener: function(evt)
width: 375

Content of `this` inside `disablePan` on the second go when error is thrown
beforePan: null
beforeZoom: null
defs: <defs>
eventListeners: {mousedown: function, mouseup: function, mousemove: function, mouseleave: function}
getPublicInstance: function()
height: 553
lastMouseWheelEventTime:<PHONE_NUMBER>290
onPan: null
onUpdatedCTM: null
onZoom: null
state: "none"
svg: <svg class="svgCanvas--0d3cd29da box--fd770023c js-canvas-container">
wheelListener: function(evt)
width: 375

Second interesting observation: if I assign the instance as property of window, the error doesn't get thrown, but any dragging of elements inside the SVG is completely off the charts.
I'm not sure if this is more about our app doing something stupid or svg-pan-zoom, but I thought I'd report, as I find it odd that the lib initializes itself differently on two consecutive runs.
How we use svg-pan-zoom in pseudo code:
Template
  onRendered(instance)
     svg = instance.findSvg()
     instance.svgPZ = svgPanZoom(svg, opts)
  onDestroyed(instance)
     instance.svgPZ.destroy()
  disable
     instance.svgPZ.disablePan()

Template.render()

I sure could appreciate any tips on what might be going haywire to produce this kind of situation!
Bug report
Expected behaviour
I'd expect svg-pan-zoom to work exactly the same after each cycle of destroy and init.
Actual behaviour
svg-pan-zoom breaks.
Steps to reproduce the behaviour
N / A
Configuration

svg-pan-zoom version: 3.5.3
Browser(s): Chrome, Safari, Mobile Safari
Operating system(s): Mac OS

Like always, after stuggling for 3hrs straight and finally posting an issue, the problem is resolved within 5 minutes after posting.
Turns out, in the onDestroyed hook of our template, I made a call to a non-existent function (forgot to prepend call with this.). For some reason, the error from that call was silently swallowed.
Strangely enough, considering that svgPZ.destroy() was the first line in that onDestroyed function, and the non-existing call being the last, the only thing broken was svg-pan-zoom - everything else worked just fine.
Closing as this is possibly close to impossible to reproduce outside of our app domain.


Committing a undo redo action without method causes an "INVALID_HISTORY" error

Godot version
v4.0.alpha.custom_build [79b21e96ad7a154e6c64a88150c98bd4dea52e91]
System information
Windows 10
Issue description
Since #59564, when you create an undo redo action, then commit it without adding any method, it throws this error:
editor\editor_undo_redo_manager.cpp:221 - Condition "pending_action.history_id == INVALID_HISTORY" is true.
This happens in some cases, like here, when drag_modified_tiles is empty: https://github.com/godotengine/godot/blob/16228ba3e27b57df48256fcdf34670a25b3d52b0/editor/plugins/tiles/tile_set_atlas_source_editor.cpp#L1315-L1320
This didn't happen before the merge of #59564.
Steps to reproduce
undo_redo->create_action(TTR("My Action"));
undo_redo->commit_action(false);

(or open a TileSet and try to create a tile where there's already one, this triggers the bug)
Minimal reproduction project
No response

Maybe this is the expected behavior, in this case, that means some of the code needs to be modified to prevent the commit when there's no method, like adding a if (!drag_modified_tiles.is_empty()) in the issue example.


Additional checks for correct model structure in Compliance Checker needed

Reported by awad.mukbil on 7 Feb 2017 11:53 UTC
The compliance checker does not detect errors in the attached FMU (which is, e.g. rejected  by Dymola). The attached FMU is an erroneous FMU of bouncingBall.fmu that came with QTronic FMUSDK 2.0.4. The following two errors in the <ModelStructure> element of the modeldescription.xml should be detected:[[BR]]
Error 1: Invalid Derivatives indices in ModelStructure element
According to the FMI version 2.0 standard, page 58, only state derivatives should be listed in <Derivatives>(not states). In this FMU, the <Derivatives> has elements with indices of states [1, 3], instead of state derivatives [2, 4].[[BR]]
Error 2: Invalid InitialUnknowns indices in ModelStructure element
According to the FMI version 2.0 standard, page 60, variable listed should be:

causality = "output" and (initial="approx" or "calculated").
causality = "calculatedParameter".
continuous-time states and all state derivatives (defined with element <Derivatives> from <ModelStructure>) with initial="approx" or "calculated" (not “exact”)
In this FMU, the <InitialUnknowns> has elements with indices of states with initial="exact" [1, 3], instead of state derivatives with initial="calculated" [2, 4].[[BR]]

The Compliance Checker should be updated to detect these errors in the modelDescription.xml file. Attached are the FMU and batch of Compliance Checker command to run this FMU and generate log file.

Migrated-From: https://trac.fmi-standard.org/ticket/410

Comment by adrian.tirea on 8 Feb 2017 08:40 UTC

My understanding is that "indices" means index not valueReference.
Index starts from 1. That is why the value are [2, 4].
Page 58: "Ordered list of all state derivatives, in other words a list
of ScalarVariable indices where every corresponding ScalarVariable must be a state derivative."

Page 61 define what is the index:
"The ScalarVariable index of the Unknown 𝑣𝑢𝑛𝑘𝑛𝑜𝑤𝑛. [For example,
if there are 10
ScalarVariables and index = 3, then the third ScalarVariable is the unknown
defined with this element.]"

The same misunderstanding regarding the indices applies here too. We
list in the InitialUnknowns the Derivatives.

Comment by cbertsch on 8 Feb 2017 08:51 UTC
Adrian, the bouncing ball FMU that is shipped with the FMUSDK is correct and your interpretation is absolutely correct.
We created a incorrect version of this FMU intentionally, in order to demonstrate that the FMI Compliance checker does not find such errors.

Comment by adrian.tirea on 8 Feb 2017 08:54 UTC
I see. Thank you for explanation!


test(eddsa-poseidon): Targeted tests for compatibility & security of secret scalar modulus

Is your feature request related to a problem? Please describe.
This is a follow-on suggestion to #257 which added mod reduction to secret scalar generation.  Existing tests confirm that this results in the same public key for one test case, but nothing to confirm that the default private key used actually causes an overflow.  I suggest adding some more targeted test cases for the specific situations and vulnerabilities targeted by this change.
Describe the solution you'd like
A few things I'd suggest for additional test cases:

Check that the secret scalar is in the intended range in all tests.
Pick multiple secret keys which do and don't cause the overflow targeted here.
Pick secret keys tailored to the attack scenario which motivated this (those which cause overflow but result in the same public key).  Confirm they result in the same secret scalar now as well.

Describe alternatives you've considered
May be too late for this now, but an approach I've found valuable particularly with security-related bugs is based on TDD.  Write a test first which will fail and prove the existence of a security bug.  Then make the fix and prove the test now passes.

Hey! I can work on a few tests targeting this part of the protocol.

Hey @ChinoCribioli! Thanks. I just assigned the issue to you. Feel free to ask any questions.

After giving a thought to the signing algorithm and exploring the codebase, I have 2 things that I don't understand:

The "overflow" (the case in which the secret scalar without taking reminder mod subOrder has 252 bits, while the subOrder has 251 bits) always happens. That's because the pruneBuffer method turns off the most significant bit and turns on the second most significant bit. Therefore, after doing the right shift by 3 bits (to a 256-bit number, which ends up in a 253-bit number), we end up with a secretScalar of strictly 252 bits because we know that the most significant bit is a 0 and the second is a 1. Thus, the "overflow" case doesn't depend on the private key passed. Does this make sense?
I don't see what potential issue could it be with taking remainder modulo subOrder. The secret scalar is only used to then be multiplied to the base point Base8, which has order subOrder. Therefore, the points t * Base8 and (t+k*subOrder)*Base8 will always be the same. The only thing that changes when applying the modulo to the secret scalar is that you save a couple of EC point additions when doing mulPointEscalar(Base8, secretScalar), which is always a benefit if you ask me. What I mean is that the result doesn't change.

Sorry if this is a lot of info, but it is what I could take out after my analysis.


Add on off toggle and more info

Added on-off toggle icon and functionality as well as added touch hold and context menu click handling to show more info.

added toggle button to make it possible to toggle the thermostat
added context menu click handling that opens more info (aimed for desktop use)
added tap-hold (hold action) handling that opens more info (aimed for mobile use)

Hello @ciotlosm, would you mind to review this PR?

Hello @ciotlosm, would you mind to review this PR?

Will review on the next days

Will review on the next days

Any update on merging this @ciotlosm?

Any updates?

Hi @ciotlosm would you please merge this? 🙏

How do I disable / hid the new power button toggle? its not working correctly with Nest thermostat


feat: migrate v2.0

BREAKING CHANGE: complete rewrite not backward compatible
Description
Please include a summary of the change and which issue is fixed. Also, please include the motivation and context for the change. List any dependencies that are required for this change.
Check the relevant boxes:

[ ] Bug fix (nonbreaking change that fixes an issue)
[ ] New feature (nonbreaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Examples or tests (addition or updates of examples or tests)
[ ] Documentation update
[ ] CI related update (pipeline, etc.)

Checklist

[ ] If relevant, a test for the change has been added or updated as part of this PR.
[ ] If relevant, documentation for the change has been added or updated as part of this PR.

Merge

Merge using "Squash and merge".
Make sure to use a relevant conventional commit message that is based on the PR contents. The commit message determines whether a new version of the modules needs to be released, and if so, which semver number to use).

As discussed today, going to create a new repo with this module code and eventually deprecate this module


Correcting file name in preprod script

Changes
Adding missing .pem to jenkins pre-prod script.
How to test
N/A
Who can test
Anyone apart from @warrenbailey

:+1: LGTM


nixos/filesystems: guard assertion messages against eval failures

Description of changes
The messages for these filesystem assertions ought to be able to be printed even if the assertion condition is not encountered.
I encountered this while testing https://github.com/NixOS/nixpkgs/pull/313497.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

@philiptaron I really dislike this method of repeating the condition in the message to replace the message with a more nonsense one. I think it would have been better for this and #320850 to have simply altered the behavior of the assertions option, maybe with an apply setting for the type of message, so that it replaces the message with "assertion not triggered" or something.


Some enhancements for committees and meetings

Improves the csv import for committees (Fixes #983, Fixes #991)
Meetings can be cloned based on a template (Fixes #835, Fixes #869)
The translate function is passed down to the ImportStepDescriptor (Fixes #937)

Currently, there is no other option to pass a meeting admin for a meeting, which will be cloned.

Waiting for OpenSlides/openslides-backend#1306.

Still open: #1008.


Mission1 art gallery game

We still need to actually make the gallery and add the images (and the blurring) but this is the mvp for now

Won't merge for now but if anyone wants to make a gallery in the meantime please feel free

Added more commits after approval, kind of screwed it up. Check new branch 'goingBack'


Proxool dependencies

I'm trying to understand the proxool dependency declaration.
The last release was in 2013 and there are several other connection pools available today (such as HikariCP).
My I remove this dependency to save binary size?

This dependency can be removed, it was used included early in the project when I had a database message store example.


efs-provisioner: error retrieving resource lock - endpoint is forbidden

Using AWS EFS.
Followed instructions (https://github.com/kubernetes-incubator/external-storage/tree/master/aws/efs), applied RBAC yaml. But getting this in the efs-provisioner logs:
E0816 19:25:11.059420       1 leaderelection.go:252] error retrieving resource lock default/company.io-efs: endpoints "company.io-efs" is forbidden: User "system:serviceaccount:default:default" cannot get resource "endpoints" in API group "" in the namespace "default"

What am I/the docs missing here?

Got it working by changing the RBAC to:
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: efs-provisioner-runner
rules:
  - apiGroups: [""]
    resources: ["persistentvolumes"]
    verbs: ["get", "list", "watch", "create", "delete"]
  - apiGroups: [""]
    resources: ["persistentvolumeclaims"]
    verbs: ["get", "list", "watch", "update"]
  - apiGroups: ["storage.k8s.io"]
    resources: ["storageclasses"]
    verbs: ["get", "list", "watch"]
  - apiGroups: [""]
    resources: ["events"]
    verbs: ["list", "watch", "create", "update", "patch"]
  - apiGroups: [""]
    resources: ["endpoints"]
    verbs: ["get", "list", "watch", "create", "update", "patch"]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: run-efs-provisioner
subjects:
  - kind: ServiceAccount
    name: efs-provisioner
     # replace with namespace where provisioner is deployed
    namespace: default
roleRef:
  kind: ClusterRole
  name: efs-provisioner-runner
  apiGroup: rbac.authorization.k8s.io
# ---
# kind: Role
# apiVersion: rbac.authorization.k8s.io/v1
# metadata:
#   name: leader-locking-efs-provisioner
# rules:
#   - apiGroups: [""]
#     resources: ["endpoints"]
#     verbs: ["get", "list", "watch", "create", "update", "patch"]
# ---
# kind: RoleBinding
# apiVersion: rbac.authorization.k8s.io/v1
# metadata:
#   name: leader-locking-efs-provisioner
# subjects:
#   - kind: ServiceAccount
#     name: efs-provisioner
#     # replace with namespace where provisioner is deployed
#     namespace: default
# roleRef:
#   kind: Role
#   name: leader-locking-efs-provisioner
#   apiGroup: rbac.authorization.k8s.io
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: efs-provisioner

And adding the service account to the manifest.yaml
   spec:
      serviceAccount: efs-provisioner
      containers:
        - name: efs-provisioner
          image: quay.io/external_storage/efs-provisioner:latest

^^ Found this in an old ticket, but doesn't look like a fix was ever rolled out. Would be worth doing as its quite annoying following docs and example yamls that are out of date and wrong.

/remove-lifecycle stale

Hit this just &  @richstokes comment fixed it. The docs can seriously do with some updates.

This is likely due to the efs-provisioner's deployment being in the non-default namespace.
If you deploy efs-provisioner into a namespace other than default, you need to also add the namespace to the Role and RoleBinding

@wavetylor Thank you so much for posting! That's what I needed. Added the namespace to the Role and RoleBinding fixed my issue!

Thanks for reporting the issue!
This repo is no longer being maintained and we are in the process of archiving this repo. Please see https://github.com/kubernetes/org/issues/1563 for more details.
If your issue relates to nfs provisioners, please create a new issue in https://github.com/kubernetes-sigs/nfs-ganesha-server-and-external-provisioner or https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner.
Going to close this issue in order to archive this repo. Apologies for the churn and thanks for your patience! :pray:


Font ghosting when in pre-edit mode

Hi, thank you for creating this good looking theme. But I have noticed that when I input Chinese or Japanese characters using IME with pre-edit mode, there is a font ghosting effect under this theme. Although it generally does not affect usage, it negatively impacts the experience when writing documents in these specific languages.

Traditional Chinese (Catppuccin Mocha), ASUS Smart IME

Traditional Chinese (other theme, Tokyo Night for example), ASUS Smart IME

Japanese (Catppuccin Mocha), Microsoft Japanese IME

Japanese (other theme, Tokyo Night for example), Microsoft Japanese IME

settings.json (part)
{
    ...
    "editor.semanticHighlighting.enabled": true,
    "terminal.integrated.minimumContrastRatio": 1,
    "window.titleBarStyle": "custom",
    "catppuccin.accentColor": "blue",
    ...
}

OS: Windows 11, 23H2
VSCode: August 2024 (version 1.93)
Catppuccin for VSCode: v3.15.2

hey, thanks for raising this!
i am able to replicate the issue, and can confirm that it seems to only happen with our theme. it's not immediately obvious to me which part(s) of a vscode theme are responsible for this appearance. will require some more investigation to find a fix.


Add comparison for React state management solutions

Your request
A few ideas:

Zustand
RTK
Mobx
RxJS
Valtio
Jotai
Tanstack Query

I'd recommned using HTMX and setting a database, I would be interested in drafting this idea.

What do you mean by "using HTMX and setting a database"? If you want to give it a try, I can create a repo like https://github.com/choose-tech/databases and add you as maintainer

My bad, I misread the issue, I though you were looking to add a state lib to handle the web app state management 😅. But I'd would love to help drafting those comparisons. Like identifying pros and cons and maybe adding use cases.


Provider specified in the document

This function solves the problem (这个功能解决的问题)
Documentation is not clear
Expected API (期望的 API)
Currently, many people do not know the purpose of providers（message-provider，dialog-provider，loading-bar-provider........）, whether to consider annotation in the document, provider nesting order, purpose and use

Similar to this, official documentation should provide a more standard and reasonable indication

We will provide a demo in the docs later.

You can get more usage information in
awesome-naive


gitian: added systemd configs to debian installer creation script

This change is based on discussion here:
https://groups.google.com/forum/#!topic/bitcoin-xt/DamcJG4jteY
And on TODO comments in build.sh.

removed unneed qt, .h and .so files from being installed by the package
added a default bitcoin.conf file with a randomly generated rpc password
added a systemd startup bitcoinxt.service file
added postinst script to fix file owners and permissions, enable the startup script and auto start the bitcoinxt daemon
also via the postinst script create "bitcoin" system account and group (with login shell disabled) to run the daemon under
added an uninstall (prerm) script that automatically stops the daemon and removes executable files (config files are not removed by default)
created README.md with basic instructions for creating and testing debian installer

New scripts and configs tested on fresh install (in virtual box vm) of debian-8.1.0-amd64.

Hi @mikehearn let me know if you want any changes or other testing.

Thanks Steve! I'll try and make time to review this next week, but it'll be a lower priority than some other issues that have come up. If anyone else wants to help out and review too - please beat me to it.
Review from someone who understands modern Debian better than I do would be most appreciated.

Mike, I'd like to get some more review too, and I understand it's not a high priority so no worries if gets it in this week or not.  @zander had some questions on the google group, maybe he can take a look?

This looks really good to me. Do all Debian's use systemd? I thought it was very new. What happens if you install it on an older Debian?

For Ubuntu, only the latest version 15.04 uses systemd.

Debian 8 uses systemd, older ones do not IIRC.
I suggest adding a dependency on 'systemd' to the dpkg which would solve this issue.
If we then get requests for older debians, we could allow a separate package that uses the older init scripts, assuming we find a volunteer, and just ship 2 .deb files for people to choose.

Could it maybe not depend on systemd, but probe in the scripts to see if the relevant control program exists? Then it'd work for everyone.

Technically, yes, you could do this automatically. But the files that are specific to systemd are still installed and testing would become much much harder. And why? Adding the dependency is just making it clear what it already does. It means that people that need a non-systemd install will complain and then we can take action.
Keep it simple ;)

They'd be installed and ignored until there's an upgrade to the latest version, then they'd activate, right? That sounds about right.
Mainly I just don't want to have to build and upload two packages ....

I'd expect differences in library versions to cause you to do a build more than once anyway, again, if we actually care about the older versions. My point really is that if you don't know if people out there want you to support an older version of debian, so why put time into that now?

I did try manually installing systemd and the bitcoinxt service on an older debian system (my arm beagle bone with debian v7), which had been using init.d scripts.  To get it to switch to using systemd I had to install systemd and the systemd-sysv package.  The systemd-sysv package changes the grub boot config to boot with systemd, after installing it and rebooting the systemd bitcoinxt service worked fine.
I'm reluctant make systemd-sysv a dependency though since it is changes the boot configs and that can cause problems for anyone using custom configs or kernels.  Maybe we can just provide instructions for upgrading a pre-debian v8 systems to use systemd?
$ sudo apt-get install systemd
$ sudo apt-get install systemd-sysv
$ reboot

More instructions on the Debian systemd page.
General adoption trend seems to be towards systemd.

No need for an init.d script, I was just thinking the pre-inst/post-inst scripts would fail if they tried to run a non-existent command. It's fine for the package to just not configure autostart on older Debians. I mean, the package is great as is, as long as it doesn't puke and die on older distros :)
I didn't realise Debian <8 could be switched to use systemd so easily. That's pretty cool.
@zander The binaries are fully statically linked, so library versions don't make any difference. It's a part of doing things with gitian: the binaries are fully reproducible this way.

I see what you mean Mike that I need to make sure the pre/post install scripts check for the presents of /bin/systemctl.  I'll put that in and test on a fresh Deb7 vm.  Then installing the package at least won't fail on an init.d based system, it just won't autostart.

Perfect!

I've got the built package tested and working now on deb7 and deb8.  On deb7 it skips the systemctl commands and prints a message that the bitcoinxt service was not automatically started.  I also found a weird broken pipe error generating the random rpcpassword which only showed up in deb7.  I fixed that too using the rpcpassword generation method recommended in doc/build-osx.md.

Tested on Debian 7, worked fine. I guess the new ntpd dependency is to ensure the local clock is correct: that seems OK.
Excellent work, thanks a lot! This is now merged.

Cool thanks Mike!

SystemD is the devil.
Linux sysadmin and developer here trying to help you guys out by running a node. Installed via source, fine except ran out of space as the EC2 instance of the Jessie AMI didn't resize its larger partition on first boot. Noticed the deb second time round having made a second partition ready for data.
 I hadn't mounted as a non-root user. I kill the process and it starts again. Look at this:
root@ip-172-31-31-11:/home/admin# systemctl |grep bitc
home-admin-.bitcoin.mount                        loaded active mounted   /home/admin/.bitcoin
bitcoinxtd.service                               loaded active running   Bitcoin XT distributed currency daemon
root@ip-172-31-31-11:/home/admin# systemctl stop bitcoinxt.service
Failed to stop bitcoinxt.service: Unit bitcoinxt.service not loaded.
Going back to source until systemd is less broken.

noticed a typo in your comment; you asked bitcoin to be stopped, not bitcoind (added d for daemon)

The service was renamed a couple of times, try
systemctl stop bitcoinxtd

Instead of "bitcoinxt" as the service name.
SystemD is what Debian/Ubuntu have switched to, here is not the place for flaming init systems.

As an FYI for anyone else confused by the naming, I called the deb package bitcoinxt because it installs bitcoinxt-tx, bitcoinxt-cli, bitcoinxt-qt, and the bitcoinxtd service.  The systemd bitcoinxtd.service only manages bitcoinxtd thus its name.

Fine, I've been stuck on centos for my main client the last year so if it's just that I didn't know to do systemctl list-units|grep bitcoin and figure it out fair enough, it's my bad. Not trying to perpetuate a flame war, was just in a rush to get a node up.
Local bitcoind for armory now running XT as well now. Not that it accepts connections.

list-units is indeed an unintuitive name for seeing what services are available. Ah well. Good to hear you got it sorted out.


open CMD

Hi all,
is there a way to open CMD with the help of pywinauto?
i tried as below, code was successful but cmd not opened.  Any idea why cmd not opened?
from pywinauto.application import Application
app = Application().start('c:\WINDOWS\System32\cmd.exe')

Thanks,
Rajarameshmamidi

cmd.exe is opened but exited very quickly. Correct way should be like this:
app = Application().start(r'c:\WINDOWS\System32\cmd.exe /k', create_new_console=True, wait_for_idle=False)

If you want to ask about grabbing console output, this is not implemented and planned in the issue #492.

Thank you very much Vasily... now cmd is opening

Can we have any way to read and write to command prompt.

Hi @vishnuprasadP95 this is tracked in #492 but it's of low priority.


Unmounted parts of the form are not being validated

I have a form where only some parts of the form are visible at any given time, think  about an accordion component where only one tab is mounted at any give time.
If you submit such form, it will call onSubmit prop with data from all parts of the form (including the once that are unmounted atm). However, if you happen to have validation errors in unmounted parts of the form, they will simply be ignored. and onSubmit gets called with invalid data!

Maybe it's feature, not bug.
Come to think of it, it is kind of a big and useful feature.

Are you using field-level validations? If so, consider changing to form-level validations instead: https://github.com/erikras/redux-form/issues/2451

Hi @dziamid, can you please give us a reproducible example?

@gustavohenke sure, do you guys have a working redux-form fiddle to fork from?

I'm experiencing the same issue. The validation doesn't happen on the unmounted field.

Hi @dziamid, sure: https://jsfiddle.net/gustavohenke/48814zsq/

@gustavohenke he you go https://jsfiddle.net/hw1kqamL/

So, the field is unregistered when unmounted.
This means Redux Form is forgiving the error for such field.
Shall we introduce yet another config to control this behavior, @erikras?

Would be great to define some kind of Form schema that would register all fields and define basic validation rules that can be further reinforced by validate function.

I have the same issue.  I have a Left side navigation for each part of a form.   As you navigate to a section, the form is shown for just that section of the object I'm trying to edit.  Imagine a json object like
{ section1: { ...}, section2: {...} , etc } and a navigation pane for each section.  This is similar to the wizard example, but NOT the same because we want to validate ALL fields during sync validation, not just the current page.

Because this issue saw almost no activity for a few months, I'm closing it.

Faced the same issue. I have a complicated form where some parts are hidden. And I have a general submit button which has to be disabled if the whole form is not valid.
With current implementation I am not able to do that without any tricks.
Are there some plans to fix this bug or I should just live with some workaround?

Maybe you can do this:
Validate each field individually or, create a general validation function
inside of your component (fired on every onChange evt for instance)
If you use the general function you can use const selector = formValueSelector('myComplexForm') and pick the form values you need to be
appended in props object (mapStateToProps)
That general validate function will inspect props.formValues which
contains all form fields (as they get updated) so you can validate them on
every onChange method of each component.
You can then pass a generalValidate('fieldName') call to just validate
the specific field when it is triggering onChange, or, avoid passing the
field name to validate all fields existing in props.formValues as
generalValidate() // no arguments
Hope this helps!
On Wed, Dec 13, 2017 at 2:53 PM, Vitaliy Mazurenko<EMAIL_ADDRESS>
wrote:

Faced the same issue. I have a complicated form where some parts are
hidden. And I have a general submit button which has to be disabled if the
whole form is not valid.
With current implementation I am not able to do that without any tricks.
Are there some plans to fix this bug or I should just live with some
workaround?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/erikras/redux-form/issues/2321#issuecomment-351452396,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAG_W138UHhOm0PGcR54gz8r3nPnYbd4ks5tAAEXgaJpZM4LS7VN
.

Please reopen. This bug is still present, and it causes bugs in other libraries (e.g. https://github.com/marmelab/react-admin/issues/1866)

Please reopen. This bug is still present, and it causes bugs in other libraries (e.g. https://github.com/marmelab/react-admin/issues/1866)

While @gustavohenke closed this as having expired, it's an enhancement suggestion, not a bug. The existing behaviour is intended (e.g. Wizard form) and/or sufficient for most use cases. In the case of single page, not-always-rendered form fields/sections I'd recommend @psimoneau22's approach or similar. Since the field is not displayed, presumably it is only at submit time that the validation status actually matters.
Basically, none of the existing maintainers are likely to fix this. If you feel it is an important case that redux-form should support and would like to contribute a PR this is warmly welcomed. First express your intent with how it would change the API, and the maintainers can give you the go ahead/or possible concerns, just to ensure that your time is not wasted.

I have experienced the same issue as @psimoneau22 , and tried different solutions. One option suggested from @kristian-oconnor to use css is not working for my case. For example, when I use Material UI, some component props will only be calculated once upon initial mount such as labelWidth prop in the TextField, if I hide & show the field by using css, labelWidth will be always 0 in this case.
When using field validation, I noticed the syncErrors in the redux state will capture the error even when the fields are unmounted. Thus I use getFormSyncErrors selector to get and validate the error before submitting the form. This solution works for me.

Still an issue.


torchvision.utils.save_image modifies the input tensor

The issue and example is described in detail here: https://stackoverflow.com/questions/59054886/use-of-torchvision-utils-save-image-twice-on-the-same-image-tensor-makes-the-sec
It seems that when the input tensor to torch.utils.save_image is defined as the sum of two tensors (final_tensor = tensor_1 + tensor_2), save_image modifies the input tensor. This means that when you call save_image again on final_tensor, the image that's printed only corresponds to tensor_1.

Thanks for the report! This has been fixed in TorchVision master in https://github.com/pytorch/vision/pull/1244, and will be available in the next release.


Add support for USING SCOPE

https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_using_scope.htm

This issue was moved to jongpie/NebulaFramework#6

This issue was moved to jongpie/NebulaFramework#7


WTD #31437 updated data-catalog-adopting-data-catalog.md

updated to remove gendered language

@rachrobins : Thanks for your contribution! The author, @JasonWHowell, has been notified to review your proposed change.

#sign-off


Footnote  number issue

Describe the bug
now  quartz render foot note in content use number , like 1, 2, 3.  However, it's better to use origin foot-note name , like foo, bar, xyz in my note.
To Reproduce
origin note:
abc [^a]123123
1
1
1

|         |     |
|---------| --- |
| 2[^133] |     |

1
1
1
1
1
1
1
1[^2] 2[^123444444444444444444]
1
1
1[^1234]
1
1
1
1

[^2]: 我是2
[^a]: 我是a
[^123444444444444444444]: 我是123我是123我是123我是123我是123我是123我是123我是123我是123我是123我是123我是123
[^1234]:<PHONE_NUMBER>12
[^133]: 123

quartz rendered:

I find that in html , quartz can fetch right ref-name , like 我是a will be rendered to

   1
   ...

Expected behavior

display src ref-name  in note , not number
sort with number , but display ref-name  in the end of note

Desktop (please complete the following information):

Quartz Version: [e.g. v4.3.0]
node Version: [e.g. v22.9.0]
npm version: [e.g. v10.8.3]
OS: [macos]
Browser [edge, safari]

Additional context
Add any other context about the problem here.

Quartz don't do anything special with this, this is remarkGfm.
Also for footnote afaik the way you mark it doesn't matter, the resulted sup will always be number.
You should submit this either upstream (in remark-github), or implement a custom transformer.
I don't think quartz should do anything different from the norm


Fix delete confirmation pages for household and income

Addresses:  https://www.pivotaltracker.com/story/show/187516332
Also fixes issues in the delete confirmation pages themselves - the copy was wrong as well as some links.
This PR depends on another PR in the form flow builder being accepted first.

@spokenbird I would definitely try to run this PR to see how it behaves and to see if you can find any remaining gaps.

Looks good, tested it out in development and couldn't find any issues!


Use puppeteer to get a local Chrome for tests

Use puppeteer to get a local install of Chromium for CI/VM testing. Also helps for ChromeOS and Windows/LXSS.
Technique is stolen from karmatic, which I think we'll move to soon anyway.

Coverage remained the same at 100.0% when pulling 2f494c74e53e4fcae64f9f4efc35131f70f06fd1 on puppeteer-chromium-install into bdf678ff0c6144e69fe515d7b9428911f569cf99 on master.


Anomaly detection notebook

Here is a short notebook on anomaly detection using Pycaret and CrateDB. This was based on this blog post by Christian
Summary of the changes / Why this is an improvement
Checklist

[ ] Link to issue this PR refers to (if applicable):
[ ] CLA is signed

Not sure, but usually the huge amount of lines comes from the plots. Other notebooks (like topic/timeseries/exploratory_data_analysis.ipynb) set the renderer to PNG to avoid it, maybe it solves the large size of the notebook/many lines?

Yes, that makes them smaller, at least in terms of "lines of code". Most often, they don't get much larger in terms of size, depending on individual image compression capacities I guess. We will need to inspect the outcome, thanks!

Previous size: 49183 loc · 1.08 MB

New size: 732 loc · 222 KB
Excellent, thanks!

Thanks for merging! 💯


Created a "NoAction" action type and replaced "Harm" with "NoAction" for mice

Created a "NoAction" action type and replaced "Harm" with "NoAction" for mice

Added a new action type called NoAction.

Essentially, a way to have a mob innately have no actions. It takes the form of a blank instant action with no effect, no tooltip information, and a transparent sprite.

Replaced "Harm" innate action in Mice with "NoAction". Now mice can't murder people.

Initially, I was going to set the mice brute damage to 0 to remove their ability to harm/kill, but I realized this would probably confuse a lot of players as they could still activate the "Harm" action, swing at things, and make hit noises.

Screenshots

Changelog

:cl:

tweak: Removed the "Harm" action from Mice

Why not just not give them the combat mode action?

When giving them the CombatMode action, it still shows up as "Harm" and allows players to hit things

Why not just not give them the combat mode action?

When giving them the CombatMode action, it still shows up as "Harm" and allows players to hit things

I mean make it so they don't have that action. You don't need anything new to do this, just don't give them combat mode. You don't need to make anything new to do that. Drones don't have combat mode and it just works.

Why not just not give them the combat mode action?

When giving them the CombatMode action, it still shows up as "Harm" and allows players to hit things

I mean make it so they don't have that action. You don't need anything new to do this, just don't give them combat mode. You don't need to make anything new to do that. Drones don't have combat mode and it just works.

Both the Drone and it's parent do not have any actions defined, so for this to happen, I would have to remove actions from the parent SimpleSpaceMobBase, which would remove it for all other mobs

Just leave it there. It's fine, all other animals have it. Just decrease the damage if you want. Make it like 2 piercing.

Why not just not give them the combat mode action?

When giving them the CombatMode action, it still shows up as "Harm" and allows players to hit things

I mean make it so they don't have that action. You don't need anything new to do this, just don't give them combat mode. You don't need to make anything new to do that. Drones don't have combat mode and it just works.

Both the Drone and it's parent do not have any actions defined, so for this to happen, I would have to remove actions from the parent SimpleSpaceMobBase, which would remove it for all other mobs that rely on it

So why do we need a new action instead of just making mice not parent anything, or parent something without combat mode?


"Unable to obtain query #1" in CSV and XML cache

It appears as if SRA can sometimes return an XML or CSV query with the following data:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE eEfetchResult PUBLIC "-//NLM//DTD efetch 20131226//EN" "https://eutils.ncbi.nlm.nih.gov/eutils/dtd/20131226/efetch.dtd">
<eFetchResult>
	<ERROR>Unable to obtain query #1</ERROR>
</eFetchResult>

This bypasses the timeout check (as it's returning data) but since the query has failed, nothing is stored in the XML or CSV cache files.

@jfear -- Would it work to try and catch this error here?
https://github.com/christabone/sramongo/blob/bc3b21c0406818dc069481f0030a96124ab01ab7/sramongo/sra2mongo.py#L210-L221
                try:
                    xml_handle = Entrez.efetch(retmode='xml', retstart=start, **options)
                    xml_data = xml_handle.read()
                    cache.add_to_cache(start, 'xml', xml_data)
                    xml_handle.close()

                    if runinfo_retmode is not None:
                        runinfo_handle = Entrez.efetch(rettype="runinfo", retmode=runinfo_retmode,
                                                       retstart=start, **options)
                        runinfo_data = runinfo_handle.read()
                        cache.add_to_cache(start, 'csv', runinfo_data)
                        runinfo_handle.close()

Hmm, this is a new one to me. Good idea to add some logic to check for this. Probably can just open and search the XMLs for ERROR.

(Whoops, mis-click).
Would it be best to catch this at the query stage so the query itself can be re-run from a specific point? Still reading around the code.

Have you been able to run through without errors?? I am interested to see if SRA gives you more problems because you are off NIH network.
I am thinking of adding a small parse step in that try, to check for the ERROR and make sure the XML tags are closed. If an exception is raised then just re-run a few times. I can try to work on it tomorrow.

I restarted the process after removing the affected CSV / XML files and it appears to be loading normally. It's running on a laptop in my office so I'll provide an update tomorrow.

Update -- https://github.com/jfear/sramongo/issues/10

Is that the full XML in your original post? Going to use to make a test case.

Yes, 99% sure. Unfortunately, the file is overwritten so I can't be positive.

Ok, think I have the patch now. Will merge in once my other tests are done.

I think all of this should be fixed in PR #14


Red Hat VirtiO GPU DOD Controller and Intel

I have a Red Hat VirtiO GPU DOD Controller adapter installed on my Windows 2019 server, please tell me if I download a model for Intel, will it work or do I need to process everything here?

Its Work!


Crash using lua sleep examples

ATS version 8.1.x
I was able to consistently cause server restarts when using the ts.sleep function as per examples in the admin guide.
Configuration
map http://property1.mycdn.com/    http://origin1.mycdn.com:8080/  @plugin=tslua.so @pparam=sleep-request.lua
map https://property1.mycdn.com/    http://origin1.mycdn.com:8080/  @plugin=tslua.so @pparam=sleep-request.lua

sleep-request.lua:
    function send_response()
        ts.sleep(3)
    end
    function read_response()
        ts.sleep(3)
    end
    function do_remap()
        ts.hook(TS_LUA_HOOK_READ_RESPONSE_HDR, read_response)
        ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, send_response)
    end

Hooks that crash:
“TS_LUA_HOOK_(SEND|READ)_RESPONSE_HDR”
“TS_LUA_HOOK _CACHE_LOOKUP_COMPLETE”
“TS_LUA_HOOK_SEND_REQUEST_HDR”
Hooks that don't crash:
“TS_LUA_RESPONSE_TRANSFORM”
“TS_LUA_HOOK_TXN_CLOSE”
“TS_LUA_HOOK _OS_DNS”
Sleep only really performed as expected for "TS_LUA_HOOK _OS_DNS” in my case.
There is also an. example in 'plugins/lua/example/test_sleep.lua', derivations of which have the same results.

Can you share the stack trace when it crashed ?
Also I understand that i understand that it crashed only when some work loads are put onto it. Can you elaborate on that, too? Thanks.

I’ll check on the stack trace...
Workload was quite simple: The first few requests in a cache hit/miss spread <1 second I would estimate.

Stack trace attached: A few redactions, let me know if it's too mangled.
sleep_lua_stack.txt

Mark told me that it happened with over 1000+ RPS on that machine . So you are saying that a few requests only will cause the crash?
I think I can reproduce this . But I have a simple setup on my mac/minikube/ATS on docker. I can do 100+ RPS with no problem and get a similar crash as you a few seconds later if i put 200+ RPS load on the setup.

Sorry, I never tried to identify if this was a request rate, concurrency or total with respect to triggering.
It was sub-1 second into a load test that was 500 req/sec. It sounds like you have a trigger, so I won't add more for now.

It looks like it is related to thread affinity for the continuation. Let me try to use the same thread for the new continuation for sleep and see.

Apparently it looks like i can't set thread affinity to the calling thread in 8.1.x
The API and mechanism are available in 9.0.x, though. Will try that out later

Actually just try it out in 9.0.0 . It works fine.
I think it is due to the change mentioned here - https://docs.trafficserver.apache.org/en/latest/developer-guide/api/functions/TSContScheduleOnPool.en.html?highlight=tscontscheduleonpool
ts.sleep() is implemented using TSContScheduleOnPool(). The idea is to schedule a continuation to wake up again later according to the specified duration and let that re-enable the one that runs ts.sleep() . And if the thread is different, it will cause the crash. And the change in TSContScheduleOnPool in 9.0.0 is such that the thread will be the same (i.e. scenario 2 - no thread affinity info, same types of threads)


Redirectable output

Added variables for STDOUT and STDERR to be able to redirect the output in unit tests.

Awesome! The extra output during unit tests has always bugged me.


disable ffi and partial features on crates.io

Closes #2085

#2086  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Shoeboxam and the rest of your teammates on  Graphite

I anticipate people always using the default features unless there's a really good reason not to. The default/non-default configuration is also pretty conservative in terms of privacy (flags are opt-in, openssl is more secure than not).


RS-555: Onboard GKE kernel-module tests

Description
Per title.
Checklist

[ ] Investigated and inspected CI test results

Testing Performed
CI is sufficient:

[x] - normally skipped
[ ] - runs with label

/test gke-kernel-qa-e2e-tests


bug: Email suggestions on login page does not apply on clicking.

Describe the bug
The email suggestions does not apply even after clicking on it, but it does apply when we toggle it using the up down keys.
To Reproduce
Steps to reproduce the behavior:

Go to SIgnin page.
Enter some text in email field, and after the email suggestions has been rendered, try clicking on them.

Expected behavior

The email should be selected on clicking on them, along with the usual selection using the up-down keys.

Screenshots or GIFs
https://github.com/user-attachments/assets/2d42e3ac-5e3c-40ff-bcef-5a607d2eaeae
Info (please complete the following information):

Browser - Brave: 1.70.123, Google: 129.0.6668.90

Additional context
Also there is no hover effect on the email suggestions.
I can take this up, if seems right.

It's fine let's not be too picky about these :)

I am actively looking for some minor issues that i could contribute to, as i am a beginner to Open Source, I kindly request you to assign me some beginner level issues sir, @devsargam. It would be really helpful if I can contribute to some issues, and begin.

@Karthik150502 there's nothing called beginner level issues if you are capable to write good scalable code you should be good enough to contribute to any repos. Feel free to find any improvements that you can make feel free to just raise a pr. If it's good I will surely merge it

Sure @devsargam.


⚠ Bofrost.lu has degraded performance

In d592333, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2012 ms

Resolved: Bofrost.lu performance has improved in 6da7873 after 8 minutes.


Intelligently resolve dependencies

A question was brought up in #250 about intelligent dependency resolution.
For example, if a chart for a todolist app also requires a redis chart for the backend, then upon resolving dependencies, will we look for an existing redis resource to connect to?
This issue is to keep track of the discussion of this question.

Another thing note here is how to deal with shared resources. For example, are we going to allow the redis service my todolist app uses to be used by another app/chart?

Extends #265.


Application complete: Oxfordshire

This screen allows the customer to change their delivery address - we will only send permits to the application address, never elsewhere so we would like the option to remove this.

Noted, thanks @AbiBarkerOxfordshire we're looking at this issue more widely as well - would you be able to advise if you get any calls or contacts from users telling you that they provided the incorrect address as part of the application and now want to change it?

@EUzkuraityte No - we don't get any contacts of this kind (aside from people who have actually changed address which will be a different form for them). Our Parking Permit team would never send a permit elsewhere.


KNN evaluation failing for CIFAR10 on ImageNet pre-trained model.

Dear Authors,
Thank you for this amazing work and repository. I wanted to see the clustering capability of the pretrained network on imagenet on CIFAR-10 dataset. For doing so I wanted to use the features you extract in the eval_knn.py script. Below are the parameters I used to run the code:
arch= deit_small (i.e vit_small after the new commit)
patch_size=16
batch_size_per_gpu = 32
data_path = 'path_to_cifar10_dataset'
and all other params are set to their default values.

I left the pretrained_weights as blank so that the model loads the weights of imagenet from the url mentioned in utils.py
The script executed successfully with the message:
Data loaded with 50000 train and 10000 val imgs.
Model deit_small 16x16 built.
Please use the `--pretrained_weights` argument to indicate the path of the checkpoint to evaluate.
Since no pretrained weights have been provided, we load the reference pretrained DINO weights.
Pretrained weights found at dino_deitsmall16_pretrain/dino_deitsmall16_pretrain.pth and loaded with msg: <All keys matched successfully>
Extracting features for train set...
Storing features into tensor of shape torch.Size([50000, 384])

However, I'm facing a strange issue, the features extracted are coming out to be a zero vector, for all of the input image.
torch.Size([50000, 384])
torch.Size([50000])
tensor([[0., 0., 0.,  ..., 0., 0., 0.],
        [0., 0., 0.,  ..., 0., 0., 0.],
        [0., 0., 0.,  ..., 0., 0., 0.],
        ...,
        [0., 0., 0.,  ..., 0., 0., 0.],
        [0., 0., 0.,  ..., 0., 0., 0.],
        [0., 0., 0.,  ..., 0., 0., 0.]], device='cuda:0')

Can you please specify where I might be going wrong.
Thanks in advance!

Hi @reyanshsolis
Thanks for your interest and your kind words.
The matrix used for storing the features is initialized to zero everywhere:
https://github.com/facebookresearch/dino/blob/4b96393c4c877d127cff9f077468e4a1cc2b5e2d/eval_knn.py#L95
so if you have printed it before the feature extraction it makes sense that it is zero everywhere.
Otherwise I don't know what happens... We do have experiments when transferring to CIFAR-10 and it was working fine.

Hi, @reyanshsolis I encountered a similar problem. The mistake I made is the evaluation script is using the ReturnIndexDataset class. So the expected return of the dataloader object is image, index instead of image, label. (if you do so, only 10 images' features will be loaded for cifar10). So I had to wrap the dataloader with the ReturnIndexDataset and it worked.
You also have to load all the labels separately, but that should be easy for cifar i guess.

Closing the issue for no activity. Feel free to reopen if needed


Fails if git base directory is not the same as android base folder project

I'm working on a react native project so my file structure is as follow:
- ios
- android/
    app/
         build.gradle

In the script I set gradle_file_folder to app
while in the android directory => fastlane beta
Result:
I get this error:

Found unexpected uncommited changes in the working directory. Expected these files to have
changed:
app/build.gradle.
But found these actual changes:
android/app/build.gradle.
Make sure you have cleaned up the build artifacts and
are only left with the changed version files at this stage in your lane, and don't touch the
working directory while your lane is running. You can also use the :force option to bypass this
check, and always commit a version bump regardless of the state of the working directory.

I´m working with fastlane and CircleCi and have the same Problem....any ideas what we could do, except changing the folder structure?

For anyone else landing here with the same issue, using app_folder_name instead of gradle_file_folder seems to do the trick.
commit_android_version_bump(
  # gradle_file_folder:"app"
  app_folder_name: "app"
)

Works like a charm. Thanks @AlanLayt!

Hi,
I will update the documentation soon, to include this information

@AlanLayt  I am having the same issue but using app folder does not help. Please help

@AlanLayt Hi, it is 2023 and still documentation not updated and we get the same error. Any other plugin to help us ?


Better diagnostic for unsupported pixel formats

NVDEC supports limited pixel formats for decoders. We must add extra checks and clear reporting to the module and source adapters to report on unsupported colorspaces for NVDEC supported codecs like H264, HEVC, JPEG, VP8, VP9, AV1.

@bwsw savant_rs_decode_bin logs the following warnings:
 WARN  insight::savant::savant_rs_video_decode_bin  > Received error from nvv4l2decoder0: gst-resource-error-quark: Failed to process frame. (1). Debug info: gstv4l2videodec.c(2226): gst_v4l2_video_dec_handle_frame (): /GstPipeline:age_gender_recognition/zeromq_source_bin+ZeroMQSourceBin:source/savant_rs_video_decode_bin+SavantRsVideoDecodeBin:savant_rs_video_decode_bin+savantrsvideodecodebin0/GstBin:bin0/GstDecodeBin:decodebin-video2/nvv4l2decoder:nvv4l2decoder0:
Maybe be due to not enough memory or failing driver.
 WARN  insight::savant::savant_rs_video_decode_bin  > Pad nvv4l2decoder0.sink has caps video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, pixel-aspect-ratio=(fraction)1/1, width=(int)1280, height=(int)720, framerate=(fraction)30000/1001, chroma-format=(string)4:4:4, bit-depth-luma=(uint)10, bit-depth-chroma=(uint)10, colorimetry=(string)bt709, parsed=(boolean)true, profile=(string)high-4:4:4, level=(string)3.1
 WARN  insight::savant::savant_rs_video_decode_bin  > Pad nvv4l2decoder0.src has caps None

savant_rs_video_demux puts the source in the quarantine to skip frames with this source ID. The quarantine timeout is configurable, 60 seconds by default.


Validate user form before  donation

Hey @JimmyAyivor ! :) Would you like to finish up on Glenn's review of the PR and the requested changes? We can successively merge your PR once that's done.


schematic(table): Cannot read property 'data' of undefined

What is the expected behavior?
Do not work, ends with error "Cannot read property 'data' of undefined"
What is the current behavior?
Without error
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
Bad generated code:
  ngAfterViewInit() {
    this.dataSource = new InfoOProgDataSource(this.paginator, this.sort);
  }

Correct code:
  ngOnInit() {
    this.dataSource = new InfoOProgDataSource(this.paginator, this.sort);
  }

Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Updated angular, material 7.3.7
Is there anything else we should know?
Better testing?

Do you have a full stack trace to share?

OK, I was able to reproduce this:
ERROR TypeError: Cannot read property 'data' of undefined
    at TableComponent_Template (template.html:20)
    at checkView (core.js:8963)
    at componentRefresh (core.js:8772)
    at refreshChildComponents (core.js:7896)
    at refreshDescendantViews (core.js:7836)
    at checkView (core.js:8964)
    at componentRefresh (core.js:8772)
    at refreshChildComponents (core.js:7896)
    at refreshDescendantViews (core.js:7836)
    at renderComponentOrTemplate (core.js:8099)

Issue can be fixed by using Angular's safe navigation operator when accessing the dataSource property.
https://github.com/angular/material2/blob/309d5644aa610ee083c56a823ce7c422988730e8/src/lib/schematics/ng-generate/table/files/__path__/__name%40dasherize%40if-flat__/__name%40dasherize__.component.html#L19-L24
Right now the [length] binding fails because dataSource is undefined until the view is initialized completely.


Feature request: Notification when active profile was not found

Hi Jörg-Michael, I'd like to request another new feature. 😇
The ABAP Cleaner has one "active" profile. If I delete that profile directly from my file system, the ABAP Cleaner automatically switches to another profile. Would it be possible to show a notification or an error message if this happens?
Here's where this request is coming from: I am currently sharing a profile temporarily with some colleagues. At a later point, I want to delete this profile. I might not be able to reach every colleague before deleting the profile, so I am facing the risk that they accidentally keep working with whatever profile the ABAP Cleaner automatically chooses after the deletion.
What do you think? Thanks 😄

This seems similar to: #140

Hi ConjuringCoffee,
that's a good idea – with the next release, you will see a message like …

… if a profile goes missing while the interactive window is open.
By contrast, if automated cleanup realizes the expected profile is missing, you get:

So, in this case, the code is only changed if you press Ctrl+4 again.
The fallback is either the profile named "default", if such a profile exists, or otherwise the first profile in alphabetical order.
Kind regards,
Jörg-Michael

Awesome - that's exactly what I wanted to see. Thanks!

Hi ConjuringCoffee,
this notification is now available with version 1.13.0!
Kind regards,
Jörg-Michael


Fix translations

Closes #119
I am unable to verify if translations are working for all devices and languages. I can only verify that translations are working now for washing machines in German language.
Since translation_keys are now used, entities will have a different (localized) name when the HomeWhiz device is removed and added again to / from Homeassistant.
The generate_translations script now uses a Python module which uses Google translate to translate entities for which the HomeWhiz API does not provide translations.

Working now, although there are some inconsistencies:

We could start adding extra rules for translations - this would be something for later though.
@rowysock Could you approve this PR and merge? I am undecided about whether we should squash commits 🤔
We could then maybe release a 0.5.0 or a beta version?

Hi!
I've checked with my setup (the appliance is dishwasher and the language is English)
Some of entities are translated, however, there are some either not translated or translated in a way that I think may be error
There are two selects with the same name displayed:
Displayed name: Dishwasher
one is select.dishwasher and it actually a program name
another one is select.dishwasher_2 and it represents a Detergent Dose

The program names itself are not translated in both select and sensor:

Thanks for the feedback, very appreciated! 👍
Did you remove the device and add it again before testing or did you just upgrade?
I added an extra log entry which reports translation keys - could you check which translation keys are missing in the json translation files? Alternatively, you could share you logs! 😄

I've removed the device and added again, sure. Before that there were no changes in translation
I've also checked the logs and these are empty. But I've restarted HA several times after addition of "new" device. Is the activity logged only on addition of devices? I can try to re-add once again if it helps

I'm unsure about when logging is triggered but I think you might be correct with your assumption. The information are logged with level debug, as usual.

There are YAMLs from DevTools:
select.dishwasher

options:
  - program_auto
  - program_aqua_flex
  - program_intensive_70
  - program_eco_50
  - program_delicate
  - program_quick_and_shine
  - program_mini
  - program_prewash
  - program_quiet
  - program_clean_and_shine
  - program_innerclean
device_class: homewhiz__dishwasher_program
friendly_name: Dishwasher

select.dishwasher_2

options:
  - '0'
  - '1'
  - '2'
  - '3'
  - '4'
device_class: homewhiz__dishwasher_liquid_detergent_level
friendly_name: Dishwasher

@elektrolitr I added your device ID to the script which generates the translations. Looking at the changes, I would expect it to work fine now!

@TechHummel  your expectations are right, the translations are spot on now!

Thanks for the feedback!
I do wonder whether the HomeWhiz API only offers translations for markets where speific devices are sold.
E.g., only certain options for dishwasher program are translated into German. We could utilize the translations module to translate those options too – but this would be something for a future version.

Anyway, I'd propose to merge this and release a new version. Missing translations can then be added afterwards + it is always possible to select older versions of the plugin in case translations are missing.

@rowysock Yes,  I think this would be a good opportunity. Thank you 👍


cannot import name 'MetaFrame' from 'metasynth'

ImportError                               Traceback (most recent call last)
Cell In[248], line 3
1 import datetime as dt
2 import polars as pl
----> 3 from metasynth import MetaFrame, demo_file
ImportError: cannot import name 'MetaFrame' from 'metasynth' (C:\Users\fnu178555\AppData\Local\anaconda3\lib\site-packages\metasynth_init_.py)

Hi @Mrin7, thanks for the issue. Which version of MetaSynth are you running? The examples are not compatible with the current version on PyPi.
I will make a new release soon. If you want to try the current version on git (that uses the new MetaFrame class) you can do:
pip install git+https://github.com/sodascience/metasynth.git

@vankesteren I think we can make a new release now, or is there something you want to do before I make a new release?

@qubixes - Thanks for the link.
Also, can you share/link document on what's being used at the backend to generate data - GANs, Faker etc? How does it translate metadata to synthetic data? I would require this explanation, so that I can present my org with details.

@Mrin7 Yes, of course. I looked a little bit in our documentation, and indeed I see that information is currently missing in our documentation. I'll make an issue to put a bit more detail of the backend/inner workings of MetaSynth.
We currently don't use any Neural Network/GAN based algorithms. We are currently starting a project to use some transformer type based algorithm for generating/inferring unstructured text, but that is still in the concept phase. When we are ready with that, we will probably offer it as an extension to keep dependencies low.
The backend used depends on the distribution fitted:

UniqueKeyDistribution (1, 2, .. N): simple custom implementation
Other discrete/continuous (int/float) distributions: use scipy
time/date/datetime/categorical: simple custom implementation
FakerDistribution: use Python Faker package
RegexDistribution (structured text): pretty complicated custom implementation (uses sklearn CountVectorizer), currently being reworked (big improvement).

The metadata that is fitted contains information on the  statistics in (more or less) human  readable form. So for example if the distribution is a normal distribution it will have the parameters mu/sigma. From these it is relatively easy with scipy to generate synthetic data with the same distribution.
Summarizing, the back-ends are relatively simple/unsophisticated, and they are so by design so that the metadata can be understood by a human.
Does that give you enough information?

@qubixes Also,
Can you please provide documentation for providers? I couldn't find anything on how to generate ssn, credit card info etc?
The codes that I found online, are deprecated.


Test build/tear down Staging/Production environments

Built and tore down staging and production environments separately.
Issue with running the environments on the same account together as hit the limit of the number of allowed Elastic IP address per account. Each individual environment requires four, but the current account limit is 5 per account. See https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html
Options are:

ask AWS for an increase
create a new AWS account and host a single TDR environment per AWS account

Requires achitectural input.

What are we using the four elastic IPs for?

This card is now blocked until we've created a separate AWS account for production, which will also solve the Elastic IP limit.

unblocked as we now have separate staging and production AWS accounts

Closing this issue because we've switched to Jira.

Closing this issue because we've switched to Jira.


⚠ Mobitopup has degraded performance

In c3bc513, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 10459 ms

Resolved: Mobitopup performance has improved in e66ce99.


local-clock-identity duplicates again

The following attributes seem to be duplicates:

ptp-sync-pac/ptp-local-clock-identity
ptp-transparent-clock-default-dataset/local-clock-identity

(Issue #52 is proposing to delete another dublicate in ptp-sync-pac/ptp-default-dataset/local-clock-identity.)

Proposal to the 5Gxhaul call on 26th of July 2023:
The ptp-transparent-clock-default-dataset/local-clock-identity should be deleted from the SyncModel.


chore: upgrade rules_go and gazelle

Upgrade rules_go to 0.41.0.
Upgrade gazelle to 0.32.0.
Update slices.SortFunc() calls to conform to the new signature.

There is an incompatibility after updating rules_go, gazelle and some Go deps. I am going to close this PR and try again without upgrading the Go deps.


fix: Fixes the shortcut collision between "toggleHandTool" and "distributeHorizontally"

Issue
#7188
Fix
The shortcut H for Hand tools doesn't filter out the ALT key presses.
This PR adds the filter on the Hand tools shorcut.
Possible improvements

Other shortcuts from actionCanvas.tsx  doesn't exclude the ALT  and might also need this filter
The CTRL key press should probably also be filtered out

Manual test results from Vercel build preview

[x] ALT+H now triggers the horizontal distribution without errors
[x] H still triggers the hand tool

Seems good to go.

@GabiRepare thanks for the catch. Can you also disable event[KEYS.CTRL_OR_CMD] to future-proof it?


pipx: add shell completions

Description of changes
Install shell completions with pipx for bash, zsh and fish.
Apart from convenience, this reduces confusion. pipx completions is
not quite accurate when pipx is installed with Nix, since you need to
do  nix shell nixpkgs#python311Packages.argcomplete register-python-argcomplete. It is possible to also put it in the path,
as suggested in
https://discourse.nixos.org/t/python-how-to-expose-a-dependencys-bin/283,
but that would be a separate PR.
Fixes https://github.com/NixOS/nixpkgs/issues/299845
Cc: @natsukium, @mweinelt, @yshym (same people I Cc-ed in the issue)
Things done
This is my first nixpkgs PR, let me know if I did something wrong. On my local machine, I checked that fish completions work if I install pipx from nixpkgs with this patch.

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[?] Tested, as applicable:
(I checked that the fish completions seem to work on my machine. I'm counting on the CI for running the tests)

[?] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
(I ran this; there were no errors, but then a shell opened, and I wasn't sure what to do there).

[ ] Tested basic functionality of all binary files (usually in ./result/bin/)

24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Thanks you! 😊


fix: expose the update_password component as a view

fixes #193
Just exposes the update_password component in the UI Auth in the view map so it can be conditionally shown with the view prop.

You might also want to add 'update_password' in Auth.stories.tsx since it's not there

You might also want to add 'update_password' in Auth.stories.tsx since it's not there

I would but I haven't used Storybook before and I don't want to goof anything up.

:tada: This PR is included in version 0.28.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add notes on kubeadm clusters version

resolves https://github.com/kubernetes/website/issues/44674

/sig cluster-lifecycle

please squash the commits to 1 then i can LGTM

Thank you @neolit123 .
I've squash the commits to 1

please squash the commits to 1 then i can LGTM

Thank you @neolit123 .
I've squash the commits to 1

Is the recommendation to use the same version of kubeadm for your kubelet as the kubelet your upgrading to, or the kubeadm the control plane is running?
Was seeking clarity in the docs about node versions vs control plane versions. with the new skew policy.

The control plane doesn't “run” kubeadm in the sense of a continous process so the question in https://github.com/kubernetes/website/pull/44683#issuecomment-1883205579 is hard to answer, but the observation makes sense overall:
could someone misinterpret this to infer that they can use a kubeadm to set up a kubelet that is not within supported version skew?
If they could, let's mitigate that.
I don't think this PR is making things worse than they are in the published website, so:
/lgtm

I edited the description.

Is the recommendation to use the same version of kubeadm for your kubelet as the kubelet your upgrading to, or the kubeadm the control plane is running?

the process is - upgrade kubeadm first and then kubelet.
but kubeadm manages the kubelet settings, thus the kubelet version should ideally match the kubeadm version, that was just used to upgrade.
same for CP and worker nodes.

/label tide/merge-method-squash
/approve


feat: kodaprice

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[x] Feature
[ ] Refactoring

Context

[x] Hit to kodaprice first, if error fallback to coingecko
[x] Fix #7992
[x] Fix #7675

Had issue bounty label?

[x] My DOT address: Payout

Copilot Summary

🤖 Generated by Copilot at 70953d4
Refactored the code for fetching and displaying token prices in the gallery. Moved the price-related functions from utils/coingecko.ts and utils/support.ts to a new file utils/coinprice.ts that supports different tokens and APIs. Updated the components and store that use these functions to import them from the new file. Added the kodaprice API as a new source of token prices.

🤖 Generated by Copilot at 70953d4

To fetch and format token prices
We moved some functions and renamed devices
We used ofetch and kodaprice
And made the code more concise
Now we can support more tokens and currencies

Missing those alt sources and fallback?

https://github.com/kodadot/nft-gallery/issues/7675#issuecomment-1764345212

was able to reproduce CORS on canary by refreshing transfer page many times
same did not occur when testing this deployed version, nice!

Thanks!
Let's resolve conflicts and merge it @preschian
pay 100 USD

including

https://github.com/kodadot/workers/pull/195

😍 Perfect, I’ve sent the payout
💵 $100 @ 5.27 USD/DOT ~ 18.975 $DOT
🧗 1xjvRADwdJcnmUCLWerEHR4iGCT5EBTm4D4fzLLg4LcAC9p
🔗 0x7e6e1e417b224bf9787cf19287615d31f5854cf09053f28caa7bb30133f34064
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


【免测】修复 mip-component-validator 不能获取最新 npm 白名单的 bug

相关 ISSUE: （ISSUE 链接地址）
#273
1、升级点 （清晰准确的描述升级的功能点）

修复 mip-component-validator
2、影响范围 （描述该需求上线会影响什么功能）
mip-cli 在 mip2 dev 和 mip2 validate 模式下可时时获取最新 npm 白名单

3、自测 Checklist

[x] mip-component-validator 单测全过
[x] mip-component-validator eslint 校验全过

Pull Request Test Coverage Report for Build 454

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

Totals

Change from base Build 450:
0.0%

Covered Lines:
3094

Relevant Lines:
3228

💛  - Coveralls

Pull Request Test Coverage Report for Build 465

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

Totals

Change from base Build 450:
0.0%

Covered Lines:
3094

Relevant Lines:
3228

💛  - Coveralls


Show total count on admin view for New grants and Completed grants

Fixes #120
Not showing totals if there are no elements, can delete that check if it makes more sense 🙌

Wondering if it would be nice to add totals also in the "Send batch" buttons, something like:

Looking good!

Wondering if it would be nice to add totals also in the "Send batch" buttons, something like:

Yep, I like this!

Yep, I like this!

Just pushed it!


RPC error with pushing a large repo to Linux web app

This is similar to #365. Error in the powershell window:
PS C:\Users\cephalin\Repos\moodle> git push azure master
Counting objects: 741507, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (192237/192237), done.
Writing objects: 100% (741507/741507), 346.01 MiB | 375.00 KiB/s, done.
Total 741507 (delta 525793), reused 741357 (delta 525695)
error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502 Bad Gateway
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
PS C:\Users\cephalin\Repos\moodle>

Repro steps.

Clone the app from https://github.com/moodle/moodle to local machine.
Create a website in azure
Push this cloned app to git url from Kudu

The repo actually uploads for a long time before throwing the error. Try it with https://github.com/meanjs/mean and it throws in about 5 seconds.
The log/error given by the failure.
This one is from moodle
  <step title="Error occurred" date="2017-03-21T13:02:06.696" type="error" text="fatal: The remote end hung up unexpectedly

/usr/bin/git receive-pack --stateless-rpc "/home/site/repository"" stackTrace="  at Kudu.Core.Infrastructure.Executable.Execute (Kudu.Contracts.Tracing.ITracer tracer, System.IO.Stream input, System.IO.Stream output, System.String arguments, System.Object[] args) [0x000a0] in <2d2f67d4d9ca4ebdb0d017f393081a49>:0
  at Kudu.Core.SourceControl.Git.GitExeServer.ServiceRpc (Kudu.Contracts.Tracing.ITracer tracer, System.String serviceName, System.IO.Stream input, System.IO.Stream output) [0x00026] in <2d2f67d4d9ca4ebdb0d017f393081a49>:0
  at Kudu.Core.SourceControl.Git.GitExeServer.Receive (System.IO.Stream inputStream, System.IO.Stream outputStream) [0x00018] in <2d2f67d4d9ca4ebdb0d017f393081a49>:0
  at Kudu.Services.GitServer.ReceivePackHandler+<>c__DisplayClass2_0.<ProcessRequestBase>b__0 () [0x000d3] in <d94d1b733a864a1b8b0eebd6c22405f5>:0
  at Kudu.Contracts.Infrastructure.LockExtensions.TryLockOperation (Kudu.Contracts.Infrastructure.IOperationLock lockObj, System.Action operation, System.String operationName, System.TimeSpan timeout) [0x00033] in <53130163df4d48d7a77252c0d6ea0c5c>:0
  at Kudu.Contracts.Infrastructure.LockExtensions.LockOperation (Kudu.Contracts.Infrastructure.IOperationLock lockObj, System.Action operation, System.String operationName, System.TimeSpan timeout) [0x00000] in <53130163df4d48d7a77252c0d6ea0c5c>:0
  at Kudu.Services.GitServer.ReceivePackHandler.ProcessRequestBase (System.Web.HttpContextBase context) [0x00078] in <d94d1b733a864a1b8b0eebd6c22405f5>:0
  at Kudu.Services.GitServer.GitServerHttpHandler.ProcessRequest (System.Web.HttpContext context) [0x00007] in <d94d1b733a864a1b8b0eebd6c22405f5>:0
  at System.Web.HttpApplication+<Pipeline>c__Iterator1.MoveNext () [0x00dd7] in <e6ac3c4d7fe1491da2402c546c0c1c72>:0
  at System.Web.HttpApplication.Tick () [0x00000] in <e6ac3c4d7fe1491da2402c546c0c1c72>:0 " /><!-- duration: 5ms -->
  <step title="Outgoing response" date="2017-03-21T13:02:06.746" type="response" statusCode="200" statusText="OK" /><!-- duration: 7ms -->
</step><!-- duration: 615ms -->

This one's from MEAN.js
<step title="Error occurred" date="2017-03-21T12:35:31.969" type="error" text="fatal: The remote end hung up unexpectedly

/usr/bin/git receive-pack --stateless-rpc "/home/site/repository"" stackTrace="  at Kudu.Core.Infrastructure.Executable.Execute (Kudu.Contracts.Tracing.ITracer tracer, System.IO.Stream input, System.IO.Stream output, System.String arguments, System.Object[] args) [0x000a0] in <2d2f67d4d9ca4ebdb0d017f393081a49>:0
  at Kudu.Core.SourceControl.Git.GitExeServer.ServiceRpc (Kudu.Contracts.Tracing.ITracer tracer, System.String serviceName, System.IO.Stream input, System.IO.Stream output) [0x00026] in <2d2f67d4d9ca4ebdb0d017f393081a49>:0
  at Kudu.Core.SourceControl.Git.GitExeServer.Receive (System.IO.Stream inputStream, System.IO.Stream outputStream) [0x00018] in <2d2f67d4d9ca4ebdb0d017f393081a49>:0
  at Kudu.Services.GitServer.ReceivePackHandler+<>c__DisplayClass2_0.<ProcessRequestBase>b__0 () [0x000d3] in <d94d1b733a864a1b8b0eebd6c22405f5>:0
  at Kudu.Contracts.Infrastructure.LockExtensions.TryLockOperation (Kudu.Contracts.Infrastructure.IOperationLock lockObj, System.Action operation, System.String operationName, System.TimeSpan timeout) [0x00033] in <53130163df4d48d7a77252c0d6ea0c5c>:0
  at Kudu.Contracts.Infrastructure.LockExtensions.LockOperation (Kudu.Contracts.Infrastructure.IOperationLock lockObj, System.Action operation, System.String operationName, System.TimeSpan timeout) [0x00000] in <53130163df4d48d7a77252c0d6ea0c5c>:0
  at Kudu.Services.GitServer.ReceivePackHandler.ProcessRequestBase (System.Web.HttpContextBase context) [0x00078] in <d94d1b733a864a1b8b0eebd6c22405f5>:0
  at Kudu.Services.GitServer.GitServerHttpHandler.ProcessRequest (System.Web.HttpContext context) [0x00007] in <d94d1b733a864a1b8b0eebd6c22405f5>:0
  at System.Web.HttpApplication+<Pipeline>c__Iterator1.MoveNext () [0x00dd7] in <e6ac3c4d7fe1491da2402c546c0c1c72>:0
  at System.Web.HttpApplication.Tick () [0x00000] in <e6ac3c4d7fe1491da2402c546c0c1c72>:0 " /><!-- duration: 8ms -->
  <step title="Outgoing response" date="2017-03-21T12:35:32.036" type="response" statusCode="200" statusText="OK" /><!-- duration: 7ms -->
</step><!-- duration: 720ms -->

Can you try making the following config change in your local git repo before pushing? This effectively disables chunked transfer encoding, which happens on larger repos and which Linux sites have trouble with.
git config http.postBuffer 524288000

This is an issue we're tracking but worth giving a try to see if it unblocks you.

Just tried it with my cloned MEAN repo. Now it looks like hangs where it threw the error before.
PS C:\Users\cephalin\Repos\mean> git push azure master
Counting objects: 9860, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (4593/4593), done.
Writing objects: 100% (9860/9860), 3.01 MiB | 0 bytes/s, done.
Total 9860 (delta 5056), reused 9860 (delta 5056)
_

This might be an altogether different issue? You might want to try it with https://github.com/meanjs/mean to see if you get the same behavior.

It's not hung, it's working! 😄 npm install for that repo does an epic amount of work; even locally it took a few minutes to finish, ~1500 lines of text output and pulled like ~150MB worth of node modules.
That said, there are a few issues:

It takes a lot longer to see output when the remote is a Linux App Service than when it is a Windows App Service. I think in some cases the execution model prevents output from actually making it back at all.
When I tried on a Linux App Service, the push succeeded and you can see from the logs that it started running the deployment script, but after a couple minutes I did still get "The remote end hung up unexpectedly." The script is still running (and did finish, after about 6 minutes), but this obviously isn't a good experience. To my knowledge this occasionally happens on Windows App Service as well, but I believe it's a more common issue on Linux.

We are tracking all of these. Thanks!

This issue is most similar to #2251, so we will continue to track it there. However, the item that came up later in the discussion (output not coming back, or coming back very delayed) is worth tracking on its own. Opened #2382.