Katex

As requested in #5, this adds KaTeX support to our mdbook via a theme override.
Follows the path of https://github.com/rust-lang-nursery/mdBook/issues/49#issuecomment-167002731.
Add latex like so:
Blocks
\\[ Your math here... \\]

Inline
\\( Your math here... \\)

@Hoverbear
how about Gitbook, maybe we will generate the book for Gitbook too.

@Hoverbear I am confusing. The issue you mentioned in description looks like talking about adding MathJax to support formula, while this PR introduce KaTeX. Is it the same thing?

@DorianZheng It is a different tool to accomplish the same task. KaTeX is faster and better supported.

PTAL @DorianZheng

diff --git a/book.toml b/book.toml
index ca731db..634be1c 100644
--- a/book.toml
+++ b/book.toml
@@ -4,5 +4,5 @@ multilingual = false
 src = "src"
 title = "Head First TiKV"

-[output.html]
-theme = "theme"
+# [output.html]
+# theme = "theme"
diff --git a/src/key-value-engine/B-Tree_vs_The_Log-Structured_Merge-Tree.md b/src/key-value-engine/B-Tree_vs_The_Log-Structured_Merge-Tree.md
index b10d41d..988ae67 100644
--- a/src/key-value-engine/B-Tree_vs_The_Log-Structured_Merge-Tree.md
+++ b/src/key-value-engine/B-Tree_vs_The_Log-Structured_Merge-Tree.md
@@ -42,6 +42,8 @@ In the B+ tree, copies of the keys are stored in the internal nodes; the keys an

 To simplify the analysis, assume that the block size of the tree is `B`, and keys, pointers, and records are constant size, so that each internal node contains `O(B)` children and each leaf contains `O(B)` data records. (The root node is a special case, and can be nearly empty in some situations.) Under all these assumptions, the depth of a B tree is

+\\[ O(log_{B}\frac{N}{B}) \\]
+
 O(logBN/B)

 where `N` is the size of the database.

After commenting out theme, katex still works.

$ mdbook --version
mdBook v0.2.1

cool

PTAL @overvenus


Fixes naming for OKE service

Fixes service naming, and added to table

/lgtm
/approve

@cody-clark unrelated, but would it make sense to redo that table in an alphabetical order? The way it is right now is an eyesore...

@karthequian No kidding. I think it'd be worthwhile to democratize / give logical order to the table.
Preview: https://deploy-preview-13137--kubernetes-io-master-staging.netlify.com/docs/setup/pick-right-solution/#table-of-solutions

@karthequian No kidding. I think it'd be worthwhile to democratize / give logical order to the table.

I'll create a separate PR for this to alphabetize it by the IaaS Provider column. Happy to do something else if you see fit!


Timestamps in log view?

Is there a way to toggle timestamps in the log view? This would be very useful to monitor activity.

Hey,
There is no way to show Docker timestamps now, but it should not to be difficult to add them.
A new key bind could be added, let's say Ctrl + L,  to show logs with Docker timestamps, wdyt?

thanks for the quick response!
that proposal sounds good. another suggestion is to add a 't' key for
Timestamps, similar to Follow or Filter in the log view.
On Sun, Aug 19, 2018 at 3:47 AM moncho<EMAIL_ADDRESS>wrote:

Hey,
There is no way to show Docker timestamps now, but it should not to be
difficult to add them.
A new key bind could be added, let's say Ctrl + L, to show logs with
Docker timestamps, wdyt?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/moncho/dry/issues/75#issuecomment-414119165, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAG9WhtXqXGCAhu_qiYK5YHpKi8YhsTjks5uSUJSgaJpZM4WC2fT
.


Call transformers for OD

Resolves #144

@jamienoss refactor linearfit, etc, coefficients -> parameters to make uniform with other transformers.


[Bug] pip install fails in shallow clones (GHA, RTD); unable to generate SCM version

Local installs end up with setuptools_scm-generated versions like 1.5.0rc0.post332.dev6296020074, because 1.5.0 is the most recent tag that's an ancestor of main (subsequent releases have all been on release branches). However, shallow clones (e.g. in GHAs and RTD builds) don't have enough context to figure that out, and fail.
This is currently failing non-release RTD builds (readthedocs.org/projects/tiledbsoma/builds):

The current most recent failure there shows python -m pip install -v apis/python failing with:
    File "/home/docs/checkouts/readthedocs.org/user_builds/tiledbsoma/checkouts/latest/apis/python/version.py", line 147, in getVersion
      raise ValueError("Cannot find the version number")
  ValueError: Cannot find the version number
  error: subprocess-exited-with-error

I've typically worked around this (in test GHA workflows) with a line like:
echo "1.11.0rc0" > apis/python/RELEASE-VERSION

but we should standardize on a solution.

For GHA workflows, I thought we had standardized on passing fetch-depth: 0 to actions/checkout to perform a unshallow clone.
From a quick search, here is how to perform an unshallow clone on RTD.

RTD builds are passing, and I've subscribed to email alerts for when any future failures.
As of #2563, we should also be getting sensible version numbers during development (in both shallow and full clones).


Cleanup state management in GenJSCode

This is pre-work to be able to generate classes in a nested fashion (e.g. generate an anonymous class while we are generating another one).

Review by @sjrd

Obsoleted by #2292

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2922/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/3780/
Test PASSed.


RHIROS-492 upgrade react-router-dom to v6

Why do we need this change? :thought_balloon:
RHIROS-492
Documentation requires update? :memo:

[ ] Yes
[X] No

:guardsman: Checklist :dart:

[ ] Bugfix
[ ] New Feature
[X] Refactor
[ ] Unittests Added
[ ] DRY code
[X] Dependency Added

Additional :mega:

Codecov Report
Base: 22.37% // Head: 22.40% // Increases project coverage by +0.02% :tada:

Coverage data is based on head (d2b40f2) compared to base (8e36b71).
Patch coverage: 0.00% of modified lines in pull request are covered.

:exclamation: Current head d2b40f2 differs from pull request most recent head ee9ceb6. Consider uploading reports for the commit ee9ceb6 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #170      +/-   ##
==========================================
+ Coverage   22.37%   22.40%   +0.02%
==========================================
  Files          48       48
  Lines         934      933       -1
  Branches      170      170
==========================================
  Hits          209      209
+ Misses        676      675       -1
  Partials       49       49

Impacted Files
Coverage Δ

src/App.js
0.00% <ø> (ø)

src/AppEntry.js
0.00% <ø> (ø)

src/Routes.js
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@r14chandra Can you please rebase this PR so it stays upto date with latest master changes, thanks! 🙌🏻

Please keep in mind that you also need to bump @redhat-cloud-services/frontend-components to the version at least 3.10.0 and @redhat-cloud-services/frontend-components-utilities to at least 3.6.0.
These versions provide a compatible layer for InventoryTable that will help you avoid regressions while releasing to production disregarding if Inventory is released or not: https://github.com/RedHatInsights/frontend-components/pull/1744.

/restest

/retest

@r14chandra can you please check why the tests are failing?

@r14chandra can you please check why the tests are failing?

Tests are not failing, it is failing on the deployment job.
I have asked this on the channel.

@r14chandra you are missing a babel dependency. Run npm i --save-dev @babel/runtime and the issue will go away.

@r14chandra can you please rebase this branch?

/retest

Tested this on EE and executed iqe smoke tests for ros plugin. detailed observations are added on Jira


HttpApiLogout apiGet/apiPost, bugfixes, gzip, osrm-next preparation

Main:
All future API get/post requests must be replaced to apiGet() / apiPost()
Forget axios, forget direct fetch. See HttpApiLogout.js for more details.
All existing axios/get/post/fetch calls are already changed and tested.
"302" redirects from API are processed as remote-logout (display loginForm).
Performance:

slow NaN ***NaN*** was changed to quickNaNfix() everywhere

TracksManager bugfixes and improves:

getTrackWithAnalysis/getLocalTrackAnalysis able to continue even when get-analysis got fail
updateRouteBetweenPoints/updateRoute data separated from result (dangerous code)
temporary bugfix/workaround for localStorage holes (localTrack_0 localTrack_2)

Other bugfixes include:

list-no-keys warnings in formatRouteInfo, RouteSettingsDialog
"email" cookie did not set after login; SameSite warning fixed

Other changes:

Gzip-Base64 module added (for future localStorage compression)
globalNavigate() added to call React-route-navigate everywhere
set Clear ("cross") icon for startPoint and endPoint inputs
Utils.js: fetchUtil, fetchUtilLoad are removed
routeShowPoints with GeoJSON filter added
OSRM-routing preparation

2 reviews fixed: commented functions were removed, quickNaNfix was moved to Utils, refs to it were changed

https://github.com/osmandapp/OsmAnd-Issues/issues/2053

[ ] Showing errors on UI when changing mail or delete account does not work (setEmailError)
[ ] Old email in login form after delete account or change email (need empty when delete and new email when change)
[ ] No need to add obvious information to the logs (POST https://test.osmand.net/mapapi/auth/login 400  and fetch-http-error /mapapi/auth/login, POST https://test.osmand.net/gpx/get-analysis 502 and fetch-http-error /gpx/get-analysis)
[ ] Button Upload GPX to route does not work correctly - open track in local tracks (not route) and does not check for duplicate names
[ ] Url is not cleared after delete start and end (https://test.osmand.net/map/?end=50.033989%2C19.903450&mode=bicycle#12/50.0233/19.9862)

Url is not cleared after delete start and end (https://test.osmand.net/map/?end=50.033989%2C19.903450&mode=bicycle#12/50.0233/19.9862)
This is old bug, not related to this PR, so we will fix it later.

The button "Upload GPX to route" (renamed from "SELECT TRACK") initially did not act as "Route Mode Track", so I hide this button temporarly, until the Route section will be improved.

"Upload GPX to route" - has found and fixed

https://github.com/osmandapp/OsmAnd-Issues/issues/2078


Upgrade Raygun4Net dependency ⬆

Upgrade Raygun4Net dependency ⬆
Description 📝
This PR is to upgrade the Raygun4Net dependency to the latest version so that projects using v7.1.0 can also use this Raygun x Serilog Sinks provider
Updates
👉 Update Raygun4Net dependency within .csproj to 7.1.0
Links

Beta deployment

Test plan 🧪

Provider works as intended
Provider is not broken and in a working state

Author to check 👓

[ ] Builds pass
[ ] Tested in an alternative environment
[ ] Reviewed by another developer
[ ] Appropriate documentation written

Reviewer to check ✔

[ ] Change has been tested on Beta
[ ] Code is written to standards

This is published as a pre-release: https://www.nuget.org/packages/Raygun4Maui/1.2.3-pre-1
Will do a bit more testing before we release it.


cleo and clikit upgrade break poetry

cleo was released an hour ago, and it was a minor change, but includes a breaking change from clikit. since clikit is used directly in poetry, clikit should not be a transitive dependency, but an actual depenendecy in this poetry's pyproject.toml. The issue for now is to install the previous version of cleo before installing poetry.
cc @c0state

+1

I just published a 1.0.0b3 release that should fix the issue.
Note that only the 1.0 prereleases were affected since previous versions are using a version of cleo that does not depend on clikit.

thanks @sdispater !

This does not fix it for us.
We still can't upgrade past 1.0.0a5 because of #1313 which we need because of #338
Using poetry to install the packages really isn't an option because it makes our CI times way longer then they need to be.
I love the way poetry works, but I think we need to start looking at alternatives (again).


Kubevious YAML parser sees hex numbers differently from Kubernetes, causing false positives.

We're using Kustomize's configMapgenerator with a .env file that contains a variable whose value is a 128-bit number in hex format, like so :
test.env : FOO=0xABCDABCDABCDABCDABCDABCDABCDABCD
The generated configMap has the exact same string (no quotes) : FOO: 0xABCDABCDABCDABCDABCDABCDABCDABCD
It gets applied without any issues.
However kubevious lint doesn't like it : 🔴 Invalid type under "/data/FOO". Must be string.
It clearly parses it as a number (and I can't say it's wrong), but here's the thing : Kustomize doesn't, it sees it as a string already and doesn't add quotes to the output.
It gets more interesting : Kustomize (and also kubectl create configmap --from-env-file) behaves differently for hex strings up to 64-bit, and it does add quotes for those ! FOO=0xABCDABCDABCDABCD becomes FOO: "0xABCDABCDABCDABCD", probably because whatever YAML library it uses parses it as an int64.
This is inconsistent (if explainable) behavior from Kustomize and I'm going to report it, but that doesn't solve my immediate problem : if I add double quotes to the source variable, Kustomize will add its own single quotes to that in the output (e.g. FOO: '"0xABCDABCDABCDABCD"'). Kubevious will be happy but our application may require changes to handle that.
At the end of the day, it seems there's a discrepancy between Kubevious CLI's YAML parser and Kubernetes regarding these large hex strings, so it would be great if you could align that.
In the meantime, can you think of a workaround or a way to selectively disable this check ?
Thanks

@renaudguerin, This was a rare find. I looked to your submission in kustomize repo. See my comment. I don't think I have a good solution here. Kubevious follows and validates the API spec. Don't thin we should mask a bug with another one. Either way you should not be using numbers (even hex) in ConfigMap, maybe worth editing your manifests to use strings.

Kubevious follows and validates the API spec. Don't thin we should mask a bug with another one

That's understandable (even though one could argue a validator should follow the target implementation as closely as possible bug for bug, not just the spec)
Can this check be selectively disabled perhaps ?

Either way you should not be using numbers (even hex) in ConfigMap, maybe worth editing your manifests to use strings.

That's the problem : Kubernetes sees them as strings already but Kubevious doesn't.
If I add quotes around the value in the source .env, configmapGenerator will add single quotes to that and the original quotes will end up in the env variable consumed by the application. Of course we could strip them there, but it's not ideal to require app changes just because we can't generate a value in the desired format.


Add link to create issue on Github if a user finds a bug/something that isn't right :^)

Kinda solved by #80, but an improvement is related to #179


Added exception handlers, simplified imports

Fixes #306

Updated error messages, added unit tests for exceptions.


--config problems with 'defaults'

Generally it's cool to see the multiple --config flag feature.
But just now i was confused, when in my local config.yml (=last one provided) i specified
defaults:
  tag:
    foo

, called openslides config --config highlevel-config.yml --config config.yml . and it did not show up in the resulting compose file. To my understanding the last provided config will overrule previos ones.
If my config.yml looks like
services:
  backend:
    tag: foo

the substitution works as expected.
Thus i suspect there is not a problem within the config-merging-funtion-thingy but more specifcly in the handling of the defaults tag.
Also curiously changing the order of the provided config files will make the defaults substitution work as expected, so yeah. Somethings fishy here.

Nice defaults.containerRegistry and defaults.tag are now correctly overwritten by the last provided config file.
Now another case where it's not done correctly seems to be the "root" level of the config file.
Specificly the disablePostgres option is not overwritten correctly. Using a high-level-config.yml:
disablePostgres: true

and the local-config.yml:
disablePostgres: false

calling openslides config --config high-level-config.yml --config local-config.yml .
and the docker-compose.yml will not have a postgres service defined.
This i using the openslides-binary from https://github.com/normanjaeckel/openslides-manage-service/tree/OrderOfConfig built off commit 27aa9fd


Azure Data Lake Gen2 comparison with Blob Storage

Hi,
after some time where ADLS Gen2 is on the market it would be great, when we could have the comparison with blob storage parallel to ADLS Gen1: https://docs.microsoft.com/en-us/azure/data-lake-store/data-lake-store-comparison-with-blob-storage.
Please create a separate comparison. Specific performance statements based on scenarios would be great too.

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

ID: 6db88b15-d3d2-2316-2248-ab21315febb4
Version Independent ID: 5c6a2203-d900-ec5d-c2f3-eb891bc46251
Content: Azure Data Lake Storage Gen1 comparison with Azure Storage Blob
Content Source: articles/data-lake-store/data-lake-store-comparison-with-blob-storage.md
Service: data-lake-store
GitHub Login: @twooley
Microsoft Alias: twooley

@Rainer21 Thanks for the feedback. We are currently investigating into the issue and will update you shortly.

@Rainer21
Azure Data Lake Storage Gen2 is the world’s most productive Data Lake. It combines the power of a Hadoop compatible file system with integrated hierarchical namespace with the massive scale and economy of Azure Blob Storage to help speed your transition from proof of concept to production.

Is fully integrated with the Azure Blob Storage platform; Every Blob Storage capability (Azure Active Directory Integration, At Rest Encryption, High-availability and disaster recovery, Automated Lifecycle Policy Management, Storage Account Firewalls, etc.) can be used by Azure Data Lake Storage
Is optimised for leading cloud analytic engines
Is tightly integrated with all elements of the Azure Big Data Analytics stack to deliver fast insights
Allows analytics data to coexist with object data in the same store with no programming changes or data copying
Performs faster than other data stores thus making your analytics workloads run faster and lowering your TCO.

Azure Data Lake Storage is optimised for running analytic workloads on unstructured data. Azure Data Lake Storage Gen2 is optimised for fast I/O of high volume data, thereby making analytic workloads run faster and lowering the TCO for analytic jobs. Further, Azure Data Lake Storage Gen2 provides the added flexibility of organising data either in a flat or hierarchical namespace.
Ref - https://azure.microsoft.com/en-in/pricing/details/storage/data-lake/

@Rainer21 I hope the above doc resolved your query. I will now proceed to close this issue. Feel free to still comment and tag me if you have any queries.

I believe this is still a valid issue; comparison should be against Gen2, also given that on Feb 29, 2024 Azure Data Lake Storage Gen1 will be retired.

Seems that ADLS also has much more expensive per-operation costs, charging 1 operation for each 4MB chunk read. Whereas Blob charges only 1 operation for each read-API call.
If you were to read say a 100MB file, this would consume 25 read ops in ADLS where-as it'd only consume 1 read op in Blob. of course for larger files there's performance benefits in splitting file reads across multiple read-ranges. However 4MB chunk-sizes could be slightly too low for some high throughput use-cases.


Run wallet-lib on React Native

Apologies in advance for reaching you in this way. I saw that you had left a comment on the dashevo repository asking about running their wallet-lib on React Native. I also noticed that your questions were not answered, but then I saw you had created this repository here, which from what I understand is a solution.
I am trying to incorporate the same library in my own React Native application and have hit upon the same problem. Can you please advise on how to proceed?
Thank you in advance.

Hi @mmick66, Can you please send me steps you are taking to work with library.

I am simply running an
npm install @dashevo/wallet-lib
inside my React Native project


dso_loader.cc Could not load dynamic library 'cupti64_110.dll'; dlerror: cupti64_110.dll not found

System information

Windows 10 - 20H2 Build 19042.746

TensorFlow installed from (source or binary): Nightly

TensorFlow version:

tensorboard==2.4.1
tensorboard-plugin-wit==1.7.0
tensorflow-estimator==2.4.0
tensorflow-gpu==2.4.0
tensorflow-hub==0.11.0
tf-estimator-nightly==2.5.0.dev2021011401
tf-nightly-gpu==2.5.0.dev20210114

Python version: 3.8.5

Installed using virtualenv? conda - with pip installs on top

Bazel version (if compiling from source): NA

GCC/Compiler version (if compiling from source): NA

CUDA/cuDNN version: 11.1/<IP_ADDRESS> for CUDA 11.1

GPU model and memory: RTX 3090 - 24GB

Describe the problem
Running through a search for the best hyper params. This means I am looping through these actions in the same process - creating ANN(LSTM), compiling , training, validating an ANN, then changing the hypers and running again etc. This used to work on TF2.1 with my Super 2080, now I have changed to TF 2.5 as it supports the 3090. The system crashes on this line with no traceback, and no exception thrown.
training_history = self.model.fit (ann_training_input_batched_scaled_3d, training_output,
epochs = regressor_number_epochs, batch_size = regressor_batch_size,
callbacks = callbks,
verbose=1,
validation_data = (ann_validation_input_batched_scaled_3d, valoutput))
This is the second iteration, so the second time this gets executed (but its with a new ANN so its the the first time with a new ANN, second time in the process). Note that if I use a CPU instead of a GPU I get the same errors about CUPTI, but it doesnt crash so quickly, it dos a few more iterations then crashes with no exception/logging etc.
Before it dies, I see these warnings and finally errors
ensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cupti64_110.dll'; dlerror: cupti64_110.dll not found
2021-01-18 17:40:51.410137: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cupti.dll'; dlerror: cupti.dll not found
2021-01-18 17:40:51.410283: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1644] function cupti_interface_->Subscribe( &subscriber_, (CUpti_CallbackFunc)ApiCallback, this)failed with error CUPTI could not be loaded or symbol could not be found.
2021-01-18 17:40:51.410657: I tensorflow/core/profiler/lib/profiler_session.cc:158] Profiler session tear down.
2021-01-18 17:40:51.410812: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1735] function cupti_interface_->Finalize()failed with error CUPTI could not be loaded or symbol could not be found.
Provide the exact sequence of commands / steps that you executed before running into the problem
Any other info / logs
I dont understand how the process is dying, and I have the offending code wrapped in a try block, but no exception is being thrown.
Also how do I resolve this dll CUPTI warning ? It should be using cupti64_2020.2.1.dll. It works for the first iteration.
Marcus

@marcusobrien,
Please take a look at issue #43030 with a similar error and let us know if it helps. Thanks!

@marcusobrien,
Please take a look at issue #43030 with a similar error and let us know if it helps. Thanks!


q.grab types

The generated types for q.grab are nasty, likely due to the ridiculous type-acrobats that are happening in that function. We should investigate what's going on there to improve that type.

Should be drastically improved via #22


Implement R API

Can use reticulate:
https://rstudio.github.io/reticulate/articles/introduction.html
https://rstudio.github.io/reticulate/articles/package.html

This looks good. Just a few q's:

What would the user workflow look like from a R standpoint? Would it be as follows:
require(reticulate) use_condaenv("py36", conda = "/home/terry/miniconda3/envs/py36/bin/conda") library(h2o4gpu) ...
I noticed you are using a conda env. We can also use virtual, correct?
How would the R packaging look like?

Reticulate seems like an interesting choice and certainly the best way in terms of maintainability.  This seems like a reasonable way to install the dependencies -- Python & h2o4gpu Python lib (from an RStudio keras blog post):

Just install and load the keras R package and then run the keras::install_keras() function, which installs TensorFlow, Python and everything else you need including a Virtualenv or Conda environment. It just works!

One thing to consider is are we limiting ourselves by restricting to the sklearn options (even though h2o4gpu C++ code can support more options).  The alternative (building a strictly R/C++ interface) would allow more flexibility, but probably does not outweigh the convenience factor of using Reticulate.

@ledell Yes, also if we do it this way we do not have to test as much since pytests will take care of the functional aspect/correctness. The runits would be centered around integration.

The users will only call library(h2o4gpu). And then we provide a function install_h2o4gpu() to install a wheel from url/location/conda, etc. Very similar to how we did it for Keras and TensorFlow. Interface will look like the following:

model <- KMeans(...) %>% fit(x=, ...)

Yes exactly.
Pure R packaging but we provide the function install_h2o4gpu for users to install the Python artifact.

There will be some work to get the package work nicely for R users though, such as ingesting data.frame input. Nice thing about using reticulate is that there's 0 data copies since it's basically C++ pointers using Rcpp an Python C++ API.

@terrytangyuan Makes sense. More q's:

You mentioned data.frame. What about data.table? We could benefit from a fast I/O
Do you think we can see a quick POC of calling say k-means from R? Maybe put it in a branch.

Yep for sure that should be in the roadmap.
Yes, I will start a quick POC and push to a branch for further discussion.

@terrytangyuan Great, please assign me and @ledell. We can comment on a PR when ready.

If:

there are already other (semi)widely used frameworks using this (and not complaining about it)
we indeed can tweak it to make the API R-like

Then it has my thumbs up.

@mdymczyk There is already a number of packages depend on this (many others are WIP that are not on CRAN yet). Check out Reverse dependencies section in its CRAN page. TensorFlow, TF Estimators, and Keras R interfaces are all built using reticulate so I am pretty confident about its stability.
Additionally, knitr's Python rendering engine uses reticulate.

@mdymczyk Yes, as @terrytangyuan mentioned this package is already in use by many R wrappers to DL libraries in Python (all built and maintained by RStudio).
Making it R like is not an issue as well. Just need to wrap the reticulate calls with proper functions.
The main benefit I see from using reticulate is we do not have to rebuild the R-API from scratch. We did most of the work in Python so we can utilize this package to call the work that has been done.

Work-in-progress R package is in r-lib branch. Check out this working example of  using fit, transform, score, predict: https://github.com/h2oai/h2o4gpu/blob/r-lib/src/interface_r/tests/testthat/test_model.R

I submitted a PR for initial work: https://github.com/h2oai/h2o4gpu/pull/364


Set up

Hello Friends
I am trying to set up this up.
Docker Compose
`version: '3.7'
services:
backup:
image: kaiede/minecraft-bedrock-backup
restart: always
# Make sure the minecraft images start before the backup
depends_on:
- "public"
environment:
    # Useful for making sure your logs have a proper timestamp
    TZ: "America/New_York"
volumes:
  # Docker needs to be made accessible to the backup container in this case
  - /var/run/docker.sock:/var/run/docker.sock
  # Map your backups folder info /backups
  - /home/matt/Documents/Container_Data/minecraft/Backups:/backups
  # Map the data folders for the server
  - /home/matt/Documents/Container_Data/minecraft/data:/bedrock_public
networks:
  Lan_MacVlan:
    ipv4_address: <IP_ADDRESS>

public:
image: itzg/minecraft-bedrock-server
restart: always
container_name: bedrock_public
# Expose the mc-server-runner's SSH port to just the backup container
expose:
- 2222
# Make the minecraft server port public
ports:
- 19132:19132/udp
environment:
# Server settings
EULA: "TRUE"
GAMEMODE: survival
DIFFICULTY: easy
TZ: America/New_York
ENABLE_SSH: TRUE
volumes:
- /home/matt/Documents/Container_Data/minecraft/data:/data
stdin_open: true
tty: true
networks:
Lan_MacVlan:
ipv4_address: <IP_ADDRESS>
networks:
Lan_MacVlan:
external: true`
and here is my config file
`containers:
bedrock:

name: bedrock_public
The hostname here is the name of the service in the compose YML.
ssh: bedrock_public:2222
itzg writes out the password as yaml to the root of /data
passwordFile: /bedrock_public/.remote-console.yaml
worlds:

/bedrock_public/worlds/Petopia
schedule:

This will perform a backup every 3 hours.
At most this will generate 8 backups a day.
interval: 3h
trim:
Keep all backups for the last two days (today and yesterday)
Keep at least one backup for the last 14 days
Keep at least two backups per world
trimDays: 2
keepDays: 14
minKeep: 2
`
here is the error i am getting from the backup service
`useradd: warning: the home directory /home/bedrockifier already exists.
useradd: Not copying any file from skel directory into it.
time="2024-01-11T11:52:45-05:00" level=debug msg="Using /backups to match uid and gid"
time="2024-01-11T11:52:45-05:00" level=debug msg="Resolved UID=1000 from match path"
time="2024-01-11T11:52:45-05:00" level=debug msg="Resolved GID=1000 from match path"
[11:52:45.230][info    ] Initializing Bedrockifier Daemon
[11:52:45.233][info    ] Configuring Bedrockifier Daemon
[11:52:45.233][info    ] Loading Configuration From: /backups/config.yml
[11:52:45.236][error   ] dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid YAML.", underlyingError: Optional(5:7: error: parser: while parsing a block mapping in line 3, column 6
did not find expected key:
  ssh: bedrock_public:2222

  ^)))

[11:52:45.236][error   ] Unable to read configuration file, fix the above errors and try again`
any help would be appreciated
thank you

thank you,
I will work on that and report back!

Still having issues
Compose
version: '3.7'

services:
  backup:
    image: kaiede/minecraft-bedrock-backup
    restart: always
    # Make sure the minecraft images start before the backup
    depends_on:
      - "public"
    environment:
        # Useful for making sure your logs have a proper timestamp
        TZ: "America/New_York"
    volumes:
      # Map your backups folder info /backups
      - /home/matt/Documents/Container_Data/minecraft/Backups:/backups
      # Map the data folders for both servers
      - /home/matt/Documents/Container_Data/minecraft/data:/bedrock_public

  public:
    image: itzg/minecraft-bedrock-server
    restart: always
    container_name: bedrock_public
    # Expose the mc-server-runner's SSH port to just the backup container
    expose:
      - 2222
    # Make the minecraft server port public
    ports:
      - 19132:19132/udp
    environment:
      # Enable SSH
      ENABLE_SSH: "TRUE"
      # Server settings
      EULA: "TRUE"
    volumes:
      - /home/matt/Documents/Container_Data/minecraft/data:/data
    stdin_open: true
    tty: true
    networks:
      Lan_MacVlan:
        ipv4_address: <IP_ADDRESS>
networks:
  Lan_MacVlan:
    external: true

Config File
containers:
  bedrock:
    # Backup the world "PublicSMP" on the "bedrock_public" docker container
    - name: bedrock_public
      # Tells the backup service that this container is accessible
      # using the mc-server-runner SSH functionality.
      # passwordFile should point to the .remote-console.yaml file in the container
      ssh: public:2222
      passwordFile: /bedrock_public/.remote-console.yaml
      worlds:
        - /bedrock_public/worlds/Petopia
schedule:
  # This will perform a backup every 3 hours.
  # At most this will generate 8 backups a day.
  interval: 1h
  onLastLogout: True
  startupDelay: 5m

trim:
  # Keep all backups for the last two days (today and yesterday)
  # Keep at least one backup for the last 14 days
  # Keep at least two backups per world
  trimDays: 2
  keepDays: 14
  minKeep: 2

Errors
useradd: warning: the home directory /home/bedrockifier already exists.

useradd: Not copying any file from skel directory into it.

time="2024-01-11T12:49:24-05:00" level=debug msg="Using /backups to match uid and gid"

time="2024-01-11T12:49:24-05:00" level=debug msg="Resolved UID=1000 from match path"

time="2024-01-11T12:49:24-05:00" level=debug msg="Resolved GID=1000 from match path"

[12:49:24.794][info    ] Initializing Bedrockifier Daemon

[12:49:24.798][info    ] Configuring Bedrockifier Daemon

[12:49:24.798][info    ] Loading Configuration From: /backups/config.yml

[12:49:24.801][info    ] Configuration Loaded, Running Service...

[12:49:24.802][info    ] Delaying startup by: 300.0 seconds

[12:54:24.808][info    ] Host PTY Handle Opened: /dev/pts/0  (bedrock_public - 6)

[12:54:24.808][info    ] Child PTY Handle Opened: /dev/pts/0 (bedrock_public - 7)

[12:55:24.812][error   ] SSH connection doesn't seem to have been made properly.

[12:55:24.812][info    ] Checking for servers that might not be cleaned up

[12:55:24.812][info    ] Backup Interval: 3600.0 seconds

[12:55:24.812][info    ] Starting Listeners for Containers

[12:55:24.813][info    ] Service Started Successfully.

[12:55:24.813][info    ] Starting Full Backup

[12:55:24.814][error   ] Docker process didn't start successfully, or has died

[12:55:24.814][error   ] Container bedrock_public failed to backup properly

[12:55:24.814][info    ] Performing Trim Jobs

[12:55:24.817][info    ] Full Backup Completed

The error with trace level logging
useradd: warning: the home directory /home/bedrockifier already exists.

useradd: Not copying any file from skel directory into it.

time="2024-01-11T13:27:09-05:00" level=debug msg="Using /backups to match uid and gid"

time="2024-01-11T13:27:09-05:00" level=debug msg="Resolved UID=1000 from match path"

time="2024-01-11T13:27:09-05:00" level=debug msg="Resolved GID=1000 from match path"

[13:27:09.853][info    ] Initializing Bedrockifier Daemon

[13:27:09.857][info    ] Configuring Bedrockifier Daemon

[13:27:09.858][info    ] Loading Configuration From: /backups/config.yml

[13:27:09.861][info    ] Configuration Loaded, Running Service... (main.swift:117)

[13:27:09.863][info    ] Delaying startup by: 60.0 seconds (Service.swift:75)

[13:28:09.867][debug   ] Creating Bedrock Container Connection. (container: bedrock_public) (ContainerConnection.swift:387)

[13:28:09.868][info    ] Host PTY Handle Opened: /dev/pts/0  (bedrock_public - 6) (Terminal.swift:150)

[13:28:09.868][info    ] Child PTY Handle Opened: /dev/pts/0 (bedrock_public - 7) (Terminal.swift:171)

[13:28:09.868][debug   ] Process attached (Terminal.swift:90)

[13:28:09.868][debug   ] Starting Terminal Process. (container: bedrock_public, kind: ssh) (ContainerConnection.swift:97)

[13:28:09.870][debug   ] Expecting: ["SSHPASS: detected prompt. Sending password.", "SSHPASS: read:"] (bedrock_public) (Terminal.swift:277)

[13:28:09.870][trace   ] Adding Expectation 6AE17C2C-6BEE-453E-B18F-2DE4A064578C (bedrock_public) (Terminal.swift:315)

[13:28:09.870][debug   ] Timeout for Expectation is 60.0 s (bedrock_public) (Terminal.swift:321)

[13:28:09.902][trace   ] Data Received on file descriptor (bedrock_public - 6) (Terminal.swift:346)

[13:28:09.902][trace   ] Processing 1 Expects (bedrock_public) (Terminal.swift:361)

[13:28:09.902][debug   ] Content Read: ssh: Could not resolve hostname public: Temporary failure in name resolution

 (bedrock_public) (Terminal.swift:286)

[13:28:09.902][trace   ] Process terminated (executable: file:///usr/bin/sshpass (Process.swift:41)

[13:28:09.902][debug   ] Calling process detach handlers (bedrock_public) (Terminal.swift:103)

[13:28:09.902][trace   ] Content Has No Matches (bedrock_public) (Terminal.swift:291)

[13:28:09.902][debug   ] Process detached (bedrock_public) (Terminal.swift:108)

[13:29:09.871][debug   ] Timeout Reached for 6AE17C2C-6BEE-453E-B18F-2DE4A064578C (Terminal.swift:326)

[13:29:09.871][trace   ] Removing Expectation 6AE17C2C-6BEE-453E-B18F-2DE4A064578C (bedrock_public) (Terminal.swift:302)

[13:29:09.871][debug   ] No Matches Found, Timed Out (bedrock_public) (Terminal.swift:295)

[13:29:09.872][error   ] SSH connection doesn't seem to have been made properly. (ContainerConnection.swift:109)

[13:29:09.877][debug   ] Docker Process Window Size Fetched. (cols = 65000, rows = 24 (ContainerConnection.swift:376)

[13:29:09.877][info    ] Checking for servers that might not be cleaned up (BackupActor.swift:91)

[13:29:09.877][info    ] Backup Interval: 3600.0 seconds (Service.swift:158)

[13:29:09.878][debug   ] [interval] Registered (ServiceTimer.swift:102)

[13:29:09.878][debug   ] [interval] Event Fired. Valid Handler: false (ServiceTimer.swift:110)

[13:29:09.879][debug   ] [interval] Scheduled For Jan 11, 2024, 1:29:09 PM, Repeating 3600.0 s (ServiceTimer.swift:81)

[13:29:09.879][info    ] Starting Listeners for Containers (Service.swift:201)

[13:29:09.880][info    ] Service Started Successfully. (Service.swift:108)

Thank you for your help i was able to get it working.
Putting my files here so it may help others
Docker Compose
version: '3.7'

services:
  backup:
    image: kaiede/minecraft-bedrock-backup
    restart: always
    # Make sure the minecraft images start before the backup
    depends_on:
      - "public"
    environment:
        # Useful for making sure your logs have a proper timestamp
        TZ: "America/New_York"
    volumes:
      # Map your backups folder info /backups
      - /home/matt/Documents/Container_Data/minecraft/Backups:/backups
      # Map the data folders for both servers
      - /home/matt/Documents/Container_Data/minecraft/data:/bedrock_public
    networks:
      Lan_MacVlan:
        ipv4_address: <IP_ADDRESS>

  public:
    image: itzg/minecraft-bedrock-server
    restart: always
    container_name: bedrock_public
    # Expose the mc-server-runner's SSH port to just the backup container
    expose:
      - 2222
    # Make the minecraft server port public
    ports:
      - 19132:19132/udp
    environment:
      # Enable SSH
      ENABLE_SSH: "TRUE"
      # Server settings
      EULA: "TRUE"
    volumes:
      - /home/matt/Documents/Container_Data/minecraft/data:/data
    stdin_open: true
    tty: true
    networks:
      Lan_MacVlan:
        ipv4_address: <IP_ADDRESS>
networks:
  Lan_MacVlan:
    external: true

Config file
containers:
  bedrock:
    # Backup the world "PublicSMP" on the "bedrock_public" docker container
    - name: bedrock_public
      # Tells the backup service that this container is accessible
      # using the mc-server-runner SSH functionality.
      # passwordFile should point to the .remote-console.yaml file in the container
      ssh: public:2222
      passwordFile: /bedrock_public/.remote-console.yaml
      worlds:
        - /bedrock_public/worlds/Petopia
schedule:
  # This will perform a backup every 3 hours.
  # At most this will generate 8 backups a day.
  interval: 1h
  onLastLogout: True
  startupDelay: 1m
trim:
  # Keep all backups for the last two days (today and yesterday)
  # Keep at least one backup for the last 14 days
  # Keep at least two backups per world
  trimDays: 2
  keepDays: 14
  minKeep: 2
##loggingLevel: trace


Fix numerical ranges for hugeint and bigint in numeric documentation page

for docs/sql/data_types/numeric

Thanks for the PR! The original hugeint range was correct, however. We don't allow the smallest hugeint number right now (-170141183460469231731687303715884105728) because our internal operators on hugeint rely on negating numbers which is not possible with this number.

Thanks


Merges Master to Live. See commits for details.

Docs Build status updates of commit 82048b8:
:clock10: Full build: the average full build time is 18 min(s) 1 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 82048b8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Set-Mailbox.md
:white_check_mark:Succeeded
View (exchange-ps)

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

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

sharepoint/sharepoint-ps/sharepoint-server/Import-SPMetadataWebServicePartitionData.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Migrate-SPProjectDatabase.md
:white_check_mark:Succeeded
View (sharepoint-ps)

skype/skype-ps/skype/Grant-CsExternalAccessPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

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

Docs Build status updates of commit 785a296:
:clock10: Full build: the average full build time is 18 min(s) 1 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 785a296:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Set-Mailbox.md
:white_check_mark:Succeeded
View (exchange-ps)

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

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

sharepoint/sharepoint-ps/sharepoint-server/Import-SPMetadataWebServicePartitionData.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Migrate-SPProjectDatabase.md
:white_check_mark:Succeeded
View (sharepoint-ps)

skype/skype-ps/skype/Grant-CsExternalAccessPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

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


Custom columns do not get created when creating list. Outdated documentation?

Checked and confirmed the post data is same as that specified in the documentation, however list gets created but does not contain the specified columns.

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

ID: cb2875d7-98df-2c37-5ce8-29d890938e6a
Version Independent ID: c32f6075-dfc5-f32f-1c70-4de265a91274
Content: Create a SharePoint List - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/list-create.md
Product: sharepoint
Technology: microsoft-graph
GitHub Login: @JeremyKelley
Microsoft Alias: MSGraphDocsVteam

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


Multi class inheritance in separate files

Hi, I've tried the multi class example from the docs and it works when all classes are in single file.
Then I tried to separate classes into multiple files, but it stopped working.
Any suggestion would by highly appreciated.
https://stackblitz.com/edit/vue-1ntajv?file=src%2Fcomponents%2FComp.vue

nevermind - removing the extra toNative fixed it

The same error happens with extending from multiple components:
Comp.vue:
<template>comp </template>
<script lang="ts">
import {
  Component, mixins, toNative,
} from 'vue-facing-decorator';
import ComponentA from './A.vue';
import ComponentB from './B.vue';

@Component({
  name: 'MyComponent',
})
class MyComponent extends mixins(ComponentA, ComponentB) {

}

export default toNative(MyComponent);

</script>

A.vue:
<script lang="ts">
import {
  Component, Vue,
} from 'vue-facing-decorator';

@Component({
  name: 'ComponentA',
})
export default class ComponentA extends Vue {

}
</script>

For me this error appeared after upgrading from ^2.1.20 to ^3.0.2 downgrading fixed the problem.


Error - Unable Get The Data From Mongodb (Ubuntu, PHP 7.0, Mongo 3.0)

Unable get the data from mongodb getting below error
FatalThrowableError in Find.php line 287:
Type error: Argument 3 passed to MongoDB\Driver\Server::executeQuery() must be an instance of MongoDB\Driver\ReadPreference, array given in Find.php line 287
at Server->executeQuery('arms.cmsusers', object(Query), array('readPreference' => object(ReadPreference))) in Find.php line 287 at Find->execute(object(Server)) in Collection.php line 530 at Collection->find(array('_id' => object(ObjectId)), array('limit' => '1', 'typeMap' => array('root' => 'array', 'document' => 'array'), 'readPreference' => object(ReadPreference))) at call_user_func_array(array(object(Collection), 'find'), array(array('_id' => object(ObjectId)), array('limit' => '1', 'typeMap' => array('root' => 'array', 'document' => 'array')))) in Collection.php line 41 at Collection->__call('find', array(array('_id' => object(ObjectId)), array('limit' => '1', 'typeMap' => array('root' => 'array', 'document' => 'array')))) in Builder.php line 317 at Builder->getFresh(array()) in Builder.php line 153 at Builder->get(array('')) in Builder.php line 477 at Builder->getModels(array('')) in Builder.php line 234 at Builder->get(array('')) in Builder.php line 206 at Builder->first(array('')) in Builder.php line 87 at Builder->find('59858df7af21a2d01f54bde2', array('*')) in Builder.php line 119 at Builder->findOrFail('59858df7af21a2d01f54bde2') at call_user_func_array(array(object(Builder), 'findOrFail'), array('59858df7af21a2d01f54bde2')) in Model.php line 3444 at Model->__call('findOrFail', array('59858df7af21a2d01f54bde2')) in Model.php line 542 at Model->__call('findOrFail', array('59858df7af21a2d01f54bde2')) at call_user_func_array(array(object(Cmsuser), 'findOrFail'), array('59858df7af21a2d01f54bde2')) in Model.php line 3458 at Model::__callStatic('findOrFail', array('59858df7af21a2d01f54bde2')) in admin_routes.php line 10 at RouteServiceProvider->{closure}() at call_user_func_array(object(Closure), array()) in Route.php line 155 at Route->runCallable(object(Request)) in Route.php line 130 at Route->run(object(Request)) in Router.php line 708 at Router->Illuminate\Routing{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102 at Pipeline->then(object(Closure)) in Router.php line 710 at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 674 at Router->dispatchToRoute(object(Request)) in Router.php line 635 at Router->dispatch(object(Request)) in Kernel.php line 236 at Kernel->Illuminate\Foundation\Http{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in VerifyCsrfToken.php line 50 at VerifyCsrfToken->handle(object(Request), object(Closure)) at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in ShareErrorsFromSession.php line 49 at ShareErrorsFromSession->handle(object(Request), object(Closure)) at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in StartSession.php line 62 at StartSession->handle(object(Request), object(Closure)) at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37 at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in EncryptCookies.php line 59 at EncryptCookies->handle(object(Request), object(Closure)) at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in CheckForMaintenanceMode.php line 44 at CheckForMaintenanceMode->handle(object(Request), object(Closure)) at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102 at Pipeline->then(object(Closure)) in Kernel.php line 122 at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87 at Kernel->handle(object(Request)) in index.php line 54
PHP INFO
MongoDB support enabled
MongoDB extension version 1.3.4
MongoDB extension stability stable
libbson bundled version 1.8.2
libmongoc bundled version 1.8.2
libmongoc SSL enabled
libmongoc SSL library OpenSSL
libmongoc crypto enabled
libmongoc crypto library libcrypto
libmongoc crypto system profile disabled
libmongoc SASL enabled
Please help me out wht going wrong

Having exactly the same problem, anybody else managed to fix this?

sudo reboot helped in my case. Probably need to restart php etc.

Mongo implement Sesion
in mongo driver 1.4.0 was implemented too
So thats the code
 /**
     * Create options for executing the command.
     *
     * @see http://php.net/manual/en/mongodb-driver-server.executequery.php
     * @return array
     */
    private function createOptions()
    {
        $options = [];

        if (isset($this->options['readPreference'])) {
            $options['readPreference'] = $this->options['readPreference'];
        }

        if (isset($this->options['session'])) {
            $options['session'] = $this->options['session'];
        }

        return $options;
    }

As you can see now the we have createOptions() with session.
Solution
Install mongo driver 1.4.0
Or
in composer.json use dependency
"require":{
"mongodb/mongodb": "1.2.*",
}

Hi Guys, any update regarding this? I installed MongoDriver using PECL and updated composer.

@josemiguelq which composer.json?

@jenssegers please help.


Include Key ID (kid) claim in POP JWT header

The current format contains the alg but lacks a kid -- this value is ignored by the server during validation and is omitted from the thumbprint calculation.
The help with future troubleshooting and to aid in visually inspecting whether or not two PoP tokens were signed with the same Private Key, this field should be included
Currently:
{
    "alg": "RS256"
}

Example desired:
{
    "alg": "RS256",
    "kid": "nM1aFQ9BgJUOTBmAQXBxSep9cdRPxbAusi_11Ulb6aM"
}

/cc @bgavrilMS


⚠ Bofrost.at has degraded performance

In d73436c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1204 ms

Resolved: Bofrost.at performance has improved in 0b32ca3.


Rename TransformedIngestor

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (d1f468f) 100.00% compared to head (5d1606b) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #168   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           62        62
  Lines         1442      1442
  Branches       139       139
=========================================
  Hits          1442      1442

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Release 4.6.0 - No temps for Powerwall 3

I upgraded to the 4.6.0 release and unfortunately I am not getting any temperature readings from my PW3. Dashboard says "No data" and http://pypowerwall:8675/temps returns "{}". Seems like maybe something is different with PW3. Is there anything I can do to help debug?
Originally posted by @jplewis2 in https://github.com/jasonacox/Powerwall-Dashboard/discussions/392#discussioncomment-11432352

Thanks @jplewis2 take a look at http://pypowerwall:8675/tedapi/controller and scroll down. Do you see anything that looks like this? If you can, share the payload you get (remove serial numbers).
{
"activeAlerts": [],
"partNumber": "2012170-25-E",
"serialNumber": "TG1213456778901",
"signals": [
{
"boolValue": null,
"name": "THC_AmbientTemp",
"textValue": null,
"timestamp": "2024-12-01T21:37:45-08:00",
"value": 18.900000000000006
}
]
},

I have the same output for temp.
PW 3, Firmware 24.36.1. Gateway info etc...
[proxy] [INFO] pyPowerwall [0.12.0] Proxy Server [t66] - HTTP Port 8675
proxy] [INFO] pyPowerwall Proxy Started
[proxy] [INFO] pyPowerwall Proxy Server - Local Mode
[proxy] [INFO] Connected to Energy Gateway <IP_ADDRESS> (Home)
[proxy] [INFO] TEDAPI Mode Enabled for Device Vitals (full)
This is a direct connection thru a LAN port. Redirect thru unifi static route.
{
"boolValue": null,
"name": "THC_AmbientTemp",
"textValue": null,
"timestamp": null,
"value": null
}

I am getting the same as @martinmanyhats and @farberm for my output:
      {
        "activeAlerts": [],
        "partNumber": "",
        "serialNumber": "",
        "signals": [
          {
            "boolValue": null,
            "name": "THC_AmbientTemp",
            "textValue": null,
            "timestamp": null,
            "value": null
          }
        ]
      },

Thank you all.
It seems like this is a consistent report from Powerwall 3 owners. I haven't heard of a working PW3 yet.
There is a possibility that the temperature sensor was removed from the PW3, but that seems unlikely as they would want it on the CAN bus to trigger resistance heat during freezing weather conditions (required to make the batteries work). It could be stored under a different payload which also seems odd if they are both using the Tesla One app for setup and troubleshooting.
Are  any of you with Powerwall 3 systems able to see temperature data in the Tesla One app?  If so, if you are able to analyze the network traffic during that session, it may point us toward the right query needed to get PW3 temps.
I should update the PR and notes to indicate that the 4.6.0 release only works for PW, PW2 and PW+ systems.

I can confirm that in Tesla One with Powerwall 3 and Gateway 2, there are no temps anywhere that I can find.  If someone can confirm where exactly in Tesla One you find temps, I will check again.
I would have expected them in System -> Powerwall where the vitals are listed.  Its possible that they are no longer exposed with PW3.

Yeah, I also can't find temp information anywhere (PW3 + GW2). According to @ygelfand who provided the code to get temp information, he actually looked at the source code for Tesla One to find the new protobuf fields that provide the temperature  - he's never used the app himself: https://github.com/jasonacox/Powerwall-Dashboard/discussions/392#discussioncomment-11477877
It's possible the app is querying the data anyway, just not displaying it. So maybe a network traffic capture would still work? But that seems like a lot of work for something that seems unlikely.

just to clarify, the app doesn't actually use/collect it, it just opens up the avenue for it.  I don't have a pw3 to test with unfortunately, only have2+'s.    I know  powerwall3 is combined pod/pinv? does it have a separate device type?

@ygelfand You said you looked at the source code for Tesla One to find the temp data - does that mean you used a tool to disassemble/decompilation the app binaries?


Very high latency when Eloquent toArray is invoked

Laravel Version: 5.6
PHP Version: 7.2.14
Database Driver & Version: PostgreSQL 10.6

Description:
So I have a medium-sized application serving as a JSON api, with many models and relationships between them. The magnitude of the data isn't that high (a few hundred posts here and there), but recently we started getting very very low response times from the framework (around ~8 up to ~16 seconds).
Steps To Reproduce:
I'll give a specific example: we have a Team model which has many TeamPosts, each one of them belonging to a User, the post can have an Embed and some Images and the post  also appends its user's roles (which are cached).
Now when hitting the /teams/uid/posts endpoint, the queries to get the needed data are minimal and are actually executed in a very brief time. At first I thought the latency was because of some excess of DB queries, but here they are logged.
[2019-04-09 10:21:19] local.INFO: The queries executed for request teams/5bf528c22cdeb/posts
[2019-04-09 10:21:19] local.INFO: Query In 15.49s: select * from "users" where "id" = ? limit 1 ["5c01551b3cbec"]
[2019-04-09 10:21:19] local.INFO: The current count is: 1
[2019-04-09 10:21:19] local.INFO: ====================================================================================================================
[2019-04-09 10:21:19] local.INFO: ====================================================================================================================
[2019-04-09 10:21:19] local.INFO: The queries executed for request teams/5bf528c22cdeb/posts
[2019-04-09 10:21:19] local.INFO: Query In 0.92s: select * from "teams" where "uid" = ? limit 1 ["5bf528c22cdeb"]
[2019-04-09 10:21:19] local.INFO: The current count is: 2
[2019-04-09 10:21:19] local.INFO: ====================================================================================================================
[2019-04-09 10:21:19] local.INFO: ====================================================================================================================
[2019-04-09 10:21:19] local.INFO: The queries executed for request teams/5bf528c22cdeb/posts
[2019-04-09 10:21:19] local.INFO: Query In 0.71s: select * from "team_types" where "team_types"."id" in (?) [2]
[2019-04-09 10:21:19] local.INFO: The current count is: 3
[2019-04-09 10:21:19] local.INFO: ====================================================================================================================
[2019-04-09 10:21:19] local.INFO: ====================================================================================================================
[2019-04-09 10:21:19] local.INFO: The queries executed for request teams/5bf528c22cdeb/posts
[2019-04-09 10:21:19] local.INFO: Query In 0.9s: select count(*) as aggregate from "team_posts" where "team_posts"."team_id" = ? and "team_posts"."team_id" is not null ["5bf528c22ced4"]
[2019-04-09 10:21:19] local.INFO: The current count is: 4
[2019-04-09 10:21:19] local.INFO: ====================================================================================================================
[2019-04-09 10:21:19] local.INFO: ====================================================================================================================
[2019-04-09 10:21:19] local.INFO: The queries executed for request teams/5bf528c22cdeb/posts
[2019-04-09 10:21:19] local.INFO: Query In 0.83s: select * from "team_posts" where "team_posts"."team_id" = ? and "team_posts"."team_id" is not null order by "pinned" desc, "created_at" desc limit 12 offset 0 ["5bf528c22ced4"]
[2019-04-09 10:21:19] local.INFO: The current count is: 5
[2019-04-09 10:21:19] local.INFO: ====================================================================================================================
[2019-04-09 10:21:19] local.INFO: ====================================================================================================================
[2019-04-09 10:21:19] local.INFO: The queries executed for request teams/5bf528c22cdeb/posts
[2019-04-09 10:21:19] local.INFO: Query In 0.79s: select "users"."id", "users"."name", "users"."photo", "users"."slug", "users"."about", "users"."email", "users"."gender_id" from "users" where "users"."id" in (?, ?, ?, ?, ?, ?, ?) ["5bf26c2e6ca6f","5c34ddc55b036","5c34e1300fe67","5c34f89adb6f3","5c35a82c7a8e9","5c36883f0acdb","5c382a6e77b19"]
[2019-04-09 10:21:19] local.INFO: The current count is: 6
[2019-04-09 10:21:19] local.INFO: ====================================================================================================================
[2019-04-09 10:21:19] local.INFO: ====================================================================================================================
[2019-04-09 10:21:19] local.INFO: The queries executed for request teams/5bf528c22cdeb/posts
[2019-04-09 10:21:19] local.INFO: Query In 0.81s: select * from "images" where "images"."team_post_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ["5c4624b1dc285","5c4cbee539fc6","5c4e025f26631","5c4e0e313df42","5c4e0e531d5e8","5c4e0ea021ae1","5c4f6b310d47a","5c4f9447c8c14","5c508b555e327","5c59cccb6bc5f","5c5c88d946fa6","5c60f40167390"]
[2019-04-09 10:21:19] local.INFO: The current count is: 7
[2019-04-09 10:21:19] local.INFO: ====================================================================================================================
[2019-04-09 10:21:19] local.INFO: ====================================================================================================================
[2019-04-09 10:21:19] local.INFO: The queries executed for request teams/5bf528c22cdeb/posts
[2019-04-09 10:21:19] local.INFO: Query In 0.97s: select * from "embeds" where "embeds"."embeddable_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and "embeds"."embeddable_type" = ? ["5c4624b1dc285","5c4cbee539fc6","5c4e025f26631","5c4e0e313df42","5c4e0e531d5e8","5c4e0ea021ae1","5c4f6b310d47a","5c4f9447c8c14","5c508b555e327","5c59cccb6bc5f","5c5c88d946fa6","5c60f40167390","team_posts"]
[2019-04-09 10:21:19] local.INFO: The current count is: 8
[2019-04-09 10:21:19] local.INFO: ====================================================================================================================
[2019-04-09 10:21:19] local.INFO: ====================================================================================================================
[2019-04-09 10:21:19] local.INFO: Done running queries in 0.15248703956604s
[2019-04-09 10:21:19] local.INFO: Timestamp is<PHONE_NUMBER>

The "done running queries" is logged right before I use Response::json() on the team posts, the part which actually calls toArray and seems slow to run, to get a sense of that, I overrode toArray in my TeamPost model to add a log, here's the result
[2019-04-09 10:21:19] local.INFO: Post toArray<PHONE_NUMBER>
[2019-04-09 10:21:20] local.INFO: Post toArray<PHONE_NUMBER>
[2019-04-09 10:21:20] local.INFO: Post toArray<PHONE_NUMBER>
[2019-04-09 10:21:21] local.INFO: Post toArray<PHONE_NUMBER>
[2019-04-09 10:21:22] local.INFO: Post toArray<PHONE_NUMBER>
[2019-04-09 10:21:22] local.INFO: The queries executed for request teams/5bf528c22cdeb/posts
[2019-04-09 10:21:22] local.INFO: Query In 1.06s: select * from "users" where "users"."id" = ? limit 1 ["5c36883f0acdb"]
[2019-04-09 10:21:22] local.INFO: The current count is: 9
[2019-04-09 10:21:22] local.INFO: ====================================================================================================================
[2019-04-09 10:21:22] local.INFO: ====================================================================================================================
[2019-04-09 10:21:22] local.INFO: Post toArray<PHONE_NUMBER>
[2019-04-09 10:21:23] local.INFO: Post toArray<PHONE_NUMBER>
[2019-04-09 10:21:24] local.INFO: Post toArray<PHONE_NUMBER>
[2019-04-09 10:21:24] local.INFO: Post toArray<PHONE_NUMBER>
[2019-04-09 10:21:25] local.INFO: Post toArray<PHONE_NUMBER>
[2019-04-09 10:21:25] local.INFO: The queries executed for request teams/5bf528c22cdeb/posts
[2019-04-09 10:21:25] local.INFO: Query In 0.68s: select * from "users" where "users"."id" = ? limit 1 ["5c36883f0acdb"]
[2019-04-09 10:21:25] local.INFO: The current count is: 10
[2019-04-09 10:21:25] local.INFO: ====================================================================================================================
[2019-04-09 10:21:25] local.INFO: ====================================================================================================================
[2019-04-09 10:21:26] local.INFO: Post toArray<PHONE_NUMBER>
[2019-04-09 10:21:26] local.INFO: Post toArray<PHONE_NUMBER>

As you can see, there's seconds of difference between these different calls to toArray for objects that aren't really that big. and the team posts table has only around 600 rows.
And in contrast, our notifications table has ~23k rows but still manages to fetch the user's notifications in 1s or less. Our tables have the proper indexes and everything, so I don't know what really could be causing such a huge slow.

Hey there,
Unfortunately we don't support this version anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? If so feel free to reply and we'll try to have a look.
Thanks!


Gradle: Upgrade the Docker plugins to version 4.10.0

See https://bmuschko.github.io/gradle-docker-plugin/#v4_10_0_june_12_2019.
Signed-off-by: Sebastian Schuberth<EMAIL_ADDRESS>

This change is

Merging this despite the unrelated Travis failure as AppVeyor passed.

/rebase

/rebase

/rebase


Bokeh Tab titles should use subplot title

Currently when you use the tab=True option for Layouts and Overlays it uses the group.label path of the object in the subplot as the title of tabs. Instead it should simply use the title of the subplot, so it can be controlled as normal via the title_format.

Makes sense but what if you have lots of tabs and long titles? Truncate the titles?

Makes sense but what if you have lots of tabs and long titles? Truncate the titles?

I'll see what the behavior is, tabs have a fixed width so it's probably truncated automatically.

The fix for this has now been merged.


add duration and phqm stats per frame

Jira: VOD-3305
add duration parameter for playback of discrete periods of time.
add phash calc per frame for each video and hamming distance
display with frame and total running avg during playback.
allow sync up when gets offsync automatically, usually works.

Not trivial to merge this in a clean way, and seems to be an uncommon usecase so closing this.


hexadecimal: Improve error-handling behavior

As part of #275, we'd like to more closely follow idiomatic Go behavior in the face of errors.
If the hexadecimal exercise does not have error handling, then this ticket can be closed immediately.
If it does, then follow the below steps:
Ensure err return value is of type error
It's idiomatic for the error return value to be of type error.
Most tests simply check whether err == nil or not. If we don't verify the type of err, it could be any type that has nils.
To lean on the type system, add the following line after assigning err:
var _ error = err

See the hamming tests for an example.
Ignore the normal return value when an error expected
The contract in Go is "if there's an error, assume nothing about the normal return value". Thus, we should only check the non-error return value when there is no error.
In some exercises we found that we were checking the normal return value, even when there was an error.
See the binary tests for an example of the behavior that we want.
Increment the test version
These changes break backwards compatibility. Bump the test version to let reviewers know that the exercise has changed.
This requires changing two constants:

targetTestVersion in the test file (*_test.go)

testVersion in the reference solution (example.go)

If the exercise does not have a test version, then add one, setting the value to 1.
See the version test in leap for an example.

#375


Matching ios 10 to launch_webkit_approach

Hey, thanks for that 👍
Is the webkit approach still working on iOS 10 ? Haven't tested it on a real device yet

It works on the simulator. I'll later today on a devise. I don't see any reason why it shouldn't.

I pushed some changes which resulted in merge conflicts here. I patched your change manually so I am closing this PR.
I will release a new minor version.
Thanks for the fix


Update crd to match with kyma-project/kyma version

https://github.com/kyma-project/kyma/blob/main/installation/resources/crds/api-gateway/apirules.gateway.crd.yaml

/retest

I would say this is unnecessary, as the conversion is applied as kustomization patch in https://github.com/kyma-project/api-gateway/blob/main/config/crd/patches/webhook_in_apirules.yaml

I would say this is unnecessary, as the conversion is applied as kustomization patch in https://github.com/kyma-project/api-gateway/blob/main/config/crd/patches/webhook_in_apirules.yaml

Alright, shall we then generate and keep the outcome CRD here?

/retest


trojan in one of your dependencies, supply chain attack...

I did empty NPM cache, mine at C:\Users\{username}\AppData\Roaming\npm-cache
git clone https://github.com/corda/node-explorer.git
npm install

a Windows Defender scan find:
virus Trojan:Win32/Woreflint.A!cl
file: C:\Users\{username}\AppData\Roaming\npm-cache\_cacache\content-v2\sha512\81\8f\400685798e1ebb22b3c4c05f3547c97d2f013746a1d4c94deb20a8adc2a3292a1a653793990ba5841ce5cedd787088b08896bf4b2c8e8e3e1af76e6b5022->(GZip)->package/win/ia32/app-builder.exe

@cedricwalter wasn't present for us during dev. I'm taking a look into it. Thanks for the report!

you can not do anything about it, maybe upgrade this dependency and hope trojan is not inside, The maintainer of that dependencies need to act. Poisonning 3rd party dependencies is more and more common these days :-(

@cedricwalter happy to report these Trojan's were false positives interacting with Windows Defender, related tickets. For reference, here, and here.
Regardless it makes sense to rollback the offending electron-build devDependency to unaffected 21.2.0 which is still compatible with create distributions of node-explorer.
Note: this issue had no affect on Window's Release binaries. The package was devDependency affecting windows users with Windows Defender.
You can now npm install without issue. Thank you so much for your reporting the issue and your patience. :-)


Fix Python Async SDK documentation

Async example of python SDK didn't containt await near coroutines.

/rebase


Runtime exception: Service or property not registered for azure media service

All i did is try to create a MediaContract object:
MediaContract mediaService = MediaService.create(MediaConfiguration.configureWithOAuthAuthentication(mediaServiceUri,
oAuthUri, AMSAccountName, AMSAccountKey, scope));
It can be run in Intellij but if i try to package it into an independent jar and running it from the jar, it reports:
Exception in thread "main" java.lang.RuntimeException: Service or property not registered:  com.microsoft.windowsazure.services.media.MediaContract class com.sun.jersey.api.client.Client
at com.microsoft.windowsazure.core.DefaultBuilder.build(DefaultBuilder.java:198)
at com.microsoft.windowsazure.core.DefaultBuilder$1.create(DefaultBuilder.java:138)
at com.microsoft.windowsazure.core.DefaultBuilder.build(DefaultBuilder.java:200)
at com.microsoft.windowsazure.core.DefaultBuilder$1.create(DefaultBuilder.java:138)
at com.microsoft.windowsazure.core.DefaultBuilder.build(DefaultBuilder.java:200)
at com.microsoft.windowsazure.Configuration.create(Configuration.java:119)
at com.microsoft.windowsazure.services.media.MediaService.create(MediaService.java:47)
at com.yxxxx.fixxxx.InputAssetDeleter.main(InputAssetDeleter.java:37)
looks similar to issue 466 https://github.com/Azure/azure-sdk-for-java/issues/466, but the solution there can't fix my problem. Could anybody look into it?
Thanks,

Can you try modifying the Exports file in the shaded jar directly? Adding all the entries from all the $Exports files in the modules you are depending on.

This can only be worked around for now - in 1.0 we will ditch the service loader.

Jianghao, Thanks for the response.
Are you referring to this solution:
http://stackoverflow.com/questions/27127107/error-accessing-azure-service-bus-from-storm-cluster
if not, could you elaborate more on it?

Hi @kennethinsnow
Yes I'm referring to that and issue 466 both. The underlying problem is that multiple $Exports files across multiple modules will collapse into one and it's unpredictable which entries will survive in the single $Exports file in the shaded jar.
The service loader looks into $Exports file to find all the Exports classes defined. For example, this core $Exports defines a bunch, and the [media $Exports] defines a bunch too. You can take a look at your shaded jar and I believe not all of them are in the $Exports file.

obsolete - pls refer to the latest Azure Maangement LIbraries for Java (no service loader anymore)


capture version from the installed package

redoing https://github.com/compiler-explorer/dotnet-builder/pull/7 with exception for < v8 and support for multi-digit major versions.

Does this require a rebuild of all the compilers?

This is breaking the trunk build. We don't publish nightly aot packages on nuget.org so the restore would fail.

See https://github.com/compiler-explorer/compiler-workflows/actions/runs/6502373123
Your changes make the trunk build failed at dotnet add package. The main branch has been bumped to net9.0 but we don't have net9.0 ilc package on nuget.org, so it will fail when build the image.
I don't think the other or would resolve this issue.

build was failing for whole month after your change

Yeah it was caused by this commit (3cae918759f1ee2913949bcd92f526f6689b4755) in #5 where I enabled aot build for trunk
Before that, we never built aot toolchains for trunk (we were only building it for net7.0). To see this, you can simply check the last successful build before 9/6: https://github.com/compiler-explorer/compiler-workflows/actions/runs/6103792630/job/16564818318, and you can observe that in trunk build we didn't build aot at all.

you immediately opened another pr overwriting changes

This (#8) is to revert the 3cae918759f1ee2913949bcd92f526f6689b4755. The build failure was caused by enabling aot build for trunk, so the simplest solution is to disable it again. And other PRs ()
If you have solution to make aot build for trunk work then it's fine.


Show distributions to download vocabularies

A common request is where to download a vocabulary. This information is included in field distribution for some vocabularies for instance http://uri.gbv.de/terminology/bk/ so it should also be shown.

How should the distributions be displayed? For BK, there are eight different items in the distributions fields: http://localhost:3555/terminology/bk/?format=jskos They are not really labeled well and sometimes differ only by the download URL. Any ideas?

Items could be shown like this:

2024-03-02 (JSKOS, 7 MB) Full export of all available formats with all properties

if created is missing use fallback label "download". The format names should be hardcoded. Full list is available via
curl -s https://format.gbv.de/formats.ndjson | jq -c '{key:("http://format.gbv.de/"+.id),value:.title}' | jq -Ss 'from_entries'

but DANTE only supports a hand full of these formats.

Can you check https://coli-conc.gbv.de/terminology/ for the current implementation @nichtich?

Works as expected. Only the label "Distributionen"/"Distributions" should be changed to "Download".


Matrix jobs all log fail if only one fails

If I create a workflow with a job that uses convictional/trigger-workflow-and-wait as a step in a 2 axis matrix, if (even only) one of the matrix jobs fails, all of them show as failed in the workflow.
Additionally, both jobs in the workflow show the work of convictional/trigger-workflow-and-wait for both of the axes of the matrix.
See https://github.com/daos-stack/argobots/actions/runs/3541802004/jobs/5946573980 for an example of this.  Only Test RPMs on EL 8 (release/2.2) actually failed.  _Test RPMs on EL 8 (master) actually succeeded.

Any ideas here?  I like this action, but it's failure here is going to be a blocker to being able to use it unfortunately.

can you solve this issue?
this is making my workflows complicated

@brianjmurrell it feels a bit more random than that. It should also sometimes succeed even if one fail, as the job will get the last running job of the one its triggering, and most of the times it will just be the last one triggered in the matrix.
The only solution I can think for this is some sleep mechanism for the matrix items, making you run them all in a window bigger than your wait window (which is usually 10 seconds)


No guards against cache corruption via multiple clients uploading the same file at the same time.

From looking at the code, it seems nothing prevents two jobs from attempting to upload the same file in parallel. It appears this could result in a corrupted file.
We have recently experienced a couple cases of file corruption of our cache managed by this server. While we have not pinpointed the cause and don't have an exact reproduction, it looks like nothing in the code guards against this.

We have experienced that too.

The solution we are looking at is evaluating the "Actions Cache Server" is an alternative. It is a drop-in replacement for the Github-hosted caching service:
https://gha-cache-server.falcondev.io
Another alternative is service which directly access the file system:  https://github.com/corca-ai/local-cache

Thanks for the alternatives.
My solution was a quick solution to the problem long time ago. But I have no time to maintain this.
We internally should move to the alternative too, the first one looks neat.

Just a note. Action cache works normally now on GHEA. There is no need for any other extra workarounds.

Where is the cache located? On the self-hosted runner on Github's servers?


multi-property option to analyze properties seperately

We can select multiple properties like this:
vars:
  ga4:
    property_ids: [11111111, 22222222, 33333333]
    static_incremental_days: 3
    combined_dataset: "my_combined_dataset"

And it then combines the dataset into one (with combined_property_data()). I need a way to analyze them seperately in the same project. Is there a workaround for this? Thanks in advance!

Yes, the events from each of those properties will each have a unique stream_id

Thanks! But does that mean that we still first combine the datasets from both properties? I am using the bigquery connection and if i create the base table the query costs will be a lot higher if i first combine the tables and after that select different streaming ids to seperate them

It's up to you if you'd like 3 separate projects for 3 properties or 1 larger project with 3 properties. You can either process and analyze them independently or jointly.  In either case, all data is partitioned on date, so you can limit costs by including date filters.
Hopefully that helps.

I suspect it would also help save cost if the base table creation in dbt_packages/ga4/models/staging/base/base_ga4__events.sql would be clustered on stream_id. What do you think @adamribaudo-velir ?

@DVDH-000 It's currently clustered on event_name. Whether clustering on event_name or stream_id is more performant likely depends on whether the user plans to analyze across streams or within a single stream which we can't predict.
I'm pretty certain that config setting can be overridden in the project yaml. And if anyone wants to run some empirical tests to demonstrate which is more performant under various scenarios, by all means :)


Remove redundant type constraint in BaseControllerV2

The StateChangeEvent type constraint was completely broken - it was functionally equivalent to any. This is because it operates statically on the generic type parameter given, which was always any for the parameter E. And of course any extends ___ always evaluates to true.
The type has now been simplified to use any directly.

I had the same thought. That doesn't seem to work though, because that fails when the  restricted messenger you pass in has more events than that.
It's not yet clear to me how to specify that a given event must exist, but that we don't care if other events are there as well.


Schema builder not removing unsigned flag from column.

Laravel Version: 5.4.16
PHP Version: 7.1.3-3
Database Driver & Version: MySQL 5.7.17

Description:
I've added the doctrine/dbal package and created the migration below. It doesn't seem to want to remove the unsigned flag from the column though. My column is still unsigned after the migration completes.
Steps To Reproduce:
Create the following migration for a table and run it.
    public function up()
    {
        Schema::table('sales', function (Blueprint $table) {
            $table->decimal('amount', 19, 4)->change();
        });
    }

    public function down()
    {
        Schema::table('sales', function (Blueprint $table) {
            $table->decimal('amount', 19, 4)->unsigned()->change();
        });
    }

I believe that the first line doesn't change the unsigned flag at all, and the second one sets it. Try ->unsigned(false) to disable it.

Interesting, I just did some more testing and by omitting unsigned() on an integer field, it'll remove the unsigned from the field. However, if you omit it on a decimal field like above, it does not remove it. Now sure if that's intended behaviour or a bug.
However, using unsigned(false) does in fact remove the unsigned from both field types, so thank you for that.
I'll close this but I'll ping @taylorotwell @themsaid in case that is in fact a bug.


General adjustments

Fixed issue #280 . No more repeated concepts.
Modularized KnowledgeBase and ConceptGenerator #282 . KnowledgeBase no longer inherit from ConceptGenerator. Method that did not make sense to be in ConceptGenerator moved in KnowledgeBase. Updated usage of these methods throughout the project.
Moved owlapy under ontolearn directory. Removed directories: Superprob and Sortedcontainers-stubs. #285

Thank you for the PR!


Order "owned" command results by asset id descending

IIRC the opensea API supports this

Oops. That fix didn't work

The Opensea API doesn't work as advertised. Filtering will need to be done in the bot


sxhkd: 0.5.8 -> 0.5.9

Semi-automatic update generated by https://github.com/ryantm/nix-update tools.
This update was made based on information from https://repology.org/metapackage/sxhkd/versions.
These checks were done:

built on NixOS
ran /nix/store/psgpqlc79whix5834kvvs9klgiyinl72-sxhkd-0.5.9/bin/sxhkd -h got 0 exit code
ran /nix/store/psgpqlc79whix5834kvvs9klgiyinl72-sxhkd-0.5.9/bin/sxhkd --help got 0 exit code
ran /nix/store/psgpqlc79whix5834kvvs9klgiyinl72-sxhkd-0.5.9/bin/sxhkd -v and found version 0.5.9
ran /nix/store/psgpqlc79whix5834kvvs9klgiyinl72-sxhkd-0.5.9/bin/sxhkd --version and found version 0.5.9
ran /nix/store/psgpqlc79whix5834kvvs9klgiyinl72-sxhkd-0.5.9/bin/sxhkd --help and found version 0.5.9
found 0.5.9 with grep in /nix/store/psgpqlc79whix5834kvvs9klgiyinl72-sxhkd-0.5.9
directory tree listing: https://gist.github.com/7b7f60bf79af2063b4100fb74b4c468c

cc @vyp for review

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: sxhkd
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: sxhkd
Partial log (click to expand)
shrinking /nix/store/psgpqlc79whix5834kvvs9klgiyinl72-sxhkd-0.5.9/bin/sxhkd
gzipping man pages under /nix/store/psgpqlc79whix5834kvvs9klgiyinl72-sxhkd-0.5.9/share/man/
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/psgpqlc79whix5834kvvs9klgiyinl72-sxhkd-0.5.9/bin
patching script interpreter paths in /nix/store/psgpqlc79whix5834kvvs9klgiyinl72-sxhkd-0.5.9
/nix/store/psgpqlc79whix5834kvvs9klgiyinl72-sxhkd-0.5.9/share/doc/sxhkd/examples/notification/autostart: interpreter directive changed from " /bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
/nix/store/psgpqlc79whix5834kvvs9klgiyinl72-sxhkd-0.5.9/share/doc/sxhkd/examples/notification/sxhkd_notify: interpreter directive changed from " /bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
/nix/store/psgpqlc79whix5834kvvs9klgiyinl72-sxhkd-0.5.9/share/doc/sxhkd/examples/background_shell/shell: interpreter directive changed from " /bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
checking for references to /tmp/nix-build-sxhkd-0.5.9.drv-0 in /nix/store/psgpqlc79whix5834kvvs9klgiyinl72-sxhkd-0.5.9...
/nix/store/psgpqlc79whix5834kvvs9klgiyinl72-sxhkd-0.5.9

Success on aarch64-linux (full log)
Attempted: sxhkd
Partial log (click to expand)
shrinking /nix/store/37xkwjyvbsdrkdgfpdj3flbb9x1lvdfm-sxhkd-0.5.9/bin/sxhkd
gzipping man pages under /nix/store/37xkwjyvbsdrkdgfpdj3flbb9x1lvdfm-sxhkd-0.5.9/share/man/
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/37xkwjyvbsdrkdgfpdj3flbb9x1lvdfm-sxhkd-0.5.9/bin
patching script interpreter paths in /nix/store/37xkwjyvbsdrkdgfpdj3flbb9x1lvdfm-sxhkd-0.5.9
/nix/store/37xkwjyvbsdrkdgfpdj3flbb9x1lvdfm-sxhkd-0.5.9/share/doc/sxhkd/examples/notification/sxhkd_notify: interpreter directive changed from " /bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
/nix/store/37xkwjyvbsdrkdgfpdj3flbb9x1lvdfm-sxhkd-0.5.9/share/doc/sxhkd/examples/notification/autostart: interpreter directive changed from " /bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
/nix/store/37xkwjyvbsdrkdgfpdj3flbb9x1lvdfm-sxhkd-0.5.9/share/doc/sxhkd/examples/background_shell/shell: interpreter directive changed from " /bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/37xkwjyvbsdrkdgfpdj3flbb9x1lvdfm-sxhkd-0.5.9...
/nix/store/37xkwjyvbsdrkdgfpdj3flbb9x1lvdfm-sxhkd-0.5.9