[bug] recent changes exacerbate issue of switch turning back on in HA during transitions

Describe the bug
Changes made in response to #452 exacerbate the switch flipping back on in HA on my setup. Coincidentally, I inadvertently started up an old image from two weeks ago that doesn't have the flipping issue at all, suggesting interim changes are the cause. Regardless, #1453 makes it worse than it was before that PR. The issue is non-existent in a build off 1.0.0-alpha.2+9f99728.9f99728.
Device information
This is a GE 14294, with a step of 20 and a timing of 1 (10 ms).
Last Known Working Configuration

[ ] New device

[ ] Previously working device (node-zwave-js)

Which library version/docker image/adapter version?
Have you made any recent configuration changes to the device? Describe.

[ ] Previously working device (other platform)

Which platform?
Have you made any recent configuration changes to the device? Describe.

Installation information
How did you install node-zwave-js?

[ ] zwavejs2mqtt (latest) docker image
[ ] zwavejs2mqtt (dev) docker image
[ ] ioBroker.zwave2 adapter
[ ] Pkg
[X ] Manual Docker build

node-zwave-js branch: master
zwavejs2mqtt branch: master

[ ] Manually built (as described in the docs)
[ ] Other:

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '...'
Scroll down to '...'
See error

Additional context
Add any other context about the problem here.
Logfile:

I'm planning to test the PR in a little while and will report back.

I'm planning to test the PR in a little while and will report back.


feat: allow localStorage.dxlog to override config

Rework of https://github.com/dxos/dxos/pull/5931
Motivation / Background
e.g. so you can localStorage.dxlog='{ "filter": "messaging:debug,info"}' in the browser console.

@wittjosiah thanks for the 👀 ! Seems like there's an increasing amount of (internal?) developer documentation like the usage of things like this, log filter format in general, debugging, etc we should try and maintain. Do you think REPOSITORY_GUIDE.md is a good place for that?

@nferch repo guide seems like as good a place as any 👍


Problems with disconnects

Describe the bug
I know that #663 was already brought up, but ttyd seems to disconnect frequently if I leave it alone for 20 seconds or more, and sometimes even when I'm actively using it. It also used to automatically reload the page whenever I'd log out of my shell, but now it just freezes at "Connection Lost".
To Reproduce
Steps to reproduce the behavior:

Leave shell for about 15-30 seconds

Disconnects

Run exit or logout

Disconnects

Expected behavior
A clear and concise description of what you expected to happen.

Shell should remain connected for a while after I leave it on

Run exit or logout

Brings you back to to login page

Screenshots
If applicable, add screenshots to help explain your problem.
Environment:

OS: ChromeOS  90.0.4430.100 (64-bit), Void Linux, Arch Linux
Browser: Chrome 90.0.4430.100, Firefox 84

https://user-images.githubusercontent.com/34890978/117066844-42a5e500-acf7-11eb-9313-4d2a0cbf4eef.mp4
Additional context
Add any other context about the problem here

If you disabled reconnect, It will freeze at "Connection Closed" until you refresh the page, it was by design. I've added a press enter to reconnect on master (#628), you may want to try it.

disconnect frequently if I leave it alone for 20 seconds or more

Is ttyd behind a proxy? check if #519 works for you (specify an interval <20).

I forgot to mention this, but I can't get on the master branch because debian's libwebsockets is very outdated and other methods of getting it don't work.


cannot call Lookup on a closed database

Hi,
thanks for the module, it works great generally speaking. However, after reloading Caddy, I start seeing lots of
caddy[3183269]: {"level":"warn","ts":1692868949.610951,"logger":"http.matchers.maxmind_geolocation","msg":"cannot lookup IP address","address":"<snip>:56631","error":"cannot call Lookup on a closed database"}

messages in the log and the matching stops working. Restarting Caddy fixes this (until the next reload).
This error seems to come directly from maxminddb-golang: https://github.com/oschwald/maxminddb-golang/blob/main/reader.go#L135
Just spitballing here, but I'm assuming Caddy closes the module/open file on reload somehow, but the module attempts to keep accessing the existing handle, or something like it?
We're using Caddy v2.7.4 h1:J8nisjdOxnYHXlorUKXY75Gr6iBfudfoGhrJ8t7/flI=, maybe this is a new interaction between newer versions of Caddy and the module? Let me know if there is any more useful info I could provide to help debug this.

Hello @lutoma and @wkeiuluf ,
thats sucks, and what sucks the most is that I didn't find a way to reproduce this. I tried reloading Caddy several times and I still got successful results after the reload.
I took a look to maxminddb-golang and yes, it triggers the error if the buffer is nil. But the buffer is set to nil only if one explicitly calls Close(), and i call Close() only on cleanup.
So there's only a reason why this can happen: the module instance is used by Caddy after Cleanup() is called!
According to the Caddy module lifecycle documentation, the cleanup is performed only when the module instance is no longer needed, and I'd expect this not to happen actually. It may be a Caddy bug that happens in some specific occasions, bug that's to be verified.
Meanwhile, I pushed a change to a branch that just tries to re-open the database if it has been closed; it's not my preferred way of doing this so I'm not sure I'll merge it, I'd prefer to better understand what's going on here that closes the file. However, I'd need your help to understand if this fixes things for you, since as I said I didn't find a way to reproduce.
Can some of you please try building Caddy with the version from the branch and confirm me that's fixed? Here's how to do it:

Install golang and xcaddy
Clone this repository: git clone https://github.com/porech/caddy-maxmind-geolocation.git
Go in the repository folder: cd caddy-maxmind-geolocation (you'll be on the main branch now)
Build Caddy: xcaddy build
You'll now find a caddy binary in the folder. Try running it in your environment and reloading; the problem should still be present
Switch to the branch with the fix: git checkout fix/lookup-on-closed-database
Build Caddy again: xcaddy build
Run caddy again from the generated binary. The problem should be gone.

After ensuring this fixes things for you, I'll better understand what to do next.
Thank you!

I stumbled across this issue, while testing an upgrade from 2.6.4 to 2.7.x
After randomly clicking around the site eventually it would just be a blank white page, nothing showing in the dev console etc.
I went down the rabbit hole of building 2.7.3-2.7.6 with the required add-ons
The moment I went to 2.7.3, I had this issue, where it went blank, if I wanted long enough and tried a refresh I would get a page back and then enough refreshes/clicks and I'd once again get the blank page.
I then turned on and checked the error logs and sure enough I had this same message.
I've tested building 2.7.6 with your lookup-on-closed-database branch, and I so far have not been able to reproduce the white page error
Hope this helps

Thanks for feedback @Daniel-Nldr !
I think I'll merge it then.


Missing credential_preview in Credential Offer for AIP2 JSONLD credentials

This error appears to be caused by a mismatch in the implementation of the protocol for API2.0 credential offer between aca-py and AFJ (for JSONLD credentials)
This is the format we expect in AFJ…

But it looks (from the error message we see in AFJ validation of the incoming offer message) as if aca-py is not including the credential_preview object. It appears to be optional for credential proposals but mandatory for credential offers:
See protocol specification here:aries-rfcs/README.md at main · hyperledger/aries-rfcs Search for credential_preview. You will see it is optional for propose credential, but mandatory for offer credential.
For AFJ we add this field but it is empty as although mandatory according to the above protocol, it is not used in JSON-LD credentials. Note the attribute array is empty in the above image of an AFJ credential.

Closing as stale -- reopen if needed.


how to use options to scroll vertical item in cube slide

Cube tip]:  The property "allow-vertical" is deprecated, please use the recommended property "options" to replace it. Details could be found in https://didi.github.io/cube-ui/#/en-US/docs/slide#cube-Propsconfiguration-anchor

https://better-scroll.github.io/docs-v1/doc/en/options.html#eventpassthrough
value vertical
We need to update bs/docs link


Return exit code 0 for corrected offenses

Currently when autocorrecting a file, yalphabetize returns a non-zero exit code even when all offenses have been successfully fixed.  This has created issues for some tooling (such as CI, or pre-commit hooks), since the failure returned by yalphabetize, can subsequently cause the rest of the toolchain to fail as well.
This PR modifies this behavior so that a non-zero exit code will be returned only if uncorrected offenses are still present.  This aligns with how exit codes are handled by other formatters such as eslint and prettier

@samrjenkins just following up on this.  Please let me know if there's anything I can do to help assist with verifying the new output behavior.

@krevels sorry for the delay on this. Work has been busy this month and is taking all of my screen time 😵💫
I will be able to take a look this weekend.

@krevels, I am looking at this today. Sorry for the delay.


MM241-Assignment (2352626_2352286_2352769_2352860_2353028)_Team28

[MM241 - Assignment] Cutting stock problem (2D - CSP) - Team 28
This is our contribution about this 2D - CSP. This description consists of  3 part:

List of our member
Our alogrithm
Result (Time, Trim loss and field ratio)

Students
Students' ID
Group

Trần Phan Đăng Khôi
2352626
Group CC01 - Team 28

Đinh Ngụy Nguyệt Hà
2352286
Group CN02 - Team 28

Vũ Nhật Minh
2352769
Group CN02 - Team 28

Nguyễn Lê Minh Nhật
2352860
Group CN02 - Team 28

Nguyễn Kiến Quốc
2353028
Group CN02 - Team 28

In this 2D - CSP, we use 2 solutions:

HeuristicOptimzer which is the combination of 2SGP and 3SHP.
Advantage Actor-Critic Algorithm, which is known as A2C solution.

We have mentioned these alogrithm in our report clearly.

Result
A2C

Heuristic

Please revise the PR in Dec 16. Otherwise, your group will get 0 score for code.


npm ignore tsconfig.json

fix ts server "could not find input file" error.
PR Checklist
Please check if your PR fulfills the following requirements:

[√ ] The commit message follows our guidelines: https://github.com/nestjs/nest/blob/master/CONTRIBUTING.md
[  ] Tests for the changes have been added (for bug fixes / features) - no need
[  ] Docs have been added / updated (for bug fixes / features) - no need

PR Type
What kind of change does this PR introduce?

[ √ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior?
preserving tsconfig.json file after publishing. It causes ts server logs "could not find input file" error.
Issue Number: N/A
What is the new behavior?
ignore tsconfig.json file when publishing.
Does this PR introduce a breaking change?
[ ] Yes
[√ ] No

Other information

Thank you!


0.18.0: plugin:prettierx/@typescript-eslint configuration is not available anymore

Presets removal is not clearly documented.
~/SAPDevelop/poolifier-git (master ✘)✹ ᐅ npm run lint:fix

><EMAIL_ADDRESS>lint:fix /Users/I339261/SAPDevelop/poolifier-git
> eslint . --fix

Oops! Something went wrong! :(

ESLint: 7.25.0

ESLint couldn't find the config "plugin:prettierx/@typescript-eslint" to extend from. Please check that the name of the config is correct.

The config "plugin:prettierx/@typescript-eslint" was referenced from the config file in "/Users/I339261/SAPDevelop/poolifier-git/.eslintrc.js".

If you still have problems, please stop by https://eslint.org/chat/help to chat with the team.

@jerome-benoit you're right, sorry for that.


Does Microsoft provide backend support for MySQL services? If not whom shall we procure the support from?

[Enter feedback here]

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

ID: e9b14206-ecc7-c437-dfb7-283be7faf482
Version Independent ID: d3559753-5579-a08b-bfcb-4202b2395a5f
Content: Create highly available MySQL databases - Azure Stack Hub
Content Source: azure-stack/operator/azure-stack-tutorial-mysql.md
Service: azure-stack
Sub-service: azure-stack-hub
GitHub Login: @BryanLa
Microsoft Alias: bryanla

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

Hello @habeebth7
Following are the options to host MySQL server on Azure:

Azure Database for MySQL - This option is a fully managed MySQL database engine based on the stable version of MySQL community edition. This relational database as a service (DBaaS), hosted on the Azure cloud platform, falls into the industry category of PaaS
MySQL on Azure VMs - This option falls into the industry category of IaaS. With this service, you can run MySQL Server inside a managed virtual machine on the Azure cloud platform.

You can go through this documentation for additional details. Please let me know if you have any additional questions. Thank you!

@ChaitanyaNaykodi-MSFT ... Thanks for the quick response. Our query was related to Azure Stack.  We see MySQl from Bitnami on Azure Stack. What level of support microsoft provide for such third party images/solutions? OS Level? application Level or not at all?
MS DOC https://docs.microsoft.com/en-us/azure-stack/operator/azure-stack-tutorial-mysql?view=azs-2102 speaks about Bitnami image. Does this mean Microsoft is responsible for supporting entire solutions including VM OS & MYSQL applications.?

Hello @habeebth7, thank you for clarifying the question. As per this FAQ documentation

Publishers are responsible for providing technical support for their products on the Azure Stack Hub Marketplace.

Please go through this FAQ documentation as well for additional details on how you can get support for commercial marketplace products.
Hope this helps answer your question. Please let me know if you have any additional questions. Thank you!

Thanks, clear. I will contact Bitnami for the support. Appreciate your help.

Glad I could help. We will now proceed to close this issue out. Please tag me in your response if you have any additional questions. Thank you!


No audio output after upgrading to 1.1.8-rc3

I'm a little embarassed since I had the problem before and cannot solve it now.
After upgrading to 1.1.8-rc3 + spotify edition, I don't have any sound output at all.
I have the hifiberry dac+ installed.
With 1.1.7 it worked fine. Can anyone give me a hint where to look at, as I am not the linux/raspberry specialist.?
I checked  /etc/asound.conf according to https://support.hifiberry.com/hc/en-us/articles/205377202-Adding-software-volume-control.
I checked /etc/mpd.conf according to my own thread https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/195

This has to be some config issue.
I can hear the bootup sound, but after that silence

Solution:
Deactivate the gpio script:
sudo systemctl disable phoniebox-gpio-buttons
Downside of this: GPIO pins cannot be used

Hmm, not a solution for me...

because it'S not working or because you lose the gpios?

Did not try, but no buttons are no option, I would stay with 1.7. Since I don't have a hifi berry, I'm not shure it's the same problem for my USB Soundcard.


LSP rename does not works

Describe the bug
local bufopts = { noremap = true, silent = true, buffer = bufnr }
vim.keymap.set('n', '<leader>gr', "<cmd>Lspsaga rename<CR>", bufopts)

https://user-images.githubusercontent.com/22212259/212540765-a4b534a7-8843-4da4-8bf9-ea397a1b7205.mov
After enter key is pressed rename is not performed. I tried with rust and python (pyright) it fails to rename in both of these language. However, rename using native neovim functionality vim.lsp.buf.rename() is able to rename in all cases.
    use({
        "glepnir/lspsaga.nvim",
        branch = "main",
        config = function()
            require('lspsaga').setup({
                symbol_in_winbar = {
                    enable = false,
                },
            })
        end,
    })

Steps to reproduce
N/A
Expected behavior
Rename should be performed for the symbol under the cursor after "Enter" key is pressed.
Neovim version (nvim -v)
v0.9.0-dev-696+g909abfbd8
Operating system/version
macOS Ventura
Terminal name/version
iTerm2
$TERM environment variable
xterm-256

@glepnir I think the commit that fixes this bug introduced other breakages, right now I'm getting
Error executing vim.schedule lua callback: ...ocal/share/nvim/lazy/lspsaga.nvim/lua/lspsaga/rename.lua:207: attempt to index local 'change' (a nil value)
stack traceback:
	...ocal/share/nvim/lazy/lspsaga.nvim/lua/lspsaga/rename.lua:207: in function 'handler'
	/usr/share/nvim/runtime/lua/vim/lsp/buf.lua:480: in function 'handler'
	/usr/share/nvim/runtime/lua/vim/lsp.lua:1383: in function ''
	vim/_editor.lua: in function <vim/_editor.lua:0>

whenever I try to use rename

quickly fix is rename.whole_project = false. and create a new issue I need more information


Docs: one example needs to be expanded on

The following is the discussion with Steve Watanabe. It looked like you were up to provide some example. I copy it here as a "todo" item.

Unless I'm misunderstanding something, the use  of trap_exception will fail to compile at:
d *= velocity;

Hmmm - why do you think that?
This is an example take from a real project - (for the tiny PIC
processor).  I didn't make clear but LEMPARAMETER is a typedef
for a 16 bit integer.  So this should never trap...
Damn - I see you're correct here.  Now if I had written
d = velocity * velocity;
I would be golden!
Nope, then there is the possibility that the d can't fit into a uint16
so it could still be wrong.  I guess this illustrates the impossibility
for normal people to actually write demonstrably correct code.
I'm thinking the example should look more like:
// return value in steps
/*
Use the formula:
    stopping dist = v **2 / a / 2
*/
uint16 get_stopping_distance(LEMPARAMETER velocity){
    return velocity * velocity / lem.acceleration / 2;
}

That should be provable correct !!!
Damn - the correct return of uint16 can't be guaranteed at compile
unless we do:
constexpr uint16 get_stopping_distance(LEMPARAMETER velocity){
    return velocity * velocity / lem.acceleration / 2;
}

and only call with constexpr argument.
Ahhh - finally I see your point.  assignment using d as
an accumuator loses the range calculated at compile time
so subsequent operations can't be guaranteed to not
overflow.
I'll expand discussion of this example.

I've lost the context of this example.  I can summarize the the question in the following way:
using velocity_t = safe<std::uint16, trap_exception>;
using acceleration_t = safe<std::uint16, trap_exception>;
using distance_t = safe<std::uint16, trap_exception>;

// will fail at compile time because it cannot be guaranteed to not overflow
distance_t  get_stopping_distance(velocity_t v, acceleration_t a){
    return v * v / a / 2;
}

// will pass at compile time if arguments are such that the result doesn't over flow
constexpr distance_t get_stopping_distance(velocity_t v, acceleration_t a){
    return v * v / a / 2;
}

using distance2_t = safe<std::uint32, trap_exception>;

// will always pass at runtime regardless of arguments
distance2_t get_stopping_distance(velocity_t v, acceleration_t a){
    return v * v / a / 2;
}
// will always pass at compile time and runtime regardless of arguments
constexpr distance2_t  get_stopping_distance(velocity_t v, acceleration_t a){
    return v * v / a / 2;
}

a) the above is my intention
b) and represents the way things work now
c) I'm not sure whether this is clear from the documents, examples, etc.  If it's not let me know.


SnapshotStorageRebuilder: Optimize for single append-vec per slot

Problem

SnapshotStorageRebuilder was written at a time when we could have more than 1 append vec per slot
We can not longer have more than 1 appendvec per slot

Proposed Solution

Optimize the code with this assumption. Particularly:

    /// Snapshot storage lengths - from the snapshot file
    snapshot_storage_lengths: HashMap<Slot, HashMap<SerializedAccountsFileId, usize>>,
    /// Container for storing snapshot file paths
    storage_paths: DashMap<Slot, Mutex<Vec<PathBuf>>>,

do not appear to be optimal way to store these temporarily

@brooksprumo @alessandrod this popped into my head seeing some of your recent work wrt this file and discussions on AppendVecId


Register ekingorpe

Is it going to be merged?

For "https://links.dev/Overflow-EquinoX" , it says "Page not found". Did I do something wrong?

For "https://links.dev/Overflow-EquinoX" , it says "Page not found". Did I do something wrong?
@Overflow-EquinoX it is because you registered for this username "ekingorpeoglu"


Add ClientOption to override GRPC DialOptions

@jba
This is a possible method of providing custom auth and other gRPC level options, including WithInsecure(). Let me know what you think. I opted to set a default here because there's a context based call, but the TLS + OAuth code can also be moved to the client initializer.

[Current coverage][cc-pull] is 88.24%

Merging [#22][cc-pull] into [master][cc-base-branch] will increase coverage by 0.68%

@@             master        #22   diff @@
==========================================
  Files             6          6
  Lines           273        272     -1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            239        240     +1
+ Misses           34         32     -2
  Partials          0          0

Powered by Codecov. Last updated by [87f5c36...62f7485][cc-compare]
[cc-base-branch]: https://codecov.io/gh/googleapis/gax-golang/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/googleapis/gax-golang/compare/87f5c36137b663c47a84f451c84900acb365a86c...62f7485670e8af8242d93f1ab040e97b615d5c7f
[cc-pull]: https://codecov.io/gh/googleapis/gax-golang/pull/22?src=pr

This works for me.

LGTM.


feature: add usage forecast

Description
The usage forecast is passed as a new column of the device constraints and later incorporated as a Pyomo parameter. This parameter is used in the device_bounds constraint as an extra component. Multiple components can be defined in the flex-model using the QuantityOrSensor syntax:

Sensor

{
    "usage-forecast" : [
        {"sensor" : 1},
        {"sensor" : 2}
    ]
}

Constant value

{
    "usage-forecast" : [
        "10 kWh",
        "40 kWh",
    ]
}

Further Improvements

Revise/Test definition of capacity_in_mw. For example, using a capacity of 2MW, allowed me to charge 2MWh every 15min block while it should be 500kWh.

TODOs

[ ] Add field to API docstring
[ ] Add field to documentation
[ ] Use field consumption_is_positive. By default, the usage forecast sign interpretation is (+) increase stock level (-) decrease stock level.

Related Items

Issue https://github.com/FlexMeasures/flexmeasures/issues/886
PR https://github.com/FlexMeasures/flexmeasures/pull/897

[X] I agree to contribute to the project under Apache 2 License.
[X] To the best of my knowledge, the proposed patch is not based on code under GPL or other license that is incompatible with FlexMeasures

Please remind me: do we still have an unresolved issue in terms of having a test pass that we expected to fail (because of an unsustainable usage forecast)?

Yes, other than adding a resampling factor for the sensor, the current test should fail as we are providing the value power_capacity as the energy value to each 15min interval..

Black is failing after your last merge. Feel free to merge after resolving.


Update Footer UI

feat:Adding better UI in footer section #637

Title:feat:Adding better UI in footer section #637
Issue No. :#637
Code Stack :
Close #<issue_no>

Description
**Hey @apu52 I change the website footer user interface that is looked user friendly for the user. My changes included in this issue are:

Cahnge the footer section background by gradient color if the user hover into the section.
Change the better interface of that section, Included Social Media icons in that section for better user interactivity.**  I would like to review my PR and merge it kindly.

Video/Screenshots (mandatory)

Screen Recording
Type of PR

[ ] Bug fix
[X] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Checklist:

[X] I have performed a self-review of my code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have gone through the  contributing.md file before contributing

Additional context:

Are you contributing under any Open-source programme?
Yes

What should I do then tell me? Why this happened all the time! And you close my pr?!

@apu52 What should I do then tell me? Why this happened all the time! And you close my pr?!

Actually someone else /another contributor is also working on other issues with Footer , that's why the conflicts are constantly arising in your PR & I am closing your PR on the account that You will not face any type of conflicts farther ,
Just want to suggest u just update your branch/ make a new branch & push all of the changes there , now I think u will not face any type of conflicts .
Eager to see your PR .HAPPY CODING !!!!!!!!!!!!!

Please next time don't close my PR's.I work alot for those PR's


Similar / competitors / alternatives

https://stimulusjs.org/handbook/building-something-real

Just selector-observer, that's it

https://github.com/WebReflection/qsa-observer


align experiments.css behavior with webpack when support mini-css-extract-plugin

Currently we don't align experiments.css behavior with webpack for the following reasons:

legacy browser support
custom css module support

both these features can be supported by mini-css-extract-plugin with css-loader, so when we support mini-css-extract-plugin we should consider  align with webpack, which includes

set experiments.css to false by default
align css chunk loading and code generation logic with webpack

Maybe we should align experiments after Webpack implements

css-module names option
exports type not only namespace

Maybe we can co-op with them like making PR for themÏ
Because current css-loader strategy have too much impact for performance

bump


Pyspark dataframe unittest class

A class with methods like "assertDataframeMatches" and "assertEqualSchema"

closed by #16


Create coverage UI

Description of changes:
Add Coverage UI and accompanying features.
User code:

Dependency code:

Resolved issues:
Resolves #114
Related RFC:
Line Coverage RFC
Call-outs:

Testing:

How is this change tested?

Is this a refactor change?

Checklist

[x] Each commit message has a non-empty body, explaining why the change was made
[x] Methods or procedures are documented
[ ] Regression or unit tests are included, or existing tests cover the modified code
[x] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

We need a warning dialog that pops up when using the feature. Just needs to say that the feature is unstable.

Added a warning pop up when the user clicks on the coverage action.


How to run few-shot on imagenet?

Hi,
Thank you for the great work! I'm trying to replicate your results on ImageNet under the few-shot setting, but couldn't find the running script. Could you please share the running script with me? Thank you!

The code for that will be the same as the full-shot finetuning, however you will have to create few-shot dataset from your full-shot ImageNet data.
I would suggest you to run the code on around 50 random samples of fewshot training data (say 16). For validation too, you can sample a disjoint set from the training data if you want to early stop.

Thank you so much! So I just need to set  --train-dataset=ImageNet16, and use the full-shot fine-tuning script to run 50 times, would that be fine?


Write_and_run() of modpath and modflow not consistent

nlmod.modpath.write_and_run(mpf, remove_prev_output=True, nb_path=None)
nlmod.sim.write_and_run(sim, ds, write_ds=True, script_path=None, silent=False)

fixed with a commit to dev


Allow flowcontrol/v1beta3

This PR:

allows the chart to detect and use the flowcontrol v1beta3 API

Checklist

[x] Update changelog in CHANGELOG.md.
[x] Make sure values.yaml and values.schema.json are valid.

Tested the full upgrade path from v25


(FIX Issue #87) Correct Config to accurately set UserContext

The proto lacked userContext which led to not able to set values correctly for current session & user context.
What changes were proposed in this pull request?
client.Config() function proto lacked UserContext
Why are the changes needed?
photo requires a user context that was actually omitted in the development and was not caught since the call seemingly work, but does not set the value in the correct context.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Setting spark.sql.ansi.enabled to true (default false) and running a ansi violation cast as well as getting the value from spark.sql using set and using Config.Get in a golang application.

Thanks for the fix, merging.


feat(nuxt): add nuxt module

In nuxt.config.js
{
  modules: [
    'v-tooltip/nuxt'
  ]
}

Why this –simple but extremely useful– PR wasn't merged yet? 😖

Can we please get this moving? @Akryum

Merge pls

Merge pls

merge please

Ping @Akryum

As PR repository has been deleted. I have created a nuxt module for my usage:
https://github.com/apgapg/v-tooltip-nuxt
You can use this module till the official release.


fix the link to migration guides

Codecov Report

Merging #961 (22cfde7) into master (89449e4) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #961   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           36        36
  Lines         2136      2136
=========================================
  Hits          2136      2136

thank you


[BUG] [Data Plane] Make sure that undeployed use cases return correct response message

For the below use cases,

retrieve address
get order by id (4 cases)

If use case is not deployed yet, it will return error message like this:
{     "code": "notFound",     "reason": "Asset not found,key=mef.sonata.api-target.address.retrieve",     "message": "time:Tue Dec 03 05:48:37 UTC 2024, error: Internal Server Error, path:/mefApi/sonata/geographicAddressManagement/v7/geographicAddress/616575899533990016228f22",     "referenceError": "Asset not found,key=mef.sonata.api-target.address.retrieve" }
Expected:
"reason": "api use case is not supported :not deployed",

pass


Hardware Hacking

Thank you for curating this list.
I'd like to see a Hardware Hacking topical category.
Unfortunately, I do not currently know of any public/free ebooks that cover this topic to open a PR.
I hope, by calling it out, that others might know of some resources to share and make this list more awesome!

Thanks. Hardware hacking will be updated soon. If you get some public resources, please add it and send a PR.

Wanted a app to get info from android flip
Phone only have number and details
It’s my account my phone

You lost me there. What?

On Feb 23, 2019, at 6:34 PM, Mollisworld<EMAIL_ADDRESS>wrote:
Wanted a app to get info from android flip
Phone only have number and details
It’s my account my phone
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/Hack-with-Github/Free-Security-eBooks/issues/5#issuecomment-466727515, or mute the thread https://github.com/notifications/unsubscribe-auth/Aq2cWQMyaHKmySsvobVmYQYcfBEB6bx5ks5vQfpCgaJpZM4N6eXR.


Add documentation delimiters to example file

In order to enable the automation of updating the SDK code snippets within the developer documentation, delimiters have to be added to logically separate different code blocks pertaining to functions of the SDK.

This looks good to me!


Error in Prediction..

I'm working on this classify_leaves_flavia.ipynb code. And I'm facing an issue with the prediction part that the model predicts wrong species. I've tried lots of times. But its not working. So can anyone please help me out..! @AayushG159

I'm working on this classify_leaves_flavia.ipynb code. And I'm facing an issue with the prediction part that the model predicts wrong species. I've tried lots of times. But its not working. So can anyone please help me out..! @AayushG159

Am facing the same issue , everything works fine but only prediction part predicts only one species. Did you solve the problem ?. If you did can you please help me out ?


[🐛 Bug]: Next.js Link component not working

next-on-pages environment related information
System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 22.5.0: Thu Jun  8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000
CPU: (10) arm64 Apple M1 Max
Memory: 32 GB
Shell: /bin/zsh
Binaries:
Node: 16.14.2
Bun: N/A
pnpm: 8.5.1
Yarn: 1.22.15
npm: 8.5.0
Package Manager Used: npm
Relevant Packages:
@cloudflare/next-on-pages: 1.6.1
vercel: 32.3.1
next: 13.5.2
Description
Next.js Link component do not trigger client side navigation and always result in a page reload.
On top of that, the default prefetch behaviour results in 404 errors in the console

Reproduction
Create a new project with:
npm create cloudflare@latest my-next-app -- --framework=next

Add a second dummy page, and link to it from the home page. Deploy to Cloudflare pages and use the production url to see the issue described above
Pages Deployment Method
Direct Upload (wrangler pages publish or the @cloudflare/pages-action GitHub Action)
Pages Deployment ID
69ea45f8
Additional Information
Here's the link from my test project: https://69ea45f8.test-link.pages.dev
Would you like to help?

[ ] Would you like to help fixing this bug?

@dhmacs thanks so very much for the issue 🙂 🙏
It turns out that some changes on Vercel's side broke the prefetching and client side navigation, thanks so much for pointing that out 🙂
If you want please give #471's prerelease a try, it should solve the issue 👍


Possibility to add ID

Currently we are able to add "class" to button, can we do the same with "ids" please?
Thanks a lot!!

Hi! Ok why not! Just bumped to 1.3.0 which implements it.
Again don't hesitate to submit PRs for the features you need.
Have a nice day!

Thanks a lot!!!


Issue/129/hyperbolic mags

Added stages to the core module to compute hyperbolic magnitudes (Lupton et al. 1999). Includes:

code
example notebooks
unittests

See also issue #224 about the numerical precision in the unittests.
I had to add the external package hyperbolic to the docs/requirements.txt in order to be able to build the documentation.


zephyr_get(... MERGE) ignores local scoped variables

Describe the bug
Already defined local scoped variables are not considered with zephyr_get(... MERGE).
For example the variable set in below line is being cleared by zephyr_get(.... MERGE):
https://github.com/zephyrproject-rtos/zephyr/blob/3bf7f83f213f96daa9a17cd3ddd4cff0a200bb9d/samples/application_development/out_of_tree_board/CMakeLists.txt#L6
To Reproduce
Build https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/application_development/out_of_tree_board with trace output on and notice that the local scoped variable is cleared.
note: due to Zephyr also adding the current app dir as root search path, then no errors are immediately seen.
Expected behavior
The local scoped variable should be included in the list.
Impact
This is an oot of tree example, so users following the approach presented but with other paths may experience that things are not working.
Logs and console output
none
Environment (please complete the following information):
N/A
Work around
Set the variable as cache variable using set(<var> CACHE PATH ""), however this has the disadvantage of manipulating the cache and thus potentially conflict with user provided cache values.

Fixed by https://github.com/zephyrproject-rtos/zephyr/pull/57583

Fixed by https://github.com/zephyrproject-rtos/zephyr/pull/57583


Headers for 1.9.2-p330?

The latest 1.9.2 here is p320, and I'm pretty sure that's why this build fails: https://travis-ci.org/covermymeds/fetching-gem/jobs/45159114
How can I help?

Add 1.3.8 of this gem to your Gemfile to pick up this up


[FR] Check if the chart comply to all best practices

Check if the chart comply to all best practices:
https://helm.sh/docs/chart_best_practices/conventions/

Do you have a tool in mind to check that?

As far as I know, the only tools available are time and patience because it must be done by hand.

In this case, thats not a real FR or do you plan to open that issue after each merge or for for each PR? ;)
We can mention to stick to https://helm.sh/docs/chart_best_practices/ , but I see nothing more to fix this issue.

This FR is more of a reminder (for me) to do a one-time check and make sure we're starting from a good foundation.
Then of course it is up to each subsequent PR to verify that no non-compliance are created.
But there is obviously no way to guarantee it.
At least, we can write in the documentation to stick to the best practices by adding a link to the aforementioned page.
What do you think about it?

I added a note in the PR template.

I think this one can be closed. Otherwise it will stale forever as just a reminder ticket.


IWAA Calibration work compute resources

For the National Water Model we usually calibrate many gauges. In our last effort we calibrated around 1500 basins, and on average using 9 cores per basin. That adds up to roughly around 13500 cores that were used for an extended amount of time (ranging between two weeks to a month and half). The smaller basins will finish sooner and release the resources.
To my understanding of working for few days on Denali, there is only 232 nodes (9280 core). So the total number of cores available is less than what I usually use on Cheyenne. We probably could reduce the number of cores per model a little, or scale down on the number of basins we want to calibrate for the IWAA.
I think we want to let users know that there will be such large tasks that will take about a month or 1 month and half and will keep the queue busy. @rviger-usgs asking for dedicate node as you mentioned in other thread seems like a good idea.
Thanks!

(note this is related to https://github.com/hytest-org/hytest/issues/109)

Would this also be a good use case for doing on the Cloud?   This is not HPC work, but embarrassingly parallel work, right @arezoorn ?

I have zero experience myself on cloud, so it would be good if @ishita9 could comment also.  But here is my attempt to naser. There are two different things.
1- Pre calibration forcing cutout (which is not parallel, it is embarrassingly parallel). It is all IO. From the work that Mike Fienen and I were doing, and our previous NCAR work on cloud) my impression was that the download/upload is not great. It was taking a long time for Mike to upload one of these basins domain files (after cutout) to cloud. So my impression is that, it would be doable to do on cloud but probably pulling it down from cloud for next step would become an issue).
2- Calibration workflow: The workflow we has in intended and optimized for running on HPC. We run WRF-Hydro with more than one core usually for these exercise, and share the resources among different basins. Usually running few of these basins on one node but each basin is parallelize (MPI).
I do not think the time we have for this project allows us to go toward cloud base solutions. My understanding is that there will be a good amount of work that needs to be done to make it work at such a scale. We have done calibration on cloud with our current workflow, however for only a few basins. @ishita9 could comment further since she did all the backend work for the single basin calibration on cloud.
Thanks!
Arezoo

@arezoorn, okay, thanks for the detailed response.   Indeed, sounds not a good time to try cloud on those workflows (although I think it would be interesting at some point)

Hi,
I can comment on running Calibration workflow on the cloud. We have run Calibration experiments on cloud before but it was only for a 1-2 basins and on a single c6i compute optimized instances. Also, we were running it via docker on these instances to deal with environment issues. In order to run this scale of an experiment, as @rsignell-usgs suggested, we would have to use multi node implementation/cluster management infra like Kubernetes or potentially run it on hpc instances on AWS. However these multinode/hpc solutions have never been attempted before. Also moving data generated from the experiment back to Denali would also incur additional costs. So within the timeline, considering we need to implement, test and start by next week, going with the cloud solution might not be feasible.

@rsignell-usgs @amsnyder, maybe this experimentation should be part of what we include in our application to the Amazon Sustainable Data Initiative grant program?

Maybe it would be relevant to mention this here also as this is an ongoing effort. Mike Fienen and us are working on calibration WRF-Hydro with PEST++. It is right now at research phase, but I wanted to mention that Mike is working on the Cloud instance of it, and Ishita and I work on running it on HPC. We really wanted to make good progress to use it for the IWAA, but there is a lot to test and configure with PESP++ and we were not ready to suggest using it for such a big scale calibration effort.

Just an FYI re: Mike Fienen and us are working on calibration WRF-Hydro with PEST++. It is right now at research phase, but I wanted to mention that Mike is working on the Cloud instance of it, and Ishita and I work on running it on HPC.
The cloud instance is using HTCondor.

So, unless your current investigation topic works, is the conclusion that for the IWAA production timeline, the workflow will stay as it is currently built?
Did you also get a chance to discuss w/the ARC group whether reserving nodes to reduce queue times would be a benefit for both/either calibration or production runs?

So far the only solution we are sure it works is to use one node for a basin calibration. I am going to start some of the larger basins with exclusive nodes and get an estimate on how that will pan out timewise. But if we do not find another solution , we might have to stick to this plan. That means we can only calibration a subset of the 1500 basins at once (Max of 200 given there is only 232 nodes on denali).
Regarding the reserving nodes, we did not get to it. My apologies, I thought you are going to follow up on that one.  I could leave a message on Teams space if that is desired.

I am starting the first batch of 50 basins today which are the largest basins we have, I can give an estimate of how long will it take in a day or two. Sorry I do not have a better answer at this point.

@arezoorn no worries--we'll be glad to hear how the first batch goes.
We talked w/Jeff Falgout today. He is open to the idea of allowing us to reserve nodes for parts of your workflow where it makes sense. It's actually an increased weighting in the queue that we get. It's referred as a QOS (quality of service) weighting. He's on travel next week but will touch base with the staff that was helping you and see if he can think of anything they have not yet suggested--probably won't hear from him until the week after next. We should try to remember to touch base with him when he's back.


Adopt Packer googlecompute plugin 1.1.0

hashicorp/packer-plugin-googlecompute#135 ensures that startup-script failures will be detected as a reason to fail image building. This feature is part of the 1.1.0 plugin and we should require it
delete associated warning in README

Submission Checklist

[X] Have you installed and run this change against pre-commit? (pre-commit install)
[X] Are all tests passing? (make tests)
[ ] Have you written unit tests to cover this change?
[X] Is unit test coverage still above 80%?
[X] Have you updated all applicable documentation?
[X] Have you followed the guidelines in our Contributing document?

@heyealex I have triggered the build associated with the test Packer blueprint

Will merge after build 3 succeeds. A first try at the build failed due to an unrelated step.


Not getting any message in the output console when getting issue with git operation.

VSCode Version: 1.1.0-alpha
OS Version: Windows10
Steps to Reproduce:

launch app and open any folder which contains smoke test project.
Click on "Initialize Git repository" to map.
Click on more icon (...) and perform operation "Undo latest commit".
Verify error message should be displayed with below text.
Note:  This is expected as folder is not mapped with any GIT repo.
"There was an issue running a git operation. Please review the output or use a console to check the state of your repository."
Click on "show output" button and verify error message in the console output for git.

Actual: There is no error message showing up in the console output for GIT.
Expected: User should get info in the output window.

Error Message from Dev tool:
messageService.ts:119 There was an issue running a git operation. Please review the output or use a console to check the state of your repository.: Error: There was an issue running a git operation. Please review the output or use a console to check the state of your repository.
at Object.w [as create] (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:31:16710)
at file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:85:29479
at Object.p [as _notify] (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:16421)
at Object.__dirname.undefined.F.enter (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:19749)
at __dirname.undefined.t.Class.define._run (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:21070)
at __dirname.undefined.t.Class.define._chainedError (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:20429)
at n (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:18257)
at Object.p [as _notify] (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:16421)
at Object.__dirname.undefined.F.enter (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:19749)
at __dirname.undefined.t.Class.define._run (file:///C:/Program Files (x86)/Microsoft VS Code Alpha/resources/app/out/vs/workbench/workbench.main.js:23:21070)

Dup of #5838


move BlockNumberProvider

move BlockNumberProvider from sp_runtime::offchain::storage_lock to sp_runtime::traits
Useful for https://github.com/paritytech/cumulus/issues/514

bot merge

Does this need a Polkadot companion?

bot merge


Unable to get repose

I followed the readme instruction however I was not able to get the repose I gave it the prompt.
I get this error message instead

Hi, are you sure that you have entered a correct api key in your .env file?

@NatnaelGebremichael let me know, would otherwise close the issue.


LED doesn't change when Windows device is muted/unmuted

A button press will change the mute state of a Windows audio device, but the LED does not change.

Actually I found the problem but I need to run. I'll fix it later if you don't beat me to it.

All yours 👍🏼

That should do it!

Gonna build and upload in a second


Adding Face Counter Feature

Hi . I know it's not the package Mission for adding Face Counter , ('These are just little Points in the Face detected by Face LandMarks'), but my wish is to add this Feature as a second Feature beside
the Translation Feature. I searched in lots of Packages by using the Face Counter but i couldn't
find it, i just found it in one Package but it's just for Android plus that i have to remove some pre-installed Packages to make it work. But thanks for your awesome Work about the Translation Feature.

Hi, thanks for reaching out! The face counter feature sounds like something that would be added to the firebase_ml_vision package. I can try working on it, do watch for updates on that repository!

Okay thanks


Search & Sorting Markets

Allow a user to search the collection of markets and sort by various criteria

I've completed a solution for the "search" functionality, and separated the "sort" functionality into its own distinct issue: #206.
To realize the solution, I created a SearchStore and a SearchActions components. These can/should be leveraged for the "sort" solution as well.
I paid special attention to the following details:

debounced input so there are no hiccups as the user types

markets are continuously updated, so the search criteria needs to be re-applied on all changes

pagination needs to be reset upon search so that users don't end up on non-existent pages, or in the middle of the result set

changed body css from overflow-y:auto to overflow-y: scroll so that the scroll bar doesn't make the page jump around on different results (by disappearing and reappearing)

I am currently waiting for access to the repo to send the PR.

@thinkloop added search in<PHONE_NUMBER>8e4ffc2a198e6f3d93d7e08e05a91a.


Please add Denver, CO [we want to specifically address Senate Bill 217]

Subject: We Demand a People's Budget
Emails:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Detailed message:
I am a resident of Denver. I am writing to demand that the Denver and Colorado adopt a People’s Budget that prioritizes community wellbeing and redirects funding away from the police.
We will no longer accept empty gestures and suggestions of “reform.” This includes the statewide Senate Bill 217, being referred to as the “police accountability” bill. This bill does not do enough to address our systemic policing problems in our state and Denver. The bill will increase police budgets by $1.4 million, and will most likely increase spending on police departments even more in the future.
We are demanding that our voices be heard now, and that real change be made to the way this city allocates its resources. We demand to drastically reduce the Denver Police Department’s budget. DPD is overfunded and holds responsibility over community issues that they are fundamentally unable to address.  They have shown to be consistently racist and abusive ways towards Denver’s residents.
We demand that the City Council meaningfully defund the Denver Police Department. We join the calls of those across the country to #DefundThePolice. We demand a budget that adequately and effectively meets the needs of at-risk Denver residents during this trying and uncertain time, when livelihoods are on the line. We demand a budget that supports community wellbeing, rather than empowers the police forces that tear them apart.
We must divest from policing funds, and invest in a people’s budget. We are in the midst of a pandemic with severe economic consequences. Colorado unemployment is at historic highs, with more than 430,000 unemployment claims filed and processed since March 14th, 2020. The evictions and economic insecurity caused by COVID-19 will demand strength and resolve in our communities. Divesting from DPD and investing in our communities has never been more important.
I am eager to see how you will address these issues, which I will fight for until they are meaningfully addressed.
Thank you for your time,
[YOUR NAME] [YOUR ADDRESS] [YOUR EMAIL] [YOUR PHONE NUMBER]

Working on this!

Completed! PR #296

Thank you! I know this might be a silly request and if you can't change it,
no big deal. But I did notice a typo in the second sentence, "I am writing
to demand that the Denver and Colorado adopt a People's Budget that
prioritizes community wellbeing and redirects funding away from the police"
needs "the" taken out before Denver.
Not a big deal if it's not an easy change!
On Fri, Jun 5, 2020 at 2:18 PM Dora Zhao<EMAIL_ADDRESS>wrote:

Completed! PR #296 https://github.com/teddywilson/defund12.org/pull/296
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/teddywilson/defund12.org/issues/272#issuecomment-639778175,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP256AHRT63TX3TDWHM6DQ3RVFHJRANCNFSM4NUY2AQQ
.

--
Shelby Rahe https://shelbyrahe.cargo.site/
303-945-1330

Yes it should be fixed now! :)

#316

Hello, could I please have Jared Polis added to my email. His email is
<EMAIL_ADDRESS>Thank you!
On Fri, Jun 5, 2020 at 9:58 PM Sarah<EMAIL_ADDRESS>wrote:

Closed #272 https://github.com/teddywilson/defund12.org/issues/272.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/teddywilson/defund12.org/issues/272#event-3414111862,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP256ACEG6ZAPHL3JVQRBUTRVG5F3ANCNFSM4NUY2AQQ
.

--
Shelby Rahe https://shelbyrahe.cargo.site/
303-945-1330


[Feature] - Add Storybook GitHub Action deployment

We should deploy a copy of Storybook containing our Root.js Compose components and eventually Root UI components.

Will re-open or create a new bug once we start creating core root.js components.


Added .txt support for Android/ Fix for Issue #51

Plugin checks now either the intent has attached ExtraStream or a ExtraString... .txt-files are no longer handled as blank text

When will this pull request prioritized? I would appreciate having this.

i made a new pull request with the same solution but with all the actual changes of the main branch and without merge conflicts.
see pull request #198 . I will close this PR because #198 would be better


[26.07.2024 (EOB)] Delete catenax-ng tx-item-relationship-service repos

Is your support request related to a problem? Please describe.

with the end of the consortium, we will delete the Catena-X NG GitHub organization

Describe the solution you'd like

Delete https://github.com/catenax-ng/tx-item-relationship-service

Additional context

Delete repos on 26.07.2024 (EOB) not earlier,

Hi @mkanal thanks for the hint, but we do not need separate issues for the Catena-X NG deletion or read-only schedule, so will close the issue.  😉


Does AuthorizeFolder work with areas too?

Does AuthorizeFolder work with areas too? I tried with different approaches (e.g.: AuthorizeFolder("/Areas/Admin/Pages"), AuthorizeFolder("/Areas/Admin"), AuthorizeFolder("/Admin"), but it seems that I'm always able to access those areas even if I'm not authenticated

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

ID: f3a49eaa-a2ee-baac-e614-5e2f7c74072a
Version Independent ID: 09513dc8-546a-ea10-9f0b-cde361127647
Content: Razor Pages authorization conventions in ASP.NET Core
Content Source: aspnetcore/security/authorization/razor-pages-authorization.md
Product: aspnet-core
GitHub Login: @guardrex
Microsoft Alias: riande

@pranavkm

There's a separate set of overloads for areas - https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.dependencyinjection.pageconventioncollectionextensions.authorizeareafolder?view=aspnetcore-2.1#Microsoft_Extensions_DependencyInjection_PageConventionCollectionExtensions_AuthorizeAreaFolder_Microsoft_AspNetCore_Mvc_ApplicationModels_PageConventionCollection_System_String_System_String_

Thanks @fleed. Thanks @pranavkm. I'll get this asap, but I need to push it back a bit. 🏃🏃🏃🏃😅

Thank you @pranavkm , but how can I protect an entire area? The folderPath parameter is not optional.. does it work with an empty string?

/ would be the right value to use here.

Thank you all, I was facing the same issue and got it working with
// authenticated user only
options.Conventions.AuthorizeAreaFolder("Admin", "/");

// user with certain roles only
options.Conventions.AuthorizeAreaFolder("Admin", "/", "AdminRoles");


Fileshare linux mgmt

What is being addressed
The shared storage on Linux VMs is now mounted permanently, and under /shared-storage, not /fileshares/...
How is this addressed
The only changes were in templates/workspace_services/guacamole/user_resources/guacamole-azure-linuxvm/terraform/vm_config.sh, where the automount stuff was commented out and code added to update /etc/fstab instead.

...opened in the wrong place by mistake...


Proposal: Layered Model of Singer

When we talk about Singer, it's important to be sure that we're talking about the same things. One way to accomplish that is to organize around language. This proposal is to define a known set of "buckets" that we can use to help us as a group organize what is a Spec change, and what is a standard. What follows is my gut feeling of how these divisions could work, and is by no means completely correct or complete. 😄
Without further ado, I'd like to propose...
The Layered Model of Singer
Looking at Singer, there are a lot of design choices baked in around a core value of simplicity. The reasoning for this has always been to give developers the freedom and flexibility to make it what they want, since all data sources are vastly different, and one cannot effectively design for all future cases in the ELT space.
As we discuss evolving Singer as a whole and as a community, it will be important to take care to not lose the core value of simplicity that has allowed the space for best practices to be invented like those encoded in the current existing frameworks/libraries.
Approaching the stack as a layered model can give us a means of aligning where an idea fits, and a tool iterate organically to "upgrade" concepts from a framework feature to a codified standard to a spec change if it makes sense.
Layer 1: Specification
This is the current specification as it stands, some principles of features here:

Language agnostic and implementation independent
Focus on the std-out portions of using Singer (serialization format, message types, required keys for messages, etc.)

Layer 2: Standards and Best Practices
These are being tracked in #10, but as far as the initial design decisions of Singer go, this conceptually includes things like Command-Line Arguments, Catalog, Metadata Keys/Custom Metadata, Standard State Keys, etc.
Some principles here:

These are also language agnostic and implementation independent
They help standardize the nitty-gritty to make writing frameworks and libraries more easy
They strive to make code more portable, readable, and usable for users and devs alike.

Layer 3: LIbraries and Frameworks
This is where we get into the language specific stuff. Libraries like singer-python and/or singer-clojure or frameworks like the MeltanoSDK take the standards plus best practices and encode them in a way that makes sense for the patterns of each language. This is also a good place to be a test bed for things that might become standards.
Principles:

Language specific
Generic use cases
These influence the way that code is written for their specific language

Layer 4: Tooling/Orchestration/UX/Infrastructure
I'm not quite sure about this one, but these are things that don't seem to fit in the other layers, and kind of make up an analog to the "Application Layer" of the OSI layered model. This layer is included to be a spot to hold things that are in use on a specific industry, use case, deployment method, etc., but not quite ready to be standardized.
[Aside:] This layer could use the most work, but it seemed worth including here. My gut says that it's likely harder to standardize these kinds of things, since it'll be where our orgs' respective product offerings fall into a lot of the time, and with that comes IP concerns, specifics for our target users (e.g., technical vs. non-technical), a specific slice of the industry, and/or a more narrow set of use cases. That said, tools like singer-discover would also fall here, and fit into a standardization conversation more easily.

That's what I currently have been kicking around for this idea, and am excited to get it out there for feedback, very curious about thoughts on the specific categories as well as whether this approach is a good idea. I'd like to eventually get this defined enough to make it into a SIP to officially propose a model. Thanks for checking it out! I appreciate all feedback 🚀

@dmosorast thanks for putting this together. This would be worth putting into a blog post or formal document somewhere!
I really like this framing and this articulates how we've thought about Singer overall. We've always taken the approach when working on the Meltano SDK that any tap and target written with it should always be able to fall back to the purest form of the spec and should work on the command line with the pipe operator sending data.
We've also had a lot of discussions that anything that can flow "downward" to a lower layer absolutely should.  So instead of keeping something specific to Meltano or an orchestration framework, if it's appropriate to put in the spec, then that's where it should go.
I'd love for this to exist as a doc on either singer.io or some other neutral website!

Working on this in my fork of the repository here: https://github.com/dmosorast/Singer-Working-Group/tree/19-layered-model-of-singer


Add vcpkg additional install options

#1318

Vcpkg Additional Options refers to additional command line flags to pass to the underlying vcpkg tool invocation.
Close #1318


Need more width for Settings

In some languages the Settings windows doesn't show the full translations
Bulgarian and French

Portuguese and Spanish

and some others.
Also the title bar name is not changed when change the language. It needs to restart the SDC to show the selected language.

@rddim thank you for testing all the languages!


std::vector<boost::dynamic_bitset<>>unable to free memory

Hi，
I am using boost 1.66.0 version,  gcc/g++ -7, and I found when using std::vector<boost::dynamic_bitset<>>, it is unable to free memory when destruction, even using function swap(), resize(), reset(). it doesn't work.
The test program is show below
int main()
{
cout << "[ memory start] "  << getMemoryUsage();
{
std::vector<boost::dynamic_bitset<>> m_nodes;
m_nodes.resize(1000000 + 1);
uint64_t descriptor[4] = {1, 2, 3, 4};
for(size_t i = 0; i < m_nodes.size(); i++)
{
m_nodes[i] = boost::dynamic_bitset<>(descriptor, descriptor + 4);
}
}
cout << "[ memory end] "  << getMemoryUsage() << endl;
}
result is:
[ memory start ] 13
[ memory end ] 59
As the result show:
The memory of boost::dynamic_bitset can not release, so it is the problem.
Could you please confirm it, and tell me how to solve it?

I'm not seeing a memory leak here. What is getMemoryUsage, and what system are you running this on?
My test program (attached) reports that every allocation is paired with a deallocation. (Boost trunk, on Mac OS 10.14)
#include <vector>
#include <iostream>
#include <cstdio>

#include <boost/dynamic_bitset.hpp>

void* operator new (std::size_t count)
{
    void *ptr = malloc(count);
    ::printf ("Allocating %ld bytes at %p\n", count, ptr);

    return ptr;
}

void* operator new[]( std::size_t count)
{
    void *ptr = malloc(count);
    ::printf ("Allocating %ld bytes[] at %p\n", count, ptr);

    return ptr;
}

void operator delete(void *ptr) throw()
{
    ::printf ("deleting %p\n", ptr);
	free(ptr);
}

void operator delete[](void *ptr) throw()
{
    ::printf ("deleting[] %p\n", ptr);
    free(ptr);
}

int main() {
	{
	std::vector<boost::dynamic_bitset<>> m_nodes;
// 	m_nodes.resize(1000000 + 1);
	m_nodes.resize(10 + 1);
	uint64_t descriptor[4] = {1, 2, 3, 4};
	for(size_t i = 0; i < m_nodes.size(); i++)
		{
		m_nodes[i] = boost::dynamic_bitset<>(descriptor, descriptor + 4);
		}
	::printf("Exiting scope\n");
	}
}

Hi, thanks for reply.

system: ubuntu 18.04, boost 1.66.0 release version, gcc/g++ -7
getMemoryUsage() is code of get the program memory, it like command "busybox top"
here is the linux code of it:
unsigned long getMemoryUsage()
{
unsigned long MEM = 0;
FILE *f = ::fopen ("/proc/self/stat", "r");
if (!f) return 0;
if (!::fscanf(f,
"%*d %*s %*c %*d %*d %*d %*d %*d%*u %*u %*u %*u %*u %*u %*u%*d %*d %*d %*d %*d %*d %*u %lu", &MEM))
{
// Error parsing:
MEM=0;
}
::fclose (f);
return MEM/1024/1024;
}
For my test program, you can see after destruct of "std::vector<boost::dynamic_bitset<>>", the memory can not restore "13M",  that why I mean "std::vector<boost::dynamic_bitset<>>" has memory leak.

Hi, I also test std::bitset, the memory of this has not meomory leak, here is the test program
int main()
{
cout << "[ memory start ] "  << getMemoryUsage() << std::endl;
{
    std::vector<std::bitset <256> > m_nodes;
    m_nodes.resize(1000000 + 1);
    uint64_t descriptor[4] = {1, 2, 3, 4};
    std::bitset <256> tmp(ULONG_MAX);
    for(size_t i = 0; i < m_nodes.size(); i++)
    {
        m_nodes[i] = tmp;
    }
}
cout << "[ memory end ] "  << getMemoryUsage() << endl;

}
The result is:
[ memory start ] 13
[ memory end ] 13

AMDG
This is not a bug.  It's the normal behavior of memory allocation.
Allocators do not return memory to the system when it is deallocated,
as that would be horribly inefficient for multiple reasons.  Instead,
the freed memory will be reused on the next allocation.
In Christ,
Steven Watanabe

Ok, got it, thank you very much.


Fix/README.md Update

Description of the Change
Fixing errors of #2100 and updating info in README.md file
Benefits
Updated info
Possible Drawbacks
¯_(ツ)_/¯

I somehow managed to create a protected branch on the previous PR. Please check this one - I've made the suggested changes :)


new stories button alignment fix

Issue Number
fixes #157

Describe the changes you've made
Add btn-text-center class name in + New Story button in Navigation.js and add styles in navigation.scss file.

Describe if there is any unusual behavior (Any Warning) of your code(Write NA if there isn't)
NA

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] The title of my pull request is a short description of the requested changes.

Hello Priyanshu,
You need not delete config.temp.json file instead you should just copy and rename the new file to config.json in ./src directory and define your configurations there.
config.temp.json file is template for config.json.


Unable to overlay png image in annotation_renderer.cc

HI, I am new to c++ but exploring things in mediapipe.
I am working on iris_tracking project. I want to overlay color lens on eyes using png.
But before anything else I was trying to overlay a png over the frame like this but it gives error.
 cv::Mat lens = cv::imread(file::JoinPath("./", "/mediapipe/calculators/image/testdata/lens.png")); lens.copyTo(mat_image_(cv::Rect(0, 0, 100, 100)));
And if I simply do lens.copyTo(mat_image_); it gives me an image like this

How can i achieve something in this?
There is no proper documentation on how to do this. I have spent days trying different things.
Please also recommend me ways on how to achieve familiarity in this mediapipe framework in c++, because I want to learn it and use for my projects.

Hi @Hrituraj202, To start doing the MediaPipe in C++ then you should go through this https://google.github.io/mediapipe/getting_started/cpp.html#mediapipe-in-c . You can refer the code implementation and comments mentioned in the https://github.com/google/mediapipe/blob/ecb5b5f44ab23ea620ef97a479407c699e424aa7/mediapipe/util/annotation_renderer.cc for documentation. What is your use case with respect to the above query ?

HI @sgowroji, thanks for you response.
Actually I have been working on the iris_tracking project and trying to remove all the annotations.
I want to overlay a lens png image over the iris.
I am trying to implement a DrawImage method in annotation_renderer.cc just like other methods like.. DrawRectangle, DrawRoundedRectangle, DrawOval, DrawText, DrawLine, DrawArrow etc

I believe the mat_image_ inside annotation renderer is RGB format (CV_8UC3), make sure the loaded png image is also the same format


lib/cpp/src/thrift/windows/config.h: Added required static openssl libs

This PR adds a minor change to the build configuration. In the current implementation a number of libraries are missing on MSVC when linking OpenSSL static.
This PR adds three additional libraries to the set of required OpenSSL libraries on MSVC. There should be no downside to linking these system libraries.

[ ] Did you create an Apache Jira ticket?  (not required for trivial changes)
[ ] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[x] Did you squash your changes to a single commit?  (not required, but preferred)
[x] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[x] If your change does not involve any code, add  [skip ci] at the end of your pull request to free up build resources.

THRIFT-5109 Misc C++ improvements


Just cannot get it to work on NetBeans

Installed the generator through composer.
added the "scripts".
downloaded 'doctrine' (as per your package's request).
Cleared the artisan compiler.
used 'php artisan ide-helper:generate'
Then ran optimize artisan command
Then I used your example code for my User model.
I see the _ide_helper.php and the _ide_helper_models.php in my project root.
I'm still getting NOTHING showing up for autocompletion on ANY facade.
Thoughts?

Hello!, somewhat the same problem here. I use (love) Netbeans 8.0.2. Not trying to complicate life any further by changing my IDE mid-stream while also implementing the Laravel Framework with client's work. Is there any straight forward help/instructions on how to get Laravel projects to open up in Netbeans????

:+1:

I've had the same issue using the artisan ide-helper:generate version, however the gist L5 generated version works fine with NetBeans 8.2.
https://gist.github.com/barryvdh/5227822

In the _ide_helper.php file, modifies if and include method names because NetBeans cannot resolve these keywords

Is this still an issue for ppl here with the latest Netbeans version (12.0)?
https://github.com/barryvdh/laravel-ide-helper/issues/151#issuecomment-300432183 mentions some L5 generated version works for them to some degree.

In the _ide_helper.php file, modifies if and include method names because NetBeans cannot resolve these keywords

I only found two places:

If they're a problem, then it's definitely an issue with the IDE as this is allowed per PHP and other IDEs work fine with this.
In spirit this is similar to the problem in https://github.com/barryvdh/laravel-ide-helper/issues/655 , the IDEs lack support for certain features nor need IDE-specific workarounds.

I got round a lot of these issues by introducing a post processor for the ide helper which is called afterward via artisan inside the composer.json:
https://gist.github.com/Caffe1neAdd1ct/826e75a8448575442c464357efcfd429
        "post-install-cmd": [
            "@php artisan clear-compiled",
            "@php artisan optimize",
            "@php artisan composer:development"
        ],
        "post-update-cmd": [
            "@php artisan clear-compiled",
            "@php artisan optimize",
            "@php artisan composer:development"
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate",
            "@php artisan clear-compiled",
            "@php artisan optimize",
            "@php artisan composer:development"
        ]

Code is from an older project, but might work on newer versions of laravel / the ide helper file. It resolves a lot of the model / query builder completion issues inside netbeans 12.
To be honest some collaboration between the NetBeans PHP module team and Laravel would be great as it is one of the most used / popular frameworks.

Thanks for the gist!

replaceStatic
If I'm reading the regex correctly, Netbeans can't handle return types here

addEloquentExtends
Are you sure this one works as intended? The _ide_helper_models.php generated by the latest version creates code like this:
namespace App\Models{
/**
 * App\Models\SomeModel
 *
 * @property int $id
 * @mixin \Eloquent
 */
	class SomeModel extends \Eloquent {}
}

I.e. the regex for /class ([a-zA-Z]+) \{\}/ will not match anything?

addEloquentMethods
This adds the methods:

with
where
first

It looks to me this is a sign that @mixins are not supported, see https://github.com/barryvdh/laravel-ide-helper/issues/151#issuecomment-300432183

Unless I'm mistaken this all points to Netbeans not supporting things which other software (IDEs, static analyzers) can already for some time.
@barryvdh I don't see how ide-helper itself can improve more here at the moment, also here are many issues mixed, some which may be fixed already.
I vote for closing this :}
If there are truly things which could be done in ide-helper, separate issues with more focus on individual interop problems should be created, which are tested with recent versions of Laravel, ide-helper and Netbeans

@mfn  this was a very old project so most likely looking at the gist a laravel 4 one... would need adjusting for laravel 5/6/7
I'd agree with @mfn ide-helper does the best it can, Netbeans and the like need some work to start supporting the doc hints like other softwares have done for a while. I'll raise a bug report over on apache netbeans.

I'll raise a bug report over on apache netbeans.

@Caffe1neAdd1ct did you create one? If so, any cross reference you can paste?
(though I think it's likely we will close this issue, not much practical benefit)

@mfn Not yet i'm afraid, with the rapid releases of PHP versions combined with the move over to the Apache foundation the team there had their hands full. I'll get something raised but interested to see what the differences between NetBeans and PHPStorm's autocomplete via docblocks are so the NetBeans team know exactly what is missing... Anyone have a list?
This issue as you say has no practical benefit to the laravel-ide-helper but it would be nice to feed back to the NetBeans PHP module team what we are missing as a PHP community in that IDE :smiley:

I'm closing this now, basically for the same reason why we closed https://github.com/barryvdh/laravel-ide-helper/issues/654 and a few other issue:

This file is IDE agnostic and it's up to the IDE to support this; unless there's some specific bug to point out, this should be taken to the IDE vendor

This issue simply has no actionable for the laravel-ide-helper project itself, everyone using Netbeans is encouraged to raise an issue with it or implement it themselves.


Dev

PR Summary into Azure/mlops-project-template
Checklist
I have:

[ ] read and followed the contributing guidelines
[ ] PR has a meaningful title
[ ] Summarized the changes
[ ] PR is ready to merge and NOT ** WORK IN PROGRESS **

Changes

fixes #

Closing this PR without merging after discussing it with Giulia


Update README.md

Pull Request Test Coverage Report for Build 693616252

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

Totals

Change from base Build 693451135:
0.0%

Covered Lines:
2929

Relevant Lines:
2929

💛  - Coveralls


Allow pinning from the chat list

Problem: Currently, in order to pin chats in Newdot, you need to open the chat and do it from there. Now that we are using all these rooms in ECX, I’m finding it frustrating. My instinct is to long press the chat on the chat list to pin/unpin it from there.
Solution: Let’s leverage the long press/right click menu we have for report actions for the chats in the chat list. We can add the Pin/Unpin option there and simplify that action for everyone. Bonus: We can also add a “Mark as read” option in there pretty easily.
Slack conversation here. I plan to add the menu and pinning for now. After that, I'll create issues for other options in the menu
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0162e137607f85a84b
Upwork Job ID:<PHONE_NUMBER>050407936
Last Price Increase: 2023-03-14

Job added to Upwork: https://www.upwork.com/jobs/~0162e137607f85a84b

Triggered auto assignment to Contributor Plus for review of internal employee PR - @eVoloshchak (Internal)

This issue has not been updated in over 15 days. @eVoloshchak, @Gonals eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@Gonals Looks like another one for the $1000, correct?

Hah, yes, I saw that! I'll get both paid today 👍

Offer sent here: https://www.upwork.com/nx/wm/pre-hire/c/8577561/offer/25165941
@eVoloshchak You declined it?

Yeah, I wasn't C+ for this, I think I goy assigned by mistake?

Yeah I just figured that out - and then confused myself a whole lot because of how similar your and @0xmiroslav 's avatars are. THANK YOU

Ok, offer sent to the correct person this time: https://www.upwork.com/nx/wm/pre-hire/c/8577561/offer/25166080
Once that's accepted, I'll pay it

Ok, there we go! @0xmiroslav paid, contract ended. All done, thanks


datanodes.tsv has odd database entries and missing mappings

Not sure what should be in the Database column now that we have curies in the Identifier columns, but I'm pretty sure this isn't correct :)

Label
Type
Identifier
Database

Triglycerides
Metabolite
chebi:17855
Ce:CHEBI:17855:T

Lrp1
GeneProduct
ncbigene:16971
L:16971:T

https://github.com/wikipathways/wikipathways-database/blob/main/pathways/WP1/WP1-datanodes.tsv
And the mappings for ncbigene entries to other ID types are missing.

@hbasaric fixed it: https://github.com/wikipathways/meta-data-action/pull/6/commits/8b400df5bb1493e57344c9e45163154815e63c20


[Debugger] Cannot debug init methods

Description:
Cannot debug init methods such as package init, service init etc
Steps to reproduce:
Create a bal file which has a constant which gets its value from a function.
ex -
const int test = test1();

public function main (string[] args) {

    println("Hello, World! " + test);
}

function test1() (int) {
    int value = 9;
    value = 8 + value;
    value = 6 * value;
    return value;
}

debug points inside function test1 won't hit
Affected Versions:
up to 0.95.3
Related Issues (optional):
https://github.com/ballerinalang/ballerina/issues/4347

Fixed with pull https://github.com/ballerinalang/ballerina/pull/4236


Error connecting to azure server

We have written the needed data into your clipboard because it was too large to send. Please paste.
Issue Type: Performance Issue
download azure on macbook pro,
Try connecting to a database
Azure Data Studio version: azuredatastudio 1.13.1 (d08d07fe39c7fe74f9265db02cb963c38d048299, 2019-11-14T23:00:55.976Z)
OS version: Darwin x64 19.0.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5350U CPU @ 1.80GHz (4 x 1800)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 3

Memory (System)
8.00GB (0.06GB free)

Process Argv
-psn_0_532610

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
   20	    74	  3939	azuredatastudio main
    3	    25	  3941	   gpu-process
    0	   229	  3945	   window (Welcome)
    0	   139	  3958	     extensionHost
    0	    41	  3967	       /private/var/folders/1z/_tjh1q_15mgdp93rb61_kv_m0000gq/T/AppTranslocation/D0913488-437A-4567-94E3-1356C2E4468B/d/Azure Data Studio.app/Contents/Resources/app/extensions/mssql/sqltoolsservice/OSX/2.0.0-release.30/MicrosoftSqlToolsServiceLayer --log-file /Users/dev/Library/Application Support/azuredatastudio/logs/20191125T140713/exthost1/Microsoft.mssql/sqltools.log --tracing-level Critical
    0	    25	  3968	       /private/var/folders/1z/_tjh1q_15mgdp93rb61_kv_m0000gq/T/AppTranslocation/D0913488-437A-4567-94E3-1356C2E4468B/d/Azure Data Studio.app/Contents/Resources/app/extensions/mssql/sqltoolsservice/OSX/2.0.0-release.30/SqlToolsResourceProviderService --log-file /Users/dev/Library/Application Support/azuredatastudio/logs/20191125T140713/exthost1/Microsoft.mssql/resourceprovider.log --tracing-level Critical
    0	    25	  3969	       /private/var/folders/1z/_tjh1q_15mgdp93rb61_kv_m0000gq/T/AppTranslocation/D0913488-437A-4567-94E3-1356C2E4468B/d/Azure Data Studio.app/Contents/Resources/app/extensions/mssql/sqltoolsservice/OSX/2.0.0-release.30/MicrosoftSqlToolsCredentials --log-file /Users/dev/Library/Application Support/azuredatastudio/logs/20191125T140713/exthost1/Microsoft.mssql/credentialstore.log --tracing-level Critical
    0	    25	  3983	       /private/var/folders/1z/_tjh1q_15mgdp93rb61_kv_m0000gq/T/AppTranslocation/D0913488-437A-4567-94E3-1356C2E4468B/d/Azure Data Studio.app/Contents/Frameworks/Azure Data Studio Helper.app/Contents/MacOS/Azure Data Studio Helper /private/var/folders/1z/_tjh1q_15mgdp93rb61_kv_m0000gq/T/AppTranslocation/D0913488-437A-4567-94E3-1356C2E4468B/d/Azure Data Studio.app/Contents/Resources/app/extensions/json-language-features/server/dist/jsonServerMain --node-ipc --clientProcessId=3958
    4	    66	  3954	   shared-process
    0	     0	  4007	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    6	    74	  4005	   window (Issue Reporter)

Workspace Info
;

Extensions: none

@TGod-Ajayi Could you please provide more information - such as any errors you're seeing?
We're already tracking some issues with connections to Azure here -https://github.com/microsoft/azuredatastudio/issues/7619. Could you see if the issues described there are the same as the ones you're experiencing?


Installing python adaptor causes HTTP error 429

Hello - I am attempting to get the latest adaptor installed but I am getting this response in Sublime:

The error message is:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429#:~:text=The HTTP 429 Too Many,before making a new request.
When I go to the web address in chrome, it gives me this:
https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-python/vsextensions/python/latest/vspackage

I have tested this on multiple PCs - not sure how to proceed?

Wait until the quota resets. I believe it resets every hour so you should try again

This shouldn't be a problem anymore


5.12.10 not recognized as a Qt release

2020-12-10 11:26:50,121 - aqt - INFO - aqtinstall(aqt) v0.10.0 on Python 3.9.0 [CPython MSC v.1927 64 bit (AMD64)]
2020-12-10 11:26:50,130 - aqt - WARNING - Specified Qt version is unknown: 5.12.10.

Versions are maintained by hand.
https://github.com/miurahr/aqtinstall/blob/master/aqt/combinations.json#L103-L111
You are welcome to propose Pull-Request to add '5.12.10' in the list.

https://github.com/miurahr/aqtinstall/pull/188


Updates to Registration and Edit Account Pages

Added password obfuscation to the registration page.
Added a cancel link to the edit_account page that links back to the account page.

@andipants12 Just added the bootstrap-react button - can you take a look and let me know what you think?


Added "A No-Nonsense Guide to Web Components"

Think this might be a good fit for "Getting Started"

Thanks @chrisbateman


Not possible to create a Swarm master with the token discovery method

In v0.6.0-rc1 it is no longer possible to create a Swarm master with the token discovery method. The docker-machine create command does not give any error, but the swarm master does not start up successfully. Running docker logs on the swarm master container shows the following error message:
time="2016-01-21T15:11:25Z" level=fatal msg="Leader election is only supported with consul, etcd and zookeeper discovery.".
How to reproduce: Create a Swarm with Docker Machine by following the instructions on this page: https://docs.docker.com/swarm/install-w-machine/
Also two of the integration tests in integration/core/swarm-options.bats are failing because of this:
$ DRIVER=virtualbox make test-integration test/integration/core/swarm-options.bats
test/integration/run-bats.sh test/integration/core/swarm-options.bats
INFO: Run the tests with B2D_CACHE=1 to avoid downloading the boot2docker iso each time.
=> test/integration/core/swarm-options.bats
 ✓ create swarm master
 ✓ create swarm node
 ✗ ensure strategy is correct
   (in test file test/integration/core/swarm-options.bats, line 21)
     `[[ "$strategy" == "binpack" ]]' failed
   Error running connection boilerplate: Connection to Swarm cannot be checked but the certs are valid. Maybe swarm is not started
   Cannot connect to the Docker daemon. Is the docker daemon running on this host?

 ✓ ensure heartbeat
 ✓ should not show as swarm active if normal active
 ✗ should show as swarm active
   (in test file test/integration/core/swarm-options.bats, line 40)
     `[[ ${lines[1]} == *"* (swarm)"*  ]]' failed
   Error checking TLS connection: Connection to Swarm cannot be checked but the certs are valid. Maybe swarm is not started
   NAME ACTIVE URL STATE URL SWARM DOCKER ERRORS queenbee - virtualbox Running tcp://<IP_ADDRESS>:2376 queenbee (master) v1.9.1

6 tests, 2 failures

In #2833 the --replication flag was added when starting any Swarm master. It is only supported when having a consul, etcd or zookeeper cluster, as seen in the logs above, and as seen on this page: https://docs.docker.com/swarm/multi-manager-setup/


[BUG] <Error: Can't find local .git directory>

Is there an existing issue for this?

[X] I have searched the existing issues

Does this issue exist in the latest version?

[X] I'm using the latest release

Describe the bug?
Error: Can't find local .git directory. Please run actions/checkout before this action
To Reproduce
In the github work flow, (using Github Enterprise);

I do a repo checkout with github actions/checkout@v4,
then I use the tj-actions/changed-files@v41
But after checkout when it runs the changed files action, it gives the following error:::

changed-files
Error: Can't find local .git directory. Please run actions/checkout before this action

Have checked the repo,
it contains the .git folder.
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-22.04
Expected behavior?
should return the changed files list.
Relevant log output
Run tj-actions/changed-files@v41
with:
  <default>
/usr/bin/docker exec  b93336f5c3ceb6d64f6ffd1fb2620ace4c3e8f68d0d6c681fddc76dbb322e110 sh -c "cat /etc/*release | grep ^ID"
changed-files
  Error: Can't find local .git directory. Please run actions/checkout before this action

Has all relevant logs been included?

[X] I've included all relevant logs

Anything else?

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi @bbaral07 can you provide details of your workflow file. Include sections of both the checkout action and the changed-files action

Hi @bbaral07 I'll suggest specifying the correct path if you're checking out the repository in another folder.
You can search for "Get all changed files for a repository located in a different path" in the Examples section.

Hallo Jackton1,
thanks for your reply,
Below is the workflow part, where I do a checkout and then use the tj-actions/changed-files.
I followed the examples, but not sure if I am missing anything.  Any hint or help is appreciated.
This is the point where I get the error (as in the original post)
  - name: Repo Checkout
    uses: actions/checkout@v4
    with:
      repository: org/tf_accounts
      ref: 'feature'
      fetch-depth: 0
      clean: 'false'

  - name: List the checkedout folders
    shell: bash
    run: |
      pwd
      ls -al
      printf "\n%s\n" "${GITHUB_WORKSPACE}"

  - name: Get all changed account json files
    id: changed-account-files
    if: contains(fromJson('["push", "pull_request"]'), github.event_name)
    uses: tj-actions/changed-files@v41
    with:
      files: accounts/*.{json}  # Alternatively using: `accounts/**`
      files_ignore: accounts/schema.json
      json: "true"
      write_output_files: true
      path: .

Hi @bbaral07, thanks for sharing a couple of things to point out.
files: You might want to use accounts/*.json since you don’t need braces here.
path: defaults to . so no need to specify the same value.
Question: Is there a reason you have set clean: 'false'?

Thanks, Jackton01 for your response.
Sorry for the delayed response.
I tried to hardcode the path, but still, it could not process the result to find the changed files.
I used (clean: 'false') to retain the .git folder as I received an error that it could not find the correct .git folder.
Alternatively, I wrote a short shell script to get the changed files instead of using the action.
Though I could not use it, I truly appreciate the purpose and functionality of this action.
Great Job.  👏
Maybe I will try in some other workflow.

Sounds good, FYI the changed-files action doesn't only check that the .git folder exists but also validates the output of
git rev-parse --is-inside-work-tree which should return "true".
If you run into this issue in the future this would help you determine what's wrong.


Failed to load metrics-reporter-config, metric sinks will not be activated

then using the metrics-reporter-config with cassandra , no matter what reporter configuration i use(graphite,riemann,console)  i always get this
INFO [main] 2014-08-03 21:27:01,911 CassandraDaemon.java (line 393) Trying to load metrics-reporter-config from file: /etc/cassandra/metrics.yaml
WARN [main] 2014-08-03 21:27:01,912 CassandraDaemon.java (line 401) Failed to load metrics-reporter-config, metric sinks will not be activated
java.lang.NullPointerException
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:396)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:496)
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:585)
i've tried the reporter-config 2.1.0  that comes with cassandra 2.0.9
as well versions 2.2.0 and 2.4.0-SNAPSHOT build from the repo
with relevant reporters jars(and dependencies) deployed under cassandra lib dir
the result is always the same error , even for console reporter config like this
console:
  -
    outfile: '/tmp/metrics.out'
    period: 10
    timeunit: 'SECONDS'

i've verified that /etc/cassandra/metrics.yaml is valid yaml file
any clues what can be wrong?

Same issue. @cburroughs solutions helped to resolve it. Thanks for the question and answer. !!!

I am facing the same issue using Cassandra 3.5.0 on Windows 7. I tried the above suggestion (of @cburroughs) , but I still get a FileNotFoundException as below (though I have the `metrics-reporter-config.yaml' in the correct directory).
I have checked permissions of the file, anyone can access and edit.
I am using metrics-graphite-3.1.0.jar.
Exception:
java.io.FileNotFoundException: C:\Program%20Files\DataStax-DDC\apache-cassandra\conf\metrics-reporter-config.yaml (The system cannot find the path specified)
at java.io.FileInputStream.open0(Native Method) ~[na:1.8.0_91]
at java.io.FileInputStream.open(FileInputStream.java:195) ~[na:1.8.0_91]
at java.io.FileInputStream.(FileInputStream.java:138) ~[na:1.8.0_91]
at com.addthis.metrics.reporter.config.AbstractReporterConfig.loadFromFile(AbstractReporterConfig.java:40) ~[reporter-config-base-3.0.0.jar:3.0.0]
at com.addthis.metrics3.reporter.config.ReporterConfig.loadFromFile(ReporterConfig.java:249) ~[reporter-config3-3.0.0.jar:3.0.0]
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:337) [apache-cassandra-3.5.0.jar:3.5.0]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:551) [apache-cassandra-3.5.0.jar:3.5.0]

AbstractReporterConfig.java:40 is:
InputStream input = new FileInputStream(new File(fileName));
https://github.com/addthis/metrics-reporter-config/blob/master/reporter-config-base/src/main/java/com/addthis/metrics/reporter/config/AbstractReporterConfig.java#L40
There's nothing to it. Is C:\Program%20Files\DataStax-DDC\apache-cassandra\conf\metrics-reporter-config.yaml a valid path? Specially, %20 is the URL encoded value of space - I don't think that's a valid file path. You can easily test it with the above one-liner java code - I don't have Windows otherwise I would've done it.

Yes, you are right. Thank You. I made it work by reinstalling Cassandra into a path which has folder names with no spaces. I don't know if it is possible to handle the above error in any different way. If possible, can you suggest any way to do so?

It has to do with how cassandra finds the config file - it uses the classloader to find resource URL, then just calls URL#getFile() on it. Special characters, such as space, are url encoded, and getFile method doesn't do anything smarter with it, so you end up with an invalid file path. The relevant code is here:
https://github.com/apache/cassandra/blob/58e11acdd08d046016591c34547b7bd4c3f3f051/src/java/org/apache/cassandra/service/CassandraDaemon.java#L344
Line number don't quite match with your stack trace, because I can't find the right tag, but I doubt the code is very different.

@piavlo  : Am getting this error when tried to integrate Ganglia with cassandra. I followed similar steps provided as above( I used ganglia) .
INFO 11:10:24,963 Completed flushing /var/lib/cassandra/data/system/local/system-local-jb-76-Data.db (5298 bytes) for commitlog position ReplayPosition(segmentId=1470211824179, position=193311)
INFO 11:10:24,978 Node localhost/<IP_ADDRESS> state jump to normal
INFO 11:10:24,994 Trying to load metrics-reporter-config from file: gangliaReporting.yaml
ERROR 11:10:25,016 Tried to enable GangliaReporter, but class com.yammer.metrics.reporting.GangliaReporter was not found
WARN 11:10:25,016 No reporters were succesfully enabled
Please guide me on how to proceed. I would like to monitor the cassandra metrics onto ganglia.


Running time

Hi,
Could you please tell me how long will hole_fixer process with bunny.off example? It seems quite a long running time on my laptop, I wonder if there is something wrong. Thank you.

Solved by changing release to debug.