Still can’t see “Automatically manage color for apps” in the setting

Tried appending the item in registry like blew and rebooted windows.
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers]
"EnableAcmSupportDeveloperPreview"=dword:00000001

Still can’t see “Automatically manage color for apps” in the setting.
Sysinfo:
CPU Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz   3.70 GHz
RAM 32.0 GB
GPU	RTX2080
Monitor LG 34WK95U
Windows 11 22H2 22621.755 Windows Feature Experience Pack 1000.22636.1000.0

Your display seems to be HDR-capable: https://www.lg.com/us/monitors/lg-34WK95U-W-ultrawide-monitor
SDR Advanced Color is currently unavailable on HDR-capable display, nothing can do on my side.

Your display seems to be HDR-capable: https://www.lg.com/us/monitors/lg-34WK95U-W-ultrawide-monitor
SDR Advanced Color is currently unavailable on HDR-capable display, nothing can do on my side.

While I am using it in its SDR mode.

While I am using it in its SDR mode.

Edit your monitor's EDID with CRU by un-ticking colorspaces checkboxes in CTA-861 extension block -> Colorimetry:
https://www.monitortests.com/forum/Thread-Custom-Resolution-Utility-CRU
Then HDR should become unavailable, which makes the clamp toggle appear.

While I am using it in its SDR mode.

Edit your monitor's EDID with CRU by un-ticking colorspaces checkboxes in CTA-861 extension block -> Colorimetry: https://www.monitortests.com/forum/Thread-Custom-Resolution-Utility-CRU
Then HDR should become unavailable, which makes the clamp toggle appear.

This did work! Thanks!
To others who would try this method, I have a warning for you:
The ACM will render the srgb contents properly on wide gamut display, apart from some microsoft store app like affinity photo will be forced rendering in srgb even if I tick the "Use legacy display ICC color management." in the executable's properties. (On the other hand when Photoshop.exe's ticked, and it works flawlessly.) I am not sure whether the installer version of affinity photo will be OK or not. Will investigate further.

As a follow up, I tried install GIMP using its official installer it worked flawlessly. Then I uninstalled it and reinstalled from Microsoft Store, it also works without any tweaks. So it's the affinity apps' problem, at least the store versions.

I don't have access to that Affinity Photo app, but so far store apps (e.g. Amazon Prime or Windows Photo) seem to work fine for me with the clamp. I use an SDR ACM profile generated by @dantmnf 's fantastic tool for full calibration (with great results, according to DisplayCal verification).

I don't have access to that Affinity Photo app, but so far store apps (e.g. Amazon Prime or Windows Photo) seem to work fine for me with the clamp. I use an SDR ACM profile generated by @dantmnf 's fantastic tool for full calibration (with great results, according to DisplayCal verification).

I've encountered a problem right after I enabled ACM, the profile generated by the LG calibration software works like a charm, somehow after the display auto black out and waken up, the colors seem to be washed out.
I haven't done any research on his tool. What's that for?

I don't have access to that Affinity Photo app, but so far store apps (e.g. Amazon Prime or Windows Photo) seem to work fine for me with the clamp. I use an SDR ACM profile generated by @dantmnf 's fantastic tool for full calibration (with great results, according to DisplayCal verification).

I've encountered a problem right after I enabled ACM, the profile generated by the LG calibration software works like a charm, somehow after the display auto black out and waken up, the colors seem to be washed out. I haven't done any research on his tool. What's that for?

After some experiments, toggling the ACM option off and on again (maybe once or several times), the washed-out behavior will temporally gone.

Seems to be a bug of that API when e.g. driver installers restart the graphics drivers.

Seems to be a bug of that API when e.g. driver installers restart the graphics drivers, looks like clamp is applied more than once then.

My setup is I use the i1 display pro with the LG's proprietary hardware calibration software which writes 3D lut directly into the monitor and leaves an informational icc in the system for the icc aware apps to be aware of the display's characteristics.
So do I need to proceed to use the MHC2 to do something?

It looks like you are doing double correction. You can use 3D LUT to correct cross-channel non-linear characteristics but keep its native gamut, then SDR ACM can give even better accuracy. Or simply use either calibration approach, but not both at the same time.

It looks like you are doing double correction. You can use 3D LUT to correct cross-channel non-linear characteristics but keep its native gamut, then SDR ACM can give even better accuracy. Or simply use either calibration approach, but not both at the same time.

I don't quite understand what you mean. While for the most time this works really well. BTW I'm calibrating the display to  its native gamut (not restricting to any know gamut).

OK, I understand it now.
Theoretically if your display have correct chromaticity values in EDID and is calibrated to sRGB transfer, it will automagically work like a charm. Maybe there are some glitches in EDID reading/parsing, you can try mhc2gen with the generated informational ICC.

OK, I understand it now.
Theoretically if your display have correct chromaticity values in EDID and is calibrated to sRGB transfer, it will automagically work like a charm. Maybe there are some glitches in EDID reading/parsing, you can try mhc2gen with the generated informational ICC.

Sorry, there's a misunderstanding. If I calibrate the display to srgb, I wouldn't take any advantage of the new ACM and it's meaningless to get such a long way here.
My display's native gamut is about 98% P3. I just calibrate it to its native gamut with gamma2.2 and D65. The display has a feature that could store the 3D lut inside the display's "OS", so that if I calibrate it the some standard gamut space that isn't surpass 100% P3 to much e.g. display P3, to any PC or Mac connected to, the user could just set the OS a standard display P3 icc profile.
However I don't know if the calibration software would modify the EDID info. How do I know if there's modification?

If I calibrate the display to srgb, I wouldn't take any advantage of the new ACM and it's meaningless to get such a long way here.

I mean the sRGB transfer function (gamma), not the sRGB / Rec. 709 gamut.

If I calibrate the display to srgb, I wouldn't take any advantage of the new ACM and it's meaningless to get such a long way here.

I mean the sRGB transfer function (gamma), not the sRGB / Rec. 709 gamut.

Great! So there's no misunderstood any more. I still don't know what's your tool's usage for?

In your case, an MHC ICC profile can be used to override EDID info.

I just experienced that when the PC or monitor awoken from sleep mode, the ACM will probably break (either applies twice or de-applied twice).
I have to take a procedure that go to settings and "disable and enable" twice to make sure ACM works again.

In your case, an MHC ICC profile can be used to override EDID info.

I've already used @aufkrawall 's suggested CRU. Otherwise the ACM option wouldn't appear in the settings.


FIX: Switching over HTTPS repository when updating Debian packages

I just noticed today my Ubuntu-based distribution, LinuxMint,
asked me to update VS Code using https rather than https.
Microsoft Skype, on the other hand, uses HTTPS for downloading
its package updates, so I believe it should also be following
Skype's approach.
Here I am just pasting a curl result at the VSCode repository
in https, showing it works normally.
$ curl -I https://packages.microsoft.com/repos/vscode/
HTTP/1.1 200 OK
Server: nginx/1.10.3 (Ubuntu)
Date: Wed, 05 Sep 2018 19:24:14 GMT
Content-Type: text/html
Connection: keep-alive
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff

This is http on purpose as with https you would need to install apt-transport-https before fetching from the repo. The repo is signed which ensures the integrity of the downloaded package anyway.


License Information Missing

Hi, great work on the ascii art generator. I had one request, can you please add a license to the repo? It will help make it clear how this project can be used by others.

Thanks. Added LICENCE.md.
Cheers


Spring Cloud Stream doesn't support pollable consumers

When running the SC Contract Verifier in docker in combination with a running broker (eg. Rabbit or Kafka), we get the message that This binder does not support pollable consumers.
This issue is to track a possible solution to have a solution with eg. a SubscribableChannel.

This will be solved by using the Docker with the middleware standalone option: https://docs.spring.io/spring-cloud-contract/docs/3.0.0-SNAPSHOT/reference/html/docker-project.html#docker-middleware-standalone


Release 0.2.0

It's been a while since 0.1.0 and it's time to release an updated version. Perhaps use cargo-release and add a change log too?

For what it's worth, I used cargo-release in the past on various projects and stopped doing so. I don't recall the exact reasons, but I remember I didn't like a lot of things about it. That's probably too vague to be useful, but it's what I got :-)
One thing that I do remember is that it immediately updates the version again after the release. I consider it an anti-pattern to change the version again until right before the next release, as it will prevent the use of [patch] to override a dependency on the crate doing that (the [patch]ed version needs to be the same as the one depended on, which is annoying enough of a restriction on its own).

Yeah, I've only used cargo-release briefly and was a little surprised about some of the operations. However, it did seem convenient. The [patch] version mismatch does seems like an issue though. I believe cargo-release will up the version automatically to something like 0.2.0-alpha.0 by default, but it looks like this can be disabled with the --no-dev-version flag.
Eh, I don't feel strongly about using it though. It's no problem to manually commit/tag/publish/etc this release, so I'll opt to do that.

v0.2.0 is now released! :tada:

To be clear, I didn't mean to argue against using it. I just meant to leave my own experience so you can make a more informed decision.


Refactor pyartcd locks handling

Generally LGTM. One nit about instantiating the class.

/hold

/hold cancel

/lgtm

/unapprove

/remove-approve

/approve

/remove-approve


Blackbox tests running out of memory

Describe the bug
Related to next branch.
We have one JSON Schema draft 4 test document called aws-cloudformation.json, which contains +101k lines of schemas. The testing code that runs the blackbox tests, simply cannot handle such large quantities of files at the same time 😅

Closing as they are not used in beside local.


Suppress stacktrace of InterruptedException in CommonCacheNotifier

Addresses #10709
Description
When CommonCachedNotifier is being stopped while the thread is waiting on updateQueue.take(),
an InterruptedException is thrown. For a more graceful shutdown, we can suppress the stacktrace of
this exception as it is expected here.

This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

how does the InterruptedException affect graceful shutdown?

The stack trace from the InterruptedException might give the wrong notion that something went wrong with the shutdown.
By graceful shutdown, I meant avoiding the above confusion. Let me fix this description 🙂

The stack trace from the InterruptedException might give the wrong notion that something went wrong with the shutdown.
By graceful shutdown, I meant avoiding the above confusion. Let me fix this description 🙂

Thanks 🙂

Ignoring code coverage check and merging since it is just a logging change.


Latest PyCharm broke REPL again

As the title suggest, the REPL is stuck on a blank console showing no output with the latest PyCharm version on MacOS Sonoma 14.6.1 running PyCharm Build #PY-242.20224.347, built on August 9, 2024.
The board I am using is ESP32 S2, but judging from the previous REPL issues, it will be broken for all boards.

Same problem on Ubuntu after last upgrade to PyCharm 2024.2 (Professional Edition). I was trying to uninstall and install the MicroPython plugin again. Nothing helps to make the REPL working, but I can upload the source code to the device.
I'm using Raspberry Pico.

The plugin is broken, I understand your reflex to trying to reinstall it or fix it on your end, but that is simply not possible, it has been this way many times before and it won't work with the latest PyCharm version without an intervention form the devs.
In the mean time, I recommend you to downgrade to PyCharm version 2024.1.6 on which this plugin still works. That is what I did.

I'm using minicom so it's not a big problem but the life could be much better with REPL in that plugin.
Here is an error I've found in my PyCharm logs:
2024-08-16 10:53:19,695 [ 820197] SEVERE - #c.i.o.o.e.ConfigurableWrapper - No display name specified in plugin descriptor XML file for configurable com.jetbrains.micropython.settings.MicroPythonProjectConfigurable;
specify it using 'displayName' or 'key' attribute to avoid necessity to load the configurable class when Settings dialog is opened [Plugin: intellij-micropython]
com.intellij.diagnostic.PluginException: No display name specified in plugin descriptor XML file for configurable com.jetbrains.micropython.settings.MicroPythonProjectConfigurable;
specify it using 'displayName' or 'key' attribute to avoid necessity to load the configurable class when Settings dialog is opened [Plugin: intellij-micropython]
	at com.intellij.openapi.options.ex.ConfigurableWrapper.getDisplayName(ConfigurableWrapper.java:158)
	at com.intellij.ide.util.gotoByName.GotoActionModel.lambda$new$0(GotoActionModel.java:87)
	at com.intellij.util.concurrency.SynchronizedClearableLazy._get_value_$lambda$1$lambda$0(SynchronizedClearableLazy.kt:41)
	at java.base/java.util.concurrent.atomic.AtomicReference.updateAndGet(AtomicReference.java:210)
	at com.intellij.util.concurrency.SynchronizedClearableLazy.getValue(SynchronizedClearableLazy.kt:40)
	at com.intellij.util.concurrency.SynchronizedClearableLazy.get(SynchronizedClearableLazy.kt:28)
	at com.intellij.ide.util.gotoByName.GotoActionModel.getConfigurablesNames(GotoActionModel.java:391)
	at com.intellij.ide.util.gotoByName.ActionAsyncProvider.optionsFlow(ActionAsyncProvider.kt:305)
	at com.intellij.ide.util.gotoByName.ActionAsyncProvider.access$optionsFlow(ActionAsyncProvider.kt:35)
	at com.intellij.ide.util.gotoByName.ActionAsyncProvider$filterElements$2$channel$1.invokeSuspend(ActionAsyncProvider.kt:89)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)

Same issue on Windows 11 Home with Pycharm Professional 2<IP_ADDRESS>. REPL is blank.
Uploading and running code works fine, but I cannot get the REPL to work, nor can I get output from print() on the Pico in the IDE. All works fine with Thonny.
I will try downgrading to 2024.1.6 and see if that works.

I'm getting the same thing, and it's also the same with the Mac.

We've fixed a mess with versions.
Please try to upgrade the plugin now.


modify arkworks and decaf377 suite

Describe your changes
Issue ticket number and link
Checklist before requesting a review

[ ] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

For posterity what's the point of increasing the iteration count?

For posterity what's the point of increasing the iteration count?

less variation in the runtimes


RHEL8 Workstation Installation requirements

@aawdls
We need a couple of things to add to the list for RHEL 8 installation:

crun
a couple of RHEL 7 library versions

libcrypto.so.10
libssl.so.10

The libraries make dls-python3 work on RHEL8 and the python3 workflow should then be good to go.

@aawdls Do you think we should put VSCode on this list?

Yes. There are the installations in /dls_sw/apps maintained by someone (unknown to me), but we need to decide whether we want to continue using these or a system package.

@MJGaughran re installing system packages. Some of us with pcXXXX machines can do that but those with wsXXXX cannot and the distribution seems random. For your policy to work we need to make sure people get yum rights.
Or am I misunderstanding you?


Set up "Test" stage in the cloud

As a [role]
I need [function]
So that [benefit]
Details and Assumptions

[document what you know]

Acceptance Criteria
Given a new PR
When merge to main branch
Then the Cloud should run BDD test on the test stage if Build and Deploy stage passes


CORS issue exists with 2.4

Angular projects with custom headers still experience CORS issue. Kicks off Options requests to which the server responds with 405

i had this problem too:

I am having the same problem. It works in my one project but not working in the other. Need help to fix this asap as I have release it in production. The request which goes to loggly returns 405 method not allowed error.

I downgraded to I think 1.3 to "fix" the issue

Hi Everyone,
Sorry for the delay on this, things have been very busy for me.  I will work on getting this resolved and merged in this week.  If anyone is willing to submit a PR for the fix, that would speed things up.

This should be fixed with the latest release.

Still happening in v0.3.1. Anyway, I'm using Npm to install this library and the published version is still 0.2.4

I'm on version 0.3.1 (on 6 Mar) and experience similar difficulties

Failed to load https://logs-01.loggly.com/inputs/*******: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 400


Slight flaw with title search code

The search code makes concessions for movie titles that start with articles by moving the article to the end of the title, and doing a Python casefold operation.
A title like "The Courier" becomes "courier_the".
Unfortunately, by keeping the article, these two titles now appear out of order:
The Rescuers (modified to "rescuers_the")
The Rescuers Down Under (modified to "rescuers_down_under_the")
The solution is one of two possibilities:

Drop the article instead of appending it.
Prefix the article with a second underscore, which would fix the order.

Also consider moving the title search code to a separate function, which may make dealing with other languages easier in the future, and allow for generating sort values against other data types, like keywords.

Commit:
https://github.com/cjcodeproj/medialibrary/commit/87b48443454b58a9555f642debd201835150d406
Implementation notes:
Common operations now handled by independent functions that could be applied to other things like keywords.  Some code refactoring added to simplify the code, and a small attempt at trying to catalog English article words.
Improved the debuglist tool to output the sort title as well.


rust: Fix package test

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[] Ready to merge

Summary

Rust package tests were failing due to a missing BR and a bad test- this PR fixes both.
Change Log

Add conditional dependency for rust on python-xml when running package tests
Removed a low signal-to-noise ratio test from Rust. This test was removed in version 1.40.0- more context can be found in rust-lang/rust#63520

Does this affect the toolchain?

NO
Test Methodology

Local build with RUN_CHECK=y

Opting to ignore remainder of linter suggestions.

Opting to ignore remainder of linter suggestions.


selfHosted: tolerate unready nodes

and prevent etcd pods from being evicted.
fix https://github.com/coreos/etcd-operator/issues/1117

@etcd-bot retest this please

not sure if this is the right fix.
if we start to tolerate not ready + unreachable, then etcd operator wont handle node failures at all which defects its design purpose.

@philips mentioned stuff here: https://github.com/coreos/etcd-operator/issues/1117#issuecomment-302855194
without this feature (remove failed node), we should not tolerate node not ready.

Closing right now. Let's revisit this once we agree on final solution


Allow file:// protocol for URIs

Seems to be difficult to open local filepaths from within the browser due to security concerns, although we'll want to point to local resources.

How to specify a local file within html using the file: scheme?
How to open local file from browser?
Enable local file links
Not allowed to load local resource: file://

Perhaps we can use a magnet URI or at least some visual indicator that the link is to a local filepath.
The biggest starting use case is the Orientation & How-Tos pages
Ideal syntax would be to separate with angle brackets (maybe double to avoid collisions?)
<//nessie/prog/files>

SCOPE: May need to extend markdown-it with a markdown-it-plugin
Note sure how we can differentiate between different URI schemes:

file://\\vdhwebapps-test\ for server file paths
file:///\\nessie\prog\ for local file paths

Add a copy to clipboard function because we can't directly open windows explorer process
// Copies a string to the clipboard.
function copyToClipboard(text, callback) {

  if (window.navigator.clipboard) {
    navigator.clipboard.writeText(text).then(function() {
      callback()
      return true
    });

  }

  if (window.clipboardData && window.clipboardData.setData) {
    clipboardData.setData("Text", text);
    callback()
    return true;
  }

  if (document.queryCommandSupported && document.queryCommandSupported("copy")) {
    var textArea = document.createElement("textarea");

    // Place in top-left corner of screen regardless of scroll position.
    textArea.style.position = 'fixed';
    textArea.style.top = 0;
    textArea.style.left = 0;

    // Ensure it has a small width and height. Setting to 1px / 1em
    // doesn't work as this gives a negative w/h on some browsers.
    textArea.style.width = '2em';
    textArea.style.height = '2em';

    // We don't need padding, reducing the size if it does flash render.
    textArea.style.padding = 0;

    // Clean up any borders.
    textArea.style.border = 'none';
    textArea.style.outline = 'none';
    textArea.style.boxShadow = 'none';

    // Avoid flash of white box if rendered for any reason.
    textArea.style.background = 'transparent';

    textArea.value = text;
    document.body.appendChild(textArea);
    textArea.focus();
    textArea.select();

    try {
      document.execCommand("copy");
      callback()
      return true
    } finally {
      // Security exception may be thrown by some browsers.
      document.body.removeChild(textArea);
    }
  }

  return false;
}

function showToast() {
  console.log("success")
}

And also show a copied toast - style consistently with #23 add modern tooltips


Drag widget's top to move the widget

ANSI codes allow mouse drag & drop. We can use it to add widget repositioning by dragging top bar.

Implemented!

Implemented!


Make issuer a string only

In a verifiable credential currently js supports an issuer as an object.
To be in sync with -kt we should change this to be a string only

@nitro-neal will #255 close this?

Yup can close this, fixed https://github.com/TBD54566975/web5-js/pull/255


Add Regridder module

Purpose
Closes #4
Interface changes from other repos
ClimaCoupler.jl

dummmy_remap! renamed to dummy_remap!
write_datafile_cc renamed to write_field_to_ncdataset
reshape_cgll_sparse_to_field! renamed to sparse_array_to_field!
hdwrite_regridfile_rll_to_cgll renamed to regrid_rll_to_cgll, interface changed
land_fraction renamed to regrid_netcdf_to_field, interface changed
swap_space! interface changed --> fill_field!

ClimaLSM.jl

reshape_cgll_sparse_to_field! renamed to sparse_array_to_field!
hdwrite_regridfile_rll_to_cgll renamed to regrid_rll_to_cgll, interface changed
regrid_netcdf_to_field interface changed
swap_space! exclamation mark removed

[x] I have read and checked the items on the review checklist.

Superseded by #19


[Request] Include a pending_balance in channelbalance response

Currently, if you open a channel, the funds are not counted in walletbalance and do not yet show in channelbalance. It would be helpful to be able to see all the totals necessary to determine the full balance of your node. This could be a new rpc method, or adding additional totals to existing methods. Possibly the response of channelbalance could include "pending_balance" as well as "available_balance" (or "unavailable_balance"?)

I'll take this issue


[Firestore] hangs indefinitely

[REQUIRED] Step 2: Describe your environment

Operating System version: macOS Big Sur v11.2
Firebase SDK version: 8.13.0
Firebase Product: Firestore
Node.js version: v15.8.0
NPM version: 7.5.0

[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
Doing anything with Firestore hangs indefinitely. After testing with resolutions of @grpc/grpc-js,

<0.6.0: returns "Protocol https: unsupported"
0.6.0: API returns {"error":{}}
>0.6.0: hangs indefinitely (returns an error message like this:)

node:events:355
      throw er; // Unhandled 'error' event
      ^

Error: 14 UNAVAILABLE: No connection established
    at Object.callErrorFromStatus (/Users/ryanccn/firebase/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/call.js:30:26)
    at Object.onReceiveStatus (/Users/ryanccn/firebase/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/client.js:328:49)
    at Object.onReceiveStatus (/Users/ryanccn/firebase/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:304:181)
    at Http2CallStream.outputStatus (/Users/ryanccn/firebase/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/call-stream.js:114:27)
    at Http2CallStream.maybeOutputStatus (/Users/ryanccn/firebase/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/call-stream.js:153:22)
    at Http2CallStream.endCall (/Users/ryanccn/firebase/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/call-stream.js:140:18)
    at Http2CallStream.cancelWithStatus (/Users/ryanccn/firebase/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/call-stream.js:442:14)
    at ChannelImplementation.tryPick (/Users/ryanccn/firebase/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/channel.js:232:32)
    at ChannelImplementation._startCallStream (/Users/ryanccn/firebase/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/channel.js:262:14)
    at Http2CallStream.start (/Users/ryanccn/firebase/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/call-stream.js:419:22)
    at BaseStreamingInterceptingCall.start (/Users/ryanccn/firebase/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:276:19)
    at ServiceClientImpl.makeServerStreamRequest (/Users/ryanccn/firebase/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/client.js:311:14)
    at ServiceClientImpl.<anonymous> (/Users/ryanccn/firebase/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/make-client.js:92:19)
    at /Users/ryanccn/firebase/node_modules/@google-cloud/firestore/build/src/v1/firestore_client.js:201:29
    at /Users/ryanccn/firebase/node_modules/google-gax/build/src/streamingCalls/streamingApiCaller.js:38:28
    at /Users/ryanccn/firebase/node_modules/google-gax/build/src/normalCalls/timeout.js:44:16
Emitted 'error' event on ClientReadableStreamImpl instance at:
    at Object.onReceiveStatus (/Users/ryanccn/firebase/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/client.js:328:28)
    at Object.onReceiveStatus (/Users/ryanccn/firebase/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:304:181)
    [... lines matching original stack trace ...]
    at /Users/ryanccn/firebase/node_modules/google-gax/build/src/normalCalls/timeout.js:44:16
    at Object.request (/Users/ryanccn/firebase/node_modules/google-gax/build/src/streamingCalls/streaming.js:105:36) {
  code: 14,
  details: 'No connection established',
  metadata: Metadata { internalRepr: Map(0) {}, options: {} }
}

Relevant Code:
http://github.com/leerob/nextjs-vercel-firebase
// lib/firebase.js

import admin from 'firebase-admin';

try {
  admin.initializeApp({
    credential: admin.credential.cert({
      project_id: process.env.FIREBASE_PROJECT_ID,
      private_key: process.env.FIREBASE_PRIVATE_KEY,
      client_email: process.env.FIREBASE_CLIENT_EMAIL
    }),
    databaseURL: 'https://ryanccn-dev-36130-default-rtdb.firebaseio.com/'
  });
} catch (error) {
  /*
   * We skip the "already exists" message which is
   * not an actual error when we're hot-reloading.
   */
  if (!/already exists/u.test(error.message)) {
    // eslint-disable-next-line no-console
    console.error('Firebase admin initialization error', error.stack);
  }
}

export default admin.firestore();

(This is a Next.js API route)
// pages/api/city/[name].js

import firebase from '../../../lib/firebase';

export default (req, res) => {
  console.log()
  firebase
    .collection('cities')
    .doc(req.query.name)
    .get()
    .then((doc) => {
      res.json(doc.data());
    })
    .catch((error) => {
      res.json({ error });
    });
};

@google-oss-bot I deleted the first step thinking it was unnecessary

Firestore uses @grpc/grpc-js. Are you able to share your output of npm list?

Firestore uses @grpc/grpc-js. Are you able to share your output of npm list?

Yeah I meant grpc-js 😅

<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

I'm having a similar issue.
When I follow the instructions found here: https://firebase.google.com/docs/admin/setup I get the same Error: 14 UNAVAILABLE: No connection established after about a 60-second wait.
I'm using...
node 12.19.0 (have also tried 15.x)
firebase-admin: ^9.4.2

Am just performing a simple get on a document that exists in a collection that exists (very similar to the code above). I have used firestore successfully in the past with node without issue. Happy to provide more context for my specific case if needed.

@schmidt-sebastian interestingly this problem doesn't exist on a DigitalOcean droplet I created for the purpose 🧐

@ryanccn perhaps this is mac related? I am on macOS Catalina 10.15.7
I dropped the Firebase Admin SDK back to 7.x and got the following error:
Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
Could be a red herring, but thought it was worth mentioning.

Hmm.

Hmm.

Note that you can turn on additional logging by setting the following environment variables:
GRPC_VERBOSITY= DEBUG GRPC_TRACE=all

This should show extensive logging output and might point us to the root cause.

Thanks for the tip @schmidt-sebastian. Here are the subsequent logs and errors which look very similar to those I received when I dropped back to 7.x of the SDK...
I can paste the full logs but here are the relevant repeating parts. Seems to be an issue with the certificate.
2021-02-18T02:42:45.479Z | pick_first | CONNECTING -> CONNECTING
2021-02-18T02:42:45.479Z | resolving_load_balancer | dns:firestore.googleapis.com:443 CONNECTING -> CONNECTING
2021-02-18T02:42:45.479Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2021-02-18T02:42:45.480Z | connectivity_state | dns:firestore.googleapis.com:443 CONNECTING -> CONNECTING
2021-02-18T02:42:45.649Z | subchannel | 2404:6800:4015:802::200a:443 connection closed with error self signed certificate in certificate chain
2021-02-18T02:42:45.649Z | subchannel | 2404:6800:4015:802::200a:443 CONNECTING -> TRANSIENT_FAILURE
2021-02-18T02:42:45.649Z | pick_first | CONNECTING -> CONNECTING
2021-02-18T02:42:45.649Z | resolving_load_balancer | dns:firestore.googleapis.com:443 CONNECTING -> CONNECTING
2021-02-18T02:42:45.649Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2021-02-18T02:42:45.649Z | connectivity_state | dns:firestore.googleapis.com:443 CONNECTING -> CONNECTING
2021-02-18T02:42:45.650Z | subchannel | <IP_ADDRESS>:443 connection closed with error self signed certificate in certificate chain
2021-02-18T02:42:45.650Z | subchannel | <IP_ADDRESS>:443 CONNECTING -> TRANSIENT_FAILURE
2021-02-18T02:42:45.650Z | pick_first | CONNECTING -> TRANSIENT_FAILURE
2021-02-18T02:42:45.650Z | resolving_load_balancer | dns:firestore.googleapis.com:443 CONNECTING -> TRANSIENT_FAILURE
2021-02-18T02:42:45.650Z | channel | Pick result: TRANSIENT_FAILURE subchannel: undefined status: 14 No connection established
2021-02-18T02:42:45.650Z | call_stream | [0] cancelWithStatus code: 14 details: "No connection established"
2021-02-18T02:42:45.650Z | call_stream | [0] ended with status: code=14 details="No connection established"
2021-02-18T02:42:45.651Z | connectivity_state | dns:firestore.googleapis.com:443 CONNECTING -> TRANSIENT_FAILURE
2021-02-18T02:42:45.651Z | call_stream | [0] cancelWithStatus code: 1 details: "Cancelled on client"
2021-02-18T02:42:46.484Z | subchannel | 2404:6800:4015:802::200a:443 TRANSIENT_FAILURE -> CONNECTING
2021-02-18T02:42:46.484Z | pick_first | TRANSIENT_FAILURE -> CONNECTING

Upon further reading of the above issue. I think I am the victim of corporate malware. This is a work MacBook and subsequently has Netskope and god knows what else monitoring and messing with SSL traffic. I added export NODE_TLS_REJECT_UNAUTHORIZED=0 and this got me further down the road. I am going to run this on a non-work regulated Mac; if that works then it's pretty obvious where the issue lies. Not sure if there is a fix for it though as I can't disable the corporate malware.

2021-02-19T09:13:14.252Z | resolving_load_balancer | dns:firestore.googleapis.com:443 IDLE -> IDLE
2021-02-19T09:13:14.252Z | connectivity_state | dns:firestore.googleapis.com:443 IDLE -> IDLE
2021-02-19T09:13:14.253Z | dns_resolver | Resolver constructed for target dns:firestore.googleapis.com:443
2021-02-19T09:13:14.262Z | channel | dns:firestore.googleapis.com:443 createCall [0] method="/google.firestore.v1.Firestore/BatchGetDocuments", deadline=Fri Feb 19 2021 17:18:14 GMT+0800 (China Standard Time)
2021-02-19T09:13:14.264Z | call_stream | [0] Sending metadata
2021-02-19T09:13:14.264Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2021-02-19T09:13:14.266Z | call_stream | [0] write() called with message of length 213
2021-02-19T09:13:14.266Z | call_stream | [0] end() called
2021-02-19T09:13:14.267Z | call_stream | [0] deferring writing data chunk of length 218
2021-02-19T09:13:14.268Z | dns_resolver | Resolution update requested for target dns:firestore.googleapis.com:443
2021-02-19T09:13:14.271Z | resolving_load_balancer | dns:firestore.googleapis.com:443 IDLE -> CONNECTING
2021-02-19T09:13:14.271Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2021-02-19T09:13:14.271Z | connectivity_state | dns:firestore.googleapis.com:443 IDLE -> CONNECTING
2021-02-19T09:13:14.271Z | resolving_load_balancer | dns:firestore.googleapis.com:443 CONNECTING -> CONNECTING
2021-02-19T09:13:14.271Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2021-02-19T09:13:14.271Z | connectivity_state | dns:firestore.googleapis.com:443 CONNECTING -> CONNECTING
2021-02-19T09:13:14.452Z | dns_resolver | Resolved addresses for target dns:firestore.googleapis.com:443: [<IP_ADDRESS>:443]
2021-02-19T09:13:14.452Z | pick_first | IDLE -> IDLE
2021-02-19T09:13:14.453Z | resolving_load_balancer | dns:firestore.googleapis.com:443 CONNECTING -> IDLE
2021-02-19T09:13:14.453Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2021-02-19T09:13:14.453Z | connectivity_state | dns:firestore.googleapis.com:443 CONNECTING -> IDLE
2021-02-19T09:13:14.453Z | pick_first | Connect to address list <IP_ADDRESS>:443
2021-02-19T09:13:14.454Z | subchannel | <IP_ADDRESS>:443 refcount 0 -> 1
2021-02-19T09:13:14.454Z | subchannel | <IP_ADDRESS>:443 refcount 1 -> 2
2021-02-19T09:13:14.454Z | pick_first | Start connecting to subchannel with address <IP_ADDRESS>:443
2021-02-19T09:13:14.454Z | pick_first | IDLE -> CONNECTING
2021-02-19T09:13:14.455Z | resolving_load_balancer | dns:firestore.googleapis.com:443 IDLE -> CONNECTING
2021-02-19T09:13:14.455Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2021-02-19T09:13:14.455Z | connectivity_state | dns:firestore.googleapis.com:443 IDLE -> CONNECTING
2021-02-19T09:13:14.455Z | subchannel | <IP_ADDRESS>:443 IDLE -> CONNECTING
2021-02-19T09:13:14.455Z | pick_first | CONNECTING -> CONNECTING
2021-02-19T09:13:14.456Z | resolving_load_balancer | dns:firestore.googleapis.com:443 CONNECTING -> CONNECTING
2021-02-19T09:13:14.456Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2021-02-19T09:13:14.456Z | connectivity_state | dns:firestore.googleapis.com:443 CONNECTING -> CONNECTING
2021-02-19T09:14:29.844Z | subchannel | <IP_ADDRESS>:443 connection closed with error connect ETIMEDOUT <IP_ADDRESS>:443
2021-02-19T09:14:29.847Z | subchannel | <IP_ADDRESS>:443 CONNECTING -> TRANSIENT_FAILURE
2021-02-19T09:14:29.847Z | pick_first | CONNECTING -> TRANSIENT_FAILURE
2021-02-19T09:14:29.848Z | resolving_load_balancer | dns:firestore.googleapis.com:443 CONNECTING -> TRANSIENT_FAILURE
2021-02-19T09:14:29.848Z | channel | Pick result: TRANSIENT_FAILURE subchannel: undefined status: 14 No connection established
2021-02-19T09:14:29.848Z | call_stream | [0] cancelWithStatus code: 14 details: "No connection established"
2021-02-19T09:14:29.849Z | call_stream | [0] ended with status: code=14 details="No connection established"
2021-02-19T09:14:29.850Z | call_stream | [0] cancelWithStatus code: 1 details: "Cancelled on client"
2021-02-19T09:14:29.850Z | connectivity_state | dns:firestore.googleapis.com:443 CONNECTING -> TRANSIENT_FAILURE
2021-02-19T09:14:32.654Z | channel | dns:firestore.googleapis.com:443 createCall [1] method="/google.firestore.v1.Firestore/BatchGetDocuments", deadline=Fri Feb 19 2021 17:19:32 GMT+0800 (China Standard Time)
2021-02-19T09:14:32.655Z | call_stream | [1] Sending metadata
2021-02-19T09:14:32.656Z | channel | Pick result: TRANSIENT_FAILURE subchannel: undefined status: 14 No connection established
2021-02-19T09:14:32.656Z | call_stream | [1] cancelWithStatus code: 14 details: "No connection established"
2021-02-19T09:14:32.656Z | call_stream | [1] ended with status: code=14 details="No connection established"

These debug messages, uh, seem to just say "No connection established" because of a timeout?

For one thing, I'm on a personal MacBook Pro so my problem can't be because of corporate malware.

I am also experiencing the same issue, any requests to firebase through proxy, hand indefinitely then timeout after 60000ms

Just in case it's useful to anyone that comes across this issue, I also had the problem with the connection timing out. After turning on additional logging, as recommended by @schmidt-sebastian, I saw firebase-admin was trying to connect to the host set in the FIRESTORE_EMULATOR_HOST environment variable. Removing it (or setting it to an empty string) fixed it.

Looks like lots of people are having this problem but with different reasons 😅

@lnoir Setting FIRESTORE_EMULATOR_HOST to an empty string resulted in an empty response from the API endpoint on my computer?

@inoir <IP_ADDRESS>:443 is definitely not an emulator

@zoheiry If you are experiencing connection problems with the Web SDK (in a browser), take a look here: https://github.com/firebase/firebase-js-sdk/issues/1674
I am pointing at this because the 60s timeout+Proxy problem used to be very common on our other platforms. It is not applicable to the firebase-admin-node SDK however.

After switching to using Shadowsocks there's now a different error:
{
  "code":"ERR_INVALID_PROTOCOL",
  "details":"Getting metadata from plugin failed with error: Protocol \"https:\" not supported. Expected \"http:\"",
  "metadata":{"internalRepr":{},"options":{}}
}

I had the same issue. docRef.set() and .get() methods timing out and getting error 14 messages.
Firebase emulator was setup with: export FIRESTORE_EMULATOR_HOST="localhost:8000" in cli initially.
Using extra logs - thank you @schmidt-sebastian!
GRPC_VERBOSITY=DEBUG
GRPC_TRACE=all

I saw that admin sdk was trying to access port 8000 without emulators running.
Removing it with export FIRESTORE_EMULATOR_HOST=undefined in cli resolved it. Thanks @lnoir

Setting FIRESTORE_EMULATOR_HOST is currently the recommended (only?) way in the firebase admin sdk docs to enable the emulator. This can cause issues if you run tests with the emulator and set the ENVAR using CLI and don't remember to remove it. - It is fixed by setting FIRESTORE_EMULATOR_HOST programmatically in a beforeAll and removing it in an afterAll
Maybe having .useEmulator() in the admin sdk would be a better dev experience:
export const db =
  process.env.NODE_ENV === 'production' ? admin.firestore() : admin.firestore().useEmulator(port);

At the same time everything is working as it is intended as far as I can tell.

Personally I'm not a fan of having to add an environment check to application code. I think what might be useful is if the Firestore client just logged a message out whenever it's connecting to the local emulator. That way there's a clear feedback of what's going on, in case somebody forgot to clear their env variables.

I have identified the issue causing this, and its been introduced in the past year or so, I do not know at what point.  But basically what's happening is it seems admin is spinning up a background task, and runs with that context.  When your app shutsdown, that background task can sometimes hang around, so on the next time initializeApp is called it appears to work fine but any method calls will just hang forever.  I have played around with app().delete() which does fix the problem but then you get even more strange behavior.  Because even though app().delete() was called by the previous instance on app shutdown, and an entirely new instance is spun up and a new initializeApp() is called, the new instance will sometimes throw an exception saying "The ["DEFAULT"] app has been deleted.".  I think the only way to handle this is to create instances of the app with a unique id each time, and then dispose of those that way you don't encounter this race condition on the DEFAULT app.

@ryanccn hello, do you fixed this problem? I also used proxy，I'm in china.

@ryanccn hello, do you fixed this problem? I also used proxy，I'm in china.

No... I've stopped using Firebase. But I would certainly like to see this problem solved 😇

Yes looks like it is some issue with corporate vpn or any other software companies have installed. Worked on personal laptop

Using TUN can solve the problem.


Navigation menu in Preferences

Reordering preferences contents, separating them by <section/> tags
Visual fixes, more bright heading colors
Adding <ScrollSpy/> & <TreeView/> components which in conjuction provide navigation shortcuts to available sections.

ScrollSpy
Implementation of classic ScrollSpy component but with IntersectionObserver API under the hood. Used to build navigation tree when specific sections become visible on screen or when DOM changes. It parses all available <section/> elements to create a tree, so couple of requirements are available for content layout:

all contents should be carefully placed and separated by sections.
every section must contain id tag. It can be omitted if section intends to be hidden in menu.

TreeView
<ScrollSpy/> generates hierarchy tree regardless of which component will be used to render navigation. I've chose Material UI TreeView as best among competitors. It handles all needed cases but it's still in alpha version though. TreeView is responsible to render actual menu component and highlight active item.
https://user-images.githubusercontent.com/9607060/110469754-156bfa80-80eb-11eb-98d8-c10d762d31d0.mp4

Part of #1983

Haven't looked at the code yet but played with it. Looks very nice. I noticed some little glitches(?) When at the top of the page, if you click on "Extensions", "Extensions" is highlighted but the "Kubernetes" drawer also opens and "Kubectl binary" is also highlighted. I think I understand why it happens (you can't scroll "Extensions" to the top unless you show some blank space beneath it) but it feels a bit strange.
https://user-images.githubusercontent.com/40840436/110714402-4cb4d700-81d1-11eb-88ad-d8beafe5bd8c.mov

@jim-docker Fixed along with additional bugs.
https://user-images.githubusercontent.com/9607060/110753024-102bbe80-8257-11eb-81ee-3918eed00eb6.mp4

Does content-navigation have it's own scrollbar? Otherwise I would not block page content area' scrollbar while mouse hovering it. Wdyt?

Good catch! I've added vertical scrollbar

@ixrock @jakolehm @Nokel81 Fixed lastly founded issues. Please re-review.

Fixed small window height behavior.

Header highlight is a good enhancement but should be moved to issues first (out of scope).

I've got some options how to refactor <PageLayout/>, but suggest to do this in next PRs.
@ixrock ^

Is this really what we want to display for extensions that have have multiple preferences?
https://user-images.githubusercontent.com/8225332/110950248-9c9ab780-8311-11eb-8e66-2de99e5db92b.mov

Is this really what we want to display for extensions that have have multiple preferences?

I think it is acceptable given that we currently don't visually delineate the preferences by extension. That would be done in a separate PR, then this tree-view could be updated correspondingly.

@ixrock Regadring to your last founded issues.

Fixed intersection observer buggy behavior - not it has clear rootMargin prop and work on any viewport height.
Simplifyed <PageView/> layout, removed excessive height calculations and position: fixed for navigation bar.
Your highlight active section content proposal will be moved to issue tracker.

@ixrock I think that should be done in a follow up PR so that this can be merged and will definitely get into the RC.


Version 3.0.0

Background
Update to the Button component and dependencies.
💡 Feature 1

Update button component

🛠 Dependency updates

build(deps-dev): bump @storybook/nextjs from 7.0.10 to 7.4.5
build(deps-dev): bump @types/node from 20.6.0 to 20.7.2
build(deps): bump @mui/x-date-pickers from 6.4.0 to 6.16.0
build(deps-dev): bump @storybook/react from 7.0.24 to 7.4.6
build(deps): bump @mui/x-license-pro from 6.0.4 to 6.10.2
build(deps-dev): bump @types/node from 20.7.2 to 20.8.3

⚠ BREAKING CHANGES ⚠

Button does not have chunky property anymore, instead three sizes (large, medium, small)
Alignment of page headers and buttons needs to be checked.
danger color variant has been renamed to error
disabledBg property has been removed from ColorStateOption interface -> Theme does not have primaryStates.disabledBg or lightStates.disabledBg prop anymore and these colours need to be replaces with some other colours in portal.

Looks good @susannalandstrom 👍
It makes sense to have color states for action results e.g. success, error, warning, and info, but I'm so not sure about these states that were present in the theme before - for example lightStates, primaryStates, and secondaryStates 🤔 It doesn't sound as this variants should have a state attached to them, at the same point we could have greenStates, darkStates, etc. Of course, these were there before, so it's just me thinking out loud, maybe a topic for another day's discussion 😄

Yeah, there might be more changes to these when we move forward with the other components. There has not been clear decisions yet about all the colors that we would need so these might very well change still.


Spotify Connect Check if active?

Hi, so I was wondering if this adapter also let‘s me check if spotify connect is active so I can turn on other devices if it‘s active?
Thanks in advance

You can check withspotify-premium.0.devices.YourPlaystation.isAvailable if it is your device is ready to play music.
And you can check with spotify-premium.0.devices.YourPlaystation.isActive (true if the device is currently playing) and spotify-premium.0.player.isPlaying.
The other 2 issues are already fixed in version 1.1.0


need a "domready" event hook after calling renderWithTemplate()

I'm trying to use "c3" to render a chart and attach it to a node in the template for the view. in render() I call this.renderWithTemplate() first. then I call c3.generate(). this doesn't work as the dom node doesn't appear to have been inserted when the c3.generate runs. I had to wrap the c3.generate call inside a setTimeout() for this to work.
would be nice to have renderWithTemplate() return a promise that doesn't get fulfilled until the DOM has finished processing, or take a callback.

Do you instantiate your view with an el that is already present in the DOM?
If you do, the view should be inserted in the DOM after renderWithTemplate has run because replaceChild is invoked when doing so.

the view is instantiated as a "partial view" inside a parent view and managed by a ViewSwitcher. so i don't pass in an "el" when instantiating it because it's re-using the one used by the ViewSwitcher.
the sequence goes like this:

index.html has a .container div
app.js calls new mainView(), pass in .container as "el",
mainView's template has data-hook="page-container"
mainView.js/render() calls new ViewSwitcher(), pass in queryByHook("page-container")
router processes a mapped link and calls new FlowView(), which triggers viewSwitcher.set(view)
Inside the FlowView.js -> render() I have the c3.generate() call

Is the FlowView set to autoRender?

nope. it's instantiated by the router, the router triggers a "page" event, which is captured by a listener in the mainView, which calls viewSwitcher.set(flowView). and i guess the ViewSwitcher then calls the render().

I'm having a similar issue where I want to render a collection using Kendo UI's Grid but am unable to because the function call gets executed before the content is bound to the DOM. I am using setTimeout(myfunction, 3000) right now but I feel like that's pretty hacky.
I saw this in the Gitter, but it is not working for me still https://gitter.im/AmpersandJS/AmpersandJS?at=54ea685f9d1e094552b0185f

I have used highcharts in combination with a partial view and it works correctly, so it is possible to render on a non-attached dom element and attach it later.
Can you put together a requirebin or some sample code of how you call the generate function?

I've had similar issues (particularly to @KayBeSee) and raised a PR against collection view here: https://github.com/AmpersandJS/ampersand-collection-view/pull/40 .
@pgilad The trouble is that there are (for example) many libraries that do not accept an element as an argument in their constructors, only a selector string or id - if there is nothing that matches that selector, the call will of course fail. IME, these libraries have an unfortunate tendency to be expensive platforms your business has paid a lot of money to use, and thus cannot swap out for something more flexible. :-)
For a top level ampersand-view, we have a great deal of control over how and when it enters the DOM; but the abstractions over subviews sometimes provide less than optimal visibility as to when they are appended to the parent el.

I think what's missing is what I really like about Ember for example - view lifecycles.

myView.on('render', initializeYourChart) should do the trick.  This would not have worked prior to &-view 8.x.  However, so long as your render method does attach itself to the DOM, which I'm comfortable claiming is 99% of the time, you should be good to go!  Let me know if that will suffice!


support service templates

Proposed functionality
netbox-initializers can import services, but as far as I can see it can't do service templates.

Service Templates
Service templates can be used to instantiate services on devices and virtual machines. A template defines a name, protocol, and port number(s), and may optionally include a description. Services can be instantiated from templates and applied to devices and/or virtual machines, and may be associated with specific IP addresses.

Use case
To allow the import of service templates on initialization.

Working on a PR, should have it shortly for you.

Addressed in #65


Cleansing User Data in About Me

We are missing the code to cleanse the user data in step 7 of About Me
String aboutMe = Jsoup.clean(request.getParameter("about-me"), Whitelist.none());

That code was making the build fail on Nico's end, so I took it out because I was told by Kevin Workman that I wasn't actually supposed to put the code in there.

ok, I will close this out.


Finish Nils' mockup 1.0

Finish changes to navbar and delete pannel/box outlines (e.g. item.js)

Made "Account" heading switch to username when logged in. Also fixed some dropdown menu formatting. Will close this until further feedback from Nils and/or more direction is given on how we want navigation to work.


Speed up Heroku deploys

A couple things are making the Heroku deploys slow unnecessarily:

We're installing Cypress unnecessarily.
We're not pruning dev dependencies because we've got NPM_CONFIG_PRODUCTION set to false on the staging app. The build logs say dev dependencies aren't being pruned because of that. I think we can remove this setting, and dev dependencies will still be there for the frontend build, and then removed.

We don't technically need a copy of the frontend build on the production badge server, but we do for staging and review apps, and it's simpler I think to keep it there for all.

CYPRESS_INSTALL_BINARY=0 is effectively being set in app.json for the review apps. I've added it to the staging and production apps, which should take care of that part.

I've removed NPM_CONFIG_PRODUCTION=false on staging. The slug went from 124 MB to 39 MB. Looks like Cypress is not being installed, either. Sweet!

The slug went from 124 MB to 39 MB. Looks like Cypress is not being installed, either. Sweet!

Any noticeable improvement on the deploy time?

🤷 I'm not sure if you can really see how long the deploy is taking.


Allow fusion to continue despite non-communicating sensor

For compatibility with Signal-K/SensESP project, it's best to allow program execution to continue, despite lack of comms with a sensor. SensESP may have multiple sensors attached, and failure of one should not bring down the whole system.
Will need a method for passing back the status of the sensors, and for retrying comms. Something like GetSensorStatus()...

In readSensors() the status condition SOFT_FAULT is set if an error occurs during a sensor read.  The same status is also set if a sensor FIFO is overrun (indicating that it is not being read often enough).
In all statuses other than NORMAL condition, a call to IsDataValid() will return false, which indicates that the orientation data are not trustworthy. This could also happen, in addition to a sensor failure, during the short period that the fusion system is initializing.
Whenever the status of a sensor is uninitialized, each time a read is attempted, an initialization is performed first. If the initialization succeeds, then the system status is set back to NORMAL on subsequent cycles.
This seems to work fine when using the library from SensESP and performing Attitude outputs. Disconnecting the I2C SDA line causes the Signal K display to switch to -.----. It returns to the expected numeric values when the I2C connection is restored.

In readSensors() the status condition SOFT_FAULT is set if an error occurs during a sensor read.  The same status is also set if a sensor FIFO is overrun (indicating that it is not being read often enough).
In all statuses other than NORMAL condition, a call to IsDataValid() will return false, which indicates that the orientation data are not trustworthy. This could also happen, in addition to a sensor failure, during the short period that the fusion system is initializing.
Whenever the status of a sensor is uninitialized, each time a read is attempted, an initialization is performed first. If the initialization succeeds, then the system status is set back to NORMAL on subsequent cycles.
This seems to work fine when using the library from SensESP and performing Attitude outputs. Disconnecting the I2C SDA line causes the Signal K display to switch to -.----. It returns to the expected numeric values when the I2C connection is restored.


Graphql Implementation

I think it would be a good idea to include GraphQL implementation too. Although it might differ from REST API spec, we should be able to make it closer by designing schemas around it.

Closing this as this seems to be already discussed. Apologies for missing it.


Nuxt 3 Edge Channel - Broke Build for unocss.

CONTEXT
I was working on a project and came across this on the edge channel. I saw that they updated this in the draft of RC 10 of Nuxt.
Nuxt SSR Styles inline This could be potentially the culprit that broke the build / generate.
I just wanted to give you a heads up as I was diving deeper into the issue as it was not present until I tested it on the edge channel.
package.json
{
  "private": true,
  "scripts": {
    "postinstall": "yarn generate",
    "build": "nuxt build",
    "dev": "nuxt dev",
    "generate": "nuxt generate",
    "preview": "nuxt preview"
  },
  "devDependencies": {
    "@iconify-json/akar-icons": "^1.1.8",
    "@iconify-json/ant-design": "^1.1.3",
    "@iconify-json/eva": "^1.1.2",
    "@iconify-json/ic": "^1.1.9",
    "@iconify-json/mdi": "^1.1.31",
    "@iconify-json/charm": "^1.1.5",
    "@iconify-json/codicon": "^1.1.16",
    "@iconify-json/ci": "^1.1.2",
    "@nuxt/content": "^2.1.0",
    "@vueuse/motion": "^2.0.0-beta.12",
    "@vueuse/nuxt": "^9.2.0",
    "@unocss/nuxt": "^0.45.18",
    "nuxt": "npm:nuxt3@latest",
    "nuxt-schema-org": "^1.1.0-beta.2"
  }
}

ERROR
ℹ Client built in 5259ms
ℹ Building server...

 ERROR  Could not resolve entry module (../../../../../__uno.css?inline&used).
 ERROR  Could not resolve entry module (../../../../../__uno.css?inline&used).

  at error (node_modules/vite/node_modules/rollup/dist/es/shared/rollup.js:1858:30)
  at ModuleLoader.loadEntryModule (node_modules/vite/node_modules/rollup/dist/es/shared/rollup.js:22369:20)
  at async Promise.all (index 0)

END RESULT
Once I verified that was the issue I disabled the autoImports: false and the build worked since it wasn't importing
import 'uno.css'

and the build / generate worked again.
Hopefully this is helpful.
Stackblitz Link
Run npm run build or npm run generate
Here
Thanks,
Christian

facing same issue. dev works fine but getting error while build
 ERROR  Could not resolve entry module (../../../../__uno.css?inline&used).                                                                         14:04:29
 ERROR  Could not resolve entry module (../../../../__uno.css?inline&used).

Should be fixed by https://github.com/unocss/unocss/pull/1578


Mod causes massive FPS drop.

Would love to use this mod. But having it active causes me to drop massive FPS. 144 down to 15-30!

-20 fps

Download the new version in thunderstore for the fix.


Add support to determine SGs and Network IDs based on name tag

People should be able to opt in for subnet and security group auto discovery.
   alb.ingress.kubernetes.io/subnets: subnet1, subnet2
    alb.ingress.kubernetes.io/security-groups: sg1, sg2

The code to support this was already in there, did you test it out and find a bug?

I haven't tested it since we introduce the ability to explicitly call out a subnet ID.
@jescarri, can you validate the newest ALB build retains this functionality.
If it does, we'll need a docs update here and we can close this.

Update on this, as I did a quick validation.
Subnets by tags still works, but causes subnet modification to loop. Likely how we're diffing current and desired subnet state (ids vs tags)
I0413 17:28:42.923381       1 log.go:48] [ALB-INGRESS] [echoserver-echoserver] [INFO]: Start ELBV2 (ALB) modification.
I0413 17:28:42.923513       1 log.go:48] [ALB-INGRESS] [echoserver-echoserver] [INFO]: Start subnets modification.
I0413 17:28:49.657713       1 log.go:48] [ALB-INGRESS] [echoserver-echoserver] [INFO]: Start ELBV2 (ALB) modification.
I0413 17:28:49.657816       1 log.go:48] [ALB-INGRESS] [echoserver-echoserver] [INFO]: Start subnets modification.
I0413 17:28:59.758839       1 log.go:48] [ALB-INGRESS] [echoserver-echoserver] [INFO]: Start ELBV2 (ALB) modification.
I0413 17:28:59.758874       1 log.go:48] [ALB-INGRESS] [echoserver-echoserver] [INFO]: Start subnets modification.

Security groups don't seem to work for me either. I did a name tag which should have resolved 3 security groups and it only resolved 1.
So in short, i'd say both of these need to be resolved / implemented.
I'm putting a small doc fix in to demonstrate our intentions and then I'll get around to implementing / fixing the functionality.

4bda6d34b93a5715c468cdbbbbdfa20454af508a

Update on this, it does in fact resolve via tags, but when taking the tag route and using multiple subnets, the desired subnets drop off somewhere causing the diff loop.
[ALB-INGRESS] [controller] [INFO]: Subnet found during parsing. subnet-c327adaa
[ALB-INGRESS] [controller] [INFO]: Subnet found during parsing. subnet-63bf6318
[ALB-INGRESS] [controller] [INFO]: currentSubnets: ["subnet-63bf6318","subnet-c327adaa"]
[ALB-INGRESS] [controller] [INFO]: desiredSubnets: ["subnet-63bf6318"]

Should be resolved shortly.


fix: bump netcore to 3.1.2

:tada: This PR is included in version 5.2.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Immersed elastic net illustration

Updates tracked in https://github.com/SophT-Team/SophT-Simulator/tree/89_immersed_elastic_net


Bump up version

coverage: 97.065%. remained the same
when pulling 5be4705d9a83be8066746c56d9a03d078c2431c5 on bump_up_version
into 1e6ef0a8cde51e2a6533a12ff98674429abcf021 on 2.0.


Optimizations

Standardized namings of members.
Corrected some access modififiers.
Reordered some member properties.
Made spaces around function args uniform across the project.
Remove unused using statements.
Fixed a sound playing issue, such that it is played at the correct location.

Really interesting, thanks for that !


Logic Table for OptionGetOrElse(Map, Constant(b:Boolean)) is wrong

Version: (e.g. 3.5.3)
Module: (e.g. quill-sql)
Database: (e.g. all)
Currently, there is a special optimization for a case where OptionGetOrElse is used together with a Constant that we know is a boolean. This is in FlattenOptionOperation:
case OptionGetOrElse(OptionMap(ast, alias, body), c @ Constant(b: Boolean, _)) =>
        val expr = BetaReduction(body, alias -> ast)
        val output: Ast = (IsNotNullCheck(expr) +&&+ expr) +||+ c
        apply(output)

This means that in a case of a expression like o.map(_ < 1).getOrElse(false) (where o is Option[Int]), instead of this:
CASE WHEN o < 1 IS NOT NULL o < 1 ELSE false

It will be like this:
o < 1 || o < 1 IS NOT NULL

However the truth tables of these statements are different:
o.map(_   < 1).getOrElse(false) |
-- | --
n < 1 | TRUE
n >= 1 | FALSE
null | FALSE
Compare to this:
o < 1 || o IS   NOT NULL |   |
-- | -- | --
n < 1 | TRUE |
n >= 1 | TRUE | (e.g. 10 > 1 but 10 IS NOT NULL => FALSE || TRUE => TRUE)
null | FALSE |
Workaround
@getquill/maintainers

Fixed via #1975.


Create JS SqlInjectionAudit.ql

Additional audit for SQL injection sinks
Ex:

Pushed a fix, was omitting NoSQL sinks 🥴 Also, i cannot merge , no permissions - feel free to fire that off along with a good review!


Ensure migrated buckets have correct retention policy

Currently the influxd migrate tool assumes all retention policies are forever, which is not the case in reality.
We should ensure the retention policy duration gets migrated too. This can be done by reading the meta.db file in the OSS 1.x .influxdb/meta directory, and checking what the retention policy values should be. Then, when creating the bucket in OSS 2.x using that value for the retention interval.
One thought is if the target bucket already exists but has a different retention period? Perhaps emit a warning or ask the operator what they want to do...

Hi, are you working on this issue or can i try fix it?

@patriczek please feel free to work on it! I can try and provide some guidance on this ticket if you have any questions.

@e-dard i think it works properly, but i'm not sure, if i did it by proper way.
I don't know how to get properly retention policy from meta.db. For now i used code from influxdb v1 and cut code which parsing data as much as possible.


[STYLE CHANGE] Fixing Css of Blog Page in mobile view

Description:

i can change this mobile view of blog page decreasing the unnecessary gap
Reason for Change:
it will make website look beautiful in mobile view and increases user experience
Current Styling:
[Describe the current styling that needs to be changed.]
Proposed Styling:
[Describe the desired styling or changes you would like to see.]
Screenshots or Design Mockups (optional):

Priority Level (optional):

[x] Medium

Go for it!

Go for it!

Please assign with label gssoc


Fix Exponential Range Graphical Error

Fixes the Exponential Range Slider having a graphical error with less than 1 values.
Closes: #24191

Made a change because it makes more sense to CLAMP the value from Range::get_as_ratio(), since it should only return a value between 0 and 1.

Thanks!


Ket convention statevector drawer ignores max_size

Environment

Qiskit Terra version: 0.34.0
Python version: 3.9.8
Operating system: OSX

What is happening?
Currently, Statevector.draw('latex') ignores the max_size parameter.
How can we reproduce the issue?
from qiskit.quantum_info import Statevector
from qiskit.visualization.state_visualization import state_drawer

sv = Statevector.from_label('++++')
state_drawer(sv, 'latex', max_size=3)

We get 12 terms, but I expect to get 3.
What should happen?
The drawer should change its behaviour according to the max_size parameter.
Any suggestions?
I think adding **args to this line might do it.
https://github.com/Qiskit/qiskit-terra/blob/5ea6e9557655b144228c29d7099375f5d2c91120/qiskit/visualization/state_visualization.py#L1183

Happy to look at this properly, can you assign me please?

I think the solution will be very slightly different to what Frank originally suggested, because the options to array_to_latex and _state_to_latex_ket are different, so we'll need to only pass the right options to each of those, but in principle that's the only change needed.
I'll just ping @frankharkins to check if you've got time to work on it?  If not, I'll return it to the pool of good first issues for somebody else to take a look at.

Oh and in case it isn't the same bug in the code, the same issue occurs with .draw(output="latex_source")

Sorry I completely forgot about this, I'll have a look this week

Has there been any luck at all?

Yes, sorry- I've fixed and am just writing a test now.


Added code for buttons

Added Travis and Coveralls buttons.

@berithsu, @wtsanderson, @jonmigueljara, and @yuanyiwu can someone please review and make comments? Once it's reviewed, someone else should accept the PR. Thanks!

Looks real good. I'll merge with master.

@wtsanderson: thanks for reviewing, but I still need someone to merge. @berithsu, @jonmigueljara, @yuanyiwu: could any of you please merge?

Oh I get it now. My bad.
On Tuesday, October 27, 2015, Juan Shishido<EMAIL_ADDRESS>wrote:

@wtsanderson https://github.com/wtsanderson: thanks for reviewing, but
I still need someone to merge. @berithsu https://github.com/berithsu,
@jonmigueljara https://github.com/jonmigueljara, @yuanyiwu
https://github.com/yuanyiwu: could any of you please merge?
—
Reply to this email directly or view it on GitHub
https://github.com/berkeley-stat159/project-eta/pull/2#issuecomment-151619122
.

Thanks, @jonmigueljara and @wtsanderson!


Undefined Behaviour: Null Ptr & Array bounds checks

[x] Closes #108
[x] Closes #110

I would like to review this before I forget it :)

bors r+


Player loading endlessly after selecting a verse

When selecting a verse after 20 for instance in Surah An Nur the player is loading and never ends.

Same problem here.

This is maybe a known bug on here. It is partly done, maybe you can check on staging.quran.com and check if it still exist.
What i found done on staging is, a bug that makes audio player to stuck on loading state after we change to any verse.
But i found another bug if we play the audio or press next until ayah > 1, and then move to other chapter / surah via navbar. In production, the audio player still stuck on loading state, but on staging, the page is stuck on loading, nothing loads other than navbar and footer.
If no one haven't fix this yet, Insha Allah i will try to fix this.

Might be fixed by https://github.com/quran/quran.com-frontend/pull/843

@imadmk ayah and surah navigation is fixed https://github.com/quran/quran.com-frontend/pull/863

@mmahalwy graphql is great, but we should have fallback option. Looks like your PR may take few more week/month :)


LSTM Explanation

Hello, good implementation of the DRL algos! I have been struggling quite a bit trying to understand how to incorporate an LSTM into the model and how to handle the hidden states and your repo seemed to be the clearest out of all I have seen.  However, I am still not clear as to the exact usage of the hidden states so I hope you can clarify this for me. The specific part of the code to which I am referring is the one found at this file in lines 124 - 129.
Can you please clarify on that part of the code both in its significance and reasoning? Why not save hidden states as part of the buffer and sample from it as well?  Another question is you have a list of hidden states which you update both after the policy update as well as during environment interaction, am I understanding this right?  Finally  is this the single most correct way to implement an LSTM layer in a DRL algorithm?
For example, initially the way I interpreted your code is the following which I adapted to my case with a single LSTM layer:
for sample in x: # x is batch, features
    x, hidden = self.lstm(x, hidden)
    append x to list of xs
forward xs list through actor & critic

If you could elaborate on how to use LSTMs in general I would appreciate it a lot and also point me to any other implementations or papers from which you got the inspiration to implement these, or have based them off?

@siekmanj I have downloaded and played around with the code and more specifically run a ppo agent on halfcheetah using an lstm architecture with the other parameters being the default.  It seems to me that the way you are actually using the states when a recurrent policy is trained, is that you are iterating over trajectories.  I found that with num_steps 5000, 4 workers and batch_size of 64 does not return any indices from the BatchSampler in a recurrent policy.
Is there a specific combination of num_workers and batch_size that is different when using recurrent policies? The way I understood it is that when a recurrent policy is present you need at least batch_size trajectories mean the length of traj_idx is at least batch_size for the sampler to return any indices which you then treat as timesteps x trajectories x features in the LSTM?
I can produce a script for this if you prefer in order to understand this better.


Empty font name resetting to default "roboto" when restarting RuneLite

I see that expected behaviour for this is to use runescape's default when font is left empty, but it is resetting to "roboto" when RuneLite is restarted.

Nice plugin btw :)

I have done a quick check on my side. It seems to also not save an empty name on my side. But this might be because runelite, goes to default setting if a box is left empty.

https://i.imgur.com/nuyA9tS.png I have added a toggle to enable custom fonts


How to use thirdparty cloud server in cloud-variables-anywhere？

connect is disabled.

And connect to wss://0832.ink/tw-clouddata is enabled.

Your web server is not set up to handle WebSocket connections properly. Notice that the error is from your browser, not from us. 301 redirects are not compatible with WebSockets and are unlikely to help bypass censorship, if that's what you're trying to do.

ws = new WebSocket('wss://0832.ink/tw-clouddata')

https://www.google.com/search?hl=en&q=nginx websocket

Thanks!


[nereids] bucket shuffle downgrade expansion

Proposed changes
Expand bucket shuffle downgrade condition, which originally requiring a single partition after pruning, basic table and bucket number < para number. Currently, we expect this option can be used for disabling bucket shuffle more efficiently, without above restrictions.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run cloud_p1


Fixed but - include-lastNumber

Included the last number into the flexbuzz ouput.

Sorry, fixed already!


gnome3.dconf failure on staging

Describe the bug
A clear and concise description of what the bug is.
dconf tries to write to the bash-completion store path.
glibPreInstallPhase
installing
install flags: install
[0/1] Installing files.
Traceback (most recent call last):
  File "/nix/store/8vaf7gf7ryzb2inm1zksncfchxc3w9kz-meson-0.51.2/lib/python3.7/site-packages/mesonbuild/mesonmain.py", line 127, in run
    return options.run_func(options)
  File "/nix/store/8vaf7gf7ryzb2inm1zksncfchxc3w9kz-meson-0.51.2/lib/python3.7/site-packages/mesonbuild/minstall.py", line 514, in run
    installer.do_install(datafilename)
  File "/nix/store/8vaf7gf7ryzb2inm1zksncfchxc3w9kz-meson-0.51.2/lib/python3.7/site-packages/mesonbuild/minstall.py", line 346, in do_install
    self.install_data(d)
  File "/nix/store/8vaf7gf7ryzb2inm1zksncfchxc3w9kz-meson-0.51.2/lib/python3.7/site-packages/mesonbuild/minstall.py", line 376, in install_data
    self.do_copyfile(fullfilename, outfilename)
  File "/nix/store/8vaf7gf7ryzb2inm1zksncfchxc3w9kz-meson-0.51.2/lib/python3.7/site-packages/mesonbuild/minstall.py", line 257, in do_copyfile
    shutil.copyfile(from_file, to_file)
  File "/nix/store/zdh16dcvjw99ybam59zd2ijb6bx138j0-python3-3.7.5/lib/python3.7/shutil.py", line 121, in copyfile
    with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/nix/store/sqxcg0fssrc36kx8kfgmnrw52mkq4zb3-bash-completion-2.9/share/bash-completion/completions/dconf'
Installing service/dconf-service to /nix/store/0lmxp0r0973cg887pz2wnhgqipk6kpfw-dconf-0.34.0-lib/libexec
Installing gsettings/libdconfsettings.so to /nix/store/0lmxp0r0973cg887pz2wnhgqipk6kpfw-dconf-0.34.0-lib/lib/gio/modules
Installing client/libdconf.so.1.0.0 to /nix/store/0lmxp0r0973cg887pz2wnhgqipk6kpfw-dconf-0.34.0-lib/lib
Installing bin/dconf to /nix/store/clxwl76pphjw7d67f8f119r6ijyqj2kb-dconf-0.34.0/bin
Installing docs/dconf-service.1 to /nix/store/clxwl76pphjw7d67f8f119r6ijyqj2kb-dconf-0.34.0/share/man/man1
Installing docs/dconf.1 to /nix/store/clxwl76pphjw7d67f8f119r6ijyqj2kb-dconf-0.34.0/share/man/man1
Installing docs/dconf.7 to /nix/store/clxwl76pphjw7d67f8f119r6ijyqj2kb-dconf-0.34.0/share/man/man7
Installing /build/dconf-0.34.0/common/dconf-changeset.h to /nix/store/w14sl1abahj4msb5xrasrg7kpyip1xqw-dconf-0.34.0-dev/include/dconf/common
Installing /build/dconf-0.34.0/common/dconf-enums.h to /nix/store/w14sl1abahj4msb5xrasrg7kpyip1xqw-dconf-0.34.0-dev/include/dconf/common
Installing /build/dconf-0.34.0/common/dconf-paths.h to /nix/store/w14sl1abahj4msb5xrasrg7kpyip1xqw-dconf-0.34.0-dev/include/dconf/common
Installing /build/dconf-0.34.0/client/dconf.h to /nix/store/w14sl1abahj4msb5xrasrg7kpyip1xqw-dconf-0.34.0-dev/include/dconf
Installing /build/dconf-0.34.0/client/dconf-client.h to /nix/store/w14sl1abahj4msb5xrasrg7kpyip1xqw-dconf-0.34.0-dev/include/dconf/client
Installing /build/dconf-0.34.0/build/service/ca.desrt.dconf.service to /nix/store/clxwl76pphjw7d67f8f119r6ijyqj2kb-dconf-0.34.0/share/dbus-1/services
Installing /build/dconf-0.34.0/build/meson-private/dconf.pc to /nix/store/0lmxp0r0973cg887pz2wnhgqipk6kpfw-dconf-0.34.0-lib/lib/pkgconfig
Installing /build/dconf-0.34.0/client/dconf.vapi to /nix/store/clxwl76pphjw7d67f8f119r6ijyqj2kb-dconf-0.34.0/share/vala/vapi
Installing /build/dconf-0.34.0/client/dconf.deps to /nix/store/clxwl76pphjw7d67f8f119r6ijyqj2kb-dconf-0.34.0/share/vala/vapi
Installing /build/dconf-0.34.0/bin/completion/dconf to /nix/store/sqxcg0fssrc36kx8kfgmnrw52mkq4zb3-bash-completion-2.9/share/bash-completion/completions
FAILED: meson-install
/nix/store/8vaf7gf7ryzb2inm1zksncfchxc3w9kz-meson-0.51.2/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
builder for '/nix/store/3m79ll8z72w1zprgp9qcad2qvxyvb996-dconf-0.34.0.drv' failed with exit code 1
error: build of '/nix/store/3m79ll8z72w1zprgp9qcad2qvxyvb996-dconf-0.34.0.drv' failed

https://hydra.nixos.org/build/103951665
Note that bash-completions was updated in 12fd773ff058755237ebafe5f1c0bdd36f385eb6.
cc @jtojnar @jonringer
To Reproduce
Steps to reproduce the behavior:

checkout staging
nix-build -A gnome3.dconf

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: `gnome3.dconf`

Thanks for letting me know. Looks like bash-completion started hardcoding paths in the pkg-config file, so packages can no longer override the prefix in their build scripts:
--- /nix/store/a16siql5gxj5hcl763fn4krg1w4266px-bash-completion-2.8/share/pkgconfig/bash-completion.pc
+++ /nix/store/sqxcg0fssrc36kx8kfgmnrw52mkq4zb3-bash-completion-2.9/share/pkgconfig/bash-completion.pc
@@ -1,9 +1,9 @@
-prefix=/nix/store/a16siql5gxj5hcl763fn4krg1w4266px-bash-completion-2.8
-compatdir=${prefix}/etc/bash_completion.d
-completionsdir=${prefix}/share/bash-completion/completions
-helpersdir=${prefix}/share/bash-completion/helpers
+prefix=/nix/store/sqxcg0fssrc36kx8kfgmnrw52mkq4zb3-bash-completion-2.9
+compatdir=/nix/store/sqxcg0fssrc36kx8kfgmnrw52mkq4zb3-bash-completion-2.9/etc/bash_completion.d
+completionsdir=/nix/store/sqxcg0fssrc36kx8kfgmnrw52mkq4zb3-bash-completion-2.9/share/bash-completion/completions
+helpersdir=/nix/store/sqxcg0fssrc36kx8kfgmnrw52mkq4zb3-bash-completion-2.9/share/bash-completion/helpers

 Name: bash-completion
 Description: programmable completion for the bash shell
 URL: https://github.com/scop/bash-completion
-Version: 2.8
+Version: 2.9

We could use
PKG_CONFIG_BASH_COMPLETION_COMPLETIONSDIR= "${placeholder "out"}/share/bash-completion/completions";

in dconf package to bypass this but there will probably be many similarly broken packages.

Or we patch bash-completions to restore prefix? Potential fix https://github.com/scop/bash-completion/pull/344

Yeah, that might work too. Or reverting https://github.com/scop/bash-completion/commit/81ba2c7e7dfbaefbafa1e8615727c9612e5fb314.

061c6b8  is in staging-next, so closing.

I'm sorry to say that this MR doesn't fully fix the issue regarding pkg-config files. Previous and new versions generate a pkg-config file with absolute paths on it and this doesn't allow the use of the define-variable option present in pkg-config program.
To be able to do this, datadir and sysconfdir variables must be present in the .pc file, and compatdir, completionsdir and helpersdir be relative to this variables, so earlier variables can be redefined modifying the final destination of the latter variables. This approach is present in #344.

@inigomartinez I really am not the right person for the details, but if a change in the package does not allow us to build it anymore and does not seem to offer us what is needed, then we undo it.

@FRidh I'm sorry if I questioned this procedure. I also agree with you about undoing a change that makes you not to build it anymore.
What I meant to say is that there is a different approach which, in addition to solving the build problem, also solves another problem present in some gnome packages.

I think I actually tried your original PR and it did not work but I am not sure anymore. As soon as your change is merged upstream we will for sure notice on the next release.

Thanks for testing it. I tried it locally and it seems to be correct. This is how bash-completion.pc is generated in upstream:
prefix=/usr/local
compatdir=/usr/local/etc/bash_completion.d
completionsdir=/usr/local/share/bash-completion/completions
helpersdir=/usr/local/share/bash-completion/helpers

Name: bash-completion
Description: programmable completion for the bash shell
URL: https://github.com/scop/bash-completion
Version: 2.9

And this is the resulting file after the change:
prefix=/usr/local
datadir=/usr/local/share
sysconfdir=/usr/local/etc

compatdir=${sysconfdir}/bash_completion.d
completionsdir=${datadir}/bash-completion/completions
helpersdir=${datadir}/bash-completion/helpers

Name: bash-completion
Description: programmable completion for the bash shell
URL: https://github.com/scop/bash-completion
Version: 2.9

Thanks to this, anyone can override datadir and sysconfdir to avoid the installation on directories without write permission. (This can also be done overriding prefix that is present in the file, but that would hardcode the datadir and sysconfdir directories under prefix).
I hope I haven't overlooked something so, please feel free to make any suggestion.

@inigomartinez’s PR looks fine to me.
Here is a diff between bash-completion.pc built from https://github.com/scop/bash-completion/commit/aa5b46e245013bef9a30c34a7a226779320dc6ee and https://github.com/scop/bash-completion/commit/42837bc5df1c31aa2b79a9838d1b1c9c8d04d9f6:
--- /nix/store/agd6rdgrfjj93sjrwl6x5a7kg5ayzn16-bash-completion-2.9/share/pkgconfig/bash-completion.pc
+++ /home/jtojnar/Projects/nixpkgs/result/share/pkgconfig/bash-completion.pc
@@ -1,7 +1,10 @@
-prefix=/nix/store/agd6rdgrfjj93sjrwl6x5a7kg5ayzn16-bash-completion-2.9
-compatdir=${prefix}/etc/bash_completion.d
-completionsdir=${prefix}/share/bash-completion/completions
-helpersdir=${prefix}/share/bash-completion/helpers
+prefix=/nix/store/z5jbdz0g2ipjpajm1j6s08hf2wi7lg9n-bash-completion-2.9
+datadir=/nix/store/z5jbdz0g2ipjpajm1j6s08hf2wi7lg9n-bash-completion-2.9/share
+sysconfdir=/nix/store/z5jbdz0g2ipjpajm1j6s08hf2wi7lg9n-bash-completion-2.9/etc
+
+compatdir=${sysconfdir}/bash_completion.d
+completionsdir=${datadir}/bash-completion/completions
+helpersdir=${datadir}/bash-completion/helpers

 Name: bash-completion
 Description: programmable completion for the bash shell


Add new before_serialize_vars hook

hmm @philipstarkey I see, that's a valid concern.
So the reason I looked at this again was because of a report where we patch the original f_locals and actually potentially break user code. We should generally not be holding the original variable references for longer than necessary.
Further, the scrubber was meant to be a simpler before_send with a simple denylist so that people can remove some vars by name easily from the event payload.
I'm going to go ahead with merging this PR, but at the same time I will expose another before_serialize_vars (naming TBD) that you can hook into to do precisely what you want in a separate PR.
Originally posted by @sl0thentr0py in https://github.com/getsentry/sentry-python/issues/3409#issuecomment-2275529551

closing in favor of #3427


Disable failing BasicOperatortests.testVJPConcatentation.

Related to https://bugs.swift.org/browse/TF-698

@bgogul @dan-zheng I don't think it's a good idea to remove this test. It's quite simple and should be working. If the new toolchain results in incompatible shapes for some reason, we should probably find out why that happens. This kind of operation is common across many models and so existing code may break if this test fails.

@bgogul @dan-zheng I don't think it's a good idea to remove this test. It's quite simple and should be working. If the new toolchain results in incompatible shapes for some reason, we should probably find out why that happens. This kind of operation is common across many models and so existing code may break if this test fails.

I'm investigating the failure now. I haven't narrowed down the cause yet; once I do, I'll revert the apple/swift PR that introduced the breakage if an immediate fix isn't obvious.

That's great. Thanks Dan!

Fixed derivatives of Tensor.concatenated(with:) and Tensor.++ in https://github.com/apple/swift/pull/26448.


Identify variants from the cli/os-release file

Is your feature request related to a problem? Please describe.
Currently variants are not identified in os-release file, and from the cli
Describe the solution you'd like
cli when calling for ugprades should be aware of the variant and the repo to use for it, similary the os-release file should contain information about the variant (light/core)
Describe alternatives you've considered

Additional context

This was took care of as part of https://github.com/c3os-io/c3os/commit/90a6d8b704668e5f278ef16b10610d9bae5f8a15


feat: Hoodie default UI

closes hoodiehq/camp#8

I'm not sure if that implements the feature correctly, or if server/plugins/public.js was the place to check for the existence of the /public folder.

sorry @thepudding for not getting back to you, we let you down :( as described in https://github.com/hoodiehq/camp/issues/8#issuecomment-307618380 it’s best we close this for now and reach out to you once we have a new issue prepared with better instructions, if you are still interested to look into it?


Mouse cursor disappears when using specific apps like notes in remote session

Hi,
Been struggling with this for a while now - mouse cursor would disappear when going over options in databases etc. Seems that the cursor disappears when it's supposed to change to a small hand. Issue exists on the latest commit as well but not in remmina.
Attaching photos as screenshots do not show the cursor.... - is that something that can be checked ? I can do any testing if required.
Explanation of pics :
1 - normal pointer on freerdp when not hovering over any of the options
2 - when hovering over any of the options in freerdp pointer disappears.
3 - normal pointer on remmina when not hovering over any of the options
4 - when hovering over any of the options in remmina pointer changes to a small hand.
Both connections are done to the same server / virtual machine. End machine is a Windows 7 one.
System am on : Fedora 22
Kernel : 4.0.4-303.fc22.x86_64

@endriu0 could you try to recompile with -DWITH_DEBUG_RAIL=ON and send the output.

Ok will try it tomorrow.  Thanks
On 9 Jun 2015 23:07, "Hardening"<EMAIL_ADDRESS>wrote:

@endriu0 https://github.com/endriu0 could you try to recompile with
-DWITH_DEBUG_RAIL=ON and send the output.
—
Reply to this email directly or view it on GitHub
https://github.com/FreeRDP/FreeRDP/issues/2679#issuecomment-110519124.

Hi, checked now - after loading newest master and compiling with the above option here's the output :
[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /usr/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.8.1
[09:44:05:916] [27731:27734] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpdr
[09:44:05:916] [27731:27734] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpsnd
[09:44:05:916] [27731:27734] [INFO][com.freerdp.client.common.cmdline] - loading channel cliprdr
[proxychains] Random chain  ...  xxx...  xxxx  ...  OK
[09:44:06:975] [27731:27735] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive (static)
[09:44:27:588] [27731:27735] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: X (type=8 id=1)
[09:45:24:432] [27731:27734] [ERROR][com.freerdp.color] - failed to convert from 16 bpp to 32 bpp
[09:45:26:611] [27731:27734] [ERROR][com.freerdp.color] - failed to convert from 16 bpp to 32 bpp
The 2 messages about converting appeared the moment I tried to click into any of the options as per above screenshots and the pointer disappeared.

@endriu0 ok I see the problem, conversion for 16bpp cursor is not implemented.
@nfedera I know you are our local expert for cursors conversion, it would be so nice if you could implement it.

@hardening re WITH_DEBUG_RAIL ? This problem is not specific to rail - right ?
@endriu0 Which program/software can be installed to reproduce the issue ?

Seen this issue mainly in Lotus Notes 9 but will check other apps as well
tomorrow and give you a list.
On Wed, 10 Jun 2015 23:16 Norbert Federa<EMAIL_ADDRESS>wrote:

@hardening https://github.com/hardening re WITH_DEBUG_RAIL ? This
problem is not specific to rail - right ?
@endriu0 https://github.com/endriu0 Which program/software can be
installed to reproduce the issue ?
—
Reply to this email directly or view it on GitHub
https://github.com/FreeRDP/FreeRDP/issues/2679#issuecomment-110934144.

@nfedera sorry double checked today and can only see the issue in Lotus Notes 8.5.2 and 8.5.3. All the other apps I tried seem to work ok and sometimes also seen the issue when using mstsc from my windows host to another one before.
I will keep trying other apps just to see is there anything else that you can update.

@nfedera yep you're right, it has nothing RAIL specific

Just saw that we do already have an existing issue #2460 for this

PR now Merged - issue solved. Closing.


Make builds fail on clippy warnings

We removed this earlier because we were impatient with it, but it has resulted in a LOT of clippy warnings being introduced into our codebase.
This will require some clippy ignores (looking at you #824) and that we address the warnings that have been introduced.

we actually did this one!


UwU distance

Instance: The Weapon's Refrain (Ultimate)
Boss Name: Garuda
BNpc ID: 1644
distance: 14y

Added, thanks!


[WIP][SPARK-47556] Add unique hash to Application ID

What changes were proposed in this pull request?
Add Unique hash to application ID, so that if multiple Spark application launch at the same time, they don't collide.
Why are the changes needed?
Fixing https://issues.apache.org/jira/browse/SPARK-47556
Does this PR introduce any user-facing change?
No
How was this patch tested?
Tested by launching Spark Application
Was this patch authored or co-authored using generative AI tooling?
No

The JIRA issue is closed as a duplicate of SPARK-36014 .


Linux sudo authentication step isn't recognizing SSH key method

Running the step to install CloudEndure agent on servers using command "python 1-CEAgentInstall.py --Waveid 1"
At the following step, when user enters capital Y instead of small Y, its not recognizing SSH key based authentication, instead it is trying password based.
At line # 312, _has_key should check for both Y and y.
            status = linuxpkg.install_cloud_endure(server['server_fqdn'], user_name,
                                                 pass_key,
                                          **_has_key in 'y'_**, project['InstallToken'])

Error Log:

Enter Linux Sudo username and password *

Linux Username: ec2-user
If you use a private key to login, press [Y] or if use password press [N]: y
Private Key file name: cedr.pem

Installing CloudEndure for:  ec2-xxxxx.compute-1.amazonaws.com -

Unable to connect to host ec2-xxxx.compute-1.amazonaws.com with username ec2-user due to Bad authentication type; allowed types: ['publickey', 'gssapi-keyex', 'gssapi-with-mic']

resolved in the new release


Autoload Prettier plugins

According to Prettier's documentation, plugins are autoloaded.

Plugins are automatically loaded if you have them installed in the same node_modules directory where prettier is located. Plugin package names must start with @prettier/plugin- or prettier-plugin- or @/prettier-plugin- to be registered.

However Knip's Prettier plugin only marks plugins mentioned in a configuration files as used.
This leads to false positives where you, because of an existing plugin, expect none.

I fail to see how use all packages listed under plugins in config file or under prettier.plugins in manifest is less specific than use all packages starting with @prettier/plugin- or prettier-plugin- or @/prettier-plugin-. Both are specific to Prettier and that's the whole point of the plugin.
But if you insist on keeping it this way, you should add a clear description of this issue. When using a plugin you expect it to be fully compatible, and not that you need to manually verify everything it has done.

It's not about how specific the rules are, they are clear. It's about the fact that this plugin would have to introduce a new concept of doing lookups on the file system by itself to find such dependencies.
It's not rocket science, but Knip already has a lot of concepts to wire together, that's why this currently has low priority in this project.
I think I was a bit too deep into a major refactoring the other day and added the "wontfix" label too quickly, sorry about that. Probably more tooling out there use similar auto-loading mechanics so let's at least keep this ticket open and see what happens.

Prettier v3 has removed auto-loading of plugins, so we can close this issue as well.


always shows "doing other things"!

THanks for the model, i downloaded and tested it on my notebook (4 core cpu) using the command
python run_gesture_recognition.py
But the video always shows the result "doing other things" , i made many gestures such as "thumb up,nodding"
the output prints "*** Frame skipped ***"
Is it means the fps 16 is too high?

Hi! Yes, these "*** Frame skipped ***" messages indicates that the inference engine can't keep up with the amount of frames to process and ends up throwing away some of them. This will affect the recognition accuracy.

THanks for the model, i downloaded and tested it on my notebook (4 core cpu) using the command python run_gesture_recognition.py
But the video always shows the result "doing other things" , i made many gestures such as "thumb up,nodding" the output prints "*** Frame skipped ***" Is it means the fps 16 is too high?

Hello, could you share the downloaded model?


Feature/update readme

Updated readme to include:
New env var names.
updated links to live and develop tool
verified steps to start application
added confluence links

Your review app has been deployed and is available at 'http://<IP_ADDRESS>:80'.Learn More about how to test and provide feedback for the app.

Your review app has been deployed and is available at 'http://<IP_ADDRESS>:80'.Learn More about how to test and provide feedback for the app.