panic: valid partial linearization returned non-ok result from model step

When testing a history using porcupine, I got this error once. It wasn't reproducible, but I still wanted to report it, just in case.
The history matched as linearizable and but failed to generate the visualization.
panic: valid partial linearization returned non-ok result from model step [recovered]
        panic: valid partial linearization returned non-ok result from model step

goroutine 284 [running]:
testing.tRunner.func1.2({0x100a3dfc0, 0x100af0aa0})
        /Users/jp/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.darwin-arm64/src/testing/testing.go:1632 +0x2c4
testing.tRunner.func1()
        /Users/jp/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.darwin-arm64/src/testing/testing.go:1635 +0x47c
panic({0x100a3dfc0?, 0x100af0aa0?})
        /Users/jp/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.darwin-arm64/src/runtime/panic.go:785 +0x124
github.com/anishathalye/porcupine.computeVisualizationData({0x100aedc28, 0x100aedc30, 0x100aed3a8, 0xc0371da018, 0x100aed3b0, 0x100aed3b8, 0x100aed3c0}, {{0xc037865368, 0x1, 0x1}, ...})
        /Users/jp/go/pkg/mod/github.com/anishathalye/porcupine@v0.1.6/visualization.go:70 +0xa48
github.com/anishathalye/porcupine.Visualize({0x0, 0x0, 0x100aed3a8, 0xc0371da018, 0x100aed3b0, 0x100aed3b8, 0x100aed3c0}, {{0xc037865368, 0x1, 0x1}, ...}, ...)
        /Users/jp/go/pkg/mod/github.com/anishathalye/porcupine@v0.1.6/visualization.go:103 +0xd8
github.com/anishathalye/porcupine.VisualizePath({0x0, 0x0, 0x100aed3a8, 0xc0371da018, 0x100aed3b0, 0x100aed3b8, 0x100aed3c0}, {{0xc037865368, 0x1, 0x1}, ...}, ...)
        /Users/jp/go/pkg/mod/github.com/anishathalye/porcupine@v0.1.6/visualization.go:127 +0x144
github.com/slatedb/slatedb-go/fizztest.TestLinearizability(0xc0536e01a0)
        /Users/jp/src/slatedb-go/fizztest/mbt_test.go:644 +0x3cc4
testing.tRunner(0xc0536e01a0, 0x100aed300)
        /Users/jp/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.darwin-arm64/src/testing/testing.go:1690 +0x188
created by testing.(*T).Run in goroutine 1
        /Users/jp/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.darwin-arm64/src/testing/testing.go:1743 +0x5e4
FAIL    github.com/slatedb/slatedb-go/fizztest  133.153s
FAIL

I somehow suspect this could be caused due to a trick that I use to test systems that are not actually linearizable in traditional definition but follows a specific model. For example, if a method TransferMultiple transfers 3 dollars in 3 steps with $1 in each step.
func TransferMultiple:
    atomic:
        a += 1
        b -= 1
    atomic:
        a += 1
        b -= 1
    atomic:
        a += 1
        b -= 1

Here this operation will not appear as a single atomic action, but 3 individual atomic actions. At the same time, I need to ensure each inc a and dec b happens atomically.
Therefore when generating the history, when TransferMultiple operation is called, I create 2 additional virtual operations with exactly same start and end times.
... more operations
Operation:  19: {Client: 1 Input: {op: req-16} Call: 382167 Output: {} Return: 489292}
Operation:  20: {Client: 1 Input: {op: req-16 } Call: 382167 Output: {} Return: 489292}
Operation:  21: {Client: 1 Input: {op: TransferMultiple} Call: 382167 Output: {} Return: 489292}
... more operations

The important thing here is, the same Client: 1 did 3 things at the same time. From my understanding, this is generally not a typical expectation as a single thread should have a single operation at any point in time.
(Here, Ideally, I would've liked the TransferMultiple call to be listed first, but the porcupine HTML generator puts the last listed operation title over the other two so I need to reorder it)
The model that uses the state graph from the formal specification would put mark a specific order (21, 19, 20) as linearizable.
I am not sure if this caused the panic, but I am wondering if this could have caused the issue. Since I cannot reproduce this issue, I couldn't narrow down the cause.

From my understanding, this is generally not a typical expectation as a single thread should have a single operation at any point in time.

Yes, but Porcupine's linearizability checker does not actually rely on this / doesn't even look at the Client IDs. The example history you gave, from the linearizability checker's perspective, is equivalent to:
... more operations
Operation:  19: {Client: 1 Input: {op: req-16} Call: 382167 Output: {} Return: 489292}
Operation:  20: {Client: 2 Input: {op: req-16 } Call: 382167 Output: {} Return: 489292}
Operation:  21: {Client: 3 Input: {op: TransferMultiple} Call: 382167 Output: {} Return: 489292}
... more operations

To make this more readable in the visualizer, you could consider synthesizing multiple client IDs when you have such a situation, like 1a, 1b, 1c. Though Porcupine Client IDs are integers, so you could do something like use the units place to distinguish multiple concurrent operations from the same "Client", like 10, 11, 12.

I am not sure if this caused the panic, but I am wondering if this could have caused the issue. Since I cannot reproduce this issue, I couldn't narrow down the cause.

I don't think the above should cause this issue. I think this means that either (1) your model's behavior doesn't satisfy Porcupine's requirement on models (e.g., your model is nondeterministic, or your model's Equal() function has a bug, or your model's Partition() function has a bug), or (2) there is a bug in the Porcupine library itself.
If you can add persistence so you save the history in case you encounter this again, and you can share the history + model, that would be really helpful for investigating further.

Thanks @anishathalye. This narrows down what I should look for.
My model does not override Partition() function and the Equal() is a trivial. My Step function is non trivial though :( and it also looks at 700MB of state graph.
I will look through the code again for any unintended non-determinism. My prime suspect is map iteration. (My model also relies on json but I don't use json equal as Go's native json implementation randomizes order and some other aspects)
Within the porcupine's code, there is one map iteration checker.go:330 in the checkParallel function.
partialLinearizations := make([][][]int, len(history))
for i := 0; i < len(history); i++ {
	var partials [][]int
	// turn longest into a set of unique linearizations
	set := make(map[*[]int]struct{})
	for _, v := range longest[i] {
		if v != nil {
			set[v] = struct{}{}
		}
	}
	for k := range set {                // <-------- will this iteration order have any impact?
		arr := make([]int, len(*k))
		copy(arr, *k)
		partials = append(partials, arr)
	}
	partialLinearizations[i] = partials
}

I'll update you if I could reproduce this issue again.

The map iteration order you pointed to in Porcupine shouldn't cause any issues.


Partition Column in Delta Table using Date

Describe the bug
Not a bug but perhaps a usage question.
To Reproduce
Create a delta table with a Date column and write using partitionBy
Expected behavior
Able to use it in a filter
    df.where(col("ReceivedDate") == "2024-01-01")

I can also see that daft is able to figure out there is a partition column
WARNING:root:DeltaLakeScanOperator(None) has partitioning keys = [PartitionField(ReceivedDate#Date)], but no partition filter was specified. This will result in a full table scan.

Screenshots
daft.exceptions.DaftCoreException: DaftError::External Unable to create logical plan node.
Due to: DaftError::TypeError Cannot perform comparison on types: Date, Utf8
Details:
DaftError::TypeError Cannot perform comparison on types: Date, Utf8

The comparison has to be with a datetime , then it works.  With spark this is not necessary.
In any case , this is not a issue.
    .where(col("ReceivedDate") == datetime.date(2024, 1, 1))

The comparison has to be with a datetime , then it works. With spark this is not necessary.
In any case , this is not a issue.
    .where(col("ReceivedDate") == datetime.date(2024, 1, 1))

Yes indeed, we don't do an "auto-cast" of the string to date yet! This could be an interesting expression optimization to perform though, if we detect that one of the columns is a string we can insert a casting operation.


Follow up on maintaining connections for grpc

Current grpc resolver used by agent to resolve collector address doesn't have the ability to maintain connections like what peer_list_mgr.go did using maintainConnections. Need to investigate if it's necessary to do so with grpc and if it indeed is how to do it.
Originally posted by @yurishkuro in https://github.com/jaegertracing/jaeger/pull/1498

I am not sure if we need something explicit for that or not. A way to try this out (could be in the unit tests) is to do this:

use fixed discoverer w/ 5 servers and minPeers=3
start sending requests, verify all 3 servers are receiving them
shut down one of the servers, verify that all requests are going to the other two servers
bring up the 3rd server again (must be on the same port), verify all 3 servers are receiving requests

Tested it. Roundrobin will include servers in this case. Cheers.


[question] Code for the https://mustard-ui.com/ site

Hi Kyle,
Sorry to be a pain with these tickets and PRs - presumably while you're sleeping! Anyway, I was just wondering where the code is for the mustard-ui.com site, and if it is or will be made available?
I looked for another branch in the repo which might be it but couldn't see anything. And I couldn't see anything in the main repo ... but perhaps my eyes are deceiving me since it's almost midnight. Thanks for your help.
Andy

This kind of stuff is literally my oxygen.  I love it.
The current website is built using wordpress which I don't know that people would want all that source code.  I can however put together an html only example site that utilizes a lot of these components that launches when you spin up gulp.  It would let you tweak some of the variables and see them update in real time in your browser.

I've added some goodies to npm run dev via 297fce0da67f4ef3f855a1361c17f605a7c6ace1


⚠ WSINGRESOS - RECIBOPAGO has degraded performance

In 15873e2, WSINGRESOS - RECIBOPAGO (https://srvshyweb.yucatan.gob.mx/cgi-bin/wspd_cgi.sh/WService=wsingresos/internet/servicios/wsRecibosPagosWeb.r) experienced degraded performance:

HTTP code: 200
Response time: 6229 ms

Resolved: WSINGRESOS - RECIBOPAGO performance has improved in 81cb700 after 23 minutes.


Load new content inside container div

I would like to animate new content into a container div, basically like doing it with AJAX.
Something like this, fixed navigation and logo on top, content container in the middle and footer at the bottom.
Navigation and footer are always present, only new content is animated using Animsition.
I tried a few solutions, but it always loads the whole page. Am I missing something obvious?

yes that wood be awesome, I am also interested with that . is in body has a solution ?

i actually managed to get it to work with ajax but i'm pretty new to javascript, so i will try my best to explain.
i was looking all over the website grabbing scripts from examples to try out and i just used the code that was found on the bottom of the main page, which is this:
var $animsition = $('.animsition');
$(document).ready(function() {
$animsition.animsition({
onLoadEvent: false
})
.each(function(i){
$(this).animsition('in');
});
});
$(document).on('click', '.foo', function(event){
event.preventDefault();
$animsition.animsition('out', $(this), $(this).attr('href'));
});
however, the trick is to put the code into the page that you're calling. for example: my index.html has a div with an id of  that is calling content from blog.html. all you have to do is put this code into the blog.html and NOT the index.html. this is because as the index.html is grabbing content from blog.html, the blog.html will cause the code to initialize as they load into .
now the only problem i am having is trying to get the 'out' animation to work, as the 'in' animation seems to be the only one working.

1+

Found a solution which eliminates the flashing of fixed page elements by using smoothState.js: http://blog.regencysoftware.com/post/2015/12/10/html-page-transitions-animiations

I would like this too.  I tried simply calling $('#mydiv').animsition('in'); method but it says "Cannot read property 'options' of undefined"


Add typescript type definitions for js lib

Hi,
it would be great if you could add or auto generate type definitions for the js lib so it can be used with typescript.
Since there isn't a CI job to handle automatic releases and I'm not aware of your release process and plans for the lib, I'd rather not myself create a PR for this yet.

facing the same issue :
Could not find a declaration file for module 'magika'. '/node_modules/magika/magika.js' implicitly has an 'any' type.

Thanks for reporting, looking into it.

See #129, not sure if it's related.

I tried adding types to DefinitelyTyped to use Magika with TypeScript. However, I encountered the following error, and the tests did not pass. Does Magika not support CommonJS?
A require call resolved to an ESM JavaScript file, which is an error in Node and some bundlers. CommonJS consumers will need to use a dynamic import.

DefinitelyTyped's pull request is below:
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/68765

@reyammer
It appears that Magika will indeed support CommonJS, as shown in https://github.com/google/magika/issues/129. This suggests that we should be able to add types to DefinitelyTyped.
module.exports = { Magika };

@chris-si
I have added type definitions for Magika to DefinitelyTyped. With this, you can now run it in TypeScript without any errors.
npm: https://www.npmjs.com/package/@types/magika
Please execute the following command.
npm install --save-dev @types/magika

or
pnpm add -D @types/magika

Additional information:
Magika did not support CommonJS and didn't pass the tests at DefinitelyTyped, the DefinitelyTyped team has been modified to allow the tests to pass even if the library does not support CommonJS.

We've published a version with commonJS support, and the library has been rewritten in Typescript as of yesterday.
Our types should be bundled with the package. Please take a look and let me know if they are as expected.

That's great to hear! I'll give it a try in the coming days.

Thanks for the quick check! Agreed on both points. 0.2.12 accepts Uint8Array and drops Buffer for non-Node magika.

I tried it out and it works like expected! Thanks for improving the js/ts lib!


Create a docker-based development environment

Enhancement Description
As reported by two team members that they both encountered issues while setting up the development environment, I think it would be great to set up an easy docker-based dev environment to eliminate possible bugs across different OS platforms. Since it's an easy task I'm happy to work on it.
Potential Issues

Docker environment needed.

I agree, a Docker environment would be ideal. I haven't used Docker myself, so would be great if you could set something up @bbaayezi.

Good idea, we indeed need to make these environment-related bugs disappear.
However, being not familiar with Docker, I just want to insist on the fact that this solution should be easy and straightforward on the user end.
Thanks @bbaayezi !

Good idea, we indeed need to make these environment-related bugs disappear.
However, being not familiar with Docker, I just want to insist on the fact that this solution should be easy and straightforward on the user end.
Thanks @bbaayezi !


Update README.md

What does this PR do?
Adds a link under Fun to the Flexbox Froggy game.
Any relevant issues this PR addresses? (optional)
None.
Any background context you want to add?
Flexbox Froggy is a surprisingly enjoyable way to learn Flexbox and is fun to play both alone and in groups.

Why did the greeting fail?


upgrade(installer): Replace deb/rpm injector install scripts

What does this PR do?
Replaces the deb/rpm injector install scripts by scripts that reference the OCI installation:

dd-host-installer (always set)
dd-container-installer (always set)
dd-cleanup (only overriden if exists)

Motivation
Seamless experience for customers, not having to update public docs
Additional Notes
Possible Drawbacks / Trade-offs
Describe how to test/QA your changes

/merge


fix(dom.js): added support for nextjs

Added support for nextjs by fixing error "document is not defined" when used in a nextjs application
Also added build support for ES6+ using terser
fix #80

Kindly review @shshaw & @notoriousb1t .

Kindly resolve the "Document not defined" error as it's a big issue with using your package with nextjs.
Works on my end as implemented in my latest commit.


ceph-facts: set use_new_ceph_iscsi on iscsi nodes

We don't need to set the use_new_ceph_iscsi fact on other nodes than
those present in the iscsigws group.
Also remove the duplicate iscsi_gw_group_name condition already present
on the include_task.
Finally validate the ansible distribution as the first task.
Signed-off-by: Dimitri Savineau<EMAIL_ADDRESS>

jenkins test centos-container-purge


Add man page for ocid

Dan, you need to sign the commit

@mrunalp PTAL

LGTM. We can add to travis in follow up.

LGTM. We can add to travis in follow up.

yup, taking care of it just now


Source Code Format Checks

This change includes some tools to keep a consistant format of the repository's source files, including:

a Consistency Checks workflow which errors if any of a branch's changed files require formatting.   We can extend this workflow with copyright header checks in the future.
updates to install_prereqs_desktop.py to ensure that clang-format is installed.
updates to scripts/format_code.py to reduce logging in non-verbose mode.
a precommit githook. Note that the githook has to be installed manually by copying it from scripts/git/hooks/pre-comit to .git/hooks/presubmit
an update to our Contribution guidelines with formatting instructions.

Suggestion (possibly for a new PR) - add a label to autoformat a PR and push the changes in another commit, in case the developer doesn't want to run the formatter locally.

Suggestion (possibly for a new PR) - add a label to autoformat a PR and push the changes in another commit, in case the developer doesn't want to run the formatter locally.

Just a heads up that the PR that we've been reviewing from a third party user submission has had issues with our labels mechanisms.  They stem from the fact that all of the workflows are being run from the user's github account, not ours, and they don't have write permissions on firebase repos. This causes some of the label steps - maybe only the ones which post comments..? -- from completing successfully.
I don't know if that applies at all to what you're suggesting, but I think that we need to retool the label control & flow that we already have.

Suggestion (possibly for a new PR) - add a label to autoformat a PR and push the changes in another commit, in case the developer doesn't want to run the formatter locally.
Just a heads up that the PR that we've been reviewing from a third party user submission has had issues with our itest labels.

Yeah, I'm aware of those issues. I still feel that this is worth doing for our internal development. Also, I have been thinking about switching over to using firebase-workflow-trigger's token to make the changes, where we were previously using the github-action default token to do. Do you know if the itest runs from forked repos have access to our repo's secrets?


error: fork/exec /bin/sh: argument list too long

What happened?
Running pulumi up on an existing stack on Linux fails.
Poking at the code, I see this is because of PULUMI_COMMAND_STDOUT/PULUMI_COMMAND_STDERR and the previous run containing rather long output.
https://github.com/pulumi/pulumi-command/blob/7c5c4bd68e66950c042c5ce1ad3eb6f9bfda835c/provider/pkg/provider/local/commandOutputs.go#L73-L78
Since I don't use this feature and I don't always have the option of adjusting limits, I'd like an option to turn it off. Furthermore, I'd prefer if the option could be made off by default as well, as I don't generally need this information in state files.
Example
strace
sudo -E strace -E PATH=$PATH -u $USER -f -e trace=execve -s 1000 -v --signals=SIGPWR pulumi up 2> log

From log above, we can tell our command is not particularly long, the environment is massive.
execve("/bin/sh", ["/bin/sh", "-c", "ansible REDACTED"], ["SHELL=/bin/bash", ...REDACTED..., "PULUMI_COMMAND_STDOUT=ansible-playbook [core 2.14.6]\n  config file REDACTED"...]) = -1 E2BIG (Argument list too long)

Output of pulumi about
CLI
Version      3.75.0
Go Version   go1.20.5
Go Compiler  gc

Host
OS       ubuntu
Version  20.04
Arch     x86_64

Backend
Name           REDACTED
URL            file://~
User           REDACTED
Organizations

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

This is the reason, also I am heading towards always using no_log:true in ansible playbook to avoid this, but what was the objective of storing this stdout/stderr in state?

@iwahbe I've just encountered this issue in @pulumi/command version 0.11.1 with a remote.Command. After some digging, it seems to me like #355 only addresses local.Commands. Am I completely missing something?
If I'm not missing anything, is this issue the right place to ask nicely for opt-out support for remote.Command as well?

I originally authored the fix and you're right, this only deals with local.command as this is what I used and had the ability to test easily. I have 0 clue how to use the remote functionality but if you provide a minimal example to use it, I can give a shot at creating a PR with the fix

CC @thomas11

Thank you @julsemaan, a PR would be awesome! At first glance it seems the code for remote works the same way. Here is the equivalent place to where you added if AddPreviousOutputInEnv ... for local.
Possibly we can share some code between local and remote but we can look at that later.

Opened a PR: https://github.com/pulumi/pulumi-command/pull/451
It's lacking a test though as I couldn't mock things appropriately for remote.Command

This issue was closed but I don't understand your answers. I used local.Command and I have the argument list too long error on update and delete states. Someone can help me, please?

Hi @MLOpsGuy, the previous behavior that can lead to this error is still the default. You need to set addPreviousOutputInEnv = false on your local.Command  resource.

Thanks @thomas11, I really appreciate your help


fixes #973

Pull Request Template
Description
Fixes faulty URLs
Fixes keploy/keploy#973
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue).

How Has This Been Tested?
No tests as of now.
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have made corresponding changes to the documentation.
[ ] I have added corresponding tests.
[ ] Any dependent changes have been merged and published in downstream modules.

@nehagup Hi, is the lockfile supposed to be committed?

@nehagup Hi, is the lockfile supposed to be committed?

If there's no package change then it's preferred not to commit the lock file.

Alright, I will look into it, thanks. Should I do anything about the Lint Codebase check that's failing? I'll take of it next time.

Thanks, @nehagup. I will look into it. Should I do anything about the Lint Codebase check that's failing? I'll take of it next time.

You can give your best shot to resolve it, otherwise I'll merge


Add avrio

Hey, just thought i would propose my changes which add a cool coin avrio. Love your work so far, sleek and fast! :+1:

Could you revert the changes to README.adoc? Since you are merging it into its origin.

Ah yes will do. Also running into a slight issue - our address prefix doesnt fit into one byte. Would it be practical to change it everywhere to a u32 number?


thumbnail changes when  workflow excuted

Appriciation for your excellent extension!
but i got a problom:
i chose and uploaded thumbnails for each of my workflow, since i updated to the version 61a899a, once my workflow been excuted, the thumbnail changed

in previous version, there was an option "set as cover", that would work for me

Hi fixed now, you can set as cover as before. and uploaded thumbnail shouldn't be overrided with new generations anymore

thanks a lot!


Refresh node not working

Hi,
I'm trying to refresh a certain node of a tree that uses the sort plugin. I want to refresh the node when the data changes so that the tree remains ordered.
I could use the tree.jstree(true).refresh(); but it refreshes the whole tree and, as the trees I'm working with have over 2000 nodes and their information is changing constantly, it would be annoying for the user to see the tree reloading each time.
I tried using the refresh_node function, but the children nodes of the one that I am reloading freeze.
Please see the fiddle with the error here: http://jsbin.com/cokaxekome/1/edit?html,js,output
Thanks! Let me know if you need more information.

The data source you are using does not allow to refresh a specific node - use the callback or AJAX options for that. I am afraid the demo is flawed. Once you start using a callback or the AJAX option you will be able to refresh the children of a given node.


Feature/mynewfeature

I really want an empty file called d in the top level of the repository.

I don't know if that is such a good idea.. maybe we should call it 'e'

I think it should have some content

This is not going to work


check own permlevel when °setperm is used

Setperm has permlevel 3 while some important commands like °esql are above this
Currently setperm can be used to give oneself a higher permlevel
-> add check to setperm to make sure user can only set permlevel <{own level}

fixed

fixed


POC-VO: DEVOPS: Directory Listing

Creating a structured directory listing for the project for contributors to refer to. Can be a separate .txt or be in the README.md.

@EndyPremier  please provide more details on what this is for so we can determine if we want to roll it into the next phase.


logging.level  set error

agent logging.level How to set “error”

Hi @xjj001 , we have detailed documentation about how to set everything up, please read the documentation before asking in the issue, here is what you need


Add Variadic Node

This allows us to deal with the not uncommon case (in data-flow optimization) of nodes that can consume any number of inputs.

Looks like we're maybe missing some cases. From Travis:
[info] ! Literal.Literal.evaluate must match simple explanation: Exception raised on property evaluation.
[info] > Exception: java.lang.IllegalArgumentException: oneOf called on empty collection

Gen.oneOf should take a single item and a list to statically prove you have
at least 1 item.
On Sat, Sep 16, 2017 at 02:56 Erik Osheim<EMAIL_ADDRESS>wrote:

Looks like we're maybe missing some cases. From Travis:
[info] ! Literal.Literal.evaluate must match simple explanation: Exception raised on property evaluation.
[info] > Exception: java.lang.IllegalArgumentException: oneOf called on empty collection
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stripe/dagon/pull/13#issuecomment-329966915, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEJdkKB4vf1MIO-sVL6ycs5Yh1W50cNks5si8WXgaJpZM4PZt6R
.

--
P. Oscar Boykin, Ph.D. | http://twitter.com/posco | http://pobox.com/~boykin

generator was busted. Used a slightly broken transitive dependencies implementation.

Codecov Report

Merging #13 into master will increase coverage by 0.45%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #13      +/-   ##
==========================================
+ Coverage      90%   90.45%   +0.45%
==========================================
  Files          12       12
  Lines         190      199       +9
  Branches       15       17       +2
==========================================
+ Hits          171      180       +9
  Misses         19       19

Impacted Files
Coverage Δ

core/src/main/scala/com/stripe/dagon/Expr.scala
100% <100%> (ø)
:arrow_up:

core/src/main/scala/com/stripe/dagon/Dag.scala
94.39% <100%> (+0.39%)
:arrow_up:

core/src/main/scala/com/stripe/dagon/Literal.scala
100% <100%> (ø)
: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 0b963b1...1569c7f. Read the comment docs.

good now @non ?

👍


Workaround for 22.2

Thank you @alvarosanchez. Will use the workaround till 3.6 is released!

Hi @alvarosanchez , I have reverted your change to my pom.xml, and added this in the build spec file. Now the build works.
env:
variables:
## TEMPORARY WORKAROUND FOR 22.2
USE_NATIVE_IMAGE_JAVA_PLATFORM_MODULE_SYSTEM: false
https://github.com/sachin-pikle/devops-yum-gvme-micronaut-hello/blob/a8fb9274d306bbf6c179cb697960376492075f2e/build_spec.yaml#L14


Include all properties from the mapped modifier type when calculating…

… index types for mapped types with name types. Previously, when only inspecting the constraint, we'd miss the mapping for any properties which subtype reduced with the constraint. When we return the constraint as the index, this is fine, however when we perform a mapping over the keys, we really need to start with the full list of keys, before any subtype reduction takes place. By looking at the list of properties like this, we ensure we can include the result of their mapping in the resulting key type.
Fixes #41966

@typescript-bot user test this
@typescript-bot run dt
@typescript-bot perf test this

@typescript-bot pack this

DT and the user tests look OK, perf seems fine.


The score is not Showing up!

I downloaded the folder and opened it as a separate vault. It works fine there. But when I copy files to my main vault, the scores are always zero, even after checking all tasks with #12wyg tags. I attached screenshots.
My main vault:

From the downloaded folder:

The issue is on 12wy.js file. And I solved it. We both have different folder names.
PS, thanks for the great widget :)


Fix broken tests

What are you adding in this PR?
The last commit found a typo where CompletionItemsAssertion tests weren't running, but after fixing it, CI didn't warn us that the tests were broken. Patching the broken test.
CI on merge: https://github.com/Shopify/theme-tools/actions/runs/11223315187/job/31197681873
NOTE: HtmlElementAutoclosingOnTypeFormattingProvider.spec.ts also seems to be broken on my local environment, but doesn't appear as broken in the CI 🤔. Specifically around these situations:
      '{% if cond %}

{% else %}
█{% endif %}',
      '{% if cond %}

{% elsif cond %}
█{% else %}
{% endif %}',
      '{% if cond %}

{% elsif cond %}
█ {% else %}
{% endif %}',

might need a yarn build before running the tests

Yep that did it! Thanks @graygilmore


Pick from upstream Fix encoding samples in ChunkSeries #12185

Get the compactor fix into mimir for testing.
From https://github.com/prometheus/prometheus/pull/12185
From https://github.com/prometheus/prometheus/pull/12185/commits/c6a27b55936194354885b9d8e6f68231dd094fa8

upstream merged


fix Issue 7625 - inlining only works with explicit else branch

https://issues.dlang.org/show_bug.cgi?id=7625
Should do a more general fix, like make:
if (e) return a;
expression;
return b;

work as well, but that's much more work and this PR will solve the most common case.

curl again :-(

work as well, but that's much more work and this PR will solve the most common case.

Truth be told I'd rather wait for even slightly more general version than getting yet snither band-aid.
The reason is that these tiny patches hide the problem making it appear minor issue which it isn't. Also there is no rush 2.069 is not branched yet and it will take sometime for dust of DDMD to settle down.

There's no rush, but I am overwhelmed with work to do on DMD, and sometimes a bandaid is justified.

rebased for ddmd

Auto-merge toggled on

Auto-merge toggled off

Rebased.

Auto-merge toggled on

alright let's see now...


grep: /boot/cmdline.txt: No such file or directory

On Ubuntu 18.04 server for Raspberry Pi, the cmdline.txt file is located at /boot/firmware/cmdline.txt rather than /boot/cmdline.txt. I'm not yet sure what issues this causes.
Here is the output of sudo systemctl status zram-config:
zram-config.service - zram-config
   Loaded: loaded (/etc/systemd/system/zram-config.service; enabled; vendor preset: enabled)
   Active: active (exited) since Fri 2019-10-18 17:18:23 UTC; 1min 2s ago
  Process: 1181 ExecStart=/usr/local/bin/zram-config start (code=exited, status=0/SUCCESS)
 Main PID: 1181 (code=exited, status=0/SUCCESS)

Oct 18 17:18:22 rpi systemd[1]: Starting zram-config...
Oct 18 17:18:22 rpi zram-config[1181]: grep: /boot/cmdline.txt: No such file or directory
Oct 18 17:18:22 rpi zram-config[1181]: grep: /usr/local/share/zram-config/zram-device-list: No such file or directo
Oct 18 17:18:22 rpi zram-config[1181]: mv: cannot stat '/usr/local/share/zram-config/zram-device-list.new': No such
Oct 18 17:18:22 rpi zram-config[1181]: mv: cannot stat '/usr/local/share/zram-config/zram-device-list.new': No such
Oct 18 17:18:22 rpi zram-config[1181]: stat: cannot stat 'stat': No such file or directory
Oct 18 17:18:22 rpi zram-config[1181]: stat: cannot stat 'stat': No such file or directory
Oct 18 17:18:22 rpi zram-config[1181]: stat: cannot stat 'stat': No such file or directory
Oct 18 17:18:23 rpi systemd[1]: Started zram-config.

You will just have to do and edit for me if using Ubuntu


[scripts-audit] vcpkg_add_to_path

See PR #16055, Issue #16188

/azp run

/azp run

/azp run

Merging as "the only failures are also failures in the most recent CI run".


My first file

Closing the pull request and placing a new pull request with both files at a time...


uint32 LittleEndian wrong byteorder

Hi Simon,
there is a bug in the byte order when calling little endian conversion binary.LittleEndian.Uint32. (encoding.go, func bytesToUint32s)
case LITTLE_ENDIAN:
	if wordOrder == LOW_WORD_FIRST {
		u32 = binary.LittleEndian.Uint32(in[i:i+4])
	} else {
		u32 = binary.LittleEndian.Uint32(
			[]byte{in[i+2], in[i+3], in[i+0], in[i+1]})   <--- same order as in the BIG_ENDIAN case!!

should be:
u32 = binary.LittleEndian.Uint32(
	[]byte{in[i+1], in[i+0], in[i+3], in[i+2]})

i think this isn't  wrong.
in a word register, it is LITTLE endian, when read a dword, the word order is high word first.

Glad you found out that everything works properly :) I'm going to go ahead and close this, feel free to reopen if needed.


fix(ci): missing devimint-faucet output

Fix https://github.com/fedimint/fedimint/actions/runs/11923997785/job/33233498506

Successfully created backport PR for releases/v0.5:

#6421

Git push to origin failed for releases/v0.5 with exitcode 1


MSSQL - database name taken from parameter adds N'' making query invalid

Hello,
Here's my logstash config file:
input {
jdbc {
parameters => {
database => ABC
}
jdbc_driver_library => "/usr/share/logstash/lib/drivers/sqljdbc42.jar"
jdbc_driver_class => "com.microsoft.sqlserver.jdbc.SQLServerDriver"
jdbc_connection_string => "server:1433"
jdbc_user => "login"
jdbc_password => "pwd"
schedule => "*/1 * * * *"
statement_filepath => "/etc/logstash/conf.d/query.sql"
use_column_value => true
tracking_column_type => "numeric"
tracking_column => "id"
last_run_metadata_path => "/usr/share/logstash/last_run_metadata/.query"
record_last_run => true
}
}

The query looks like this:
select * from :database.dbo.table
Logstash is unable to retrieve any result, due to an error with the query. In the log i can see that's it's trying to execute the following:
select * from N'ABC'.dbo.table
Is there a way to get rid of N'' when parameter is used for database name?

Sequel is trying to provide an appropriate datatype for the substitution because it expects that substitutions are done in WHERE clauses, i.e. dynamic values.
A solution for your dynamic needs might be to use ENV variables in the statement_filepath => "/etc/logstash/conf.d/query.sql" setting.
statement_filepath => "/etc/logstash/conf.d/$DB-query.sql" and $DB -> "ABC"


Alpha not supported with plotly backend

For a reproducible example,  look at your own docs:

hvplot 0.8.1

Definitely need to find a way to surface HoloViews issues that influence/were reported in hvPlot somewhere in hvPlot's GitHub tracker, as this issue has already been reported https://github.com/holoviz/holoviews/issues/5226.


Lily/Video -- Clamp Volume Between 0 and 1, & Add "get frame of video at (seconds)"

Official PR from me, original: https://github.com/TurboWarp/extensions/pull/1536

PREACH 👏🏿👏🏿👏🏿

pleeease merge.

pleeease merge.

WHAT HE SAID
get garbo muffin in this one

is there a reason why we still want "get frame at time" with a forced 1 frame delay instead of "get frame at current time"

is there a reason why we still want "get frame at time" with a forced 1 frame delay instead of "get frame at current time" that can return immediately?

How can you do that? The only thing I can think of is pre starting the video at the frame

is there a reason why we still want "get frame at time" with a forced 1 frame delay instead of "get frame at current time" that can return immediately?

i thought it was fixed?

How can you do that? The only thing I can think of is pre starting the video at the frame

the block currently seeks the video to a time then draws it to a canvas and returns the image. "get frame at current time" would just not seek and instead draw it and return immediately

How can you do that? The only thing I can think of is pre starting the video at the frame

the block currently seeks the video to a time then draws it to a canvas and returns the image. "get frame at current time" would just not seek and instead draw it and return immediately

Well I could add that as well @GarboMuffin . I personally think it's more tedious to get the frame of a video that's already currently playing. IMO people want this block so they can get another frame while the video is playing and so it doesn't add more blocks to the project...

people want this block so they can get another frame while the video is playing

Ok but the current design is not good for that either because it will seek the video that is already playing just to get one frame out of it. Presumably people would then have to seek back to where it was before. And again, forced 1 frame delay.

What do people want this for?

What do people want this for?

i want it to display videos in a 3d scene for my 3d remake of osu! (which will be fire) and since there isn't a 3d rotate extension and just streching and resizing won't give the good effect I was gonna draw triangles with pen+

I'm not sure how much this block would even help you

I'm not sure how much this block would even help you

if only you could see what it was going to be like

no video i guess

Converting the video to a URL with the extension in its current state is a forced 1 frame delay, and then converting that back to an actual image will be another forced 1 frame delay, nevermind whatever else you want to do with pen+, so the video could at best run at 50% of the project's framerate. really the only viable approach here is playing the video on a sprite using the blocks that are already there and asking for a way to apply arbitrary shaders/whatever onto a sprite

playing the video on a sprite using the blocks that are already there and asking for a way to apply arbitrary shaders/whatever onto a sprite

I don't get it
and also the entire engine is drawn in one singular sprite, the game the environment everything

Converting the video to a URL with the extension as proposed is a forced 1 frame delay, and then converting that back to an actual image will be another forced 1 frame delay, nevermind whatever else you want to do with pen+, so the video could at best run at 50% of the project's framerate. really the only viable approach here is playing the video on a sprite using the blocks that are already there and asking for a way to apply arbitrary shaders/whatever onto a sprite

There is a pen+ addon for that but it's not on the tw gallery due to it's nature being an addon to an extension.

Converting the video to a URL with the extension as proposed is a forced 1 frame delay, and then converting that back to an actual image will be another forced 1 frame delay, nevermind whatever else you want to do with pen+, so the video could at best run at 50% of the project's framerate. really the only viable approach here is playing the video on a sprite using the blocks that are already there and asking for a way to apply arbitrary shaders/whatever onto a sprite

There is a pen+ addon for that but it's not on the tw gallery due to it's nature being an addon to an extension.

can i have the addon i really need it

Hello

Garbo, this is really helpful for any sort of 3d scene, pen usage, and
could possibly even enable pen+ shader overlay (assuming it's not already a
thing.) This allows for all sorts of innovative creations and even I intend
to use this when merged. At some point I already stated before, if this
isn't merged I'd literally download the js file and use it over the
original myself. It's THAT useful.
That being said, I do agree there should also be a get frame at current
time to avoid that extra frametime.
On Fri, Jul 12, 2024, 3:30 PM Muffin @.***> wrote:

I'm not sure how much this block would even help you
—
Reply to this email directly, view it on GitHub
https://github.com/TurboWarp/extensions/pull/1595#issuecomment-2226309663,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANYWUKNTQ46VYEQH3KPY25TZMA4FBAVCNFSM6AAAAABKQBRGL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRWGMYDSNRWGM
.
You are receiving this because you commented.Message ID:
@.***>


CSS style wont load on .html

Hello.
I've downloaded Brackets editor to do some html coding. I'm very inexperienced.
Brackets is an amazing tool, and i love it's live preview. But as you can guess, im having trouble.
So fare i've managed to create a project folder where my home page is located: home.html. I've linked its style to my style.css file which is in a subfolder CSS, the layout is working without trouble.
But the style from the css is not working on the contact.html file. I've copied exact same code from my home.html page, but still no luck.
NOTE: The contact.html file is located in another subfolder called HTML, but why should that have any effect? What i dont understand is that i have the right direktori in my style href link: css/style.css
I simply can't get it to work. I hope you can help.

If I'm understanding your questions correctly, and your directory looks like this:

project folder
│   home.html
│
├───css
│       style.css
│
└───HTML
        contact.html

Remember: folder and directory mean the same thing
Your problem is, when your browser is reading your HTML and reads your link:
"css/style.css"

It searches In its own directory for the a folder called css. Because your contact.html is in your HTML subfolder, it looks for, but can't find a folder called css because its only looking in its own directory. What it really needs to do to find your file is:

Go up 1 directory (out of the HTML folder and into your project folder)
Go down into the css folder (from the project folder)
Read the style.css file in the current folder (css)

Here is how you write the path for those instructions:
"../css/style.css"

The two periods (also called full-stops) at the beginning tell it to go up a directory, the css tells it to go into the css folder, and the style.css tells it there is a file there called style.css (and that's the file you are linking to).
This isn't a problem with adobe brackets, it's working with "relative paths" which are used in almost every operating system's file system. If what I said doesn't make sense, Adobe (despite your issue raising nature) took mercy on you providing this article on understanding both relative and absolute URLs, and their relationship.
Did that help you?

And the issue has been resolved!
Thank you very much.

@tjgerot Thank you for the help.
Closing as answered.

I'm having a similar problem, except in my layout, I don't have my main html (I called it index.html) in a folder separate from the main folder containing both the CSS folder and index.html. Adding the full stops didn't help; the live preview still doesn't load the CSS at all. Any suggestions?


Help with a simple plugin

I want to create a plugin that parses out [Name]{JSON} where Name is some arbitrary string and JSON can be parsed with JSON.parse. I thought it would be as easy as looking at the link example, but it doesnt appear to be that simple.

What kind of help do you expect? We do not write plugins by request.

I get that, I'm just unable to figure out where I should start. I read through the docs here:
https://github.com/markdown-it/markdown-it/blob/master/docs/architecture.md
https://github.com/markdown-it/markdown-it/blob/master/docs/development.md
But when I look through the source code, there just appears to be a lot more going on. I think it would be great if there were an example of a parser that parses for text between two arbitrary tokens and adds that to the rule chain. I couldnt find any existing plugins that do something simple like that.
Even the backticks file is hard for me to follow:
https://github.com/markdown-it/markdown-it/blob/master/lib/rules_inline/backticks.js

https://www.npmjs.org/browse/keyword/markdown-it-plugin i'd suggest to search npm for plugins. There should be a lot of simple things. Current situation is, that markdown-it's entry level is above average, and we have no resources to write detailed tutorials for novices. Because that can fall into big book about parsers and programming. So, requests about docs/tutorials improve are not accepted as "endless", only via PR. We can help only when one already tried to implement plugin and has more concrete technical questions.


Normalize attestation signature getter name

Supersedes #1670

based on v011x branch for inclusion in coming release
cherry-picked @arnetheduck's commit from #1670
minor mod to naming for clarity

fwiw, in the code we ended up with a bunch of these get_*_signature - they work with minimal information though and not the full state - effectively, we don't want to send the whole state across to the validator, so we pick the specific data:
https://github.com/status-im/nim-beacon-chain/blob/a7963b0b8c9113466dc4dabce62a193b00d228f0/beacon_chain/spec/state_transition_block.nim#L485

The decision to pass the state around around most times was to reduce the size of crazy function signatures (some that would have 8+ args). That decision rippled through the entire codebase for better or worse.
Much respect for your functions


Update DeveloperGuide.md for V1.1

Closes #34

Codecov Report
Base: 72.15% // Head: 72.15% // No change to project coverage :thumbsup:

Coverage data is based on head (842c43d) compared to base (d435f9e).
Patch has no changes to coverable lines.

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

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #36   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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

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


Replace COM tokens

Thanks for removing the additional reference to the COM token, @NextTurn. I'll merge your PR now.


Ternary Plot

A ternary plot seems like a good way to visualize the data.

[x] Each axis of the ternary plot represents a different criterion
[x] occupied points based on the numerical combination of influence weights
[x] shade each point based on error term

Improving upon this in order to create plots for each scenario and term length being analyzed.
Following steps to make it as painless as possible.

[ ] function for plotting and saving ternary plot for each scenario and time period.
[ ] produce figures for median, upper, and lower confidence.


Proposal for systematically excluding annotations from release

Proposal:

use new anntotion property called 'exclude from release' whose value is a exclusion reason
e.g. Keshan disease has synonym 'caused by deficiency of selenium in the diet', which we want to keep for reasons of provenance but not add to the release file

@matentzn to discuss w/ @cmungall what to do about obo format limitation

there is a system for systematically excluding annotations, and there is an exclude list for annotation properties, so anything with a property in that list will be removed. If we want to extend this to arbitrary synonyms, we should create new synonym type property exclude from release and add this to the synonyms to be excluded.
could have synonym types like:

defamatory
historical


[FreeBSD] error with sleep

Hi,
on freebsd launching "zplug status" or "zplug update" show a flood of "usage: sleep seconds" in console
Thanks for zplug

Hi, thank you for your report.
Please cooperate with me to fix the error because I don't have the environment that can be executed on FreeBSD. When you run sleep 0.1s, the error occurs?

Hi,
sure without the 's' it works.
you can detect FreeBSD using uname which return "FreeBSD" when called without arguments.

Okay, does sleep 0.05 (floating-point number) work properly?

ref #58
Fixed. Please update zplug and try again.

hi,
it works perfectly
thanks a lot


LB service names in haproxy config

Not sure what this will look like in the refactored LB code from #2179. But in case it still applies, I toss this out so it may be addressed, if needed/desired.
Rancher Version:
1.1.2
Docker Version:
1.12.2
OS and where are the hosts located? (cloud, bare metal, etc):
RHEL 7, bare metal
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single node, external DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle.
Steps to Reproduce:
Add LB, listen to a couple of ports, add some routes. Enable haproxy stats, load the stats page.
Results:
Something like:

Whish:
Would love it if I could see which service it was from the haproxy stats page, rather than having to go about being a detective to map the id strings to services.. it's so tedious I haven't even attempted it.. ;)

@kaos in refactored LB, you can assign a name for your backend ("backendName" flag on the API). We can't automatically derive it from the service/stack name as potentially the backend can consist of instances of multiple services.

@alena1108 Excellent. :)
Will it also be available to set this from the rancher-compose file?

@kaos yes

Tested with latest build from master:
We are able to provide a name for a backend using portRules("backendName")  in LbConfig parameter when creating a service and  able to set specific configs to this backend by referring to this backend name  in config parameter.
Create LB with the following portRules set in lbConfig and  config parameters:
    port_rules = []
    port_rule = {"hostname": "www.abc1.com",
                 "path": "/service1.html",
                 "serviceId": 0,
                 "sourcePort": port,
                 "targetPort": "80",
                 "protocol": "http",
                 "backendName": "myrule1"
                 }
    port_rules.append(port_rule)
    port_rule = {"hostname": "www.abc2.com",
                 "path": "/service2.html",
                 "serviceId": 1,
                 "sourcePort": port,
                 "targetPort": "80",
                 "protocol": "http"
                 }
    port_rules.append(port_rule)

    config = "backend myrule1\nbalance first\n"

hapoxy config has the backend programmed with "balance first" as expected and accessing Lb ip for this backend respects the balance first configuration set.
listen default
bind *:42

frontend 1923
bind *:1923
mode http
acl 1923_www_abc2_com_service2_html_host hdr(host) -i www.abc2.com
acl 1923_www_abc2_com_service2_html_host hdr(host) -i www.abc2.com:1923
acl 1923_www_abc2_com_service2_html_path path_beg -i /service2.html
use_backend 1923_www_abc2_com_service2_html if 1923_www_abc2_com_service2_html_h
ost 1923_www_abc2_com_service2_html_path
acl myrule1_host hdr(host) -i www.abc1.com
acl myrule1_host hdr(host) -i www.abc1.com:1923
acl myrule1_path path_beg -i /service1.html
use_backend myrule1 if myrule1_host myrule1_path

backend 1923_www_abc2_com_service2_html
acl forwarded_proto hdr_cnt(X-Forwarded-Proto) eq 0
acl forwarded_port hdr_cnt(X-Forwarded-Port) eq 0
    http-request add-header X-Forwarded-Port %[dst_port] if forwarded_port
    http-request add-header X-Forwarded-Proto https if { ssl_fc } forwarded_prot
o
mode http
server <IP_ADDRESS> <IP_ADDRESS>:80
server <IP_ADDRESS> <IP_ADDRESS>:80

backend myrule1
acl forwarded_proto hdr_cnt(X-Forwarded-Proto) eq 0
acl forwarded_port hdr_cnt(X-Forwarded-Port) eq 0
    balance first
    http-request add-header X-Forwarded-Port %[dst_port] if forwarded_port
    http-request add-header X-Forwarded-Proto https if { ssl_fc } forwarded_prot
o
mode http
server <IP_ADDRESS> <IP_ADDRESS>:80
server <IP_ADDRESS> <IP_ADDRESS>:80

@kaos This feature will be available in 1.2 release.

Looks promising! :D
tors 3 nov. 2016 kl. 04:18 skrev Sangeetha Hariharah <
<EMAIL_ADDRESS>
Tested with latest build from master:
We are able to provide a name for a backend using portRules("backendName")
in LbConfig parameter when creating a service and able to set specific
configs to this backend by referring to this backend name in config
parameter.
Create LB with the following portRules set in lbConfig and config
parameters:
port_rules = []
port_rule = {"hostname": "www.abc1.com",
             "path": "/service1.html",
             "serviceId": 0,
             "sourcePort": port,
             "targetPort": "80",
             "protocol": "http",
             "backendName": "myrule1"
             }
port_rules.append(port_rule)
port_rule = {"hostname": "www.abc2.com",
             "path": "/service2.html",
             "serviceId": 1,
             "sourcePort": port,
             "targetPort": "80",
             "protocol": "http"
             }
port_rules.append(port_rule)

config = "backend myrule1\nbalance first\n"

hapoxy config has the backend programmed with "balance first" as expected
and accessing Lb ip for this backend respects the balance first
configuration set.
listen default
bind *:42
frontend 1923
bind *:1923
mode http
acl 1923_www_abc2_com_service2_html_host hdr(host) -i www.abc2.com
acl 1923_www_abc2_com_service2_html_host hdr(host) -i www.abc2.com:1923
acl 1923_www_abc2_com_service2_html_path path_beg -i /service2.html
use_backend 1923_www_abc2_com_service2_html if 1923_www_abc2_com_service2_html_h
ost 1923_www_abc2_com_service2_html_path
acl myrule1_host hdr(host) -i www.abc1.com
acl myrule1_host hdr(host) -i www.abc1.com:1923
acl myrule1_path path_beg -i /service1.html
use_backend myrule1 if myrule1_host myrule1_path
backend 1923_www_abc2_com_service2_html
acl forwarded_proto hdr_cnt(X-Forwarded-Proto) eq 0
acl forwarded_port hdr_cnt(X-Forwarded-Port) eq 0
http-request add-header X-Forwarded-Port %[dst_port] if forwarded_port
http-request add-header X-Forwarded-Proto https if { ssl_fc } forwarded_prot
o
mode http
server <IP_ADDRESS> <IP_ADDRESS>:80
server <IP_ADDRESS> <IP_ADDRESS>:80
backend myrule1
acl forwarded_proto hdr_cnt(X-Forwarded-Proto) eq 0
acl forwarded_port hdr_cnt(X-Forwarded-Port) eq 0
balance first
http-request add-header X-Forwarded-Port %[dst_port] if forwarded_port
http-request add-header X-Forwarded-Proto https if { ssl_fc } forwarded_prot
o
mode http
server <IP_ADDRESS> <IP_ADDRESS>:80
server <IP_ADDRESS> <IP_ADDRESS>:80
@kaos https://github.com/kaos This feature will be available in 1.2
release.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rancher/rancher/issues/6292#issuecomment-258056962,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEdBXNixfXVOUZToznOqvVTStfWJVqJks5q6VKbgaJpZM4KYVcO
.


JPG instead of PNG

Hi I would like to ask - is possible to set up jpg printscreen instead of png as default? I haven't found any settings. Thanks a lot it's really a great plugin
K.

Another opinion: I prefer PNG generally speaking, but would love the option to output JPG.

you can do a simple: convert -f jpg *.png

I added this in the Chrome web store version, but not in this repo yet.


chore: update contribution link

Proposed changes

Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring (improve a current implementation without adding a new feature or fixing a bug)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Build (changes that affect the build system)
[ ] Docs (documentation only changes)
[ ] Test (adding missing tests or fixing existing tests)
[ ] Other... Please describe:

Checklist

[ ] I have read the CONTRIBUTING documentation
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Thanks for submitting this pull request! A maintainer will review this in the next few days and explicitly select labels so you know what's going on.
If no reviewer appears after a week, a reminder will be sent out.

Codecov Report

Merging #37 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #37   +/-   ##
=======================================
  Coverage   91.17%   91.17%
=======================================
  Files          71       71
  Lines        1201     1201
=======================================
  Hits         1095     1095
  Misses        106      106

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 b9d9ecb...932a270. Read the comment docs.

A contributor has approved this PR. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait.
Thank you for your contribution!

Your pull request has been merged and marked as tier 6. It will earn you $1 USD.


Add test for sm plugin max packages

Proposed changes
Adding test case that validates the max packages of sw plugin
Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue
#1926
Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[ ] I ran cargo fmt as mentioned in CODING_GUIDELINES
[ ] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

dummy1-0006

This test failure is due to this bug, https://github.com/thin-edge/thin-edge.io/issues/2200


Fix initialize advanced options bug.

The if else if you modified is checking if the option is present on the $scope object.  Because I made the switch to md-color or mdColor prefixed option names and said prefix is not necessary on the option object, it is only checking if it needs the prefix.
If we take these two possible option keys, hasBackdrop and alphaChannel which hasBackdrop does not require the mdColor prefix but alphaChannel does.
$scope.hasBackdrop and $scope.mdColorAlphaChannel respectively


Minecraft game add curriculum_agent

Update curriculim role with two action:
A. DesignTask (unit test result)

B. DesignCurriculum (unit test result)

LGTM


Update docs

Hey there! I'm trying to help with the issue: https://github.com/quarkiverse/quarkus-openapi-generator/issues/213
So, I'm new here and it's my first time editing Asciidoc docs. I did a copy and paste of the information present on readme in main branch. If these implementation wasn't what is expected, let me know.

@ricardozanini I removed all documentation from README and referenced the future link in http://docs.quarkiverse.io/

Great work @luanbrdev. Thank you!
Just one detail: Your branch is 7 commits behind the main branch. So, probably the documentation is outdated in your branch. Comparing your branch with main, we can see that there's only one commit missing from your branch that changes README.md. Can you please add the new documentation from that commit to this branch?
Also, I have one question: you mentioned you referenced the future link in http://docs.quarkiverse.io/. I don't see it there. Did you send a PR? If so, can you link the PR here, please?

Great work @luanbrdev. Thank you!
Just one detail: Your branch is 7 commits behind the main branch. So, probably the documentation is outdated in your branch. Comparing your branch with main, we can see that there's only one commit missing from your branch that changes README.md. Can you please add the new documentation from that commit to this branch?
Also, I have one question: you mentioned you referenced the future link in http://docs.quarkiverse.io/. I don't see it there. Did you send a PR? If so, can you link the PR here, please?

@hbelmiro I'm sorry about that!
I'm not used to the fork approach and was wrong about my understanding of how 'pull' would work in my copy.

@ricardozanini sure, here are the workflows you can use for that:

https://github.com/quarkiverse/quarkiverse-docs/blob/main/.github/workflows/preview.yml
https://github.com/quarkiverse/quarkiverse-docs/blob/main/.github/workflows/preview_teardown.yml

@gastaldi it's just a matter of incorporating those workflows here? :D

Basically yes, you need a SURGE_TOKEN secret too. See https://surge.sh/help/integrating-with-circleci

@gastaldi I can apply for a token, but I don't have permission to add secrets in this repo. Can you add it?

@ricardozanini I gave you admin access to this repo. Enjoy :)

Actually, SURGE_TOKEN is already defined as an Organization secret, so you should be all set. I created https://github.com/quarkiverse/quarkiverse-devops/pull/184 to make you an admin to this repo if you still need it

@luanbrdev can you please incorporate these workflows into this PR? If the SURGE token won't work, I can set it up here.

Also maybe this could be more PR-friendly:

https://github.com/quarkusio/quarkusio.github.io/blob/develop/.github/workflows/preview.yml
https://github.com/quarkusio/quarkusio.github.io/blob/develop/.github/workflows/preview-teardown.yml

If I remember correctly, the SURGE_TOKEN will only work when the workflow is already in main, so I'm afraid this needs to be done in a separate PR

@luanbrdev can you do it too? So we open a different PR just to set the previews and rebase this one to see your work live! ❤

@luanbrdev can you rebase?

@luanbrdev it's looking great! https://quarkus-openapi-generator-preview-pr-493.surge.sh
And it seems the GHA worked too! I'll take a look why the comment broke the URL, thou.

@gastaldi after merging this commit, our docs will be automatically uploaded to https://docs.quarkiverse.io/index/explore/index.html ? 👯

@all-contributors please add @luanbrdev for docs


Can't play smooth? in which part should have problem?

hi, first thank you for the fantastic work.  i was  trying to play flv live steam. it finally works without fluency.   i decode  flv in h264 in yuv420.  which part should have the problem?

the reason is i didnt do anything to play each frame


TypeError: SQLAlchemySchemaMeta.get_declared_fields() missing 1 required positional argument: 'dict_cls'

Bug description
I am getting a TypeError when launching Superset (superset db upgrade):
TypeError: SQLAlchemySchemaMeta.get_declared_fields() missing 1 required positional argument: 'dict_cls'

I installed Superset following the "From Scratch" method.
How to reproduce the bug

python -m venv venv-superset
source venv-superset/bin/activate
pip install apache-superset
superset db upgrade

The same error appears from superset --help
Screenshots/recordings
Traceback (most recent call last):
  File "/usr/bin/superset", line 5, in <module>
    from superset.cli.main import superset
  File "/usr/lib/python3.11/site-packages/superset/__init__.py", line 21, in <module>
    from superset.app import create_app
  File "/usr/lib/python3.11/site-packages/superset/app.py", line 24, in <module>
    from superset.initialization import SupersetAppInitializer
  File "/usr/lib/python3.11/site-packages/superset/initialization/__init__.py", line 28, in <module>
    from flask_appbuilder import expose, IndexView
  File "/usr/lib/python3.11/site-packages/flask_appbuilder/__init__.py", line 5, in <module>
    from .api import ModelRestApi  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/flask_appbuilder/api/__init__.py", line 29, in <module>
    from marshmallow_sqlalchemy.fields import Related, RelatedList
  File "/usr/lib/python3.11/site-packages/marshmallow_sqlalchemy/__init__.py", line 9, in <module>
    from .schema import (
  File "/usr/lib/python3.11/site-packages/marshmallow_sqlalchemy/schema.py", line 143, in <module>
    class SQLAlchemySchema(
  File "/usr/lib/python3.11/site-packages/marshmallow/schema.py", line 116, in __new__
    klass._declared_fields = mcs.get_declared_fields(
                             ^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: SQLAlchemySchemaMeta.get_declared_fields() missing 1 required positional argument: 'dict_cls'

Superset version
3.1.0
Python version
3.11
Node version
Not applicable
Browser
Not applicable
Additional context
No response
Checklist

[X] I have searched Superset docs and Slack and didn't find a solution to my problem.
[X] I have searched the GitHub issue tracker and didn't find a similar bug report.
[X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Closing this as stale... but if you're still facing this, let us know if there's any updated context, and we can certainly reopen it!


Hi @jaissam10,

          Hi @jaissam10,

I'm not sure I fully understand your scenario, but the general solution when partitioned cookies/storage are not an option is to use unpartitioned storage, e.g. unpartitioned cookies. Your React app can use the Storage Access API to request access to that data.
Originally posted by @cfredric in https://github.com/privacysandbox/privacy-sandbox-dev-support/issues/409#issuecomment-2310395649

@av1934413  There are two issues here.
First, the StorageAccessAPI will trigger a dialog for the user, which in my case would occur for every new domain's PDF. This isn't an ideal solution since we can't show a popup for every PDF.
Secondly, this method can only be triggered through an actual user click.
Let me know if there's another approach.


LW: Cannot pay fees for UIA transfer

I have enough fee (about 10 BTS) for UIA transfer, but when I tried to send UIA, the message says I currently do not have enough fee.
http://imgur.com/Srv6Zdy,RLCkAZz#0
http://imgur.com/Srv6Zdy,RLCkAZz#1
Plus, it shows 500, instead of 500,000

@clayop Is this in a locale which uses commas as a decimal point?

@nathanhourt Probably. Using Windows 7 64bit Korean.

@clayop I cannot reproduce your number formatting issue using either decimal point type. Either way it works correctly on my end. Can you send some TOURCOIN to lightclient so I can try it with that particular asset? I can send it back when I'm done.
Thanks.

Nevermind, I found it. It's a problem with assets having zero digits of precision. :)

@nathanhourt You mean an asset precision value of 1 in the backend right? This should have no digits after the decimal point. We don't have any assets with a precision value of 0 do we?

@vikramrajkumar Correct. The precision number is 1, so digits of precision is clog(1) = 0. See http://bitsharesblocks.com/asset/info?asset=TOURCOIN


Vimeo codepen not functioning on load.

The Vimeo Codepen example will only play the video if you include data-plyr-config='{autoplay, false}' in the player div. Not sure if this is expected, but as a first time user of Plyr it was quite confusing when on load the page wasn't functioning.

With further testing sometimes autoplay false lets me start the video, and sometimes adding nothing lets me start the video - Inconsistent results. I'm on Chrome

Hi @zakickes - was this resolved? I'm looking to use pylr.io with Vimeo and looking for assurance that it works! But I can't get a video to play in codepen


Add the styleimagemissing event from mapbox

This allows for things like the mapBox example here:
Generate and add a missing icon to the map
For our purposes, that should allow us to have dynamic symbol images with presumably better performance than a large list of custom Marker components.

Looks good, thanks! Will merge and add docs.

Released in v4.3.0: https://github.com/alex3165/react-mapbox-gl/releases/tag/v4.3.0

Thanks @mklopets! Sorry for not updating the docs. Have a great day!


How to use this?

Hello, Daniel, i am creating a telegram bot and i want to use your code(with your copyright, of course).
In flat.go i found this line:
type Flat [][]string

I realized that this type is used as cube scramble, but i don't know how to use it.
Can you help me, please, how i can solve my scrambles?

Hi, Flat is data structure I use to flatten a cube and print it to the screen (like how you would flat a cardboard box by opening up the sides).  For a scramble (in the sense of a rotation) is related to the method Turn in cube.go.  Turn takes something else instead of a cube notation.  Instead of F, R, U, L, B, D, it takes an axis, an index and a direction.
What functionality are you looking for?  Do you want to pass a scramble and see how the cube gets modified?

I thought i can use this repository for solve cube scramble. I want to give scramble and receive a path to solving

The program doesn't take a scramble at the moment, but we can implement that fairly easily.  However, there is no built-in solver.

I need solver, can you help me? I found scripts, but only in python.

I can help you if you are willing to work together. ;-)  We can work on a pull request together.

We can create solving and setting own scramble functional together. But i don't know how. I can solve cube by my hands, but i think program solver need many analyzers and ifs. However, i didn't find anything like it in go. If you ready to implement algorithms in program, i ready, but i won't do it by my self


[Feat]: Navbar sticky

Is your feature request related to a problem? Please describe.
I observed that navbar is not sticky.
Describe the solution you'd like.
I want to make it sticky by using CSS features.
Describe alternatives you've considered.
No response
Additional context.
I am GSSOC'24 Contributor
I want to work on this issue.
Please assign me this task.
Show us the magic with screenshots
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

assigning to you @harinisayani, you can start working on it.


Watch Readiness/Liveness on Secondary Resource

Type of question
how to implement a specific feature
Question
Is it possible to trigger the reconcile function on change of ready/not ready of a pod?
Do I need a specific watcher?
How would I catch this event inside the Reconcile?
Environment

operator-sdk version: v0.5.0+git

Kubernetes version information:

Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:38:32Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:25:46Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind: any

@marcomancuso When you watch a resource in your controller the reconcile loop will get triggered for any kind of update for an instance of that resource type.
If you're watching pods as your primary resource with handler.EnqueueRequestForObject such that your reconciler receives the keys for Pod objects then you can simply observe the ContainerStatus field of the Pod object in your reconcile loop and act/ignore accordingly.
If Pods are being watched as a secondary resource with handler.EnqueueRequestForOwner then you can use predicate based filtering to compare the difference between the old and new pod object to decide which pod update events will trigger the reconcile function for your CR.
So in your case you could filter out all update events where the Pod object's ContainerStatus field is unchanged, so that only pod update events with status changes will trigger the reconcile loop.
However this will ignore all other updates besides the container status change so you need to be sure that's what you want.
I can go into more details on an example if that's your use case.

Closing as the question was answered. If you @marcomancuso need more information, feel free to reopen this issue or open a new one.


Add Article for Fizz Buzz in Python

Looking for an author to write an article for #263

I'm a little confused.  I'd love to do this but it seems you already made a pr?

I apologize for the confusion! Currently, this repo doesn't have support for articles. If you want to do that, I'll have to add you as an author to the website.
Also, I'll add you as a collaborator, so I can officially assign this to you. 😃

I'm definitely still interested. :)

Great! Send an email address that works for you to<EMAIL_ADDRESS>Then, I'll get you added!

Hey, I've completed the article, but I'm not sure how to add a feature image and submit it for review.

Awesome! I'll have to add the featured image myself. Do you have any preference for images? I typically use free images from Pixabay.
Also, your article is kind of unique because I don't have a series setup for it on the site yet. Because of that, we're looking at a publishing date of July 25th for your article.

Added link to this issue in language README: https://github.com/jrg94/sample-programs/commit/ccbb222ae120100b204b278866f290072b71e814

Sorry my life's been a bit chaotic this week.  I will likely do it today, but Monday at the latest.

Okay, I rewrote it in the recommended style.    I think it reads better, and it tries to explain some Python concepts.

I'll take a look! Since this would be the first article in a new series, I'll have to write the opening article which may take a bit. Just a heads up!

I edited the article a bit, let me know how you like it! :) We're looking at a publishing date of probably August 31st. Sorry that it's so far away! There's a lot of articles schedule for August.

I can't see the article at all, as I think I no longer own it, but I'm sure it's good.  :)  I can't wait to see it.


KAFKA-8744: Update Scala API to give names to processors

As it's only API extension to match the java API with Named object with lots of duplication, I only tested the logic once.

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Failing tests looks like flaky tests. Seems unrelated to this change.

@mdespriee Thanks for your patience; I'm taking a look today

@mdespriee Thanks for your patience; I'm taking a look today

ping @mdespriee feature freeze for 2.8 is approaching it would be great to get this in.

ping @mdespriee feature freeze for 2.8 is approaching it would be great to get this in.

@bbejeck of course. Just rebased on trunk and added a couple of tests.

@bbejeck of course. Just rebased on trunk and added a couple of tests.

Java 11 and 15 passed
Java 8 failures unrelated
org.apache.kafka.clients.consumer.KafkaConsumerTest.testCloseWithTimeUnit()
org.apache.kafka.clients.consumer.internals.FetcherTest.testEarlierOffsetResetArrivesLate()
kafka.api.TransactionsBounceTest.testWithGroupMetadata()

Kicking off tests again to try and get a green build

Java 11 and 15 passed
Java 8 failures unrelated
org.apache.kafka.clients.consumer.KafkaConsumerTest.testCloseWithTimeUnit()
org.apache.kafka.clients.consumer.internals.FetcherTest.testEarlierOffsetResetArrivesLate()
kafka.api.TransactionsBounceTest.testWithGroupMetadata()

Kicking off tests again to try and get a green build

merged #9738 into trunk

merged #9738 into trunk

Thanks again @mdespriee for the contribution!

Thanks again @mdespriee for the contribution!

@bbejeck you're welcome, thanks for the review and merge :-)

@bbejeck you're welcome, thanks for the review and merge :-)


Verify that a received Commit contains all valid proposals from that epoch

Never mind. As far as I can see we already do all the checks mandated by the spec.


Remove randomized startup delays

This is the doc change for https://github.com/rabbitmq/rabbitmq-server/pull/3075 (i.e relevant for >= 3.8.18)
In K8s, the cluster-operator nowadays uses Parallel (instead of OrderedReady)
pod management policy. Therefore, we delete some sentences on
recommending OrderedReady.
There is no need to document the new config value
cluster_formation.internal_lock_retries since it's too much
implementation detail for this doc and we don't expect users to change
this value.

I reworded this a bit, looks good to go after 3.8.17 ships.

Backported to v3.8.x.


about embedding

Hello! I want to vectorize my data and train matchpyramid model. I have used my own method to process text into text embedding, but I do n’t know how to deal with the labels, and I just don’t know the specific data format?

Please be more specific about what you would like to achieve. I am confused about your question.


Get-DatabaseFile errors on compat level 100 databases

Opened as dbachecks issue by @fatherjack as first identified there and affecting Log File Size Checks.
https://github.com/sqlcollaborative/dbachecks/issues/409
Moved to dbatools
Issue
This is a bug
Bug Report
General Troubleshooting steps
Verified running the latest release of dbachecks ?
error present in 9.304
Verified errors are not related to permissions?
Can duplicate in new/clean PowerShell session (clean = powershell -NoProfile)?
Version Information
Operating System (Name|Version): Win 10 Pro
PowerShell Version: v5
SQL Server (Edition|Version): SQL Server 2016 13.0.4206.0 Developer Edition
Steps to Reproduce
When running Get-DbaDatabaseFile against a server with databases in 100 compatability level the following error is returned for the 100 level databases:
Get-DbaDatabaseFile -sqlinstance "$env:computername\sql2016"
Select-Object : Cannot convert System.Char to one of the
following types {System.String,
System.Management.Automation.ScriptBlock}.
At C:\Program Files\WindowsPowerShell\Modules\dbatools\0.9.304
allcommands.ps1:25512 char:111
`+ ... g(0, 1) } | Select-Object $MbFreeColName -ExpandProperty
$MbFreeColNa ...
I have done some debugging.
The issue is due to the tsql being executed based on the version of the database. As this is a 100 level database the tsql doesnt include any volume free space information from the sys.dm_os_volume_stats and the get available_bytes column.
This is tested at line 25506 - the test is if ($result.VolumeFreeSpace)
For a 100 level database this fails so the Else code is executed but the code in the Else returns a value of e in the variable
lines 25510 - 25513 - my values debugging each line are in bold
$disks = $server.Query("xp_fixeddrives", $db.Name)
**drive MB free
C 163674**
$MbFreeColName = $disks[0].psobject.Properties.Name[1]
e
$free = $disks | Where-Object { $_.drive -eq $result.PhysicalName.Substring(0, 1) } | Select-Object $MbFreeColName -ExpandProperty $MbFreeColName
[error]
because the value 'e' doesnt relate to anything
checking different options of line 25511 ...
Line 25511 sets the value of $MbFreeColName to the result of
$disks[0].psobject.Properties.Name[1] which we know results in e.
The result of
$disks[0].psobject.Properties.Name is length
the result of
$disks[0].psobject.Properties.Name[4] is t

Have a fix for this now, just need to get connected to GitHub and sync the change for others to test


[AMQ-7426] Upgrade to log4j2

You'll definitely want to use something newer than 2.14.1 given the recently discovered severe vulnerability.

Runtime/assembly works fine. Now I have to fix some tests which are using log4j (logger/appender).

Test configs can/should use 'log4j2-test.properties' rather than 'log4j2.properties', it has a higher priority than regular files and makes it easier/quicker to distinguish the non-test config amongst the sea of files.

I will review the dependencies. Regarding log4j properties, it uses the same as before. So I guess the comment is not related to log4j2 update but more general comment.

I'd say its a comment about the update since you are creating all the new files now, and I dont think log4j 1 had that functionality.

Catcha. Thanks. I'm updating the PR.

 Same number of slf4j-log4j12 deps.

@gemmellr most of them are coming from commons-logging dependency in activeio. Should I exclude it ?

I would say so, if the idea is to not use Log4J 1.x, then there should be no trace of it. Those bits should be using Log4J 2 (via the 1.2 bridge), or a less apealling alternative would be subbing in reload4j, but that doesnt really make sense given the context.

@gemmellr PR updated

Still some remaining log4j 1 instances (from zookeeper and pax stuff, as on the reload4j PR):
This much should be expected given it was one of the main things in the reload4j PR, e.g https://github.com/apache/activemq/commit/1f01a61426e1f783b0952bb4298c6aeeaa1e5011#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8R623-R656 and https://github.com/apache/activemq/commit/1f01a61426e1f783b0952bb4298c6aeeaa1e5011#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8R491-R512

@gemmellr let me double check, I thought I did it already.

I don't see log4j1 anymore so that part looks good

Yep, no log4j 1 and no slf4j-log4j12 mentions now. The mentions of log4j look to all be 2.17.1 now.

Think it needs a rebase after the recent force push on main. The Jenkins build fell over, and prodding a restart it doesnt like trying to merge it.

Rebased

Last change breaks some tests, I'm fixing (probably due to dependency updates). I'm on it.

All should be good now. I'm just waiting for Jenkins green light before merging.

@jbonofre - We all good to merge?Looks like the checks passed


is there any way to stop/modify a multi cmd execution based on a cmd output?

I need to write a use case, which i am not sure whether is supported or not.
I want only to insert in atomacity way based on a db condition. My first fail attempt was something like:
  multi.llen( redis_room_id, function(err, count) {

    if ( count>0 ) throw new Error(' redis_room_id (' +redis_room_id+ ') already exists' ) ;

  });

  id_list.forEach( function(item, index, array) {

    multi.lpush( redis_room_id, item , function(err, item){

          ...
    });

  });

  multi.exec( function(err, replies) {

    next(err);

  });

I will place the condition outside the multi command, but i would like to know if something like my first approach is currently possible and how.
thx, lg

The way to do this is by using the WATCH command. It can be used to setup a write-watcher on the "redis_room_id" key, which makes a subsequent MULTI/EXEC block fail if it has received writes. The flow will become:
WATCH <my list key>
LLEN <my list key>
<if you want to bail>
  UNWATCH
<if you want to do something>
  MULTI
  <whatever>
  EXEC

EXEC returns nil (indicating it didn't execute the block) when <my list key> has received a write in the mean time, thereby invalidating the return value for LLEN.


Automatic retry request for all rate limit responses

We should have a global setting to automatically retry requests (with exponential back-off) that receive a rate limit response. It should be turned on by default, have a retry limit of 3-5 that is configurable and additionally be configured to be turned off altogether.
Something like:
var gcloud = require('gcloud')({ retryLimit: 5 });

and
var gcloud = require('gcloud')({ autoRetry: false });

We should be clear that this setting is only for responses related to rate limits being reached and not that it will retry every request regardless of response error.

Just look for error code 429: Too many requests?

The Google Cloud Storage JSON API per-project usage limit was exceeded. If your application tries to use more than its limit, additional requests will fail. You can see API usage limits on the Quotas pane in the Google Developers Console.

I think you may want to also look for 500.
There are inevitable non-zero intermittent 5xx errors with distributed systems like current APIs, I would like to retry in such cases, as well as rate limited errors.

Apparently it's there's no way for me to test this locally because I never get rate limited on my machine. I have no idea why that is. I literally just made 100 buckets in ~1 second, no rate limit.

Maybe you can explicitly configure the lower user limit on your project?

@tmatsuo Any idea what this error code is?  https://travis-ci.org/GoogleCloudPlatform/gcloud-node/builds/56411032
Excerpt:

Error: The service was unable to fulfill your request. Please try again.

Does it always happen?
If not, they are just intermittent errors, and they're not limited only to Pub/Sub.

No it doesn't always happen. Just trying to track down the code because this occurred with rate limiting PR merged (checking and retrying 500, 503 and 429)


Uncaught SyntaxError: Unexpected token { at flash-message.js:5

Hi,
I just installed the addon using ember install:addon ember-cli-flash. However, when I run my project with ember server, I get the following error:
Uncaught SyntaxError: Unexpected token {

The error occurred at at flash-message.js:5.

This usually happens when you don't have ember-cli-babel installed, are you using ember-cli-6to5 instead?

I do have ember-cli-babel installed

Okay, could you please copy paste your package.json and the full stacktrace? Thanks!

package.json
{
  "name": "client",
  "version": "0.0.0",
  "description": "Small description for client goes here",
  "private": true,
  "directories": {
    "doc": "doc",
    "test": "tests"
  },
  "scripts": {
    "start": "ember server",
    "build": "ember build",
    "test": "ember test"
  },
  "repository": "",
  "engines": {
    "node": ">= 0.10.0"
  },
  "author": "",
  "license": "MIT",
  "devDependencies": {
    "broccoli-asset-rev": "^2.0.0",
    "ember-cli": "0.1.15",
    "ember-cli-app-version": "0.3.1",
    "ember-cli-babel": "^4.0.0",
    "ember-cli-compass-compiler": "0.0.18",
    "ember-cli-dependency-checker": "0.0.7",
    "ember-cli-flash": "1.1.0",
    "ember-cli-font-awesome": "0.0.9",
    "ember-cli-htmlbars": "0.7.4",
    "ember-cli-ic-ajax": "0.1.1",
    "ember-cli-inject-live-reload": "^1.3.0",
    "ember-cli-qunit": "0.3.8",
    "ember-cli-uglify": "1.0.1",
    "ember-data": "1.0.0-beta.15",
    "ember-export-application-global": "^1.0.2"
    "express": "^4.8.5",
    "glob": "^4.0.5"
  },
  "dependencies": {
    "ember-responsive": "^1.0.1"
  }
}

Stacktrace:
Uncaught SyntaxError: Unexpected token {
application.js:1Uncaught ReferenceError: define is not definedapplication.js:1 (anonymous function)

Ah right, it's probably because you're on an older version of ember-cli then. The issue is that up until 0.2.0, ember-cli had a flat addon structure – if you upgrade to any version including 0.2.0, this should fix your problem.


fixed broken links for code examples

Fixed broken links for code examples of asynchronous operations in C++.

Learn Build status updates of commit c19e954:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/parallel/concrt/creating-asynchronous-operations-in-cpp-for-windows-store-apps.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@TylerMSFT
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@vedmin, Hi, thank you for caring about the docs. I'm puzzled by the change because our filesystem isn't case-sensitive and I don't see a problem with the existing links. Can you explain what you are seeing that led you to make these changes?

Asked for clarification in November, but didn't hear back. I don't believe this change is necessary.


Limited scroll bar

Hi, first of all, thanks for your job, Alec.
I have an IG account with more than 600 followed users and I normally collect their stories with your extension once a day.
Problem is, IG Chrome story scroll bar shows around 150-160 stories at max. I'm sure missing plenty of them, considering stories are deleted at the very next day.
So, my request is, if it would be possible for this scroll bar to show unlimited stories, or at least increase quantity to 1.000.
Thanks for your time,
Al

@foolayup You can use the new extension version which injects the story into instagram.com. There is no such restriction on there.


Use dedicated div for query status

Using the datatable div breaks datatable's ability to update the table later.
Fixes #263

Tests are failing because of a DSS ES outage. This code is not exercised by a test suite so the tests are not relevant. (Filed https://github.com/HumanCellAtlas/query-service/issues/265 to track adding tests for the query builder.)


Roll Flutter Engine from c6fecf65fbf3 to 2905aee2360a (1 revision)

https://github.com/flutter/engine/compare/c6fecf65fbf3...2905aee2360a
2024-05-20<EMAIL_ADDRESS>Manual roll Dart SDK from 3c8718d827b5 to 54c384453207 (2 revisions) (flutter/engine#52927)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


[chore](deprecated dynamic schema) do not allow create deprecated dyn…

…amic schema
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall


Vulnerability roundup 85: imagemagick-7.0.10-17: 1 advisory [7.1]

search, files

[ ] CVE-2020-13902 CVSSv3=7.1 (nixos-unstable)

Scanned versions: nixos-unstable: 22c98819ccd. May contain false positives.

This was fixed in 7.0.10-20: https://github.com/ImageMagick/ImageMagick/discussions/2132
The version in master is 7.0.10-46.

This was fixed in 7.0.10-20: https://github.com/ImageMagick/ImageMagick/discussions/2132
The version in master is 7.0.10-46.


How to access to the leaderboards besides NLP?

These leaderboards have not yet been launched. They will be updated in the near future. Please stay tuned.


Better display of task-argument descriptions

Remove description from below the argument name
Offer an info button next to the argument name (just the info symbol, or something short), that opens a bootstrap popover with the full description.

Expand the string-input width.


WebAssembly build instructions

The README.md file indicates that TDLib is compatible with WebAssembly, however, I was not able to find instructions of how to build it.
Any advice to build a WebAssembly version of the library?

 Currently we have not built using Emcripten. Try to assemble using Rust.
But let's wait for the answers of the experts on the assemblies.

Instructions for WebAssembly will be published later when they will be production-ready. We have verified that all basic TDLib functionality works in browsers when it is compiled to WebAssembly, but we can't publish our WebAssembly examples now because of existing technical limitations. We will likely mitigate them in 1-2 months and publish build instructions for WebAssembly and/or TDLib npm package.

WebAssembly is still under development. The technology is relatively fresh. If this technology is completed, then javascript can smoke.

@isopen I managed. It is necessary simply to understand modern technologies.

@levlam can you share how situation with WASM looks like at this point?

@iansowinski Situation is pretty the same. Currently, to use TDLib in a browser, additional Websocket to TCP proxies are needed. They IPs need to be hard coded to TDLib source code, which is acceptable only for testing purposes. When we resolve this issue, we publish detailed build instructions along with supporting TDLib npm package.

eg: https://github.com/tdlib/td/issues/18

eg: https://github.com/isopen/twasm

So, how is the status upon support on WebAssembly?

@levlam So, how is the status upon support on WebAssembly? I've got a new Telegram client project, and I wanted it to be also available on the web using TDLib.

@levlam is there any update on this? Also looking to get started on a Telegram client project soon!

TDLib hasn't been updated in over 7 months... Webogram (Telegram for web) not in 5 months. Is it dead or closed source now?

@MattNguyen Since 1.3.0 there was a lot of improvements in interaction of TDLib with browser's API. TDLib has been successfully used to create a web client for Telegram with all of benefits provided by TDLib: https://evgeny-nadymov.github.io/telegram-react / https://github.com/evgeny-nadymov/telegram-react. The underluying JS library tdweb will be made public along with TDLib 1.4.0 release. Source code and build instructions for tdweb was already added as an example of TDLib usage in a browser to TDLib development version. The only part there, that we need to improve before release, is tdweb's documentation and usage instructions.
TDLib 1.4.0 is expected to be released after Telegram X stable release and Bot API 4.2.0 release.

@Niek TDLib source code will be updated soon, likely this month.
I can tell nothing about Webogram future, but API scheme on the site will not be updated. You can find the actual scheme in a published source code of any Telegram client, but writing a good Telegram client using these methods is a really hard task. Having the actual scheme doesn't help at all to achieve that. Instead, TDLib provides a simple to use and fully-documented API for interaction with Telegram servers, which makes the interaction very simple.

@levlam good to hear you're preparing to release the updated source of TDlib (I assume this includes the "TDweb" source that is unavailable right now). The telegram-react project looks promising, in my tests I've been able to reach much higher downloads speeds compared to Webogram.
If you're not going to update the scheme on the site, maybe change it to link to something like https://github.com/telegramdesktop/tdesktop/blob/dev/Telegram/Resources/scheme.tl

Maybe https://github.com/tdlib/td/issues/508 helps understand that tdlib works fine in browsers (long ago). It remains the case for small. Design the architecture of the screens and adjust their switching.

@Niek I have a docs site with the latest layer: https://schema.horner.tj
Open source, too: https://github.com/tjhorner/schema.tl

@tjhorner that's amazing, thanks for linking it in here

TDLib 1.4.0 includes an example of TDLib usage in a browser. You can also use NPM package tdweb if you don't want to build TDLib yourself.