[stable/rabbitmq-ha] Updated metrics parameters

What this PR does / why we need it:
The current template uses the prometheus exporter port as the container port but, doesn't map the port inside the container (which is the 9090 currently) so, when you use a custom exporter port the mapping becomes incorrect.
I also added the following (Mostly changes in documentation):

Added the capabilities exporter value to allow custom specification (Default to bert and no_sort for better performance)
Updated NOTES with info about how to access metrics depending on the type of service.
Updated Readme as some of the values listed as default were incorrect (for example prometheus.exporter.enabled was false on default but was listed as true by default)
Changed the default metrics port to 9419 because of a future breaking change in the rabbitmqexporter image (which recommends to use the 9419 port: https://github.com/kbudde/rabbitmq_exporter#breaking-change---100)

/assign @sameersbn

Hello @sameersbn, do you have any comments on this?
Thank you in advance.

Hello can any of you please give feedback on this?
Thank you in advance.
/assign @sameersbn
/assign @linki
/assign @scottrigby
/assign @unguiculus

cc @etiennetremel

/ok-to-test

/lgtm


Standard JavaScript / HTML colors

I know this is super low priority, but for someone trying Pixi.js for the first time, it's a little bit confusing when they try to set the stage color and realize that the colors must be in the format 0x00ff3f. Nearly every other plugin uses the standard CSS representation of hex colors, "#00ff3f". It would also be fantastic to be able to use the format "Rgb(0,0,0)". Just a small thing, but I don't think it would be super complicated to change.

Closing this since we use numbers to represent colors everywhere in PIXI now. Use another module to convert if you need it.


BUG: Missing tag item Calculated Mach (togglable)

The only togglable Mach tag item it's the Calculated Mach (above threshold, togglable)
https://github.com/MorpheusXAUT/IASsure/commit/b11d470f1523cbd7e1ffbf672e3a156cb15e3470#diff-a9df7f9fc5c73a5d20de56685ef8e9577ccf22ee8e758fd0cb97990f02b6bcbcL279

Fixed in v1.4.2.


support passing JSON directly

Requires #14, as it uses the progressive-app.json file.
For some reason, parsing the nyt.json JSON ourselves (i.e., using the old data in the test instead of the new file) outside the weird vm.Script context causes an error even though the devtools script just parses it too. I can't really work out why - something invalid in the nyt data?

@pmdartus

I am running into the same issue with the nyt.json, this recording comes from a previous version of Canary. I tried to reproduce the error again with the new version of canary, but didn't managed.

@samthor thanks for the proposal. Please rebase the branch, update the README.
And LGTM 🎉

Thanks, rebased! (Y)

@pmdartus Any chance we can get a new release with this? Thanks!

@samthor Sorry for the delay.
It has landed into 0.1.1. 👍


Improve case statement and REPL

I realized that Ruby's case permits empty conditions:
[1] pry(main)> case
[1] pry(main)* when 1
[1] pry(main)*   1
[1] pry(main)* when 2
[1] pry(main)*   2
[1] pry(main)* end
=> 1

Thus I have made the change to be like above:
Goby 0.1.10 😌 👺 😻
» class Foo
¤   def bar
¤     case
¤     when 1
¤       99
¤     when 2
¤       if true
¤         88
¤       elsif false
¤         77
¤       else
¤         66
¤       end
¤     end
¤     case
¤     when 7
¤       55
¤     when 8
¤       44
¤     when 9
¤       33
¤     end
¤   end
» end
#»

Actually, previous REPL had an issue that it cannot handle case sentences well. I also fixed this and now works fine as above.

I also found that the PR fixes other potential panic on REPL.
The following works on the PR.
block = Block.new do
  def new_method
    self.reverse
  end
end
str = "String"
a = str.instance_eval(block)  #=> panic on current master

I think this PR is ready to merge.


Observed 1Mbytes memory leak in roll out process by using installPreRollOutCallback

We are using easyloggingpp version from github. When backing up the log file in installPreRollOutCallback, We found that there are about 1Mbytes memory leak at the backup moment. This is observed in Linux by check the process status RSS segement. Any special treatment should be done in the roll out process?
Below are our code snippets:
el::Configurations conf("/home/root/log.conf");
// Reconfigure single logger
el::Loggers::addFlag(el::LoggingFlag::StrictLogFileSizeCheck);
el::Loggers::reconfigureLogger("default", conf);
// Actually reconfigure all loggers instead
el::Loggers::reconfigureAllLoggers(conf);
el::Helpers::installPreRollOutCallback(rolloutHandler);

void rolloutHandler(const char* filename, std::size_t size)
{
std::stringstream ss;
ss << "mv " << filename << " /run/debug_old.log";
system(ss.str().c_str());
}
log.conf:

GLOBAL:
FORMAT               =  "[%datetime|%fbase:%line| %msg"
FILENAME             =  "/run/debug.log"
ENABLED              =  true
TO_FILE              =  true
TO_STANDARD_OUTPUT   =  false
SUBSECOND_PRECISION  =  6
PERFORMANCE_TRACKING =  true
MAX_LOG_FILE_SIZE    =  8388608 ## 8MB - Comment starts with two hashes (##)
LOG_FLUSH_THRESHOLD  =  10 ## Flush after every 10 logs

do you see the same leak in sample? do you use valgrind?


[Feature] Only begin logging after n steps or epoch

If my model fails before the first epoch I have to go and delete the run from the W&B dashboard.
It would be great if there was an arg for only log after 1 successful epoch or n steps.
Perhaps this feature is already possible in the API but I haven't been able to find it.

Hi @ed-fish,
Thanks for your feature request! I'll ticket this for our engineering team to review, and I'll keep you updated on its status.
Thanks,
Ramit

Hey @ed-fish,
I wrote a little script for you to programmatically delete crashed runs from our API:
entity = 'entity_name'
project = 'project_name'

api = wandb.Api()

runs = api.runs(f'{entity}/{project}')

for run in runs:
    if run.state == 'crashed':
        print(f'Deleting {run.id}')
        run.delete()

This should be able to delete your runs programmatically. Please refer to our docs on API Run Objects in case you want to make more complicated expressions to delete your runs.
Thanks,
Ramit

That's great thank you!
Ed


TODO: Make PhpSyntaxTest::testShortTagsOffWillWork work on all platforms

Description
MakePhpSyntaxTest::testShortTagsOffWillWork work on all platforms, by building an alternative to find | grep.
See: https://github.com/silverstripe/silverstripe-framework/blob/cf78a9d785b9959a92dfb52c2a456bea80a4c567/tests/php/Core/PhpSyntaxTest.php#L21

Gonna close, since realistically the tests only need to pass on linux and we're not likely to spend time changing this.


Support Python 3.11

Python 3.11 is now in release candidate phase and will be released in two weeks. Support is ramping up, both in the scientific suite (with NumPy, Pandas, SciPy, Matplotlib and Seaborn already supporting 3.11, among others), as well in the geospatial suite (with Shapely CI is passing). It would be great if Fiona also supported Python 3.11 and made wheels available on PyPI.
#1145 might be a first step.

Duplicate of #1146

@EwoutH thanks for advocating for this and leading the way! The latest stable shapely and rasterio releases have wheels for 3.11 and fiona 1.9a3 does, too.

Awesome! I just installed Fiona, Shapely, Rasterio and GeoPandas all on Python 3.11, before the official release.
With 3.10 we were already in the new year before that was the case, so this offers a lot of potential for Python 3.11 adoption on the geospatial stack!
Do you think a backport to the 1.8 branch is possible, and release a stable patch version of Fiona with 3.11 wheels?

@EwoutH I've spent 110% of my monthly wheel building budget already :smile:
If the naive attempt at https://github.com/sgillies/fiona-wheels/actions/runs/3291788577 works, I will upload the artifacts. If not can you think about trying the 1.9a3 wheels?


Serial disconnect results in a modal error dialog box

As an MFP user, I use a microUSB cable with a magnetic tip to connect o a PC, and I use MFP with VR.
On occasion the cable has been pulled and it disconnects, and I reconnect it (since it's magnetic, that's easy to do by feel with an HMD over your eyes. It snaps into place with no problem
Alternately, I disconnect the cable and power from the connected device before closing the software.
In both cases, an error box pops up that requires a user action to close. With the new ability to auto-connect to interfaces that shouldn't happen anymore. If Serial comms (or others, including the various software apps) are lost, MFP should go into a silent reconnecting loop until either Serial is re-established or until the interface is stopped with the stop command (in the UI or with a keybind-equivalent)
Step to reproduce

Connect a serial device to MFP with a USB cable and play a video with a funscript.
unplug the USB cable from the serial device.
observe the error box with the OK button.

Desired behavior
When the USB cable is disconnected, MFP should:

Return the device to the home position
Attempt to reconnect to the disconnected device or player software until the connection is re-established OR until the user manually stops the interface/software player with the UI or keybind equivalent.

Yea I have also experienced this issue, for some reason the autoconnect thinks that it can connect without the serial port existing. The actual connection is the same as if you pressed the connect button manually in case there are other errors that need user attention, thats why it shows the dialog.

Should be fixed in this build: https://github.com/Yoooi0/MultiFunPlayer/actions/runs/915744532


Structure for the implementation of resources and unit tests for i3s

Description
The necessary structure for the implementation of resources and unit tests for image streamer was created.
Issues Resolved
#122
Check List

[x] New functionality includes testing.

[x] All tests pass ($ rake test).

[x] New functionality has been documented in the README if applicable.

[ ] New functionality has been thoroughly documented in the examples (please include helpful comments).

[x] Changes are documented in the CHANGELOG.

I think we may need to change things up from this model a little. Instead of placing the I3S module under the API300 module, I think we actually need to switch things around and separate them entirely from the OneView module variants. So instead of the namespace OneviewSDK::API300::ImageStreamer::DeploymentPlans, I suggest using OneviewSDK::ImageStreamer::API300::DeploymentPlans. This is for a couple of reasons:

The I3S API versions won't necessarily map to matching OneView API versions. If we want to add an API350 version to I3S but that version isn't supported in OneView, it makes things a little difficult. We'd have to add version 350 to the SUPPORTED_API_VERSIONS array , but we wouldn't be able to tell which versions are for OneView and which are for I3S.
ImageStreamer isn't really a variant for the OneView API. It's a whole separate appliance.

That said, because I3S is a whole different appliance with a different IP address and API versions, I think we need a separate client class for I3S as well. It interacts with a different endpoint, and it would behave slightly differently. For example, the authentication accepts only a token (created by OneView), no username & password.
So I think we'll need a namespace similar to this:

OneviewSDK

API200

(All API200 Resources)

API300

C7000

(All API300::C7000 Resources)

Synergy

(All API300::Synergy Resources)

Client (for OneView)
ImageStreamer

Client (For I3S only)
API300

(All API300 Resources)

This way we can expand the OV and I3S API modules separately as they are released.
Anyways, I'd like to hear your thoughts on all this.

@jsmartt thanks for the feedback. I agree with your thoughts. I implemented this this way because I did not know this particularity of the i3s. I'll make the necessary changes.

I had no clue about how I3S worked until a few hours ago (and still know very little at this point), so consider yourself the expert lol.

I share the same opinion as @jsmartt

@jsmartt , @tmiotto , @fgbulsoni I made the changes, but I do not know if it was as expected. I would like to hear your criticisms and suggestions, please.

@aalexmonteiro , other than a few small changes, the general layout and implementation looks good 😄

@jsmartt , I made the changes, but decided to remove the i3s information from the README because the i3s has not yet been released. I added a new section on CHANGELOG as you requested. Please verify and thanks for the suggestions.


Shortened min/max sizing props

🚀 Feature Proposal
Sizing props maxHeight, maxWidth, minHeight, minWidth should have a shortened prop name variant, in addition to the regular one.
I can try making a PR if you'd be ok with these changes.
Motivation
I saw that you switched to 'h' for height and 'w' for width props in v2. In those particular cases I like the shortened version, as it removes some verbosity. I think it would be good to have that option for other sizing props as well.
Example
export const maxHeight = style({
  prop: ['maxHeight', 'maxH'],
  cssProperty: 'maxHeight',
  themeGet: getSize
})

Then
<x.div maxH={8} h={32} />

<x.div minW={8} w={32} />

Pitch
This change achieves 3 things:

Makes those properties consistent with height and width prop name changes in v2
Makes those properties nicer to use
Allows more choice without breaking the original name variants

Hello @Makskow, I was wondering about it. Since users (you) are asking for it, I think I will add it.


Remove Validation Succeed SPAM

For example: https://github.com/aspnet/Docs/pull/2090
there are hundreds of Succeed messages for .PNG files.  It makes it difficult to quickly find/review useful information.
Can we suppress Succeed messages?
assigned to @bradygaster

@bradygaster  can you script deletion of these messages? All we need is the overall Validation, not the message details.


Trigger Hovers Programmatically

I'm trying to implement end-to-end visual difference testing for an application which uses Monaco Editor extensively (Bitauth IDE), and I'm having trouble triggering hover behaviors. The Cypress testing framework does not yet support triggering native hover events, so hover behavior must be be tested with JS or CSS emulation.

(Screenshot of a visible hover in Bitauth IDE)

Is it possible to trigger a hover via the exposed editor API?
I can't seem to trigger the hover with either the Cypress-emitted events or events emitted via:
temp1.dispatchEvent(new MouseEvent('mouseover', {bubbles: true}))

It seems like I need to be able to call ViewController.emitMouseMove from my application, but I'm having trouble figuring out if/where it is exposed in the API.
I also found a test which triggers CoreNavigationCommands.MoveTo in findModel.test.ts, but this also doesn't display the hover tooltip:
editor.trigger('mouse', '_moveTo', { position: { lineNumber: 1, column: 1 }});

How can hovers can be triggered in Monaco Editor?

You can do something like:
const ed = monaco.editor.create(document.getElementById("container"), {
    value: "body { background: red; }",
    language: "css"
});
setTimeout(() => {
    ed.setPosition(new monaco.Position(1, 21));
    ed.getAction('editor.action.showHover').run();
}, 1000);

See https://github.com/microsoft/monaco-editor/issues/1940#issuecomment-687169572


[BUG]: onConflictDoUpdate where clause not

What version of drizzle-orm are you using?
0.25.2
What version of drizzle-kit are you using?
0.17.6
Describe the Bug
In PostgreSQL, with this call I get the following SQL
db.insert(entities)
  .values({ externalId: '1', hash: '2' })
  .onConflictDoUpdate({
    target: [entities.externalId],
    set: {
      hash: sql`excluded.hash`
    },
    where: sql`entities.hash != excluded.hash`
  })
  .toSQL();

insert into "entities" ("external_id", "hash") values ($1, $2) on conflict ("external_id") where entities.hash != excluded.hash do update set "hash" = excluded.hash'

Expected behavior
I should get this SQL instead
{
insert into "entities" ("external_id", "hash") values ($1, $2) on conflict ("external_id") do update set "hash" = excluded.hash' where entities.hash != excluded.hash

The where clause should be after the set clause.
Environment & setup
No response

This should now be fixed in drizzle-orm@beta.


highlighting not working

Hello!
Nice work on the extension for TypeSpec! Been looking everywhere for a while. Your package installs correctly but I do not get any syntax highlighting.
I've tried installing it via:
require("nvim-treesitter.configs").setup({
	ensure_installed = { "lua", "vim", "vimdoc", "javascript", "typescript", "typespec" },

	sync_install = false,

	auto_install = true,

	highlight = {
		enable = true,
	},
})

Not sure if this is the correct place for this, since this package is not vim-specific.
I do have one idea though: are you on the newest vim/neovim version? The editor needs to correctly recognize .tsp files as typespec for tree-sitter to work. You can try running :set ft=typespec to test this.

You were right, I had to install a new version of nvim! Thanks again!


Google Analytics 4 properties

The new Google Analytics 4 properties seems not to be supported by gooogle-analytics-module.
The new Google Analytics tracking Id looks like this: G-XXXXXXX
When trying to add it i get the following error:
"analytics_debug.js:25 The tracking Id should only be of the format UA-NNNNNN-N."
How can we fix this?

You need to switch to a module that supports gtag.js
You can read more here https://github.com/nuxt-community/gtm-module/issues/82

Thank you.


IoT Hub Connection. How to access user properties?

Doc https://github.com/MicrosoftDocs/dataexplorer-docs/blob/main/data-explorer/ingest-data-iot-hub-overview.md#system-properties describes how to access system properties when using an IoT Hub Connection.
But that document doesn't cover whether user properties are also accessible / can be used in ADX or whether this is currently not supported. If it is not supported, pls mention that in the document (and ideally provide a workaround e.g. route D2C IoT hub messages to a storage acccount and use a Store/EventGrid ADX Connection to be able to access the entire IoT hub message incl all properties)

[Enter feedback here]

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

ID: c4906624-6602-9047-87e9-c87882642dbb
Version Independent ID: 010f471b-67ea-958b-a1f9-74a26c408a25
Content: Ingest from IoT Hub - Azure Data Explorer
Content Source: data-explorer/ingest-data-iot-hub-overview.md
Service: data-explorer
GitHub Login: @shsagir
Microsoft Alias: shsagir

@se02035 Thank you for sharing feedback.
@shsagir Could you please validate customer feedback and update document as appropriate? Thank you.

@se02035 Thanks for contacting us with feedback about our product documentation. Depending on the complexity, it could take from a few business days to a few weeks to look further into your question, issue, or suggestion. We'll contact you if we need further information, and you'll receive an email message each time we "@mention" you in a comment.
Thanks again for submitting your feedback. Your suggestions help improve our documentation.

There is no support for enriching IoT Hub events payload with user properties. Consider embedding user properties in the event body upstream.

@se02035  Thanks for your feedback. We've submitted a documentation change based on your suggestion, and the updated article should be live by tomorrow. Please let us know if there's anything more we can do for you. To follow up on this issue, leave us a comment with an @mention.
#please-close


refactor: break out reflect icon asset

This change moves the reflection icon into an IconifyIcon-compatible icon definition
that can be used with <Button icon={...}>.

Oops - I didn't disable deploy previews on design-awareness-staging, which still uses an older version of node that won't build successfully. We can ignore these failing checks for this one and this shouldn't happen for future PRs.


fix(patch): Add optimize.no.crossmodule to blackHole to ensure it works

Description
blackHole() didn't work as expected for some of our benchmarks, some further investigation found this commit:
https://github.com/apple/swift/commit/1fceeab71e79dc96f1b6f560bf745b016d7fcdcf
AFAIU this broke with Swift 5.8.
Using the same approach for our benchmark and we got more expected results inline.
How Has This Been Tested?
Manual tested with internal benchmarks.
Minimal checklist:

[x] I have performed a self-review of my own code
[ ] I have added DocC code-level documentation for any public interfaces exported by the package
[ ] I have added unit and/or integration tests that prove my fix is effective or that my feature works

Should add a unit test to the benchmark package that validates that blackHole works as expected so we don't run into this again, will do that tomorrow.


See if we can remove partial precomputation

Currently, the only reason to require a custom curve library is to support partial precomputation. This permits a more flexible use of inner-product generators.
While it's beneficial to have this flexibility, it's a headache for integration with other libraries. It might be useful to revisit this design choice and see if it can be removed in favor of being able to use the upstream curve library directly.
For use cases in the Tari ecosystem, it's unlikely to cause efficiency problems in practice. For use cases elsewhere that do require a larger inner-product generator set than is used in verification, there are options. Either the caller generates parameters for the aggregation factors it actually needs (which incurs no internal efficiency hit), or we allow for a larger generator set but pad the corresponding scalars (which does incur an efficiency hit).

This entire issue would be rendered moot if an upstream curve library PR is accepted. However, it's been stuck in the queue for many months, and it's not clear if it will be merged.

The curve library PR was accepted! This feature can be added back in again once a release is tagged.


document creating new system profiles out of old generations

Issue description
while having trouble with broken recent generations of unstable i figured, that if i generate the correct symlinks in the system-profiles global profile folder, i could get the next run of `nixos-rebuild put them up into the boot menu while at the same time preserving them from garbage collection
this process should be documented somewhere (im just logging the issue cause i cant do it right now)
please comment on where to put that information as well
Steps to reproduce

create a new generation symlink using the same target path as the system generation in question
create a default symlink matching the wanted generation

cd /nix/var/nix/profiles/
ln -s $(readlink system-124-link) system-profiles/backup-1-link
cd system-profiles/
ln -s backup-1-link backup
nixos-rebuild boot

Technical details

System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)
Nix version: (run nix-env --version)
Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)

Should like a hack to fix a broken system? Should this be supported/documented?

Yup, this allows to build a safety net in some sense

Still important to me

again, dito


Missin .env file, when building from android studio

I am using mac m1
run this command
ENVFILE=.env.qa react-native run-android --variant=qa_debug
It works fine i am able to get variables from config.
But when I try to rum same variant from android studio it fails with error
Reading env from: .env
**************************
*** Missing .env file ****
**************************

I have tried almost all the solution available, here are my settings
project.ext.envConfigFiles = [         prod_debug: ".envProd",         prod_release: ".envProd",         qa_debug: ".env.qa",         qa_release: ".env.qa", ]
defaultConfig {
      versionCode 1
      versionName "1.0"
      resValue "string", "build_config_package", "com.myPackageName"

And my falvours
productFlavors {
        qa_ {
            applicationId "com.myPackage.qa"
            dimension "version"
            versionCode 1
            versionName "1.0"
        }
        prod_ {
            applicationId "com.myPackage"
            dimension "version"
            versionCode 1
            versionName "1.0"

        }
    }

Problem is when building with Android studio, and because of pipelines i have to keep my andorid studio setup good and working because builds are made from native android gradle code instead of package.json.

Here's how to set the default env file, add these in app/build.gradle:
For example, I have three different builds with three different files, and my default is dev.
project.ext.defaultEnvFile = "../__scripts__/.env.dev"

project.ext.envConfigFiles = [
    dev: "../__scripts__/.env.dev",
    qa: "../__scripts__/.env.qa",
    stable: "../__scripts__/.env.stable",
]

@BoilingOil my problem is not about default .env file, its about when i rum build from cli its works fine but when i run from android studio i am not able to receive constants

If you don't have a file called .env file in your project, then it is precisely your problem.
Observe: you set the default environment on command line, but $ENVFILE is not automagically set when running builds from Android Studio.
looking at this file in the codebase: https://github.com/luggit/react-native-config/blob/master/android/dotenv.gradle
Start at line 24, but line 26 is particularly interesting. It says:
    def envFile = project.hasProperty("defaultEnvFile") ? project.defaultEnvFile : ".env"

Which means by default it will look for a file named ".env" at the root of your project.
So, it's either use a file named .env that the library is looking for by default instead of whatever you renamed them to, or tell the library you renamed the file by setting the defaultEnvFile to the new file name and location like in my example.
Then you'll be able to build from command line and Android Studio and get the same results.
make sure this line is in your proguard-rules.pro file:
-keep class com.ea.gp.brooklyn.BuildConfig { *; }

Good luck to you...

answer from @BoilingOil works for me. Just setting the defaultEnvFile on your gradle.properties should do the job
defaultEnvFile=.env.dev


TypeError: Cannot read properties of undefined (reading '31')

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.78.2
OS Version: Ubuntu 23.04

Steps to Reproduce:
I'm not quite sure of any consistent reproduction steps, but I managed to capture the stack trace of the error:

workbench.js:2699 [uncaught exception]: TypeError: Cannot read properties of undefined (reading '31')
workbench.js:2702 TypeError: Cannot read properties of undefined (reading '31')
    at g._setCellUnderline (DomRenderer.ts:388:33)
    at g._handleLinkLeave (DomRenderer.ts:384:10)
    at DomRenderer.ts:82:66
    at t.EventEmitter.fire (EventEmitter.ts:55:16)
    at c._fireUnderlineEvent (Linkifier2.ts:368:13)
    at c._linkLeave (Linkifier2.ts:375:14)
    at c._clearCurrentLink (Linkifier2.ts:263:12)
    at c._handleHover (Linkifier2.ts:115:12)
    at c._handleMouseMove (Linkifier2.ts:106:12)

Thanks for creating this issue! To help narrow it down, please take the time to follow below steps. Thanks a lot and happy coding 🙏
Is the issue caused by an Extension?
Stop VS Code and from the command line (NOT the integrated terminal in Code), execute: code --disable-extensions and try your steps again to see if it reproduces. If it still reproduces, jump to the next chapter.
If you see it is an issue with the extension, please run the command Start Extension Bisect and follow the instructions to find the extension that is causing this issue.

Please report the issue to the extension causing this.
Is the issue caused by VS Code Core?
If the issue is not caused by an extension, it is maybe caused by your configuration. Try to run code --disable-extensions --user-data-dir <directory> where <directory> is an empty folder. This will ensure Code is starting with a fresh data directory, e.g. no specific settings and without any extensions running.
If it still reproduces, it was maybe fixed already in our nightly release. Please download from https://code.visualstudio.com/insiders/ and see if you can reproduce the issue.
Finally, to help us narrow down what change caused the issue, please run the following command to find the build. It will start previous releases of VS Code insiders to see where the regression was introduced:

npx --yes vscode-bisect@latest
follow the instructions until you found the offending build
report back the commit range in this issue

Thanks!

Fixed upstream in xterm.js


PR: Improvements to visual style of code-folding

Fixes: #4147

Now It looks like this:

And in darker themes:

@rlaverde, really nice!! Please rebase in top of master to fix the hangup on CircleCI.

this is much better.  Thanks @rlaverde!


Add details for building Blockstream Jade emulator to test/README.md

Closes #568

utACK b24d18b

cheers - and apologies for missing this on the first pass.


Docs: convert ARM boards to cmake

Convert the ARM boards' usage of "make" commands to cmake using zephyr-app-commands.
With x86 done, this leaves ARC, NIOS II, RISC V 32, and XTensa. That's actually not very much work, since those arches don't have very many boards. That will come next, and boards/ will be converted.
Note that there are a few cases where "make" commands were deliberately left when building other tools.

@carlescufi thanks for the review! Comments addressed.

I had some time to get the rest of the boards today.

@nashif nice catch! fixed.


Storage: Take snapshot when backing up ZFS volumes

As tarball creation will not create consistent backup when instance is running and files are being modified during backup, we avoid this by creating a snapshot of the main volume.
This is possible because ZFS allows us to create a snapshot quickly without freezing the main volume.

Testsuite passed


Make default httpd.max_http_request_size consistent

The httpd.max_http_request_size defaults to 64MB. However if the value is unset it defaults to 4GB 1, 2, 3, 4, 5. Also I interpreted the documentation to say it defaults to 4GB (though the default isn't explicitly stated).
Expected Behavior
Users expectations are met.
Current Behavior
Users get surprised by the actual default value.
Possible Solution
Either:

the default.ini should be updated to 4GB (or commented out) to be consistent with the fallback values and documentation, or
the fallback values and documentation should be updated to 64MB to be consistent with the default.ini value

Your Environment

Version used: 2.11
Link to your project: https://github.com/medic/medic-webapp/issues/3257#issuecomment-385306461

We're resolving this differently in 2.2.0 - the entire semantic will change because of underlying issues.
See #1200 and #1253 on what is changing.

FYI you should never modify default.ini, this file is intentionally updated with each release and sometimes doesn't match defaults set in the code.
This is why the default is 64MB in the ini file but different in the actual code...

@wohali Thanks for that. Do you think it'd be worth updating the documentation? It looks like this value will continue to default to 64MB through v3.0 and it would be helpful to specify that instead of 4GB as it does currently.

@garethbowen #1253 is tagged to be resolved in 2.2.0 in some form. I will make sure that we update the documentation as part of that effort in some regard, since this is a big change with forward-looking ramifications.


[CN] change typo in cn/lessons/basics/collections.md

@cizixs, could you review this, please?

@ShallmentMo Thanks for your help.
LGTM and I'll just merge this.


Update snapshot

Updates the snapshots for fetch-react.
Changes
Fixes a snapshot test
Testing
unit tests
Docs
bug fix

This addresses the immediate issue of the failing test (at least on my machine).
But it may be indicative of a different issue.
Looking at the package.json in test/esinstall/package-react it shows both react and react-dom locked to 16.13.1.
However, looking through the generated code, ReactVersion = '17.0.1'

This addresses the immediate issue of the failing test (at least on my machine).
But it may be indicative of a different issue.
Looking at the package.json in test/esinstall/package-react it shows both react and react-dom locked to 16.13.1.
However, looking through the generated code, ReactVersion = '17.0.1'

seems to use the proper bundle in CI.

seems to use the proper bundle in CI.


'Incomplete wav chunk' inconsistent/reason unknown

I'm getting ValueError: Incomplete wav chunk. at random. I have ~2000 wav files downloaded from the same origin, and ~half of them raise the error, while the other half don't.
Here's a link to a StackOverflow question I've asked, currently unanswered.
Reproducing code example:

Assume filenames is a subset of all my audio files, containing fn_good and fn_bad, where fn_good is an actual file that gets processed, and fn_bad is an actual file that raises an error.
def extract_features(filenames):
    for fn in filenames:
        sr, y = scipy.io.wavfile.read(fn)
        print('Signal is: ', y)
        print('Sample rate is: ', sr)

Error message:

Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "E:\alon_emanuel_drive\School\Year2\Semester2\67690_AI_as_a_Tool\venvs\prosody-venv\lib\site-packages\scipy\io\wavfile.py", line 248, in read
    raise ValueError("Incomplete wav chunk.")
ValueError: Incomplete wav chunk.

Scipy/Numpy/Python version information:
1.3.0 1.16.4 sys.version_info(major=3, minor=7, micro=1, releaselevel='final', serial=0)

I tentatively added the "defect" tag, but I'm not sure if this is really a defect, or if the function is correctly reporting an error.   For what it's worth, I can read the files with no errors or warnings using wavio, which is just a wrapper of the standard library wave, so I suspect something is wrong in the SciPy code.

I solve the problem by changing this number "4" to "1"  in the file wavefile.py file,
in this condition of the code:len(chunk_id) < 1
   if not chunk_id:
            raise ValueError("Unexpected end of file.")
        elif len(chunk_id) < 1:
            raise ValueError("Incomplete wav chunk.")

but it was by just intuition and good luck, now i wonder why this works and what are the possible reasons?

Can you re-publish the files?  I'm getting this for a file with an extraneous 0x00 byte after the last id3  chunk.  (Chunk length is 0x39 = 57 but there are 58 more bytes in the file.)  The data part had already been read successfully, though, so yes I would consider this a bug.
This should be more forgiving and just become a warning as long as fmt_chunk_received and data_chunk_received are both True.  The only way len(chunk_id) < 4 is if it has reached the end of the file, right?

Fixed by #12110 I think


Reduce configuration cache boxing overhead

This PR reduces memory allocations on perf-android-large-2 assembleDebug cache hit by 5.7%.
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test ACC

I've triggered the following builds for you. Click here to see all build failures.

AllConfigCacheTestsPullRequestFeedback build

@bot-gradle test APT

I've triggered the following builds for you. Click here to see all build failures.

AllPerformanceTestsReadyForRelease build

WARN: Based on labels, this pull request addresses notable issue but no changes to release note found.


Support ingesting private repo jobs

In order to allow using the REST API for private repos, we need a token that has repo access (As per the docs).
pdm run ingest https://github.com/getsentry/getsentry/runs/6358404978
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.github.com:443
DEBUG:urllib3.connectionpool:https://api.github.com:443 "GET /repos/getsentry/getsentry/actions/jobs/6358404978 HTTP/1.1" 404 None
Traceback (most recent call last):
  File "src/cli.py", line 14, in <module>
    req = get(url)
  File "/Users/armenzg/code/github-actions-app/src/github_sdk.py", line 32, in get
    raise Exception(req.text)
Exception: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/reference/actions#get-a-job-for-a-workflow-run"}

I don't know if this issue is still applicable since we have data from one of our private repos. This may have been an issue when using personal access tokens.

yeah this was from the PAT days -- repo isn't a scope for apps (they'd get contents: read for an installed repository) -- can probably close this one out :tada:


[feat] Add option to disable JSON report

Will fix https://github.com/eth-cscs/reframe/issues/1476

Codecov Report

Merging #1480 into master will increase coverage by 0.00%.
The diff coverage is 86.66%.

@@           Coverage Diff           @@
##           master    #1480   +/-   ##
=======================================
  Coverage   91.72%   91.72%
=======================================
  Files          82       82
  Lines       12924    12926    +2
=======================================
+ Hits        11854    11856    +2
  Misses       1070     1070

Impacted Files
Coverage Δ

reframe/frontend/cli.py
79.47% <86.66%> (+0.10%)
:arrow_up:

Continue to review full report at Codecov.

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

Tested with:

pytest-3 unittests/test_cli.py
reframe hello1.py -> ~/.reframe/reports/run-report.json
reframe --report-file=/tmp/0_{sessionid}.json -r -c hello1.py ->  /tmp/0_0.json
reframe --mode maintenance -C cscs.py -r -c hello1.py -> $APPS/.../run-report-0.json
RFM_REPORT_FILE=/tmp/0.json reframe  -r -c hello1.py ->  /tmp/0.json


load checkpoint from local path: ./path/to/ckpts.pth

Readme did not tell me where to download the modified file. Do I need to create my own folder for './path/to'?

You need to download the model, and specify the path to that model (.pth file) in the command.


Remove more redundant code

@borcuttjahns I did some heavy cleanup here, most notably removing the .nc files as intermediates. With Xarray operations, loading the data directly from csv can be very fast. However, I've missed something about the way you normalized the data, as the prediction performance has dropped, and the heatmaps in Fig. 1 are entirely different. I'd appreciate it if you would take a look when you have a chance.

Ok I think this should have fixed the issues. It just ended up being something about how untreated levels were being normalized, and then how labels were assigned to patients. Take another look too because I don't know exactly what it's supposed to look like in that you mentioned there was a new factorization approach w line search with new accuracies etc.!

Great, thanks! I should be able to take it from here.

Hi - were you planning on making some more changes to this branch? Or can I merge it and work from there?


Make callbacks optional

Currently callbacks are blindly called without checking if they actually exist -- making all callback functions mandatory. Not every application would need to use all the callbacks.

Thanks, released as 1.1.2


Incorrect computation of normalized distance

We found that the normalized distance could be computed incorrectly.  As shown in afl-fuzz.c:4853, when max_distance == min_distance, the normalized distance is equal to the distance of the testcase. Thus, the normalized distance could be larger than 1.0, which leads to a quite small power factor.

Thanks @bjchan9an! Good catch. Can you submit a PR with a bug fix?


Data migration support

This add support for callbacks when schema needs to be migrated. I relies on automatic schema migration but does a callback when the schema is changed to allow the user to perform any migration of data.
Probably requires:

[ ] Dynamic (string based) API to allow to objects from the old instance.

Closes #87

Superseded by #674


mac-23 lost external connection from phone devices.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
mac-23 lost external connection from phone devices.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Rebooting phone device to restore connection.


PyPi downloads badge showing "no longer available"

Currently, the PyPi downloads look like this:

But I would like to see the numbers of the downloads.
In some way,
Examples: PyPI:

 https://img.shields.io/pypi/dm/Django.svg
 https://img.shields.io/pypi/dw/Django.svg
 https://img.shields.io/pypi/dd/Django.svg

But these badges work:

 https://img.shields.io/pypi/l/Django.svg

Source code:

https://github.com/badges/shields/blob/b126b4ebdc64015a3d6e845d9c051f69ad81c4ea/server.js#L2250

Searching for the results in https://pypi.org/pypi/crc8/json , I see no way  to get them. They are all set to -1. "downloads":-1

It seems like this issue can be taken on once this issue is resolved: https://github.com/pypa/warehouse/issues/699

Download statistics on PyPI should now be retrieved using Google's BigQuery.
Is it possible to add them?

PyPI currently don't serve download stats via the API. See https://github.com/badges/shields/issues/716
It is unclear if they'll ever add it back but as noted in the linked issue, it isn't something the core warehouse team are working on.
I think @espadrine has already looked at the possibility of using BigQuery and decided against it. I'd assume the same limitation applies now.

Would be happy to incubate a new project in the badges org, which could be hosted separately, that would run a nightly job that fetches the bigquery data, perhaps pushes it all to s3 or google cloud storage, and if necessary provides an API. Something like that would be a great service to the community.

If you wanted to take that on as a 'microservice' (i.e: outside the shields codebase and hence not constrained to having to use javascript), I think the most developed wrapper for working with that data is https://github.com/ofek/pypinfo
Maybe a small JSON API which can query on demand but cache the result on S3 (which can handle the invalidation itself with expiration dates/rules) might be a good approach. Cache on demand might be easier than trying to process the entire python package registry every day.
Its all fun and games until loads of people start using it though. There is a reason PyPA don't host this themselves anymore..

Hmm, yea, these BigQuery charges seem like they would add up quickly.
It's a good point that the vast majority of the data wouldn't be used.
I wonder what a minimal version of this would be. Do people use the monthly badges, weekly, yearly, or total badges the most? Or did they, back when the badges worked. I wish we had per-badge stats.
Based on what pypinfo is outputting, it seems like fetching a single package's data for one day costs the same as all the packages' data for that day. (Which is roughly $.01.) It makes sense not to put resources into processing counts for packages nobody is interested in, though I don't think hitting BigQuery on demand is going to work…
Fetching all the data needed to support yearly, monthly, and daily queries costs about $.50 and is about 22 MB. Those could be refreshed once a day and stored on S3 or Google Cloud ($15/month). The application could snag those files when they change, and put the results into an in-memory database. Seems like something like the Zeit Now OSS plan could handle the load on the order of Shields' requests.

is about 22 MB. Those could be refreshed once a day and stored on S3 or Google Cloud

22 MB? That's smaller than I thought.
With the <$4/mo VPS we use, we have 2GB of RAM and 20 GB of SSD, so we'd have plenty of space to keep that data in RAM and dump it to SSD for reboot persistence.
So we could have that service for $20/mo.
I expect most to not care about the per-day figure, so we can probably stay at roughly $5/mo. Can we afford that?

I wish we had per-badge stats.

(We have an awkward per-badge statistic through the rate limit monitoring API: https://github.com/badges/shields/blob/master/lib/sys/monitor.js#L68.)

We could also have fun with memcached-like systems :) To be honest, I started working on jsonsync because I wanted to synchronize the https://img.shields.io/$analytics/v1 endpoint.

It's nice to talk with you about this stuff!

An aside about RAM: if we do have RAM to spare I would like to use it to bump up the request-handler cache. That's one of the low hanging fruits when it comes to performance boosting. We've observed this based the home page badges and the frequency at which their corresponding API calls are triggered. Since these badges are rendered all the time, they should stay in the cache until expiration, and they seem to be evicted after minutes.
https://github.com/badges/shields/blob/master/lib/request-handler.js#L28
If I recall you had reduced this to avoid OOM conditions, though it would be great to crank it up by 5–10x.
…
For that matter, since you mention the SSD: a persistent backing seems like a great candidate for this kind of caching! The entries are precious, and we don't care about the difference between microseconds and milliseconds. I was just looking at some already-tested key–value stores that can be backed by disk or other cloud storage, for another project.
Preferably we'd sync this across machines, which would give us another 3x boost.  Would rsync be a candidate for that?
Aha! So let's hold off on the RAM change and switch that over to a persistent on-disk cache, instead. I'll open a new issue. Curious your thoughts on syncing…

Okay, back to Python. If it seems safe to keep it in memory, let's do that! If setting up rsync is easy, let's use SSD as the backing. Otherwise I would rather use cloud storage, which is still fast enough to load on startup, and would trivially sync across machines. It also means the BigQuery refresh job could trivially run on another cloud provider, which means more people can have access.
Yea, we can afford $5–20. We've gotten some good-sized contributions, and have an expectation of cash flow and also some runway.
I don't think we've ever had daily stats. Weekly on up. I think daily refresh would be nice for reducing latency in the weekly totals and being more transparent. If we update at midnight UTC, our numbers would be easy for anyone to match using their own query.

A CSV with the project name and the monthly download total is 2.2 MB. That's an admittedly dense format, though. Probably it would take up more space as an ES6 Map. Any idea how to measure that?

If I recall you had reduced this to avoid OOM conditions, though it would be great to crank it up by 5–10x

/me shivers

For that matter, since you mention the SSD: a persistent backing seems like a great candidate for this kind of caching!

Sounds good! In this area, and for SSDs, Facebook's RocksDB is the go-to reflex. Facebook uses it as its MySQL backing store, but so does Ceph, CockroachDB, TiDB…

Preferably we'd sync this across machines, which would give us another 3x boost. Would rsync be a candidate for that?

If I understand rsync correctly, its rolling checksum will flag all the file blocks as changed, and cause a whole-file transmission, so it will be equivalent to a rcp (except in the rare case where nothing changed).
Which is fine. We can have a leader that downloads the updates on a clock and batches the writes to its local kv store. It sends the data to its followers that do the same. Each server already knows everyone else's IP address (they are part of secrets.json), and the first server is a natural leader (it is s0, a canadian server).

pypistats.org provides such information (day, week, month downloads) via a json api (no need to fetch data from google big query).

Thanks for posting that @paternal - looks like exactly what we need :)


Publish 05/23/2022, 10:30 AM

Docs Build status updates of commit aa799f6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Remove-SPAlternateURL.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


How to get current active snap?

I am trying to adjust the wrapping container height based on which is the active current point, onSnap, returns negative values. So hard to identify which is the active snap

you have this handler on props
onSnap={snapIndex =>   console.log('> Current snap point index:', snapIndex) }
is the index from snapPoints array
snapPoints={[600, 400, 100, 0]}
initialSnap={1}

@nickbyte can you provide a repro of this issue in CodeSandbox? Or did you figure it out?
Your problem might be related to you changing the container height which will probably mess with the snap point calculations within the library 🤔

I have the same problem. It gives a valid snapoint index on load but after dragging, it always gives -1.

@Temzasse I found the issue:
I was using your example from
https://github.com/Temzasse/react-modal-sheet/blob/master/example/components/SnapPoints.tsx
but if you change the snapPoints all to percentages like:
const snapPoints = [0.9, 0.6, 0.3, 0];
And just appear in responsive view
codesandbox

it would be nice if we can have access to the div from the sheet ref.

I am having the same problem, I used the following props
<Sheet
snapPoints={[0.925, 0.53, 0.19]}
initialSnap={2}
onSnap={(snapIndex) => {
console.log(snapIndex);
}} .../>
but it is giving the actual snap index on load only. Otherwise, it returns -1.
is there any way I can get the current snap index?

Thanks for reporting this 🙏🏻 This should be fixed in version 1.6.1 🙂


form-layout is missing in form tab

I'm adding the pictures to easily refer to where the issue is:

This is what I get when I click layout

Any updates on this?


fix error 'tried to create Proc object without a block' in Gemfile

Hello, guys! I have just fixed the error 'tried to create Proc object without a block' which is mentioned in #3094 . Please have a check.

please check @knu

please check @knu


New Website Logo: Abacus

Name: Abacus
Homepage url: https://www.abacus.com/
Brand Guidelines/Licensing: not currently published online, just don't alter the SVG, please :)
Logo: https://www.abacus.com/img/logo/abacusNewLogo.svg

Any update on this?

Hey folks -we're looking at a new website and it's likely that the friends of TypeScript page isn't going to make it to the new site. This is mainly because close to everyone is a friend of TypeScript now and listing folks kinda feels a bit un-inclusive to everyone else.
So I'm going to close this issue - thanks for posting to apply


Ability to sort rom folders into letters?

On my Everdrive I cannot display all the game folders (containing each rom revision) unless they are sorted into small, more manageable directories. Would it be possible to add an option to move directories of each game into alphabetical folders or something similar? For example:
NES/A/Abadox/Abadox (USA).nes, Abadox (Japan).nes
Thank you for all the hard work by the way! This is by far my favorite rom organization software aside from a few minor issues!

Added in v1.2. And glad you like it!


Apply KYC on farmers

Which package/s are you suggesting this feature for?
No response
Is your feature request related to a problem? Please describe
Farmers should go through KYC process if they want to interact with any farming features
Describe the solution you'd like
Farmers should go through KYC process if they want to interact with any farming features

option 1!
Frame 301

option 2

WIP
Waiting for verification at the design

Work Completed:

Added Kyc Verifier component in your farms page
Added an alert and blocked interacting with farms in case kyc wasn't verified

Verified on Dev,
Version: f0f91d9
KYC is currently applied on farmers.

Related Link:

https://app.testlodge.com/a/26076/projects/40893/suites/246368?expand_section=455595#case_4435042

feature coverage on testlodge:

https://app.testlodge.com/a/26076/projects/40893/suites/246368?expand_section=455595#case_4435692
https://app.testlodge.com/a/26076/projects/40893/suites/246368?expand_section=455595#case_4435693
https://app.testlodge.com/a/26076/projects/40893/suites/246368?expand_section=455595#case_4435694
https://app.testlodge.com/a/26076/projects/40893/suites/246368?expand_section=455595#case_4435695
https://app.testlodge.com/a/26076/projects/40893/suites/246368?expand_section=455595#case_4435696


Per character delay will ignore the last character in string by default

However, the delay of the last character may sometimes be useful. :)
If developers want to add a per-character delay to the last character, they should modify the code in _scribble_class_typist as follows for now:
if (SCRIBBLE_ALLOW_GLYPH_DATA_GETTER
    && !__ignore_delay
    && __character_delay
    && (__last_character >= 1)
    && ((__last_character < _page_character_count) || (_found_size > 0))) { // Not ignoring the last character
    var _glyph_ord = _page_data.__glyph_grid[# __last_character-1, __SCRIBBLE_GLYPH_LAYOUT.__UNICODE];
    // ...
}

I wonder if it's possible to add a macro to the behaviour configuration that controls this behaviour.

Originally, the last character would delay as you request but that was changed by someone else's request. A macro is indeed required here.

https://github.com/JujuAdams/Scribble/commit/c2d2aa244394aa4c1573688f456a42f5eab14b91


Buggy, not usable

Some issues I have found - overall I have found it unusable:

instructions don't work unless you copy utils.py to the backend folder
The front end does not fit on my screen and when I zoom out the simulation environment is cut off
I enter step n, and do not see anything change in the simulation
I click on the state of a character and it tells me the character's temperament etc, then when I navigate back it says "Please start the backend first."
An error appears in the console:
Traceback (most recent call last):
File "/Users/pierznewton-john/repos/generative_agents/reverie/backend_server/reverie.py", line 468, in open_server
rs.start_server(int_count)
File "/Users/pierznewton-john/repos/generative_agents/reverie/backend_server/reverie.py", line 401, in start_server
with open(curr_move_file, "w") as outfile:
FileNotFoundError: [Errno 2] No such file or directory: '../../environment/frontend_server/storage/test2/movement/0.json'

At this point I realise this is someone's pet project that is in no way ready for anyone else's use.

See #59 for the FileNotFoundError issue.
Agree with your other points that there needs to be more work done on the frontend.

You can create the movement dir in the /frontend_server/storage// and it will add the file.
There is a mention of the ultimate fix in here


Habitat Installation

I have installed habitat with VSTS and habitat installed at this location  /tmp/hab , but when I am trying to run "hab setup" command its not working, its showing hab command not found.
After coping that hab* file to /usr/local/bin/ from /tmp/ it is working fine.
can someone help me to solve this issue.

That sounds like a pathing issue. Can you eco your $PATH here?

ya it was pathing issue, I resolved it by editing the install-habitat.js file.


The status of the project settlement is problematic.

The project has been settled and BDT tokens have been withdrawn. However, on this page, the status of my address still shows as "NO." It is unclear whether there is an issue with the frontend display, the backend server, or if there is a bug in the on-chain contract.
Project page: https://dao.buckyos.org/projects/1/version/0
My address: 0x0F56a6f7662B38506f7Ad0ad0cc952b79b8e90e7

The issue has been identified.
In the implementation of the Project contract, the event event WithdrawContributionToken(address owner, uint amount); does not save the projectId for withdrawals.
Therefore, a backend API POST /contribution/withdraw has been designed to report user withdrawal actions.
If for some reason (network issues or premature page closure), this API is not successfully called, it can lead to inconsistent data on the project page.
One possible solution:
Modify the contract event to event WithdrawContributionToken(address owner, uint amount, uint[] projectId);
Update the data by scanning the events on the backend.


Rewrite generator

I should be able to get rid of fs-extra and inquirer dependencies in the generator and clean up the code in general.

Having a dependency on fs-extra isn't so bad; I've rewritten the generator to now use readline instead of Inquirer.


chore(main): release 1.0.5

:robot: I have created a release beep boop
1.0.5 (2024-01-25)
Bug Fixes

rename to match the function name (411ca4e)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ProxityStudios/freshland/releases/tag/v1.0.5 :sunflower:


Add no-op behavior for initialize methods of logging system.

Issue #

https://github.com/awslabs/aws-sdk-swift/issues/903
Description of changes

Calling bootstrap method of swift-log's LoggingSystem more than once per program execution results in unexpected behavior (swift-log spec), most likely a crash.
To avoid this crash, no-op behavior is added to SDKLoggingSystem which wraps LoggingSystem. Whether the initialize methods have been already called or not is internally recorded to isInitialized variable. If yes, methods return with no-op done.
Scope

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

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

This approach is not thread-safe because this may still result in multiple calls to bootstrap if it is simultaneously called from different threads.
Two possible approaches to thread-safe initialization:

Use NSRecursiveLock to enforce exclusive access to LoggingSystem and the isInitialized variable.  You can find a recursive lock example in our codebase here:
https://github.com/smithy-lang/smithy-swift/blob/f11e2e816b8b7e578872bde38b56578caa69fd90/Sources/ClientRuntime/Networking/Streaming/BufferedStream.swift#L71
Use a Swift actor to enforce exclusive access to initialization.  Look up Swift actors if you have not used them before.

The first approach is technically not async-safe since it blocks the calling thread, though the effect is minimal if the lock is released quickly. The second approach would require marking the initialize methods async which, depending on where they're called from, may be a breaking API change.
Look at either of these methods & let me know if you have further questions about how they work.

Super interesting! I just looked up these approaches and using actor seems like a good approach to me since it is part of Swift's concurrency features which we already utilize elsewhere (async/await).
 From my limited understanding it looks like you want to declare the add and initialize with async to make it work with actor.


[FEATURE REQ] Given an Public IP address return the Azure resource id of that IP address

Library name
Azure.ResourceManager.Network
Please describe the feature.
Is there a way to get the Azure Resource ID of a given Public IP if we know the IP address?
Input:- <IP_ADDRESS>
Output:- /subscription/xxxx/resourceGroups/xxxx/providers/Microsoft.Network/publicIPAddresses/
Azure.ResourceManager.Network.PublicIPAddressCollection doesn't seem to have the necessary method..

Similar to -  az network public-ip list --resource-group xxxx --subscription yyyy --query "[?ipAddress=='<IP_ADDRESS>']"

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

@rajdhandus There is no network API to support that. See https://docs.microsoft.com/en-us/rest/api/virtualnetwork/public-ip-addresses  You need to fetch all the public IP addresses, and find the one you want, then fetch its id property.

However, you may want to try resource graph: https://docs.microsoft.com/en-us/azure/governance/resource-graph/overview

thanks for the response. is Delete exposed? How do I delete a Public IP Address given its name via the DotNet SDK ?

thanks for the response. is Delete exposed? How do I delete a Public IP Address given its name via the DotNet SDK ?

First get the public ip adress by the name, then call the Delete method to remove it.


Support CDDL marking and linking

I'm creating this pull request as a draft because there are still a couple of things missing. Before I finalize the PR, I'd appreciate feedback on whether this does what people want for #2072, and whether it does it in a way that works for everyone. See below for more specific questions.
TL;DR
This adds:

CDDL autolinking capabilities (and highlighting but that was sort of already the case).
A new shorthand notation for CDDL autolinks: {^foo^}
A CDDL index, generated at the end of the spec, split per CDDL module when needed.

Implementation notes
I copied most of the logic from the code used to process IDL blocks.
As opposed to IDL definitions, CDDL definitions are not exported by default because CDDL is typically not imported/exported between specs (there is ongoing work on a CDDL module structure at IETF, but that would be done through explicit "import" statements in any case).
Support for CDDL definitions means 4 new definition types get introduced:

cddl-type: roughly the equivalent of an IDL interface. Type definitions do not have a data-dfn-for attribute.
cddl-key: roughly the equivalent of an IDL attribute. Key definitions always have a data-dfn-for attribute that links back to a CDDL type.
cddl-value: roughly the equivalent of an enum-value in IDL. Value definitions always have a data-dfn-for attribute that links back to a CDDL type or to a CDDL key.
cddl-parameter: used for generic parameter names (no known spec uses CDDL generics for the time being).

The definition types are prefixed with cddl- to avoid collision with other types used for other purpose (e.g., value in CSS).
Once we start having CDDL definitions in the cross-references database, it may become useful to add a fifth type cddl-operator to cover and link operators that may appear in definition types such as .default or .within and link back to their definition in RFC 8610.
The code collects CDDL definitions to produce a CDDL index at the end of the spec. To accommodate specs like WebDriver BiDi that define two sets of CDDL (remote end and local end), it is possible to associate CDDL definitions with one or mode CDDL modules:

Any CDDL module must be defined somewhere in the spec with a <dfn> with a data-cddl-module attribute set to a shortname for the CDDL module.
CDDL blocks must add a data-cddl-module attribute set to a comma-separated list of CDDL module shortnames they belong to. If a CDDL block does not have that attribute, the code considers it is defined in all CDDL modules.

For example:
The <dfn data-cddl-module="local">local end definitions</dfn> contain foo.
The <dfn data-cddl-module="remote">remote end definitions</dfn> contain bar.

<xmp class=cddl data-cddl-module=local>
LocalCommand = {
  param: common
}
</xmp>

<xmp class=cddl data-cddl-module=remote>
RemoteCommand = {
  param: common
}
</xmp>

<xmp class=cddl data-cddl-module="local,remote">
common = any
</xmp>

The CDDL index is split per module, using the <dfn> text as title for each module.
Note: Even when modules are used, CDDL definitions in a spec are part of a single namespace, meaning that a foo rule cannot be defined differently within a single spec for two different CDDL modules. I believe that's fine for all specs that define CDDL, and that keeps the autolinking logic simple.
CDDL parsing is done through a hand-made CDDL parser that follows the CDDL
grammar defined in RFC 8610, currently available as tidoust/cddlparser.
That parser started as a port from the cddl Node.js parser but has now deviated significantly from it to stay closer to the grammar, and allow re-serialization and marking up of the tree in a way that preserves whitespaces and comments. I tested the parser against CDDL extracts from IETF RFCs and a few W3C specs.
To ease authoring, a new shorthand notation gets introduced to reference CDDL:
{^foo^} is an autolink to a CDDL definition. FWIW, the shorthand was chosen
to mean "shortcut for an autolink to CDDL code" on the grounds that:

{} would hint at a code block (as for IDL blocks)
^ means "cut" in CDDL. Granted, the notion of "cut" in CDDL has nothing to do with a shorthand. Anyway.

CDDL type definitions can become somewhat arbitrarily convoluted, the code does not attempt to be too smart and won't autolink definitions that are too complex.
CDDL defines a number of types in the standard prelude, such as int, tstr, or bool. There is no more specific anchor that may be used and the code simply does not link these types back to RFC 8610 for now.
Still missing
Before the PR can be merged, I still need to:

Publish the parser as a Pypi package (once I've figured out how to do that ;)) so that it may be properly imported. The proposed code won't work on any other computer than mine for now due to the use of a local import. This problem also explains current linter failures. Edit: cddlparser package published and tested with Python >=3.9
Update the doc to reflect the CDDL capabilities.

(Editorial updates may also be needed afterwards to specs that currently define CDDL. I'm happy to help with that.)
Questions

Does the overall approach look sound?
What about the new CDDL definition types? Should we rather only have a generic cddl type without creating more specific ones? (CDDL really is all about "types", the nuance between different constructs is not always super explicit)
It seemed useful to autolink enumeration values as done for IDL, but then there's nothing that distinguishes an enumeration from a single literal text value in CDDL, so the code will end up autolinking single values as well (things like the "browser.close" in WebDriver BiDi). Is it too much?
What about the new shorthand syntax? Should another shorthand be used? Should we start without a shorthand?
Should standard types link back to the prelude section in RFC 8610? Ideally, they would become available as exported definitions in the cross-references database, but again the problem is that there is no specific anchor in the RFC for them. Having links back to the RFC would also add it to the list of normative references, which would be a good thing as well.
Is the data-cddl-module mechanism to split CDDL per module in the CDDL index suitable?
Regarding the parser, would it be a good idea to move it under the speced organization on GitHub (provided the Speced CG agrees with it)? I ended up writing it because I didn't see any immediate way to proceed without a parser but then I'm neither good at writing Python code nor an expert in CDDL, so I'd happily share that mostly-shaven yak ;) I'm happy to maintain the code though.
Anything I forgot?

@tabatkins, coding-wise, this should be ready for review.
I published the CDDL parser as a Pypi package, adapted it to run with Python >= 3.9, and linted the code here. The parser is also more aligned with the CDDL grammar and reports an error when the CDDL syntax is invalid, which seems a good thing.
FYI, there's an issue right now with the WebDriver BiDi in that it uses a <pre class="cddl"> block to reference the CCDL rule EmptyResult defined elsewhere, creating an invalid CDDL block. That explains why the test update for WebDriver BiDi features a "CDDL syntax error" message.
If the PR looks reasonable, I'll update the documentation as well.


Add -O3 flag for performance.

On my test systems this makes single-threaded FFTs via pyFFTW ~5 times faster than they are with the current recipe.  Without any optimization flags, performance is slower than numpy.fft.
Thanks to @sambarluc for bringing this to my attention.  More info/benchmarks in pyFFTW/pyFFTW#184

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

@jschueller :  Do we need a corresponding fix for Windows or are the equivalent MSVC flags already getting included?

Given that pyfftw is built against static fftw libraries, we will need to rebuild that as well to take advantage of this speedup correct?
Also would point out issue ( https://github.com/conda-forge/conda-forge.github.io/issues/426 ) and this comment in particular. We will need to do something about this before merging this PR or rebuilding pyfftw.

@jarkikham.  Yes, we will have to rebuild pyfftw again as well.
Let me know what you recommend for addressing conda-forge/conda-forge.github.io#426.  It looks like the solution is still evolving...

My recommendation would be to follow the "Near term" plan in the linked comment above.

Thanks.  I have re-uploaded current master to staged recipes in https://github.com/conda-forge/staged-recipes/pull/3652
likewise for pyfftw in https://github.com/conda-forge/staged-recipes/pull/3653


Allow files to be (downloaded and) opened with the OS default application

how the application opening could be done is discussed here: https://stackoverflow.com/questions/35840347/open-external-file-with-os-default-application-docx-with-word-etc-using-nod
If users want to skip a dedicated download, it would make sense to save the file in a temp folder and once that download has finished, open it with the default App.

@lukasIO can you open this issue in the desktop app repo i.e. https://github.com/zulip/zulip-electron/ ?
Also, we have added this functionality in the latest release which is v2.3.3. So if you click on a file attachment then the file will be downloaded in the background and once done you'll get a notification. On clicking the notification, the file will get open in the default native app.

yeah, sorry for putting it in the wrong repo... the release was a couple of hours after i opened the issue, I'm closing this one...


feat(lanelet2_extension): add crosswalk regulatory element

Description
Add crosswalk regulatory element to lanelet extension library.
The format is here.

Related links
discussion: https://github.com/orgs/autowarefoundation/discussions/3036

Tests performed

[x] PASS TIER IV INTERNAL SCENARIOS

Notes for reviewers

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

I added documentation in https://github.com/autowarefoundation/autoware_common/pull/187/commits/7ca1cadad14adb4018754f149c4c903b5b4838d9.


Problem with AKS cluster with non-admin kubeconfig

When using an AKS cluster with "default" credentials then kubego doesn't seem to be able to authenticate. When using a cluster for which I got the admin credentials (az aks get-credentials --admin...) then it works perfectly fine.
This is the error message when I use with an AD authentication enabled cluster:
kubego
No Node selected, please select the node number..
panic: no Auth Provider found for name "azure"

goroutine 1 [running]:
main.getNodes()
	/home/abutaleb/kubego/main.go:122 +0x58b
main.main()
	/home/abutaleb/kubego/main.go:55 +0x33d

So I guess something on auth level fails but I didn't have time to investigate myself. If I'll be able to then I'm going to add this here.

Hey Mohammed,

I created a cluster with AAD authn/authz enabled.
I'm using a group where my own account is member of as admin group
I'm getting the credentials with az aks get-credentials -g <rg> -n <aks>

Then I'm receiving the error above.
Here's the snippet of the TF code to create the cluster:
resource "azurerm_kubernetes_cluster" "aks" {
  name                    = "${var.prefix}-aks"
  location                = var.location
  resource_group_name     = azurerm_resource_group.rg.name
  dns_prefix              = "${var.prefix}aks"
  kubernetes_version      = var.kubernetes_version
  node_resource_group     = "${var.prefix}-aks-nodes-rg"
  private_cluster_enabled = true
  private_dns_zone_id     = var.private_dns_zone_id

  role_based_access_control {
    enabled = true

    azure_active_directory {
      managed                = true
      azure_rbac_enabled     = true
      admin_group_object_ids = var.admin_group_object_ids
    }
  }

  default_node_pool {
    type                 = "VirtualMachineScaleSets"
    name                 = "default"
    vm_size              = var.worker_size
    os_disk_size_gb      = 128
    vnet_subnet_id       = var.subnet_id
    enable_auto_scaling  = true
    node_count           = var.worker_count
    min_count            = var.min_worker_count
    max_count            = var.max_worker_count
    orchestrator_version = var.kubernetes_version
    availability_zones   = var.enable_availability_zones ? ["1", "2", "3"] : null
  }

  network_profile {
    network_plugin    = "kubenet"
    load_balancer_sku = "Standard"
    network_policy    = "calico"
    outbound_type     = "userDefinedRouting"
  }

  identity {
    type                      = "UserAssigned"
    user_assigned_identity_id = azurerm_user_assigned_identity.managed_identity.id
  }

  addon_profile {
    azure_keyvault_secrets_provider {
      enabled = true
    }
  }
}

Hope this helps.

This should be fixed now by adding the auth package to support AKS and other cloud providers https://pkg.go.dev/k8s.io/client-go/plugin/pkg/client/auth.
@r0bnet could you please test the last bin and verify ?

Sorry for the late reply but now I don't have any issues anymore. Thanks for the fix :)


Website has no any document.

The website https://endroid.nl just has the template of Symfony.

@seanmars I am aware of that :)


unrecognized arguments: test.snpeff.vcf.db

Hello
I am new to programming and new to Gemini, but I am trying to learn, and I understand my question is very very basic. I've had help to get everything in order, and I know that everything works, it's me who doesn't understand why this error occurs. I've tried to start learning by using Gemini's test examples. But I get an error on my .db file. I have tried to google around but I have no clue what I am doing wrong. The .db file has tables, that I have checked (if it matters).
[idama@mps test]$ gemini query -q select 'chrom from variants' --header test.snpeff.vcf.db
usage: gemini [-h] [-v] [--annotation-dir ANNOTATION_DIR]
{actionable_mutations,amend,annotate,autosomal_dominant,autosomal_recessive,bcolz_index,browser,burden,comp_hets,db_info,de_novo,dump,examples,fusions,gene_wise,interactions,load,load_chunk,lof_interactions,lof_sieve,mendel_errors,merge_chunks,pathways,qc,query,region,roh,set_somatic,stats,update,windower,x_linked_de_novo,x_linked_dominant,x_linked_recessive}
...
gemini: error: unrecognized arguments: test.snpeff.vcf.db
[idama@mps test]$
Thank you.

I resolved it myself. It should be "select chrom from variants"

haha-- I think I ask questions and then solve them immediately afterward about 50% of the time. :) Thanks for following up!


Added missing configuration options

….  Also fixed a small bug in the config attribute defaults that were causing Chef warnings.
Signed-off-by: Todd Tidwell<EMAIL_ADDRESS>Description
Added the following options to the configuration resource and template:

raw_env
worker_threads
worker_max_requests_jitter
worker_graceful_timeout
limit_request_line
limit_request_fields
limit_request_field_size

Issues Resolved
No specific issue.  This was new code.
Check List

[x] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[x] New functionality has been documented in the README if applicable
[x] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Good stuff. Thanks


Memory leak due to Bsonc::new behavior

Hi,
I found a memory leak in mongo_driver, and narrowed it down to the behavior of Bsonc::new.  Several commands call Bsonc::new to create a 'reply' document so that the C driver has a bson target to write into.  A good example is: https://github.com/appsignal/mongo-rust-driver/blob/main/src/collection.rs#L324
I think that the document is never dropped, and if something is read (e.g. calling command_simple with 'find'), then the leak can be large.  Here is a simple example where the leak is extreme (100s of MB): https://github.com/austinjones/mongo-driver-leak/blob/master/src/main.rs
I have a fix for this issue.  Let me know if you'd like a PR!

I did just make some changes in this area. The newer version of the C driver takes ownership of the bsonc in some cases. So bsoncs were double-freed. I then made the drop logic optional for those cases.
It's a bit hard to see what your fix does since it formats a lot of code differently. What is the change that fixes it?

The only functional change was replacing the Bsonc::new() implementation.  The bson_t construction is the same, but destroy_inner_on_drop is now true.  Here is the line.
    pub fn new() -> Bsonc {
        Bsonc::from_ptr(unsafe { bindings::bson_new() })
        let inner: *const bindings::bson_t = unsafe { bindings::bson_new() };
        assert!(!inner.is_null());

        Bsonc {
            inner: inner as *mut bindings::bson_t,
            destroy_inner_on_drop: true,
        }
    }

Also, direct calls to from_ptr seem fine (e.g. Cursor iterator) - no leaks there.


Unable to install ArangoDB3 3.2.8 CE

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[X] 3.2.8 CE

Mode:

[X] Single-Server

Storage-Engine:

[X] rocksdb

On this operating system:

[X] Windows, version: 10 Pro (v 1703) 64-bit (OS Build 15063.726)

this is an installation-related issue:
The following problem occurs:

...
Installing service ArangoDB:
Status: 0; Setting Description: ArangoDB - the native multi-model NoSQL database
Status: 0; Starting Service
Status: 1053
CurrentState=1 Win32ExitCode=1066 ServiceSpecificExitCode=2

C:\Program Files\ArangoDB3 3.2.8\var\log\arangodb3 contains no files.

It doesn't say what file it was looking for

Hi,
Do you see any log entries with Source ArangoDB ?

Nothing. You don't have the EventLog.Source Property set in your app.  Is the directory available and writeable? What filesystem is it? (ArangoDB won't run on e.g. CIFS shares )

Can't start it from the services menu as well:

And My install options:

There wasn't a arangodb3.conf, but I found it in arangod.conf
I think we are pinning down the issue:

Notice the timestamp. Ignore the stamp of 12/4/2017. They were all the same date of 10/16/2017 before I accidentally saved  a white-space change before the screenshot.
So the previous uninstall left some config files behind. But luckily they are pointing to the correct location.
And the location exists and is writable.

if you run C:\Program Files\ArangoDB3 3.2.8\usr\bin\arangod.exe -c C:\Program Files\ArangoDB3 3.2.8\etc\arangodb3\arangod.conf do you see any specific error messages?
The service usually runs as a system user with special privileges, this could also be an issue.

No issues there boss

Ok, that basically means that the database server itself can start - just not as a service.
One can use the sc command to manipulate services:
sc query arangodb

SERVICE_NAME: arangodb
        TYPE               : 10  WIN32_OWN_PROCESS
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0

$ sc stop arangodb

SERVICE_NAME: arangodb
        TYPE               : 10  WIN32_OWN_PROCESS
        STATE              : 3  STOP_PENDING
                                (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0

sc query arangodb

SERVICE_NAME: arangodb
        TYPE               : 10  WIN32_OWN_PROCESS
        STATE              : 1  STOPPED
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0

If any of these doesn't work out, can you try to make the database directory public writeable?

the owner of the database directory is "Everyone" and is RW enabled. I'm trying the install again but this time using the defaut data location and I'm getting huge memory usage.  The default database directory is empty and I was not prompted during install that the database folder was not-empty.

Ok,
so basically now it picked up the huge redit database from your other posts and is working properly?

Success, it was able to install as a service from the installer. Thank you for your help


how to format the code

how can i trigger the action
` 'editor.action.formatDocument'
to format the code ?

There's nothing like editor.action.formatDocument in Monaco Editor. Can you please explain what you mean?

i have initialized MonacoEditor Component in my page and i need to format the code
ref : https://github.com/microsoft/monaco-editor/issues/32

@serdarciplak is this action applicable to perform ?

Hi @khaledafify
It's suggested to use the editor.trigger() method in the link you've sent. BlazorMonaco already supports that method. So, you may use it to invoke the editor.action.formatDocument action.

thank you @serdarciplak
I'll try it tomorrow.


Fix SAS token generation for directory-scoped access

Directory scoped SAS tokens require signedDirectoryDepth field to work. This adds it as an optional element.
Docs say "The value of the sdd field must be a non-negative integer." so I went with a u32 assuming no one would need a higher directory depth than that. Is that a sensible assumption?
I also added some tests but they aren't particularly inspired so I am happy to change/remove them
Links:
About directory scoped access: https://learn.microsoft.com/en-us/rest/api/storageservices/create-service-sas#service-sas-support-for-directory-scoped-access
Directory depth field: https://learn.microsoft.com/en-us/rest/api/storageservices/create-service-sas#specify-the-directory-depth

Thanks for the approve @demoray !
I assume that since it's approved it's just going to be merged later? Or is there something else I need to do?


URL shortener suggestions

Hi,
I was wondering if you have recommendations on using specific third party URL shortener or other ways to shorten the long URLs of Neuroglancer.  tinyurl seems to work ok but I've experienced other services rejecting at times.  (Invalid format?)  Any suggestions?
Thanks,
m

Thankfully, tinyurl worked okay.


gp_shared_buffer example

Is there an example for how to use gp_shared_buffer (OpenCL or CUDA)?

Heya!
Turns out I didn't have any working example using gp_shared_buffers, they should now be fixed for all platforms along with some other stuff so I recommend updating from the main branch.
I added an example in examples/shared_memory about shared memory, covering both gp_shared and gp_shared_buffer.

Great! Thank you!


doxygen warnings

There are doxygen warnings:
error: Tag file '../../NUG/html/nug.tag' does not exist or is not a file. Skipping it...
/home/ed/n3/docs/nczarr.md:203: warning: Unsupported xml/html tag <dataset> found
/home/ed/n3/docs/nczarr.md:495: warning: Unsupported xml/html tag <region> found
/home/ed/n3/docs/nczarr.md:495: warning: explicit link request to 'mode' could not be resolved
/home/ed/n3/docs/FAQ.md:71: warning: unable to resolve reference to 'ncdump_guide' for \ref command
/home/ed/n3/docs/FAQ.md:332: warning: unable to resolve reference to 'getting_and_building_netcdf' for \ref command
/home/ed/n3/docs/FAQ.md:502: warning: unable to resolve reference to 'getting_and_building_netcdf' for \ref command
/home/ed/n3/docs/tutorial.dox:53: warning: unable to resolve reference to 'ncdump_guide' for \ref command
/home/ed/n3/docs/tutorial.dox:61: warning: unable to resolve reference to 'guide_ncgen' for \ref command
/home/ed/n3/docs/tutorial.dox:62: warning: unable to resolve reference to 'guide_ncgen3' for \ref command
/home/ed/n3/docs/tutorial.dox:69: warning: unable to resolve reference to 'guide_nccopy' for \ref command
/home/ed/n3/docs/tutorial.dox:248: warning: unable to resolve reference to 'netcdf_format' for \ref command
/home/ed/n3/docs/tutorial.dox:801: warning: unable to resolve reference to 'build_parallel' for \ref command
/home/ed/n3/docs/tutorial.dox:440: warning: unable to resolve reference to 'building' for \ref command
/home/ed/n3/docs/tutorial.dox:53: warning: unable to resolve reference to 'ncdump_guide' for \ref command
/home/ed/n3/docs/tutorial.dox:61: warning: unable to resolve reference to 'guide_ncgen' for \ref command
/home/ed/n3/docs/tutorial.dox:62: warning: unable to resolve reference to 'guide_ncgen3' for \ref command
/home/ed/n3/docs/tutorial.dox:69: warning: unable to resolve reference to 'guide_nccopy' for \ref command
/home/ed/n3/docs/tutorial.dox:248: warning: unable to resolve reference to 'netcdf_format' for \ref command
/home/ed/n3/docs/tutorial.dox:440: warning: unable to resolve reference to 'building' for \ref command
/home/ed/n3/docs/tutorial.dox:801: warning: unable to resolve reference to 'build_parallel' for \ref command
/home/ed/n3/libdispatch/dvar.c:149: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dvar.c:150: warning: unable to resolve reference to 'data_type' for \ref command
/home/ed/n3/libdispatch/dvar.c:639: warning: explicit link request to 'NC_EINVEL' could not be resolved
/home/ed/n3/libdispatch/dvar.c:490: warning: explicit link request to 'NC_QUANTIZE_' could not be resolved
/home/ed/n3/libdispatch/dvar.c:537: warning: explicit link request to 'NC_QUANTIZE_MAX_FLOAT_NSB' could not be resolved
/home/ed/n3/libdispatch/dvar.c:538: warning: explicit link request to 'NC_QUANTIZE_MAX_DOUBLE_NSB' could not be resolved
/home/ed/n3/libdispatch/dvarinq.c:77: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattget.c:85: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattget.c:473: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattget.c:440: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattget.c:374: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattget.c:407: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattget.c:605: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattget.c:208: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattget.c:341: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattget.c:730: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattget.c:175: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattget.c:506: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattget.c:350: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattget.c:370: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattget.c:318: warning: argument 'ncid' from the argument list of nc_get_att_uchar has multiple @param documentation sections
/home/ed/n3/libdispatch/dattget.c:318: warning: argument 'varid' from the argument list of nc_get_att_uchar has multiple @param documentation sections
/home/ed/n3/libdispatch/dattget.c:318: warning: argument 'name' from the argument list of nc_get_att_uchar has multiple @param documentation sections
/home/ed/n3/libdispatch/dattget.c:318: warning: argument 'value' from the argument list of nc_get_att_uchar has multiple @param documentation sections
/home/ed/n3/libdispatch/dattget.c:572: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattget.c:638: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattget.c:539: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattinq.c:30: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattinq.c:33: warning: unable to resolve reference to 'data_type' for \ref command
/home/ed/n3/libdispatch/dattinq.c:104: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattinq.c:375: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattinq.c:187: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattinq.c:318: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattinq.c:321: warning: unable to resolve reference to 'data_type' for \ref command
/home/ed/n3/libdispatch/dattput.c:170: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattput.c:443: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattput.c:409: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattput.c:341: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattput.c:375: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattput.c:579: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattput.c:239: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattput.c:307: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattput.c:60: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattput.c:104: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattput.c:477: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattput.c:273: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattput.c:545: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattput.c:614: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dattput.c:511: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/datt.c:70: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/datt.c:71: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dcompound.c:25: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/denum.c:26: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dopaque.c:18: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dvlen.c:93: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dcompound.c:160: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dcompound.c:265: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dcompound.c:463: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dcompound.c:311: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dcompound.c:193: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/denum.c:88: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/denum.c:155: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/denum.c:127: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dopaque.c:48: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dtype.c:90: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dtype.c:121: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dvlen.c:128: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dcompound.c:117: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/dcompound.c:80: warning: unable to resolve reference to 'object_name' for \ref command
/home/ed/n3/libdispatch/denum.c:56: warning: unable to resolve reference to 'object_name' for \ref command
make[2]: Leaving directory '/home/ed/n3/docs'

OK, one big problem is that the object_name was in the NUG, which has now been removed. So I need to add that back in, and that will make most of the warnings disappear. The section is here: https://docs.unidata.ucar.edu/nug/current/netcdf_data_set_components.html#object_name

OK, I've got a further PR that takes this down to:
cp auth.md obsolete/fan_utils.html html
/home/ed/n3/docs/nczarr.md:495: warning: Unsupported xml/html tag <region> found
/home/ed/n3/docs/nczarr.md:495: warning: explicit link request to 'mode' could not be resolved
/home/ed/n3/libdispatch/dattget.c:318: warning: argument 'ncid' from the argument list of nc_get_att_uchar has multiple @param documentation sections
/home/ed/n3/libdispatch/dattget.c:318: warning: argument 'varid' from the argument list of nc_get_att_uchar has multiple @param documentation sections
/home/ed/n3/libdispatch/dattget.c:318: warning: argument 'name' from the argument list of nc_get_att_uchar has multiple @param documentation sections
/home/ed/n3/libdispatch/dattget.c:318: warning: argument 'value' from the argument list of nc_get_att_uchar has multiple @param documentation sections
make[1]: Leaving directory '/home/ed/n3/docs'

There are many warnings for filters.md, but I must wait until #2348 is merged before fixing them...

OK, with the recent merges, there are no more warnings. Once #2377 and #2365 are done, only warning-free doxygen source will be merged.


创建策略检索metric报错

使用docker运行dashboard
下面是详细日志
2018-01-09 07:39:35 ERROR:400:{"error":"open ./api/data/metric: no such file or directory"}

2018-01-09 07:39:35 INFO:<IP_ADDRESS> - - [09/Jan/2018 07:39:35] "GET /api/metric/query?query=value&limit=10&_=1515482390237 HTTP/1.1" 500 -
Traceback (most recent call last):
  File "/home/work/open-falcon/dashboard/env/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/work/open-falcon/dashboard/env/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "/home/work/open-falcon/dashboard/env/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/home/work/open-falcon/dashboard/env/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/work/open-falcon/dashboard/env/lib/python2.7/site-packages/flask/app.py", line 1478, in full_dispatch_request
    response = self.make_response(rv)
  File "/home/work/open-falcon/dashboard/env/lib/python2.7/site-packages/flask/app.py", line 1577, in make_response
    rv = self.response_class.force_type(rv, request.environ)
  File "/home/work/open-falcon/dashboard/env/lib/python2.7/site-packages/werkzeug/wrappers.py", line 824, in force_type
    response = BaseResponse(*_run_wsgi_app(response, environ))
  File "/home/work/open-falcon/dashboard/env/lib/python2.7/site-packages/werkzeug/test.py", line 854, in run_wsgi_app
    app_iter = app(environ, start_response)
TypeError: 'list' object is not callable

Why just closed? could help share what happened for this issue?


Add GxIT subdomains

This PR matches the current state of IT subdomains in AWS Route 53.
I have cross-checked the current wildcard IT CNAME records list in our AWS Route53 and added a new variable. So, in the future, if a subdomain requests GxIT privileges, we can simply add that subdomain to this variable and increase the counter. This way, we do not allow GxITs for all subdomains by default (hence a new exclusive variable).

@hexylena can you please have a look at this one?

@bgruening I can look, and on the surface it looks fine (though I still maintain my position on this solution vs path-based.)
I do wonder how it will be kept in sync with the ansible variable(s) that requests wildcards for only those, but maybe fetching this file from github via some automation, or during the ansible run, or, some other solution can be found for that.

though I still maintain my position on this solution vs path-based

We all do. But we also need to move forward until this gets implemented/tested because our users needs it as it seems.
Thanks for looking into it!