fix undici issue with build and package to binary

received error:
➜  multiple dotenvx run -- node index.js
pkg/prelude/bootstrap.js:1872
      throw error;
      ^

ReferenceError: ReadableStream is not defined
    at Object.<anonymous> (/snapshot/dotenvx/node_modules/undici/lib/fetch/response.js:507:3)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Module._compile (pkg/prelude/bootstrap.js:1933:32)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at Module.require (pkg/prelude/bootstrap.js:1851:31)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/snapshot/dotenvx/node_modules/undici/lib/fetch/index.js:11:5)

downgraded to undici 5

probably related: https://github.com/mswjs/msw/discussions/1934
@SuperchupuDev fyi, i had to downgrade undici to 5

oh yeah, i forgot to mention undici 6 requires at least node 18. apparently node versions <18 are end of life (they stopped support for node 16 earlier than usual). whether to use undici 6 (and with that requiring users to use node 18 or above) or 5 is up to you, i don't know if undici 5 has serious tradeoffs compared to 6

ok, i'll see if we can do that. we've been packaging to node 16. i think we tried a newer version but then ran into issues with our packager - https://github.com/vercel/pkg
will give it a shot and if doesn't work, i might look into packaging with deno instead.

another update: it looks like jest, which is used in this project, can mess up some global variables when running tests which breaks undici 6. one solution (if you end up deciding to switch to undici 6) could be to switch to a better test runner such as vitest


UninitializedPropertyAccessException on setPushToken

Description
When setting a push token the app might crash. It's a rare crash that I can't recreate, but it does happen for some people.

Checklist

[ ] I have determined whether this bug is also reproducible in a vanilla Android project
[ ] If possible, I've reproduced the issue using the main branch of this package.
[X] This issue hasn't been addressed in an existing GitHub issue or pull request.

Expected behavior
Push token should be set (and it is most of the time!).

Actual behavior
Fatal Exception: kotlin.UninitializedPropertyAccessException: lateinit property initialBody has not been initialized
       at com.klaviyo.analytics.networking.requests.PushTokenApiRequest.equals(PushTokenApiRequest.kt:96)
       at java.util.concurrent.ConcurrentLinkedDeque.contains(ConcurrentLinkedDeque.java:1081)
       at com.klaviyo.analytics.networking.KlaviyoApiClient.enqueueRequest(KlaviyoApiClient.kt:118)
       at com.klaviyo.analytics.networking.KlaviyoApiClient.enqueuePushToken(KlaviyoApiClient.kt:81)
       at com.klaviyo.analytics.Klaviyo.setPushToken(Klaviyo.kt:153)

### Steps to reproduce

```markdown
Klaviyo.initialize(BuildConfig.KLAVIYO_API_KEY, application)
application.registerActivityLifecycleCallbacks(Klaviyo.lifecycleCallbacks)
FirebaseMessaging.getInstance().token.addOnSuccessListener { pushToken ->
    Klaviyo.setPushToken(pushToken)
}

The Klaviyo Android SDK version information
1.3.5
Device Information
Samsung Galaxy S21 FE 5G, Android 14 | Samsung Galaxy Note9, Android 10 | Samsung Galaxy S9+, Android 10 | Samsung Galaxy A42 5G, Android 12
Android Studio Version
2023.1.1
Android API Level
34

Hey, thanks for reporting. Though we have failed to reproduce on our end either - we're looking into this and have a few ideas on how we might remediate the issue

I've identified a repro and will have a patch out soon. This occurs when a push request is decoded from JSON and then compared with the equality operator we recently added for de-duping logic.

Thanks again, we released 1.4.1 to patch the bug!


Add option for a config file

It would be nice to be able to optionally supply CMD params or have a config file.

Closing this for lack of specificity. Please feel free to open an issue with more detail about the precise request.


Different invalid partition handling behavior between Presto and Hive

Hive and Presto have different behavior when handling invalid partition. Presto will throw an exception, while, Hive will parse the partition as null.
for example, if a table t is partitioned by int, and there is an invalid partition with partition key not valid:
partition=%3D20111102
in hive, hive will treat this as a partition with partition key null
in presto, presto will throw an exception,
java.lang.NumberFormatException: For input string: "=20111102"
Shall we treat this as a user invalid data problem, or shall we patch presto to have the same behavior as hive?
Any comments or suggestions are appreciated.

I think this should be fixed now. Please re-open if you still see it


Ios 17 support

Hi,
I am facing issue on ios 17 does this facebook-wda does not support ios 17+

the facebook-wda does not care about the iOS version, it just directly call the WDA API


2.0: Forum: CouchBaseLite 2.0 Replication Error When multiple clients delete Documents

Forum: https://forums.couchbase.com/t/couchbaselite-2-0-replication-error-when-multiple-clients-delete-documents/13341

now ,I using ToDo Example(Couchbase lite 2.0 beta 011) to test Replication Items。i runing app on the multiple android devices, I found add\update items replication is okey.but when one client delete a document,the other client document does not change anything.i don't know what happened.

REF: https://github.com/couchbaselabs/mobile-training-todo/issues/144

Did some investigation :
This issue occurs even with Couchbase-lite-iOS. (i.e Deletions from the app are not going through).
This is the error reported by the SG (using the todo-config.json file)
2017-07-05T13:51:52.177-04:00 Sync+: Inserting rev "user1.6E398F3F-6B63-4A42-BB30-064CAC3A9D98" 2-3b145348adc408cb6c426a0a0858380eb3c1a5f0 history="", array = []string{"2-3b145348adc408cb6c426a0a0858380eb3c1a5f0"}
2017-07-05T13:51:52.178-04:00 CRUD+: Invoking sync on doc "user1.6E398F3F-6B63-4A42-BB30-064CAC3A9D98" rev 2-3b145348adc408cb6c426a0a0858380eb3c1a5f0
2017-07-05T13:51:52.179-04:00 WARNING: Sync fn exception: TypeError; doc = map[_id:user1.6E398F3F-6B63-4A42-BB30-064CAC3A9D98 _rev:2-3b145348adc408cb6c426a0a0858380eb3c1a5f0 _deleted:%!s(bool=true)] -- db.(*Database).getChannelsAndAccess() at crud.go:1049
2017-07-05T13:51:52.179-04:00 Sync: MSG#18    --> 500 Exception in JS sync function

DELETEs directly through the Admin REST API on SG work fine

@rajagp, Thank you very much for your further investigation. Log message said 500 Exception in JS sync function. Can you identify why sync function fails?

DELETEs directly through the Admin REST API on SG work fine

There is a slightly different code path for the blip protocol handling.  From the type error, it might mean that in the doc passed to the sync funtion, it had "true" (string) instead of true (boolean)
@sethrosetter do you know if there are any cblite 2.0 tests that are close to this that could be adapted to possibly repro?

LiteCore sets the _deleted property to a boolean true (not the string "true".)
The document contents shown in the Go error seem to say that _deleted is a bool value; isn't that what the %!s means?
Sync fn exception: TypeError; doc = map[_id:user1.6E398F3F-6B63-4A42-BB30-064CAC3A9D98 _rev:2-3b145348adc408cb6c426a0a0858380eb3c1a5f0 _deleted:%!s(bool=true)]
So since the cause is a JS error in the sync function, has anyone looked at the sync function?

The SG BLIP replication code doesn't do anything with the _deleted property.
The sync function in ToDo does reference doc._deleted a lot, but not in any way that could produce a TypeError.

So I tried with a different config file - one with a simpler sync function that does nothing but channel("public") (and I gave user1 access to public1 channel under "users")  .  I logged in as "user1" on both clients (I have Android and iOS app running)
With that change, I don't see the type error on the SG when I delete from client1 . In fact I do see a replication progress update notification on client 2  . However, the live query listener does not get called back (as DB does not get updated for whatever reason).  [Creation of doc does get synchronized to all clients so I know replication and routing works OK. So only deletions don't]

It seems there is the problem in SG codes.
REF: https://github.com/couchbase/sync_gateway/issues/2713

This should be fixed now, with some changes to LiteCore. You'll just need to update the submodule.

@snej Thank you!

Deleted document replication issue is still reproducible.
SG Version: 1.5.0-555
CBL Android: 2.0.0-DB016
CBL log
09-06 12:18:57.639 15496-15560/com.couchbase.todo E/C4Socket: C4Socket.callback.write() handle -> 0xb00e3ad0, allocatedData.length -> 175
09-06 12:18:57.646 15496-15643/com.couchbase.todo E/WebSocket: WebSocketListener.onMessage() bytes -> 0e020d03004854545000020035303000496e7465726e616c206572726f723a20454f46
09-06 12:18:57.646 15496-15643/com.couchbase.todo E/C4Socket: C4Socket.callback.completedReceive() socket -> 0x90f29930, byteCount -> 35
09-06 12:18:57.646 15496-15561/com.couchbase.todo I/LiteCore [Actor]: BLIP[->blip:<IP_ADDRESS>:4984/todo/_blipsync] performNextMessage
09-06 12:18:57.646 15496-15561/com.couchbase.todo I/LiteCore [Actor]: DB->blip:<IP_ADDRESS>:4984/todo/_blipsync performNextMessage
09-06 12:18:57.647 15496-15561/com.couchbase.todo I/LiteCore [Sync]: {6} now idle
09-06 12:18:57.647 15496-15563/com.couchbase.todo I/LiteCore [Actor]: Push->blip:<IP_ADDRESS>:4984/todo/_blipsync performNextMessage
09-06 12:18:57.647 15496-15561/com.couchbase.todo I/LiteCore [Actor]: Repl->blip:<IP_ADDRESS>:4984/todo/_blipsync performNextMessage
09-06 12:18:57.647 15496-15563/com.couchbase.todo E/LiteCore [Sync]: {7} Got error response to rev user1.c5261e10-fd00-4252-8d63-71a8a27e88cb #2-ed6c4df9ddd5785226ed5e0247d6ec56502f615d (seq 7): HTTP 500 'Internal error: EOF'
09-06 12:18:57.647 15496-15563/com.couchbase.todo I/LiteCoreJNI: [NATIVE] C4Replicator.documentErrorCallback() repl -> 0x0x9230d300, pushing, Internal error: EOF
09-06 12:18:57.647 15496-15563/com.couchbase.todo E/C4Replicator: documentErrorCallback() handle -><PHONE_NUMBER>, pushing -> true, docID -> user1.c5261e10-fd00-4252-8d63-71a8a27e88cb, domain -> 1, code -> 35, internalInfo -> 1004, trans -> false
09-06 12:18:57.651 15496-15564/com.couchbase.todo E/WebSocket: WebSocketListener.onMessage() bytes -> 17020d03004854545000020035303000496e7465726e616c206572726f723a20454f46
09-06 12:18:57.651 15496-15562/com.couchbase.todo I/LiteCore [Actor]: BLIP[->blip:<IP_ADDRESS>:4984/todo/_blipsync] performNextMessage
09-06 12:18:57.651 15496-15564/com.couchbase.todo E/C4Socket: C4Socket.callback.completedReceive() socket -> 0xb00e3ad0, byteCount -> 35

SG Log
2017-09-06T12:18:49.500-07:00 Sync: MSG#21 "setCheckpoint"
2017-09-06T12:18:49.500-07:00 Sync+: MSG#21    --> OK
2017-09-06T12:18:58.098-07:00 Sync: MSG#13! "changes"
2017-09-06T12:18:58.098-07:00 Sync: MSG#22! "changes"
2017-09-06T12:18:58.098-07:00 Sync: Received 1 changes from client
2017-09-06T12:18:58.098-07:00 Sync: Received 1 changes from client
2017-09-06T12:18:58.098-07:00 Sync+: MSG#22!    --> OK
2017-09-06T12:18:58.098-07:00 Sync+: MSG#13!    --> OK
2017-09-06T12:18:58.105-07:00 Sync: MSG#14 "rev"
2017-09-06T12:18:58.105-07:00 Sync: MSG#14    --> 500 Internal error: EOF
2017-09-06T12:18:58.112-07:00 Sync: MSG#23 "rev"
2017-09-06T12:18:58.112-07:00 Sync: MSG#23    --> 500 Internal error: EOF
2017-09-06T12:19:03.218-07:00 Sync: MSG#24 "setCheckpoint"
2017-09-06T12:19:03.218-07:00 Sync+: MSG#24    --> OK


Update build process to minify everything

:tada: This PR is included in version 4.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


I'm getting error while running npm run storybook.

Please refer to the screenshot I've attached with this conversation.

Could you paste the actual text output, including anything above npm's own output?

Following are the warnings and errors when using the commands:
*npm install *(Warnings)
husky
setting up Git hooks
can't find .git directory, skipping Git hooks installation
npm notice created a lockfile as package-lock.json. You should commit this
file.
npm WARN<EMAIL_ADDRESS>requires a peer of
<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for
<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current:
{"os":"win32","arch":"x64"})
*npm run storybook *(Errors)
C:\Users\COMIT-06\Desktop\storybook-master>npm run storybook
npm ERR! missing script: storybook
npm ERR!
C:\Users\COMIT-06\AppData\Roaming\npm-cache_logs\2017-08-18T06_19_07_725Z-debug.log
Please find the attached debug.log file for your reference.
On Thu, Aug 17, 2017 at 10:31 PM, Jordan Harband<EMAIL_ADDRESS>wrote:

Could you paste the actual text output, including anything above npm's own
output?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/airbnb/react-dates/issues/675#issuecomment-323133590,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AU840cFreDzUlCZveTiCEri3IigzyM6Xks5sZHHygaJpZM4O6LHD
.

--
Thanks & Regards,
Gaurav Sharma

I'm confused why husky is running; we don't use that; it appears you're running npm install in "storybook-master", not "react-dates"?

Yes, because that was mentioned in the instructions. I'm doing something
wrong?
From where I can download the application 'react-dates' separately instead
of 'storybook-master'?
On Sat, Aug 19, 2017 at 9:07 PM, Jordan Harband<EMAIL_ADDRESS>wrote:

I'm confused why husky is running; we don't use that; it appears you're
running npm install in "storybook-master", not "react-dates"?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/airbnb/react-dates/issues/675#issuecomment-323530346,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AU840QTUMufPom_CbaWo_bDr28xEb8mpks5sZwEwgaJpZM4O6LHD
.

--
Thanks & Regards,
Gaurav Sharma

Ok, so, two things - 1) if you want to consume react-dates, you install it from npm. 2) if you want to develop react-dates, or play around in its storybook, you follow these instructions.
I'm not sure where you saw anything about "storybook-master" - can you link to that?

Hi Jordan,
Thanks for the updates, it's working now.
On Sun, Aug 20, 2017 at 5:09 AM, Jordan Harband<EMAIL_ADDRESS>wrote:

Ok, so, two things - 1) if you want to consume react-dates, you install
it from npm. 2) if you want to develop react-dates, or play around in its
storybook, you follow these instructions
https://github.com/airbnb/react-dates#live-playground.
I'm not sure where you saw anything about "storybook-master" - can you
link to that?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/airbnb/react-dates/issues/675#issuecomment-323553937,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AU840XFXKSB5w23hcNb8dJdw9Bx9jDZZks5sZ3JIgaJpZM4O6LHD
.

--
Thanks & Regards,
Gaurav Sharma


Open-source front end code

Hello, thank you for great app!
It seems that currently web-app is shipped in bundled form in repository. I see great potential in such graph editor, in particular to explore large CMake build trees. Are there any plans to open source original Javascript/Typescript front end code?

+1

+1

+1

+1

+1

Hi @hlvlad, I'll look into this and get back to you.

Hey @pkgoogle , I was wondering, when do you plan on opening source this?

Hi @Subashkatel, the current plan is on the next release. There's still uncertainty on that time, but I will say it's at least 3 weeks away.

any updates?

+1

Hey @pkgoogle any further updates regarding this?

Hi All, thank you for your patience. There was a lot of uncertainty around this so I didn't want to communicate anything incorrect w/o some clarity. Currently the expectation is that it is at least 2 months away due to the level of internal only code that we cannot open source. It's effectively a refactor, thanks again.

+1

Hi gays, I find this repo https://github.com/jinjingforever/me-external-test, seem like is developer want to public front source code created temp repo.

Yes, we are actively working on open-sourcing the UI code and will be releasing it this week or next week. Stay tuned!
(Sorry, had to take my test repo offline for now :) )

The front-end code has been open-sourced. See https://github.com/google-ai-edge/model-explorer/tree/main/src/ui
Thanks for the patience!


Support running as a sokcs5 proxy

I think this is doable when prometheus is compiled with go 1.9 and gets socks5
proxy support for it's proxy_url argument.
something like this could work where node:1 is resolved by the socks proxy to
match a module named node in exporter_exporter as the first entry in the node
exporter section.
  - job_name: 'node'
    scrape_interval: 1s
    static_configs:
      - targets: ['node:1']
    scheme: https
    proxy_url: "socks5://localhost:3000"
    tls_config:
      ca_file: ca.crt
      key_file: client.key
      cert_file: client.crt
      server_name: localhost

It get's interesting when we suddenly have a process cluster running on a node
which exporterexporter needs to pick up.
One could imagine something like this:
modules:
  myapp:
    method: http
    http:
      ports: 7000-7032

which would map to scrapable myqpp-targets 1-16
  - job_name: 'myapp'
    scrape_interval: 1s
    static_configs:
      - targets: ['myapp:1', 'myapp:2', 'myapp:3', 'myapp:4', 'myapp:5', 'myapp:6', ....
    scheme: https
    proxy_url: "socks5://localhost:3000"
    tls_config:
      ca_file: ca.crt
      key_file: client.key
      cert_file: client.crt
      server_name: localhost

As exporterexporter works right now I need one job for each myapp process in that host local application cluster which is the main problem I want to solve.

I made a very small POC from this using https://github.com/armon/go-socks5 with a minor modification +  https://github.com/valyala/fasthttp/blob/master/fasthttputil/inmemory_listener.go to bind the socks Dial to the http servers ServeTLS function.   I did not add support for port ranges but other than that the config I used above works exactly like that.

I pushed my test code here: https://github.com/thomasf/exporter_exporter/commit/fcc25b9de59b5a5b143fc22395238f6dbeaf4505
It's not like it's close to anything resembling a proper solution but it is working.

Sorry for the silence, this will take a bit of reviewing, but sounds like a good move.

prometheus 1.8.0 is now compiled w. go 1.9.1 thus supporting socks5 proxy..
I will revisit this soon, I might copy the relevant parts from the go-socks5 lib into this project instead of using it as a library, not sure yet but it looks like that might be for the best..
It could maybe be a good idea to split exporter_exporter into a few packages instead of only having one main.. idk.


exploitdb: 2021-06-03 -> 2021-06-05

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/exploitdb/versions.
meta.description for exploitdb is: "Archive of public exploits and corresponding vulnerable software"
meta.homepage for exploitdb is: "https://github.com/offensive-security/exploitdb"
meta.changelog for exploitdb is: ""
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/dmfmwc9nikznd6xfmns00va1ww98srcb-exploitdb-2021-06-05/bin/LICENSE.md passed the binary check.

/nix/store/dmfmwc9nikznd6xfmns00va1ww98srcb-exploitdb-2021-06-05/bin/README.md passed the binary check.

/nix/store/dmfmwc9nikznd6xfmns00va1ww98srcb-exploitdb-2021-06-05/bin/files_exploits.csv passed the binary check.

/nix/store/dmfmwc9nikznd6xfmns00va1ww98srcb-exploitdb-2021-06-05/bin/files_shellcodes.csv passed the binary check.

/nix/store/dmfmwc9nikznd6xfmns00va1ww98srcb-exploitdb-2021-06-05/bin/searchsploit passed the binary check.

/nix/store/dmfmwc9nikznd6xfmns00va1ww98srcb-exploitdb-2021-06-05/bin/.searchsploit_rc passed the binary check.

0 of 6 passed binary check by having a zero exit code.

6 of 6 passed binary check by having the new version present in output.

found 2021-06-05 in filename of file in /nix/store/dmfmwc9nikznd6xfmns00va1ww98srcb-exploitdb-2021-06-05

directory tree listing: https://gist.github.com/0f0d19dd84d826dc769bb8cf527618a7

du listing: https://gist.github.com/73329ccf4363c7784d37b3469c51e1d4

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
exploitdb

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/dmfmwc9nikznd6xfmns00va1ww98srcb-exploitdb-2021-06-05 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A exploitdb https://github.com/r-ryantm/nixpkgs/archive/47371be95b595923c6c3d2736e2ed339a8457f0c.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/dmfmwc9nikznd6xfmns00va1ww98srcb-exploitdb-2021-06-05
ls -la /nix/store/dmfmwc9nikznd6xfmns00va1ww98srcb-exploitdb-2021-06-05/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

exploitdb

Maintainer pings
cc @applePrincess for testing.

Result of nixpkgs-review pr 125914 run on x86_64-linux 1

1 package built:

exploitdb

Result of nixpkgs-review pr 125914 at 47371be9 run on x86_64-linux 1

1 package built successfully:

exploitdb

1 suggestion:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/tools/security/exploitdb/default.nix:14:3:
   |
14 |   installPhase = ''
   |   ^


XLM is from 2014, not 2016

Yes, you are quite right. I'm not sure where this error was introduced, it's a pity it was present in the first release.
I will update it in source, and perhaps I will release a version 2 at some point in the future.

It's fixed in source now.


Hero cards in Web chat not working properly in IE 10 document mode

Hello,
I am using hero card to display buttons in web chat channel, but its not behaving as expected, in  IE 10 document mode. when I click on button ot type the menu text its posting the same menu value twise.. and when i click on other button ,, its always sending the first button value along with selected menu item value.
Note: this issue is no seen in chrome or IE 11. only problem problem with IE 10 document mode.
Any help?

Sorry, but IE10 is not supported.


Add impl Encode for [T], where T: Encode

Since Encode takes a reference, this allows us to encode &[T] directly
using this implementation. The encoding scheme is the same as for
Vec.
This also makes the implementation for &[u8] superfluous, since we get
an implementation for [u8] by virtue of u8 implementing encode. This
also gives us free implementations for &[u16], &[u32], etc. which is
quite useful. Nonetheless, we keep the implementation for &[u8] around,
because the implementation can directly write a large number of bytes,
which can be more efficient than the generic implementation.
And uh, apologies if you would have preferred I raise an issue first, but this felt like a small enough change to warrant a direct PR.
I actually ran into a situation where this was convenient. My workaround to not having this was to take &Vec<T> as an argument to my function, and this seemed highly unidiomatic. I was also surprised not to see this when digging around in the docs the other day.

I think this will conflict with #526 and I want to get that PR merged in first, so this PR will have to stay open for a while.
Thank you for your contribution regardless!

#526 is now merged.
Looks like this PR is still valid. You can remove the implementation on Box<[T]> because I think the implementation on [T] and Box<T> is strictly better.

Nice! I've removed redundant implementations for Box<T> as well as for &[T] (since it's made redundant since we now have both [T] and &T, and thus &[T]), the behavior for the latter is the same as before, so this should have no effect on end users.

Thanks!


ref(*): rm label selectors from example root service

Should help prevent any confusion around label selectors
on root service #2532

Signed-off-by: Michelle Noorali<EMAIL_ADDRESS>
Description:

Affected area:

New Functionality      [ ]
Documentation          [ ]
Install                [ ]
Control Plane          [ ]
CLI Tool               [ ]
Certificate Management [ ]
Networking             [ ]
Metrics                [ ]
SMI Policy             [ ]
Security               [ ]
Tests                  [ ]
CI System              [ ]
Performance            [ ]
Other                  [ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?

Codecov Report

Merging #2658 (9efc517) into main (f43b9e4) will decrease coverage by 0.22%.
The diff coverage is 95.65%.

@@            Coverage Diff             @@
##             main    #2658      +/-   ##
==========================================
- Coverage   64.34%   64.11%   -0.23%
==========================================
  Files         152      151       -1
  Lines        6997     6753     -244
==========================================
- Hits         4502     4330     -172
+ Misses       2479     2407      -72
  Partials       16       16

Flag
Coverage Δ

unittests
64.11% <95.65%> (-0.23%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/catalog/ingress.go
78.57% <ø> (+0.14%)
:arrow_up:

pkg/catalog/mock_catalog_generated.go
0.00% <ø> (ø)

pkg/catalog/routes.go
83.17% <ø> (+1.77%)
:arrow_up:

pkg/envoy/route/route_config.go
98.31% <95.55%> (-1.69%)
:arrow_down:

pkg/envoy/proxy.go
94.33% <100.00%> (+25.10%)
:arrow_up:

pkg/configurator/validating_webhook.go
80.00% <0.00%> (+3.44%)
:arrow_up:

Continue to review full report at Codecov.

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


On some Samsung Galaxy devices, the front image does not appear

On some Samsung Galaxy devices, the front image does not appear in the product page. We need to try to reproduce that in an emulator.
This is a screenshot from a contributor with the Galaxy s6 edge

Samsung Galaxy A5 2016 (SM-A510F) - fresh install - Android 7.0:

same issue as described
also, pictures don't load when in search results

See video: https://drive.google.com/file/d/1-25KBluAgtqYckpOJTuWGsDo8Fv3xh_5/view?usp=sharing
Samsung Galaxy A5 2017 (SM-A520F) - recent install - Android 8.0:

no issues

Samsung Galaxy S9 (SM-G960F) - recent install - Android 10:

no issues

Closed via #3544


Operator Hub is needs to be updated with new releases

Is your feature request related to a problem? Please describe.
Operatorhub.io has an outdated version of Eunomia. Newer versions are much more stable and should be used by anybody interested in the tool.
Describe the solution you'd like
Every sprint, as we release a new version, operator hub gets also updated.

For reference, PR #294 got this part of the way there.
I believe the last piece would be to update the Makefile to properly run the script when a release is created.

I also just submitted PR #300 to document some steps that were missing in the release process. I plan on pushing v0.1.3 to operatorhub.io.

I believe the last piece would be to update the Makefile to properly run the script when a release is created.

Running the script will be a manual process for now. We won't add this to the fully automated release steps right now.

PR to update operatorhub.io to v0.1.4 ... https://github.com/operator-framework/community-operators/pull/1291. We will be doing this for every release now going forward.


Product URl key not accepting value for Chinese, Japnese, Arabic locale

Bug report
Title
Product URl key not accepting value for Chinese, Japanese, Arabic locale
Issue Description
When the user base locale is Chinese then he/she not able to add the product in Chinese locale as the product URL key is not accepting these types of locale symbols.
Preconditions
1. framework Version- master

Steps to reproduce
1. step1- admin-> add product-> enter url key value as 来宾

Expected result
the entered value should be accepted
Actual result
url key is not accepting in product if add value 来宾

fixed https://prnt.sc/wn819j

fixed https://prnt.sc/wn819j


Issue on esp_http_client_example (IDFGH-6717)

Hi,
I was doing some tests with esp_http_client and used the _http_event_handler as show in esp_http_client_example.
I think the buffer must be freed always in HTTP_EVENT_DISCONNECTED, not only if mbedtls errors happens.
In my tests if I don't free buffer on disconnect event heap is corrupted after a sequence of HTTP requests.

@luanfrj Can you specify which buffer needs to be freed, preferably by posting the code.

Hi @ESP-YJM ,
The buffer is output_buffer. In the file esp_http_client_example.c, this code snippet, starting from line 98, could be changed from:
        case HTTP_EVENT_DISCONNECTED:
            ESP_LOGI(TAG, "HTTP_EVENT_DISCONNECTED");
            int mbedtls_err = 0;
            esp_err_t err = esp_tls_get_and_clear_last_error(evt->data, &mbedtls_err, NULL);
            if (err != 0) {
                if (output_buffer != NULL) {
                    free(output_buffer);
                    output_buffer = NULL;
                }
                output_len = 0;
                ESP_LOGI(TAG, "Last esp error code: 0x%x", err);
                ESP_LOGI(TAG, "Last mbedtls failure: 0x%x", mbedtls_err);
            }
            break;

To:
        case HTTP_EVENT_DISCONNECTED:
            ESP_LOGI(TAG, "HTTP_EVENT_DISCONNECTED");
            int mbedtls_err = 0;
            esp_err_t err = esp_tls_get_and_clear_last_error(evt->data, &mbedtls_err, NULL);
            if (err != 0) {
                output_len = 0;
                ESP_LOGI(TAG, "Last esp error code: 0x%x", err);
                ESP_LOGI(TAG, "Last mbedtls failure: 0x%x", mbedtls_err);
            }
            if (output_buffer != NULL) {
                free(output_buffer);
                output_buffer = NULL;
            }
            break;

In this case, when disconnect event happens it woud free the output_buffer even when mbedtls return no errors.

@luanfrj Yes, you are right. Thanks for reporting it.

Thanks for the answer @ESP-YJM.
If possible, I can fork and send a pull request with the fix.
Regards,
Luan


Add QueryNode enum and test_query function

Resolve #776

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

50 of 71 (70.42%)  changed or added relevant lines in 3 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.07%) to 97.852%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core/src/ast_builder/query.rs
37
58
63.79%

Files with Coverage Reduction
New Missed Lines
%

core/src/executor/aggregate/mod.rs
2
92.2%

Totals

Change from base Build<PHONE_NUMBER>:
-0.07%

Covered Lines:
31021

Relevant Lines:
31702

💛  - Coveralls


[Dataset] make rgcn compatible with the latest version of numpy

Description

Checklist
Please feel free to remove inapplicable items for your PR.

[x] The PR title starts with [$CATEGORY] (such as [NN], [Model], [Doc], [Feature]])
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[x] Code is well-documented
[x] To the best of my knowledge, examples are either not affected by this change,
or have been fixed to be compatible with this change
[x] Related issue is referred in this PR

Changes

[Reminder] I will modify rgcn_conv.py in this pull request. Remove the mindspore branch in the rgcn_conv.


ID email:
User feedback: something
(other_parties[0].email)

Question ID
email

Details
.  My rent was typed wrong.  My rent is $1100 per month

Variable being sought
other_parties[0].email

Package version
1.6.3

Filename
docassemble.MOHUDEvictionProject:data/questions/MOHUDEvictionProject.yml

Could not find any error relating to rent amount during testing on live site.


Attention Visualization

Can you provide Attention Visualization code?

Hello @annni1 , thank you for your interest in our work. Sorry for late response. Is your issue solved?


Add back group methods - take 2

just running tests here, then will likely force push this to #274

ok @getzze, I think we're there.  I pulled it out into a new PR so that I could focus on a couple things.  I'd be happy to either force push this branch onto yours, or just add you as an author to the squash-merge here, whichever you prefer.
and, if you have time, I'd appreciate your eyes on this

I was checking the restrictions for using mypyc and some parts are not compatible with it, namely that you cannot delete attributes from classes and classes don't have __dict__.
Then maybe the implementation can be simplified by creating a factory function to create SignalGroup subclasses to be used in SignalGroupDescriptor, allowing passing a keyword argument with conflicting signals on subclassing SignalGroup, then just raise an error in SignalGroup creation if there is an attribute name conflict.
Also, we should call __set_name__ on conflicting Signals otherwise they have an empty name.
def signal_group_forbidden_attr(name: str):
    return name.startswith("_psygnal")

def signal_group_reserved_attr(name: str):
    reserved = set(dir(SignalGroup))
    return name in reserved or name.startswith("psygnal")

def factory_signal_group(name: str, signals: dict[str, Signal], strict: bool = False) -> SignalGroup:
    conflicts = {}
    for key, sig in signals.copy().items():
        if signal_group_forbidden_attr(key):
            # forbidden
            del signals[key]
            continue

        if signal_group_reserved_attr(key):
            conflicts[key] = sig
            del signals[key]

        # Special SignalInstance
        sig._signal_instance_class = _DataclassFieldSignalInstance

    if conflicts:
        Names = "Names" if len(conflicts) > 1 else "Name"
        Are = "are" if len(conflicts) > 1 else "is"
        warnings.warn(
            f"{Names} {sorted(conflicts)!r} {Are} reserved. You cannot use these "
            "names to access SignalInstances as attributes on a SignalGroup. (You "
            "may still access them as keys to __getitem__: `group['name']`).",
            UserWarning,
            stacklevel=2,
        )

    print(f"{signals=}, {conflicts=}")
    return type(name, (SignalGroup,), signals, reserved_signals=conflicts)

    def __init_subclass__(
        cls,
        strict: bool = False,
        reserved_signals: Mapping[str, Signal] = {},
    ) -> None:
        """Collects all Signal instances on the class under `cls._psygnal_signals`."""
        # Collect Signals and remove from class attributes
        # Use dir(cls) instead of cls.__dict__ to get attributes from super()
        forbidden = {
            k for k in dir(cls)
            if isinstance(getattr(cls, k), Signal) and (signal_group_forbidden_attr(k) or signal_group_reserved_attr(k))
        }

        if forbidden:
            raise TypeError(
                f"SignalGroup subclass cannot have attributes starting with '_psygnal'."
                f" Found: {forbidden}"
            )

        _psygnal_signals = {}
        for k in dir(cls):
            val = getattr(cls, k, None)
            if isinstance(val, Signal):
                _psygnal_signals[k] = val

        for k, sig in reserved_signals.items():
            sig.__set_name__(cls, k)
        cls._psygnal_name_conflicts = reserved_signals

        # Collect the Signals also from super-class
        # When subclassing, the Signals have been removed from the attributes,
        # look for cls._psygnal_signals also
        cls._psygnal_signals = {
            **getattr(cls, "_psygnal_signals", {}),
            **_psygnal_signals,
            **reserved_signals,
        }

        cls._psygnal_uniform = _is_uniform(cls._psygnal_signals.values())
        if strict and not cls._psygnal_uniform:
            raise TypeError(
                "All Signals in a strict SignalGroup must have the same signature"
            )
        super().__init_subclass__()

Thanks!

I was checking the restrictions for using mypyc and some parts are not compatible with it, namely that you cannot delete attributes from classes and classes don't have dict.

Can you make a test that fails according to what you think the issue would be?  Because we do test conflicts on both compiled and uncompiled code here... and it seems to be working fine

Also, we should call set_name on conflicting Signals otherwise they have an empty name.

👍

However, I have doubts if it's a good idea to have real and fake Signal attributes in SignalGroup.
An example of unexpected behavior:
class MyGroup(SignalGroup):
    sig: Signal[int]
    connect: Signal[bool]

hasattr(MyGroup, "sig")  # True
hasattr(MyGroup, "connect")  # True
delattr(MyGroup, "sig")  # success
delattr(MyGroup, "connect")  # AttributeError, trying to delete the method on `SignalGroup`

To go back to your example, why would somebody want to do hasattr(MyGroup, "sig")? If it's to check if the signal sig is in the group, then it's not a safe method, as conflicting signal names would point to the method anyway. One would need a dedicated function or classmethod to check if the Signal is in the class instead.
It seems safer to me to document well that SignalGroup is a special class, first that it has to be subclassed, second you can define the Signals attached to the group using syntactic sugar, although the Signals end up not being attributes of the class. So the primary way of subclassing SignalGroup would be with a factory function, the above example would just be syntactic sugar.

Can you make a test that fails according to what you think the issue would be? Because we do test conflicts on both compiled and uncompiled code here... and it seems to be working fine

I didn't test very well before posting, actually this code is not even working correctly...
I didn't know it was tested on compiled code also and that it worked fine, then forget about it then. What I understood from mypyc documentation is that these were the restrictions of native classes, but then SignalGroup is probably not a native class.

However, I have doubts if it's a good idea to have real and fake Signal attributes in SignalGroup.
An example of unexpected behavior:
class MyGroup(SignalGroup):
    sig = Signal[int]
    connect = Signal[bool]

hasattr(MyGroup, "sig")  # True
hasattr(MyGroup, "connect")  # True
delattr(MyGroup, "sig")  # success
delattr(MyGroup, "connect")  # AttributeError, trying to delete the method on `SignalGroup`

To go back to your example, why would somebody want to do hasattr(MyGroup, "sig")? If it's to check if the signal sig is in the group, then it's not a safe method, as conflicting signal names would point to the method anyway. One would need a dedicated function or classmethod to check if the Signal is in the class instead.
It seems safer to me to document well that SignalGroup is a special class, first that it has to be subclassed, second you can define the Signals attached to the group using syntactic sugar, although the Signals end up not being attributes of the class. So the primary way of subclassing SignalGroup would be with a factory function, the above example would just be syntactic sugar.

Quoting myself here, but with the factory function this unexpected behavior would go away, so I solved my own problem :laughing:

The main issue I have with the factory function is that it's a solution only for evented dataclasses, but not for directly created SignalGroups subclasses.  So, i'd like to focus on the current solution and determine if there are any tests we can make that show undesirable behavior.
delattr(MyGroup, "connect")  # AttributeError, trying to delete the method on `SignalGroup`

to be honest i'm not worried about this example at all.  It's likely to be a very rare attempt (deleting a signal only in the case of a conflict).  The user would have already received a warning that something funny was up with connect, and it's actually the correct exception to raise at that point.
Were there any other issues you can demonstrate with the current pattern?

class MyGroup(SignalGroup):
    sig = Signal(int)
    connect = Signal(bool)

g = MyGroup()

I tried making a copy and deepcopy of MyGroup, a copy and deepcopy of g, and sig and connect behave identically. I don't know what else to try, maybe pickling?

I tried making a copy and deepcopy of MyGroup, a copy and deepcopy of g, and sig and connect behave identically. I don't know what else to try, maybe pickling?

can you give me an assert line to show what you expect to happen?

I run test_group.test_group_deepcopy with MyGroup with sig and connect signals. I'll paste the code.

that's enough info, thanks.  I'll parametrize that test with a group with conflicts and work on it

added a test: https://github.com/pyapp-kit/psygnal/pull/286/commits/5b1f7014cfdae95d0c9ef78be84e0423d2024182
it still seems to be working though... so you might indeed need to paste some code if you think you found a case that raises an unexpected error

also added tests to make sure that the set_name is called on both conflicting and non-conflicting names on SignalGroups and all their subclasses.  They were, and we don't need to call it explicitly

it still seems to be working though... so you might indeed need to paste some code if you think you found a case that raises an unexpected error

No, no, I didn't find any error, all working great!

Oh good!  Ok, I'll merge then so I can cut a new release without the deprecations, and so you can finally actually use the original previous value emission feature that you originally added here ;)


An exception occurred while running the ‘python run_crslab. py  --config config/crs/kgsf/redial.yaml’ code

Hi!
Executing python run_crslab. py  --config config/crs/kgsf/redial.yaml,  return MemoryError. How should I fix it
File "F:\experiment\CRSLab-main\crslab\download.py", line 207, in untar
  shutil.unpack_archive(fullpath, path)
File "E:\Anaconda3\envs\CRSLab\lib\shutil.py", line 1241, in unpack_archive
  func(filename, extract_dir, **kwargs)
File "E:\Anaconda3\envs\CRSLab\lib\shutil.py", line 1154, in _unpack_zipfile
  data = zip.read(info.filename)
File "E:\Anaconda3\envs\CRSLab\lib\zipfile.py", line 1476, in read
  return fp.read()
File "E:\Anaconda3\envs\CRSLab\lib\zipfile.py", line 926, in read
  buf += self._read1(self.MAX_N)
MemoryError

This problem is due to insufficient CPU memory, you can try again after cleaning up memory.


lessphp support

I hope this is still on the radar. I could care less about assetic, and it sounds hard to integrate. If there's a way to support less before supporting assetic altogether, I would be most grateful :)

I put together a small bundle to integrate a LESS parser: [bcremer/sculpin-less-bundle]
(https://github.com/bcremer/sculpin-less-bundle).  It's still a POC but I plan to add more futures soon.
It is not yet compatible with a structure used in https://github.com/fruux/sabre.io for example.
The generated CSS files are getting placed in the same directory as the source LESS files.
Feedback is welcomed.


DavMount link dead

At https://github.com/mikedeboer/jsDAV/blob/master/README.md#supported-rfcs, http://code.google.com/p/sabredav/wiki/DavMount is a dead link. Remove or retarget?

Myeah we'd better remove the dead link.


Authorize user by LDAP group

The authorize information should merge LDAP group role privilege and user project role privilege

If the current user is listed in user project role table, the user's privilege override the user's group privileges.
If the current user is not listed in user project role table, query all roles and check the highest privilege to this project.
Projects should display all projects which current user can access

Need to implement the Security Context of Project Group Member in sprint 32


Please add compile switch to bypass bundled Expat

Sorry, it's me again :)
Would it be possible to add a compile switch to use the systemwide installation of Expat during compilation rather than the bundle? Or to resolve the bundle altogether? Linux distros try to unbundle dependencies for security and other reasons and there is an actual demand for that with hexpat. Is this technically possible with hexpat?
Thanks and best, Sebastian

It should be possible, and I'm happy for that change. We could even make it the default. I can get to it some time. If you want it soon, feel free to send me a patch.

I know very little about Haskell and Cabal so a fix would take me a considerable amount of time, by myself. I'd be happy to team up about it though.

Don't worry - I don't think it's too difficult (for me). I'll sort it out soon.

That would rock the house 😄

Fixed in http://hackage.haskell.org/package/hexpat-0.20.12
blackh@amentet:~/src/hexpat$ cat test.sh
#!/bin/sh -e
cabal install $@
cd test
cabal configure
cabal build
ldd dist/build/testsuite/testsuite
blackh@amentet:~/src/hexpat$ ./test.sh 2>&1 | tail -10
Linking dist/build/testsuite/testsuite ...
	linux-vdso.so.1 =>  (0x00007ffc3113f000)
	libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007ff8ca7af000)
	libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007ff8ca52f000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff8ca225000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007ff8ca01d000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff8c9e19000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff8c9bfb000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff8c9832000)
	/lib64/ld-linux-x86-64.so.2 (0x000055f9cecc5000)
blackh@amentet:~/src/hexpat$ ./test.sh -f bundle 2>&1 | tail -10
[7 of 7] Compiling Main             ( suite/TestSuite.hs, dist/build/testsuite/testsuite-tmp/Main.o ) [Text.XML.Expat.Cursor.Tests changed]
Linking dist/build/testsuite/testsuite ...
	linux-vdso.so.1 =>  (0x00007ffe8e5af000)
	libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007fa0bd94d000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa0bd644000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fa0bd43b000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa0bd237000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa0bd01a000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa0bcc50000)
	/lib64/ld-linux-x86-64.so.2 (0x000055803ef7d000)
blackh@amentet:~/src/hexpat$

test suite passes without bundling.

Very nice! Cool that it's off by default.
How does cabal know that -f translates to activation of flag bundle?
Could you maybe add a scary warning to "Use bundled libexpat", e.g. "Use bundled libexpat (not a good idea for production, think security updates)" or something along those lines?
I also noticed that -DHAVE_MEMMOVE -DXML_NS -DXML_DTD is missing out on the high quality sources of entropy like getrandom and arc4random_buf that Expat 2.2.1 added support for. Normally a run of ./configure detects availability of these but I guess it's going to be hard to make anything close work here? What platforms does hexpat support to be compiled for?

We can run configure in Haskell. I'll find some time and do some work on improving that.
The reason why I bundled it was because otherwise installing hexpat is a total headache on Windows.

cabal install -f bundle hexpat

I overlooked bundle here previously, sorry.

We can run configure in Haskell. I'll find some time and do some work on improving that.
The reason why I bundled it was because otherwise installing hexpat is a total headache on Windows.

Okay cool!
Since you mention Windows, if configure integration turns out painful, maybe adding something like this (to a new compiled file?) would work as well:
#ifndef _WIN32
# error Use of Expat bundle is limited to Windows (see issue #8)
#endif

Just an idea :)

When bundled, it works perfectly on every platform except Javascript.

Except JavaScript? Can you elaborate?

libexpat isn't written in Javascript, so it doesn't compile on Javascript. (GHCJS). Every other platform supported by GHC is C-based.


Add option to run on top of Redis

Make entire S3 module optional
Switch Cassandra to be disabled by default

the bulk of these changes should be in https://github.com/spinnaker/scheduled-actions/

I thought that library was for echo.

yeah, sorry nvm

Rebased and implemented the new history APIs.
@spinnaker/netflix-reviewers PTAL

. Addressed license headers
. Stripped out @author tags
. Restored cassandra.enabled

Ze builds failed on this one

@ajordens I forgot to re-test EVERYTHING. My tweak to the cassandra impacted its unit test. That has been resolved and verified locally. Let's see how this plays out on travis.

LGTM
Can you add something to http://www.spinnaker.io/docs around migrating to this (what config needs to change, etc.)

@ajordens I've created http://www.spinnaker.io/docs/front50-cassandra-to-redis


:recycle: Apply TimetableTopArea dark theme design

Issue

close #676

Overview (Required)

The TimetableHeader image now changes between light and dark mode.

Links

Figma

Screenshot

Before(light)
Before(dark)

After(light)
After(dark)

@Corvus400  Dark mode screen looks even better with your work. thank you for your contrib!


Update scripts must not fail if Lambda function does not already exist.

When updating from older versions of SaaS Boost to newer ones, we rely on each Lambda function's update.sh script to build the code and update any relevant Lambda functions in the AWS account. If any of these update.sh scripts fail, an entire SaaS Boost update will fail, since it assumes something has gone wrong with building or uploading that code.
However, in the case we add a new Lambda function, the existing Lambda function may not already exist until the CloudFormation stack is updated, which is something the Installer executes after running each update.sh script. This change makes these update scripts not fail in that case.

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

For the services' update scripts, we may have to add --no-paginate

To test this I created 1000 lambda functions, and it looks like we don't need to do anything special with pagination for services.
With 1000 functions labelled example{0...1000}
aws lambda list-functions --query 'Functions[?ends_with(FunctionName, `"0"`)] | [].FunctionName' --output text | sed 's/\t/\n/g' | wc -l
     101

and
aws lambda list-functions --query 'Functions[?starts_with(FunctionName, `example`)] | [].FunctionName' --output text | sed 's/\t/\n/g' | wc -l
    1001

Not entirely sure why the normal service update scripts work without the sed command, but I'm willing to take that at face value. I agree that it might make sense to switch to get-function for performance reasons, but for reference scanning 1000 functions only takes ~2 seconds, which is far less than the amount of time it takes to build the code and update each function anyway, so I would argue it isn't worth the extra effort of doing error checking for the minimal performance gain.


State that we are NFT gallery on kodadot.js.org

There is no info on  kodadot.js.org about NFT gallery

Meanwhile done, forgot to link up


Schedule as workflow creates empty workflows.

Hi:
Schedule as workflow creates empty workflows in Hue-3.9.0. There is a JS error in Workflow editor. I have noticed this Issue in https://issues.cloudera.org/browse/HUE-3793, but I did‘t find any patches for this Bug. Can you help me with some ideas?

Sounds like an old bug. Do you have it on http://demo.gethue.com? (Hue 3.12)

Hi:
It's an old bug on HUE 3.9.0, I need a patch for this bug,Do you have it?


Show error message instead of ASSERT when a vslot has an invalid texture definition as reported in #74.

This prevents a crash, however, I get errors about textures who are existing, try out the map pandora for instance.

I'm not 100% sure if this is related to this commit or if I have build it somehow different which causes that bug, but on explosions the whole map is getting darker till you move away far enough from the point of impact, then it's normal light again.

Update: This explosion/light bug seems to happen only on Pandora.

Could you possibly add comments to the function you touched? I get that lmid+1 is an index into lightmaptexs…but WHY

@Croydon that /should/ be fixed in 21d676e.

Cool. Now I am interested: How can it happen that the error is thrown multiple times?
Could we maybe approach this on the text/console level rather than directly in here?
As it seems to me from reading the code, this produces a lot of text. Maybe we can wait untill all or most errors have occurred and then print all the slots?

Btw, any particular reason for making the function and the variable static?
How about putting the set as a static varible inside the function, so It's scope is bound…

No particular reason, was put outside of it so we can add a reset function in the future so it is reset on mapchange.
How do you mean the error can occur multiple times? There can be multiple invalid textures.
Not really sure if it would be a good idea to delay that as it is thrown on the first frame the texture is used, it's also not consistent with other error handling code currently in the engine.

Static in a global context means, that the variable is bound to the local translation unit (cpp file). That's why I am asking.
I mean, you are preventing that the error is is printed multiple times. So from what you said it sounds like that the error is thrown every time part of the texture is being rendered. Right?
Could we maybe save on the set by removing invalid textures from the texture list altogether? Possibly detecting invalid textures while they're being loaded?
That would render the code above a lot simpler and we would save on the set lookup every frame.

We don't need it outside of it as of now, so that should be ok right?
The error is thrown every time the tmus are updated, so multiple times a frame, maps should be fixed to avoid this issue. I'm pretty sure it's not safe to remove textures at this point in the rendering pipeline. Throwing this at load time would be better but it is out of my current knowledge of the engine and seeing as this is the way error handling is done in other systems aswel, for example missing mapsounds, I don't think it's that much of an issue.

@killme It is fixed. :)

What about this?

I believe this can be merged, after the fixes have been squashed and the branch was rebased

Better late than never ...
How about it now?

+1 go for it


Unused/duplicate function purge_soft_deleted_blob

This seems to be a copy/paste of the preceding function get_deleted_blobs with a different name, but it's not used anywhere...
https://github.com/microsoft/PubSec-Info-Assistant/blob/16ff7504ad2fa62fbca21ce4a82a2e62fecf3aa1/functions/FileDeletion/__init__.py#L59

Hey @dayland, I am interested to work on this issue. Can you please assign it to me?


As far as I can tell, if you were setting 'native_unit_of_measurement' to the unit returned by the API, then HA would do the conversion / you would not need the conversion code.

          As far as I can tell, if you were setting 'native_unit_of_measurement' to the unit returned by the API, then HA would do the conversion / you would not need the conversion code.

If I select the (range or Odometer) entity, and then go into settings, then I can change 'Unit of Measurement' from 'KM' to 'Mi', but when I save nothing happens... the same action in the Nest integration allows me to switch units - I think this works as it knows that native unit, so can apply the conversion within HA (rather than within your code).
Originally posted by @lucky81 in https://github.com/leeyuentuen/polestar_api/issues/8#issuecomment-1879732369

@lucky81, this should possible fix the issue: https://github.com/leeyuentuen/polestar_api/commit/31c424a6748e51c4a47a6c9e79cc54a2b72200c5

see beta 1.5.0

Tested. This is working perfectly - I can now switch units to miles (in Metric mode) in the entity settings. Thank you very much.
Note that as reported elsewhere this change has introduced a bug where Odometer does not initially display (the default unit isn't working), but when I set it to miles is works fine.

i know the issue. i have set the max limit to 1000000. but the meter was over 1m, so that the reason why it isn't showed. i need to set it to a higher limit. but this is a known issue now

Hmmm, I loaded 1.5.0 and I see 3 issues with non-metric.  I am getting the odometer "unknown" issue, but you mentioned that above.  However, I still see average speed and energy consumption in km, not miles.  Energy consumption is not using a native unit, so that one might need special handling.  As for average speed, I'm not sure why that didn't convert from meters to miles.

Hmmm, I loaded 1.5.0 and I see 3 issues with non-metric. I am getting the odometer "unknown" issue, but you mentioned that above. However, I still see average speed and energy consumption in km, not miles. Energy consumption is not using a native unit, so that one might need special handling. As for average speed, I'm not sure why that didn't convert from meters to miles.

kw/100km is not an 'official' unit at the moment, so to have them in miles, i think i need to manual convert them.
but this first mr is to be sure that native unit is working on odometer and on the trip distance.
if this work fine, then i can see for the next step

This helps for the average_speed
polestar_api_diff.txt

This helps for the average_speed polestar_api_diff.txt

you can open mr


Temporary stack on PR

Add a PR check that deploys to the staging environment to test the deployment configuration.
This will aim to catch new IAM requirements during a PR before they make it to staging.
Ideally, instead of using staging it would use the target branch to define the deployment env however this doesn't seem possible with bitbucket :slightly_frowning_face:
This PR relies on https://github.com/aligent/serverless-deploy-pipe/pull/24

Happy to merge and try this. Just one comment on the code itself, and wondering if there should also be documentation about this in the readme?
I wonder if bitbucket-pipelines.yml should even be in the public-facing template. Is there a way to have it be a part of our internal repo-creation process instead?


Increment version for healthbot releases

Increment package version after release of Azure.ResourceManager.HealthBot

API change check
API changes are not detected in this pull request.


Use IndexMap to avoid changing search result order

This PR avoids iterating over a hashmap that causes search results to reorder randomly.

Codecov Report

Merging #1709 (bbfb22d) into master (c06a74e) will increase coverage by 0.03%.
The diff coverage is 0.00%.

 Learn more


Deploy ironic if the DEPLOY_IRONIC variable is set

We deploy ironic if told to.  If not, do not deploy.  We do this by
assigning the ironic containers to the os-infra-containers groups.  By
default they are assigned to their own group.  We set up the env.d file
in both deploy.sh and boostrap-aio.yml as just because one may be used
does not mean the other one is.

@odyssey4me It sounds like you are over-complicating things.  A conf.d file could be used but we'd need to define which nodes the ironic containers go on.  This will be the os-infra-hosts in nearly all cases.  Instead of having to redefine that we can just set that up to be the default for ironic nodes.  I'm not sure what purpose the ironic scenario would serve since we are just deploying the infra pieces.  Does our gating not use deploy.sh?  If so, it sounds like our gating doesn't test how we tell people to deploy.
@cloudnull working on that now, thanks

@prometheanfire People should not be editing the env.d files if they can possibly help it - so your approach is actually making changes which are the lest desired when it comes to how a deployer should do the configuration. As you'll see here, it's two entries: https://github.com/openstack/openstack-ansible/blob/master/etc/openstack_deploy/conf.d/ironic.yml.aio
If env.d files are customised, they're very hard to maintain. We are trying to phase out their general use from rpc-openstack as far as possible because they should only be used when a customised group/layout is required. The conf.d/openstack_user_config file is explicitly for host:group allocations which is exactly what you're wanting to do here.
My vote stands - this patch is entirely unnecessary unless you wish to add a test scenario for gating purposes. If that's the case, then simply add the scenario into the aio bootstrap as previously suggested.

@odyssey4me can I set up the conf.d to deploy the ironic containers on infra hosts without specifying the hosts or IPs?  We are looking to automate it similar to how things like keystone and glance are deployed (on os-infra-hosts) without manually redefining which hosts are os-infra-hosts (since ironic by default uses os-ironic-hosts).

@prometheanfire I don't understand the problem. If you're already defining which hosts go into the os-infra group, then you're clearly able to define any other conf.d entries for other services. The purpose of the tests is to test with as close a configuration as possible to how a deployer tests it, and the mechanism being used in this patch is not that.

Yeah, let's reuse the existing env.d, and only configure conf.d.

@odyssey4me yes, which hosts go into which group is already defined, but ironic containers don't get deployed to those hosts, that's what I'm changing here.  env.d is the only location that I can change that.
As far as testing how a deployer would run it, if we are the deployer and we deploy it on os-infra hosts then we will be testing how a deployer deploys it.

@prometheanfire That is not the only way to change it. Adding a conf.d file with the group:host mapping is the correct way to do it. Using an env.d file to change the group mappings is not the correct way to do it.

@odyssey4me first, the change doesn't negate what's already in the env.d file, simply adds to it.  The containers were already part of the ironic containers group, now they will also be a part of the infra group.
second, what would that look like?  Can I use the conf.d files to override which container group the ironic containers belong to?  I'm under the impression that this is not the case.

@prometheanfire The point is that a deployer should not be modifying the groups, only the group members. If you add a host to the ironic-infra_hosts group, as shown in https://github.com/openstack/openstack-ansible/blob/master/etc/openstack_deploy/conf.d/ironic.yml.aio then it will add the control plane containers for that service onto the host specified.
Modifying the group structure introduces technical debt which needs to be managed through upgrades. Modifying group members does not - it is an expected configuration.

Yes, that's how I was doing it at the start.  What I was hoping to avoid is yet another step in deploying rpc-o.  If we are going to use the same hosts then just use the host group.
The alternative to this PR would be to add a section to the readme to have the deployer set up the ironic infra host group.

@prometheanfire Ah, I now see where the confusion is. The only step required to deploy ironic, actually, outside of the gating system is to implement the host:group mapping. The playbook execution is already included in setup-openstack. A deployer should never have to set the environment variable. The environment variable's purpose is for gating, not for deployer use.

@odyssey4me I think if deploy.sh is our standard interface, it makes sense for any deployer to use bash env variables.
In this case, I think if an AIO and DEPLOY_IRONIC is set, export the proper ironic conf.d. If not an AIO, the deployer should probably write his own, and we'd have nothing to do.
Is that what you meant @odyssey4me ? I'm not sure to understand both of you.

@evrardjp Yes, the env var only has a gating purpose in this case, and should therefore be used to implement a new scenario or additional conf.d file in the AIO bootstrap. The use of env vars for any deployer purposes needs to be phased out entirely, but that will require a restructuring of deploy.sh into something used for deployers and a different script used for gating. Once that's done the purpose will be a lot clearer.

Ya, so right now the plan is to just have have the deployer be required to setup the conf.d mappings unless doing an aio (in which case the conf.d file will be laid down pointing to aio1).  At this stage I'm not sure we need another scenario as we are not setting up ironic hosts, just the containers.

@prometheanfire Then what would ever activate this as a test? What is the purpose of modifying it when there's no test execution for it?

updated just the readme now :(

recheck

superseded by https://github.com/rackerlabs/docs-rpc/pull/1061


Fix Babili Minification

Short description of what this resolves:
Resolves minifiying code to ES6 using Babili no longer working
Changes proposed in this pull request:

edit taskInfo in babili.js to resolve conflict between config file and value command line and package.json values
Change babili package.json config to match others
Add shortArg for babili

Fixes: #896

@jwelmac Do you think this PR could also resolve this issues: #911 #877

I gotta take a look at this PR. Thanks for submitting.
Thanks,
Dan

Hey @mburger81,
I think it may resolve those issues. Reading through the issues it does seem that they are related to using code that needs to be run as ES2015/ES6. To minify these in a production build Babili would be the choice.
If you wish to try it out before the PR is incorporated use the following steps:

Add the custom configuration to use Babili for minification eg. in package.json add the following:

"config": {
    "ionic_use_experimental_babili": "true"
}

Run the following command in your app's top-level directory (Unix or Mac).

find<EMAIL_ADDRESS>-type f -exec sed -i 's/IONIC_USE_EXPERIMENTAL_BABILI/IONIC_BABILI/;s/ionic_use_experimental_babili/ionic_babili/' {} \;

Run the production build command, eg. npm run build --prod

Note: If you don't wish to edit your package.json do step 2 then at step 3 change the command to npm run build --prod --babili
Let me know if this helps.
P.S. @samastur take a look and see if this helps.

Hey @jwelmac thx for your great help.
This morning we tested it and it seams to bee working, at leatst the npm run build --prod does not throws any errors. After that we migrated to new ionic-angular 3.1.0 and also new ionic-cli v3.beta9 and from there we are on a bug where we can not go back!!!!
So for now we can not develop nor we can resolve production errors.
This is the bug where we are in!
https://github.com/driftyco/ionic-app-scripts/issues/927#issuecomment-297681308
We will let you know when we run out of the bug and can go ahead with your test!
Thx a lot

@jwelmac It seems your "workaround" yesterday it does work or at least it was able to create the build, but today with version 1.3.6 It seems it doesn't work! Is tat possible?

:+1: :+1:
I can confirm the workaround is resolving my issue #877 and perhaps also @samastur #911

Hey @mburger81,
Do you mind sharing the error message you are getting now with 1.3.6?
On Apr 28, 2017 7:39 AM, wrote:
Glad it was able to help. I will do some checks with 1.3.6 and see what I
come up with.
Hope your other bugs get ironed out soon.
On Apr 28, 2017 6:01 AM, "mburger81"<EMAIL_ADDRESS>wrote:
@jwelmac https://github.com/jwelmac It seems your "workaround" yesterday
it does work or at least it was able to create the build, but today with
version 1.3.6 It seems it doesn't work! Is tat possible?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/driftyco/ionic-app-scripts/pull/897#issuecomment-297946813,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEOClhD-41KXe_yP3owP0LAZDYy5fKw0ks5r0arjgaJpZM4M8Mco
.

Glad it was able to help. I will do some checks with 1.3.6 and see what I
come up with.
Hope your other bugs get ironed out soon.
On Apr 28, 2017 6:01 AM, "mburger81"<EMAIL_ADDRESS>wrote:

@jwelmac https://github.com/jwelmac It seems your "workaround"
yesterday it does work or at least it was able to create the build, but
today with version 1.3.6 It seems it doesn't work! Is tat possible?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/driftyco/ionic-app-scripts/pull/897#issuecomment-297946813,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEOClhD-41KXe_yP3owP0LAZDYy5fKw0ks5r0arjgaJpZM4M8Mco
.

Regretfully it doesn't fix it for me neither on 1.3.4 nor 1.3.6. I can build production version of our app, but it fails with the same run time errors as dev build described in #911.
Still, it feels like a step in the right direction.

If I rename my .js file in .ts as suggested by @danbucholtz in his last post in #898 it does not work.
On ionic serve or --prod build there are many typescript error, so the JavaScript file nit compliant to a .ts file.
So this is no solutions for us.
He also suggest to use NPM to include javascript files, but this is a "lot" of work to include only one file? Do you don't think so?
@jwelmac: In the scenario Dan posted this PR in his opinion is obsolete, right?

Hey @mburger81,
Dan's scenario doesn't render this PR absolete.
This PR still addresses the situations in which you want your minified build files to be output in ES6. Hence the use of Babili.

@jwelmac,
We have decided to deprecate babelili support in favor of uglify-es.
Thanks for contributing to Ionic and I'm sorry we couldn't get this merged for you.
Thanks,
Dan

@danbucholtz
Hey Dan,
I totally understand.
Ionic is growing and there will be lots more opportunity to contribute.
Take care,
Jermaine


Local rate limits per route/path

Hi,
I've a an application that exposes some API (asp.net core). I'd like to apply local rate limit per path, for example:

x requests for route /product/list
y requests for route /product/{id}
So basically all those routes are exposed by the same API (thus one k8s service + one virtualservice) .
I've tried to follow documentation available here , however there's no example of how to achieve (if possible) the scenario I've described.

@macpak here's more detail Using rate limit descriptors for local rate limiting

Thanks @zirain .
One thing that still doesn't work for me is how to ignore query string parameters, so for example /path and /path?a=b should have the same rate limit. I've tried to follow this article, but cannot make it work.
Do you maybe have an example of that ?

Thanks @zirain . One thing that still doesn't work for me is how to ignore query string parameters, so for example /path and /path?a=b should have the same rate limit. I've tried to follow this article, but cannot make it work. Do you maybe have an example of that ?

try something as follow:
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: filter-local-ratelimit-svc
  namespace: istio-system
spec:
  workloadSelector:
    labels:
      app: productpage
  configPatches:
    - applyTo: HTTP_FILTER
      listener:
        filterChain:
          filter:
            name: "envoy.filters.network.http_connection_manager"
      patch:
        operation: INSERT_BEFORE
        value:
          name: envoy.filters.http.local_ratelimit
          typed_config:
            "@type": type.googleapis.com/udpa.type.v1.TypedStruct
            type_url: type.googleapis.com/envoy.extensions.filters.http.local_ratelimit.v3.LocalRateLimit
            value:
              stat_prefix: http_local_rate_limiter
              token_bucket:
                max_tokens: 10
                tokens_per_fill: 10
                fill_interval: 60s
              filter_enabled:
                runtime_key: local_rate_limit_enabled
                default_value:
                  numerator: 100
                  denominator: HUNDRED
              filter_enforced:
                runtime_key: local_rate_limit_enforced
                default_value:
                  numerator: 100
                  denominator: HUNDRED
              response_headers_to_add:
                - append: false
                  header:
                    key: x-local-rate-limit
                    value: 'true'
              descriptors:
                - entries:
                  - key: path
                    value: /productpage
                  token_bucket:
                    max_tokens: 10
                    tokens_per_fill: 10
                    fill_interval: 60s

What does NOT appear to be supported by Istio (though is in the Envoy spec) is the ability to support /product/{id}. ALL of the examples of local rate limiting use the request_headers / static path value approach. However, entries: value: strings do not support wildcards. The prescribed way to support regex paths (and the way that works for global rate limiting) is via header_value_match as follows:
            - actions:
              - header_value_match:
                  descriptor_value: user_uuid_per_org
                  headers:
                  - name: ":path"
                    safe_regex_match:
                      google_re2: {}
                      regex: "/org/[A-Za-z0-9_\\-]+/user/[A-Za-z0-9_\\-]+"
                ...
                descriptors:
                - entries:
                  - key: header_match
                    value: user_uuid_per_org
                  token_bucket:
                    max_tokens: 10
                    tokens_per_fill: 10
                    fill_interval: 60s

Unfortunately, this does NOT work: no rate limiting is applied to the /org/{id}/user/{id} path. In addition to safe_regex_match, I have also tried both string_match and prefix_match, neither of which applied any rate limiting. The only header_value_match option that seems to be supported is exact_match, which offers no advantage over the request_headers approach mentioned above.
As near as I can tell, Istio does not currently support local rate limiting for paths which contain an ID. If true, this makes local rate limiting basically unusable for most API implementations. If regex paths are supported somehow, please include an example in the documentation, as currently none exist.


Added Vagrant-ansible support for dev environment

Signed-off-by: Jeroen v.d. Gulik<EMAIL_ADDRESS>

Thanks for the PR, @jeroenvdgulik! :)
Is there a reason for setting up a unique Ansible setup here rather than just saying "use Homestead"? That's what we tend to do on our projects and it helps keep our projects free from more complicated tooling like this, but I want to be open to other options.
Thanks!

I am unfamiliar with Homestead nor the Laravel Eco System. So I set this up locally, and thought I'd share. I find it more intuitive to just vagrant up a project, but that's probably because I'm unfamiliar with Homestead.

@jeroenvdgulik Ah, I assumed since you're at Laracons and have been an IRC OG since before me that you were familiar with all this stuff. Thank you so much for the work you put into this contribution! However, it's easier for me to not have to take on the burden of maintaining this setup, and instead just to recommend folks use Homestead. I really appreciate your work.

May I recommend a middle ground?
Put this setup in a new repo called symposium-ansible the has this repo as a submodule and add a link in the readme.
This way we do not lose the work done, plus people like me who do not have, nor wish to install homestead can use the other repo to setup.

@rdohms That's a fine idea--I'm not interested in hosting that repo, but if someone else wants to I'll be happy to point to it as an alternative to Homestead if anyone doesn't like Homestead. :)


All width values are parameterized and the names of parameters are set according to their class,id or psuedo class name

Awesome, thank you very much for your help! 👍
I'm working on a feature right now and changed the CSS, so I'll resolve and merge your work tomorrow. 🙂


Exception Handling Support in Fast Interpreter

Are there plans to support exception handling proposal in the fast interpreter in WAMR soon?

i'm not aware of anyone working on it actively right now.


Base Image (node:10-alpine) for Docker Image is EOL

Dockerfile:
FROM node:10-alpine
node:10-alpine is no longer supported and therefore has unfixed CVEs. Suggest to use node:12-alpine or higher.

Created a PR on /security #16 upgrading to node:17-alpine

@bsingr see PR

@alainvanhoof finally i found some time and merged those. thanks :)


How to check if consumer is paused?

In our application , we are pausing consumer and after a certain interval we are resuming it.
1): We want to check if consumer is paused or not at a gap of 10 minutes. How will we check?
2): Also if consumer is not paused and if we call consumer.resume() then what will happen?
Please help for the same.

Consumers have a .paused attribute you can check that
I would not call it unless .paused is true since it will call fetch() which starts the polling loop


TextMate bundles license

Nearly all TextMate bundles have the following license:

Permission to copy, use, modify, sell and distribute this
software is granted. This software is provided "as is" without
express or implied warranty, and with no claim as to its
suitability for any purpose.

An exception is made for files in readable text which contain their own license information, or files where an accompanying file exists (in the same directory) with a “-license” suffix added to the base-name name of the original file, and an extension of txt, html, or similar. For example “tidy” is accompanied by “tidy-license.txt”.

Would you consider recognizing this license (even if it has a quite specific use)?

I'm all for adding additional licenses (FWIW the PR would need to be to choosealicene.com, we just vendor their license information), but i'm not sure that adding Textmate detection tells the user much more than they already know.
Yes, we could identify the Textmate license as the primary license, but it feels a bit like a meta license explaining the obvious: "An exception is made for files in readable text which contain their own license information". If half the project is GPL via file headers, but it contains the textmate license, we'd be doing the user a disservice by saying textmate as the license, rather than other which would require human intervention, the desired outcome IMHO.

Hum, I see. I hadn't thought this through, identifying it as a TextMate license would be wrong.
I guess my real issue here is that I'd like to identify these licenses as being all the same to whitelist them. Currently we'd need to go through all the repositories manually to whitelist them.
It would be great if Licensee could return something like license [hash of the LICENSE file] unrecognized. It would make it possible to recognize this kind of customized/meta license :-)
What do you think?


[NGINX 404 Not Found]

Question
I deployed dashy via Helm in the AKS cluster. helm install dashy2 selfhosted-helmcharts/dashy --values values.yaml
I enabled the ingress and added the path /airflow & /airflow/flower as paths in the values.yaml however, when I access the ingress LB IP over browser it says 404 Nginx Not Found. Need to know what other things are missing in my setup.
Category
Setup and Deployment
Please tick the boxes

[X] You are using a supported version of Dashy (check the first two digits of the version number)
[X] You've checked that this question hasn't already been raised
[X] You've checked the docs and troubleshooting guide
[X] You agree to the code of conduct

Could you share the chart and nginx config that you used, as I can't see what might be wrong or try and recreate anything without those details.


Binary data returned as String from keyValueStores.getRecord()

When I save binary data (a PNG image) using keyValueStores.putRecord() and then read it back using keyValueStores.getRecord(), the data is returned as String rather than Buffer.
I'm using the following code in my act:
await Apify.setValue('OUTPUT', buffer, { contentType: 'image/png' });
const val = await Apify.getValue('OUTPUT'); // returns string!

IMHO getRecord() should only convert to string if the data has the text/* content type, convert to JS object for the application/json content type, and for all other content types it should return raw Buffer. And if you specify useRawBody: true option, then it should return Buffer for everything.

Fixed here: https://github.com/Apifier/apify-runtime-js/pull/6


[Card] Web component: Visual QA of FR to allow text link in all situations

User Story

As a [user role below]:
DDS Designer

I need to:
test the Card

so that I can:
be sure the developer's code correctly works as designed

Additional Information

See the Epic (#7631 ) for the Design and Functional specs information
Designer will be added as a reviewer to the Pull Request.  Visual QA reviewer will be notified by Github when review is needed.
Creating a QA bug
Web Components Dev Issue (#7683 )

Tasks
Ensure the Card component has been tested and reviewed by design + dev.
Acceptance criteria

[ ] Pattern is reviewed by designer and design defects are identified
[ ] New issues are opened to log individual defects
[ ] Screenshots of as-is and to-be design should be added to the issue when needed
[ ] Developer associated with building the pattern is assigned to the new issues
[ ] Appropriate labels are added to the issue  eg.  bug, dev

This feature already exists in Web Components.  Dev issue (#7683 ) was closed without dev work.


 This is an unfortunate circumstance that no one can escape, but as human beings are resilient creatures, we survive, and most importantly, we innovate.
No matter who you are, one of the things we need more than ever is to stay well-informed and to be aware of not only the bad but the good that is happening in the world. It is also important to know that public institutions, corporations, and startups around the globe have been working tirelessly since the emergence of the coronavirus in hopes to find a solution or contain this virus.
We at StartupBlink recognize this change, and we decided to do something about it. We are proud to announce the launch of our contribution to help the global crisis, the Coronavirus Innovation Map.
What exactly is the Coronavirus Innovation Map?
Our goal with the Coronavirus Innovation Map is to build a platform with a map of hundreds of innovations and solutions that help people cope and adapt to life amid the coronavirus, and to connect innovators.
We want you to be to use this platform in quick and easy steps, so, all you have to do is type in your location (City and/or Country), and choose the appropriate category wherein you would like to find a solution.
Each category on the innovation mind map seeks to answer the following pressing questions:
Prevention – How to, track, and prevent the spread of the virus? For example, the “Track Virus” App in Israel helps to see the locations where the virus is widely spread. Allowing people to have this knowledge will prevent them to go to infected places.
Diagnosis – What kind of diagnostic kits are used to identify those with the virus? For instance, E25Bio has developed a paper-based test kit to detect Covid-19 that will be able to deliver results in half an hour.
Treatment  – What kind of precautionary treatments e.g. medicines/drugs can help while specific treatments and vaccinations are still being developed. Aside from this, this also covers how people can get their medications without leaving their homes. In this sense, telehealth and home medicine delivery solutions will help us.
Information – How the mass population can get timely and accurate information about the crisis situation and ongoing innovations? Lack of awareness stands in the core of panic among people; thus, crisis communication and provision of data via modern and widely-used ICTs is the potential solution to reduce the chaos.
Life and Business Adaptation – How to adjust our daily lives to the current situation by going virtual? During a short period of time, educational institutions switched to e-learning, home offices temporarily replaced on-site work offices, and most of the official and entertainment events, as well as travel plans, were canceled. Now, it is time for you – people with innovative minds to come up with ideas on how societies can go online without changing their daily routines and simultaneously keep the quality of their lives.
The categories shown above will help those visiting the platform, quickly find a solution to their problem. As this issue affects all kinds of people and many aspects of our lives, the categories are broad for a good reason. This platform leaves no-one behind, you can be a government official, venture capitalist, entrepreneur, even parents and students. The main factor here is as an individual or a group/community you will have a contribution to this platform that will make your and hundreds of people’s lives easier.
Through the Coronavirus Innovation Map, we would like to especially encourage collaboration. In these challenging times, everyone can be an innovator. You can come up with your idea and directly contact us. Or if you are an innovator who sees a product or service already in the platform that is connected to your idea, feel free to contact them directly through the platform.
How will we achieve this?
In order to create an innovation directory, we at StartupBlink have developed a technology to research and map innovation around the world since 2014. We know that curating all relevant data in a short amount of time is not achievable by a single person or company, this why we will need everyone’s help. Through crowdsourcing and the help of the community, we will be able to cover the gaps and have as much information as possible. As a community, we will be able to reach this ambitious goal of connecting innovators and people with solutions.
Do you know of an innovation helping you and others cope and adapt in these difficult times? Maybe a product or a resource created specifically to deal with the coronavirus crisis? Something we did not think we needed just a few weeks ago and now it is a must? If you answer any of these questions with a yes, then you are eligible to pitch-in through filling up this form.
Let’s not forget that innovation requires collaboration. A small idea you think of today may become a solution to the big problems the world is currently facing. Thus, we really appreciate your collaboration with other innovative minds and contributions to the innovation directory.

Here is the link to the simple form to get this project on the global map. This is a free service
https://docs.google.com/forms/d/e/1FAIpQLSdz4ti13PN6GPKIfcZzb85d1qSQu_r4qz8v2Y1DtK8M4aYBJA/viewform

@jcl5m1, how do you think you'd potentially deploy funding for this project?
Maybe some initial funding could pay for buying developer kits for people to make around the world?

On Fri, Mar 20, 2020 at 6:37 PM Pete Florence<EMAIL_ADDRESS>wrote:

@jcl5m1 https://github.com/jcl5m1, how do you think you'd potentially
deploy funding for this project?
Maybe some initial funding could pay for buying developer kits for people
to make around the world?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jcl5m1/ventilator/issues/41#issuecomment-601954319,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO4OX2NOKIA73FWCW5FVT73RIP4ZZANCNFSM4LQWIY6Q
.

I don't have any direct affiliation with Startup Blink.
I just know that they are good at helping startups get money and they are
launching this global map.
They asked me to volunteer to tell inventors about the global map.
You fill out a form to have your project included on it.
Here is a form to add a project to the map
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=978857ca2f&e=6467527f85
.
Here is the email I got about the global map project, which seems like a
good fit for what you are doing.
I don't have any direct affiliation with Startup Blink.I just know that
they are good at helping startups get money and they are launching this
global map. They asked me to volunteer to tell inventors about the global
map.You fill out a form to have your project included on it.
Here is the email I got about the global map project, which seems like a
good fit for what you are doing.
---------- Forwarded message ---------
From: StartupBlink Global Startup Map<EMAIL_ADDRESS>Date: Thu, Mar 19, 2020 at 8:03 AM
Subject: Will you help us build the Coronavirus Innovation Map?
To<EMAIL_ADDRESS>Hello Startup Heroes,
Firstly, the word heroes apply today more than before. Heroes keep on
building while actively finding solutions for difficult situations, while
others passively watch the news unfolding. By choosing to innovate, you are
adding to our collective ability to change adverse situations. Please keep
building. History shows that innovation matters the most and has most
chances of success in times of crisis, since you will be between a unique
few doing so.
We are also doing our part in StartupBlink. In this newsletter, we will be
introducing our new global resource, ask for your help on adding
innovations related to the coronavirus, and invite you to a
special online pitching event focused on startups that are dealing with the
coronavirus.
Coronavirus Innovation Map by StartupBlink 🌏
As for this virus is related, the following questions come to mind: Who is
working on solutions and where?
We want to tackle this question with the creation of a global startup map
of coronavirus related innovative solutions which will be launched next
week. Those initiatives and projects will range on a wide variety of
topics, from treatment, diagnostics, prevention and lifestyle changes
(remote work, EdTech, etc.)
This will allow entrepreneurs who work on similar projects to connect and
fight a common enemy together, in addition to an innovative list of
solutions for those who are currently searching for them.
How can you help? 🤝
Firstly, If you have a startup that is dealing with those topics we would
love to add it to the map to make sure it’s there before we launch. Here is
a form to add a project to the map
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=978857ca2f&e=6467527f85
.
We are also looking for volunteers who can dedicate a minimum of 10
hours to help us curate and add information on the map. If you are
interested, please fill in this form
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=9b7ad90f0d&e=6467527f85,
if relevant, we will send you a link to join our telegram group so we can
start working together.
Want to know more about StartupBlink's Coronavirus Innovation Map? You can
check this article
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=04b06dc7bf&e=6467527f85
for
more information.
If you are interested to support in other ways, we are also looking for
sponsors for this map to allow our team to continue developing it, please
reply back to this email if relevant to get your logo on this map when we
launch. Thank you for considering to help!
A Special Anti Virus Pitching Event 🏆
The next Global online Startup Pitching event is happening on Wednesday,
25th of March, at 5 PM London time. During this special pitching event, we
will also be launching our Coronavirus Innovation map. The pitches will
also be on innovative projects solving problems caused by this new
Coronavirus. So whether it is a tool to help people medically or to adapt
their lifestyle and work habits to the current state of the world, all are
welcome to pitch. This is a great platform for you to pitch, spread the
word of your product, and get feedback from the community. If you are not
ready to pitch, come learn more about innovative projects and share your
feedback on their pitch. We are counting on you! You can register here
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=a44895fb13&e=6467527f85
.
Webinar on Managing Working from Home Teams 💻
We are now seeing an influx of people and companies switching to remote
work. Managing teams remotely can be tricky especially if people were used
to the traditional workplace. We had a previous webinar which discusses how
to manage work from home teams here is a recording
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=5000c8145d&e=6467527f85
.
StartupBlink deals  🤑
No virus can mess up our deals, and by buying them you will also support
our efforts. Here are a few products we are now using ourselves:

Unbounce landing page offer
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=469cb6cc4c&e=6467527f85
(14
days free + 20% off for your first three months)
SEMrush traffic research offer
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=6459796387&e=6467527f85(14
days free + one module for free)
Bluehost Web Hosting discount
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=c39e64096c&e=6467527f85
(up
to 60 % discount & a FREE domain name for 1st year)
Hubstaff time management for teams 10 % off at http://ssqt.co/m5coj68
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=5c276f75d3&e=6467527f85
Google Fi SIM card for domestic and international data and calls with
a $20 off here
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=eaae59e80d&e=6467527f85
!

Article of the month 📖
Have you been feeling antsy due to being stuck inside the house to prevent
the spread of the Coronavirus? Check out this article
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=f842b10f27&e=6467527f85
that
gives you tips on how to manage the stress.
Having problems with staying productive while working from home? Here
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=35e53717c6&e=6467527f85
is
a great article which gives you tips on this.
Stay safe and healthy!
StartupBlink Team
P.S. Do you want to get more done? Join us for coworking sessions on
Telegram at https://t.me/workjams
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=36bcb8e03d&e=6467527f85
and
meet fellow startup founders, entrepreneurs and freelancers like you!
Follow us on Facebook
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=ba6c540a8a&e=6467527f85,
Twitter
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=d27bf091c5&e=6467527f85
or LinkedIn
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=3e4867941e&e=6467527f85.
You can also visit our website
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=c2e39e3bc1&e=6467527f85
or send us an email
https://startupblink.us3.list-manage.com/track/click?u=8ea35dfd8a2f6ea0e2f245838&id=0cc3396c15&e=6467527f85.
Copyright © 2019 StartupBlink, All rights reserved.
You are receiving this mail because you are Blinking on StartupBlink or
asked to receive information.

I am also working on my own project that is in the testing phase
thesound.com
Find Live Streaming of Favorite Artists at Home and Live News Updates About
Coronavirus
I filled out the form for my project to be on the global map and it was
very easy.
They just asked for the information you want about your project on the
global map and how you want to be contacted.
We can easily start a crowd funding.
On Fri, Mar 20, 2020 at 6:37 PM Pete Florence<EMAIL_ADDRESS>wrote:

@jcl5m1 https://github.com/jcl5m1, how do you think you'd potentially
deploy funding for this project?
Maybe some initial funding could pay for buying developer kits for people
to make around the world?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jcl5m1/ventilator/issues/41#issuecomment-601954319,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO4OX2NOKIA73FWCW5FVT73RIP4ZZANCNFSM4LQWIY6Q
.


added image support for sharing

@CreativeManix  can you explain what this does ?

@CreativeManix can you explain what this PR does? It downloads the images based on the URL, and share the dowloaded image?