add Api(stopPreopenContainer) field(numberOfBatches)

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


Injection support error (override support)

refs #5
refs #2

todo runner

todo: pointer handling


Unable to deploy to zkSync with error "unsupported transaction type: 113"

Hi,
For some reason, I'm unable to deploy to zkSync using the plugin as-is, since it doesn't use zksync-ethers (and then it fails with Error: unsupported transaction type: 113 (operation="serializeTransaction", transactionType=113, code=UNSUPPORTED_OPERATION, version=transactions/5.7.0)).
I have followed zkSync's guide and integrated @matterlabs/hardhat-zksync-ethers, @matterlabs/hardhat-zksync-solc, and @matterlabs/hardhat-zksync-deploy (and @matterlabs/hardhat-zksync-verify), so everything compiles properly, and the only issue is when deploy properly creates a zkSync transaction, which for some reason is being rejected by ethers.
Is this a known issue? Perhaps I should have adapted hardhat-deploy-ethers in some way?

@wighawag is it possible to use hardhat-deploy as-is when deploying to zksync?


Click to call option on the right of every helpline number in helpline_numbers.html

We can create a click to call option for every helpline number by placing a call icon next to every number to make it easy for the user to call a helpline number.
Please assign this to me. @swapnilsparsh
#GsSOC'21

@niya210  We will be following the First Come First Serve basis and the person who is assigned to resolve the issue will get 3 days to resolve the issue and if the person want more time he/she have to ask for it ,if he/she is unable to do it then it will be assigned to the next person who wants to work on this issue.

Ohk, I got it. But could it possible if anyone who wanna solve but haven't
assigned with that issue, come up with a solution and request to merge
their pr?
Would their request be merged?
On Thu, Mar 11, 2021, 7:52 PM Swapnil Srivastava @.***>
wrote:

@niya210 https://github.com/niya210 We will be following the First Come
First Serve basis and the person who is assigned to resolve the issue will
get 3 days to resolve the issue and if the person want more time he/she
have to ask for it ,if he/she is unable to do it then it will be assigned
to the next person who wants to work on this issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/swapnilsparsh/Rescue/issues/125#issuecomment-796771963,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASK2EOLT54HSDCNA2YIZWW3TDDG2DANCNFSM4Y5LHMTQ
.

Ohk, I got it. But could it possible if anyone who wanna solve but haven't assigned with that issue, come up with a solution and request to merge their pr? Would their request be merged?
…
On Thu, Mar 11, 2021, 7:52 PM Swapnil Srivastava @.***> wrote: @niya210 https://github.com/niya210 We will be following the First Come First Serve basis and the person who is assigned to resolve the issue will get 3 days to resolve the issue and if the person want more time he/she have to ask for it ,if he/she is unable to do it then it will be assigned to the next person who wants to work on this issue. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#125 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASK2EOLT54HSDCNA2YIZWW3TDDG2DANCNFSM4Y5LHMTQ .

You have to wait for atleast 3 days then the issue will be assigned to you then you can request a PR.

Issue resolved by @kanishka8276


Remove: 7S2P.Effie.CN version 3.5.1

403 Access Denied
Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

URL: https://download.effie.co/effie/effie_setup_3.5.1.exe
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 872)


Use event aggregation to provide animation events

An opt-in feature could be to trigger events on certain situations during animations. The first pass should just retrigger the original catched ones.
Lets see if we find more use cases around this.

@EisenbergEffect Would you solve that using the EventAggregator or with Custom Events? I'm not sure whether adding a dependency to the EA Repo is going to introduce additional weight

I would use DOM events.

I'm just wondering how we can provide a known list of events, so that all Animator have the same set. Guess the easiest would be to include a pseudo-enum as class within the BaseAnimator, which then may be used by the concrete implementation?
Here's my recommended set of events:

animation:enter:begin
animation:enter:active
animation:enter:done
animation:enter:timeout

animation:leave:begin
animation:leave:active
animation:leave:done
animation:leave:timeout

animation:stagger:next

animation:remove-class:begin
animation:remove-class:done
animation:remove-class:timeout

animation:add-class:begin
animation:add-class:done
animation:add-class:timeout

Yes, we could just create an enum, something similar to how the bindingModes works, for example. That can exist inside of the templating repo.
As to the events themselves, I look to you for that, since you've worked more with the animation than I have.


Add the Fetching enchantment

Basically just the old Fondue InstantPickup module, in enchantment form.

Bows enchanted with Fetching should also be able to pick up existing items off the floor, instead of just affecting killed mobs.
A Tinkers' modifier should also be supplied.


chore: move github related files [skip ci]

Coverage remained the same at 48.038% when pulling f009b573844ebb9f951efa30872894ab5f29b635 on g-plane:move-md-files into 5eac3e0979d62a8b2e5d5797e4cfa99ff0d80e09 on cherow:master.

I'll do it in another PR.

Ok. Merging this


Executing Slither on each AST separately will fail

Thanks for creating this pugin!
Currently, the plugin will analyze the json of each .sol separately:
https://github.com/embark-framework/embark-slither/blob/f008d9f306671d1fae309940a48772595bcda2f5/index.js#L25-L31
This leads to the following issues:

Slither needs to have access to all the code, so the execution will fail if there is a file imported
Even if we fix the import, Slither is meant to analyze the entire codebase at once. Several detectors are based on heuristics that will lead to FP if the entire scope is unknow. For example, Slither will detect unused variables. If B inherits from A, which declares a variable my_var only used in B,  Slither will incorrectly report that A.my_var is unused, while if it has access to B it will not.

I see two solutions:

Create a temporary directoy, copy all the json files to this directory, and run slither temporary_directory
Add the ability to specifiy a list of files to analyze to Slither

We are already in a position where all contracts have been copied to a specific folder, so it should just be a matter of
Create a temporary directoy, copy all the json files to this directory, and run slither temporary_directory

I will experiment with that, thanks for the hint

It seems that the big json file is just a concat of all small one.
That might be easer for me and it would reduce the number of IO
Do you see anything bad in doing it that way?

No that's a good idea and it should work!
It's exactly what the solc output does

Great, I will try to do it that way then


Getting 404s when using via API

Following #8 .
Tried it. Got a 404 for files I was expecting it to serve.
Here is a PR branch where I expect it to work:
https://github.com/mobusoperandi/website/pull/111
There's a readme for this repo and a default.nix file, if you're a nix user.
cargo run dev is the command that is supposed to start the server. And then you should be able to ask for / or /add.html, for example and get a nice 200 but I get 404.

I didn't find the default.nix in the repository.
It gives many other errors when I ran 'cargo run dev':

    Finished dev [unoptimized + debuginfo] target(s) in 0.33s
     Running `target/debug/_ dev`
starting server at http://localhost:21928/
[Running 'cargo run -- build']
    Finished dev [unoptimized + debuginfo] target(s) in 0.33s
     Running `target/debug/_ build`
generating: "/add.html"
generating: "/favicon.ico"
generating: "/fullcalendar.js"
generating: "/index.html"
generating: "/inverticat.svg"
generating: "/mobs/agda_now.html"
generating: "/mobs/bass.html"
generating: "/mobs/liberty.html"
generating: "/mobs/malaga.html"
generating: "/mobs/mobrpg.html"
generating: "/mobs/more.html"
generating: "/mobs/pangolin.html"
generating: "/mobs/standard.html"
generating: "/twitter_logo.svg"
generating: "/vollkorn.ttf"
generating: "/youtube_logo.svg"
generating: "/zulip_logo.svg"
request https://upload.wikimedia.org/wikipedia/commons/9/91/Octicons-mark-github.svg
request<EMAIL_ADDRESS>request https://raw.githubusercontent.com/zulip/zulip/main/static/images/logo/zulip-icon-square.svg
request https://upload.wikimedia.org/wikipedia/commons/4/4f/Twitter-logo.svg
request https://upload.wikimedia.org/wikipedia/commons/0/09/YouTube_full-color_icon_%282017%29.svg
request https://gwfh.mranftl.com/api/fonts/vollkorn?download=zip&subsets=latin&variants=regular
response "HIT" https://raw.githubusercontent.com/zulip/zulip/main/static/images/logo/zulip-icon-square.svg
response "HIT" https://upload.wikimedia.org/wikipedia/commons/4/4f/Twitter-logo.svg
response "HIT" https://upload.wikimedia.org/wikipedia/commons/0/09/YouTube_full-color_icon_%282017%29.svg
response "HIT" https://gwfh.mranftl.com/api/fonts/vollkorn?download=zip&subsets=latin&variants=regular
response "HIT"<EMAIL_ADDRESS>response "MISS" https://upload.wikimedia.org/wikipedia/commons/9/91/Octicons-mark-github.svg
node:internal/modules/cjs/loader:1060
  const err = new Error(message);
              ^

Error: Cannot find module '@tailwindcss/typography'
Require stack:
- /home/lomirus/Projects/GITHUB/website/tailwind.config.js
- /home/lomirus/.npm/_npx/bc7494899bbce1ca/node_modules/tailwindcss/lib/cli.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1060:15)
    at Module._load (node:internal/modules/cjs/loader:905:27)
    at Module.require (node:internal/modules/cjs/loader:1127:19)
    at require (node:internal/modules/helpers:112:18)
    at Object.<anonymous> (/home/lomirus/Projects/GITHUB/website/tailwind.config.js:3:5)
    at Module._compile (node:internal/modules/cjs/loader:1246:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1300:10)
    at Module.load (node:internal/modules/cjs/loader:1103:32)
    at Module._load (node:internal/modules/cjs/loader:942:12)
    at Module.require (node:internal/modules/cjs/loader:1127:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/lomirus/Projects/GITHUB/website/tailwind.config.js',
    '/home/lomirus/.npm/_npx/bc7494899bbce1ca/node_modules/tailwindcss/lib/cli.js'
  ]
}

Node.js v19.6.0
thread 'main' panicked at 'assertion failed: output.status.success()', src/tailwind.rs:37:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Finished running. Exit status: 101]

Can you provide a minimal reproducible example?

Reproduced. I think I will dig into this problem tomorrow.


[Bug Report] el-form with one el-form-item cause chrome browser reboot

Element UI version
2.4.6
OS/Browsers version
Windows/ Chrome Version 69.0.3497.92 (Official Build) (64-bit)
Vue version
2.5.17
Reproduction Link
https://jsfiddle.net/abernov/0e8koj3y/
Steps to reproduce
select el-input and click Enter on keyboard.
If add second el-input then BUG disappears.
What is Expected?
The browser will not reboot
What is actually happening?
The browser will reboot.

Its not rebooting it is submitting the Form this is standard. Please read the docs .
W3C regulates that -> https://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.2
When there is only one single-line text input field in a form, the user agent should accept Enter in that field as a request to submit the form.
To prevent this behavior, you can add @submit.native.prevent on .

Thanks. It work!


Process Applications UI

Problem you would like to solve
For the new process applications feature a UI will be required. Users should be able to

[ ] Create a new process application
[ ] Open an existing process application
[ ] Deploy a process application
[ ] Link resrouces of a process application (cf. https://docs.camunda.io/docs/components/modeler/web-modeler/advanced-modeling/form-linking/)

Proposed solution
There are a few options for creating a UI based on existing UI patterns in the Desktop Modeler:
1. New bottom panel tab

2. New side panel

3. New modal

4. New tab

5. New overlay

Alternatives considered
No UI. Edit process application files directly.
Additional context
Related to https://github.com/camunda/camunda-modeler/issues/2508

CC @lmbateman.

We discussed possible low-UI but high value features with @barmac. Linking resources could work in two simple ways:

Autocompletion in the ID input

Creating elements with linked resources (e.g. create call activity with process linked already)

Love both options, and goes in line with doing more of the hard work (to make it simple).
The later one would probably still refer to call activity (link to payment process).

The later one would probably still refer to call activity (link to payment process)? We want to ensure we don't do the connectors thing and hide the BPMN purpose of the element to be appended.

Yes, I just quickly hacked this together in the browser. 🙂

Love both options, and goes in line with doing more of the hard work (to make it simple).
The later one would probably still refer to call activity (link to payment process)? We want to ensure we don't do the connectors thing and hide the BPMN purpose of the element to be appended.

Yes, this would append a call activity with the processId (link) and name preset. The append menu would use the call activity icon for full transparency.


WIP: Refactor

The current codes has the following:

Code that will not be executed exists.
Multiple copies of the same process exist.
Mutable variables exist.
There are questions.

and so on.
Such code may hinder future modifications. 😷
In this pull request, please let me modify the codes without changing the existing functionality.
@wsdjeg : If you agree, it would be helpful if you could respond in the comments. 😎 👍

thanks，I'm ok.
在 2020年6月7日 18:33，kumarstack55<EMAIL_ADDRESS>type="attributi
The current codes has the following:

Code that will not be executed exists.
Multiple copies of the same process exist.
Mutable variables exist.
There are questions.

and so on.
Such code may hinder future modifications. 😷
In this pull request, please let me modify the codes without changing the existing functionality.
@wsdjeghttps://github.com/wsdjeg : If you agree, it would be helpful if you could respond in the comments. 😎 👍

You can view, comment on, or merge this pull request online at:
https://github.com/wsdjeg/mdctags.rs/pull/15
Commit Summary

Add test for Line::split()
Refactor Line::split()

File Changes

M src/main.rshttps://github.com/wsdjeg/mdctags.rs/pull/15/files#diff-639fbc4ef05b315af92b4d836c31b023 (22)

Patch Links:

https://github.com/wsdjeg/mdctags.rs/pull/15.patch
https://github.com/wsdjeg/mdctags.rs/pull/15.diff

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/wsdjeg/mdctags.rs/pull/15, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADEITEQXVYFQN42X65YMTTDRVNUJFANCNFSM4NXCF4EQ.

You can run tests, builds and bats tests with this command.
cargo test && cargo build && bats test

@wsdjeg : It would be helpful if you could merge this pull request. 😎 👍 ✨

thanks for your work. Is it ready  to be merged?

thanks for your work. Is it ready to be merged?

Ready to go. :sparkles:
Please merge. :+1:


Showcase title section

Separated showcase name line 1 and line 2, adjusted description to be left aligned and separated from the name

:+1:

:+1:


data-device: ignore accept for selection offers

It doesn't make sense for clients to send "accept" requests to offers that
aren't drag-and-drop. I discussed with Daniel Stone to make it a protocol
error 1 but too many clients send it (e.g. GTK+). Let's just log it for now.

Thanks!


Adding guidance on input

Per dev owner, the EffectBrush used here cannot have a BackdropBrush or HostBackdropBrush as input.

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


Fix: add version select

Overview
Adds a version selector option
The version selection changes automatically when you select queries from the sidebar.
Improves #205
Fixes #200
Demo

Testing Instructions

Change the version from v1.0 to beta and notice how the query url changes
Click on a url in the queries and notice the change in the version selector

@bettirosengugi a while back there was the issue reported by @jthake-msft where for certain screen sizes the http methods were shown to have an ellipsis ie D... for DELETE. This implementation will re-introduce that behaviour. Please advise.

@bettirosengugi a while back there was the issue reported by @jthake-msft where for certain screen sizes the http methods were shown to have an ellipsis ie D... for DELETE. This implementation will re-introduce that behaviour. Please advise.

@jobala why don't we have the same issue in classic yet it has the three tabs (Request Options, Version and query tabs) ? May be investigate?

In the current version of Graph Explorer changing the version in the URL changes the selected version in the version dropdown. I am assuming this is how this feature should behave as well. @bettirosengugi  is this correct?

This is correct to give an example if the version selected is V1, the url for /me should be https://graph.microsoft.com/v1.0/me  and when you change the version to beta the url should change to https://graph.microsoft.com/beta/me
@cwahome  @jobala

This is correct to give an example if the version selected is V1, the url for /me should be https://graph.microsoft.com/v1.0/me and when you change the version to beta the url should change to https://graph.microsoft.com/beta/me

There's also a third type of url version other. This is used when a user specifies a version that is neither v1.0 or beta

why don't we have the same issue in classic yet it has the three tabs (Request Options, Version and query tabs) ? May be investigate?

That's a good question. AFAIK classic uses MWF and v2 uses Fabric, these are different component providers. It's worth investigating.

In the current version of Graph Explorer changing the version in the URL changes the selected version in the version dropdown...

Now changes when you change the url in the editor. Good catch @jobala

@bettirosengugi a while back there was the issue reported by @jthake-msft where for certain screen sizes the http methods were shown to have an ellipsis ie D... for DELETE. This implementation will re-introduce that behaviour. Please advise.

I have improved the column definitions to reduce the need for the ellipsis in smaller screen sizes

The above code snippet has been duplicated in various places. It will be wise to abstract it into a function.

I have added a utility function for reuse for this.

Why do we need a reducer and an action-creator for the version selector?

The version is used and changed at different points of the application.


[ACR] Add patch for replications

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/1586

@djyou ?

Replaced by #1455


Feature/job accept

Earlier i had switched to main, pulled, then ran things and got what i mentioned in the group chat. I switched back to feature and then back to main and now things are working.


Feature Request: Add a command to go to previous or next panel item

Add a command to go from Problems -> Output -> Debug Console -> Terminal and the reverse (or whatever panel item is active, in their order).
Ctrl+Q is not what I want. I do not want to press Ctrl+Q 10 times to do that when I want to switch between task/terminal.
I also don't want to assign 4 shortcuts for going directly to Problems / Output / Debug Console / Terminal.
This remains one of the few things in VS Code where I have to resort to mouse.
I hope the same command can be added to viewlets switching.
Related: https://github.com/Microsoft/vscode/issues/15262

This is a fair feature request. Let's consider adding it if more users ask for it.
@octref can you elaborate how you would expect this command to work? If you are in a panel it swtiches to the next panel, if you are in a viewlet next viewlet. But what if you are focused in the editor?
Or you would expect two different commands?
What you expect a default keybinding, if yes then which one?

I don't use the current Ctrl-Tab and Ctrl-Shift-Tab for switching between editors. I suggest having Ctrl-Tab and Ctrl-Shift-Tab go to next/previous editor/viewlet/panel-item when focused on different areas. This also aligns with Chrome/Sublime behaviors.
Behavior wise, using Cmd+J/B and then Ctrl+Tab and Ctrl+Shift+Tab is much easier to remember than 9 different Cmd+Shift+Something that pinpoint the 5 Viewlets and 4 Panels. Looking forward, if we start to allow more Viewlet / Panel Items the navigability will become worse.
To be honest one of the main things that block me from using any task is having no way to switch between terminal and task output without a mouse. If I just have terminal, I have bound Cmd+[ and Cmd+] to switch to next/prev terminals so I can at least switch between different outputs without needing to reach for mouse. I've dropped tasks from all my extensions for this reason.
https://github.com/vuejs/vetur/commit/502017a7f9925cdb68c961d4b4d88478563b5a41#diff-7fde71560fa9376d2d93a25b42d719f5
https://github.com/octref/vscode-extension-template/commit/a517fa18079e31cdb98446ff2e742ec7c2d1fd65#diff-7fde71560fa9376d2d93a25b42d719f5
https://github.com/octref/polacode/commit/79f9f199b7a4b3a68fd62d7965ccd96520d09e68#diff-bbd9f4180a5ba17654247e78ef4c88e0
For similar reason I'm also trying to move away from Debug Console to Chrome Dev Tools.

I agree having this would be nice to have, however changing the default behavior of ctrl+tab will break so many users muscle memory that I do not think it is smart to do.
Imho we shuold have a command that switches with no default keybinding.
PR that add this are welcome
code pointer https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/browser/parts/panel/panelActions.ts#L37

I updated the PR at https://github.com/Microsoft/vscode/pull/59270 to fix this issue, thus reopening.
Once the PR is in, I'll open a new PR for the new ContextKeys, panelFocus and sidebarFocus.


HA losing connection with MQTT server

When I start HA - I get updates from OpenTracks via MQTT without any issues. However after some hours the services gets dicconnected.
I don't see any messages in the log - but when I push an update from owntracks - I can see the update arriving in cloudmqtt - but not in HA.
I'm running my server on windows - will try ad test on another platform.

Make sure you use a unique user for each connection to CloudMQTT.
On Mon, Oct 19, 2015 at 1:20 AM Greg Dowling<EMAIL_ADDRESS>wrote:

When I start HA - I get updates from OpenTracks via MQTT without any
issues. However after some hours the services gets dicconnected.
I don't see any messages in the log - but when I push an update from
owntracks - I can see the update arriving in cloudmqtt - but not in HA.
I'm running my server on windows - will try ad test on another platform.
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/531.

I did switch to use three users (1 for each phone - and one for HA) - but sadly didn't solve the issue for me.

Set-up a local mosquitto server - which allows me to work round the issue, however it's not that easy to set-up - so still think cloudmqtt would be an easier option for most users. So think it's still worth tracking down the issue.

I can reproduce this issue. I think this happens when the network connection is lost temporarily. But when the connection comes back again, the mqtt listener is broken. Can be tested by shutting down the router and bringing it up again.

I have the same problem

Same here.

I did a small MQTT service in Python some time ago and experienced the same issue.
In my case it had to do with my home network temporarily losing connection with the internet and thus also losing connection with the MQTT server. This could be the case here too.
The python MQTT client has a disconnect callback on_disconnect(). This could be used to retry and make a reconnect (with some kind of delay and max tries or something.).
Just a suggestion. When I have time I will look into it, but it shouldn't stop anyone trying for a solution him/her self ;-)
Sander.

I'm trying to cook up a fix as we speak.


Support of development for Angular2

Hello,
The MDL contains suporte for development with angular2? I tried used button with effect 'mdl-js-ripple-effect'. After loading page effect is working, but when utilized event click as '(click)="someFunction()"', this not working. What seems MDL overwrites click function of angular2. Somebody use something like this?

MDL is primarily targeted at projects building sites that require vanilla JS. While we do support a level of dynamic JS component creation, we don't currently target special support for any specific third-party libraries and this includes Angular2. If you're looking for a Material library to use with Angular I would recommend checking out https://github.com/angular/material which is a better fit.

Additionally, you could try heading over to StackOverflow using the material-design-lite tag. A lot of people have spent time getting MDL to work with Angular, so I can imagine there’s some Angular2 going on as well :)

Thank you!


Change property names

Some names on Notifiable.cs are no intuitive, we`re gonna change to:
// From
bool Invalid
bool Valid

// To
bool IsNotValid
bool IsValid

I totally agree
As you are broking some contract (since some projects use Valid or Invalid) you will create a major version?

I totally agree
As you are breaking some contract (since some projects use Valid or Invalid) you will create a major version?

Another option is to keep both and add an [Obsolete]  attribute on the properties. Then he can delete them in a future version. So it won't break anything and will raise some alerts pointing out to use the new properties.

@natancmacedo yeah, will be a major release!!!
@LucasWBritz great, but as well have a major release, I think its not necessary!

Base Notification class now have only IsValid property.
You can check here:
https://github.com/andrebaltieri/Flunt/blob/dev/Flunt/Notifications/Notifiable.cs
And here is a sample of how can you create your custom notifications:
https://github.com/andrebaltieri/Flunt/blob/dev/Flunt.Tests/CustomNotificationsTests.cs


Specify '--encoding utf-8' when launching OmniSharp server

Fixes #4, #140, #427
This addresses issues when communicating with OmniSharp with multibyte characters. Note that this is only half of the fix. Due to a subtle issue in OmniSharp, this change currently only fixes the encoding for requests sent to OmniSharp but responses are still received garbled. I've submitted a PR to OmniSharp which fixes the other side of the problem (https://github.com/OmniSharp/omnisharp-roslyn/pull/628). Once I have a new build of OmniSharp in hand, I'll switch over to that which should fully fix the issues listed above.

Note: I decided to make the whitespace consist in server.ts as part of this change. Sorry about that! You can click the specific commit that fixes the issue to see what the fix looks like.

OmniSharp is updated. Pushing this change.


Parallelization of the training of multiple GP models.

Hello,
I just recently discovered GPflow and now i'm using it in the context of simple regression problems. So firstly i would like to thank you for the hardwork to develop this implementation of gaussian processes.
I want to know if it is possible to parallelize multiple training of different GP models. For example, i want to make a cross validation with 5 folders which creates 5 GPs each with its own training dataset. So it will be efficient to launch the training of the 5 different models in parallel since they are independent. So, i used an embarrassingly parallelization with joblib for the optimization of the 5 models that returns the RMSE of each one:
Parallel(n_jobs=num_cores)(delayed(CV_train)(X,Y,train_index,test_index) for train_index, test_index in kf.split(X))
Where CV_train is the function that instantiates and optimize the models.
def CV_train(X,Y,train_index,test_index,layers,q):
    X_train, X_test = X[train_index], X[test_index]
    Y_train, Y_test = Y[train_index], Y[test_index]
    model = make_model(X_train,Y_train)
    gpflow.train.ScipyOptimizer().minimize(model)
    return compute_MSE(model,X_test,Y_test,layers)

So, sometimes i get the cross validations while sometimes an error is raised : BrokenProcessPool: A process in the executor was terminated abruptly while the future was running or pending.
I am sure that it is not the best way to parallelize since each training uses the same gpu and that joblib parallelizes on the cpu. Is there a better way to parallelize the training of these different model using tensorflow?
Thank you
Sincerly

If your jobs really are parallel then the easiest thing is just to fire them all off in separate processes. You can then set the gpu memory limit to 20% so all 5 will fit (though be aware that this does reduced the speed of each one quite substantially, at least in my experience). I tend to make use of the monitoring framework to setup a tensorboard, which makes running many experiments in parallel much more manageable.
If you want to run 5 experiments in parallel in the same tensorflow session then this is less straightforward. I've never done this myself, but one thing I guess you could do is call the ops of several optimizers at once:
op1 = Optimizer().make_optimize_tensor(model1, session=sess)
op2 = Optimizer().make_optimize_tensor(model2, session=sess)

op = tf.group([op1, op2])

for _ in iterations:
    sess.run(op)

The above wouldn't work for a scipy optimizer, however.
I doubt that using a multithreading lib with tensorflow is straightforward, but the place to look for such things is on the tensorflow repo, not here. If it can be done in tensorflow, it can almost certainly be done in gpflow, too.

Because the OP is interested in CV, I'll post here how I like to do my CV.
Personally, I like to do my cross validation by subclassing sklearn.base.BaseEstimator and using sklearn.model_selection.cross_val_score. cross_val_score will automatically parallelize the process.
from sklearn.base import BaseEstimator

class Estimator(BaseEstimator):
    def fit(self, X, y=None, **params):
        """
        Traina this model.
        X : array (N, ...) the input data, float32
        y: array (N, ...) the prediction data, float32 or int32
        **parms passed at training
        """
        self.sess = tf.Session(graph=tf.Graph())
        with self.sess.as_default(), self.sess.graph.as_default():
            self._build_train_graph()
            self._exectute_training() # -> saves the model perhaps using a callback

    def score(self,X,y=None):
        """
        Score the model.
        X: array-like (N,...) the test input data, float32
        y: array-like (N, ..) the test predictions, float32, int32
        Returns:
            Score, float32
        """
        with self.sess.as_default(), self.sess.graph.as_default():
            #self._build_eval_graph() # not needed here unless you saved model and want to reload, or something. Usually, self.sess still contains all the things required to make the evaluation
            return self._execute_score()

    def _build_train_graph(self):
        """
        Build the train graph.
        Returns:
            TF graph
        """
        raise NotImplementedError("Must subclass")
    def _build_eval_graph(self):
        """
        Build the eval graph.
        Returns:
            TF graph
        """
        raise NotImplementedError("Must subclass")
    def _execute_training(self):
        """
        Train
        """
        raise NotImplementedError("Must subclass")
    def _execute_score(self):
        """
        Score
        Returns: float32
        """
        raise NotImplementedError("Must subclass")

I then make a benchmark class that you can feed estimators and a data generation method,
from ..estimators.estimator import Estimator
from sklearn.model_selection import cross_val_score
import os
import numpy as np
import logging
logging.basicConfig(format='%(asctime)s %(message)s')

class Benchmark(object):
    def __init__(self,run_dir,models,model_names):
        self.run_dir = os.path.abspath(run_dir)
        os.makedirs(self.run_dir,exist_ok=True)
        if not isinstance(models,(tuple,list)):
            models = [models]
        if not isinstance(model_names,(tuple,list)):
            model_names = [model_names]
        for m in models:
            assert isinstance(m,Estimator)
        self.models = models
        self.model_names = model_names
        assert len(self.models) == len(self.model_names)

    def data_gen(self):
        """
        Generates all data.
        Returns:
            X, y of full dataset
        """
        raise NotImplementedError("Must subclass")

    def run(self,folds=3,n_jobs=1,fit_params={}):
        """
        Train each model on the same data, then save the results.
        """
        X, y = self.data_gen()
        scores = []
        for model, model_name in zip(self.models,self.model_names):
            model_dir = os.path.join(self.run_dir,"models",model_name)
            fit_params.update(
                {"model_dir":model_dir,
                       "model_name":model_name})
            logging.warning("=== New Model ===")
            logging.warning("Running {} {}-fold CV in {}".format(model_name, folds, model_dir))
            scores.append(cross_val_score(model,X, y,fit_params=fit_params,cv=folds,n_jobs=n_jobs,))
            logging.warning("{} {}-fold results: {} +/- {}\n\t{}".format(model_name, folds, np.mean(scores[-1]), np.std(scores[-1]), scores[-1]))
        logging.warning("=== Benchmark results ===")
        logging.warning("=========================")
        for score, model_name in zip(scores, self.model_names):
            logging.warning("{} {}-fold results: {} +/- {}\n\t{}".format(model_name, folds, np.mean(score), np.std(score), score))

@mehdiserfoufou this type of question is more suitable to stackoverflow than github issues, as posting on stackoverflow means other users in the future are more likely to find the answers as well! see https://stackoverflow.com/questions/tagged/gpflow


Fix client source flickering

https://github.com/tangrams/tangram-es/issues/1679

Oh hold on - I think we removed also all tiles from clientDataSources since they could reference raster sources... Looking for another solution.


Deleting an image does not remove it from categories?

The Image classification app team uses the get categories (/v1/classify/{PK}/categories) API call to determine what files are in the dataset. However, when deleting an image, this image does not seem to disappear from the get categories list, only its categories get emptied.

@fracpete I have tested this with a small example case, and as far as I can tell it is working as expected.
My setup:

Create a new team/project/dataset.
Add 2 unique images to the dataset, and give them each a unique category.
Perform call to get_categories, confirm categories are as specified in step 2.
Delete one of the images from the dataset.
Perform second call to get_categories, see that deleted image is no longer returned in result.

Without more information I don't know what else to do...

Inconsistent state derived from calling the delete_file method using the core dataset API endpoints.

Was this in an older version of the code-base? Since e8c530d1b86e9a400999d29125f795f6474189fb using the core end-point is equivalent to using the domain-specific end-point for the data-set in question.

Quite possibly.


Add documentation, small refactorings

I tried documenting a couple of low-hanging fruits here.
One thing I could not wrap my head around is documentation of WayUnits fields, I'd appreciate if someone more knowledgeable could have a look at that. Way confuses me!

This looks great, many thanks. One thing I'd like to do a bit differently is src/Main.hs: can we use fully qualified names for imports? I think Rules.Cabal.cabalRules would look better than RCabal.cabalRules.
I'll do a full revision a bit later.

Fully qualified names were a bit long when I tried them, but if you like it we can do that as well. The main point here was getting rid of the comments, because they described something easily expressible by code (and checked by the compiler).

The main point here was getting rid of the comments, because they described something easily expressible by code (and checked by the compiler).

Yes, absolutely, that's definitely a win on all accounts. I think fully qualified names make this even better as one doesn't need to look up the imports.

I've added some comments. I think your description of WayUnit is pretty close to how I understand it, although I have to admit I'm also a bit hazy on this topic. It's likely ways will be reworked in future.
Many thanks again!

Just FYI, you can merge this whenever the build passes and you're happy with the changes.
I'll keep adding commits in the same spirit and rebase it onto your master periodically.

There are some merge conflicts at the moment.

I think the conflicts are because of this commit: c573af0.
@ndmitchell Could you please use pull requests, so I can keep track of what is happening? Otherwise you seem to have pushed exactly what @quchen has proposed in this PR :)

Opps, sorry for that! Yep, I'll go through pull requests. Perhaps remove my commit permissions? It's very easy to accidentally send to the wrong branch, and far easier to have GitHub stop me.

One easy option might be to revert my patch (just git revert c573af0), and then this branch should merge cleanly once more.

@ndmitchell No problem! Yes, I'll do the revert.
How do I remove your commit permissions without removing from collaborators? I'd like to keep you in collaborators because I can then assign issues to you :-)

This is now merged.

Don't know how assigning really works - I don't think I've ever done it. I will just be careful then.


Chp11 Available commands to same verb tense

In the description of available commands in Haxelib, descriptions were sometimes in future tense, sometimes in present tense. I standardize it to present and third person.
The thought was to follow a narrative description: "The available comand DOES this" instead of: "Available command: DO this".

Missed this one, thanks!


no types

There are no types for this library. Please consider refactoring to use Typescript so that it can be used with types by Typescript users

Any help for this is highly appreciated.


Recreating a deleted partition may be undefined behaviour

Reproduce:

Delete a partition
A partition may not be cleaned up until all handles to it are dropped, the partition folder is marked with a .deleted marker
At this point, the keyspace forgot about the partition, now recreate the partition
No idea what happens: Need to check if the partition folder exists AND .deleted marker exists
When the handles of the "old" partition are dropped, the partition folder will be deleted, even after we "recreated" it, see step 4 for solution

Hello @marvin-j97
I am new here and would like to pick up this issue

Hello @marvin-j97 I am new here and would like to pick up this issue

Hi, sure. My idea was to check for the .deleted marker in the partition folder when creating a partition, and then throwing an error (Error::PartitionDeleted), if it exists. That should also be easy to test by keeping a partition handle around, "delete" the partition, then recreating it.


Update jnr-unixsocket to 0.38.9

Updates com.github.jnr:jnr-unixsocket from 0.33 to 0.38.9.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.jnr", artifactId = "jnr-unixsocket" } ]

labels: library-update

Superseded by #153.


neither <stdint.h> nor <inttypes.h> found, aborting

os: ubuntu 16.04
erl version:otp 19
rebar3 version: 3.3.6
rebar3 release can not work.

``` dcy@dcy-dcy  ~/app/eqsms  ./rebar3 release
===> Verifying dependencies...
===> Compiling erlsha2
neither <stdint.h> nor <inttypes.h> found, aborting
===> Hook for compile failed!

Before I address the issue, I'll note that if you're running Erlang/OTP 19, you don't need erlsha2 since the standard crypto module provides everything provided here.
You can get <stdint.h> on Ubuntu 16.04 via
apt-get install libc6-dev

You might need to run apt-get update first so that libc6-dev is available for installation.


#651 Minor doc updates

Just some super trivial grammar stuff.  However, there are a few changes to code snippets.

[x] Title includes issue id.
[x] Description of the change added.
[x] Commits are squashed.
[ ] Tests added.
[x] Documentation added/updated.
[x] Also please review CONTRIBUTING.md.

I pushed changes to address the comments.


Added support for OrganizationId and ProjectId

fixes #68
@trrwilson, we will need to coordiante this with AOAI package update. As we talked, AOAI library will now need its own client options.

I believe we can safely merge this even before the Azure breaking change -- the properties will be present but take no effect, as the Azure library manages its own policy logic.


? this

https://pastebin.com/AyCa1c7M

There are errors in your permissions.yml file.

ok where

groups:
ninja:
options:
prefix:'&0[ninja&0] &r '
permissions:
- essentals.kit.ninja
PvP:
options:
prefix:' [pvp]
permissions:
- essentals.kit.PvP
tank:
options:
prefix: ' &1[TANK&1] &r '
permissions:
- essentals.kit.TANK
phoenix:
options:
prefix:'&6[phoenix&6] &r '
permissions:
- essentals.kit.phoenix
schema-version: 1
users:
0be58318-b94a-4530-a35e-a1639af3f954:
group:
- owner
options:
name: Tamed_taco_pap
group: tank

As I told you in one of your (too many) other tickets, you need to count the spaces at the beginning of each line in this example, and make your file have the same number of spaces at the beginning of each of its lines.

they all have the same space amount

Compare your post to this post:
groups:
  ninja:
    options:
      prefix:'&0[ninja&0] &r '
    permissions:
    - essentals.kit.ninja
  PvP:
    options:
      prefix:' [pvp] '
    permissions:
    - essentals.kit.PvP
  tank:
    options:
      prefix: ' &1[TANK&1] &r '
    permissions:
    - essentals.kit.TANK
  phoenix:
    options:
      prefix:'&6[phoenix&6] &r '
    permissions:
    - essentals.kit.phoenix
schema-version: 1
users:
  0be58318-b94a-4530-a35e-a1639af3f954:
    group:
    - owner
    options:
      name: Tamed_taco_pap
      group: tank

The indentation isn't the same.

No response in 7 days.  Issue must be resolved.


Add a comment to a control

Add function to controls.php

Struggling with the form layout.  Next will be to add the php code to INSERT to SQL.


Problem while pulling DB from heroku

I created a new Database newdb and run following command
heroku db:pull mysql://root:mypassword@localhost/newdb
but it shows error
Warning: Data in the database 'mysql://root:mypassword@localhost/mydb1' will be overwritten and will not be recoverable.
No app specified.
Run this command from an app folder or specify which app to use with --app
and when i specify app name as    heroku db:pull mysql://root:mypassword@localhost --app
then it says
bash: syntax error near unexpected token `newline'
How to resolve this??....Please help...!!!!!

It looks like you left the name of the app off, so if your app is name 'example' you would want to do:
heroku db:pull mysql://root:mypassword@localhost --app example

I think the error came from leaving the last part off (so it expected the name but didn't find one, instead it found a newline).  I could be wrong on that but at a glance that seems likely.  Please reopen and let me know if this doesn't solve it.  Thanks!


gb vendor fetch fails on code.google.com repositories

$ gb vendor fetch code.google.com/p/goauth2/oauth
FATAL command "fetch" failed: go-import metadata not found
FATAL command "vendor" failed: exit status 1

Seems as if the metadata is not published anymore and ParseMetadata() relies on that.

I'll add code.google.com support, but you should aim to move away from that repo as soon as possible as code.google.com is shutting down.


Using Redis stream instead of Kafka

Hello,
I like that the async schema update was included in the new version 4.0, but the kafka and zookeeper dependencies make the system quite thick.
I was thinking that since Redis is still necessary for the application to work, it might be possible to replace Kafka with Redis stream.
If there was a need for such a development, I could do it. Is anyone interested in such a feature?

Hey. I think you can do that, yes. We use kafka internally for higher reliability with peristance, but I guess redis is a faster alternative if some prefer it more


sample-lnd.conf: remove duplicate setting and clean up section separators

973e87b remove extra whitespace and harmonizes the separators between config sections
2c92958 deletes a duplicate "nolisten=true" line + comment

Thanks for the PR! The commit messages need to be modified a bit, similar to what you've done in this one.

Thanks for the PR! The commit messages need to be modified a bit, similar to what you've done in this one.

Hi! Do you mean the "doc/sample-lnd.conf: " prefix before the message? I think someone did that for me, because in my local repo I don't see it. Sure, I can add that.
However, I see the sample-lnd.conf in the repo root folder, not in a doc subfolder. I see a doc**s** folder, though. Should my commit move the file to "docs", or keep it in the root?

@yyforyongyu I created 2 versions of this PR. In this version here I don't move the file to docs. In https://github.com/lightningnetwork/lnd/pull/5451 I do move the file. Pick one of the 2 :)


update pointers to use new repository, etc

There are a number of self-references to the old repository github.com/metalcycling/susql .
Likewise we should probably find a new location to store docker images other than docker.io/metalcycling .
Reference:
./cmd/main.go:	susqlv1 "github.com/metalcycling/susql/api/v1"
./cmd/main.go:	"github.com/metalcycling/susql/internal/controller"
./go.mod:module github.com/metalcycling/susql
./test/labelgroups.sh:namespace=metalcycling
./internal/controller/resource_manager.go:	susql "github.com/metalcycling/susql/api/v1"
./internal/controller/labelgroup_controller.go:	susql "github.com/metalcycling/susql/api/v1"
./internal/controller/suite_test.go:	susqlv1 "github.com/metalcycling/susql/api/v1"
./PROJECT:repo: github.com/metalcycling/susql
./PROJECT:  path: github.com/metalcycling/susql/api/v1
./deployment/susql-controller/values.yaml:containerImage: docker.io/metalcycling/susql-controller
./deployment/deploy.sh:SUSQL_REGISTRY="docker.io/metalcycling"

Some details:
old: github.com/metalcycling/susql
new: github.com/sustainable-computing-io/susql-operator
old: namespace=metalcycling
new: namespace=default
old: docker.io/metalcycling
new: quay.io/sustainable_computing_io

I have updated the code changes in branch issue6. I will create a pull request when outstanding pull requests are resolved.

Resolved with this merged pull request: https://github.com/sustainable-computing-io/susql-operator/pull/19


Append PR number to merge commit message

When merging a pull request on the GitHub web client, the suggested commit message (at least in the case of a squash commit, which we always use) will automatically include the number of the PR in parentheses, like so:
Update project files (#123)
However, when merging using this extension, the first line of the commit message will look like this:
Update project files
You can still edit it, but the number has to be added manually. I feel like this used to be the case - which is why I had half a mind to make this a bug report, not a feature request - but in any case, I'd prefer it if the extension behaved like the site.

Fix will be available in tomorrow's pre-release build of the extension.

When will this be added to the release? I noticed v0.80.1 still doesn't have it.

Yes, it will be in 0.82.0, which will be going out shortly (will require you to also update VS Code).


Switch to ubuntu in github actions

Deleting PowerShell Scripts
!!For future: Need to add LangVersion latest to every new repo using new workflow!!
Note to selves: !!Need to switch back to original tools-repo!!

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


Checking if a file is a res file

This is a continuation of https://github.com/rescript-lang/rescript-vscode/pull/539

Fixed the name! Merging now.


GetStickerSetAsync problem

I found a bug to report
GetStickerSetAsync() has error is_animated requird property not found

Please update to a more recent version of the library v21.*
https://telegrambots.github.io/book/index.html#-installation


Persistent data among tests with django and pytest

Hello there!
I just opened this question on stack overflow.
Do you have any idea?

I'm not familiar with pytest-django, and how it initializes the database. However, in general, it should be possible to define modules-scoped fixtures within a describe block:
def describe_someting():
    @pytest.fixture(scope="module")
    def db():
        # this fixture should be initalized once for all tests in this scope

    def test1(db):
        pass

    def test2(db):
        pass

If you can manage to create a fixture using pytest-django, that keeps the database alive during it's scope, you should get what you want.


Docs: Deployment?

Hey @lightpack,
this project looks neat. Found it via your reddit post @pradeep-tiwari  👍
Btw, when I looked through the docs I kind of felt I would like some more details/ideas/examples on how to deploy and run it easiest (or as intended). Not sure if I maybe missed something while looking around, but deployment was left a bit unclear to me.
Peter

Hello @spekulatius, glad to know that you liked this project 😅.
Yep, I agree with you about the docs. This projects is in its alpha version for now and its definitely needs good documentation for deploying and testing locally. I've planned to produce video tutorials in a couple of days soon (may be by the next 2-3 days). Those tutorials will cover installing the framework locally and building a sample app explaining routing, controllers, views, models, filters, and events.
Once done, will update the docs with tutorials. Meanwhile stay tuned 👍. This project needs early contributors for getting to a stable release. Thanks 😀

Hello @spekulatius, glad to know that you liked this project 😅.
Yep, I agree with you about the docs. This projects is in its alpha version for now and its definitely needs good documentation for deploying and testing locally. I've planned to produce video tutorials in a couple of days soon (may be by the next 2-3 days). Those tutorials will cover installing the framework locally and building a sample app explaining routing, controllers, views, models, filters, and events.
Once done, will update the docs with tutorials. Meanwhile stay tuned 👍. This project needs early contributors for getting to a stable release. Thanks 😀

Awesome, that sounds great! Please ping me here when you publish something @pradeep-tiwari !

Awesome, that sounds great! Please ping me here when you publish something @pradeep-tiwari !

@spekulatius I've updated docs with a sample tutorial to get started with Lightpack. Please let me know if that helps you. In the mean time I'm planning to record video tutorial for the same. Then I will move on to enhancing docs for individual components such database, ORM, filters, etc. If you have any suggestions for the framework, ping it here.
Tutorial Link Here https://lightpack.github.io/docs/#/sample-tutorial

@spekulatius I've updated docs with a sample tutorial to get started with Lightpack. Please let me know if that helps you. In the mean time I'm planning to record video tutorial for the same. Then I will move on to enhancing docs for individual components such database, ORM, filters, etc. If you have any suggestions for the framework, ping it here.
Tutorial Link Here https://lightpack.github.io/docs/#/sample-tutorial

I assume php -S <IP_ADDRESS>:8080 is for local development only, is it @pradeep-tiwari? Or would you use it on prod like this too?

I assume php -S <IP_ADDRESS>:8080 is for local development only, is it @pradeep-tiwari? Or would you use it on prod like this too?

Nope, only for local.

Nope, only for local.

@spekulatius Nope, only for local development.

@spekulatius Nope, only for local development.

Yeah, okay - good. That confirms my impression - what would you do for production hosting?

Yeah, okay - good. That confirms my impression - what would you do for production hosting?

@spekulatius It is advisable to serve project from public folder in production but because the project is yet in alpha version, I'm not concerned about production issues right now. I've planned to separate the framework as a separate composer package so that it becomes  easier for devs to update the project. Once that is done, I'll release the first stable version with few more unit tests to support the framework. I expect this to be done by the mid of this month end. The stable release will definitely have an updated docs with production deployment notes. 🙂

@spekulatius It is advisable to serve project from public folder in production but because the project is yet in alpha version, I'm not concerned about production issues right now. I've planned to separate the framework as a separate composer package so that it becomes  easier for devs to update the project. Once that is done, I'll release the first stable version with few more unit tests to support the framework. I expect this to be done by the mid of this month end. The stable release will definitely have an updated docs with production deployment notes. 🙂

Awesome, sounds good! Keep me posted!

Awesome, sounds good! Keep me posted!


Kafka coredump created for topic list command on Kafka broker

Description
Tried to list kafka topics from the Kafka broker by exec into one of the broker pod. Got error with address bind exception and created coredump.
$kubectl exec -ti kafka-0-wmdcv -n kafka -- sh
#/opt/kafka/bin/kafka-topics.sh --bootstrap-server=kafka-headless.kafka.svc.cluster.local:29092 --list
`
Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(Unknown Source)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(Unknown Source)
Caused by: java.net.BindException: Address already in use
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Unknown Source)
at java.base/sun.nio.ch.ServerSocketChannelImpl.netBind(Unknown Source)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at java.base/sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at jdk.httpserver/sun.net.httpserver.ServerImpl.(Unknown Source)
at jdk.httpserver/sun.net.httpserver.HttpServerImpl.(Unknown Source)
at jdk.httpserver/sun.net.httpserver.DefaultHttpServerProvider.createHttpServer(Unknown Source)
at jdk.httpserver/com.sun.net.httpserver.HttpServer.create(Unknown Source)
at io.prometheus.jmx.shaded.io.prometheus.client.exporter.HTTPServer.(HTTPServer.java:176)
at io.prometheus.jmx.shaded.io.prometheus.jmx.JavaAgent.premain(JavaAgent.java:31)
... 6 more
*** java.lang.instrument ASSERTION FAILED ***: "result" with message agent load/premain call failed at ../src/java.instrument/share/native/libinstrument/JPLISAgent.c line: 422
FATAL ERROR in native method: processing of -javaagent failed, processJavaStart failed
Aborted (core dumped)
`
Expected Behavior
For any wrong command given by user there should not be any coredumps or crash
Actual Behavior
Coredump created for wrong or unknown command or addressbind exception
Affected Version
Please provide the version number where this issue was encountered.
Steps to Reproduce

First step
Second step
etc.

Checklist

[ ] I have read the contributing guidelines
[ ] I have verified this does not duplicate an existing issue

Hello!
You need to unset the KAFKA_OPTS env variable first.
Please try this:  #unset KAFKA_OPTS


[feature request] OpenVPN with OTP and Challenge/Response

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md

[x] I have searched the existing issues and I'm convinced that mine is new.

Is your feature request related to a problem? Please describe.
The OpenVPN client has a nice option to add a challenge/response input box to enter a OTP, however I can't figure out how this should work in OPNsense.
I configured OpenVPN with google authenticator (which works great), but it requires to enter the number in combination with the password.
Describe the solution you'd like
I feel it would be much more user friendly if we could use the "static-challenge" option in the client.

Additional context
Just setting the static-challenge option in the client gives a "SIGUSR1[soft,auth-failure] received, process restarting".
The thread was opened by olivierfaber  in the forum.
I just ported it to github, that we can discuss thing a bit nearer to the code 😄

The Viscosity Client has this nice feature too.
By setting static-challenge "Please enter your OTP code" 1 in the client settings you'll get this nice window after you entered your credentials.

I dont know yet, what needs to be changed server side. I'm totaly new in the OpenVPN topic.

looks doable, it seems to encode the password differently when set:
SCRV1:dGVzdA==:OTk5OTk5OTk5OQ==

is the equivalent for password test token<PHONE_NUMBER>

Is this related to this docu?
https://github.com/OpenVPN/openvpn/blob/master/doc/management-notes.txt#L1120

yes, it seems so, specifically this:
password "Auth" "SCRV1:<password_base64>:<response_base64>"

With this request, I hope that I can save my credentials in the vpn client and only have to enter the OTP...

There will be one limitation, it won't support "reverse token order"

Eventually this plugin should be detached from the configuration, so I don't want to add extra knobs and switches in now.

Well, there would be one extra knob, "Use seperate OTP window" (then the reverse token order should be disabled)

it's a client setting only

Really? Oh ok. But does the current auth code works? How can I test this?

patience....

Sorry 😄

opnsense-patch 2c2eca7

will do the trick

It does the trick, but as you said, the limitation is that "Reverse token order" isn't selected.
And saving the credentials now works 😄

we might lift that limitation when working on https://github.com/opnsense/core/issues/3266

@tbandixen It might be good to review and update our docs (https://github.com/opnsense/docs), if you would like to contribute on it that would be highly appreciated.

Thank you for your quick interaction. I will definately have a look. Do you have a recommended hard-/software setup to test and maybe develop on the opnsense/core repo? I have a spare notebook...

Do you have a recommended hard-/software setup to test and maybe develop on the opnsense/core repo? I have a spare notebook...

I think https://github.com/opnsense/tools would be it, right?

you should be able to compile the docs with the steps described here https://github.com/opnsense/docs
Thanks in advance!

For core work set up a VM with OPNsense 19.1, change to development mode and update, then log into the console:
# opnsense-code core
# cd /usr/core
(edit files)
# make upgrade

Thank you, I will try both.

When will the patch be included in the releases? 19.1.3 und 19.1.4 didn't include the patch.

@tbandixen probably next version, I'll take a look at the custom config, kind of missed that one

@tbandixen https://github.com/opnsense/core/commit/24c5c6778c8c0b3ad80eeb81e4a135069d5f55ca is the custom config issue, it was saved, just not loaded properly

Thank you, thats it 👍


com.google.mediapipe.framework.MediaPipeException: not found: ValidatedGraphConfig Initialization failed.

Hi
No registered object with name: HolisticLandmarkCpu; Unable to find Calculator "HolisticLandmarkCpu"
No registered object with name: HolisticTrackingToRenderData; Unable to find Calculator "HolisticTrackingToRenderData"
No registered object with name: AnnotationOverlayCalculator; Unable to find Calculator "AnnotationOverlayCalculator"
I am using solution_core.aar file in my project.
Application install successfully and when i call setupStreamingModePipeline method and try to open steaming part at that moment getting above error.
Anyone can give suggestion how to registered in my project after i used AAR file.
If any one have solution_core.aar file please share with binarypb and tflite for assets folder.
Bazel version : 6.0.0
OS : Ubuntu 20.04   64 bit
Thanks

Hi @dharmeshdevstree
Please make sure you have added these calculators to the list of calculators in holistic solution AAR BUILD tracking file; particularly, in the bazel function mediapipe_aar(), calculators property.
Also, I see the bazel version you are using is 6.0.0. It is advised to install bazelisk and then build the solution with .bazelversion file stating the predefined version only.

Hello @ayushgdev
Thanks for reply.
I added calculators property.

And generated solution_core.aar file using
bazel build --fat_apk_cpu=arm64-v8a,armeabi-v7a //mediapipe/java/com/google/mediapipe/solutioncore:solution_core
command. (If anything miss to generate aar file please let me know).
Target //mediapipe/java/com/google/mediapipe/solutioncore:solution_core up-to-date:
bazel-bin/mediapipe/java/com/google/mediapipe/solutioncore/solution_core.aar
This is the path AAR file generated.
After i added above AAR file in my project still gettting below error.

Please suggest on above things and it's appriciated.
Thanks

Hello @dharmeshdevstree
Can you please try building the FaceDetection AAR first and let us know if that works for you?


There is no "-Credential" parameter in WS2016 RTM

I tried this cmdlet on Windows Server 2016 Datacenter RTM, it doesn't have "-Credential" parameter there. Please check out the source code in "Debug-NetworkControllerConfigurationState.psm1", you'll find it.

@niuke Thanks for reporting this!  I've reached out to the engineering team and will report back.

@anirbanpaul Can you help with this one?

@niuke, can you check once again. I can see the Credential parameter on Server builds. Please paste the output of Get-Help Debug-NetworkControllerConfigurationState.

@AnirbanPaul , here you go.
PS C:\Users\Administrator> [System.Environment]::OSVersion.Version
Major  Minor  Build  Revision

10     0      14393  0
PS C:\Users\Administrator>  Get-Help Debug-NetworkControllerConfigurationState
NAME
Debug-NetworkControllerConfigurationState
SYNTAX
Debug-NetworkControllerConfigurationState [-NetworkController]  [[-ResourceId] ] [[-ResourceType] ]  []
ALIASES
None
REMARKS
Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.
-- To download and install Help files for the module that includes this cmdlet, use Update-Help.
PS C:\Users\Administrator> Get-Command Debug-NetworkControllerConfigurationState
CommandType     Name                                               Version    Source

Function        Debug-NetworkControllerConfigurationState          <IP_ADDRESS>    NetworkControllerDiagnostics
PS C:\Users\Administrator>

Thanks. It is possible that this parameter was added after the Server 2016 release. If you need to use this parameter, you can either move to RS3 build (when it is released), or you can use the attached script in your setup.
To use the attached script,
a. Download the script to the machine where you want to run it. Extract the script from the zip file.
b. On a Powershell prompt, run the cmldet import-module Debug-NetworkControllerConfigurationState.psm1
c. Now,  run the cmdlet  Debug-NetworkControllerConfigurationStatev2 (Note the change in the noun)
Debug-NetworkControllerConfigurationState.zip

Debug-NetworkControllerConfigurationState.zip

@AnirbanPaul , thank you.


Mistake

In the rules processing order example, it refers to DNATRC3 in the answer.  DNATRC3 doesn't exist in the available Rule Collections...
Regards,
Jeff Smalley MCT
Chicagoville

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

ID: 6392b4a0-fa1e-fe5e-a31b-1eee48b860ef
Version Independent ID: 551028da-b651-30ac-0e77-9ee5eebf6bb0
Content: Azure Firewall rule processing logic
Content Source: articles/firewall/rule-processing.md
Service: firewall
GitHub Login: @vhorne
Microsoft Alias: victorh

Hello @JeffSmalley
Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

fixed
#please-close


USB Headset audio always defaults or switches 5-10 seconds after requesting focus

I'm noticing issues with the Samsung S7+ Android 12 and 13 along with the Pixel 7 Android 13.
I created a small Activity that would allow me to toggle which audio output to use. The toggle works initially but after 5-10 seconds I see the audio get switched back to the USB Headset Audio output.
Here is some logs:
2023-05-23 13:42:52.399  1061-1857  SoundAlive...384 arch64 audioserver                          I  SoundAlive_SRC384: Instance 173 Init(outFs 8, InFs 5, chnum 1, outBW 3, inBW 3)
2023-05-23 13:42:52.399  1061-1857  Samsung_So...SRC arch64 audioserver                          I  SRC384 version Samsung SoundAlive SRC ver320 arch64  2021.08.04 (Cppref for ARM64, ver.300.c 32bit 07_10_2016 based)
2023-05-23 13:42:52.594  1061-1857  SoundAlive...384 arch64 audioserver                          I  ~SoundAlive_SRC384(): instance 173

Hi!

I am not sure if it will be the same problem but I have noticed that in Android 12+ I have to reconfirm the mode change after modifying the audio output device
Otherwise, after 5s Android change back to default audio output device

Example code:
audioManager.setMode(AudioManager.MODE_IN_COMMUNICATION);
             AudioDeviceInfo speakerphoneDevice = getAudioDevice(AudioDeviceInfo.TYPE_BUILTIN_SPEAKER);
             if (speakerphoneDevice != null) {
                 success = audioManager.setCommunicationDevice(speakerphoneDevice);
                 if (success) {
                     audioManager.setMode(AudioManager.MODE_IN_COMMUNICATION);
                 } else {
                     Log.d(TAG, "Speaker error");
                 }
             }

I hope it helps you

I tried this workflow but still have the cut out after a few seconds of playing. I have a better log not sure if this helps.
AudioSwitchLog.txt

I am experiencing the same issue.  After switching to MODE_IN_COMMUNICATION, after about 5 seconds, the mode auto switches to MODE_NORMAL.
I tried @angeloraso example code and I still see the problem.

@schuranator I've been unable to reproduce the issue so far. Can you add a log file with AudioSwitch.loggingEnabled = true set where you encounter this issue?

Closing due to a lack of customer response.


HA node added to netdata after every restart

Not sure why, but after each restart of my HA I see new node added to netdata.
Previous marked as "offline" and newly added in "live" stage.
Is this "expected" behaviour ? or just some issue on my side ?

Same issue, seems like a bug

Hey !
I need to create Docker volumes to solve this issue, as it’s recommended by Netdata team https://community.netdata.cloud/t/containerized-netdata-agent-update-and-node-claiming/86/5
I’ll try to find the solution within the HA addon community

This could help in solving this issue. There is a link to an example


Add functionality to get PointerShape

Added dxcam.grab_cursor to retrieve PointerShape/PointerShapeInfo/PointerPositionInfo
This allows access to cursor-related information for drawing purposes.
Added szDevice to dxcam.output_info to allow mapping to MONITORINFOEX
These changes are used in https://github.com/scamiv/ActiveClone

This is amazing


[RiskIQ - EASM - Defender EASM] API Review

New API Review meeting has been requested.
Service Name: RiskIQ - EASM - Defender EASM
Review Created By: Adam An
Review Date: 05/02/2024 04:00 PM PT
Release Plan:
PR: https://github.com/Azure/azure-rest-api-specs/pull/28322
Hero Scenarios Link: Not Provided
Core Concepts Doc Link: Not Provided
Description:
Detailed meeting information and documents provided can be accessed here
For more information that will help prepare you for this review, the requirements, and office hours, visit the documentation here

Meeting updated by Adam An
Service Name: RiskIQ - EASM - Defender EASM
Review Created By: Adam An
Review Date: 05/02/2024 04:00 PM PT
Release Plan:
PR: https://github.com/Azure/azure-rest-api-specs/pull/28322
Hero Scenarios Link: Not Provided
Core Concepts Doc Link: Not Provided
Description:
Detailed meeting information and documents provided can be accessed here
For more information that will help prepare you for this review, the requirements, and office hours, visit the documentation here

Notes from API Review 5/2/24

dismissAssetChain -- this should be an LRO following our LRO pattern

You have most of the pieces already

getAssetChainSummary - why is this on discoGroup and not on asset?

what is the default for assetChainSource? (it is not required)

ASSET_CHAIN - this should be ASSET or ASSET_ID

what if sourceIds is not specified?

Asset chain source IDs -- what are these? If they are just asset IDs then use that terminology
Write down the taxonomy - the nouns and verbs for your service.

We want to have as few concepts as possible

What are the errors in success response of getAssetChainSummary ?

If there are errors, can I trust the other parts of the success response ?
We generally want an operation to be "success" or "fail" and errors are reported on a "fail"

Export assets

What's the difference between listing assets and exporting assets ?

Should we have the same query parameters on the ListAssets ?
What is missing from ListAssets ?
Export is a long-running operation

We should have a follow-up meeting to go through the remaining features.
The API Stewards will also provide feedback in the PR.

New API Review meeting has been requested.
Service Name: RiskIQ - EASM - Defender EASM
Review Created By: Adam An
Review Date: 05/16/2024 08:00 AM PT
Release Plan:
PR: https://github.com/Azure/azure-rest-api-specs/pull/28322
Hero Scenarios Link: Not Provided
Core Concepts Doc Link: Not Provided
Description:
Detailed meeting information and documents provided can be accessed here
For more information that will help prepare you for this review, the requirements, and office hours, visit the documentation here


Preserve existing style and format

It would be nice to support opening and preserving the styles and formatting of a xlsx file, that is already formatted.
Example use-case: existing xlsx file, already formatted, and just want to fill it with values.
When I do that now, by simply using OpenFile/Save, my style is not preserved (pictures, titles, indentation and so on).
I get the error below:
"We found a problem with some content in ’test.xlsx’. Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes."
Please, let me know if this is supported and I've missed it in the documentation.

Thanks for your issue. Which version of the Go language and Excelize library are you using? Could you follow the issue template and show us a complete, standalone example program or reproducible demo?

Go version: 1.20.4 darwin/amd64 but I'm also targeting arm.
Excelize Lib: v2.8.0
Samples xlsx below, nothing fancy:
sample.xlsx
Code below (just a simple SaveAs a different name):
report, err := excelize.OpenFile("sample.xlsx")
	if err != nil {
		log.Fatal(err)
		return
	}
	defer func() {
		if err := report.Close(); err != nil {
			fmt.Println(err)
		}
	}()

if err := report.SaveAs("test.xlsx"); err != nil {
		log.Fatal(err)
	}

Trying to open the tests.xlsx gives me an excel spreadsheet with no styling and the warning message: "We found a problem with some content in ’test.xlsx’. Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes."

Thanks for your feedback. This problem has been fixed, please upgrade to the master branch code, and this patch will be release in the next version.


Add Belgium road sign icons

Hi,
On the OSM wiki there is a page of all the common road signs we use in Belgium: https://wiki.openstreetmap.org/wiki/Road_signs_in_Belgium
When editing in Belgium, when selecting those tags (ex  "traffic_sign"="BE:F4a")
It'd be nice if it showed the actual sign icons like on the wiki
Cheers

@thibaultmol Yep, adding country-specific traffic sign presets is #5666. I'd love for there to be a traffic sign index where we can support Belgium and any place.

traffic_sign is one of several common tags whose values are prefixed by a country code and a colon. (network is another example.) These tags would benefit from a country selector like #7123 (which can default to the current country), plus a subfield of some sort that appends to the same tag.
A sign index would be really cool, though one complication is that traffic_sign technically accepts a complex syntax intended to describe the sign’s layout and contents. So unfortunately it’s more like opening_hours than the brand tag that has so successfully been indexed.


Support getting billing summary

One of our UC accounts contains several client apps and I'd like to see how much each of these cost us. Right now the UI under "Billing" is pretty difficult as it will either give me a log of incurred costs or summaries of monthly costs grouped by product and only containing the UUID of the product.
To calculate how much client A is costing us, I have to manually check the client's used product UUIDs and find them from the Billing > Monthly view to have any idea of how much something is setting me back. Then I need to sum up those costs.
Describe the solution you'd like
If I could get the same kind of list via upctl as what I get on the web, I could at least script it and match the rows with a collected list of UUIDs for that client. Even better if it could search all products and filter on request. E.g.
upctl billing --year 2024 --month 1 --all

Could list something like
RESOURCE    UUID                                                                    PLAN                               TIME       COST
Server            0039ca87-7c47-42dc-8edb-b4aeee91e887   6xCPU-16GB                  28 days  €120.00
Database      09533fd1-da18-4bc1-8f12-03a2b19f32e7     2x2xCPU-4GB-50GB     31 days  €103.33
[...]

Then you could do upctl billing --month 1 --year 2024 --resource server or even upctl billing --month 1 --year 2024 --match-name acme to look for each resource that has a name that contains "acme".
Describe alternatives you've considered
I've considered scraping your costs page, forming a lookup table and then listing our resources to match and calculate an estimate of billing, but that's a few hacks too many.
Additional context
TBH this is to overcome the shortcomings of the Billing views on the web-ui, but I do think it would benefit the command line client in other use cases as well.
Althought most of your clients are probably just paying attention to the grand total, this would benefit also cases where you want to know how much your staging environment is costing you out of the total.

Thanks for the feature request! We'll look into how this could be supported in the CLI. In the mean time, curl against our API (e.g. detailed summary or per resource summary) and jq for parsing the response JSON might also work 🤔
For example:
curl -u $UPCLOUD_USERNAME:$UPCLOUD_PASSWORD https://api.upcloud.com/1.3/account/billing_summary/2024-10/detailed


Write error diagnostics directly into an Err variant of the result instead of checking them in generate_code

All visitors currently write into the diagnostics in general. They could however directly create the Err variant of the result and write there.
Something like:
if we_have_an_error_already || the_visitor_just_returned_an_error {
	write_our_diagnostics_into_the_err_variant()
} else {
    write_out_diagnostics_into_the_state_diagnostics()
}

I'm not quite sure whether this is actually cleaner than what we have now @Mafii

After looking into it, I believe the current approach is better since it allows us to "cancel" an already successful compilation at any time since clean_up_diagnostics makes sure that the result reflects any errors encountered at any time correctly


how do i make this to work?

where do i put the files to make it work?
Thx!

I have no idea what you mean. What are the 'files' you refer to... please give more context.

Sry! I mean the Ansel /Camera for Dishonored! and how to use them!

You have to compile the code yourself, there's no binary. So if you don't know how to compile the code, then you can't use it, sorry :)


OS Files Downloading Module

Updated comment in nat.py to be correct
Created os_file_download.py

Reverted back to minimum viable product, will work on netboot.xyz integration in a separate PR.


added bytes type for Pydantic

Added support for the byte type for the Pydantic model

class User(BaseModel):
    avatar: bytes

@vortex14 hi, thanks for opening your PR! Can you add small test to be sure, that this mapping do exactly that expected?

@vortex14 hi, thanks for opening your PR! Can you add small test to be sure, that this mapping do exactly that expected?

it's ready

@vortex14 pipeline is failed :) small flake8 issue - https://github.com/xnuinside/omymodels/runs/6111686198?check_suite_focus=true

@vortex14 not sure what is with pipeline) I will merge PR and fix this pipeline issue later. Thank you for the PR!

@vortex14  released in 0.11.1 version


Spevacus: Watch +1(224)601-5280

Spevacus requests the watch of the watch_number +1(224)601-5280. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Thomas Ward in Charcoal HQ


Image path configration - V1.7

Image directory in  htdocs/free  path
In laravel config/lfm.php file has
'prefix' => 'laravel-filemanager',
'base_directory' => '../free',
'images_folder_name' => 'resources',
 'files_folder_name'  => 'files',

view file has
 path_absolute : "{{url('/')}}",
 var cmsURL = editor_config.path_absolute + '/laravel-filemanager?field_name=' + field_name;

Error image path getting error but folders directory path is correct any idea ?

Does this bug appears in v1.8 as well?


Centered hero button text, fixed hero button text location issue on m…

Thank you for your contribution to Bloody-Buddy 🤩🤩

Please mention the following in order to get PR merged  🙌🏻🙌🏻

Kind of change this PR introduce : CSS Fix #56
Issue it resolves :  Text center on hero button
GitHub Page Link :

This fixes the position of the text in the hero button. The text jumps between the top and bottom of the button when viewed from desktop vs mobile, changing the display to inline flex provides a uniform experience between both and properly centers the text
Before:

After:

Github page link @brianadams731

https://brianadams731.github.io/Blood-Buddy/ @2024-SANDHYA

Closed this as I moved the changes from this request into my PR #86, This is simply because I can only have one GitHub page per repo so I am not able to provide a demo of both of these changes separately.


COMP: Update KWStyle's version to avoid compile errors with C++23

Ref #2640.

Python build ran over time:
##[error]We stopped hearing from agent Azure Pipelines 4. Verify the agent machine is running and has a healthy network connection. Anything that terminates an agent process, starves it for CPU, or blocks its network access can cause this error. For more information, see: https://go.microsoft.com/fwlink/?linkid=846610
Agent: Azure Pipelines 4
Started: Today at 11:34 AM
Duration: 6h 12m 32s


Remove --docker-bridge-address option from docs page

--docker-bridge-address option has been deprecated, removing from docs

Cancelled and re-submitted as https://github.com/MicrosoftDocs/azure-docs-pr/pull/251430


⚠ ClamAV has degraded performance

In 90ec286, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 392 ms

Resolved: ClamAV performance has improved in 6f3a24f.


Cannot access options outside tasks

I need to access the value for an option (or find a better workaround) before defining my hosts which necessarily comes before calling tasks similar to #1320. We have a single code base that handles two websites which need to be deployed to different folders on the remote hosts.
$ bin/vendor/dep deploy --acronym=SITE_ACRONYM beta

// deploy.php
option('acronym', 'a', InputOption::VALUE_REQUIRED, 'Site acronym');
...
// use input()->getOption('acronym') to set('site_folder') and other values used by host config
...
host(...)
    ->stage('prod')
    ->set('deploy_path', '/var/www/html/{{site_folder}}')

I could duplicate all four host configs, e.g. beta-site1 and beta-site2, but that duplicates a lot of values and invites errors. Is there a better way to handle this? I already have a deploy.sh that checks some arguments and rearranges the call to dep so I'm happy to add something there. But I still don't see how to have an option/argument affect the host configurations.

@dharkness can you share an example?
Thanks!

@Shaked Do you mean an example of using a closure? Here ya go:
set('branch', function () {
    if (input()->hasOption('branch') && !empty(input()->getOption('branch'))) {
        return input()->getOption('branch');
    }
    else {
        return 'master';
    }
});

@dharkness - thanks. It's impossible to use it outside a task, right? I'd like to have different hosts depending on a specific option. Any idea how I'd be able to do that (if at all)?

A context is created to call get() which will be used when accessing options and arguments. It's a hack, but it allows you to access them outside of tasks. I discovered this only after building my workaround using environment variables.


Setting some columns fixed while scrolling in nisq analyser

Fix the columns till sdk/compiler for nisq analyser tables of algorithm and implementation.

I have the line under all headers. I checked in chrome and edge.

I test with Firefox


Help: beautify permission deined in ubuntu

Description
When use atom-beautify to beautify my code, it always fails with warning: permission denied.
Actual Output
Stack trace:
Parsing: input2021218-16452-7lsgli.nwn4f.c as language C
do_source_file: Unable to create output2021218-16452-a8uu9e.f5jkn.c: Permission denied (13)
Hide Stack Trace
Error: Parsing: input2021218-16452-7lsgli.nwn4f.c as language C
do_source_file: Unable to create output2021218-16452-a8uu9e.f5jkn.c: Permission denied (13)
    at /home/ken/.atom/packages/atom-beautify/src/beautifiers/executable.coffee:183:23
    at tryCatcher (/home/ken/.atom/packages/atom-beautify/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/ken/.atom/packages/atom-beautify/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/home/ken/.atom/packages/atom-beautify/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/home/ken/.atom/packages/atom-beautify/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/home/ken/.atom/packages/atom-beautify/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/home/ken/.atom/packages/atom-beautify/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/home/ken/.atom/packages/atom-beautify/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/home/ken/.atom/packages/atom-beautify/node_modules/bluebird/js/release/async.js:102:5)
    at Async.drainQueues (/home/ken/.atom/packages/atom-beautify/node_modules/bluebird/js/release/async.js:15:14)
    at processTicksAndRejections (internal/process/task_queues.js:89:5)

Steps to Reproduce

Add code to Atom editor
Run command Atom Beautify: Beautify Editor
This beautified code does not look right!

Debug
Here is a link to the debug.md Gist: https://gist.github.com/kenhutaiwan/1058044c4a9e2abe3c9417684cccc343
Checklist
I have:

[x] Tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
[x] Reloaded (or restarted) Atom to ensure it is not a caching issue
[x] Searched through existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues
so I know this is not a duplicate issue
[x] Filled out the Input, Expected, and Actual sections above or have edited/removed them in a way that fully describes the issue.
[X] Generated debugging information by executing Atom Beautify: Help Debug Editor command in Atom and added link for debug.md Gist to this issue

If you still need this and are looking for something to fill the spot that Atom left, I am using Pulsar the successor to Atom...   This package is working except for one deprecated error listed in #2605
If you don't need this anymore, can you please close this out so it's not just sitting there? Thanks


⚠ Bofrost.de has degraded performance

In 27cbd81, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 942 ms

Resolved: Bofrost.de performance has improved in c00316c.


[BUG] swagger 404 Page Not Found

hi
i'm using v1.1.2
i followed the guide:
https://github.com/vmware/harbor/blob/master/docs/configure_swagger.md
but http://<IP_ADDRESS>/static/vendors/swagger/index.html can't not be openned
it shows "404 Page Not Found"
is there any step missed by the guide?
log
==> /var/log/harbor/2017-06-29/proxy.log <==
Jun 28 21:19:43 <IP_ADDRESS> proxy[1162]: <IP_ADDRESS> - "GET /static/vendors/swagger/index.html HTTP/1.1" 404 513 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" 0.005 0.005 .
thanks

i find the problem in guide: https://github.com/vmware/harbor/blob/master/docs/configure_swagger.md
we should use absolute path below:
## add two lines as below ##
- ../src/ui/static/vendors/swagger-ui-2.1.4/dist:/harbor/static/vendors/swagger
- ../src/ui/static/resources/yaml/swagger.yaml:/harbor/static/resources/yaml/swagger.yaml
for me that is:
- /root/harbor/src/ui/static/vendors/swagger-ui-2.1.4/dist:/harbor/static/vendors/swagger
- /root/harbor/src/ui/static/resources/yaml/swagger.yaml:/harbor/static/resources/yaml/swagger.yaml

The guide on master branch should work with master code.

Pls make sure the path you add to the docker-compose.yml is right, cause we suppose you operate under harbor directory, then the script will make src directory outside harbor, the absolute path should be /root/src... (as you provided) if you don't move.  You can configure swagger totally according to the doc and try again.  @fffffreedom

thanks all


Update .travis.yml

Moved NUODB_HOME to before_install field
Fixed nuohub download path
Removed Arch type from NUODB_VERSION

Approved.  Merge to master and nuodbdev branches.


Xcode runs the error

react-native 0.46.4
xcode 8.3.3
Too many arguments to block...

Looks like it's a problem with your React Native version, which version your app running on?

I have the same issue, running RN 0.46.4

Can't really speak about iOS since I don't have it, but according to this:;
https://facebook.github.io/react-native/docs/native-modules-ios.html#promises
the error message is really strange, because on iOS reject(...) takes three arguments (on Android too, and only the first two are usually used, ending up as code and message properties on the Javascript Error object, respectively).

same on rn 0.47.2

Has anyone been able to fix this issue?

@SuhairZain
https://github.com/facebook/react-native/blob/master/React/Base/RCTBridgeModule.h#L40
typedef void (^RCTPromiseRejectBlock)(NSString *code, NSString *message, NSError *error);

@lll000111 I guess this is something to do with CocoaPods pulling in some old version of RN (0.17 or so it seems), but I can't figure out how that thing happens in the first place. Not your problem though. Sorry.

@lll000111 When I install RNFB using react-native link, I get the following error while building: ld: library not found for -l-lRNFetchBlob and when I try to do it using CocoaPods, I get the issue being caused by CocoaPods pulling in an ancient version of RN. Do you have any suggestion on how to fix this?

@SuhairZain I'm also just a user, and all I can say, unfortunately, is "works for me".... :-(

@lll000111 Which method did you follow? Do you remember?

@winpuc Winfried, can you answer the above question? How do you build one.pictures with RNFB?

@SuhairZain I would follow the manual linking instructions here. That's what I/we did to link RNFB for Android anyway.

I also lost time trying to solve this isse.
This library adds React/Core as a dependency:
https://github.com/wkh237/react-native-fetch-blob/blob/master/react-native-fetch-blob.podspec
And it appears that the added version is "0.11.0"?
This is what I get at the podfile.lock:

react-native-fetch-blob (0.10.6):

React/Core

react-native-intercom (9.0.0):

Intercom (~> 4.1.0)

React/Core (0.11.0)

This adds an old version of React.

@SuhairZain Also, when I try to use the manual linking instructions I cannot because the xcodeproj file is "greyed out". I cannot select it. Do you know why?

brownieeboy your solution is work. cheers mate


chore(graphql-toolkit-ast): release v0.1.1

🤖 New release

graphql-toolkit-ast: 0.1.0 -> 0.1.1

Changelog
graphql-toolkit-ast

0.1.1 - 2024-06-06
Added

(ast) depend on graphql-toolkit-value crate (#35)

This PR was generated with release-plz.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.79%. Comparing base (cbaa451) to head (2b5b4ee).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #38   +/-   ##
=======================================
  Coverage   86.79%   86.79%
=======================================
  Files           5        5
  Lines         780      780
=======================================
  Hits          677      677
  Misses        103      103

Flag
Coverage Δ

integration
87.80% <ø> (ø)

unit
0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Fail to run azd up with ASA-Samples-Event-Driven-Application

Describe the issue:
Test ASA-Samples-Event-Driven-Application template on DevContainer. Run azd up, get error as follow：

Run azd pipeline config get same error:

Repro Steps:

Login in with command: azd auth login.
Execute command: azd init -t ASA-Samples-Event-Driven-Application.
Run azd up.
Run azd pipeline config.

Environment:

Template: ASA-Samples-Event-Driven-Application.
Azd version : 1.7.0-beta.1-daily  (commit https://github.com/Azure/azure-dev/commit/81f3efd1049889762d01ca46a35630005b45f0b5)

Expected behavior:
Run azd up and azd pipeline config can pass.
@rajeshkamal5050  for notification.

@weikanglim can you triage to see if core asa azd deploy or template specific issue?
cc @yiliuTo @saragluna from ASA team to also take a look.

At a glance, this is happening since the container app is being deployed into what seems like a separate Spring APps managed resource group.
After provisioning, I have:

rg-weilim-asa-eda- -- The resource group that hosts all the resources
env-SpringApps -- This resource group hosts only the container app instance

Thanks @weikanglim
From the docs, https://github.com/Azure-Samples/ASA-Samples-Event-Driven-Application?tab=readme-ov-file#quickstart after setting the plan to azd env set PLAN standard seems to be deploying fine.
But, the default Standard consumption and dedicated plan(preview) seems to be broken.
@yiliuTo can you help triaging? seems related - https://github.com/Azure-Samples/ASA-Samples-Event-Driven-Application/pull/12

Thanks @rajeshkamal5050 @weikanglim @v-jiaodi , @fangjian0423 will look into this issue.

The root case of this issue is Azure Spring Apps consumption plan tier will create 2 resource groups with same tags, but AZD expect to get only 1 resource group with those tags.
We will output resource group name in out ASA template bicep to resolve it.

Thanks @fangjian0423
This also needs the same fix https://github.com/Azure-Samples/ASA-Samples-Web-Application/ ?

Thanks @fangjian0423
This also needs the same fix https://github.com/Azure-Samples/ASA-Samples-Web-Application/ ?

Correct, maybe all ASA templates need to update, we will handle it.

@fangjian0423 @yiliuTo can we get the remaining PR's merged.

https://github.com/Azure-Samples/ASA-Samples-Event-Driven-Application/pull/27
https://github.com/spring-guides/gs-spring-boot-for-azure/pull/29
https://github.com/Azure-Samples/spring-chatgpt-sample/pull/11


Uncaught Error: spawnSync clipboard_x86_64,exe ENOENT on Windows

Clipboardy works well on Linux and on Windows while developing. However, when I tried to build my app (it's electron app), it raises an error:

I think this is because the code runs the exe code on Windows, I think this should be fixed by using node js addon API to call C/C++ code natively from javascript instead of running exe file.

This is a problem with Electron: https://github.com/electron/electron/issues/9459
Electron also has their own clipboard methods, so you don't really need this package there.


Patch 4

Changes:
Actually added logic for reaching Crescent Island West Present, from the entrances there, which wasn't always the case.
Logic for reaching crescent island stairs after boulder, without bracelet, via tune of ages, and vice versa (using only currents there past to present, can actually be a softlock if you then currents elsewhere, moving your portal, leaving you unable to get back to the stairway, which is why it requires gales for currents)
There's logic for reaching the seed tree in mid right rolling ridge via gale satchel, but oddly not for the entrance in the same place. Fixed that.
And finally, just one of many to be done, just as an idea, added logic for dropping down a ledge, if you have gales to guarantee getting back up. Of course, with all of your softlock prevention map changes, this last one might not be needed, but it's still an idea.

I may think of a way to prevent the possible softlock from Crescent past stairs with Currents.
I may also just move the rock further North to undo the logic changes and save myself the headache.


Allow upgrading to faraday 0.10

I went up to 1.0 to match how faraday_middleware did it, but I agree that it's better to be on the safe side.

For whatever reason, Travis hasn't run this, but I've tested it locally and it works. Merging now!
@alexluke Thanks :heart:


Nested intake catalogs

I created an intake catalog for the CONUS404 DRB tutorials. I then added this as a nested catalog to HyTEST's primary intake catalog and put together a short notebook on how to access nested catalogs and its datasets.

Cool - thanks @alaws-USGS this was really helpful. Are these datasets that are read into the tutorial workflows from the intake catalog? Or are they outputs that you just gathered into a catalog to demonstrate this concept?
Trying to decide if we want to actually include this sub-catalog for people to reference and how it fits in with the bigger picture - so I'd like to understand where this data is currently used, and if you see other use cases for the data popping up in the future.

@amsnyder, these datasets will be read into my tutorials so the subcatalog will need to be kept.

Ok! I have a few suggested changes, but I'm open to pushback if any of them don't align with your views:

rename the entry to conus404-drb-eval-tutorial-catalog: to make it super clear that (1) this entry is a catalog and (2) it is for a specific eval tutorial (not just conus404 DRB data) - i know it's kinda lengthy but I err on the side of overly descriptive
move the sub-catalog yml into dataset_catalog/subcatalogs just to keep all of our data catalogs together (and update your notebook fp)
move the demo notebook into dataset_catalog/demos as it is a demonstration of how to use these catalogs
Update the end of the README.md with two pieces of info: (1) explain that we will create sub-catalogs for a variety of use cases that will be contained withing the subcatalogs folder, and (2) make a note that there are demonstrations of how to use the catalogs/subcatalogs in the demos folder

Let me know if you disagree with any of these!

@amsnyder I'll give these consideration and then provide feedback around the middle of next week.

Sounds reasonable to me!