link to older archives if present

I just had a thought that it would actually be really great if we had the history of older manpages from unsupported suites. For example, I was just looking for the manpage of dpkg-buildpackage for wheezy and it wasn't linked here:
https://manpages.debian.org/jessie/dpkg-dev/dpkg-buildpackage.1.en.html
yet it actually exists there:
https://manpages.debian.org/wheezy/dpkg-dev/dpkg-buildpackage.1.en.html
So I'd ask for two things, if I can:

do link against oldoldstable if the suite is present
more ambitiously: extract manpages for all available suites, possibly even going back to the snapshots

This would neatly fix the concerns with the "stability" of codenamed suites (expressed in #54): we just keep those forever, basically. From what I understand, the disk space usage isn't that critical that we should keep from doing this.

I think we could process oldstable and oldoldstable (but possibly we need more RAM on manziarly for that). I can test this on my machine to see how much the RAM footprint increases.
I think processing manpages for all Debian releases is overwhelming, both in terms of significantly growing the resource requirements, and in terms of overloading the UI with a large list of releases.

In our current setup, we use about 1G of resident set size.
With oldoldstable added, we use about 1.5G of resident set size.
Looking at manziarly, we’re already swapping during regular operation: https://munin.debian.org/debian.org/manziarly.debian.org/index.html#system
So, I see a couple of options:

We just enable oldoldstable, prolonging the time during which manziarly serves slow redirects because it’s heavily swapping. I’d like to avoid this option.
We ask DSA to increase the RAM on manziarly from 2G to 4G to eliminate swapping and have enough capacity for also processing oldoldstable. This is the simplest option, if we have the resources.
We try to reduce debiman’s memory usage.

i'd love to see 2 and 3 happen... :) it seems fairly straightforward to profile memory usage in go but i haven't played with that, personally.
i also wonder if we couldn't rely on archived suites not changing. for example, we could have links to the squeeze suite now and generate those manpages once without having to reparse the whole suite at every run. we just need to keep links for the relevant manpages... same probably applies to wheezy: it's unlikely that we have manpages changes in LTS...
wouldn't that approach save some resources? or it's too much of a design change?

You’re right regarding the content of the manpages, and rendering is indeed skipped already. Checking whether manpages need to be rendered only takes on the order of a few seconds for the entire corpus, so this is not worth optimizing.
Note, however, that the navigation panel on the manpages of all versions needs to be updated whenever any version changes. E.g., if a package gets removed from testing, it shouldn’t appear in the oldoldstable version’s navigation panel. Hence, we need to process all pages.


Added Go beavs

Alterations:

Added a testing directory in /mcdc/
started some unit test utilities
altered the read me

you accidentally added the cache you silly goose

actually real commit that we need to commit:

added testing directory
some updates to  the readme (added some banners)
added something to the gitignor


Search links in facet values don't contain the configuration

Describe the bug
If you retrieve facet values for a discovery search with a particular configuration, the search links for those values don't contain that configuration. As a consequence if the UI uses that link to update the search results, the results will no longer match the configuration, or REST may throw an exception if that facet doesn't work for the default configuration
To Reproduce
Steps to reproduce the behavior:

Sign in to the hal browser as an admin
Retrieve the discoverable facet with the administrativeView configuration: https://dspace7.4science.cloud/server/#/server/api/discover/facets/discoverable?page=0&size=10&sort=score,DESC&page=0&size=10&configuration=administrativeView
Take a look at the search links for the returned values, they don't contain the configuration
If you follow a search link you'll get an exception because the discoverable filter isn't configured for the default configuration

Expected behavior
The search links should contain all paramaters from the original request that affect the search results. Note that configuration may not be the only one that is needed. It's just the one I noticed was missing.
Related work
This came up during the work on https://github.com/DSpace/dspace-angular/issues/915

The same issue exists for the self links of the results on the /discover/facets endpoint:
If you retrieve the facets for configuration=person, the self links of the results won't contain the configuration, and therefore won't work.

@abollini & @Micheleboychuk : This is also loosely similar to #3050 (though it's a different param than pagination). Again, would one of you be able to provide an estimate for this?  It seems like something we should resolve in Beta 5.

I tested this again today, because the similar issue #3052 was fixed by deploying #3030 on the demo server. But the issues reported here still remain.

It is hard to estimate this task without going really deeper up to his resolution. Unfortunately the Discovery endpoints have followed a very custom approach outside the normal approach of REST resource/repository.
Looking to the sample provided here I see that the configuration is also missing in the json properties of the response and this seems to be common to all the discovery endpoints.
My best guess for this task is between 4-12 hours, we can work on that if you wish and we can provide an updated estimation after the first 4 hours

@abollini : Apologies for not getting back on this.  Yes, that sounds fine to provide an updated estimate after the first 4 hours of work.  For now, I'll add a 8hr estimate (median), and assign this to you for your team to work on.  Thanks!


Use KIND=Swift to kustomize the service spec

Along with PR[1] it would set the correct storage class.
[1] https://github.com/openstack-k8s-operators/swift-operator/pull/5

recheck

recheck


GLSLShaderToSPIRVGenerator::get_spirv_blob throws std::out_of_range exception if shader compilation or linking failed

According to the description of get_shader_info_log and get_program_info_log, you should be able to call get_spirv_blob and check if its return value is nullptr to find out whether there was a problem during compilation or linking.
However looking at the definition of get_spirv_blob, it looks like it can never return nullptr and will throw an exception instead (or an assertion failure in debug mode):
const char* get_spirv_blob() const
{
    if (m_spirv_blob.size() == 0)
    {
        bool result = bake_spirv_blob();

        ANVIL_REDUNDANT_VARIABLE(result);

        anvil_assert(result);
        anvil_assert(m_spirv_blob.size() != 0);
    }

    return &m_spirv_blob.at(0);
}

As far as I can tell, there's no way to actually check if an error has occurred at the moment, even get_spirv_blob_size would cause an assertion failure.

This is a fair observation. I will be addressing this later next week. Also hoping I'll finally get around to posting an update next week, too!

Addressed internally.


355 filtering adopter applications

🔗 Issue
resolves#355
✍ Description
Allow staff to filter adopter applications by pet name, applicant name, and application status.
📷 Screenshots/Demos
https://github.com/phonghpham/pet-rescue/assets/9318603/9644ff4f-a82f-4e95-9ddd-46bb8450df46

This looks great! Unless someone beats me to it, I will review this later this week.

I played around and the search looks good.
Can we add the Pet name in place of the word 'Applications' on each card displaying applications?

Also, is this happening for you? If I go to a pet, none of the tabs are rendering. Have you merged main branch in? I don't think I see it in your commits. That might fix it. There should be partials rendered here for each tab...none rendering.

@kasugaijin, you're right, after I rebased off main and made a tweak all tabs are now rendering in pet show view. Tests passing locally and updated Applications to reflect pet name.


Implement routing to auction page

What

CHECKS :warning:
Please make sure you are aware of the following.

[x] **The changes in this PR doesn't have private information

LGTM!


Import Solution not deleting objects

Hi,
Apologies if this has been raised/answered before, I'm not sure if it is actually an issue or not.
I am trying to build a pipeline to update my solutions in environments once the development solution has been updated.
I have this working totally fine for any additions/updates to objects within solutions.  However, I have deleted a table/entity within my solution and when I perform the import into the next environment for that solution, the deleted object remains present.
Does anyone know why this is or how I can ensure that deleted objects are reflected in the next environments?  I am importing a managed solution, and have ticked the options for enabling plug-ins, overwriting customisations and importing as managed, and have a separate step to publish customisations as well.
Thanks in advance.

Closing as I have worked out the issue, apologies for this.


Mica on Windows 11 22621.1992 does not work with certain desktop wallpaper

Describe the bug
I have a triple monitor Windows 11 system. I was initially thinking this was related to my GPUs, but cycling the desktop wallpaper between my monitors can cause the issue to move from monitor to monitor.
Specifically, when the the window is not focused on some wallpapers, there is no blurring of the background whatsoever (see the attached screenshot). When the window is focused, I see strange artifacts like solid blocks underneath some elements in spots, partially blurred segments and ghosted text. When I drag the window, the Mica zone flickers and flashes the wallpaper through the window. Windows dragged over the area occasionally leave artifacts about 100 pixels below the window being dragged. Taking a screenshot with the Windows Snipping tool yield the transparency issue. Using Print Screen renders the window as I would expect, so I took a photo with my phone (sorry for the quality).
I've double checked that I'm up-to-date on my drivers (Intel and nVidia). As a note, AcrylicBlur seems to work perfectly on everything. Since it appears to be wallpaper related, I'm not sure what I can add to that, other than provide copies of some of the wallpapers I'm using. Interestingly, this works perfectly on some wallpapers. Two of my monitors are connected to the Intel GPU and the third is connected to an nVidia T1200. I had initially thought it was the T1200, but when I changed wallpapers on that monitor, the issue disappeared. That same wallpaper displayed on a different monitor exhibited the same issue. Since Mica samples the desktop wallpaper and doesn't just blur, I can kind of understand why it's reliant on the wallpaper, but I don't understand why some wallpapers cause the issue. As an FYI, I use a combination of HD and 4k wallpapers, which are primarily nature photos.
To Reproduce

Create a new Avalonia app with Avalonia 11.0.0
Set the transparency hint to Mica, AcrylicBlur, Blur on the main window
Create the recommended  with an embedded ExperimentalAcrylicBorder embedded in it (using code from here

Expected behavior
I'd like the Mica to render properly on Windows 11 devices.
Screenshots
Unfocused window

Focused window immediately after being dragged

Both screenshots are running the same executable (with the transparency hint set to Mica,AcrylicBlur,Blue), just moved between monitors
Desktop (please complete the following information):
HP zBook Studio 15.6
11th Gen Intel i7-11850H
32GB RAM
1TB NVME
Builtin monitor: 1920x1080, 100% scaling (Intel GPU), 60.16Hz
External monitor 1: (my primary) is 1920x1200, 100% scaling (Intel GPU), 59.95Hz
External monitor 2: 1920x1080, 100% scaling (nVidia T1200 GPU), 60Hz

OS: [e.g. Windows, Mac, Linux (State distribution)]
Windows 11 Pro 22621.1992 x64
.Net 7

Additional context
As mentioned above, AcrylicBlur works perfectly on this machine. It's just the Mica that's failing

Specifically, when the the window is not focused on some wallpapers, there is no blurring of the background whatsoever

It sounds like typical behavior for acrylic in UWP apps. And expected there. Not for Mica though.
Do you have the same issue with WinUI or UWP apps that use Mica?

I'm about to upgrade to 11.1. Has this been addressed in that build?

@chmckay give it a try sure. But the issue is open and has the help wanted tag, so likely not fixed. If you have an idea how to do, a PR is welcome 🤗


Spike: Plugins and ingress.class

Users have run into issues with plugins when using a custom Ingress class.
If plugins don't have the ingress.class annotation, then updating them doesn't trigger an update of configuration in Kong.
Figure out the how should KongPlugin and KongClusterPlugin resources interact with ingress.class annotation and document the decision here, and create additional issues to do the work if needed.

I expanded the scope of this issue and wrote up a document on how to fix this for all resources:
https://docs.google.com/document/d/1qMwurrFiOMoy2EK569y6qY-9cLGKJrkTfloqNyp_J6o/edit?usp=sharing
Comments/suggestions are welcome.

Closing this issue as the spike is complete and the issues to track implementation have been created.


ci: try using nextest in release mode

Motivations:

Property tests mean we spend a lot of time running code as well as compiling it, so optimizing it makes tests shorter overall.
Cargo check isn't doing a lot of lifting here, since all the work it does is duplicated as part of a build, and it will error early if there's a problem.  Because of caching, it shouldn't be spending much time rebuilding dependencies anyways.
Using nextest https://nexte.st/index.html should make test runs faster via parallelism.

It seems like this gives a reasonable speedup:


add carbon udp support

Not sure if this is needed at all, will close for now.

Needed

Hi @emanuelis,
Can you explain what motivates the need in your opinion?
In any case this will be pushed to a later release.
Cheers!

Thousands of monitored hosts via mobile/slow internet having very limited resources.

@emanuelis Thanks, I'm happy to reconsider this choice. I will make the necessary changes to finish up the first release and will integrate this in the next one.

+1 for this  :)


Can I modify the header?

Can I use e.HttpClient.Request.Headers in onRequest to modify the submitted header?

Yes.

Do you need help? Header modification is easy, jsut use intellisense, and you will se the Add/Remove methods.
May I clsoe this issue?

The question was answered, so I close this issue.


Run a transaction

compiling the smart contract:
https://github.com/aleeusgr/potential-robot/blob/9f314351ccf56d3b0ff5ebdf915c1a37f74bb741/tests/mint-onchain-positive.test.js#L58-L64


Java: Add logging-external-types

This LGTM but @garrettjonesgoogle should give the "real" review; I'm not very familiar with the expected structure of the Java package.
Also, could you add "Updates googleapis/googleapis#187" to the descriptions of your PRs? It adds context and will make it easier to cross reference them in the future.

I'm going to have @michaelbausor review in my stead

It looks like we need to include appengine.proto in the gapic yaml (https://github.com/googleapis/googleapis/blob/master/gapic/core/artman_logging_external_types.yaml#L12), since audit_data.proto depends on it for the UpdateServiceRequest (and possibly more, I only investigated that far)

If we follow the dependencies, we need to include the whole google/appengine/v1 path.


Develop a build / release process

We need a documented / semi-automated process that details the following:

When a release is made, we need to update version numbers everywhere they appear (package.json, fc.js, website)
When releasing, we need to ensure that the dist folder contains the built code, and that the website also uses this same code.
The repo needs to be tagged
Build the components JSDocs (as per #136) and add to the website
(optionally) create a github release

Done


netflix not working

Hi,
I have tried netflix-proxy with a server in US and it shows that I'm using an unblocker, I know, nothing new here, but If I use openvpn or squid in the same server I can use netflix without issues... any pointer?
Thanks!

Have a look in your browser dev. tools console as your start the stream. You'll see what addresses your browser is resolving various endpoints to.

I will test this weekend and provide some screenshots

Screenshots aren't particularly useful I am afraid, just compare between a VPN session and proxy to see what the differences are.

got it, I will do as suggested and update, thanks @ab77

It seems the issue is when trying to open the websocket with https://push.prod.netflix.com/ws
Firefox can’t establish a connection to the server at wss://push.prod.netflix.com/ws.
With the VPN I don't receive that error and streaming is ok

WebSockets won't work through a transparent proxy like this. If this is the issue, you can try excluding the hostname from the config.

I did what you suggested without luck, also tried forcing all domains with same results.
Prime video works flawlessly.
As mentioned before with squid or openvpn works ok, so that makes me wonder what is the real issue.
I have tested the same script on other server (from my US office) and it works, so the issue is not related to netflix-proxy.
@ab77 Any chance I can contact you privately?

@digital-nexus sure, are you on the black.box MailChimp list(s)? If so, just reply to the last email.

same error here since 2 weeks.


Insert information about game values

Taso please, add these values below the 3d editor to be seen by the users.
Average wind speed:
Mountains = 10 m/s
Fields = 8,5 m/s
seashore = 7,5 m/s
Access cost:
Mountains = 3 $
Fields = 2  $
Seashore = 1 $
Turbine Types:
Mountains ( Wind class I ) = A, B, C
Fields ( Wind class II ) = D, E, F
seashore ( Wind class III ) = G, H, I

letters of turbines corresponds to the Turbine type

Panagioti write also what A, B, C, D, E, F, G, H, I correspond to.

Check the values and tell me if there is any other information needed


Cannot install Mongoose on Windows

C:\Users\Alin\Desktop\node_test\general>npm install mongoose

<EMAIL_ADDRESS>install C:\Users\Alin\Desktop\node_test\general\node_modules
mongoose\node_modules\mongodb
bash ./install.sh

'bash' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! error installing<EMAIL_ADDRESS>Error<EMAIL_ADDRESS>install: bas h ./install.sh
npm ERR! error installing<EMAIL_ADDRESS>cmd "/c" "bash ./install.sh" failed
with 1
npm ERR! error installing<EMAIL_ADDRESS>   at ChildProcess. (C:\P
rogram Files (x86)\nodejs\node_modules\npm\lib\utils\exec.js:49:20)
npm ERR! error installing<EMAIL_ADDRESS>   at ChildProcess.emit (events.js:7
0:17)
npm ERR! error installing<EMAIL_ADDRESS>   at maybeExit (child_process.js:35
9:16)
npm ERR! error installing<EMAIL_ADDRESS>   at Process.onexit (child_process.
js:395:5)
npm ERR! error installing<EMAIL_ADDRESS>Error<EMAIL_ADDRESS>install: bash  ./install.sh
npm ERR! error installing<EMAIL_ADDRESS>cmd "/c" "bash ./install.sh" failed
with 1
npm ERR! error installing<EMAIL_ADDRESS>   at ChildProcess. (C:\Pr
ogram Files (x86)\nodejs\node_modules\npm\lib\utils\exec.js:49:20)
npm ERR! error installing<EMAIL_ADDRESS>   at ChildProcess.emit (events.js:70
:17)
npm ERR! error installing<EMAIL_ADDRESS>   at maybeExit (child_process.js:359
:16)
npm ERR! error installing<EMAIL_ADDRESS>   at Process.onexit (child_process.j
s:395:5)
npm ERR<EMAIL_ADDRESS>install: bash ./install.sh
npm ERR! cmd "/c" "bash ./install.sh" failed with 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is most likely a problem with the mongodb package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     bash ./install.sh
npm ERR! You can get their info via:
npm ERR!     npm owner ls mongodb
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files (x86)\nodejs\\node.exe" "C:\Program File
s (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "mongoose"
npm ERR! cwd C:\Users\Alin\Desktop\node_test\general
npm ERR! node -v v0.6.2
npm ERR! npm -v 1.1.0-alpha-2

this is due to the version of the node-mongodb-native driver we're on. i spoke with christkv this morning, he stated the latest is working well. the next release of mongoose will include the latest mongodb driver.

just released 2.4.0 with the latest driver.


[sbt 0.13] Unify sbt shell towards build.sbt DSL syntax

Fixes sbt/sbt#1812
This is take 2 of https://github.com/sbt/sbt/pull/3255, incorporating suggestions by @sjrd and @jvican.
sbt shell now accepts the build.sbt DSL notation for the scoped keys. Instead of the current <project-id>/config:intask::key, the shell adds key in (<project-id>, <config-ident>, intask) where <config-ident> is the Scala identifier notation for the configurations like Compile and Test. (The old shell syntax will continue to function)
Examples
These examples will work both from the shell and in build.sbt.
cancelable in Global
scalaVersion.in(ThisBuild)
test in Test
scalacOptions in (root, Compile, compile)
name in (Zero, Compile)
(run in Runtime)

The inspect command now outputs something that can be copy-pasted:
> inspect compile
[info] Task: sbt.inc.Analysis
[info] Description:
[info]  Compiles sources.
[info] Provided by:
[info]  compile in (root, Compile)
[info] Defined at:
[info]  (sbt.Defaults) Defaults.scala:326
[info] Dependencies:
[info]  manipulateBytecode in (root, Compile)
[info]  incCompileSetup in (root, Compile)
[info] Reverse dependencies:
[info]  printWarnings in (root, Compile)
[info]  products in (root, Compile)
[info]  discoveredSbtPlugins in (root, Compile)
[info]  discoveredMainClasses in (root, Compile)
[info] Delegates:
[info]  compile in (root, Compile)
[info]  compile in root
[info]  compile in (ThisBuild, Compile)
[info]  compile in ThisBuild
[info]  compile in (Zero, Compile)
[info]  compile in Global
[info] Related:
[info]  compile in (zincFoo, Test)
[info]  compile in (zincFoo, Compile)
[info]  compile in (root, Test)

If for some reason, you have to pass in Runtime or other valid expression to an input task or a command, you can disambiguate using parenthesis:
> run in Runtime Universe
[info] Running example.Hello Universe
[success] Total time: 0 s, completed Jun 11, 2017 6:36:07 PM
> (run) in Runtime Universe
[info] Running example.Hello in Runtime Universe
[success] Total time: 0 s, completed Jun 11, 2017 6:36:09 PM

notes
See the thread on contributors.scala-lang.org on this topic.

Closing this in favor of sbt-slash and https://github.com/sbt/sbt/pull/3434.


Page break calculations fixes + markdown section oveflow bounds

using column based page break to determine required page break and widget's offset in the layout dynamically, thus avoiding stacked widgets causing incorrect heights.
removed isAutoHeightLayout flag no longer needed.
added default page dimensions for debugging or when missing from api.

Tested with old reports, widgets layout, and investigation layout.

@Bars92 can we merge ?


deadCodeInjection: true causes error SyntaxError: function statement not allowed

When deadCodeInjection enabled:
if (_0x5abbc0[_0x58af('0x18a', 'Mg$V')](_0x5abbc0[_0x58af('0x18b', 'TB25')], _0x5abbc0[_0x58af('0x18c', 'gyn0')])) {
                throw new TypeError(_0x4c3a6f[_0x58af('0x18d', '3dd^')]);
            } else {
----->       function _0x556570(_0x2b416c, _0x3ba7ab, _0x5148c6) {
                    var _0x2b0d32 = _0x4c3a6f[_0x58af('0x18e', 'WFsi')][_0x58af('0x18f', 'VjCx')]('|');
                    var _0x21f712 = 0x0;
                    while (!![]) {
                        switch (_0x2b0d32[_0x21f712++]) {

I think that it is caused by 'use strict' statement

I'm not expert in JavaScript specification, but is some environments it is denied to declare functions in if statements because of unpredictability.
Source: https://stackoverflow.com/a/10069457/5698975
I suggest to replace function definition to function expression:
var _0x57bb6a = function() {
  if (_0xb20c('0x16') !== 'lNWiR') {
    // function _0x57bb6a() {
    let _0x57bb6a = function _0x57bb6a() {
      if (_0xb20c('0x17') === 'ysUSS') {
        return _0x57bb6a;
      } else {
        _0x31953f(this, _0x57bb6a);
      }
    };
    // ...
  }
};

https://github.com/javascript-obfuscator/javascript-obfuscator/pull/655
Collected block statements with FunctionDeclaration nodes will be ignored.

Merged. Will be released soon

Released as 1.3.0


Update language in docs for animation player & debugging

As I use Flax I'd like to contribute to the documentation. These are items that were unclear to me so I've attempted to add clarifying language.

Thanks!


Allow setting custom RGB value for sleep mode

Closes

https://github.com/basnijholt/adaptive-lighting/issues/31
https://github.com/basnijholt/adaptive-lighting/issues/74 (kind of)
#36
https://github.com/basnijholt/adaptive-lighting/issues/135

Cool

Thanks a lot man!


transmission: pin to openssl_1_1

Description of changes
The PR pins openssl in transmission to openssl_1_1 as otherwise transmission segfaults almost immediately after start (upon trying to establish an encrypted connection).
1
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg eval

Is this a Transmission or OpenSSL bug?

Neither, it is an interaction bug. RC4 is opt-in in OpenSSL 3.0 but Transmission assumes it is enabled by default.

Confirmed this workaround works on my machine.

The fix is a year old, and it seems rather unclear to me when the release might happen, at a quick glance :-/


f:new throw a SyntaxError

My envs:

node -v: v5.5.0
stdlib.com version: v0.1.3

Error log:
$ stdlib f:new
/usr/local/lib/node_modules/stdlib.com/index.js:4
let host = 'f.stdlib.com';
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:387:25)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/stdlib.com/cli/commands/f.js:6:16)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)

The same issue:
Node v4.2.6
stdlib v0.1.3

might need to scour some packages to fix this, will look into it, other packages I've developed have been Node 6+ as well. :)


Custodian #1155 elb alb logging filters actions

Two logging related filters: is-logging and is-not-logging  as well as two actions: enable-s3-logging and disable-s3-logging for ELBs and AppELBS.

looks like a docstring error in alb.py re failure in travis

rather enable / disable .. strong preference is to have set-logging with an enable/disable capbility .. ie a single idempotent  orthogonal action rather than increasing the vocabulary with action per state.

refactored heavily per my review comments


feat: Add artifact repo configuration

Add configuration for artifact repository
Right now, the foundry github action always download artifacts from the official github repository. This change will allow users to use a repository of choice - e.g. via jfrog artifactory.
The change consists of the addition of an optional configuration that defaults to https://github.com and should not require any config changes from existing users.

Hi @frank-lim-partior, thanks for your PR and apologies for the late response
Could you expand on your use-case? Generally not opposed to the change


policy helm chart initial seed

This is the initial revision of  Helm chart that deploys Kyverno policies useful in multi-tenant environments.
Signed-off-by: Kristof Imre Szabo<EMAIL_ADDRESS>

@krisek thanks for this PR, however kyverno/policies is really intended for "loose" policies and not Helm charts. I haven't looked at everything, but are these taken from the existing policy samples or are some net new?
@realshuting your thoughts on how/if we can accept this?

The code is partially

'remix' of policies already in the repo (with enhancements like implementing parameters),
completely new policies which I thought might be useful (namespace generation, certificate lifetime, etc.) and
copy of policies in the repo (I think this are only the network related ones)

On Helm or not Helm I cannot make a statement; in my use case we need to deploy parametrized policies on quite a few clusters, so I have barely other option than Helm.

Hi @krisek - thanks for the PR!
@chipzoller - Kristof is willing to open source their Helm Chart that leverages Kyverno policies to build multitenant Kubernetes clusters, see repo https://github.com/szabo-kristof/multitenant-kyverno-rules.
Should we create a dedicated folder to add this Helm Chart or create a separate repo under the Kyveron organization?
cc @JimBugwadia

just to avoid any confusion: that account belongs to me as well, and the content of this PR and that repo is the same

The policy I'm seeing that would be good to come out of this is the certificate expiry check. But given that you've created a highly-specific set of curated policies for your operation (which is very nice!), I think we need to keep things a little more generic and loose and just support standalone policies as of now, because the website  is not set up to process anything else currently.

My suggestion here is that we close this PR but would ask you to submit a new one just containing the certificate expiry policy which is not templated for Helm.

Thanks for sharing your thoughts @chipzoller !
@krisek - following up on the disucssion we had in the last Contributor meeting, also suggested by @JimBugwadia, we can:

Submit a separate PR to add these policies that are missing in our samples:

cert-manager-limit-dnsnames.yaml
certificate-expiry-max-100days.yaml
generate-default-access.yaml
generate-default-requests-limits.yaml

Add a section in the resources called "More Sample Policies" and there we can add a link to your repository and a description. We can also add links to the Flux2 policies, OpenEBS policies, etc.

If you are interested, we'd like to invite you to come and present / demo your policies in the next community meeting, it will be on Wednesday, October 20⋅9:00 – 10:00am PT.

What do you think?

Agreed, thanks for the feedback, I'll take care about the new PR, happy to showcase the rules.


Need for user_data field in io_uring_prep_* functions

I'm able to submit multiple requests and have multiple requests in flight.
CQEs are reaped without a specific ordering. I need to identify which SQE an equivalent CQE corresponds to. But this is not possible as all io_uring_prep_* functions set the user_data field to null (0). the user_data field is needed for this CQE to SQE matching (as described here: https://man.archlinux.org/man/io_uring.7.en)

On Fri, Mar 18, 2022 at 5:41 PM Basit Ayantunde wrote:

I'm able to submit multiple requests and have multiple requests in
flight. CQEs are reaped without a specific ordering. I need to identify
which SQE an equivalent CQE corresponds to. But this is not possible as
all io_uring_prep_* functions set the user_data field to null (0). the
user_data field is needed for this CQE to SQE matching (as described
here: https://man.archlinux.org/man/io_uring.7.en)

If you need user_data, use io_uring_sqe_set_data() or set it directly
via sqe->user_data. For older liburing versions, the user_data should
be set after prep.
Since commit 8ecd3fd959634d ("Don't clear sqe->user_data as part of
command prep"), the io_uring_prep_* functions no longer set the
user_data to NULL.
-- Viro

As mentioned, newer liburing doesn't do that anymore. For older ones, you just have to ensure you set it post calling prep. If for some reason you cannot do that, then you'd need to save and restore...

On Fri, Mar 18, 2022 at 5:41 PM Basit Ayantunde wrote:

I'm able to submit multiple requests and have multiple requests in
flight. CQEs are reaped without a specific ordering. I need to identify
which SQE an equivalent CQE corresponds to. But this is not possible as
all io_uring_prep_* functions set the user_data field to null (0). the
user_data field is needed for this CQE to SQE matching (as described
here: https://man.archlinux.org/man/io_uring.7.en)

If you need user_data, use io_uring_sqe_set_data() or set it directly
via sqe->user_data. For older liburing versions, the user_data should
be set after prep.
Since commit 8ecd3fd959634d ("Don't clear sqe->user_data as part of
command prep"), the io_uring_prep_* functions no longer set the
user_data to NULL.
-- Viro

On Fri, Mar 18, 2022 at 5:41 PM Basit Ayantunde
@.***> wrote:

I'm able to submit multiple requests and have multiple requests in
flight. CQEs are reaped without a specific ordering. I need to identify
which SQE an equivalent CQE corresponds to. But this is not possible as
all io_uring_prep_* functions set the user_data field to null (0). the
user_data field is needed for this CQE to SQE matching (as described
here: https://man.archlinux.org/man/io_uring.7.en)

If you need user_data, use io_uring_sqe_set_data() or set it directly
via sqe->user_data.
Also, since commit 8ecd3fd959634d ("Don't clear sqe->user_data as part
of command prep"), the io_uring_prep_* functions no longer set the
user_data to NULL.
-- Viro

I'm a bit shocked seeing those two duplicate replies on behalf of my
account. I didn't do that, nor accidentally did.
I think it's a bug in the GitHub email reply system. Seeing the date
and the time they are posted, I can confirm that there is no
activity in my email account at that time.
Ignore.


Add option to convert date to unix timestamp

Summary of PR changes

Added option to convert the date used in the prerelease version to a unix timestamp. This fixes an issue with gitversion which currently fails to parse the prerelease number because the generated date format exceeds the int32 range.
Updated readme

PR Requirements

[x] For JavaScript actions, the action has been recompiled.

See the Recompiling section of the repository's README.md for more details.
This does not apply to Composite Run Steps actions unless a package.json is present and contains a build script.

[x] For major, minor, or breaking changes, at least one of the commit messages contains the appropriate +semver: keywords.

See the Incrementing the Version section of the repository's README.md for more details.

[x] The examples in the repository's README.md have been updated with the new version.

See the Incrementing the Version section of the repository's README.md for more details on how the version will be incremented.

[x] The action code does not contain sensitive information.

We discussed this as a team and the best course of action may be to create a copy of this action in the repository that needs it rather than making the change here.  This change is backward compatible and safe but covers a relatively small use case.  The small use case (using GitVersion in a dual TC build script that should only be in place for a short time) places a bigger burden on the action when you consider that we would have to permanently maintain another branch of the code and support this behavior as part of the API forever.  We're going to close this PR, but if you need any help getting a copy into your repo, please let us know.


Informer predicts 0 or mean.

With mock data in example/01-experiment.py or generated by script/generate_data.py, Informer predicts only 0 or mean value of the range.
Training loss doesn't decrease at certain level (Loss/Horizon ~ 1~2), although there are still gradients.
Once I increased data set size, Informer slightly learned only "near future", but "far future" was still 0.
However, further increase didn't improve more.

python /code/example/01-experiment.py --L 30000 --xL 40 --yL 80 --epoch 30 --model informer && img2sixel 01-

experiment.png
Random Seed: 4ef6a85e
No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
 (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)

(It might overfit to the training data?)


source-controller OOM events

Describe the bug
When registering FluxCD to a repository in gitlab enterprise, I am seeing OOM activity on the source-controller pod. Removing the 1GB memory limit fixes the issues.
To Reproduce
Register fluxcd on a repo with some level of complexity, I believe.
Expected behavior
The source-controller pod should not be killed and restarted repeatedly.
Additional context

Kubernetes version: 1.19
Git provider: gitlab self-hosted
Container registry provider: gitlab/ECR

Below please provide the output of the following commands:
flux --version : flux version 0.8.0
flux check
► checking prerequisites
✔ kubectl 1.19.3 >=1.18.0
✔ Kubernetes 1.19.6-eks-49a6c0 >=1.16.0
► checking controllers

✔ source-controller: healthy
► ghcr.io/fluxcd/source-controller:v0.8.1
✔ kustomize-controller: healthy
► ghcr.io/fluxcd/kustomize-controller:v0.8.1
✔ helm-controller: healthy
► ghcr.io/fluxcd/helm-controller:v0.7.0
✔ notification-controller: healthy
► ghcr.io/fluxcd/notification-controller:v0.8.0
✔ all checks passed
kubectl -n <namespace> get all
kubectl -n flux-system get all
NAME                                           READY   STATUS             RESTARTS   AGE
pod/helm-controller-6946b6dc7f-5nr8q           1/1     Running            0          9m34s
pod/kustomize-controller-55dfcdfd58-xj25c      1/1     Running            0          10h
pod/notification-controller-649754966b-2677x   1/1     Running            0          10h
pod/source-controller-597cc769b-lp6w4          0/1     CrashLoopBackOff   5          6m23s

NAME                              TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)   AGE
service/notification-controller   ClusterIP   <IP_ADDRESS>   <none>        80/TCP    10h
service/source-controller         ClusterIP   <IP_ADDRESS>    <none>        80/TCP    10h
service/webhook-receiver          ClusterIP   <IP_ADDRESS>   <none>        80/TCP    10h

NAME                                      READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/helm-controller           1/1     1            1           10h
deployment.apps/kustomize-controller      1/1     1            1           10h
deployment.apps/notification-controller   1/1     1            1           10h
deployment.apps/source-controller         0/1     1            0           10h

NAME                                                 DESIRED   CURRENT   READY   AGE
replicaset.apps/helm-controller-6779d46d69           0         0         0       10h
replicaset.apps/helm-controller-6946b6dc7f           1         1         1       9m34s
replicaset.apps/kustomize-controller-55dfcdfd58      1         1         1       10h
replicaset.apps/notification-controller-649754966b   1         1         1       10h
replicaset.apps/source-controller-555d4f9d6          0         0         0       10h
replicaset.apps/source-controller-597cc769b          1         1         0       10h

kubectl -n <namespace> logs deploy/source-controller

-- various without errors until killed ---

kubectl -n <namespace> logs deploy/kustomize-controller

-- various ---

level":"info","ts":"2021-02-24T00:06:40.724Z","logger":"controller.kustomization","msg":"Source is not ready, artifact not found","reconciler group":"kustomize.toolkit.fluxcd.io","reconciler kind":"Kustomization","name":"istio-system","namespace":"flux-system"}
{"level":"info","ts":"2021-02-24T00:06:41.811Z","logger":"controller.kustomization","msg":"Source is not ready, artifact not found","reconciler group":"kustomize.toolkit.fluxcd.io","reconciler kind":"Kustomization","name":"bookinfo","namespace":"flux-system"}
{"level":"info","ts":"2021-02-24T00:06:41.815Z","logger":"controller.kustomization","msg":"Source is not ready, artifact not found","reconciler group":"kustomize.toolkit.fluxcd.io","reconciler kind":"Kustomization","name":"calico","namespace":"flux-system"}
{"level":"error","ts":"2021-02-24T00:06:41.825Z","logger":"controller.kustomization","msg":"Reconciliation failed after 1.059192016s, next try in 5m0s","reconciler group":"kustomize.toolkit.fluxcd.io","reconciler kind":"Kustomization","name":"podinfo","namespace":"flux-system","revision"
:"master/e43ebfa5bf4b87c46f2e1db495eb571cd398e2f7","error":"failed to download artifact from http://source-controller.flux-system.svc.cluster.local./gitrepository/flux-system/podinfo/e43ebfa5bf4b87c46f2e1db495eb571cd398e2f7.tar.gz, error: Get \"http://source-controller.flux-system.svc.cl
uster.local./gitrepository/flux-system/podinfo/e43ebfa5bf4b87c46f2e1db495eb571cd398e2f7.tar.gz\": dial tcp <IP_ADDRESS>:80: connect: connection refused"}
{"level":"info","ts":"2021-02-24T00:06:41.843Z","logger":"controller.kustomization","msg":"Source is not ready, artifact not found","reconciler group":"kustomize.toolkit.fluxcd.io","reconciler kind":"Kustomization","name":"kafka","namespace":"flux-system"}
{"level":"info","ts":"2021-02-24T00:07:41.833Z","logger":"controller.kustomization","msg":"Source is not ready, artifact not found","reconciler group":"kustomize.toolkit.fluxcd.io","reconciler kind":"Kustomization","name":"bookinfo","namespace":"flux-system"}
{"level":"info","ts":"2021-02-24T00:07:41.834Z","logger":"controller.kustomization","msg":"Source is not ready, artifact not found","reconciler group":"kustomize.toolkit.fluxcd.io","reconciler kind":"Kustomization","name":"calico","namespace":"flux-system"}
{"level":"info","ts":"2021-02-24T00:07:41.853Z","logger":"controller.kustomization","msg":"Source is not ready, artifact not found","reconciler group":"kustomize.toolkit.fluxcd.io","reconciler kind":"Kustomization","name":"kafka","namespace":"flux-system"}
{"level":"info","ts":"2021-02-24T00:08:41.853Z","logger":"controller.kustomization","msg":"Source is not ready, artifact not found","reconciler group":"kustomize.toolkit.fluxcd.io","reconciler kind":"Kustomization","name":"calico","namespace":"flux-system"}
{"level":"info","ts":"2021-02-24T00:08:41.855Z","logger":"controller.kustomization","msg":"Source is not ready, artifact not found","reconciler group":"kustomize.toolkit.fluxcd.io","reconciler kind":"Kustomization","name":"bookinfo","namespace":"flux-system"}
{"level":"info","ts":"2021-02-24T00:08:41.863Z","logger":"controller.kustomization","msg":"Source is not ready, artifact not found","reconciler group":"kustomize.toolkit.fluxcd.io","reconciler kind":"Kustomization","name":"kafka","namespace":"flux-system"}
{"level":"info","ts":"2021-02-24T00:09:41.872Z","logger":"controller.kustomization","msg":"Source is not ready, artifact not found","reconciler group":"kustomize.toolkit.fluxcd.io","reconciler kind":"Kustomization","name":"calico","namespace":"flux-system"}
{"level":"info","ts":"2021-02-24T00:09:41.874Z","logger":"controller.kustomization","msg":"Source is not ready, artifact not found","reconciler group":"kustomize.toolkit.fluxcd.io","reconciler kind":"Kustomization","name":"bookinfo","namespace":"flux-system"}
{"level":"info","ts":"2021-02-24T00:09:41.875Z","logger":"controller.kustomization","msg":"Source is not ready, artifact not found","reconciler group":"kustomize.toolkit.fluxcd.io","reconciler kind":"Kustomization","name":"kafka","namespace":"flux-system"}
{"level":"info","ts":"2021-02-24T00:10:41.893Z","logger":"controller.kustomization","msg":"Source is not ready, artifact not found","reconciler group":"kustomize.toolkit.fluxcd.io","reconciler kind":"Kustomization","name":"calico","namespace":"flux-system"}
{"level":"info","ts":"2021-02-24T00:10:41.895Z","logger":"controller.kustomization","msg":"Source is not ready, artifact not found","reconciler group":"kustomize.toolkit.fluxcd.io","reconciler kind":"Kustomization","name":"kafka","namespace":"flux-system"}
{"level":"info","ts":"2021-02-24T00:10:41.895Z","logger":"controller.kustomization","msg":"Source is not ready, artifact not found","reconciler group":"kustomize.toolkit.fluxcd.io","reconciler kind":"Kustomization","name":"bookinfo","namespace":"flux-system"}

I had the same issue but this time increasing the memory limts to 2Gi did mitigate the issue

I am seeing OOMs with 2Gi and I am on v0.14.1.

Same here on flux2 version 0.16.2. Increasing the memory limits to 2Gi mitigated the issue.

I was able to trigger this issue by putting interval: 1d in my helm repository spec. Happy to file separately if needed but trying to limit the issue count on source controller OOM

As with any workload on Kubernetes, the right resource limit configuration highly depends on what you are making the source-controller do (and you may thus have to increase it).
Helm related operations for example, are resource intensive because at present we haven't found a right optimization path to work with repository index files without loading them in memory in full (due to certain constraints around the unmarshalling of YAML).
Combined with the popularity of some solutions like Artifactory, which likes to stuff as much as possible in a single index (in some cases resulting in a file of >100MB), and the fact that the reconciliation of resources is isolated, resource usage exceeding the defaults can be expected.
Another task that can be resource intensive is the packaging of a Helm chart from a Git source, because Helm first loads all the chart data into an object in memory (including all files, and the files of the dependencies), before writing it to disk.
For a fun experiment: check the current resources your CI worker nodes have (or ask around), or monitor the resource usage of various helm commands on your local machine, and then take into account that the controller does this in parallel with multiple workers, for multiple accounts.

Generally speaking it is strange that a service which just downloads some files from other repos consumes so much memory.

The controller does much more than just downloading files, and I think you are oversimplifying or underestimating the inner workings of the controller, and ignoring the fact that it has several features that perform composition tasks, etc. In addition, to ensure proper isolation of e.g. credentials, most Git things are done in memory as well.

I was able to trigger this issue by putting interval: 1d in my helm repository spec. Happy to file separately if needed but trying to limit the issue count on source controller OOM

Your Helm index likely is simply too big, or your resource limit settings are too low, see explanation above.

Lastly, we are continuously looking into ways to reduce the footprint of our controllers, and I can already tell you some paths have been identified (and are actively worked on) to help reduce it.
Do however always keep in mind that while the YAML creates simple looking and composable abstractions, there will always be processes behind it that actually execute the task, and that the hardware of your local development machine often outperforms most containers.

No 1d is simply not valid per the log
E0902 19:20:30.626842       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.21.1/tools/cache/reflector.go:167: Failed to watch *v1beta1.HelmRepository: failed to list *v1beta1.HelmRepository: v1beta1.HelmRepositoryList.Items: []v1beta1.HelmRepository: v1beta1.HelmRepository.Spec: v1beta1.HelmRepositorySpec.Timeout: Interval: unmarshalerDecoder: time: unknown unit "d" in duration "1d", error found in #10 byte of ...|rval":"1d","timeout"|..., bigger context ...|0-4596-8543-9d6d4b573433"},"spec":{"interval":"1d","timeout":"60s","url":"https://raw.githubusercont|...

That is expected, as 1d is simply invalid.

There is no definition for units of Day or larger to avoid confusion across daylight savings time zone transitions.

https://pkg.go.dev/time#pkg-constants

A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".

https://pkg.go.dev/time#ParseDuration

Yes sure, but it synchronized that change from the repository into the Helmrepository resource and then OOMed the source controller trying to read it the helmrepo. I backed out the change in git but then had to manually edit the helmrepository objects since the source controller was hung. Not saying it should support days just that that is a footgun. If it's not supported I would have expected the helmrepository to fail validation on the sync

@kav can you please move this into a separate issue? I did a small test yesterday evening and was indeed able to apply a resource with an invalid interval format, but the cluster I was testing on wasn't running any controllers at the time so I wasn't able to validate the crash.

Having the same issue with OOMKilled and with the information from #192 pinned it down to large helm-repo of bitnami with index-file alone having 13.4M

For large Helm repository index files, you can enable caching to reduce the memory footprint of source-controller, docs here: https://fluxcd.io/docs/cheatsheets/bootstrap/#enable-helm-repositories-caching

Thanks for the documentation link @stefanprodan. That was helpful.
Removing bitnami-helm-repos in redundant namespaces brought down the mem-footprint to 190M, yet still peaking every 10min (helm repo update interval)

I will check on enabling helm-caching. Thanks again, much appreciated.

Needed to update 0.28 -> 0.30 so the helm-cache-arguments were available.
gotk_cache_events_total looks good so far. Will observe the mem-footprint but for now seems to solve the issue, at least for me.
Thanks again.

Looks much better with helm-caching enabled

Yeap that's consistent with what I'm seeing on my test clusters, using source-controller cache brought the memory from 2GB down to 200MB.

Enabling Helm caching doc is now here: https://fluxcd.io/flux/installation/configuration/vertical-scaling/#enable-helm-repositories-caching


API to read/write XLIFF for user data

Sample use:

client.getXliff({sourceLanguageId:'en', targetLanguageId:'de'}).then((f) => fs.writeFileSync('de.xlf', f, 'utf-8'), (e) => console.error(e));


Rippler thread

Is there any way to run ripple effect on button in new thread?
I need that because if I have huge calculation on button click, ripple effect freeze in middle of runtime.

Hello, well you can only update the ui using the FX thread, so your request is not doable.
however what you can do is to do your calculation on a different thread instead of using the FX thread.
Regard,


Instant are treated as unstable

https://developer.android.com/develop/ui/compose/performance/stability/fix#modules-solution
cause Instant comes from an external library without Compose compiler
When using layout inspector, the ThumbnailImage for each lookup history is set ablaze with blue, continuously recomposing. This was actually because of https://github.com/lydavid/MusicSearch/pull/990/files#diff-1c37605393d9de698bd9c0cb8ce1979525f40ef6f5f03201306c372a00fa1e0a
Ex
unstable class LookupHistoryListItemModel {
  stable val id: String
  stable val title: String
  stable val entity: MusicBrainzEntity
  stable val numberOfVisits: Int
  unstable val lastAccessed: Instant
  stable val imageUrl: String?
  <runtime stability> = Unstable
}

Whether this is unstable or not does not affect recomposition counts, so we don't have to bother with this


Configure Vercel Plugin

Configure Vercel Plugin for this repository

@Programming-School-Pro-Coding I have added the vercel bot to this repository. Now, how to get the plugin?


appName option in ringo/httpserver is confusing

var httpServer = new Server({
    "appName": "app",
    "appModule": module.resolve("./actions"),
    "port": 8080
});

The option appName suggests to be the application's name, which is not the case. Indeed it's the exported property name of the JSGI application!

Would it be too restrictive to get rid of the misleading appModule/appName combination by enforcing the use of module.exports in the module that exports the JSGI application function?
This way the app option would be either function or a string taken as path to a module - in the latter case the module would be expected to use module.exports to export the stick Application instance (or a plain JSGI function).
Thinking along that path, we could even change the signature of the Server constructor to Server(<String | Function>[, options]), making a clearer distinction between the required JSGI function and optional parameters.

I updated the documentation and added an example for the current state.

Closed for #358


Refactor configuration and DB tools

What is the purpose of the change
Refactor configuration tools
Brief change log
(for example:)

Remove deprecated files
Add configuration tools
Add database tools

Verifying this change
(Please pick either of the following options)
This change added tests.

Codecov Report

:exclamation: No coverage uploaded for pull request base (dev@bda52ef). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             dev     #320   +/-   ##
======================================
  Coverage       ?   17.22%
======================================
  Files          ?      125
  Lines          ?    12706
  Branches       ?     1673
======================================
  Hits           ?     2188
  Misses         ?    10379
  Partials       ?      139

Continue to review full report at Codecov.

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


Fixes deprecation of log_group_name -> log_destination

@slmingol could you address the comments, please?

Need more detailed steps on what you guys want me to do. Not really following and have tried to delve into your Makefile targets and got completely lost.

@slmingol may be you just forgot to commit your changes. you marked Andrew's comments as resolved, but there is no commit to address splat+join syntax. Leave readme as is, I could fix it if your repo have access to push changes

@maximmi - yeah I didn't understand what Andrew was asking me to do on the outputs. I hadn't resolved the comment - https://github.com/cloudposse/terraform-aws-cloudwatch-flow-logs/pull/13#pullrequestreview-346664457 where he asked for them. Just wasn't sure what to do to satisfy what he was asking for for the splat+join and the other changes.

@maximmi so one issue I'm seeing is that on MacOS some of us will have gawk installed via brew. It adds both awk/gawk to your $PATH which results in this line in the file:
$ cat ./build-harness/Makefile.helpers
...
...
help/generate:
	@awk '/^[a-zA-Z\_0-9%:\\\/-]+:/ { \
	  helpMessage = match(lastLine, /^## (.*)/); \`

That first line to gawk/awk is complaining about the \_. I uninstalled gawk and brew instaled awk to workaround that issue.

@aknysh - can you explain what outputs to fix? The outputs.tf has the splat+join from what I can tell:
$ cat outputs.tf
output "log_group_arn" {
  value       = "${join("", aws_cloudwatch_log_group.default.*.arn)}"
  description = "ARN of the log group"
}

output "vpc_flow_id" {
  value       = "${join("", aws_flow_log.vpc.*.id)}"
  description = "VPC Flow Log ID"
}

output "subnet_flow_ids" {
  value       = "${join("", aws_flow_log.subnets.*.id)}"
  description = "Flow Log IDs of subnets"
}

output "eni_flow_ids" {
  value       = "${join("", aws_flow_log.eni.*.id)}"
  description = "Flow Log IDs of ENIs"
}

output "kinesis_id" {
  value       = "${join("", aws_kinesis_stream.default.*.id)}"
  description = "Kinesis Stream ID"
}

output "kinesis_name" {
  value       = "${join("", aws_kinesis_stream.default.*.name)}"
  description = "Kinesis Stream name"
}

output "kinesis_shard_count" {
  value       = "${join("", aws_kinesis_stream.default.*.shard_count)}"
  description = "Kinesis Stream Shard count"
}

output "kinesis_arn" {
  value       = "${join("", aws_kinesis_stream.default.*.arn)}"
  description = "Kinesis Stream ARN"
}

@slmingol
If all outputs have splat+join, then it's should be fine (sorry, don't remember why I asked to update them).
Please rebase (resolve conflicts)

@aknysh - OK resolved conflicts.

@aknysh sorry for being a noob, I now realize that you guys have Travis running at the bottom telling me what's failing, I've resolved the checks, lmk if you want all this squashed.


travis: cache ~/.esy t speedup CI builds

This will speedup CI builds for quite a lot!

Here we are: 2:30 vs 14:30 previously:


Typescript support

Does support typescript in NodeJS? If so, how to import?

You may want to look into this pull request.

Thanks! in order to import, this is the right way?

@atoyansk That should be the right way, however, I'm yet to test that pull request; so let me know if you come across any issues.

I'm testing with a Firebase function, like this:
`import * as CC from 'currency-converter-lt';

export const createTransfer = async (amount: number) => {
    let converted = new CC({from: 'ILS', to: 'USD', amount: amount, isDecimalComma: true});
    converted.convert().then((response) => {
        return response;
    });
};`

But because it is a Firebase function, the error is not clear (it just indicates that the response is not returning anything):
Error: Uncaught (in promise): Error: INTERNAL
Error: INTERNAL at new HttpsErrorImpl

@atoyansk I'll look into it and try to add typescript support, but it may take some time.

Hello.
Is there any news about typescript support?

I've updated tsconfig.json to
{   "compilerOptions": {     "allowJs": true,
and imported class import * as CurrencyConverter from 'currency-converter-lt';
That's all folks :)

@apetrichkovich My setup still doesn't like the import with those changes, saying the usual in that it wants a type definition file or for me to try and install @types/currency-convert-lt.
Here's my tsconfig.json. Do you have other settings I don't?
{
  "compileOnSave": true,
  "compilerOptions": {
    "allowJs": true,
    "esModuleInterop": true,
    "resolveJsonModule": true,
    "module": "commonjs",
    "noImplicitReturns": true,
    "noUnusedLocals": true,
    "outDir": "dist",
    "rootDir": "src",
    "sourceMap": true,
    "strict": true,
    "target": "ESNext",
    "plugins": [
      {
        "transform": "typia/lib/transform"
      }
    ]
  },
  "include": [
    "src"
  ]
}

Can you add the option to configure CORS, API being blocked due to cross-origin


Add afterAction for notifications to do something after notify

For common use, unknown notification means that data is not reported or host is decommissioned. In both case,  we just need these alerts be forgotten.
That means if the host is decommissioned, forget is reasonable. If it's the host offline problem, then the first notification is sent and we just wait the host back online again. No ack need be operated manually.
With the option like afterAction:
notification gcsx_unknown2 {
        post = ${sys.gcsAlert}
        bodyTemplate = subject
        contentType = application/json
        print = True
        unknownBody = unknown_alive

        afterAction = ForceClose  # Purge
}

afterAction is usually used in unknown notification. But we also can use it in other normal notification, like in my situation:
I use bosun to just check and alert, but not for silencing. Bosun send out all notfications to my http alert center and I have some complicated strategy to aggregate these notfications. In this case, all incidents need to be auto closed, whatever the normal or active state of it. With the same afterAction option, this can be achieved.
Thanks!

I've implement this feature in my branch, see https://github.com/seanlook/bosun/tree/seanlook
Also I changed the result of comparison >,<,>=,<= to the actual value(the former), rather than 1 or 0. So I do not plan to make a pull request to this main repository.


boostnote auto_updates true

boostnote has auto-update feature
$ git checkout master
$ brew cask upgrade
==> Verifying checksum for Cask boostnote
==> Starting upgrade for Cask boostnote
==> Purging files for version 0.11.4 of Cask boostnote
Error: It seems there is already an App at '/usr/local/Caskroom/boostnote/0.6.8/Boostnote.app'.

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[ ] Named the cask according to the token reference.
[ ] brew cask install {{cask_file}} worked successfully.
[ ] brew cask uninstall {{cask_file}} worked successfully.
[ ] Checked there are no open pull requests for the same cask.
[ ] Checked the cask was not already refused in closed issues.
[ ] Checked the cask is submitted to the correct repo.

Thanks for the PR!


[Featured Projects] Azure SDK Logo Enhancements

Summary
The focus of these changes is to update the asset for the Azure SDK logo with new version that fixes some font rendering issues discovered on certain mobile devices.
Last Upstream Rebase
Tuesday, September 22, 12:21pm (EDT)

//cc: @alexghiondea, @jongio


Color edges of network map based on protocol

Right now edges only show what can talk to what and are all gray.  I could provide more context by coloring the edges based on an assumption of the protocol used.  For example:

Green: 443/tcp HTTPS
Blue: 80/tcp HTTP
Purple: 22/tcp SSH
Red: Everything
Yellow: Concerning protocols such as databases, rabbitmq, etc.
Gray: Anything else

This could get ugly if I have 443, 80, 22, 3306 (MySQL), and say 8080. This would result in 5 colored edges.  Maybe I want that though?

Also need to be able to display a key in CloudMapper for all this, especially an on-screen one that will be included in screenshots.

I'm closing this issue as the network diagram functionality of CloudMapper is no longer being maintained.  Other features of CloudMapper, such as the audit functionality, is still maintained. If someone is interested in maintaining the network diagram functionality they can look at the issues tagged unmaintained_functionality for all the issues related to this that have been closed as they will unfortunately not be worked on by me.


Fix/html inapp iphonex landscape/e2 162

Can one of the admins verify this patch?

^^ coverage is awesome!


Running ./index_data.sh fails silently

When running ./index_data.sh the script fails silently if the pyenv is not activated. This condition can be checked and can fail before the user spends too much time debugging.

A possible improvement could be to automatically activate the pyenv at startup of the terminal.


Query using java http client only returns a column named results

Query using java http client only returns a column named results
Steps to reproduce
1.create table test(name String, age Int32) engine=Memory
2.insert into test(name, age) values('jack', 18)
3.select * from test
Expected behaviour
Returns 2 column named "name" and "age"
Code example
ClickHouseResponse response = client
                .connect((Serializable & Function<ClickHouseNodeSelector, ClickHouseNode>)
                        selector -> ClickHouseNode.of(uri))
                .query("select * from test")
                .executeAndWait();
        try (response) {
            List<ClickHouseColumn> columns = response.getColumns();
            // columns.size() is 1, columns.get(0) is named "results"
            // expected columns.size() is 2, columns.get(0) is named "name", columns.get(1) named "age"
        }

Configuration
Environment

Client version: clickhouse-http-client 0.4.1
Language version: java 19
OS: client is windows 11, server is centos 8

ClickHouse server

ClickHouse Server version: <IP_ADDRESS>4

should query like client.connect().format(ClickHouseFormat.RowBinaryWithNamesAndTypes).query().executeAndWait()


Top 1000 baby boy names

@Nandini108 can you check and merge pull request with hacktoberfest-accepted label?


Reflection bugs

Currently reflection on some Ds\* classes doesn't return the expected values which is causing issues with tools such as PHPStan.
Missing Ds\Pair properties
$reflection = new ReflectionClass(\Ds\Pair::class);

echo count($reflection->getProperties());

expected result: 2 (Pair has $key and $value properties)
actual result: 0
These properties are missing in the documentation as well (bug report here).
EDIT: Ds\Pair values are also invisible when debuging with Xdebug. This might be the cause.
Nullability of Map::first()
$reflection = new ReflectionClass(\Ds\Map::class);

echo $reflection->getMethod('first')->getReturnType()->allowsNull() ? 'true' : 'false';

expected result: false (the method throws an exception on empty map and otherwise returns a Pair)
actual result: true
EDIT: Map::last() and Map::skip() both have the same problem.

Another bug discovered:
Nullability of Map::values()
$reflection = new ReflectionClass(\Ds\Map::class);

echo $reflection->getMethod('values')->getReturnType()->allowsNull() ? 'true' : 'false';

expected result: false (return type is Ds\Sequence, not ?Ds\Sequence - see documentation)
actual result: true

Looks like this is just the tip of an iceberg, there are a lot more methods in this extension with incorrect reflection types. I have a tool to generate a functionMap for phpstan which I then fixed manually and I could use it to give you a more complete list what's wrong. I won't do it until I see some activity here since it would take me quite a bit of time and it's possible that you don't even need it.

@enumag are you able to use a master build? This should now be significantly better than 1.6, due to this change here: https://github.com/php-ds/extension/commit/21cbf36703aed19f9a6c9c429e5754cb3687905c

I'll prepare an update regardless.

Yeah all the nullable return types should be fixed, but I haven't fixed the missing Pair properties yet. There's a quick-hack fix for it but I'd rather do it properly. They are accessed magically but should be defined properties.

I installed the extension using apt-get

I'm not sure who maintains this.. 🤔

What version are you using?

These should now all be fixed as at 1.2.7 :tada:


Add --slim option

Add --slim option for improved UX
Add rust tagline to done message (shown when --use-rust is used)
Refine done message, in general
Remove projectParameters from config (use config.getAll() instead)

Coverage decreased (-0.003%) to 99.133% when pulling 5e5a0baaea84cf020bd56d7199ea2496f9101c7e on feature/slim-option into c3ae6d3d2cf1ffc4a90875b93ea28987af149e0d on master.


"Filename pattern" not clear

I was using "Filename pattern" for the first time and it wasn't clear to me whether it captures the whole path or just the file name. If I understand correctly it's capturing only the file name, which was a pity for me because I wanted to use Scooter for two folders. Now I have to make two scooter runs.

I should rename that field to something like "Path pattern" rather than "Filename pattern" as captures the whole path to the file, relative to the directory being searched in. If you run in to any issues with it let me know, and I'll update the field name and add to the documentation

A couple more question I have as a user when using this field:

Will the ./ at the beginning be included?
On Windows in zsh/bash, would it use forward slashes or backslashes?
Will it be doing a regex match, or a full match, or a search?

Maybe there should be some kind of help screen for regex that clarifies these points.

A couple more question I have as a user when using this field:

Will the ./ at the beginning be included?
On Windows in zsh/bash, would it use forward slashes or backslashes?
Will it be doing a regex match, or a full match, or a search?

Maybe there should be some kind of help screen for regex that clarifies these points.

No, e.g. if you are searching in /foo/ then a file /foo/bar/qux.txt will appear as bar/qux.txt when being matched against
I don't use Windows so I can't say for certain but this should be the platform default, so presumably backslashes (although note that these will need to be escaped because the field uses regex)
Regex (this is shown in the field name, I just didn't include it above for brevity)

I don't understand your answer to the third question.

To clarify, I'm asking whether it's a regex match, regex full match or regex search:
https://docs.python.org/3/library/re.html#re.match
https://docs.python.org/3/library/re.html#re.fullmatch
https://docs.python.org/3/library/re.html#re.search

To clarify, I'm asking whether it's a regex match, regex full match or regex search:
https://docs.python.org/3/library/re.html#re.match https://docs.python.org/3/library/re.html#re.fullmatch https://docs.python.org/3/library/re.html#re.search

I'm using this function, which appears to correspond with re.search from your list, but there may be slight variations in behaviour so worth double checking the Rust docs


Issue in modal (modal goes beyond the browser(margin-top: -93px)

latest semantic-ui-css (2.3.1) has an issue in the modal. The modal goes negative marginTop.
It works good in 2.2.14 version.

Here is the screenshot of modal

I am facing this same issue after upgrading my CDN from 2.2.12.


Missing CA certificates in jdk8u192-b12 for OpenJ9 only (Hotspot build fixed by #676)

I ran into this error, which should have been fixed by #676:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I downloaded the jdk8u192-b12 with OpenJDK 8 and the OpenJ9 JVM option, but the problem persisted. I tried downloading the jdk8u192-b12 build with the Hotspot JVM option, and the problem was resolved. The Hotspot version's cacerts file contains 92 entries, while the OpenJ9 version has only 80, so it seems #676 only resolved that issue with the Hotspot build, not OpenJ9.

Thanks for the report :-)
PR https://github.com/AdoptOpenJDK/openjdk-build/pull/688/files is the PR that provided the HotSpot fix and was done on 24th October. The OpenJ9 8u192 build was created on 20th October so pre-dated the fix. I'm working on a full set of newer builds at the moment for 8u192/OpenJ9 for other reasons and these have the updated file. All platforms except Windows which I'm working on are already available as the primary download on the site now (Or directly via https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/tag/jdk8u192-b12_openj9-0.11.0)

No problem. Sounds good. Thanks, @sxa555 .


$cordovaPushV5.register() not getting called on iOS

Hello, I'm currently working on a mobile app for Android and iOS that uses the push plugin. It works perfectly fine on Android, but on iOS the register() function never gets called or resolved. Here is my code (CoffeeScript):
 options =
      android: senderID: '911756819079'
      ios:
         alert: 'true'
         badge: 'true'
         sound: 'true'

$cordovaPushV5.initialize(options).then ->
         console.log options
         # start listening for new notifications
         $cordovaPushV5.onNotification()
         console.log "onNoti"
         # start listening for errors
         $cordovaPushV5.onError()
         console.log "onError"
         $cordovaPushV5.register().then (registrationId) ->
            console.log "login push", registrationId, device
            # send registration to back end
            if device.platform == "iOS"
               ConsultantService.sendPushData(registrationId, 'ios')
            else
               ConsultantService.sendPushData(registrationId, 'android')
            return
         return

My Xcode log:
2017-01-03 12:23:23.238121 MiNatura[416:91535] Push Plugin register called
2017-01-03 12:23:23.238207 MiNatura[416:91535] PushPlugin.register: setting badge to false
2017-01-03 12:23:23.238238 MiNatura[416:91535] PushPlugin.register: clear badge is set to 0
2017-01-03 12:23:23.238260 MiNatura[416:91535] PushPlugin.register: better button setup
2017-01-03 12:23:23.244690 MiNatura[416:91535] GCM Sender ID (null)
2017-01-03 12:23:23.244757 MiNatura[416:91535] Using APNS Notification

App capabilities and certificates are as they should.
As you can see the register method gets called but never resolves, so I dont get anything to send to my back end. Any help or comment would be greatly appreciated.

I'm sorry, i checked my settings and i had something wrong with my certificates.
Sorry for wasting anyone's time

Hi @AldoJV I have the same problem, where I check my certificates ? thanks.


Switch layout to /p/pkg/ver/doc/

Just want to run this through a test before we merge

So the paths in docs ci should be updated accordingly (/packages/ => /p/)


autogen.sh: Drop unnecessary package checks

This drops a bunch of unnecessary warnings when built in a minimal build environment.
The only build-dependency is pkgconfig (and regular autotools stuff).
You could probably clean up this section to make the warning (or error) a big more direct (install pkgconfig), but I'm proposing a simple improvement.

Thanks for the patch! That's the problem with copy-paste. ;-)
Feel free to propose more cleaning up or better warnings proposals. :-)


[QUESTION] Time requests

Description
How can I add to the log the time it took to respond to the request?

https://github.com/tiangolo/fastapi/issues/526

Thank you!


optionally taking screenshots with window title etc.

Hallo.
Please consider my changes.
My change

allows taking screenshots of windows including the title bar and also
a small fix for unpacking the RECT was needed (signed x unsigned long problem).

Regards,
Martin Povolny

I have an idea how to do that. Make your solution as default and don't worry about the client area functionality. After you've done your changes, i will merge them in and implement my idea on top of yours. Take your time.


Use of deprecated Fixnum

Feature #12005 unified Fixnum and Bignum into Integer. Fixnum is used in response.rb at line 40, leading to the following error:

/usr/local/lib/ruby/gems/2.4.0/gems/flickraw-0.9.9/lib/flickraw/response.rb:40: warning: constant ::Fixnum is deprecated

I think the solution is just to change def [](k); k.is_a?(Fixnum) ? @a[k] : super(k) end to def [](k); k.is_a?(Integer) ? @a[k] : super(k) end

Handled by #97.


Weaver: no writer found on first import & play. needs to manually rebuild once.

2021.0.2a19 apple silicon

closed because duplicate


Master

The vertex buffer format must be 4 byte aligned as it is accessed by a
Float32Array - presently, due to the format only supporting 2
blendIndices the buffer becomes 2 byte aligned when adding skinning
data.

I'm not sure I understand. The format supports 4 blend indices per vertex for skinning, not 2. Am I misunderstanding?

So, do you suggest changing vertex attribute offsets and vertex size to align to 4 for custom vertex formats?
I think it's a bit wasteful to lose bytes in every vertex. What if instead of accessing vertices by Float32Array, we'd change it to DataView?

Thanks! 👍

Yes the format does, but procedural createMesh only uses and emits 2.  Having submitted the request I considered whether that should be considered a fault too, as it was due to this I was having a problem.  So the other way to fix my issue was to change createMesh, however I guess it’s also possible that something else would have a “not 4 byte aligned” reason for doing something so left this in.  I certainly could look at altering createMesh as well?
(Found this in my decimator plugin, which does now remove the two minor blend weights from models it operates on, thinking that it would be a good idea to allow the original 4 anyway, but that would require patching or fixing createMesh).

On 15 Sep 2017, at 20:13, Will Eastcott<EMAIL_ADDRESS>wrote:
I'm not sure I understand. The format supports 4 blend indices per vertex for skinning, not 2. Am I misunderstanding?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/playcanvas/engine/pull/999#issuecomment-329874560, or mute the thread https://github.com/notifications/unsubscribe-auth/AA50I4UBJYDRM1de-ky99bTXX4pC_VYDks5sisxRgaJpZM4PYyiY.

--
3radical Limited, 1 Friary, Temple Quay, Bristol BS1 6EA, England.
T: +44<PHONE_NUMBER>
3radical Pte Ltd, Suntec Tower 2, 9 Tamasek Boulevard, #09-01, Singapore
038989.
T: +65 6407 1390
3radical Pty Ltd, Level 13, 135 King Street, Sydney NSW 2000, Australia.
T: +61 289 737 506
www.3radical.com
3radical Limited is a limited company registered in England and Wales
under number 7872556.  The registered address of 3radical Limited is 1
Friary, Temple Quay, Bristol BS1 6EA, England.
3radical Pte Ltd is a registered in Singapore under number 201312239K.  The
registered address of 3radical Pte Ltd is 51 Goldhill Plaza, #07-10/11,
Singapore 308900.
3radical Pty Ltd is registered in Australia with an ABN of 90 600 403 290.
The registered address of 3radical Pty Ltd is T53, 2A Defries Avenue,
Zetland, NSW 2017, Australia.
The information in this e-mail and any attachments may be confidential.  If
you are not the intended recipient, please notify the sender as soon as
possible and delete any copies. Unauthorised use, dissemination,
distribution, publication or copying of this communication is prohibited.
Attachments to this email have been checked with virus detection
software before transmission, however you should carry out virus checks
before opening any attachment. 3radical Limited, 3radical Pte Ltd and
3radical Pty Ltd accept no liability for any loss or damage which may be
caused by software viruses.


Delete System.out.println

https://github.com/tliron/jygments/blob/master/components/jygments/source/com/threecrickets/jygments/style/Style.java#L85 has a print statement.
Please delete this line.

Done, thank you for letting me know!


Swiper (ion-slides) not responding to touch

Bug Report
Describe the Bug
Swiper component no longer works with touch events on desktop (chrome 70)
Steps to Reproduce
Steps to reproduce the behavior:
goto https://codepen.io/-kaik-/pen/ONNzWe
try to swipe in desktop machine (touch screen) with chrome 70
"ontouch* members on window, document, and element are disabled by default on desktop devices"
see here : https://www.chromestatus.com/feature/4764225348042752
Any workarounds ?
btw , "slick" swiper (http://kenwheeler.github.io/slick/) seems to be working well...

Its not working in ionic latest version.
Watch the demo site and use desktop machine with chrome 70 in order to swipe between slides
https://ionicframework.com/docs/components/#slides


Enhance the Use Cases section from the book with software analysis case studies

We have a number of case studies already in place for JS, Rails or the feature toggles of Open edX. They should be added to the book

49595/169759822-94c414d8-cd62-4450-9bce-06e125edb16b.png">

The Ruby on Rails case study is now more elaborate:


Cypher commandline

I know this is supposed to be deprecated soon, but as for now, it won't work without it.

Don't need this any more


Preset for leisure=miniature_golf

I edited a small leisure=golf_course which was named "Mini Golf", but noticed there was no preset for leisure=miniature_golf.
Want to check I'm editing the correct file - do I simply take a copy of iD/data/presets/presets/leisure/golf_course.json, edit and rename it?
Also, how do I make it so that it appears for anyone typing in "crazy golf", "mini-golf" or "putt-putt"? (which are mentioned as other terms in the wiki)

Yes, you're on the right track. Synonyms are added via the terms property.
See also https://github.com/openstreetmap/iD/blob/master/data/presets/README.md for some additional information about presets.

closed with
ad11770 2016-07-27 Create miniature_golf.json
5de925b 2016-07-27 Fix commas, run make
Thanks!


Propfind should deliver StorageId property

Is your feature request related to a problem? Please describe.
For various reasons, we need the storageId, which is assigned to a File in the WebUI.
Currently, it might occur in the FileId, which consists of storageId:fileId.
This is not the case if you do a propfind on the trash bin or spaces trash bin.
Therefore it would be good to have the possibility to retrieve the storageId on all propfinds via a dedicated property.
Describe the solution you'd like
Add a storageID DAV property

@butonic, do you see any problems with introducing an extra property for the storage id?
Except that it will be oCIS exclusive.
If not I'll just implement it.

Yes, please! I'd prefer spaceid and fileid. And having that property in oc10 would be great as well.

hmmm. if you don't get a spaceid in trashbin responses that is a bug.

In the bigger picture we could take the oc10 numeric storage id as the storageid. But that would create problems when trying to migrate spaces to other storage providers. One solution would be to prefix the numeric storage id with the instance id (if we want to leak that), but that only makes collisions less likely. While spaceids in the form of {instanceid}-{numericstosrageid} might work, I'd prefer a real uuid.
Now regarding a seperate id: makes sense, however the graph api will always take a single id property as the identifier for a resource. It does contain delimiters: ! and $. In C12644A14B0A7750!6180, C12644A14B0A7750 is my userid as well as my personal drive id. 6180 is an autoincrement id for resources in my drive. At least that is how MS implemented it in onedrive.
To clients the fileid is an opaque string. It is made of {spaceid}!{nodeid} so we can efficiently route requests to the rosponsible storage space provider. Clients must not parse it, because the server might change the way the opaqueid is constructed at any time, eg introduce more prefixes for further sharding the spaces.
To let clients link resources to spaces we should add an oc:spaceid property that contains just the spaceid.

Ok, I'll implement this next week. :+1:

This is now included in the current oCIS master.
The new property is called <oc:spaceid/>.


tests: Test scripts lookup ORG_ID in env

Tests scripts in test/scripts were using a hard-coded organization id for XRHID header. The scripts are now looking up ORG_ID in environment and fall back to 12345 test org.
The improvement allows testing with different organization ids.

thank you; I appreciate this change, and the suggestions are incorporated at https://github.com/podengo-project/idmsvc-backend/pull/6 PR which update a bigger change into the set of scripts.
I close this ticket.


add wrapPagesHTML which renders html snippets in pages inside of a header + footer

This is a rough draft to get a sense of how we feel about this change. Built to fix https://github.com/facebook/Docusaurus/issues/247.
Problem:
Some languages have auto-generation of documentation as HTML snippets. (JS, OCaml, Java, etc. all of this functionality to varying degrees). The ability to co-locate documentation and code is powerful, so I don't want to give up this ability. I'd also like to be able to insert this code into a Docusaurus site and keep the header/footer styles.
Solution:
This PR makes it so that all .html files found in /pages are treated as html snippets and wrapped with the appropriate header/footer. Technically I don't think this would have to be behind a flag since you always have the ability to output raw HTML to /static, but for correctness sake I think the flag is useful. Since wrapPagesHTML adds a head to the snippets passed in it could create malformed HTML is someone isn't paying attention to use.
If this looks good I will add documentation for it! If not, I'd love ideas for ways to implement similar functionality.

@rickyvetter I am ready to look at this now. Sorry for the delay.
I think the flag is appropriate, at least for now, so we can maintain existing behavior and people have to opt-in to this.
Do you have any screenshots or links that might show an example of why this might be useful?

The example I'm looking at is for auto-generated documentation. This is the documentation for bucklescript as an example: https://bucklescript.github.io/bucklescript/api/index.html
This documentation has very little prose and no links back to the main documentation site. It contains a ton of rich information that I would love to link to in our prose documentation but offers no real form of navigation back.
I'm looking at converting reasonml.github.io to Docusaurus and they put the same generated html into the main site - https://reasonml.github.io/api/index.html. This allows for free flowing navigation between prose and structured documentation which I believe can be very useful.
This functionality could be used by many other languages which can automatically generate html documentation (JavaDoc, pydoc, RDoc, etc).


Reporting capability at testcase level

In the reporting on SauceLabs we see test suites but we are not able to see individual test cases.
If we have the below two suites, in the report you see suite and suite 2 appearing, but we would like to have 'suite1 testcase 1', 'suite1 testcase 2', 'suite2 testcase 1', 'suite2 testcase 2' appear.
Testsuite1.js
describe('Suite 1') {
it('suite1 testcase 1'){
  //verify something
}
it('suite1 testcase 2'){
  //verify something
}
}

Testsuite2.js
describe('Suite 2') {
 it('suite2 testcase 1'){
   //verify something
 }
 it('suite2 testcase 2'){
   //verify something
 }
}

@kmnaid this is not possible. WebdriverIO is creating a session for each individual file and takes the name of the outer describe block as name of the test. If you have further questions join our  .


check options.input.limit and loadMoreInc accepts input

Fixes two issues I'm running into using withMulti2({input: ...}):

The limit that is provided as part of the input (options.input.limit) was not being used, instead the limit was always defaultInput.limit.

This is because options.input.limit is not one of the values that the function initialPaginationInput looks for, so it ends up going with the default for paginationInput.
This will now check for a provided options.input.limit.

loadMoreInc was returning duplicate values.

This seems to be because fetchMore changes the input variable of the original query to use terms: variables: { input: { terms: newTerms } }.
Instead of overriding the input like this, I've changed loadMoreInc to accept an input (which user can set as desired, including offset) or default to an input that contains the pagination input and a new offset.

Totally right, thanks a lot for this fast PR


Carousel loop with low product count

Carousel component duplicates results when loop is enabled. Additionally if only 1 product is displayed, it doesn’t take the full width of a slide.
It has been found that when the loop prop is enabled and the number of results is less than the slidesPerView that has been set, Swiper will fill the carousel by repeating the results until there are enough to loop through. This presents a problem with recommendation template re-use.
Recommendation profiles typically utilize the same template, where let's say loop is enabled and slidesPerView is set to 5; not all profiles will have > 5 results. For example suppose there is a profile for 'last viewed', it shows the last products viewed. After viewing a single product it would show only that one result repeated 5 times.
A possible solution would to modify the Recommendation component to auto-disable loop if it is enabled when results are lower than slidesPerView.

This change will be included with https://github.com/searchspring/snap/pull/342


Pr/74

Merge master changes into #74 and ensure test suite completes successfully.

All tests passed.  No need to run them twice.  Canceled the 'pr' test run and the 'push' run completed successfully.


Fix Angular Tabs in Storybook

I did an Angular Tabs hotfix here
￼ https://github.com/AgnosticUI/agnosticui/commit/710e5c903ce5af50521ee43cd2a80f39ca1e497d
I think I forgot to fix the Story that verifies custom tab buttons.
I also should check that the Tabs Angular docs doesn't also need corrections

Fixed


idea for power toys run

Description of the new feature / enhancement
a dictionary to check spelling of words.
Scenario when this would be used?
useing certain applications like excel that don't have very good spellcheckers
Supporting information
No response

/dup #3309


Update version numbers in example code for docs.

Fixes #110

Self-merge as minor, tests passing, and we're probably going to delete all of this pretty soon anyway.


Passing query parameters to sign up route

Just a question. When do you plan to add checkbox support for reg. field?

one more. Maybe it would be nice to be able to add login parameters via client javascript. I mean to add data to user 'profile' by some code that is is not in the reg. template. For example adding user type (user.type) to a profile based on whether the user user registers on /register?u=admin or register?u=mod Note this is just an example.

@splendido is there a way to run your example without adding reg_code to the profile? Or does this have to be overriden in onCreateUser?

@splendido the following pattern works with the query in the url, but if the user switches page on the site, you lose the query url. Is there a simple way around this?
AccountsTemplates.addField({
    _id: 'reg_code',
    type: 'hidden'
});

At the moment there's no way to keep the query parameter within AccountsTemplates.
But you could try to set up another onBeforeAction hook to extrac it and put it into a session variable or something similar...
As for your previous comment, yes: I think onCreateUser is the place where to deal with the registration code and possibly the right place to remove it from the user object in case you don't need it later on

I want to add a document (not to user collection) when a user account is created.
The user fills out a form, and I store the info in a session variable. At the end of the form, they fill out email and password. This is the atForm which calls onCreateUser.... I can't figure out how to pass the session variable along so that I can insert the document once the user is created.

You could store the session variable in a hidden field of the signup form
On 9 May 2016 01:52, "acomito"<EMAIL_ADDRESS>wrote:

I want to add a document (not to user collection) when a user account is
created.
The user fills out a form, and I store the info in a session variable. At
the end of the form, they fill out email and password. This is the atForm
which calls onCreateUser.... I can't figure out how to pass the session
variable along so that I can insert the document once the user is created.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/meteor-useraccounts/core/issues/95#issuecomment-217751063


No internet

I have deploy the app to Azure Web App using GitHub Action. I get this error in Configuration page.

Hello,
The Azure Naming Tool requires internet connectivity for some of the features (Resource Type/Location refreshes, version checks, etc.). The site will attempt to download a 1px file from the following URL:
https://github.com/aznamingtool/AzureNamingTool/blob/main/connectiontest.png
If it cannot access the URL, it will determine that the site is not connected to the internet and display the message you are seeing. You may have some networking configuration that is preventing your Azure App Service to access that URL.
The disabled features only apply to updates to the resource types (New Azure services added) and location (new Azure regions added), which do not occur very often. Additionally, the tool updates are publicized on Twitter/LinkedIn. If you cannot resolve the issue for any reason, it will not affect very much of the functionality.

Bryan

I have the same issue using the same deployment type, there are no restrictions on internet access.
Is there a way to debug this?

Thank you for the additional feedback. To elaborate on the functionality, there is a function in the /helpers/ConfigurationHelper.cs  file called VerifyConnectivty. In the function, the site will attempt the following:

Attempt to ping github.com (ping is often disabled in networks)
If that fails, attempt to download a 1px file from https://github.com/aznamingtool/AzureNamingTool/blob/main/connectiontest.png
If that fails, the site determines that there is no connectivity
Updated/Version check features are disabled

If an exception is occurring in the process, there should be a message listed in Admin Log. Please check the log and let me know if you see any errors listed there.
To help in the future, we will add the following in the next update:

Add a message in the Admin Log for the connectivity check response (in addition to any exceptions logged)
Add a setting to bypass the connectivity check. The site will assume the site has connectivity and enable all features. This may cause additional exceptions in the Admin Log if the site attempts to enable "online" features and there is no connectivity.

I have added these features to current development version and will include them in the next release in a few weeks. I will update this thread once the features are enabled.

Bryan


Update integTest gradle scripts to run via remote cluster independently

Is your feature request related to a problem?
With the existing implementation of integration tests, opensearch plugins use the same test framework as local integration tests which spin up test clusters by itself. This is a hacky way to override the endpoint from local spun up test clusters (via opensearch.testclusters gradle plugin) with the remote cluster endpoint.
The solution doesn't work when we would like to test the opensearch bundle as part of the release. The test frameworks expect the artifact to be available before we could test them. To clean this up, plugins have to create gradle scripts for remote endpoints to run https://github.com/opensearch-project/opensearch-build#integration-tests for the release cycle.
What solution would you like?
Refer to: https://github.com/opensearch-project/anomaly-detection/pull/298 and make similar changes to the plugin.
Also if you have a custom name to invoke these tests, update the integtest.sh script in https://github.com/opensearch-project/opensearch-build/blob/main/scripts/default/integtest.sh

@saratvemulapalli Does this issue apply to frontend plugins?

This request doesn't apply to dashboards plugin. Ref: https://github.com/opensearch-project/opensearch-plugins/issues/103#issuecomment-1064458549

This request doesn't apply to dashboards plugin. Ref: https://github.com/opensearch-project/opensearch-plugins/issues/103#issuecomment-1064458549


Add TUYA based Wi-Fi Valve / Leak Sensor / Door Sensor

I bought three TUYA-based products, please add them.

Valve manipulator https://www.aliexpress.com/item/4000170119421.html
Leak Sensor https://www.aliexpress.com/item/4000166314162.html
Door/Window Sensor https://www.aliexpress.com/item/33042579114.html
I still have the tuya-based zigbee gateway like this https://www.aliexpress.com/item/33034362511.html
Later I'll try to work with him.
Below are the intercept results from Ucomen Home app.
{
name: 'Valve',
id: 'хххх',
key: 'хххх',
def: {
schema: '[{"mode":"rw","code":"switch_1","name":"\u5f00\u51731","property":{"type":"bool"},"iconname":"icon-dp_power2","id":1,"type":"obj","desc":""},{"mode":"rw","code":"countdown_1","name":"\u5f00\u51731\u5012\u8ba1\u65f6","property":{"unit":"s","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_time2","id":9,"type":"obj","desc":""}]',
extras: '[{"id":1,"inputStyle":"","inputType":"plain"},{"id":9,"inputStyle":"","inputType":"plain"}]',
},

===
{
name: 'Door Detector',
id: 'yyyyy',
key: 'yyyyy',
def: {
schema: '[{"mode":"ro","code":"doorcontact_state","name":"\u95e8\u78c1","property":{"type":"bool"},"iconname":"icon-zanting","id":1,"type":"obj","desc":"\u3010\u5fc5\u9009\u3011"},{"mode":"ro","code":"battery_state","name":"\u7535\u6c60\u7535\u91cf\u72b6\u6001","property":{"range":["low","middle","high"],"type":"enum"},"id":3,"type":"obj","desc":"\u3010\u975e\u5fc5\u9009\u3011"}]',
},
===
{
name: 'Water leak sensor',
id: 'zzzz',
key: 'zzzzz',
def: {
schema: '[{"mode":"ro","code":"watersensor_state","name":"\u6c34\u6d78\u68c0\u6d4b\u72b6\u6001","property":{"range":["alarm","normal"],"type":"enum"},"iconname":"icon-a_water","id":1,"type":"obj","desc":""},{"mode":"ro","code":"battery_state","name":"\u7535\u6c60\u7535\u91cf\u72b6\u6001","property":{"range":["low","middle","high"],"type":"enum"},"iconname":"icon-dianliang","id":3,"type":"obj","desc":""}]',
},
Thanks!

Also interest in this product

Hello, I've made this specific plugin for Door Sensors if you want, https://github.com/Kakise/homebridge-tuya-door-cloud it uses the Cloud API to expose the sensor to Homebridge