[Feature request] File specific properties (not page specific, not editor config)

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
Not related
Describe the solution you'd like
The ability to set properties per file (globally) instead of just per page, or per shape, would be much appreciated.
Describe alternatives you've considered
Right now I create a page, set the properties, and they get carried over to any copy. But, when the moment to change their values come, I have to go through them page-by-page. So an alternative might be the ability to easily clone properties from one page to a set of others.

Thanks for the reply. It kind of helps, but not really.
To clarify: this would require me to setup the editor in the same way for every user, which is really not the way to go about it.
What I would really like to have, are variables that are global to one particular file. Imagine setting a variable to indicate the author, or the title of the file: by using editor-global variables those would be replaced every time someone opens the file on a different computer, which is undesired.
I hope I am making sense.

I upvote hhis feature.
Some of my files are 25 pages long and include the document version number and last modification date.
As a workaround, I export the file as an uncompressed XML file, open it with my favourite text editor (i.e Notepad++) and replace all occurence of the properties I want to change (i.e version="3.2" by version="3.3"), save and reimport the xml file.
Not the perfect solution but it definitely beats updating (Ctrl+M) every page by hand.

It would be great if under menu Extras\Configuration you could have one JSON section for globalVars and one json section for  localDocVars , and then all pages in a doc could reference these using %localDocVar_no1% etc


gcc8 warning 'specified bound depends on the length of the source'

Fixed gcc8 warning 'specified bound depends on the length of the source argument'
First - Why was strncpy (not memcpy) used here? We exactly knows number of bytes to copy ...
Second - code still dangerous, we rely on the fact that the callers understands what it does
Maybe it should be replaced with simple snprintf(to, to_size, "%s", from) ?
(And, I think, this c-style code can be removed 376a72044859cdb42ecd19f096d0f5f91936ef60 )

Aha, here is the reason. Thank you. Which OS are you using?

Debian. I added one more commit here, that switches on treating warnings as errors.


How to update a package?

I come here from https://github.com/transcode-open/apt-cyg/issues/22 where they said this support package upgrade, but they did not said how it can upgrade a package.
Look at help, I can only find a option to upgrade all packages:
  dist-upgrade             : to upgrade all packages that is installed.
                             This subcommand uses setup.exe

Currently I have gcc 7.3 instead, but I just saw there is gcc 8 available: https://cygwin.com/packages/summary/gcc-g++.html
What is the command to update gcc from 7.3 to 8?
I already tried just running apt-cyg install gcc-g++, but the gcc version still the same:
Professional@PROFESSIONAL-PC$ apt-cyg install gcc-g++

Cache directory is /.pkg-cache
Mirror is http://cygwin.mirror.constant.com
Updating setup.ini
--2019-12-26 23:17:28--  http://cygwin.mirror.constant.com/x86_64/setup.bz2
Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... <IP_ADDRESS>
Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 304 Not Modified
File ‘setup.bz2’ not modified on server. Omitting download.

--2019-12-26 23:17:28--  http://cygwin.mirror.constant.com/x86_64/setup.bz2.sig
Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... <IP_ADDRESS>
Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 304 Not Modified
File ‘setup.bz2.sig’ not modified on server. Omitting download.

gpg: assuming signed data in `setup.bz2'
gpg: Signature made Thu, Dec 26, 2019 19:15:06 ESAST using DSA key ID 676041BA
gpg: Good signature from "Cygwin<EMAIL_ADDRESS>gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 1169 DF9F 2273 4F74 3AA5  9232 A9A2 62FF 6760 41BA
signature verified: setup.bz2.sig
--2019-12-26 23:17:30--  http://cygwin.mirror.constant.com/x86_64/setup.ini
Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... <IP_ADDRESS>
Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 200 OK
Server ignored If-Modified-Since header for file ‘setup.ini’.
You might want to add --no-if-modified-since option.

--2019-12-26 23:17:30--  http://cygwin.mirror.constant.com/x86_64/setup.ini.sig
Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... <IP_ADDRESS>
Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 304 Not Modified
File ‘setup.ini.sig’ not modified on server. Omitting download.

gpg: assuming signed data in `setup.ini'
gpg: Signature made Thu, Dec 26, 2019 19:15:01 ESAST using DSA key ID 676041BA
gpg: Good signature from "Cygwin<EMAIL_ADDRESS>gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 1169 DF9F 2273 4F74 3AA5  9232 A9A2 62FF 6760 41BA
signature verified: setup.ini.sig
Updated setup.ini
Package gcc-g++ is already installed, skipping
Professional@PROFESSIONAL-PC$

This question will be resolved with my answer at issue #48.
The latest version of gcc-g++(version 8.3.0-1) is in the [test] section not [curr].
But, I'm sorry, apt-cyg does not support selecting a section for install subcommand, yet.
Thus, you can not install it with apt-cyg directly.
However, you can resolve it with the least cost by using setup subcommand and a few GUI operations.

Run below command:

apt-cyg setup -- -q -B -M -n -x gcc-g++ -P gcc-g++

Click Reinstall and select 8.3.0-1 (Test) from pop up menu.

Click Next button to finish install.

If you want to check the section which packages are belongs, use describe subcommand as following:
$ apt-cyg -u describe gcc-g++
Cache directory is /cygdrive/c/Users/kou/Downloads/cygwin
Mirror is http://ftp.jaist.ac.jp/pub/cygwin
@ gcc-g++
sdesc: "GNU Compiler Collection (C++)"
ldesc: "The GNU Compiler Collection includes front ends for C, C++,
Objective-C, Fortran, Ada, and Go, as well as libraries for these
languages (libstdc++, libgcj,...)."
category: Devel
requires: cygwin gcc-core libgmp10 libiconv2 libintl8 libisl15 libmpc3 libmpfr6 libstdc++6 zlib0
version: 7.4.0-1
install: x86_64/release/gcc/gcc-g++/gcc-g++-7.4.0-1.tar.xz 12405804 7bd7861622c214710da4b3ff3304eb22b8c05c595f343610750a44bf5826ec27a4cd37623cfa20d48f40d07055b1a2e33eb0bab158fecef2e7fce310fb2e29a8
source: x86_64/release/gcc/gcc-7.4.0-1-src.tar.xz 62627316 28c56fb6c6b2b1e2248bac49d5cfa96bc48d9ba7f473e07a54f43e63f3aafeacb6acf6b2a139e9f01926551d4c0fdecae9c46d864599b24b6c0f4763a72321f9
depends2: cygwin, gcc-core, libgmp10, libiconv2, libintl8, libisl15, libmpc3, libmpfr6, libstdc++6, zlib0
[prev]
version: 7.3.0-3
install: x86_64/release/gcc/gcc-g++/gcc-g++-7.3.0-3.tar.xz 12379576 390d58d363c5eef45b796f6a20e784a81700a04b588a7af599fc95cff7fa6d35a99f350fd96c7430e18a5aa0df774fb225bac759958396c2fbe398b09e5d9a90
source: x86_64/release/gcc/gcc-7.3.0-3-src.tar.xz 62487856 cf93db46b32dce73ddc4b44ad253405ebfa16937340f0e59f7f0ddf0e2397faea6092c173d03f53b401d63e34e9a6b8d2f2911013dbb5d6dd146af1e84d61a07
depends2: cygwin, gcc-core, libgmp10, libiconv2, libintl8, libisl15, libmpc3, libmpfr6, libstdc++6, zlib0
[test]
version: 8.3.0-1
install: x86_64/release/gcc/gcc-g++/gcc-g++-8.3.0-1.tar.xz 15720920 902cb94cc224e98fba2b12429d7fc7a36329c139c124300dc730a04307228ef4e2f7f9fa7958ef8ac2ee12a991f5678f36046291c2569b53a91d6b9b02970adc
source: x86_64/release/gcc/gcc-8.3.0-1-src.tar.xz 63717648 d1bd8497bbda3e97413a33e71c3e13ee0c9eff3f610e219b99aac0a97a7a850c6204cd1c8d8579a85ddbfd81a1f20a5dc929dc09ddce5d88130c8d526715ce39
depends2: cygwin, gcc-core, libgmp10, libiconv2, libintl8, libisl15, libmpc3, libmpfr6, libstdc++6, zlib0

Thanks for the detailed answer!

Out of curiosity, this is nice when you need to select a specific version, since this is still not supported.
But, when you want to upgrade, isn't it "easier" to just remove and then install the package again?
I'd also love a one-package update feature, but so far, it seems to me that sticking to the command-line is still faster.


Error when writing JavaScript string literal

When I use string literals instead of concatenation I get a warning in Brackets. Please see below
var result = ${title} by ${author} has ${likes} likes. Yup;
console.log(result);
There is a red light bulb with the warning: Unexpected ' ` '. E024
I know the code is right but how do I resolve this issue?

Did you mean to write the snippet like this:
var result = ${title} by ${author} has ${likes} likes. Yup;``
if not the problem is your missing the ```


Update Selenium Python API (selenium.py) to the latest version

Originally submitted to Google Code by @pekkaklarck on 5 Aug 2010

We currently use some old version of selenium.py with our own fixes for a socket leak on Jython ( issue 79 ) and for Firefox 3.6 problems ( issue 114 ). Both of these are fixed in the latest official version so it should be safe to use that instead. The latest version is available at https://code.google.com/p/selenium/source/browse/trunk/selenium/src/py/selenium.py

Originally submitted to Google Code by Bulkan on 29 Aug 2010

What about this version of selenium.py http://pypi.python.org/pypi/selenium

Originally submitted to Google Code by Bulkan on 29 Aug 2010

As Selenium and WebDriver projects have merged is there any plans to use the new webdriver API that I have shared the link in my previous comment ?

Originally submitted to Google Code by @pekkaklarck on 30 Aug 2010

Someone should investigate what benefits upgrading to Selenium 2.0 API would bring and how big a task that would be. A separate issue should be opened about that. This issue is about updating the 1.0 version that we currently use.

Originally submitted to Google Code by @yanne on 15 Nov 2010

I updated selenium.py, all tests passed with Firefox 3.6 in Ubuntu.

Originally submitted to Google Code by @yanne on 15 Nov 2010

This does not seem to affect any of our own tests -> it's good


Make FFT algorithms public

This PR makes changes 1 and 3 mentioned in #13

It renames DFTAlgorithm to just DFT, and replaces the dft() free function with the DFT struct
It makes all FFT algorithms public, by simply making the algorithm module public
It performs a few small cleanup operations to make sure the algorithms are safe for public use

I just took a look at the API from cargo doc and it looks good. I'll be able to take a look into the code changes more tomorrow.

Pushed one final commit for this PR, and it's ready to go. I've been wanting to refactor some elements of the butterflies ever since I wrote them, and I just now realized that if they're going to be public, then I need to do it now.
Basically, there were a few problems before:

For several of the butterflies, it was difficult to call len() on them, because the struct doesn't have a type parameter, but the FFTAlgorithm trait which owns len() does. there are many places in each butterfly impl where we have to hard-code the butterfly size, and it would be much more maintainable to be able to call self.len() instead. So I moved len() into its own trait that doesn't hav a type parameter, and made FFTAlgorithm and FFTButterfly depend on it. It looks very nice this way imo.
In its previous state, it was awkward to deal with instances of ButterflyEnum. I gave it a new() method and made it implement FFTbutterfly, since it was halfway to implementing it anyways.
The different butterflies handled the "perform_FFT" method inconsistently, and as a part of making it more consistent i added it to the FFTButterfly trait as "process_inplace"
There was a ton of code duplication for unit tests, and the above changes allowed me to get rid of almost all of it.

Basically -- make burtterflies more consistent and ergonomic, and reduce code duplication

And most importantly, this last PR means that every single public method has test coverage!

Looks good to me. The only thing I don't really like is the inconsistency in the boxing of the ButterflyEnum. I understand the reason for it, but it just makes for a sort of weird API.
What do you think about instead of ButterflyEnum, we just hold trait objects of FFTButterfly? This seems like a cleaner API to me, and I don't see any downsides as far as runtime computation.
Also, I would like the algorithms documented before pushing to crates.io. But I can do this after the PR is merged, and indeed I would like to because it would give me a good chance to solidify my knowledge of each of the algorithms.

Based on your feedback, I modified MixedRadixDoubleButterfly to operate on Rc trait objects, and deleted ButterflyEnum entirely. It looks much nicer this way, it's more consistent with the other FFT algorithms, and it had no effect on any of the benchmarks.

The entire reason ButterflyEnum existed in the first place is that I assumed storing the butterfly inline with the MixedRadixDoubleButterfly struct would improve performance. But it looks like I was wrong! So we don't need it at all.


Portfolio site changes

added a project.html page and in this I added information about my past projects.

just added the changes!


create newpost page fail

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.103.1+extended darwin/amd64 BuildDate=unknown

Does this issue reproduce with the latest release?
no

my postdir  is symbolic links

I have the same issue in
hugo v0.92.2+extended linux/amd64 BuildDate=2022-02-23T16:47:50Z VendorInfo=ubuntu:0.92.2-1
(after upgrading Ubuntu from 20.04 LTS to 22.04 LTS.
All ./content/* dirs are symlinks to ./* dirs. E.g. ./content/books -> ./books.
Running hugo new books/xxx.md fails with:
anic: [BUG] no Page found for "/home/xbaisa/eb/content/books/xxx.md"

goroutine 1 [running]:
github.com/gohugoio/hugo/create.(*contentBuilder).applyArcheType(0xc0001fec00, {0xc0009e08a0, 0x24}, {0xc0003681e0, 0x8})
	github.com/gohugoio/hugo/create/content.go:276 +0x354
github.com/gohugoio/hugo/create.(*contentBuilder).buildFile(0xc0001fec00)
	github.com/gohugoio/hugo/create/content.go:244 +0x1ad
github.com/gohugoio/hugo/create.NewContent.func1()
	github.com/gohugoio/hugo/create/content.go:104 +0x297
github.com/gohugoio/hugo/create.NewContent(0xc00044cdc0, {0x0, 0x0}, {0x7ffd96cd225a, 0x8adb05})
	github.com/gohugoio/hugo/create/content.go:108 +0x5fe
github.com/gohugoio/hugo/commands.(*newCmd).newContent(0xc000105c80, 0xc000154280, {0xc0002265b0, 0x1, 0x0})
	github.com/gohugoio/hugo/commands/new.go:83 +0x150
github.com/spf13/cobra.(*Command).execute(0xc000154280, {0xc000226580, 0x1, 0x1})
	github.com/spf13/cobra/command.go:856 +0x60e
github.com/spf13/cobra.(*Command).ExecuteC(0xc0003a0f00)
	github.com/spf13/cobra/command.go:974 +0x3bc
github.com/gohugoio/hugo/commands.Execute({0xc00003c0a0, 0x2, 0x2})
	github.com/gohugoio/hugo/commands/hugo.go:92 +0xb4
main.main()
	github.com/gohugoio/hugo/main.go:23 +0x58

And the content of the ./books/xxx.md is this:
---
title: "Content Placeholder"
_build:
  render: never
  list: never
  publishResources: false
---

The corresponding ./archetypes/books.md is this:
---
date: {{ dateFormat "2006-01-02" .Date }}
author:
title:
subtitle:
summary:
started: {{ dateFormat "2006-01-02" .Date }}
finished:
language: en
tags: [current, favourite, audiobook]
score:
---

Does this issue reproduce with the latest release?
Yes. The same behaviour with hugo v0.107.0-2221b5b30a285d01220a26a82305906ad3291880 linux/amd64 BuildDate=2022-11-24T13:59:45Z VendorInfo=gohugoio

Seems like this one is duplicate of Panic with hugo new if target folder is a symbolic link

Duplicate of #9537.
Use mounts instead. In site configuration:
[[module.mounts]]
source = '/home/jsmith/temp'
target = 'content'


Docs: Add warning about sharing a syntax highlighter to TextEdit

Closes #81419

Makes sense to document, but that sounds a bit counterintuitive to me. What's the point of having SyntaxHighlighter be a Resource, if it can't be shared?

What's the point of having SyntaxHighlighter be a Resource, if it can't be shared?

I believe it's the same case as TileSetSource & co. which is, indeed, very annoying in practice. Still worth documenting in the hopes that this behavior is fixed someday.

Thanks!


confusing version : "About dialog" vs Release

Windows Terminal version
1.17.230526001
Windows build number
10.0.19045.0
Other Software
No response
Steps to reproduce

Download asset https://github.com/microsoft/terminal/releases/download/v1.17.11461.0/Microsoft.WindowsTerminal_1.17.11461.0_x64.zip
Run and Open About dialog

Expected Behavior
Displayed version should be 1.17.11461.0
Actual Behavior
Displayed version is 1.17.230526001

Good catch. The unpackaged versions of the Terminal can't use the same versioning APIs that the packaged ones use, so they're just stamped with the build timestamp instead. We should update the portable mode & unpackaged docs to explicitly call this out.

I've moved this over to https://github.com/MicrosoftDocs/terminal/issues/693. Thanks!
/dup https://github.com/MicrosoftDocs/terminal/issues/693


Update: used NotPid option args and move Deprecated func to v1

Please provide Issues links to:

Issues: #

Provide test code:

Description
...

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


accept code in other formats

Nextline currently only accepts source code as a string. Let it accept other formats, such as

a path to a Python script
a code object (output of the compile())
a callable - in this case, the return value should be available

resolved with https://github.com/simonsobs/nextline/commit/cfe1f15b95944f1f7ba7e3bf18ecfb4e63ecdead


ReadUmlautFileName test failure on Linux & Windows

One test that I added (ReadUmlautFileName) failed on both Linux & Windows. Both fail with:

/home/runner/work/libE57Format/libE57Format/test/src/test_SimpleReader.cpp:60: Failure
Failed
errno=2 error='No such file or directory' fileName=/home/runner/work/libE57Format/libE57Format/libE57Format-test-data/self/test filename äöü.e57 flags=0 mode=0

The test simply tries to read a file with a name containing umlauts - test filename äöü.e57.
I tried doing some CI-debugging, but I could not find the source of the problem.
Notes:

the file name is encoded in the test source code as test filename \x61\xcc\x88\x6f\xcc\x88\x75\xcc\x88.e57 to avoid potential problems with editors
I encoded it using a utf8 encoder online tool
I used the same technique for the Chinese filename (ReadChineseFileName) and that one works on all platforms
I verified that the file is actually there and that the name looks correct

I have not done any work with UTF-8 filenames on Linux or Windows, so I'm not sure where to look for a solution. Hopefully it's something obvious I'm overlooking.
To try it out, uncomment the ReadUmlautFileName test in test/src/test_SimpleReader.cpp.

I took another stab at it (see build). Fixes the Linux test, but now breaks the Windows one when reading the Chinese file name 🤦
All my reading about this points at the solution that we have in place for Windows to convert UTF-8 to UTF-16, but that doesn't seem to work (or the UTF-8 encoding we're passing using a u8 string literal is not what it's expecting?). (Also see #26.)
If any Windows people have any insights it would be appreciated.

I think the problem is probably handling of the string literal by MSVC. Are you setting /utf-8 when building the test? That should fix handling of string literals by MSVC. The file itself should be UTF-8 as well, but I believe that is already the case. Using u8"" instead of "" should then be optional.
https://learn.microsoft.com/en-us/cpp/build/reference/utf-8-set-source-and-executable-character-sets-to-utf-8?view=msvc-170

I have checked the code and the actual handling of path name should be correct as far as I can see in both win and posix paths.

Are you setting /utf-8 when building the test?

Nope - I'm letting the CI do whatever the CI does with Windows 😆
Seems crazy that it requires a command-line option, but 🤷 This is good though. Thanks for the info!
Do you have a recommendation on how to best treat UTF8 characters in code files? Include it directly (like my second attempt - my preference from a readability standpoint) or \x (or \u ?) encode it as I do in the current tests.

I think it is better to use them directly. One just need to make sure that:

Files are UTF-8 encoded
/utf-8 is set for MSVC

Then it works across macOS, Linux and Windows and MSVC, clang, gcc.
u8"" vs "" does not matter until c++20, with c++20 u8"" will start being char8_t[] and this will break the test. char8_t has been matter of lot of discussion. char8_t in C++20 has a lot of surprises e.g. std::cout << u8"hello" etc. My take on this is to ignore char8_t and adopt char* == UTF-8 string policy, like this library already does. I found this setup to work the best, especially as one can now configure windows to follow this policy as well. Linux and macOS has been doing this for years already.

This sounds reasonable.
I will revive these tests to get that working.
Thanks Jiri!

...and this is the magic to make it work:

target_compile_options( testE57
	PUBLIC
		$<$<C_COMPILER_ID:MSVC>:/utf-8>
		$<$<CXX_COMPILER_ID:MSVC>:/utf-8>
)

Excellent!


Invalid function call in DEMO-Validation.html

superseded function clearOptions() is called instead of removeOptions()

Fixed.


[World-of-the-Storytellers-WoS] fix: try to fix rolltemplate css error (2)

Changes / Comments
I'm trying to fix the error again that rolltemplate styling isn't work...
Change font to google font.
I hope to solve the problem this time. please...
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


No handlers could be found for logger "fontTools.ttLib.tables._n_a_m_e"

Recently this sentence started to pop up in my Terminal when compiling fonts using makeotf:
No handlers could be found for logger "fontTools.ttLib.tables._n_a_m_e"

I'm running the latest version of afdko (3.9.3) with fonttools (4.38.0).

an application (makeotf) that uses a library (fontTools) that uses the logging module has to configure logging (e.g. at the least, call logging.basicConfig()), otherwise the logging messages would have no handler. In Python2 that meant they would be ignored, in python3 there's a fallback handler (that prints to stderr with that initial warning message about no handlers being found) which gets registered whenever logging hasn't been configured.
It's all in the logging stdlib docs, not our bug and nothing the library itself can do, configuring logging is responsibility of an application.

I recommend that you file this over to the afdko repository.

Thanks for the reply. Issue filed at https://github.com/adobe-type-tools/afdko/issues/1609


git svn clone error on svn 1.8 created respository

I'm following the steps in:
http://git-scm.com/book/en/v2/Git-and-Other-Systems-Git-as-a-Client
to move an svn repository to git. My local svn versions are:
$ svn --version
svn, version 1.8.10 (r1615264)
compiled Aug 25 2014, 10:52:18 on x86_64-apple-darwin12.5.0
When I clone the repository I get an error reading the local file system format:
$ git svn clone file:///tmp/test-svn -s
Initialized empty Git repository in /private/tmp/test-svn/.git/
Couldn't open a repository: Unable to connect to a repository at URL 'file:///tmp/test-svn': Unable to open an ra_local session to URL: Unable to open repository 'file:///tmp/test-svn': Expected FS format between '1' and '4'; found format '6' at /usr/local/Cellar/git/2.1.0/lib/perl5/site_perl/Git/SVN.pm line 310
According to this svn release note FS format 6 was introduced in svn 1.8:
http://subversion.apache.org/docs/release-notes/1.8.html#revprop-packing
Could it be the git 2.1 Perl script isn't yet compatible with this svn release?

@saschwarz I am having the same problem. I am using git 2.14.1 and svn 1.8.8. May I know how you have solved this issue?

I should have posted the answer: https://stackoverflow.com/a/27325713/457935


disablePageResetOnDataChange not working properly

Describe the bug
Using v7. Having disablePageResetOnDataChange off by default and then set it to on works properly, but then setting it to off again doesn't have any effect. It seems that setting disablePageResetOnDataChange to true makes it impossible to change it back to false.
To Reproduce
I modified the editable cells example to add sorting capability >> https://codesandbox.io/s/tannerlinsleyreact-table-editable-data-xwl8m.

Go to page 2.
Edit one of the cells. Unfocus the cell so the data change is triggered. The page is not reset (which is the expected behaviour).
Click on ny header in order to sort by that column. Observe that the page number keeps being 2, even though disablePageResetOnDataChange was turned off after data change.

Expected behavior
After changing data and turning disablePageResetOnDataChange back off, the pageIndex should be reset to zero when sorting by any column.
Codesandbox!
https://codesandbox.io/s/tannerlinsleyreact-table-editable-data-xwl8m
Desktop (please complete the following information):

OS: Mojave
Browser Chrome and Safari, latest versions.

This is fixed in the latest alpha release

Be sure to check out the changes to the example: https://github.com/tannerlinsley/react-table/commit/0aa55dac08a8a4381548a7d5366b247c440a5d4c

Hi @tannerlinsley! Thanks for the update. I still see this happening in the example, though. I am using alpha 35 release.

You have to update your example to use state, as shown in the diff. Here is my updated fork: https://codesandbox.io/s/tannerlinsleyreact-table-editable-data-gvmnd

Oh! sorry, I didn't get that part. Thanks a lot!


Avoid loading whole file into memory with load_operator for schema detection

Description
What is the current behavior?
We're loading whole file into memory and converting it into a byte stream
for schema auto-detection. As a result, jobs with large files e.g. 5GB and
higher are getting killed.
Opening this for discussion if we really need to load the whole file into
memory and if not needed just return the stream so that pandas dataframe
can fetch only the initial rows of a file for schema auto-detection.

closes: #803
What is the new behavior?

Do not load whole file into memory but only return the stream.
Does this introduce a breaking change?
No, tested with postgres and Redshift.

Closing, cut from wrong branch. Will create another PR.


test: Improve tests of withdrawal_handler contract.

Description
Implement and improve tests of withdrawal_handler contract.
File: test/exchange/withdrawal_handler.cairo.
Acceptance criteria

Unit tests (nominal and failure) are implemented and passing.

Can i take this one ? Thank you.

Of course !

Any updates ? @0xTitan

Hi, yes it should be ready by this friday. I was waiting for tests to be fixed with latest foundry version.


cannot find -lcras

I ran
sudo CROUTON_BRANCH=slowpoke_fixes crouton -r xenial -t gnome
and got:
Get:1 http://ports.ubuntu.com/ubuntu-ports xenial/main arm64 libasound2-dev arm64 1.1.0-0ubuntu1 [114 kB]
Fetched 114 kB in 0s (289 kB/s)
Selecting previously unselected package libasound2-dev:arm64.
(Reading database ... 16037 files and directories currently installed.)
Preparing to unpack .../libasound2-dev_1.1.0-0ubuntu1_arm64.deb ...
Unpacking libasound2-dev:arm64 (1.1.0-0ubuntu1) ...
Setting up libasound2-dev:arm64 (1.1.0-0ubuntu1) ...
libasound2-dev set to automatically installed.
Reading package lists... Done
Building dependency tree
Reading state information... Done
patch is already the newest version (2.7.5-1ubuntu<IP_ADDRESS>).
patch set to manually installed.
The following packages were automatically installed and are no longer required:
libasound2-dev libglib2.0-0 libspeex-dev libspeex1 libspeexdsp-dev pkg-config
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Compiling CRAS (native)...
/usr/bin/ld: cannot find -lcras
collect2: error: ld returned 1 exit status
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...
If known, describe the steps to reproduce the issue:
Also happens when running
sudo crouton -r xenial -t gnome
I am on ARM architecture (Lenovo IdeaPad Duet Chromebook)

Thanks for trying that branch.  cras compilation is definitely still not fixed... tracking in #4804


Cannot save 'Folder indexing' settings

Describe the bug
After modifying Folder indexing settings (adding exclude directories) I can't save my changes.
Screenshots

Environment (please complete the following information):

OS: Stock docker image
Browser: Firefox on Ubuntu 20.04

Used app version:
1.8.0

Thanks for reporting it.
There is potentially an issue with the change detection on the settings page.
I'll fit it at some point. Until then, these are the workarounds:

change some other setting that box (Folder Indexing). That will hopefully trigger the change detection.
Edit directly the config.josn file.

After adding a dummy file exclusion I was able to save it.

I still see the folders though:

Also $RECYCLE. BIN ought to be excluded by default, and perhaps exclude all '.' dot folders and files by default too?

I could not reproduce this issue with the nightly build. Around February I made a significant change to the config handling. That should solve this issue.
Also I added these three folders to be excluded by default. I did not wanted to that far to exclude all '.' starting folders by default. I think a good solution would be here to enable regexp for the list, that way everyone can set it if needed.

closing due to inactivity


docker_testbenchでjetson imageのmountに失敗する.

Describe the bug
Please check Title
Regardless not making a directory to mount jetson image, mount jetson image to not existing directory.

This problem was fixed in https://github.com/OUXT-Polaris/ouxt_automation/pull/214
Thank you for your report.


Regression bug in the tab bar of the editor: the mouseover and selected highlights do not show properly

Problem Description
The mouseover and selected highlights in the tabbar of the editor are gone. I think this was introduced in PR #15124.

I am starting it from the bootstrap.py and get this error, maybe this is why?
No QCoreApplication instance found. Application patches not applied. You have to call load_stylesheet function after instantiation of QApplication to take effect.

If I checkout at c6dc102f86c13a1fe89853c293a752419cd3da06 it looks fine.

OK I was wrong, the problem does not occur after PR #15124 was merged for me, but after PR #15237 instead.

I'll try to investigate later and see what exactly is causing this.

may do a pip download --dest  D:\tempo spyder and see what goes down, to check you didn't miss a dependancy update

The problem is caused by the stylesheet applied to the EditorQSplitter. It seems to override the stylesheet applied to the
If I comment out the line self.setStyleSheet(self._stylesheet) in the EditorQSplitter, then everything seems to look great.

this line ? https://github.com/spyder-ide/spyder/blob/e582a41b95f07f1d27b2fa1a1891ac6dca69475d/spyder/plugins/editor/widgets/editor.py#L2921

Yes.

I have this line in my working set...
.. but I noticed trying to get my red color, some things are not well working in "Theme" change.
My "Theme" is

@jnsebgosselin, where are we applying an style to EditorStack? I think we are not doing that.

Yes you are right.
It seems to override the stylesheet that are applied through APP_STYLESHEET, APP_TOOLBAR_STYLESHEET, PANES_TABBAR_STYLESHEET, that is what I meant.

I don't understand why it is doing that for me, but not for stonebig...

I'm using PyQt-5.15.1 , a hacked-for-pyside2 QtPy, and a slow PC.

Thank you stonebig for you help, it is much appreciated!
Maybe this is because of my version of PyQt. I am using the latest one on conda-forge, which is version 5.12.5.

If you're on Conda, the whole compiler toolchain is different.

This could be a problem on Windows only because I can't reproduce it on Linux. I'll check it out.

@ccordoba12 Thank you!

It is only the main splitter that is affected. The ones that are created when actually splitting the editor looks great.

@ccordoba12
Ok, so in order to reduce the number of variables, I just did a fresh install of Anaconda and installed Spyder dependencies in a fresh new Python 3.8 environment (instead of 3.7) with conda install -c spyder-ide/label/dev --file requirements\conda.txt.
Everything now looks fine, so I think we can safely close this issue, since the problem was most likely due to my environment which was kind of outdated.

I am really happy because in the code, everything looked fine, so it was puzzling me big time why this was happening XD

Great news @jnsebgosselin! Closing then.
I also think it was a problem on your end because no one else has reported it after we released 5.0


No module named

I had this problem with 2 libs that I tried to use in flet, and it gave the same problem, the first lib is cx_Oracle and the second is oracledb.
Traceback (most recent call last):
File "", line 43, in
File "", line 229, in run_module
File "", line 88, in _run_code
File "C:\Users\claud\AppData\Roaming\Local\Temp\serious_python_tempb0bb1aed\main.py", line 2, in
ModuleNotFoundError: No module named 'oracledb'

I think this issue is same as #2611  where flet did not package the Python libraries in virtual environment instead using global Python libraries.
This can be fixed by copying the whole 'site-packages' directory from .venv to the flet build's 'site-packages' directory.

I think this issue is same as #2611 where flet did not package the Python libraries in virtual environment instead using global Python libraries. This can be fixed by copying the whole 'site-packages' directory from .venv to the flet build's 'site-packages' directory.

I raised this issue https://github.com/flet-dev/flet/issues/3447 according to your comments with my own suggestion for packaging python project in general. Hopefully we can fix the build issue soon.

Please give the latest Flet version a try.


Is didOpen must be done before textDocument/* ?

I'm implementing an LSP support for IntelliJ https://github.com/eclipse-lsp4j/lsp4j it starts working well but sometimes my textDocument/* (ex : textDocument/codeLens, textDocument/documentLink) is done before the didOpen.
This usecase comes from only when the language server starts, and takes some times.
It is the reason why I ask the following question : Is didOpen must be done before textDocument/* ?
Perhaps it is natural in vscode, but in my case, the didOpen is done in a Thread (to avoid blocking the IDE) and the call of textDocument/codeLens is done by the implementation of IJ CodeVision where I don't master the call.
I suppose that I need to implement something to consume textDocument/codeLens before the didOpen, but before doing that I would like to be sure that the it is the proper behavior.
If it is the proper behavior, is LSP specification didOpen could mention that didOpen must be done before all textDocument/*? As didOpen is a notification (there is no response) how the LSP client can be sure that didOpen is finished on language server side?
Many thanks for your answer.

Actually a server should be able to full fill requests without a didOpen notification. Otherwise you could not ask questions about documents that are not open. The LSP spec says:

Note that a server’s ability to fulfill requests is independent of whether a text document is open or closed.

DidOpen / didClose transfers the ownership of the document's content between server and client. It purpose is not to allow requests.
I do agree that a better name could have been chosen :-).
Hope that helps.

Thanks @dbaeumer for your answer.
The main problem is that all language server that I have seen (and I have implemented) consider that a feature like textDocument/codeLens requires the fill of internal document filled with didOpen.
In Rust language server for instance, they throw an error that document is not opened when textDocument/codeLens is called. Is it a wrong implementation?
The behavior between vscode and IntelliJ with the same language server are different. vscode seems doing in any case didOpen before codelens, so there is not the problem. In my case with IntelliJ the didOpen can occur after codeLens and I have an error with the same language server and same context file in vscode.
So I have the impression that vscode ensures that didOpen is every time done before codelens.

So I have the impression that vscode ensures that didOpen is every time done before codelens.

The reason for this is that codeLens requests in VS Code are only sent for documents that are present in the editor. Having them visible in the editor results in an didOpen notification since the ownership of the content of the document move to the client.
However VS Code also offers API to trigger codeLens requests programmatically. If this API is used then a request can be sent to the server without a prior didOpen (and this is totally legal from an LSP point of view).

However VS Code also offers API to trigger codeLens requests programmatically. If this API is used then a request can be sent to the server without a prior didOpen (and this is totally legal from an LSP point of view).

Ok thanks for the clarification. My initial question was about LSP client implementation (and not LSP language server implementation) and I think the question can be splitted in 2 questions.
Language Server & didOpen
At first I have never seen some language server implementation which takes care of call of features (codelens, hover, completion, etc) without calling didOpen. Takes a sample with CSS language server with completion https://github.com/microsoft/vscode/blob/dc29cb5afd8dcdb7bfbad15f12fbc0443958ed74/extensions/css-language-features/server/src/cssServer.ts#L198
//cc @aeschli
The following code assumes that a didOpen has occured (the https://github.com/microsoft/vscode/blob/dc29cb5afd8dcdb7bfbad15f12fbc0443958ed74/extensions/css-language-features/server/src/cssServer.ts#L43 fill the documents map when a didopen occurs).
Is it a wrong implementation? If yes, if I understand correctly your answer it means that the code should be updated to check if documents has been opened (documents map is filled) and otherwise language server should open the content of the file himself?
LSP client with editor & didOpen
I think LSP client implementation editor should take care of calling didOpen before other features, otherwise the if language server opens himself the file it could be unsynchronized with the editor content.
Hope I'm not wrong and I have understood correctly your explanation.

Loading resources that are not open is something that could be added to the CSS language server, but I think it's also valid if a server decides not to handle certain URIs. Reading a resource is not trivial. For file URI's the tricky part s loading the file with the current encoding and for other URI schemes all depends on the scheme.
If I were to implement it I would probably forward the 'load resources' call back to the client. There was a plan at some point to have a file system API in LSP as well, but there's been no progress on that front AFAIK.

I was also thinking that if the server should be able to fullfill requests for non-open files then how would it know which languageId to use? It would have to either have to have an internal mapping of extension -> languageId, I assume, but then what's the point of client specifying it in didOpen if the server needs to be able to figure it out itself anyway?
I would prefer if the spec said something to the effect of "the server might be able to fullfill requests for files that are not opened by the client".

@dbaeumer why the issue has been closed. I think LSP spec should be improved to explain teh correct behavior for:

LSP client : I have the impression that LSP client should take care that didOpen should be called BEFORE all LSP features like codelens, inlay hints,etc
LSP server : what is the correct behavior when document is not opened :

load the resource himself but as @rchl said, we will loose the languageId information

or throw an error which mentions that didOpen must be done before the LSP feature codelens, etc

or returns an empty are of codelens?

I ask you because I have seen 2. and 3. behavior in different LS, so I think teh behavior should be more clarified.
Thanks!

Sorry, that someone slipped through the cracks.
I do see @aeschli point that for language servers that don't operate on a file system it is hard to fullfil these requests. Instead of returning nothing it would make sense to allow them to provide an error that the client can handle appropriately
This being said we shouldn't ask client to open file automatically since an open is an ownership transfer and usually triggers a lot of other events.

Clangd is another example of a language server which does not currently support requests on files which haven't been opened with didOpen.
In clangd's case, I believe the reason is performance related: building the initial AST for a file is slow (often several seconds) but incremental updates are fast, and if a file is not open (client is not sending didChange events to keep the server up to date with changes), we'd have to do the slow AST build for each request.

@HighCommander4 IMO doing a slow AST build is fine. All requests are async and a client should usually not be blocked by this.


Specify the default display option globally

I am looking for a simple way to set the display mode globally to a custom mode that disables the layout features. I have a need to do this since adding the current default messes up the design of our site, and it will take time to rework components to support it. In the meantime we want to opt-in to using the layout features one place at a time. The only way I could think of doing this was adding a "none" option that does not have any css class patterns, and I simply want to make it the default everywhere if possible. Any ideas how this can be done, or if a feature can be added?

Hi,
Just to rephrase to get an idea, you are looking for a way to add explicit "None" display option, this option does not add any CSS classes to the content area item wrapper element and make it default everywhere (in all content areas for newly added blocks)?

Yes, that was the idea I had at the time. I just needed a way for the default to not add the css classes unless a specific layout option was chosen. I found a workaround for the moment. In an initialization module I turned off all the built in display options and then added them all back in, but changed the tag used for the full width option. This tricked your renderer into not putting the default full width css classes since the hard-coded default tag doesn't exist in the display options. So the "automatic" choice now behaves like this and worked beautifully without having to add an explicit "none" option. Its not ideal but it works for now.

great that you found workaround within existing functionality. default global display option is nice feature request anyways.
would you mind sharing your init module code?

Yeah, that would be great coupled with a discreet "None" option that disables the css classes as well. I could not get a none option to work in my experimentation. I tried to set all the css patterns to empty strings but it ignored them. The closest I got was to setting all the width settings to zero, which didnt match up with any css styles and were ignored. Here is my init module code:
`           ConfigurationContext.Setup(ctx =>
{
ctx.DisableBuiltinDisplayOptions = true;
            // override display options so that the default is not full width
            // so we can avoid adding the bootstrap classes unless the user
            // specifically requests them to be added by choosing a size.
            ctx.CustomDisplayOptions.AddRange(new[]
            {
                new DisplayModeFallback
                {
                    Name = "Full width (1/1)",
                    Tag = ContentAreaTags.FullWidth + "-width",
                    LargeScreenWidth = 12,
                    MediumScreenWidth = 12,
                    SmallScreenWidth = 12,
                    ExtraSmallScreenWidth = 12,
                    Icon = "epi-icon__layout--full"
                },
                new DisplayModeFallback
                {
                    Name = "Three quarters width (3/4)",
                    Tag = ContentAreaTags.ThreeQuartersWidth,
                    LargeScreenWidth = 9,
                    MediumScreenWidth = 6,
                    SmallScreenWidth = 12,
                    ExtraSmallScreenWidth = 12,
                    Icon = "epi-icon__layout--three-quarters"
                },
                new DisplayModeFallback
                {
                    Name = "Two thirds width (2/3)",
                    Tag = ContentAreaTags.TwoThirdsWidth,
                    LargeScreenWidth = 8,
                    MediumScreenWidth = 6,
                    SmallScreenWidth = 12,
                    ExtraSmallScreenWidth = 12,
                    Icon = "epi-icon__layout--two-thirds"
                },
                new DisplayModeFallback
                {
                    Name = "Half width (1/2)",
                    Tag = ContentAreaTags.HalfWidth,
                    LargeScreenWidth = 6,
                    MediumScreenWidth = 6,
                    SmallScreenWidth = 12,
                    ExtraSmallScreenWidth = 12,
                    Icon = "epi-icon__layout--half"
                },
                new DisplayModeFallback
                {
                    Name = "One third width (1/3)",
                    Tag = ContentAreaTags.OneThirdWidth,
                    LargeScreenWidth = 4,
                    MediumScreenWidth = 6,
                    SmallScreenWidth = 12,
                    ExtraSmallScreenWidth = 12,
                    Icon = "epi-icon__layout--one-third"
                },
                new DisplayModeFallback
                {
                    Name = "One quarter width (1/4)",
                    Tag = ContentAreaTags.OneQuarterWidth,
                    LargeScreenWidth = 3,
                    MediumScreenWidth = 6,
                    SmallScreenWidth = 12,
                    ExtraSmallScreenWidth = 12,
                    Icon = "epi-icon__layout--one-quarter"
                }
            });
        });`

v5.3 is on the way to the feed


Message deduplication

Is your feature request related to a problem? Please describe.
Nats allows deduplication of messages. This is done by setting the message header id to a specific unique value per message.
I haven't found an API that allows me to pass the message header, so I can set the message id or the client header if I want.
Describe the solution you'd like
It would be nice to be able to pass header object through the emit function.
some thing like that:
await this.jetSteamClient.emit<{ uuid: string, sentAt: string }>('registration.password.reset.email.sent', {
                uuid,
                sentAt: now,
            }, {
              msgID: uuid,
              "other-custom-heaser": value,
           });

Additional context
A use case described by NATS: https://nats.io/blog/nats-jetstream-deduplication-for-lfh/

Hi @Dabada,
Support for passing headers are now implemented and pushed to the dev branch. Feedback is greatly appreciated :)
Included support for headers and options for both the emit and publish function are done.
Example code:
const recordBuilder = new NatsJetStreamRecordBuilder<OrderCreatedEvent>({
      id: 1,
      product: 'Socks',
      quantity: 10,
    });

    //recordBuilder.setMsgId('123');
    recordBuilder.setExpectations({
      streamName: 'mystream',
    });
    recordBuilder.appendHeader('x-custom-header', 'custom-header-value');
    const record = recordBuilder.build();

    this.client.emit(ORDER_CREATED, record).subscribe((pubAck) => {
      console.log(pubAck);
    });

Demo code are also included.


Progress: getCurrent() & getTotal()

It would be useful to be able to retrieve the current & total values from a progress bar.
My use case is that I define the progress bar in one method in a class, then use it in other methods.  I'd like my label to be updated with the count, ie (23/1176) without having to track those numbers separately.
I'm happy to do this & submit a PR, but I wonder if this package is actively maintained?

Added on PR #206 .

Fixed in 3.10.0 thanks to @everton3x


Flutter app not running on an iOS Simulator

It was working until it just stopped working. Build still work for an actual device.
[✓] Flutter (Channel master, 2.6.0-12.0.pre.470, on macOS 12.0.1 21A559 darwin-arm, locale en-GB)
    • Flutter version 2.6.0-12.0.pre.470 at /Users/threeofthem/SDKs/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9350a149a6 (32 hours ago), 2021-10-25 16:33:05 -0700
    • Engine revision f9bd71bf13
    • Dart version 2.15.0 (build 2.15.0-250.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/threeofthem/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.61.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.27.0

[✓] Connected device (2 available)
    • iPhone 13 Pro Max (mobile) • 1A2EBF14-6B49-4B41-ABFB-CF2B5224DF04 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 95.0.4638.54

• No issues found!

Logs:
log.txt

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


Add grpc asyncio python client

Related PR: https://github.com/triton-inference-server/server/pull/4546
Edit:
The grpc streaming interface will be added in another PR.

@kthui  I don't see and API for grpc streaming inference. From what I remember with grpc.aio we don't need the iterator based design.

I will open another PR for the streaming interface.
Skipping it for now because it involves changing the interface design (the iterator based design you mentioned)

Added asyncio documentation

also I see you have crossed out the streaming interface is going to be added to a different PR. Are you planning on adding more to this PR?

Yes, I will add the streaming interface to this PR as well.

Instead of adding a list of new client examples, can we use unit test and each example is written in the form of individual test case?

They are refactored into a single example.
Except, the infer and stream examples are retained to serve as a actual usage example and test for the functionality of SSL.


Minor fix in generic/THCTensorCopy.c

THCudaTensor_nElement -> THCTensor_(nElement)

@adamlerer PTAL, thanks.

It looks good. Things worked out, because nElement is type-agnostic in all of it's logic I believe.

Thanks @dominikgrewe , LGTM.


Unable to connect to mongoDB in Docker

When I start with fig up, I always get the error of unable to connect db. The log is detailed as below:
$ fig up
Creating mean_db_1...
Creating mean_web_1...
Attaching to mean_db_1, mean_web_1
db_1  | 2015-01-02T04:15:18.317+0000 [initandlisten] preallocateIsFaster=true 3.12
db_1  | 2015-01-02T04:15:18.577+0000 [initandlisten] allocating new ns file /data/db/local.ns, filling with zeroes...
db_1  | 2015-01-02T04:15:18.844+0000 [FileAllocator] allocating new datafile /data/db/local.0, filling with zeroes...
db_1  | 2015-01-02T04:15:18.844+0000 [FileAllocator] creating directory /data/db/_tmp
db_1  | 2015-01-02T04:15:18.920+0000 [FileAllocator] done allocating datafile /data/db/local.0, size: 64MB,  took 0.072 secs
db_1  | 2015-01-02T04:15:18.921+0000 [initandlisten] build index on: local.startup_log properties: { v: 1, key: { _id: 1 }, name: "id", ns: "local.startup_log" }
db_1  | 2015-01-02T04:15:18.921+0000 [initandlisten] 	 added index to empty collection
db_1  | 2015-01-02T04:15:18.921+0000 [initandlisten] command local.$cmd command: create { create: "startup_log", size: 10485760, capped: true } ntoreturn:1 keyUpdates:0 numYields:0  reslen:37 344ms
db_1  | 2015-01-02T04:15:18.921+0000 [initandlisten] waiting for connections on port 27017
web_1 | Running "jshint:all" (jshint) task
web_1 | >> 55 files lint free.
web_1 |
web_1 | Running "csslint:all" (csslint) task
web_1 | >> 2 files lint free.
web_1 |
web_1 | Running "concurrent:default" (concurrent) task
web_1 | Running "watch" task
web_1 | Running "nodemon:dev" (nodemon) task
web_1 | Waiting...
web_1 | [nodemon] v1.2.1
web_1 | [nodemon] to restart at any time, enter rs
web_1 | [nodemon] watching: app/views//. gruntfile.js server.js config//.js app/**/.js
web_1 | [nodemon] starting node --debug server.js
web_1 | debugger listening on port 5858
web_1 | Application loaded using the "development" environment configuration
web_1 | MEAN.JS application started on port 3000
web_1 | Could not connect to MongoDB!
web_1 | Error: failed to connect to [localhost:27017]
I looked up #142 which seems to be the most relavant and applied the same change in my config file, but the problem still persists. Below are my Dockerfile and fig.yml and some logs that might be of interest in diagnosing the problem. Any help is much appreciated. I'm using Virtualboxed Ubuntu 14.04 x64:
$ cat Dockerfile
FROM dockerfile/nodejs

MAINTAINER Matthias Luebken<EMAIL_ADDRESS>
WORKDIR /home/mean

# Install Mean.JS Prerequisites
RUN npm install -g grunt-cli
RUN npm install -g bower

# Install Mean.JS packages
ADD package.json /home/mean/package.json
RUN npm install

# Manually trigger bower. Why doesnt this work via npm install?
ADD .bowerrc /home/mean/.bowerrc
ADD bower.json /home/mean/bower.json
RUN bower install --config.interactive=false --allow-root

# Make everything available for start
ADD . /home/mean

# currently only works for development
ENV NODE_ENV development

# Port 3000 for server
# Port 35729 for livereload
EXPOSE 3000 35729
CMD ["grunt"]

$ cat fig.yml
web:
  build: .
  links:
   - db
  ports:
   - "3000:3000"
  environment:
   NODE_ENV: development
db:
  image: mongo
  ports:
   - "27017:27017"

$ sudo netstat -tnpla
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:53            <IP_ADDRESS>:*               LISTEN      1181/dnsmasq
tcp        0      0 <IP_ADDRESS>:631           <IP_ADDRESS>:*               LISTEN      516/cupsd
tcp6       0      0 :::27017                :::*                    LISTEN      1358/docker.io
tcp6       0      0 :::3000                 :::*                    LISTEN      1358/docker.io

$ ifconfig
docker0   Link encap:Ethernet  HWaddr 56:84:7a:fe:97:99
          inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
          inet6 addr: fe80::5484:7aff:fefe:9799/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:92 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6200 (6.2 KB)  TX bytes:648 (648.0 B)

eth0      Link encap:Ethernet  HWaddr 08:00:27:7a:bc:be
          inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
          inet6 addr: fe80::a00:27ff:fe7a:bcbe/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13111 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8235 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:11341502 (11.3 MB)  TX bytes:947108 (947.1 KB)

lo        Link encap:Local Loopback
          inet addr:<IP_ADDRESS>  Mask:<IP_ADDRESS>
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2303 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2303 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:241444 (241.4 KB)  TX bytes:241444 (241.4 KB)

# In my /config/env/development.js:
module.exports = {
    // db: 'mongodb://localhost/mean-dev',
    db: 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || 'localhost') + '/mean-dev',

@lirantal @NeverOddOrEven I don't use Docker. Are you guys familiar with it?

not using docker either, sorry.

If your mongdb needs to be started prior to init this. This same error I get if I don't start mongo prior

@SOSANA actually I've tried to start Mongo server manually as well but it seems like web server was still rejected. My initial guess was the booting order too, but shifted to suspecting IPv6 stuff which I'm quite unfamiliar of. Sorry guys, I have given up and drifted away from this approach.


RPM build failed for s390

Gabriel, you hardcoded the version number in the spec file. Is there a better way to solve that somehow?
I think I will adjust it manually for now, until we have a better idea.
The other thing is that I discovered that we do not need Eberhards genwqe_maint application, which is CAPI/System p specific. And the rpmbuild likes to install that and does not find it. I will fix that too somehow.

I created: https://github.com/ibm-genwqe/genwqe-user/tree/fixes_for_rpmbuild
to make a proposal how it might look like.

https://www.cocoanetics.com/2011/03/cloning-a-git-repo-with-submodules/
explains how to clone with submodules included.

Should work now.


Note on Shared Channels is Misleading

The purple box at the top of the page about Shared Channels is incredibly misleading! The kindest way that I could modify it is to say that Shared channels works well for other domains that our company own. However, it is most certainly not "the most seamless experience" for external sharing.  Don't believe me? Please add my company's tenant as a B2B contact for Microsoft's company tenant so we can share a Teams channel. I'll wait. Oh wait, you don't have those permissions? Do you know who does? I'll wait while you research. Oh, they weren't willing to add my company's tenant? Yeah, I figured. No admin with half a brain is going to enable B2B for misc tenants if they do not control the security of the other tenant; and that process is exactly what happens for us: requests go to our Help Desk, they're escalated, then denied. This is not seemless, and really it's worse than that: it's not functional in most real world scenarios.
Oh I just got an updated request from my boss, and we need to share one of the folders in that shared channel with our external collaborator that uses a Gmail account to get their input. So, please provide the "seemless experience" that is available to share that folder (or file) from any Shared channel with any Gmail address; or anyone outside of your tenant that isn't connected via B2B--even other Work/School accounts or consumer Microsoft accounts. You can't do it. You literally cannot share anything externally from a "Shared" channel without that B2B connection, which is basically never going to happen except if a company owns and manages multiple tenants. Shared channels work well for internal collaboration only and Microsoft needs to stop discussing or branding them as external collaboration tools since that is hardly ever going to happen, and worse, they have the least functionality for external sharing unless a B2B connection is made. This was so poorly thought out by MS developers! I know that's outside of your control. However, in the meantime, please immediately update the notes with all of the functional limitations of Shared channels and immediately stop offering them as a "seamless experience" for sharing with external users. I would say it's a "rocky and turbluent experience not advised for external sharing unless all members will be connected via a B2B connection by the System Administrators. Or, prove me wrong and convince your network admins to add my company's tenant as a B2B connection to Microsoft's company-wide tenant. Please discuss that with your admins and see how the  conversation goes. Then, update this article accordingly to reflect their feelings about B2B connections.

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

ID: 147fb47a-99b2-f8ef-9ca6-35696d49c3fb
Version Independent ID: b2f1b521-f231-48c2-b61f-f71bf9248d1c
Content: Collaborate with guests in a team
Content Source: microsoft-365/solutions/collaborate-as-team.md
Service: o365-solutions
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@MikePlumleyMSFT Please help us in resolving this issue. Thanks

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Use enum flags instead of an int bit operation

The code becomes more readable and better typed if you use enum flags instead of the int values construction.
See https://msdn.microsoft.com/en-us/library/cc138362.aspx#Anchor_0 for more info.

I want to stick with the "one write options arguments eats it all" approach. While fade transition and writing w/o response are from two different domains, it's an SDKs job to keep things simple and not over-engineered.

Ok, I can do it for the sake of getting this branch merged.
I'm really not meaning to be rude, but I still do not believe in this "keeping things simple" because I believe programmers do not need to be treated as living in a world where maths doesn't get more difficult than 1+1. I do agree that an SDK should be as simple as possible, but it should not be oversimplified to a level where there is a risk of resulting in odd design choices.
A very concrete example is that for me as a programmer it is counter-intuitive to mix variables from different domains. So for me having the combined write-options is not simpler.
On the other hand - I think that restructuring these parameters (for example like in my example) improves the readability of the code. Not only by grouping the parameters by their purpose, but also by reducing the number of parameters.
There is a good practice to keep the number of parameters in a function under a certain level (see this stackoverflow) for the sake of readability and code structuring. I won't say that 4 is too much and 3 is not; however it is something to keep in mind.

I committed the name change because having a plural name for a bitflag enum is a good practice.
I decided to not inline the variables since I think this makes the code very difficult to read (for many people lines 165-167 probably are magic already and if we mix the flag reading there, a lot of things will happen in a single line.

Just 2 Points:
I like when things are named after what they are, but i usually avoid putting the project name again in front of it. The typename of the write options seems to be quite long due to this.
Secondly it is not a write option when you control the fade transition of leds. It's display options and should go together with the intervall.
Alternatively combine it with the other options and remove the “write“ from the name.

@wind-rider Thanks!
_nuimoController?.DisplayLedMatrixAsync(new NuimoLedMatrix(matrixString), displayInterval, (int)NuimoLedMatrixWriteOption.WithFadeTransition);

in the readme needs to be changed to
_nuimoController?.DisplayLedMatrixAsync(new NuimoLedMatrix(matrixString), displayInterval, NuimoLedMatrixWriteOptions.WithFadeTransition);

with this PR, right?
@Vittel: Do you suggest to rename it to DisplayOptions? Wouldn't it be better to tell where this enum comes from? E.g. NuimoDisplayOptions?

@Vittel you said:

It's display options and should go together with the intervall.

To me this sounds like you support the idea that these parameters should be restructured. If I misunderstand what you meant then please let us know

Thanks for this PR! Does the change suggest to update the README.md
from
_nuimoController?.DisplayLedMatrixAsync(new NuimoLedMatrix(matrixString), displayInterval, (int)NuimoLedMatrixWriteOption.WithFadeTransition);
to
_nuimoController?.DisplayLedMatrixAsync(new NuimoLedMatrix(matrixString), displayInterval, NuimoLedMatrixWriteOption.WithFadeTransition);

@larsblumberg it does now.

Great, thanks!


ACK for MemoryDB Subnet Issue

getting an error with MemoryDB cluster create. looks like not all AZs support MemoryDB.
kubectl apply -f memorydb-subnetgroup.yaml ; kubectl describe subnetgroup "${MEMORYDB_SUBNETGROUP_NAME}"

subnetgroup.memorydb.services.k8s.aws/subnet-workshop-memorydb-cluster unchanged
Name:         subnet-workshop-memorydb-cluster
Namespace:    default
Labels:       <none>
Annotations:  <none>
API Version:  memorydb.services.k8s.aws/v1alpha1
Kind:         SubnetGroup
Metadata:
  Creation Timestamp:  2023-09-05T11:54:54Z
  Finalizers:
    finalizers.memorydb.services.k8s.aws/SubnetGroup
  Generation:  1
  Managed Fields:
    API Version:  memorydb.services.k8s.aws/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:metadata:
        f:finalizers:
          .:
          v:"finalizers.memorydb.services.k8s.aws/SubnetGroup":
    Manager:      controller
    Operation:    Update
    Time:         2023-09-05T11:54:54Z
    API Version:  memorydb.services.k8s.aws/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .:
          f:kubectl.kubernetes.io/last-applied-configuration:
      f:spec:
        .:
        f:description:
        f:name:
        f:subnetIDs:
    Manager:      kubectl-client-side-apply
    Operation:    Update
    Time:         2023-09-05T11:54:54Z
    API Version:  memorydb.services.k8s.aws/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:status:
        .:
        f:ackResourceMetadata:
          .:
          f:ownerAccountID:
          f:region:
        f:conditions:
    Manager:         controller
    Operation:       Update
    Subresource:     status
    Time:            2023-09-05T11:55:01Z
  Resource Version:  15897
  UID:               6f377d2b-3ec3-44cd-bc28-0e233baf10d7
Spec:
  Description:  MemoryDB cluster subnet group
  Name:         subnet-workshop-memorydb-cluster
  Subnet I Ds:
    subnet-071becc2bda9fd0c4
    subnet-0e0a9b35807b9cd62
    subnet-0fb5eac5fbf0ba200
    subnet-08ae10c4d17c30095
    subnet-029e22d1872aa98ab
    subnet-0b54597b9b3a2ef6c
Status:
  Ack Resource Metadata:
    Owner Account ID:<PHONE_NUMBER>46
    Region:            us-east-1
  Conditions:
    Message:               SubnetNotAllowedFault: Subnets: [subnet-071becc2bda9fd0c4, subnet-08ae10c4d17c30095] are not in a supported availability zone. Supported availability zones are [us-east-1d, us-east-1a, us-east-1c].
    Status:                True
    Type:                  ACK.Terminal
    Last Transition Time:  2023-09-05T11:55:01Z
    Message:               Resource not synced
    Reason:                resource is in terminal condition
    Status:                False
    Type:                  ACK.ResourceSynced
Events:                    <none>

This needs the filter to be updated to not allow the those AZs. Fixing now.
Will need to be updated when support for other regions is added

updated and fixed in PR #66


Check behavior of OPENBLAS_NUM_THREADS

Just found interesting behavior.
I expected that Caffe CPU version would use OpenMP and multiple threads with default build, but it doesn't seem to be the case, or the OpenMP strategy is not optimal. We just noticed that on multi-core ARM-based machine with Ubuntu when env var "OPENBLAS_NUM_THREADS" is not set at all, or if we set it to "OPENBLAS_NUM_THREADS":1, the difference in performance can be 6x ! Further changes of this var, i.e. forcing various threads improve performance further but not as dramatic, i.e. we can find an optimal parameter to get about 2x further performance.
We will need to understand the default behavior of this var in Caffe to decide how to add it to CK workflow (i.e. should we explicitly add this var to meta.json?) I expected that when not defined OpenBLAS would turn on adaptive OpenMP strategy (i.e. to dynamically select number of threads depending on current system load), but it doesn't seem to be the case.
In contrast, on multicore x86_64 the performance difference when this var is not set or set to 1 is small (around 20%) and we can improve performance further by autotuning number of threads to around 50%.
When we understand the behavior of this OpenBLAS parameter, we should add this param to CK workflow for crowd-tuning and reproducibility ...

Extra note: just found on Google that someone had similar issues:

http://stackoverflow.com/questions/30195837/how-to-use-multi-cpu-cores-to-train-nns-using-caffe-and-openblas
stackoverflow.com

So, in the future, we should add this parameter to our crowd-tuner and share best results for different machines in cKnowledge.org/repo - I added it to our big ToDo list ;) ...

I move this ticket here: https://github.com/dividiti/ck-caffe/issues/108


boot_serial: Fix missing reponse to image erase command

MCUmgr prior Image Upload command sends Image Erase command which
response is missing in boot_serial_input handler.
This results in inability to upload the image due to command timeout.
This patch fixes this issue by adding empty response to Image Erase
command.
This solution is loosely based on
commit 6c819b1304a8e360ea256e40860275c5a9184bde
Author: Marko Kiiskila<EMAIL_ADDRESS>Date:   Mon Aug 28 16:41:42 2017 -0700
boot_serial; access uart driver directly instead of going through console.

from apache-mynewt-core.
Signed-off-by: Mariusz Skamra<EMAIL_ADDRESS>

CC @nvlsianpu

Code looks good, I just want to give it a try before approval/merge!

Hi @MariuszSkamra.
Probably you are aware of -e flag which cause that newtmgr/mcumgr won't send erase command. So use '>newtmgr image upload -e <image-file.bin>-c '
From functionality point of view this patch didn't add a value functionality - I think rather this should be  explained in a documentation.

@nvlsianpu
I was not aware of it. I checked now, and there's '-e' parameter.
So if image erase command won't be sent using this parameter, this patch is not needed.

Anyway - thank for rising this! I should have added this to the doc at some point.

it was well hidden ^^


encoder: reduce memory allocations and copying

reduce two allocations and one copying for video data by using kj::ArrayOutputStream, like what we did in can_list_to_can_capnp_cpp:
https://github.com/commaai/openpilot/blob/070bdcdf89674e0086c93afbc9453cde42f1ba60/selfdrive/boardd/can_list_to_can_capnp.cc#L19-L22

Can you rebase?

rebased


Some settings get disabled by "Essential tweaks"

After applying essential tweaks, Some settings are disabled and a following message is shown:
"some of these settings are managed by your organization"

Oh, that's normal. What are you trying to change ?

Cannot change lockscreen settings, like lockscreen wallpaper, quick status etc.

Oh, that's normal. What are you trying to change ?

Cannot change lockscreen settings, like lockscreen wallpaper, quick status etc.

Oh, I'm sorry.
Run this line of code to get lockscreen customization back.
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization" -Name "NoLockScreen" -ErrorAction SilentlyContinue

Anything else I can do for you ? :)

thanks, are you going to include this in the main script?

No problem !
Well, I'll try my best to re-design everything and maybe then . Right now, no .

thanks, are you going to include this in the main script?

No problem !
Well, I'll try my best to re-design everything and maybe then . Right now, no .

cool, thanks. I like how light weight the script is.

cool, thanks. I like how light weight the script is.

Haha, thanks. It's not :flushed: could be better .


[Proposal] Add snapshot capability to the OpenSearch cluster.

Background:
As part of the next phase roadmap snapshot capability will be added to the operator, to create the OpenSearch cluster snapshot via the base configured yaml.
Proposal:
snapshot:
  type: s3
  snapshot_repo: <CUSTOM_NAME>
##User required settings to connect to s3
  settings:
    bucket: my-bucket
    another_setting: setting-value
    region: us-east-1
    base_path: os-snapshot

Design
With the install custom plugins capability , its possible to now install repository-s3 (pluginsList: ["repository-s3"]), using this plugin the initial start is to add snapshot capability to the operator to store the snapshots to the s3 bucket.
Once the snasphot of type s3 is added to the yaml and with user configured settings, an API call will be invoked to the cluster.
Example
PUT "https://localhost:9200/_snapshot/my_s3_repository_1?pretty" -H 'Content-Type: application/json' -d' { "type": "s3", "settings": { "bucket": "opensearch-s3-snapshot", "region": "us-east-1", "base_path": "os-snapshot" } } '
Assumptions:

The repository-s3 plugin is pre-installed by the user.
The s3 bucket created and recommended s3 permissions are handled by the user. More details: https://opensearch.org/docs/1.2/opensearch/snapshot-restore/

Sample AWS IAM policy to be added to the node role
{
  "Statement": [
    {
      "Action": [
        "s3:ListBucket",
        "s3:GetBucketLocation",
        "s3:ListBucketMultipartUploads",
        "s3:ListBucketVersions"
      ],
      "Effect": "Allow",
      "Resource": [
        "arn:aws:s3:::<BUCKET_NAME>"
      ]
    },
    {
      "Action": [
        "s3:GetObject",
        "s3:PutObject",
        "s3:DeleteObject",
        "s3:AbortMultipartUpload",
        "s3:ListMultipartUploadParts"
      ],
      "Effect": "Allow",
      "Resource": [
        "arn:aws:s3:::<BUCKET_NAME>/*"
      ]
    }
  ],
  "Version": "2012-10-17"
}

Snapshot Management and Shared responsibilities

The base snapshot setup will be created and done by the operator.
Users can work on custom CronJob to invoke the snapshots periodically, example as  PUT _snapshot/my_s3_repository_1/%3Csnapshot-%7Bnow%2Fd%7D%3E"

apiVersion: batch/v1
kind: CronJob
metadata:
  name: opensearch-snapshot-cron
spec:
  schedule: "@daily"
  concurrencyPolicy: Forbid
  jobTemplate:
    spec:
      template:
        spec:
          containers:
          - name: opensearch-snapshot-cron
            image: centos:7
            command:
            - /bin/bash
            args:
            - -c
   ## The following can be better handled with jq to fetch the {"accepted":true}
            - 'curl -s -i -k -u admin:admin -XPUT "https://<SERVICE_NAME>:<PORT>/_snapshot/_snapshot/my_s3_repository_1/%3Csnapshot-%7Bnow%2Fd%7D%3E"'
          restartPolicy: OnFailure

Users can use the snapshot management API to manage policies for the time and frequency of automatic snapshots

Future Enhancement

Based on the usage and request shared-file-system capability will be added.

If I may suggest it might be worth making the proposed snapshot config accept a list. This way it would be possible to configure more than one snapshot policy, i.e., for snapshotting to different repositories (e.g., S3 + GCS) or snapshotting specific index patterns.

My thoughts on this:

It should be possible to configure multiple repositories
At least s3, azure and gcs repositories should be supported so we cover the big 3 cloud providers
Not sure if this needs to be in the first iteration but we should offer users a way to automatically get regular snapshots (basically the operator should create the cronjob for them)
The operator should report an error to the user if the needed repository plugin is not in the plugin list

Hey @max-frank, as @swoehrl-mw mentioned we can start with s3, azure and gcs repositories, but what I propose is the method to use of snapshot:  type: <cloud_provider> followed by the user configured settings (used s3 as an example above).
Aslo @swoehrl-mw yes initial roll out, keeping simple I'm planning to just add the snapshot capability, also I would keep cronjob decision to the user, as there is always an _sm policy a user can configure from dashboard, the operator need not manage this overhead.https://opensearch.org/docs/latest/opensearch/snapshots/sm-api/. Also from cronjob instead of triggering an -XPUT API, its far better to do it via dashboard using snapshot-management policy, if not user can always extend to create a cron job to manage the snapshots. WDYT? @segalziv @idanl21 @dbason

@prudhvigodithi : I suggest to change the config yaml structure a bit:
snapshot:
  repository:
    name: <CUSTOM_NAME>
    type: s3
    settings:
      ##User required settings to connect to s3
      bucket: my-bucket
      another_setting: setting-value
      region: us-east-1
      base_path: os-snapshot

That way if we later decide to add options to configure snapshot schedules and the like we can add it as a key like snapshot.schedules.

Something to also consider in terms of backups is the new remote backend storage feature released with 2.3.
While the feature is still experimental for now it would probably a good idea to consider it during design of the configuration here since it also is based on the repositories. Just to make sure that whatever format is chosen here can also support the eventual addition of remote backend storage.

One additional thing this needs for s3-compatible blob stores is setting the endpoint, etc.  This has to be done in the opensearch.yml afaict.
https://opensearch.org/docs/latest/opensearch/snapshots/snapshot-restore#register-repository

Added on last release (v2.3.0) as BETA feature. Closing the issue, Please open new one with implementations that left for GA


Ec 884

In addition to the changes in https://github.com/enterprise-contract/go-gather/pull/133, this PR adds a new gatherer, k8s_p. It allows a reference to be stored in a ConfigMap in
Kubernetes in the form of k8s*::configmap/ns/name#key. The value retrieved from the ConfigMap is expected to be a secondary reference, e.g. oci::. A k8s*:: references another reference.
It makes a breaking change in the Metadata.GetPinnedURL functioin. It no longer takes a url/path parameter. These are now expected to already be stored in the metadata structs. All metadata implementations were updated accordingly. This change was needed because the k8s_p gatherer will return a metadata implementation that represents a different source reference.
Created in draft as tests are still needed. Looking for early feedback.

I think we should be introducing a resolution as a concept rather than having a protocol handler.

Can you clarify what this would look like for an end user?

After discussion, we decided to not go ahead with this change for a couple of reasons.
First, using a full template engine seems too flexible. We're not sure if supporting loops and conditionals in the URL is something we need/want. We talked about using something more limited where it would work more like variable replacements.
Second, although this is cool, ultimately, this feature is a means of addressing EC-884. We could achieve that goal with something like a gated-floating tag. This would require no code changes and it's likely the easiest thing to do now.


Problem when training with 4090

Hi, thanks for the great work. I'm trying to run the training code, but when I do pre_train with multiple 4090 gpus, it always gets stuck and no report is shown. But when training with multiple 3090 and single 4090 everything is fine. I strongly suspect that a deadlock occurs in 4090. I narrow the problem down to deepspeed.initialize in agent.py. But I don't know how to solve this problem.
Any response will be greatly appreciated.

Hi @volcverse , thanks for your interets to our work? I do not have 4090 at hand. All the experiments of DisCo are performed on V100 and A100. I wonder: 1. if you have the exact same package version with the repo? 2. have you tried to upgrade the deepspeed package? 3. I found this issue (https://github.com/microsoft/DeepSpeed/issues/3808) on deepspeed repo but it seemed that is not your case as they do have the error report. Is it normal for the single 4090 gpu?

Hi @volcverse , thanks for your interets to our work? I do not have 4090 at hand. All the experiments of DisCo are performed on V100 and A100. I wonder: 1. if you have the exact same package version with the repo? 2. have you tried to upgrade the deepspeed package? 3. I found this issue (microsoft/DeepSpeed#3808) on deepspeed repo but it seemed that is not your case as they do have the error report. Is it normal for the single 4090 gpu?

Hi! I found this issue is about p2p of the guy. By setting NCCL_P2P_DISABLE=1 it works. Thanks for your reply!


Improvements to compose_state getter/setters

This PR does two things:
(1) Breaks out compose_state.stream_name() into separate getter and setter function, which had been marked as a TODO.
(2) Replaces any getting of stream name or topic that is a direct call to an HTML element's value. Now we always use  compose_state.stream_name() and compose_state.topic(). It's easier to understand what this does when reading code, and also makes it easier to change how getting these values works. In an upcoming change, I'll be changing where the stream_name lives in the DOM and this will make that change easier to read.
Self-review checklist

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

Communicate decisions, questions, and potential concerns.

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

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

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

Completed manual review and testing of the following:

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

I need these for #23355 so I'm going to just put it all in the same PR for now to make things easier for me


[6.0🍒] NCGenerics: restrict conditional Copyable reqs

Explanation: Implements part of the SE-427 proposal where Copyable cannot depend on conditional requirements for other protocols.
Scope: Technically source-breaking but there aren't any known sources that used this yet.
Issue: rdar://124967739
Original PR: https://github.com/apple/swift/pull/72820
Risk: Low.
Testing: Tests included.
Reviewer: @slavapestov

@swift-ci test


Frequent login required after enabling SSL

Hi,
Since I have enabled SSL and accessing Mealie via https I am being asked to log in every 5 mins or so. Nothing seems to be out of the norm in the logs.

Hi @Jaykurb
As you are able to access Mealie, I guess caddy is working fine, thus suspecting a config issue.
Anyway, without further logs or config and setup informations I can't help.

Sorry, I was on my phone and raised this in the wrong place.


crop the image in circle shape

For cropping image in circle I have reffered this
https://github.com/fengyuanchen/cropper/issues/545
It does seems to work in most of the cases. But, when I used mutliple instances
of image-cropper in the single page then it doesn't seems to work.
Although, I tried keeping both the instances isolated by using two separate components, but the CSS affects both the instances which are mounted currently.
So, is there any robust solution for this problem?

AFAIK, this is not exactly possible but it would be a good idea to check/ask here instead

Would love to see this be a thing.  Have seen similar option on other cropping libraries.
Seeing as it is doable with CSS change it would be nice if this library provided the convenience method for it.


Latent action sequence variable length

First of all, congratulations on the great open-source work!
I have a question regarding the latent action quantization stage.
Given that the output of the cViViT will have one token for each patch in the input, how do you obtain a latent action sequence of variable lengths? Do you perform some concatenation or aggregation of those tokens before the quantization?
Thanks in advance!

So we use CNN layers to get the dimension that we want. So we first choose the sequence length that we ultimately want, and do convolution to match the dimensions. Some examples are provided in this line: https://github.com/LatentActionPretraining/LAPA/blob/00a94bfdfb09d9ee0ccb0f68545a47fef5cb2097/laq/laq_model/nsvq.py#L56


Markov Plugin: Improvements

It takes forever to read a rather large text file of feeder data. It takes a few seconds to read in a 1MB file of text.

[ ] The goal is to split up the large file into smaller files and read them all in when the plugin is initialized.
[x] I also want to be able to load new files once the plugin's already running.

Things that will help with this:

[x] @markov refresh to start from scratch. Maybe add an argument to specify if we want to keep the memory blank or reload the feeder(s).
[x] @markov read [file] to read in a new feeder file, or many files.
[X] @markov generate

It would also be nice to let chains persist. We'd have to write them to disk in some format, and also read them differently than feeder text.

Additionally, add a way to delete certain chains.

77b6715139b078f46b5e73d223527050a1756a60 through e99eebaf12d30fb15d16855a0d58341a50813e7 accomplish most of this.


Plot tab: Plot refresh

Plot refresh in the "Plot" tab isn't happening when a new variable is selected. Nor is there a refresh button to perform this task.

This issue was related to the RStudio version I was running. Updating fixed it.


Clean up recipe; add maintainers; rebuild for R 3.5

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

This addresses #1 as well.


Possible imprecision in cast_shape

I'm not sure if this is a real issue or just the reality of floating point precision, but I wanted to at least flag it as suspicious.
I have a simple scene with a floor collider of shape
ColliderShape::cuboid(500.0, 1.0, 500.0)

I do a vertical sphere cast from above the floor via
fn test_sphere_cast(
    q_pipeline: Res<QueryPipeline>,
    q_collider: QueryPipelineColliderComponentsQuery,
){
    let collider_set = QueryPipelineColliderComponentsSet(&q_collider);
    let shape = Ball::new(1.0);
    let start = Isometry::translation(0.0, 3.0, 0.0);
    let direction = vector![0.0, -1.0, 0.0];
    let max_toi = 2.0;
    let groups = InteractionGroups::all();
    let filter = None;

    if let Some((handle, hit)) = q_pipeline.cast_shape(
        &collider_set, &start, &direction, &shape, max_toi, groups, filter
    ){
        let y1 = hit.witness1.y;
        let y2 = start.translation.y + hit.toi * direction.y + hit.witness2.y;
        info!("{} {} {}", hit.toi, y1, y2);
    }
}

I expect y1 and y2 will both agree on a hit height of ~1.0.  In fact, y1 is always within about 1E-7.  However, as I vary start.x and start.z in small 0.01 increments I notice that y2 may drift as little as 5E-8 or as much as 6E-2.  I don't know the inner workings of the shape cast algorithm, but is this variation expected?

I'm also running into this issue with cast_shape hit output being imprecise, especially when casting Collider::ball onto large surfaces, which results in a significant amount of jitter.
I made a minimal reproduction of the issue here: https://github.com/DanielHZhang/bevy_rapier_shape_cast_imprecision
https://user-images.githubusercontent.com/30360288/227809134-f2fd0770-f0da-420a-9393-d60b6f384e39.mov

This seems to be caused by rapier itself, and not just the bevy plugin: https://github.com/dimforge/rapier/issues/434


Meteo 1

Checks are not passing because the metpy module was imported for nine-point smoothing functionality.

Updated plot:

This looks good so far! Please see my inline comments. Additionally, you have more circles in your wind barb field than in the NCL plot. Is there a way you can specify at what value a circle should be drawn instead of a wind barb?

Unfortunately there's no way that I have found to change whether or not you plot a circle or a wind barb.

Updated plot:

This looks good so far! Please see my inline comments. Additionally, you have more circles in your wind barb field than in the NCL plot. Is there a way you can specify at what value a circle should be drawn instead of a wind barb?

Unfortunately there's no way that I have found to change whether or not you plot a circle or a wind barb.

At a later date, we may need to make a function with that capability and add it to geocat-viz. For now, I think what you have will do.


Reconcile peer configs to a secret

Relates to #211
Remove the peer config from status, and reconcile to a secret. This implementation creates a secret per wireguard, and adds peer configs as keys. This allows peer configs to be retrieved using kubectl get secret/<wireguard-name>-peer-configs -o jsonpath='{.data.<peer>}'
For example
kubectl get secret/test-vpn-peer-configs -o jsonpath='{.data.my-peer}' | base64 -d
[Interface]
PrivateKey = QIqIVfDK1kZKSmAIdlMbS76zjXBhptHo3FbwxDBeuFw=
Address = <IP_ADDRESS>
DNS = <IP_ADDRESS>, default.svc.cluster.local

[Peer]
PublicKey = yh1ZhiucGz8Jg6NJbfMBR3s28mxBO3LGmHBuZUltegw=
AllowedIPs = <IP_ADDRESS>/24,<IP_ADDRESS>/12
EndPoint = <IP_ADDRESS>:51820

Hi @paddyoneill, appologies for the slow response. Are you still interested in getting this merged?

I'd like to merge https://github.com/jodevsa/wireguard-operator/pull/185 first and then I'll fix any conflicts with your branch and merge it :)
https://github.com/jodevsa/wireguard-operator/pull/185 is really important as the code is currently a big mess and we need a structure..

Hi @paddyoneill, appologies for the slow response. Are you still interested in getting this merged?

Hi @jodevsa, it would be good to get this merged when possible


CMake: FindPythonInterp is deprecated

We use
https://github.com/TomographicImaging/CIL/blob/3f0cb9dd363ac386832d3034717f022c3b2952a1/Wrappers/Python/CMakeLists.txt#L4
but it is deprecated as of CMake 3.12 when FindPython was introduced.
Our Windows and Linux CMake minimum version is 3.4.
https://github.com/TomographicImaging/CIL/blob/3f0cb9dd363ac386832d3034717f022c3b2952a1/CMakeLists.txt#L1-L5

already fixed in current master
https://github.com/TomographicImaging/CIL/blob/0f3726e26be03d8ae49ab80896ab37fee065ae3c/CMakeLists.txt#L30


"Send request" with Ctrl + Enter

I very often use Ctrl + Enter combination to run "Send request". It is also one of key shortcuts described in the settings of Altair. Since one of last updates, mentioned combination also adds new line to the query. After 5-10 of those actions, I have 5-10 empty lines in the query. I don't know whether it is on purpose, but can it be like before?

Thanks for reporting this! I'd look into it as soon as I can.


Generating a report after the execution of workflow.

Many workflow systems (e.g. nextflow and snakemake) generates a report after the completion of a workflow, including all the information such as steps executed, CPU/MEM usages, time, perhaps information on intermediate files. It is nice to have because it keeps all information in one place and users can refer back to the report if needed. SoS already has most of the information at hand and it would be nice to offer an option to create a report.
Hard to get name for an option though because we are limited to single letter options for sos run. -r is already used by remote execution.

@gaow I am still working on this ticket but the framework is done and ready for comment. More specifically,

report.py is added to collect workflow runtime information during execution. Right now it only collects these.
A jinja2 templste is added to show the information.

Right now the template is very crude and I am adding CSS, but more importantly we need to decide what to display in the report. I am thinking of

start/end/duration of tasks.
tags for tasks because they relate tasks to step/ID etc
CPU/MEM usage of tasks because they are available.

I am not sure if it is needed to list the executed steps, input and output files etc.
This feature re-uses the reporting mechanism used for pack/unpack but is no longer compatible with them. pack/unpack are therefore removed, at least for now.

Roughly done.


Using colons or other characters in {.equal?} renders in Squarespace, but not node-squarespace-server.

Using multiple word arguments in Squarespace doesn't work by default, but you can get it to work in Squarespace's JSON-T by placing : or # to fill the empty spaces. This doesn't render in the node-squarespace-server causing template issues and crashes with "too many {end} statement" errors.
Squarespace JSON-T Hack {.equal?} hack:
{.equal?:categoryFilter:"Category Name"}
   <!-- More -->
{.end}

Yes, same problem. Works on squarespace, but not node-squarespace-server. Any chance for a fix?

+1
Having this issue atm.

Please merge PR for this error.


Ccp disco stu/docs update

I made some changes to the wording, language, punctuation, etc. in the docs/pages directory (but not in any of the subdirectories). This is the first batch of the changes I have planned to the overall MUD documentation project.

Since the intended changes to the docs are not included in this PR I will close it. I will create another PR with the intended changes.


Added docString and parents to classes

For some reason the build doesn't work after being downloaded from github, even though it worked before, so don't merge it yet

I've been using javadoc-json-doclet and was looking for this exact feature (including docString for classes), and the downloaded jar from d78da1e2ce4581338ca9d37a0c413debbe26fbec, which worked fine for me.


Tweaks to migration script.

More detailed output for completed migrations to verify successful transfer.
Signed-off-by: Michael Brodhead<EMAIL_ADDRESS>

Thanks, @landesherr. I'm a little confused about this PR: why do we need to check whether the app's desired state changed after moving it between backends? Changing the diego field on the app shouldn't affect that desired state. Did you instead intend to check whether the app's instances are in the same state?
Also, could you please make your membership in the 'pivotal' GitHub org public, so that Dreddbot won't hassle you about signing a CLA?
Thanks,
Eric

Closing out after discussion with @landesherr,


SW-5765 Use project name at the top of document pages

Depends on https://github.com/terraware/terraware-server/pull/2242

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2966  👈
#2964
#2963
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nickgraz and the rest of your teammates on  Graphite

Merge activity

Aug 6, 5:21 PM EDT: @nickgraz started a stack merge that includes this pull request via Graphite.