Paste : json link not complete inserted

Description:
using diagrams.net 13.4.5
copy and paste an object with a json link, a part of the link is missing when using ctrl+C andt ctrl+v
Reproduce:
create a file with at least two tabs/pages
create on each page an object
add to one Object a link to the object on the other page
data:action/json,{
"actions": [
{"open": "data:page/id,--Id of other page"},
{"scroll": {"cells": ["--ID of object on other page" ]}},
{"highlight": {"cells": ["--ID of object on other page"]}}
]
}
when using ctrl+C and ctrl+v the link will be
data:action/json,{
"actions": [
{},
{"scroll": {"cells": ["--ID of object on other page" ]}},
{"highlight": {"cells": ["--ID of object on other page"]}}
]
}
when using ctrl+C and Mouse right click -> paste here the link is correct
Expected behavior
ctrl+V shall react the same as with mouse right click paste here

oh.. i was working in the old VM. Sorry i forgot to update these. 15.4.1 is working.


Create the test model with functional capabilities of Iroha 2

https://mm.tt/map/2392820261?t=2q4qaiJXw6

Consider converting into Epic


Disallow ArrayRef assignment from temporaries.

Without this, the following statements will create ArrayRefs that refer to temporary storage that goes out of scope by the end of the line:
someArrayRef = getSingleElement();
someArrayRef = {elem1, elem2};

Note that the constructor still has this problem:
ArrayRef<Element> someArrayRef = getSingleElement();
ArrayRef<Element> someArrayRef = {elem1, elem2};

but that's a little harder to get rid of because we want to be able to use this in calls:
takesArrayRef(getSingleElement());
takesArrayRef({elem1, elem2});

Part of rdar://problem/16375365. Reviewed by @dexonsmith.

@swift-ci Please test and merge

@swift-ci Please test and merge

@swift-ci Please test


fix keyboard shortcut (ctrl + k) with empty categories

Description
On page load, if the search bar in the navbar hasn’t been clicked, pressing (Ctrl + K) does not display the categories because data fetching hasn’t been triggered. You need to click the search bar first to fetch the data.
Type of change
Please check the relevant option(s):

[x] Bug fix (non-breaking change that resolves an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (a fix or feature that would cause existing functionality to change unexpectedly)
[ ] New script (a fully functional and thoroughly tested script or set of scripts.)

Prerequisites
The following efforts must be made for the PR to be considered. Please check when completed:

[x] Self-review performed (I have reviewed my code, ensuring it follows established patterns and conventions)
[x] Testing performed (I have tested my changes, ensuring everything works as expected)
[ ] Documentation updated (I have updated any relevant documentation)

Additional Information (optional)
Provide any additional context or screenshots about the feature or fix here.
before:

after:

good spot, thank you!


Phaser 3.13 fillRect bug

Something wrong happennig when I'm trying to change Phaser 3.12 to 3.13.
While 3.12 version isn't causing any problems, 3.13 version in the same conditions spending too much time to fillRect method invocation and the time of invocation this method is growing in arithmetical progression during the game execution.
At the beginning:

After some time:

The same conditions with 3.12 version:

I can see this problem on both Android and Windows version Chrome (I don't have any information about other browsers).

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Code sample needed that demonstrates this, as it doesn't surface in a randomly selected test from the labs.

var config = {
type: Phaser.CANVAS,
scene: {
create: create,
}
};
var game = new Phaser.Game(config);
function create ()
{
let whiteMask = new Phaser.GameObjects.Graphics(this);
whiteMask.fillStyle(0xffffff);
whiteMask.fillCircle(0,0, 30);
whiteMask.setAlpha(0);
this.add.existing(whiteMask);
this.tweens.add({
targets: whiteMask,
alpha: 0.36,
ease: "Power0",
duration: 150,
yoyo: true,
repeat: -1
})
}
Could you check this sample?

Have finally managed to reproduce this, so will have a look and see how something as simple as a fillRect could cause it.


Archiving this repo

@thisdarktao, @timaccent, @daveaccent,  Hi guys, I've given this some more thought and am not prepared to publicly support this for the following reasons.
The whole idea of being able to add styles for colours while the site is running goes against every aspect of what happens from when wagtail first starts when pulling in the features into the editor to serving that editor in the form, validating the form when you try to save it, previewing that once you add a colour, and finally serving the page. Nothing helps it on any level. Which makes adding these colours in this way a total hack and will without a doubt cause issues. As I already know there are several outside of the above.
It is not something i want to say to the wider community "Hey look what we've done, it's pants but enjoy the issues you'll have :)".
At best I would be willing to make the colours a fixed list which can be defined up front in the sites settings. This at least we know cannot change while the site is running and design decisions can be left to those in the best place to make them. Meaning all the hacks would be gone too.
I might do this again in another repo and release that leaving this one in a readonly state so it can still be used if we REALLY need to. But I cannot stress enough we shouldn't use it and there will be issues which will be beyond our control.
Whats are your thoughts
Stu

Yeah I agree, I don't think we should turn Wagtail into WordPress.

If it's not something that fits into the Wagtail functionality smoothly, then forcing this to work would be like trying to push a watermelon through a keyhole. This should go for anything we work on really: if something can technically be done, but leaves a trail of hacks and mess in it's wake, it probably means it shouldn't be done.

If it goes against Wagtail and becomes hacky; agreed we shouldn't go down that route. Particularly if it we were going to release it and support it.


commit

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

Coverage data is based on head (84a4c8a) compared to base (643d74b).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #3   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            8         8
  Lines          228       228
  Branches        48        48
=========================================
  Hits           228       228

Impacted Files
Coverage Δ

src/isZodTypeEqual.tsx
100.00% <ø> (ø)

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

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


[postcss] Add support for common config

Hey, it's just a reminder for me.

PostCSS currently support common configuration file postcss.config.js
It would be nice to add this feature in taskr plugin as well.
PS. I played with labels, feel free to change naming how you like.

Sounds good! I can crank this out real quick, unless you're on it already.
And I edited the label to just be "plugin" for now. Can adapt as the issues come in.

Man, you are fast :) I am not on it yet, you can take it if you wish, unless you have higher priority tasks.

Haha 😇 I'm getting started for the day! I like to do small OSS fixes to "warm up"
I'll open a PR and await your review since you are the expert here 👍

So, I think supporting the "postcss" key inside package.json is also a good idea.
What about supporting custom filenames (eg, path/to/config.js) and the unofficial rc-files? (.postcssrc, .postcss.yml, etc)

These options would look like:
// autoload `postcss.config.js`
// or "postcss" key in `package.json`
yield task.source(...).postcss().target(...);

// specify a custom config
yield task.source(...).postcss('path/to/config.js').target(...);
yield task.source(...).postcss({ config: 'path/to/config.js' }).target(...);

// send options (current)
yield task.source(...).postcss({ plugins:[], options:{} }).target(...);

I am unsure about the custom configs (2 & 3).

postcss ecosystem has common way for doing this - postcss-load-config . If you don't want to add it as dependency i guess that options described in readme should be supported.

Right, I just saw that too. I checked it out & it has a lot of dependencies that mimics what we already have built-in.
Sending a PR now. Tests to follow later


PDF, CSV export - not working

To be checked with Django Datta Able:
https://github.com/app-generator/django-datta-able

Great work @mominur-helios
Validated. Closing.


Add recommendation for tmux or screen session

Here's a potential start to a blurb about running the script in a tmux or screen session.  Please feel free to change up, reword, scrap the whole thing and start afresh, etc.

I like it, can you also add in a blurb under known issues that references the specific issue of cockpit being restarted during the update and causing the remote session to be disrupted?


Add test for copying public key

Scenario: Copy public key
Given I have unlocked wallet
And unlocked icon is displayed
When I click on copy public key
Then public key is copied

There's an open issue for Cypress to fix an issue with copy. Until it's fixed it'll be hard to test this properly
https://github.com/cypress-io/cypress/issues/2851

Let's not worry about this for v0.1 then.


Adios configuration

I believe that the implementation guideline for this tool would benefit greatly from additional details, particularly regarding its setup process. Currently, I find myself encountering difficulties at step 6, as the "Adios Menu" is not appearing as expected. Furthermore, even if the menu were visible, the instructions on how to effectively utilize it remain unclear to me. I would greatly appreciate any assistance or clarification in this matter, as I am eager to make full use of this solution. Thank you in advance for your support and guidance.

I resolved the issue. Apperently when copying the document it does not copy the appscript with it. I resolved it by copying the appscript manually from the original document to my know one. Now I am getting an error saying invalid argument. I reckon this has something to do with my API rights so I will look into that first.

It now seems I need a developer token with basic access level. At the moment I only have a token on test level and I am unable to create a test account. I applied for the basic level and I am awaiting the approval.


Change UserDefaults to FileManager

Screens and Images should be saved using FileManager instead of UserDefaults

Resolved in #13


SG-as-a-library: can't read Vars during inserts

I'm using this code:
func NewConfig() core.Config {
	return core.Config{
		DefaultBlock: true,

		Blocklist: []string{
			"password",
			"account_id",
    },

		Vars: map[string]string{
			"account_id": "sql:select account_id from users where id = $user_id",
    },

		Roles: []core.Role{
			{
				Name: "user",
				Tables: []core.RoleTable{
					{
						Name: "players",
						Query: &core.Query{
							Filters: []string{
								"{ account_id: { _eq: $account_id } }",
							},
						},
						Insert: &core.Insert{
							Presets: map[string]string{
								"account_id": "$account_id",
							},
						},
					},
				},
			},
		},
	}
}

What is not working here is:
Insert: &core.Insert{
	Presets: map[string]string{
		"account_id": "$account_id",
	},
},

The error is:
error="required variable 'account_id' of type 'bigint' must be set"
It works if I use this:
Insert: &core.Insert{
	Presets: map[string]string{
		"account_id": "123",
	},
},

and works if I use the "global" $user_id var, but of course this is wrong.
Should I think SG can't read Vars map[string]string in Insert hooks?

@dosco no pressure on other issues, but this is blocking me.
Can you take a quick look and tell me if I'm wrong?

Oh! Wow! I just found that it works if you use this:
Insert: &core.Insert{
	Presets: map[string]string{
		"account_id": "sql:select account_id from users where id = $user_id",
	},
},

But this is DRY... :(

I'm trying to discourage use of SQL. This feature was a compromise early since someone needed it and I didn't want to be a blocker. I want all the this to be GraphQL and all the SQL be generated so the software has full control and no room for broken SQL breaking things. Also there is this method to help you set https://pkg.go.dev/github.com/dosco/super-graph@v0.14.31/core?tab=doc#Config.AddRoleTable

Oh! Wow! I just found that it works if you use this:
Insert: &core.Insert{
	Presets: map[string]string{
		"account_id": "sql:select account_id from users where id = $user_id",
	},
},

But this is DRY... :(

Any suggestions on how to improve this?

This, for now, is my biggest problem to face in order to move definitively to SuperGraph.
Several Rails applications we have in production use https://github.com/influitive/apartment for the account_id and we need this clause everywhere: in the insertions (with the preset, like in this case) and in the remaining CRUD operations (as a where clause).
I would be very happy not only to be able to solve this specific problem, also if SuperGraph can have a global solution to the management of the account_id (tenant).

I'm trying to discourage use of SQL.

I agree. I want it too.
Can we proceed step by step?
Can we first solve this problem (reading the "global" Vars (sql or not)) and then find a more effective way to completely remove the use of manual sql from SG?

Can we first solve this problem (reading the "global" Vars (sql or not)) and then find a more effective way to completely remove the use of manual sql from SG?

Can you define the problem?

Can you define the problem?

The problem in the first post:
Using this code:
Insert: &core.Insert{
	Presets: map[string]string{
		"account_id": "$account_id",
	},
},

with $account_id defined in Vars:
Vars: map[string]string{
  "account_id": "sql:select account_id from users where id = $user_id",
},

it doesn't work:
error="required variable 'account_id' of type 'bigint' must be set"

Using this instead works:
Insert: &core.Insert{
	Presets: map[string]string{
		"account_id": "sql:select account_id from users where id = $user_id",
	},
},

Is there a way to avoid the repetition of sql:select account_id from users where id = $user_id, using the Var in Presets?

Fixed https://github.com/dosco/super-graph/commit/3967dcc3242050b93881aac09a588f94373b11a8


Starting a redis:6.0.1 container no longer works with podman 2.0.0-dev

/kind bug
A redis 6.0.1 container no longer works with podman 2.0.0-dev.  See the podman2rediserrors.txt file for the full error output.
chown: changing ownership of './sys/module/nft_fib_inet/sections/.note.Linux': Read-only file system
chown: changing ownership of './sys/module/nft_fib_inet/sections/.strtab': Read-only file system
chown: changing ownership of './sys/module/nft_fib_inet/sections/__mcount_loc': Read-only file system
chown: changing ownership of './sys/module/nft_fib_inet/sections/.exit.text': Read-only file system
chown: changing ownership of './sys/module/nft_fib_inet/sections/.orc_unwind_ip': Read-only file system
chown: changing ownership of './sys/module/nft_fib_inet/sections/.gnu.linkonce.this_module': Read-only file system
chown: changing ownership of './sys/module/nft_fib_inet/sections/.symtab': Read-only file system
chown: changing ownership of './sys/module/nft_fib_inet/sections/.rodata': Read-only file system
chown: changing ownership of './sys/module/nft_fib_inet/sections/.init.text': Read-only file system
chown: changing ownership of './sys/module/nft_fib_inet/sections/.note.gnu.build-id': Read-only file system
chown: changing ownership of './sys/module/nft_fib_inet/sections/.text': Read-only file system
chown: changing ownership of './sys/module/nft_fib_inet/sections/.rodata.str1.1': Read-only file system

The redis 6.0.1 container has not started and you cannot connect to it:
$ redis-cli ping
Could not connect to Redis at <IP_ADDRESS>:6379: Connection refused

It's in the entrypoint of the container.
# allow the container to be started with `--user`
if [ "$1" = 'redis-server' -a "$(id -u)" = '0' ]; then
	find . \! -user redis -exec chown redis '{}' +
	exec gosu redis "$0" "$@"
fi

Which is fatal because it's used with set -e.
Ideally, this find would also include the -xdev option so it didn't traverse /sys and /proc.  AFAIC that's a bug with the container image.
Proof:
Put this in fixed.sh
#!/bin/sh
set -e

# first arg is `-f` or `--some-option`
# or first arg is `something.conf`
if [ "${1#-}" != "$1" ] || [ "${1%.conf}" != "$1" ]; then
	set -- redis-server "$@"
fi

# allow the container to be started with `--user`
if [ "$1" = 'redis-server' -a "$(id -u)" = '0' ]; then
	find . -xdev \! -user redis -exec chown redis '{}' + || true
	exec gosu redis "$0" "$@"
fi

exec "$@"

chmod a+x fixed.sh
podman run -d --rm --name redis-testing -v $PWD/fixed.sh:/usr/local/bin/docker-entrypoint.sh  -p 6379:6379 redis:6.0.1

The || true could probably be removed with further tweaks, i.e. ignore the /sys folder, and maybe use -type f to exclude the broken links.

The real problem is podman is ignoring the WorkingDir of /data provided in the image.  It's starting in /, which is causing the problem.

"cwd":"/" is in the config.json

Dockerfile:
FROM alpine

WORKDIR /tmp

And then
buildah bud -t testimage .
And
podman run --rm -it testimage sh
/ #
fail.
Vs:
podman run --rm -it -w /tmp testimage sh
/tmp #


update_R_file (in stancode.jl) fails when handling large arrays

I'm a new user to Stan on julia, although I'm a long-time cmdstan user. I'm working on a problem where arrays of over a million elements need to be written to the .R file. I noticed that the stan() function never returned, seeming to get stuck just after opening the .R file but not writing to it. Upon investigation I found that update_R_file() puts each stan variable into a string before writing it, meaning that a large array generates a huge string. It's my guess that julia balks at this huge string. I modified update_R_file() to write arrays using writecsv() instead, and this solved the problem. My updated code is attached. I'm new to github, so pardon me if there is another way to upload proposed revisions. You'll note that the revised code is shorter as well.
Michael
function update_R_file{T<:Any}(file::String, dct::Dict{String, T}; replaceNaNs::Bool=true)
isfile(file) && rm(file)
strmout = open(file, "w")
str = ""
for entry in dct
str = """entry[1]"""" <- "
val = entry[2]
if length(val)==1 && length(size(val))==0
# Scalar
str = str"$(val)\n"
elseif length(val)==1 && length(size(val))==1
# Single element vector
str = str*"$(val[1])\n"
elseif length(val)>1 && length(size(val))==1
# Vector
str = str*"structure(c("
#= Replace this code
for i in 1:length(val)
str = str*"$(val[i])"
if i < length(val)
str = str*", "
end
end
=## with this code
write(strmout, str)
str = ""
writecsv(strmout, val');

  str = str*"), .Dim=c($(length(val))))\n"
elseif length(val)>1 && length(size(val))>1
  # Array
  str = str*"structure(c("

#= Replace this code
for i in 1:length(val)
str = str*"$(val[i])"
if i < length(val)
str = str*", "
end
end
=## with this code
write(strmout, str)
str = ""
writecsv(strmout, val[:]');

  dimstr = "c"*string(size(val))
  str = str*"), .Dim=$(dimstr))\n"
end
write(strmout, str)

end
close(strmout)
end

Hi Michael,
Thank you for the suggestion.
As it happens Jon Alm Eriksen did suggest another update to the update_R_file() function ( https://github.com/goedman/Stan.jl/issues/28 ).
This update was merged yesterday and you can try it by executing Pkg.checkout("Stan") in the REPL. You could try if this helps, I'm not 100% sure.
In the meantime I'll go over your code in more detail.
Regards,
Rob

I tried Jon's fix and found that it fails on my machine with N=10^6, which is the size I need for my work. My fix works with those values. In the following tests, Jon's fix has the _fix suffix and the original function has _old. Here are the test results for N=10^4:
N = 10000
data = Dict("Scalar" => rand(),
"Single_element_vector" => [rand()],
"Vector" => rand(N),
"Array" => rand(N,3))
@time Stan.update_R_file("testdata0", data)
@time Stan.update_R_file_fix("testdata1", data)
@time Stan.update_R_file_old("testdata2", data)
0.048601 seconds (40.20 k allocations: 4.391 MB)
0.057798 seconds (238.08 k allocations: 8.189 MB)
10.872421 seconds (638.19 k allocations: 56.659 GB, 20.10% gc time)
You'll note that my fix uses many fewer allocations. Here are the results for N=10^6:
N = 1000000
data = Dict("Scalar" => rand(),
"Single_element_vector" => [rand()],
"Vector" => rand(N),
"Array" => rand(N,3))
@time Stan.update_R_file("testdata0a", data)
2.143745 seconds (4.00 M allocations: 285.998 MB, 6.16% gc time)
Note that Jon's fix crashes my kernel.
Here is my code again for completeness. I apologize for not knowing how to post this code on github. The key aspect of my fix is to replace the string concatenation with a call to writecsv() for vectors and arrays.
function update_R_file{T<:Any}(file::String, dct::Dict{String, T})
isfile(file) && rm(file)
strmout = open(file, "w")
str = ""
for entry in dct
str = """entry[1]"""" <- "
val = entry[2]
if length(val)==1 && length(size(val))==0
# Scalar
str = str"$(val)\n"
elseif length(val)==1 && length(size(val))==1
# Single element vector
str = str*"$(val[1])\n"
elseif length(val)>1 && length(size(val))==1
# Vector
str = str*"structure(c("
write(strmout, str)
writecsv(strmout, val')
str = "), .Dim=c($(length(val))))\n"
elseif length(val)>1 && length(size(val))>1
# Array
str = str*"structure(c("
write(strmout, str)
writecsv(strmout, val[:]')
dimstr = "c"*string(size(val))
str = "), .Dim=$(dimstr))\n"
end
write(strmout, str)
end
close(strmout)
end

@michael-prange
Thanks for the additional testing. I have merged your suggested change and added a test_csv.jl in the test directory to compare the timings.
@jonalm,
In the master version of stan code.jl I have renamed your version to update_R_file_jon() and removed the '_old' version. Some testing on my side confirms @michael-prange 's conclusions (about equally fast and can handle N = 10^7. Can you live with this further update?
Regards,
Rob

Ha! I just ran into the same problem. @michael-prange 's solution is obviously much better than mine. writecsv should be optimised for writing numbers to text with commas in between. Thanks for fixing this.
@goedman, you can just remove the update_R_file_jon() version. Thanks again for the quick update.
Best,
Jon

Done. Thank you both!


[BEAM-9936] Create SDK harness containers with Python 3.8

List of changes:

Base image is now based on Debian Buster
new gradle project :sdks:python:container:py38:docker
a license for tensorboard-plugin-wit, a new dependency introduced by Tensorboard 2.20

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Run Python Dataflow ValidatesContainer

Run Python Dataflow ValidatesContainer

Run PythonLint PreCommit

Run Python Dataflow ValidatesContainer

Run Java PreCommit

Run Python PreCommit

Run Java PreCommit

R: @Hannah-Jiang
cc: @tvalentyn

Run Python PreCommit

Run Java PreCommit

Run Java PreCommit

@ibzib Do you know if we will need to update release instructions to make sure we build and release Python 3.8 containers for future releases? (It may be done in a future PR).

Run Python Dataflow ValidatesContainer

@ibzib Do you know if we will need to update release instructions to make sure we build and release Python 3.8 containers for future releases? (It may be done in a future PR).

All we need is to add 3.8 to these two scripts:
https://github.com/apache/beam/blob/836d0ad5b190502ac2086b9c44f4a7e8f4f9625d/release/src/main/scripts/build_release_candidate.sh#L51
https://github.com/apache/beam/blob/836d0ad5b190502ac2086b9c44f4a7e8f4f9625d/release/src/main/scripts/publish_docker_images.sh#L30

@ibzib Do you know if we will need to update release instructions to make sure we build and release Python 3.8 containers for future releases? (It may be done in a future PR).

All we need is to add 3.8 to these two scripts:
https://github.com/apache/beam/blob/836d0ad5b190502ac2086b9c44f4a7e8f4f9625d/release/src/main/scripts/build_release_candidate.sh#L51
https://github.com/apache/beam/blob/836d0ad5b190502ac2086b9c44f4a7e8f4f9625d/release/src/main/scripts/publish_docker_images.sh#L30

I also filed a ticket with INFRA to add the new repo on Docker hub, since no one on the Beam project has those privileges: https://issues.apache.org/jira/browse/INFRA-20288

Awesome, thank you!
I also opened BEAM-10046 to make sure Python 3.8 is reflected in the Beam release.

Run Python Dataflow ValidatesContainer

Run Python2_PVR_Flink PreCommit

Run SQL_Java11 PreCommit

LGTM, thanks, @kamilwu !

I think this PR might have caused BEAM-10316, PTAL


Example video has been archived

https://asciinema.org/a/J928KpHoUQ0sl54ulOSOLE71E?rows=20&speed=2.5
All unclaimed recordings (the ones not linked to any user account) are automatically archived 7 days after upload.

Uuuuuuh, no it was so good.
Woul;d you be up to making another? (If I recall correctly, it typed its way through the examples.)

Steps to get this to done:

brew install asciinema
author an extended example by stringing together code you find in the README and perhaps in the specs (if you find any teachable examples there)
sign up for an asciinema account
create your terminal movie
post the link to the README in a PR

I've just recovered the archived demo recording 😅


Timeout error

Reported via YouTube https://www.youtube.com/watch?v=xSgkQc48aSw&google_comment_id=z13lw3crpyutv1y5004cgd3wbkrzjliek
I'm having a few problems with the compilation of scss files. I have installed your extension on brackets as well as node.js. My brackets.json is like this:
{
    "path": {
        "Common/sass/emkt-projectEditor.css.scss": {
            "sass.enabled": true,
            "sass.options": {
                "output": "../stylesheets/emkt-projectEditor.css",
                "includePaths": [],
                "imagePath": null,
                "sourceComments": "map",
                "outputStyle": "nested"
            }
        }
    }
}

But is not compiling. When i open the scss file, after a while, it shows: "SCSS has timed out after waiting for 10000 ms"
What am I doing wrong?

I've got the very same problem on MacOS, but only if I'm using the Ruby compiler. Compiling a large scss file with many imports and partials will eventually result in a timeout error, as it has used more than 10000ms. It seems as if this is a restriction by Brackets, as the error message is translated to German as well. If I run the sass command on the command line, compilation is done without any errors, so there should be no bug in my files.

my fix: issue was related to $variables, check that you're referencing them exactly as you've declared them and their value, correct syntax etc. Reload with extensions (f5). Hope this helps someone, stumped me for a bit.

I can't compile my sass file, getting timeout ... what is the solution


check is streamable

This also removes hard-coded checks for datasets

he hanging is caused by it streaming 750 examples to check if they all have the same label. I found that streaming the data necessarily takes this much time (in my case, about 8 seconds). This should only impact performance when it throws an Exception for the dataset not being streamable.

It's possible that I'm misremembering but I do distinctly remember actually going through with a print statement to see what was going on and it like, stayed frozen even after it had hit the appropriate number of examples

It's possible that I'm misremembering but I do distinctly remember actually going through with a print statement to see what was going on and it like, stayed frozen even after it had hit the appropriate number of examples

I can't replicate this when I use print statements. If you're using max_examples / world_size less than 100, it checks the first 100 streaming examples as a minimum. As soon as it reaches the appropriate iteration it raises an exception for me.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: norabelrose:x: AlexTMallenYou have signed the CLA already but the status is still pending? Let us recheck it.

We don't even support streaming datasets anymore


unable to resize

Hi, for some reason - I've been struggling with this. I thought it was possibly my build set up, so I created a new very small project to test this out, and I still cant get resizing to happen. The gutter shows up, but nothing happens when I click to drag. Am I missing something?
Here's my initialization:
Split(['#one', '#two'], {
    sizes: [70, 30],
    minSize: 200
});

here's my css:
#one {
  height: 100vh;
  float: left;
  background: green;
}

#two {
  height: 100vh;
  float: right;
  background: blue;
}

And here's what I see:

As you can see, there's just a plain white gutter with no way to grab it to resize. I've looked at the examples in the docs, and this seems pretty straightforward, so not sure what I'm missing.
Mac OSX 10.12.6, Chrome - latest. Nothing out of the ordinary here. Any help would be appreciated! This looks like a great little package, I just can't get it to work 🙁

Do you have the .gutter CSS included? https://github.com/nathancahill/Split.js/#css

@nathancahill No I didn't, I probably should've read the docs better, but that is pretty low down there, it's not super obvious that it's necessary. Maybe a note up top might make this more clear?
Anyway, I added it, but still no dice. Looking at the code, it doesn't seem to suggest that that would affect their ability to actually resize the divs though, right? It's just aesthetic?
I think I pinpointed the problem, but can't seem to solve it. Perhaps there's something else in the docs that I'm missing. This is what looks like is happening though:

Either way, I'd love to utilize this tool in the future, but for the purposes of my current project, I just ended up implementing it from scratch. Not quite as good but it works!  http://g.recordit.co/jCAGmJ4Ra4.gif

take a look at https://cdn01.webciter.com/js/debug/app.js this is what i did follow the css rules in https://cdn01.webciter.com/css/init.css

@webciter cool! I'll take a look. thanks!

Yep, your gutter doesn't have any styles set (the height is 0px in your screenshot).


Internal link in public docs https://backstage.io/docs/architecture-decisions/adrs-overview

https://backstage.io/docs/architecture-decisions/adrs-overview links to
https://engineering.atspotify.com/2020/04/14/when-should-i-write-an-architecture-decision-record/'
which is not public accessible.
Expected Behavior
Linked page to be visible.
Current Behavior
403 Forbidden

Possible Solution
Make blog post public.

Hi @StevenTCramer! The blog post you have linked is on a public Spotify Engineering blog site, and not an internal one. Here is a snapshot[1] of the page on archive.org - if you're unable to access the domain for some reason.
[1] https://web.archive.org/web/20220105114115/https://engineering.atspotify.com/2020/04/14/when-should-i-write-an-architecture-decision-record/

Hmm this is pretty strange? That engineering.atspotify.com link works on my machine? Maybe it was a temporary hiccup?

Hmm what. It works for me right now, I wonder if we've broken some routing internally. Let me ping internally..

Yup works for me now:


Provide a way to execute a test method for a test case or all the generated test cases

From an IDE such as IntelliJ, you cannot run a test method individually. This makes quite painful to implement test code with JCUnit when we have multiple test methods in a test class and some of (or all of) them are time consuming. A user needs to modify (give @Ignore annotation or comment out) their test codes to suppress the other methods than the one he/she is working on at the time.
Although this is an IntelliJ side's issue, I believe, we should have some way to workaround it.
We should be able to do it by following code.
  new JUnit4Runner.Builder(QuadraticEquationExample.class)
    .testCase(1)
    .methodName("performScenario2")
    .build()
  .run();

JUnit4Runner is found in package com.github.dakusui.jcunit8.runners.junit4.

Reopened to update README.md.


First draft for text-to-image

(related to https://github.com/huggingface/hub-docs/pull/1379)
cc @osanseviero for viz'
End goal is to generate this page based on info from:

input specs
output specs
the task page https://huggingface.co/api/tasks
(maybe huggingface_hub doc example?)
(maybe huggingface.js doc example?)

I wrote the content in this PR manually to validate the format.  I have added:

a small description from the tasks page
a link to https://huggingface.co/tasks/text-to-image for more info
a list of recommended models from the tasks page
the API specification

inputs: payload (from specs) and headers (will always be the same)
output: payload (from specs). In the text-to-image example it's annoying because the output is not a json, no not describable using openschema. We should find a proxy to say "it's just bytes" in the specs so that docs are generated correctly.

examples:

CURL => how to generate (?)
Python =>  from hugginface_hub example (?). Add link to docs.
JavaScript => from huggingface.js (?). Add link to docs.

Open questions:

[ ] we should add an example URL like https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev. Depends on what we do for the curl example but we need it in any case.
[ ] should we add a curl example? is it possible to generate it? are the current examples maintained?
[ ] we should harmonize python/javascript snippets with the ones from https://huggingface.co/black-forest-labs/FLUX.1-dev?inference_api=true? If yes, how?

Anything else?

should we add a curl example? is it possible to generate it? are the current examples maintained?

Yes, adding a curl example is important and were recently updated :+1:

I've updated the draft based on @osanseviero feedback:

take snippets from https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/src/snippets => will be the same as for https://huggingface.co/black-forest-labs/FLUX.1-dev?inference_api=true
added Javascript / cURL as well
hard-coded small description (not taken from an API)
added link for https://huggingface.co/models?inference=warm&pipeline_tag=text-to-image&sort=trending

With https://github.com/huggingface/hub-docs/pull/1386 being merged, we have a clean first part to merge into the new_api_docs now. Let's not forget the few TODOs there.


Fixes #258

Fixes #258 - wrong value detected for negative enums of integer parameters
Simple fixe to check which directon to round integers. Up if positive and down if negative. Although this may not be the optimal mechanism it is only used when creating configuration files, not during runtime.

Thanks, but there is a mix of tabs vs spaces in there.
it is also better looking to make this a one-liner change with ternary operator.
These changes out go to into the develop branch first, but usage vs developing branches doesnt work too well for PRs... :thinking:


Get rid of most of the imports in drivers.init.py and SPI.init.py

I just spent 30 minutes trying to make a trivial change and repeatedly failing because every attempt to import a simple enum from SPI resulted in circular imports somewhere in the project.

Duplicates #231


Use RST's "option lists" for, well, listing the options

I recently found that RST actually has direct support for command line option lists, as shown here
https://github.com/sphinx-themes/sphinx-themes.org/blob/f731beabab404bfe8f630baa28205b6871cf07e7/sample-docs/kitchen-sink/lists.rst?plain=1#L64-L86
which is rendered as e.g.
https://sphinx-themes.org/sample-sites/sphinx-rtd-theme/kitchen-sink/lists/#option-lists

I find our implementation being much better, but thanks for the FYI 👍


Remove duplicate method removeAll in manual

I'll merge this in now but there might be a little bit of work before I can merge master into gh-pages to update the actual docs.


fix(region,host): storage add master host

What this PR does / why we need it:

Does this PR need to be backport to the previous release branch?:
release/3.11

/lgtm


Update eth_getBalance to pass block timestamp for account queries

Update the eth_getBalance method to use the timestamp of the block when calling getAccountPageLimit if a non-null blockNumberOrTagOrHash is passed. If no block number or tag is provided, the method should pass the timestamp of the already fetched latestBlock instead. This update ensures that account balance queries adhere to the new mirror node REST API changes, which now limit data queries to a 60-day time range.

Closed because no changes are needed for eth_getBalance. Only the transactions list in the response from accounts/{id} endpoint would be empty if the account has no transactions in the past 60 days. Everything else reflects what it should be.
When the blockNumberOrTagOrHash is:

older than 15 mins: our existing logic doesn't use accounts/{id}, it retrieves the balance through the /balances endpoint which is unaffected by the implicit 60d timestamp limit API changes
not older than 15 mins: our existing logic already uses the links.next field to recursively fetch all transactions whose timestamp >= block.timestamp.to when calling the accounts/{id} endpoint


Tab icon is misaligned

OS/Platform
Windows
Installed
https://ungoogled-software.github.io/ungoogled-chromium-binaries/
Version
124.0.6367.60
Have you tested that this is not an upstream issue or an issue with your configuration?

[ ] I have tried reproducing this issue in Chrome and it could not be reproduced there
[X] I have tried reproducing this issue in vanilla Chromium and it could not be reproduced there
[ ] I have tried reproducing this issue in ungoogled-chromium with a new and empty profile using --user-data-dir command line argument and it could not be reproduced there

Description
the Tab icon is misaligned
How to Reproduce?
Just open a tab
Actual behaviour

Expected behaviour
icon should be aligned with the Tab Title
Relevant log output
No response
Additional context
No response

This is an upstream issue https://issues.chromium.org/issues/332081796 and should be fixed in 124.0.6367.80

Basically, just reset all about redesign settings in chromium://flags or command-line. This issue only impacted users who had an opt-out of the Chromium redesign pushed last fall.

Bug fixed on version 124.0.6367.91
I will close the issue. Thanks.


Adding Breakpad port

Can someone please check this out?
I'm new to vcpkg and this involves some (subjectively) intricate cmake code (i.e. Breakpad version, dependencies, use of patched gyp, etc).
Thanks

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

Hi @DanOlivier, thanks for the PR!
To ensure repeatable builds, we have a policy that every portfile should have checked-in hashes for all downloaded components of builds -- in this case, that would include GYP. This means we need to pull a stable hash for GYP, instead of the constantly-in-flux "testing" branch.
In the past, we did try to build libuv using gyp[1], however it turns out that this was far more complicated, less stable, and less featureful than providing a simple CMake replacement[2][3]. I'd highly encourage you to look into replacing gyp with CMake (using the libuv example below as a guide) before trying to "stabilize" gyp.
[1] https://github.com/Microsoft/vcpkg/blob/69f92e73cedf97a38c39ce610cf5036ec21c46b9/ports/libuv/portfile.cmake
[2] https://github.com/Microsoft/vcpkg/blob/eea8a63179648a21313328d2d38966cc4bc297e8/ports/libuv/portfile.cmake
[3] https://github.com/Microsoft/vcpkg/blob/eea8a63179648a21313328d2d38966cc4bc297e8/ports/libuv/CMakeLists.txt

I'll hopefully get back to this soon. Apologies.

FWIW: crashpad has a fork that has some cmake integrated: https://github.com/qedsoftware/crashpad

Hi. Uh, sorry for the long delay.

whatever the similarities or shared history between breakpad and crashpad, from what I can tell right now, they are nothing alike in terms of file names and directory structure, so I don't know how portable the crashpad-cmake solution might be.
you're suggesting that we adapt the build system chosen by the 3rd-party to use cmake, but that is not always possible, given the diversity of solutions, and the wide diversity in complexity in their implementations. Basically, this could be a 2-day job or a 2-week job. It depends. Even if a cmake-base solution is written, it may not be cross platform and may lack in flexibility or completeness.
I'm only performing a "port", and that I have no in-depth knowledge of either breakpad, or gyp. Indeed, I apply patches to breakpad's gyp files that might not suit all potential users (override /MT to /MD, and disable warnings, due to use of VC++17)
Nevertheless, the main concern here seems to be NOT that we are using gyp to perform the build, but that we're not selecting a stable, repeatable baseline (of the build tools) to use to build breakpad. Indeed, what would happen if we were talking about a SCons-based solution instead? or any one of a half-dozen other prominent solutions (autotools + gcc toolchain, waf, bazel, etc)? It shouldn't matter if the solution is to use batch files with direct invocations to the toolchain (though I understand the urge and need to standardize).
the "testing" branch applies to gtest, which (in addition to gyp) is also fetched as part of the build, and is required in a specific location (ultimately) for the build to complete smoothly (and not because I really care about the outcome), and it was easier to just put it there, rather than try to a) bypass the building (and running?) of tests, or b) have vcpkg find the dependency from the target "image" triple (i.e. vcpkg/installed/triple-dir/).

Would it be sufficient if we just added the commit ID to the clone command line, so that we aren't retrieving moving targets?

You're correct that the number 1 concern is stability! As long as that goal is achieved, I'd be happy to accept the PR.
My comments regarding GYP were to share my previous experience with making gyp stable -- while it appeared to work initially, I continued to experience more and more obstacles and unexpected issues until I simply rewrote the buildsystem in CMake which completely fixed the issue (and has the benefit of standardization as you mentioned). This also automatically fixes /MD and /MT and was shorter and more maintainable than the sum of the portfile and patches.

I've pushed a CMake-based replacement to master in 0f607865 -- could you try it out and let me know if it works for you?

Can't seem to get it (libdisasm) to build (after changing the SHA512)...
dan_o@Athena MINGW64 ~/tools/vcpkg (master)
$ vcpkg install breakpad
The following packages will be built and installed:
    breakpad[core]:x64-windows
  * libdisasm[core]:x64-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/2: libdisasm:x64-windows
Building package libdisasm[core]:x64-windows...
-- CURRENT_INSTALLED_DIR=C:/Users/dan_o/tools/vcpkg/installed/x64-windows
-- DOWNLOADS=C:/Users/dan_o/tools/vcpkg/downloads
-- CURRENT_PACKAGES_DIR=C:/Users/dan_o/tools/vcpkg/packages/libdisasm_x64-windows
-- CURRENT_BUILDTREES_DIR=C:/Users/dan_o/tools/vcpkg/buildtrees/libdisasm
-- CURRENT_PORT_DIR=C:/Users/dan_o/tools/vcpkg/ports/libdisasm/.
CMake Warning at C:/Users/dan_o/tools/vcpkg/ports/libdisasm/portfile.cmake:4 (message):
  Warning: Dynamic building not supported.  Building static.
Call Stack (most recent call first):
  C:/Users/dan_o/tools/vcpkg/scripts/ports.cmake:72 (include)

-- Using cached C:/Users/dan_o/tools/vcpkg/downloads/libdisasm-0.23.tar.gz
-- Testing integrity of cached file...
-- Testing integrity of cached file... OK
-- Extracting source C:/Users/dan_o/tools/vcpkg/downloads/libdisasm-0.23.tar.gz
CMake Error at C:/Users/dan_o/tools/vcpkg/scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
    Command failed: C:/Users/dan_o/tools/vcpkg/downloads/cmake-3.10.2-win32-x86/bin/cmake.exe;-E;tar;xjf;C:/Users/dan_o/tools/vcpkg/downloads/libdisasm-0.23.tar.gz
    Working Directory: C:/Users/dan_o/tools/vcpkg/buildtrees/libdisasm/src
    See logs for more information:
      C:\Users\dan_o\tools\vcpkg\buildtrees\libdisasm\extract-err.log

Call Stack (most recent call first):
  C:/Users/dan_o/tools/vcpkg/scripts/cmake/vcpkg_extract_source_archive.cmake:49 (vcpkg_execute_required_process)
  C:/Users/dan_o/tools/vcpkg/scripts/cmake/vcpkg_extract_source_archive.cmake:61 (vcpkg_extract_source_archive_ex)
  C:/Users/dan_o/tools/vcpkg/ports/libdisasm/portfile.cmake:17 (vcpkg_extract_source_archive)
  C:/Users/dan_o/tools/vcpkg/scripts/ports.cmake:72 (include)

Error: Building package libdisasm:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: libdisasm:x64-windows
  Vcpkg version: 0.0.105-2018-02-25-8c8fc1a28afd8fa8ea149528d68c264cc1182dd7

Additionally, attach any relevant sections from the log files above.

 vcpkg\buildtrees\libdisasm\extract-err.log

That looks like the archive you downloaded is corrupted somehow. Try this:

Reset the SHA512 back to what's on master
Run the build
When it fails, download the file manually using your web browser and put it in downloads\ with the appropriate name
Retry the build

If the build succeeds, then we've got a problem somewhere in the download process. The most common instance of this that I've seen is due to proxies, in which case you'll need to set the HTTPS_PROXY and HTTP_PROXY environment variables for curl to use your proxy.

Since breakpad is in vcpkg master, I'll close this PR. If we missed something, please open a new PR!

Sounds good, I tried using breakfast before https://github.com/Microsoft/vcpkg/pull/4008 and it didn't work, I'll retry with updated vcpkg.


Config.yml default regex suggestion

Plugin Version
not relevant
Server Version
nr
Describe the Bug
worlds:
  # If player doesn't meet the conditions to see the conditional scoreboard then it will display the simple scoreboard
  world_the_end: [ 'conditional', 'simple' ]
  # This will match all worlds starting with "world_" (e.g. world_nether, world_the_end)
  # "world_the_end" will never reach this line since it already matched above
  world_\w*: [ 'customTiming' ]
  # This will match all worlds that haven't been defined above
  '[\w ]*': [ 'simple' ]
  # Adding anything here will not work as it was already matched by the regex specified above

the default config.yml file concludes with this regex: '[\w ]*'
which pose issues for people that are not regex-savy and with a world named world-4... because the regex only matches a-zA-Z0-9_(\w)
my recommendation is that the regex could be .* instead
Relevant Log Output
No response

also hi, long time no talk 😳❤

Hii! Thanks for suggesting this <3


Use of services for all block fixtures

fixtures for all blocks in the page-content.block.ts + typing in page-content.generator.ts to enforce creating a fixture when adding a block to the page-content.block.ts
https://github.com/vivid-planet/comet/assets/44967610/5091dcf0-c105-48df-834f-0bc6adfc23fd

Should we use generator, or fixture service?

@nsams what's your opinion on this? Having a service for each block results in a lot of services, but using DI is definitely better than passing repositories/services around in generator functions

Should we use generator, or fixture service?

For the page and link fixtures the name "generator" was to generic, and I agree:
https://github.com/vivid-planet/comet/pull/968#issuecomment-1746410737
So I would call them here fixture service as well.

Two thoughts:

The generators generate the block input, and not the block data. Should we change the method names to generateBlockInput()?
How do you plan to move parts of the generators in the library?

The generators generate the block input, and not the block data. Should we change the method names to generateBlockInput()?

yes, I'll update it

How do you plan to move parts of the generators in the library?

Every block that exists in the library should also have a fixture generator in the library (+ some configuration options will be required I think, for example the videos for the youtube video block should probably be defined in the project and not in the library)
For new blocks in the project, a new fixture file has to be created manually in the project. (Although I would also like this to be automated, perhaps an extension of the api generator?)


Update scala-library to 2.13.6

Updates org.scala-lang:scala-library from 2.13.5 to 2.13.6.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang", artifactId = "scala-library" } ]

labels: library-update, semver-patch

Sync with master required

Codecov Report

Merging #30 (bf10984) into main (2fea601) will decrease coverage by 48.38%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main      #30       +/-   ##
===========================================
- Coverage   83.87%   35.48%   -48.39%
===========================================
  Files           2        2
  Lines          31       31
===========================================
- Hits           26       11       -15
- Misses          5       20       +15

Impacted Files
Coverage Δ

.../de/tobiasroeser/mill/vcs/version/VcsVersion.scala
0.00% <0.00%> (-83.34%)
:arrow_down:

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 2fea601...bf10984. Read the comment docs.


Application can't send data to the server after a while in the background

Steps to Reproduce

Make an application, that should run in the background and pass some data to the server from the background.
Leave the application in the background for 30+ minutes or like that, I can't tell the exact time.

Expected results:
The application sends data to the server and handles the response.
Actual results:
Catching exception:
SocketException: OS Error: Connection timed out, errno = 110, address = *my-api*.com, port = 43894
If you put the app in the foreground - all data immediately starts sending to the server and the response handles. The issue repeats after some time in the background.
I thought it may be caused by Android's battery saver restrictions, but the issue reproduces even I choose "No restrictions".
This happens on Xiaomi Mi8 Lite (Android 10, MiUI 12.0.3) and Samsung S20(Android 10).
I tried to use the default HTTP package and Dio - the same thing.

Logs

[✓] Flutter (Channel stable, 1.20.4, on Mac OS X 10.15.6 19G2021, locale en-IL)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
[!] Android Studio (version 4.1)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected device (1 available)

! Doctor found issues in 1 category.

The issue about Flutter and Dart plugin appeared after updating AS to 4.1, everything works OK, the described problem existed before the update.

Hi @narritt
Can you please provide a complete reproducible minimal code sample
Thank you

Future<Map> sendDataToServer(Map data, String id) async {
  print("Sending data: $data");
  Dio dio = Dio();
  var url = baseUrl + dataRequestSuffix';
  var dataToSend = {
    "id": id,
    "data": json.encode(data)
  };
  int retries = 0;
  while (retries < 3) {
    if(retries > 0)
      await Future.delayed(Duration(seconds: 5));
    try {
      var response = await dio.post(url, data: FormData.fromMap(dataToSend));
      Map responseData = json.decode(response.data);
      printLog(Debug.serverData, "Response: $responseData");
      return responseData;
    } on DioError catch (e) {
      retries++;
      print("Send data failed $retries time, ${e.type}, ${e.message}");
    }
  }
  return Map();
}

"Complete reproducible minimal code sample" - sorry, I didn't fully understand. This is a function, that sends data to the server. Also, the 5 seconds delay is not 5 seconds in the background:
11:16:39.042 flutter : Send data failed 1 time, DioErrorType.DEFAULT, SocketException: OS Error: Connection timed out, errno = 110, address = *my-api*.com, port = 43662
11:17:15.202 flutter : Send data failed 2 time, DioErrorType.DEFAULT, SocketException: OS Error: Connection timed out, errno = 110, address = *my-api*.com, port = 43664
11:17:51.316 flutter : Send data failed 3 time, DioErrorType.DEFAULT, SocketException: OS Error: Connection timed out, errno = 110, address = *my-api*.com, port = 43668

Hi @narritt
What method/package are you using to execute this in the background? Did you experience this issue besides the two devices you mentioned? Is just Android?  What type of server are you using here?
Thank you

@TahaTesser, thanks for the answer!
It executes as a callback while receiving data from the Bluetooth device. I'm new in flutter and didn't find a package to keep BT connection and process data on Android and iOS, so I just lock the application in the bacground.
The issue appears only on Android with Android 10, as I can see. I don't experience it on Oneplus A3010 on Android 9.

Hi @narritt
It might be some configuration on Android 10 that needs to be addressed, hence not reproducing on Android 9
Can you please provide a complete reproducible minimal code sample (if possible in a repository or zip file)
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Updating the API on Apex Classes

Hello!
 Some are related to the scanner. Because they are managed, I can't update them like the others. Is there an update for the package out there?
Thank you!

@littlegreenguy24 I stopped workin' for the mothership years ago, so update to this project are... doubtful. Sorry 'bout that! Best of luck!


Is DHT-Sensor-ffi able to read DS18B20 heat sensor ?

Hi again @chetan ,
ght-sensor-ffi is great !
I'm now testing reading DS18B20( https://www.adafruit.com/product/381 ) heat sensor and push data to Dashing dashboard.Which I did it to DHT11 and use your gem.
But it is not something my knowledge able to push the data with out your gem.
Can you give me some direction and let me know how to, maybe modify the code(s), achieve the goal ?
My Ruby code is okay to read the temp run in terminal.
def gettemp(id)
filename = 'w1_slave'
filepath = File.new("/sys/bus/w1/devices/#{id}/#{filename}", "w").path

# “File” belongs to IO class, which contain I/O stream. http://ruby-doc.org/core-2.0.0/IO.html

File.open(filepath) { |f|
 lines_arr = f.read.lines.to_a
 lines_arr.shift(1) # Let lines_arr takeout first object; second_line_s = lines_arr.to_s # Just for noted
 temp_arr = lines_arr.to_s.partition(/.t=/) # saperate the ["xx xx xx xx xx t=", "34.xxxx"]
 @temp = temp_arr.last.to_f/1000
}
return @temp
end

# Use for startup the file
if __FILE__ == $0 then
puts "Temp : #{gettemp('28-031581efbaff'})
end

http://i.stack.imgur.com/njhxv.png
But I don't know how to make it able to call the value while using Dashing*Sinatra.
I think it is unable to fire the local file and read the out put.
# For reading temp/humidity sensor DHT11 gem
require 'dht-sensor-ffi'
# For reading soil remp sensor
def get_soil_temp(id)
    filename = 'w1_slave'
    filepath = File.new("/sys/bus/w1/devices/#{id}/#{filename}", "w").path
    File.open(filepath) { |f|
        lines_arr = f.read.lines.to_a
        lines_arr.shift(1)
        temp_arr = lines_arr.to_s.partition(/.t=/)
        @temp = temp_arr.last.to_f/1000
    }
    return @temp
end
soil_temp_sensor_id = '28-031581efbaff'

current_air_temp = 0
current_air_humid = 0
current_soil_temp = 0

SCHEDULER.every '5s' do
  last_air_temp = current_air_temp
  last_air_humid = current_air_humid
  sensor_val = DhtSensor.read(17, 11)
  current_air_temp = sensor_val.temp
  current_air_humid = sensor_val.humidity

  if __FILE__ == $0 then
    current_soil_temp = get_soil_temp(soil_temp_sensor_id)
  end

  send_event('air_temp', { current: current_air_temp, last: last_air_temp })
  send_event('air_humid', { current: current_air_humid, last: last_air_humid })
  send_event('soil_temp',  value: current_soil_temp)
end

Do you have any hint ?
Please advise and thank you in advance !
P.S I'm new to RPi and also new to coding. Since I'm self taught to learn coding about 9 months, I choose Ruby as my major programing language. After some experience of Swift, JavaScript and some Python, I really want to stay in Ruby world. But it make me very frustration since few Ruby coder playing around RPi and seldom materials which able to supporting GPIO read and control. Really needs your guide, thanks!

Are you running your app as root? My temp sensor required it. Not sure about the one to have.
On Mon, Mar 7, 2016 at 10:02 PM -0800, "Damao Tim Lin"<EMAIL_ADDRESS>wrote:
Hi again @chetan ,
ght-sensor-ffi is great !
I'm now testing reading DS18B20( https://www.adafruit.com/product/381 ) heat sensor and push data to Dashing dashboard.Which I did it to DHT11 and use your gem.
But it is not something my knowledge able to push the data with out your gem.
Can you give me some direction and let me know how to, maybe modify the code(s), achieve the goal ?
My Ruby code is okay to read the temp run in terminal.
`def gettemp(id)
filename = 'w1_slave'
filepath = File.new("/sys/bus/w1/devices/#{id}/#{filename}", "w").path
“File” belongs to IO class, which contain I/O stream. http://ruby-doc.org/core-2.0.0/IO.html
File.open(filepath) { |f|
lines_arr = f.read.lines.to_a

lines_arr.shift(1) # Let lines_arr takeout first object; second_line_s = lines_arr.to_s # Just for noted

temp_arr = lines_arr.to_s.partition(/.t=/) # saperate the ["xx xx xx xx xx t=", "34.xxxx"]

@temp = temp_arr.last.to_f/1000

}
return @temp
end
Use for startup the file
if FILE == $0 then
puts "Temp : #{gettemp('28-031581efbaff'})
end`
http://i.stack.imgur.com/njhxv.png
But I don't know how to make it able to call the value while using Dashing*Sinatra.
I think it is unable to fire the local file and read the out put.
`# For reading temp/humidity sensor DHT11 gem
require 'dht-sensor-ffi'
For reading soil remp sensor
def get_soil_temp(id)
filename = 'w1_slave'

filepath = File.new("/sys/bus/w1/devices/#{id}/#{filename}", "w").path

File.open(filepath) { |f|

    lines_arr = f.read.lines.to_a

    lines_arr.shift(1)

    temp_arr = lines_arr.to_s.partition(/.t=/)

    @temp = temp_arr.last.to_f/1000

}

return @temp

end
soil_temp_sensor_id = '28-031581efbaff'
current_air_temp = 0
current_air_humid = 0
current_soil_temp = 0
SCHEDULER.every '5s' do
last_air_temp = current_air_temp
last_air_humid = current_air_humid
sensor_val = DhtSensor.read(17, 11)
current_air_temp = sensor_val.temp
current_air_humid = sensor_val.humidity
if FILE == $0 then
current_soil_temp = get_soil_temp(soil_temp_sensor_id)

end
send_event('air_temp', { current: current_air_temp, last: last_air_temp })
send_event('air_humid', { current: current_air_humid, last: last_air_humid })
send_event('soil_temp',  value: current_soil_temp)
end`
Do you have any hint ?
Please advise and thank you in advance !
P.S I'm new to RPi and also new to coding. Since I'm self taught to learn coding about 9 months, I choose Ruby as my major programing language. After some experience of Swift, JavaScript and some Python, I really want to stay in ruby world. But it is make me very frustration since few Ruby coder playing around RPi and seldom materials to supporting. Really needs your guide, thanks!
—
Reply to this email directly or view it on GitHub.


Stable 1.72.x Release

Due to the complexity of the commits, branch stable will be force-pushed from main once the version is finalized.
Release note is available on https://github.com/CollapseLauncher/CollapseLauncher-ReleaseRepo/blob/1.72-stable/changelog_stable.md


feature: List to specify the filename that user is sourcing

Did you check the tree-sitter docs?

[X] I have read all the tree-sitter docs if it relates to using the parser

Is your feature request related to a problem? Please describe.
No, Not related to a problem
Describe the solution you'd like

The hyprland logo looks nice, but it is not shown in any other file.
e.g if I source my keymaps.conf file from hypr dir. or for hyprlock/hypridle in general.
Describe alternatives you've considered
No response
Additional context
No response

It's not related to treesitter grammar, you should check your buffer plugin.


fix(core): 13680,13462 epig app features breaks ready event generation, use apiClient

Fixes feature dependency conflicts in metrics
https://kontur.fibery.io/Tasks/Task/EPIG-app-features-breaks-ready-event-generation-13680
Switched to apiClientInstance
https://kontur.fibery.io/Tasks/Task/Use-apiClientInstance-in-metrics-after-app-init-refactor-13462
Will be refactored more cleaner way in related tasks after implementing new init

Codecov Report

Merging #293 (c1cc7c9) into main (c917977) will increase coverage by 0.18%.
The diff coverage is 8.40%.

@@            Coverage Diff             @@
##             main     #293      +/-   ##
==========================================
+ Coverage   10.23%   10.41%   +0.18%
==========================================
  Files         521      521
  Lines       37814    37882      +68
  Branches     1029     1027       -2
==========================================
+ Hits         3869     3946      +77
+ Misses      33516    33508       -8
+ Partials      429      428       -1

Impacted Files
Coverage Δ

src/core/metrics/app-metrics.ts
0.00% <0.00%> (ø)

src/core/postInit.ts
0.00% <0.00%> (ø)

...eatures/analytics_panel/atoms/analyticsResource.ts
0.00% <0.00%> (ø)

...atures/current_event/atoms/currentEventGeometry.ts
0.00% <0.00%> (ø)

...rc/features/events_list/atoms/eventListResource.ts
0.00% <0.00%> (ø)

src/utils/debug/index.ts
64.44% <0.00%> (ø)

src/views/Map/Map.tsx
0.00% <ø> (ø)

src/core/metrics/dispatch.ts
36.84% <42.85%> (+3.50%)
:arrow_up:

src/core/api_client/apiClient.ts
75.29% <100.00%> (ø)

src/core/metrics/constants.ts
100.00% <100.00%> (ø)

... and 2 more


Staff listing images on department pages

@gregoryspragginsjr Talked to Andrew about this. He wants to see if it's possible to align staff item with their names. In other words, for each row, the names should be aligned.
For example:

Let me know if you think this is doable.

@bwaltz the commit I made to fix https://github.com/ColbyCommunications/colby-college-theme/issues/26 should address this.


Use video instead of audio

Hi, Your project gave me a lot of interesting ideas , thank you
I changed the code to play video instead of audio but i have some issues , help me please whats wrong

only first sink can play video
only one video support two videos not play
when refresh browser video not play at all

this is my code
const Throttle = require("throttle");
const ffmpeg = require("prism-media").FFmpeg;
const http = require("http");
const axios = require('axios');
const exec = require('child_process').exec;
let sink = new Map();
let port = process.argv.slice(2)[0] || 8000;
let stream;
let host;
let header;
process.title = "Video";

const server = http
    .createServer((req, res) => {
        if (!stream) play();
        let generateId = () => Math.random().toString(36).slice(2);
        let id =
            generateId() +
            generateId() +
            generateId() +
            generateId() +
            generateId() +
            generateId();
        res.setHeader("Content-Type", "video/mp4");
        console.log('New Sink Connected (${id})');
        console.log(
            "------------------------------------\nTotal Sink:",
            sink.size
        );
        if (header) res.write(header);
        sink.set(id, res);
        req.on("close", () => {
            console.log('Sink (${id}) Disconnected.');
            console.log(
                "------------------------------------\nTotal Sink:",
                sink.size
            );
            sink.delete(id);
        });

    })

    .listen(8090);

let mp4 = ["b.mp4", "a.mp4"];
var idd = -1;

function convert() {
    idd = idd + 1;
    if (idd > 1) {
        idd = 0;
    }
    return new ffmpeg({
        args: [
            "-i",
            mp4[idd],
            "-analyzeduration",
            "0",
            "-loglevel",
            "0",
            "-s",
            "1280x720",
            "-acodec",
            "aac",
            "-vcodec",
            "libx264",
            "-movflags",
            "frag_keyframe+empty_moov",
            "-f",
            "mp4",
            "-map_metadata",
            "-1"
        ],
    });
}

async function play() {
    let newSong = 1;
    if (stream) {
        if (stream.playing) return;
    }

    stream = convert().pipe(Throttle(400000));
    stream.on("data", (chunk) => {
        if (header && newSong) return newSong = 0;

        if (!header && newSong) {
            header = chunk;
            newSong = 0;
        }
        sink.forEach((s) => {
            s.write(chunk);
        });
    });
    stream.playing = true;
    stream.on("end", () => {
        if (!stream) return;
        if (stream.stopped) return;
        stream.playing = false;
        return play();
    });

    stream.on("error", (err) => {
        console.error("An error occured when playing Skipping....");
        return play();
    });

}

Hi BluestarCo. Making a video support in openradio is indeed complicated. You need to make it sync the buffer at the same time which is hard for several video format. Plus, Merging a video buffer is the part of where the complication begins.
A video support is indeed coming soon & planned since 6-7 months ago.


Some iteration mistakes and missing attributes

Hi Alister,
I wanted to say thanks for this, it has come in very handy. I did however come across some iteration mistakes and also a few missing tags/attributes in the whitelist.
I don't really have a PR for you, but you might want to take a look at the modified version I put together for use in the ProcessWire CMS (https://processwire.com/) and grab the changes from there:
https://github.com/adrianbj/FileValidatorSvgSanitizer/blob/master/svgsanitizer/SvgSanitizer.php
https://github.com/adrianbj/FileValidatorSvgSanitizer/blob/master/whitelist.json

PS You just got a mention in ProcessWire weekly :)
http://www.flamingruby.com/blog/processwire-weekly-47/#3


Speaker verification EER changes with batch size

Hi, during experimenting ECAPA verification we noticed that EER changes according to the batch size given. The batch dependency seems to be coming from max calculation done in _amplitude_to_DB method of Filterbank class. The max is calculated over whole batch.
new_x_db_max = x_db.max() - self.top_db
Is the max calculation over whole batch intended? When I change this line to the following, to calculate max for each sample, the EER stays same between different batch sizes, but the EER becomes higher than previous.
new_x_db_max = x_db.max(dim=1, keepdim=True).values - self.top_db

Noticed the same thing as well. Couldn't get to the exact cause of this problem. Thanks @SedatDe!

Interesting observation. There might be something to fix here and this
could be connected to the multi-gpu issue as well. We just have to figure
out the right normalization axis which should be the last dimension. In
anycase, we should run again the training part as well to have a network
that matches with that change.
On Thu, Jul 29, 2021, 5:35 AM Piotr Masztalski @.***>
wrote:

Noticed the same thing as well. Couldn't get to the exact cause of this
problem. Thanks @SedatDe https://github.com/SedatDe!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/speechbrain/speechbrain/issues/902#issuecomment-888964827,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEA2ZVS3LIM2D2MFVOTIHHLT2EOHFANCNFSM5BF53QJA
.

Thank you for pointing out this issue. It is solved in the latest development branch. I ran again the pre-trained ECAPA-TDNN model with the fix, and the performance looks very similar (or even slightly better):
__main__ - Computing EER..
__main__ - EER(%)=0.659382
__main__ - minDCF=0.085088

Thank you for the fix.


docs: add catalog structure of different types of label in label_format

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 86.756%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
6105

Relevant Lines:
7037

💛  - Coveralls


Django template loader not working in 1.10?

I'm unable to get the template loader to work in Python 3.4.3, Django 1.10. The templates end in .haml and are rendered but the haml is not converted to HTML.
Settings file for templates looks like:
TEMPLATES = [
  {
    'BACKEND': 'django.template.backends.django.DjangoTemplates',
    'DIRS': ["web/templates"],
    'APP_DIRS': False,
    'OPTIONS': {
      'context_processors': [
        'django.template.context_processors.debug',
        'django.template.context_processors.request',
        'django.contrib.messages.context_processors.messages',
      ],
      'loaders': [
        'hamlpy.template.loaders.HamlPyFilesystemLoader',
        'hamlpy.template.loaders.HamlPyAppDirectoriesLoader',
      ]
    },
  },
]

That's odd. Our unit tests definitely test the loaders on Django 1.10 / Python 3.4. Can you try debugging HamlPyFilesystemLoader to check that it's being used?

Ok, I have no idea why it wasn't working before but it's fine now. Closing this..


Implement canvas-level collaboration

This allows multiple devices to work on a common canvas.

On the canvas selection screen, there is a new icon next to the New Canvas button. This allows the user to import an already shared canvas on the cloud using the shared ID (implemented in #76).
a. There is currently no way to efficiently copy the shared ID from the app (e.g. to share it with others). This is a QoL issue that can easily be fixed in future.
b. The imported canvas is represented on the backend as a "foreign key" of sorts, referring to the canvas stored under the original creator.
Any device will be able to work on a canvas as if though it were owned by that user. Writes will be visible to all users who either own or have imported that canvas.
The latest state is currently retrieved once from the backend upon launch, as is the case for all canvases.
a. Note that working simultaneously on the same canvas (aka google docs behavior) is not implemented yet. If multiple devices are open with the same canvas, they will conflict with each other and cause undefined behavior.

Not able to import a shared canvas due to restrictions on the input. In particular, I am testing with the following canvas ID: A30CAE07-3312-4D04-9714-E17471E90E85/test.

Seems to work fine on my end. What error are you getting?

Not able to import a shared canvas due to restrictions on the input. In particular, I am testing with the following canvas ID: A30CAE07-3312-4D04-9714-E17471E90E85/test.

Seems to work fine on my end. What error are you getting?

Hmm, I'm getting the following error:

Not able to import a shared canvas due to restrictions on the input. In particular, I am testing with the following canvas ID: A30CAE07-3312-4D04-9714-E17471E90E85/test.

Seems to work fine on my end. What error are you getting?

Hmm, I'm getting the following error:

I think you can't import another canvas named test if you already have another canvas named test

I think you can't import another canvas named test if you already have another canvas named test

Right, perhaps that could be made clearer in the error message.
I've extracted out a showErrorAlert function that we can use to call the error alert more frequently with more specific messages.

Hmm, I'm getting the following error:

I think you can't import another canvas named test if you already have another canvas named test

Ah I see, thanks! How did you all test the collaboration then?

I've extracted out a showErrorAlert function that we can use to call the error alert more frequently with more specific messages.

Yep, I'll improve the error messages if there's nothing urgent to be done

Ah I see, thanks! How did you all test the collaboration then?

I just went to the firebase console and selected a random canvas


[0.27.0-prerelease] KOGITO-8798: Skip VSCode Select states test becau…

…se of bug in Canvas API (#1505)
https://issues.redhat.com/browse/KOGITO-8798
Cherry-pick for: https://github.com/kiegroup/kie-tools/pull/1505

@LuboTerifaj The release branch is closed for new PRs unless the PR fixes a blocker issue.

Hello @caponetto ,
the PR doesn't affect any functional changes. In addition, the jira has the blocker priority set.
According to the changes, I don't see the reason why we should not merge this PR. It there any specific reason why we should avoid merging?
Thanks!

@LuboTerifaj, we are in the final stages of the manual sanity check (in collaboration with IBM), and if we change the codebase, we will need to restart this process again.
Let's merge this important PR on the main, which will be included in the subsequent releases. I hope you understand.

Hey @ederign , I see. Thank you for the clarification.


stream-settings: Set max-width for stream creator pill.

We now set max-width on the pill value for stream creator pill to make sure that the pill does not get too long for long names and the full name can anyways be seen by clicking on the pill.

Fixes: https://github.com/zulip/zulip/pull/30371#issuecomment-2231358392

Screenshots and screen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Hmm, I think ideally we'd do something more declarative, that allows it to use the space available.

I guess I'll merge this as it beats the old code, but @karlstolley FYI as this is a thing that's a bit of a janky fix.


Revert thread based strand scheduling

Purpose

Revert runtime changes done for https://github.com/ballerina-platform/ballerina-lang/issues/19456

Fixes #
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #20448 into release-stage will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff               @@
##           release-stage   #20448   +/-   ##
==============================================
  Coverage          15.21%   15.21%
==============================================
  Files                 50       50
  Lines               1341     1341
  Branches             208      208
==============================================
  Hits                 204      204
  Misses              1121     1121
  Partials              16       16

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 3d9c1c8...96fdf24. Read the comment docs.


Multiple external disk mounting capability

I just tweaked your code, now it is possible to mount multiple external shares.
It is backward compatible with the previous versions.

Thanks! I'll merge this and update the version to allow people to update

I've also added a code to mount smbv1 shares : it is an optional boolean in config.json. If checked, then in 50-mounts the code is added to cifs mounts.
Thanks again for helping making those addons better!

Hi, I have made some changes to the code to make it more compatible following an issue with a user. Due to this, there are two breaking changes : multiple network disks must be separated by a "," and they are mounted to a folder with the name of the external share.

It's a reasonable change. I was super lazy with my PR, just wanted it to work somehow. This version is much nicer.

It's a reasonable change. I was super lazy with my PR, just wanted it to work somehow. This version is much nicer.

No I really appreciate your work and that you took the time for the PR !
Actually someone had trouble mounting his smb drive, and in the other code I had implemented a sequential testing of all cifs versions and securities until it works... And this allowed him to mount the smb drive.
But please if there was another option that I removed when changing the code please tell me and I'll adapt
Have a nice day

I think the current approach is better then the previous.
I updated both Radarr and Sonarr, and the additional tinkering with my previous remote mount settings took about 5-10 minute, so I am happy :)
Thank you for the addons, they saved me from some headache.

btw I've added a new addon from the same lineage, prowlarr. As I understand, it is an help program for Radarr and Sonarr "Prowlarr is a indexer manager/proxy built on the popular arr .net/reactjs base stack to integrate with your various PVR apps. Prowlarr supports both Torrent Trackers and Usenet Indexers. It integrates seamlessly with Sonarr, Radarr, Lidarr, and Readarr offering complete management of your indexers with no per app Indexer setup required (we do it all)."


Possible to monitor all namespaces or by pattern

I see in the documentation you can specify which namespaces should be monitored by the operator:
watchNamespaces:
- dev

It appears when watchNamespaces is left empty the operator only monitors the namespace it is installed into.  Is it possible to have it monitor all namespaces or namespaces by pattern.  For example:
watchNamespaces:
- customers-*

We have multiple tenants sharing our K8s cluster which are segregated by namespace.  While possible to update the operators config when a new tenant is added or to run the operator for each tenant, this is less than ideal.
Thanks for all the work on the operator.  The schema maintenance is really slick!

Well, this looks like an interesting feature. We'll take a look

hi
any news here?


Should be able to use guards without string

Description of the feature
Forcing users to wrap the guard in a string is annoying for ergonomics.
#[graphql(guard = "ScopeGuard::new(\"profile:read:email\")")]

Would like to be able to
#[graphql(guard = ScopeGuard::new("profile:read:email"))]

@sunli829  is this fixed?


js-sys fails to build with nightlies on and after 2020-05-25

Describe the Bug
js-sys fails to build with rustc nightlies on and after nightly-2020-05-25.
error: return value of constructor must be a bare path
    --> <snipped>/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.39/src/lib.rs:4795:13
     |
4795 | /             /// The
4796 | |             #[doc = $ctor]
4797 | |             /// constructor creates an array of unsigned 8-bit integers.
4798 | |             ///
...    |
4802 | |             #[wasm_bindgen(constructor)]
4803 | |             pub fn new(constructor_arg: &JsValue) -> $name;
     | |___________________________________________________________^
...
4999 | / arrays! {
5000 | |     /// `Int8Array()`
5001 | |     /// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array
5002 | |     Int8Array: i8,
...    |
5034 | |     Float64Array: f64,
5035 | | }
     | |_- in this macro invocation
     |
     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: return value of constructor must be a bare path
    --> <snipped>/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.39/src/lib.rs:4805:13
     |
4805 | /             /// An
4806 | |             #[doc = $ctor]
4807 | |             /// which creates an array with an internal buffer large
4808 | |             /// enough for `length` elements.
...    |
4813 | |             #[wasm_bindgen(constructor)]
4814 | |             pub fn new_with_length(length: u32) -> $name;
     | |_________________________________________________________^

Steps to Reproduce

Build js-sys with a toolchain newer than nightly-2020-05-24:

rustup install nightly-2020-05-25
cargo +nightly-2020-05-25 build -p js-sys

Expected Behavior
The build succeeds!
Actual Behavior
The build does not succeed.
Additional Context
Running cargo-bisect-rustc pins it down to this rollup and from there it's fairly straightforward to pick out rust-lang/rust#72388.
Here's the output from cargo-bisect-rustc if it helps:

bisected with cargo-bisect-rustc v0.5.1
searched nightlies: from nightly-2020-05-24 to nightly-2020-05-26
regressed nightly: nightly-2020-05-25
searched commits: from https://github.com/rust-lang/rust/commit/8970e8bcf6153d1ead2283f1a0ed7b192230eca6 to https://github.com/rust-lang/rust/commit/46e85b4328fe18492894093c1092dfe509df4370
regressed commit: https://github.com/rust-lang/rust/commit/7726070fa755f660b5da3f82f46e07d9c6866f69
Host triple: x86_64-unknown-linux-gnu
Reproduce with:
cargo bisect-rustc -- check --target x86_64-unknown-linux-gnu

The cause of this error, as best as I can tell, is that $name in this macro goes from being passed to #[wasm_bindgen] as a syn::Type::Path to being passed in as a syn::Group containing the syn::Type::Path that the macro wants (as in the span that $name is in isn't discarded). wasm_bindgen's parser doesn't know to handle this (here and here) and so we get the errors above.
There's already an issue open in rust-lang/rust for this: rust-lang/rust#72545. For that specific issue the crate in question was using proc-macro-hack but as shown the same change can also break proc macros that don't use it.

Not actually fixed yet, opened https://github.com/rustwasm/wasm-bindgen/pull/2161 to track the errors after #2159 landed.

I opened on issue on syn for the last error: dtolnay/syn#833.

@alexcrichton the issue was fixed by dtolnay/syn#834; with syn 1.0.27 I no longer get the error (locally).
I think if the CI jobs on #2161 run again things should Just Work.

Awesome, thanks so much for your help here @rrbutani!

(Nice sleuthing by the way)


return a tx receipt from CheckTx/AppendTx

ie. https://github.com/eris-ltd/eris-db/blob/tmsp-unified/tmsp/erisdb.go#L122 and
https://github.com/eris-ltd/eris-db/blob/tmsp-unified/tmsp/erisdb.go#L145
ought to return https://github.com/eris-ltd/eris-db/blob/tmsp-unified/rpc/core/types/responses.go#L102
so that https://github.com/eris-ltd/eris-db/blob/tmsp-unified/rpc/test/tests.go#L81 works.
Note the receipt used to be generated in the broadcast_tx rpc function itself (https://github.com/eris-ltd/tendermint/blob/develop/rpc/core/mempool.go#L29) but broadcast_tx is now going to be something that happens on tendermint's end, so won't necessarily have access to that unless it's returned as data or log in the TMSP response. alternatively, if we keep broadcast_tx in eris_db, it could happen in broadcast_tx, but the erisdb tmsp app would be more useful if it returned this data itself

Picking this up


Eliminate the need for a different function prototype when compiling for Matlab MEX

Currently, we detect if the code is being generated for Matlab, in which case we add the compiler flag CONF_MATLAB to indicate that the function should be configured for Matlab MEX.
Among other things, this compiler flag is used to select between two different function prototypes. The reason is simply to simplify the mexFunctio() used to generate the MEX executable. However, there really is no reason to do this. It would be better to have a single prototype and improve the mexFunction() to handle structures correctly.

For "LaxMPC" using the "ADMM" solver, this was done in<PHONE_NUMBER>07e38cb9b5fb4e3b709a6889b6c17a. The same should be done for every other combination of MPC formulation and solver.

mexFunction() for "LaxMPC" using "FISTA" updated in 854fe31e549a7e2f267f965bb9b2b5cedba881bd.

"ADMM" and "FISTA" solvers for "EquMPC" updated as of eb375763dff048b3851348fc42fa01acc0f5b8f0 and 349b89f43e94a3caa600e8ca5a8c43b69635f5b9, respectively.

The CONF_MATLAB flag has been eliminated as of release 'v0.3.10' (bb8406630ea952b0b5ba63e180d0030f91e8390c).


sqrt function for base units

Basic unit sqrt function. Requires operand to have conversion factor of 1 (SciNo<std::ratio<1,1>,0>). Future work may expand compatibility to include units with perfect square conversion factors

sqrt for doubles moved to template so user can choose any constexpr sqrt function (i.e. gcem::sqrt)


bump ngsolve

Current (2202) ngsolve no longer installs cleanly.

#179 contains bumping ngsolve to 6.2.2301


PHOENIX-6082 : Avoid checkAndPut when altering properties for a table or view with column-encoding enabled

4.x backport of PR #982

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 34s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ 4.x Compile Tests _

+1 :green_heart:
mvninstall
11m  8s
4.x passed

+1 :green_heart:
compile
0m 56s
4.x passed

+1 :green_heart:
checkstyle
1m 40s
4.x passed

+1 :green_heart:
javadoc
0m 46s
4.x passed

+0 :ok:
spotbugs
2m 55s
phoenix-core in 4.x has 950 extant spotbugs warnings.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 20s
the patch passed

+1 :green_heart:
compile
0m 55s
the patch passed

+1 :green_heart:
javac
0m 55s
the patch passed

-1 :x:
checkstyle
1m 42s
phoenix-core: The patch generated 2 new + 2791 unchanged - 5 fixed = 2793 total (was 2796)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
javadoc
0m 42s
the patch passed

+1 :green_heart:
spotbugs
3m  3s
the patch passed

_ Other Tests _

-1 :x:
unit
130m  9s
phoenix-core in the patch failed.

+1 :green_heart:
asflicense
0m 39s
The patch does not generate ASF License warnings.

163m  8s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-983/2/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix/pull/983

Optional Tests
dupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile

uname
Linux 0dcc3bedb512 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-personality.sh

git revision
4.x / e57fcc8

Default Java
Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08

checkstyle
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-983/2/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt

unit
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-983/2/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt

Test Results
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-983/2/testReport/

Max. process+thread count
6612 (vs. ulimit of 30000)

modules
C: phoenix-core U: phoenix-core

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-983/2/console

versions
git=2.7.4 maven=3.3.9 spotbugs=4.1.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 30s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ 4.x Compile Tests _

+1 :green_heart:
mvninstall
11m  5s
4.x passed

+1 :green_heart:
compile
0m 53s
4.x passed

+1 :green_heart:
checkstyle
1m 40s
4.x passed

+1 :green_heart:
javadoc
0m 46s
4.x passed

+0 :ok:
spotbugs
2m 54s
phoenix-core in 4.x has 950 extant spotbugs warnings.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 21s
the patch passed

+1 :green_heart:
compile
0m 55s
the patch passed

+1 :green_heart:
javac
0m 55s
the patch passed

-1 :x:
checkstyle
1m 41s
phoenix-core: The patch generated 2 new + 2791 unchanged - 5 fixed = 2793 total (was 2796)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
javadoc
0m 46s
the patch passed

+1 :green_heart:
spotbugs
3m  2s
the patch passed

_ Other Tests _

-1 :x:
unit
137m 14s
phoenix-core in the patch failed.

+1 :green_heart:
asflicense
0m 38s
The patch does not generate ASF License warnings.

170m 11s

Reason
Tests

Failed junit tests
phoenix.end2end.QueryIT

phoenix.end2end.DropIndexedColsIT

phoenix.end2end.index.GlobalMutableNonTxIndexIT

phoenix.end2end.index.DropColumnIT

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-983/4/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix/pull/983

Optional Tests
dupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile

uname
Linux b4ebd698d985 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-personality.sh

git revision
4.x / 7ac4dff

Default Java
Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08

checkstyle
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-983/4/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt

unit
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-983/4/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt

Test Results
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-983/4/testReport/

Max. process+thread count
6455 (vs. ulimit of 30000)

modules
C: phoenix-core U: phoenix-core

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-983/4/console

versions
git=2.7.4 maven=3.3.9 spotbugs=4.1.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Sure @ChinmaySKulkarni , sounds good. Let me try to collect some of these flaky tests results and create Jira accordingly.


Implemented DesktopSize Pseudo-Encoding.

Hi sibson,
I've added the DesktopSize Pseudo-Encoding specified in the RFB protocol. As suggested the data of the previous frambuffer is retained. Feel free to merge :)

🍰 ✨ 🍰  Thanks for submitting this.  It seems reasonable.  Some tests would be nice to avoid regressions, as I've no idea how to test it in future releases.

Thanks for merging. If I can find some time I'll take a look at how your tests work, maybe I can come up with some test. The way I tested it was with a VM, that booted and thus changed it's resolution.

I didn't do this yet, because I wanted to avoid regression, but maybe the DesktopSIze Pseudo-Encoding should be enabled by default, to give a better out-of-the-box experience to users. I think enabling it shouldn't break anything, except when someone used the "cropping-effect".

I agree, a better experience is worth the regression.  We can bump the minor version on the next release to signal the change.

Alright, I've created #88.


Video DownloadHelper Companion App

Project description
vdhcoapp provides the Video DownloadHelper browser add-on with:

file writing API features that are not available from the browser
temporary file name generation
launching default application on a data file
a build of the ffmpeg video converter

Metadata

homepage URL: https://www.downloadhelper.net/ or https://github.com/mi-g/vdhcoapp
source URL: https://github.com/mi-g/vdhcoapp/tree/v1.6.3  is that the right url?
license: GNU General Public License v2.0
platforms: linux, maybe darwin and unix
the package is available for mac if that is a requirement for darwin

Yes, as @Shawn8901 indicated, I created this on a NUR and it is working fine. Let's move the discussion to the other issue.


Remove support for storing the data model without using multipart

Multipart saving was implemented in #899 as an alternative to sending the component ID that triggered saving to the backend. After https://github.com/Altinn/app-lib-dotnet/issues/187 is implemented, and if it's implemented in a backend version we can require in app-frontend, we should remove support for the old form data saving methods.

Closed in #1712


Update Lemmy dart library

The dart library that is maintained is lemmy_api_client

Thanks for the PR! Yyou should update template.md and not directly README.md, I just did the update with https://github.com/dbeley/awesome-lemmy/commit/13069db75d94db92b577edc41b2294684a106e02 :slightly_smiling_face:


Register a CPS trace listener

Register a CPS trace listener that listens to CPS events and writes them to the Debugger output.
Make note this is currently blocked on a PR to the CPS code base where I've turned on TRACE for their assemblies.

tag @dotnet/project-system
This gives us debugger output like so:
CPS Warning: 0 : Failure loading XAML file 'D:\roslyn-project-system\bin\Debug\RulesConfigurationGeneral.xaml': File cannot be found
CPS Error: 0 : Generating snapshot for rule "ResolvedSdkReference" failed because the rule was missing from the project.

👍

:+1:


Anonymous authentication with symfiny bundle

How does anonymous (or any...) authentication works with the Symfony bundle ? I cant find any specific documentation for that. Would be a nice addition to the docs.

The Symfony bundle is deprecated and unmaintained since 2015 (see https://github.com/kreait/firebase-bundle#this-project-is-abandoned-and-not-longer-maintained), I definitely would not recommend using it :)
Similar to the official admin SDKs, this one isn't meant to authenticate users directly as well. This is noted on http://firebase-php.readthedocs.io/en/latest/index.html and https://firebase.google.com/docs/admin/setup.
You can perform actions as a given user with authentication overrides, as described here: http://firebase-php.readthedocs.io/en/latest/authentication.html#authentication-overrides-a-k-a-custom-tokens - but this is an override from a privileged environment (your server), not authentication itself.
You might be interested in the progress of #54, though.