fix: improve Safe loading error handling

What it solves
Safe loading error screen persisting
How this PR fixes it
If the Safe fails to load, but then succeeds on the next scheduled poll, the "Safe couldn't be loaded" error screen is removed.
How to test it
Open a Safe on a throttled connection and observe the error message appear. When the loading has succeeded, it should now dissapear and not remove it from the viewed Safes cache.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 10 (0.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 35.125%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/routes/safe/components/SafeLoadError.tsx
0
4
0.0%

src/routes/safe/container/index.tsx
0
6
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/routes/safe/container/index.tsx
1
0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
3405

Relevant Lines:
8765

💛  - Coveralls

Tested in rinkeby.
Used these safes:
0x9913B9180C20C6b0F21B6480c84422F6ebc4B808
0xFfDC1BcdeC18b1196e7FA04246295DE3A17972Ac
It worked for me by blocking the URL:
I loaded 2 safes so they are both in the sidebar.
Blocked the request of one of them, so when switching from the unblocked one to the blocked one I'd see the error image and the "back to menu" button
I unblocked the request and waited for a bit
The safe loaded properly after a few secs
Still I have an issue that I didn't see in prod:
When I loaded a safe without being connected it always ends in the failing. Waiting there for 15 secs is not cutting it, actually no further calls are done at all in the network tab
This snapshot is from a safe I loaded using the "load safe" form, but never loaded. I stood in ths page for over 3 mins and you can see there are no more calls after the error

Then I decided to load another safe. Same again, after the error there are no more calls no matter how long you wait

Then I just clicked (not connected) the dropdown in the top right to try to connect and the page refreshed itself trying to load the assets, but I just saw the loading icons for a few minutes (never changed after what you see in the following snapshot)

Conclussion: The feature is working, but something else broke it seems

I'm closing this in favour of https://github.com/gnosis/safe-react/pull/3728, which has a different base.


Support for multiple X509 certificates

Description
Official ruby-saml does not handle multiple X509 certificates in metadata. This feature is required for rotating certificate provided by SAML provider like Microsoft Azure.
This PR does:

extracts all X509 certs from metadata
stores certs and fingerprints in array
validates response against array of fingerprints or certs

Approval

[ ] lead
[ ] non-lead

 Fork ruby-saml gem and make it support multiple certificates

Looks good. Just recommend naming all your “multi-cert” versions of methods _multicert instead of just pluralising them with an s on the end. That’ll make it clearer why they exist, and is something that’s easy to grep for.

Logic looks fine to me, but I'm not a SAML expert. There are a bunch of places where you could use maps instead of exposed accumulations, but that is just my preference. Would be good to use the proper type syntax for the doc comments too - would reduce the friction for an eventual(?) merge upstream.

:+1: :ship: :shipit:


Add LTSV formatter

I added a new formatter which formats log with LTSV format
LTSV means "Labeled Tab-separated Values"
official site: http://ltsv.org/
The LTSV format focuses on access logs of web servers
and I think it is useful for logging.

format code styles and squashed commit

Thank you for the PR :+1:
The test file is missing the _spec suffix and think the tests could maybe test the actual format a bit to guarantee consistency.

@pxlpnk thank you for reviewing!  fixed file name with _spec suffix and add bit spec to specify format

Looks good. Here we would need some single quotes to make rubocop happy: https://github.com/takashi/lograge/blob/add-ltsv-formatter/spec/formatters/ltsv_spec.rb#L26
@benlovell any objections in merging this?

@pxlpnk opps, my bad. format style and squashed!

LGTM. :+1: build failed on jruby-head though.

@benlovell thx for LGTM! but i think the reason of failure on jruby-head is different from this PR's change. WDYT?

Yep agreed. It's unrelated.

@benlovell yep, but I cant merge without resolving this issue... ;(

upps, mistake for closing

Well you've triggered another build now so that's useful :smile:

I opened an issue on the jRuby repo, lets see if we get any pointers on this: https://github.com/jruby/jruby/issues/3102
For the rest, I am fine with merging it and adding jruby-head again to the allowed failures.
One wish is to change the commit message to Add LTSV formatter and its spec (capitalising the a in the add) to follow our guidelines.

@pxlpnk thanks for opening issue in jruby :)
And I fixed commit message by capitalizing a in add to follow guideline.

@pxlpnk how about this PR?

@takashi I pushed a change to master that temporarily allows failures for jruby-head in the build matrix. Rebase and we'll get this merged. :+1:

@benlovell okay thanks! I merged the commit that allows failure for jruby-head into this PR :+1:

@takashi I'd prefer if we didn't introduce that unnecessary merge commit. Can you reset to 71ad31b  and then rebase instead please? If you need help with this, give me a shout.

@benlovell I see, and I rebased merge commit :+1:  If i misunderstand your opinion, please let me know

Rebase is perfect. A capitalized A in the add and we are ready to go! :dancers:
Thank you so much for your effort @takashi :green_heart:

@pxlpnk upps, i forgot to capitalize a, and fixed it!  thank you too @pxlpnk and @benlovell :pray:

:ship:

:heart_eyes: thanks

thx for merging!


Upcomming events title

Describe the bug
Upcoming events title should not be rendered when there is no upcoming events
I have done with the logic, I can create a pull request after the first one is approved I think. Pull Request: #194
Please assign this issue to me as well
To Reproduce
To reproduce this bug

Remove data for upcoming events from components/Events/EventsData/EventsData.jsx if there is any
And go to /events
You will see Upcoming Events title without data below that

Expected Behavior
No response
Screenshot/ Video
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I think that issue also got resoled, try now


Add life_polars_plugin

Fixes #334

Hi @ddotta, just a heads up the link in this PR is incorrect

Thanks @henryharbeck ! It'll be corrected


Add ConsumerGroupStream typedef

update types/node

@hyperlink Can we get this pulled please

@aikar Great improvement. Thank you!
How about extending our TypeScript test with this new interfaces? You can find examples here: https://github.com/SOHU-Co/kafka-node/blob/master/types/kafka-node-tests.ts#L161-L178
What do you think?

Shouldn't the ConsumerGroupStreamOptions inherit from ConsumerGroupOptions instead of ConsumerOptions?


Bump pom version with new release

Bump pom version with new release whenever a new release is to be generated.

Hello. I've created a PR for this issue, please review and provide feedback https://github.com/intuit/chain-z/pull/21


experimentalDecorators / emitDecoratorMetadata not supported in netlify CLI

Is your feature request related to a problem? Please describe.
We are trying to use the popular https://github.com/microsoft/tsyringe dependancy injection package within netlify functions. This does not seem to be working, and we are getting the following error:
Error: TypeInfo not known for "X"
  InternalDependencyContainer.construct (<project-path>/node_modules/tsyringe/dist/cjs/dependency-container.js:263:23)
  InternalDependencyContainer.resolve (<project-path>/node_modules/tsyringe/dist/cjs/dependency-container.js:105:33)
  Object.<anonymous> (<project-path>/src/main.ts:51:32)
  Module._compile (internal/modules/cjs/loader.js:999:30)
  Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
  Module.load (internal/modules/cjs/loader.js:863:32)
  Function.Module._load (internal/modules/cjs/loader.js:708:14)
  Module.require (internal/modules/cjs/loader.js:887:19)
  require (internal/modules/cjs/helpers.js:74:18)
  Object.<anonymous> (<project-path>/.netlify/functions-serve/incoming/incoming.js:1:18)

I think the underlying issue is that Netlify CLI uses esbuild bundler under-the-hood (https://www.netlify.com/blog/2021/04/02/modern-faster-netlify-functions/), which in turn does not support experimentalDecorators and emitDecoratorMetadata (https://github.com/evanw/esbuild/issues/257).
The solution could be to use https://github.com/thomaschaaf/esbuild-plugin-tsc but there is no way (that I've found) to modify the netlify CLI's esbuild config
Describe the solution you'd like
A way of modifying the esbuild config during netlify dev commands.
Describe alternatives you've considered
N/a
Additional context
N/a
Can you submit a pull request?
No.

Pull requests are welcome! If you would like to help us add this feature, please check our
contributions guidelines.

Should we add a flag for the plugin to use?

Maybe something in the toml file? eg
[functions]
  directory = "src/"
  node_bundler = "esbuild"
  esbuild_config_file = "./config_file"  # Specifies `esbuild` config

Okay

Hi all 👋 This issue belongs in https://github.com/netlify/zip-it-and-ship-it.
I'm trying to transfer it, however GitHub seems to dislike it.
For esbuild plugins support you might want to look at the discussion in https://github.com/netlify/zip-it-and-ship-it/issues/392


How to install it if I build neovim from source?

As title.

I used pip3 install neovim-remote instead of brew install neovim-remote, since with homebrew too many dependencies will be installed too and I rarely care about python being mess up since it mess up all the time.


Defender DLP policy evaluation does not account for stop processing directive

🐛 Summary
ScubaGear assessment of DLP policies does not account for the DLP rule additional option that can stop processing of further rules and policies.  As a result, if a rule with this option is placed with a sufficient priority it could prevent processing of a baseline compliant policy and rule.  ScubaGear would still mark the tenant as passing its DLP related rules as the compliant policy would still be present even though it will never be evaluated as it would be partially or fully masked by the higher priority rule (assuming similar or same matching conditions).  This option is only supported for Exchange locations, but could mask all Exchange DLP protection from the compliant policy.
To reproduce
Steps to reproduce the behavior:

Create a DLP policy according to the M365 Defender baseline
Copy this same policy, but remove non-Exchange locations, remove the block action, and check the If there's a match for this rule, stop processing additional DLP policies and rules. option.  Set the priority to 0 and Save.
On the Policies page, reorder the policies so the Masking policy priority is a lower number in the Order than the compliant policy.
Run Invoke-Scuba -p defender and note that the assessment still lists MS.DEFENDER.4 policies as passing.

Expected behavior
The expectation is that since the compliant policy is never evaluated that the assessment flags the tenant as failing the associated requirements.
Any helpful log output or screenshots

Reviewed 12/14
This bug is still valid.


ClientSession  ssl error

In my app, I used ClientSession of Blacksheep, like this:
async with ClientSession(connection_timeout=20.0, request_timeout=60.0, ssl=False) as client:
    response = await client.get(url)
I know remote website cert is expired, so I used ssl=False
But response is
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] ,
not behave like requests's params verify.
Does it really work?

Hi @56907dzq
Sorry for the late response. This seems to be a bug, indeed. I look into this ASAP.

@56907dzq
Please upgrade to 1.2.10, this bug is now fixed.


Explain performance implications of the preferRest option

I've done a little experimentation with the preferRest option. It's pretty clear that the intention of this option was to get away without loading up the big grpc dependencies and therefore reduce boot times in apps where that is critical.
Other than that, I was expecting the RPC implementation (being the default) to otherwise be better runtime performance and request latencies by making use of HTTP/2 streaming etc etc...
However I did some experimentation on read/write performance of large data sets using the two implementations and here is what I found:

Reading in a ~3k collection using the collectionRef.stream() API is an order of magnitude faster using REST (loads ~3k docs in under 2s) than RPC (loads ~3k docs in around 20s)
Writing a similar collection (using the BulkWriter API) also seems to be much faster using REST

So, what gives? If we don't need snapshot listeners (the only API that requires RPC), would there be any reason not to use REST? If not, should preferRest: true be the default option?
Are there any other implications of using the REST API? (think: memory usage of collectionRef.stream(), transaction/request latencies)?
It would be great to have some discussion about the performance implications of the preferRest option (other than cold start latency), and to have that documented so we can make right decisions.
Thanks!
Environment

SDK version<EMAIL_ADDRESS>Node.js version: v18.16.1

Thanks for the question, @brettwillis . You are indeed correct that the main motivation for this change was to avoid loading up big dependencies (notably, grpc), and improve boot times.
In terms of performance, it tends to be workload-specific. This could be both the usage pattern (read vs write vs batch vs transaction vs what mix/order of these) as well as document content (perhaps grpc's compression performs differently on strings, numbers, blobs, etc). We have also heard from users who reported worse performance when using REST. If you don't need snapshot listeners, there should be nothing stopping you from using preferRest: true at all times.

In terms of performance, it tends to be workload-specific.

We have also heard from users who reported worse performance when using REST.

Thanks for your reply. Hmm ok, I guess it's up to us to benchmark our workloads then. By the way, do you have any references or data for those reports of worse performance (or any other data for that matter)? The 10x difference I observed is not insignificant.
Also another related question:
Say we benchmark our app and there is a clear winner for our workload, and say it's preferRest: true. Also say that we do use snapshot listeners (because we do).
Then once the app uses a snapshot listener, all other operations from that point onwards will then be "upgraded" to grpc, forever downgrading the performance of the app.
Our only other option here is to use two Firestore instances: one for snapshot listeners ("upgraded" to grpc) and the other for every other operation (using REST)?
Would you consider a configuration option that restricts grpc to the required APIs only, without "upgrading" every other API to grpc?
P.S. this "upgrade" behaviour was another thing that seemed to imply that grpc was the better and recommended option.

@brettwillis , I'm also surprised by the numbers you have reported (10x) tbh. I can't prioritize it right now, but I'd be interested in running another round of experiments to measure.
Regarding the word "upgrade": perhaps we could have used a better word.. We did not mean to indicate that grpc is "better" or "more performant" than REST. We considered it an "upgrade" because it can support more functionalities.

Our only other option here is to use two Firestore instances

I think that may be it.

Would you consider a configuration option that restricts grpc to the required APIs only, without "upgrading" every other API to grpc?

I'll take this to the team, but cannot comment on when it could be implemented. The first step would be run some experiments to figure out if there's real value in doing this.

Closing this and tracking internally via b/291107874.


Docker : Not installed in centos 7.2

$ sudo yum install  docker-engine
I have this message :
.....
.....
Installation : docker-engine-selinux-1.12.0-1.el7.centos.noarch                                                              10/11
restorecon:  lstat(/var/lib/docker) failed:  No such file or directory
warning: %post(docker-engine-selinux-1.12.0-1.el7.centos.noarch) scriptlet failed, exit status 255
Non-fatal POSTIN scriptlet failure in rpm package docker-engine-selinux-1.12.0-1.el7.centos.noarch
Installation : docker-engine-1.12.0-1.el7.centos.x86_64
.....
$ sudo systemctl start docker
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
$ systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/docker.service.d
└─override.conf
Active: failed (Result: exit-code) since lun. 2016-08-01 15:38:54 CEST; 6s ago
Docs: https://docs.docker.com
Process: 2658 ExecStart=/usr/bin/docker daemon --storage-driver=overlay -H fd:// (code=exited, status=1/FAILURE)
Main PID: 2658 (code=exited, status=1/FAILURE)
[moula@mesos-boot ~]$ systemctl status docker.service -l
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/docker.service.d
└─override.conf
Active: failed (Result: exit-code) since lun. 2016-08-01 15:38:54 CEST; 12s ago
Docs: https://docs.docker.com
Process: 2658 ExecStart=/usr/bin/docker daemon --storage-driver=overlay -H fd:// (code=exited, status=1/FAILURE)
Main PID: 2658 (code=exited, status=1/FAILURE)
$ yum list installed | grep docker
docker-engine.x86_64                 1.12.0-1.el7.centos             @dockerrepo
docker-engine-selinux.noarch         1.12.0-1.el7.centos             @dockerrepo
$ sestatus
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   permissive
Mode from config file:          permissive
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Max kernel policy version:      28
Some help?
Thank's.

How much RAM/Swap do you have? Rebuilding the SELinux policy is greedy

I use 16G bye node, the pb is : the last docker it can be  intalled but it
not work with dcos-mesos.
The solution is to use docker 1.11.12 but not the last.
[moula@mesos-dcos ~]$ docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 15
Server Version: 1.11.2
Storage Driver: overlay
Backing Filesystem: xfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: null host bridge
Kernel Version: 3.10.0-327.36.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 6
Total Memory: 15.42 GiB
Name: mesos-dcos.tychecloud.lan
ID: DGUH:CIEY:QK5E:G3WH:N6Q7:ZP6Z:LPJS:UB7F:6YEE:PC5H:IJBU:CYI4
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
and dcos-mesos works :
[moula@mesos-dcos ~]$ dcos --version
dcoscli.version=0.4.13
dcos.version=1.9-dev
dcos.commit=477a640723100bc2e2ec5e73770d3afc82fba2ea
dcos.bootstrap-id=018662a1a10361211764069184a591eeb2ad0529
Merci.
2016-10-03 12:22 GMT+02:00 Chris Cowley<EMAIL_ADDRESS>
How much RAM/Swap do you have? Rebuilding the SELinux policy is greedy
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/garethr/garethr-docker/issues/566#issuecomment-251073419,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABuKD-urDPf_nc_oakzA9VY0TvGikQyUks5qwNdtgaJpZM4JZmvD
.


feat: allow noncomputable unsafe definitions

Enables the combination of noncomputable unsafe to be used for definitions. Outside of pure theory, noncomputable is also useful to prevent Lean from compiling a definition which will be implemented with external code later. Such definitions may also wish to be marked unsafe if they  perform morally impure or memory-unsafe functions.

For future reference, here is some additional info on the motivation behind this PR. Alloy allow users to external (C) implementations to definitions via Lean code. This is done via metaprogramming utilities, but is essentially equivalent to a definition followed an attribute [extern] command. For example:
alloy c extern def myAdd (x y : UInt32) : UInt32 := {
  return x + y;
}

is essentially equivalent to:
noncomputable opaque myAdd (x y : UInt32) : UInt32
attribute [extern "alloy_myAdd"] myAdd
alloy c section
LEAN_EXPORT uint32_t alloy_myAdd ( uint32_t x , uint32_t y ) {
  return x + y;
}
end

Libraries which use Alloy may define functions that perform actions that are morally impure or memory-unsafe. Thus, the library creators would like to mark the definition unsafe. However, passing this unsafe through Alloy's macros results in a noncomputable unsafe definition, which Lean currently forbids. For instance, using the above example:
alloy c extern unsafe def myAdd (x y : UInt32) : UInt32

would produce:
noncomputable unsafe opaque myAdd (x y : UInt32) : UInt32

which is forbidden. The goal of this PR is to allow such a use case.

The use of noncomputable in the Alloy's definitions could be avoided by adding the @[extern] attribute to the definition when it is declared. However, this would require some special casing in Alloy, as it also wants to support providing implementations for already-existing definitions (e.g., constructors or projections). Thus, for consistency, it always produces the implementation separately from the definition.


[SPARK-32920][FOLLOW-UP] Fix shuffleMergeFinalized directly calling rdd.getNumPartitions as RDD is not serialized to executor

What changes were proposed in this pull request?

ShuffleMapTask should not push blocks if a shuffle is already merge finalized. Currently block push is disabled for retry cases. Also fix shuffleMergeFinalized calling rdd.getNumPartitions as RDD is not serialized causing issues.
Why are the changes needed?

No
Does this PR introduce any user-facing change?

No
How was this patch tested?

Existing tests

cc @otterc @mridulm Please take a look.

Can one of the admins verify this patch?

[error] /home/runner/work/spark/spark/core/src/main/scala/org/apache/spark/shuffle/ShuffleWriteProcessor.scala:24:30: Unused import
[error] import org.apache.spark.util.Utils
[error]                              ^
[error] one error found

LGTM if tests pass.

[error] /home/runner/work/spark/spark/core/src/main/scala/org/apache/spark/shuffle/ShuffleWriteProcessor.scala:24:30: Unused import
[error] import org.apache.spark.util.Utils
[error]                              ^
[error] one error found

Sorry my bad, fixed it.

It seems like the build is failing with the below msg which doesn't seem to be related to this PR. cc @Ngone51
Error:  running /home/runner/work/spark/spark/build/sbt -Phadoop-3.2 -Phive-2.3 launcher/test avro/test network-common/test sketch/test unsafe/test examples/test repl/test core/test graphx/test kvstore/test network-shuffle/test ; received return code 137
Error: Process completed with exit code 18.```

Can you update to latest and rerun the tests ?

Can you update to latest and rerun the tests ?

Done

Merged to master/branch-3.2 +CC @gengliangwang
Thanks for fixing this @venkata91 !
Thanks for the review @Ngone51 :-)


(helm-treemacs-icons-enable)

Hi, I noticed you have changed the name of the package.
Should we know just remove   (helm-treemacs-icons-enable) and replace it by (helm-icons-enable)?

Yes.

Yes.


Display current version of the sofware

AS A User who open the webpage of the product
I WANT to see the Git Comit ID (or any information, which is connected to a uniquely identified version of the product) on the start page
SO THAT I can clearly identify which version I'm using

See #22

@bat3 Shouldn't we use the build number instead of the version in the package.json ?
Or should we try to update this package.json.version with the build number ?

This is the problem of a lack of specification ;)

Hi,
in my mind what defines a version of a software product uniquely:

the code git comitID (practically 1 commit is one version definite version of the code)
the compilation environment, aka the compiler, OS, etc. versions (if you compile with other compiler maybe the same code will work a little bit other)
the 3rd parties what are compiled (most of the 3rd parties has also a version, even if that is a source code)
the 3rd parties used at runtime (binaries has a version tag)

CI build number in my mind doesn't define none of them with 100 %. At least by default, because you can build the way that you "save" properly that a during a CI build, which things were used as 1-3. But this still not define the 4.
Docker technology helps also that your build environment is defined at code level.
This is why they used to define a Tag in a Release Letter and in it is listed all 1-4 with unique identifiers.
So to clarify the specification what would be if the version is something composite?
Like in a file under code we add a kind of tag, like X.Y.Z_Alpha_W and at compilation we update W with CI build number or comitID? X.Y.Z could be now 0.0.1 or 1.0.0. With help of dockers, etc. this defines a lot from 1-4.
So something like this? Is it possible? Does it help?

Currently, it is displaying the version found in the package.json. it is the only version number we can find in our software.
It is think to be managed like that https://docs.npmjs.com/about-semantic-versioning
But for sure we should not use the build number. The version is the version of your code. You can have infinite build number for the same code.
I have implemented a way to display version from the package.json file, now it is more a question to how manage the version number.

For the version, to start, we can use the library version fo the .Net server.
you can use wilcards to auto increment the version number.


Sip example stopped working

Unhandled Exception: LateInitializationError: Field 'session' has not been initialized.

That's not library issue it's just session was accessed before initialisation hence the error try moving your session logic in didDepedencyChanged after initialisation of session closing


code-setup.md UPDATED

Checked package.json and confirmed that 'csvtojson' is listed as a dependency.
Ran yarn add csvtojson to install the module.
Verified the installation by checking the package.json file.
Cleared Yarn cache using yarn cache clean.
Reinstalled dependencies using yarn install.

Hey @shashwatm1111,
Thanks for the PR, can you also point to the failing test, that fails because of this dependency not being met.
Thanks

@techsavvyash Sir , the following test file is throwing an error if the mentioned dependency is not met --
FAIL  src/services/csv-adapter/csv-adapter.service.spec.ts
● Test suite failed to run
src/services/csv-adapter/csv-adapter.service.spec.ts:22:23 - error TS2307: Cannot find module 'csvtojson' or its
corresponding type declarations.


Optimize queries

Main change is running three SQLite API functions every time we cross the border to Exec a query.
Before:
BenchmarkExec           500000     162257 req/s
BenchmarkQuery          100000      60699 req/s
BenchmarkParams         100000      56971 req/s
BenchmarkStmt           200000      98856 req/s
BenchmarkRows             5000       1883 req/s
BenchmarkStmtRows         5000       1926 req/s
PASS
ok      github.com/mattn/go-sqlite3 18.560s

After:
BenchmarkExec           500000     172340 req/s
BenchmarkQuery          100000      62041 req/s
BenchmarkParams         100000      58299 req/s
BenchmarkStmt           200000     101137 req/s
BenchmarkRows             5000       1922 req/s
BenchmarkStmtRows         5000       1946 req/s
PASS
ok      github.com/mattn/go-sqlite3 18.178s

(These are single benchmarks, but the speedup in BenchmarkExec is consistent across runs.)

Coverage decreased (-0.15%) to 84.48% when pulling 4dfb2ecaf05d066a7fa15e1db0d62d7aa3a81ec5 on larsmans:optimize into 07f9c9c30fbc180b71842b9282da7b5fa3d40fc9 on mattn:master.

LGTM, Thanks!


Search input placeholder text color not change.

when i use searching and i change the search icon and close button but i can't change the search placeholder text color any one can help me?

when i use searching and i change the search icon and close button but i can't change the search placeholder text color any one can help me?

Hello, there is no color changing feature for "search placeholder", but you can add it yourself from the node_modules files.
For Example:
go to "node_modules/react-native-dropdown-select-list/components/SelectList.tsx" then find "searchPlaceholder"
                            <TextInput                                  placeholder={searchPlaceholder}                                 placeholderTextColor={searchPlaceholderTextColor} //ADD THIS LANE!                                 onChangeText={(val) => {                                     let result =  data.filter((item: L1Keys) => {                                         val.toLowerCase();                                         let row = item.value.toLowerCase()                                         return row.search(val.toLowerCase()) > -1;                                     });                                     setFilteredData(result)                                 }}                                 style={[{padding:0,height:20,flex:1,fontFamily},inputStyles]}                             />
After doing these, you can use it like this:
<SelectList       searchPlaceholderTextColor={'white'} //LIKE THIS!     />

inputStyles={{ color: 'black' }}

inputStyles={{ color: 'black' }}

This doesn't work in the docs TextInput placeholder colour is set thru a separate prop.
https://reactnative.dev/docs/textinput#placeholdertextcolor


[SPARK-25375][SQL][TEST] Reenable qualified perm. function checks in UDFSuite

What changes were proposed in this pull request?
At Spark 2.0.0, SPARK-14335 adds some commented-out test coverages. This PR enables them because it's supported since 2.0.0.
How was this patch tested?
Pass the Jenkins with re-enabled test coverage.

Hi, @yhuai .
Could you reivew this test PR?

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2939/
Test PASSed.

Merged build finished. Test PASSed.

Test build #95816 has started for PR 22363 at commit e71920e.

LGTM

Thank you for review, @maropu .

Test build #95816 has finished for PR 22363 at commit e71920e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/95816/
Test PASSed.

Thank you for review, @HyukjinKwon .

cc @cloud-fan and @gatorsmile

Thank you, @gatorsmile !


Tusk hangs on load after suspend, reproduced on two different machines

Hi! Love Tusk :).
Since I think about a month or so Tusk hangs on the 'One moment while we get back to work' window (screenshot attached) for me after the system comes out of suspend. This happens consistently after every suspend on a Dell Inspiron 15 7548 laptop running Xubuntu 18.04 and a AMD-based desktop running Manjaro 19.0.2 xfce.
If precise hardware for both systems are required I'm happy to provide but since these are two different systems showing the same issue on two different architectures (laptop is intel, desktop is amd) that didn't seem too important.
Please tell me how to/what to log/report to help resolve the issue!

Got the same problem! #265


Any tutorials on adapting pertained net to multiple labels?

I am trying to adapting pertained net to a multiple label problem.
The pertained net is the Inception-BN Network. Suppose the label width is 9, and it is set up in data iterator.
Any tutorials on adapting pertained net to multiple labels?

I suspect I need modify something in the following code, but unfortunately I have not find related docs or example.
{
      "op": "null",
      "param": {},
      "name": "softmax_label",
      "inputs": [],
      "backward_source_id": -1
    },
    {
      "op": "Softmax",
      "param": {"grad_scale": "1"},
      "name": "softmax",
      "inputs": [[510, 0], [511, 0]],
      "backward_source_id": -1
    }

Sovled.
For who passed by

Read the neural network chapter in ESL if you haven't.
Search quora for related questions, and follow the answer.
Read tutorials in the image classification folder carefully. (The kaggle one is also helpful)
Skip the prediction in pertained.
Read docs on data IO, if you haven't.


unixPB: add new rise paid for scaleway RISC-V hosts

This will replace the existing rise hosts
Checklist

[x] commit message has one of the standard prefixes
[ ] faq.md updated if appropriate
[ ] other documentation is changed or added (if applicable)
[ ] playbook changes run through VPC or QPC (if you have access)
[ ] VPC/QPC not applicable for this PR
[x] for inventory.yml changes, bastillion/nagios/jenkins updated accordingly

/thaw


Is there a way to build a Windows container image on my PC WITHOUT docker?

I want (need) to be able to build a Windows container image on my local PC (Windows 10 Enterprise) WITHOUT installing docker. Is there a lower-level API I can use?

 So as long as you got the correct directory structure and file attributes in your tar archive, you don't need docker.
There's crane which creates such tar archives. I've written about it here: https://lippertmarkus.com/2022/03/30/speed-image-builds-crane/

@DonSchenck were you able to find a lower-level API or have success using crane to build Windows Container images?

No :(

Out of curiosity, can I ask why you don't want/can't install Docker? And what would you like out of an alternative?

Good and fair question.
I want to see Windows container build put into Podman, the open source alternative to docker.
DISCLOSURE: I work for Red Hat. I am biased.

Hey @DonSchenck, for the build story without using docker, we're looking at building windows container images with Build Kit.

To address the intended specific use-case of doing Windows Container image builds in Podman: Firstly, I don't actually know anything about the Podman internals. I've only interacted with it through the docker CLI-compatibility layer.
Firstly, if Podman already supports delegating image builds to a BuildKit instance using the containerd worker on top of containerd (basically what BuildX does for Docker) then you can track #34 and once its work moves from BuildKit to BuildX, then all the downstream ingredients you need for Podman should be ready.
Otherwise I've tried to provide some guidance below as to what layers of the currently-in-development BuildKit stack (#34) you need to reimplement locally for Podman.

Does Podman use containerd underneath? If so, then it has (in containerd 1.7) support to import, export, create, and mount (to the host or inside a container) layers for Windows Containers. (Actually, mounting to the host probably relies on being able to use containerd's mount API as a library, I'm not sure if it's remotely callable by GRPC or not.)
If not, is it using hcsshim directly? All of the above is actually provided by hcsshim and containerd is a (fairly) thin layer on top of that functionality. This would require being developed in Go though.
If not using containerd, nor written in Go, then the fallback path is to write code somewhat like hcsshim (or just port the required parts of hcsshim, it's MIT licensed) in a library, either using an existing HCS API-wrapping library (I think there's one for .NET that's 6 years old and unmaintained, not sure about any other languages) or directly calling the HCS APIs and friends (BindFilter, ComputeStorage, etc).
Assuming you can already import and run Windows containers, you've already made a choice about the above, and need to follow through with the relevant work to implement or use the rest (as BuildKit is doing, visible in #34).

Once you have the above functionality by hook or crook, it's simply a matter of implementing the various primitives you already have for building containers, if you're not using something that does that already, like BuildKit.
For the Dockerfile image build format, the ability to mount a new image layer locally (for COPY, ADD, WORKDIR, etc), and to execute a container on a new layer (RUN, USER, etc) is most of what you need. You can then unmount (or terminate the container), export that layer to a tarstream (and also import it again if you need to want to build more layers on top) and you're done.
If you have other primitives in your local image build format, you may find limitations in the Windows Containers ecosystem, e.g., I don't know off-hand if you can snapshot a running container, and if you can, you probably wouldn't be able to export a diff between the snapshot and any subsequent layer from the same running container.
The OCI image structure between Windows and Linux is (intentionally) very similar, so once you're able to get tar streams for new layers based on your image build format, and deal with user-identification (or defer the hard parts), the rest of building a Windows Container image is just some call-outs in your existing pipeline to deal with things like Windows kernel ABI compatibility properties, or the occasional \ character in a path that you're not handling carefully.

Technically this applies to any other container-build stack, but a big limitation right now is that rootless-mode is impossible with the current Windows Containers filesystem implementation as you need elevation to be able to mount layers on the host and (maybe) to run containers, and system backup/restore privileges to import (and export, I think) the layer data.
There's a new filesystem being developed that should remove some of those privilege requirements, but initially it's only really being implemented for importing layers, not exporting/diffing/mounting.

@DonSchenck, I hope that helps?

Closing issue because it's going stale. Thank you @TBBle for your response as well!


RxJS 7 support and deps update

Hello,
We're using this lib and we want to update RxJS on our project, for that we need the lib to support it.
This PR does:

Re-generate package-lock.json
Restrict support for Nodejs version ^14.15.0 and >=16.10.0

Long Term Support (LTS) schedule

Target the lib to ES2017

Compatibility table - es2016+

Remove the use of clean script when using the build script

rm is not natively supported on Windows

Remove usage of lodash-es as there's not need to add the entire lodash lib

Instead use per function import

lodash.flatten
lodash.get
lodash.isfunction

"Add" support for RxJS 7
Update all deps and fix jest tests

If you merge the PR, could you release a new version, something like 1.4.0 as there's a breaking change with the Nodejs version restriction ?
This will allow me to also make the PR to update @paddls/ngx-common.
Thank you.
(Salut depuis BF Thomas)

Hi,
Thanks for using our lib and for your pull request. I just released a new version of the library that includes the majority of the changes included in your PR (v2.0.0)
Changes are :

Added support for RxJS 7
Updated dependencies and fixed jest tests
Re-generation of package-lock.json
Target the lib to es2017 es2020
Removed the use of clean script when using the build script
Remove usage of lodash-es as there's not need to add the entire lodash lib (done since v1.3.5)

We decided not to restrict support for Node.js version ^14.15.0 and >=16.10.0 as we do not wish to only support LTS versions.
Thanks again for your interest in this library. I'm closing this PR !


Use of depricated asynchronous pattern

The use of the old asynchronous BeginX/EndX pattern is best avoided. Especially in code meant to teach new or junior programmers. Instead it would be better to teach how to use a Task-based pattern instead, as that is what is going to be used in production code.
Would you be interested in a proof-of-concept implementation of this approach for you to look at?

Sure. I am always open to learn new and better ways to code something.


netstd: object doesn't have ToString(StringBuilder) overload. Thrift compiler generate code that doesn't compile

I may miss something but object.ToString() doesn't have and overload that accept StringBuilder as parameter: thrift compiler generate code that doesn't compile

[ ] Did you create an Apache Jira ticket?  (not required for trivial changes)
[ ] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[x] Did you squash your changes to a single commit?  (not required, but preferred)
[x] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[ ] If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

Please file a JIRA ticket with the testcase for this

added the THRIFT-5316 issue

Indeed it does not compile. Unless you add a reference to the Thrift runtime.


Jinyounghwa/simpleyyt.GitHub.io

tt

@barryclark or @jinyounghwa: you can probably close this PR.


Escape reserved python keywords with alias

Keywords like from can't be used as field names.
The pydantic-graphql-codegen package does it like this, (but not for all keywords):
GQL
type Foo {
  from: String!
}

PY
class Foo(BaseModel)
    from_: str = Field(alias="from")

https://github.com/jhnnsrs/turms/commit/1e9743df12785d46e5afb102c2f636dd65891e11 should fix it

Lightning fast 🚀


Default Sin resistance for active Identity.

In PartyScreen Sinners which have active Identity but no ZAYIN Ego equipped should have their Sin resistances calculated as if having default one.

Implemented in v0.3.0.


Start and End date of an application

Application/ App-version life cycle. store in a new postgress table

Merged into issue #82


This is a proof of concept that has worked for other projects, I wonder how you feel about this.

I think this is reasonable. @paleolimbot?


Add a RELEASE.md describing how to release a new version of CF

After CF-1.9 was released the release procedure was written up, but never made to a PR. Here it is now, in time for CF-1.10.

Hi @davidhassell I made some changes and also inserted some comments - have a look and see what you think :)

Additional changes concerning keeping contributor list up to date agreed in https://github.com/cf-convention/cf-convention.github.io/issues/230. These were introduced in 0b20db2572342628b954960a4a777eefd66efe74 and bf274bcf2165b20b38061b0c5f48ecb2cc6f08c7

In CONTRIBUTING.md we have

When an issue and accompanying pull request concludes with an agreed change to the conventions, the pull request is merged into the master branch according to the Rules for CF Convention Changes.
The pull request is merged by a member of the Governance Panel or the CF Conventions and Standard Names Committee. The person who merges the pull request also closes the issue.

Following https://github.com/cf-convention/cf-conventions/issues/345 agreed last week, we should add here:

The issue should be given the change agreed label, and the pull request should be given the next release number as a milestone.

I suggest that this sentence or something like it should be inserted between the other two.
Jonathan

@JonathanGregory that looks fine for me, I would approve that.
BTW your note reminds me that we have yet to align the terminology everywhere of using "main" rather than "master" as branch name; I've submitted https://github.com/cf-convention/cf-conventions/pull/376 to correct this in CONTRIBUTING.md, somehow I missed that when implementing https://github.com/cf-convention/discuss/issues/125. Would appreciate if somebody takes a look at those minor but important changes.

I have inserted a list of tasks, because I thought that made it clearer. Please see this PR.

Now this issue has produced 3 PRs. One's already merged because it was a simple error. Are the other 2 agreed? If they are, we could merge them sequentially, or merge 1 into the other and then merge the whole shebang when that's done. Both open PRs are valuable in my view and should be merged once it's clear that they're agreed (from my perspective that could be the case now, but others may disagree).
I believe the cleanest thing would be

[x] Raise a PR from branch JonathanGregory:issue345+371 to davidhassell:release-procedure. That would put those changes together with those already discussed in #372 once merged. I've done this now; @davidhassell if you're happy with those changes please merge that PR.
[ ] Close #377, since those changes are now in #372
[ ] Review #372 in its entirety, then merge once agreed.

Does that make sense?

Sounds good.Just to be clear, "that PR" of the first action is #377 ?

(premature send) .... also, might be good to note that we only intend to merge #372 after we've used it for 1.10, as only then do we know it works (https://github.com/cf-convention/cf-conventions/pull/372#issuecomment-1220786212)

Sounds good.Just to be clear, "that PR" of the first action is #377 ?

Yes.

(premature send) .... also, might be good to note that we only intend to merge https://github.com/cf-convention/cf-conventions/pull/372 after we've used it for 1.10, as only then do we know it works (https://github.com/cf-convention/cf-conventions/pull/372#issuecomment-1220786212)

I'd forgotten about that, absolutely right.

Hi @davidhassell I just had quick look at your new PR #498. From my outside perspective it looks good, but I guess only you and other release manages can judge.  Nevertheless, here are two small observations:

The release date, that I tried to automate in issue #457 / PR#475 didn't work out in the end (hence cf-convention.github.io/428) I am not sure whether this automation could be fixed, or if the manual step needs to be recorded in the procedure.
The released version number, and the new draft version number, appears at quite a few places. Is this something that could be further automated ?

Once a release is done, we need a milestone for the next one. I have just created the 1.12 milestone in order to attribute a PR to it.

Thanks, @JonathanGregory, creating the next milestone has been added (https://github.com/cf-convention/cf-conventions/pull/498/commits/0d773294e4b109e131b455b89b9b374650c5e65a).


Prepare for 0.15 release

[x] I agree to follow the project's code of conduct.
[x] I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

r? @jdroenner

bors merge


paper-toggle-button and paper-checkbox events incorrectly documented

In the Polymer documentation for <paper-toggle-button>, the events section lists the two callbacks as change and core-change, but the actual callbacks seem to be on-change and on-core-change.
Similarly for <paper-checkbox>.

Why do you report this here and not in repos of each component? I did a quick check and https://github.com/Polymer/paper-toggle-button/blob/master/paper-toggle-button.html#L139 shows that 'change' and 'core-change' are fired.

Ah, yea I actually misunderstood the documentation. change and core-change are definitely fired, since I mentioned their respective on callbacks, but I thought event callbacks were documented with their respective on-x methods, and not the event x.  Seems I was mistaken.
As for reporting, I just used the documentation's "file a bug" button, which didn't notice sent me to the base polymer repo, or here.
I'll close the issue.


Deployed images

@Gfif Thank you for the PR. I just don't realize the meaning of 'suffix' member of DeployedTaskImage model. Can you elaborate on that?


Error for <IP_ADDRESS>8

This add-on don't work for Firefox Developer Edition 65.0b7 (64 bits) in latest version (<IP_ADDRESS>8) but work fine in <IP_ADDRESS>8 (from AMO)
He sent me a 404 error in console for every file by trying access to this URL : https://github.githubassets.com/app/node_modules

for every file

What do you mean? On what pages do you see the error?

I test it on this issue or on https://github.com/sindresorhus/refined-github/issues/595 (to see "like profile image" feature).
I can't reproduce the 404 error, I'm sorry, but all paths was related to Github, maybe a Github error, i don't know.
But what I'm sure, it's when i update to <IP_ADDRESS>8, this add-on doesn't work anymore. I have no the default config of this add-on, except that I checked "Show the features enabled on each pages in the console".

Indeed. 19.1.3 doesn't work on Firefox, it seems to be caused by #1692 / https://github.com/sindresorhus/refined-github/commit/e4a66fe4f91a1a3a0f0fbe9d8800ec2c5bcede35

Firefox extension debugging is annoying as hell. Apparently Firefox is choking on a regex introduced by https://github.com/sindresorhus/linkify-urls/commit/5d04065cef99effbd18f6b368a0afa11a3cc1878 (I had to use a diff tool on content.js between 19.1.2 and 19.1.3 to find out) and it just doesn't run content.js, without throwing any errors 🙄


[SUPPORT]  insert into select statement is abnormal

Steps to reproduce the behavior:
Use cdc as the data source to associate, and then insert the mysql result table
Environment Description:
Flink version : 1.12.2
cdc-connector version : flink-sql-connector-mysql-cdc-1.2.0
jdbc-connector version : flink-connector-jdbc_2.11-1.12.2
Storage (HDFS/S3/GCS..) : HDFS
Running on Docker? (yes/no) :no
code:
`CREATE TABLE activity_records (
record_id STRING NOT NULL
,created_at STRING
,updated_at STRING
,activity_id STRING
,activity_name STRING
,cust_id STRING
,reward_id STRING
,activity_type_id STRING
,activity_type_name STRING
,current_progress STRING
,status STRING
,attribute STRING
,repeat_time STRING
,repeat_begin_time STRING
,repeat_end_time STRING
,meet_date STRING
,meet_date_str STRING
,done_date STRING
,give_date STRING
,meet_timeout_date STRING
,last_give_date STRING
,real_give_date STRING
,web_show STRING
,txn_seq STRING
,activity_timeout_date STRING
,active_receive STRING
,is_delete STRING
) WITH (
'connector' = 'mysql-cdc',
'hostname' = 'xxxxxx',
'port' = '3306',
'username' = 'xxx',
'password' = 'xxxxx',
'database-name' = 'flinkcdc',
'table-name' = 'activity_records',
'debezium.snapshot.locking.mode' = 'none'
);
CREATE TABLE interactive_events (
weixin_event_id  STRING NOT NULL
,created_at STRING
,updated_at STRING
,cust_id STRING
,event_key STRING
,content STRING
,record_date STRING
) WITH (
'connector' = 'mysql-cdc',
'hostname' = 'xxxxxx',
'port' = '3306',
'username' = 'xxxx',
'password' = 'xxxxx',
'database-name' = 'flinkcdc',
'table-name' = 'interactive_events',
'debezium.snapshot.locking.mode' = 'none'
);
CREATE TABLE reslut (
cust_id STRING NOT NULL
,setquery_cnt BIGINT
,cipher_cnt BIGINT
,openapp_day BIGINT
,openapp_cnt BIGINT
,thumbsup_day BIGINT
,thumbsup_cnt BIGINT
,save_cnt BIGINT
,save_day BIGINT
,setup_cnt BIGINT
,novicedone_cnt BIGINT
,dailydone_cnt BIGINT
,flashdone_cnt BIGINT
,passivedone_cnt BIGINT
,elsedone_cnt BIGINT
,done_cnt BIGINT
,app_cnt BIGINT
,PRIMARY KEY (cust_id) NOT ENFORCED
) WITH (
'connector' = 'jdbc',
'url' = 'jdbc:mysql://xxxxxxx:3306/flinkcdc?useSSL=false&autoReconnect=true',
'driver' = 'com.mysql.cj.jdbc.Driver',
'table-name' = 'reslut',
'username' = 'xxx',
'password' = 'xxx',
'lookup.cache.max-rows' = '3000',
'lookup.cache.ttl' = '10s',
'lookup.max-retries' = '3'
);
INSERT INTO reslut
select
t1.cust_id
,sum(case when t1.event_key = '6' then 1 else 0 end) as setquery_cnt
,sum(case when t1.event_key = '7' then 1 else 0 end) as cipher_cnt
,count(DISTINCT case when t1.event_key = '2' then t1.record_date else null end) as openapp_day
,sum(case when t1.event_key = '2' then 1 else 0 end) as openapp_cnt
,count(DISTINCT case when t1.event_key = '3' then t1.record_date else null end) as thumbsup_day
,sum(case when t1.event_key = '3' then 1 else 0 end) as thumbsup_cnt
,sum(case when t1.event_key = '4' then 1 else 0 end) as save_cnt
,count(DISTINCT case when t1.event_key = '4' then t1.record_date else null end) as save_day
,sum(case when t1.event_key = '5' then 1 else 0 end) as setup_cnt
,COALESCE(max(t2.novicedone_cnt),0) as novicedone_cnt
,COALESCE(max(t2.dailydone_cnt),0) as dailydone_cnt
,COALESCE(max(t2.flashdone_cnt),0) as flashdone_cnt
,COALESCE(max(t2.passivedone_cnt),0) as passivedone_cnt
,COALESCE(max(t2.elsedone_cnt),0) as elsedone_cnt
,COALESCE(max(t2.done_cnt),0) as done_cnt
,sum(case when t1.event_key = '0' then 1 else 0 end) as app_cnt
from interactive_events t1
left join (
SELECT
tmp.cust_id
,sum(case when tmp.attribute='0' and (tmp.status=3 or tmp.status=2) then 1 else 0 end) as novicedone_cnt
,sum(case when tmp.attribute='1' and (tmp.status=3 or tmp.status=2) then 1 else 0 end) as dailydone_cnt
,sum(case when tmp.attribute='2' and (tmp.status=3 or tmp.status=2) then 1 else 0 end) as flashdone_cnt
,sum(case when tmp.attribute='3' and (tmp.status=3 or tmp.status=2) then 1 else 0 end) as passivedone_cnt
,sum(case when tmp.attribute='4' and (tmp.status=3 or tmp.status=2) then 1 else 0 end) as elsedone_cnt
,sum(case when tmp.status in ('1','2') then 1 else 0 end) as done_cnt
from activity_records tmp
group by tmp.cust_id
) t2
on t2.cust_id = t1.cust_id
group by t1.cust_id;`
Stacktrace:
[ERROR] Could not execute SQL statement. Reason:
org.apache.flink.table.planner.codegen.CodeGenException: Unable to find common type of GeneratedExpression(field$206,isNull$205,,STRING,None) and ArrayBuffer(GeneratedExpression(((int) 0),false,,INT NOT NULL,Some(0))).
Additional context:
But I used the following code without error,When the table is created, event_key and status are of type STRING.
INSERT INTO reslut
select
t1.cust_id
,sum(case when t1.event_key = 6 then 1 else 0 end) as setquery_cnt
,sum(case when t1.event_key = 7 then 1 else 0 end) as cipher_cnt
,count(DISTINCT case when t1.event_key = 2 then t1.record_date else null end) as openapp_day
,sum(case when t1.event_key = 2 then 1 else 0 end) as openapp_cnt
,count(DISTINCT case when t1.event_key = 3 then t1.record_date else null end) as thumbsup_day
,sum(case when t1.event_key = 3 then 1 else 0 end) as thumbsup_cnt
,sum(case when t1.event_key = 4 then 1 else 0 end) as save_cnt
,count(DISTINCT case when t1.event_key = 4 then t1.record_date else null end) as save_day
,sum(case when t1.event_key = 5 then 1 else 0 end) as setup_cnt
,COALESCE(max(t2.novicedone_cnt),0) as novicedone_cnt
,COALESCE(max(t2.dailydone_cnt),0) as dailydone_cnt
,COALESCE(max(t2.flashdone_cnt),0) as flashdone_cnt
,COALESCE(max(t2.passivedone_cnt),0) as passivedone_cnt
,COALESCE(max(t2.elsedone_cnt),0) as elsedone_cnt
,COALESCE(max(t2.done_cnt),0) as done_cnt
,sum(case when t1.event_key = 0 then 1 else 0 end) as app_cnt
from interactive_events t1
left join (
SELECT
tmp.cust_id
,sum(case when tmp.attribute='0' and (tmp.status='3' or tmp.status='2') then 1 else 0 end) as novicedone_cnt
,sum(case when tmp.attribute='1' and (tmp.status='3' or tmp.status='2') then 1 else 0 end) as dailydone_cnt
,sum(case when tmp.attribute='2' and (tmp.status='3' or tmp.status='2') then 1 else 0 end) as flashdone_cnt
,sum(case when tmp.attribute='3' and (tmp.status='3' or tmp.status='2') then 1 else 0 end) as passivedone_cnt
,sum(case when tmp.attribute='4' and (tmp.status='3' or tmp.status='2') then 1 else 0 end) as elsedone_cnt
,sum(case when tmp.status in ('1','2') then 1 else 0 end) as done_cnt
from activity_records tmp
group by tmp.cust_id
) t2
on t2.cust_id = t1.cust_id
group by t1.cust_id;

Closing this issue because it was created before version 2.3.0 (2022-11-10). Please try the latest version of Flink CDC to see if the issue has been resolved. If the issue is still valid, kindly report it on Apache Jira under project Flink with component tag Flink CDC. Thank you!


[Fab] Add z-index

Closes https://github.com/mui-org/material-ui/issues/30603 Adds new zIndex value for Fab, that is the same as the SpeedDial.

👋 The migration PR has been merged.
Please follow these steps to make sure that the contents are all updated. (Sorry for the inconvenience)

pull latest master from upstream to your branch
if your PR has changes on the *.md or demo files, you are likely to encounter conflict because all of them have been moved to the new folder.
2.1 revert the change on those markdown files you did
2.2 pull latest master from upstream (you should not see conflict)
2.3 make the changes again at docs/data/material/*
run yarn docs:api

you might see the changes in docs/pages/material/api/* if your PR touches some of the components
it is okay if there is no changes

If you are struggle with the steps above, feel free to tag @siriwatknp


Page titles are not (always) human readable

There are quite some pages where the page title is not human readable.
For example, in the Contributing guide the title is contributing - {{< var title >}}.
This is probably because the page title is defined as # Title instead of in the YAML as such:
---
title: Title
---

This is an easy fix across all the pages, and I wonder whether we could add an automated check to make this easier to maintain over time.

Fixed as a result of https://github.com/ubvu/open-handbook/pull/148


Add a solution of 2021 Round a

Satya, only if the solution of all the rounds are added, only then the issues will be closed?


syntaxError

When i run i've got a syntax error :
python polymath.py -a /Users/loris/Desktop/Music/polymath2023/
File "polymath.py", line 60     command = f"ffmpeg -hide_banner -loglevel panic -i {file} -ab 160k -ac 2 -ar 44100 -vn -y {vidobj.audio}"                                                                                ^ SyntaxError: invalid syntax

What platform (windows, mac, linux) are you on?

mac (Big Sur 11.7.3)

Do you have ffmpeg installed on your system?
brew install ffmpeg

I didn't have it, but after installing it I still have the same error.

@Loris-bite  What does the output of python --version say?

Python 2.7.16

Polymath requires Python 3.7, 3.8, 3.9 or 3.10 (no bigger than 3.10 on MacOs!). Please try upgrading your setup!

I have Python 3.10. If i use python3 --version the output say Python 3.10.6

Then you should also use python3 to call polymath, i.e.
python3 polymath.py -a /Users/loris/Desktop/Music/polymath2023/
Also make sure that you installed the requirements with the correct pip (likely pip3) or consider setting up a conda environment.

I Reinstalled using pip3 and now it works!

awesome!


[BUG] Doesn't produce taxonomy - missing both a library and panda 3.0 issue

Describe the bug
Appears to be both a pandas 3.0 issue and a missing library. It doesn't produce a taxonomy either way.
To Reproduce
taxmyphage -i UP30.fsa -o UP30_out -p UP30 -t 8

taxmyphage -i query.fasta -o out -p test -t 8

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
=========================
TAXMYPHAGE version 0.3.1

Looking for database files
Found /home/docwhite/miniconda3/envs/taxmyphage/lib/python3.12/site-packages/taxmyphage/database/VMR.xlsx as expected
/home/docwhite/miniconda3/envs/taxmyphage/lib/python3.12/site-packages/taxmyphage/handle_files.py:114: FutureWarning: A value is trying to be set on a copy of a DataFrame or Series through chained assignment using an inplace method.
The behavior will change in pandas 3.0. This inplace method will never work because the intermediate object on which we are setting values always behaves as a copy.
For example, when doing 'df[col].method(value, inplace=True)', try using 'df.method({col: value}, inplace=True)' or df[col] = df[col].method(value) instead, to perform the operation inplace on the original object.
taxa_df["Genbank"].fillna("", inplace=True)
Found /home/docwhite/miniconda3/envs/taxmyphage/lib/python3.12/site-packages/taxmyphage/database/ICTV_2023.msh as expected
Found /home/docwhite/miniconda3/envs/taxmyphage/lib/python3.12/site-packages/taxmyphage/database/Bacteriophage_genomes.fasta.nhr as expected

Starting tax_my_phage analysis
Classifying:   0%|                                                                                | 0/1 [00:00<?, ?it/s]
Classifying UP30 in result folder UP30_out/Results_per_genome/UP30

MASH analysis
Number of phage genomes detected with mash distance of < 0.2 is:1
The mash distances obtained for this query phage:
+-----++-----+
| Minimum || Maximum |
+-----++-----+
| nan || nan |
+-----++-----+
Found 0 genera associated with this query genome
Classifying:   0%|                                                                                | 0/1 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/home/docwhite/miniconda3/envs/taxmyphage/bin/taxmyphage", line 10, in
sys.exit(main())
^^^^^^
File "/home/docwhite/miniconda3/envs/taxmyphage/lib/python3.12/site-packages/taxmyphage/main.py", line 124, in main
all_classification(
File "/home/docwhite/miniconda3/envs/taxmyphage/lib/python3.12/site-packages/taxmyphage/actions.py", line 140, in all_classification
mash_df, accession_genus_dict = classification_mash(
^^^^^^^^^^^^^^^^^^^^
File "/home/docwhite/miniconda3/envs/taxmyphage/lib/python3.12/site-packages/taxmyphage/classify.py", line 187, in classification_mash
keys = [k for k, v in accession_genus_dict.items() if v == unique_genera[0]]
~~~~~~~~~~~~~^^^
IndexError: list index out of range
Please complete the following information:
OS:

[X ] Linux
[ ] Windows
[ ] Mac

taxmyPHAGE Version:
TAXMYPHAGE version 0.3.1
Additional context
From outfile
Reference,Query,distance,p-value,shared-hashes,ANI
mash: error while loading shared libraries: libgsl.so.25: cannot open shared object file: No such file or directory,,,,,

query_UP30
ATGAGCAATACCAATCAGGAATTAAAAATCACCGATATGATTCGCCTAACCTGCGATGCA
ATGTACCGCGACAAAGGCATGAAAGAGTTCTCTTTCGTGGCTGATGATATGGCGAGAGAG
GCGGTAAAATTTTACTTCCGAGATCAGGATATTTCAGATGATGAGGTGGAGCGCGGAGCT
ACCGGGTGGGTGAACCAGAACCAGGGCGAGGTGGAGAAGCGATTCAAGTCGGCTTTCATC
ACCCCGATCATTACCCGACACTTCTGCAAGTATGGCAAGGTGGCAAAGGTTAAGGTAGGC
AGGAATGACGCAGCAATCACTATGATAACCGTTACCGTTACCGACGAAGAGGCTCCGGTG

query.fasta is from your website.

It looks like you have a problem with the GNU Scientific Library (GSL) shared library, so your mash command does not work, and therefore you don't get any hits.
If you try
ldd $(which mash)
It should tell you that it is missing libgsl.so.25
If you installed mash via Conda, it should installed the correct version of libgsl too ...
Maybe reinstall mash?

I installed based on this command
mamba activate taxmyphage

# If databases not installed, install them
taxmyphage install```

Which version of mash should be included?
The pandas message isn't an issue?

Many thanks,
Rick

It is version mash 2.3
The pandas warnings shouldnt stop it working
Andy

installed mash. this library is missing -> libgsl.so.25 => not found
I tried sudo apt-get install libgsl-dev
still couldn't find it.
thoughts?

So, essentially your mash installation does not work.
How did you install mash? If it is via conda, then the library dependencies should be seen to automatically. If you installed it by hand, you would need to double check that it is compiled against the correct library.
One solution would be to compile mash on your computer ...

Installed with conda - that worked. Don't know what this error is.

Can you try the following commands?
which mash
ldd $(which mash)
mash -h
This should give you information of where to start.

mash -h
mash: error while loading shared libraries: libgsl.so.25: cannot open shared object file: No such file or directory
ldd $(which mash)
linux-vdso.so.1 (0x00007cf5af48e000)
libgsl.so.25 => not found
libcblas.so.3 => /home/docwhite/miniconda3/envs/taxmyphage/bin/../lib/libcblas.so.3 (0x00007cf5ad000000)
libstdc++.so.6 => /home/docwhite/miniconda3/envs/taxmyphage/bin/../lib/libstdc++.so.6 (0x00007cf5ace1d000)
libz.so.1 => /home/docwhite/miniconda3/envs/taxmyphage/bin/../lib/libz.so.1 (0x00007cf5af39f000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007cf5af39a000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007cf5af393000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007cf5af2ac000)
libgcc_s.so.1 => /home/docwhite/miniconda3/envs/taxmyphage/bin/../lib/libgcc_s.so.1 (0x00007cf5af28d000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007cf5aca00000)
/lib64/ld-linux-x86-64.so.2 (0x00007cf5af490000)
libgfortran.so.5 => /home/docwhite/miniconda3/envs/taxmyphage/bin/../lib/./libgfortran.so.5 (0x00007cf5acc78000)
libquadmath.so.0 => /home/docwhite/miniconda3/envs/taxmyphage/bin/../lib/././libquadmath.so.0 (0x00007cf5af253000)

Hi, I’m encountering the same problem when running the program using the Dockerfile from your repository. Do you have a solution for the "IndexError: list index out of range"?
I updated Mash and other programs via the Dockerfile, but the problem still persists.
The error is : File "/opt/conda/lib/python3.12/site-packages/taxmyphage/main.py", line 124, in main
all_classification(
File "/opt/conda/lib/python3.12/site-packages/taxmyphage/actions.py", line 140, in all_classification
mash_df, accession_genus_dict = classification_mash(
^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.12/site-packages/taxmyphage/classify.py", line 187, in classification_mash
keys = [k for k, v in accession_genus_dict.items() if v == unique_genera[0]]
~~~~~~~~~~~~~^^^
IndexError: list index out of range

Hi @sandraaran, the Dockerfile was never tested and might not work sorry


Golden Profane Union is visible again

Build: Custom

That's clearly an UI bug on your end - it happens often when the coordinator goes temporarily offline and cosmetics get mixed up (plenty of reddit funny posts with this stuff).

Ah, thanks. Haven't seen that before.


Switch optimizations are not disabled when we rejit because of them.

When we rejit (which means that some assumption we made in the jit is no longer true and we have bailed out enough times to realize that we want updated profile info) we disable the optimization that caused the bailouts and the rejit. Otherwise, there is a high chance that we will keep bailing out and rejitting because of the same reason. This is not being done for switch opts.

Resolved by #704


library to help add dependency on win/uv loop

checkout winuvloop https://github.com/aviadr1/winuvloop
that helps developers depend on either uvloop or winloop depending on their current dev platform without needing to explicitly select.
just sets up the dependencies, no extra code

On Tue, Aug 27, 2024 at 1:13 PM Aviad Rozenhek @.***>
wrote:

checkout winuvloop https://github.com/aviadr1/winuvloop
that helps developers depend on either uvloop or winloop depending on
their current dev platform without needing to explicitly select.
just sets up the dependencies, no extra code
—
Reply to this email directly, view it on GitHub
https://github.com/Vizonex/Winloop/issues/33, or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3K7GGVSPW7N4FM3AUANKXDZTS6WDAVCNFSM6AAAAABNGVOJL2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ4TAMBUGEYTANY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I would be willing to help with this. I think you should be able to add
support for 3.8 and higher though luckily I’ve already looked into this
library you’ve written and I know exactly how to improve it.

@aviadr1 One more thing to point out is that @lschoe is working on a way to merge uvloop and winloop together but your project should be a good temporary solution for now.

Also good to note is that the uvloop team is trying to do the same thing as us: https://github.com/MagicStack/uvloop/pull/587


Use teller as library

Aside CLI, it would be great to be able to use Teller as a Go library instead. This would allow cleaner integration with system applications, such as K8S operators that need to dynamically update secrets without having to fork multiple processes.
Of course this is already technically possible, but making a formal library API would help expand the usage.

My bad I see Teller 2.0 already includes this target!


Builder fails to start in stateless platform

Hello,
I've been trying to set up a stateless platform (1.9.1), so far without success. I've set up the following:

S3 bucket and credentials that allow all access to S3
RDS instance accessible from the Deis hosts
Log endpoint at Logentries

I've set up the keys according to this guide, and here's the output of etcdctl ls --recursive:
$ etcdctl ls --recursive
/deis
/deis/certs
/deis/logs
/deis/logs/host
/deis/logs/port
/deis/logs/protocol
/deis/registry
/deis/registry/protocol
/deis/registry/host
/deis/registry/s3bucket
/deis/registry/s3accessKey
/deis/registry/s3secretKey
/deis/registry/s3region
/deis/registry/s3path
/deis/registry/s3encrypt
/deis/registry/hosts
/deis/registry/hosts/x.x.x.x
/deis/registry/hosts/x.x.x.x/host
/deis/registry/hosts/x.x.x.x/port
/deis/registry/bucketName
/deis/registry/s3secure
/deis/registry/masterLock
/deis/registry/port
/deis/store
/deis/store/gateway
/deis/store/gateway/secretKey
/deis/store/gateway/host
/deis/store/gateway/port
/deis/store/gateway/accessKey
/deis/database
/deis/database/port
/deis/database/name
/deis/database/user
/deis/database/password
/deis/database/engine
/deis/database/host
/deis/cache
/deis/builder
/deis/builder/users
/deis/router
/deis/router/proxyProtocol
/deis/router/hosts
/deis/router/hosts/x.x.x.x
/deis/router/hosts/x.x.x.x
/deis/router/hosts/x.x.x.x
/deis/router/hsts
/deis/router/gzip
/deis/platform
/deis/platform/domain
/deis/platform/sshPrivateKey
/deis/controller
/deis/services
/deis/domains

The log output that I'm seeing on the builder instance is:
builder: waiting for confd to write initial templates...
2015-08-27T21:02:51Z 7a07bb52563a confd[303]: ERROR template: builder:79:8: executing "builder" at <getv "/deis/controll...>: error calling getv: key does not exist
2015-08-27T21:02:51Z 7a07bb52563a confd[303]: ERROR template: receiver:13:30: executing "receiver" at <getv "/deis/controll...>: error calling getv: key does not exist
builder: waiting for confd to write initial templates...
2015-08-27T21:03:01Z 7a07bb52563a confd[309]: ERROR template: builder:79:8: executing "builder" at <getv "/deis/controll...>: error calling getv: key does not exist
2015-08-27T21:03:01Z 7a07bb52563a confd[309]: ERROR template: receiver:13:30: executing "receiver" at <getv "/deis/controll...>: error calling getv: key does not exist
builder: waiting for confd to write initial templates...
2015-08-27T21:03:11Z 7a07bb52563a confd[315]: ERROR template: builder:79:8: executing "builder" at <getv "/deis/controll...>: error calling getv: key does not exist
2015-08-27T21:03:11Z 7a07bb52563a confd[315]: ERROR template: receiver:13:30: executing "receiver" at <getv "/deis/controll...>: error calling getv: key does not exist
builder: waiting for confd to write initial templates...
2015-08-27T21:03:21Z 7a07bb52563a confd[320]: ERROR template: builder:79:8: executing "builder" at <getv "/deis/controll...>: error calling getv: key does not exist
2015-08-27T21:03:21Z 7a07bb52563a confd[320]: ERROR template: receiver:13:30: executing "receiver" at <getv "/deis/controll...>: error calling getv: key does not exist

(on repeat)
Besides, the deis-controller refuses to start as well. Is there a step I'm missing here?

the builder relies on the controller, so if the controller refuses to start then the builder won't be able to boot either. What does the logs for the controller say? :)

Nothing at all -- that's probably why. And running deisctl start controller doesn't do anything either, it just sits and waits...

deisctl journal controller doesn't show anything? How about deisctl list? Is it showing up as attempting to boot or does it not exist there either?

Here's the output of deisctl list:
$ deisctl list
UNIT			MACHINE			LOAD	ACTIVE		SUB
deis-builder.service	15551a4a.../x.x.x.x	loaded	activating	start-post
deis-controller.service	41aa9c24.../x.x.x.x	loaded	inactive	dead
deis-logspout.service	15551a4a.../x.x.x.x	loaded	active		running
deis-logspout.service	41aa9c24.../x.x.x.x	loaded	active		running
deis-logspout.service	4e0f8d5e.../x.x.x.x	loaded	active		running
deis-logspout.service	cf95e747.../x.x.x.x	loaded	active		running
deis-logspout.service	eb208acb.../x.x.x.x	loaded	active		running
deis-publisher.service	15551a4a.../x.x.x.x	loaded	active		running
deis-publisher.service	41aa9c24.../x.x.x.x	loaded	active		running
deis-publisher.service	4e0f8d5e.../x.x.x.x	loaded	active		running
deis-publisher.service	cf95e747.../x.x.x.x	loaded	active		running
deis-publisher.service	eb208acb.../x.x.x.x	loaded	active		running
<EMAIL_ADDRESS>4e0f8d5e.../x.x.x.x	loaded	active		running
<EMAIL_ADDRESS>cf95e747.../x.x.x.x	loaded	active		running
<EMAIL_ADDRESS>eb208acb.../x.x.x.x	loaded	active		running
<EMAIL_ADDRESS>15551a4a.../x.x.x.x	loaded	active		running

So it does exist, but it's not even attempting to boot. From the host that it's scheduled on:
$ journalctl -u deis-controller
-- Logs begin at Thu 2015-08-27 20:21:14 UTC, end at Thu 2015-08-27 21:53:31 UTC. --

Not much to look at...

@daanemanz If you follow the fleet daemon (journalctl -fu fleetd) on the host that controller is scheduled to, what you do see when you try to start the component?

try booting it with deisctl start controller, then follow the logs. Seems odd that it never started though. What version of deisctl was this?

@carmstrong journalctl -fu fleetd doesn't show any output on any of the CoreOS hosts, but I can see it's running:
$ ps aux | grep fleetd
root       970  0.5  0.1<PHONE_NUMBER>0 ?        Ssl  20:23   0:31 /usr/bin/fleetd

@bacongobbler This is deisctl version 1.9.1
While attempting to start the controller using deisctl start controller:
$ deisctl journal controller
-- Logs begin at Thu 2015-08-27 20:21:14 UTC. --

Could this have to do with the fact that I'm running my CoreOS hosts in private subnets on AWS, and they have to access S3 through a NAT? Should we connect to S3 over https instead?

the controller does not require access to S3, so that shouldn't be the issue here. Is the container actually running or is it still inactive? If it's inactive then I'd probably look into fleet as @carmstrong mentioned. :/

I think I know what the issue might be...
$ fleetctl cat deis-controller
[Unit]
Description=deis-controller
Requires=deis-store-volume.service
After=deis-store-volume.service

Because this is a stateless install, it's not running deis-store-volume.service at all and thus the service will never start. Would that make sense?

Ah yes, this was fixed in v1.9.1: https://github.com/deis/deis/commit/850aceb91a160f9afd306bfdd431cc2ffe3dbb79
It looks like you have some older units installed. did you run deisctl refresh-units after installing the v1.9.1 client?

Ehhhh. That makes total sense. I did not run deisctl refresh-units but I will do so and report the outcome!

That worked! Will close this issue. Thanks for the help!


Add html report state as hash tag on the url

On the report page (ex: http://..../report.html) add some hashtag on the url to reflect the page state.
For example:

The user select "failling" in the "filter" combobox
The url become http://..../report.html#filter=failling
The user then select 100 items per page
The url become http://..../report.html#count=100,filter=failling
The user enter the search string transaction
The url become http://..../report.html#count=100,filter=failling,search=transaction

As a result, a reload of the page, won't lose the current state of the page, but will only reload the data.


YouTube link embeds

I need to add music links to most of my pages. I need a simple way to do that, can you help me?

@Hazelkatnut how are we doing on this? Want me to add htis plugin? I cna do today or tomorrow (sorry iddn't get it done htursday, I was urn a bit ragged last week).

Hello, sorry for the late reply, I didn't really have time to work on it.
Looking at both I think I prefer the second one you suggested, I can pull from spotify too. Would it cause any trouble that I don't have their paid account? I have the free version so I'm not sure if it would restrict me from using what I need.
For the captions portion, that's okay, I'll see what happens and ask you along the way.
I'm hoping to start something today so no rush with that.


bump-formula-pr: search for closed dupe PRs

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

Related issue: https://github.com/Homebrew/brew/issues/7744
Example to test functionality: brew bump-formula-pr fio --url https://github.com/axboe/fio/archive/fio-3.20.tar.gz -n

I've force-pushed an update taking the review into consideration. Let me know how it looks. I've done very minimal work with Ruby so I'm learning to do things "the Ruby way™" as I go along and all of the suggestions so far are appreciated.

Thanks so much for your great, first contribution (hopefully of many)!  You rock, @dtrodrigues!


Silence alerts that are false positive within Slack

Overview
Currently we get pod errors that spam our slack channel and are false positive. We should have an option to ignore these error to rule out false positive.
Acceptance Criteria
Ability to ignore alerts that are false positive from slack channel.

Hi @AliHas78, in Botkube 1.0+ we have a mechanism to exclude messages based on type, reason, message regex etc. I hope this will be helpful for you: https://docs.botkube.io/configuration/source/kubernetes
Please upgrade to the latest Botkube and try these features. If you'll be missing anything, feel free to reopen the issue. Cheers!


Additional German translations

@ckoeberle provided the following regarding the translation of a few words that were not yet translated in the German locale. Some are not direct translations, but I will try to integrate any of these that work with existing parsedatetime logic.

English
German
Example (english)
Example (german)

from
in ab
two days from now
in zwei Tagen ab heute

after
nach
the day after my birthday
einen Tag nachmeinem Geburtstag

before
vor
one week before my birthday
eine Woche vor meinem Geburtstag

prev
vorher
the prev day
einen Tag vorhereine Woche vorher

end of
Ende desEnde der
remind me at the end of the monthremind me at the end of the week
erinnere mich Ende des Monatserinnere mich Ende der Woche

eodeomeoy
there is no corresponding german abbreviation

aan
same as oneeinem, einer
in a monthin an hour
in einem Monatin einer Stunde

Numbers 0 to 20

Number
spelled

0
null

1
eins

2
zwei

3
drei

4
vier

5
fünf

6
sechs

7
sieben

8
acht

9
neun

10
zehn

11
elf

12
zwölf

13
dreizehn

14
vierzehn

15
fünfzehn

16
sechzehn

17
siebzehn

18
achtzehn

19
neunzehn

20
zwanzig

(original discussion)

having more language coverage is always a huge win - thanks @idpaterson

A quick update on this: I had implemented the changes described above a few months ago but many issues arose when applying the examples as test cases (previously German tests covered only numeric datetime formats). I have not proceeded but this is still of interest to me. Will have more time available in a few months to rebase and take another stab at this provided that I can enlist the help of one of my users to design valid test cases.

This will be revisited after the test architecture is rewritten. I created very simple tests this morning to make sure that the "test all locales" logic was working and even something as simple as these "ago" phrases did not work for German:
past_integer_values:
    sourceTime: *arbitrary_date
    cases:
        - context: !pdtContext minute
          target: !timedelta
            minutes: -5
          phrases:
            - "5 minuten vorheriger"
        - context: !pdtContext hour
          target: !timedelta
            hours: -34
          phrases:
            - "34 stunden vergangener"
        - context: !pdtContext day
          target: !timedelta
            days: -2
          phrases:
            - "2 tage vergangener"

I don't know German but based on the locale config it looks like these should work. I had to use negative integers (-5 minuten, -34 stunden, -2 tage) to get the tests to pass. It will be very nice to have better test coverage for locales but looks like it might take a lot of work to get the tests to pass.


Tempus-1088-privacy-policy UI changes.

Thank you for submitting a contribution to Tempus.
In order to streamline the review of the contribution please
ensure the following steps have been taken:
For all changes:

[x] Is there a Waffle ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with Tempus-XXXX where XXXX is the waffle number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically dev)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn clean install at the root Tempus folder?
[ ] Have you written or updated unit tests to verify your changes?
[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] Have you added documentation for any UI or API related changes to the /docs folder

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

For privacy policy, generally, you don't add support of Internationalisation. There must be some better way to add this instead of dividing them in paragraphs manually.
Having said that, for now i am accepting this PR. Just make sure all styles which are duplicated in HTML are replaced by CSS classes


WMS-T Sandcastle server is gone

https://sandcastle.cesium.com/?src=Web Map Tile Service with Time.html no longer works because the layer appears to be done.
@tfili can you confirm and see if there is a server or layer we can still use?

Duplicate https://github.com/AnalyticalGraphicsInc/cesium/issues/8310.


Prevent GitHub workflow for daily dotnet build updates from running in forks

PR Summary
See my comment in the original PR here: https://github.com/PowerShell/PowerShell/pull/12748#issuecomment-632689055
I haven't tested it though and just taken the syntax from the documentation.
cc @adityapatwardhan
PR Context

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

The workflows in powershell/homebrew-tap have this bug..


Add a COOLIFY_PR_ID environment variable in preview deployments

This is my first PR on the Coolify project so I might have missed something, please let me know if that is the case and I'll update this to fix any issues
Changes

Add a COOLIFY_PR_ID environment variable in preview deployments

I am refactoring the magic this week and add this environment variable (since almost everything will be moved, I will close this one). Thanks for the suggestion


Swapping the JS shim for a native Go binary

Apologies if this has been asked before. From what I can see, Up still uses the Node 6.x runtime, which then runs a Go binary. Have you looked into the performance impact of removing the JS shim and directly running a native Lambda Go binary instead?

Hey @jpillora checkout #450 and #543

Ah yeah it basically had no real-world impact, and only made the Node side of things worse since the Go runtime has no Node 6.x, only 0.10.x I believe, otherwise yeah might as well be in Go but I think we're stuck with Node for now!

shave ~3mb off your deploy size

I like the sound of that! Though probably not worth the effort of maintaining 2 shims :(


Hide Paste option in text selection when nothing is in the clipboard

Needs some API tweaking since the Clipboard's APIs are asynchronous.

Duplicate of #4355


Add a Jenkins pipeline to build and scan the docker images for django and nginx

Signed-off-by: Cosmin Cojocar<EMAIL_ADDRESS>This template is for your information. Please clear everything when submitting your pull request.
Note: DefectDojo is now on Python3.5 and Django 2.2.x Please submit your pull requests to the 'dev' branch as the 'legacy-python2.7' branch is only for bug fixes. Any new features submitted to the legacy branch will be ignored and closed.
When submitting a pull request, please make sure you have completed the following checklist:

[ ] Your code is flake8 compliant.
[ ] Your code is python 3.5 compliant (specific python >=3.6 syntax is currently not accepted).
[ ] If this is a new feature and not a bug fix, you've included the proper documentation in the ReadTheDocs documentation folder. https://github.com/DefectDojo/Documentation/tree/master/docs or provide feature documentation in the PR.
[ ] Model changes must include the necessary migrations in the dojo/db_migrations folder.
[ ] Add applicable tests to the unit tests.
[ ] Add the proper label to categorize your PR.

Current accepted labels for PRs:

Import Scans (for new scanners/importers)
enhancement
performance
feature
bugfix
maintenance (a.k.a chores)
dependencies
New Migration

Git Tips
Rebase on dev branch
If the dev branch has changed since you started working on it, please rebase your work after the current dev.
On your working branch mybranch:
git rebase dev mybranch

In case of conflict:
 git mergetool
 git rebase --continue

When everything's fine on your local branch, force push to your myOrigin remote:
git push myOrigin --force-with-lease

To cancel everything:
git rebase --abort

Squashing commits
git rebase -i origin/dev

Replace pick by fixup on the commits you want squashed out
Replace pick by reword on the first commit if you want to change the commit message
Save the file and quit your editor

Force push to your myOrigin remote:
git push myOrigin --force-with-lease

This is not intended for upstream. Sorry for the noise.

Too late ;-)


Flutter shows error in unzipping what to do?

Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
[!] Gradle threw an error while trying to update itself. Retrying the update...

The Github issue tracker is for bugs and features requests for the Flutter SDK. Help and support questions like these are better suited for Q&A sites like StackOverflow or on one of the flutter community sites at https://flutter.dev/community .


Missing Namespace "Tracker" and missing configuration profiles

Hello @cookieofcode,
first of all thank you very much for making this great work public.
I desperately want to try it on my own with custom object detector but I have all in all two massive issues.
After succesfully finishing all the setup steps the "Tracker" namespace is still missing and all the configuration profiles are not assigend. As you wrote in your readme we should assign the default ones, but which exactly? They are a few to choose of and none of them matches exactly the name service:

And what to do about the missing "Tracker" namespace?
I am using OpenCVforUnity version 2.4.6 and Unity 2019.4.17f1 (but also tried the same with 2019.4.21).

Build and project settings are matching 100% with the required ones.
What am I missing or what could be the problem?
Appreciate every help!
Thank you very much in advance

After removing/commenting all the tracker integrations the profiles (except the tracker profile of course) are automatically resolved.

So I think that this part of the issue can be seen as resolved but the main, missing tracker namespace, still remains.

I saw, that the error is related to OpenCVforUnity 2.4.6.
I will change the version and retry it.
Sorry for bothering your time!