Trying to incorporate Font Awesome via NPM

Laravel Mix Version: 0.6.3
Node Version (node -v): 7.3.0
NPM Version (npm -v): 3.10.10
OS: macOS Sierra 10.12.2

Description:
I'm trying to use Font Awesome in a new Laravel 5.4 project.
I ran this command:
npm install font-awesome --save-dev

It installed ^4.7.0. I added this line to my app.scss:
@import "node_modules/font-awesome/scss/font-awesome.scss";

I ran this command:
npm run watch

I get the following error output:
     WAIT  Compiling...                                                                        5:41:54 PM

 95% emitting

 ERROR  Failed to compile with 3 errors                                                    5:41:56 PM

 error  in ./resources/assets/sass/app.scss

Module build failed: Error
    at factoryCallback (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/webpack/lib/Compilation.js:259:39)
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/webpack/lib/NormalModuleFactory.js:234:19
    at onDoneResolving (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/webpack/lib/NormalModuleFactory.js:59:20)
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/webpack/lib/NormalModuleFactory.js:126:20
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/async/dist/async.js:3694:9
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/async/dist/async.js:356:16
    at iteratorCallback (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/async/dist/async.js:934:13)
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/async/dist/async.js:840:16
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/async/dist/async.js:3691:13
    at apply (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/async/dist/async.js:21:25)
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/async/dist/async.js:56:12
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/webpack/lib/NormalModuleFactory.js:121:22
    at onResolved (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/Resolver.js:70:11)
    at loggingCallbackWrapper (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at afterInnerCallback (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/Resolver.js:138:10)
    at loggingCallbackWrapper (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at Resolver.applyPluginsAsyncSeriesBailResult1 (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/tapable/lib/Tapable.js:181:46)
    at innerCallback (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/Resolver.js:125:19)
    at loggingCallbackWrapper (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/tapable/lib/Tapable.js:283:15
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:38:4
    at loggingCallbackWrapper (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at afterInnerCallback (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/Resolver.js:138:10)
    at loggingCallbackWrapper (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at Resolver.applyPluginsAsyncSeriesBailResult1 (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/tapable/lib/Tapable.js:181:46)
    at innerCallback (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/Resolver.js:125:19)
    at loggingCallbackWrapper (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/tapable/lib/Tapable.js:283:15
    at innerCallback (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/Resolver.js:123:11)
    at loggingCallbackWrapper (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)

 @ multi ./resources/assets/js/app.js ./resources/assets/sass/app.scss

 error  in ./resources/assets/sass/app.scss

Module build failed: Error
    at factoryCallback (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/webpack/lib/Compilation.js:259:39)
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/webpack/lib/NormalModuleFactory.js:234:19
    at onDoneResolving (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/webpack/lib/NormalModuleFactory.js:59:20)
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/webpack/lib/NormalModuleFactory.js:126:20
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/async/dist/async.js:3694:9
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/async/dist/async.js:356:16
    at iteratorCallback (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/async/dist/async.js:934:13)
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/async/dist/async.js:840:16
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/async/dist/async.js:3691:13
    at apply (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/async/dist/async.js:21:25)
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/async/dist/async.js:56:12
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/webpack/lib/NormalModuleFactory.js:121:22
    at onResolved (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/Resolver.js:70:11)
    at loggingCallbackWrapper (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at afterInnerCallback (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/Resolver.js:138:10)
    at loggingCallbackWrapper (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at Resolver.applyPluginsAsyncSeriesBailResult1 (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/tapable/lib/Tapable.js:181:46)
    at innerCallback (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/Resolver.js:125:19)
    at loggingCallbackWrapper (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/tapable/lib/Tapable.js:283:15
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:38:4
    at loggingCallbackWrapper (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at afterInnerCallback (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/Resolver.js:138:10)
    at loggingCallbackWrapper (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at Resolver.applyPluginsAsyncSeriesBailResult1 (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/tapable/lib/Tapable.js:181:46)
    at innerCallback (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/Resolver.js:125:19)
    at loggingCallbackWrapper (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)
    at /Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/tapable/lib/Tapable.js:283:15
    at innerCallback (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/Resolver.js:123:11)
    at loggingCallbackWrapper (/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/enhanced-resolve/lib/createInnerCallback.js:31:19)

 error

/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/extract-text-webpack-plugin/loader.js??ref--5-0!/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/style-loader/index.js!/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/css-loader/index.js!/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/postcss-loader/index.js!/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/resolve-url-loader/index.js!/Users/aaron/repos/oldrivercreative/cps-engagement/node_modules/sass-loader/index.js??ref--5-5!/Users/aaron/repos/oldrivercreative/cps-engagement/resources/assets/sass/app.scss doesn't export content

I just created a fresh Laravel project, and then pulled in Font Awesome. Everything compiled properly.
To start, can you upgrade your version of Laravel Mix to the current release? 0.8.1.

I will update it. Can you tell me how you incorporated font-awesome?
On Thu, Feb 16, 2017 at 6:02 PM Jeffrey Way<EMAIL_ADDRESS>wrote:

I just created a fresh Laravel project, and then pulled in Font Awesome.
Everything compiled properly.
To start, can you upgrade your version of Laravel Mix to the current
release? 0.8.1.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/JeffreyWay/laravel-mix/issues/403#issuecomment-280491961,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHV_JPDK-J8fsTuocYtTsc2adAziQUTks5rdNV-gaJpZM4MDpJf
.

@QWp6t, I'm not sure that what you're describing works in context, so just for clarity, what is working for me:

npm install font-awesome (currently installing ^4.7.0)

I'm building a Laravel 5.4 app, so to my resources/assets/sass/app.scss file I added:

// Font Awesome
$fa-font-path: "../fonts";
@import "node_modules/font-awesome/scss/font-awesome";

To my ./webpack.mix.js, I added

mix.copy('node_modules/font-awesome/fonts', 'public/fonts');

That's all there was to it!

You shouldn't even need to manually copy the fonts over. Webpack will do that for you. Here is the code I used, and it automatically copied the fonts to public/fonts.
https://www.dropbox.com/s/7a4fs2ovaye6e2q/Screenshot 2017-02-16 21.23.22.png?dl=0
Anyways, glad you got it all sorted out.  Works great.

@JeffreyWay  I am very sorry to say your link doesn't works anymore, so I am unable to take a look into the code... :(
Would you mind to upload the code again?
Thank you very much.

@JeffreyWay The code is no longer available! : -1: Always use https://gist.github.com/ to avoid these issues!


Add dredd for continuous API tests

Description of changes
Adds dredd, which will run API tests against the build, created from our documentation in our API blueprint (apiary.apib)
We may want to throw this in Docker instead, I'm not familiar enough with the backend.

This build failed with the following errors:
Error: Must specify path to API description document.
Error: Must specify URL of the tested API instance.

later.


Possible error in docker-compose.yml.sample

In my opinion there is a "./" missing in the volume section of the docker-compose.yml.sample.
Your code:

feeds.env:/code/feeds.env:rw

Working:

./feeds.env:/code/feeds.env:rw

Or am i missing something? ;-)
best regards

That may be possible. I'm using a global docker-compose file, so this may or may not be correct

@clanzett You're right, currently we're trying to use a container names 'feeds.env'.

Thanks for your report @clanzett ! :)


Metrics server parameters

Hello,
On basic installation of k3s, metric-server is using hostname to retrieve kubelet information.
However, hostname is potentially not always setup while internal ip is.
Why don"t we pass    :
args:
      - --kubelet-insecure-tls
      - --kubelet-preferred-address-types=InternalIP

to metric-server deployment to avoid that issue ?
Should be update here : https://github.com/k3s-io/k3s/blob/12e675e2cc3431d25630f63535f66ad4bb22ae85/manifests/metrics-server/metrics-server-deployment.yaml#L43
Can push a PR if other people seems it make sense.

K3s ensures that hostnames are resolvable by injecting them into the coredns hosts file configmap whenever a node is added to the cluster.

Interesting, thank à lot ! I guess I have an issue with coredns then, as I
got multiple timeout issue in metric-server logs.
Le dim. 3 oct. 2021 à 19:45, Brad Davidson @.***> a
écrit :

K3s ensures that hostnames are resolvable by injecting them into the
coredns hosts file configmap whenever a node is added to the cluster.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/k3s-io/k3s/issues/4135#issuecomment-932995577, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACVGU5FJGHYFVPQTF6NVJ5LUFCJD5ANCNFSM5FHSW55A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

So - did anyone manage to provide a manifest so the metrics do bind to the desired interface yet?

You can set it via --kubelet-arg=address=<IP_ADDRESS>, or if you prefer to create a KubeletConfiguration file, you can specify that via --kubelet-arg=config=/path/to/config`
https://rancher.com/docs/k3s/latest/en/installation/install-options/agent-config/#customized-flags

So I understand this correctly: The --kubelet-arg=address=<IP_ADDRESS> should override the address that is provided by the packaged manifest?

The kubelet isn't configured via a packaged manifest. The control-plane components are deployed via static pod manifests, and the remaining components (CNI, ingress, etc) are deployed via helm chart manifests. Containerd and the kubelet are directly executed as subprocesses, using args set by the main rke2 process, in combination with any component-specific args set by the user.

8472 should be the port used by Vxlan in Flannel.

Instead of just disabling the metrics server - is there also a way to pass in an address?

No. There is not any way to customize the configuration of the bundled manifests, other than traefik which can be customized via a HelmChartConfig. The other bundled components must be disabled and replaced by a customized manifest if you want to adjust their default configuration.

Closing due to age - please reopen using our bug issue template if a bug can be reproduced on a more current version of k3s.


First stab at free Alleles, with a semantic search for them.

These ideas probably won't be anywhere near ready until #253 and #269 are in. But I was asked by @benedictpaten to spec out how Alleles might work if they weren't restricted to a single VariantSet. What do people think of that idea?
Changes:
Alleles now exist outside of, and can be shared between,
VariantSets. The parent object of an Allele is a Dataset.
Adding a searchAllelesPath() method that can use any of a number of
"algorithms" to get Alleles that are "relevant" to a Path, for some
algorithm-defined notion of relevance.
Also specifying that the Alleles used by a VariantSet may only use a
"simple" extension of the Sequences and Joins in the relevant
ReferenceSet. That is, no novel Join may have both ends in novel
Sequences.

Thanks @adamnovak.  This looks good to me.
Does "relevant" mean overlap, or containment (allele in path)?  Or identity?
Am I right that the ReferenceSet is defined by the DataSet?
In particular I support the "simple extension" requirement.  i.e.  that novel Joins involved in defining Alleles must connect to the ReferenceSet at at least one end.

On 9 Apr 2015, at 00:57, adamnovak<EMAIL_ADDRESS>wrote:
These ideas probably won't be anywhere near ready until #253 https://github.com/ga4gh/schemas/pull/253 and #269 https://github.com/ga4gh/schemas/pull/269 are in. But I was asked by @benedictpaten https://github.com/benedictpaten to spec out how Alleles might work if they weren't restricted to a single VariantSet. What do people think of that idea?
Changes:
Alleles now exist outside of, and can be shared between,
VariantSets. The parent object of an Allele is a Dataset.
Adding a searchAllelesPath() method that can use any of a number of
"algorithms" to get Alleles that are "relevant" to a Path, for some
algorithm-defined notion of relevance.
Also specifying that the Alleles used by a VariantSet may only use a
"simple" extension of the Sequences and Joins in the relevant
ReferenceSet. That is, no novel Join may have both ends in novel
Sequences.
You can view, comment on, or merge this pull request online at:
https://github.com/ga4gh/schemas/pull/281 https://github.com/ga4gh/schemas/pull/281
Commit Summary
Making Alleles first-class objects.
File Changes
M src/main/resources/avro/variantmethods.avdl https://github.com/ga4gh/schemas/pull/281/files#diff-0 (80)
M src/main/resources/avro/variants.avdl https://github.com/ga4gh/schemas/pull/281/files#diff-1 (33)
Patch Links:
https://github.com/ga4gh/schemas/pull/281.patch https://github.com/ga4gh/schemas/pull/281.patch
https://github.com/ga4gh/schemas/pull/281.diff https://github.com/ga4gh/schemas/pull/281.diff
—
Reply to this email directly or view it on GitHub https://github.com/ga4gh/schemas/pull/281.

--
The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.

"Relevant" is intentionally vague, because different algorithms will have different notions of relevance. The one that is most natural to me would be to find all Alleles that either occur along the query path, or which are alternatives to sequence on the query path. However, whether that ought to include, say, alleles which involve deleting or duplicating a huge region around the query path is a hard question. I think it's never really going to be settled, and is properly outside the scope of the standard, hence the ability for many different algorithms to be available.
Ideally, someone will make one really good algorithm, the semantics of which everyone finds useful, and there can be a de facto standard around that.

Okay - I am plus 1 on this, except for one thing.
In the proposed pull request all alleles are part of a dataset, even alleles that use joins/sequences that are contained in a variant set (as in a simple extension).  For example, you could have an allele that includes variants/joins from multiple variant sets. I think it would be better therefore to have alleles to be either part of a dataset (so called "named alleles") or part of a variant set (allele calls specific to a given variant set). I think such a distinction is quite natural. I would use the rule that if an allele uses a join/sequence that is part of a variant set, it must be part of that variant set, else it can be part of the dataset.

Hmm, more thoughts (spelling out a discussion with Adam offline).
Given that all joins and sequences belong either to a reference set or a variant set, I now think that an allele should be allowed to belong to either a reference set, or a variant set, but not to a data set, for the following reasons (generalising my earlier argument). If an allele belongs to a data set, it may include sequences/joins defined in any combination of reference sets and variant sets (a data set can contain more than one of both reference sets and variants sets). This will be really hard to manage and communicate, I sense.
Instead, I would argue we impose the following:
(0) Reference sets should only be allowed to inherit from one parent reference set (currently, I believe, we allow for multiple inheritance - which is a mistake for obvious reasons).
(1) Alleles should not be allowed to include joins/sequences defined across multiple reference sets, except for joins/sequences defined in a child reference set and its parent, and, recursively, ancestor reference sets.
(2) Alleles should not be allowed to include joins/sequence defined across multiple variant sets.
(3) In the case that an allele includes joins/sequences defined in a variant set, it should belong to that variant set.
(4) In the case that the allele includes joins/sequences defined only in a reference set (and its ancestors), it should belong to that reference set.
This still allows for "named alleles", on reference sets. Consider the current reference set for GRCh38 - which is composed simply of a set of primary and alt sequences. It is easy easy to name alleles for this reference set, and include them across variant sets. This plan therefore admits the status quo. It also allows for named alleles to be created on extensions of the GRCh38 graph in a natural way.

+1
On Wed, Apr 29, 2015 at 4:08 PM, Benedict Paten<EMAIL_ADDRESS>wrote:

Hmm, more thoughts (spelling out a discussion with Adam offline).
Given that all joins and sequences belong either to a reference set or a
variant set, I now think that an allele should be allowed to belong to
either a reference set, or a variant set, but not to a data set, for the
following reasons (generalising my earlier argument). If an allele belongs
to a data set, it may include sequences/joins defined in any combination of
reference sets and variant sets (a data set can contain more than one of
both reference sets and variants sets). This will be really hard to manage
and communicate, I sense.
Instead, I would argue we impose the following:
(0) Reference sets should only be allowed to inherit from one parent
reference set (currently, I believe, we allow for multiple inheritance -
which is a mistake for obvious reasons).
(1) Alleles should not be allowed to include joins/sequences defined
across multiple reference sets, except for joins/sequences defined in a
child reference set and its parent, and, recursively, ancestor reference
sets.
(2) Alleles should not be allowed to include joins/sequence defined across
multiple variant sets.
(3) In the case that an allele includes joins/sequences defined in a
variant set, it should belong to that variant set.
(4) In the case that the allele includes joins/sequences defined only in a
reference set (and its ancestors), it should belong to that reference set.
This still allows for "named alleles", on reference sets. Consider the
current reference set for GRCh38 - which is composed simply of a set of
primary and alt sequences. It is easy easy to name alleles for this
reference set, and include them across variant sets. This plan therefore
admits the status quo. It also allows for named alleles to be created on
extensions of the GRCh38 graph in a natural way.
—
Reply to this email directly or view it on GitHub
https://github.com/ga4gh/schemas/pull/281#issuecomment-97611028.

OK, here it is with Alleles that can belong either to VariantSets or ReferenceSets.
I have a single variantSetId and a single referenceSetId on the Allele object, because I thought that that would make it clearer with the relationship was. You are allowed to use both, but you can't have an Allele in two ReferenceSets unless it was inherited from their common ancestor. This differs from the behavior of References and Joins, but I think it might be better.
Thoughts?

Actually, I have decided on my own that that was a bad idea. Here's a version in which Alleles work just like Sequences and Joins in terms of what they can belong to and how they are inherited. You can't put an Allele in a ReferenceSet or VariantSet unless that container has all the Sequences and Joins the Allele uses.

Can this PR be closed @adamnovak?

Sure. I think some of this might come back when the graph stuff does, but I don't want this merged into master at the moment.


Update Download Build Artifacts task to set a DowloadedArtifactBuildNumber variable

Hello,
We have a build definition that runs our nightly acceptance tests suite (we run them nightly because they are end to end and they take a few hours to run).
This build definition uses a "schedule trigger" and it uses the Download Build Artifacts task to download the artifacts from the latest build of a different build definition.
We'd like to keep in sync the build number of the artifact source build with the build number of the acceptance tests build - however it doesn't seem that there is a way to know what was the build number of the artifact source build.
For "completed triggers", we're using Build.TriggeredBy.BuildNumber variable, and we would like a similar variable that is injected / set by the Download Build Artifacts.
Thank you,
Cosmin

@cosminstirbu - We currently support taking latest build from a build definition as input to the download build artifact task and log the build that is used. However we don't output this build as a variable from the task. If we add output variable (say DownloadBuildArtifacts.BuildNumber) would that suffice?

Hi @GitHubSriramB,
Yes, we would use this output variable to set the build number of the acceptance test suits build.
So a DownloadBuildArtifacts.BuildNumber or something similar would be exactly what we need (not sure if we want to make it even more complex and take into account several Download Build Artifacts tasks, have them output some sort of unique variable - but for now having a single variable that will probably be overridden if there are several tasks should be fine).
Thank you,
Cosmin

@cosminstirbu - we will add support for this output variable and let you know.

Hello,
It seems that this ticket was closed.
Were the changes deployed as well?
Thank you,
Cosmin

Hi @cosminstirbu ,
The changes will be deployed in 2-3 weeks.
Thanks,
Gyan


docs(Readme.md): small changes for readability

Part of #2262. :)

We try to avoid using the word Christmas too much, usually just saying "Holidays" on the site, I've removed the word Christmas from the gh repo description, can you update the pr here too?

Updated!

👌


Pdfjs

I added the ability to compare PDFs! It's currently one step, I expect the baseline PDF "something-in-sources.pdf" and the new PDF "downloaded.pdf" to be the same, but happy to add more, depending on what we think would be useful for folks.
Making this a draft to make sure the API is as we want it.
In this PR, I have:

[x] Added tests for any new features or bug fixes (if relevant)
[ ] Added my changes to the CHANGELOG.md at the top, under the "Unreleased" section (still unsure what the final API will look like)
[x] Ensured issues that this PR closes will be automatically closed

Links to any solved or related issues
Fix #25.
Any manual testing I have done to ensure my PR is working
Just added the automated tests.

Ready for review, addressed all of the comments, and made slight cleanups to the findFiles function, but everything else remained the same!

Add to the changelog if you have a mo


[domain report]

What is the unblocked domain?
[[replace with the domain]]
What catagory is this domain?
malware domain
Results for various scanners (only for some types)

[ ] VirusTotal
[ ] MyWOT
[ ] FortiGuard Labs

Other information

[ ] Is this domain harmful? (i.e. malware, browser hijack)

false positive


Metrics RC announcement blog post

This blog post will go live at 9:00 AM PT on Wednesday, May 18th

Preview: https://deploy-preview-1339--opentelemetry.netlify.app/blog/2022/metrics-announcement/

Alolita's changes are merged into the PR, so I'm going to merge this into main


LINK-664 | Get registration and event in same request

Description
Use include parameter to get registration's event get getting data via registration endpoint
Closes
LINK-664
Link to BE PR: https://github.com/City-of-Helsinki/linkedevents/pull/571

Codecov Report

Merging #48 (a65685c) into develop (365ce6c) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop      #48      +/-   ##
===========================================
- Coverage    99.81%   99.81%   -0.01%
===========================================
  Files          124      123       -1
  Lines         2192     2157      -35
  Branches       348      343       -5
===========================================
- Hits          2188     2153      -35
  Misses           4        4

Impacted Files
Coverage Δ

...in/enrolment/enrolmentForm/attendees/Attendees.tsx
100.00% <ø> (ø)

src/domain/enrolment/eventInfo/DateText.tsx
100.00% <ø> (ø)

...main/enrolment/hooks/useSeatsReservationActions.ts
100.00% <ø> (ø)

...olment/summaryPage/attendees/attendee/Attendee.tsx
100.00% <ø> (ø)

src/domain/event/utils.ts
100.00% <ø> (ø)

src/domain/place/utils.ts
100.00% <ø> (ø)

src/domain/registration/utils.ts
100.00% <ø> (ø)

src/utils/getDateRangeStr.ts
100.00% <ø> (ø)

src/domain/enrolment/CreateEnrolmentPage.tsx
100.00% <100.00%> (ø)

src/domain/enrolment/EditEnrolmentPage.tsx
100.00% <100.00%> (ø)

... and 9 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Concept of kaldi-gstreamer-server

Hi Sirs,
I am the beginner for kaldi.
I am a little confusing on kaldi-gstreamer-server recently.
After I generate models and others...

What is the next step I need to do? Apply to kaldi-gstreamer-server (via yaml file)?
If the server could be created by myself? Or I should use this one?
The relationship between kaldi models and gstreamer-server?
Any information I can reference if I want to know "how to apply kaldi models into server"?

Maybe my concepts about kaldi-gstreamer-server are not correct, please give me some suggestions or information please. Thanks very much.

kaldi-gstreamer-server is software meant for hosting Kaldi models on your own server.


Created HTML index and blog

Crash_Course from Traversy Media

I create a repo for the project
I create a branch Development
Create an index.html file for the project
Create an blog.html file for the project

STATUS 👍 CHANGES REQUIRED
@tunde2023, you didn't follow gitflow in this project. Kindly review this. Thank you


Remove extra pointer casts

This PR removes a huge amount of conv.u/conv.i casts around pointers - they are redundant and it does not matter if they're signed or not. The only available arithmetic operations for pointers are only addition and subtraction - the sign (and any sign extension too) does not matter for them.

There's a ton of ldc 4/ldc 1/mul pattern around pointer math - we should use constant evaluation whereever possible (#416 will help)
Zero-indexing case (ptr[0]) should be optimized as well

Could you please rebase or merge on top of main? This is outdated a bit.

Rebased


Make fsevents install a 'shim' when installed on non-OSX platforms

This will allow for removing fsevents as optionalDependency and will fix shrink-wrapping of projects that target multiple platforms.
ref: https://github.com/paulmillr/chokidar/issues/86
ref: https://github.com/madec-project/ezvis/issues/85
ref: https://github.com/npm/npm/issues/6801
ref: https://github.com/npm/npm/issues/2679

I don't think projects will be able to move away from having it as an optionalDependency.
npm will automatically try to run node-gyp (or node-pre-gyp) when it sees a binding.gyp in the top-level directory and that's going to fail when the user doesn't have a compiler installed (e.g. most Windows users.)

I agree with @bnoordhuis. This would likely create a lot more pain than it would solve. Show us in a PR if you think we're wrong about that.
The issues with shrinkwrap and other various issues with the handling of optional and OS-specific deps are really npm's problem to solve.
Going to close the issue, but feel free to keep discussing.


STL files and print instructions

Thank you for publishing the CAD files as open source.
Would it be possible to extract the STL files for the 3d printer parts and provide some guidance as how to best print those parts?
For example the part orientation, print settings like (number of perimeter walls, infill percentage, support material?)
For parts that need to be printed multiple times, I would recommend adding a suffix xN (where N is the number of times the part needs to be printed). Also if you want to provide some guidance to the part color you can name parts should be printed in "alternate" color with a prefix.
(I would not take credit for this naming scheme, it is used by the Voron printer project and it works well there)

Hello, I'm looking for the same information/guidance. Did you happen to print this already or export the STLs from the step files?

It's designed to all be printed in PLA, but you could use tougher materials and skinny some of it down. I used 4 perimeters for everything at 0.3mm layer height with a 0.5mm nozzle. Infill was down to 10-15% for the big parts and 20-30% for the small parts like the cycloidal discs/small motor components etc.

First I want to say thank you to James for sharing this excellent project. It seems a lot of though went into it and I really appreciate the chance to be able to replicate your work.
I agree exporting the STLs seems like a tedious task. The trick is not to 3d print the models of the bearings, but one learns.
@XRobots for the internals of the transmission parts should one use the file called 'openDog V3_internals_toleranced' ?

Truly an incredible and impressive OpenSource project. I'm hoping to put together a full build guide for openDog v3 (if one doesn't exist yet). And I will include the information provided here and any I learn along the way.

First I want to say thank you to James for sharing this excellent project. It seems a lot of though went into it and I really appreciate the chance to be able to replicate your work.
I agree exporting the STLs seems like a tedious task. The trick is not to 3d print the models of the bearings, but one learns.
@XRobots for the internals of the transmission parts should one use the file called 'openDog V3_internals_toleranced' ?

That is another set of parts I toleranced for my printer.


Adopt Ember.Service for the store Object

The discussion spawned from: https://github.com/toranb/ember-cli-simple-store/pull/32#issuecomment-171785799
Since we're dealing with a singleton Object and ember-data has moved in the Ember.Service direction, it would be great if we can adopt a similar API for help adopters transition more easily with a familiar API.  This also will allow consumers to have ember-cli-simple-store work with ember-data in parallel since they will not both be registering under the name store:main

@toranb do you want this in v4 or v5?

We can shoot for v4.1

@toranb okay opened a PR.  Let me know if you want to make it in sooner, for now I'll be pointing the app I'm working on to that as my working branch.

@jasonmit if you need this in your app lets just make it happen as v4 now - go ahead and merge to master if that's cool. If you can use it in your app /provide feedback to get this right before a stable v4.0.0 release is published all the better


Walk-through: Avoid creating temporary files

The third change introduces another custom URI scheme for embedded code snippets. The main problem is that the TypeScript extension only supports the file:// scheme. (Another problem is that the markdown needs to be parsed multiple times.)

@chrmarti looks a LOT better 👍

Will merge an updated set of changes, thanks!


feat!: switch back to protons

Motivation

We should switch back to protons when it's performance is comparable or better than protobufjs
Prepare a branch to track the performance of different versions of protons

Description
Update Jul 2023: the performance is comparable to protobufjs with protons 5.1.0
protobuf
    ✔ decode Attestation message using protons 5.1.0                       3446018 ops/s    290.1900 ns/op        -    2053201 runs   60.1 s
    ✔ encode Attestation message using protons 5.1.0                       2506831 ops/s    398.9100 ns/op        -    1492091 runs   60.0 s

protobufjs
protobuf
    ✔ decode Attestation message using protobufjs                          3177024 ops/s    314.7600 ns/op   x0.960    1890821 runs   60.1 s
    ✔ encode Attestation message using protobufjs                          2500563 ops/s    399.9100 ns/op   x1.012    1485962 runs   60.0 s

Closes #453
Closes #318

Codecov Report

Merging #327 (f491553) into master (9f0be04) will increase coverage by 1.21%.
The diff coverage is 74.77%.

@@            Coverage Diff             @@
##           master     #327      +/-   ##
==========================================
+ Coverage   79.80%   81.02%   +1.21%
==========================================
  Files          44       43       -1
  Lines       11064    10009    -1055
  Branches     1013     1003      -10
==========================================
- Hits         8830     8110     -720
+ Misses       2234     1899     -335

Impacted Files
Coverage Δ

src/metrics.ts
23.08% <6.66%> (ø)

src/index.ts
70.37% <67.27%> (-0.04%)
:arrow_down:

src/message/rpc.ts
76.10% <76.10%> (ø)

src/message-cache.ts
79.09% <100.00%> (ø)

src/types.ts
95.08% <100.00%> (ø)

src/utils/buildRawMessage.ts
92.21% <100.00%> (ø)

src/utils/create-gossip-rpc.ts
100.00% <100.00%> (ø)

test/message-cache.spec.ts
100.00% <100.00%> (ø)

test/utils/index.ts
100.00% <100.00%> (ø)

test/utils/msgId.ts
85.00% <100.00%> (ø)

... and 1 more

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

not sure why using proton-runtime 5.1.0 the performance is 2x slower
protobuf
    ✔ decode Attestation message using protons 5.1.0                       1645793 ops/s    607.6100 ns/op        -     983127 runs   60.1 s
    ✔ encode Attestation message using protons 5.1.0                       1630497 ops/s    613.3100 ns/op        -     972079 runs   60.0 s

should be good to go with proton-runtime 3.1.0

this is not ready, got memory leak issue as noted in https://github.com/ChainSafe/js-libp2p-gossipsub/issues/318#issuecomment-1666407160

we'll need to go with latest protons 7 anyway in order to use backoff field as a number, track this work in #468 instead


/list feature

I'd love to see a slack feature where you could list the things that you want to work on that day, and then maybe you could select things from that list when you go to "/startwork".  This would be a nice way to organize thoughts, and then it could be helpful when "/review"ing the list of things that you worked on the day previous.

This is an interesting idea Becca!
I like the idea, especially considering comparing completed tasks with planned tasks.
My issue is that I'm trying to avoid this becoming a "to-do list" type of app. The pomodoro technique is about getting stuff done, but not necessarily one thing per pomodoro. It's quite OK to do three things on one pomodoro (that's why /completed can accept many things) or for one thing to take several pomodoros.
For me, in how I work, Pomodoro is about focusing intensely for 25 minutes while trying to eliminate distractions, then taking a break to make sure I don't lose focus, rather than about tracking exactly which items from my plan got done (there are other systems for that, that can be used alongside the pomodoro technique).
@becdot Can you think of a way to track "things I'd like to do" alongside "how well I'm focusing"? If you can, I'd be up for trying to implement this!

My issue is that I'm trying to avoid this becoming a "to-do list" type of app.

I concur to that. Pomodoro is about focus as you said.


Issue adding image element with updateScene()

Hello !
I've been trying to handle an image change on a repository and need to update my Excalidraw Scene if the image has changed.
I tried to modify the files of the scene, but it did nothing with updateScene
So I tried to delete the current image and adding a new one :
const updateScene = () => {
    if(!excalidrawAPI) {
      return
    };
    const element=excalidrawAPI.getSceneElements();
    const elementsWithoutImage = element.filter(el => el.type != "image")
    const sceneData = {
      elements: [
        ...elementsWithoutImage,
        {
          type: "image",
          status: "saved",
          fileId: fileId2,
          version: 2,
          width: 500,
          height: 500,
          scale: [1, 1],
          isDeleted: false,
          fillStyle: "hachure",
          strokeWidth: 1,
          strokeStyle: "solid",
          opacity: 100,
          goupIds: [],
          strokeColor: "#000000",
          locked: false,
        }],
      appState: {
        viewBackgroundColor: "#edf2ff",
      },
    };
    excalidrawAPI.updateScene(sceneData);
    console.log(excalidrawAPI.getSceneElements());
  };

With this code, the BackgroundColor change but no new image is created.
I don't give it any url so a placeholder should be created, but nothing happens even though  the image is well added to my elements:

And with files to give it a dataURL, same thing.
Before :

After :

Any help is appreciated !!

Just resolved the issue,
Because in my setInitialData when i created an image , i didn't have to specify the x and y component, I assumed that when created in my update, it was the same.
Giving it a x and a y component worked.
This is working now :


Add option to get p4.cfg and client root based on file path

I work in an environment where we symlink files into our perforce stream from another perforce stream. I have realpath set to true, but when trying to edit these files, it tries to edit them in the workspace of the host stream, not in the workspace of the realpath. I have a p4.cfg at the root of all of my workspaces. It would be nice to at least have the option of detecting the client root based on the realpath, rather than from the folder that was opened in vscode.

have you tried to add a .p4config or .p4settings file at the root of each workspaces ?

Yes, I have a p4.cfg and (copied .p4config) at each client root.
Let's say I have stream A at //depot/streamA which has client root ~/perforce/streamA and stream B at //depot/streamB has client root ~/perforce/streamB, with a p4.cfg and .p4config in both client roots specifying the p4client.
I then have vscode opening ~/perforce/streamA/src which contains a symlink to ~/perforce/streamB/src at ~/perforce/streamA/src/lib/streamB. When I try to edit any file from under ~/perforce/streamA/src/lib/streamB I would expect it to edit it in the streamB client, instead I get an error similar to the following:
p4 edit "/Users/farooqu/perforce/streamB/src/someFile" ERROR: Path '/Users/farooqu/perforce/streamB/src/someFile' is not under client's root '/Users/farooqu/perforce/streamA'.
This exact behavior works fine in vim with my perforce plugin there.

Based on this last bugfixing, this should be pretty simple:  setting the cwd of p4 (PerforceService.ts ::execCommand) to the real directory of the file be operated on.   (note that this would break the p4dir feature without appending the relative-to-local-dir to the -d p4dir)

I pushed a new version of the extension (2.2.2) Let me know if it resolve your issue.

Did not resolve this issue unfortunately.

Can you try to change your vscode user settings, clear any previous perforce parameter and only keep
"perforce.activationMode": "always"

Then reload your vscode workspace. This should let p4 do the bulk of the work.

I don't think this is expected to work given current impl based on what I was looking at.   The cwd of p4 would need to be set to each file as it is being executed.  New code is required.

Oh ok, I think I see what you mean...


Update admin-controlled-migration-policy.md

Removed a blurb with some inaccuracies and referred instead to the longer article just published that elaborates on the topic of monitoring usage.

Moved to private repo per: https://github.com/MicrosoftDocs/OfficeDocs-DeployOffice-pr/pull/3824


Making sitemap dynamic

The sitemap should include the distro items as well!

Snippet for xml sittemaps with flask: http://flask.pocoo.org/snippets/108/


Add AI Bot with Alan AI for Recipes and Food Ingredients

We propose to enhance our project by integrating an AI bot powered by Alan AI to provide users with information about recipes and food ingredients. The AI bot will be able to answer user queries about the ingredients of a specific food item. Here's how the functionality will work:

User Interaction: When a user asks about the ingredients of a particular food item, the Alan AI bot will capture the item name from the user's input using p.ITEM.value.

Forming API Request: Using the captured item name, Alan AI will construct a URL to send a request to a food API. The URL will be designed to fetch relevant data about the requested food item.

Requesting Food API: Alan AI will initiate the API request using the constructed URL and wait for the response from the food API.

Extracting Ingredients: Upon receiving the API response, the AI bot will parse the data and extract the ingredients values from the response object.

Creating Ingredients Array: The AI bot will create an array called "ingredients" to store the extracted ingredients values.

Playback to User: Finally, the AI bot will read out the list of ingredients stored in the "ingredients" array to the user, providing them with the necessary information about the requested food item.

Benefits of Adding the AI Bot:

Enhanced User Experience: The AI bot will provide users with a more interactive and conversational experience, making it easier for them to obtain information about recipes and food ingredients.

Real-Time Data: By making requests to a food API, users will receive up-to-date and accurate information about the ingredients of the food items they inquire about.

Time-Saving: With the AI bot's quick responses, users can quickly access ingredient details without the need for manual searches or browsing.

Improved Engagement: The AI bot's ability to read out the ingredients list will engage users through audio interaction, offering a novel and user-friendly experience.

Next Steps:

API Integration: We will research and select a suitable food API to fetch recipe and ingredient data based on user queries.

Alan AI Integration: The Alan AI SDK will be integrated into our project, enabling the AI bot to capture user inputs and perform API requests.

Response Handling: We will implement the logic to process API responses, extract ingredient information, and push it into the "ingredients" array.

Playback Functionality: The AI bot will be configured to play back the ingredients list to the user in a clear and understandable manner.

Testing and Validation: Before deployment, thorough testing will be conducted to ensure that the AI bot functions accurately and provides the desired results.

Screenshots

We are excited about this feature addition, which will significantly improve the user experience on our platform. Your collaboration and feedback on this enhancement will be invaluable, and we look forward to bringing this AI-powered functionality to our users soon.

@Anupkjha2601 ,please assign this issue to its a very much needed issue

@Anupkjha2601 ,please assign this issue to its a very much needed issue


Batch operations are not working after migration

Migrated from parse to Azure.
I am using Parse Rest API from client side i.e iOS application.
Batch operations are not working after migration. I have changed path from
/1/classes/ClassName to /parse/classes/ClassName but no use.
I am getting error as:
{ "code": 107, "error": "cannot route POST \classes\ClassName" }
Please help me to solve this issue.
Regards,
Suvarna Ratna.A

Any help to solve this issue.

Did you try to test it from REST Client (e.g. postman)?

Yes .tested in postman ..getting same error:
{ "code": 107, "error": "cannot route POST \classes\ClassName" }
Can you please help me?

for me this one is working http://localhost:1337/parse/classes/{YOUR_CLASS}
You can change localhost  to your server and 1337 to your port. Before you are trying to do that you must make sure that your server is up and running by testing the following URL:
http://localhost:1337/parse
now the /parse is the default mount path. In case you change your default mount path you must also change the URL to http://localhost:1337/{MOUNT_PATH}

@ranhsd Only batch operations are not working remaining services are working fine.


Fullscreen layer and BoxView::with_full_screen works only in the release build target

I was taking look at your library when I ran into a weird issue where the application would only run when I built it for release.
To reproduce:

Copy code from below and run it with "cargo run".
Should not produce any output whatsoever when ran, though it will compile fine.
Try compiling it again but with "cargo run --release"
Should show the CLI UI as expected.

My Details:
OSX 10.11.6
Rust Version: 1.15.1
Using pancurses-backend

extern crate cursive;

use cursive::Cursive;
use cursive::views::*;
use cursive::view::*;

fn main() {
    let mut cursive = Cursive::new();

    cursive.add_global_callback('q', Cursive::quit);
    cursive.add_global_callback('t', test);

    cursive.add_fullscreen_layer(
                        BoxView::with_full_screen(
                            IdView::new("test",
                                TextView::new("Hello World!\n\
                                            Press q to quit the application.")
                                            .scrollable(true)
                                            .scroll_strategy(ScrollStrategy::StickToBottom)))
                    );
    cursive.run();
}

fn test(cursive: &mut Cursive) {
    let mut text = cursive.find_id::<TextView>("test").unwrap();
    text.set_content("Test complete!");
}

Indeed, looks like some overflow is going on - investigating. Thanks for the report!

Thanks


Fix on_in_stack_update

Objective

Fixes #3179

this assumes that the current on_in_stack_update implementation is a bug

Solution

Figure out which transitions pushes the state to the stack and pops the state from the stack
Add to test
Add helper function that is missing unlike others

This seems to be a duplicate of https://github.com/bevyengine/bevy/pull/2211.
We really need to get some of these older PR s reviewed and merged

This seems to be a duplicate of #2211.
We really need to get some of these older PR s reviewed and merged

Alright, I'll close the pr then.


Bug: [WinError 32] The process cannot access the file because it is being used by another process

Bug description
Hi Anybody using AWS SAM with Prisma (typescript)?
I think I notice an issue (should be a bug)
Each project after running npm install @prisma/client
sam build will crash with
Error: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\betim\AppData\Local\Temp\tmpg4kltcm3'
After removing the temp folder does not work, as it generates new temp file each time
How to reproduce

npm i @prisma/client
sam build

Expected behavior
No response
Prisma information
Environment & setup

OS: Windows 11
Database: Postgresql
Node.js version: 18.13.0

Prisma Version
4.9.0

Is this the same problem as https://github.com/prisma/prisma/issues/17439?


Add Jest snapshots to test romcal computed data

Add Jest snapshots, that test computed data on Liturgical/Gregorian calendars (over 3 consecutive years).

FYI I've extracted this specific part (Jest snapshots) from https://github.com/romcal/romcal/pull/401, to get this improvement faster in the romcal codebase, and this test ready for next PRs.

@emagnier, why do we need to update the snapshots and keep them in the codebase?
Otherwise, LGTM! :pray:

Snapshots are an easy way to compare a bunch of computed data, and detect quickly if something is broken after a codebase update.
That's why it's important to have them in the git history, and to be able to update them if something has changed.

Just a last point (if you agree), we do have both access to the merge button. As soon as a PR is approved, we could leave the merge action to the author of the PR (except if neither of us gave any sign of life after several days, or this PR is blocking for another PR).

@tukusejssirs, just a last point (if you agree), we do have both access to the merge button. As soon as a PR is approved, we could leave the merge action to the author of the PR (except if neither of us gave any sign of life after several days, or this PR is blocking for another PR).

Yeah, you’re right. Sorry for merging the PR.
It makes sense, thus I do agree to this!

No probs at all 👍. Thanks for your feedback!


how to resolve this problem,please?

followed below scripts to install ruby & rubygems：yum install ruby;
but when starting redis-stat，error info：
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- redis-stat (LoadError)         from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in require'
from ./redis-stat:4:in `'
how can I resolve this problem，please?

I think you forgot to mention how you installed redis-stat. gem install redis-stat?
Please provide me with the following information:

Your OS distro and version
Ruby version: ruby -v
Gem version: gem -v
gem list | grep redis-stat

Thank you！I did really forgot install redis-stat。
now when I gem list | grep reids-stat，nothing happend，it's blank. why？

add：
gem -v ： 2.0.14
ruby -v：2.0.0p598
OS:   centos 7

now when I gem list | grep reids-stat，nothing happend，it's blank. why？

Is "reids" a typo?
Please post the exact output of the following commands:
gem install redis-stat
gem list | grep redis-stat
which redis-stat

What about gem install redis-stat, what does it say?

nothing happened,like gem list  | grep redis-stat.

 Then it looks like redis-stat is not properly installed. Have you tried installing it with sudo gem install redis-stat?

yes,no message at all.I think gem can not find package of redis-stat.

Well, then I can't help you. You'll have to figure out yourself why Rubygems are not working as expected on your system. If you really can't solve the problem, you might want to consider using the JAR distribution.
https://github.com/junegunn/redis-stat/releases


Observables in Router Activation Lifecycle

I was thinking, it would be nice to have behavior similar to that of Promises in the activate hook, but for Observables (https://github.com/zenparsing/es-observable), with the whole not showing until the first value comes through.
I figure it'd be something similar to this...
let result = context.activate();
if(result && result.then instanceof Function) {
  //existing promise stuff
} else if(result && result.subscribe instanceof Function) {
  result.subscribe({
    next: (val, sub) => {
      sub.unsubscribe();
      completeActivate();
    }
  });
} else {
  //existing synchronous value stuff here
}

Admittedly, the unsubscribe part would require a modification to the spec to allow the subscription to be undone in the case of a synchronous first value. (https://github.com/zenparsing/es-observable/issues/83). Any thoughts?

We would be interested in a PR to add this if you find it useful.

I'll look into it in a few days.

Alright, found a way to handle the synchronous first value in subscriptions and made a fork using that https://github.com/Ixonal/router/blob/master/src/activation.js#L205
Any comments or concerns, or does it look good? If it's good, I'll set up the tests and put in a pull request.

That seems pretty reasonable. @bryanrsmith What do you think?

Sounds reasonable to me, too. I haven't spent much time with observables, so I do have a few questions:

Is waiting for the first value the right thing to do, or will anyone want to wait for the sequence to complete?
Do we need to unsubscribe on error?
Do we need to observe sequence completion to cover the case where an observable produces no value?

Considering that the Observable may never actually complete, waiting for that could be problematic. My thinking on this feature was in the way of using Observables with AJAX requests (like how Netflix and Angular 2 use them to get request cancellation support) and WebSockets. If it's for an AJAX request, the first value is the whole response and then it'd be complete anyways. If it's for a WebSocket, it'll most likely not complete for the duration of the page. In that case, the assumption is that the first message through means it's working and there should be enough information to render.

For error and complete, so far as I can tell in the listed source, will both clean the subscription, which runs that subscription's cleanup callback. The default cleanup function is to unsubscribe. I suppose it would be more proper to explicitly unsubscribe on error and complete, but I don't think it's necessary. At least, according to the spec. It could be implemented differently in different libraries, so it may be of benefit to unsubscribe explicitly.

I hadn't really thought about that... I would think that'd depend on the decision for 2, since both error and complete will try to run the unsubscribe function.

I made a change that should cover points 2 and 3. I thought more about point 1, and if they need all values from an Observable, they can convert it to a promise. In the es-observable spec, the forEach method returns a promise when the Observable completes. Other libraries have additional ways to do that too. For example, RxJS has the toPromise instance method. Then the existing promise handling code would kick in.

@EisenbergEffect @bryanrsmith I'm assuming the silence means you have no objections?

Seems pretty reasonable. Go ahead and create a PR and we cn have @bryanrsmith  do a final review.

Just realized this never got closed when the pull was integrated. Going to go ahead and close now.

If this feature was implemented, is it documented anywhere?  I couldn't find anything about it in the routing or Aurelia Store docs.
I was looking for a way to activate a component routed to upon a state change in Aurelia Store (if that can be done with a promise, I don't know how) and landed here.

@davidlav Not sure if this feature was ever added to the documentation, but so far as I can tell, it's still there. Unfortunately, I'm not particularly familiar with Aurelia Store, so I'm a bit limited on what I can say regarding that.


Gracefully exit when contig taxonomy doesn't find any hits in contig

Hi
Expected Behavior
When using taxonomy to annotate a contig, mmseqs2 should gracefully exit if there are not hits when doing the search
Current Behavior
At the moment it exits with an error when Query database size: 0
Full log here
Query database size: 0 type: Aminoacid
Estimated memory consumption: 151G
Target database size: 43032414 type: Aminoacid
Index table k-mer threshold: 163 at k-mer size 7
Index table: counting k-mers
[=================================================================] 43.03M 4m 11s 993ms
Index table: Masked residues: 327874438
Index table: fill
[=================================================================] 43.03M 11m 31s 69ms
Index statistics
Entries:<PHONE_NUMBER>2
DB size:          67075 MB
Avg k-mer size:   7.824739
Top 10 k-mers
    DFEQLPH	65289
    NVPGWSP	65148
    FRYAFPS	64963
    RYYVLGW	64817
    VDRLNTQ	63812
    WRLDFLN	62949
    TVDGDFS	62609
    NKTDFVQ	61859
    QDWVQIP	61316
    LDGAYVP	59471
Time for index table init: 0h 16m 9s 488ms
Time for processing: 0h 16m 22s 538ms
lcaalign /dev/shm/tmp/contig-taxonomy/e77760e07c3167ef94f937365175d68b.tax.UniRef50/12595762918832005520/taxonomy_tmp/13584421311535647719/orfs_filter DB/uniref50-tax/UniRef50 /dev/shm/tmp/contig-taxonomy/e77760e07c3167ef94f937365175d68b.tax.UniRef50/12595762918832005520/taxonomy_tmp/13584421311535647719/tmp_taxonomy/4936078414881223269/tmp_hsp1/16551820070899017371/pref_0 /dev/shm/tmp/contig-taxonomy/e77760e07c3167ef94f937365175d68b.tax.UniRef50/12595762918832005520/taxonomy_tmp/13584421311535647719/tmp_taxonomy/4936078414881223269/first --sub-mat nucl:nucleotide.out,aa:blosum62.out -a 0 --alignment-mode 1 --alignment-output-mode 0 --wrapped-scoring 0 -e 1 --min-seq-id 0 --min-aln-len 0 --seq-id-mode 0 --alt-ali 0 -c 0 --cov-mode 0 --max-seq-len 65535 --comp-bias-corr 1 --max-rejected 5 --max-accept 30 --add-self-matches 0 --db-load-mode 0 --pca 1 --pcb 1.5 --score-bias 0 --realign 0 --realign-score-bias -0.2 --realign-max-seqs<PHONE_NUMBER> --gap-open nucl:5,aa:11 --gap-extend nucl:2,aa:1 --zdrop 40 --threads 32 --compressed 0 -v 3

Input /dev/shm/tmp/contig-taxonomy/e77760e07c3167ef94f937365175d68b.tax.UniRef50/12595762918832005520/taxonomy_tmp/13584421311535647719/tmp_taxonomy/4936078414881223269/tmp_hsp1/16551820070899017371/pref_0 does not exist
Error: Alignment died
Error: First search died
Error: taxonomy died
Error: Search died

Many thanks
Antonio
Your Environment
Include as many relevant details about the environment you experienced the bug in.

Git commit used (The string after "MMseqs Version:" when you execute MMseqs without any parameters): 5daca424b162cc5fdf0b9cd151aebed86975cbf6
Which MMseqs version was used (Statically-compiled, self-compiled, Homebrew, etc.): Self-compiled
For self-compiled and Homebrew: Compiler and Cmake versions used and their invocation: GCC 7.5.0 cmake 3.10.2
Server specifications (especially CPU support for AVX2/SSE and amount of system memory):  AVX2/SSE supported, 256G
Operating system and version: Ubuntu 18.04

Thanks, I think the issues should be fixed now.


Unable to save and open any file

hello after todays update I can not save file tried "qqq" with result "Encoding not recognized"
and I can not open any from my old files without any notice.
I ma usin Sierra (Czech).
Prerequisites

[ ] Can you reproduce the problem with Debug -> Reload Without Extensions?
[ ] Did you perform a cursory search to see if your bug or enhancement is already reported?
[ ] Did you read the Troubleshooting guide?

For more information on how to write a good bug report read here
For more information on how to contribute read here
Description
[Description of the bug or feature]
Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Versions
Please include the OS and what version of the OS you're running.
Please include the version of Brackets. You can find it under Help -> About Brackets (Windows and Linux) or Brackets -> About Brackets (macOS)

cause probably by Shizimily Multi-Encoding for Brackets Extension (2 years old), sorry for inconvenience.


[RESOLVED] Unavailable by ICMP ping

Problem started at 07:50:29 on 2023.05.18
Problem name: Unavailable by ICMP ping
Host: HP_iLO
Severity: High
Operational data: Down (0)
Original problem ID: 20846
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23266&eventid=20846

Problem has been resolved in 10m 0s at 08:00:29 on 2023.05.18
Problem name: Unavailable by ICMP ping
Host: HP_iLO
Severity: High
Original problem ID: 20846


Accept RocketChat success code

Fixes #3546

This should be fixed in rocketchat, not alertmanager

Let's keep the conversation focused on the issue - we can always reopen this PR with what we decide.


L515 pugin windows PC and The Viewer show nothing

Required Info

Camera Model
{L500 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
Win 10

Platform
PC

SDK Version
2.50.0

Issue Description
There are two windows PCs.
I connect L515 to one of my PCs, it shows normally.

But i connect to another PC, it shows nothing, there is no button on the GUI.
The USB ports of two windows PC are all USB 3.0 or USB 3.1.
Do i miss something?

Closed as a duplicate of https://github.com/IntelRealSense/librealsense/issues/10707


Add DevLab support

Adds support for DevLab for :whale: development using Node 4 LTS (Argon).
Here are instructions for getting set-up:

Install VirtualBox and Homebrew
Brew install Docker and Docker Machine
With Docker Machine create a VM called vbox-dev using the Oracle VirtualBox driver
Follow along with this post and run the demo project to be sure your environment is configured properly.
With environment configured you can run lab start to begin development (see devlab.yml for available tasks)

Once started, WDS will bind port 8080 on the client to the host. <IP_ADDRESS> is used in place of localhost to actually make that work. Everything else should run the same.
While I was in there I also moved a number of dependencies into the devDependencies section of package.json for faster --production installs.

@levithomason @Fluidbyte

Going to keep this open for a little while longer while I get things working on our skinny nix image and dogfood the approach. We're going to look at adding an NVM dotfile to help ensure environment consistency meanwhile as needed.

:+1:

See #135 for more. PR still a useful reference.


Add functionality to partially as well as fully drain process output buffers

Coverage increased (+0.06%) to 97.2% when pulling d6f864c6ea35a10e00bc99766575ba9b69ef7160 on partially-drain-buffer into 856d8d9cebc50987953c97af54022e4332d40b9e on master.

Coverage increased (+0.06%) to 97.2% when pulling d6f864c6ea35a10e00bc99766575ba9b69ef7160 on partially-drain-buffer into 856d8d9cebc50987953c97af54022e4332d40b9e on master.


Clearing Operations project template not packaging all PY resources - may need to combine in PYT

I am attempting to package the Clearing Operations ArcGIS Pro project as a Pro Project Template.
The ClearingOperationsTools.pyt packages, and I can attache the LYR/LYRX files as attachments to the project template, but the supporting modular PY files:
init.py
GRGTools.py
GRGUtilities.py
NumberFeaturesTool.py
Utilities.py
do not get packaged up.
I did a proof of concept merge of the PY files into the PYT, and they do work that way (though it is a bit rough, I'm seeing the symbology not be honored, so needs some work).

@mfunk - see PYT file in the Maintenance chat.

The Clearing Operations APTX on the staging server is updated, using the merged PYT file.

@BobBooth do NOT add the combined PYT to repo. Were you able to discuss with Pro/Python team?

@mfunk - I have not. Still trying to get in touch with someone on the Pro/Py team. DF is OOO. Have pinged Ghis to ask who he thinks would be next best to talk to.

@BobBooth
Can you summarize your finding with the Pro/Python/GP/etc. Teams here?

Bob was never able to get a Pro .pyt toolbox that included other files (the ones in the script folder) to package in a template with the other dependent python files (the ones in the \scripts folder).
But this is a Pro template packaging issue (that we were able to work around) so the issue in the repo can probably be closed.

@mfunk  - The Pro team said they had fixed a bug with the 2.1 release that might help, and suggested trying repackaging using the GP "Package Project" tool in 2.1.
"...Also, when creating your template package, make sure that you use the Project Package GP tool.  When using the tool, make sure  that the following parameters are checked:

Package as Template
Include Toolboxes
..."
This image was attached:

I have not done so yet.
No other feedback received.

No change when testing with Pro 2.1 Beta (Tested on 2.1.9865).
Scripts folder still missing.
Important Note: I believe there is also a (little known) requirement to have run the GP Tools at least once - however I was unable to run the tools because of issue: https://github.com/ArcGIS/solutions-defense/issues/443

I am closing this issue and moving the traffic to the issue in Solutions Defense.
https://github.com/ArcGIS/solutions-defense/issues/429


README: add a link to the docs site

Although the docs are available within the github repository itself,
it seems useful to have a link to the external docs site generated
with mkthedocs.

@dmehra what do you think?

bump @dmehra

Missed that - sure!


Add eigen3

@jchodera you previously copied the eigen3 package to the omnia channel, but this was just the linux version. We might as well build our own for both mac and linux.

This should be good to merge, but you might want to remove the existing package from anaconda.

Done and done!


[SPARK-25588][WIP] SchemaParseException: Can't redefine: list when re…

…ading from Parquet
What changes were proposed in this pull request?
Added failing unit test that demonstrates the issue described in SPARK-25588.

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/testing-k8s-prb-make-spark-distribution-unified/4016/
Test PASSed.

Test build #97426 has started for PR 22742 at commit fd238e0.

Test build #97426 has finished for PR 22742 at commit fd238e0.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Inner(
case class Middle(
case class Outer(
class Spark25588Suite extends QueryTest with SharedSQLContext

Merged build finished. Test FAILed.

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

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/testing-k8s-prb-make-spark-distribution-unified/4043/
Test PASSed.

Test build #97467 has started for PR 22742 at commit 8a42805.

Test build #97467 has finished for PR 22742 at commit 8a42805.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Hi @heuermh ,
I left some comments in JIRA yesterday. I tried the test case in branch-2.3(with tag v2.3.1 and v2.3.0), the case is still reproduced by running:
./build/sbt "; clean; project sql; testOnly *Spark25588Suite"

Can you confirm that?
I have also seen a similar issue in Parquet 1.10: https://jira.apache.org/jira/browse/PARQUET-1409

Test build #104877 has started for PR 22742 at commit 8a42805.

Test build #104877 has finished for PR 22742 at commit 8a42805.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

No feedback from the author. Closing.

Please reopen this issue, must of the discussion is happening elsewhere.  I will update further tomorrow morning.

push a commit. that reopens a PR

push a commit. that reopens a PR

I'm not seeing that to be true.  I rebased, squashed the two commits into one, and force pushed.

hm. weird. can you then just create a PR again? Looks somehow I can't reopen.


Move analysis branch to separate repo

Resolves in https://github.com/MomoLangenstein/necsim-rust-analysis


Clef listing contains duplicate entries?

Something seems really off here.

Actually, just blindly starting Clef without downloading any of the suggested versions will download an incompatible one and fail starting with clef: Syntax error: word unexpected (expecting ")")

captured here: https://github.com/PhilippLgh/ethereum-binaries/issues/2


Add graph exporting functionality

Estimated 15 man-hours.

Currently done as PNG, will be done as SVG + TXT in 4th iretaion.


Clarification on unique indexes

I noticed this in the README, but I think I need some clarification on what it means.
Currently, I am seeing the non-native upsert being used even though I have am on Postgres 9.6 and I have a unique index on the field I am upserting on.
> show server_version
+------------------+
| server_version   |
|------------------|
| 9.6.2            |
+------------------+
SHOW
Time: 0.001s

I am on version 2.2.0 of the gem, from Gemfile.lock:
upsert (2.2.0)

Any thoughts or clarification would be helpful here, thank you.

@willsoto Do you mind posting the output of \d+ <table_name>, as well as the Upsert snippet that you're using?

I can post a snippet of that table - unfortunately I can't post the whole thing.
+------------+-----------------------------+-----------------------------------------------------+
| Column     | Type                        | Modifiers                                           |
|------------+-----------------------------+-----------------------------------------------------|
| id         | integer                     |  not null default nextval('users_id_seq'::regclass) |
| handle     | character varying           |  not null                                           |
| token      | character varying           |                                                     |
+------------+-----------------------------+-----------------------------------------------------+
Indexes:
    "users_pkey" PRIMARY KEY, btree (id)
    "index_users_on_handle" UNIQUE, btree (handle)
    "index_users_on_token" UNIQUE, btree (token)

And here is the code:
User.upsert({ :handle => handle }, params.merge(created_at: Time.current, updated_at: Time.current))

I am using AR as well. I have require 'upsert/active_record_upsert' in the application.rb

@willsoto Can you post the results of the following query (omitting what you have to)?
            SELECT array_agg(column_name::text) AS index_columns FROM information_schema.constraint_column_usage
              JOIN pg_catalog.pg_constraint ON constraint_name::text = conname::text
              WHERE table_name = $1 AND conrelid = $1::regclass::oid AND contype = 'u'
              GROUP BY table_catalog, table_name, constraint_name

Replace $ with your quoted table name.

So I think I did it right.
Here is the query:
SELECT array_agg(COLUMN_NAME::text) AS index_columns
FROM information_schema.constraint_column_usage
JOIN pg_catalog.pg_constraint ON CONSTRAINT_NAME::text = conname::text
WHERE TABLE_NAME = 'users'
  AND conrelid = '"users"'::regclass::oid
  AND contype = 'u'
GROUP BY table_catalog,
         TABLE_NAME,
         CONSTRAINT_NAME

Here is the output:
+-----------------+
| index_columns   |
|-----------------|
+-----------------+
SELECT 0
Time: 0.005s

@willsoto OK, I may have to see if I can make this a little better.  It looks like you only have a unique index, which isn't classed as a constraint in Postgres.  A unique constraint will create an index, but not vice-versa.  However, if you try the following:
ALTER TABLE users
    ADD CONSTRAINT users_constraint_on_handle UNIQUE USING INDEX index_users_on_handle;

I believe that will get you what you want.

Alright, so that makes sense now, I didn't even think to take a look if AR was adding a true CONSTRAINT...
> SELECT array_agg(COLUMN_NAME::text) AS index_columns
..................... FROM information_schema.constraint_column_usage
..................... JOIN pg_catalog.pg_constraint ON CONSTRAINT_NAME::text = conname::text
..................... WHERE TABLE_NAME = 'users'
.....................   AND conrelid = '"users"'::regclass::oid
.....................   AND contype = 'u'
..................... GROUP BY table_catalog,
.....................          TABLE_NAME,
.....................          CONSTRAINT_NAME
+-----------------+
| index_columns   |
|-----------------|
| [u'handle']     |
+-----------------+
SELECT 1
Time: 0.007s

I get a new error now though:
NoMethodError (undefined method `sort' for "{handle}":String):

Any thoughts?

Hi Will,
Yes, I saw that error as well when I was debugging your problem.  I believe that the pg library may have changed things and this is why it isn't working.  I'll get a PR and patch together hopefully soon, but for the meantime including this code somewhere after Upsert is required this should do the trick for you:
class Upsert
  class MergeFunction
    class PG_Connection < MergeFunction
      def unique_index_on_selector?
        return @unique_index_on_selector if defined?(@unique_index_on_selector)

        type_map = PG::TypeMapByColumn.new([PG::TextDecoder::Array.new])
        res = schema_query.tap { |r| r.type_map = type_map }

        @unique_index_on_selector = res.values.any? do |row|
          row.first.sort == selector_keys.sort
        end
      end
    end
  end
end

Still seeing the same error. I am adding that snippet of code in an initializer. I've tried it several ways with no luck. Not sure if it has anything to do with the fact that I am using ActiveRecord?

@willsoto No, I don't believe so.  I'm not able to test right now, but now that I think about it harder I believe that Upsert loads the adapters dynamically on the first Upsert call, so your code would always be overridden (unless you wanted to go through the trouble of calling Upsert one, catching the error, then inserting your code).  As I said, I'll try and put a test case together and a patch.  If you want to try editing the gem directly, the code is found in lib/upsert/merge_function/PG_Connection.rb

@willsoto Once #99 is passing I'll see if @seamusabshere Can bump the version to 2.2.1 and cut us a new gem!

Thank you for such a timely resolution. I appreciate it.

hopefully fixed by https://github.com/seamusabshere/upsert/commit/5e32c94917e4697bba591a87639c947e92ad3423

That did it. Thanks again for everything.


Counter column (Improvement)

SQL Operations Studio Version: sqlops 0.24.1 (af2414efcb485ab5e435d1db693d3f7569c48453, 2017-12-19T02:19:09.998Z)
OS Version: Windows_NT x64 6.3.9600

Steps to Reproduce:

Counter column on the left of the results should be frozen, like SQL Management Studio, this helps a lot selecting multiple rows while having many columns.

Friendly
Thanks

I'll close this as a duplicate of https://github.com/Microsoft/sqlopsstudio/issues/412.  Thanks!


Fixes #9353 Twitter notifications with certain media such as small images

Follow Twitter's guidance for media uploads:

If and (only if) the response of the FINALIZE command contains a processing_info field, it may also be necessary to use a STATUS command and wait for it to return success before proceeding to Tweet creation.

Related issue (if applicable): fixes #9353
notify:
  - name: twitter
    platform: twitter
    consumer_key: …
    consumer_secret: …
    access_token: …
    access_token_secret: …

automation twitter:
  alias: Send a test message
  initial_state: True
  hide_entity: False
  trigger:
    platform: homeassistant
    event: start
  action:
    - service: notify.twitter
      data:
        message: "Test at {{ now().strftime('%I:%M:%S %p') }}."
        data:
          media: /tmp/my-awesome-image.jpg
    - service: homeassistant.turn_off
      entity_id: automation.send_a_test_message

@balloob @pvizeli Quick fix for regression introduced my PR #9261. 🤕


Error when using put() on tables with compound primary keys

I have the following implementation of a data table with a compound primary key
import Dexie, { Table } from 'dexie';

interface IData
{
    masterId: number;
    dataId: string;
    date: Date;
    file: Blob;
}

class DataService extends Dexie
{
    data: Table<IData>;
    constructor()
    {
        super('datadb');
        this.version(1).stores({
            'data': '[masterId+dataId],dataId'
        });
        this.data = this.table('data');
    }

    upsert(data: IData)
    {
        return this.data.put(data);
    }
}

But when I try to call the upsert() function it always returns the following error:

Am I doing something wrong or could this be an issue with the browser implementation?

All properties that are parts of the primary key needs to be set and needs to be an indexable type

In this case they are, the index is an array of a number and a string, and both are being set when I call the upsert()

Have you added a breakpoint in your upsert method and verified that given object really have that? Make sure that the properties can't be getters on the prototype - they need to exist as own enumerable props.

Ok, that was it. One of the properties from the index was undefined. Thanks for the help!


Using jquery's $.map flattens array arguments in the callbacks

Encountered during the upgrade to 1.0.9, likely caused by #102
If you have a onDrop callback that has an array argument, jquery's map function will flatten that array.
For instance:
$.map([1, 2, 3], function(element, index) {
  return [ element + 1, element + 2 ];
});
=> [2, 3, 3, 4, 4, 5]

I pass the drop target array reference as an argument in the onDrop callback.  Workaround is wrapping that array reference with an array as shown from: http://stackoverflow.com/questions/703355/is-there-a-jquery-map-utility-that-doesnt-automically-flatten:
$.map([1, 2, 3], function(element, index) {
  return [ [ element + 1, element + 2 ] ];
});
=> [[2, 3], [3, 4], [4, 5]]

Thanks!


Use mathlib's conditional kernels

condEntropyKernel was the same as Mathlib's condDistrib almost everywhere. This PR removes the redundant definition.
Since condDistrib is not FiniteKernelSupport and is defined only almost everywhere, I introduced an AEFiniteKernelSupport property for kernels that have finite support for almost all arguments with respect to some measure and I modified many results to use that.
The fact that condEntropyKernel was FiniteKernelSupport was more an accident than anything else.

Wow, that was a pretty heroic refactoring!  It does make sense from a mathematical point of view to use ae finite support instead of sure finite support, but I'm glad I wasn't the one who had to implement that...


Use dart specific C api for notification callbacks

This has the advantage of not needing the static map in CallbackBridge, and hence no extra cleanup is needed dart side.
Another advantage is that we don't have to wait for dart side WeakReference in 2.17, since we can use the native side Dart_WeakPersistentHandle that already exists.
The extra C/C++ code is fairly negligible.

This has been superseded


TestAccAppServiceCs and TestAccServerless started failing

What happened?
Looks like TestAccAppServiceCs and TestAccServerless started failing the check returning 404 instead of the expected value. The failure started happening outside of any particular PR, so this either indicates flakiness or some change to the underlying system.
Example
See recent master builds.
Output of pulumi about
N/A
Additional context
Going to have a quick look here to reproduce locally, in case this is an actual regression. If does not look serious will temporarily skip the tests.
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

https://github.com/pulumi/pulumi-gcp/pull/1639


Add Monsters From Nerzugal's Dungeon Master Toolkit 2 / Fixing Nerzugal's Extended Bestiary

Nerzugal Role-Playing released a new book with 100+ new monsters that are ready to be added. It also appears the first half of the creatures from Nerzugal's Extended Bestiary were removed, so I created a new full list to be added. We should be able to clean remove the old "neb" rows and replace them with the ones in this new spreadsheet.
Here is a link to the complete, tested spreadsheet:
https://docs.google.com/spreadsheets/d/10M5gUDZQIj2ytGCeS2ZsxqqoxcURur1asQ_qAyl95_A/edit?usp=sharing

Thanks! I've added these to KFC.
I've run into a slight problem while adding. There were several duplicates that differed in CR, and I don't know which is the correct one. Could you please tell me the correct CRs for each of the following:
neb.azer-magma-shaman
neb.deadly-hunter
neb.haste-devil
neb.mysterious-starcaller
neb.mystic-spellblade
neb.necromancer
neb.radiant-stalker

Yep, sorry about that. Some of the values got messed up when I copied and
pasted them over. Here are the values:
neb.azer-magma-shaman - CR 3
neb.deadly-hunter - CR 5
neb.haste-devil - CR 5
neb.mysterious-starcaller - CR 9
neb.mystic-spellblade - CR 5
neb.necromancer - CR 3
neb.radiant-stalker - CR 5
Thank you so much!
On Sat, Jun 2, 2018 at 12:28 AM, Ian Toltz<EMAIL_ADDRESS>wrote:

Thanks! I've added these to KFC.
I've run into a slight problem while adding. There were several duplicates
that differed in CR, and I don't know which is the correct one. Could you
please tell me the correct CRs for each of the following:
neb.azer-magma-shaman
neb.deadly-hunter
neb.haste-devil
neb.mysterious-starcaller
neb.mystic-spellblade
neb.necromancer
neb.radiant-stalker
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Asmor/5e-monsters/issues/124#issuecomment-394060114,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACsBymRkdOdsdEFFQ1Saw0wIk62IexHGks5t4iJhgaJpZM4UHIxW
.

Thanks, I've removed the bad duplicates. This should be all set now.


Headless true Attribute error

This error is produced with headless enabled
DevTools listening on ws://<IP_ADDRESS>:53160/devtools/browser/44e64fc2-aaaf-4fc0-a6c7-cf43538c9b67 [13748:8324:1119/071644.574:ERROR:display_layout.cc(562)] PlacementList must be sorted by first 8 bits of display_id PS C:\Users\User> & C:/Users/User/AppData/Local/Programs/Python/Python39/python.exe c:/Users/User/Documents/Microsoft-Rewards-Farmer-master/farmer_test.py Traceback (most recent call last):   File "c:\Users\User\Documents\Microsoft-Rewards-Farmer-master\farmer_test.py", line 354, in <module>     browser = browserSetup(True, PC_USER_AGENT)   File "c:\Users\User\Documents\Microsoft-Rewards-Farmer-master\farmer_test.py", line 37, in browserSetup     options.headless = True AttributeError: can't set attribute
The following is the Error from running headless false
Traceback (most recent call last):   File "c:\Users\User\Documents\Microsoft-Rewards-Farmer-master\test\import time.py", line 351, in <module>     login(browser, account['username'], account['password'])   File "c:\Users\User\Documents\Microsoft-Rewards-Farmer-master\test\import time.py", line 64, in login     waitUntilVisible(browser, By.ID, 'KmsiCheckboxField', 10)   File "c:\Users\User\Documents\Microsoft-Rewards-Farmer-master\test\import time.py", line 92, in waitUntilVisible     WebDriverWait(browser, time_to_wait).until(ec.visibility_of_element_located((by_, selector)))   File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\support\wait.py", line 80, in until     raise TimeoutException(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message:

I made an update, try it :)


Reexport generate macro

Fixes #18 by allowing definition of slices from non-crate-root contexts such as a module to work as one would expect. Feels like a kind of hacky solution, but I'm familiar enough with rust's macro path resolution rules to know of a better one. I included a 2015 edition test just to be sure that it doesn't break anything (and I'm somewhat surprised that it works?).

(sorry for all the force-pushes, I kept finding very small cleanups to make, I'm done now)

Addressed things and cleaned it up a bit, but was unable to get it to work with rustc 1.31.x - which didn't like the use like because imports can only refer to extern crate names passed with --extern on stable channel (see issue #53130). It seems that use something to refer to current scope only started working in 1.32.0? I'm not sure of a way to work around this, though there's always the option of using a build script to revert to the previous approach (and just accept that only definitions at the crate root will work with 1.31).
(there were also some weird visibility issues on 1.31.x but I think those have workarounds)

Published in 0.1.6.


SPARKC-119: Fixed some external doc mappings

For the BuildUtil - I want to separate the logic / entities definitions from the actual build configuration.

retest this please


Training code

Hi,
I was wondering if you can also share the training code.
Thanks.

Hi,
I was wondering if you can also share the training code.
Thanks.

Did you get the train code?could you share it to me ?thankyou


acceptDrop is not called when there is over method

In the example below acceptDrop is not called:
configureDragDrop(registerType) {
registerType(DndTypes.ITEM, {
dragSource: {
beginDrag() {
return {
item: {
id: this.props.id
}
};
}
},
        dropTarget: {
            over(item) {
                this.props.moveCard(item.id, this.props.id);
                return true;
            },

            acceptDrop() {
                this.props.cardMoved();
            }
        }
    });
},

If you are removing the item from DOM with this.props.moveCard(), acceptDrop() won't be called, as the item is unmounted, and the listeners are removed. ( You can check `DragDropMixin' to see what how things are wired)
As a workaround, I've added listeners to the `DragDropStore' from react-dnd on my parent component, and do the work there.
I don't know if there are any other solutions to this.

If you are removing the item from DOM with this.props.moveCard(), acceptDrop() won't be called, as the item is unmounted, and the listeners are removed. ( You can check `DragDropMixin' to see what how things are wired)

Are you sure this is the issue?
I just looked at the example, and the real issue seems to be that we forbid dropping item on itself.
I think this was a decision I took early on, and it might have been a wrong one. I don't remember why I did this now, and maybe it's worth re-evaulating it.
Specifically you can comment out these lines in DragDropMixin to get the desired behavior:
  getActiveDropTargetType() {
    var { draggedItemType, draggedItem, ownDraggedItemType } = this.state,
        dropTarget = this._dropTargets[draggedItemType];

    if (!dropTarget) {
      return null;
    }

    // if (draggedItemType === ownDraggedItemType) {
    //   return null;
    // }

    var { canDrop } = dropTarget;
    return canDrop(draggedItem) ? draggedItemType : null;
  },

Thanks guys! Can I suppose this issue will be fixed?

I'll release this tomorrow if I don't find issues with this approach.

Can you share more details about your use case?
The easiest way to do something after dragging is finished is in endDrag method of drag source:
  configureDragDrop(registerType) {
    registerType(ItemTypes.CARD, {
      dragSource: {
        beginDrag() {
          return {
            item: {
              id: this.props.id
            }
          };
        },

        endDrag() {
          this.props.onCardMoved();
        }
      },

      dropTarget: {
        over(item) {
          this.props.moveCard(item.id, this.props.id);
        }
      }
    });

Also, there is no need for over to return true. We're handling HTML5 weirdness in mixin.

The point is that I have drop zone and it knows nothing about drag zones. Therefore I need acceptDrop to work properly.

Sorry for late answer

The only case when acceptDrop is not called, as far as I know, is when draggable and droppable is the same React component instance. The example code you attached is exactly this case. As I said, in this case it often makes more sense to handle endDrag to finalize, for example, sorting.
But this doesn't sound like what you're describing in your previous comment. acceptDrop should definitely fire if drag source and drop target are different components.
Can you share a sample project that reproduces your problem? You can also fork this one and tweak the examples.
If you can't, try putting a breakpoint in DragDropMixin somewhere before acceptDrop call and see why it's not firing.

OK, I'll see my code in a couple of days and reply you, thanks!

Closing this for now. Feel free to reopen if you have an example I can run.

hi @gaearon ,
sorry to comment on an old thread, are you still planning to remove the constraint to forbid dropping the item on it self ? ( draggedItemType === ownDraggedItemType ).
One of the use case  would be kanban UI (columns containing draggable cards)  where you can sort cards within the same column and/or dragdrop to a different column.
I am using the over callback to move the card on the client side but would love to use acceptDroptoo  to commit this change to the server. At the moment (0.7.0) acceptDrop never gets called when sorting with the same list
thanks!
-seb

@sebcante have you seen the sortable example?

@sebcante You should be able to sync with server in drag source's endDrag. It fires regardless of whether any drop target accepted the drop.

thanks guys, i ll give endDrag a go!

Superseded by #95


Adjust pin geometry

Make pin geometry match openlane defaults. Shouldn't be any functional
change, but the slightly wider pins do make it easier to spot the pin
connection when looking at GDS output.

LGTM, thanks!


We need to check downloading file integrity.

We are checking nodejs  and mongodb directory.
If there is no folder, we will download each one.
But if it failed when we are downloading, we get directory, but file is not enough to run.
So we need to check downloading file integrity.
Below log is when downloading failed.
KOs-iMac:absolute kobyoungkwon$ ./run.cmd
./scripts/run: line 25: platform: command not found
./scripts/run: line 14: platform: command not found
./scripts/run: line 18: /Users/kobyoungkwon/romandev/absolute/platform/nodejs/bin/npm: No such file or directory
./scripts/run: line 19: /Users/kobyoungkwon/romandev/absolute/platform/nodejs/bin/npm: No such file or directory

We need platform version checking also.

This issue is about legacy codes.


Datepicker and HTMX

I'm using flowbite with htmx and i want to use a datepicker in a dynamically loaded content.
I'm using v.2.3.0 and i put in my layout a js with :
htmx.onLoad(function (elt) { initFlowbite(); })
It's not working.
I try on my htmx call :
hx-on="htmx: afterSettle: initFlowbite();"
but it's not working
Here is my flowbite picker :

        <svg class="w-4 h-4 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20">
            <path d="M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z" />
        </svg>

    <input datepicker datepicker-autohide type="text" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="Select date">

What's not working? I'm using flowbite + htmx together, and it generally works well.
Try tying to htmx.onLoad rather than afterSettle.

I try but it's not working and no error in DEV TOOLS.
Did you already use the date picker because it's ok with other flowbite components but not with the date picker
If i put the picker in my layout it's ok but not in a loading content with HTMX.
I have a link in my layout :

Recherche FDSE

My view (Recherche) contains only my date picker :

        <svg class="w-4 h-4 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20">
            <path d="M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z" />
        </svg>

    <input datepicker datepicker-autohide type="text" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="Select date">

Nothing happens after loading my view in the DIV (contenusite)
Thanks for your help

I am having the same issue. Was anybody able to get this working?
My initial thought was that I would have to re-initialize my Datepickers using the Datepicker API that Flowbite provides afterSettle, however this API seems to be only available when using Datepickers installed via the NPM context. What am I missing here? Is it possible to manually initialize Datepickers without installing via NPM?

Hey @reubenfirmin, @tombal98, @lobot1010,
We released v2.4.1 and this makes the datepicker a component which means that:

it is now available in the instances object
it has an API from Flowbite like setting dates, getting dates etc
it will also be initialized when calling initFlowbite()

Please read more here:
https://flowbite.com/docs/components/datepicker/index.html#javascript-behaviour
Cheers,
Zoltan


Consider adding and, or and if keywords

Foxpath currently has no keywords – parsing is done by matching an entire test to a regular expression in mapping.py. This means if we create a new test EXISTING_TEST1 or EXISTING_TEST2, we need to create a new regular expression TEST3 with a new handling function.
This is no doubt by design, to keep foxpath as simple as possible. However, there are some pretty complicated-looking regular expressions in mapping.py that could be greatly simplified by introducing and and or keywords, and making foxpath tokenize and recurse through expressions, matching subtests to regular expressions (i.e. making the parsing slightly more advanced). if would also be a useful addition.

Fixed in #10.


Alasql not working on Chrome and IE. Work perfectly in firefox

Hi,
I am trying to parse XLSX file using alasql.js but it only works with firefox. While running on Chrome and IE, it throws exception as "Cross Origin request not supported" and "Access Denied".Error is coming from XMLHttpRequest part of alasql.js code.Even if i access file using http://localhost, there is no data read. Works perfectly in firefix though. Any suggestions?

To my knowledge, Firefox is the only browser that allows reading via the file:// protocol.
How do you serve the file? Are you using a static file server?

I am trying to read excel files on my local machine. I have tried reading file via http://localhost as well. This way there is no error but there is no data read.

It should work. Can you provide a sample of the code that is not working?

@varungarg25
If you already are having success with getting you HTML site with http://localhost I suggest you make sure to have the files you are trying to read in the same dir as your HTML to make sure you can access the files via http://localhost/myAwesomeFile.zyx


Project sample

Hi, would you mind to provide a project sample using this repo dependence ?

@BugsBunnyBR Sure, I try to put something up

https://github.com/nodes-vapor/jwt-keychain-demo/blob/master/README.md

Thanks

Im updating it for the new version with your PR