The forget command always keeps all snapshots, regardless of the keep arguments given.

Output of restic version
restic 0.12.0 compiled with go1.15.5 on linux/amd64
How did you run restic exactly?
I run restic -o rclone.connections=1 -r rclone:ftp:Repository backup $(ls -t /storage/backups/*.zip | head -n 1) daily at 5AM with the password in an environment variable.
No forget command works,  even when running restic -o rclone.connections=1 -r rclone:ftp:Repository forget --keep-daily 1 --dry-run it keeps all snapshots.
What backend/server/service did you use to store the repository?
FTP over Rclone.
Expected behavior
Running any forget command will forget snapshots according to the wiki page here https://restic.readthedocs.io/en/latest/060_forget.html.
Running --keep-daily 1 should only keep one snapshot.
Actual behavior
No matter what policy I apply, it always keeps all snapshots.
Running it with --keep-daily 1 keeps all 18 snapshots, listing the reason "daily snapshot" under all of them.
keep 1 snapshots:
ID        Time                 Host        Tags        Reasons         Paths
--------------------------------------------------------------------------------------------------------------------------------------------
76588899  2021-09-12 05:00:01  redacted              daily snapshot  /storage/backups/20210912-040000-c7817cf210544272baddf334b47082fb.zip
--------------------------------------------------------------------------------------------------------------------------------------------
1 snapshots

This times 18 for all the snapshots. All the messages are separate, this is probably part of the issue.
The output of snapshots is this:
repository redacted opened successfully, password is correct
ID        Time                 Host        Tags        Paths
----------------------------------------------------------------------------------------------------------------------------
11d07f19  2021-08-28 05:41:19  redacted              /storage/backups/20210828-040000-b5cf0d96ab5642709baab77a89898150.zip
a30984d6  2021-08-29 07:54:19  redacted              /storage/backups/20210829-040000-675d32e680034edf865a99b0cbd17fa5.zip
01c4f51a  2021-08-31 05:00:01  redacted              /storage/backups/20210831-040000-ac26eed3a52b4d68b2f2e6fd991f9ff4.zip
8aaa4957  2021-09-01 05:00:01  redacted              /storage/backups/20210901-040000-7342dc43ebc64c989686bac1a45d640e.zip
ea78843d  2021-09-02 05:00:01  redacted              /storage/backups/20210902-040000-6cc22602292b487797ad0660b3ccece9.zip
5779914a  2021-09-03 05:00:01  redacted              /storage/backups/20210903-040000-2ffa0070c9b34a1b8abac555e922289f.zip
c09876c0  2021-09-04 05:00:01  redacted              /storage/backups/20210904-040000-d20b44e1222044d593efd2859372763f.zip
79bcc9b8  2021-09-05 05:00:01  redacted              /storage/backups/20210905-040000-3ce5e9b81905424596874d429c71d0b9.zip
71592058  2021-09-06 05:00:01  redacted              /storage/backups/20210906-040000-56ebbf3755674fa1ad499cb06e3a9fb8.zip
fb2085c1  2021-09-07 05:00:01  redacted              /storage/backups/20210907-040000-04c496cdcedd49448d6ba027d9dae293.zip
24e7d59d  2021-09-08 05:00:01  redacted              /storage/backups/20210908-040000-787923c2886b4e379f8b60d65406457d.zip
7a72d4e4  2021-09-09 05:00:01  redacted              /storage/backups/20210909-040000-2f08f5c300824990b7dc20522c960634.zip
4d4f3a34  2021-09-10 05:00:01  redacted              /storage/backups/20210910-040000-9b6aef45712443e0a26b9f351298e690.zip
3fafe960  2021-09-11 05:00:01  redacted              /storage/backups/20210911-040000-943975e36ad84dfb9ca6880fddf738cd.zip
76588899  2021-09-12 05:00:01  redacted              /storage/backups/20210912-040000-c7817cf210544272baddf334b47082fb.zip
363216be  2021-09-13 05:00:01  redacted              /storage/backups/20210913-040000-a847d87a3c6d43b79624783738cb5226.zip
633955f2  2021-09-14 05:00:01  redacted              /storage/backups/20210914-040000-894147e5ab3f4b5eaaf4aaa40f0b0f96.zip
a889b972  2021-09-15 05:00:01  redacted              /storage/backups/20210915-040000-5882e55390164a76ae99d5d7a3ce6aaf.zip
----------------------------------------------------------------------------------------------------------------------------
18 snapshots

Running forget latest does forget the correct backup.
Steps to reproduce the behavior
I'm not sure, these backups seem the same as in the example on the Wiki.
Do you have any idea what may have caused this?
The wiki page shows the backups which were kept/forgotten are shown together in the result of forget, while here they're all separate.
Applying Policy: keep 1 monthly snapshots
keep 1 snapshots:
ID        Time                 Host        Tags        Reasons           Paths
----------------------------------------------------------------------------------------------------------------------------------------------
3fafe960  2021-09-11 05:00:01  redacted              monthly snapshot  /storage/backups/20210911-040000-943975e36ad84dfb9ca6880fddf738cd.zip
----------------------------------------------------------------------------------------------------------------------------------------------
1 snapshots

keep 1 snapshots:
ID        Time                 Host        Tags        Reasons           Paths
----------------------------------------------------------------------------------------------------------------------------------------------
11d07f19  2021-08-28 05:41:19  redacted              monthly snapshot  /storage/backups/20210828-040000-b5cf0d96ab5642709baab77a89898150.zip
----------------------------------------------------------------------------------------------------------------------------------------------
1 snapshots

keep 1 snapshots:
ID        Time                 Host        Tags        Reasons           Paths
----------------------------------------------------------------------------------------------------------------------------------------------
363216be  2021-09-13 05:00:01  redacted              monthly snapshot  /storage/backups/20210913-040000-a847d87a3c6d43b79624783738cb5226.zip
----------------------------------------------------------------------------------------------------------------------------------------------
1 snapshots

keep 1 snapshots:
ID        Time                 Host        Tags        Reasons           Paths
----------------------------------------------------------------------------------------------------------------------------------------------
71592058  2021-09-06 05:00:01  redacted              monthly snapshot  /storage/backups/20210906-040000-56ebbf3755674fa1ad499cb06e3a9fb8.zip
----------------------------------------------------------------------------------------------------------------------------------------------
1 snapshots
...

Do you have an idea how to solve the issue?
I do not, the examples on the wiki seem the same

Thanks for being so specific in the information you provide, that's always helpful!
What you're seeing is simply due to each of your snapshots having different directories/paths, see the second paragraph in https://restic.readthedocs.io/en/stable/060_forget.html#removing-snapshots-according-to-a-policy .
Restic groups snapshots by default on host and path, and in your case since each snapshot's path is different than the others, each snapshot gets its own group. Since restic also as a safety measure keeps the latest snapshot in each group, all your snapshots are kept.
Simply use the --group-by option to control how restic groups the snapshots when forgetting them. The possible values in this option are host, tags and paths.

I see, that makes sense! I tried it with --group-by host and that works, thanks!

By storing compressed archives in restic you're making it impossible for restic to deduplicate your backups. To deduplicate backups restic requires access to the uncompressed and unencrypted files. Restic doesn't compress your data because combining compression and encryption is a good way to introduce oracle attacks to your protocol/file format and the original author(s) decided against attempting to tackle this problem.

Actually it's doing a great job at that. I wasn't expecting it to be able to do this but it takes up about 175GB of real disk (Checked with stats with Restic) space while checking it with du -sh in a mount says it's 1.1TB. The drive doesn't even have that much, so it's definitely working.


NoUnexpectedThunks instance for NonEmpty

bors r+

-1 Rejected by too few approved reviews

A little more diplomacy bors would be appreciated! :-o :grin:


Doesn't generate css and js files in cache dir

Hi,
I’m using sfCombinePlugin and it works very well on my local machine. So I’ve tried to push it on our dev server, and here we have a little issue.
It seems that the plugin is working because it generates the good “link” on the html header, but  doesn’t write the generated css et js files in the cache directory (chmod 777)
Do you have any idea about this issue?
I'm using symfony 1.4.4 on unix server, no APC on Apache

Hello, as the plugin uses the symfony caching system files will only be cached if this enabled in the symfony application.
Hope this helps.

Hello, not really. Even with "cache: true" in the cache.yml and settings.yml files, it doesn't change anything. And when I follow the css link generated by the plugin, I get an empty page.

So I've found where the issue comes from.
In our web directory, we've done 3 sub-directories (one per app) each containing the css, js and images of each application. So, the path to our assets  for one app is /web/appname/css, for instance.
But the urls of each app point directly on their sub-folders, so the appname doesn't appear in the url.
Then when the function "getAssetPath" from the "sfCombinerCss.class.php" is called, the generated path to the assets are incomplete. For instance, it generates /web/file.css instead of /web/appname/file.css.
It is because of the function used "_compute_public_path" which relies on the url to build the path to the assets.
I've made a temporary dirty fix by modifying a bit the function "getFilePath" in "sfCombineUtility.class.php". I've just added a new path in the "sfConfig::get('sf_web_dir') . '/appName' . $file".
All tips to fix it in a better way are welcome ;)

Hello, ah ok i see. Well the easy fix is when you call your assets use the absolute path e.g:

I assume you're calling it relative, does symfony handle those assets ok without using sfCombine with the same path? as far as i was aware it goes through the same public path system that symfony uses.

Hi, we can't use this. We declare the js and css files in the view.yml files for each module (or action), not in the template itself. So we use include_combined_javascripts();
I'm not sure to understand what you mean in your last sentence... Can you explain me this in other terms?
I thought of another solution. The function "_compute_public_path" in AssetHelper.php uses "sfConfig::get('sf_web_css_dir_name', 'css')". But the properties "sf_web_css_dir_name" doesn't seem to exist (it always take the default argument "css"; i've tried to replace "css" by "foo" and it gave "foo").
Is it possible to override this property in one of the configuration files? Based on the property name, it seems this property should be in a sf.yml file, am I right?

Hello, yeah i just meant that if sfCombine wasn't installed did the assets work correctly (to try identify if there is an inconsistency between how we generate asset paths in sfCombine and how symfony does by default).
Glad you've got it working there, i assume you can also just put absolute path in your view.yml.

I experienced a similar issue. I think the problem is that sfCombine uses the public web path as part of the file system path. But the URL path could be arbitrary and have nothing to do with the system path.
In sfCombineCombiner, in _collateFileContents, you do:
  $assetPath = $this->getAssetPath($file);

  // break off any query string in the name
  $fileParts = explode('?', $assetPath);
  $fileName = $fileParts[0];
  ...
    $filePath = sfCombineUtility::getFilePath($fileName);

And getFilePath, in turn, will try to prepend the web dir.
  sfConfig::get('sf_web_dir') . $file,

And what happens is Combine tries looking for the file in:
  /system/path/to/web/then/url/path/which/could/be/anything/css/file.css

I've so far been able to get around this by trimming off the relative URL root when getting the file path:
static public function getFilePath($file)
{
// trim relative
$request = sfContext::getInstance()->getRequest();
$relativeUrlRoot = $request->getRelativeUrlRoot();
$file = str_replace($relativeUrlRoot, '', $file);
...

...but that was a quick hack. I think the better solution would be to not mix URL paths and system paths in the first place.

P.S. Still loving the plugin. Keep up the great work. :-)

Thanks Jeff, If i recall correctly it's intentional to be relative to public path so it can fallback in dev environments to the standard path. So (assuming I've understood you correctly) might just be a case that it's going a bit out of scope for this project.


ApplicationAutoscaling - Scheduled Actions

Closes #4195

Codecov Report

Merging #5011 (93abe6a) into master (2a6ba0d) will decrease coverage by 0.00%.
The diff coverage is 97.36%.

@@            Coverage Diff             @@
##           master    #5011      +/-   ##
==========================================
- Coverage   95.77%   95.76%   -0.01%
==========================================
  Files         662      662
  Lines       66227    66305      +78
==========================================
+ Hits        63426    63496      +70
- Misses       2801     2809       +8

Flag
Coverage Δ

servertests
36.49% <10.52%> (-0.04%)
:arrow_down:

unittests
95.70% <97.36%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

moto/applicationautoscaling/models.py
94.37% <95.34%> (+0.17%)
:arrow_up:

moto/applicationautoscaling/responses.py
98.03% <100.00%> (+0.93%)
:arrow_up:

moto/resourcegroupstaggingapi/models.py
83.18% <0.00%> (-0.59%)
:arrow_down:

moto/route53/responses.py
96.69% <0.00%> (-0.42%)
:arrow_down:

moto/sns/models.py
96.83% <0.00%> (-0.40%)
:arrow_down:

moto/sqs/models.py
96.76% <0.00%> (-0.18%)
:arrow_down:

moto/config/models.py
99.22% <0.00%> (-0.13%)
:arrow_down:

moto/ssm/models.py
94.42% <0.00%> (-0.11%)
:arrow_down:

moto/iam/models.py
95.39% <0.00%> (+0.13%)
:arrow_up:

Continue to review full report at Codecov.

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


Using GData with GTMSessionFetcher failed

when i use GData with GTM_USE_SESSION_FETCHER
i got error: use of undeclared identifier 'kGTMSessionFetcherStatusForbidden';
that is because definition of kGTMSessionFetcherStatusForbidden is deprecated in GTMSessionFetcher
i think this also need fix
thx

this issue was fix in latest commit


Empty output

When running kiri on a project I'm getting an empty output in the webpage. I notice that no artifacts are being generated (I see the following output):
Artiffacts Summary
0 commits, totaling 0 possible comparisons

This directory does have several commits however. The KiCad project file is in a subdirectory; does that have anything to do with this issue?

Kiri should work with projects in subdirectories. Ah, right now as far as I remember to achieve that you have to do something special when running kiri docker.
Can you share the command line you are using?
I tried to address that in one example in the README. Did you try to follow the example I have shown there?

You were having issues with dependencies, once you fix those issues, then you may be able to run Kiri. If you still have issues with the generated files, let me know.


Freezes the screen

When I try to use the bot, it loads for around 5-10 seconds, then plays for half a second and freezes.

Agario has been changed since this bot was last updated. ;)

@PullJosh Oh, OK. I was just clicking around GitHub, I didn't know if this was still active or not.

So it doesn't work anymore ?
That's a real shame.


Patch 4

Docs Build status updates of commit 7137f8f:
:clock10: Full build: the average full build time is 14 min(s) 18 sec(s), this is based on the last 4 build(s) for this repository.
:warning: This is a FULL build due to the 'Banani-Rath-patch-1' branch being a new branch in Docs Build service and is still building, or there are build errors in 'Banani-Rath-patch-1' branch so the cache for incremental build is not available. Normally no action is required on your part, but if the full build persists, please contact your repository admin to manually perform a full build on the 'Banani-Rath-patch-1' branch. For more detailed info, please click here.

Docs Build status updates of commit 7137f8f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Bug 2018542: Kernel upgrade does not reconcile DaemonSet

PR #123 from upstream
Co-authored-by: Reena Kabra<EMAIL_ADDRESS>

/bugzilla refresh

/bugzilla refresh

/lgtm

/approve


DBDAART-2534 Fix substring call for itrtn_num

What is this?
This is a bugfix for a bug that was introduced in https://github.com/Enterprise-CMCS/T-MSIS-Analytic-File-Generation-Python/commit/213310bfa632806819211cda68bfde37cd522d9a. The old SAS code is using substring(taf_cd_spec_vrsn_name, 2, 2) which takes a substring of the version number. The old SAS file versions start with Ixx where xx will be incremented. This incrementing substring is what should be taken.
How would you classify this change (feature, bug, maintenance, etc.)?
bug
How did I test this (if code change)?
https://databricks-val-data.macbisdw.cmscloud.local/#notebook/3708857/command/4187334
Commands 26 executes the resulting SQL from this change with temporary views replaced with inline SQL calls. Command 27 demonstrates why I changed this to substring(taf_cd_spec_vrsn_name, 1, 2): the taf_cd_spec_vrsn_name is missing the initial I. Command 28 demonstrates the metadata from the old system and the taf_cd_spec_vrsn_name does have the initial I. Going forward, our TAF runs will have the file version prefixed with an I to match the old system.
Is there accompanying documentation for this change?
Issues Encountered
Optional section to include any challenges encountered, options considered, and the approach chosen.
PR Checklist

[x] Is the issue number and a short description in the subject line?
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Credit to TMSIS PR template and https://embeddedartistry.com/blog/2017/8/4/a-github-pull-request-template-for-your-projects

I like your description up top, but why is the PR template ignored from How did I test this on down?

Thanks for keeping me honest. I've added the appropriate documentation.


Streamlining infra deployment with terraform

Acceptance Criteria
Every time a change to the lambda function happens:

CI/CD (more detail about how cloud deployment will happen)

integration-test

handling current Hub deployment

A bunch of unknowns, current infra does not work well, needs to be streamlined. This task might include rebuilding the current infra.

Link to subfeature: https://jinaai.productboard.com/feature-board/planning/features/7126984


Can I change fog density in configs?

I really like the idea of dense fog but it gets too claustrophobic for me over time. It reminds me of older versions bedrock fog down the mines.

Yes... with the option fogDensity

Can't find it in the code :(
Could you please show the path?


Add SSH keys on login from LDAP

Gitea version (or commit ref): master
Git version: 2.20.0
Operating system: Arch Linux
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
The SSH keys in the LDAP directory are only added to the user accounts when the synchronization task is run not when a user first logs in.
This means that a user can't push as soon as he is logged in and he needs to add the key himself making the key storage in LDAP not so useful.
Is it possible to add the keys when the user is created on first login?

Hi @NomAnor I wonder if you could test #5557 and see if that fixes your issue?

@NomAnor, #5557 has been merged into the master branch. Does that solve your issue? If so, could you close this.

Closing as fixed


Jest can't find AbortController in node v16.13.0 when "testEnvironment": "node" is set in package.json

Description
If you have
"jest": {
    "testEnvironment": "node"
  },

set in your package.json, and you run an npm command with jest in it (e.g. "test": "jest"), you'll get:

ReferenceError: AbortController is not defined

This happens despite AbortController being available in Node v16.13.0.
Running code using AbortController without Jest works fine.
It seems CRA is changing Jest's node environment somehow?
I'm aware that CRA does not allow the "testEnvironment" setting to be set in the package.json when using react-scripts test. I simply did not expect setting the "testEnvironment" setting to its default ("node") to seemingly change the environment.
Environment
CRA v4.0.3
Node v16.13.0
npm v8.1.0
Steps to reproduce

Setup a fresh CRA project
Delete App.test.js
Add 2 new files to src:

// src/abortControllerCode.js
function start() {
    const abortController = new AbortController();
    abortController.abort();
    return 'foo';
}

module.exports = { start }

and
// src/abortControllerCode.test.js
const { start } = require('./abortControllerCode');

describe('AbortController test', () => {
    it('Should not throw', () => {
        expect(start()).toBe('foo');
    })
});

Replace the default test command with: "test": "jest", in your package.json
Add

"jest": {
    "testEnvironment": "node"
  },

To your package.json

Run npm test

I get the following output from that.

I had this same problem. After much troubleshooting it turned out that I used an old version of jest.
Jest started supporting AbortController with https://github.com/facebook/jest/pull/11182 which is included from version 27.0.0

thank you @jeppester

If, for reasons I won't go into, you happen to be stuck on Jest 26, a workaround for this is to create your own Jest environment:
// __tests__/nodeEnvironment.js
const NodeEnvironment = require("jest-environment-node");

class CustomEnvironment extends NodeEnvironment {
  constructor(config, context) {
    super(config, context);
    this.global.AbortController = global.AbortController;
  }
}

module.exports = CustomEnvironment;

// jest.config.js
module.exports = {
  /* ... */
  testEnvironment: "./__tests__/nodeEnvironment.js",
};


update all last commit

It seems like your ddkwork:main is 27 commits behind the goki:main?  all of these changes are already in goki:main as far as I could tell.

It seems like your ddkwork:main is 27 commits behind the goki:main? all of these changes are already in goki:main as far as I could tell.

I don't know why, except for the goki repository I can't use the following script to get the refresh code to avoid this problem, I don't have a lot of experience with git, how should I modify this script to avoid this problem?
git remote add upstream https://github.com/goki/gide.git
git remote -v
git fetch upstream
git checkout main
git stash
git rebase upstream/main
git stash pop

See https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

I would recommend doing one of the solutions suggested in the GItHub article I linked and not putting pull.cmd files in every repository. Also, you should not add pull.cmd to the .gitignore.

查看 https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

i will try

I would recommend doing one of the solutions suggested in the GItHub article I linked and not putting files in every repository. Also, you should not add to the .pull.cmd``pull.cmd``.gitignore

Please send me the link address to see, thank you

I meant the article I linked in the comment above (https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork). You are correctly synced on taskmanager, but not on gide and files, so please try the steps in the article for those.

This PR is mainly to update github.com/go-delve/delve v1.21.2 to v1.22.0, otherwise there will be a compilation error

I will approve this once you remove the file and gitignore line and sync the fork from upstream using one of the methods described in the GitHub article I linked earlier in this PR.pull.cmd

I re-flashed the fork as you prompted, and after committing it found that the pr was inexplicably closed, I don't know what the reason is. I re-ran the PR, did you check that this time it was done correctly?

I don't know why the PR was closed; the syncing of your fork probably closed it somehow. Can you redo your delve changes in a new PR rooted on the current main branch?

I don't know why the PR was closed; the syncing of your fork probably closed it somehow. Can you redo your delve changes in a new PR rooted on the current main branch?

I don't know what's going on.,This time the compilation was successful after pulling and refreshing.,Wait for the next time I find something else and then pr it.


⚠ ClamAV has degraded performance

In 161a6f7, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 350 ms

Resolved: ClamAV performance has improved in 4057e2d.


Derefinement and nodal finite element spaces

Hey,
I have some code that performs derefinement on a mesh and tries to update a non-nodal finite element space.  Here's a small working example of what I'm trying to do:
mfem::Mesh mesh(5, 5, mfem::Element::QUADRILATERAL, 1,
                          1.0, 1.0);
mesh.EnsureNCMesh();
mesh.UniformRefinement();

mfem::RT_FECollection fec(1, mesh.Dimension());
mfem::FiniteElementSpace fes(&mesh, &fec);

mfem::Vector elem_error(mesh.GetNE());
elem_error = 0.0;
mesh.DerefineByError(elem_error, 1.0);

fes.Update();

This code fails an assert statement at:
https://github.com/mfem/mfem/blob/73a4ddfb619fbb05f357c66b0998edca8456a4b2/fem/fespace.cpp#L1036
It looks like I can't currently perform derefinement and update non-nodal finite element spaces. If so, is this a feature that's going to be implemented soon?  Otherwise, am I doing something wrong?
CC @Dan2997925
Thanks for your help!

Hi @junkudo,
You should be able to update the space using fes.Update(false). However, using want_transform = false (the parameter of Update()) means that you will not be able to update (coarsen) any GridFunctions which may or may not be an issue, depending on your use case. For example, if you are going to solve the problem again on the coarse mesh then you do not need to update/coarsen a solution from the finer mesh. On the other hand, if you coarsen the mesh after a time step, you will need to update/coarsen the solution in order to continue the time stepping on the coarser mesh.
In any case, adding support for coarsening of non-nodal GridFunctions should not be too difficult. I'll make a branch for that soon and I'll let you know when it is ready for you to test.

Hey @v-dobrev - is this functionality in a branch somewhere?

My apologies -- I closed this before realizing that there is an outstanding TODO item. Feel free to reopen the issue.

Hi @junkudo,
I have not had time to work on this yet. I'll try to do it this week.

Hi @junkudo,
I just created a branch where I added support for derefinement of RT spaces - it is called derefine-vector-spaces. Give it a try and let me know if you run into any issues.

Okay.  Will let you know.
On Tue, Nov 27, 2018 at 7:55 PM Veselin Dobrev<EMAIL_ADDRESS>wrote:

Hi @junkudo https://github.com/junkudo,
I just created a branch where I added support for derefinement of RT
spaces - it is called derefine-vector-spaces
https://github.com/mfem/mfem/tree/derefine-vector-spaces. Give it a try
and let me know if you run into any issues.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mfem/mfem/issues/671#issuecomment-442310588, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABP1ZnM-xJ8aJnl4D3I8kskp0pLDKwPiks5uzgkogaJpZM4YXmjU
.

Yeah.  This seems to work properly for my application now.  Let me know when the branch is merged into master!

I just created one - see above - thanks for reminding us.


How do I convert 20180402-114759.pb  to   .tflite ?

Hello , everybody !
How do I convert 20180402-114759.pb  to   .tflite ?
If you succeed,Can you share this tflte? and how to run it ?
thanks !

I want to run it in android devices,and use tensorflow lite 。

I also have the same question. I want to know the detailed option for converting from tf to tflite. How should we set the options such as
--mean_values, --std_dev_values, --default_ranges_min, --default_ranges_max
??

This link explains the conversion from facenet tf to tflite 2018 model.

I found an alternative way. I explain here how to do it.


"save stream" broken on edit stream

/stream/xxxxxx/edit
(change title …)
Click "save stream"
… says "saving", but never finishes
TypeError: Cannot set property 'uuid' of undefined
    at Object.actions.update (http://<IP_ADDRESS>:8080/js/piecemeta-angular-frontend.min.js:3:22437)
    at l.async.waterfall.a.submit (http://<IP_ADDRESS>:8080/js/piecemeta-angular-frontend.min.js:3:17711)
    at ib.functionCall (http://<IP_ADDRESS>:8080/js/piecemeta-angular-dependencies.min.js:199:303)
    at Dc.(anonymous function).compile.d.on.f (http://<IP_ADDRESS>:8080/js/piecemeta-angular-dependencies.min.js:215:485)
    at l.$get.l.$eval (http://<IP_ADDRESS>:8080/js/piecemeta-angular-dependencies.min.js:126:305)
    at l.$get.l.$apply (http://<IP_ADDRESS>:8080/js/piecemeta-angular-dependencies.min.js:127:6)
    at HTMLFormElement.<anonymous> (http://<IP_ADDRESS>:8080/js/piecemeta-angular-dependencies.min.js:216:36)
    at HTMLFormElement.c (http://<IP_ADDRESS>:8080/js/piecemeta-angular-dependencies.min.js:33:389)

fixed and pushed


Where can I find the code of Eq. 12 in the paper??

Below is the code snippet of MLPDecoder.
I think prediction is ended with Eq. 11 in the paper.
I can't find the code of Eq. 12.
Am I missing something in this code??
Thanks in advance.
    def single_step_forward(self, single_timestep_inputs, rel_rec, rel_send,
                            single_timestep_rel_type):

        # single_timestep_inputs has shape
        # [batch_size, num_timesteps, num_atoms, num_dims]

        # single_timestep_rel_type has shape:
        # [batch_size, num_timesteps, num_atoms*(num_atoms-1), num_edge_types]

        # Node2edge
        receivers = torch.matmul(rel_rec, single_timestep_inputs)
        senders = torch.matmul(rel_send, single_timestep_inputs)
        # Eq 10 [x_i^t, x_j^t] [#sims(batch_size), #tsteps_indexed, #edges, #dims*2]
        pre_msg = torch.cat([senders, receivers], dim=-1)
        # self.msg_out_shape = #node_features
        all_msgs = Variable(torch.zeros(pre_msg.size(0), pre_msg.size(1),
                                        pre_msg.size(2), self.msg_out_shape))
        if single_timestep_inputs.is_cuda:
            all_msgs = all_msgs.cuda()

        if self.skip_first_edge_type:
            start_idx = 1
        else:
            start_idx = 0

        # Run separate MLP for every edge type
        # NOTE: To exlude one edge type, simply offset range by 1
        # Eq 10 MLP
        for i in range(start_idx, len(self.msg_fc2)):
            msg = F.relu(self.msg_fc1[i](pre_msg))
            msg = F.dropout(msg, p=self.dropout_prob)
            msg = F.relu(self.msg_fc2[i](msg))
            msg = msg * single_timestep_rel_type[:, :, :, i:i + 1] #element-wise product with broadcast
            all_msgs += msg

        # Aggregate all msgs to receiver
        # Eq 11 / rel_rec [#edges, #nodes]
        agg_msgs = all_msgs.transpose(-2, -1).matmul(rel_rec).transpose(-2, -1)
        agg_msgs = agg_msgs.contiguous()

        # Skip connection
        aug_inputs = torch.cat([single_timestep_inputs, agg_msgs], dim=-1)

        # Output MLP
        pred = F.dropout(F.relu(self.out_fc1(aug_inputs)), p=self.dropout_prob)
        pred = F.dropout(F.relu(self.out_fc2(pred)), p=self.dropout_prob)
        pred = self.out_fc3(pred)

        # Predict position/velocity difference / Eq 11 >> Where is Eq 12??
        return single_timestep_inputs + pred

    def forward(self, inputs, rel_type, rel_rec, rel_send, pred_steps=1):
        # NOTE: Assumes that we have the same graph across all samples.
        # Input shape: [num_sims, num_atoms, num_timesteps, num_dims] > [#sims, #tsteps, #nodes, #dims]
        inputs = inputs.transpose(1, 2).contiguous()

        sizes = [rel_type.size(0), inputs.size(1), rel_type.size(1),
                 rel_type.size(2)]
        rel_type = rel_type.unsqueeze(1).expand(sizes)

        time_steps = inputs.size(1)
        assert (pred_steps <= time_steps)
        preds = []

        # Only take n-th timesteps as starting points (n: pred_steps)
        last_pred = inputs[:, 0::pred_steps, :, :]
        curr_rel_type = rel_type[:, 0::pred_steps, :, :]
        # NOTE: Assumes rel_type is constant (i.e. same across all time steps).

        # Run n prediction steps / Eq 10~11
        for step in range(0, pred_steps):
            last_pred = self.single_step_forward(last_pred, rel_rec, rel_send,
                                                 curr_rel_type)
            preds.append(last_pred)

        sizes = [preds[0].size(0), preds[0].size(1) * pred_steps,
                 preds[0].size(2), preds[0].size(3)]

        output = Variable(torch.zeros(sizes))
        if inputs.is_cuda:
            output = output.cuda()

        # Re-assemble correct timeline
        for i in range(len(preds)):
            output[:, i::pred_steps, :, :] = preds[i]
        # last prediction is one step beyond input
        pred_all = output[:, :(inputs.size(1) - 1), :, :]

        return pred_all.transpose(1, 2).contiguous()

Hi
I have maybe the same problem. I am looking for a way to predict new unseen trajectory steps but seems that something is missing.
Briefly, given x1, x2, ... xT with estimated edges and I would like to predict xT+1, ...xT+N.
Thank a lot for helping.

Hi,
@djoad001 how did you end up doing? I also don't see how to predict iteratively different timesteps when I don't have access to the ground truth (and thus can not do the teacher forcing every N timesteps). So I guess the solution is to modify the code to take into account that we are in test mode and use the last mu (or draw a sample from the distribution) to predict the next one, all of it iteratively until we get the desired number of timesteps ?
Thanks for your help.


Can't import custom nodes. Does the location of Nodes.py matter?

I copied https://github.com/leon-thomm/Ryven/blob/master/docs/node tutorials/doc_examples/custom_widgets/nodes.py
to a folder in my working directory.
e.g.
my-app/
├─ nodes/
│  ├─ nodes.py
├─ .gitignore
├─ README.md
In Ryven, I click import File -> nodes.py, and nothing happens. Why?
I tried defining the nodes in ~/.ryven/packages/project/nodes.py but nothing happened when I imported nodes.py still.

Ok, I just discovered the logs. It seems like the error is because I don't have a widgets.py in the same directory. I guess this is because of line 2 in the nodes.py file

Another source of confusion was that when I copied and imported the Random and Print nodes from the README, nothing happened. This was because I listed them as a tuple, which is what I thought the comment was saying:
export_nodes(
    # list your node classes here, as tuple
    (RandNode, PrintNode)
)

I think the readme is a bit unclear because it seemed at first glance like there were two parentheses here, but it was just because the example was put in parentheses. Yes, this was my bad for skimming over it so quickly, but I think it would benefit everyone if it was clearer, maybe in code blocks instead of inline.
https://github.com/leon-thomm/Ryven#readme:~:text=export_nodes(Node1%2C Node2%2C ))
export_nodes(Node1, Node2, ))


[introduction/quickstart/deploy-mayastor]: [Add mitigation details for potential error case]

Are you reporting an issue with existing content?
Please describe the error or omission, or your suggestion for improvement.
Please include a link the affected page(s)
https://mayastor.gitbook.io/introduction/quickstart/deploy-mayastor
Are you proposing new content, or a change to the existing documentation layout or structure?
Add a warning that if you receive the error:
$ kubectl -n mayastor get msn
error: the server doesn't have a resource type "msn"

Then the problem may well be that no nodes have sufficient HugePages. That is entirely non-obvious given the message. The problem being that the daemonset nodes run with no errors and no suggestion that there is any problem but they do not do what the documentation suggests they will, and they do it silently.

I don't think that the error message is a consequence of not having enough of hugepages. The error message says that custom resource definition for msn does not exist and not that there are no msn records. CRD is created when moac (control plane) starts. Likely moac wasn't fully up and running when you ran this command or CRD wasn't created due to an error.
I think that the solution with checking hugepages in init container of mayastor could potentially solve this issue - that is: inform the user that an insufficient number of hugepages is the reason for not starting mayastor.

I will hijack this ticket for the purpose of implementing the enhancement of logging a clear error message and exiting from mayastor when the system does not have at least 512 free huge pages.

@jkryl The number of required huge pages should not be a magical constant, rather it should be depending on several settings like, for example, the number of cores, the number of buffers, etc.

After discussing this with @gila   we decided that this is too much of a corner case that we try to solve here. k8s will refuse to start mayastor on a node with less than 512 free HPs. This check does not always work because when there is another app consuming hugepages then k8s does not keep with the changes to free HPs (at least not always). We consider this to be a bug in k8s rather than mayastor. So closing the ticket for now.

Hi @jkryl , that's a little disappointing. I opened this ticket basically to suggest that a warning be added to the documentation so that onboarding new users can be easier (if a "fix" couldn't be found anyway). The ticket evolved from there - you hijacked it - and now it is being closed because you decided that the new subject (after hijacking) is not easily fixable.
While adapting complex systems to unique situations will always involve a little time-wasting, this looks like you are simply dismissing what I felt was a legitimate "gotcha" for people who very rarely have to deal with hugepages. I have worked in company with 10s of thousands of servers and we only rarely had to deal with hugepages. Anyway...

I'm sorry @AntonOfTheWoods I was too much focused on the subject that I brought into the ticket. You are right that the original reason for the ticket is still valid. So I think that we could add something as follows to our documentation:
If you don't see any msn records, check that all prerequisites for running mayastor have been met, including hugepage configuration.

With that, I'm reassigning the ticket to someone else who can change our documentation. Thanks!


Reuse the function v1alpha1.GetPvcMount

Changes

Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[x] Includes tests (if functionality changed/added)
[ ] Includes docs (if user facing)
[ ] Commit messages follow commit message best practices

See the contribution guide
for more details.
Release Notes

release-note

/assign @vdemeester


Internal mod config editor

Create a first pass of the internal editor for mod configuration.
For now, we'll say this resolves #51

Codecov Report

Merging #62 into master will decrease coverage by 20.15%.
The diff coverage is 45.4%.

@@             Coverage Diff             @@
##           master      #62       +/-   ##
===========================================
- Coverage   53.84%   33.68%   -20.16%
===========================================
  Files          26       30        +4
  Lines         754      935      +181
  Branches       38       49       +11
===========================================
- Hits          406      315       -91
- Misses        341      618      +277
+ Partials        7        2        -5

Impacted Files
Coverage Δ

src/app/shared/material.module.ts
100% <ø> (ø)
:arrow_up:

...selection/package-table/package-table.component.ts
24.21% <17.64%> (-25.35%)
:arrow_down:

...-editor/config-section/config-section.component.ts
30.23% <30.23%> (ø)

.../app/main/config-editor/editor/editor.component.ts
40% <40%> (ø)

...found-config-table/found-config-table.component.ts
54.54% <54.54%> (ø)

...in/config-editor/services/config-parser.service.ts
58.42% <58.42%> (ø)

src/app/core/services/theme.service.ts
29.62% <0%> (-59.26%)
:arrow_down:

...ain/preferences-page/preferences-page.component.ts
25.64% <0%> (-43.59%)
:arrow_down:

src/app/app.component.ts
42.85% <0%> (-42.86%)
:arrow_down:

...ction/package-details/package-details.component.ts
45.83% <0%> (-41.67%)
:arrow_down:

... and 16 more

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 bf7ef66...f9f9140. Read the comment docs.


Implement full Database object for Glue get_database() - fix for #3571.

This potentially fixes #3571 .

Coverage decreased (-0.3%) to 94.295% when pulling 14fb3a68f68077c3060dadf83d4fef8eef2fe039 on aaronfowles-emis:glue_get_database_fix into a31599d000688185698c22a6d11d7c23e942c177 on spulec:master.

Coverage decreased (-0.3%) to 94.295% when pulling 14fb3a68f68077c3060dadf83d4fef8eef2fe039 on aaronfowles-emis:glue_get_database_fix into a31599d000688185698c22a6d11d7c23e942c177 on spulec:master.


Packaging

I have added a pyproject.toml file for packaging up the repo and easy installation, and added instructions to the README.

Added details to README file.
@jatkinson1000 Both this branch and the readme one had an updated README, so I chose to put all the changes in here. Once this is closed, the readme branch should also be removed (I guess?). Also, I could not add you as a reviewer because you created the pull reques (right?), so I've added you as an assignee - hope that's okay.

@lcimoli Yes, that's right, the person who opened the PR can't 'approve'. Not to worry - its a learning process.
I can still review others' code, so will do that shortly for you.
I updated the description to say that we are incorporating #3 , so yes, you can close that (perhaps with a note to say it has been incorporated here).


Added Form Model

Issue: #8
Short description of what this resolves:
Created schema in models/form.model.js
Changes proposed in this pull request and/or Screenshots of changes:

Screenshot of the schema:

I'm not sure where I deviated from the PR format, it would be helpful if someone could point that out. Thanks!

Remove the # before the issue number. Also in your code, type of submissions should be Array of objectIds with ref to `'formSubmission'. Close this PR and open a new PR with these changes.


⚠ Fortnite has degraded performance

In db73744, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 2555 ms

Resolved: Fortnite performance has improved in e721a10.


⚠ Secret Website 3 has degraded performance

In f64dc87, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 5758 ms

Resolved: Secret Website 3 performance has improved in 48e6b83.


Updates to this lab, spelling/grammar corrections.

corrected some spelling.
Removed references to my machine name in code blocks.
Corrected network policy plugin

 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: 0kashi sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Sorry just saw this. It looks like there are some conflicts, will have to look at them.


pixel_ratio error in Jupyter

Hello!
I'm trying to run this simple example from the jupyter-rfb docs but it throws an error:
import pygfx as gfx

cube = gfx.Mesh(
    gfx.box_geometry(200, 200, 200),
    gfx.MeshPhongMaterial(color="#336699"),
)

def animate():
    rot = gfx.linalg.Quaternion().set_from_euler(gfx.linalg.Euler(0.005, 0.01))
    cube.rotation.multiply(rot)

disp = gfx.Display()
disp.before_render = animate
disp.show(cube)

---------------------------------------------------------------------------
ZeroDivisionError                         Traceback (most recent call last)
Cell In[3], line 14
     11 def animate():
     12     cube.local.rotation = la.quat_mul(rot, cube.local.rotation)
---> 14 gfx.show(cube, before_render=animate)

File [~/.pyenv/versions/3.11.8/lib/python3.11/site-packages/pygfx/utils/show.py:271](http://<IP_ADDRESS>:8888/lab/tree/Github/octarine/~/.pyenv/versions/3.11.8/lib/python3.11/site-packages/pygfx/utils/show.py#line=270), in show(object, up, canvas, renderer, controller, camera, before_render, after_render, draw_function)
    210 def show(
    211     object: WorldObject,
    212     up=None,
   (...)
    220     draw_function=None,
    221 ):
    222     """Display a WorldObject
    223
    224     This function provides you with the basic scaffolding to visualize a given
   (...)
    266
    267     """
    269     Display(
    270         canvas, renderer, controller, camera, before_render, after_render, draw_function
--> 271     ).show(object, up)

File [~/.pyenv/versions/3.11.8/lib/python3.11/site-packages/pygfx/utils/show.py:168](http://<IP_ADDRESS>:8888/lab/tree/Github/octarine/~/.pyenv/versions/3.11.8/lib/python3.11/site-packages/pygfx/utils/show.py#line=167), in Display.show(self, object, up)
    165     from wgpu.gui.auto import WgpuCanvas
    167     self.canvas = WgpuCanvas()
--> 168     self.renderer = WgpuRenderer(self.canvas)
    169 elif self.renderer is not None:
    170     self.canvas = self.renderer.target

File [~/.pyenv/versions/3.11.8/lib/python3.11/site-packages/pygfx/renderers/wgpu/_renderer.py:136](http://<IP_ADDRESS>:8888/lab/tree/Github/octarine/~/.pyenv/versions/3.11.8/lib/python3.11/site-packages/pygfx/renderers/wgpu/_renderer.py#line=135), in WgpuRenderer.__init__(self, target, pixel_ratio, pixel_filter, show_fps, blend_mode, sort_objects, enable_events, gamma_correction, *args, **kwargs)
    132     raise TypeError(
    133         f"Render target must be a Canvas or Texture, not a {target.__class__.__name__}"
    134     )
    135 self._target = target
--> 136 self.pixel_ratio = pixel_ratio
    137 self.pixel_filter = pixel_filter
    139 # Make sure we have a shared object (the first renderer creates the instance)

File [~/.pyenv/versions/3.11.8/lib/python3.11/site-packages/pygfx/renderers/wgpu/_renderer.py:234](http://<IP_ADDRESS>:8888/lab/tree/Github/octarine/~/.pyenv/versions/3.11.8/lib/python3.11/site-packages/pygfx/renderers/wgpu/_renderer.py#line=233), in WgpuRenderer.pixel_ratio(self, value)
    232 target_lsize = self.logical_size
    233 # Determine target ratio
--> 234 target_ratio = target_psize[0] [/](http://<IP_ADDRESS>:8888/) target_lsize[0]
    235 # Use 2 on non-hidpi displays. On hidpi displays follow target.
    236 self._pixel_ratio = float(target_ratio) if target_ratio > 1 else 2.0

ZeroDivisionError: division by zero

When I manually generate canvas and renderer it works as long as I also set the pixel_ratio:
canvas = WgpuCanvas(size=(800, 600))
renderer = gfx.renderers.WgpuRenderer(canvas, pixel_ratio=2)

This is with pygfx 0.1.18 and wgpu 0.15.0.

I think it's fixed in main https://github.com/pygfx/pygfx/pull/685

Oh, sorry - I should have searched deeper into existing issues. Thanks!

Still, thanks for reporting!

We should probably do a pygfx release next week.


fix: Remove extra published_state property in the configurator state

Made a silly mistake where I put published_state in the config and also
in the configurator state. Published_state should only be in the config,
not the state.
This resulted in old charts not being able to edited/copied/viewed due
to missing property while decoding configurator state.
Fix https://github.com/visualize-admin/visualization-tool/issues/1354

Thanks Bartosz, good point, I removed the migration.

I also wonder why this bug appeared when migration was correctly added?

Thanks also for wondering this 😅 So I investigated, and I had forgotten to bump the final version in CONFIGURATOR_STATE_VERSION. So the last migration had not been applied. With the mixing up of the attribute in configurator state, and config, I thought it was working when it was not. I added a test to make sure we do not forget to update the version.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/68735

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/68949

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/69171

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/69204

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/69208

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/69464


Remove T-system performance plugin in Jenkins service if not used

Is your feature request related to a problem? Please describe.
n/a
Describe the solution you'd like
As to not cause confusion, remove the T-system performance plugin within Jenkins service.
Describe alternatives you've considered
n/a
Additional context
Add any other context or screenshots about the feature request here.

Thanks for pointing that out.
I have tried to uninstall the Performance Signature plugin, but there is still a dependency to it. In the function executeJMeter.groovy in the jenkins-extensions repo, a function from the the Performance Signature plugin is called. This call can't be removed since others depend on it.

I think the ticket should remain open then but just be in the backlog
Sounds like we need another ticket to remove dependency to that jmeter piece
On Thu, May 9, 2019, 12:07 AM Johannes<EMAIL_ADDRESS>wrote:

Closed #297 https://github.com/keptn/keptn/issues/297.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keptn/keptn/issues/297#event-2329325906, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AF6A2UMLAIH7CNLJQB6A3Z3PUPERJANCNFSM4HJRKCZA
.

I agree, this issue should remain open since there is still the dependency in the  executeJMeter.groovy function in the jenkins-extensions repo that need to be resolved.


Themes

( not profile themes )

Could you be more descriptive?

Could you be more descriptive?

RoPro has profile themes, that can be global. I want to use animated themes global.
I know they're not going to work with profiles.

what he said


from llama_index.embeddings.gemini import GeminiEmbedding ModuleNotFoundError: No module named 'llama_index.embeddings.gemini'

Bug description

Bug solved method

Environment information

LLM type and model name:
System version:
Python version:
MetaGPT version or branch:

packages version:
installation method:

Screenshots or logs

What command and config did you use? How to reproduce it?


can't generate less file with mixin multiple parameters

can't generete when file contains mixin with multiple params

.mixin(@a; @b) {
// ...
}

I was able to reproduce this. After adding a two parameter mixin some tests fail and hang.

Preventing the tests from hanging is not trivial. The tests hang because the styleguide itself never finishes running. We currently run the styleguide in the before phase of Mocha tests and the before phase does not support timeouts. Therefore if we wish to prevent the tests from hanging we would need to create a promise in the before phase and resolve the promise as a part of executing the first actual test.

I have tracked the reason of style guide hanging down to the gonzales.srcToAST call in kss-splitter.js The call never returns and therefore causes style guide to hang. We need to find out whether or not upgrading Gonzales will fix this problem.

The problem can be reproduced by adding the following less notation to test/projects/less-project/source/styles/style.less Not sure what kind of chapter numbering would be good for language specific tests. Of course while we are at it we could also add multi-parameter mixin tests for other style languages.
// Section with multiparameter less mixin
//
// Markup:
// Section markup
//
// Styleguide 5.0
.border-mixin(@width; @color) {
  border: @width solid @color;
}

.mixin-call {
  .border-mixin(1px; @color-blue);
}

Upgrading Gonzales did not seem to fix the problem.

+1
We are a mixin-heavy LESS shop. Loving the tool, save for this issue, and a couple others (issue #546, issue #510)


The download link is broken. Can you provide the updated one?

Fix the Download link, I need to download ip address range for all the regions and UK south in particular.
Also where do I find IP address range for SQL services in particular.

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

ID: 6f5d33e9-bcb3-3358-f859-c2ff3e71b131
Version Independent ID: 5498280e-dd3c-bd46-9877-3506ad926dbd
Content: Azure Public IP address prefix
Content Source: articles/virtual-network/public-ip-address-prefix.md
Service: virtual-network
GitHub Login: @anavinahar
Microsoft Alias: anavin

@jnprakash, The download link is working correctly. You can also try to download the Azure IP Ranges here. Hope this helps you!

It only works in IE. Please fix that.
On Sat, Apr 20, 2019 at 7:21 AM YASWANTHM-MSFT<EMAIL_ADDRESS>wrote:

@jnprakash https://github.com/jnprakash, The download link is working
correctly. You can also try to download the Azure IP Ranges here
https://www.microsoft.com/en-us/download/details.aspx?id=56519. Hope
this helps you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/29748#issuecomment-485107723,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACTIRLFCGOT3Z2YOHGOO5LDPRMDEVANCNFSM4HHJPTCA
.

--
Thanks and Regards
Jay

@jnprakash, Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

I used Chrome and the link works fine.


Removing outdated paas references.

Removing outdated paas references.

At CEP_Install.yml changed EVFCEP.
At README.md file changed variable cepfolder.

LGTM


Select audiotrack for video inputs

i added an option to select the audiotrack index for inputs with multiple audiotracks (most likely videos =)

I'll try to implement it properly, didn't work with sample rate conversion.


Nuget Package Creation - v1.8.4

Nuget package creation - v1.8.4.
Gmail API dependency update from '<IP_ADDRESS>22' -> '<IP_ADDRESS>50'.

Codecov Report

Merging #30 (082607c) into main (5678c5b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #30   +/-   ##
=======================================
  Coverage   99.48%   99.48%
=======================================
  Files           1        1
  Lines         782      782
  Branches      183      183
=======================================
  Hits          778      778
  Misses          2        2
  Partials        2        2

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 5678c5b...082607c. Read the comment docs.


Check that field_type is not nil

I was running into a nil error when field_type is nil.  This pull simply checks that field_type is not nil before calling method_defined? on it.

Thanks for the update!  We'll roll out a new gem soon.


GeoImage referencing

While dragging an image to a same-altitude area (flat area), in order to georefence it, I noticed that:

edges match good
mid point's have some deviation from bing map that I use as base layer. (for example a road in the middle of image doesn't match - deviation of ~ 5meters)

I am not sure it is an openglobus issue.
If it is an OG issue, I propose that the geoImageDragging control should have not only 4 handles, but 9 handles. (extra 1 for the middle of each side of the image and 1 for the center).

Agree!
GeoImage is a grid,  here is the grid tesselation code:
https://github.com/openglobus/openglobus/blob/fd88ca526eb3e1f3bbe1cc0dac36ec10ff9475bb/src/og/utils/GeoImageCreator.js#L35
It is hardcoded, but according to your suggestion, it could be triangulated manually with your approach.


Suppressing more dialogboxes

Not suppressing these cause invalid states when shutting down etc.
Just revisited veewee 0.2.x and found that these are needed.

This has been integrated in the veewee03 branch  - https://github.com/jedi4ever/veewee/blob/veewee03/lib/veewee/provider/virtualbox/box/helper/create.rb#L50


Account Summary: tab overview and status

tab middle column. your overview and augur status are the middle column

https://www.figma.com/file/bZh7tOiLm6Ls9Hl4RL6qMC5X/Augur-Redesign?node-id=2454%3A0

closing this ticket Matt's ticket works.


Nesting diagram link broken

The Composing Data tutorial has a link https://ioam.github.io/holoviews/Tutorials/nesting-diagram.png that's broken.  Any idea where the .png file went, and why the website building doesn't complain about it?  There is an SVG version of the file at https://github.com/ioam/holoviews/blob/master/doc/assets/nesting-diagram.svg , but I'm not sure how to refer to files in assets from the notebook, once the notebook is rendered.  And presumably there used to be a PNG version that would help the page load more smoothly than SVG (as it's a very slow page already); no idea where that is now.

It has been updated now.
http://assets.holoviews.org/nesting-diagram.png
http://assets.holoviews.org/nesting-diagram.svg
Note that it won't work if you use https:// which is why it wasn't working in the tutorial. Updated in df0e43b and I'll force a website build now to update it on dev.holoviews.org.
Closing the issue now.

I've updated it (http://dev.holoviews.org/Tutorials/Composing_Data.html) but right now it is a bit too big. I'll fix it now...

I think it is a more suitable size now. I can change it again if you like (currently exported at 120 dpi).

Looks good, thanks!


Create and Delete request compatibility

We are trying to have one panel allow a submit and delete. However the delete button doesn't appear to function properly.
// Custom Code
const id = "$note_id";

try {
  return {
    rawSql: `delete from field_notes where id = ${id}`,
    format: 'table',
  };
} catch {
  console.log(e)
  notifyError(['Failed', 'An error occurred deleting values.']);
}

I'm not sure if there needs to be an option for a Data Source request type for the alternative buttons? Or if you would recommend using a separate panel for this.

@jacksongoode Did you call reset a delete button, or how did you implement it?
Could you please explain your use case? I was thinking about adding an additional button like submit with custom payload, and data source to support additional requests. Will it work for you?

Yes, exactly I had repurposed the reset button to serve as a delete. I think what you imagine would satisfy my use case.


fix tyfo: @RequestMappings to @RequestMapping

I found typo when read this link.
fix typo at @RequestMappings.
thank you

Thanks for the PR @boojongmin.
I applied this correction in the gh-pages branch via c253160.


Scanner.setCallback(onCallback) not firing

Callback is not firing, is it implemented?
Following the readme to implement, it doesn't appear to fire and I cant seem to get the 'newly_scanned' or type to change upon tag going on/off. I'm using iBeacons.
Your help is very much appreciated.
-John
implemented as:
#include "Particle.h"
#include "BeaconScanner.h"

SYSTEM_THREAD(ENABLED);
SYSTEM_MODE(SEMI_AUTOMATIC);

SerialLogHandler logHandler;

void onCallback(Beacon& beacon, callback_type type) {
  Log.trace("Callback!");
  Log.trace("Address: %s. Type: %s", beacon.getAddress().toString().c_str(), (type == NEW) ? "Entered" : "Left");
}

void setup() {
    // Other setup
    BLE.on();
    Scanner.setCallback(onCallback);
    Scanner.setMissedCount(2);
    Scanner.setScanPeriod(6);

    Scanner.startContinuous(SCAN_IBEACON);
}

unsigned long scannedTime = 0;

void loop() {
  Scanner.loop();

  if ((millis() - scannedTime) > 5000) {

    scannedTime = millis();
    for (auto i : Scanner.getiBeacons()) {
      Log.info("Address: %s, RSSI: %u, new? %d", i.getAddress().toString().c_str(), i.getRssi(), i.newly_scanned );
    }

  }

}

This was on my side! When implemented in the Particle Workbench via 'add library', and in my main code it works. Not sure what went on there.


deps(BUX-417): update bux; get rid of centrifuge dependency; upgrade other dependencies

Pull Request Checklist

[ ] 📖 I created my PR using provided  : CODE_STANDARDS
[ ] 📖 I have read the short Code of Conduct: CODE_OF_CONDUCT
[ ] 🏠 I tested my changes locally.
[ ] ✅ I have provided tests for my changes.
[ ] 📝 I have used conventional commits.
[ ] 📗 I have updated any related documentation.
[ ] 💾 PR was issued based on the Github or Jira issue.

testing 🧪


Build fails because of missing org.jfrog.jade.plugins.common:jade-plugin-common:jar:1.3.8

org.jfrog.jade.plugins.common:jade-plugin-common:jar:1.3.8 has vanished from Maven Central.
=> http://search.maven.org/#search|ga|1|g%3A"org.jfrog.jade.plugins.common"
There we are unable to build and to use the Maven plugin for reflections.

So, I've decided to discontinue the reflections-maven project... WDYT? Always hated maven plugins...
FYI, there a good example of using gmavenplus in the README
Best of luck


cannot identify image file

Hi,
first: Thanks for this awesome tool! Am using it for ~half a year now and I love it so far!
I got this error (both with sigal 1.0.1 and 1.3.0, though 1.0.1 did not include the backtrace):
INFO: Processing /home/[...]375.png
INFO: Failed to process: IOError("cannot identify image file u'/home/m/archive/blog/pictures/iceland_2017/P1010375.png'",)
Traceback (most recent call last):
  File "/nix/store/iqs96qsi2vhcxbmg93vzzdz2jgp99jyc-sigal-1.3.0/bin/.sigal-wrapped", line 12, in <module>
    sys.exit(main())
  File "/nix/store/3cp18nir0w8zvy4brkmz33bjnszsybpf-python2.7-click-6.7/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/nix/store/3cp18nir0w8zvy4brkmz33bjnszsybpf-python2.7-click-6.7/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/nix/store/3cp18nir0w8zvy4brkmz33bjnszsybpf-python2.7-click-6.7/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/nix/store/3cp18nir0w8zvy4brkmz33bjnszsybpf-python2.7-click-6.7/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/nix/store/3cp18nir0w8zvy4brkmz33bjnszsybpf-python2.7-click-6.7/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/nix/store/iqs96qsi2vhcxbmg93vzzdz2jgp99jyc-sigal-1.3.0/lib/python2.7/site-packages/sigal/__init__.py", line 142, in build
    gal.build(force=force)
  File "/nix/store/iqs96qsi2vhcxbmg93vzzdz2jgp99jyc-sigal-1.3.0/lib/python2.7/site-packages/sigal/gallery.py", line 638, in build
    for res in self.pool.imap_unordered(worker, media_list):
  File "/nix/store/6yb5rvr6rvgvx8ylpchwz808djfw07rb-python-2.7.14/lib/python2.7/multiprocessing/pool.py", line 673, in next
    raise value
IOError: cannot identify image file u'/home[...]'

(Don't mind the strange pathes, this is NixOS).
I think there's very little information actually in the error message... what does "identify" mean, for example.
If you want, I can share the image with you so you can try to reproduce!

As this issue still exists for me, I just want to confirm: There are two image processing libraries I can use with sigal? Pillow and PIL? Because I could try to use the other lib and reproduce...
If you check out the issue in the pillow repository, you'll see that they state that Adobe RGB 16 bit does not work, but all images I processed so far are Adobe RGB 16 bit. So I wonder whether sigal used the other image processing library for those and fails to do so now...

Pillow started as a fork of PIL, which was not compatible with Python 3 and not updated. So you should just use Pillow, PIL is dead. http://pillow.readthedocs.io/en/latest/about.html#what-about-pil


Sublime text 3 install GoSublime ERROR

GoSublime error: MarGo build failed |                > This is possibly a bug or miss-configuration of your environment. |                > For more help, please file an issue with the following build output |                > at: https://github.com/DisposaBoy/GoSublime/issues/new |                > or alternatively, you may send an email to<EMAIL_ADDRESS>|                >  |                >  |                > cmd:['C:\go\bin\go.exe', 'build', '-tags', '', '-v', '-o', 'gosublime.margo_r19.10.22-1_go?.exe', 'gosublime/cmd/margo']|                > stdout:
|                >
|                > |                > stderr:
|                > runtime
|                > # runtime
|                > C:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
|                > 	previous declaration at C:\go\src\runtime\stubs_amd64x.go:10:6
|                > |                > exception:None`
|   install state: busy
| sublime.version: 3211
| sublime.channel: stable
|       about.ann: a19.10.22-1
|   about.version: r19.10.22-1
|         version: r19.10.22-1
|        platform: windows-x64
|            ~bin: ~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\windows-x64\bin
|       margo.exe: ~bin\gosublime.margo_r19.10.22-1_go?.exe (missing)
|          go.exe: C:\go\bin\go.exe (ok)
|      go.version: go?
|          GOROOT: C:\go
|          GOPATH: D:\gowork\path
|           GOBIN: (not set)
|       set.shell: []
|       env.shell:
|       shell.cmd: ['C:\WINDOWS\system32\cmd.exe', '/C', '${CMD}']
|    sh.bootstrap:
|                > 	error building gosubl\sh-bootstrap.go: # runtime
|                > C:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
|                > 	previous declaration at C:\go\src\runtime\stubs_amd64x.go:10:6
|                >
|                > 	error running bin\gosubl-sh-bootstrap.exe: 'bin\gosubl-sh-bootstrap.exe' 不是内部或外部命令，也不是可运行的程序
|                > 或批处理文件。
|                >
|                > 	go version: (raw version string)
|                > 	shell bootstrap took 1.497s
|                >
`

This looks like a problem with your Go installation. Maybe you unzipped a new version of Go on top of an older one?

In package control website it says "missing". https://packagecontrol.io/packages/GoSublime.

@talgat-yandex Package Control isn't supported and I haven't gotten round to updating the tags/messages, sorry...
To install GoSublime you can find the instructions here https://github.com/DisposaBoy/GoSublime#installation--support


Should Gauge gain add in addition to record?

Expected behavior
I'd like to use gauges to easily implement a metric of how many things I have alive in my system -- examples could be threads or connections.
// ==== ----------------------------------------------------------------------------------------------------------------
// goal: easily implement gauges which measure "amount of alive things"

class Heavy {

    init() {
        // this is hard to express when we only have "record":
        let gauge = Gauge(label: "heavy-1")
        gauge.add(1)
    }

    deinit {
        // this is hard to express when we only have "record":
        gauge.add(-1)
    }

    // or start() / stop(), same story

}

Actual behavior
Can't implement this like that since we do not offer add, we only offer record, so I have to implement my own thing which keep the total number and then use that to record into the actual metrics gauge:
Implementation idea 1, which fails since Gauge is not open:

// ==== ----------------------------------------------------------------------------------------------------------------
// wishful thinking workaround impl, though heavy...

///
/// error: cannot inherit from non-open class 'Gauge' outside of its defining module
/// internal class AddGauge: Gauge {
///                ^
@usableFromInline
internal class AddGauge: Gauge {

    @usableFromInline
    internal let _storage: Atomic<Int>
    internal let underlying: Gauge

    public convenience init(label: String, dimensions: [(String, String)] = []) {
        self.underlying = Gauge(label: label, dimensions: dimensions)
    }

    override func record<DataType: BinaryFloatingPoint>(_ value: DataType) {
        self.underlying.record(value)
    }

    @inlinable
    func add<DataType: BinaryFloatingPoint>(_ value: DataType) {
        let value = self._storage.add(value)
        self.underlying.record(value)
    }
}

So what I end up is something like:

// ==== ----------------------------------------------------------------------------------------------------------------
// current workaround

@usableFromInline
internal class AddGauge {

    @usableFromInline
    internal let _storage: Atomic<Int>
    @usableFromInline
    internal let underlying: Gauge

    public init(label: String, dimensions: [(String, String)] = []) {
        self._storage = .init(value: 0)
        self.underlying = Gauge(label: label, dimensions: dimensions)
    }

    @inlinable
    func record(_ value: Int) {
        self.underlying.record(value)
    }

    @inlinable
    func add<DataType: BinaryFloatingPoint>(_ value: DataType) {
        let v = Int(value)
        self.underlying.record(self._storage.add_load(v))
    }
}

Main question:

Should we add add() to Gauge as it enables this popular use case?

if yes, this needs a major bump, better now than later I guess though
if no, what's the pattern people should adopt for this use case?

alternatively making the types open would allow for implementing such things nicer...

that's likely a BAD idea though, so let's not

we could tell people to implement a special weird handler, and add an extension to Counter.add which has to pattern match on the handler if it supports an add operation or not... it seems a bit weird though and would come at a cost.

Other points:

OpenTelemetry seems to not have it in Go https://github.com/open-telemetry/opentelemetry-go/blob/master/api/metric/gauge.go
but does have it in Java https://github.com/open-telemetry/opentelemetry-java/blob/master/api/src/main/java/io/opentelemetry/metrics/GaugeLong.java#L75-L81
so that's a bit weird...  the main reference impl though is Java AFAIK.

@ktoso if you feel strongly about this, it would be good time since we are working on 1.200

Thanks for reminder! I’ll give it a look on Monday if my workaround is a good general approach or it built in api would be much better :)

Looking into it 💭

Spent some time with this expressing some metrics I wanted to capture with "add" and thanks to some great discussion with @yim-lee was able to figure out we can express everything we need by using a positive + negative counter pair;
This is actually quite good, as one can track all those events separately and also get their independent progress as well as post process them nicely (sum(positive, -negative) == current count) in aggregation systems like graphite, prometheus etc.
For curious people who'd bump into the same issue:
@usableFromInline
internal struct MetricsPNCounter {
    @usableFromInline
    let positive: Counter
    @usableFromInline
    let negative: Counter

    init(label: String, positive positiveDimensions: [(String, String)] = [], negative negativeDimensions: [(String, String)] = []) {
        self.positive = Counter(label: label, dimensions: positiveDimensions)
        self.negative = Counter(label: label, dimensions: negativeDimensions)
    }

    @inlinable
    func increment(by value: Int64 = 1) {
        self.positive.increment(by: value)
    }

    @inlinable
    func decrement(by value: Int64 = 1) {
        self.negative.increment(by: value)
    }
}

So in prometheus one could see those as
resource{label="bananas", event="start"} 16
resource{label="bananas", event="stop"} 10

meaning that right now we have 6 active bananas; this is to be calculated in post processing though.


How to set specific row on !autofilter

Hi,
I want to set filter on specific row, not just on the first row, but i don't find any information in documentation: https://github.com/SheetJS/sheetjs
i just find filter by range column:
ws['!autofilter'] = { ref:"A1:D4" };
Is there function to set filter on specific row ?

Change the "1": https://jsfiddle.net/s6kpfL0c/
ws["!autofilter"] = { ref: "A3:B5" };


Macro code impl

An other attempt at  #1102. I will need to flatten the nested if statements and im also not sure if the way that i get the resolver and module will always work

@matklad  I made the changes that you have suggested however the result of the hir_parse is always an empty source file. Do you have any idea on why that is

I made the changes that you have suggested however the result of the hir_parse is always an empty source file. Do you have any idea on why that is

Most likely it's some bit of macro expansion that is missing....
Let's add a test here, so it's easier to debug!
I think something like this should work for a smoke test:
#[macro_export]
macro_rules! the_answer {
    () => { 92 }
}

fn main() {
    let x = the_answer!();
}

So the reason that the source file is empty is because macro expansion fails.

@matklad  I've got a basic version of this working. My code needs cleaning up and I also need to investigate why macro expansion of my custom vec!() macro fails.

@matklad We need acess to the module so we can get an ast_id map and then get the ast_id that corresponds to the MacroCall.

@matklad We need acess to the module so we can get an ast_id map and then get the ast_id that corresponds to the MacroCall.

Hm, indeed.. What if we add
fn resolve_macro_call(db: &impl HIrDatabase, call: &ast::MacroCall) -> Option<MacroCallId>

method to Resovler? THat is, what if we hide "get an ast_id map" step inside resolver itself?

Looks perfect now, thanks @Lapz!
bors r+


Implement PHP.net search.

Currently a bug in this that posts search results twice, but opening for initial review.

Double posting bug ended up being two listeners, all good!


[Code health] Editor config doesn't match continuation indentation

Android Studio uses .editorconfig file to format code, wrapping lines which are too long to look like this:
@UninstallModules({AuthenticationModule.class, RemoteStorageModule.class,
  LocalDatabaseModule.class})

checkstyle then checks the formatting of that code, specifically using the lineWrappingIndendation rule which fails because 2 spaces are added instead of 4.
The fix/workaround is to add continuation_indent_size = 4 to .editorconfig.

@dturner Is this also the case when using the google-java-format plugin?


Implement syntax highlighting

https://tree-sitter.github.io/tree-sitter/syntax-highlighting

We do have a very basic implementation now


Consider the viability of live watching host changes

Consider how difficult it would be to have something listening to the hosts for either ssh or docker (or any other future providers) to ensure that when changes happen (to the containers being ran, or the underlying ssh config, etc) they are "immediately" reflected in netman. I don' t know what this looks like yet.

Additionally we should consider how hard it would be to allow netman to manage its own provider hosts. This should be possible with the introduction of provider specific configurations (#135).
Configuration source is here and we are already creating configurations for consumers (such as Neo-tree). There is also some framework already in place to begin allowing providers to have their own configurations (require("netman.api").internal.get_config exists already, its just internal and thus not meant to be "exposed" yet).


[Package Request] Clipboard

Project description
An alternative way to copy/cut/paste files on the command line
Metadata

homepage URL: https://github.com/Slackadays/Clipboard
source URL: https://github.com/Slackadays/Clipboard/LICENSE
license: gpl3+
platforms: Unix, MacOS, Linux, Windows

Here's a short video showing off how it works.

https://github.com/NixOS/nixpkgs/pull/207928

Oops, I didn't see that! My mistake!


Disable of device-initiated U1/U2 failed

Required Info

Camera Model
D435i

Firmware Version
<IP_ADDRESS>

Operating System & Version
Linux Ubuntu 18.04

Kernel Version (Linux Only)
4.15.0-55 or 58

Platform
Intel i7 Q370 PC

SDK Version
2.28.1

Language
C++

Segment
Service Robot

Issue Description
We have multiple (up to 4) D435i connected to the PC's USB3.1 Gen1 ports. During synchronous startup or longer operation using realsense-ros (or sometimes even with realsense-viewer), unexpected resets occur according to the syslog:
kernel: [ 1043.112609] uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024)
kernel: [ 1043.297456] usb 2-4: Disable of device-initiated U1 failed.
kernel: [ 1043.304451] usb 2-4: Disable of device-initiated U2 failed.
kernel: [ 1043.418840] usb 2-4: reset SuperSpeed Gen 1 USB device number 3 using xhci_hcd
kernel: [ 1043.525437] usb 2-7: Disable of device-initiated U1 failed.
 kernel: [ 1043.532429] usb 2-7: Disable of device-initiated U2 failed.
kernel: [ 1043.646688] usb 2-7: reset SuperSpeed Gen 1 USB  device number 4 using xhci_hcd
kernel: [ 1046.164230] uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).
Adding delays between initial resets, startup or disabling USB autosuspend/auto-poweroff in the kernel/udev only seemed to have reduced the frequency of such events in our setup, but they still occur and make librealsense/realsense-ros crash at xioctl calls.
We also tested the cameras at the PC's USB3.1 Gen2 ports instead of Gen1, but these tended to operate much worse in our case.
Any solutions or hints on how to effectively avoid this?
Thanks in advance and best regards
Norman

During synchronous startup

Are the cameras used in multi-camera hardware sync configuration? The problem sounds like it's related to ESD/EMI related.
The multi-camera white paper provides good recommendations to ensure the signal integrity and protects the cameras.
https://dev.intelrealsense.com/docs/multiple-depth-cameras-configuration
Thank you.

Same issue without hardware sync. Please help!
input: Intel(R) RealSense(TM) Depth Ca as /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0/input/input3147 usb 2-4.3: Disable of device-initiated U1 failed. usb 2-4.3: Disable of device-initiated U2 failed. usb 2-4.3: reset SuperSpeed Gen 1 USB device number 51 using xhci_hcd uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 410  (8086:0ad2) uvcvideo 2-4.3:1.0: Entity type for entity Intel(R) RealSense(TM) Depth Ca was not initialized! uvcvideo 2-4.3:1.0: Entity type for entity Processing 2 was not initialized! uvcvideo 2-4.3:1.0: Entity type for entity Camera 1 was not initialized! input: Intel(R) RealSense(TM) Depth Ca as /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0/input/input3148 usb 2-4.3: Disable of device-initiated U1 failed. usb 2-4.3: Disable of device-initiated U2 failed. usb 2-4.3: reset SuperSpeed Gen 1 USB device number 51 using xhci_hcd uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 410  (8086:0ad2) uvcvideo 2-4.3:1.0: Entity type for entity Intel(R) RealSense(TM) Depth Ca was not initialized! uvcvideo 2-4.3:1.0: Entity type for entity Processing 2 was not initialized! uvcvideo 2-4.3:1.0: Entity type for entity Camera 1 was not initialized!

Hi,
I am encountering the same kind of behavior with a D455 camera.
The camera has its own power supply, and hardware sync is not configured.
Any idea what could cause it? and how to fix or workaround it?

Hi @milidam  I recommend trying to build the librealsense SDK from source code with the libuvc backend installation method, which bypasses the kernel and so can help to avoid problems that are arising from a conflict between librealsense and the kernel.
https://github.com/IntelRealSense/librealsense/blob/master/doc/libuvc_installation.md
https://github.com/IntelRealSense/librealsense/blob/master/scripts/libuvc_installation.sh


Verify Ownership Failing

When attempting to verify ownership via https://openspeedtest.com/admin/verify-domain I can browse the text file at https://speedtest.ourdomain.net/Verify.txt and have verified it matches the provided key but when submitting it for activation the page fails and says Wrong Code! Verification Failed!

No Blank space on the file? Sometimes it will generate text file with blank space at the end. I need to fix the backend. Try deleting blank space if present.

I highlighted the entire string and I don't see any leading or trailing spaces.

Actually, there is one.

So, I retried the activation the space is gone, and it spun for a long time then told me the verification failed. I verified the Verify.txt again and everything looks correct.

Please send me an email from the email I'd you used to register.  I can activate manually<EMAIL_ADDRESS>


Remove Ubuntu Saucy 13.10 from Ubuntu installation guide

See https://github.com/docker/docker/pull/15015#discussion_r35560341
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

LGTM

Oh very LGTM, thanks!


Chat on Gitter about it

Awww yeah. I was just thinking about how I only have like 6 clients running at a time these days :+1:


added Gruntfile, validated Javascript in jshint, added distribution version

Thanks a lot for the PR!
Unfortunately, I see several issues with Grunt file:

there is an error in cssmin task: no file with name src/<%= pkg.name %>.css
It is not very good idea to store dist folder (and any other generated files) in the repository. I hope most users are able to run npm i and grunt to build production files themselves. Could you, please, delete these files and add dist folder to gitignore.
Why do you turn off jshint warnings W099, W044 in gruntfile? W033 and W083 can be removed after I fix corresponding places in sources (will do it today).
We use spaces for indentation. Could you, please, replace tabs in Gruntfile.js.

I missed another problem with building: images should be copied to dist folder along with css files...

yoou can use this Grunt plugin: https://github.com/gruntjs/grunt-contrib-copy

Sorry for the late answer.
We use gulp, so I've added a linter as gulp plugin.
As for minification, I don't think this to be our case. Plugin size is only 10k.


mate.mate-session-manager: 1.20.0 -> 1.20.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/mate-session-manager/versions.
These checks were done:

built on NixOS
/nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/mate-session passed the binary check.
/nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/mate-session-properties passed the binary check.
/nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/mate-session-save passed the binary check.
/nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/mate-session-inhibit passed the binary check.
Warning: no invocation of /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/mate-wm had a zero exit code or showed the expected version
/nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/.mate-session-wrapped passed the binary check.
/nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/.mate-session-properties-wrapped passed the binary check.
/nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/.mate-session-save-wrapped passed the binary check.
/nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/.mate-session-inhibit-wrapped passed the binary check.
Warning: no invocation of /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/.mate-wm-wrapped had a zero exit code or showed the expected version
8 of 10 passed binary check by having a zero exit code.
1 of 10 passed binary check by having the new version present in output.
found 1.20.1 with grep in /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1
directory tree listing: https://gist.github.com/f036604f75bea4aed0093a9ca8eb6f0a
du listing: https://gist.github.com/1083d12fd4033f9091a0ce334f09c1e4

meta.description for mate.mate-session-manager is: '"MATE Desktop session manager"'.
cc @romildo for testing.
Experimental: this build is cached with Cachix. To use the cache follow these experimental instructions:
One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout ee554b51f4b297743ac293a5a87275bdc1857dde && nix-shell --pure -I nixpkgs=. -p mate.mate-session-manager

Success on x86_64-linux (full log)
Attempted: mate.mate-session-manager
Partial log (click to expand)
shrinking /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/.mate-session-wrapped
shrinking /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/.mate-session-save-wrapped
shrinking /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/.mate-session-inhibit-wrapped
shrinking /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/.mate-session-properties-wrapped
gzipping man pages under /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/share/man/
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin
patching script interpreter paths in /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1
/nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/.mate-wm-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1...

Success on aarch64-linux (full log)
Attempted: mate.mate-session-manager
Partial log (click to expand)
shrinking /nix/store/l1b8j1qclzkv3wrpia6dm9l4wqj920sy-mate-session-manager-1.20.1/bin/.mate-session-properties-wrapped
shrinking /nix/store/l1b8j1qclzkv3wrpia6dm9l4wqj920sy-mate-session-manager-1.20.1/bin/.mate-session-save-wrapped
shrinking /nix/store/l1b8j1qclzkv3wrpia6dm9l4wqj920sy-mate-session-manager-1.20.1/bin/.mate-session-inhibit-wrapped
gzipping man pages under /nix/store/l1b8j1qclzkv3wrpia6dm9l4wqj920sy-mate-session-manager-1.20.1/share/man/
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/l1b8j1qclzkv3wrpia6dm9l4wqj920sy-mate-session-manager-1.20.1/bin
patching script interpreter paths in /nix/store/l1b8j1qclzkv3wrpia6dm9l4wqj920sy-mate-session-manager-1.20.1
/nix/store/l1b8j1qclzkv3wrpia6dm9l4wqj920sy-mate-session-manager-1.20.1/bin/.mate-wm-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/p0vy17dp9jk2mvqsxsqnb14s3797lay7-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/l1b8j1qclzkv3wrpia6dm9l4wqj920sy-mate-session-manager-1.20.1...
/nix/store/l1b8j1qclzkv3wrpia6dm9l4wqj920sy-mate-session-manager-1.20.1

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: mate.mate-session-manager
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


Regression: datafusion-cli can no longer run EXPLAIN ANALYZE

Describe the bug
datafusion-cli can no longer run EXPLAIN ANALYZE
To Reproduce
datafusion-cli -c "explain analyze select * from './parquet-testing/data/data_index_bloom_encoding_stats.parquet';"
DataFusion CLI v34.0.0
Internal error: Optimization not supported for ANALYZE.
This was likely caused by a bug in DataFusion's code and we would welcome that you file an bug report in our issue tracker

Expected behavior
I expect the query to run and produce an EXPLAIN plan annotated with output counters
Additional context
The code that makes the error appears to be https://github.com/apache/arrow-datafusion/blob/ba50a8b178eece7e79b100d0b73bdc9d6d3ec6d5/datafusion/physical-plan/src/analyze.rs#L119
I suspect this is only a datafusion-cli issue, and that it started happening after https://github.com/apache/arrow-datafusion/pull/8651 from @berkaysynnada  (which now checks 'unbounded output')

Should we remove the panic in unbounded_output() and simply reflect its input plan's unboundedness in AnalyzeExec?

Should we remove the panic in unbounded_output() and simply reflect its input plan's unboundedness in AnalyzeExec?

Yes, I think that would be the best solution.  I think returning Ok(false) is probably the easiest fix.


Removed --stripInternal from documentation

Fixes https://github.com/Microsoft/TypeScript/issues/27455

@RyanCavanaugh Now that this --stripInternal has been removed from the documentation, what is the recommended way to hide certain methods from your public API ?
Assume you write a library in TS, and ship it as JS files with .d.ts definition files.
In the past, you could mark certain public methods in your Typescript code base as @internal. This allowed to use those methods inside your library, and by removing them from the definition files in your shipped version, users of your library wouldn't see those methods.
In Java, this is typically solved by using package visible methods. As there is no such construct for Typescript, all the solutions you find on the internet refer to this now removed --stripInternal option.
Is there an alternative available ?
PS: searching on the --stripInternal string still points to the Compiler Options in MSBuild, so it hasn't been completely removed.


Nlog For Azure File Share

I am using Nlog in my C# project and i want to save logs in Azure File Share. I found this nuget and its Github "NLog.Extensions.AzureStorage". https://github.com/JDetmar/NLog.Extensions.AzureStorage It contains Targets: AzureAccessToken, AzureBlobStorage, AzureCosmosTable, AzureDataTables, AzureEventGrid, AzureEventHub, AzureQueueStorage, AzureServiceBus.
But there is no target for Azure File Share.
Does anyone know why Azure File Share isn't on the list?
Has anyone used nlog in azure file share?

Think there is a limitation with Azure File Shares, that file-append-operation is not available. This means one can only create new files, or append to the file by downloading the existing file and append in memory and upload the entire file again. Usually people use Azure Blob Storage instead of Azure File Share: https://github.com/JDetmar/NLog.Extensions.AzureStorage/blob/master/src/NLog.Extensions.AzureBlobStorage/README.md
See also: https://stackoverflow.com/questions/76721836/nlog-in-azure-file-share
See also: https://stackoverflow.com/questions/73767453/how-to-integrate-nlog-to-write-log-to-azure-file-share-in-net

If you are mounting as network-file-share (SMB / NFS), then I guess you can just use NLog FileTarget (KeepFileOpen=false).
See also: https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows
See also: https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-linux

Thanks for your help.
I used File target and i mounted an Azure File Share to AppService directory that contains logs.
It works well!


Realizing it doesn't need to run again...

Is your feature request related to a problem? Please describe.
Rerunning the main workflow seems to always rerun the sub-workflow, would be nice if the Workflow Node could know if no inputs have changed, and if the underlying workflow doesn't have any auto changing things to just return the same output.
Describe the solution you'd like
If no changes to inputs, return the old outputs that were already computed, that way we don't have to rerun the sub workflows every time the main workflow runs.
Describe alternatives you've considered
None
Additional context
None

Hi
I see what you mean, this depend of the sub workflow content, sometimes nodes allways rerun...
A good way to check this is to load the subworkflow and run it twice to see if some notes are rerun each time.
Perhaps you can send me a subworkflow(original one, not the api one) that have this issue.
Ill try to check why.

I think i found the issue it feels like this is already working, i think i had a bug in the subflow which was actually causing it to need to rerun so gonna close this


new:site with Composer install

Issue
Hi there! I'm testing Spress as a replacement for my docs site. I'd like for the entire site and its tools to live in one directory, with the tools managed by Composer. The issue is that spress site:new will not work in the same directory it's installed in.
Steps to reproduce

In a new directory, install Spress with Composer:

$ mkdir spress
$ cd spress
$ composer require spress/spress
Using version ^2.2 for spress/spress
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 43 installs, 0 updates, 0 removals
 ...
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/browser-kit ()
symfony/http-kernel suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/var-dumper ()
react/event-loop suggests installing ext-libevent (>=0.1.0)
react/event-loop suggests installing ext-event (~1.0)
react/event-loop suggests installing ext-libev (*)
yosymfony/config-loader suggests installing yosymfony/toml (0.3.*)
Writing lock file
Generating autoload files

Attempt to init a new site:

$ vendor/bin/spress new:site

Generating a site using the theme: "blank"...

  [RuntimeException]
  Path "./" exists and is not empty.

new:site [--force] [--all] [--prefer-source] [--prefer-lock] [--no-scripts] [--] [<path>] [<theme>]

Attempt to override:

$ vendor/bin/spress new:site --force .

Generating a site using the theme: "blank"...
PHP Fatal error:  Uncaught Error: Class 'Symfony\Component\Debug\Exception\FatalThrowableError' not found in /home/alex/repos/spress/vendor/symfony/console/Application.php:129
Stack trace:
#0 /home/alex/repos/spress/vendor/spress/spress/bin/spress(61): Symfony\Component\Console\Application->run()
#1 {main}
  thrown in /home/alex/repos/spress/vendor/symfony/console/Application.php on line 129

Fatal error: Uncaught Error: Class 'Symfony\Component\Debug\Exception\FatalThrowableError' not found in /home/alex/repos/spress/vendor/symfony/console/Application.php:129
Stack trace:
#0 /home/alex/repos/spress/vendor/spress/spress/bin/spress(61): Symfony\Component\Console\Application->run()
#1 {main}
  thrown in /home/alex/repos/spress/vendor/symfony/console/Application.php on line 129

This error seems to be caused by --force deleting the contents of the directory.
Suggested Resolution
For now I can continue testing by initializing the site into a site subdirectory, but I think a better solution would be for new:site to ignore vendor, composer.json, and composer.lock.

can't you create just a subfolder for Spress?

Yes, and I did as stated under **Suggested Resolution", but I think that this change would improve the ability to use Spress as a self-contained project.


Add a Pred crock

Would be nice to include a Pred based on the contravariant monoid presented in this article.

Submitted PR#16 to address this.

Merged PR#16 to address this issue.
Closing!