Game stops when 2048 is reached and weird display when string input starts with dghb and contains more than 1 char

jeu() works properly until 2048 is reached,  "Vous avez Gagné!" is then displayed and then the game stops, return in if(estGagnant(plateau) must be removed and a bool variable must be added to contain the information on wether the game has previously been won or not(tested it by changing estGagne() to consider that the game is won when a smaller value is reached, it works). FIXED
Also when a string input such as dh begins with dghb it is accepted, the movement is made but plateau isn't properly drawn, input_dhgb()'s condition has to be changed. NOT FIXED
Maybe adding "Q" condition to input_dhgb() and ideplacement_dhgb() to finish the game in addition to it ending when estTermine(plateau) is true might be a good idea. ADDED

managed to handle incorrect user input and added Q
did your implementation of estGagnat() work properly?
if so we'll merge the code this afternoon

Changes have been implemented for jeu(), also quitting after winning option has been added.


[AUTH-388] config/packages/p/namespace.yaml: set pod security admission labels

Summary

This sets pod security admission labels. Currently, none are set and starting with OpenShift 4.13 this generates warnings in Telemetry. This fixes it.
Refer to https://kubernetes.io/docs/concepts/security/pod-security-standards/ to further tighten the labels potentially to the recommended restricted level.
Change Type

Bug Fix

Check List Before Merging

[ ] This PR passes all pre-commit hook validations.
[ ] This PR is fully tested and regression tests are included.
[ ] Relevant documentation has been updated.

Additional Information

/ok-to-test

/lgtm
/approve


make errors in phiSpy non-fatal. Annotation can continue afterwards

@scanon, @sychan -  Please merge. An error in phiSpy is causing the entire RAST annotation to fail without returning output from the other tools.

Added code so none of the error coming back from a single tool cause the entire annotation to fail. This can be a problem when annotating a long list of genomes with the same tools. Failures of an individual genome in the middle can be easily overlooked.

I think it's confusing to have a failure_not_fatal flag if it will always be ignored I recommend either adding it to all the calls or removing it entirely

@JamesJeffryes  - This is an artifact of the order in which I found the errors. Some of the tools that already have the change I made for phispy (failure_is_not_fatal = true) are still failing and causing problems for RAST. I didn't want to make massive surgery on the revered kb_seed/genome_annotation until 1) I saw if this really is the source of the problem and 2) I better understood the nearly 30,000 lines of code. I'm trying to work in small reversible steps. I could take out all the references to failure_is_not_fatal  but how long would it take to find the unintended consequences?
The commit to phispy is really not needed if the second commit is merged. It merely makes the phispy tool look like the other tools in that section of code.

I'm just take the perspective of a future dev trying to figure out why failure_is_not_fatal exists. I'd don't have merge powez so we'll have to apeal to a higher power anyway

If it fixes the problems, I can clear up the confusion next.

@JamesJeffryes, @scanon , @sychan - Can I get this change merged so I can close a ticket and a weakness of the RAST annotation pipeline? We have a refactor of RAST scheduled for the tech debt this quarter and I can spend more time then finding all the potential pitfalls in clearing up what looks like the possible confusion mentioned above.


Add 1chan

I'd love to be able to archive the entire board at http://www.1chan.net/rail/
Thanks!

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 24 Jan 2013 at 2:12

Moving to #917


Use actions/checkout@v4 in test helper

Merge / deployment checklist

[x] Confirm this change is backwards compatible with existing workflows.
[x] Confirm the readme has been updated if necessary.
[x] Confirm the changelog has been updated if necessary.

Oh, you'll want to run npm run build to create the autogenerated transpilation files that are missing.

Oh, you'll want to run npm run build to create the autogenerated transpilation files that are missing.

Thanks! Will do that immediately. 🙂


Working on Project Plan DL 16.6.

Draft plan ready. Sen for comment to customer.

Comments from customer and Arto received. Updates made. Plan ready.


Release PR for v2.11.1

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #331 (9c98c12) into master (cd3b9e7) will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #331      +/-   ##
============================================
+ Coverage     58.84%   58.86%   +0.01%
- Complexity     1205     1206       +1
============================================
  Files           131      131
  Lines          5066     5066
  Branches        593      593
============================================
+ Hits           2981     2982       +1
  Misses         1809     1809
+ Partials        276      275       -1

Impacted Files
Coverage Δ

...ava/com/amazonaws/xray/AWSXRayRecorderBuilder.java
69.29% <0.00%> (+0.87%)
:arrow_up:

Continue to review full report at Codecov.

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


x/tools/gopls: add method documentation & jump to page source to hovered type.

gopls version
Build info ---------- golang.org/x/tools/gopls v0.15.2<EMAIL_ADDRESS>h1:4JKt4inO8JaFW3l/Fh9X1k/5JQn+iUOpdc4/Lpi0mOs=<EMAIL_ADDRESS>h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak=<EMAIL_ADDRESS>h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=<EMAIL_ADDRESS>h1:2O2DON6y3XMJiQRAS1UWU+54aec2uopH3x7MAiqGW6Y=<EMAIL_ADDRESS>h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8=<EMAIL_ADDRESS>h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ=<EMAIL_ADDRESS>h1:vcVnuftN4J4UKLRcgetjzfU9FjjgXUUYUc3JhFplgV4=<EMAIL_ADDRESS>h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=<EMAIL_ADDRESS>h1:No0LMXYFkp3j4oEsPdtY8LUQz33gu79Rm9DE+izMeGQ=<EMAIL_ADDRESS>h1:KUas02EjQK5LTuIx1OylBQdKKZ9jeugs+HiqO5HormU=<EMAIL_ADDRESS>h1:oFEHCKeID7to/3autwsWfnuv69j3NsfcXbvJKuIcep8=<EMAIL_ADDRESS>h1:G3QvahNDmpD+Aek/bNOLrFR2XC6ZAdo62dZu65gmwGo=<EMAIL_ADDRESS>h1:lyBNOm8Wo71UknhUs4QTFUNNMyxy2JEIaKKo0RWOh+8= go: go1.22.1
go env
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/tobigiwa/.cache/go-build'
GOENV='/home/tobigiwa/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/tobigiwa/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/tobigiwa/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.22.1'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/home/tobigiwa/mod/tools/gopls/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2583342046=/tmp/go-build -gno-record-gcc-switches'

What did you do?
No error, just feature request.
What did you see happen?
Hover on user defined type, or any type with method just shows method signature only. Most of the time, I'll like to know what these method do and be able to jump into them easily.
What did you expect to see?
Method docs and jump to page source in hover popup.
Editor and settings
Nothing extra.
Logs
No response

from

I suspect this change could make the hover popup very long indeed.
Also, one typically needs just a brief reminder of which methods are available on the type. If you need to study the methods more closely, you can jump to their definition, or (in the forthcoming release) open the documentation for the type.

P.S. thanks for sending a potential fix, but in the future it's really worth discussing the desired behavior before starting to write code.

@adonovan I was only looking at the slack channel for response on this, I sincerely did'nt notice you have said something here 4 days ago. Thanks for taking the time.
Regarding your earlier comment, I can summarize your concerns into 2: Performance and Utility, correct?.
Regarding performance, I did not notice any difference (from my computer here, which is entirely not enough 😆), but if there is a way to benchmark or show something tangible to convince you instead, please let me know.
In the case of it utility, I actually borrowed the feature from a popular Go IDE (you know which, refrainning from naming), which is quite helpful and useful for me (also not enough, lot of people use Gopls). If it utility, I cannot argue for much I'll suppose.

If it only performance, please let me know how to go about it.
P.S. thanks for sending a potential fix, but in the future it's really worth discussing the desired behavior before starting to write code.
I was just too excited I guess, digging into Go internals, for next time... I would have this in mind.

Regarding your earlier comment, I can summarize your concerns into 2: Performance and Utility, correct?.

My concern was only about the user experience; I don't expect performance to be a problem. The complete documentation for all the methods of a type seems like a lot of information to show in a popup. Perhaps you could attach a screenshot of the feature in the "popular IDE" that might demonstrate the desired effect.
You might also be interested in a new feature in the upcoming gopls/v0.16.0 release: an integrated viewer for Go package documentation; see https://cs.opensource.google/go/x/tools/+/master:gopls/doc/release/v0.16.0.md.

Just looked at the Integrated documentation viewer, that very cool. So, regarding the implementation of this feature in the "known IDE", it looks like this.;

You'll notice the method name are url (underline), when you click them...

The full type popup tears down then this 👆, to get back, you just press the type name in the receiver. Seems nice, but this would require HTML, which is sanitized in vscode-go

I don't know why it showing the copy thing... guessing Github, like I mentioned, I could not test this out, since the html was sanitized.

Re-opening so we can discuss this in our triage meeting.

Re-opening so we can discuss this in our triage meeting.

Oh...this is good, I did see the word "triage" in the contribution guide ( I did'nt keep in my head, I'll look it up again). I had another thought about implementing what the "popular IDE" have.
As the LSP specs dictates,  the return from Hover can be a MarkString, []MarkString or MarkUpContent. If we can an array of MarkString or MarkUpContent, the other items would be the docs, so the 0 item, would be the popup has we have it before, each method having a url that point to a ith item for it docs. The solution would involve touching both the lsp and each editor client.
I just want to mention this too.

I think we're very limited in what we can do in a hover popup, and the current content was chosen to be as dense as possible while retaining readability. A documentation viewer (forthcoming in<EMAIL_ADDRESS>is a better place to view documentation.

This is sad 😔🙁


Make interface Tree extend Traversable

map function for Tree: http://en.wikibooks.org/wiki/Haskell/The_Functor_class

Traversing a Tree
A Tree has an order, pre-order by default. The order may be changed, however, then a new Tree instance is created - for that node only. Different nodes of a tree may have a different order associated with. If a node is traversed, the order of the current node is taken into account when traversing all nodes. There are different methods to traverse a tree:

traverse() - uses the actual order of the node
traverse(Tree.Order) - uses a specific order and ignores the actual order of the current node
preOrder() - depth first
postOrder() - post order
inOrder() - in order
levelOrder() - breadth first

Implementing Traversable and Monad
When implementing Traversable most methods will return a Seq, according to the underlying order of the tree. Internally the tree is traversed to perform these operations.
Interesting is, how to flatten or flatMap a tree - this is not clear. A binary search tree for example, having only values at the leafs, could be flatMapped as follows:
interface Tree<A> {
    default Tree<B> flatMap(Function<A, Tree<B>> f) {
        return Match.ofType(Tree.class)
                .caze((Nil nil) -> nil)
                .caze((Leaf leaf) -> f.apply(leaf.value))
                .caze((Node node) -> new Node<>(node.left.flatMap(f), node.right.flatMap(f)))
                .apply(this);
    }
}

A good point to start is to take a look at the behavior of scalaz tree:

Example of flatten: http://stackoverflow.com/a/20926958/1110815
Howto start Scalaz REPL: http://stackoverflow.com/a/16528434/1110815

Please consider to let traverse() return Seq<Tree<T>> instead of Seq<T>

A scala worksheet is probably not the ideal way to test it, but it works:
import scalaz._, Scalaz._

object App extends TreeFunctions {

  val t = node(List(List(1)), Stream(node(List(List(2)), Stream(leaf(List(List(3, 4), List(5))))), leaf(List(List(4)))))

  def test1 =
    t.flatMap(l => leaf(l.flatten)).drawTree

  def test2 =
    t.flatMap(l => node(l.flatten, Stream(leaf(l.flatten), leaf(l.flatten)))).drawTree

}

App.test1

App.test2

Output:
res0: String = [1]
|
+- [2]
|  |
|  `- [3,4,5]
|
`- [4]

res1: String = [1]
|
+- [1]
|
+- [1]
|
+- [2]
|  |
|  +- [2]
|  |
|  +- [2]
|  |
|  `- [3,4,5]
|     |
|     +- [3,4,5]
|     |
|     `- [3,4,5]
|
`- [4]
   |
   +- [4]
   |
   `- [4]

The above example leads to (not tested if this compiles or makes sense):
interface Tree<A> {
    default Tree<B> flatMap(Function<A, Tree<B>> f) {
        return Match.ofType(Tree.class)
                .caze((Nil nil) -> nil)
                .caze((Leaf leaf) -> f.apply(leaf.value))
                .caze((Node node) -> {
                    final Tree<B> tree = f.apply(node.value)
                    new Node<>(tree.value, tree.children.appendAll(this.children.map(c -> c.flatMap(f))))
                })
                .apply(this);
    }
}

For BinaryTrees with values at inner nodes and leafs I think of

map a node.value a to a Tree
add node.children as children to each leaf of the mapped tree of 1.

This implies, that the empty tree is not allowed! We should omit it and use an Option to express the existence of a Tree.

Looking at the methods of Traversable, there are many methods, where it makes sense to return Tree instead of Seq, opposing as stated above.
Especially looking at the transformational operations, they can be divided into

transforming values, e.g. replace(Object, Object)
transforming structure, e.g. sliding(int, int)

Thoughts on return types...
Conversion (return type as in Seq / not Tree)

toJavaArray(Class)
toJavaList()
toJavaMap(Function)
toJavaSet()
toJavaStream()

Basic operations (return type as in Seq / not Tree)

clear() (return type empty Tree)
head()
headOption()
init()
initOption()
isEmpty()
last()
lastOption()
length()
tail()
tailOption()

Mutation (return type unclear)

append(Object)
appendAll(Iterable)
insert(int, Object)
insertAll(int, Iterable)
prepend(Object)
prependAll(Iterable)
set(int, Object) (return type Tree)

Filtering (return type Tree)

distinct()
distinct(Function)
filter(Predicate)
remove(Object)
removeAll(Object)
removeAll(Iterable)
retainAll(Iterable) (<-- return type unclear)

Numeric operations (return type as in Seq / not Tree)

average()
product()
sum()

Reduction (return type as in Seq / not Tree)

fold(Object, BiFunction)
foldLeft(Object, BiFunction)
foldRight(Object, BiFunction)
foldMap(javaslang.algebra.Monoid, Function)
join()
join(CharSequence)
join(CharSequence, CharSequence, CharSequence)
max()
maxBy(Comparator)
min()
minBy(Comparator)
reduce(BiFunction)
reduceLeft(BiFunction)
reduceRight(BiFunction)

Selection (return type as in Seq / not Tree)

drop(int)
dropRight(int)
dropWhile(Predicate)
findAll(Predicate)
findFirst(Predicate)
findLast(Predicate)
get(int)
indexOf(Object)
lastIndexOf(Object)
subsequence(int)
subsequence(int, int)
take(int)
takeRight(int)
takeWhile(Predicate)

Side-effects (return type void)

forEach(Consumer)
peek(Consumer)
stderr()
stdout()

Tests (return type boolean)

contains(Object)
containsAll(Iterable)
exists(Predicate)
existsUnique(Predicate)
forAll(Predicate)

Transformation of Structure (return type mostly Seq)

combinations()
combinations(int)
flatMap(Function)
flatten() (return type Seq<Tree>)
flatten(Function) (return type Seq<Tree>)
grouped(int)
(TODO(#110): groupBy)
intersperse(Object)
partition(Predicate)
permutations()
reverse()
sliding(int)
sliding(int, int)
sort()
sort(Comparator)
span(Predicate)
splitAt(int)
treeMap(Function)

Transformation of Values (return type Tree)

map(Function)
replace(Object, Object)
replaceAll(Object, Object)
replaceAll(UnaryOperator)
unzip(Function)
zip(Iterable)
zipAll(Iterable, Object, Object)
zipWithIndex()

Traversion (return type Iterator)

iterator(int)

With #473 most of the work is done now.

Implement traversal strategy (Order) via https://dzone.com/articles/strategy-pattern-implemented-as-an-enum-using-lamb

We also need to resolve the Value.toTree conversion TODO then.

Tree should have insert(Tree) and insert(int, Tree) (see #570)

To get the Traversable methods work we need an initial order for a Tree. We will take an approach that is analogue to using a Comparator for a SortedMap or SortedSet. Here are the main points:

The Empty tree node will have an order.
Trees are build upon the Empty tree node.
In general the order of an existing tree is never changed.
Maybe we will provide an API to transform the order of a Tree.

Additionally there will be a method traverse(Order) which returns either an Iterator or a Seq of the tree nodes in the given order (return type currently open).

Implement traversal strategy (Order) via https://dzone.com/articles/strategy-pattern-implemented-as-an-enum-using-lamb

For reasons of a small serialization footprint we will go with an enum Order

The Node order has to be specified explicitly because the child nodes could have different Order:
Node(Order order, T value, List<Node<T>> children);

There are too many questions regarding the order. For now we leave the Empty and Node constructor argument order away. The Tree still remains ordered. By default Tree.Order.PRE_ORDER (= depth-first order) is used. This is what traverse() returns. If another order is needed, traverse(Order) may be used, which returns a Seq (currently a Stream).


base_query example needed

I have difficulties in getting the base_query to work.
My Question model belongs to a Region and my blueprint is defined like this:
class Question < ActiveRecord::Base

  XapianDb::DocumentBlueprint.setup(:Question) do |blueprint|
    blueprint.attribute :title, as: :string
    blueprint.attribute :region_name do
      region.name
    end
    blueprint.base_query { |q| q.includes(:region) }
  end

  belongs_to :region
end

So I took the base_query pretty straight from the Readme where it says blueprint.base_query { |p| p.includes(:addresses) }
Now, when I try to reindex the xapian database it says:
NoMethodError (undefined method `includes' for nil:NilClass):

What am I doing wrong?

Hi Mika
Try blueprint.base_query { Question.includes{ [:region] } }
Please note that a base query is optional

Hi,
That did not work. It didn't complain anything but resulted in N+1 queries.
Instead, this works
    blueprint.base_query do
      Question.includes(:region)
    end

My fault. Since we are using squeel, the syntax is a little different. Glad it works for you now.


Implement Like Action endpoint route

As a customer
I need capability to like a listed recommendation
So that I can share my feedback towards the recommendation
Details and Assumptions
We need the ability to perform the following action on recommendations

like a recommendation

Acceptance Criteria
Given the ability to like a recommendation
When an action is performed
Then the number of likes of the corresponding recommendation increases

Have to discuss whether adding new attributes to database model

Details to implement Like Action:

Add like section in DB, which stores a boolean value (default False)
User perform like action > Check if like is False then update to true, vice versa


Recognize recipes containing themself

What problem are you trying to solve?
I accidentally included a recipe in itself. The StackoverflowError should be avoided, and a clear error message should be presented.
Describe the solution you'd like
Check any nested recipe to not be in the "already seen" set at the beginning of the initialization request.
Additional context
---
type: specs.openrewrite.org/v1beta/recipe
name: myrecipes
displayName: My recipes
description: Accidentially contains itself
recipeList:
  - myrecipes

java.lang.StackOverflowError
    at org.openrewrite.config.DeclarativeRecipe.initialize (DeclarativeRecipe.java:96)
    at org.openrewrite.config.DeclarativeRecipe.initialize (DeclarativeRecipe.java:91)
    at org.openrewrite.config.DeclarativeRecipe.initialize (DeclarativeRecipe.java:106)
    at org.openrewrite.config.DeclarativeRecipe.initialize (DeclarativeRecipe.java:91)

Are you interested in contributing this feature to OpenRewrite?

Yes.

Hah, not the first time seeing that indeed; would be good to have that handled explicitly; thanks for offering to help!


Pubsub publisher model and dynamic topics publishing

The current client model, which creates a Publisher for each topic Publisher.defaultBuilder("TOPIC_NAME"), which becomes a  bit prohibitive in use cases where the consumers could publish messages to multiple topics.
In that scenario we would need to create one publisher for each topic, and since those publishers seem to consume some resources (like connections to the server) we could end up with unbounded number of those objects lying around.
What's odd is that the gRPC api that is defined for pubsub actually does not follow this pattern since one could have different PublishRequests objects while sending to the server.
Other brokers such as Kafka or RabbitMQ allows users to specify topics or exchanges just as simple Strings while the publisher that has the connection factory is shared amongst users of the library.
Such model would help us designing a more intuitive Spring MessagingTemplate for google pubsub as we would not need to take care of the control of Publisher instances

@garrettjonesgoogle WDYT?

@pongad @davidtorres @saturnism take a look

Also @kir-titievsky take a look

@viniciusccarvalho Vinicius, what are you thoughts on using the gRPC interface directly? Our general thinking has been that the client library is for end users and the gRPC service APIs are for client library developers. You are a client library developer in this case.

@kir-titievsky Using gRPC interface directly has definitely come up, but we thought using the library would avoid rewriting some of the features of the library, and would also benefit the library from additional battle testing.

@kir-titievsky I'd rather not use it to be honest. My question is around the use for end users too, at least I believe sending data to multiple topics (let's put aside the partitioning ideas we discussed before) it's something that most users would want to.
And in our specific use case, we would like to write a Spring Message Template. A Message template within Spring mostly follows a pattern of send(String destination, Message message)
There are nuances and overloaded methods, but for JMS/AMQP/Kafka they all follow that pattern. The template usually holds one connection factory to those brokers (which could have 1-* pooled connections)
The current pubsub client (unlike the version prior to 0.8) does not follow this pattern. And it's just a question around the feasibility of this signature be also supported:
Publiser.defaultBuilder().build() and perhaps have a publish(PublishRequest) instead of publish(PubSubMessage)

@meltsufin Makes sense.
Technical question for the benefit of the ignorant (me): can you not share an executor among multiple clients to achieve most of this result?  If true, I recognize this is not the most polished solution, but at least workable.

We might be able to set the executorProvider on the Publisher to avoid creating too many threads per topic.
I think part of the reason the library doesn't let you change the topic on the Publisher is that there is some kind of message batching that it's doing, and that would have to change to batch by topic within a single Publisher.

there is some kind of message batching that it's doing

This is correct. In our testing, this has increased the throughput of Publisher easily by an order of magnitude on a single core machine.
How "bounded" are these topics? Do you have a few known topics you need to publish to? Or is this something like reading topic name from user input?

How "bounded" are these topics? Do you have a few known topics you need to publish to? Or is this something like reading topic name from user input?

Since we're using it in framework code, we couldn't really know how many topics the app might want to write to. Presumably, it's a small set.
Perhaps, a viable approach would be to create a MultiTopicPublisher that just uses the simple Publisher under the hood and shares the thread pool.

Yes I understand the need for batching. On the previous version of the client I had to batch myself. But it was basically a map of <string,pubsummessage> that was sent in batches either when a timeout happened or a maximum number of messages.
The approach described by @meltsufin is what we ended up doing for now. There's a PublisherFactory that return Publishers by topic and creates them sharing the same executor, and stores them on a Map

I understand the use case. I think I have a reasonable solution in mind, but I want to play with it a little more. I'll keep this thread posted.

At the moment, we'd like to focus on stabilizing our current feature set. We will loop back to this when we prioritize additional features.
In the meantime, can I suggest Guava's Cache?

This has been added to our feature backlog: https://github.com/GoogleCloudPlatform/google-cloud-java/wiki/Feature-backlog . This issue will be closed but is linked in the backlog and can continue to be used for comment and discussion.

Hi there!
Omitting courtesy ;)
Is there any chance for this to be developed? My use case is mirroring Kafka cluster to PubSub using
linkedin/Brooklin. I have pretty large number of topics (let's say 1k per cluster). I don't know exact number but even 100 topics could be assigned to single brooklin worker at the same time. It obviously could lead us to some performance issues.
If you don't plan to deliver such a feature any time soon, could you recommend us some workaround?

@wikp The workaround is to essentially create a separate publisher per topic dynamically. We do this in Spring Cloud GCP.
See here.

@meltsufin thanks, I do it the same way, we'll see how it performs later this week :)


Unreachable/misconfigured Sentry hangs the Elixir app

Environment

Elixir version (elixir -v): 1.9.1
Erlang/OTP version (erl): 22
Sentry version (mix deps): 7.2.0
Operating system: macOS 10.13

Description
If Sentry is misconfigured or otherwise can't reach the API, and is configured to use the Logger backend, any Logger usage in the app will hang indefinitely after a certain number of attempted logged messages.
Expected Behavior
The app continues to work and logger messages are dropped or otherwise properly handled when Sentry is misconfigured/unreachable.
Actual Behavior
The app hangs indefinitely on any Logger call after a number of failures.
Steps to Reproduce
See https://github.com/dkulchenko/sentrytestcase. This is a basic Phoenix app configured with mix phx.new, but I've added a task supervisor to the supervision tree, added sentry, and set up the logger backend in application.ex.
From within this app, if you run mix run test.exs, the output will be:
processing item 1
processing item 2
processing item 3
processing item 4
processing item 5
processing item 6
processing item 7
processing item 8
processing item 9
processing item 10
processing item 11
processing item 12
processing item 13
processing item 14
processing item 15
processing item 16
processing item 17
processing item 18
processing item 19
processing item 20
processing item 21

and then hangs indefinitely. If the Sentry logger backend is removed, the test case processes all 1000 items as expected.
Note that I haven't configured Sentry at all in config.exs, but I'm guessing this would happen as well if it was properly configured but the API was unreachable/down.

@dkulchenko thanks for opening an issue! I've identified the cause and am working on a fix.

Thanks @mitchellhenke :)

@dkulchenko absolutely, and thank you for discovering the issue!


zoxide not working on yazi, though it is working normally on the terminal

What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
wezterm 20240203-110809-5046fc22
yazi --debug output
Yazi
    Version: 0.3.3 (7c445ce 2024-09-04)
    Debug  : false
    OS     : linux-x86_64 (unix)

Ya
    Version: 0.3.3 (7c445ce 2024-09-04)

Emulator
    Emulator.via_env: ("xterm-256color", "WezTerm")
    Emulator.via_csi: Ok(Unknown([Sixel]))
    Emulator.detect : WezTerm

Adapter
    Adapter.matches: Sixel

Desktop
    XDG_SESSION_TYPE           : Some("wayland")
    WAYLAND_DISPLAY            : Some("wayland-1")
    DISPLAY                    : Some(":1")
    SWAYSOCK                   : None
    HYPRLAND_INSTANCE_SIGNATURE: None
    WAYFIRE_SOCKET             : None

SSH
    shared.in_ssh_connection: false

WSL
    WSL: false

Variables
    SHELL              : Some("/home/lucca/.cargo/bin/nu")
    EDITOR             : Some("/home/lucca/user_installs/helix/target/release/hx")
    VISUAL             : None
    YAZI_FILE_ONE      : None
    YAZI_CONFIG_HOME   : None

Text Opener
    default: Some(Opener { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
    block  : Some(Opener { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })

Multiplexers
    TMUX               : false
    tmux version       : No such file or directory (os error 2)
    ZELLIJ_SESSION_NAME: Some("cubic-lemon")
    Zellij version     : 0.40.1

Dependencies
    file             : 5.45
    ueberzugpp       : No such file or directory (os error 2)
    ffmpegthumbnailer: No such file or directory (os error 2)
    magick           : No such file or directory (os error 2)
    fzf              : No such file or directory (os error 2)
    fd               : No such file or directory (os error 2)
    rg               : No such file or directory (os error 2)
    chafa            : No such file or directory (os error 2)
    zoxide           : 0.9.6
    7z               : No such file or directory (os error 2)
    7zz              : No such file or directory (os error 2)
    jq               : 1.7

--------------------------------------------------
When reporting a bug, please also upload the `yazi.log` log file - only upload the most recent content by time.
You can find it in the "/home/lucca/.local/state/yazi" directory.

Describe the bug
zoxide not working on yazi, though it is working normally on the terminal
zoxide existed with error code 1
Minimal reproducer
just press z
Anything else?
this is my machine:
                     lucca@pop-os
     a8888b.         ------------
    d888888b.        OS: Pop!_OS 24.04
    8P"YP"Y88        Host: pop-os
    8|o||o|88        Uptime: 30 minute(s)
    8'    .88        Kernel: 6.9.3-76060903-generic
    8`._.' Y8.       System OS version: 24.04
   d/      `8b.      NB CPUs: 4
  dP        Y8b.     CPU: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz @ 3499 GHz
 d8:       ::88b.    GPU #1: HD Graphics 620
d8"         'Y88b    GPU #2: GM108M [GeForce 940MX]

:8P           :888    Memory: 5631/15776 MiB
8a.         a88P
./"Yaa     .| 88P|    ████████████████████████
\    YP"    |     .  ████████████████████████
/     .__.d|    .'
--..__)     ..'
Validations

[X] I tried the latest nightly build, and the issue is still reproducible
[X] I updated the debug information (yazi --debug) input box to the nightly that I tried
[X] I can reproduce it after disabling all custom configs/plugins (mv ~/.config/yazi ~/.config/yazi-backup)

also:
zoxide 0.9.6

I've looked at zoxide's repo and there's nothing explaining where to find logs, so I couldn't read any logs from zoxide

fzf              : No such file or directory (os error 2)

You don't have fzf installed.
fzf is required for zoxide's interactive mode to work, see the zoxide doc here https://github.com/ajeetdsouza/zoxide?tab=readme-ov-file#installation

I would put a * on https://yazi-rs.github.io/docs/installation
in this line [zoxide](https://github.com/ajeetdsouza/zoxide) (for historical directories navigation)
explaining below, in the *, that you have to install fzf

Actually, we should be able to check if the user has fzf installed in Yazi and give them a prompt if they don't. Would you like to file a new issue for that as a record? I'll try to implement it then

Actually, we should be able to check if the user has fzf installed in Yazi and give them a prompt if they don't. Would you like to file a new issue for that as a record? I'll try to implement it then

awesome! will do

https://github.com/sxyazi/yazi/issues/1851


Next.js 15 compatibility

It's funny that I asked the same for Next.js 14 in https://github.com/BitPatty/next-image-s3-imgproxy-loader/issues/432 😄
Next 15 was recently released, and while attempting to upgrade the same project, it is failing because of the peer<EMAIL_ADDRESS>|| ^14.0.0" statement. Is there any chance you could take a look? I'm unsure if it would be just adding ^15.0.0 in there.
Thank you in advance!

Hi Sebastian,
Thanks for the heads-up :)
I extended the scope in v0.13.0.

Working wonderfully, thank you very much! :D


Too many issues for react in mix

Problems with bootstrap fonts which I know someone found a hack around it.
Problems with adding React to mix.
Now  having this problem. I'm going back to the elixir right now but there should be a large warning sign saying "Hey this is experimental" because this is not ready for primetime at all.
By the way the css-base is file is in the right place and the index.jsx is also in the right place.
These dependencies were not found in node_modules:

/Users/joe/code/php/39dgv54/resources/assets/js/components/tryon/index.jsx
./../../../node_modules/css-loader/lib/css-base.js

Did you forget to run npm install --save for them?
Asset      Size  Chunks             Chunk Names
/js/components/index.js   6.48 kB       0  [emitted]  /js/components/index
ERROR  Failed to compile with 2 errors
These dependencies were not found in node_modules:

/resources/assets/js/components/tryon/index.jsx
./../../../node_modules/css-loader/lib/css-base.js

Did you forget to run npm install --save for them?
Asset      Size  Chunks             Chunk Names
/js/components/index.js   6.45 kB       0  [emitted]  /js/components/index
mix-manifest.json  58 bytes          [emitted]
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev"
npm ERR! node v6.5.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! @ dev: node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @ dev script 'node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the  package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/joe/code/php/39dgv54/npm-debug.log

It's not a hack to set the icon path for Bootstrap. It's the recommended approach for Webpack.
I can't help with your React issue unless you give me exact steps to reproduce your problem.

Sorry if I sound like a douche just used to having everything work out the box with laravel. I never really post issues but been trying to get mix to work since yesterday 3pm. I'll give this another try in the future it's too early stages for me

I'm confused. You created an issue here. Do you want us to help solve the problem? Post some of your code so we can see why Webpack can't find those dependencies.

Just ran the exact same code nothing changed at all and now getting a complete different error.
following the documentation..
heres the mix file
mix
  .sass('resources/assets/sass/app.scss', 'public/css')
  .js('/resources/assets/js/components/tryon/index.jsx', 'public/js/components')
  .webpackConfig({
    module: {
      rules: [
        {
          test: /\.jsx?$/,
          loader: 'babel',
          query: {
            presets: ['es2015', 'react'],
          },
        },
      ],
    },
  });

joes-Mac-mini:39dgv54 joe$ npm run dev

> @ dev /Users/joe/code/php/39dgv54
> node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
 73% optimize/Users/joe/code/php/39dgv54/node_modules/extract-text-webpack-plugin/index.js:259
				var shouldExtract = !!(options.allChunks || chunk.isInitial());
				                                                  ^

TypeError: chunk.isInitial is not a function
    at /Users/joe/code/php/39dgv54/node_modules/extract-text-webpack-plugin/index.js:259:55
    at /Users/joe/code/php/39dgv54/node_modules/extract-text-webpack-plugin/node_modules/async/dist/async.js:3025:16
    at eachOfArrayLike (/Users/joe/code/php/39dgv54/node_modules/extract-text-webpack-plugin/node_modules/async/dist/async.js:941:9)
    at eachOf (/Users/joe/code/php/39dgv54/node_modules/extract-text-webpack-plugin/node_modules/async/dist/async.js:991:5)
    at Object.eachLimit (/Users/joe/code/php/39dgv54/node_modules/extract-text-webpack-plugin/node_modules/async/dist/async.js:3089:3)
    at ExtractTextPlugin.<anonymous> (/Users/joe/code/php/39dgv54/node_modules/extract-text-webpack-plugin/index.js:257:10)
    at Compilation.applyPluginsAsync (/Users/joe/code/php/39dgv54/node_modules/tapable/lib/Tapable.js:71:13)
    at Compilation.seal (/Users/joe/code/php/39dgv54/node_modules/webpack/lib/Compilation.js:525:7)
    at Compiler.<anonymous> (/Users/joe/code/php/39dgv54/node_modules/webpack/lib/Compiler.js:397:15)
    at /Users/joe/code/php/39dgv54/node_modules/tapable/lib/Tapable.js:103:11
    at Compilation.<anonymous> (/Users/joe/code/php/39dgv54/node_modules/webpack/lib/Compilation.js:445:10)
    at /Users/joe/code/php/39dgv54/node_modules/webpack/lib/Compilation.js:417:12
    at /Users/joe/code/php/39dgv54/node_modules/webpack/lib/Compilation.js:332:10
    at /Users/joe/code/php/39dgv54/node_modules/async/lib/async.js:52:16
    at done (/Users/joe/code/php/39dgv54/node_modules/async/lib/async.js:246:17)
    at /Users/joe/code/php/39dgv54/node_modules/async/lib/async.js:44:16
    at errorAndCallback (/Users/joe/code/php/39dgv54/node_modules/webpack/lib/Compilation.js:202:5)
    at errorOrWarningAndCallback (/Users/joe/code/php/39dgv54/node_modules/webpack/lib/Compilation.js:225:13)
    at /Users/joe/code/php/39dgv54/node_modules/webpack/lib/Compilation.js:229:12
    at onDoneResolving (/Users/joe/code/php/39dgv54/node_modules/webpack/lib/NormalModuleFactory.js:29:20)
    at /Users/joe/code/php/39dgv54/node_modules/webpack/lib/NormalModuleFactory.js:85:20
    at /Users/joe/code/php/39dgv54/node_modules/async/lib/async.js:726:13
    at /Users/joe/code/php/39dgv54/node_modules/async/lib/async.js:52:16
    at done (/Users/joe/code/php/39dgv54/node_modules/async/lib/async.js:241:17)
    at /Users/joe/code/php/39dgv54/node_modules/async/lib/async.js:44:16
    at /Users/joe/code/php/39dgv54/node_modules/async/lib/async.js:723:17
    at /Users/joe/code/php/39dgv54/node_modules/async/lib/async.js:167:37
    at /Users/joe/code/php/39dgv54/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:24:19
    at onResolved (/Users/joe/code/php/39dgv54/node_modules/enhanced-resolve/lib/Resolver.js:38:18)
    at /Users/joe/code/php/39dgv54/node_modules/enhanced-resolve/lib/Resolver.js:127:10

npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev"
npm ERR! node v6.5.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! @ dev: `node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script 'node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the  package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/joe/code/php/39dgv54/npm-debug.log

So I just created a fresh project and followed the React setup instructions:

npm install babel-preset-react --save-dev
Add .babelrc with contents.

{
  "presets": [
    [
      "es2015",
      {
        "modules": false
      }
    ],
    "react"
  ]
}

npm install react react-dom

Set webpack.mix.js to:

const { mix } = require('laravel-mix');

/*
 |--------------------------------------------------------------------------
 | Mix Asset Management
 |--------------------------------------------------------------------------
 |
 | Mix provides a clean, fluent API for defining some Webpack build steps
 | for your Laravel application. By default, we are compiling the Sass
 | file for the application as well as bundling up all the JS files.
 |
 */

mix.js('resources/assets/js/app.jsx', 'public/js');

Set resources/assets/js/app.jsx to:

import React from 'react';
import ReactDOM from 'react-dom';

ReactDOM.render(

Hello world
,
  document.getElementById('app')
);

Compile: npm run dev

Everything worked perfectly.
**Do you possibly have a different version of Webpack installed globally? I know that the Webpack API changed, and caused some older versions to throw that error with certain packages.

Ok so i ran what I had with your babelrc and your example
mix
  .sass('resources/assets/sass/app.scss', 'public/css')
  .js('resources/assets/js/app.jsx', 'public/js/components')
;

and Got the same error
> @ dev /Users/joe/code/php/39dgv54
> node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
 73% optimize/Users/joe/code/php/39dgv54/node_modules/extract-text-webpack-plugin/index.js:259
				var shouldExtract = !!(options.allChunks || chunk.isInitial());
				                                                  ^

TypeError: chunk.isInitial is not a function
    at /Users/joe/code/php/39dgv54/node_modules/extract-text-webpack-plugin/index.js:259:55
    at /Users/joe/code/php/39dgv54/node_modules/extract-text-webpack-plugin/node_modules/async/dist/async.js:3025:16
    at eachOfArrayLike (/Users/joe/code/php/39dgv54/node_modules/extract-text-webpack-plugin/node_modules/async/dist/async.js:941:9)

Then i removed the sass in the mix just to see what happened
mix
  .js('resources/assets/js/app.jsx', 'public/js/components')
;

Got this error which is different

 ERROR  Failed to compile with 1 errors

This dependency was not found in node_modules:

* /Users/joe/code/php/39dgv54/resources/assets/js/app.jsx

Did you forget to run npm install --save for it?
                Asset      Size  Chunks             Chunk Names
/js/components/app.js   1.55 kB       0  [emitted]  /js/components/app
    mix-manifest.json  54 bytes          [emitted]

Can you paste your package.json file here?

 You've switched over to Laravel Mix now, so remove all Elixir and Gulp references, and then reinstall from scratch. And don't pull in laravel-mix-react. You don't need that.

Ok we got some progress.
I deleted everything from gulp and elixir.
I deleted nodemodules and ran yarn install so it can start fresh
and got this error.

 error  in ./resources/assets/js/components/tryon/index.jsx

SyntaxError: Unexpected token (20:2)

  18 | //ROOTAPP
  19 | ReactDOM.render(
> 20 |   <Provider store={newstore}>
     |   ^
  21 |   <App/>
  22 | </Provider>, document.querySelector('.tryonRoot'));
  23 |

 @ multi ./resources/assets/js/components/tryon/index.jsx ./resources/assets/sass/app.scss

                  Asset      Size  Chunks             Chunk Names
/js/components/index.js    6.8 kB       0  [emitted]  /js/components/index
      mix-manifest.json  58 bytes          [emitted]

It's saying unexpected token because it doesn't understand that JSX for some reason. You can see here, in our setup/webpack.config.js file, that we do process .jsx files.
        {
            test: /\.jsx?$/,
            exclude: /(node_modules|bower_components)/,
            loader: 'babel-loader' + Mix.babelConfig()
        }

My guess is that this is happening because you don't have a .babelrc file in your project root that has:
{
  "presets": [
    [
      "es2015",
      {
        "modules": false
      }
    ],
    "react"
  ]
}

Jesus Christ almost 24 hours later got this working.
anyone having the same issue I got it working

i was missing the "L" from .babelrc

I did not have babel-plugin-add-module-exports
npm i --save-dev babel-plugin-add-module-exports

Clean up Your package list
package.json

{
  "private": true,
  "scripts": {
    "dev": "node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    "watch": "node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    "hot": "node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
    "production": "node node_modules/cross-env/bin/cross-env.js NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
  },
  "devDependencies": {
    "axios": "^0.15.2",
    "babel-core": "^6.7.2",
    "babel-eslint": "^7.1.0",
    "babel-loader": "^6.2.4",
    "babel-plugin-add-module-exports": "^0.2.1",
    "babel-plugin-syntax-decorators": "^6.13.0",
    "babel-plugin-transform-class-properties": "^6.6.0",
    "babel-plugin-transform-decorators-legacy": "^1.3.4",
    "babel-plugin-transform-runtime": "^6.6.0",
    "babel-preset-airbnb": "^2.0.0",
    "babel-preset-es2015": "^6.1.18",
    "babel-preset-react": "^6.22.0",
    "babel-preset-react-hmre": "^1.1.1",
    "babel-preset-stage-0": "^6.16.0",
    "babel-preset-stage-1": "^6.1.18",
    "babel-runtime": "^6.6.1",
    "babel-tape-runner": "^2.0.1",
    "bootstrap-sass": "^3.3.7",
    "browser-sync": "^2.15.0",
    "classnames": "^2.2.5",
    "connect-history-api-fallback": "^1.3.0",
    "cropperjs": "^0.8.1",
    "eslint": "^3.3.1",
    "eslint-config-airbnb": "^10.0.1",
    "eslint-find-rules": "^1.13.0",
    "eslint-plugin-babel": "^3.3.0",
    "eslint-plugin-flow-vars": "^0.5.0",
    "eslint-plugin-flowtype": "^2.15.0",
    "eslint-plugin-import": "^1.14.0",
    "eslint-plugin-jsx-a11y": "^2.1.0",
    "eslint-plugin-react": "^6.1.2",
    "html2canvas": "^0.5.0-beta4",
    "imagemin-pngquant": "^5.0.0",
    "immutability-helper": "^2.1.1",
    "in-publish": "^2.0.0",
    "jquery": "^3.1.0",
    "laravel-mix": "^0.6.0",
    "lodash": "^3.10.1",
    "method-override": "^2.3.6",
    "react": "15.3.2",
    "react-addons-css-transition-group": "^15.4.2",
    "react-addons-transition-group": "^15.3.2",
    "react-addons-update": "^15.3.2",
    "react-dom": "15.3.2",
    "react-ga": "^2.1.2",
    "react-google-maps": "^4.11.0",
    "react-redux": "^4.0.0",
    "react-router": "^2.7.0",
    "react-sparklines": "^1.6.0",
    "redux": "^3.0.4",
    "redux-form": "^6.0.2",
    "redux-promise": "^0.5.3",
    "standard": "^8.4.0",
    "strip-loader": "^0.1.2",
    "vue": "^2.0.1",
    "webpack": "^2.0.0",
    "webpack-dashboard": "^0.2.0",
    "webpack-stream": "^3.2.0",
    "webpack-vendor-chunk-plugin": "^1.0.0"
  },
  "dependencies": {
    "babel-preset-react": "^6.22.0",
    "bootstrap": "^3.3.7",
    "css-loader": "^0.26.1",
    "react": "^15.4.2",
    "react-dom": "^15.4.2"
  }
}

I deleted the nodemodules folder

ran on terminal
npm  -g update
npm install
npm update

and for the hell of it
yarn install
yarn upgrade
Now everything works. Is it as easy as elixir or gulp ... no... but it works... just stick through it

The main issue here was that your package.json file was a mess, so you weren't using the version of Webpack that you thought you were.

@JeffreyWay Thank you for sticking it out with me this last few hours.


Add support for \authorrunning

This fixes https://github.com/sieversMartin/LNI/issues/36 by adding a special command \authorrunning inspired by the command by Springer's LNCS class .

Okay, I'll add something to the documentation and the template as well.

With this PR, the documentation has a new section "Page header":


taskRoutes && prefetchData

Hi, first: thanks for your awesome work.  How are we supposed to wait for API response to render the html on client side now ?

My bad, we have to use 'react-jobs'

Hey @Gregcop1, yeah, you don't have to. It's just an option. :)


[2.6] Error generating self-signed Rancher certificate

Rancher Server Setup

Rancher version: 2.6.0
Installation option (Docker install/Helm Chart): helm

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): kubeadm 1.21

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: 1.21
Cluster Type (Local/Downstream): local

Describe the bug

On a fresh install, when I try connecting to the rancher service using ClusterIP, Pod IP or domain pointing to ClusterIP, browser shows SSL_ERROR_INTERNAL_ERROR_ALERT. The domain is the same as in chart values.
To Reproduce

Install Rancher 2.6.0 using helm3 with rancher-generated certificate on single-node cluster created with kubeadm.
Result
Expected Result

Screen with info about unknown CA.
Screenshots

Additional context

cert-manager version: 1.5.3
Cluster is IPv6 only. Everything works in Rancher 2.5.9

Never mind, it version 2.6.2 works.


Doubt in perm parameter of TopK pooling layer

My question is related to TopK pooling layer. I would like to know if I understood properly the return parameters, in specific the perm parameter. This parameter contains a list of the old positions of the nodes used in the new graph, isn't it?

The perm variable denotes the indices of the top-k scores in each example. The wording perm might not be the best choice here, I will change that.

If I want to recover the pos of these nodes, I can do it using the perm variable, Am I right?

Yes.


feat(camgear): optimise threaded queue implementation speed

Perform benchmark requested by @abhiTronix at https://github.com/abhiTronix/vidgear/pull/21 and also optimise the threaded queue implementation.
Description

Replace regular queue.full checks followed by sleep with implicit sleep due to blocking queue.put
Replace regular queue.empty checks followed by queue.nowait_get with a  blocking queue.get with implicit empty check

Requirements / Checklist

[x] I have read the PR Guidelines.
[x] I have read the Documentation.
[x] I have updated the documentation accordingly(if required).

Related Issue
https://github.com/abhiTronix/vidgear/pull/21
Context
We are working to improve the speed of this reader under i/o bound and cpu bound situations.
Types of changes

[x] New feature (non-breaking change which adds functionality) --> enhanced speed

Screenshots (if available):
  # clone the repository and get inside
  git clone https://github.com/abhiTronix/vidgear.git && cd vidgear

  # checkout the latest development branch
  git checkout development

  # install normally
  pip install .

Was used to run:
https://github.com/bml1g12/benchmarking_video_reading_python/blob/d42ac5769334378d52bfbfcb607161847dd20f7a/video_reading_benchmarks/benchmarks.py#L235
Which is listed as camgears_with_queue_official.
The current master branch is camgears
And this PR is camgears_bml1g12_pr

@bml1g12 OK, this was smart. Merging. 👍🏽
But make sure to sure to open issue first and rebase to testing for next PR. More information here:  https://abhitronix.github.io/vidgear/contribution/PR/#submitting-pull-requestpr-guidelines

@bml1g12 OK, this was smart. Merging. 👍🏽
But make sure to sure to open issue first and rebase to testing for next PR. More information here:  https://abhitronix.github.io/vidgear/contribution/PR/#submitting-pull-requestpr-guidelines

@bml1g12 Successfully Merged and Resolved 🚀

@bml1g12 Successfully Merged and Resolved 🚀


Remove pointer-events:none from .disabled

This issue directly relates to #14104 where by adding the the styling class .disabled buttons stopping working altogether.  While on the surface this change makes sense and the reasoning on the pull is not bad I believe this change should be removed for the following reasons

Handling the click for a disabled button allows the developer to give the user valuable insight into why the button is disabled.
pointer-events is a directive which controls behavior and not styling.  Behavior should be handled by Javascript.

On the first point I think it is valuable to provide feedback when a user clicks a disabled button so that they know why it is disabled.  Think a password change form where the two fields do not match.  When they click submit[1] we can give them the exact reason the form is invalid.  Additionally, this user interaction matches the behavior the user sees if the server needs to do a second level of validation which fails because that happens after clicking the submit button.
The second point is perhaps a little, or a lot, dogmatic.  CSS should change only the way the page looks.  It makes things bigger, smaller, flashier, move etc.  In my opinion, and I feel like it is a prevailing view point, CSS should not change the behavior of an element.  pointer-events is a case where CSS does change behavior by making the button not handle clicks.  It would be better to tell BS users to ignore events in JS if that is the behavior they want since this is a trivial problem.  I have this CSS / JS split so ingrained in my head (as I suspect others do) that I spent load of time trying to figure out why my button was not clickable after upgrading bootstrap.
As far as a road forward I would propose that .btn.disabled should allow events since .btn[disabled] already exists and will block events.
[1] Users might notice the button looks disabled but they are still going to click it the best we can do with styling is give the hints at the correct path :smile:
PS: I do apologize for the long issue description.  I thought about making it much shorter but was concerned the nuances would be lost and thus my reasoning.

Is this regarding Bootstrap v3, or v4? I think we're loath to have much more churn on this in v3 (given #16092, #16778).

I think it is valuable to provide feedback when a user clicks a disabled button so that they know why it is disabled.

To be fair, there's a trick to work around that: http://getbootstrap.com/javascript/#callout-tooltip-disabled
It is hacky though.

As far as a road forward I would propose that .btn.disabled should allow events since .btn[disabled] already exists and will block events.

It blocks them for <button>s, but not for s. s have no [disabled] attribute (why god, why?!).
But yeah, pointer-events:none leaves a lot to be desired; e.g. it doesn't prevent keyboard users from "clicking" on the element.

I am using v3 and can workaround the issue for our usage so a fix aimed at v4 would be fine.  I made the issue because others could hit it in the future and I wanted to save them the trouble

Thoughts on changes to pointer events, @patrickhlauke?

(FWIW, I agree with the OP that we should remove it.)

though conceptually i agree, the main problem i can see is that [1] requires developers to actually code their stuff properly to handle the case where a click was fired, but that it was on a disabled control. though i guess that if we didn't even try to prevent it, it would be fairly obvious to them during testing that they need to handle this correctly (plus adding extra text in the documentation to that effect, i.e. "this only makes the control appear to be disabled, it'll still work...so make sure you change your code accordingly".
however, this would also mean that any of bootstrap's own code needs to make sure it's not being called on a disabled control either.
as for the separation of concerns of [2], that train left the station a long time ago IMO (see also touch-action which breaks that presentation vs behavior membrane)

We're sticking with it for now then <3.


doc(B024): #14455 add annotated but unassgined class variables

Summary
Closes #14455, migrated from https://github.com/astral-sh/docs/pull/106.
Test Plan
Updating the documentation probably does not need a test.

@dylwil3 it's fine to merge documentation changes because we rarely mention them in the changelog :sweat_smile:


arsc: missing methods for resources

there are currently only get_{string,bool,color,dimen,id,public,integer}_resources but there are more resource types.

+layout: #549


[WIP] Determinism of the F# Compiler #1042

Add --deterministic+ option to fsc.exe to make compilation deterministic given exactly the same inputs, using similar logic to that of Roslyn.
See discussions on #1042 for background for what they did for C# and VB.net
Progress

[x] Add deterministic option to WriteILBinary options
[x] Add as +/- to CompileOps.fsi
[x] Throw error if AssemblyVersionAttribute set to *, add error resource
[x] Change F# to determinstic MVID in PE and PDB
[x] Change F# to determinstic timestamp in PE
[ ] Add tests

Background reference:

CoreCLR: Proposed CLR spec change: allow timestamp header to be deterministic hash with upper bit 1
Roslyn: [Umbrella] Compilers should be deterministic: same inputs generate same outputs
Roslyn: Add support for /features:deterministic for msbuild (fixes timestamp and MVID)
Roslyn: Produce PDBs with deterministic GUIDs
@jaredpar: Deterministic builds in Roslyn
Core: What is a portablePdb ?

C# Behaviour
Wildcard vs. Deterministic

https://github.com/dotnet/roslyn/blob/master/src/Compilers/CSharp/Portable/Symbols/Source/SourceAssemblySymbol.cs#L2149
https://github.com/dotnet/roslyn/blob/master/src/Compilers/Core/Portable/VersionHelper.cs#L43

C# error message is generic version format, see example below when compiling a cs file
C:\Work>csc simple.cs
Microsoft (R) Visual C# Compiler version <IP_ADDRESS>109
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Work>csc /deterministic simple.cs
Microsoft (R) Visual C# Compiler version <IP_ADDRESS>109
Copyright (C) Microsoft Corporation. All rights reserved.

simple.cs(3,28): error CS7034: The specified version string does not conform to the required format - major[.minor[.build[.revision]]]

MVID and Timestamp

PEWriter.cs
PdbWriter.cs

To create the MVID and time stamp with repeatable unique values the compiler uses cryptographic hashes. It takes the content of the PE with the above entries set to 0 and runs it through a SHA1 3 hash. The resulting 20 bytes are then carved up into a GUID (16 bytes) and a time stamp entry (4 bytes, high bit always set). A similar operation is performed for the PDB ID. This means the above values will be repeatable and unique for a given set of inputs.
The combination of the explicit ordering guarantee and the predictable values for MVID, PDB ID and timestamp allow us to produce fully deterministic PE outputs from the compiler. They will be identical byte for byte.

@davidglassborow,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@dsyme I've yet to add tests for this (I'm having problems with the tests on master at the moment), but wanted to get your feedback on if this looks like the correct approach.
A couple of questions:

Are there other ways to set a version apart from 'AssemblyVersionAttribute' ?  The undocumented --version fsc.exe option seems to be deprecated (warning FS0075: The command-line option '--version' has been deprecated), and doesn't support wildcards (error FS0204: Invalid version string '2.1.*.*')
I've coped the command line description from C#, if this gets merged, I didn't know if there was anything I should do to update the fsc docs with new command line for the online docs

... but wanted to get your feedback on if this looks like the correct approach.

@davidglassborow The code looks right to me!

Are there other ways to set a version apart from 'AssemblyVersionAttribute' ? The undocumented --version fsc.exe option seems to be deprecated (warning FS0075: The command-line option '--version' has been deprecated), and doesn't support wildcards (error FS0204: Invalid version string '2.1..')

I think that's the only way right now

I've coped the command line description from C#, if this gets merged, I didn't know if there was anything I should do to update the fsc docs with new command line for the online docs

That seems fine. I suppose the docs would get updated separately.

@dsyme I've made good progress for the exe and for portable and embedded pdbs.  The problem comes with debug:full or debug:pdbonly.
For mono this is fine because it uses the mdb file which is deterministic.
For windows it uses the native symbol writer, and this seems to generate guid and timestamps internally.  Looks like the roslyn team made a version of the native symbol writer that supports deterministic pdb generation (https://www.nuget.org/packages/Microsoft.DiaSymReader.Native/).
Given the push towards portable pdbs, I'm wondering about not supporting deterministic builds in the debug:pdbonly and debug:full scenarios, but am unsure how much of an issue that would be.
Otherwise we could add a new package dependancy for the native reader, and use that (see rosyln's version.
Any thoughts ?  cc/ @jaredpar @KevinRansom @cartermp

@davidglassborow Great work!

Given the push towards portable pdbs, I'm wondering about not supporting deterministic builds in the debug:pdbonly and debug:full scenarios, but am unsure how much of an issue that would be. Otherwise we could add a new package dependancy for the native reader, and use that (see rosyln's version.

I've not strong opinions - certainly the work is valuable as is - I'm personally fine with the extra package dependency and it helps engineering to align with what Roslyn do.

Looks like the roslyn team made a version of the native symbol writer that supports deterministic pdb generation

Note that it's not fully deterministic.  True it allows us to control the PDB ID and other inherently non deterministic values.  But the resulting PDB is still not yet byte for byte deterministic.  It's being looked at but don't have a firm ETA for it.

Thanks @jaredpar, is there a roslyn issue # I can use to track progress of this ?  Also is the source to that nuget package open source ?

Thanks @jaredpar, is there a roslyn issue # I can use to track progress of this ?

Not sure if we have an issue tracking full determinism in the native PDB writer.  @tmat will know if we do.

Also is the source to that nuget package open source ?

Doubtful.  It's not a package we own.

We do not have Roslyn issue - since it's not code we own. The code is not open source.
BTW, I'm working on extracting some of the native PDB writer code into a common library as public API (Microsoft.DiaSymReader.dll), so that other tools and compilers can use it directly without copying Roslyn internal implementation. You might want to wait for that: https://github.com/dotnet/roslyn/issues/19297.

There is one item in the check list that I wanted to comment on based on our Roslyn experience: tests
Unit tests were excellent in helping us establish determinism in sub-systems of the compiler.  As well as helping us lock down on bugs in those areas.  But unit tests, no matter how many we added, were not enough to validate determinism.
Determinism is a feature than is ultimately about the integration of all the various pieces of the compiler against all the possible inputs it can deal with.  Hence it's much better suited to have full integration tests.
The best integration test we found is the roslyn source code itself.   On every PR we have a job dedicated to:

Build the current compiler.
Build the entire roslyn source tree with the fresh compiler. Record SHA1 hash of every DLL output
Build the entire roslyn source tree with the fresh copmiler again.  Compare SHA1 hash with previous build.

Until we had this job we were a bit falsely confident in the deterministic capabilities of the compiler.  Adding this job was a humbling experience and revealed a host of corner case bugs we'd missed.  Now though we have it in place and feel very confident about our feature.
I highly suggest F# consider a similar approach to testing.

@davidglassborow I think we could get some smoke tests in now (just a couple of simple ones) and take this PR - it's great work
@jaredpar FOr some reason I'm not so pessimistic - AFAIK this PR really does address the sources of non-determinism.  But we'll see :)

@dsyme

FOr some reason I'm not so pessimistic

I'm always inherently terrified I will break anything that I don't have a ton of testing for 😄

@dsyme okay I'll look at some simple smoke tests.  Are there any examples in the current test suite of the sort of thing your thinking ?
Also I want to specifically test the the guid inside the exe matches the one in the pdb files.  Can you think of any existing tools or approach I could use for this ?  (I'm wondering if there are standard CLR IL or debugging tools that would do the job)

@dsyme okay I'll look at some simple smoke tests. Are there any examples in the current test suite of the sort of thing your thinking ?

Perhaps compile something like tests\fsharp\core\libtest\test.fsx  or one of the large similar files

Also I want to specifically test the the guid inside the exe matches the one in the pdb files. Can you think of any existing tools or approach I could use for this ? (I'm wondering if there are standard CLR IL or debugging tools that would do the job)

I don't know of tools to crack the PDB, sorry.  There must be some

@dsyme I've finally had time to have a look at this again.  I've added tests\fsharp\core\libtest\test.fsx as test case.
Given the native dependancy on sorting out debug:full and debug:pdbonly (https://github.com/dotnet/roslyn/issues/19297), and that that the embedded pdb uses compression which makes it very hard to sort out mvid without large scale restructuring of the code, I suggest we make --deterministic support only builds with no debug info.  If your happy with this I'll add an appropriate error.

I think Roslyn currently is more or less fully deterministic when creating portable pdbs, but when creating old-school pdbs, two compilations may produce equal assemblies but different pdbs.
Disallowing PDB generation overall would make this feature, in my honest opinion, close to useless.
Would it be possible to instead only allow --deterministic in combination with portable pdbs in the first step? Support for native pdbs may or may not be added later then, npdbs are in the process of being phased out and replaced with portable anyway.

I think Roslyn currently is more or less fully deterministic when creating portable pdbs, but when creating old-school pdbs, two compilations may produce equal assemblies but different pdbs.

This is mostly correct.  Let me state the actual rules.
When given deterministic input and the /deterministic switch:

DLL / EXE will be produced fully deterministic.  No other qualification is needed here (including the type of PDB being produced).
Portable PDB will be produced fully deterministic.
1, Native PDB will be produced in a non-deterministic fashion.  The actual data bytes within the PDB are deterministic but the non-data bytes (gaps between fields) are non-deterministic.

There are rare occasions you will find the native PDB produced is fully deterministically.  That should be considered "by luck" than "by design".

Disallowing PDB generation overall would make this feature, in my honest opinion, close to useless.

Agree.  In particular because I'm very hopeful the fix for native PDBs is coming.  If F# does the work now to be fully deterministic for portable and as detererministic as possible for native.  Then once this fix is available it should be a simple NuGet package upgrade for F#.

Re Windows PDBs: AS far as I can tell F# is currently using the SymWriter that's globally registered by .NET Framework:
https://github.com/Microsoft/visualfsharp/blob/de67934a8c64f57ee18356f4d94a1edc2df7fdca/src/absil/ilsupp.fs#L1016
That version is not being updated, other than security fixes. To get the version that supports determinism (modulo gaps between fields) F# will need to start using the SymWriter from Microsoft.DiaSymReader.Native.nupkg, like Roslyn does. Once the native implementation is fixed to be fully deterministic this package will be updated and F# can get full determinism for free. But work needs to be done to move to this package first.
Coincidentally, I'm currently working on extracting some of the code that Roslyn uses for Windows PDB writing to Microsoft.DiaSymReader.dll making it easier for other PDB producers to write correct PDBs. See https://github.com/dotnet/symreader/tree/master/src/Microsoft.DiaSymReader/Writer.
Let me know if you have any questions.

Okay I'll plan to get deterministic portable pdbs in this PR, and leave the native pub support to later on when the native sym writer is fully deterministic (and use the Microsoft.DiaSymReader nuget package to do so).  @tmat @jaredpar did either of you know of any command line tools I can use as part of the tests to confirm the MVID identifiers between the exe and pdbs match ?

For Portable and Embedded PDBs: mdv.exe
https://dotnet.myget.org/feed/metadata-tools/package/nuget/Microsoft.Metadata.Visualizer
mdv Lib.dll

Prints out debug info and metadata for a PE file.
mdv Lib.pdb

Prints out info for Portable PDB.
mdv Lib.dll /embeddedpdb

Prints out info for PDB embedded into Lib.dll.

Thanks @tmat.  I'm probably being thick, but I can't see the mdv.exe in that nuget package, just the Microsoft.Metadata.Visualizer.dll

@davidglassborow Ah... my fault. It's not there! Forgot to publish it. Let me fix that...

@davidglassborow Here: https://dotnet.myget.org/feed/metadata-tools/package/nuget/mdv

Ok I've made determinism work only for portable pdbs (--debug:portable and --debug:embedded).
The portable pdb doesn't contain the mvid, so I'm happy this code is good to merge.

This is great, I approve! :)

As I understand the current implementation, the combination deterministic + native pdb will error out.
Would it be possible to instead allow this combination, with the caveat that the assembly will be deterministic, but the pdb not? That's basically the behaviour of Roslyn (ref https://github.com/Microsoft/visualfsharp/pull/2954#issuecomment-303175138).
We would like to move to portable pdb as fast as possible (and hopefully will, in the near future), but can't at this exact moment now, because a few build tools rely on native pdbs.

@0x53A unfortunately that's a lot more complicated to do.
The native PDB contains the MVID in it, and currently we don't calculate the deterministic MVID until after the PDB has been generated.  This means recording in the memory stream where it is written and updating it (like the PR does with the metadata).  However the native PDB is written using Windows native DLL currently.
It probably could be done, but to be inline with Roslyn we would have to change the code to use the Microsoft.DiaSymReader.Native dll.
I'm not going to have any time soon to do it, but happy to try and help if you want to have a crack.

@davidglassborow Ok then that makes sense, thank you.
That deterministic will work at all will be great, and as you said, better to ship it now and improve it later. =)

@cartermp I'll raise a PR on the docs to document this new option, but newbie question, should I be looking at https://github.com/Microsoft/visualfsharpdocs/ or https://github.com/dotnet/docs for the fsc reference docs ?

The latter!  That's where the active docs are.  This is very cool.

is System.Environment.NewLine something we care about?
There is one usage: https://github.com/Microsoft/visualfsharp/commit/b4901a5e81e41b729fb1a053846643df67f6d0ec#diff-5b9ab9dd9d7133aaf23add1048742031R10637 and I'm about to introduce some more, should I make a shim for it and hardcode it to \n?

is System.Environment.NewLine something we care about?


eventtype search has wrong syntax

Invalid key in stanza [postfix_email] in /opt/splunk/etc/apps/TA-postfix/default/eventtypes.conf, line 2: sourcetype  (value:  postfix_syslog).
Did you mean 'search'?
correct is:
[postfix_email]
search = sourcetype = postfix_syslog
Thank you,
Meno

yes, this and other fixes are no a different branch.   I'll look into merging it.  Thanks for pointing this out.

Check out release the new v0.7 release.

still not fixed in v0.7
let me know if I can be of any help
Thank you,
Meno

Sorry. Found the fix in an already integrated branch, but somehow it got reverted.   Trying this again.  ;-)
v0.8
https://github.com/Kintyre/TA-postfix/releases/tag/v0.8


adding protobuf schema

After discussing with @sijie, we decided to not set the schema in SchemaInfo for right now since extracting a schema from protobuf is non-trivial to get right and there seems to be no existing libraries we can leverage.

@mgodave please review

@sijie @merlimat thanks for the review.  I have addressed your comments

@mgodave please review this PR


How will this browser "push back" against negative news?

After reading this post, I feel like something is missing.
"...I do like to follow tech news...but I started to get the same feeling I had ten years ago: it’s all negative."  "I am going to write a browser. For two reasons: I want this to be a way to push back. Just a tiny amount."
I am not getting the meat of the vision here: how this new browser will push back against negative news.  Will it be a positive-news-only browser?  Or will it block access to deceptive, negative, or otherwise unhealthy content?  Or something else?

After reading this post, I feel like something is missing.
"...I do like to follow tech news...but I started to get the same feeling I had ten years ago: it’s all negative." "I am going to write a browser. For two reasons: I want this to be a way to push back. Just a tiny amount."
I am not getting the meat of the vision here: how this new browser will push back against negative news. Will it be a positive-news-only browser? Or will it block access to deceptive, negative, or otherwise unhealthy content? Or something else?

From my understanding, the browser is a small way to fight back from the inevitable conglomeration of proprietary browsers with privacy destroying requirements. When the author wrote about the news, I believe they were setting the stage for how they felt in the moment to explain or justify their motivation for creating the browser.

It's not even about the browser. It will not do anything magic privacy wise, but should be a regular browser that is free, and doesn't spend all its time on finding new ways to display ads or invade your privacy. If somebody wants to write an adblocker for it, it should be possible and should not be stopped by any company whatsoever.  It's my (feeble) attempt on doing "something" against what I think is wrong with tech today.  Hope this explains it a bit


[message] add helper methods to get first/next data chunks

The Message data is stored in a sequence of linked-listed Buffer
instances. When reading or writing data in the Message, the internal
implementation iterates over the Buffer list and updates the data in
chunks. This commit adds two helper methods GetFirstChunk() and
GetNextChunk() to get first/next data chunk (contiguous buffer)
corresponding to a given offset and length into the message. These
helper methods are then used to simplify Read(), Write(), and
UpdateChecksum() methods. The unit test test_message is also
updated to verify reading and writing data at different offsets and
lengths.

New pushed commit defines a private struct Chunk  (containing mData as pointer to chunk data buffer, mLength as  its length, and mBuffer for the Buffer containing the chunk). This helps simply the GetFirst/NextChunk() parameters. For non-const version of these method a sub-class WritableChunk is defined and used.


Missing step to update Shared working directory in Dataimport/export framework parameters

On-prem system may have shared folder specified in "Shared working directory". After migration this field is not editable for cloud hosted environments, so cannot be changed through UI. Having shared folder there will cause an error during any export or import via data management. SQL script should be updated to include update to this value.

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

ID: 52e9b65e-a05e-73c4-6e78-280c8068e0e2
Version Independent ID: b640a8a7-2ff9-bca6-7317-beba3a5d48d1
Content: Move LCS implementation projects from on-premises to the cloud - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/lifecycle-services/move-on-prem-to-cloud.md
Service: dynamics-ax-applications
Product: ****
Technology: ****
GitHub Login: @MartinWalkerDynSA
Microsoft Alias: marwalke

@Ievgenm, thank you for the feedback.
@MartinWalkerDynSA, please review.

@Ievgenm, thank you for the feedback.
@MartinWalkerDynSA, please review.

Bug 549283 logged to track this issue.

Bug 549283 logged to track this issue.


--allow-file-access-from-files

Is it possible to allow nativefier to access any local file? I can't get it to work with that flag.

Is it possible to allow nativefier to access any local file? I can't get it to work with that flag.

What for? Please detail your use case and fill the information requested by the template: https://github.com/jiahaog/nativefier/blob/master/.github/ISSUE_TEMPLATE/feature_request.md


fix: change data size to string and add empty data

Hi, I am building the db3 network and using the arlocal as a local test environment. The arlocal does a lot of help for me but there are some compatibility problems that I am trying to fix

the data_size should return a string type but an integer
the data field must be included in the result

Thanks for the update @imotai , makes sense, to have the same as the current mainnet.

Version 1.1.61 has been released with this patch. Thanks.


A issue about Distributed Training with train_mnist

For bugs or installation issues, please provide the following information.
The more information you provide, the more likely people will be able to help you.
Environment info
Operating System: ubuntu 14.04
Compiler: gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
Package used (Python/R/Scala/Julia):
python
MXNet version: V0.7
Or if installed from source:
MXNet commit hash (git rev-parse HEAD):
If you are using python package, please provide
Python version and distribution:
Python 2.7.6
Error Message:
Please paste the full error message, including stack trace.
train_mnist can be laucned in distributed cpus,but it seemed it can not work normally, because the programm do not use the cpu and memory and the logging message can't be seen
Minimum reproducible example
I use train_mnist to test Distributed Training according to the guide provided at http://mxnet.io/how_to/multi_devices.html.
the steps include:
1.There are two machines in total, each of which has gpus and use ssh service. However, the ssh users are diffrent with these two machines.

I installed NFS on the two machines and ensure each of them can access each other. However the mxnet folder on these two machines are different. I used soft link to ensure that one machine can access the mxnet folder of another machine with the same folder path of itself.

I run the command python ../../tools/launch.py -n 2 --launcher ssh -H hosts python train_mnist.py --network lenet --kv-store dist_sync.
I run this command on machine A with a hosts file,in which I wrote another machine's IP addr like<EMAIL_ADDRESS>On machine A, I was required to input the ssh password of another machine, Although almost every time I must input the password serveral times, the programm fortunately can run finally.

I used "ps -ef" on these two machines and saw "python train_mnist.py" running on the two machines.
But it seemed that python train_mnist.py was blocked and can't run normally with the cpu and memory usage equalling zero. In addition, I also can't see the logging messages when training as local version.

who can tell me what's wrong?

if you have stop the firewalld and SELinux？

Thank you! I checked these two ubuntu machines and the ufw are disabled in default.  BTW, Can the fact that I can see the program running on the another machine illustrate the firewall is disabled?  Is there any other data transferred that requires the firewall disabled?
Are there any other things I can check?

MXNET have to synchronize between two machine(default seem to be 9092 port)， so if the firewall is on, the program will run on the workers but can't communicate with each other, it looks like blocked. I am not sure this is your problem.

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


Notify

How do I can get notifys of Pokemon on Windows?

Are you using Windows 10? If yes, you have probably disabled notifications on the bottom right corner.

Im using Windows 7, hmmm


:lady_beetle: Create plan mapping errors persist

Issue:
When creating a plan, errors about mappings are not removed when fixed.
a. remove required mapping
b. add required mapping
expected: error removed
what happen: error persist
Screenshot:

addressed by https://github.com/kubev2v/forklift-console-plugin/pull/1086


Update backend deployment to use Kubernetes service names

This change depends on @johnharris85's changeset for opcode-redis and opcode-postgres services.
The intent is to render both production and staging environment deployments identical, while the services the deployments reference will point to different locations in their own namespaces.

This was done to simplify #40


Hi, I added a statistical tool

laravel-running-time - A request execution time statistics tools for Laravel

Sorry, not enough stars: https://github.com/chiraggude/awesome-laravel/blob/master/CONTRIBUTING.md


update go to latest version

https://github.com/stolostron/backlog/issues/26063

Signed-off-by: Chunxi Luo<EMAIL_ADDRESS>(cherry picked from commit 7195d540c6539edb58d693936168fe58c1d73ca8)
Closes #153

/cherry-pick release-2.6


re-word landing required msg for understandability

changed: "Mission rejected: land start required."
to: "Mission rejected: landing pattern required."
This new message is more clear to the average user.  When using RTL_TYPE = 1, mission feasibility checker adds the requirement of a landing sequence beginning with a MAV_CMD_DO_LAND_START and ending with a MAV_CMD_NAV_LAND with at least 1 other waypoint prior to the land waypoint.  The warning message "Mission rejected: land start required." is a common warning to trigger whenever the mission is blank or the mission is uploaded without a landing pattern.  The wording in this message confusing to the average user as they usually do not know the inner workings of the "landing pattern" that their planning software helps them make (e.g. Qgroundcontrol).  The only users who would know what a "Do_Land_Start" mission item is are advanced users already and this new message should work equally well for them as well as the non-advanced user.

FYI these messages are limited to 50 characters. https://mavlink.io/en/messages/common.html#STATUSTEXT


Fix html escaping non strings

See: https://github.com/ViewComponent/view_component/pull/1958

@reeganviljoen I'm not sure a test for JSON is necessary, since html_escape({}) returns "{}" and calling #to_json on a hash or array returns a string. In all cases, escaping it should be fine if it's being emitted in an HTML context.

PVC failures are unrelated to this change, i.e. are non-blocking 👍


Add automated release builds for tagged versions

Make sure that building for macOS actually produces an arm64 binary, not an x64 binary on the GitHub action runner.

Bonus: interested people can use Github's "watch" feature to be notified of new releases (Watch->Custom->Releases)

@noahlias I noticed your fork has basic CI setup, if it works well, would you like to make a PR?

@noahlias I noticed your fork has basic CI setup, if it works well, would you like to make a PR?

It benefits from the recent release of github action container containing macos14, but my CI is too simple, if I want to distribute it, I probably need to set the dmg format, and also set the application icon, etc.

DMG distribute
APP Icon
Release version or some tag to trigger the workflow
or Linux build

It's my simple build.yaml. Since I am a fork's project, I must configure a personal access token
name: Build and Release

on:
  push:
    branches:
      - main

jobs:
  macos-build:
    runs-on: macos-14

    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Setup CMake and Ninja
        uses: lukka/get-cmake@latest
        with:
            cmakeVersion: 3.25.2
            ninjaVersion: 1.11.1

      # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md
      - name: Build project
        run: |
          export DEVELOPER_DIR=/Applications/Xcode_14.3.1.app/Contents/Developer
          sudo xcode-select -s $DEVELOPER_DIR
          cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -S . -B build
          cmake --build build

      - name: Create tarball
        run: tar czvf awirt.tar.gz -C build awrit/Release

      - name: Create GitHub Release
        id: create_release
        uses: actions/create-release@v1
        env:
          GITHUB_TOKEN: ${{ secrets.PAT }}
        with:
          tag_name: v0.1.2
          release_name: Release v0.1.2
          draft: false
          prerelease: false

      - name: Upload Release Asset
        uses: actions/upload-release-asset@v1
        env:
          GITHUB_TOKEN: ${{ secrets.PAT }}
        with:
          upload_url: ${{ steps.create_release.outputs.upload_url }}
          asset_path: ./awirt.tar.gz
          asset_name: awrit.tar.gz
          asset_content_type: application/gzip

macOS releases are now built automatically and are available by using brew


Sqlmaps do not keep path

Hi Team
I would like ask about sqlmap integrate with Burp.The issue is about keep setting by sqlmap .All time when I start Burp extension do not hold path for python.
I have to manual show path .It is any option to remember path for sqlmaps.
This is my path for python which should be keep by extension all time .??

The extension does not currently support saving this data. If you have a typical Python install, the path is recorded in the registry, and the extension will automatically detect the path, but it looks like you installed in an untraditional way (not using a Python installer).

Not planning to fix as the script auto-identifies paths in most cases.


Macro to COPY an entire directory

We need a macro that will copy an entire directory, including all content and subfolders.

[x] The directory (recursive) listing should come from mp_dirlist.sas
[x] The built-in fcopy() function could be helpful, else mp_binarycopy.sas
[x] There should be a corresponding test

:tada: This issue has been resolved in version 2.53.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add OAuth pass through support

This issue details the tasks required to add support for OAuth pass through.
Backend:

[x] #82
[x] #83

Frontend:

[x] #84

A substantial amount of testing will be required to validate this feature works as expected. A LogScale environment will need to be configured with an OAuth IDP (e.g. Google). Grafana will also need to be configured with the same IDP. On completion, the following will need to be tested to ensure they function as expected. If not, any discrepancies will need to be noted.

Querying
Alerting
Query caching
Any other backend specific functionality

This has been completed in the PR's linked above.


Blank Space / Waypoint: Target the Parent of an Element Using jQuery

Challenge http://www.freecodecamp.com/challenges/waypoint-target-the-parent-of-an-element-using-jquery has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
Hello, while trying to proceed in my learning I have found a blank space in this task and do not know how to continue, can you help, pls. Thank you https://space.zeo.net/g/32kgz

Hmmm, I am not able to reproduce this error. Have to tried refreshing your browser or pressing the reset button on the left hand side of the page? If neither of those work, do you have any browser extensions enabled? Do you see any errors in the console?

closing as stale. Please feel free to reopen if issue still persists.


NOT Connect to SQL Server

Pretty sure this extension has no capability to connect to Sql Server. Despite the fact that the connection view shows "Connect to SQL server." It only connects to MySql and Postgress.


footer centered

The footer of the page is not center so i improved the page center property in css.

thanks.


Select Box Or Dropdown  component.

It would be great to have Select Box Or Dropdown component.

Duplicate #854. Please use the search in the future.


OBJ-188 Added explanatory text to 'enter information' screen

I have approved but looks as if a unit test has broken, I imagine the unit tests looking for some text you changed

I have approved but looks as if a unit test has broken, I imagine the unit tests looking for some text you changed

I only added text but will check that and fix. Thanks.


relax RAS precise exception on uncorrectable data

The platform spec includes this proposed requirement:

Attempted use of corrupted (uncorrectable) data must result in a precise exception on that instruction with a distinguishing custom exception cause code.

This adds a non-trivial performance/area cost, and is a stronger requirement than other contemporary ISAs and system architectures.

I've also discussed this one with @gfavor and @kasanovic... our current thinking is that the ISA must prove a way for software to determine whether the exception was precise or imprecise (e.g., by different cause codes, possibly exception vs. interrupt).  This approach covers both bases.

This requirement has been relaxed. Closing this issue.


[Bug] echarts.connect has a problem with chart series of different sizes

Version
5.5.0
Link to Minimal Reproduction
https://codepen.io/Marcela-Donata/pen/gOJyaxr
Steps to Reproduce

Create a chart with a array of series data.
Create another chart with a array of series data with more data than the first.
Connect the charts using echarts.connect.
Hover over the last points on the chart with the most data.
You will see that the connection between the graphs is not working and the tooltip on the graph with fewer points is not appearing even if it has the same value in xaxis.

Current Behavior
When you connect two charts using echarts.connect and one of the charts has more points than the other, the last points corresponding to the difference in size of the series.data arrays will not display the synchronized tooltips. Probably because the series.data array indexes of the last points do not exist in the graph with less data.
Expected Behavior
I expect the chart to show the tooltips synchronized by the value of xaxis, whatever the length of the data.series array of the charts involved.
Environment
- OS: Windows
- Browser: Chrome
- Framework: Angular

Any additional comments?
No response

see similar #20058