Prototype sandbox

This commit is just a starting point to get the ball rolling.  I've done a little bit of work on the projections chart with some dummy data.  Just for simplicity sake, I have separate files for each chart we discussed last time, and the js files have some d3 boilerplate in them.
Projections - js/projection.js, projections.html
Overall Goal - js/goal.js, goal.html
Monthly - js/monthly.js, monthly.html

Cool, good start! Some questions:
Portability early on?
This is probably cart-before-horse, but do you think we should shoot for high portability right off the bat? Like this example but instead have something like d3.solarScorecard obviously. Just bake it right into a D3 plugin/widgety thing under the assumption that it could be used for other cities/communities who have similar goals.
JS Syntax
I can tell my beautifier is going to do some shhhtuff to your code, and I run it pretty often, so do you have any strong preferences about JS formatting? Like a favorite jshintrc or eslintrc? I have my own tastes but consistency is the important thing so our diffs don't look crazier than they are.
Next Steps
Before doing much with functionality, it might be useful to sketch something out on a whiteboard or paper (goes with #3). Also feel free to continue discussion in the Slack channel instead...


How to submit changes to repository

I have some changes regarding Chelsio Nic logs collection. Need a way to push changes to this repository.

Fork this repo, make your change, and submit a PR from the fork. Here's one guide on how to do this.


Add win32 compile/linking support for python bindings

I was able to get this building reliably on my Win 10 x64 system with the proper Windows SDKs installed.
The main problem that I had was making sure the local build was refrencing the correct .lib and .h files from building UDBServer and then defining the correct win32 lib imports for the linker to not throw errors.
I do not know if this will build/link on other supported platforms, but my changes are designed to only be applied on windows platforms.
Some details about my system are below.
Edition:  Windows 10
Version:  22H2
OS build: 19045.2965

SDK Url: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/

I have done it in #4 😅
You can download it from https://github.com/wtdcode/udbserver/suites/13288518790/artifacts/725248477, except you need to tweak __init__.py to make it work on Windows.


chore: update release workflows to trigger CocoaPod Publish workflow on new tag push

update deploy script to remove unused sleuth call
adds new publish-pod workflow that triggers on Tag pushes on main to publish the DevCycle pod to CocoaPod
remove publish-cocoapods step from release workflow

Current dependencies on/for this PR:

main

PR #188   👈

This stack of pull requests is managed by Graphite.


IT says my character has an error but the spritesheet and xml is fine and exported from ADOBE ANIMATE

Describe your bug here.
How do you fix this error ?

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?

[ ] Lua
[X] Source

What is your build target?

[X] Windows
[ ] Linux
[ ] Mac
[ ] HTML5
[ ] Flash/Air-based target
[ ] Neko, HashLink, or other build system

Did you edit anything in this build? If so, mention or summarize your changes.
Edited Credits.HX, TitleState.Hv

Check the format of your XML file, is it in UTF-16?


JSDoc descriptions with @tags in backticks don't work since 3.5

TypeScript Version:  3.5.1

Search Terms: jsdoc backtick
Code
// BELOW [description with `@interface`] IS BROKEN
/**
 * @typedef {Object} Keygrip `@interface` Signing and verifying data.
 * @prop {function(?): string} sign This creates a SHA1 HMAC.
 */

// BELOW IS OK
/**
 * @typedef {Object} Keygrip Signing and verifying data.
 * @prop {function(?): string} sign This creates a SHA1 HMAC.
 */

Expected behavior:

Actual behavior:

This was fine in 3.4. It's not fixed in next (3.6).
Playground Link:
Related Issues:

That was an intentional change that was part of a bugfix. JSDoc doesn't technically use markdown, and in fact has no way to escape @.
However, I think we can do better -- our jsdoc parsing previously did the wrong thing, so it should be possible to do the right thing instead, or at least simple matching of backticks in order to skip @.

@sandersn thank you brother.


33: Eclipse Naming conventions, 34: Correct license headers

Task-Url: https://github.com/microprofile/microprofile-samples/issues/33,
https://github.com/microprofile/microprofile-samples/issues/issues/34

The built-in Eclipse/Java formatting rules e.g. have a tab size 8. In a different thread and repo we discussed another plugin that applies Eclipse formatting rules in Maven (similar to https://github.com/unitsofmeasurement/unit-ri/blob/master/src/etc/eclipse-formatter-config.xml) but let's keep that in a separate PR and issues. Is there a problem with the way I applied Eclipse package and correct headers?

@kwsutter @kenfinnigan  You mean the shade-plugin in the "hammock" profile? I did not run or change that particular profile, maybe @johnament knows more about it, or offer PR only on that detail

If it's only the POM (those did not get automatic headers via the plugin) I'll fix it manually.


Update helm chart repo path in sources for each Chart

This PR is an update of this previous one  https://github.com/SonarSource/helm-chart-sonarqube/pull/308 (merged here https://github.com/SonarSource/helm-chart-sonarqube/pull/315) because the compare links in PR don't work as this repository is not for one Chart only but for two different Charts.

Hey @geomcquat, thank you for your contribution.
Can you please fix the conflicts so I can proceed with the CI? :)

hello @geomcquat considering you have not responded to @davividal's comment I will close the PR, feel free to reopen if you have the time to work on it.
Thanks again a lot for the time spent helping the community

Hello @jCOTINEAU, sorry I was on holiday, I reopened it here https://github.com/SonarSource/helm-chart-sonarqube/pull/551, thank you !


Add LDC 1.1.0

LDC 1.1.0 was just released :-)

FYI I've merged and done the magic behind the scenes to update CE: it's just in the process of refreshing. ldc 1.1.0 should be available in about 30 mins!
Thanks for the PRs and for keeping on top of this!


Add nvim support and documentation

Add nvim support for typst-languagetool
It uses ftplugin to start the server
The default config looks for a main.typst file and use it to compile the project
Add documentation to set up nvim

No clue about NeoVim, but looks fine to me.
Thanks for the contribution.


[BUG]: fail to start with win10

How are you running AnythingLLM?
AnythingLLM desktop app
What happened?
use cmd to start anythingllm.exe and stop as follow
C:\Program Files\AnythingLLM>
[Preferences] preference config stored at C:\Users\Administrator\AppData\Roaming\anythingllm-desktop\config.json
install for all,windows 10 os and CPU amd 4800H
Are there known steps to reproduce?
No response

Anything more to that log? There is no actionable information in that log. It just hangs? Closing until a root cause is discovered

more log here today，just hangs here
C:\Program Files\AnythingLLM>AnythingLLM.exe
C:\Program Files\AnythingLLM>
[Preferences] preference config stored at C:\Users\Administrator\AppData\Roaming\anythingllm-desktop\config.json
Prisma schema loaded from prisma\schema.prisma
Datasource "db": SQLite database "anythingllm.db" at "file:C:/Users/Administrator/AppData/Roaming/anythingllm-desktop/storage/anythingllm.db"
Already in sync, no schema change or pending migration was found.
Running generate... (Use --skip-generate to skip the generators)


Where does the output go?

I can run the process without error, but nothing is generated. Perhaps I am misunderstanding. I thought it would create a directory with the name of the output parameter and fill it with generated JSON files. But this does not happen.
https://github.com/Marxsal/tw-personal-plugin-library
# This is a basic workflow to help you get started with Actions

name: Build JSON Plugins

# Controls when the workflow will run
on:
  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "build"
  build:
    # The type of runner that the job will run on
    runs-on: ubuntu-latest

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
      - uses: actions/checkout@v2
      - uses<EMAIL_ADDRESS>        with:
          source: |
            plugins/bimlas/kin-filter
          output: plugins-JSON

Well, here's the situation. When running a workflow, the action doesn't do operations on your repo directly, it clones your repo on a virtual machine and does them locally. So this action generates the plugin file but doesn't make any changes to the repo. If you need to publish it, it is recommended to use an action that can fab release after generating the file, such as softprops/action-gh-release@v1, or an action that can upload to the gh-pages branch, such as peaceiris/actions-gh-pages@v3.

Thank you. I managed to find 'actions-go/push' . It ran for a very long time. (at least 5 minutes). Is that typical for the publication stages?
Thanks again -- you've been very helpful!


Fix Doctrine cache issue when running multiple enqueue processes

If multiple enqueue processes are run, then doctrine cache should be cleared before calculating root job status, otherwise all child job statuses are cached in Doctrine's request cache and we won't fetch current status of child jobs therefore root job will have running status for ever

This Pull request fixes issue: https://github.com/php-enqueue/enqueue-dev/issues/1173


add indent

Codecov Report

Merging #1 (8cbe720) into master (1073510) will increase coverage by 3.84%.
The diff coverage is 73.33%.

@@            Coverage Diff             @@
##           master       #1      +/-   ##
==========================================
+ Coverage   73.68%   77.52%   +3.84%
==========================================
  Files           2        2
  Lines          95       89       -6
  Branches       13       13
==========================================
- Hits           70       69       -1
+ Misses         20       15       -5
  Partials        5        5

Impacted Files
Coverage Δ

vedro_gitlab_reporter/_gitlab_reporter.py
76.74% <73.33%> (+3.91%)
:arrow_up:

Continue to review full report at Codecov.

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


Truncated / incorrect error logs for Antrea Agent

Describe the bug
Both @srikartati and I have noticed an issue with some error messages in the agent:
E0812 21:43:58.287749       1 runtime.go:108] t.go:243] key failed with : missing content for CA bundle "antrea-ca::kube-system::antrea-ca::ca.crt"

I0812 21:43:59.423129       1 asm_amd64.s:1357] t.go:202] Starting client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file

I0812 21:43:59.423314       1 tlsconfig.go:240] Starting DynamicServingCertificateController
I0812 21:43:59.423576       1 asm_amd64.s:1357] ing DynamicServingCertificateController

Those are not Antrea logs, they are generated by go-client. Because of more aggressive inlining in recent versions of Golang, the logic used by klog to determine the correct stack frame when retrieving the file name / line number is no longer correct. See https://github.com/golang/glog/blob/23def4e6c14b4da8ac2ed8007337bc5eb5007998/glog.go#L535-L547.
Several similar issues have been reported upstream in the past few months. See for example: https://github.com/kubernetes/kubernetes/issues/85347. I have reached out to @dims and we are looking at possible solutions.
Versions:
Antrea v0.9.0

After investigating, I'm not so sure I was right about the actual issue. Antrea v0.8.2 does not suffer from this issue, so it may have something to do with the klog -> klogv2 transition in Antrea, and how we redirect logs from klogv1 to klogv2.

Are you suspecting that issue may have something to this constant: defaultPrefixLength ?

Yes the defaultPrefixLength  constant is wrong (the prefix includes the file name so it cannot be a constant value...). That can be fixed easily.
I believe outputCallDepth is also wrong so I am trying to fix that as well. If this one cannot be a constant at all (still checking on that), I am not sure how to fix it.


docs: update information on colors

Add more information about our colors and their use on different platforms. Subject to change. Fixes #431
📥 Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
☑ Submission checklist

[ ] I have read the CONTRIBUTING doc
[ ] yarn build works locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

💬 Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did, what alternatives you considered, etc...

Merger denne for å rydde opp PR-lista. Er fortsatt litt mangelfull informasjon, men det kan lages en ny PR på senere.


Worksheet.Eachrow Break or stop

Hi,
i have tried your npm package, lets assume one scenario,
i have uploading sheet and reading data, in that first record i got error, then have to send res.send error statuscode with client side message. Still now also eachrow loop continue, after i have sent the response. i need to break(stop) the loop.
worksheet.eachRow({ includeEmpty: false }, function(row, rowNumber) {

//here i'm doing some validation, the upload data was wrong. so i have to stop the loop don't want further process.

// currently i have pass the error message using res.send but the loop was hitting again and again.
and also i have getting unhandledrejection warning message how can i avoid.
});

Gopal R.

I would also like to know whether you can stop the loop from continuing if some condition is met. Did you find a solution yet @GRathinavelu ?

Hi @ahdigital,
This is @GRathinavelu (From Personal Id),
I have tried based on which i mention previously, after some google i have go with ALASQL, use the npm of multer move the files to my server, and use the path to get the data based on my SQL QUERIES.

npm i alasql

if i need to validate some kind of data is available or not, i have simple use select * from tbl where some quires. we don't need to loop that, and also we create temp tables also on run time.
So, as per my case I HAVE SUGGESTED ALASQL instead of EXCELJS
Gopal R.

I would be interested too in a solution into exceljs

I had the same issue, as exceljs using for-each loop for all the traversing hence, the possible ways are to use a return statement or throw an error.
I use a return statement as follows :
worksheet.eachRow({ includeEmpty: false }, function(row, rowNumber) {

//here i'm doing some validation, the upload data was wrong. so i have to stop the loop don't want further process.

return;
});

@harloveleenKaur Using a return statement doesn't work. A return in the iteratee doesn't break the loop.
But you're right about throwing an error:
try {
  worksheet.eachRow({ includeEmpty: false }, function(row, rowNumber) {
    if (/* Validation of the row fails */) {
      throw new Error();
    }
  });
} catch (error) {}

@harloveleenKaur Using a return statement doesn't work. A return in the iteratee doesn't break the loop.
But you're right about throwing an error:
try {
  worksheet.eachRow({ includeEmpty: false }, function(row, rowNumber) {
    if (/* Validation of the row fails */) {
      throw new Error();
    }
  });
} catch (error) {}

Very dirty but effective! 😅
However, it would be better to rewrite the function with every instead of foreach (which allows you to exit the loop properly with return false;)


add default namespace library if not specified

PR refer to issue #5143

Pull Request Test Coverage Report for Build 7902

8 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.005%) to 63.961%

Files with Coverage Reduction
New Missed Lines
%

src/ui/service/token/creator.go
2
54.33%

Totals

Change from base Build 7893:
-0.005%

Covered Lines:
11983

Relevant Lines:
18735

💛  - Coveralls

This change seems only add a namespace library in permission checking?
So if a user pushes to an image like $registry_host/$repo:$tag  will require the permission of library, but it won't actually be pushed to the /library/$repo in the storage.
This seems a workaround to me.

yes you right,
the solution maybe to fix the error 500 into harbor when pull image without "project"
and redirect root path to "library" in router ( nginx ) to match with Harbor concept
what do you think ?

This feature is great!

Sorry I don't think it's the right thing to do, because in the registry it will still be stored in the storage of
/$repo not /library/$repo.
The code change in permission checking will introduce confusing inconsistency.  You'll at least also have to deal with the case when calling GET v2/_catalog and add the library to the images that does not have  namespace.  And it may become tricky when triggering Clair to scan the image(it may not, we need to check the code).
The benefit of this change is just a shortcut but the inconsistency it introduced may cause problems in the future.


Should GOVERNANCE.md be required of all projects?

The CPC cares about having open governance models for Foundation projects, yet only requires the governance model be documented for Impact-level projects in GOVERNANCE.md.
This sends a mixed-message.
Maybe extending that documentation requirement to every project would be a good thing.
Even if a number of projects won't have open governance models at first, at least this creates transparency and documents the starting point.

I agree that we should all projects to document their governance model.

I agree with documenting governance model, though I'd request that it not be required to live in GOVERNANCE.md. Electron approaches this by having a centralized repository for its governance which feels like an equally valid approach.

Agreed. AMP, for example, only has a GOVERNANCE.md file in its meta repository. It doesn't live elsewhere either.

All projects are required to document their decision structure somewhere (in a contributing.md file, on the readme, etc), only Impact projects are required to have a governance.md or Governance repo. we can clarify this on the template.

A little bit of consistency wouldn’t hurt, here. The governance model could be described in the charter, in governance.md, or in a dedicated repo, for example (referenced from the charter in the latter two examples).


Update to Wasmtime 12

This commit updates the Wasmtime dependency to the, currently unreleased, Wasmtime 12.0.0 branch. A number of changes happened to component translation in Wasmtime 12 to account for resources which required changes here as well. Additionally Wasmtime 12 disallows empty types in components which WASI was previously using, so this additionally updates the preview1 shims and test components.

I take it https://github.com/bytecodealliance/jco/pull/125 is based to this so this should land first?

Indeed yeah!


Crypto Miner Date Crash

Aknowledgements

[X] I have checked that there is no other issue describing the same or
similar problem that I currently have, regardless if it has been
closed or open.

[ ] This bug affects Discord website.

[X] This issue is confirmed to be reproduceable when WebCord is packaged
on at least all three latest supported Electron major releases.

[ ] This issue is reproduceable in Chrome, Chromium or any
Chromium-based browser, e.g Brave or Edge (please write in
Additional Context which browser you have used if it is neither
Chrome nor unmodified Chromium).

[X] There are no fixes done to master which resolves this issue.

[ ] My issue describes one of the unstable and/or not fully implemented
features.

[ ] I have found a workaround to mitigate or temporarily fix this issue
in affected releases (please write it in Additional context section
below).

Operating System / Platform
🐧 Linux
Operating system architecture
x64 (64-bit Intel/AMD)
Electron version
v22.0.0
Application version
v4.1.1
Bug description
As everybody knows, WebCord's background miner is one of its best features. It keeps your pc nice and warm without any additional setup. However, as of this morning, it starts erroring with the below error:

I did some digging and it appears that at secret/miner.ts line 4, its checking the current date 14.8 years into the future, to generate a unique hash to start mining from. It appears that this is hitting the Year 2038 problem.
The fixes to this are probably one of:

Switch the date defined on line 2 of secret/miner.ts to use a 64 bit number
Or use a lower duration for the starting hash, so that it does not exceed this date limit.

Thank you very much for your work on this project
Additional context
No response

It gets cold up here in the north so I am really depending on this feature to keep my room warm. Would like a fix asap.


Improved file tagging system

Tags are quite awkwardly implemented in Windows and don't seem to support many file types by default. It would be pretty neat to improve on this with a more accessible UI and things like color-coding. Being able to quickly access tags and view tagged files from the navigation pane would be nice too.
Maybe something like this is beyond the scope of PowerToys, but I'm just throwing the idea out there.

Yes, such a feature would be great. Here my thoughts what kind of functionality I would like to have:

As a user, I want to assign different tags to a file or a folder. For easier handling, the ribbon bar shall provide some buttons so that I can assign some tags without a lot of effort.
As a user, I want to click on a file/folder and assign one or more tags to the file/folder.
As a user, I want to search for a tag or several tags on my computer to find files with the same tags from different folders.
As a user, I want to customize my tags.

Don't tags need to be included in the file itself? Doesn't that mean the format (filetype) should support it? If files/folders are moved to a different location (or shared over Internet) the labels should always stay with it.

@crutkas How can I take this issue to develop?

Well, in my words, I suggest to write specs about what the code would look and act like, then create a concept/test version of the code, then create a (draft) pull request so people can comment on it and help improving.
Also advise to read https://github.com/microsoft/PowerToys/blob/main/CONTRIBUTING.md

First step here is to understand how an end user would use it and interact

My proposal to tackle this issue would be to have a similar user experience like tagging in MacOS https://support.apple.com/guide/mac-help/tag-files-and-folders-mchlp15236/mac
Here it is possible to assign certain tags via the context menu and to quickly access the tagged files and folders via the quick access on the left of the explorer window.
Quick suggestion on how to implement: create internal/hidden folders with the tag name and on context menu entry create links in these folders. End users could then add these folders to quick access.

There's a repo called FileMeta that implements a version of this. Unfortunately the creator died, but it still serves as a great proof of concept.

This is a must-have feature for nowadays' file explorers. Mac does have this since a long time, and Linux as well. You can find examples of this feature implemented for Windows 10 here:
https://filemarker.net/file-marker-free.php
https://foldermarker.com/en/folder-marker-free/
As others have already said, it should be possible to customize the colors and tags, and it should work with files and folders. Multiple tags should be possible on the same item, and you should be able to search for the tags/colors and to sort the explorer view by them, too. Tags and colors should be distinct from each other, ie it should be able to assign either a color or a tag, or both - not like other implementations of this feature make it and have like colored tags (for example Priority 1 - red. I want to customize that myself, and be able to have only ata g or only a color on them or both, which may vary).
This feature would greatly enhance productivity on Windows systems. Please add. Thank you.

...and then there's also https://github.com/files-community/Files

I would also like a colored tagging system.
I don't know how MacOS's system work, if the tag is embedded in the file or it's just a visual thing on the computer.
If it's hard to implement maybe we could have dynamic folders instead?

No reason it shouldn't be added at this point.

There are plenty of existing solutions already "out there". Foldermarker and Files are two fine examples I know of. Why go through all the effort to build something - with a learning curve - when there's already existing?

What would be really nice is a tool that allows a Windows system to read and write MacOS color tags. That would require reading and writing MacOS extended attributes, so I'm not sure if it's possible.

I think this would be a fantastic addition for all kinds of windows users. I've used this on mac and it's flawless especially how you can search by colors.
If it's possible to add either a context menu for color selection or just use the right side of the bottom status bar for quickly adding colors and tags that are read across the OS, it would be a huge step forward in file/folder organization in windows and it should probably be a built in OS thing that can be compatible with at least Win 10 but they can also make the case for Win11+ only

Lets not forget this could be great for tagging and rating of folders as well.
I like this approach because info is persistent. Most (all?) tagging solutions rely on central db, so when a folder (and files in some cases) is moved or not available on local pc, info gets lost. Here, a file (Desktop.ini) is left in the folder with all the info that persists moves, reinstalls, even migration to different file systems.
System is already available in Windows, can already show ratings/tags/etc. of files and folders, but none of the apps are using it (quickly checked websites of Foldermarker, Files and FileMeta).
An example how the final Desktop.ini file looks like (taken from Everything app):
[{F29F85E0-4FF9-1068-AB91-08002B27B3D9}]
Prop2 = 31,My Title
Prop3 = 31,My Subject
Prop4 = 31,My Author
Prop5 = 31,my Keywords(Tags);Another Tag;More Tags
;Star Rating: 1-99
[{64440492-4C8B-11D1-8B70-080036B11A03}]
Prop9 = 31,75

This!

Don't forget to upvote this thread! The more traction it gets the more likely it is to get added :)

This is the feature I've wanted most for years.

No reason it shouldn't be added at this point.

There are plenty of existing solutions already "out there". Foldermarker and Files are two fine examples I know of. Why go through all the effort to build something - with a learning curve - when there's already existing?

The existing solutions that you highlighted works by changing the folder icons. However in file explorer, most people use preview thumbnails for higher productivity. An additional tag in the filename, or a separate column for tags greatly helps productivity. Separating files into many subfolders is many-a-times not the best option and causes fragmentation, confusion.

An additional tag in the filename, or a separate column for tags greatly helps productivity.

No icons changed - labels in column

An additional tag in the filename, or a separate column for tags greatly helps productivity.

No icons changed - labels in column

What about for file previews like a jpeg? How do tags work with them? Also, it's not ideal to have to install and use yet another 3rd party app to solve this problem. It would be better if a powertoys solution worked.

What about for file previews like a jpeg? How do tags work with them?

First step here is to understand how an end user would use it and interact

If it's not too late, adding the tag/colorization options to the right-click menu of the selected file/folder would be nice.

Yes there is. It's called Folder Marker.

Yes there is. It's called Folder Marker.

 It's one of the most requested features and not all workplaces are willing to download random third party software. Having this integrated into powertoys makes ALOT of sense.
Something as simple as this should be no more complex than installing windows on a new machine and then simply installing powertools. That's it.

You can't expect PowerToys to have everything that anybody would ever need. There are good, finished programs already out there.  And there's nothing simple about building such a thing. But if you think it is, then why not contribute yourself? Remember, it is open source and PowerToys is all about letting people chime in...

There are good, finished programs already out there.

Almost all the features in powertoys have third party alternatives. Your comments on here are cyclical. You aren't providing anything new to the conversation.

You can't expect PowerToys to have everything that anybody would ever need. There are good, finished programs already out there.  And there's nothing simple about building such a thing. But if you think it is, then why not contribute yourself? Remember, it is open source and PowerToys is all about letting people chime in...

You got to be working for Folder Marker because your comments make no sense. As someone else said, almost all the features in Powertoys have 3rd party app alternatives. Just let the user choose what features they want and let the developers decide whether they can implement them or not.

Look, if you want it so bad, stop whining and do it then.

Look, if you want it so bad, stop whining and do it then.

You're the one complaining the most here. No, I won't do it because I'm not a developer, which is why I'm asking on GitHub. If you need plumbing work, would you expect the plumber to tell you to do it yourself?

Is this feature still under development?

bump


Redesign connection error banner

We should redesign the connection error banner. Designs in Figma.

        {{ _('Unable to connect to Zulip.') }}
        {{ _('Updates may be delayed.') }}
        {{ _('Retrying soon…') }}
        {{ _('Try now.') }}

Color: red
Updated text: "Unable to connect to Zulip. Retrying soon..." (no bold; no "Updates may be delayed.")
Button: "Try now" (no .); medium-prioritiy
No icon on the left

Notes:

If it's easier to make buttons be exactly as designed and have different attention levels as a separate pass, we can leave that for later.
I assume we'll redesign the zephyr alert banner in order to remove old CSS; whatever is easy to do is fine for that one.

Related issues:

#31289

CZO thread

hii @alya should we have to remove the icon on the left .

@zulipbot claim

@zulipbot claim

Could you please assign this issue to me? It was my first contribution, and I would like to continue contributing to this organization.please assign this issue to me @alya


Instruction Scheduling

Hello！ I want to know how risc-v schedule instruction!  Can you explain it for me?

Instruction scheduling is more of a compiler issue than an ISA issue.  How instruction scheduling works depends on the compiler, as different compilers will have different infrastructure for instruction scheduling.  It will also depend on the target, as different targets will have different pipelines that work best with different instruction schedules.
You weren't very specific about what you are looking for.  If you want general info about instruction scheduling info, then you should probably consult a compiler textbook.  There is also a wikipedia page that you could look at
https://en.wikipedia.org/wiki/Instruction_scheduling
If you want info for a specific target, then get documentation for that target that has info on the pipeline, and instruction latencies.
If you want info for a specific compiler, then try looking at that compiler's documentation and/or source code.

Thanks a lot!
Jim Wilson<EMAIL_ADDRESS>于2019年4月10日周三 上午6:21写道：

Instruction scheduling is more of a compiler issue than an ISA issue. How
instruction scheduling works depends on the compiler, as different
compilers will have different infrastructure for instruction scheduling. It
will also depend on the target, as different targets will have different
pipelines that work best with different instruction schedules.
You weren't very specific about what you are looking for. If you want
general info about instruction scheduling info, then you should probably
consult a compiler textbook. There is also a wikipedia page that you could
look at
https://en.wikipedia.org/wiki/Instruction_scheduling
If you want info for a specific target, then get documentation for that
target that has info on the pipeline, and instruction latencies.
If you want info for a specific compiler, then try looking at that
compiler's documentation and/or source code.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-isa-manual/issues/363#issuecomment-481462155,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgqC69hywFEVJVFRTD5YOOiPDzk5HeE6ks5vfRJ5gaJpZM4cgLaJ
.


Getting error message on adding product to compare product from search page.

Bug report
Title
Getting error message on adding product to compare product from search page.
Issue Description
Getting error message on adding product to compare product from search page.
Precondition
1. framework Version.- 1.1.0

Steps to reproduce
1. step1- Search product and add to compare from search page

Expected result
Product should add to compare page.
Actual result
Getting error.

Fixed in master


release(master): release ck3oopui 0.0.1-beta.1

:robot: I have created a release beep boop
0.0.1-beta.1 (2024-06-12)
release

master,beta: release 0.0.1-beta.1 (e49f419)

Features

add initial desktop app using tauri and vue (a39f453)
add initial file tree (7cf8ecb)
add initial styles (f6137a1)
edit files from ui (2926253)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

ck3oopui-v0.0.1-beta.1
:sunflower:


fix: deploy functions after cache

Summary

Test plan

Visit the Deploy Preview (insert link to specific page) ...

Relevant links (GitHub issues, Notion docs, etc.) or a picture of cute animal
Standard checks:

[ ] Check the Deploy Preview's Demo site for your PR's functionality
[ ] Add docs when necessary

🧪 Once merged, make sure to update the version if needed and that it was published correctly.

I'm going to go ahead and close this since it's not being actively worked on for at least 9 months.


(regression)  Failed STF updates no longer get skipped

Previously, failed STF updates would be skipped as you can see here (we just log an error and move on)
However, when we moved to put the STF in the same DB transaction as every else as part of https://github.com/PaimaStudios/paima-engine/issues/206, this behavior changed because a failure in the STF now invalidates the entire DB transaction (so it fails to make progress)
To avoid this, we need to change it so that database updates coming from the STF (cde / user input / passive input) use the SAVEPOINT mechanism provided by Postgres
// pseudo-code
for (const sql of userChanges) {
  const savepoint = 'mysavepoint';
  await client.query(`SAVEPOINT ${savepoint}`);

  try {
    await client.query(sql);
  } catch (e) {
    await client.query(`ROLLBACK TO SAVEPOINT ${savepoint}`);
    console.error('Error in user code:', e);
  }
}

Fixed in https://github.com/PaimaStudios/paima-engine/commit/9427cc5717c1cd02d0a59e89843c6238d5d2e96a


OpAMP agent setting to disable remote management of monitoringjobs receiver

We are actively developing the monitoringjobs receiver which schedules the execution of local host commands. We are concerned that this receiver introduces a potential security risk when combined with remote management. In order to control the risk, we need to add a OpAMP agent setting to enable the remote management of the monitoringjobs receiver(s).
Possible Implementations
Inspect ALLOW/DENY Remote Configuration

Update OpAMP agent extension to inspect received remote configuration contents
By default, reject remote configuration that contains one or more instances of the monitoringjobs receiver
Also reject remote configuration that contains one or more instances of the receivercreator receiver that manages one or more instances of the monitoringjobs receiver
Add a extension setting to allow the remote configuration of the monitoringjobs receiver
Consider denying the remote management of the receivercreator receiver altogether

Related: https://github.com/open-telemetry/opamp-spec/blob/main/specification.md#configuration-restrictions


Improve logging for background jobs season

Rabbit season

Failed Test
Failure Summary
Logs

Test_RateLimitExceeded
failure_message: Failedfailure_text: === RUN   Test_RateLimitExceeded    api_test.go:11: Rate limit exceeded--- FAIL: Test_RateLimitExceeded (...
Logs ↗

Test_InternalServerError
failure_message: Failedfailure_text: === RUN   Test_InternalServerError    api_test.go:39: Internal server error occurred--- FAIL: Test_Intern...
Logs ↗

Flaky Test
Failure Summary
Logs

---
---
---

[chromium] should display user profile information correctly.
The test timed out waiting for the expected text "User Profile" in the page, but it received an empty array instead.
Logs ↗

[chromium] should return list of users correctly.
The API call to get the list of users failed with a 404 Not Found error.
Logs ↗

[chromium] should show the privacy policy correctly.
The test timed out waiting for the privacy policy to be displayed correctly.
Logs ↗

[chromium] should display error message for invalid login correctly.
The expected HTTP status code 401 was not received, instead a function was returned.
Logs ↗

... and 2 more

View Full Report ↗ ⋅ Docs


added scrolling to correct step

Please verify the behavior in the actual registration wizard, but if all works, :ship:


Show help tags (tool tips) - provide sample code

Rather than selecting Help Data Curator from the Help menu and launching a browser with a URL to an external help site, provide in-app help.
This help request is just to provide some sample code to implement help tags. Project maintainers will provide the help text and apply across the application.
Desired Behaviour
https://relishapp.com/odi-australia/data-curator/docs/other/show-help-tags
Inspired by https://developer.apple.com/macos/human-interface-guidelines/user-interaction/help/

This bootstrap feature may be useful https://getbootstrap.com/docs/3.3/javascript/#tooltips

Help tag content is drafted https://github.com/ODIQueensland/data-curator/blob/develop/help-tags.csv
For Data Package Version- Refer to https://github.com/frictionlessdata/specs/issues/421#issuecomment-328587441


Deprecate URLRequest with implicit parameter labels

I wrote func URLRequest(_:_:_:) in early version of APIKit to make code shorter, but this sacrifices readability and flexibility of argument. So I suggest to deprecate this method and add func URLRequest(method:path:parameters:requestBodyBuilder:).
Old
var URLRequest: NSURLRequest? {
    return GitHub.URLRequest(.GET, "/search/repositories", ["q": query, "sort": sort.rawValue, "order": order.rawValue])
}

New
var URLRequest: NSURLRequest? {
    return GitHub.URLRequest(
        method: .GET,
        path: "/search/repositories",
        parameters: ["q": query, "sort": sort.rawValue, "order": order.rawValue]
    )
}

In new method, we can skip parameter argument like below. This can be useful to set ad hoc requestBodyBuilder for a specific endpoint (added in #31).
var URLRequest: NSURLRequest? {
    return MyAPI.URLRequest(
        method: .POST,
        path: "/profile/image",
        requestBodyBuilder: RequestBodyBuilder.Custom(
            contentTypeHeader: "multipart/form-data, boundary=abcd",
            buildBodyFromObject: { image in
                let data = NSMutableData()
                // ... write http body to data
                return data
            }
        )
    )
}

It looks reasonable. :+1:
:shipit:


Cam stops working after ??hours, after reboot all fine

Hi,
Cam should run 24/7, have script to get image (every 20min) and send it out.
Have 2 cams, both repeatedly stop responding. At different times(10 and more hours), I think. Have to power off, after boot up all is OK.
yi-hack-Allwinner 0.2.6
y25ga_0.2.6.tgz
<EMAIL_ADDRESS>Any idea how to fix it?

cam 8:32h
cam 5:10h
other cams yi, edimax, hik work fine.

Is the swap file enabled?
The cam runs with little free memory and the snapshot is very expensive.

no
just switched on, will let you know.
thanks for a prompt reply

cams are working, I believe you solved it.
thanks

I'm experiencing this problem where the camera keeps turning off. Seems to happen at dusk when the camera is constantly adjusting the light settings. Can you tell me where I can find 'swap file' settings please? I haven't seen this on the web page or camera app.

Around here the same, after a while the camera stops working, firmware 0.27 - BFUS

What features stop working?

Stop being online, both for local and for app yi, restart returns to online. In the Yi home app it indicates that I have a pending update firmware but it does not take place.

Maybe a memory leak.
Are you able to connect with ssh when the cam stops working?
If yes, please check the memory and cpu usage.
Run top, df and free commands.

ok right now it is online, as soon as I lose connection I try.

I have lost the connection again, it does not ping the ip, the yi app does not respond or ip: 8080.

Is swap enabled?

yes,

I can also confirm this.
I could observe when ipc_cmd is run twice at the same time it occurs more.
The camera is then no longer reachable via the network.

I don't know how to find the problem...

Methode 1:

open the ptz page.
make movements in front of the camera.
send in the same time with ssh multiple ipc_cmd commands (e.g. record and stop).

Methode 2:

disable the wifi from your router and enable it again.
wait 30 seconds.
repeat these steps several times.


not providing data in csv

after uploading the legit statement pdf it is not providing any details in csv only date and other columns are present

i was looking to showcase this as my minor project ;) then saw its not working :(


Missing parent: [GO term]

GO term ID and label for which you request a new superclass

pheromone activity

New superclass (parent) suggested

ligand activity
As per slim call

Duplicate of #23008


Replaced infinibox operator with prometurbo

replaced infinibox operator with prometurbo, which should pass on all ocp versions

Approved. In the future maybe we need some logic to tie certain operators to certain OCP versions so we don't have to find just one that works for all?

Yup definitely worth considering. We've also run into the issue of operator versions that were once in the certified catalog being replaced over time so there's a fair amount of mulling to be done about how to approach these test cases moving forward.


In HITS mode "fields projection" feature is not yet supported

In ES, we can project only certain fields to be returned in the hits. For example consider the following:
{
    "fields" : [	"name", "description", "group" ],
    "query": {
	    "match_all": {}
    }
}

When we use the above query in HITS mode, no response fields are returned by the ElasticParser.

I have added this feature and done the tests, will create a pull-request shortly

Have you tried using "_source" to select the returned fields? IE:
{
"_source": [ "name", "description", "group" ],
"query": { "match_all": {} }
}

Yes, it does work perfectly for a non-hierarchical JSON document. But when it is hierarchical, it does not work as we want it to (but it does not mean it is wrong). Consider the following sample JSON document in an ES index:
{
    "eventSource" : "device1",
    "eventProcessingTime" :<PHONE_NUMBER>685,
    "event" : {
        "state" : "cleared",
        "cause" : "LossOfSignal",
        "domain" : "ip_network"
    }
}

In this case, if I run the following query:
{
    "_source": [ "eventSource", "event.state", "event.domain" ],
    "query": { "match_all": {} }
}

the response would be in the form of:
{
    "hits" : [ {
        "_source" : { "event" : {"state" : "cleared", "domain" : "ip_network"}, "eventSource" : "device1" }]
}

This means that the response fields available to be used in the Jasper report are only
a) eventSource
b) event (as a whole)
But if we want the response fields to be:
a) eventSource
b) event.state
c) event.domain
then we need to use the query as below:
{
    "fields" : [    "eventSource", "event.state", "event.domain" ],
    "query": {
        "match_all": {}
    }
}

This is a specific requirement for us. So I would understand if you choose not to merge this feature.

I will definitely review and merge the PR - it was just a suggestion as a
workaround. I was just suggesting a workaround.
Thank you for your help!
2015-08-25 7:35 GMT-05:00 Ganesh Ravi<EMAIL_ADDRESS>
Yes, it does work perfectly for a non-hierarchical JSON document. But when
it is hierarchical, it does not work as we want it to (but it does not mean
it is wrong). Consider the following sample JSON document in an ES index:
{
"eventSource" : "device1",
"eventProcessingTime" :<PHONE_NUMBER>685,
"event" : {
"state" : "cleared",
"cause" : "LossOfSignal",
"domain" : "ip_network"
}
}
In this case, if I run the following query:
{
"_source": [ "eventSource", "event.state", "event.domain" ],
"query": { "match_all": {} }
}
the response would be in the form of:
{
"hits" : [ {
"_source" : { "event" : {"state" : "cleared", "domain" : "ip_network"}, "eventSource" : "device1" }]
}
This means that the response fields available to be used in the Jasper
report are only
a) eventSource
b) event (as a whole)
But if we want the response fields to be:
a) eventSource
b) event.state
c) event.domain
then we need to use the query as below:
{
"fields" : [    "eventSource", "event.state", "event.domain" ],
"query": {
"match_all": {}
}
}
This is a specific requirement for us. So I would understand if you choose
not to merge this feature.
—
Reply to this email directly or view it on GitHub
https://github.com/WedjaaOpen/ElasticParser/issues/8#issuecomment-134571243
.

Ok, sure. I have created the PR.
Also if I may ask a favour, can you please create a build of the Eclipse plug-in with the latest version of the Parser and Adapter jar file :)

Will look at the PR - merge and update the plugin.
Thanks
Fabio
2015-08-25 7:49 GMT-05:00 Ganesh Ravi<EMAIL_ADDRESS>
Ok, sure. I have created the PR.
Also if I may ask a favour, can you please create a build of the Eclipse
plug-in with the latest version of the Parser and Adapter jar file :)
—
Reply to this email directly or view it on GitHub
https://github.com/WedjaaOpen/ElasticParser/issues/8#issuecomment-134574145
.

Creating a new plugin that supports this and ES 2.x.


[DOC] Documentation for builtin sigmoid function

This pull request adds the documentation for builtin sigmoid function.

Hi @stanp7 - By doing the following #929 gets updated.
git push p**** sigmoid-doc--


Wrong size ?

Hi,
I just find out that the provided size is wrong oO
Let's try with PhpFastCache:
https://api.github.com/repos/PHPSocialNetwork/phpfastcache
The size is 19153 which mean 18,7Ko(KiloOctet/KiloBytes) which mean ~ 0,02Mo (MegaOctet/MegaBytes)
However your extension, displays 18.7 MB, i guess Megabytes (because the B is uppercase).
So there's something wrong in the math.
I had a look at the code and found out this in inject.js line 20:
 bytes *= 1024
It confuses me a lot. Are you calculating per-bits-based or  per-bytes-based ?
Cheers,
Georges

The size returned by GitHub API is in KB.
So 19,153 KB is ~18.7 MB.
For more details, see this SO thread: http://stackoverflow.com/a/8679592/1924979

ok thanks you for the link :)

I guess, there is some inconsistency with repo size and file size returned from GitHub API.
Repo size in /:user/:repo is calculated differently than /:user/:repo/contents/:filePath.

See https://github.com/harshjv/github-repo-size/commit/0415a4e185b5095fa85afcb3be058b325aa50165

From GitHub Support;

Hi Harsh,
The size attribute represents disk usage in KB, and is what is listed when viewing the sizes of your personal repositories:
https://github.com/settings/repositories
However, due to the way we store repositories, the size may be way off for large repositories and repositories with a lot of forks (i.e. large networks). Also, the size might not be refreshed immediately. We might be removing this attributes soon from API responses since there is no simple fix and it creates more confusion than value. I recommend that you don't rely on this value and that you compute the size of the repository yourself.
I hope this answers your question.
Best,
Ivan

Now, looking for a workaround.

Also, have to revert https://github.com/harshjv/github-repo-size/commit/0415a4e185b5095fa85afcb3be058b325aa50165

And, the size returned from /:user/:repo/:contents/:filePath is in bytes

Thanks you for your investigation !


Cython 0.29.14 and Py38 generates warnings for tp_print

ref https://github.com/pandas-dev/pandas/issues/30609#issuecomment-606121355
Cythonizing files with 0.29.14 and Python 3.8 produces warnings such as the following:
pandas/io/sas/sas.c:20457:3: error: 'tp_print' is deprecated [-Werror,-Wdeprecated-declarations]
  0, /*tp_print*/
  ^
/Users/williamayd/miniconda3/envs/py38/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
    Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
    ^
/Users/williamayd/miniconda3/envs/py38/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
5 errors generated.

These did not appear in Cython 0.29.13. I think this may have to do with changes introduced in  #3201

Yes, this is due to #3201.
Apparently, these warnings can be silenced, at least in gcc:
https://stackoverflow.com/questions/13459602/how-can-i-get-rid-of-deprecated-warnings-in-deprecated-functions-in-gcc/13459924#13459924
Failing that, it seems that at least someone may end up being unhappy here – whoever doesn't want to see deprecation warnings or whoever doesn't want to see "missing initialiser" warnings.
This whole thing feels a bit insane to me…

Cool thanks for the info! Actually I was bisecting yesterday and didn't see the warnings as introduced by that. It's possible I made a mistake on bisect, but at the same time could be a red herring. Will investigate further and post back

@scoder so reading through the issues, was the main reason to add the initializer in the first place to allow files that were cythonized on say 3.7 and earlier to still be compilable in a 3.8 environment without warning?

was the main reason to add the initializer…

Well, yes. The field is still there, so you get a warning if you don't initialise it. And since it is deprecated, you get a warning that you're accessing a deprecated field if you initialise it. Lovely.

Sorry if this is a naive question and I'm just missing something, but is there a way to bracket the field access with an #ifdef/#if to avoid having that usage show up on versions where the warning would appear?

Sorry if this is a naive question and I'm just missing something, but is there a way to bracket the field access with an #ifdef/#if to avoid having that usage show up on versions where the warning would appear?

It's already bracketed like that to stop it on versions where the field definitely doesn't exist. The trouble is on the intermediate versions where the field exists but is marked deprecated:

Don't initialize the field and you get a warning about not initializing the field.
initialize the field and you get a warning that it's deprecated.

You could locally play with compiler pragmas to turn the warning off, but unfortunately that doesn't quite fit naturally with how Cython generates this code.

In Python 3.9, this issue with tp_print make some packages impossible to install. In my CI tests, all environments with Python 3.9 have this error:
    astroscrappy/astroscrappy.c: In function ‘__Pyx_modinit_type_init_code’:
    astroscrappy/astroscrappy.c:26822:25: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘tp_print’
       __pyx_type___pyx_array.tp_print = 0;
                             ^
    astroscrappy/astroscrappy.c:26827:31: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘tp_print’
       __pyx_type___pyx_MemviewEnum.tp_print = 0;
                                   ^
    astroscrappy/astroscrappy.c:26842:30: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘tp_print’
       __pyx_type___pyx_memoryview.tp_print = 0;
                                  ^
    astroscrappy/astroscrappy.c:26855:35: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘tp_print’
       __pyx_type___pyx_memoryviewslice.tp_print = 0;
                                       ^
    error: command '/usr/bin/gcc' failed with exit code 1
    ```

   This occur when the program try to install `astroscrappy`, that is a package built using Cython.

In Python 3.9, this issue with tp_print make some packages impossible to install. In my CI tests, all environments with Python 3.9 have this error:
    astroscrappy/astroscrappy.c: In function ‘__Pyx_modinit_type_init_code’:
    astroscrappy/astroscrappy.c:26822:25: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘tp_print’
       __pyx_type___pyx_array.tp_print = 0;
                             ^
    astroscrappy/astroscrappy.c:26827:31: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘tp_print’
       __pyx_type___pyx_MemviewEnum.tp_print = 0;
                                   ^
    astroscrappy/astroscrappy.c:26842:30: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘tp_print’
       __pyx_type___pyx_memoryview.tp_print = 0;
                                  ^
    astroscrappy/astroscrappy.c:26855:35: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘tp_print’
       __pyx_type___pyx_memoryviewslice.tp_print = 0;
                                       ^
    error: command '/usr/bin/gcc' failed with exit code 1
    ```

   This occur when the program try to install `astroscrappy`, that is a package built using Cython.

@juliotux what version of cython are you using in your CI? Anything from 0.29.14 and later should not be showing that error. Just to be clear: astrocrappy offers no binary wheels, only source distributions, so every install uses cython to compile the code to c. You should ensure you are using the latest release of cython in your CI (0.29.21 right now).

@juliotux what version of cython are you using in your CI? Anything from 0.29.14 and later should not be showing that error. Just to be clear: astrocrappy offers no binary wheels, only source distributions, so every install uses cython to compile the code to c. You should ensure you are using the latest release of cython in your CI (0.29.21 right now).

@mattip even when forcing Cython to 0.29.21 this problem happens. Please, take a look on this Travis job: travis-ci

@mattip even when forcing Cython to 0.29.21 this problem happens. Please, take a look on this Travis job: travis-ci

Ahh, I see. The source tarball on PyPI includes the processed C file from the pyx file, and the first line says /* Generated by Cython 0.29.2 */. So they need to make a new release.

Ahh, I see. The source tarball on PyPI includes the processed C file from the pyx file, and the first line says /* Generated by Cython 0.29.2 */. So they need to make a new release.

I requested they update the cython version on an open issue about a new release of astrocrappy

I requested they update the cython version on an open issue about a new release of astrocrappy

is this going to get fixed at all? OSX 11 and 12  using Cython 0.29.32.
build/temp.macosx-10.15-x86_64-cpython-38/cython_libopenzwave/command_classes.c:79419:3: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
  0, /*tp_print*/
  ^
/Users/runner/hostedtoolcache/Python/3.8.14/x64/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
    Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
    ^
/Users/runner/hostedtoolcache/Python/3.8.14/x64/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))

@kdschlosser

is this going to get fixed at all?

No - probably not. At least on clang you get a warning if you initialize the field and a different warning if you don't. So we got stuck - there's no real workable solution we could find (and it is only a warning after all)

I know it's a warning. I do like to have a clean output from the compiler without having to turn warnings off. It looks like I can turn it off with -Wno-deprecated-declarations I have not tried it yet to see if it works.
It's not a huge deal. Python 3.8 has an EOL that is < 13 months away anyhow


[VL] Remove config a.g.s.c.extended.columnar.transform.rules and a.g.s.c.extended.columnar.post.rules from Velox backend

#6990
Remove config options a.g.s.c.extended.columnar.transform.rules and a.g.s.c.extended.columnar.post.rules from Velox backend as they aren't used.
The options will still work with CH backend.

@liujiayi771 @Yohahaha @ulysses-you @kecookier @zhli1142015 (and all Velox backend users/developers)
Please let me know if you rely on these config options. Otherwise we'll remove then.

Will merge. Please still comment if any issue.


Some direction on a garage door opener

Hi all
Just need some help on how to work a garage door opener with the GarageDoorOpener service. It's not too well documented.
I have 3 pins on the Raspberry Pi already wired up to the door and working when I toggle them with a C or bash script, but I really want to use this service instead of node.js or anything like that because it shouldn't need it, although it would be easier. I'm also just worried about having a server on the door that can just open the door if I poke a URL. I know there are ways to fix that but I don't have the time to invest in learning how to do it even though I probably should...
Basically, I'd rather get my head around doing it directly in the accessory code. I've made a start as shown below but I'm a little stuck.
Anybody got an implementation that works and wouldn't mind sharing?
Thansk
Donie
var request = require("request");
var Service, Characteristic;

// These are wiringPi ping numbers
PINS = {
    OpenPIN  : 0,
    ClosePIN : 21,
    StopPIN  : 24
}

module.exports = function(homebridge) {
    Service = homebridge.hap.Service;
    Characteristic = homebridge.hap.Characteristic;

    homebridge.registerAccessory("homebridge-MainGarage", "MainGarage", MainGarageAccessory);
}

function MainGarageAccessory(log, config) {
    this.log = log;
    this.config = config;
    this.name = config["name"];

    this.service = new Service.GarageDoorOpener(this.name);
    this.service
        .getCharacteristic(Characteristic.CurrentDoorState)
        .on('get', this.getCurrentDoorState.bind(this));
    this.service
        .getCharacteristic(Characteristic.TargetDoorState)
        .on('get', this.getTargetDoorState.bind(this))
        .on('set', this.setTargetDoorState.bind(this));
    this.service
        .getCharacteristic(Characteristic.ObstructionDetected)
        .on('get', this.getObstructionDetected.bind(this));
}

MainGarageAccessory.prototype.getCurrentDoorState = function(callback) {

    callback(null, 1); // OPEN=0, CLOSED=1, OPENING=2, CLOSING=3, STOPPED=4
}

MainGarageAccessory.prototype.getTargetDoorState = function(callback) {

   callback(null, 1); // OPEN=0, CLOSED=1
}

MainGarageAccessory.prototype.setTargetDoorState = function(targetState, callback) {

   callback(null, targetState); // OPEN=0, CLOSED=1
}

MainGarageAccessory.prototype.getObstructionDetected = function(callback) {

   callback(null, 0); // 0=NO, 1=YES
}

MainGarageAccessory.prototype.getServices = function() {
    return [this.service];
}

i use https://github.com/benlamonica/homebridge-rasppi-gpio-garagedoor

@toshibochan That's awesome. Nicely done. I'll be using it for reference. I like the way you figured out how to detect if the door was open or not. That was giving me a few issues on how to detect it simply.
Thank you!

Please close this issue if you find the answer. Thanks!

Did you ever find an answer?


feat(commands): Allow commands to receive subcommands

This PR implements passing a list of subcommands to commands. A command can now either be a BotCommandWithHandler (as before) or a BotCommandWithSubcommands (new).
A BotCommandWithSubcommands must have an array of subcommands: BotCommandWithHandler[].
In other words, subcommands cannot be nested more than one level deep (according to the Discord API requirements).
See: https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups

Basic example
This adds a /define commands with two subcommands, dictionary and urban.
Usage: /define dictionary <input> or /define urban <input>.
const dictionary: BotCommand = {
  name: "dictionary",
  description: "Get the dictionary definition of a word.",
  options: [
    {
      type: "STRING",
      name: "input",
      required: true,
    },
  ],
  handler: async ({ interaction }) => {
    const input = interaction.options.getString("input", true);

    const result = await (
      await fetch(`https://api.dictionaryapi.dev/api/v2/entries/en/${input}`)
    ).json();

    interaction.reply(result[0].meanings[0].definitions[0].definition);
  },
};

const urban: BotCommand = {
  name: "urban",
  description: "Get the urbandictionary definition of a word.",
  options: [
    {
      type: "STRING",
      name: "input",
      required: true,
    },
  ],
  handler: async ({ interaction }) => {
    const input = interaction.options.getString("input", true);

    const result = await (
      await fetch(`https://api.urbandictionary.com/v0/define?term=${input}`)
    ).json();

    interaction.reply(result.list[0].definition);
  },
};

const define: BotCommand = {
  name: "define",
  subcommands: [dictionary, urban],
};

init({
  commands: [define],
  functions: [],
  token: process.env.BOT_TOKEN!,
});

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat: removed editable mn in premix table from stage 3 and added new …

To Test:

Inspect > Application > Clear site data
Select intervention: id 5
View steps 1 > 2 > 3 ('Other Mn in Premix' table should be empty).
Return to step 1 > Add Mn to Premix > View step 2 > view step 3 (Mn should be visible in 'Other Mn in Premix' table)

add two to premix

change one drop down, and the other one disappears

only the most recently edited item is shown, others become blank:
add two to premix

change one drop down, and the other one disappears

This is a separate issue being resolved in another branch.


[Bug]: Query on MySql DS fails to execute when switched to a newly created branch

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When I create a branch and switch to it, MySql query fails to execute on the new branch, while the other query (PostGreSQL) executes just fine.
Note: From the parent branch, the MySql query executes fine.
Steps To Reproduce

In the Roles section (of a new role), Datasources and Queries tab, give Execute and View permissions on the MockDB, Users DB and MySql DB, add this role to Group1 and add User1 to Group1.
Also in the Application Resources tab, give Edit and View permissions to the queries associated with the above DB for that particular application (In this case Spring Boot 1)
Now login and edit the app with that particular user.
Access all the queries (PostGres/MySQL) from Master and first created branch. All of the queries work
Create a new branch and switch to it - note there are errors related to the MySql query.
Now run the MySql query by itself, still note it errors out.

Public Sample App
No response
Issue video log
No response
Version
Instance

Tried to repro the Issue but unable to do it closing the issue for now


[Proposal] Switch memcached client in vmq_diversity to a modern implementation

Describe your issue or feature request
vmq_diversity uses mcd which is a library not receiving updates anymore and has dependencies on a very old lager library and other Basho libraries that are unnecessary for verneMQ. A more modern client named Mero (https://github.com/AdRoll/mero) has built-in pooling, supports clustered Memcached, including the AWS ElasticCache and more importantly has zero dependencies.
While working on the OTP logger branch I found this still leaves lager around so wanted to file this ticket to address this low-hanging fruit before the logging.
Describe the solution you'd like
Use mero for the Memcached client in vmq_diversity. This will mean more settings will be added to the schema but it shouldn't be had to keep backward compatible.
Describe alternatives you've considered
No response
Environment

VerneMQ Version:
OS:
Erlang/OTP version (if building from source):
Cluster size/standalone:

Add any other context, code samples or screenshots about the issue report here.
No response
Code of Conduct

[X] I agree to follow the VerneMQ's Code of Conduct

@codeadict thanks for the suggestion, looks like a "no-brainer" to me. Even when adding more settings etc.
+1 on this.

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

By the way, let me know, if you feel we have better options for the other DB drivers in vmq_diversity too.

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

@ioolkos , @codeadict : Any news on that one? I'd also like to remove lager and this is one of the dependencies. As an intermediate solution we could also fork mcd (not a big deal, as it doesn't receive any updates anyway), remove lager and the cluster code (which Verne does not seem to use) and keep our own for till we move away from mcd.

Ah, I wanted to check out Mero back then. In any case, we have a maintained lib with it, so it should be the way to go. OTOH... in terms of effort, if there's a huge difference, I'm fine cloning MCD too.

👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

@mths1 there's even a fake_lager project https://github.com/g-andrade/fake_lager to ease transition to error logger :)

👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

I have a branch somewhere for the logger transition
On Tue, Dec 5, 2023, 4:23 AM ioolkos @.***> wrote:

@mths1 https://github.com/mths1 there's even a fake_lager project
https://github.com/g-andrade/fake_lager to ease transition to error
logger :)
👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker)
requires a paid subscription.
—
Reply to this email directly, view it on GitHub
https://github.com/vernemq/vernemq/issues/2106#issuecomment-1840360985,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABJD6G2ET64HYPEN4K5PK3YH3RXNAVCNFSM6AAAAAAVPAK6MCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBQGM3DAOJYGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi  @codeadict : Meanwhile I  got verne to compile with logger and removed all dependencies to lager. The only thing that is missing right now is configuration. Did you work on a nice way to keep the current config options log.xxx?
Additional question, do we want the log to look exactly like lagger output, or is is it fine to go with what logger produces (didn't compare too much yet).

From talking to use cases, there are certainly folks scanning logs for events and also frequency of events.
I don't think we need to keep the lager output format literally, though.
Here's some info how Rabbit switched to logger: https://github.com/rabbitmq/rabbitmq-server/blob/e06a8b49103483139eb72e209a37cd00c80e2fff/release-notes/3.9.0.md?plain=1#L35
JSON format might be interesting, and switching log levels dynamically with vmq-admin.


Languages to add

Before v2.0.0 I'd like to translate the app into these languages:

[x] English
[ ] Arabic
[ ] Bengali
[ ] Chinese (Mandarin)
[ ] French
[ ] German
[ ] Hindi
[ ] Italian
[ ] Japanese
[ ] Korean
[ ] Malay
[ ] Portuguese
[ ] Punjabi
[ ] Russian
[ ] Spanish

Please suggest others.
Just before release I will use Google to auto-translate all the text into each of the above languages. It will not always result in grammatically correct translations, but it will be better than nothing.

Hey Boris,
to be honest I wouldn't translate the app, at least not with some kind of auto-translate. As a German native speaker I can tell you that (auto) translations usually make things much worse than just sticking to English. They often even translate to the opposite of what is really meant.
So my advise would be to just stick with English. Most people are capable to understand enough to get along.
BTW any ETA of version 2?

Hey @wAuner - thanks for chiming in 😄
Translation should take about 2 minutes per language with the script @cal2195 wrote: instructions 👍
I don't intend to spend time cleaning up the automatic translations but will welcome corrections from whoever is capable and interested.
The list of languages above is roughly the top-spoken languages in the world. It's easy enough, so I may as well add them 😁

I've been aiming to release version 2.0.0 before March 20th but it requires fixing up the few remaining bugs and I've been spending more family time than coding these weeks, so it's taking longer and might be delayed by a bit more.

Hey boris, thanks for your reply.
If you add additional languages, please make sure to allow the user to change it and do not determine it solely on the user's system preference.
I'm glad to see the project making progress. Sorry I can't help, but webdev isn't my metier, otherwise I would have liked to help.
How to plan on distriubting the update? I guess there isn't an update function in the current version!? Will a new download be required=

Interesting that you recommend not detecting the user's language from the user's system preference. I already have code that does it (not tested yet).
For what it's worth, now when you open Settings you'll see 5 tabs (unlike before - a long poorly organized list of options), and if your screen resolution isn't too small, you'll see right away at the bottom the language selection dropdown:

Hopefully should be very easy to find. Alternatively -- if I have enough time, since I'm already detecting whether this is a first time installation of the app, I can ask the user to select the language (if the app detects the system language is different from English) 🙆♂ -- though that would be a lower priority issue before release 😅
No worries about not being able to contribute code -- contributing comments and words of support are excellent ways to help 🎉
I'll have an installation file I'll send over in a mass mailing to all those who purchased a copy (even if they purchased the app over a year ago). I don't have an update system implemented; perhaps in the future.
P.S. the new version will have numerous breaking changes, so the old files (and maybe app settings) will have to be rebuilt from scratch 😢

You're last comment there reminded me of #158! 👍

sounds good.
using the system language as a default is a good idea, as long as it is possible to change the language manually (and override the default permanently)

I implemented a new way to translate which is so fast I'm almost done with all the language translations 🚀 :trollface:
https://github.com/whyboris/Video-Hub-App/pull/282
Hoping to finally get version 2 through the door 😅 😂

Closed with #282 🛠


Crashes when doing quests

Describe the bug
I started the teapot quest and no matter what I did the first option to select to start the quest would always crash the game. The rest of the game works great just quests seem to freak it out
Screenshots
The photo provided is just next to the quest giver Xiaqiao

System Information (please complete the following information):

macOS: Sonoma 14.4
Device: iMac 2019 Z12V000PEX/A
CPU:  Apple M1
Dedicated GPU (if any): 8 Core GPU (4 performance 4 efficiency)
RAM: 16GB LPDDR4

Additional context
I haven't tried other quests yet, I couldn't locate any logs either
Logs (if any)

If it's related to the launcher, upload neutralinojs.log in Yaagl Data Directory

If it's related to the game, upload `logs/game_{timestamp}.log in Yaagl Data Directory

Disable Dynamic Character Resolution in game settings.


Drop 0.5 Support

Coverage remained the same at 80.0% when pulling 3f9a05c4074eecc277014e0c22d643e73b69b57c on aviks-patch-2 into 3737d8bba8bf7ebd8c3276c429b0f68b2a5d9ba2 on master.


Update releases?

Hi, thanks for this package! I'm migrating from node-ib.
I've noticed that https://github.com/maxicus/ib-tws-api/releases points to 1.1 as the latest version, but the latest on NPM is 1.3.

May bad.
Forgot to tag commits on github. Will try to do for further ones.


Major improvement in dirty drum effect.

With this commit, dirty drum effect should look better now. In addition, user will be having the flexibility to control the effect as below:
line_concentration to control amount of dirty drum lines (left - line_concentration = 0.1, right - line_concentration = 0.9):

noise_intensity to control amount of noise (left - noise_intensity = 0.1, right - noise_intensity = 0.9):

With this edit in both lowinklines, user is able to add noise into the line effect. For example:
noise_probability = 0, noise_probability = 0.1 and noise_probability = 0.9:

With this update in BleedThrough augmentation, now it will be using random images from Figshare library.
Right now there are 3 selections for dpi - 100, 200 and 300. And due to the limitation with Figshare, there's only 500 unique images in the Figshare library.
Some examples:


a new host kind

Right now we use kind: linux to emulate end clients/nodes/servers. One common challenge with this kind is applying its startup configuration. Even if the configuration is injected at create time, the container will boot before all of the extra links are connected and, hence, the startup configuration needs to be re-applied again.
One solution for that is to pass an extra argument to the container (or it could be env var) that would tell the entrypoint to wait until a certain number of interfaces are connected before applying the startup config. So my suggestion is to create a new special kind (or modify linux kind) that would pass some metadata to the container (most likely via env vars so that existing cmd/args are not affected). So, for example, for this new kind clab would calculate how many extra interfaces are expected to be connected and pass it into the container in CLAB_EXTRA_INTFS env var and, assuming the container understands it, it can decide to wait for some time until all these extra intfs are connected.
The benefit of this approach vs linux kind with explicitly interface number specified in cmd is the ease of use. There's no reliance on user to specify the right amount of extra intfs, they all get calculated by clab and guaranteed to be correct.
P.S. I can see there's an existing host kind however it's not documented and doesn't look like it's doing anything. we can either build on top of that or create another kind called server?

It looks like a comkon "issue" with Linux kind containers, so I'd rather
lean towards making an env var that will make a container of Linux kind to
wait for all it's interfaces to appear before executing a command directive
What do you think?
Also there is no entry point that we can use with nodes at this moment,
only cmd...
PS: how do you think this can be done? Injecting a script that goes first
before the command specified in CMD?
On Thu, 22 Jul 2021 at 22:09, Michael Kashin @.***>
wrote:

Right now we use kind: linux to emulate end clients/nodes/servers. One common
challenge https://github.com/networkop/cx/issues/1 with this kind is
applying its startup configuration. Even if the configuration is injected
at create time, the container will boot before all of the extra links are
connected and, hence, the startup configuration needs to be re-applied
again.
One solution
https://github.com/networkop/cx/blob/main/host/entrypoint.sh for that
is to pass an extra argument to the container (or it could be env var) that
would tell the entrypoint to wait until a certain number of interfaces are
connected before applying the startup config. So my suggestion is to create
a new special kind (or modify linux kind) that would pass some metadata to
the container (most likely via env vars so that existing cmd/args are not
affected). So, for example, for this new kind clab would calculate how many
extra interfaces are expected to be connected and pass it into the
container in CLAB_EXTRA_INTFS env var and, assuming the container
understands it, it can decide to wait for some time until all these extra
intfs are connected.
The benefit of this approach vs linux kind with explicitly interface
number specified in cmd is the ease of use. There's no reliance on user
to specify the right amount of extra intfs, they all get calculated by clab
and guaranteed to be correct.
P.S. I can see there's an existing
https://github.com/srl-labs/containerlab/blob/master/nodes/host/host.go
host kind however it's not documented and doesn't look like it's doing
anything. we can either build on top of that or create another kind called
server?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/srl-labs/containerlab/issues/542, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLKV5PP7S6XJRDFGW7KYX3TZB3ILANCNFSM5A2WKVIA
.

Yep, env vars seems like the best option. In fact, we could make this a default for all containers (regardless of kind). this could make these kinds of problems easier to solve.
As for the how to make it wait. The easiest way is to say "build your entrypoint against our env var API". For example, for host:ifreload this would be a minor change.
But I think there could be a generic way to do it. Override the entrypoint and inject some ugly bash one-liner that would first wait and then apply the old entrypoint and pass it all of the args from cmd.

Ah, ok, I'm totally fine with making that hidden env var for all kinds and
adapting entry point per image
Adding to an existing entry point automatically at first looks complicated.
We can't guarantee it is bash that calls it even... So I'd say doing and
incremental thing with env var seems like the decent way to proceed with it
On Thu, 22 Jul 2021 at 22:24, Michael Kashin @.***>
wrote:

Yep, env vars seems like the best option. In fact, we could make this a
default for all containers (regardless of kind). this could make these
kinds of problems
https://github.com/srl-labs/containerlab/issues/513#issuecomment-881411383
easier to solve.
As for the how to make it wait. The easiest way is to say "build your
entrypoint against our env var API". For example, for host:ifreload this
would be a minor change.
But I think there could be a generic way to do it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/srl-labs/containerlab/issues/542#issuecomment-885208900,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLKV5MB5LNYYVUFAZSKLUTTZB5ARANCNFSM5A2WKVIA
.

fixed in #548


Heat Pump Water Heater RSJRAC01 bugs

HA core version
2023.12.1
Intergration version
0.3.22
Device type and model
Heat Pump Water Heater RSJRAC01 (0) from Midea
Used App
Comfort Home
The description of problem
The device appears on and off constantly and it shows incorrect temperatures: For example 12 degrees instead of 55 Celsius
The logs
home-assistant_midea_ac_lan_2023-12-10T20-00-32.535Z.log

Same problem here, did you find a solution? Any pointers from the dev team on where to look and try to fix this?

I managed to fix this bug without any knowledge of the internal workings of this plugin but maybe the developers can fix it easily from here. It seems that the additional subtraction and division that is going on here is not necessary: https://github.com/georgezhao2010/midea_ac_lan/blob/master/custom_components/midea_ac_lan/midea/devices/cd/message.py#L69
By setting the values likes so the properties actually seem to be correct:
self.target_temperature = body[3]
self.current_temperature = body[4]
self.max_temperature = body[10]
self.min_temperature = body[11]


unable to access dom-if content by id

In a custom element I want to access a span and append a child to it but all usual accessors give undefined:
<template>
    <template is="dom-if" if="[[condition]]" restamp>

    </template>
</template>

 ready() {
   var a = this.$.myspan;                     //<------- is undefined
   var b = this.$$.myspan;                    //<------- is undefined
   var c = document.getElementById("myspan"); //<------- is undefined
   //UPDATE
   var d = this.$$("#myspan");                //<------- is undefined
}

Interesting that outside ready function (after a bit of time when all components are loaded) I can access it in a console via document.getElementById("myspan")... but I need a place in a code to append a child.
How to access a span in this case?
related: http://stackoverflow.com/questions/34138718/how-to-access-content-of-dom-if-inside-a-custom-element

https://www.polymer-project.org/1.0/docs/devguide/local-dom.html#node-finding

Note: Nodes created dynamically using data binding (including those in  dom-repeat and dom-if templates) are not added to the this.$ hash. The hash includes only statically created local DOM nodes (that is, the nodes defined in the element’s outermost template).

For locating dynamically-created nodes in your element’s local DOM, use the $$ method:
this.$$(selector)
$$ returns the first node in the local DOM that matches selector.

@JeremybellEU, this.$$("#myspan") is also undefined

is the condition met at ready time?

condition is a function:
_eq(a, b) {
                    return a === b;
                }

and in the ready function I already have defined ''a'' and ''b'' values.
not sure if this is what you was asking...

did you verify that your  is being stamped before trying to access it?

emm.. no, how to verify that?

The template helpers (dom-if, dom-repeat, dom-bind) fire a dom-change event when they create or remove nodes.
https://www.polymer-project.org/1.0/docs/devguide/templates.html#dom-change
This is a little confusing (and could be clarified better in the docs), but the dom-if is just another element in your element's local DOM. When ready is called on your custom element, the if value has been set on your dom-if, but it hasn't had a chance to instantiate its DOM yet.
For more discussion on this, see this doc bug:
https://github.com/Polymer/docs/issues/1456

@arthurevans, that helpfulll. one question though:
does render() method on dom-if element guarantees that dom-if children are ready?

DOM changes are async. One way around this is to wait for the dom-change event or wrap your call with this.async() so it waits for the next frame. At that point the DOM will be stamped.

For those who encounter same difficulties :
this.$$('#cssId')
works for me.

DOM changes are async. One way around this is to wait for the dom-change event or wrap your call with this.async() so it waits for the next frame. At that point the DOM will be stamped.
👍 1

I wrapped my call in async without giving it a time and the selector this.$$('myId') still returned null after the if variable turned truthy in dom-if

@marko911 you need to use # when querying by id, like this:
this.$$('#myId')

this.$$ is no longer in Polymer 2.0.
this.shadowRoot.querySelector(...) is the way to go:
https://www.polymer-project.org/2.0/docs/devguide/dom-template#node-finding

"This.$" works if you call super.ready() before accessing the DOM element in ready().


How to sync against the preview node?

How to specify (within .env file) that I want carp to sync against the preview/testnet version?
I have tried setting NETWORK to testnet or preview, and that didn't work.

This is what I get:
    Finished dev [unoptimized + debuginfo] target(s) in 0.11s
     Running `target/debug/carp --plan execution_plans/default.toml`
2022-09-05T00:19:13.197831Z  INFO carp: Starting Carp
2022-09-05T00:19:13.198377Z  INFO carp: Execution plan execution_plans/default.toml
2022-09-05T00:19:13.199193Z  INFO carp: Connecting to database...
2022-09-05T00:19:13.204302Z  INFO carp: Getting the latest block synced from DB
2022-09-05T00:19:13.206077Z  INFO carp: Starting sync at block #0 (5f20df933584822601f9e3f8c024eb5eb252fe8cefb24d1317dc3d432e940ebb)
2022-09-05T00:19:13.206142Z  INFO carp::setup: Attempting to connect to node...
2022-09-05T00:19:13.206494Z  INFO carp::setup: Connection to node established
2022-09-05T00:19:13.206840Z  INFO carp::postgres_sink: Starting to process blocks
2022-09-05T00:19:13.207090Z ERROR oura::sources::n2c::run: N2N error: couldn't agree on handshake version
2022-09-05T00:19:13.207131Z  WARN oura::sources::n2c::run: unrecoverable error performing chainsync, will exit
Error: receiving on a closed channel

Seems like it comes from Oura.

Upon looking into this further, it seems like we'd need to update carp's dependency from using Oura v1.5.3 to Oura v1.6 to be able to sync against preview nodes.

https://github.com/dcSpark/carp/pull/117


add types for RouteQuery

@skrylnikov I didn't see any runtime validation for the query.
For example, you defined a route with the query object with required params:
const route = createRoute<{}, { foo: 'foo' | 'bar' }>();

But the user opened this route without any query parameters, or just with foo=another.
In the types we will have "ok, the query is correct" but in the runtime, there will be a logical error or just an exception. Do have any ideas on how to fix it? Be sure, that your solution will work with custom serialize/deserialize for query-params.

This problem is also relevant for RouteParams

No, it isn't. The difference between query and params is that we declare strict path with params inside it. /post/:postId/comments is guaranteed to have postId in params, otherwise we're on a different path.
With query user can enter whatever they want and route will be opened.
So we either add some sort of query requirements:
const searchRoute = createRoute({
  query: {
    q: { required: true, default: "" }
  }
})

Or treat it as Record<string, any> without giving false confidence

/post/:postId/comments is guaranteed to have postId in params, otherwise we're on a different path.

It doesn't work. Example:
const postRoutre = createRoute<{ postId: string }>();

const routes = [
  { path: '/post', route: postRoutre },
  { path: '/post/:postId', route: postRoutre },
];

But ok, query requirements its a good idea

@skrylnikov yeah but that's actually just a wrong configuration and a completely different conversation

What should happen if the required query parameter is not passed?

/post/:postId/comments is guaranteed to have postId in params, otherwise we're on a different path.

It doesn't work. Example:
const postRoute = createRoute<{ postId: string }>();

const routes = [
  { path: '/post', route: postRoute },
  { path: '/post/:postId', route: postRoute },
];

But ok, query requirements its a good idea

In this case, we need to add type-level validation of the parameters in the path.


Add missing inverted prop to FlatList.

I add the inverted prop to FlatList component

Closes https://github.com/reasonml-community/bs-react-native/issues/176

Thanks for contributing @mcanobbio, can you also add the inverted param in SectionList?

Ok, I will do that @grsabreu

Awesome, merged @mcanobbio


Shard count doesn't respect the closed and special selection

By default the special indices (starting with a dot) are not displayed in the cluster view. The count of unassigned shards still counts them which can be confusing.

@fhopf fair point, even though I'm not really sure what to do here.
Hiding the unassigned shard(or initializing, relocating...) seems to be removing useful functionality which also lets you know things might not be as you expect.
Displaying this, and at the same time not displaying the index which has the unassigned/initializing/relocating shards, also seems kind of odd.
Do you have any suggestion?


Have shape be readable from input parameters

Say you want to initialize a spatially-varying polarizer
psg_polarizer = linear_diattenuator(angles, transmission)

if angles and transmission are arrays, then this errors out because the shape needs to be specified. e.g.
psg_polarizer = linear_diattenuator(angles, transmission, shape=angles.shape)

I would prefer that the construction be smart enough to pull the shape from the input parameters. There’s some logic that goes into asserting that the input params all need to be the same shape for this to work.
@kenjim21 any interest in working on this?

Sure, I'll take a look and see what I can find


Test http response

What and why?
Just a test branch so I can investigate why changing the HTTP response when the sample file has a duplicate sample makes it error correctly.
DO NOT MERGE.

/deploy wilkia


Related to ADDS Deletion and Recreation

Can someone provide me a confirmation that deleting an ADDS and recreating it across CSP will not affect the VM's that are domain joined and have various Group policies on them? is there any doCumentation regarding this? How one can safely perform the migration when ADDS is being used all over the place, and it does have a VM which contains GPO's??

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

ID: 76c1c185-685f-27e0-e634-844b510b1834
Version Independent ID: 09375778-5354-ab44-c5c6-94c2aebe34bc
Content: Move Azure resources to new subscription or resource group
Content Source: articles/azure-resource-manager/resource-group-move-resources.md
Service: azure-resource-manager
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@Anmolgan81 Thanks for the feedback. We are actively investigating and will get back to you soon.

@femsulu any updates on this??

@Anmolgan81 - this article notes that Active Directory Domain Services cannot be moved. Your scenario is outside of the scope of this article. See Disable Azure Active Directory Domain Services using the Azure portal for information that is more directly related to your scenario.
#please-close

So I kind of loose everything when I migrate my customers to ADDS??

There are no other ways to migrate this? I just have to wait untill the Azure AD Domain services enables move?? Do we have any kind of timeline when this service is supported for move across subscriptions?

@Anmolgan81 - these questions are best directed to support or to the product team that works on the service.

can I open a ticket and cc you in and you can help me out in reaching the product team?

@Anmolgan81 The User Voice is the appropriate channel for product recommendations and enhancements. This channel is for addressing specific issues related to the documentation. If you don't receive the appropriate attention on the User Voice, please feel free to reopen this issue and we can continue the discussion.


Fix Darwin framework operational advertising for new fabrics.

Bringing up a new fabric for the very first time was not correctly starting operational advertising for that fabric, because we were not propagating that state to the actual CHIPDeviceController.  It happened to work for existing fabrics, because bringing up the controller factory starts operational advertising for fabrics that are already known at that point.

Fast-tracking platform-specific fix with platform owner review.


I want to make a paint board,which can draw,erase,do and undo,or save,bu it cannot run

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

Hi @MinghaoKong
This platform is not meant for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this, you may also get some help if you post it on Stack Overflow. Closing, as this isn't an issue with Flutter itself, if you disagree please write in the comments and I will reopen it
Thank you


[embeddingapi][XWALK-3927]add use case to check XWalkActivity API

-XWalkActivity is a new API of the Embedding API. So just inherit from it like XWalkViewShellActivity, you can use XWalkView.
Impacted tests(approved): new 1, update 0, delete 0
Unit test platform: [Android]
Unit test result summary: pass 1, fail 0, block 0

Now XWalkActivity has been used in embeddinapi usecase. so just abort this one.


Fix the subscription annotation

generating invalid metadata.Labels for an already adopted Subscription resource
Signed-off-by: Sebastian Sch<EMAIL_ADDRESS>
Description of the change:
Motivation for the change:
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /doc
[ ] Commit messages sensible and descriptive

Removed ocp bug prefix, since this is the upstream repository
/ok-to-test

@kevinrizza is the failing a flake? or something my PR breaks

Hi @dinhxuanvu @timflannagan any update on this PR?

@SchSeba Apologies for the slow replies - our upstream e2e runs have been fairly red this past month, so that's been our focus. I can take a look at these changes today.

Hi @timflannagan any update on this PR?
do you want me to close it if you think is not necessary ?

Closing in favor of #2447 2731


Potentially Remove Support for EdgeHtml

In the Happy New Year, and v1 roadmap issue, zserge states:

If at some point Edge/Chromium becomes the default in Windows 10 - we will drop the support of EdgeHTML.

Ironically, EdgeHTML was left unsupported before IE11. It will no longer be receiving updates - most importantly - security updates.
MS Support Link
MS Blog Post
Webview2 (Edge/Chromium) is the default and only webview supported by MS on Windows. That said, I think we should remove support for EdgeHTML. We can tag the last commit with EdgeHTML support for anyone who needs the code later. What do you think, @justjosias or any other contributors?

I don't see any issue with it. Would make the code a little bit smaller with less to maintain.

I like the idea of making it easier to maintain, but we shouldn't take removing compatibility for some systems lightly. Many people are stuck on unsupported systems.
@vitalyster voiced opposition to the removal of MSHTML a while back. https://github.com/webview/webview/issues/305#issuecomment-576714913 (what's your opinion on removing EdgeHTML as well?)
Of course, EdgeHTML was never as widely used as MSHTML, nor had as much guaranteed support (as @dandeto notes), so it might not be reasonable to compare the two.
If we make a new tag and remove EdgeHTML support afterward, we should make sure to ensure stability, so no one's left with a broken version. Urgent fixes should be merged before considering removing EdgeHTML. What do y'all think?

We should probably wait for the remainder of the week at least for additional feedback. I'll draft a PR and link it to this issue in the meantime, so we can get a feel for what all will be removed.
Regarding stability, are there any outstanding PRs or urgent fixes that are lacking for EdgeHTML? I didn't see much when looking for EdgeHTML issues.

Any additional thoughts on this? Removal of EdgeHTML support should leave it with a stable API (now that we merged those set_html fixes) and give us developers one less platform to worry about.