The landing page for a resource that is private should display versioning relationships.

Description of the bug
There may be situations where, with versioned resources we have
V1 is private
V2 is public
V3 is private
V4 is public
Currently it is not possible to follow links from V4 back to V2.  We need to have the newer and older version links on the limited access page displayed for private resources, so that when a user gets to V4 they would have a way to go back to V2.
Steps to reproduce the bug:
Create a chain of resources with access settings as above and attempt to get from V4 to V2.
Expected behavior
Add versioning links to the private landing page to enable traversal of versioning chains.

This issue was split off from #3936

@dtarb I tested on production and verified this issue has been fixed.I am closing it, but feel free to test it yourself and reopen it if you still see any issues.


feature

how can i know if it's working?
I configured it in nuxt-config.js and then called within this component life cycle this. $ Fb.enable () and after that I added the pixel id with this. $ Fb.setPixelId (this.getPreferences.facebook_pixel ), I wonder if this way already works?

It should not be $fb and not $Fb ?


itemsCallbackSingleChoice in MaterialDialog not scrolling correctly to preselected index

Hi Aidan,
I've made a jump from Material Dialogs 0,8.5.5 to <IP_ADDRESS> and I've noticed that now the single choice dialogs don't scroll correctly to the preselected index.
Here are other things that I've updated in my app:

Target skd from 23 to 24
Support libraries from 23.4.0 to 24.2.0

The issue happens in all versions from Android 4.0 to 7.0.
More info:

[x] I have verified there are no duplicate active or recent bugs, questions, or requests
[x] I have verified that I am using the latest version of Material Dialogs.
[x] I have given my issue a non-generic title.
[x] I have read over the documentation (before asking questions on how to do something).

Include the following:

Material Dialogs version: <IP_ADDRESS>
Device OS version: all versions from 4.0 to 7.0
Device Name: Nexus 5, Nexus 5x and several older Samsung and Sony devices

Expected Result
The dialog shoud scroll so that the preselected index falls in the middle.
Actual Result
The dialog scrolls but the preselected index falls out of view (the dialog stops several places before the preselected index).

I can confirm this.
I've also digged a little in the code which basically works like this:

see how many items are currently shown
remove from the selected item position half the count of that number
scroll to the computed value

This assume that:

the recyclerview would scroll to the point that the indicated position is the first visible one
items have all the same height

The first assumption is completely wrong, the list actually scroll down until the indicated position is visible and stop. So if anything it would be more correct to add positions instead of subtracting it (and check it does not go over the max value).
Even "fixing" it like that it may not necessary be a fix. In fact how the actual scroll happens depends on the LayoutManager implementation and the library shouldn't try to guess it. It should just ask for it to scroll to the given position and nothing else and, eventually, provide a custom callback for that to be handled by the user.
For example the LinearLayoutManager has an handy scrollToPositionWithOffset that, if you know the height of the view and the average height of each item, let you position your view exactly in the middle.

By the way this is a blocking bug for me: not using your library for this specific reason.


Style startPage

Styling differs a bit from original draft because of other fonts and game description. Feel free again to share possible improvement thoughts. I also filled real text into the placeholders - also here feel free to share your own ideas.
Parchment is at the moment a png of size 800x712 (350kb). SVG for this image costs something. Other free parchment svgs weren't that good looking.
Container is at the moment fixed sized, doesn't adjust to different view ports. Are you okay with that?

It looks great, maybe a little more intense text shadow on description would be better?

It looks great, maybe a little more intense text shadow on description would be better?

Like that? Or even more?

Text-Shadow Opacity could be also removed/decreased:

It looks great, maybe a little more intense text shadow on description would be better?

Like that? Or even more?

First one is ok.


Fixes for latest lm_eval

I can't reproduce this issue locally. What's more, it seems to be an issue with mathqa specifically. because it doesn't have the trust_remote_code=True setting in the yaml.


:bookmark:  release 1.20.0

Description

Checklist

[ ] My changes follow the contributing guidelines of this project.
[ ] I have performed a self-review of my code.
[ ] I have made corresponding changes to the documentation.
[ ] I have added tests that prove my fix is effective or that my changes work.
[ ] New and existing unit tests pass locally with my changes.

coverage: 95.241%. remained the same when pulling d3248009b98d63b6cd13913197abcc3565d61b54 on release/1.20.0 into 361f4f3d3f97fa073a14084ed8fa5178d3ca8595 on main.


Run mypy on CI

Turns on mypy on CI for tests and jellyfin.

Rebased and got everything passing now all merged together.


Working Axum Example!

I wanted to get the Hacker News Axum example up for review. It seems to be working completely, except for the small performance issue @gbj mentioned with the streaming of suspense objects

Tested and this passes everything with flying colors.
Later I'll try to refactor so we can hide some of the ugliness of spawning that other process. I'm still curious about the performance implications there but I honestly am weak on that side of things (i.e., life outside the browser...)


Separated routes and controlling function from app

I've just realised I should add redirects for previous routes so client doesn't break instantly!

I've just realised I should add redirects for previous routes so client doesn't break instantly!

@E-Kemp Maybe add a comment in the PR description. Or add a comment on the code. Say what you said on the call we had.


Release Google.Cloud.Container.V1 version 3.29.0

Changes in this release:
New features

Enable REST transport for google/container/v1 (commit 198c8c6)

Created release for Google.Cloud.Container.V1-3.29.0


ember install throws error

$ ember install ember-intl
version: 0.2.3
Installed packages for tooling via npm.
installing
  create app\formats.js
  create app\locales\en.js
installing
The `ember generate` command requires an entity name to be specified. For more d
etails, use `ember help`.

Haven't tested against 0.2.3, but will look into this if you don't already solve it by then.

The error didn't seem to prevent me using the addon at all; may be merely cosmetic.

Ping @stefanpenner - is this a bug in 0.2.3?

https://github.com/ember-cli/ember-cli/pull/3846


window['clientSideValidations']['forms'] stays empty (commit > b35e41e6f)

Hi!
With any of the the commits after b35e41e6f I have the problem, that
window['clientSideValidations']['forms'] stays empy after the $('form').validate();
That leads to:
Cannot read property 'validators' of undefined
in line 14:
settings = window['clientSideValidations']...
I'm using rais 3.1.1 but without the asset pipeline for historical reasons.
Would be grateful for hints!
--Frank

try pulling from the 3-1-stable branch: https://github.com/bcardarella/client_side_validations/tree/3-1-stable
I suspect what was happening was that in Rails 3.1.1 it does not install the rails.validations.js file even when the asset pipeline is disabled. This commit: https://github.com/bcardarella/client_side_validations/commit/6bc4b61c3978b988ab5ffa7bca977283b52644c9
will allow the asset to be copied in in a Rails 3.1 app when the asset pipeline is disabled.
You'll need to run:
rails g client_side_validations:copy_asset to install the updated file. It assumes you want install it to: public/javascripts
I'm going to close but please let me know if this did not fix and I'll re-open.

Hi Brian, pulling from 3-1-stable helped - thanks!
--Frank

Sweet!


Ola's Jul-Aug updates blog post

This blog post sums up my work in the last two months.
Related to portals-monorepo#

Looks great. Let's merge - one small comment as you see.


SQLTransformer

We have a Spark ML pipeline with SQLTransformer along with UDF.
I checked at https://github.com/combust/mleap/tree/master/mleap-spark/src/main/scala/org/apache/spark/ml/bundle/ops/feature
and didn't find any relevant operation.
Could you please give direction on how to include it if feasible?
Error Log:
java.util.NoSuchElementException: key not found: org.apache.spark.ml.feature.SQLTransformer
at scala.collection.MapLike$class.default(MapLike.scala:228)
at scala.collection.AbstractMap.default(Map.scala:59)
at scala.collection.MapLike$class.apply(MapLike.scala:141)
at scala.collection.AbstractMap.apply(Map.scala:59)
at ml.combust.bundle.BundleRegistry.opForObj(BundleRegistry.scala:100)
at ml.combust.bundle.serializer.GraphSerializer$$anonfun$writeNode$1.apply(GraphSerializer.scala:31)
at ml.combust.bundle.serializer.GraphSerializer$$anonfun$writeNode$1.apply(GraphSerializer.scala:30)
at scala.util.Try$.apply(Try.scala:192)
at ml.combust.bundle.serializer.GraphSerializer.writeNode(GraphSerializer.scala:30)
at ml.combust.bundle.serializer.GraphSerializer$$anonfun$write$2.apply(GraphSerializer.scala:21)
at ml.combust.bundle.serializer.GraphSerializer$$anonfun$write$2.apply(GraphSerializer.scala:21)
at scala.collection.IndexedSeqOptimized$class.foldl(IndexedSeqOptimized.scala:57)
at scala.collection.IndexedSeqOptimized$class.foldLeft(IndexedSeqOptimized.scala:66)
at scala.collection.mutable.WrappedArray.foldLeft(WrappedArray.scala:35)
at ml.combust.bundle.serializer.GraphSerializer.write(GraphSerializer.scala:20)
at org.apache.spark.ml.bundle.ops.PipelineOp$$anon$1.store(PipelineOp.scala:21)
at org.apache.spark.ml.bundle.ops.PipelineOp$$anon$1.store(PipelineOp.scala:14)
at ml.combust.bundle.serializer.ModelSerializer$$anonfun$write$1.apply(ModelSerializer.scala:92)
at ml.combust.bundle.serializer.ModelSerializer$$anonfun$write$1.apply(ModelSerializer.scala:88)
at scala.util.Try$.apply(Try.scala:192)
at ml.combust.bundle.serializer.ModelSerializer.write(ModelSerializer.scala:88)
at ml.combust.bundle.serializer.NodeSerializer$$anonfun$write$1.apply(NodeSerializer.scala:88)
at ml.combust.bundle.serializer.NodeSerializer$$anonfun$write$1.apply(NodeSerializer.scala:84)
at scala.util.Try$.apply(Try.scala:192)
at ml.combust.bundle.serializer.NodeSerializer.write(NodeSerializer.scala:84)
at ml.combust.bundle.serializer.GraphSerializer$$anonfun$writeNode$1.apply(GraphSerializer.scala:34)
at ml.combust.bundle.serializer.GraphSerializer$$anonfun$writeNode$1.apply(GraphSerializer.scala:30)
at scala.util.Try$.apply(Try.scala:192)
at ml.combust.bundle.serializer.GraphSerializer.writeNode(GraphSerializer.scala:30)
at ml.combust.bundle.serializer.GraphSerializer$$anonfun$write$2.apply(GraphSerializer.scala:21)
at ml.combust.bundle.serializer.GraphSerializer$$anonfun$write$2.apply(GraphSerializer.scala:21)
at scala.collection.IndexedSeqOptimized$class.foldl(IndexedSeqOptimized.scala:57)
at scala.collection.IndexedSeqOptimized$class.foldLeft(IndexedSeqOptimized.scala:66)
at scala.collection.mutable.WrappedArray.foldLeft(WrappedArray.scala:35)
at ml.combust.bundle.serializer.GraphSerializer.write(GraphSerializer.scala:20)
at org.apache.spark.ml.bundle.ops.PipelineOp$$anon$1.store(PipelineOp.scala:21)
at org.apache.spark.ml.bundle.ops.PipelineOp$$anon$1.store(PipelineOp.scala:14)
at ml.combust.bundle.serializer.ModelSerializer$$anonfun$write$1.apply(ModelSerializer.scala:92)
at ml.combust.bundle.serializer.ModelSerializer$$anonfun$write$1.apply(ModelSerializer.scala:88)
at scala.util.Try$.apply(Try.scala:192)
at ml.combust.bundle.serializer.ModelSerializer.write(ModelSerializer.scala:88)
at ml.combust.bundle.serializer.NodeSerializer$$anonfun$write$1.apply(NodeSerializer.scala:88)
at ml.combust.bundle.serializer.NodeSerializer$$anonfun$write$1.apply(NodeSerializer.scala:84)
at scala.util.Try$.apply(Try.scala:192)
at ml.combust.bundle.serializer.NodeSerializer.write(NodeSerializer.scala:84)
at ml.combust.bundle.serializer.BundleSerializer$$anonfun$write$1.apply(BundleSerializer.scala:34)
at ml.combust.bundle.serializer.BundleSerializer$$anonfun$write$1.apply(BundleSerializer.scala:29)
at scala.util.Try$.apply(Try.scala:192)
at ml.combust.bundle.serializer.BundleSerializer.write(BundleSerializer.scala:29)
at ml.combust.bundle.BundleWriter.save(BundleWriter.scala:27)
at $anonfun$2.apply(:105)
at $anonfun$2.apply(:104)
at resource.AbstractManagedResource$$anonfun$5.apply(AbstractManagedResource.scala:88)
at scala.util.control.Exception$Catch$$anonfun$either$1.apply(Exception.scala:125)
at scala.util.control.Exception$Catch$$anonfun$either$1.apply(Exception.scala:125)
at scala.util.control.Exception$Catch.apply(Exception.scala:103)
at scala.util.control.Exception$Catch.either(Exception.scala:125)
at resource.AbstractManagedResource.acquireFor(AbstractManagedResource.scala:88)
at resource.ManagedResourceOperations$class.apply(ManagedResourceOperations.scala:26)
at resource.AbstractManagedResource.apply(AbstractManagedResource.scala:50)
at resource.ManagedResourceOperations$class.acquireAndGet(ManagedResourceOperations.scala:25)
at resource.AbstractManagedResource.acquireAndGet(AbstractManagedResource.scala:50)
at resource.ManagedResourceOperations$class.foreach(ManagedResourceOperations.scala:53)
at resource.AbstractManagedResource.foreach(AbstractManagedResource.scala:50)
... 62 elided

will following http://mleap-docs.combust.ml/mleap-runtime/custom-transformer.html help? i.e creating a custom transformer instead of UDF?

@Mageswaran1989 MLeap doesn't support the SQLTransformer for a couple of reasons:

mleap-runtime doesn't contain a sql engine to support arbitrary sql operations
MLeap only supports row-based transformations, whereas sql can have groupby, join, windowing, and many other operations

What logic do you have in your SQLTransformer? People have asked this question before and we recommend:

For non-row operations, move the SQL out of the ML Pipeline that you plan to serialize
For row-based operations, use the available ML transformers or write a custom transformer <- this is where the custom transformer documentation will help.

@seme0021  (custom transformer documentation)[http://mleap-docs.combust.ml/mleap-runtime/custom-transformer.html] along with TokenizerOp helped me to solve my simple filtering operation on words based on length.
When I try loading it on LeapFrame:

I was not able to read a normal json file with FrameReader(). My guess is that FrameReader() needs the schema information encoded in the json file of interrest, correct if I am wrong.
Above one was by passed with spray json parsing and loading it on LeapFrame() with custom MLeap Schema and LocalDataset()
When loaded Mleap Pipeline works imitating the Spark pipeline, however features vector (nullable = true) in Spark is converted to TensorType(DoubleType(false),false)) in MLeap

Could you help in resolving this type mismatch issue?
The best way to debug the LeapFrame contents something like df.show(),  as I am missing something while printing with data2(0).mkString("\n"), which doesn't show the contents of features column which is now a SparseTensor() type.

@Mageswaran1989
Hey there,
I'll respond to your questions here:

You are right, the JSON-encoded LeapFrame needs to have the schema information serialized as well. Please see an example in the documentation here: http://mleap-docs.combust.ml/core-concepts/data-frames/ under the section "Example Leap Frame"

Glad to hear you got it working :)

MLeap does not use Spark linalg.DenseVector and SparseVector for storing Tensors. We have our own Tensor format that we will use so we can support arbitrary n-dimensional data. This is mostly so we can easily integrate with deep learning libraries like Tensorflow and Torch. There is a very easy way to convert an MLeap tensor to a Dense or Sparse Spark vector if you wish though. Please see the code here: https://github.com/combust/mleap/blob/master/mleap-runtime/src/main/scala/ml/combust/mleap/runtime/converter/VectorConverters.scala

Importing this class will give you implicit conversions between MLeap Tensors and Spark Vectors.
import ml.combust.mleap.runtime.converter.VectorConverters._
import ml.combust.mleap.tensor.Tensor
import org.apache.spark.ml.linalg.Vector

val mleapTensor = Tensor.denseVector(Array[Double](23.4, 55.6, 34.4))
val sparkVector: Vector = mleapTensor

As far as debugging the LeapFrame goes, we have an issue open for making a nice .show function as you suggest, follow it here: https://github.com/combust/mleap/issues/121
Cheers,
Hollin

@hollinwilkins Thank you!
Seems like I have to bug you for some more time ;)
How to store/bundle Spark org.apache.spark.ml.linalg.Matrix with ml.combust.bundle.dsl.Value?

@Mageswaran1989 You can use the Value.tensor method to store an n-dimensional array such as a matrix.

Here is an example from our code to store multinomial Logistic Regressions: https://github.com/combust/mleap/blob/master/mleap-spark/src/main/scala/org/apache/spark/ml/bundle/ops/classification/LogisticRegressionOpV21.scala#L29

@hollinwilkins I am trying to create some custom transformers too. I looked at the docs and from the looks of thing I need to make those changes to extend the library and then repackage so I upload it on something like Databricks.

@smaxwellstewart As per custom transformers, you will be creating them in a separate library and packaging them in some way that Databricks can have access to them. And assembly jar would accomplish this quite nicely.
Sorry our docs are a bit incomplete here, but going through this process with you will help us to create them so that people in the future will have it easier. We would be happy to set up a time to chat and walk through the process as well if you like. Email at hollin at combust.ml and mikhail at combust.ml
Best

@hollinwilkins I understand the issues while SQLTransformer when doing group by operations, however, SQLTransformer comes with lots of handy SQL functions like (dateDiff(), log(), if(),)which helps in transforming the input data, and most of these functions operate on a single row so won't necessarily have issues which a SQL transformer which operates on multiple rows, are there any recommendations how can we achieve the same result as the single row based SQL methods?

@singh-dhirendra For binary/unary math operations you can use mleap-extension, which provides UnaryMath and BinaryMath transformers. Eventually we may support SQLTransformer, but in order to truly support it would be a bit of effort. We would need to switch from row-based transformation to frame-based transformation, which has a few other benefits as well. Then we would need to decide on a SQL engine that we can use and wire everything up, which will also be quite a task. If we do move in that direction, I think splitting off an optional module for the SQLTransformer which includes the SQL engine would be desirable.
Short answer to your question:

Use custom transformers for the operations you need and contribute them back to MLeap and mleap-spark-extension
Long-term, we may be switching from row-based transformation to frame-based, in which case SQLTransformer becomes more of a possibility

Also, if you are interested in helping with any of these pieces:

Moving to frame-based transformation
Finding a suitable SQL engine and building the SQLTransformer

We would definitely appreciate it!

Thanks @hollinwilkins for your suggestion, I am happy to contribute to frame-based transformations or SQLTransformer let me know if  there is a how that would potentially work

I ran into the same issue, but mainly because I want to reduce the size of the dataframe which is returned as a response by the mleap-serving service when asking it for a prediction.
Is there any mechanism to configure the service, so that only certain columns of the frame are returned, which makes sense if the dataframe containing all the features and base data is really big?
And if not, would you like to have one added? ;-)

@PowerToThePeople111 Hey, we are about to merge this branch in which will make the existing mleap-serving obsolete: https://github.com/combust/mleap/tree/feature/mleap-grpc
With each transform request, we introduce a TransformOptions object, which includes the ability to filter down to only the fields you care about in the result. I am writing up documentation for this right now.

Any progress on this issue in making mleap support SQLTransformer  ?

I also have the problem with SQLTransformer with groupBy operation. So It is nice if Mleap can support frame-based transformation soon.

@Mageswaran1989 MLeap doesn't support the SQLTransformer for a couple of reasons:

mleap-runtime doesn't contain a sql engine to support arbitrary sql operations
MLeap only supports row-based transformations, whereas sql can have groupby, join, windowing, and many other operations

What logic do you have in your SQLTransformer? People have asked this question before and we recommend:

For non-row operations, move the SQL out of the ML Pipeline that you plan to serialize
For row-based operations, use the available ML transformers or write a custom transformer <- this is where the custom transformer documentation will help.

How does moving the SQL out of the ML Pipeline help if you're using the SQLTransformer to train a model ?
@seme0021

@jsleight Do you know if mleap 0.22 supports sql transformer?

SQLTransformer isn't supported, and tbh is hard to support.  We'd essentially need to replicate Spark's sql engine without Spark.
I would advise to filter the rows before calling the pipeline.


Restarted mesos slaves wont make offers to swarm

Hi, just write down this issue.
First, I'm using CoreOS.
I have a mesos master with two nodes. All working fine.
Docker engine in the slaves. Its an essential part of CoreOS.
Mesos slaves running as containers in the slave servers.
Swarm manager in the same machine as the mesos master
All connected and working like a charm. Swarm works perfectly.
Recently I got a registration problem in mesos. I had to add a parameter to the slaves and restart the slave services. They restarted fine and mesos updated the slaves and reported the 2 nodes and its resources. All fine.
Marathon accepted the nodes and restarted its jobs, even those in docker containers (not using swarm). The docker engine in the nodes was not restarted so all was working as usual, in fact the mesos slaves run in containers so docker in the slaves is a requisite.
But then, swarm no longer takes the offers from the slaves. Its like by restarting the slaves the swam manager is cut from the cluster. I restarted the swarm manager service and it started accepting offers again.
I guess this is a bug.
Luck!
Guimo

ping @jimenez

Closing this as this behavior seems to be solved with 1.1. Thanks @Spritekin !


Fix Ctrl+Mousewheel triggering zoom during inertial scrolling

Requirements for Contributing a Bug Fix

Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
The pull request must only fix an existing bug. To contribute other changes, you must use a different template. You can see all templates at https://github.com/atom/.github/tree/master/.github/PULL_REQUEST_TEMPLATE.
The pull request must update the test suite to demonstrate the changed functionality. For guidance, please see https://flight-manual.atom.io/hacking-atom/sections/writing-specs/.
After you create the pull request, all status checks must be pass before a maintainer reviews your contribution. For more details, please see https://github.com/atom/.github/tree/master/CONTRIBUTING.md#pull-requests.

Identify the Bug

https://github.com/atom/atom/issues/9434 : Pressing Ctrl while the page is being inertially scrolled decreases the font size
https://github.com/atom/atom/issues/7884 : zoomFontWhenCtrlScrolling causes surprising behavior when pressing Ctrl with inertial scrolling
https://github.com/atom/atom/issues/20246 : Track-pad scroll velocity effects zoom even after hit the top of the document

Description of the Change
When a user scrolls with mousewheel using a trackpad, most OSs implement some sort of inertial scrolling, which causes additional scroll events to fire. If a user scrolls rapidly and triggers that behavior, they press Ctrl while the inertial scrolling is ongoing, and the option 'Zoom Font When Ctrl Scrolling' is enabled, Atom changes font size as if the user is actively holding Ctrl and scrolling with trackpad.
There is a mousewheel event that is fired right after the user stops manually scrolling, which has a delta of 0 for both Y and X, something that should never happen under any other circumstance (if actively scrolling, increments/decrements are always at least 1px * OS zoom level).
This commit takes advantage of this additional event and sets a timer, resetting that timer after each mousewheel event unless an event takes more than 250ms to occur. Chromium seems to not fire inertial scroll events at a constant rate, but 250ms is a safe value. This value is the default on this library: https://github.com/d4nyll/lethargy
Alternate Designs
If Chromium was giving any additional details regarding mousewheel events (if they were generated by the user or triggered as a result of inertial scroll, for example), we could use those, but providing such details is currently at the very end of their backlog.
Additionally, there is an experimental flag called 'Experimental Web Platform features' that adds two additional scroll-related events to the window, will investigate if we can use those to be more certain inertial scrolling is occuring.
Possible Drawbacks
Nothing important that I can think of. There is a possibility the inertial scrolling events stop prematurely (before the 250ms window ends), but I don't think a user can actually start holding Ctrl after having let the Ctrl key and start scrolling again in that ~125ms timeframe. Also, sometimes (very rarely, only happened once in dozens of tests I manually performed), an inertial-scroll-caused mousewheel event is fired after that 250ms window, triggering a zoom in/out depending on the delta. I don't see this as an issue as, if this change is not implemented, that zoom would actually be always occuring.
Verification Process
I held Ctrl and scrolled with touchpad without letting go of the touchpad, and Atom zoomed in/out as intended.
I held Ctrl and rapidly swiped up on the touchpad, triggering an initial zoom of 1-2 levels and then stopped (because the event with the 0 deltas was fired and it cancelled the rest of the zoom changes).
I also held Ctrl and pinched to zoom in/out, zooming worked as expected.
Release Notes
Fixed an issue where font zoom level would change when pressing Ctrl key during inertial scrolling.

Currently investigating whether the overscroll or scrollend events could be used to detect the end of inertial scrolling.
See: https://github.com/WICG/overscroll-scrollend-events

facing the same problem

facing the same problem

@sht Do you have any plans for continuing working on this fix?

@sht Do you have any plans for continuing working on this fix?

@sadick254 I couldn't find a better way to implement this, and wasn't quite satisfied with the result (lots of false positives). Feel free to close if needed.

@sadick254 I couldn't find a better way to implement this, and wasn't quite satisfied with the result (lots of false positives). Feel free to close if needed.

This tiny package seems like the best way to detect inertial scrolling: https://github.com/d4nyll/lethargy


changes done in README.md file for the name of package-lock.json

Changed package-lock.lock to package-lock.json inside README.md file

#742


Top nav/menu links do not work on iPhone

Using Safari/Chrome on iPhone (problem affects all iOS/iPhone versions) links that are one level deep do not work. Example try clicking on Documentation > Usage or Tools > Tools Javadoc does not take you to the correct page i.e. nothing happens when a link is pressed.

Same for me on Android Chrome and Opera (on Note4). I haven't tried other browsers.

Seems to be a bug in bootstrap 2.3.x
To fix it, add following lines to your site.css:
.dropdown-backdrop{
    position: static;
}

Source: http://stackoverflow.com/questions/17579750/drop-down-menu-not-working-on-mobile-devices


0xdf21b894a490cbdf49d9de7b9d780b79f7cb0ac7

Related Safe Addresses
Example List:
0xc832736fbf1f5db6a0e68c04d8a5c71c5a8d0ef0
0xae95671d94e519b6f0ad65bffd01a89fdc9318d7
0x8a2040510ac1c60d67e98f2fc6a18ff36dc962b8
0xca9cbbf15e2b8e08a684bb1a9e3f70ccce2c5d79
0x014d30c054f29e517bcf4080bac7609892a7e9cf
0x68253883acc8f0936eb9d6a2a796a9caf15d04a4
0xede6df3aee8c7c5fdb39f7e0d4dea7b12b5e2a25
0x7a5603e33f44f18954dd448bc507c0bd731d18af
0x2045f080c8fa63717823f3e3cc49e4ac389e1a38
0x00ce1d63c836e65a27517787f35d97e63b503642
0x55613b55e6e5a2305861009f6f4b9ba5ef0a842b
0x8699a98830062434bfb666125c01160e6362f2c9
0x4d96aaf3ae25779bba98d620302a2d45921a11f2
0x1d4b47507816c148dcfba53327b67a769589dc69
0x2a8cebb42a1b5d650f322209e982847f997c14cd
0x0dd656aacfbf61839a9a21f177fee93dc0146a8b
0x0b1f210669d8d356c9e668dfb2819567f4637b76
0x9d3d4b884693b125ebf1e0dfc9cd4670f7225cd1
0x7f4cabf12341bb1b7af00015c43d3d4d51209124
0xfb4fb239a2953a799786f43955cde5a2c9e7e381
0x30e439e8348fdc0f032574ffff9abe9b7797c120
0x8f63b659a5d0b88a591f6bc202316a0f24a10b7a
0x29d71c73b99cf42eae14b2a0934ac09c68b2a5f7
0xe23a1e679ed7fe2a3e3d1c71fec96d0424505551
0xa3169054f6bb4570a9abe0d3303a2aad79b5c692
0x507c80603d80a95efe9809a9abb9907d39f2d593
0x929c7af2c8583351828be4713761d12724a159e7
0xbdab7bd127d9e259a2930144ab582621bb3e0bf2
0x25decf57589ef137f843ca3bd13388af5d5b15e3
0x1003046735059d97a0de32fc1b059df819221b48
0xf44d57b421b6edc7ea0eb672273eee3236c0bc54

Full List
"https://etherscan.io/txs?a=0xdf21b894a490cbdf49d9de7b9d780b79f7cb0ac7&p=8"
-->
Reasoning
<--Each safe is almost unused but all created with the same address.0xdf21b894a490cbdf49d9de7b9d780b79f7cb0ac7
Safes are created with high frequency
-->
Methodology

MY Safe Address
<--
0xd052e46724C64e554F21C7d256A639d171692494
-->

Full List.csv
Here is a more comprehensive list.

The safe has been created continuously by this address.

Just creating a number of Safes with the same account is not airdrop farmingf per se - could you please elaborate on how you get to the conclusion that it's in fact airdrop farming?

Each safe is almost unused

I just checked the first address, there are a number of txs, hence "almost unused" is not really true.
(https://gnosis-safe.io/app/eth:0xC832736fbf1f5dB6a0e68C04d8A5C71C5A8D0Ef0/transactions/history)

https://github.com/safe-global/safe-user-allocation-reports/issues/301 this is the answer to 0xdf21
it's operated by 3rd party relayer service

Ultimate answer. Must see https://github.com/safe-global/safe-user-allocation-reports/issues/365

We haven't received any further information on this ticket and therefore deemed this submission invalid.
Unfortunately just the pure fact that Safes...

were created by the same address
have the same owner
conducted the same transactions
received assets from the same address

... is not enough reasoning for a valid submission, as there are legit user behaviour leading to such as well (relayer, scripts, power users, exchanges)
This submission didn't provide sufficient indicators to convince the team that there is some targeted airdrop farming behind the provided addresses. As per the rules, when in doubt we will default in favor of the airdrop recipients in order to not risk any false positives when sorting out airdrop hunters.


test(plugin-phone): add test for media state after disconnect

This is the failing test that describes the issue we are seeing with the widget upon remote party disconnect.

can this be closed?


[directxtk, directxtk12, directxmesh, directxtex, uvatlas] Add a tools feature for the command-line tools

Per feedback in another PR, the building of the command-line tools for these ports is a little confusing. The "proper" solution is to add a 'tools' feature that supports windows & !uwp & !xbox.

I'm not sure I agree that there needs to be a tools feature, but the generic "can I possibly run the outputs here" which is supposed to be NOT VCPKG_CORSSCOMPILING really needs something that makes sense here rather than reinventing the wheel every time.
How about something like VCPKG_TARGET_RUNNABLE defined as NOT VCPKG_CROSSCOMPILING OR (we know there's an emulator that works here)?

This commit adds the tools feature
https://github.com/microsoft/vcpkg/pull/30685


(forums) Look into existing Django libraries for forum implementations (Josh, Slovin, and Gio)

This issue aims to explore available Django libraries suitable for integrating a forum feature into the chigame platform. Our exploration will help identify libraries that can facilitate smooth implementation of general, game, support, and event related communities, along with features such as thread creation, commenting, liking, and moderation. An analysis of each library's suitability to our use case and ease of integration is sought to ensure a robust forum functionality. The outcome should provide a shortlist of promising libraries, from which we can select one to begin integrating into the project.

https://github.com/ellmetha/django-machina
https://github.com/rafalp/misago

It certainly looks django-machina is updated more frequently than any others,  given the recent commits. It also has good docs and extensibility for the implementation in current projects. On that same note PyBBM is looking good as for reference components (good docs and extensibility as well), but less features from what it seems.
Also, not directly a GitHub for the above, but I found this chess-game forum that is updated quite recently, but actually seems more like a personal project, so probably not the best thing to reference.
Aside from that, researching leads me to the same ones, and I think we can probably clone some repos locally that use either to see which one provides a better both user and development experience, and how able we are to make adequate and significant changes for our usage.

I would urge us to look at using Django-machina or Misago. Django-machina is far more extensive than Misago so it would be fantastic to implement at a high level in the project but, since we only have control over the forum Misago may be better to implement due to its very prebuilt nature. I would suggest that we spin up instances of both and delve into implementation.

As discussed in the team meeting, we are in agreement that we should move forward with further testing and assessment of both django-machina and Misago. To that end, issues #99 and #100 have been opened to further assess each of these libraries and I am closing this issue.

Issue Score: Excellent
Comments:
Great job on this y'all! This is a great example of a well done preliminary research issue.
Particularly good job including links, having multiple people participate, and writing a comprehensive closing comment that links relevant next-step-issues.


Update readme.md example

Hi @mcqueary,
I made a second pull request built off my earlier pull request  to update the README.MD example:

update version
in the first example, need to construct a string from bytes
in the first example, need some wait mechanism in call back handler to prevent shutdown before message received in message handler
in the first example, need to use deliver all option to receive message published before subscription created

Changes Unknown when pulling d078e65a3548cceca46c4e55ae378915ae25e6f4 on jeffkirby:update-example into ** on nats-io:master**.


feat: implements datacollection function

Adds protos for ConversationBit message.
Updates ConversationBit struct so that Created field is an int64.
Adds Markdown parsing to site JS.

Fixes #33


questionAnswers state remains undefined on update

when i insert data in login filed it shows in the console.log set state questionAnswer arguments but var that is storing questionAnswer remain undefined
key: 'handleAnswerChange',
value: function handleAnswerChange(questionId, questionAnswer) { debugger;
var questionAnswers = _.chain(this.state.questionAnswers).set(questionId, questionAnswer).value();
  this.setState({
    questionAnswers: questionAnswers
  }, this.props.onUpdate.bind(null, questionAnswers));
}

},

when i update questionAnwer it remains undefined but in the lodash function arguments it shows updated value

Hi @waheed25.
I'm not entirely sure what is happening here. If you get use the onUpdate prop, is any data getting passed back to those? I'd double check your configuration and ensure everything is ok and valid!

I'm seeing a similar issue when change panels, questionAnswers become undefined. (Not sure if is related to you case @waheed25 , may be)
I traced the issue to this line https://github.com/andrewhathaway/Winterfell/blob/master/src/index.js#L74
The issue seems to be that when componentWillReceiveProps execute, it overwrite questionAnswers with nextProps. That will reset quenstionAnswers to his original value or put undefined if not passed when defined the component.
I fixed it doing:
    this.setState({
        action          : nextProps.action,
        schema          : nextProps.schema,
        questionAnswers : Object.assign({}, nextProps.questionAnswers, this.state.questionAnswers),
    })

this way, questionAnswers is merged with his orignal state and the new values.... I don't see problems so far.

@kascote you solved changing directly node_modules/winterfell/src/index.js?


same fix for version 1.0.23

fix installation issue
fix liveQuery.subscribe issue

And here's the samples to test this SDK v 1.0.23 with livequery.
It just modified from sdk example code to make sure how it works.


Add jsDelivr links

jsDelivr is the fastest opensource cdn available and built specifically for production usage. It can serve any project from npm with zero config just like unpkg. This PR adds it to the readme as an alternative to unpkg.

@LukasDrgon I've used jsdelivr in the past, it's a great service! That said, this part of the docs is really just a quick help and not intended to communicate all various paths. Unpkg is super simple, and I'm not aware of any shortcomings in comparison to jsdelivr. Unless there's a really great reason to add it, we should keep it simple here.


added noarch build

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[?] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Update and regenerate all APIs to use self-signed JWTs

Currently this leaves Compute using self-signed JWTs. That appears to work, but we need more confirmation before the next release.

Okay, with the fix in #6967 the diff should pass...


Kibana SSO session problem with ADFS IDP

Hello,
we have two OD clusters (1.2.1 and 1.1.0 deployed with docker) that use SAML authentication configured with ADFS. Authentication works fine except the session expires after one hour which results in strange browser behavior. Instead of refreshing the token it shows the browser basic authentication popup like in the screenshot below (Chrome latest):

I have also noticed that if I delete the security_authentication cookie and refresh I get authenticated automatically.

Also, for some corporate devices connected to AD it is even impossible to authenticate as the users get the SAML authentication error page in Kibana. It can be avoided by using incognito mode.
Do you have any idea what may be causing this problem? Do we need to reconfigure the session timeouts or some specific browser/ADFS settings?
Thanks

I have almost the same problem, but in my case kibana just shows me error:
{"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred."}
In logs I see that token has been expired and it hasn't been renewed.

@tocw Have you found a solution to your issue?

Hi @pawelw1
I have not found the solution. I have also finished working with OD clusters almost a year ago.

@tocw  thanks for the reply.

We are doing some "spring cleaning in the fall", and to make sure we focus our energies on the right issues and we get a better picture of the state of the repo, we are closing all issues that we are carrying over from the ODFE era (ODFE is no longer supported/maintained, see post here).
If you believe this issue should still be considered for current versions of OpenSearch, apologies! Please let us know by re-opening it.
Thanks!


Include additional contacts from workshop request forms in possible recipients of auto-emails

In several contexts (especially for the 7 day post workshop email), it would be useful to include as recipients people listed as additional contacts in the forms.
It seems that it could be useful to create a new role for the workshops "additional-contact" (or something like this). Email addresses listed in the various additional contacts could then be assigned this role when the workshop request forms get converted into an event.
This way the email addresses would easily be accessible to the email templates and these people could be included as recipients to the automated emails.

We have a field event.contact ("Additional people to contact") for storing additional contact emails for each workshop. I'm going to use this field in the PostWorkshopAction, if you want to include it in other actions too please let me know.
As for the automatic generation of event.contact, it looks like the additional contacts from workshop request don't get copied over to event.contact during "Accept & Create a new event". If you want me to change this behavior, please create a separate ticket for it.
If you still want to create a new role for keeping additional contacts this way, please also let me know.


unmet peer dependency

hey there,
I'm still trying to make vbuild the go-to stop for vue apps in our team but I'm still struggling to set this up so new devs can easily get started. The following scenario:
I want to add a CSS library that includes sass after I vbuild inited my project.
These are the steps I currently have to do:

npm install css-lib --save => errors because of missing sass-loader
npm install sass-loader --save-dev
Errors:

UNMET PEER DEPENDENCY<EMAIL_ADDRESS>UNMET PEER DEPENDENCY<EMAIL_ADDRESS>|| ^2.1.0-beta

npm install node-sass --save-dev
Find out which version of webpack vbuild uses, and install it (even though vbuild "comes with webpack"?) This is confusing me a bit as I struggle to understand how webpack is abstracted away here. npm install<EMAIL_ADDRESS>
Then it works with a couple remaining warnings about unmet peer deps of node-sass (different versions).
Is there any way to make this a bit more straightforward?

These are the steps I currently have to do:

I think you do need to follow these steps in a typical vue-webpack project too?

Find out which version of webpack vbuild uses, and install it

Install webpack in your project does not make any sense except for disabling the unmet peerDependency error, try installing vbuild in your project instead

a bit more straightforward

um, I don't know what's the pain point for you, after did all these steps you listed above I think other devs can just come and enjoy it? no?

thanks for the clarification.

Install webpack in your project does not make any sense except for disabling the unmet peerDependency error

But isn't this necessary as of npm 3? It's an actual error, not a warning.

um, I don't know what's the pain point for you, after did all these steps you listed above I think other devs can just come and enjoy it? no?

yea you're right. At first I thought vbuild should deliver all those things out of the box but I guess it makes much more sense for me to customize for our team and provide a boilerplate repo for the team.


hyper 0.13 + futures 0.3

NOTE: I've made many many terrible decisions in this PR so far in the name of getting it to actually compile and run. Given this bottleneck is lifted, it's possible to distrubute tasks out with the code as it is despite it being less-than-optimal. Things I broke are generally marked with TODOs.

Most notably:

I disabled the caching since it used the Shared structure since it's method and lifetime requirements are incompatible with the hyper service trait
Calls to the cached structures in the Engine now require mut deref access (due to service trait) which just Arcs could not provide. Quick fix was to put std mutex in there but this is very not okay.


More energy related changes

Mostly the one hour gap is now solved on address rotation
Lowered the Node timeout to 5 seconds from 20....
Can run up to PARALLEL_LEVEL 8
We might have to discuss how/when to handle Stick/Node Exceptions

Codecov Report
Attention: 66 lines in your changes are missing coverage. Please review.

Comparison is base (bd32b1c) 73.68% compared to head (a977797) 73.74%.

Files
Patch %
Lines

plugwise_usb/nodes/circle.py
40.74%
16 Missing :warning:

plugwise_usb/nodes/__init__.py
42.30%
15 Missing :warning:

plugwise_usb/connection/receiver.py
84.09%
7 Missing :warning:

plugwise_usb/nodes/helpers/pulses.py
83.33%
6 Missing :warning:

plugwise_usb/nodes/helpers/counter.py
73.68%
5 Missing :warning:

plugwise_usb/messages/responses.py
42.85%
4 Missing :warning:

plugwise_usb/connection/queue.py
86.36%
3 Missing :warning:

plugwise_usb/messages/requests.py
85.00%
3 Missing :warning:

plugwise_usb/nodes/sed.py
0.00%
3 Missing :warning:

plugwise_usb/connection/__init__.py
66.66%
2 Missing :warning:

... and 1 more

Additional details and impacted files
@@            Coverage Diff             @@
##            async     #149      +/-   ##
==========================================
+ Coverage   73.68%   73.74%   +0.06%
==========================================
  Files          33       33
  Lines        4989     5062      +73
==========================================
+ Hits         3676     3733      +57
- Misses       1313     1329      +16

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

@ArnoutD there are conficts, I think you need to rebase your PR onto the latest version of the async-branch.


Ensure vc.type and vp.type are populated

https://github.com/microsoft-healthcare-madison/health-wallet-demo/blob/master/test/vcs.test.ts#L46 tests should reflect this.

Additional issues

@context missing
I pasted the wrong link. It’s not here: https://github.com/microsoft-healthcare-madison/health-wallet-demo/blob/master/src/fixtures/vc-jwt-payload.json should have fhir bundle inside of the credentialSubject object


Inconsistancy between md highlighting and preview

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

Create md file
paste following
ab|cd
--|--
ef\\\\| |gh
open preview
Observe difference between highlighting and preview

highlighting
preview
As you can see the highlighting makes it seem like there should be two raw backslash characters, but in the preview there is only one and one of the vertical slash characters has been escaped. I don't know which is right but they should agree.
Also other md renderers do it a different way.

This falls under #125. We don't parse tables at all right now
Closing in favor of that issue


Crashing with @napi-rs/canvas buffer, Check failed: result.second, Node.js 16

Using node v16

Are you using the latest version? Is the version currently in use as reported by npm ls sharp the same as the latest version as reported by npm view sharp dist-tags.latest?
yes
What are the steps to reproduce?
When creating a raw buffer .data() from an skr-canvas canvas, then passing it into sharp, sharp crashes (after the first or a few attempts on different instances) when using toBuffer() on this instance:
#
# Fatal error in , line 0
# Check failed: result.second.
#
#
#
#FailureMessage Object: 0x7ffceabb4970
 1: 0xb6f151  [node]
 2: 0x1bf56f4 V8_Fatal(char const*, ...) [node]
 3: 0xfc3f61 v8::internal::GlobalBackingStoreRegistry::Register(std::shared_ptr<v8::internal::BackingStore>) [node]
 4: 0xd151c8 v8::ArrayBuffer::GetBackingStore() [node]
 5: 0xab71b0 napi_get_typedarray_info [node]
 6: 0x7f097c75d1bf sharp::CreateInputDescriptor(Napi::Object) [/node_modules/sharp/build/Release/sharp-linux-x64.node]
 7: 0x7f097c766c2e pipeline(Napi::CallbackInfo const&) [/node_modules/sharp/build/Release/sharp-linux-x64.node]
 8: 0x7f097c773806 Napi::details::CallbackData<Napi::Value (*)(Napi::CallbackInfo const&), Napi::Value>::Wrapper(napi_env__*, napi_callback_info__*) [/node_modules/sharp/build/Release/sharp-linux-x64.node]
 9: 0xaadf9d  [node]
10: 0xd4a18e  [node]
11: 0xd4b5af v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [node]
12: 0x15e7959  [node]
Trace/breakpoint trap (core dumped)

That is to say, sometimes it doesn't crash, but after a few re-runs of the function, it always eventually crashes.
What is the output of running npx envinfo --binaries --system?
  System:
    OS: Linux 5.11 Ubuntu 20.04.3 LTS (Focal Fossa)
    CPU: (8) x64 Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz
    Memory: 1.83 GB / 15.22 GB
    Container: Yes
    Shell: 5.8 - /usr/bin/zsh
  Binaries:
    Node: 16.13.0 - /usr/bin/node
    Yarn: 1.22.15 - ~/.yarn/bin/yarn
    npm: 8.1.0 - /usr/bin/npm

Please can you provide a standalone repo including dependency versions in apackage.json, complete, minimal code and images that allows someone else to reproduce this.
My best guess would be that the @napi-rs/canvas module is susceptible to https://github.com/nodejs/node/issues/32463 and may need to add code to workaround a race condition when multiple Buffer instances can point to the same memory location.
sharp does not do this and is not susceptible to this problem on its own - please see #2196

@Brooooooklyn PTAL, thanks.

@louisfoster Were you able to make any progress with this?

Instead of passing the canvas data directly, I use a pool of existing instances, along with buffers they copy to, and do the copy at the end of drawing and pass this copy into sharp. There's almost no noticeable time overhead. There's a separate issue regarding memory not being released but I don't think that's relevant here.


Fix stackoverflow while generating fluentvalidation swagger data and Limit Validators discovery mechanism to only endpoint validators

Fixes #139
Fixes #140

Sorry to mix two issues in one pull request. They were very simple and felt it was ok.
Just tell me if you prefer two prs


Update publish-release.yaml

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Release 1.19.1

holoviews 1.19.1
Destination channel: defaults
Links

Upstream repository
Upstream changelog/diff
Relevant dependency PRs:

conda-forge: https://github.com/conda-forge/holoviews-feedstock/pull/107/files

Explanation of changes:

No dependency change in this patch release.

win-64 on Prefect is pending


Work Package wp-il.csv

Results of Phase 1:
wp-il-results.csv

Results of Phase 1:
wp-il-results.csv

Results of Phase 1
wp-il-results.csv

Results of Phase 2:
wp-il-results.csv

Results of phase 2:
wp-il-results.csv


[Suggestion] Improve message

What was confusing or gave you pause?
[wtrocki@graphapi cloudservices-engine (main ✗)]$ rhoas kafka list
Error: Missing client ID

After updating CLI from one version to another I got this message.
Description can be improved.

This seems to be outdated


Update avivey's mods

new versions of 2 mods

Looks good, though in the near future, we will need to move to .netkan files for ongoing maintenance in KSP-CKAN/NetKAN, as per KSP-CKAN/NetKAN#3890
Merging with thanks!


Removed log4net.ElasticSearch and replaced with ElasticLogging

Removed log4net.ElasticSearch and replaced with our own ElasticLogging as it's simpler. No way to really test this without merging however.

This is good to go but ideally need to give ElasticLogging a good stress test before merging this.

This is good to go but ideally need to give ElasticLogging a good stress test before merging this.


ExLlamaV2Cache_8bit does not work with multiple_caches.py example

Thanks for a great library and for providing multiple_caches.py example, it's really helpful to build inflight batching HTTP server on top.
I tried replacing ExLlamaV2Cache with ExLlamaV2Cache_8bit in the example to save memory in multiple_caches.py without doing other changes, and this resulted in an error:
Traceback (most recent call last):
  File "/home/user/path/multiple_caches.py", line 136, in <module>
    logits = model.forward(inputs, caches, input_mask = None).float().cpu()
  File "/home/user/path/exllamav2/venv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/home/user/path/exllamav2/venv/lib/python3.10/site-packages/exllamav2/model.py", line 534, in forward
    result, last_state = self._forward(input_ids = input_ids,
  File "/home/user/path/exllamav2/venv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/home/user/path/exllamav2/venv/lib/python3.10/site-packages/exllamav2/model.py", line 655, in _forward
    x = module.forward(x, cache = cache, attn_mask = attn_mask, past_len = past_len, loras = loras)
  File "/home/user/path/exllamav2/venv/lib/python3.10/site-packages/exllamav2/attn.py", line 427, in forward
    batch_keys, batch_values = cache[i].get_kv_state(self.layer_idx, batch_size, 0, past_len)
  File "/home/user/path/exllamav2/venv/lib/python3.10/site-packages/exllamav2/cache.py", line 186, in get_kv_state
    if width > 0: ext_c.fp8_to_fp16(self.key_states[layer_idx], temp_key_state, batch_size, offset, width)
TypeError: '>' not supported between instances of 'tuple' and 'int'

I'm using exllamav2 installed from pre-built wheel at https://github.com/turboderp/exllamav2/releases/tag/v0.0.10 using python 3.10 and CUDA 12.1 on Linux.
I tried a few naive fixes but they crashed or provided incorrect generations.
Do you think it could be that more changes are required in multiple_caches.py in order to use the 8 bit cache?

Nope, sorry for the delay. But this was a bug in the attention function. Fixed with the latest commit.

Great, thanks for the fix, it works 👍  I confirm it allows to fit more cache into memory, at a slight runtime performance penalty.


Debugger.Launch() in AzureSearchCustomHelp.Client

I had the issue that the debugger always popped up and therefore the custom help tab / the client session freezes when opening.
After some code review I found out that there is a Debugger.Launch() in AzureSearchCustomHelp.Client.searchResult(), which triggers the Debugger everytime there is a search request.

Hello @BenPoell
Thank you for your feedback!  We have published a new version of the toolkit with a bunch of bugfixes, including the one you pointed out (Debugger.Launch statement is removed). Please check out the new version from the master branch, and read about the new and changed tools here: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/help/custom-help-toolkit


sys/error: handle errors.Is for common context use-cases

When I saw the text formatted error, I immediately tried to use errors.Is to discard the error (since I called the cancel func) and wasn't able to.  This should make it more natural to handle these special exit code errors.

thanks a lot!


Changes made to the dark theme

Added a feature so that when button toggled dark and light theme appear alternatively.

Please merge my request

mention issue no.

mention issue no.

#808


additional attribute in national time series

The wrapper "cases_time_series" has an attribute named as date in national time series API  (https://api.covid19india.org/data.json). date is a reserved key word in many systems. To allow them to parse this data, please add another attribute to return the same data as data attribute.
{
"...
"dailyrecovered": "0",
"date": "30 January ",
"...
}

It's a JSON object. date is quite valid, I would say. Please handle this at the consumer end,


[Traits] Package trait description and serialization

Motivation:
This PR is the first one to land the package traits feature in Swift PM. It focuses on the new public APIs and serialization of them.
Modifications:
This PR contains:

The PackageDescription APIs used to define traits, optional dependencies based on traits and build settings based on traits
The serialization logic to encode the trait specific changes in the package description
The deserialization logic to decode the trait specific changes into the PackageModel
Validation logic for traits
Tests for all of the above

I gated the new APIs behind both the 999 availability and an SPI(Traits) to allow us to land this on main before the proposal is accepted.
Result:
We can now define a package with traits 🚀

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci test windows

@bnbarham do you think that @_spi is sufficient here, or do we need a separate CLI flag with experimental- prefix to enable it?

@MaxDesiatov @bnbarham This is both gated by a new availability and SPI. So it's really hard to access.

@swift-ci test

@bnbarham do you think that @_spi is sufficient here, or do we need a separate CLI flag with experimental- prefix to enable it?

LGTM after the ExperimentalTraits SPI change 👍

@swift-ci please test

@MaxDesiatov Fixed up your comments. Thanks for catching the bad merge w.r.t. moduleAlias stuff

@swift-ci test windows


cli: missing error check for services/prepare

Currently (Kong +0.6.0) there is no error check for this step.
e.g. I encountered this as I worked with wrongly configured SSL certificates. In consequence the nginx SSL preparation failed silently (the CLI tool reports nothing, and Kong fails to start because nginx.conf is not written under the ad-hoc directory).
What about doing something like:
for _, v in ipairs(services) do
  local obj = v(configuration, configuration_path)
  local ok, err
  ok, err = obj:prepare()
  if not ok then
    return ok, err
  end
  ok, err = obj:start()
  if not ok then
    return ok, err
  end
end

I agree, the CLI is not really reliable and a lot could be done to improve it... On a private branch I have been reimplementing many of Kong's current issues, and its CLI looks something like this:
-- init.lua (main entry point)

-- retrieve args

-- retrieve command (eg: start)
xpcall(function() cmd_execute(args) end, function(err)
  -- proper error handling, with optional stacktrace retrieval
end)

And have the actual commands simply throw errors:
-- start.lua
local function execute(args)
  assert(nginx.prepare_prefix(conf, args.prefix)) -- ok, err
  assert(nginx.start_signal(args.prefix)) -- ok, err

  print("Started")
end

return {
  -- ...
  execute = execute
}

It could probably be backported to Kong.


Add version_id to IDX_xxxx_RESOURCESLOGICAL_RESOURCE_ID index to avoid bad plans in Db2

Is your feature request related to a problem? Please describe.
The following query executed within the ADD_ANY_RESOURCE procedure was observed on one occasion to use completely the wrong index. This caused the average execution time to jump from 0.16ms to over 1500ms:
SET (?) = (SELECT resource_id FROM FHIRDATA.Observation_resources dr  WHERE dr.logical_resource_id = ?    AND dr.version_id = ?)

The bad access plan was:
| Index Scan: Name = FHIRDATA.OBSERVATION_RESOURCES_PRF_IN1 ID = 2
| | Regular Index (Not Clustered)
| | Index Columns:
| | | 1: MT_ID (Ascending)
| | | 2: RESOURCE_ID (Ascending)
| | | 3: LOGICAL_RESOURCE_ID (Include Column)
| | | 4: VERSION_ID (Include Column)
| | | 5: IS_DELETED (Include Column)
| #Columns = 1

Note: MT_ID is the tenant identifier, and is automatically included in every filter predicate as part of a row permission (row based access control) predicate.
Describe the solution you'd like
Add VERSION_ID to the definition of IDX_xxxx_RESOURCESLOGICAL_RESOURCE_ID. The index can also be unique, which should make it harder for the optimizer to ignore because stats would not be required for a cardinality estimate when picking the index.
CREATE UNIQUE INDEX IDX_xxxx_RESOURCES_LRV ON xxxx_RESOURCES (MT_ID, LOGICAL_RESOURCE_ID, VERSION_ID).
Describe alternatives you've considered
No change, and live with the current risk of a bad plan being picked under unknown circumstances.
Additional context
Awaiting feedback from Db2 support ticket.

@punktilious do you think this issue was specific to db2?  if so, I think we can close it now.

Closing as this is no longer relevant.


Preview on EU region

I don't know if this is the right place to ask, but we are very excited about Azure Container Apps. Is there any ETA when a preview might become available in the EU region?
Thanks!

It is already available in NorthEurope.

Hi @timonmasberg . CA is available now North Europe and West Europe. If They are not showing up, please run az provider register --namespace Microsoft.Web.
We will enable more regions worldwide in the upcoming months.

Thank you! We will definitely check this out!


Curly braces in callback

Forgive me, since the answer to this question will be about general Javascript knowledge, but I had not run into this problem before using react-motion.
In the simplest example:
import {Motion, spring} from 'react-motion';
// In your render...
<Motion defaultStyle={{x: 0}} style={{x: spring(10)}}>
  {value =>
{value.x}
}
</Motion>

Which works for me, if I put curly braces around the body of the callback thus:
import {Motion, spring} from 'react-motion';
// In your render...
<Motion defaultStyle={{x: 0}} style={{x: spring(10)}}>
  {
     (value) => {
{value.x}
 }
  }
</Motion>

I get an invariant violation. Am I misunderstanding what is happening here? If I explicitly return the element, I don't get the invariant violation, but the animation doesn't work.
Thank you for your patience, but some of the nuances of es2015 must be escaping me!

Never mind, I'll hit up SO.

@averykimball you forgot return. Curly braces mean that you declare function body that does not have implicit return, so you must add one.
import {Motion, spring} from 'react-motion';
// In your render...
<Motion defaultStyle={{x: 0}} style={{x: spring(10)}}>
  {
     (value) => { return
{value.x}
 }
  }
</Motion>


Making Parse public, splitting up cli.go

Actually, I'm going to split the re-organizing out from the functional change so that it's less hairy.


Gitlab hook

When a merge request is triggered, DRONE_COMMIT_LINK is set to the MR link, something like:
DRONE_COMMIT_LINK=http://example.com/diaspora/merge_requests/1

IMO, it should be set to the last commit URL:
DRONE_COMMIT_LINK=http://example.com/awesome_space/awesome_project/commits/da1560886d4f094c3e6c9ef40349f7d38b5d27d7

This PR also add DRONE_COMMIT_LINK in case of push event.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for taking the time to create a pull request, but this behavior is intentional. The build.link is to the pull request and the build.link for commit is to the commit.

@bradrydzewski The thing is, currently, DRONE_COMMIT_LINK is missing in case of push event.

The thing is, currently, DRONE_COMMIT_LINK is missing in case of push event.

Sorry I think I'm a bit confused because this pull request modifies the link for pull request events, not push events.  For pull request events we should continue using the object_attributes.url field which contains a deep link to the pull request (not the commit)
{
  "object_kind": "merge_request",
  "user": {
    "name": "Sid Sijbrandij",
    "username": "sytses",
    "avatar_url": "https:\/\/secure.gravatar.com\/avatar\/8c58a0be77ee441bb8f8595b7f1b4e87?s=80&d=identicon"
  },
  "object_attributes": {
+    "url": "https:\/\/gitlab.com\/gitlab-org\/hello-world\/merge_requests\/1",

OK then.
I created another PR to add DRONE_COMMIT_LINK for the push events: https://github.com/drone/drone/pull/2402


Dense.Apply doesn't work when length is 1

No idea why, but this was found from quickcheck testing (see dense_apply_test.go)

This bug was due to a simple error in genlib2:
Original:
case as && !incr && f0 != nil:
                       at[0], err = f0(at[0])

Correct:
case as && !incr && f0 != nil:
                       at[0], err = f1(at[0])

Fixed in bf089b5


Add feature to continuously share active url

When I'm sharing my screen on a video call or in a meeting, it's often useful to share  the links I travel through directly into a channel.
Would you be willing to accept a new feature that allows for this?
I could imagine two potential implementations via a check-box:

Update a single message with the new url each time a new page is visited, or
Start a thread and drop each new link.

This could be either polling for the browser page at a set interval, or sensing clicks and new urls from omnibox.
Curious your thoughts! Thanks so much for any attention you can give this :)

Hey @patcon, thanks for the request!
I've had a think about this and unfortunately I don't think it's something I'd feel comfortable shipping to #Clicky users, even if it was hidden behind an opt-in checkbox. There's just a bit too much potential for damage for my liking, compared to the (relatively minor) benefits.
A user could potentially enable this without realising, and I know from experience that no matter how many warnings you add, there will still be users who breeze through them without a second thought. Also, I know that (despite my best efforts) the code I write isn't perfect and that there are, and always will be, bugs. This has the potential for some pretty dangerous bugs and, from a selfish point of view, I don't want to be receiving angry emails asking why someone's special links were shared into their work #general channel!
I appreciate that this is a feature that could be useful in situations like those you've described, but I think it's just a bit too niche to justify shipping to all #Clicky users. If this was something that a large proportion of #Clicky users were requesting, then obviously I'd have to consider it.
If this is a feature you'd really like to see implemented, then I think the best solution would be to fork the repo, implement the feature, and then just run your own forked version locally. I'd be happy to point you in the right direction with this if need be.
Probably not the answer you were hoping for, but I hope you can understand the reasons behind the decision! 🙂

Cool! This makes a ton of sense Josh :)
Alternatively, might we be able to add the code with some conditional logic during build, so that the codepath doesn't run or get built into your version, but I can build another extension that does have it? (Perhaps as the only feature).
It feels like it might be fun and modular to figure out how to build two extensions from the same codebase. And this could potentially mean more people in your issue queues helping you out :)
No pressure though :)

Feel free to give it a go. I think forking the repo and modifying it from there will be the best way to move forward with it 👍


Add Filter options to FMassSmartObjectHandler::FindCandidatesAsync

Currently, when using FMassSmartObjectHandler::FindCandidatesAsync, it is only possible to specify a location to find smart objects. There is no way to filter smart objects or even set a distance, since it is determined in the processor - meaning the distance can be set globally in the project settings but the filter will only look for smart objects with USmartObjectMassBehaviorDefinition.
I believe this is an issue because by default the FMassSmartObjectRequestResult only holds 4 candidates (as a constexpr) so even if you were to try and filter after finding the candidates, it is possible that nothing will come back and you will have to try again.
A suggestion would be to let FindCandidatesAsync have a FSmartObjectRequestFilter input to let each request filter out unwanted smart objects. This can also be done with distance so it is possible to input a distance to find smart objects.
Finally, adding the features above would allow the Smart Object Eval evaluator to have some more values to change for flexibility.
As an alternative, it is always possible to simply call FindSmartObject() from the SmartObjectSubsystem which includes a filter and ability to find candidates in a range.
It is also possible that I am not using the tasks/functions as intended since this is still in development. Please let me know if I was too vague or if there are any questions.

Just to add a quick comment, I noticed the same issue with FMassSmartObjectHandler::ClaimSmartObject where there is no option to specify a filter.
This means it is not possible claim smart objects using FMassSmartObjectHandler unless all tags are default and the behavior derives from USmartObjectMassBehaviorDefinition

It would be great to have the filter option based on gameplay tags and/or MassBehaviorDefinition class. Furthermore, it would make sense to add these fields to the StateTree SmartObject Evaluator, too.
It's quite bulky to write a filter separately (and error prone), and for (probably) many use cases the status quo would mean, copying the existing solution and adjust (or make engine changes).
So yeah, please add the filter solution.

Just to add a quick comment, I noticed the same issue with FMassSmartObjectHandler::ClaimSmartObject where there is no option to specify a filter.

I think this is not a bigger issue when working with StateTrees btw. The ClaimSmartObject task has the request result of the SmartObject Evaluator as an input, and it just takes the first, if possible. So if you filter the candidates in the evaluator, ClaimSmartObject task can only claim a filtered task.


fix: format program option

index.js - options variable in parser() was overshadowing options
variable from main()

Q
A

Branch?
main for features / current stable version branch for bug fixes

Tickets

License
MIT

L94 was using options.format from parser - which was always undefined

Thanks!


Broken production depoyment and startup for Services using MongoDBAs A Service

Impact of the bug
MSRulecleaner, MSOutput, MSUnmerged
Describe the bug
Not a bug on our side but we need to track this in our project as well.
During today's  deployment of WMCore v2.1.6  in production, we did experience some issues with all services using MongoDB As A Service (either directly or through the MSOutput REST interface). The services were failing to startup with the following error: [2]. The reason is not on our side but rather on the CMSWEB cluster providing the MongoDB instance for us. Here [1] in this SNOW ticket are the details related to the broken MongoDB instance, provided by the CMSWeb Team to CERN IT in order to tackle the problem.
The issue is not related to the deployment itself. It has started on Monday and it simply went unnoticed until today.  Both MSUnmerged and MSOutput do require a direct connection to the database, so they do fail with the error mentioned above, and were filling the logs with the above exceptions on every polling cycle since Monday [09/Jan/2023:12:10:57] , but were not  failing the service itself. That's why they went unnoticed until today's deployment.
On the other hand MSRulecleaner does not require a direct database connection, but it uses the MSOutput's REST interface to reach to the data it needs. It still fails on the very first workflow (again in every polling cycle) with [3].
The problem was  also difficult to debug even during service startup today, because the output of run.sh with the pod's startup is not preserved anywhere. We had to figure out through old logs, from previous, days what the problem was.
Currently the services are  stopped. And we are waiting for resolution on the issue with the MongoDB As A Service cluster. Upon that the actions required from us is to redeploy the three services.
The problem is not present in the preprod environment - the test MongoDBAsAService cluster at mongodb-cms-test.cern.ch s working properly.
P.S. Because the service behaves differently when losing the database at runtime vs. startup time, we may consider creating two types of alarms:

based on the logs from the service - meaning to cover service errors of the type during runtime
based on the presence of the service - meaning to cover service  startup errors and preserve output from run.sh
(the liveness probe for the pods did not catch the broken service startup, I suspect, because run.sh  script somewhere forks a background continuous tail process:

_reqmgr+      11  0.0  0.0   5928  3524 ?        S    12:32   0:00 /bin/bash /data/run.sh
_reqmgr+      67  0.0  0.0   4324   576 ?        S    12:32   0:00  \_ tail -f /etc/hosts

How to reproduce it
Try to connect to a broken MongoDBAs a Service instance with any of the services above.
Expected behavior
To properly alarm about broken  service runs /polling cycles due to broken database connection.
Additional context and error message
[1]
https://cern.service-now.com/service-portal?id=ticket&table=incident&n=INC3350736
[2]
[10/Jan/2023:00:51:57] ms-output-574645cc45-jdgtk <IP_ADDRESS> "GET /ms-output/data/status HTTP/1.1" 200 OK [data: 300 in 246 out 865 us ] [auth: OK "" "" ] [ref: "" "Go-http-client/1.1" ]
2023-01-10 00:51:57,883:ERROR:MSOutput: MSOutputConsumer: Unknown exception while running Consumer thread. Error: mongodb-m7wwpbnzgide-node-0.cern.ch:32001: [Errno 111] Connection refused,mongodb-m7wwpbnzgide-node-0.cern.ch:32002: [Errno 111] Connection refused,mongodb-m7wwpbnzgide-node-0.cern.ch:32003: [Errno 111] Connection refused, Timeout: 30s, Topology Description: <TopologyDescription id: 6391c82406623b47ce13e5d4, topology_type: ReplicaSetNoPrimary, servers: [<ServerDescription ('mongodb-m7wwpbnzgide-node-0.cern.ch', 32001) server_type: Unknown, rtt: None, error=AutoReconnect('mongodb-m7wwpbnzgide-node-0.cern.ch:32001: [Errno 111] Connection refused')>, <ServerDescription ('mongodb-m7wwpbnzgide-node-0.cern.ch', 32002) server_type: Unknown, rtt: None, error=AutoReconnect('mongodb-m7wwpbnzgide-node-0.cern.ch:32002: [Errno 111] Connection refused')>, <ServerDescription ('mongodb-m7wwpbnzgide-node-0.cern.ch', 32003) server_type: Unknown, rtt: None, error=AutoReconnect('mongodb-m7wwpbnzgide-node-0.cern.ch:32003: [Errno 111] Connection refused')>]>
Traceback (most recent call last):
  File "/data/srv/HG2212d/sw/slc7_amd64_gcc630/cms/reqmgr2ms/1.1.5rc7/lib/python3.8/site-packages/WMCore/MicroService/MSOutput/MSOutput.py", line 283, in _executeConsumer
    total_num_requests = self.msOutputConsumer()
  File "/data/srv/HG2212d/sw/slc7_amd64_gcc630/cms/reqmgr2ms/1.1.5rc7/lib/python3.8/site-packages/WMCore/MicroService/MSOutput/MSOutput.py", line 526, in msOutputConsumer
    for docOut in self.getDocsFromMongo(mQueryDict, dbColl, self.msConfig['limitRequestsPerCycle']):
  File "/data/srv/HG2212d/sw/slc7_amd64_gcc630/cms/reqmgr2ms/1.1.5rc7/lib/python3.8/site-packages/WMCore/MicroService/MSOutput/MSOutput.py", line 931, in getDocsFromMongo
    for mongoDoc in dbColl.find(mQueryDict):
  File "/data/srv/HG2212d/sw/slc7_amd64_gcc630/external/py3-pymongo/4.2.0/lib/python3.8/site-packages/pymongo/cursor.py", line 1248, in next
    if len(self.__data) or self._refresh():
  File "/data/srv/HG2212d/sw/slc7_amd64_gcc630/external/py3-pymongo/4.2.0/lib/python3.8/site-packages/pymongo/cursor.py", line 1139, in _refresh
    self.__session = self.__collection.database.client._ensure_session()
  File "/data/srv/HG2212d/sw/slc7_amd64_gcc630/external/py3-pymongo/4.2.0/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1712, in _ensure_session
    return self.__start_session(True, causal_consistency=False)
  File "/data/srv/HG2212d/sw/slc7_amd64_gcc630/external/py3-pymongo/4.2.0/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1657, in __start_session
    self._topology._check_implicit_session_support()
  File "/data/srv/HG2212d/sw/slc7_amd64_gcc630/external/py3-pymongo/4.2.0/lib/python3.8/site-packages/pymongo/topology.py", line 538, in _check_implicit_session_support
    self._check_session_support()
  File "/data/srv/HG2212d/sw/slc7_amd64_gcc630/external/py3-pymongo/4.2.0/lib/python3.8/site-packages/pymongo/topology.py", line 554, in _check_session_support
    self._select_servers_loop(
  File "/data/srv/HG2212d/sw/slc7_amd64_gcc630/external/py3-pymongo/4.2.0/lib/python3.8/site-packages/pymongo/topology.py", line 238, in _select_servers_loop
    raise ServerSelectionTimeoutError(
pymongo.errors.ServerSelectionTimeoutError: mongodb-m7wwpbnzgide-node-0.cern.ch:32001: [Errno 111] Connection refused,mongodb-m7wwpbnzgide-node-0.cern.ch:32002: [Errno 111] Connection refused,mongodb-m7wwpbnzgide-node-0.cern.ch:32003: [Errno 111] Connection refused, Timeout: 30s, Topology Description: <TopologyDescription id: 6391c82406623b47ce13e5d4, topology_type: ReplicaSetNoPrimary, servers: [<ServerDescription ('mongodb-m7wwpbnzgide-node-0.cern.ch', 32001) server_type: Unknown, rtt: None, error=AutoReconnect('mongodb-m7wwpbnzgide-node-0.cern.ch:32001: [Errno 111] Connection refused')>, <ServerDescription ('mongodb-m7wwpbnzgide-node-0.cern.ch', 32002) server_type: Unknown, rtt: None, error=AutoReconnect('mongodb-m7wwpbnzgide-node-0.cern.ch:32002: [Errno 111] Connection refused')>, <ServerDescription ('mongodb-m7wwpbnzgide-node-0.cern.ch', 32003) server_type: Unknown, rtt: None, error=AutoReconnect('mongodb-m7wwpbnzgide-node-0.cern.ch:32003: [Errno 111] Connection refused')>]>
2023-01-10 00:51:57,884:INFO:MSManager: Total outputConsumer execution time: 30 secs

[3]
[09/Jan/2023:16:00:10] ms-rulecleaner-658c5d67d8-src5n <IP_ADDRESS> "GET /ms-rulecleaner/data/status HTTP/1.1" 200 OK [data: 305 in 306 out 1483 us ] [auth: OK "" "" ] [ref: "" "Go-http-client/1.1" ]
2023-01-09 16:00:24,561:ERROR:MSRuleCleaner: General exception while fetching TransferInfo from MSOutput for cmsunified_task_SMP-RunIISummer20UL16wmLHEGENAPV-00467__v1_T_220914_200134_906. Error: url=https://cmsweb.cern.ch:8443/ms-output/data/info?request=cmsunified_task_SMP-RunIISummer20UL16wmLHEGENAPV-00467__v1_T_220914_200134_906, code=500, reason=Internal Server Error, headers={'Date': 'Mon, 09 Jan 2023 15:00:24 GMT', 'Server': 'Apache', 'Set-Cookie': 'cms-auth=5c6c3ce006d168a543e689d6d8eaaaf4cab9086b0d5be89ef06b84a9b590a15430d0b2c6661e3266;path=/;secure;httponly;expires=Thu, 01-Jan-1970 00:00:01 GMT', 'Content-Type': 'text/html;charset=utf-8', 'Content-Length': '742', 'X-Rest-Status': '400', 'X-Error-Http': '500', 'X-Error-Id': '6077fcb5143aed42e12f002537fa6d0a', 'X-Error-Detail': 'Server error', 'X-Rest-Time': '30269808.054 us', 'CMS-Server-Time': 'D=30298678 t=1673276394250013', 'Connection': 'close'}, result=b'<!DOCTYPE html PUBLIC\n"-//W3C//DTD XHTML 1.0 Transitional//EN"\n"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n\n\n    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>\n    <title>500 Internal Server Error</title>\n    \n\n    \n
500 Internal Server Error
\n
Server error
\n

\n
\n      \n        Powered by CherryPy 18.8.0\n      \n
\n    \n\n'
Traceback (most recent call last):
  File "/data/srv/HG2212d/sw/slc7_amd64_gcc630/cms/reqmgr2ms/1.1.5rc7/lib/python3.8/site-packages/WMCore/MicroService/MSRuleCleaner/MSRuleCleaner.py", line 624, in getMSOutputTransferInfo
    res = self.curlMgr.getdata(url, params=params, headers=headers, ckey=ckey(), cert=cert())
  File "/data/srv/HG2212d/sw/slc7_amd64_gcc630/cms/reqmgr2ms/1.1.5rc7/lib/python3.8/site-packages/WMCore/Services/pycurl_manager.py", line 351, in getdata
    _, data = self.request(url=url, params=params, headers=headers, verb=verb,
  File "/data/srv/HG2212d/sw/slc7_amd64_gcc630/cms/reqmgr2ms/1.1.5rc7/lib/python3.8/site-packages/Utils/PortForward.py", line 67, in portMangle
    return callFunc(callObj, newUrl, *args, **kwargs)
  File "/data/srv/HG2212d/sw/slc7_amd64_gcc630/cms/reqmgr2ms/1.1.5rc7/lib/python3.8/site-packages/WMCore/Services/pycurl_manager.py", line 341, in request
    raise exc
http.client.HTTPException: url=https://cmsweb.cern.ch:8443/ms-output/data/info?request=cmsunified_task_SMP-RunIISummer20UL16wmLHEGENAPV-00467__v1_T_220914_200134_906, code=500, reason=Internal Server Error, headers={'Date': 'Mon, 09 Jan 2023 15:00:24 GMT', 'Server': 'Apache', 'Set-Cookie': 'cms-auth=5c6c3ce006d168a543e689d6d8eaaaf4cab9086b0d5be89ef06b84a9b590a15430d0b2c6661e3266;path=/;secure;httponly;expires=Thu, 01-Jan-1970 00:00:01 GMT', 'Content-Type': 'text/html;charset=utf-8', 'Content-Length': '742', 'X-Rest-Status': '400', 'X-Error-Http': '500', 'X-Error-Id': '6077fcb5143aed42e12f002537fa6d0a', 'X-Error-Detail': 'Server error', 'X-Rest-Time': '30269808.054 us', 'CMS-Server-Time': 'D=30298678 t=1673276394250013', 'Connection': 'close'}, result=b'<!DOCTYPE html PUBLIC\n"-//W3C//DTD XHTML 1.0 Transitional//EN"\n"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n\n\n    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>\n    <title>500 Internal Server Error</title>\n    \n\n    \n
500 Internal Server Error
\n
Server error
\n

\n
\n      \n        Powered by CherryPy 18.8.0\n      \n
\n    \n\n'
2023-01-09 16:00:24,562:ERROR:MSRuleCleaner: Unknown exception while running MSRuleCleaner thread Error: local variable 'transferInfo' referenced before assignment
Traceback (most recent call last):
  File "/data/srv/HG2212d/sw/slc7_amd64_gcc630/cms/reqmgr2ms/1.1.5rc7/lib/python3.8/site-packages/WMCore/MicroService/MSRuleCleaner/MSRuleCleaner.py", line 222, in execute
    totalNumRequests, cleanNumRequests, normalArchivedNumRequests, forceArchivedNumRequests = self._execute(requestRecords)
  File "/data/srv/HG2212d/sw/slc7_amd64_gcc630/cms/reqmgr2ms/1.1.5rc7/lib/python3.8/site-packages/WMCore/MicroService/MSRuleCleaner/MSRuleCleaner.py", line 263, in _execute
    self._dispatchWflow(wflow)
  File "/data/srv/HG2212d/sw/slc7_amd64_gcc630/cms/reqmgr2ms/1.1.5rc7/lib/python3.8/site-packages/WMCore/MicroService/MSRuleCleaner/MSRuleCleaner.py", line 296, in _dispatchWflow
    self.getMSOutputTransferInfo(wflow)
  File "/data/srv/HG2212d/sw/slc7_amd64_gcc630/cms/reqmgr2ms/1.1.5rc7/lib/python3.8/site-packages/WMCore/MicroService/MSRuleCleaner/MSRuleCleaner.py", line 632, in getMSOutputTransferInfo
    if transferInfo is None:
UnboundLocalError: local variable 'transferInfo' referenced before assignment
2023-01-09 16:00:24,563:INFO:MSManager: Total ruleCleaner execution time: 39 secs

I am not sure if that is related, but since yesterday we  started receiving the following alarm:
I did check and we are not the one to define that alarm. it comes from monit.
FYI @amaltaro
  {
    "annotations": {
      "description": "There is no data from ReqMgr2 CPU, please that service is running.",
      "summary": "cmsweb ReqMgr2-globalR CPU rate"
    },
    "endsAt": "2023-01-13T10:27:05.169Z",
    "fingerprint": "4792be2b2308bb55",
    "receivers": [
      {
        "name": "dmwm"
      }
    ],
    "startsAt": "2023-01-12T11:24:03.000Z",
    "status": {
      "inhibitedBy": [],
      "silencedBy": [],
      "state": "active"
    },
    "updatedAt": "2023-01-13T10:22:05.169Z",
    "generatorURL": "https://monit-grafana.cern.ch/d/cmsweb_reqmgr/reqmgr2?tab=alert&viewPanel=2&orgId=11",
    "labels": {
      "alert": "grafana",
      "alertname": "cmsweb ReqMgr2-globalR CPU rate",
      "metric": "NoData",
      "service": "reqmgr2",
      "severity": "high",
      "tag": "cmsweb"
    }
  }

And now we have the services back up and running. The issue with the MongoDB instance was figurred out to be a misbehaving of the livenes  probe of the MongoDBAsAService cluster.
I am closing the issue, here.

I forgot to mention. We have also changed  the log names for Micro services, which also added a little bit of confusion this time.
E.g.:
from:
ms-rulecleaner-20230112-ms-rulecleaner-658c5d67d8-src5n.log
to
reqmgr2ms-20230113-ms-rulecleaner-84df77fdd4-scn8x.log

@todor-ivanov concerning the logs that you mentioned above. Where have the changes being made? I might be wrong, but I expect changes to be required for both the service configuration and for CMSKubernetes yaml files as well. Please provide any commit/PRs with the changes mentioned above.

In addition to the comment above, could you please clarify what the actual problem was with MongoDB? Did we have to change the current setup? Is there any action items for the near future (regardless whether it is on us or not)? Even though I was involved in this debugging, I didn't follow all the discussions very closely, so I would appreciate if you can share this in a few sentences with the team.

Hi @amaltaro

Where have the changes being made?

I am not sure, there have been any change dedicated to log renaming itself. To me the change comes from the fact that  we renamed the pods when splitting the micro services in their own package each.
And the log name is simply created here:
https://github.com/dmwm/CMSKubernetes/blob/d1780db3ef0873a734461a254086a55d83cc5c8b/kubernetes/cmsweb/services/reqmgr2ms-output.yaml#L15

could you please clarify what the actual problem was with MongoDB?

For some unknown reason, the liveness probe for those pods serving the MongoDB As A Service instance were failing to connect, while internally the service (Mongod) was running ok. The problem has been triggered most probably because  all pods were served by a single node - node-0 initially. And then the traffic has been redirected through NodePort to it IIUC.  So node-0 (possibly) has an alias pointing to it so only this node has been attempted to be contacted directly.
When Ricardo looked at the cluster, he found the pods were served all by node-1 . Several attempts were made to rebuild the cluster such that node-0 is forced to serve them again, but the livenes probe continued to fail, which was causing a continuous restart of the service. So at some point it was switched of by @muhammadimranfarooqi and then the service got stable. I hope I am not forwarding any wrong information, @arooshap  and @muhammadimranfarooqi  may correct me if I am wrong here.   All is followed in this SNOW ticket: https://cern.service-now.com/service-portal?id=ticket&table=incident&n=INC3350736

Did we have to change the current setup?

No at the end we were left with the same setup that we were having in production so far.

Is there any action items for the near future (regardless whether it is on us or not)?

Well yes. We must do few things:

Recreate the setup that we have in the test cluster and get rid of the LoadBalancer.
Distributing all pods on multiple notes/hosts (but still using one pod per replicaset), such that similar failures are avoided in the future.
Eventually, revisit/get rid of any aliases for the entry point.

The place  to track all those items should be the dedicated Jira ticket [1], as before. And this time CERNIT people are also offering their help and advises in order to make this happen.
[1]
https://its.cern.ch/jira/browse/CMSKUBERNETES-175

Todor, thank you for this summary!

Well yes. We must do few things:
Recreate the setup that we have in the test cluster and get rid of the LoadBalancer.
Distributing all pods on multiple notes/hosts (but still using one pod per replicaset), such that similar failures are avoided in the future.
Eventually, revisit/get rid of any aliases for the entry point.

I think Panos is back from vacation. Can you please update that JIRA ticket to ensure that people know what is left to be done on this front? Of course, always keeping in mind that any action on the production MongoDBAaS needs to be properly communicated and discussed with us. Thanks

Hi @amaltaro and @todor-ivanov, I am working with Panos working to fix some issues with MongoDB. I faced some issues while creating a new testbed cluster for MongoDB. Somehow, the instructions for the mongoDB cluster setup are not enough. I will update the documentation as soon as I figure out these caveats. On the same side, I also created a new cluster for production MongoDB with the same setup that we have in the dev cluster.
The creation of the clusters is complete, however, there are some issues that I want to fix before making them available for use.
Thank you.

@amaltaro, sorry for the double ping, but we are working on fixing the issues. And we will communicate ith you if we want to make any changes. Thanks.

Thanks @arooshap
Let us know once/if our interaction is needed. One place I am sure we will need to do some changes on our side is once - once we get rid of the LB we should start  connecting  to the fully described replicaset as we do for testbed/prepropduction services. This means we will have to reconfigure the MS* services/pods  running in production which are using MongoDB. So in case you are ready to go in that  direction please let us know in advance.
Thanks once  again.

Hi @todor-ivanov, I have updates for you on the following ticket CMSKubernetes-175. Thanks.


+sw solo doesnt give return message

🐛 Bug Report
Write a description of the bug here, give all the information you can about what it is, how it happened.
+sw solo doesnt give a return message. you can check sw channel. It shouldnt be about configuration since it didnt return in the osb discord either.
https://gyazo.com/ea4fd4383a622359922f30ea58b48258
see:
https://discord.com/channels/342983479501389826/815473694327308289/931792513222725682

Chances are the bot was down, if you look above your trips you can see others have been getting the return trip fine, your next trip should finish in around 20 minutes so I will check back then :)

Chances are the bot was down, if you look above your trips you can see others have been getting the return trip fine, your next trip should finish in around 20 minutes so I will check back then :)

(https://gyazo.com/aeefba9bd4c4b865d75700689ef189b9)
https://gyazo.com/f1d522f76023328cb1399809f15bc398
Not saying your not right, but whats the chance of this happening 4 times in a row?

I believe this to have been resolved. Feel free to reopen if encountering this bug again.
(Related to early stages of slash commands)


Strange doi presentation with certain bibliography styles

Description
In springer-mathphys, doi are prefaced by https://doi.org/, but that isn't part of the link, which looks weird.
Reproduction URL
No response
Operating system
No response
Typst version

[X] I am using the latest version of Typst

It seems that Hayagriva just puts in the CSL prefix field for the DOI, which in some cases is https://doi.org/, but in others DOI: . Thus, hayagriva should make either a distinction between the two (test if the prefix itself is a url) or just include the prefix in the url, also for DOI:  prefixes.

I have the same issue. The paper I wanted to cite was https://dl.acm.org/doi/10.5555/1082161.1082202. However, using the style "springer-lecture-notes-in-computer-science", the doi 10.5555/1082161.1082202 rendered result was https://doi.org/10.5555/1082161.1082202, which is an invalid URL. I have never included the https://doi.org prefix, so I have to instead either use url (in my .bib file) or do something else.
I would really like the ability to remove the prefix. It also makes styling very difficult, as mentioned in a duplicate issue https://github.com/typst/typst/issues/2853

I have the same issue. The paper I wanted to cite was https://dl.acm.org/doi/10.5555/1082161.1082202. However, using the style "springer-lecture-notes-in-computer-science", the doi 10.5555/1082161.1082202 rendered result was https://doi.org/10.5555/1082161.1082202, which is an invalid URL. I have never included the https://doi.org prefix, so I have to instead either use url (in my .bib file) or do something else.
I would really like the ability to remove the prefix. It also makes styling very difficult, as mentioned in a duplicate issue typst/typst#2853

If you only need to remove the prefix, I think there are three quick workarounds.
The first is to use a different CSL that does not prefix https://doi.org to DOIs, e.g., ieee.
The second way is to use a nested show-rule, which replaces the https://doi.org prefix to DOI: .
#show bibliography: it => {
  show "https://doi.org/": "DOI: "
  it
}

The third way is to edit the CSL file directly. For example, you can go to the CSL's official repo to locate the CSL of springer-lecture-notes-in-computer-science and edit it to your liking. The relevant style is here. From the source code, we see that this style prefixes doi with . https://doi.org/. You could copy it and change the prefix to . DOI: , and then use the customized CSL file in Typst.
Lastly, related to your archive-specific permalink, in general, a doi refers to a permalink resolved by the DOI Foundation, and thus the prefix with https://doi.org/ is expected. Other bibliography management such as LaTeX's biblatex treats permalinks hosted by other archive systems such as those by ACM and ArXiv by supporting the fields eprint and eprinttype in your .bib file.


Shell hijacked

Minor issue.

Please provide us with the following information:

OS?  Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

Fedora 14

Versions. Please run ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:

angular-cli: 1.0.0-beta.15
node: 5.9.1
os: linux x64

Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.

install the CLI
add a new project
cd to the dir
ng test

The log given by the failure. Normally this include a stack trace and some
more information.

running ng-test on a VE without browsers ..
21 09 2016 01:32:28.076:ERROR [launcher]: No binary for Chrome browser on your platform.
Please, set "CHROME_BIN" env variable.
.. and then it seems to be impossible to exit from here.

Mention any other details that might be useful.

It's ok that I can't test without a browser, but Ctrl-C should exit back to the shell.

Thanks! We'll be in touch soon.

This seems to be a karma issue rather than a CLI issue. Please submit it in https://github.com/karma-runner/karma instead. The CLI just runs Karma when you do ng test.
As a note, ng test runs in watch mode by default... you can do ng test --no-watch to do a single run.
If you are looking for a Travis/headless browser config, I can direct you to the quickstart travis file: https://github.com/angular/quickstart/blob/master/.travis.yml


Sidecar not working after signing app - MAC OS

Discussed in https://github.com/tauri-apps/tauri/discussions/2269

Originally posted by NitinRamnani July 21, 2021
Did anyone tried to use sidecar with signed app? It seems sidecar doesn't work.

I tried to build the binary in examples/sidecar on Mac OS M1 CPU.
The bundled dmg installed and work fine from my machine.
If I uploaded the bundled dmg to my AWS server and download it. Then it does not work. the sidecar binary is not code signed.
I have tried my own sidecar app, same issue when I download the bundled dmg from my AWS server.


Stop assigning cards to users that are not declared in the Jira config

Problem

We get the Jira users from jira.toml
We choose the assignee from the GitHub teams, with their github id https://github.com/DataDog/ddqa/blob/8fa87c458b83e6254b3594b0b743eba97ca1a60e/src/ddqa/screens/create.py#L210-L240
Finally we get the Jira user using the metadata from the github user last second before creating the card https://github.com/DataDog/ddqa/blob/89b44ae8b2a85091505afadb556091437aef7aee/src/ddqa/utils/jira.py#L94-L95
If the user is not found in the config, well, we do not assign the card at all. Oupsy.

What does this PR do?
The idea here is to directly translate the GitHub users into Jira users to make sure we have them in the Jira config and we do not end up creating a QA card without an assignee. It can still happen though if none of the team members are declared in the config, but that would be caught by https://github.com/DataDog/ddqa/pull/72 and by the checks in github-metadata that I'd like to put in place
Additional notes
https://datadoghq.atlassian.net/browse/AITS-210

Approved with some suggestions and a question: Would it be worth trying test the top-level scenario that we're trying to address? I do see how randomness can make it a bit difficult, though.

I also added some tests to the get_assignee function. They are pretty basic with only one or two users to avoid issues with randomness. If needed I can mock the choice method. Let me know what you think.
I also spotted a bug: if we assign a card to the user that opened the PR, we used to not update the assignment_counts dict.


Fix assignment to nil map.

Ensure that Tickets loaded from the database are returned with empty maps instead of nil maps.
To be back-ported to 1.1.0 release.
Closes #332

I will move the rest of the helper functions in to helper.go in a future PR. I want to keep this one as small as possible for the backport to 1.1.0.


pd: deny http prefix

Currently configuration accepts both host:port and http://host:port, and save with "http://" prefix in memory then remove the "http://" prefix when connecting to remote. I propose to just deny "http://" prefix to make things clear and simple.

But we may support https, how to handle it later?

This can be controlled through additional configuration entries. In fact, we at lease need an additional "cert" configuration to enable SSL support.

LGTM
PTAL @overvenus

It is a breaking change, clusters using "http://..." may fail to update to the latest tikv, if it is merged to master.

Yes. And more configuration refactoring is coming, it's going to be broken.

If not compatibility, send to pre-ga branch.

FYI, TiDB also denies "http://" prefix.

LGTM
PTAL @disksing


Always Unable to connect

Using the demo can not connect the device, I am using a Bluetooth microcontrollers.

I am also in the same situation. Is there a solution?

Always Unable to connect，how ?


File upload: upload button not visible

Please reduce the size of the select file or drag here area so that the cancel and start upload buttons are visible in the window by default without requiring scrolling.
-Maulik

duplicate issue as #1810

close this issue since the duplicate one, i.e., #1810, was closed.