Adding IOSurface Backing to generated CVPixelBuffer

Hi,
Would it be possible to add a key to the dictionary in DLABDevice+Input.mm (see my fork here)
NSString* surfaceKey = (__bridge NSString *)kCVPixelBufferIOSurfacePropertiesKey;
...
pbAttributes[surfaceKey] = @(1);
This key allows us to create a MTLTexture from the resulting CVPixelBuffer
Thank you for this wonderful wrapper, it has almost worked perfectly for my use case.

Thank you for your report.
Something I need to consider are following:

kCVPixelBufferIOSurfacePropertiesKey takes CFDictionaryRef, and empty dictionary will declare as IOSurface compatible.
DLAB native kCVPixelBufferBytesPerRowAlignmentKey is 16, which provides vast compatibility with most of CVPixelFormat.
MTLTexture buffer alignment could be large than 16, and it varies based on MTLPixelFormat.
IOSurface itself accepts alignment 16 though, additional MTL operation may require larger CVPixelBuffer alignment, like 32, 64, or 128.

So I would like to consider following. Does it meet your requirement?

Add new NSMutableDictionary property to DALBDevice, which contains following by default:
kCVPixelBufferBytesPerRowAlignmentKey=16;
kCVPixelBufferIOSurfacePropertiesKey=[NSDictionary new];
DLAB will apply it to pbProperties for CVPixelBufferPool(input) on initialization step.
Caller can explicitly modify the property (before start) with any CVPixelBufferPropertyKeys and values
If kCVPixelBufferBytesPerRowAlignmentKey is not defined, alignement will be depends on GPU texture native value.

NOTE: Some open source library uses multiple combination, It may or may not work with specified pixel format though:

Only kCVPixelBufferMetalCompatibilityKey=TRUE
kCVPixelBufferMetalCompatibilityKey+kCVPixelBufferBytesPerRowAlignmentKey=widthOfImage
kCVPixelBufferMetalCompatibilityKey+ kCVPixelBufferOpenGLCompatibilityKey+ kCVPixelBufferIOSurfacePropertiesKey

Implemented. Please try.

It works, thank you!

It works, thank you!


Source code should not be included in run container

What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of
running cf curl /v2/info && cf version?
pack cli v0.1.0 (git sha: e1793ab9fc3d172a416183ef3df20daf089eba19)
What version of the buildpack you are using?
v0.2.0
If you were attempting to accomplish a task, what was it you were attempting to do?
N/A
What did you expect to happen?
Source code should not be included in the run container once the Go code has been compiled
What was the actual behavior?
Source code was included in the run container once the Go code was compiled
Can you provide a sample app?
Any app will do
/cc @benchapman

@cmccarthy101 definitely true! We will prioritize this soon.

Hi @cmccarthy101, this commit https://github.com/cloudfoundry/go-mod-cnb/commit/7bc499e06448395daa5a0ffc7367dd2cd80611dc should fix this issue and will be included in the next release.


Pagination doesn't work in postgres

Trying to follow your example with databases (https://github.com/uriyyo/fastapi-pagination/blob/main/examples/pagination_databases.py) I failed with following error:
  File "c:\git\routemaker\venv\lib\site-packages\fastapi_pagination\ext\databases.py", line 13, in paginate
    total = await db.fetch_val(select([func.count()]).select_from(query))
  File "c:\git\routemaker\venv\lib\site-packages\databases\core.py", line 155, in fetch_val
    return await connection.fetch_val(query, values, column=column)
  File "c:\git\routemaker\venv\lib\site-packages\databases\core.py", line 256, in fetch_val
    return await self._connection.fetch_val(built_query, column)
  File "c:\git\routemaker\venv\lib\site-packages\databases\backends\postgres.py", line 188, in fetch_val
    row = await self.fetch_one(query)
  File "c:\git\routemaker\venv\lib\site-packages\databases\backends\postgres.py", line 168, in fetch_one
    row = await self._connection.fetchrow(query, *args)
  File "c:\git\routemaker\venv\lib\site-packages\asyncpg\connection.py", line 477, in fetchrow
    data = await self._execute(query, args, 1, timeout)
  File "c:\git\routemaker\venv\lib\site-packages\asyncpg\connection.py", line 1446, in _execute
    query, args, limit, timeout, return_status=return_status)
  File "c:\git\routemaker\venv\lib\site-packages\asyncpg\connection.py", line 1454, in __execute
    return await self._do_execute(query, executor, timeout)
  File "c:\git\routemaker\venv\lib\site-packages\asyncpg\connection.py", line 1466, in _do_execute
    stmt = await self._get_statement(query, None)
  File "c:\git\routemaker\venv\lib\site-packages\asyncpg\connection.py", line 351, in _get_statement
    statement = await self._protocol.prepare(stmt_name, query, timeout)
  File "asyncpg\protocol\protocol.pyx", line 163, in prepare
asyncpg.exceptions.PostgresSyntaxError: subquery in FROM must have an alias
HINT:  For example, FROM (SELECT ...) [AS] foo.

Thanks for submitting an issue, will try to investigate and fix it

Changing line #13 in file fastapi_pagination\ext\databases.py to
 total = await db.fetch_val(select([func.count()]).select_from(query.alias("subquery"))) helped me.

Thanks for pointing to the problem, I have already found it🙂
Fix of this issue will be included in the 0.4.0 version (I hope the release will be today).

This issue is fixed in 0.4.0 version.
I am closing this issue, feel free to reopen if there are still issues with Postgres integration.


listFileLumi and ListFileLumiArray

@AndresTanasijczuk
listFileLumiArray DBS client API should add searching on block_name that is implemented on the server side API.
listFileLumis client API document should add lfn list and common on the list length cannot exceed the total URL allowed length. The API works with list of lfns.
Andres Tanasijczuk gave a list of test results as below:
Let me give more details about when the listFileLumis and listFileLumiArray methods did or didn't return me the lumis information in my example dataset:
listFileLumiArray(logical_file_name=LFN, validFileOnly = 1) NO (not even for the valid file)
listFileLumiArray(logical_file_name=LFN, validFileOnly = 0) YES (for all the files)
listFileLumiArray(logical_file_name=LFN) YES (for all the files)
listFileLumiArray(logical_file_name=list(LFNs in block), validFileOnly = 1) NO (not even for the valid file)
listFileLumiArray(logical_file_name=list(LFNs in block), validFileOnly = 0) YES (for all the files)
listFileLumiArray(logical_file_name=list(LFNs in block)) YES (for all the files)
listFileLumis(logical_file_name=LFN, validFileOnly = 1) NO (not even for the valid file)
listFileLumis(logical_file_name=LFN, validFileOnly = 0) YES (for all the files)
listFileLumis(logical_file_name=LFN) YES (for all the files)
listFileLumis(block_name=blockName, validFileOnly = 1) NO (not even for the valid file)
listFileLumis(block_name=blockName, validFileOnly = 0) NO (not even for the valid file) <---- This is wrong IMO; should give me the info for all files.
listFileLumis(block_name=blockName) YES (for all the files)

The dataset I used for testing listFileLumis and listFileLumiArray is this one (available in phys03 DBS instance): /GenericTTbar/atanasi-140429_131619_crab_AprilTest_3000jbsOf3hrs-95e5dc29a1ac0766eb8514eb5d4ff77a/USER
DAS link: https://cmsweb.cern.ch/das/request?view=list&limit=50&instance=prod%2Fphys03&input=%2FGenericTTbar%2Fatanasi-140429_131619_crab_AprilTest_3000jbsOf3hrs-95e5dc29a1ac0766eb8514eb5d4ff77a%2FUSER
The dataset has 1965 files in 20 blocks. The dataset had originally access type 'VALID' (and all files in valid state). But I used the following procedure to invalidate the dataset (which invalidates all the files as well) and then to change 1 file to 'valid' state:

cmsenv + setup the CRAB2 environment (in lxplus)
python $CRABPYTHON/DBS3SetDatasetStatus.py --dataset=/GenericTTbar/atanasi-140429_131619_crab_AprilTest_3000jbsOf3hrs-95e5dc29a1ac0766eb8514eb5d4ff77a/USER --url=https://cmsweb.cern.ch/dbs/prod/phys03/DBSWriter --status=INVALID --recursive=False
python $CRABPYTHON/DBS3SetFileStatus.py --url=https://cmsweb.cern.ch/dbs/prod/phys03/DBSWriter --status=valid --recursive=False  --files=/store/user/atanasi/GenericTTbar/140429_131619_crab_AprilTest_3000jbsOf3hrs/140429_131619/0000/MyTTBarTauolaTest_1.root

So I ended up with an INVALID dataset, with 1964 files in invalid state and 1 file in valid state. The valid file belongs to block /GenericTTbar/atanasi-140429_131619_crab_AprilTest_3000jbsOf3hrs-95e5dc29a1ac0766eb8514eb5d4ff77a/USER#c4dea6b6-3e26-4d3a-a6c4-ab1a5b0a5f4c. This block has 65 files (64 in invalid state). Since the dataset access type is INVALID (i.e. is not VALID or PRODUCTION) it is expected that when I set validFileOnly=1 I didn't get back the lumis info (got an empty list). The only problem I wanted to report is that listFileLumis(block_name=blockName, validFileOnly = 0) returned me an empty list (for all the 20 blocks), while listFileLumis(block_name=blockName) returned me the lumis info as expected (for all the 20 blocks). But not passing the validFileOnly argument should be the same as passing it with value 0, right?
For my tests I was using WMCore's listDatasetFileDetails method: https://github.com/dmwm/WMCore/blob/1.0.8.pre7/src/python/WMCore/Services/DBS/DBS3Reader.py#L224, but:

replacing in https://github.com/dmwm/WMCore/blob/1.0.8.pre7/src/python/WMCore/Services/DBS/DBS3Reader.py#L243 validFileOnly = 0 (although this is not relevant for the tests);
replacing https://github.com/dmwm/WMCore/blob/1.0.8.pre7/src/python/WMCore/Services/DBS/DBS3Reader.py#L263 by:
a) file_lumis = self.dbs.listFileLumis(block_name=blockName, validFileOnly = 1)
b) file_lumis = self.dbs.listFileLumis(block_name=blockName, validFileOnly = 0)
c) file_lumis = self.dbs.listFileLumis(block_name=blockName)
d) other replacements to query per file
And as I said, 2b) returned file_lumis = [] for all the 20 blocks, while 2c) returned me the right lumis info.

@AndresTanasijczuk
I have update the client and server doc to indicate the max list length of input vairables, such as logical_file_name, run or lumi is 1000.
In deed there was a bug in the sever when check for the validFileOlny flag. The variables in the url is a string so need to convert it into int before checking. After I fixed it, the flag is working as expected. I will have the fix in Dec release.

Will close it when PR created.


Add classname to img tag

Emojis will render at 100% size and in some cases (like ours) we're unable to style all images to fit. Ideally we need a classname of emoji on the image tag.

I did try this myself, even writing a custom Image class, but there was some error about inline rendering or something. I'll take another gander later.

It'd be great if it was a class of something along the lines of: emoji emoji--poop for :poop: etc

Good idea @ConnorVG, this would be useful!

We can't include the emoji name in the class name because some emojis contain characters that are invalid for class names.

Any examples? I can't think of any on the top of my head.

:+1:?

Lol, that's my favourite emoji too.
We could strip any non alphanum chars and then prefix with emoji-?

That wouldn't work.

Then :+1: and :-1: would have the same class.

And emoji--1 looks silly.

I see no need to include the emoji name in the class name tbh.

Just choose one class name and use it everywhere and be done with it imo.

emoji will do.

CommonMark doesn't seem to support setting the class anyway.

 I opened an issue for it.

I opened an issue for it.

Where?

Can't see it on https://github.com/thephpleague/commonmark/issues?

https://github.com/thephpleague/commonmark/issues/145

That issue doesn't scribe what we want though.

We don't want a way to set the class from the markdown, we want a way to set the class from the code itself.

So the link to that extension is totally useless to us.

Hmmm, I figured it was an inline element, since we're currently using Image.

It's more that Colin didn't understand the question, and thinks you wanted a way to set the class from the markdown document.

Yeah, I didn't explain very well. I'll re-word.

How about just have an emoji class and a data-emoji="+1" instead?

What's the point in that, when you could just read the alt text?

[data-] is for this kind of stuff, it suits the purpose more than the human readable purpose of an alt tag.

We can't set the data attribute anyway.

In the same way we can't set the class.

The reasoning to wanting this feature is for stuff such as reversing the content (for instance, in a content editable field).
If it's not currently possible then I understand.

Well, if the proposed changes to Commonmark make it through, data tags will be a thing.


Multiple QuickFixes to Giveaways

Add more user friendly CSS To them
Will show Card being given away & PM the room to notify.
Card / Credit enhancement iffy at this time, still requires a few things for take card/give card

ye its easy
contact me if u need help

squash

squash all of these commits

also, preview of what this css and design looks like?

Merged in 082e4df319cf335008354d16a31f97f19b9d638a


Fix #324 serve source map

If the asset is not bundled then asset.sourceMap may not be a string, but an object, so it is not served correctly.

Facing this problem too. :+1: Would love to see a fix published soon so I can bump my dependency.

Can you submit a test case for this change? Apologies for not reviewing sooner.

If I remember correctly, I did not add a test because I'd have had to add node-sass to reproduce my particular problem (file that is not bundled but still generates a source map) and also bump your mincer dependency (we added sass source map support in 1.3.1).
It might still be testable with your setup if you test with build: false and compress: true -- but for some reason if I do this using your test suite mincer does not minify the file at all and therefore there is no source map either.

I actually was not able to write a test that exposed the behavior; however, adding to .toString() to what is expected to be a string is safe enough that I'm comfortable merging this in.

Published in v5.1.1


Collection renaming

These changes keeps in line suggestions from me and @wiktor2200 https://github.com/nextcloud/ansible-collection-nextcloud-admin/discussions/228#discussioncomment-5954371, and @marioqxx https://github.com/nextcloud/ansible-collection-nextcloud-admin/issues/274
Summary:

nextcloud.admin is renamed to nextcloud.nextcloud
install_nextcloud is renamed to install

Hello There .
I kindly do not agree 😃
let's continue this debate on #228  where I made my points.


fix jenkins debian10

The current jenkins failed due to jdk11 configure https://builds.apache.org/job/apache-heron-docker-image/59/console
Fix it with the standard debian image, test link https://builds.apache.org/job/apache-heron-docker-image/60/console

Are similar changes needed for Debian9 Dockerfile?


tagging of math in tables

Currently math formulas in tables are not handled correctly, they are either not tagged, generate warnings or even errors (display math in p-columns):
\DocumentMetadata{testphase={phase-III,math,table}}
\documentclass{article}
\begin{document}

\begin{tabular}[t]{l}
 $b$ \\
\end{tabular}

\begin{tabular}[t]{p{3cm}}
 \[\int=1\]
\end{tabular}

\end{document}

The table code can improve that by reenabling math collection at the begin of the cell:
\DocumentMetadata{testphase={phase-III,math,table}}
\documentclass{article}
\ExplSyntaxOn
\socket_set_plug:nnn{tagsupport/tblcell/begin}{TD}
  { \bool_set_false:N\l__math_collected_bool %added
    \tag_struct_begin:n
      {
        tag             =\l__tbl_celltag_tl,
        attribute-class =\l__tbl_cellattribute_tl
      }
    \seq_gput_right:Ne \g__tbl_struct_cur_seq { \tag_get:n {struct_num} }
    \int_step_inline:nn { \g__tbl_span_tl - 1 }
      {
        \seq_gput_right:Ne \g__tbl_struct_cur_seq { -\tag_get:n {struct_num} }
      }
    \tag_mc_begin:n{}
  }
\socket_set_plug:nnn{tagsupport/tblcell/begin}{TDpbox}
  {
    \bool_set_false:N\l__math_collected_bool %added
    \tag_struct_begin:n
      {
        tag             =\l__tbl_celltag_tl,
        attribute-class =\l__tbl_cellattribute_tl
      }
    \seq_gput_right:Ne \g__tbl_struct_cur_seq { \tag_get:n {struct_num} }
    \int_step_inline:nn { \g__tbl_span_tl - 1 }
      {
        \seq_gput_right:Ne \g__tbl_struct_cur_seq { -\tag_get:n {struct_num} }
      }
    \tagpdfparaOn
    \tl_set:Nn \l__tag_para_main_tag_tl {Div}
  }

\ExplSyntaxOff

\begin{document}

\begin{tabular}[t]{l}
 $b$ \\
\end{tabular}

\begin{tabular}[t]{p{3cm}}
 \[\int=1\]
\end{tabular}

\end{document}

This won't help if math is activated with in the tabular preamble (with >{$}l<{$}. And we probably need an interface command for the \bool_set_false:N\l__math_collected_bool .

I hope it is OK with everyone to comment on this one??
These ideas concerning table structures are closely related to the more general cases about which I have previously written extensively.
Currently, math collection (and probably its tagging?) nowhere distinguishes between substructures that are "true text" and
those that are not (the "fake-text" that is often used in purely "math structures").
Briefly:
All (or most??) cases of "true text", such as minipages, other "text boxes", most cases of "table cells", etc., etc. are affected.
Such substructures will need to reset all aspects of the processing of mathmode material. The last sentence, suggesting that this resetting needs a document-level version, sounds wise.
I am not so sure that merely resetting the "collected boolean" is all that is needed to "reset all aspects . . . ", but a decision on that will have to await a full reconsideration of the relationships between the distinct aspects of this "new math processing".
I hope this explanation is sufficiently clear.  I can elaborate if required.


Can't Add Show

Hi I cloned this app and installed all necessary components. I was able to run the app successfully however when I went to localhost:3000/add and then add a new tv show it didn't work.

I'm experiencing the same issue, @emilenriquez.
Mind sharing your fix?


refac(zk): separate argument data from argument

Description
This PR separates ArgumentData which owns data from Argument which runs algorithm based on this data.

@chokobole In d3d0bdd, what do you mean by "they are not getter methods"?


can't get --install-completion to work

given this program:
#!/usr/bin/env python
  port typer

app = typer.Typer()

@app.command()
def foo():
    print('foo')

@app.command()
def bar():
    print('bar')

if __name__ == "__main__":
    app()

I run: ./foo.py --install-completion
I see:
zsh completion installed in /Users/tchan/.zshrc.
Completion will take effect once you restart the terminal.

I source my .zshrc and then type ./foo.py and hit tab
I see this:
./foo.py env: foo.py: No such file or directory

Actually, there is a bug with the generation because the full path of the app file (foo in your case) is not written.
Temp workaround:
Replace the generated line (in ~/.zshrc) by the following one:
eval $(env COMMANDLINE="${words[1,$CURRENT]}" _APP.PY_COMPLETE=complete-zsh python PATH_TO_FOO/foo.py)

You could also report the bug to Click-Completion

Hi everyone! Thanks for the discussion here.
For auto completion to work, you have to create a Python package, there's a new section in the docs about that: https://typer.tiangolo.com/tutorial/package/ :memo:
If you just want to run simple scripts and have completion in your shell, you can use the new Typer CLI: https://typer.tiangolo.com/typer-cli/ :rocket: :keyboard:

I am still facing the same issue. Let me know if this has been resolved

same here, i have a tool called zetta, that i made it a command line tool with [tool.poetry.scripts]
I run poetry install, and then which zetta, shows me where the zetta executable is
then i run zetta --install-completion zsh, and got message confirmed and in my ~/.zfunc/_zetta i have
_zetta_completion() {
eval $(env COMMANDLINE="${words[1,$CURRENT]}" _APP.PY_COMPLETE=complete-zsh zetta)
}

but the autocompletion still does not work....
same steps for bash works...

well , i think i solved this problem by adding the following lines to my .zshrc
hope this helps
autoload -Uz compinit
zstyle ':completion:*' menu select
fpath+=~/.zfunc
compinit

I'm still not able to get completion to work.
My setup is pretty much identical to @shelper
My (entire) ~./zshrc:
# ~/.zshrc
autoload -Uz compinit
fpath+=~/.zfunc
compinit

My ~/.zfunc/_nbpreview:
#compdef nbpreview

_nbpreview_completion() {
  eval $(env _TYPER_COMPLETE_ARGS="${words[1,$CURRENT]}" _NBPREVIEW_COMPLETE=complete_zsh nbpreview)
}

compdef _nbpreview_completion nbpreview

Seems the correct file is registered,
but when it comes to actual completion,
nothing happens.
# Command to show which completion file is registered
% whence -v $_comps[nbpreview]
_nbpreview_completion is a shell function from /Users/pawlu/.zfunc/_nbpreview

% nbpreview --<TAB>
# No output, completion

From here I got the workaround to add compinit -D to the end of my .zshrc file. I have no idea what it means, but it worked.

Related PR to fix autocompletion with the zsh shell, similar to the fix @shelper mentioned: https://github.com/tiangolo/typer/pull/237


How to remove the 256MB filesize cap?

How to remove the 256MB filesize cap?

Over at https://github.com/download13/ipfstube/blob/master/nginx.conf#L51
You can change that if you're running an instance. I just set it because my hosting vps only has 20GB of storage.


vcpkg cannot use the installed version of powershell

Describe the bug
I have installed powershell v6.2.2 at the default location(C:\Program Files\Powershell\6). But vcpkg still report that it cannot find a suitable version of powershell. I've tried to link the pwsh.exe to powershell.exe, but it doesn't work either.
Environment

OS: Windows 10 Home Edition x64
Compiler: Visual Studio 2019

To Reproduce
Steps to reproduce the behavior:

./vcpkg integrate install
or
./vcpkg  install [any packages]
See error

Expected behavior
I hope vcpkg could locate the installed version of powershell so that it doesn't need to download one.
Failure logs
A suitable version of powershell-core was not found (required v6.2.1). Downloading portable powershell-core v6.2.1...
Downloading powershell-core...
https://github.com/PowerShell/PowerShell/releases/download/v6.2.1/PowerShell-6.2.1-win-x86.zip -> C:\vcpkg\downloads\PowerShell-6.2.1-win-x86.zip
Extracting powershell-core...
Additional context
I removed the system preinstalled powershell v2.0 and move the path C:\Windows\System32\WindowsPowerShell under the powershell 6.0 install path.

Hi @neko-para, thanks for reporting this issue.
Since vcpkg internally uses some version-related features of powershell, vcpkg now uses the internal version of powershell to replace the system powershell.

Thanks

A bit annoying that vcpkg can't use the system powershell, if its version is high enough. For example I've got 6.2.4-64, only for vcpkg to install its own local 6.2.1-32.......


After updating from v2.2.0 to v2.2.4 get javascript error on load

After updating our project to use 2.2.4 eg:
go get: upgraded github.com/arsmn/fiber-swagger/v2 v2.2.0 => v2.24.0
the swagger WebApp started giving a javascript error. I also noticed it did not download the .json file that it normally does, which makes sense with the error as it fails on the downloadSpec() func.

I had the same problem.

2.20.0 does not have this problem

I am also having this issue

me too

I'm unable to reproduce this error.
Can you share more details?

its when you do custom config

The problem was new configuration and default values.
The necessary plugins and presets were not included when custom config was used.
It's fixed in new version v2.31.1.


[API design] #26 - Create product model

Couldn't link the PR to it's related issue here

Thank you @yaser-alazm for this PR, it is an important one.
In general your PR is good, you put some great effort in here 👍
there are some notes to improve it more:

for title,details,tags, the pattern better be something like ^.{0,200}$ , as the title might be written in many non-Latin characters, so we cannot limit it to a-zA-Z0-9 thus we used .
try to add maxLength for the patterns when applicable, like in title, details tags, by adding {min,max} at the end
maxLength and pattern are not applicable to integer, instead you can add minimum:0, maximum: 99999, format: int32
categoryId, ownerId, areaId should be integer, no need for reference.
I noticed you contributed to other tasks in this PR (you added Category and Location model), try to focus on one task in each commit, the other can be added later, so if we had to revert this commit, we don't lose stuff in other places.

Most of this notes can be detected and bulk fixed by performing audit test like in the screenshot

@haithamalnaeb

for title,details,tags, the pattern better be something like ^.{0,200}$
maxLength and pattern are not applicable to integer, instead you can add minimum:0, maximum: 99999, format: int32
categoryId, ownerId, areaId should be integer, no need for reference.

All been changed and added :+1:

try to add maxLength for the patterns when applicable, like in title, details tags, by adding {min,max} at the end

This already been added in the original commits

I noticed you contributed to other tasks in this PR

Actually I just declared the type of each model just to use it as a reference to categoryId & areaId, but since we don't use references here so all removed

All good,
great job


[Enhancement] Optimization of schema instantiation and field default value merging and support partial default values and initialization

Enhancement
We can optimize the schema instantiation and field default value merging time. For example:

main.k

schema Spec:
    id: int
    value: str

schema Config:
    spec: Spec = Spec {
        id = 1
    }

config = Config {
    spec.value = "value"
}

Execute the command and I expect the following YAML output:
config:
  spec:
    id: 1
    value: value

But I get the error message:
KCL Error [CompileError]
---> File main.k:6:1
6 |    spec: Spec = Spec {
attribute 'value' of Spec is required and can't be None or Undefined

This is because the KCL compiler instantiates two Spec schemas before merging them. It needs to be optimized to merge config first, and then use the merged config to instantiate a Spec Schema

Close with #404.


Unsaved editors lost/blank in Insiders build

Issue Type: Bug
My workspace had several unsaved editors which became blank when I updated my Insiders instance to the previous to this build.
 Any clues what could be different in your setup?

Not sure I can say what's different for me. Are there any logs which might help identify the issue?

We have a command that will open the folder with all logs from previous sessions:

That one might contain a bit more info of what went wrong.
Would you be able to conduct a test and see if you can possibly reproduce this? I am thinking of this setup where you first run Code stable and then Insiders over the same data directory:

run code --user-data-dir <some dir> and make some files dirty
run code-insiders --user-data-dir <some dir> and verify the files are still there in your setup

Looks like the timestamps on the logs are all recent, i.e. newer than when the problem happened, so I don't think these would help. Not sure why older output isn't there since I haven't messed around with the logs.
I do have another detail that might help. I had 7 unsaved editors and all but the last one (rightmost) were lost. Why the last one was not, I can't say.
WRT trying to reproduce as you indicated, I want to mention that I hadn't switched between stable and Insiders - I pretty much use Insiders exclusively for the last few months (with the odd starting up stable to update it). So, I'm not sure that the exercise you mentioned would be representative of something that could have triggered the content loss.

@asampal yeah no worries, we can do the same with insiders:

Build from your report: Download
Build from 20th of December:  Download

I just tried to reproduce by starting the old build (with --user-data-dir), opening some files and making them dirty and starting the new build afterwards (on the same user data dir). I do not see any data loss. Can you try?

It just occurred to me that I missed some possibly important details in reporting the issue. I'm pretty obabout updating my Insiders build daily. I left on vacation Dec. 19th and was back at work on Dec. 27th. So, the test for reproducing the loss, should be between the build that was current on the 18th and the first build available on or after the 27th.

@asampal hm ok. It could very likely be https://github.com/microsoft/vscode/issues/87156 which has the exact same symptoms. It got fixed around 17th/18th. There are no other reports from other users so maybe you got unlucky by getting that exact version with that problem.

I'll assume that was the issue, @bpasero. Go ahead and close this one.


Quick fix so that pathAsString uses string pathItem names

This closes https://github.com/quantified-uncertainty/squiggle/issues/2098

I think I'm just going to merge this, it's tiny.


Test failure -- Metadata/provisionwatcher AssertionError

Test failure reported as follows:
12:31:05 [info] ======================== Start run metaData test - provisionwatcher ========================

12:31:14   #  failure         detail
12:31:14
12:31:14  1.  AssertionError  Response time is less than 400
12:31:14                      expected false to be truthy
12:31:14                      at assertion:1 in test-script
12:31:14                      inside "provisionwatcher / 307 http://localhost:48081/api/v1/provisionwatcher

Full Jenkins log here:
https://jenkins.edgexfoundry.org/view/blackbox-testing/job/blackbox-testing-centos7-blackbox-4c-2g-california/61/consoleFull

@tsconn23
In below picture, script assert response time is less than 400 and test result is 312ms. Assertion should be passed, but it didn’t.

Because the script is inconsistent at https://github.com/edgexfoundry/blackbox-testing/blob/master/bin/postman-test/collections/core-metadata.postman_collection.json#L2576,

tests["Response time is less than "+data.responseTime] = responseTime < 200;

Actually it’s test responseTime<200.
I had created a PR https://github.com/edgexfoundry/blackbox-testing/pull/68.


Appetite for JSON Schema enhancements?

We're considering trialling autodocodec-schema for a project, but its validation support doesn't seem to do everything that we'd need. The Autodocodec.Schema.JSONSchema type notes "this schema roundtrips to JSON, but it cannot expres[s] everything that a fully-featured json-schema may be able to express". For autodocodec-schema to be more useful on our project, we'd want it to be able to:

Validate a Value against a schema which contains $refs to other schemas. This could mean adding a variant of validateAccordingTo which takes a Map SchemaURI JSONSchema and using it like the one inside the state monad inside validateAccordingTo.
Adding support for other validations described by JSON Schema Validation, like the "enum" and "const" keywords, etc.

Are these sort of uses in-scope for the design and goals of autodocodec-schema, and are you able to accept PRs for them if we ended up building on top of it?

Sounds good. We'll give autodocodec-schemas a go, and if it looks promising, we'll send some PRs your way to fill in the gaps. Thanks!


i18n: Update of the Ukrainian translation

Pull Request Checklist
Before submitting, make sure you've checked the following:

[ + ] Target branch: Please verify that the pull request targets the dev branch.
[ + ] Description: Provide a concise description of the changes made in this pull request.
[ + ] Testing: Have you written and run sufficient tests for validating the changes?
[ + ] Prefix:: i18n: Internationalization or localization changes

Description

Updated of the Ukrainian translation

Thanks!


"tel", "sms", and "geo" uri schemes stripped out

I've created a pull request to add these in, #2016. I'm adding this as an issue as well so it can be marked as complete.
Have a great day!

Merged. Thanks!


Update Initscripts

"$(which caddy)" is not work at system startup.
After this change, I can run "insserv -d caddy" to start caddy automatically on boot.

 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.

LGTM!


missing 'path' parameter from spec for Job Output

job outputs (here: https://learn.microsoft.com/en-us/azure/machine-learning/reference-yaml-job-command?view=azureml-api-2#job-outputs) only specifies the type and mode parameters - it should also allow path, similarly to the Job input configurations.
Please could you explain if there is  a reason why this is left off?

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

ID: 4909720f-c444-0127-a58d-44cbf6e64b3c
Version Independent ID: 0223dd9e-80e2-4bac-3cdf-6d9d79f33874
Content: CLI (v2) command job YAML schema - Azure Machine Learning
Content Source: articles/machine-learning/reference-yaml-job-command.md
Service: machine-learning
Sub-service: core
GitHub Login: @balapv
Microsoft Alias: balapv

@lindacmsheard
Thanks for your feedback! We will investigate and update as appropriate.

@balapv
could you please review this and update as appropriate.

Hi @lindacmsheard, I'm not aware of a reason. This seems to be an oversight, so thank you for bringing it to our attention. We will update the spec.

@lindacmsheard
We will take consideration your suggestions and get in touch with our PG team. They will look into it and amend the document as necessary. Thanks!!
We are going to close this thread, if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

great, thanks!


Error Installing boost-fiber on macos

./vcpkg install boost-fiber output follows.
The following packages will be built and installed:
boost-fiber[core]:x64-osx
Starting package 1/1: boost-fiber:x64-osx
Building package boost-fiber[core]:x64-osx...
-- Using cached /Users/xxx/code/vcpkg/downloads/boostorg-fiber-boost-1.69.0.tar.gz
-- Using source at /Users/xxx/code/vcpkg/buildtrees/boost-fiber/src/ost-1.69.0-fdcb31a571
-- Configuring x64-osx-dbg
-- Configuring x64-osx-rel
-- Building x64-osx-dbg
-- Building x64-osx-rel
CMake Error at installed/x64-osx/share/boost-build/boost-modular-build.cmake:85 (message):
No libraries were produced.  This indicates a failure while building the
boost library.
Call Stack (most recent call first):
ports/boost-fiber/portfile.cmake:19 (boost_modular_build)
scripts/ports.cmake:71 (include)
Error: Building package boost-fiber:x64-osx failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: boost-fiber:x64-osx
Vcpkg version: 2018.11.23-unknownhash
Additionally, attach any relevant sections from the log files above.

I tried install boost-fiber with lastet vcpkg source:
bysdeMBP-6:vcpkg-master bys$ ./vcpkg install boost-fiber
The following packages will be built and installed:

boost-algorithm[core]:x64-osx
boost-atomic[core]:x64-osx
boost-bind[core]:x64-osx
boost-chrono[core]:x64-osx
boost-container[core]:x64-osx
boost-context[core]:x64-osx
boost-date-time[core]:x64-osx
boost-exception[core]:x64-osx
boost-fiber[core]:x64-osx
boost-filesystem[core]:x64-osx
boost-function[core]:x64-osx
boost-functional[core]:x64-osx
boost-intrusive[core]:x64-osx
boost-lambda[core]:x64-osx
boost-lexical-cast[core]:x64-osx
boost-math[core]:x64-osx
boost-numeric-conversion[core]:x64-osx
boost-pool[core]:x64-osx
boost-range[core]:x64-osx
boost-ratio[core]:x64-osx
boost-regex[core]:x64-osx
boost-system[core]:x64-osx
boost-thread[core]:x64-osx
boost-type-index[core]:x64-osx
boost-unordered[core]:x64-osx
Additional packages (*) will be modified to complete this operation.
Starting package 1/25: boost-regex:x64-osx
Building package boost-regex[core]:x64-osx...
-- Using cached /Users/bys/Downloads/vcpkg-master/downloads/boostorg-regex-boost-1.69.0.tar.gz
-- Using source at /Users/bys/Downloads/vcpkg-master/buildtrees/boost-regex/src/ost-1.69.0-80bf9a4997
-- Configuring x64-osx-dbg
-- Configuring x64-osx-rel
-- Building x64-osx-dbg
CMake Error at scripts/cmake/vcpkg_build_cmake.cmake:175 (message):
Command failed: /Users/bys/Downloads/vcpkg-master/downloads/tools/cmake-3.12.4-osx/cmake-3.12.4-Darwin-x86_64/CMake.app/Contents/bin/cmake;--build;.;--config;Debug;--target;install;--;-v;-j1
Working Directory: /Users/bys/Downloads/vcpkg-master/buildtrees/boost-regex/x64-osx-dbg
See logs for more information:
/Users/bys/Downloads/vcpkg-master/buildtrees/boost-regex/install-x64-osx-dbg-out.log

Call Stack (most recent call first):
scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
installed/x64-osx/share/boost-build/boost-modular-build.cmake:82 (vcpkg_install_cmake)
ports/boost-regex/portfile.cmake:20 (boost_modular_build)
scripts/ports.cmake:71 (include)
Error: Building package boost-regex:x64-osx failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: boost-regex:x64-osx
Vcpkg version: 2018.11.23-unknownhash
/Users/bys/Downloads/vcpkg-master/buildtrees/boost-regex/install-x64-osx-dbg-out.log:
[1/2] cd /Users/bys/Downloads/vcpkg-master/buildtrees/boost-regex/src/ost-1.69.0-80bf9a4997/build && /Users/bys/Downloads/vcpkg-master/installed/x64-osx/tools/boost-build/b2 --user-config=/Users/bys/Downloads/vcpkg-master/buildtrees/boost-regex/x64-osx-dbg/user-config.jam --stagedir=/Users/bys/Downloads/vcpkg-master/buildtrees/boost-regex/x64-osx-dbg/stage --build-dir=/Users/bys/Downloads/vcpkg-master/buildtrees/boost-regex/x64-osx-dbg runtime-link=static link=static address-model=64 target-os=darwin toolset=clang -sZLIB_BINARY=z -sZLIB_LIBPATH="/usr/lib/libz.dylib" -sBZIP2_BINARY=bz2d -sBZIP2_LIBPATH="BZIP2_LIBPATH-NOTFOUND" variant=debug --layout=system --with-atomic --with-random --with-date_time --with-filesystem --with-system --with-thread --with-chrono -sZLIB_INCLUDE="/usr/include" -sBZIP2_INCLUDE="/usr/include" -sICU_PATH="ICU_PATH-NOTFOUND" -j1 -sBOOST_ROOT=/Users/bys/Downloads/vcpkg-master/installed/x64-osx/tools/boost-build -sBOOST_BUILD_PATH=/Users/bys/Downloads/vcpkg-master/installed/x64-osx/tools/boost-build --debug-configuration --ignore-site-config --hash -q architecture=x86 threading=multi threadapi=pthread debug-symbols=on
FAILED: CMakeFiles/boost
cd /Users/bys/Downloads/vcpkg-master/buildtrees/boost-regex/src/ost-1.69.0-80bf9a4997/build && /Users/bys/Downloads/vcpkg-master/installed/x64-osx/tools/boost-build/b2 --user-config=/Users/bys/Downloads/vcpkg-master/buildtrees/boost-regex/x64-osx-dbg/user-config.jam --stagedir=/Users/bys/Downloads/vcpkg-master/buildtrees/boost-regex/x64-osx-dbg/stage --build-dir=/Users/bys/Downloads/vcpkg-master/buildtrees/boost-regex/x64-osx-dbg runtime-link=static link=static address-model=64 target-os=darwin toolset=clang -sZLIB_BINARY=z -sZLIB_LIBPATH="/usr/lib/libz.dylib" -sBZIP2_BINARY=bz2d -sBZIP2_LIBPATH="BZIP2_LIBPATH-NOTFOUND" variant=debug --layout=system --with-atomic --with-random --with-date_time --with-filesystem --with-system --with-thread --with-chrono -sZLIB_INCLUDE="/usr/include" -sBZIP2_INCLUDE="/usr/include" -sICU_PATH="ICU_PATH-NOTFOUND" -j1 -sBOOST_ROOT=/Users/bys/Downloads/vcpkg-master/installed/x64-osx/tools/boost-build -sBOOST_BUILD_PATH=/Users/bys/Downloads/vcpkg-master/installed/x64-osx/tools/boost-build --debug-configuration --ignore-site-config --hash -q architecture=x86 threading=multi threadapi=pthread debug-symbols=on
notice: found boost-build.jam at /Users/bys/Downloads/vcpkg-master/installed/x64-osx/tools/boost-build/boost-build.jam
notice: loading Boost.Build from /Users/bys/Downloads/vcpkg-master/installed/x64-osx/tools/boost-build/src/kernel
notice: Site configuration files will be ignored due to the
notice: --ignore-site-config command-line option.
notice: Loading explicitly specified user configuration file:
/Users/bys/Downloads/vcpkg-master/buildtrees/boost-regex/x64-osx-dbg/user-config.jam
notice: Searching '/Users/bys/Downloads/vcpkg-master/buildtrees/boost-regex/x64-osx-dbg' for user-config configuration file 'user-config.jam'.
notice: Loading user-config configuration file 'user-config.jam' from '/Users/bys/Downloads/vcpkg-master/buildtrees/boost-regex/x64-osx-dbg'.
warning: toolset gcc initialization:
warning: can not find user-provided command '/Volumes/Macintosh' 'HD' '2/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++'
warning: initialized from /Users/bys/Downloads/vcpkg-master/buildtrees/boost-regex/x64-osx-dbg/user-config.jam:21
/Users/bys/Downloads/vcpkg-master/installed/x64-osx/tools/boost-build/src/tools/gcc.jam:164: in gcc.init from module gcc
error: toolset gcc initialization:
error: provided command '/Volumes/Macintosh' 'HD' '2/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++' not found
error: initialized from /Users/bys/Downloads/vcpkg-master/buildtrees/boost-regex/x64-osx-dbg/user-config.jam:21
/Users/bys/Downloads/vcpkg-master/installed/x64-osx/tools/boost-build/src/build/toolset.jam:44: in toolset.using from module toolset
/Users/bys/Downloads/vcpkg-master/installed/x64-osx/tools/boost-build/src/build/project.jam:1102: in using from module project-rules
/Users/bys/Downloads/vcpkg-master/buildtrees/boost-regex/x64-osx-dbg/user-config.jam:21: in modules.load from module user-config
/Users/bys/Downloads/vcpkg-master/installed/x64-osx/tools/boost-build/src/build-system.jam:255: in load-config from module build-system
/Users/bys/Downloads/vcpkg-master/installed/x64-osx/tools/boost-build/src/build-system.jam:449: in load-configuration-files from module build-system
/Users/bys/Downloads/vcpkg-master/installed/x64-osx/tools/boost-build/src/build-system.jam:607: in load from module build-system
/Users/bys/Downloads/vcpkg-master/installed/x64-osx/tools/boost-build/src/kernel/modules.jam:295: in import from module modules
/Users/bys/Downloads/vcpkg-master/installed/x64-osx/tools/boost-build/src/kernel/bootstrap.jam:139: in boost-build from module
/Users/bys/Downloads/vcpkg-master/installed/x64-osx/tools/boost-build/boost-build.jam:8: in module scope from module
ninja: build stopped: subcommand failed.

@PhoebeHui This issue was fixed in #18529.

Thanks for taking a look! I confirmed that the issue has been fixed.


Maximum number of contacts that can be blocked on Teams is 300

The maximum limit is up to 300 limits. However, size of the contact matters, so sometime if limit reaches at 275, it might possible contacts will not get store. Reference support case 30359544

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

ID: 905e2c09-ef3e-07cc-0809-6ff171157c47
Version Independent ID: c0d33162-183d-fff8-32e9-a999f391ea51
Content: Limits and specifications for Microsoft Teams - Microsoft Teams
Content Source: Teams/limits-specifications-teams.md
Service: msteams
GitHub Login: @MicrosoftHeidi
Microsoft Alias: heidip

Hello @nagarjunreddy43 Thanks for your feedback, unfortunately, we do not have access to support cases, but I'll dig into this.

Hello @nagarjunreddy43 can you confirm if you are using Teams Personal or small business? Thanks

Hi Andres,
No, we are 120,000 users tenant.
Regards,
Naga
From: Andres Mariano Gorzelany @.>
Sent: Thursday, May 19, 2022 10:15 AM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness @.>
Cc: Satty, Nagarjun Reddy @.>; Mention @.>
Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] Maximum number of contacts that can be blocked on Teams is 300 (Issue #8852)
Hello @nagarjunreddy43https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnagarjunreddy43&data=05|01|nagarjun.reddy.satty%40sap.com|80014113fe344ac1f4c708da39a1f574|42f7676cf455423c82f6dc2d99791af7|0|0|637885665033604991|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=9bGxKXnzFyALqDckMB8NIQc6kAmeARGManJheoxqus4%3D&reserved=0 can you confirm if you are using Teams Personal or small business? Thanks

Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SkypeForBusiness%2Fissues%2F8852%23issuecomment-1131753821&data=05|01|nagarjun.reddy.satty%40sap.com|80014113fe344ac1f4c708da39a1f574|42f7676cf455423c82f6dc2d99791af7|0|0|637885665033604991|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=JuGneJAjAa6Adm8hXobGzAcQT3FqPvUBvJax6%2F4tAOQ%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZDQ6GYTMZ6A6TILUVLQFRLVKZEGFANCNFSM5VSZPU5A&data=05|01|nagarjun.reddy.satty%40sap.com|80014113fe344ac1f4c708da39a1f574|42f7676cf455423c82f6dc2d99791af7|0|0|637885665033604991|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=8kbIoLV0yYFbmpkR7mQyhWna%2Fl1gTOlAnlufiI9TSmE%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Hello @nagarjunreddy43 ok, thanks for providing more information, can you please clarify this to me
You are talking about this blocking feature?
From the Chat tab, hover your mouse over the person you want to block.
Select More options .
Select Block.
source https://support.microsoft.com/en-us/office/block-a-contact-in-teams-for-personal-and-small-business-use-025e381e-8bff-4370-9a7f-c7ed7ebdcca7
Thanks for clarifying to me

Hi Andres,
That's right, we are blocking spam calls here instead of Teams users in our use case.
Regards,
Naga
From: Andres Mariano Gorzelany @.>
Sent: Thursday, May 19, 2022 12:26 PM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness @.>
Cc: Satty, Nagarjun Reddy @.>; Mention @.>
Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] Maximum number of contacts that can be blocked on Teams is 300 (Issue #8852)
You don't often get email from<EMAIL_ADDRESS>Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
Hello @nagarjunreddy43https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnagarjunreddy43&data=05|01|nagarjun.reddy.satty%40sap.com|869d37671a5d4a8a618708da39b43365|42f7676cf455423c82f6dc2d99791af7|0|0|637885743504158213|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=Wt0%2BHo8ekTEc66%2BCTiykgaoF8CZn963IkmTEUCQgVXs%3D&reserved=0 ok, thanks for providing more information, can you please clarify this to me
You are talking about this blocking feature?
From the Chat tab, hover your mouse over the person you want to block.
Select More options .
Select Block.
source https://support.microsoft.com/en-us/office/block-a-contact-in-teams-for-personal-and-small-business-use-025e381e-8bff-4370-9a7f-c7ed7ebdcca7https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fblock-a-contact-in-teams-for-personal-and-small-business-use-025e381e-8bff-4370-9a7f-c7ed7ebdcca7&data=05|01|nagarjun.reddy.satty%40sap.com|869d37671a5d4a8a618708da39b43365|42f7676cf455423c82f6dc2d99791af7|0|0|637885743504158213|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=ILNJXxLYOpY07NUw6lL%2FDUu%2F4UsIO%2BC0%2FxNWRL9bbI8%3D&reserved=0
Thanks for clarifying to me

Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SkypeForBusiness%2Fissues%2F8852%23issuecomment-1131930298&data=05|01|nagarjun.reddy.satty%40sap.com|869d37671a5d4a8a618708da39b43365|42f7676cf455423c82f6dc2d99791af7|0|0|637885743504158213|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=rNvxphuv9Cu%2FOA%2Ft41w1K2TyqSqFOlBaEvXwkX3y18Q%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZDQ6G7DH6WC553C7HIOD3LVKZTP3ANCNFSM5VSZPU5A&data=05|01|nagarjun.reddy.satty%40sap.com|869d37671a5d4a8a618708da39b43365|42f7676cf455423c82f6dc2d99791af7|0|0|637885743504158213|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=vrypwKh4PvGgHtWAsb7Db9mqMwma2St0zA5MEABnKtg%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@nagarjunreddy43 Got it, one more thing, are we talking of numbers blocked at tenant (from PowerShell) or user level (from teams)? Thanks

Hi Andres,
This is on user level from Teams client as we don't block at tenant level.
Regards,
Naga
From: Andres Mariano Gorzelany @.>
Sent: Thursday, May 19, 2022 1:33 PM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness @.>
Cc: Satty, Nagarjun Reddy @.>; Mention @.>
Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] Maximum number of contacts that can be blocked on Teams is 300 (Issue #8852)
You don't often get email from<EMAIL_ADDRESS>Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
@nagarjunreddy43https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnagarjunreddy43&data=05|01|nagarjun.reddy.satty%40sap.com|0952e0a3b83c486fb6aa08da39bd9d82|42f7676cf455423c82f6dc2d99791af7|0|0|637885783813189482|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=gjNPIi%2FawhC1ABcgsh%2FSDjVbjRDHEDsQ6QhqlcqWD5E%3D&reserved=0 Got it, one more thing, are we talking of numbers blocked at tenant (from PowerShell) or user level (from teams)? Thanks

Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SkypeForBusiness%2Fissues%2F8852%23issuecomment-1131994467&data=05|01|nagarjun.reddy.satty%40sap.com|0952e0a3b83c486fb6aa08da39bd9d82|42f7676cf455423c82f6dc2d99791af7|0|0|637885783813189482|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=9PClVHlVBYB8qPr86uylW6ofBx0lMrmMgJiD9OLQCwo%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZDQ6G65JZLTJWV6ZM2TO53VKZ3MTANCNFSM5VSZPU5A&data=05|01|nagarjun.reddy.satty%40sap.com|0952e0a3b83c486fb6aa08da39bd9d82|42f7676cf455423c82f6dc2d99791af7|0|0|637885783813189482|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=0iPpfmdlPZDrHG6fiikQQGcBi6UOJK%2B6tCzfoTuOAdc%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


Predefined objects and improved user experience

Is your feature request related to a problem? Please explain.
I feel like writing anonymous functions is sometimes a pain and it doesn't contain much structure if everything is an Object.
Describe the solution you'd like
I'm wondering if it makes sense to have some types for Line, Circle, Rectangle, Polygon etc. and one can write:
myline = Object(1:100, Line(p1, p2))
act!(myline, Action(1:10, appear(:draw)))

such that the line gets drawn (see #218 )
and maybe also
myline = Object(1:100, [Line(p1, p2), Line(p2, p3)])
act!(myline, Action(1:10, appear(:draw)))

such that we can concatenate line segments easily.
Additionally each object could have some properties like, start_point, end_point for line and radius and center for Circle.
Then one would be able to write:
myline = Object(1:100, Line(p1, p2))
act!(myline, Action(1:10, appear(:draw)))
mycircle = Object(1:100, Circle(myline.start_point, 20))

where the start_point field is an anonymous function which has access to the start point of the line.
The main point for Line and the other objects is also that we can define them ourselves on top of Luxor and be able to specify all possible options to it like color, width for which one currently needs to write anonymous functions.
Old functionality should not be destroyed by this but just extended and it should be simple for the user to define their own objects.
Describe alternatives you've considered
I considered using
Line(1:100, p1, p2)

but it feels better to have the Object around it which takes care of the frames.
This might also somehow make it easier to work with #130 .
@TheCedarPrince What do you think and feel free to rename this issue as naming is hard :smile:

Hey @Wikunia , @TheCedarPrince I was thinking about how this could be done and came up with the following

Having a metadata::Any[] field seems important to me. It might seem useless for a Line or Circle where having a Dict to store the positions or radius arguments might suffice but take the example where one of the  argument itself is a Dict.
I think there is a slight problem with filling this metadata with the arguments like radius from a predefined drawing function like Circle. This is because until now I believe options and keywords added to the Object were explicitly added by the user which was available in the constructor itself. But now, it is the drawing functions which shall add such options in the metadata field. This is possible with an implementation like below

To change an end point for the line,
myline.metadata[1][:p1] = 12
or using some function like
change(myline, 1, :p1, 12)

The 1 here is definitely confusing and I'm not sure why we need a vector for metadata and push it to as we don't want to push something for every frame, right?

I think there is a slight problem with this. This is because until now options and keywords added to the Object were explicitly done by the user which was available in the Object constructor itself. But now, it is the drawing functions which shall add such options in the metadata field. The action functions for each object are called before this function returned by Line (draw_object). The case when an action function refers to a property like p1 (which does not exist yet) is when an error would occur. This is unavoidable since actions need to be evaluated on the object at the start of each frame.

Can you explain the problem here again? The points p1 and p2 are known, right? The problem is when we have something like pos(obj) such that the position depends on another opject. However I don't see how this is getting fixed by the other approach.
I was wondering whether we need a macro to make this work.

The way I look at metadata is something similar to what has been done in the GeometryBasics.jl package -> https://github.com/JuliaGeometry/GeometryBasics.jl/blob/master/src/metadata.jl#L181-L210.
Geometry types like Point, Polygon etc. can be with or without metadata. In case one wants to attach metadata to a geometry, then constructors viz. PointMeta, PolygonMeta are generated. Everything is stored as NamedTuples  inside a StructArray.

The 1 here is definitely confusing and I'm not sure why we need a vector for metadata and push it to as we don't want to push something for every frame, right?
Yes, we definitely don't need to push it for every frames. The Vector is for the case when a list of object functions are provided like `Object(1:100, [Line(p1, p2), Line(p2, p3)]).

Can you explain the problem here again? The points p1 and p2 are known, right? The problem is when we have something like pos(obj) such that the position depends on another opject. However I don't see how this is getting fixed by the other approach.

I was thinking that if points p1 and p2 needed to be changed somehow using a custom action, it could be done by storing an option for it in the object just like the way draw_text is provided for animating Latex text. Such an option needs to be added to the object in its constructor itself. But if Line(p1, p2) returns just a function then that would be called only through render.
Hey @Sov-trotter , I see the meta function which can be used to get back the metadata of an object. I had a question, is creating a meta type for Object what you are referring to or do you want it for the shapes Line, Circle etc. If it is the former, I believe the problem still occurs when you are trying to create the meta for the object, since that can happen inside the function returned by Line. I am not sure how it would be done for the latter since we do not have any predefined structs for them yet. My knowledge of macros is limited, please correct me if I am wrong 😅 .
We could use multiple dispatch and provide versions of the Object constructor for basic shapes like Line or Circle but that would simply complicate the implementation. On a side node, I need to create a similar method GraphNode which needs to store some metadata along with the node. This is because I modify them with actions to create animations.

So metadata can be attached to anything(not necessarily to shapes or an entire video). We obvoiusly don't need to stick with the implementation in GeometryBasics.jl since it's more tuned for geospatial data with millions of  rows of geometries and metadata.
But I'd like to have something on the same line in the future. Eg: In layers also I end up pushing a bunch of image matrices to the layer struct which I personally don't quite like from performance perspective.

We could use multiple dispatch and provide versions of the Object constructor for basic shapes like Line or Circle but that would simply complicate the implementation.

So that's why we can use a macro to generate meta() methods rather than multiple dispatch as that won't be inherently extensible.

I think this task in general has tons of possibilities. I am not yet ready with a concrete design yet. For now I think we need a general data structure/API to store not just the start point but any information in general, hence a mutable metadata field attached with each object.

I am trying to wrap my head around the way this is done in GeometryBasics.jl, so if we have a meta() method then we do not need the metadata field, right? This seems a desirable approach.

I was wondering whether we need a macro to make this work.

I think having a @Object macro solves the problem of assigning metadata to the currently created object. Having a macro, will allow partially creating an object (without a drawing function or any meta data assigned to it). Then the meta data assignment on the object can be done inside a custom shape function like Line. This will also allow using the nice syntax @Sov-trotter proposed i.e. meta(CURRENT_OBJECT[1], <some meta data>).
I am looking at a syntax like this
@Object(1:100, Line(p1, p2))
or
@Object 1:100 Line(p1, p2) O

This can also be extended to a list of objects
@Object 1:100 [Line(p1, p2), Line(p2, p3)] O

The separation can be thought to be made on whether a drawing function or a custom shape was being passed as an argument. What are your thoughts on it?

The problem we have with macros is that we can't use extensive dispatching functionality. I think we might be able to transform this into
Object(1:100, (args...; p1=p1, p2=p2) -> Line(p1,p2))

Not sure though whether that helps as we will have the same problem with things like:
@Object 1:100 Line(pos(o1),pos(o2))

where we want to call the functions at runtime. In that case it would only work if we just keep (args...)-> (without the kwargs)
but in that case we need a different way to use the change function to change those. One possibility there might be to use the metadata though. Maybe we can discuss this together @TheCedarPrince @Sov-trotter @codejaeger  next week?

Also, if the following manner of creating an object is supported
Object(1:100, [Line(p1, p2), Line(p2, p3)])

we will need to make the change keywords explicit to each "sub-object" or do some manipulation when calling the drawing functions of each "sub-object" individually so that only the keywords it requires are passed to it during calling it.
For my purposes of graph animation, I am using the syntax Object(1:100, (args...; p1=p1, p2=p2) -> Line(p1,p2)) to control animation with change function.

This shouldn't be closed just yet? Or a separate issue to address metadata related discussion?

I'm currently unsure of what you're referring to but maybe it's best to open another issue for it. 😊

I was referring to the fact that we still need a metadata implementation.


surfaceIntersection problem and keypress question

Hi @marcomusy
It's me again! I have been using vtkplotter a lot recently and it amazes me the amount of things one can do with it! Thanks for developing it!
This time I have two questions. The first one is related to using the function surfaceIntersection. I ran the example and it works fine, but I then changed the tube and put a cube instead, and I got no intersecting contours, even though the car and the cube where clearly intersecting.... I tried putting cubegrid instead, since that mesh could have more vertices than a simple cube, but again no intersecting contours... the error I got, which by the way made me restart the kernel is next:

I am interested in using this function to get the intersection of one of the meshes I have been processing using vtk with a cube/cubegrid (any will work) and was wondering if you have any idea why it is not working with the car example... I tried it with my mesh as well and didn't work either...
The second question I have is related the keypress.py script, where you define the function myfnc to create spheres in the positions you click and print the coordinates of those clicks. I was wondering if there is a way I can add the positions of the coordinates inside a list apart or instead of just printing them. I have tried changing the function, but did't know then how to recall the return as there is a particular way you call the function to be used inside the plotter....
def myfnc(key):
    sel_pts = []
    mesh = vp.clickedActor
    if not mesh or key != "c":
        printc("click a mesh and press c.", c="r")
        return
    #printc("clicked mesh    :", mesh.filename[-40:], c=4)
    printc("clicked 3D point:", mesh.picked3d, c=4)
    #printc("clicked renderer:", [vp.renderer], c=2)

    vp.add(Sphere(pos=mesh.picked3d, r=5, c="v"))

    sel_pts.append(mesh.picked3d)

    return sel_pts

vp.keyPressFunction = myfnc

Thanks again in advance for all you previous replies.
best wishes,
Juliana

Hi @marcomusy
It's me again! I have been using vtkplotter a lot recently and it amazes me the amount of things one can do with it! Thanks for developing it!

Thanks!

This time I have two questions. The first one is related to using the function surfaceIntersection. I ran the example and it works fine, but I then changed the tube and put a cube instead, and I got no intersecting contours, even though the car and the cube where clearly intersecting.... I tried putting cubegrid instead, since that mesh could have more vertices than a simple cube, but again no intersecting contours... the error I got, which by the way made me restart the kernel is next

are you sure you are not forgetting the triangulate()? This works for me:
from vtkplotter import *

car = load(datadir+"porsche.ply").alpha(0.2)

cb = Cube(side=8).triangulate().color("violet").alpha(0.2)

contour = surfaceIntersection(car, cb).lw(4)

show(car, cb, contour)

I am interested in using this function to get the intersection of one of the meshes I have been processing using vtk with a cube/cubegrid (any will work) and was wondering if you have any idea why it is not working with the car example... I tried it with my mesh as well and didn't work either...
The second question I have is related the keypress.py script, where you define the function myfnc to create spheres in the positions you click and print the coordinates of those clicks. I was wondering if there is a way I can add the positions of the coordinates inside a list apart or instead of just printing them. I have tried changing the function, but did't know then how to recall the return as there is a particular way you call the function to be used inside the plotter....

I would simply define a list outside the function scope (you don't need the global keyword in this case...):
from vtkplotter import *

mylist = []

def myfnc(key):
    mesh = plt.clickedActor
    if not mesh or key != "c":
        printc("click a mesh and press c.", c="r")
        return
    printc("clicked mesh    :", mesh.name, c=4)
    printc("clicked 3D point:", mesh.picked3d, c=4)

    plt.add(Sphere(pos=mesh.picked3d, r=0.1, c="b"))
    mylist.append(mesh.picked3d)

plt = Plotter()
car = load(datadir+"porsche.ply").alpha(0.2)
car.name = "Porsche"

cb = Cube(side=8).triangulate().color("violet").alpha(0.2)
plt.keyPressFunction = myfnc  # make it known to Plotter class
printc("\nPress c to execute myfnc()", c=1)

show(car, cb)

printc('all clicked coords:', mylist)

Hi Marco!
Every thing worked fine with your suggestions.
Many thanks


Uses urlSync

sorry for my bassic question.
I am in tryin to use urlSync lin in this demo https://preview.algolia.com/instantsearch/
I had try it but it didn't work like the sample.
this my code
var search = instantsearch({
  urlSync: true,
  searchParameters: {
        hitsPerPage: 12,
    },
});

search.addWidget(
  instantsearch.widgets.refinementList({
    container: '#refi',
    attributeName: 'refi',
    operator: 'and',
    limit: 10,
    templates: {
      item: facetTemplateCheckbox2,
      header: ''
    }
  })
);

when I click the refi list it isn't add in url like ?dFR[refi][0]=195 and when I write the url with that the filter didn't checked. but the data has filtering. is there any worses in my code?

Its Solved,
Thank.
by the way is there any way I can change the url code

hey, to change the url in code you can use the extended usage of the routing parameter (replaces urlSync. See the guide about that.
Feel free to ask more info if needed


Set env to extensionHost type in launch.json did not work

VSCode Version: 1.10.1
OS Version: MacOS 10.12.3

Steps to Reproduce:
I'm working on a vscode extension development, and my launch.json here:
{
    "version": "0.1.0",
    "configurations": [
        {
            "name": "Launch Extension",
            "type": "extensionHost",
            "request": "launch",
            "runtimeExecutable": "${execPath}",
            "args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
            "stopOnEntry": false,
            "env": {
                "NODE_ENV": "development"
            }
        }
    ]
}

And env seems not to be set. I try to follow the prompt here:
"node2" is no longer supported, use "node" instead and set the "protocol" attribute to "inspector".

And modify my launch.json like this:
{
    "version": "0.1.0",
    "configurations": [
        {
            "name": "Launch Extension",
            "type": "node",
            "protocol": "inspector",
            "request": "launch",
            "runtimeExecutable": "${execPath}",
            "args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
            "stopOnEntry": false,
            "env": {
                "NODE_ENV": "development"
            }
        }
    ]
}

But got the connection timeout error here:
Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ECONNREFUSED <IP_ADDRESS>:28486).

That error message about 'node2' is wrong. I think it was fixed by https://github.com/Microsoft/vscode/issues/21596, but the problem is that 'extensionHost' doesn't support the attribute 'env'. Right @isidorn?

@leozdgao Can you debug your extension using your initial launch.json configuration but without the env attribute?

@ramya-rao-a I'm not sure. I just want to find an approach to judge the debugging environment, so I could load some development configuration. Is there anyway to do so without set env? 😕

I was currently trying to narrow down if debugging the extension works at all to begin with. Hence the question about trying without the env attribute.

@ramya-rao-a Oh, debugging the extension works well. But the env configuration did not work.

@roblourens not sure if extensionHost supports env, forwarding to @weinand

The extensionHost debugger doesn't support setting the env.
But the nasty problem is that the error squiggly is completely misleading:

It flags the type "extensionHost" as wrong and not the illegal use of "env".
If the key value pair "foo":"bar" is removed from the env structure the error is flagged correctly:

@aeschli Is there a way to let your validator know that the "type" attribute is special (and has higher priority)?

@weinand BTW, is there anyway to know the code is running in the debug environment besides set env?

Currently this feature is blocked by #22233

@weinand It's difficult for the JSON validator to know which variant ('any of') is the right one.
Please file an issue against JSON.

@leozdgao with the latest Insiders build you can now access env variables in the extension that are defined in the launch config.


Unique Compound Index

Description
Within MongoDB you can have unique compound indexes (https://www.mongodb.com/docs/manual/core/index-unique/#unique-compound-index) - we ask if Flutter Realm would consider this for Realm.
How important is this improvement for you?
Would be a major improvement

This is tracked by https://github.com/realm/realm-core/issues/3860 for unique indexes and https://github.com/realm/realm-core/issues/1370 for composite primary keys. Unfortunately, we need support for this in Core before we can support in Flutter.

Thanks for the super fast reply @nirinchev - ok well was worth the ask, will solve with application logic. Have a good rest of week!

Any movement on this?

No, it's not on our immediate priorities list.


download from linkedin learning not woerking

[ ] I'm reporting a broken site support
[x ] I've verified that I'm running youtube-dl version 2021.04.26
[x ] I've checked that all provided URLs are alive and playable in a browser
[ x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x ] I've searched the bugtracker for similar issues including closed ones

Verbose log

Description
Cant download from linkedin learning

G:\New folder (2)\youtube_dl>youtube-dl --verbose --cookies .\cookies.txt "https://www.linkedin.com/learning/giving-your-elevator-pitch" -o "%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s - %(title)s.%(ext)s" --write-sub
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--cookies', '.\cookies.txt', 'https://www.linkedin.com/learning/giving-your-elevator-pitch', '-o', '%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s - %(title)s.%(ext)s', '--write-sub']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.04.26
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
[debug] Proxy map: {}
[linkedin:learning:course] Downloading JSON metadata
[download] Downloading playlist: Giving Your Elevator Pitch
[linkedin:learning:course] playlist Giving Your Elevator Pitch: Collected 5 video ids (downloading 5 of them)
[download] Downloading video 1 of 5
[linkedin:learning] welcome: Downloading 360p JSON metadata
[linkedin:learning] welcome: Downloading 540p JSON metadata
[linkedin:learning] welcome: Downloading 720p JSON metadata
[linkedin:learning] welcome: Downloading m3u8 information
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://dms.licdn.com/playlist/C4E0DAQGOwFX6f2fPqQ/learning-original-video-vbr-720/0/1598784134251?e=1619532000&v=beta&t=_MVpNMhHHw2BB2ZGJPpnQga81eRRdrOnOZLjGRKd-gA#.mp4'
[download] Giving Your Elevator Pitch\1 - Introduction\1 - Welcome.unknown_video has already been downloaded
[download] 100% of 31.87MiB
[download] Downloading video 2 of 5
[linkedin:learning] benefits-to-an-elevator-speech: Downloading 360p JSON metadata
[linkedin:learning] benefits-to-an-elevator-speech: Downloading 540p JSON metadata
[linkedin:learning] benefits-to-an-elevator-speech: Downloading 720p JSON metadata
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl\YoutubeDL.py", line 806, in wrapper
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl\YoutubeDL.py", line 827, in __extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl\extractor\common.py", line 534, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl\extractor\linkedin.py", line 127, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl\extractor\common.py", line 1374, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.


Highlight correct dataset while using custom tooltips and animation

Hello, I have implemented a horizontal bar chart in which I have custom tool-tips and onComplete animation. The issue now is that the whole bar is highlighted by default on mouser over no matter which dataset I position the cursor over.
Here is the screenshot showing the behavior:

Expected Behavior

The correct dataset must be highlighted (as it is normally).
Current Behavior
The whole bar is highlighted no matter which dataset I position the cursor over.

Possible Solution

Make sure that the correct index is received while highlighting the dataset.
Context

I'm currently trying to replicate the built-in behaviuor of an existent Highcharts horizontal bar chart.
Environment

Chart.js version:2.5.0

@hobaxo what is the hover.mode setting set to?

@etimberg: nearest as of this moment.

It is possible to put this in a fiddle so that we can see what's happening? I'm not sure where exactly the issue might be just from the image

Sure thing, actually the issue happens as soon as you stack the axes up, please see take a look at the fiddle: https://jsfiddle.net/hobaxo/aoccm3L4/4/

Sure thing, acutally the issue happens as soon as you stack the bars up. PLease look at the following fiddle:
https://jsfiddle.net/hobaxo/aoccm3L4/4/

@hobaxo the default hover mode is for all items at the same index. Changing that to 'single' which is the default tooltip mode gives https://jsfiddle.net/sk7Lgou3/

I didn't know about that detail @etimberg.
Thanks for your prompt help, I'm proceeding to close the issue.

Hi @etimberg, quick question: how do I set this up in the global options?
I've tried Chart.defaults.global.tooltips.mode = "single" and Chart.defaults.global.hover.mode = "single" and neither has worked for me.

Never mind, I was able to do it by setting this: Chart.defaults.horizontalBar.hover.mode


Completely Blank Site

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

App Id
d2ep79ifpnoq7t
AWS Region
us-east-1
Amplify Hosting feature
Frontend builds
Describe the bug
Using the provided link in the app https://main.d2ep79ifpnoq7t.amplifyapp.com nothing but a blank page loads.
All pages (routes) are blank. It's not exclusive to one page or the other. It's a complete fail.
I am only using the default URL provided by Amplify ( https://main.d2ep79ifpnoq7t.amplifyapp.com ). I want to point my DNS to the app but I'm not going to do it until I know if I have to use a different hosting service.
During build I received an error that I had to set images to unoptimized: true in next.config.js
I also had to set my build to next build instead of next build && next export. Because with that build setting pages with getServerSideProps could not be exported.
These are the build settings I am using.
version: 1
frontend:
phases:
preBuild:
commands:        - npm ci
build:
commands:        - npm run build
artifacts:
baseDirectory: .next
files:      - '/*'
cache:
paths:      - node_modules//*
Expected behavior
I expect to see the same site I see when I run next start locally.

Reproduction steps
Visit https://main.d2ep79ifpnoq7t.amplifyapp.com
Build Settings
version: 1frontend:  phases:    preBuild:      commands:        - npm ci    build:      commands:        - npm run build  artifacts:    baseDirectory: .next    files:      - '**/*'  cache:    paths:      - node_modules/**/*

Log output

# Put your logs below this line

Additional information
No response

It works fine in Vercel ( https://hydra-headless-23cqoo6de-joelucky39.vercel.app ). I believe it's an issue with the way Amplify uses environment variables ( or can't use them ).

#3436 I am also getting this issue

As per #3428, a Next upgrade should fix this.

Hi @joelucky39 👋🏽 What version of Next.js are you using?
If you are using version 12 or later please try running the following AWS CLI commands:
Update the application's platform:
aws amplify update-app --app-id <APP_ID> --platform WEB_COMPUTE --region <REGION>
Update the branch framework:
aws amplify update-branch --app-id <APP_ID> --branch-name <BRANCH_NAME> --framework 'Next.js - SSR' --region <REGION>

I'm using version 13. I'll update the platform and let you know. Thanks for your help.

When I run the first command I get, "Unable to locate credentials. You can configure credentials by running "aws configure"
I'll just stick with Vercel. Thanks.


Clarify drag interaction example to inform about ol.interaction.Translate

The example http://openlayers.org/en/v3.8.2/examples/drag-features.html is more or less a duplicate of ol.interaction.Translate from https://github.com/openlayers/ol3/pull/4008
Ideally, the example should probably be replaced by an example of using a custom interaction that is not implemented in the library. This PR only modifies the description, to inform the reader of ol.interaction.Translate and to focus a little bit more about it being a custom interaction than about the actual dragging.

Thanks a lot!

Post merge +1!
This sort of housekeeping is sooo important, thanks @alvinlindstam


Make uninstall depend on install_manifest.txt which shall be installed along with the files.

Fixed by #87


Next enhancements

[ ] Make interfaces for both storages so it can make components testable
[ ] Make the concrete storage classes to have internal ctors

First one can be checked off now, right?

Please update the README.md file to reflect these changes

Done! Have a look at #49


Bump version to "v11.2.16" with changelog.

Status checks are complaining that e2e-cli-win didn't run, but that doesn't seem to run for v11 PRs as it only runs nightly. Seems consistent for other v11 PRs, so I'll just skip that for now.

Release script failed to actually release to NPM. Trying again in https://github.com/angular/angular-cli/pull/22373.


[WIP] Resolved Cmake Config issues for binary generation

This PR is created for testing the Github Actions, still in testing stage

Seems an issue with PCL and boost on Windows..

Seems an issue with PCL and boost on Windows..


Create Brick UI flow

Create Brick UI Flow
Modified custom modal footer component to accept any number of buttons
Modified create cluster to adopt the changes in custom footer component

@cloudbehl Please review.


Improvements on registry persistence layer accessing

Need to go through persistence layer when accessing getAllAPIs() and doing product document related tasks

Fixed api product doc access https://github.com/wso2/carbon-apimgt/pull/9622

Fixed api product doc access https://github.com/wso2/carbon-apimgt/pull/9622

Fix getall apis access https://github.com/wso2/carbon-apimgt/pull/9626

Fix getall apis access https://github.com/wso2/carbon-apimgt/pull/9626


Material Data table master detail view

Bug, feature request, or proposal:
Feature request
What is the expected behavior?
You have done a great job on the Material Data table but there is an important piece of the puzzle that is missing. Can you please implement master detail view in Data table.
Thank you

material 2 is slow compare to other commercial UI libraries in terms of features & component set.
You can try devextreme if you are doing nonprofit work (free for them but fee for commercial use)
https://js.devexpress.com/Overview/Angular/

Agree that is slow dev but is more performant and of course design. Other commercial libraries are very very ugly. UX is also very bad. This is where material lib differentiates. Hope google dedicate more people on this promising project. Still wonder why they dont actuallt

Can you provide more information on what you are looking for?

@andrewseguin , i want to know your team whether have the plan to add Features for data-table such as:
Row grouping,  Complex headers (rowspan and colspan),  frozen column，  column resize,   stripe style,
the most import is row selection.
thanks you and your team's good work on material2

@stevenmi This ticket is for master detail view feature request. Any other features please open another ticket.
@andreseguin I am looking for a master detail view tablem It is very often that a table needs to be created in master detail view. It is core functionality of a datatable

@pantonis, I am looking for same feature set.
In fact, material 2 datagrid won't take array as datasource (got JSON from simple http call to express server). They have plan for Simple Table with following features (copy-paste from doc
In the near future, we will provide a simplified version of the data-table with an easy-to-use interface, material styling, array input, and more out-of-the-box features (sorting, pagination, and selection).
I am pretty sure providing above feature set will take sometime & adding master-detail will be next. Unless someone from dev team can update if I am wrong.
In meantime, devextreme datagrid provide same features with simple codebase.
https://js.devexpress.com/Demos/WidgetsGallery/Demo/DataGrid/MasterDetailView/Angular/Light/
BTW:  My current combo for UI library primeng + material 2. PrimeNG datagrid got everything - master/detail feature...ahh played with many UI libraries

@nni123 I am using primeng but it has lots of bugs and its design is not compared to material.
Also havent been able to find example of master detail of that datatable.

@pantonis
In meantime, devextreme datagrid provide same features with simple codebase.
DevExtreme datagrid with master/detail examples

Use DevExtreme for your next web project for free
with a non-commercial, non-competitive license
Sorry mod for posting third party info but relevant to the post.

@pantonis is this approximately what you're looking for?

Dupe of #6095 - will track this feature there

Still the #6095  does not answer this question/feature
The guys at #6095 talk about expanding rows and detail page.  like the screenshot that @willshowell posted above.

@pantonis is it not the same concept? Don't you wish to be able to expand a row to show additional details about it?

That is one part of the question. The other part is to embed another table inside the existing one.

Ah I guess I wasn't clear on the master/detail concept. I still think it's the same to embed a table. My expectation (very well could be wrong) is that you'll be able to inject any component, even one including a table, into the row.

I found this : https://www.npmjs.com/package/ngx-nested-data-table


Failed policy "Require a merge strategy" if branch policy excludes Basic Merge strategy

Describe the bug
When a branch policy is set up to limit merge types which disables the Basic Merge option, the "Require a merge strategy" policy check is flagged as failed.
The PR is therefore flagged as incomplete, even though all other policy checks may be satisfied.
To Reproduce
Steps to reproduce the behavior:

Set up a build policy with Limit Merge Types enabled, with Basic Merge disabled.
Create a pull request.
Resolve all build policies, if any others were specified.
Observe the pull request status in Pull Request Hub.

Expected behavior
The policy check icon is green.
All policy checks are completed.
Pull request status icon shows as green checkmark.
Actual behaviour
The policy check icon is red.
The policy check for "Require a merge strategy" is failed, even though the user does not set this until PR completion.
Pull request status icon shows as blue "waiting" icon due to pending failed policy checks.
Screenshots
Policy:

Pull Request Hub:

Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome
Version: 85.0.4183.121 (Official Build) (64-bit)

Additional context
When enabling the Basic Merge option in the policy, the policy check switches to passing.
Unchecking any merge option other than Basic Merge will cause the policy check to pass.
This only seems to affect when Basic Merge is unchecked/disabled.

Looking further into this issue, it seems to actually stem from what Microsoft's API is outputting.
In the call to policy evaluations, there is an entry for policy named "Require a merge strategy" with isEnabled = true, isBlocking = true, and status = "rejected".
I'm not sure if this is something I should take up with Microsoft instead (though I doubt they'd change anything anytime soon), or if there's anything that can be done here to ignore this from the policy list in Pull Request Hub?

I @MattJF90
I found a workaround. You can update policy configurations with the azure devops API. The problem seems to come from configuration policies with policyType=fa4e907d-c16b-4a4c-9dfa-4916e5d171ab (Require a merge strategy) which have "isBlocking": true by default. You just need to update the value to false and it works.
It's quick and dirty but it's really important in our management that we can quickly see which pull resquest needs an action...
For information, this does not seem to have any impact on the PRs completion (the policy remains active).
But I confess I don't understand why MS put this policy on blocking by default and why it can't be changed...


added desciption in meta tag

Fixes #184
Description
Added description in the meta tag for SEO & better social media sharing. This provides a description of the webpage while sharing at social media platforms.
Other information
I have also added another Lektor plugin called lektor-strip-html-tags, set at version 0.3.1.
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the master branch of the repository.
[x] My commit messages follow best practices.
[ ] I added tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@kgodey i will add the screenshot by tomorrow, ma'am. I had some trouble while deploying for testing.

@kgodey i will add the screenshot by tomorrow, ma'am. I had some trouble while deploying for testing.

Use ngrok or some other tool to expose your localhost and then you can share the URL on different social media website for testing.

Thanks for the advise @techievivek ..

@kgodey Pages like this which don't have a description at the starting of the page don't work properly with the current implementation and produce nonsensical output.
Screenshot:-

@kgodey @nik-gautam rather than splitting using dot(.) we can split using  and then get maybe the first item from the list.
This might work.🤔

@kgodey @techievivek using
 might work. I will test and report the results by tomorrow morning.
Thanks

I am having this error while splitting by

<meta property="og:description" content="<p class="lead">Join our Slack, IRC, or mailing list communities to meet other developers interested in Creative Commons, get feedback on your projects, and talk with CC's full-time engineering staff. You can also keep up with us on the <a href="/blog">CC Open Source Blog</a> or via <a href="https://twitter.com/cc_opensource">Twitter</a>.</p><h2 id="mailing-lists">Mailing Lists</h2>" />

The only solution, which I could think of, is to removing the unwanted string is using regex.

@kgodey @techievivek  I tried using this
set body = ((this.body|string).split("
")[0])|striphtmltags
but the error here is not all pages have the first p tag as description.
Like /community/ works fine with output:
<meta property="og:description" content="Join our Slack, IRC, or mailing list communities to meet other developers interested in Creative Commons, get feedback on your projects, and talk with CC's full-time engineering staff. You can also keep up with us on the CC Open Source Blog or via Twitter.Mailing Lists" />

but for /:
<meta property="og:description" content="" />
i.e no output
but it works for set body = ((this.body|string).split("
")[1])|striphtmltags

Try with closing p tag (
) rather than opening p tag.

Nope, that won't work either. As that also include the previous
& other tags before the first
 tag.

One thing you can try is once you have split based on closing p tag, now split the first time in the list on basis of closing h1 tag and then get the last item from the list, certainly that will be the content of the p tag.
You can try playing with it or else you will have to create a custom template tag to achieve all this.

I was hoping to use some regex. But sure, I will give this a shot too.

Sorry, my bad

@nik-gautam what is the status of this PR?

Sorry, I got really distracted with the current state, because I am stuck at hostel due to the lockdown in my country

@nik-gautam We need it to work for all pages before I can merge it. I understand that you may not have time to work on it, please let me know if you'll be unable to complete it.

@kgodey I tried using the plugin markdown-excerpt, which renders the first paragraph of Markdown, and its working. Previously I tried using the same but due to some issue I was unable to install and use it. But I tried it again today morning and it worked after some try.
Also in some of the pages, body part was not there so I used description to extract content.
(I just have a doubt whether we should give priority to description or body, from my view description can be given priority as it actually represents what the page is all about, so I will have to update my PR).
Otherwise, everything is working fine.
Please have a look at PR #212

@techievivek I agree that description should have priority, please update your PR. And thank you!

@kgodey I will soon update my PR and add screenshot for some of the pages.

@nik-gautam thank you for your work on this, it really helped us get to the right solution. I'm going to close this PR because the issue was fixed in https://github.com/creativecommons/creativecommons.github.io-source/pull/212.


Preferred locale provider returns correct language code

TXPreferredLocaleProvider used to rely on the NSLocale.autoupdatingCurrent property to fetch the current locale of
the device, but the property was not returning the correct language code.
The updated code looks into the preferredLanguages property list of the Locale class instead, and if that list is not empty (which is usually the case), picks the first language and sets it as the current locale, which reflects the user choice.
On top of that, a new unit test method is added that adds the greek language in the list of the preferred languages and asserts whether that language code is returned by the TXLocaleState.currentLocale property.
Last, some existing unit tests that were not running are not enabled.

Do we need to change the version of the SDK in this PR or not?


Make loggregator go-getable.

There is need to make loggregator go-getable. This issue documents the intended transition.
Goals:

Allow loggregator to be go-getable.
Make loggregator consistent with the rest of the bosh/cloudfoundry ecosystem. The bosh release
name is currently logggregator while it should be loggregator-release.
Do not break older versions of cf-release.

There are submoduled versions of loggregator in cf-release. These submodules point to
specific SHAs at https://github.com/cloudfoundry/loggregator. These SHAs for older versions
can not be updated and thus need to continue to work into the future.

Do not break older versions of cf-deployment.

cf-deployment currently pulls from https://bosh.io/d/github.com/cloudfoundry/loggregator
These URLs should continue to function for older versions of cf-deployment.

Preserve all github issues and PRs on the bosh release repo.

Desired End State:
There will be two repositories after this transition:

loggregator source (no bosh) located at https://github.com/cloudfoundry/loggregator
loggregator bosh release located at https://github.com/cloudfoundry/loggregator-release

Transition Proposal:
Phase 1 - The Move:

Move https://github.com/cloudfoundry/loggregator to https://github.com/cloudfoundry/loggregator-release

This will setup a redirect that will allow cf-release submodule to continue to function.

Update cf-release submodule to point to https://github.com/cloudfoundry/loggregator-release
Fix bosh.io:

We are not sure if bosh.io will continue to poll the repo for newer final releases. If it does not follow the redirect this will need to be fixed.
We will eventually want https://github.com/cloudfoundry/loggregator to be source code only without a redirect so bosh.io will need to:

Create a new release for https://github.com/cloudfoundry/loggregator-release
Hide https://github.com/cloudfoundry/loggregator and stop pulling from that repo for new releases. This is needed to allow old versions of cf-deployment to continue to be able to find releases.

Update cf-deployment to poll from the right bosh.io repo.

Phase 2 - Extracting Source Code:

Create a new repo at https://github.com/cloudfoundry/loggregator.

This will contain the entire history of the loggregator project, bosh release included.

Create an orphaned branch on https://github.com/cloudfoundry/loggregator that will be source code only.
Update https://github.com/cloudfoundry/loggregator-release to submodule https://github.com/cloudfoundry/loggregator
Updates to CI:

Add ability to bump the release repo.
Make the main pipeline function the same as statsd-injector-release and cf-syslog-drain-release.

@dsabeti @cppforlife We would appreciate your input on this migration as it involves bosh.io, cf-deployment, and cf-release. We will be doing it in the next week or so.

as mentioned in this slack conversation there is an edge case that isn't explicitly mentioned in this issue. As soon as the new loggregator repo is created the github redirects will break. This breaks old cf-release since they will be pointing at a sha that doesn't exist. @enocom pointed out that the team is aware of this edge case and are planning to include all the loggregator-release commits on a branch in the new loggregator repo

@jvshahid Is there a contract for cf-release that we won't break older versions? How long would we have to wait?

@apoydence There's never been an explicit contract, but we've tried never to break old versions of cf-release. However, since we're going to sunset cf-release soon in favor of cf-deployment, I'd say the deadline for supporting the backwards compatibility would be cf-release's deprecation (2-3 more months from now).

@jvshahid @dsabeti @apoydence
cf-release will not be broken. Note in the issue:

This will contain the entire history of the loggregator project, bosh release included.

This will contain all SHAs that cf-release links against.
We will not break cf-release.

@jasonkeene Would that imply that we would forever have bosh concerns in the loggregator repo? I would hope at some point we could remove those and decouple ourselves a bit.

@apoydence The "bosh concerns" would be isolated to an orphaned branch. It would only be a problem when cloning the repo down since you would get all the objects from the past when "bosh concerns" were a thing.  Luckily git is pretty good at packing objects into .pack files so it isn't a big cost.

PR to update bosh.io to use the new repo URL: https://github.com/bosh-io/releases/pull/20

PR for cf-deployment to use the new bosh.io URL: https://github.com/cloudfoundry/runtime-ci/pull/18

Done! Closing.