text:
Agregar el link del nuevo video

Falta Agregar el link del nuevo video del 2020 al readme
https://www.youtube.com/watch?v=X5cZ-z7q014

gracias :) pero ahora tengo que hacer otro video ya que se reescribió el plugin, saludos. Para la versión 4 de godot

authors: MatiasVME zkmark

repo: MatiasVME/Persistence


text:
ci: merge staging to master

This is an automatic PR generated by the pipeline CI/CD. This will be automatically fast-forward merged if successful.

Pipeline Attempt on 983562782 for 1c8f31e55efe012a94639ea1b7cf045012ddbea3
https://gitlab.com/MatrixAI/open-source/js-events/-/pipelines/983562782

Pipeline Succeeded on 983561161 for a6416772139d363515ae361aecc85d7dc0ef6e51
https://gitlab.com/MatrixAI/open-source/js-events/-/pipelines/983561161

Pipeline Succeeded on 983562782 for 1c8f31e55efe012a94639ea1b7cf045012ddbea3
https://gitlab.com/MatrixAI/open-source/js-events/-/pipelines/983562782

source: gharchive/pull-request

repo: MatrixAI/js-events

license_type: permissive

license_source: github-api


text:
Account maintenance: Forgot Userid/Change Password

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
When setting up a new Midas account, the dialog text emphasizes that the password cannot be changed after creating it.
Describe the solution you'd like
I did find links as part of the Midas web console (https://midasweb.energy.ca.gov/Login) that do work:
https://midasweb.energy.ca.gov/Pages/AccountMaint/ForgotUsername
https://midasweb.energy.ca.gov/Pages/AccountMaint/ForgotPassword
I did try these, they both work, you provide the email you registered with:  Forgot username will email you your username, forgot password will send you a link allowing you to reset your password.
Describe alternatives you've considered
Could provide links to these in the dialog or documentation.  Or provide custom dialogs as part of the integration to perform these actions.  Maybe not needed enough to provide anything but links in doc.
Additional context
Thank you for creating this Midas integration, so useful!

Well would you look at that! I'll go ahead and update the login dialog strings and add these links to the documentation and the reauthenticate dialog

This will be available in version 0.2.1 shortly

source: gharchive/issue

authors: MattDahEpic MattTW

repo: MattDahEpic/ha-midas

license: MIT


text:
Whole project / feature branch

Welcome, Dear Reviewer!
In this PR, I essentially have everything that is necessary for the React&Redux capstone project:

The project is an SPA
The project has Redux structure and logic
It is combined with React structure and logic
I use an external API, that displays certain information on my home page
We can click on each element to be guided to a new page, where more details can be seen
We have a 'back' button that takes us back to the home page
There are tests for the components
The project is deployed on netlify
There is a loom video, where I talk about the project
I used the blue color palette that was also in the design template
I use the updated readme-file

Big thanks to @zieeco for the detailed review! I did my best, and as far as I can tell, fixed all the issues, everything is solved based on the comments!

Hello @MattGomb👋,
This is an additional review as a result of the second opinion request.
As I can see, this PR has been approved. Good luck with your future project.
Keep rocking 🚀!


text:
Switch to a collection for twitter feed

https://dev.twitter.com/web/embedded-timelines/collection
/CC @jdorfman

So much 👍

authors: XhmikosR jmervine

repo: MaxCDN/bootstrap-cdn

license: mit

license_source: bigquery


text:
Fixes Decoding of Empty String

Prior to this fix, we found that decoding an empty string (represented as a null element), <string/> was confusing the decoder. I can't seem to find any issues logged. Perhaps @jsbean has an idea where these might be hiding...?
I'm also building up to a PR that addresses the array-of-empty-elements issue, but I am trying to disentangle the changes we merged into a separate branch!

This one is now ready for your review, @MaxDesiatov ! Thanks

@bwetherfield I'm ready to review this again when conflicts are resolved 🙂

Thanks, @MaxDesiatov ! I also need to add back the missing test :) Will keep you posted

OK - should be ready for review! Thanks, @MaxDesiatov

My apologies, @MaxDesiatov - should be in now!

authors: MaxDesiatov bwetherfield

repo: MaxDesiatov/XMLCoder


text:
feat(server): rcore-dispatch compatibility

Pull Request Description
Added support for rcore-dispatch. (Not tested in-game)
Major Changes

Support for rcore-dispatch

Modifications done

[x] 🍃 New Feature
[ ] ♻ Refactor
[ ] 🐛 Bug Fix
[ ] 🎨 Design
[ ] 🔥 Optimization
[ ] 🎒 Other

Thanks @SvampbobDev !


text:
Volume mapping for models still downloads models on image update

In your README.md you say
"${APPDATA}/subgen/models:/subgen/models" is just for storage of the language models.
This isn't necessary, but you will have to redownload the models on any new image pulls if you don't use it.

Unfortunatly, my language models are still downloaded each time i pull my new docker images? Is this by design? Or am i doing something wrong?
# Extra Subtitles
  subgen:
    container_name: subgen
    image: mccloud/subgen
    networks:
      t2_proxy:
        ipv4_address: ${T2_PROXY:-192.168.90}.215
    environment:
       - "WHISPER_MODEL=medium"
       - "WHISPER_THREADS=4"
       - "PROCADDEDMEDIA=True"
       - "PROCMEDIAONPLAY=False"
       - "NAMESUBLANG=AI"
       - "SKIPIFINTERNALSUBLANG=eng"
       - "WEBHOOKPORT=9000"
       - "CONCURRENT_TRANSCRIPTIONS=2"
       - "WORD_LEVEL_HIGHLIGHT=False"
       - "DEBUG=False"
       - "USE_PATH_MAPPING=False"
       - "PATH_MAPPING_FROM=/tv"
       - "PATH_MAPPING_TO=/data/tvshows/"
       - "TRANSCRIBE_DEVICE=cpu"
       - "CLEAR_VRAM_ON_COMPLETE=True"
       - "HF_TRANSFORMERS=False"
       - "HF_BATCH_SIZE=24"
       - "MODEL_PATH=./models"
       - "UPDATE=True"
       - "APPEND=False"
    volumes:
       - ${DOCKERDIR}/subgen/models:/subgen/models
       - /mnt/user/tvshows:/data/tvshows
       - /mnt/user/movies:/data/movies

Assuming ${DOCKERDIR} is a valid path on your host, that’s exactly how mine is configured and I haven’t redownloaded a model in over a year (I only use medium).

It sure is a valid path and volume. But it's still downloading 6gb image?

If you’re talking about on docker re-pull, there is approximately a 6-8gb layer that has the cuda stuff.  That is not the whisper model.

Ah, that clears things up.

authors: McCloudS Tuumke

repo: McCloudS/subgen


text:
Adding add_layer function to handle layer parameters

define_layers() function can be quite confusing with the addition of parameters.
So instead added add_layer() function creating one layer with layer name, flags and opacity parameters.

Thanks for the help!

authors: azagaya deakcor

repo: MeanLight-Studio/piximp


text:
CLI: fix the help for compression abreviation

Signed-off-by: Florent Tribouilloy florent@mediaarea.net

B)

authors: dericed tribouille


text:
Add componentizer and other enhancements

- fix recycler non-resizing element edge-case
- propagate index in recycler
- provide index/key binds in componentized templates

👍

LGTM 👍

authors: anthonykoerber dlasky jcmoore

repo: MediaMath/strand


text:
Inconsistent prediction with fetmrqc20

The predictions of fetmrqc20 are inconsistent when run on a file with all IQMs extracted or one with only the fetmrqc20 IQMs extracted. This should not be the case.

#17 Fixes the issue.


text:
单机多卡训练，在eval阶段，除主进程外的其余进程全部消亡

单机多卡训练，在eval阶段，除了主进程，其他进程全部自动结束，并没有阻塞等待主进程完成eval，并且主进程eval结束后卡死，nvidia-smi显示rank0的卡usage为100%，其余卡均无占用。

使用最新的代码，遇到同样的问题
1.使用官方代码python tools/train.py -n yolox-x -d 8 -b 64 --fp16 -o ，数据集COCO
测试200个epoch的训练中检结果，
python tools/eval.py -n  yolox-x -c yolox_x.pth.tar -b 1 -d 1 --conf 0.001 --fp16 --fuse
进程卡速卡死，GPU占用100%

我也遇到同样的问题，第一次eval结束之后，输出了eval结果，就卡死了，只有一张卡一直是100%占用，而且没有看到保存best模型

同

同

同样的问题

authors: QWERDF007 YuNaruto ahong007007 huqiyii ladyxuxu sUtomorrow

repo: Megvii-BaseDetection/YOLOX


text:
Benchmark against the bvh crate

Hey, I think this is a very interesting project! I maintain the bvh crate and I think it'd be super interesting to see a benchmark between this. I suppose yours will be many times faster but I'm very interested to see just how fast.

Hey! Thanks! Nice to hear from you and I totally agree. I had actually been meaning to compare bvh libraries in Rust but just never really had the time. To be honest, my current benchmark isn’t very representative either (it just traces the same ray over and over) so I’m open to new ideas.

Okay, so I spend this weekend testing a fair bit and found these things:

Your AABB intersection code was faster than mine which I found interesting.
Using an iterator to traverse the bvh was up to 30% faster in most cases so I implemented that in my library as well, although I do not exactly understand why (maybe compiler optimizations?). The traversal code is very similar so it must be some weird iterator optimization that the Rust compiler is able to make.
My benchmark single ray app was not representative as I expected so I wrote a simple visualizer this morning and it gave me these numbers on a teapot:

bvh 0.5: ~45 MRays/s
rtbvh (spatial): ~66 MRays/s
rtbvh (spatial mbvh): ~94 MRays/s
rtbvh (binned sah): ~64 MRays/s
rtbvh (binned sah mbvh): ~91 MRays/s

Construction times for a teapot are as follows:

rtbvh spatial: 27.574 ms, 0.513 ms for its mbvh
rtbvh binned sah: 3.3 ms, 0.361 ms for its mbvh
bvh 0.5: 10.332 ms

I have not yet added packet traversal to the visualizer, that will be my next step :)

Interesting, thanks! Might be good to add this to your README or somewhere.

authors: MeirBon svenstaro

repo: MeirBon/rtbvh


text:
Check that imports use the same letter-case as module name (derived from file name)

@dagtveit stumbled upon issue related to having two instances of the same module that was intended to be singleton:

I am trying to share a service class across nested custom elements. but the service class dosnt have the same values.

He found out that it was caused by inconsistent letter-cases

it was due to that i wrote small d in documentData in one of the imports and big D in the other one. laaaaaaaaalllalalalal hhehehehe

It reminded me, that I had made the same mistake once, and it took me also a bit time to figure out the problem.
It would be nice, if the linter would detect this issue as well.

May be better to issue an warning if the case of the file name is not exactly the same as what was requested. For one, that in itself could be a problem on linux installations set up to be case sensitive.
Either way, its easier to check for this in the reworked code.

repo: MeirionHughes/aurelia-template-lint


text:
[#208] Create RoomsManagerComponent

Ligretto (1).webm

@Themezv В этом ПР е2е сломались. Наверное, отдельным ПРом пофиксим?

@Themezv В этом ПР е2е сломались. Наверное, отдельным ПРом пофиксим?

Сложно фиксить? Сможешь помочь Сергею пофиксить?

@Themezv В этом ПР е2е сломались. Наверное, отдельным ПРом пофиксим?

Сложно фиксить? Сможешь помочь Сергею пофиксить?

На первый взгляд, ничего сложного, просто поправить локаторы.
@shyamrupadas вечерком, как будет время, пиши - поправим

authors: Themezv oximon shyamrupadas

repo: MemeBattle/monorepo


text:
Support for UIStackView

How can we add animation to UIStackView using Spring?

You can make a SpringStackView, but indeed you need a public initializer, thats why i made this PR: #201
If you this should be added to the main repo you can make comments there to support the merge. Thanks

authors: RishabhTayal txaiwieser

repo: MengTo/Spring


text:
Swift3

Updated Reame.md

@MengTo Forgot this.

@MengTo updated to Xcode 8 beta 3.

@MengTo Please merge.

Updated for Xcode 8 beta 4

@MengTo Please merge this PR.


text:
[Back-end] - Favoritar um mentor

Iremos implementar uma feature onde irá possivel favoritas um mentor;
Devemos criar um campo "favoriteMentors" ou similar na entidade usuário e fazer duas mutations:
1 - Adicionar um mentor aos favoritos
2 - Remover um mentor dos favoritos

Estou me responsabilizando por essa task

authors: MattSilverio oliveirabalsa

repo: Mentor-Cycle/mentor-cycle-be


text:
[Logger] The circlebuffer will fail after 2^32 bytes written

A synch to reduce the
totalConsumedMemoryInBytes
and
totalProducedMemoryInBytes
back to zero (or the actual difference) is of interest.
This function here is where it fails.

Not valid anymore. No longer uses this approach.

repo: Meraz/doremi


text:
UserWarning: Reached maximum number of 50 sequences for plotting, some sequences will not be plotted.

For this warning, while I am analysing metagenome contigs, can I change some deepbgc parameters to incorporate all the results in plot.

Unfortunately this limit is hardcoded, if you want to see all the sequences in the plot, you can:

Split the input contig files into maximum 50 sequences per file and process them with DeepBGC separately
Plot the results yourself using the score column in the output .pfam.tsv file.

Thanks @prihoda

authors: prihoda thinkgenome

repo: Merck/deepbgc


text:
insultgenerator 🅱roke

FIX IT FIX IT REEEEEEEEEEEEEEEEEEEEEEEEE

Hey, HEY!
I don't have access to a computer so we are screwed. Abandoned ship, it's over.
... I'll try and use this hotel computer. give me like 10 minutes

Bunch of plebs just sitting on the chairs where the computers are, my social anxiety is too strong for me to them to Leave.

Tell them*

Actually, I cant really figure out the problem on this computer.
Whats the error?

insultgenerator is a DEAD WEBSITE. it is on a parked domain thingy. turrdurr

if you want it to work you need to use something else

I cant test it from this computer, let me know if it works.
probably not

lolno@urnotgettingmypcname:~/insults/discord-spam-bots$ python3 discord_insult_spam.py
File "discord_insult_spam.py", line 20
print (insult_list)

^

IndentationError: unexpected indent

Try it now,  if not I'll definitely fix it today.

File "discord_insult_spam.py", line 20
await client.send_message(discord.Object(id=DiscordChannel), insult_list[0] +" "+insult_list[1] +" "+ insult_list[3])
^
IndentationError: unexpected indent

sheeet it messed up the spacing

  File "discord_insult_spam.py", line 20     await client.send_message(discord.Object(id=DiscordChannel), insult_list[0] +" "+insult_list[1] +" "+ insult_list[3])     ^ IndentationError: unexpected indent

Well, for some reason its not fully working for me at least.
Hoping its just this computer.
Everything should be working, also changed the login from user and pass to token.

fixed everything.

authors: Merubokkusu Technoturnovers

repo: Merubokkusu/discord-spam-bots


text:
Test and fix CSET_ADDOPTS with lists

Description

Fixes #568
Contribution checklist
Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.

[ ] Documentation has been updated to reflect change.
[x] New code has tests, and affected old tests have been updated.
[x] All tests and CI checks pass.
[x] Added an entry to the top of docs/source/changelog.rst
[ ] Conda lock files have been updated if dependencies changed.
[x] Marked the PR as ready to review.

happy with changes, please go ahead and merge.

authors: Sylviabohnenstengel jfrost-mo

repo: MetOffice/CSET


text:
[BUG]搭配openclash使用tun模式会出现启动失败

openclash使用meta内核,运行模式为tun,在启动时常常会遇到[tun接口启动失败,尝试重启内核],一般会自动重启一次meta内核后正常开启,偶尔会重启两次后正常开启.使用p核则无此问题.

考虑到这个 issues 没有使用正确的模板格式，我们决定关闭它。
如果你有需要请遵守模版开启新的 issues。
Considering that this issue did not use the correct template format, we decided to close it.
If you need to, please follow the template to open new issues.

repo: MetaCubeX/mihomo


text:
#34 Point THE SOURCE to github/MetaFam instead of SourceCred

Updated the link to point to the main MetaFam github from where users can navigate to whichever sub-project they'd like to contribute to

I thought the "Code" is for github repo and Source for the Sourcred visualizer? except the one it points to is outdated
This is the updated one http://xp.metagame.wtf/#/explorer

I thought the "Code" is for github repo and Source for the Sourcred visualizer? except the one it points to is outdated
This is the updated one http://xp.metagame.wtf/#/explorer

This website isn't being deployed anymore, unfortunately there's some cached CDN somewhere still serving up the old homepage instead of the proper one

This website isn't being deployed anymore, unfortunately there's some cached CDN somewhere still serving up the old homepage instead of the proper one

I thought the "Code" is for github repo and Source for the Sourcred visualizer? except the one it points to is outdated
This is the updated one http://xp.metagame.wtf/#/explorer

I don't think it makes sense to point it to the 'sourcecred' specifically.
Any newcomer going on that homepage seeing a link to 'THE SOURCE' will either just not now at all what it is, or will associate it with the 'sourcecode'.
If it is indeed supposed to point to Sourcecred, then I think we should consider changing the link name to something that is less confuseable with sourcecode

I thought the "Code" is for github repo and Source for the Sourcred visualizer? except the one it points to is outdated
This is the updated one http://xp.metagame.wtf/#/explorer

I don't think it makes sense to point it to the 'sourcecred' specifically.
Any newcomer going on that homepage seeing a link to 'THE SOURCE' will either just not now at all what it is, or will associate it with the 'sourcecode'.
If it is indeed supposed to point to Sourcecred, then I think we should consider changing the link name to something that is less confuseable with sourcecode

This website isn't being deployed anymore, unfortunately there's some cached CDN somewhere still serving up the old homepage instead of the proper one

Ah, is it supposed to go directly to the wiki now? That's what I'm seeing now...

This website isn't being deployed anymore, unfortunately there's some cached CDN somewhere still serving up the old homepage instead of the proper one

Ah, is it supposed to go directly to the wiki now? That's what I'm seeing now...

authors: Misanth420 derjogi hammadj

repo: MetaFam/MetaGameWebsite


text:
Prevent redundant token rate updates

Explanation
The TokenRatesController was updating token rates each time any state change event was recieved, even when the change was totally unrelated.
The controller now ignores irrelevant state changes. Only relevant state changes will trigger token rate updates.
References
Fixes #1466
Changelog
@metamask/assets-controllers

Fixed: Prevent the TokenRateController from making redundant token rate updates

Checklist

[x] I've updated the test suite for new or updated code as appropriate
[x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[x] I've highlighted breaking changes using the "BREAKING" category above as appropriate

This depends upon #1511

repo: MetaMask/core


text:
Does not work on Windows

Unfortunately this doesn't work on windows. Out of the box I get a classnotfound exception (jackson object mapper) while running the project on the command line using maven 3.3.9 and jdk 1.8.0_92x64 on windows 7 Enterprise 64 bit. This looks like a bug in cassandra-all 3.5. When up or downgrading to 3.7 or 3.4 the surefire plugin fails with the following message: "The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?" This is due to the cassandradaemon calling System.exit on stop. Surefire doesn't handle test cases that make those calls. Circumventing this call is not a solution because the daemon is unable to stop the jvm and the test will hang-up.
This is probably insurmountable but maybe a heads-up in the readme is fine for now.

I finally came around to look into this. Sorry for the delay, I had some busy weeks. After setting up a windows dev environment (Win10, jdk1.8b92-x64) I can at least say that the problem occurs during shutdown. Omitting tearDownCassandra() from the test is a workaround, it will leave the data files lying around though.

I found that actually Cassandra itself is killing the JVM on purpose. I added some documentation about that to the README. The actual solution would be #3.

authors: e-karge peter-janssen

repo: MeteoGroup/cassandra-embedded-for-test


text:
Слияние в master - только через Pull request с проверкой на appveyor

Стоит отработать защиту основной ветки.
В продолжение #189.
О скриптах клонирования репозитория на appveyor - https://github.com/appveyor/ci/issues/899

https://github.com/Metrolog/Font.GOST2.304-81/settings/branches/master
Защиту включил. Будем пробовать на версии 0.7


text:
Hack Request - Pull CPU Goalie Earlier when Losing

User story
Add the functionality for the CPU to pull the goalie earlier in the 3rd period. Also if losing by more than 2 goals.
Possible Solution

[x] Trace when the CPU goalie is pulled in the 3rd period and losing by 1 or 2 goals
[x] Review the code that is run when this happens and see what ram values are used and can be modified.
[x] Make this configurable in the Config.asm file
[x] Mesen Trace File

Actual Solution

Added 2 entries to the config.asm file to modify time remaining when cpu pulls goalie and how many goals they are losing by.
Added CPUPullGoalie.asm patch file to patch the rom based on the config values.
Documented the function in depth, added rom / ram values found to the diz file and the excel file
Marked a lot of new code in diz from bsnes live trace logging

Acceptance criteria

[x] Game Play - CPU Goalie is pulled at the time configured in the config.asm file when losing by 1-x goals.
[x] Updated SNES NHL94 ROM-RAM Mapping Project with any new values.
[x] DiztinGUIsh DizRaw file is up to date and has any necessary comments with changes.
[x] Provided brief description of the actual changes (Solution) performed.

Sprint Ready Checklist

[x] Acceptance criteria defined.
[x] Identified solution / steps to satisfy acceptance criteria.
[x] Acceptance criteria is verifiable / testable.

Closing Issue

Debug Screen Shots
Goalie getting pulled with 1 minute left

Goalie getting pulled when there is a penalty

Goalie being put back in after the penalty

license: Unlicense


text:
Update stable version in repo from 0.2.0 to 0.3.0

Think about update stable version to 0.3.0
Version: stable=0.2.0 (164 days old) => latest=0.3.0 (15 days old)
Installs: stable=492 (73.76%), latest=111 (16.64%), total=667
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!

Is there any reason to delay updating stable any longer?
Please drop a commit if you know any reason to refrain from updating.
If there is no response until 27.01.2024  we could decide to update anyway.

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 0.3.0 but the current stable version is already 0.3.0.
So this issue should be closed.


text:
how to just list the affected packages without building them ?

silly question maybe but couldn't find the solution.
I have changed a package in my local nixpkgs and I would like to know how many packages it impacts (ie. number of package that will need rebuilding) out of curiosity (and also to decide which merge branch to target). Usually I rely on ofborg but it's pretty slow lately.
Is there a way to run nixpkgs-review to just list the impacted packages without rebuildings them ? or another script/solution/ like a public ofborg script I could run locally ?

There is ./maintainers/scripts/rebuild-amount.sh  in nixpkgs

amazing, I've been contributing for years without knowing about this ^^'' . Thanks a lot

authors: Artturin teto


text:
default calendar needs to use ical as a dependency vs self embedded library.   we are woefully behind

Please only submit reproducible issues.
If you're not sure if it's a real bug or if it's just you, please open a topic on the forum: https://forum.magicmirror.builders/category/15/bug-hunt
Problems installing or configuring your MagicMirror? Check out: https://forum.magicmirror.builders/category/10/troubleshooting
When submitting a new issue, please supply the following information:
Platform: Place your platform here... give us your web browser/Electron version and your hardware (Raspberry Pi 2/3, Windows, Mac, Linux, System V UNIX).
Node Version: Make sure it's version 0.12.13 or later.
MagicMirror Version: Now that the versions have split, tell us if you are using the PHP version (v1) or the newer JavaScript version (v2).
2.10
Description: Provide a detailed description about the issue and include specific details to help us understand the problem. Adding screenshots will help describing the problem.
changes are occuring for the ical data format, and we cannot keep because  the base ships the ical and rrule libraries, vs using npm dependencies for them,
Steps to Reproduce: List the step by step process to reproduce the issue.
Expected Results: Describe what you expected to see.
Actual Results: Describe what you actually saw.
Configuration: What does the used config.js file look like? Don't forget to remove any sensitive information!
Additional Notes: Provide any other relevant notes not previously mentioned. This is optional.

We have used it as a dependency before, but that gave a lot of issues back then. Might be a good idea to give it another try, though!

see #1922

I've got an issue with a yearly repeated event that is shown in the calendar as a monthly recurring event.. Seems related to the mentioned issues

Please do this, there's lots of issues with the calendar.

Should be closable since https://github.com/MichMich/MagicMirror/pull/2048 got merged @sdetweil ?

authors: MichMich mdissel rejas rossburton sdetweil

repo: MichMich/MagicMirror


text:
53 dnssd_clientstub deliver_request: socketpair failed 24 (Too many open files)

I was tried this package, but got error:
The following SocketException was thrown resolving an image codec:
Connection failed (OS Error: Too many open files, errno = 24), address = c.tile.openstreetmap.org, port = 443
....

tell me more details

authors: Michael-M-aher normidar


text:
Feature Request: Modify Video

If possible it would be great if this endpoint could be added
https://developers.video.ibm.com/channel-api/channel.html#Edit video details

Sure, I'll add it over the weekend.

Released in v1.7.0
view code

repo: MichaelJamesParsons/ustream-nodejs-sdk


text:
Change 'x' to '✓'

After #57
Changing 'x' to '✓' is better for most people understanding~

Diff

This is awesome, thanks @blade254353074.

@MicheleBertoli You are welcome 😝.

repo: MicheleBertoli/css-in-js


text:
Numbering of single-use objects outside of the customer's license range to perform data correction tasks and similar cases

In Navision 2009 with Classic Client it is possible to change the License of the Customer for the one of the Partner to be able to create objects of a single use that allow us to execute processes of massive correction of data...
I can not find a way to do it in Business Central OnPremise under the Web Browser, so I wonder how we have to do that kind of maintenance tasks with Extensions now?
If it can be done, I would need directions on how to proceed ...
If it can not be done, I would need indications of how this typical OnPremise maintenance case is covered.
There is some numbering, type or subtype or any special object, not errors when executing it with the final Customer's license and that allows to design this type of processes, usually of a single execution, to test them in the QA environments and to promote them to the PROD environments to execute them from any IT administration console?

I am not aware that this is still possible but please reach out to support since this is outside of the scope of AL compiler/feature suggestions.

Hi @StanislawStempin ,
can you put here de URL where can I ask this?
Thanks in advance.

authors: JavierFuentes StanislawStempin

repo: Microsoft/AL


text:
[UWP][iOS] \r Creates new lines

Platform

iOS
UWP

Issue
\r characters are adding new lines in UWP while in iOS the new lines are not generated
Json payload:

samples\v1.2\Elements\Column.BackgroundImage.json

Javascript and .Net also don't respect \r or \n or \r\n.

@almedina-ms FYI i've moved this out to our backlog outside of 1.2.  tx

@paulcam206 out of curiosity, where did we land with this discussion again and \r \n handling?

authors: RebeccaAnne almedina-ms shalinijoshi19

repo: Microsoft/AdaptiveCards


text:
builder.Prompts.text not working after being hosted remotely

I have a simple bot that fetches news articles based on a user prompt. The entire flow works fine locally using emulator but after being deployed to a server the bot fails when it hits a builder.Prompts.text block. Below is my code and you will see a "Asking article count" prompt which is where it stops in flow.

Bot shows accepted when testing on the BOT Framework page
Bot is receiving messages via WebChat and Slack
Bot also shows 0 issues for each channel after interacting

var bot = new builder.UniversalBot(connector);
var intents = new builder.IntentDialog();
bot.dialog('/', intents);

var HHCC = require('./hhcc.js');

intents.matches(/^news/i, [
    function(session) {
        console.log("Intent Given!");
        session.beginDialog('/news');
    },
    function(session, results) {
        session.send('Enjoy reading!');
    }
]);

bot.dialog('/news', [
    function(session) {
        console.log("Asking article count");
        builder.Prompts.text(session, 'How many articles would you like to see?');
    },
    function(session, results) {
        session.sendTyping();
        session.conversationData.count = results.response;
        HHCC.getNews(session.conversationData.count, session, function(newsArticles) {
            newsArticles.forEach(function(newsCard) {
                session.send(newsCard);
            });
            session.conversationData.news = newsArticles;
            console.log(newsArticles);
            session.endDialog();
        });
    }
]);

server.post('/api/messages', connector.listen());

Ive checked all logs and can't seem to find any clues as its failing pretty silently.

@mcclaskiem a couple of quick questions:

When hosted remotely have you tried connecting to your bot using the emulator? Does that work?
Have you tried just doing session.send("I heard %s", results.response); just to verify you're making it to you next waterfall step?
You do realize Prompts.text() is going to return a string? I would have expected you to use Prompts.number() which will return a number.

@Stevenic I was able to figure out the issue. The .env file was not being read locally or on server by simply dropping in the example provided. I needed to add node_module to allow the bot to read the .env file and ultimately allow for messages to flow back and forth.
You might want to consider changing how the test functionality works in the dashboard since it continued to give me "Accepted" even though it wasn't actually testing against the creds.

Hey mcclaskiem,
Thank you for reporting this issue.  I'm going to  close it out now, since everything appears to have been resolved.

authors: EricDahlvang Stevenic mcclaskiem

repo: Microsoft/BotBuilder


text:
I can't edit the endpoint after edit once, the only way is to restart it if I want to update endpoint

After open emulator(V4 PREVIEW), I can get the menu (edit setting, open in emulator, remove) first time. it doesn't show my change to uri and name, and also I can't get the menu when I click right mouse button.

Are you able to open the dev tools (ctrl + shift + i) and look in the console for uncaught errors? This would help in diagnosing the issue.

authors: justinwilaby zongbingwang

repo: Microsoft/BotFramework-Emulator


text:
Expose JSRT Apis to control ES6 experimental features

Currently, JsRuntimeAttributeEnableExperimentalFeatures flag is the only way to turn ON all the ES6 experimental features. Instead have a JSRT API / enum to expose more flags that user can use to control which experimental features should be turned ON/OFF (similar to --harmony-* that v8 has).

@liminzhu - FYI

Such an API would require us to forever support feature flags.  Something to carefully consider since this sounds like a fine-grained doc modes feature and could potentially burden us at some point in the future.
Are there clear merits to having an API with such fine grained control?

What if we accept string based hints? Discard unrecognized ones. Less robust but possible to maintain.

Interesting idea @kunalspathak. I'd like to add on @ianwjhalliday 's comment though and ask about the merits of having the ability to handpick experimental features to turn on. Seems to me that in most cases you would want none/all of the experimental features on.

@ianwjhalliday , I agree that this will be similar to fine-grained doc modes, but in scenarios that I recently faced, we need to have some handling to turn off specific experimental ES6 feature based on behavior of host. I have often seen node scenarios expose ES6 features like Proxy, SIMD on global object only if specific flags are passed to it.
We can have an ability using some kind of string based hints that @jianchun  pointed which will let host control the features exposed by engine.

Looks like we are approaching the node scenario with compile flags rather than an JSRT API. Do we still need an API for this?

@liminzhu , don't think we need it for now.

Ok @kunalspathak. I'm going to close the issue and we can re-open this if one day we see a use case.

authors: ianwjhalliday jianchun kunalspathak liminzhu

repo: Microsoft/ChakraCore


text:
Enabling split scope in lambda and adding more test cases

Contains the following changes for split scope,

Enabled split scope in lambdas.
Created a separate test file for default param's split scope tests.
Changed the logic for marking the split scope creation. With this
change the split scope will be created only if one of the formal parameter
is captured by a function definition in the param scope.
Fixed couple of issues with nested split scopes.

@pleath @akroshg @tcare @abchatra Can you please take a look?

Very nice and elaborative set of test cases.

Agree with Akrosh, comprehensive test cases.

Any update here?

The comments in thread are addressed in the pull request https://github.com/Microsoft/ChakraCore/pull/384

authors: abchatra akroshg aneeshdk tcare


text:
Ensures in override not proven

I have overridden TypeConverter.ConvertFrom and attempted to Ensure the return value is not null. The base TypeConverter class doesn't ensure this, so I am making the postcondition stronger in my custom implementation.
From my understanding, inheritance works like:

If a subclass overrides the behavior of a method of a base class (or implements and interface), the preconditions it specifies can only be equivalent to or weaker than the base class
If a subclass overrides the behavior of a method of a base class (or implements and interface), the postconditions it specifies can only be equivalent to or stronger than the base class.

From this description, I should be able to have a stronger postcondition in the subclass (non null return) and have it respected by the analysis tool, however in practice this isn't working.
Is my interpretation incorrect or is this a bug in the static analysis?
Sample code:
CustomTypeConverter converter = new CustomTypeConverter();
object converted = converter.ConvertFrom(null, CultureInfo.CurrentCulture, value);
Contract.Assume(converted != null, "Contracts analysis doesn't realise that the non null return was ensured, the below code gives an 'unboxing null reference' warning");
this = (CustomType)converted;

Inside the typeconverter, something like:
public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value)
{
	Contract.Ensures(Contract.Result<object>() != null);
	return "example";
}

You are correct in the theory of modifying contracts. Note that just as an implementation decision, Code Contracts does not allow you to weaken preconditions, but only to strengthen postconditions.
It looks to me as if that is a bug in the static checker. However, now that Francesco is not working on the project any longer, it isn't clear if there is anyone who will be able to fix it.

repo: Microsoft/CodeContracts


text:
Use dynamic modules for closures instead of -CaptureContext

This branch replaces every use of -CaptureContext with dynamic modules, via either NewBoundScriptBlock (when functions needed to be captured) or GetNewClosure() (when only variables needed to be captured.
I pursued this primarily as a startup time optimization (in my measurements with a Release build, I saw a ~1 second improvement in startup CPU time, ~1.5 second improvement in wall time; running from source with a debugger hooked sees a much larger benefit). However, it does also seem like a much more maintainable option than Get-PSContext as well

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

A couple notes I forgot to add:

I don't have particularly high confidence in the quality or thoroughness of my testing, since I wasn't sure how to test a number of the pieces.
I didn't update the PreserveHeaderContext case yet because I only noticed it this morning.
I didn't take out any of the existing CaptureContext handling (which means there are still a number of defensive SetContextStartMarker calls that could be removed for further startup time improvement!). Happy to add it on to the pull request if you'd like :smiley:

Thank you for sending this! Sorry for being slow to respond; life got busy and then I had some hardware failure on top of that. I will try to get some time to review this over the next week or two.

No worries, you still responded in under 24 hours so that definitely doesn't count as slow 😄
After much gnashing of teeth, I managed to come up with something that I think is semantically equivalent to -PreserveHeaderContext with the Get-PsContext approach: https://github.com/Zhentar/DbgShell/commit/608a98f80a32b6a22983b452d7bed6e1b0e4b4bd
Unfortunately it requires reflection to call an internal method on ScriptBlock. I presume that will be a no-go*, so I won't update the pull request with it. (Oh, the pull request updates automatically. I'll just revert the commit tomorrow then)
* I think it's fine, but I'm also totally comfortable with detouring code by overwriting jitted code in memory so maybe you shouldn't entirely trust me

NewBoundScriptBlock, where've you been all my life?! 😍
(I see it's been around a long time; but if I ever knew about it, I'd forgotten--what a handy little method!)

I presume [internal reflection] will be a no-go

Well... of course it would be better if we could do it without reaching into internals... but I don't particularly like the existing solution, either.
What was the purpose of calling into DoInvokeReturnAsIs? Is it just so that dollar underbar ($_) is set, or is there more to it?

Oh! Forgot to explain over here too; posted a bit of a description in  https://github.com/PowerShell/PowerShell/issues/8208
Getting the script block to execute in the module scope and have underbar populated is difficult at best... $input and/or $args (or as bound parameters) are easily doable, though.

authors: Zhentar jazzdelightsme msftclas

repo: Microsoft/DbgShell


text:
Correct ARM64 SIZE_OF_JMP from 8 to 16 and spell out 2*4 as 8.

This is a lot of bytes to overwrite, and it precludes
patching a number of small-ish functions, but it is how many.
For example, automatic following imports, has lead to system service stubs,
that were smaller than this (and aligned less than this).
Part of this change:
Change 112950 by REDMOND\galenh@galenh2 on 2016/11/07 16:24:57
Build_340: Fix compilation error on ARM64.  Fix jmp region calculations on ARM & ARM64.
Affected files ...
... //depot/969/3.0/README.TXT#58 edit
... //depot/969/3.0/src/creatwth.cpp#61 edit
... //depot/969/3.0/src/detours.cpp#69 edit
... //depot/969/3.0/src/detours.h#68 edit
... //depot/969/3.0/src/detver.h#46 edit
... //depot/969/3.0/src/disasm.cpp#56 edit
... //depot/969/3.0/src/image.cpp#51 edit
... //depot/969/3.0/src/Makefile#57 edit
... //depot/969/3.0/src/modules.cpp#56 edit
... //depot/969/3.0/src/uimports.cpp#48 edit

Pedro will be reducing this from 16 to 12 shortly.

repo: Microsoft/Detours


text:
What is the response time on new threats?

With "Microsoft Security Advisory 4021279: Vulnerabilities in .NET Core, ASP.NET Core Could Allow Elevation of Privilege" aspnet/Announcements#239 and aspnet/Mvc#6246 the case for this tool is even stronger.
However, if we would adopt this tool, what's the response time and tooling flow for us to get these advisories incorporated asap?
Ideally, our daily CI builds would spot this as soon as a security advisory can be detected by the tool.

At the moment DevSkim doesn't have a robust story for scanning project dependencies for known security issues - it currently is just doing vulnerable pattern analysis of source code.  We are designing/prototyping different approaches to analyzing manifest and project files for known vulnerable (or abandoned/deprecated) dependencies.  Since we are still designing that we are a fair ways out for being able to talk about what our response time would eventually be when a new bulletin is released (though ideally we would be feeding off of NVD or other vuln feed, and able to automatically update as soon as details are available from whatever feed we use).  As a stop gap, I'll talk with @scovetta about a much more immediate (and fairly hard coded) solution for the advisory above.
I would encourage you to also open an issue under the Roslyn Analyzers (or respond to Barry's advisory post asking for an analyzer).  It would really behoove the .Net community to have a built in analyzer that at the very least alerted when using a built in component that has a bulletin issued for it  (if you are unfamiliar with Roslyn, its the .Net compiler.  It supports analyzers that expand its analytic capabilities beyond just syntax errors, and as it is the compiler, its incredibly easy to integrate into CI builds since it is already part of the build.  Here are more details and links to some security relevant analyzer, ).  The .Net Security Guard project might also be interested in adding a dependency checker to their Roslyn analyzer package

Closing stale issues.

authors: bgever gfs joshbw

repo: Microsoft/DevSkim


text:
PushImageAsync() fails due to JSON deserialisation error

On Docker.DotNet 3.135.0, when pushing to Amazon ECR, the IImageOperations.PushImageAsync() operation fails due to a JSON deserialisation error for the Aux property on the JSONMessage class.
The exception is:
Newtonsoft.Json.JsonSerializationException: 'Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.IList`1[System.Byte]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'aux.Tag', line 1, position 34.'

A sample response that triggers this issue is:
{"progressDetail":{},"aux":{"Tag":"test","Digest":"sha256:632b303bfca97e96eff8ee1a7c91191778a61fc3aecc5285c6e89d0ffe130000","Size":2814}}

Interesting. The issue is that in go *json.RawMessage is actually a []byte type. So in C# we translate that to the IList<byte> in specgen.go. The documentation of JSONMessage.Aux indicates that its a dynamic object. As I see it there are two options:

Skip Aux in the output (do you need it?)
See if IDictionary<string, object> will give you the key value pairs but you will have to do all of the object value reflection yourself.

Ideas?

I personally don't need Aux so we could remove it and replace it with:
[JsonExtensionData]
public IDictionary<string, object> ExtensionData { get; set; }

That way we don't lose information and don't make assumptions on the type of Aux?


text:
Error while adding HealthClinicbiz project to VSTS

Hi there,
I am trying out the devops on HealthClinicbiz project on VSTS. But unfortunately i can't map the workspace directory since the project exceeds the 260 characters of the filenames. Can anyone suggest me here?
Regards,
Srivatsa

We also have the build definitions in VSTS connected to GitHub. Which kind of build definitions are you using? The workflow one or the new one? If you are using the new one...in which directory is your agent working directory? I install it in "c:\agent" not to have too long after cloning the repo.

Sorry for the confusion here. I meant i wasn't able to add the project from my local drive to Team Project in VSTS.

If you can, you could use VSTS with git instead of TFVC.

PFA screenshot

After cloning from GitHub have you open or build any solution? Some of them have npm dependencies that Visual Studio restarts automatically. Check if you have any "node_modules" directory & try to remove it.
Of course, you can clone again the repo from GitHub to be sure that is clean and try to upload to your VSTS again. I think that you could also use the "git clean -dfx" command to remove the files/directories that are not also in GitHub.

Cool. Thank you, let me try and get back to you...
Thanks,Srivatsa
On Thursday, 28 January 2016 7:22 PM, Ibon Landa <notifications@github.com> wrote:

After cloning from GitHub have you open or build any solution? Some of them have npm dependencies that Visual Studio restarts automatically. Check if you have any "node_modules" directory & try to remove it. Of course, you can clone again the repo from GitHub to be sure that is clean and try to upload to your VSTS again. I think that you could also use the "git clean -dfx" command to remove the files/directories that are not also in GitHub.—
Reply to this email directly or view it on GitHub.

authors: SrivatsaMarichi ibonilm


text:
Fixed SurfacePlane functionality in Editor

Added method BoundedPlane to build from Transform.
In SurfacePlane Awake, set plane to BoundedPlane from self transform.
In SurfacePlane Start, update the surface plane.
Note that UpdateToSurface is delayed until start so that SurfaceMeshesToPlanes.Instance can be initialized by the it's Awake call. Setting the plane must happen in Awake so that modifications when instantiated dynamically aren't overwritten.

#34

OK, I tested this change to make sure that it does not impact our other spatial mapping projects/components. Looks good, so merging the pull request now.

Excellent! Thanks!

authors: angelaHillier jwittner

repo: Microsoft/HoloToolkit-Unity


text:
Fix index out-of-range exception generated by BaggingHelper on small datasets.

Prior to this change, the line "score_t threshold = tmp_gradients[top_k - 1];" would generate an exception, since tmp_gradients would be empty when the cnt input value to the function is zero.

@mjmckp Thanks very much !
I think this function https://github.com/Microsoft/LightGBM/blob/master/src/boosting/gbdt.cpp#L192-L206 should be updated as well.

authors: guolinke mjmckp

repo: Microsoft/LightGBM


text:
MRDesignLabs Bounding Box Problems

I need help please and I ask you to be patient with me.
This is very concerning to me because I do not know what is going wrong and this is something I need to implement into my projects ASAP.
I have been trying for almost a month to try to get the bounding box to function and I am not successful.
I have followed everything that I can reference online to get this bounding box to function and nothing seems to be helping. I have set it up before but only with a simple 3D box element,
The way I have set things up is by putting the Appbar and Bounding box into the main hierarchy. Then I have added the Box Collider, Bounding Box Target and Compound Button to the parent layer of an imported FBX asset. This FBX prefab within my hierarchy has multiple layers of child objects.
The Hololens prefab is also within my hierarchy.
Please let me know what else I should be adding or give me some ideas as to what I could look for. Maybe I should ask if the Bounding Box is meant for prefab with multiple layers.
Thank you!
@Railboy #has helped me before regarding this issue.

This issue probably belongs in the MR Design Lab repo, or as a comment in the MR Design Lab Merge PR

Thank you I will post there.

authors: StephenHodgson tspaddock

repo: Microsoft/MixedRealityToolkit-Unity


text:
InvalidOperationException when editing Python code

When I was editing some Python code, the following error occurred:
Build: 15.7.18116.1

System.InvalidOperationException: Collection was modified after the enumerator was instantiated.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.Queue`1.Enumerator.MoveNext()
   at System.Linq.Enumerable.LastOrDefault[TSource](IEnumerable`1 source)
   at Microsoft.PythonTools.Intellisense.LocationTracker.CanTranslateFrom(Int32 version)
   at Microsoft.PythonTools.Intellisense.VsProjectAnalyzer.<GetNavigationsAsync>d__174.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudioTools.UIThread.<>c__DisplayClass18_0`1.<<InvokeTask>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Navigation.DropDownBarClient.<RefreshNavigationsFromAnalysisEntry>d__36.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Navigation.DropDownBarClient.<Microsoft-PythonTools-Editor-IPythonTextBufferInfoEventSink-PythonTextBufferEventAsync>d__35.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Infrastructure.VSTaskExtensions.<HandleAllExceptions>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)

I used Ctrl+X without selection to cut a line, then I moved the cursor and started typing. Right before a message box with the exception info appeared there was a 1-second lag (I was still typing during that lag, but dunno if that's relevant).

Thanks! Duplicate of https://github.com/Microsoft/PTVS/issues/4176

authors: huguesv mkow

repo: Microsoft/PTVS


text:
Update version from 3.0.0.0 to 3.1.0.0.

https://github.com/Microsoft/PTVS/issues/2400

Only the files in ptvsd should have to change - everything else can remain 3.0 because we haven't changed their format.

Please double check, it should limited to the ptvsd files now.

authors: huguesv zooba


text:
Web app / API required permissions issue

I thought I would do a little testing to see if I could get the reports in needed but came across some issues, its more than likely my set up but here we go
Testing against PC Sandbox
$clientSecret = '...............'
$clientSecretSecure = $clientSecret | ConvertTo-SecureString -AsPlainText -Force

Add-PCAuthentication -cspappID '.....................' -cspDomain 'sandbox.onmicrosoft.com' -cspClientSecret $clientSecretSecure

First tests work no problem
$PCCustomers = Get-PCCustomer -all
$PCCustomers.companyProfile | sort companyName

if i try the following command, I get an error
Get-PCCustomerLicensesDeployment -tenantid $customer.id

Invoke-RestMethod : The remote server returned an error: (403) Forbidden.
...

There are other commands that I cannot use too so I guess this is a permission for web app / api?
Could some one tell me what exact permissions are required please
Thanks in advance

Anyone?

I have the exact same issue.
Invoke-RestMethod : The remote server returned an error: (403) Forbidden.
At C:\Program Files\WindowsPowerShell\Modules\PartnerCenterModule\0.9.0.17\PartnerCenterProfiles.psm1:351 char:17

... $response = Invoke-RestMethod -Uri $url -Headers $headers -ContentTyp ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

You cannot call a method on a null-valued expression.
At C:\Program Files\WindowsPowerShell\Modules\PartnerCenterModule\0.9.0.17\PartnerCenterProfiles.psm1:352 char:5

$obj += $response.Substring(1) | ConvertFrom-Json

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (:) [], RuntimeException
FullyQualifiedErrorId : InvokeMethodOnNull

Hi @JimBobUKII and @MortenRei ,
There is a large number of methods that can only be called using NativeAppId+User+Pass. This is a PartnerCenterAPI requirement, not something we enforce on powershell module side.
$credential = Get-Credential
Add-PCAuthentication -cspappID '' -cspDomain '' -credential $credential

I actually found the fault for this error, and it's almost unbelievable..
Try to set a much easier password on the account your authenticating with, and don't use any special chars to begin with. See if that does solve your problem. If yes, experiment with creating more robust passwords.

authors: JimBobUKII MortenRei PauloRamosGit

repo: Microsoft/PartnerCenterPowerShellModule


text:
Fix XAML bindings

Adjust fix for #1507: VS crash: ObjectDisposedException for MarshalingWindowFrame (we don't actually need to show REPL when PM is loaded - we just need to start it).

👍

authors: AlexanderSher MikhailArkhipov

repo: Microsoft/RTVS


text:
Type narrowing fails inside a closure

TypeScript Version:  2.2.1-insiders.20170217
Code
Playground (you need to enable strict null checking)
type Option<T> = T | null;
type Foo = ["foo", Option<string>];

export function broken(foo: Foo) {
    let [, maybeStr] = foo;

    if (maybeStr) {
        str(maybeStr);

        () => str(maybeStr);

        str(maybeStr);
    }
}

function str(_: string) {}

Expected behavior:
No error
Actual behavior:
        () => str(maybeStr);
                  ~~~~~~~~
Argument of type 'Option<string>' is not assignable to parameter of type 'string'.
  Type 'null' is not assignable to type 'string'.

Apparently this is because it is not a const binding!

repo: Microsoft/TypeScript


text:
Incorrect behavior of type guard after assignment

TypeScript Version:  2.4.1
Code
toFilterOptions<TDefinition>(
    src: { id; def: TDefinition }[],
    name?: ( id, def: TDefinition ) => string,
    sort?: string | ( ( id, def: TDefinition ) => any ) )
{
    sort = sort; // Remove this line to fix the problem

    const fnGetSortField = (typeof sort === "string" )
        ?  _.property( sort )   // Here sort is string
        :  ( ( x: { id, def: TDefinition } ) =>  sort( x.id, x.def ) ); // ERROR: here it is still: string | ( ( id, def: TDefinition ) => any )

    // return ...
}

Expected behavior:
I expect that on the negative branch of the ?: expression "sort" will have type ( id, def: TDefinition ) => any
Actual behavior:
It is still string | ( ( id, def: TDefinition ) => any ). If you'd remove the "sort = sort" assignment then things get fixed.

It is still the same in TS 2.9.1

The compiler can not verify the type when the function is called. it does not know when or if the function will be called. See https://github.com/Microsoft/TypeScript/issues/16928 for more details.
declaring the variable as const gives the compiler assurance that the variable will not change until the function is called. There is an additional feature that the compiler treats a parameter that is never written to as const. you assigning to it invalidates that assumption and we are back to the base case.

It makes sense. Thank you for explanation!

authors: AndrewMayorov mhegazy


text:
Type inference fails in JSX if union type is involved.

TypeScript Version:  2.4.2
Code
type Props<T> = PropsBase<string> | PropsWithConvert<T>;

interface PropsBase<T> {
    data: T;
}

interface PropsWithConvert<T> extends PropsBase<T> {
    convert: (t: T) => string;
}

function InferenceFail<T>(props: Props<T>): JSX.Element {
    return <div />;
}

InferenceFail({data: '1'});
const test = <InferenceFail data={'1'} convert={n => '' + n} />;
InferenceFail({data: 2, convert: n => '' + n});

Expected behavior:
All lines should compile.
Actual behavior:
The JSX version does not compile.
Removing the type union, the JSX version is able to compile
Possibly related: #17295

This no longer errors in our nightlies, but I hesitate to call it "fixed". The signature is being instantiated in a way which is inconsistent with the types of the members passed; for example, in <InferenceFail data={'1'} convert={n => '' + n} />;, InferenceFail has signature function InferenceFail<"1">(props: Props<"1">): JSX.Element, but data has the type string, and convert has the type (n: any) => string. The callback is incorrectly typed, which is the big issue here.

@weswigham That's not the same semantics as far as I can tell.
    data: string | T;
    convert?: (t: T) => string;
}

This would allow me to have T be int, but not provide a convert function.

@alshain correct. I was merely pointing out a similar instance where we performed inference correctly. In any case, we should do inferences correctly in master/the nightly since #17790 is merged.

authors: alshain weswigham


text:
Incompatible code unexpectedly compiles due to intersection with empty mapped type

TypeScript Version:  Version 2.7.0-dev.20171109
Code
type Args<S extends string, N extends string> = Record<S, string> & Record<N, number>

declare function f1<S extends string, N extends string>
    (strs: S[], nums: N[], fun: (args: Args<S, N>) => void): void

declare function takesNum(args: {a: number}): void
declare function takesOptionalNum(args: {a?: number}): void

f1(["a"], [], takesNum) // *** unexpectedly compiles despite incompatibility of "a" ***
f1(["a"], ["b"], takesNum) // Now correctly errors because of incompatibility of "a"

f1(["a"], [], takesOptionalNum) // *** unexpectedly compiles despite incompatibility of "a" ***
f1(["a"], ["b"], takesOptionalNum) // Now correctly errors because of incompatibility of "a"

Expected behavior:
All calls to f1 should error because takesNum and takesOptionalNum expect a to be a number but it will actually be a string.
Actual behavior:
It only errors if the second argument to f1 is not empty.
Also the first case shown above: f1(["a"], [], takesNum) actually errored as expected as recently as last week(I believe I was on 2.7.0-dev.20171031), it was only the optional case that unexpectedly compiled. I was about to open this for just the optional case when I checked the latest typescript version and noticed the first case started being affected also.

Also interesting is if you change takesNum:
declare function takesNum(args: number): void

f1(["a"], [], takesNum) // now errors of course but with the totally incorrect inferred type of Args:

// Error:(20, 15) TS2345: Argument of type '(args: number) => void' is not assignable to parameter of type
// '(args: Args<"a", "toString" | "toFixed" | "toExponential" | "toPrecision" | "valueOf" | "toLocaleString">) => void'.

FYI was looking through changes recently to guess what caused the behavior change and it seems almost certain to be #19745 so maybe this behavior is expected? Looking at the original bug(#19576) that was addressing I can see it'd be a very fine needle to thread to somehow both fail in my example and compile in the #19576 example.
I did discover that I can work around half of my problem by doing:
type Args<S extends string, N extends string> = Record<S, string> & Record<N, number>

declare function f2<S extends string, N extends string, F extends (args: Args<S, N>) => void>
(strs: S[], nums: N[], fun: F): void

declare function takesNum(args: {a: number}): void
declare function takesOptionalNum(args: {a?: number}): void

f2(["a"], [], takesNum) // Now correctly errors because of incompatibility of "a"

f2(["a"], [], takesOptionalNum) // *** Still unexpectedly compiles despite incompatibility of "a" ***
f2(["a"], ["b"], takesOptionalNum) // Now correctly errors because of incompatibility of "a"

But as the comments show, the optional case still works incorrectly even after that.

Should be addressed by https://github.com/Microsoft/TypeScript/pull/19912

I think this is working as intended and it isn't affected by #19912. In this call
f1(["a"], [], takesNum);

we make the inference "a" for S from the first argument and no inferences from the second argument (or, following #19912, a low priority inference of never for N). Then, from the third argument, we make the inference "a" for both S and N. All up this means we infer "a" for both type arguments. Once we instantiate with those inferences we get
f1(strs: "a"[], nums: "a"[], fun: (args: Args<"a", "a">) => void): void;

which is equivalent to
f1(strs: "a"[], nums: "a"[], fun: (args: { a: string } & { a: number }) => void): void;

which is a signature for which all of the arguments are compatible.

authors: ahejlsberg kpdonn mhegazy


text:
Suggestion: support ||= compound assignment

Perhaps there is a good reason for this but I never understood why the compound assignment ||= is not part of js. This would be helpful to ensure a variable to be defined.
Given:
let a = {"key":"value"}

This would let us write:
a.key ||= "default";
a.anotherKey ||= "anotherDefault";

Instead of
a.key = a.key || "default";
a.anotherKey = a.anotherKey || "anotherDefault";

Of course we could have used
a = {...a, key:"default", anotherKey:"anotherDefault"}

But as a general case, this should work on any variable
let a;
a ||= "default";

instead of
let a;
a = a ||"default";

As much as I've personally wanted this, we really can't do this without it being added to ECMAScript itself, since adding syntactic features that aren't strictly on the type side doesn't fit into our design goals.

authors: DanielRosenwasser Xample


text:
getEditsForFileRename missing change 2

Config/tsconfig.json
{
  "files": [
    "../Script/file1.js",
    "../Script/file2.js"
  ]
}

Script/file1.js
import "./file1";
export const c = 1;

Script/file2.js
import { c } from "./file1";
c;

In VS, rename file1.js to file3.js.
Expected: All three files are updated
Actual: file2.js is not updated
Expected: file3.js is in the configured project Config/tsconfig.json
Actual: file3.js is in Miscellaneous Files (i.e. the inferred project) and closing and re-opening it doesn't help

Probably related to #25327.

Since tsconfig.json is in a separate directory, we never find it when looking for a config for file1.js (we only look in parent directories). If we don't have a config we only know about files that have been opened so far. That means if you haven't opened file2.js yet, we don't know about it and don't update it. I've tested and it works if I open file2.js before doing the rename.

Marking as a design limitation since we would have to search the whole file system looking for tsconfig.jsons.

Oops, I totally forgot to mention the file states.  Yes, tsconfig.json and file1.js were open, file2.js was closed.  Having file1.js and the tsconfig.json file open doesn't help?

I don't think opening a tsconfig.json file in the editor normally affects tsserver -- vscode doesn't seem to send an open event. @sheetalkamat might know more.

@andy-ms is right. json files arent opened through tsserver and for ts/js files the config files are looked only in ancestor directories.

But the configured project is open, isn't it?  Because file1.ts is open?  Would it make sense to also search open projects?

There won't be a configured project if the config file isn't found, it will just be an inferred project.

I moved the tsconfig into the same folder as the scripts (and updated the paths accordingly), but the closed file (file2.js) is still not updated.

Does the folder containing the tsconfig have to be a strict ancestor?

I tried the same thing in VS Code 1.25.0-insider (26eb2a9af5827d71e1f65096c0ce712c5ad2740d) and only file1.js was updated (not tsconfig.json or file2.js).

I tried again with the tsconfig in a parent directory and then again without a files property.  At the moment, I'm unable to find a case where a closed file in a configured project is updated based on a file rename.

@andy-ms can you take a look at the closed file case @amcasey mentioned?

Oops, I switched from ts to js without thinking about it and forgot to add allowJs - that's why the closed file wasn't being updated.

Question: should tsconfig.json warn when the files list contains files that won't be compiled?

@andy-ms, the possibly related "deleted files" issue was filed as https://github.com/Microsoft/vscode/issues/53466.

authors: amcasey andy-ms mhegazy sheetalkamat


text:
Support union type as index signature parameter type.

Given:
interface Foo {
  [key: string | number]: boolean;
}

I get
bleh.ts(2,4): error TS1023: An index signature parameter type must be 'string' or 'number'.

A workaround is:
interface Foo {
  [key: number]: boolean;
  [key: string]: boolean;
}

But, I need to match up the type of value, boolean. Since it's a repetition, it could be useful to programmers to specify index signature parameter type as string, number, string | number, or number | string.

If your string and number indexers are the same then you don't need to do this. A string indexer subsumes the numeric indexer. If there's something more involved for indexer types you needed maybe #2049 is relevant.

authors: danquirk saml


text:
Rest parameter with modifier is allowed

Even though the TS spec's grammar doesn't seem to permit it, the following is now allowed:
class C {
    constructor(...public rest) {
    }
}

Seems to have been introduced by 80edb2de4a058ccd8594d8faad5f8e1f4cbe8962.

Did we really not have a compiler baseline for this?

We really did not

authors: DanielRosenwasser JsonFreeman danquirk


text:
es6 modules must not export unexported identifiers

TypeScript Version:
master
Code
// lib.d.ts
export interface Public extends Private {
}
interface Private {
}
// index.ts
import {
  Public,
  Private // should be an error
} from './lib.d';

cannot repro:
// a.ts
import {
  Public,
  Private // should be an error
} from './b';
// b.ts
export interface Public extends Private {
}
interface Private {
}

node built\local\tsc.js a.ts
a.ts(3,3): error TS2305: Module '"D:/Playground/TypeScript/b"' has no exported member 'Private'.

update:
// lib.d.ts
export interface Public {
}
interface Private {
}
// index.ts
import {
  Public,
  Private // should be an error
} from './lib.d';

I also test on v1.7.5, latest and next.
$ npm i typescript@1.7.5
$ node_modules/.bin/tsc index.ts --noEmit -m commonjs
index.ts(3,3): error TS2305: Module '"lib"' has no exported member 'Private'.

$ npm i typescript@latest
$ node_modules/.bin/tsc index.ts --noEmit -m commonjs

$ npm i typescript@next
$ node_modules/.bin/tsc index.ts --noEmit -m commonjs

@vladima please refer a declaration file.

yes, I can repro this: per comment here
 // A declaration source file or ambient module declaration that contains no export declarations (but possibly regular
 // declarations with export modifiers) is an export context in which declarations are implicitly exported.

this function checks if declaration file contains export declaration or export assignments however it does not take into account exported declarations which is certainly strange.
// does not report error
// m.d.ts
export interface Public {
}
interface Private {
}
// index.ts
import {
  Public,
  Private // should be an error
} from './m';

// reports error
// m.d.ts
interface Public {
}
interface Private {
}
export {Public};
// index.ts
import {
  Public,
  Private // should be an error
} from './m';

However adjusting the behavior will be a breaking change - pinging @mhegazy for the opinion.

Can you revert this change? Do you need any more info? @vladima @mhegazy

well.. this is by design. the export modifier is optional in an ambient context. everything is implicitly assumed to be exported. the rational is, if you are writing one of these .d.ts files by hand, you do not want to keep writing export everywhere.
changing this would be a massive breaking change. just look at how definitelytyped files do not use export on all exported declarations. so i do not think we can do this.
As @vladima noted, using an export statement export {Public} changes this rule. While this is a subtle distinction, this is the only way to make export statements work without breaking all the pre-1.5 definitions out there.

authors: falsandtru mhegazy vladima


text:
Use originalFileName (fileName of input project reference file) to resolve module/typereferences/reference paths in it instead of output decl file path

Fixes #26036

The test only failed on node10 because of setup and unrelated to this PR


text:
convertToAsyncFunction: Use ReadonlyArray / ReadonlyMap where possible

Noticed while reviewing #27188 that we never actually need a NodeArray, we can just use ReadonlyArrays everywhere.
All remaining X[] arrays cause a compile error if changed to ReadonlyArray.
Also using emptyArray instead of [] where possible to reduce allocations.

Approved but please wait to merge until the last master train goes in (late today)

authors: RyanCavanaugh andy-ms


text:
Higher order type parameter promotion fixes

This PR makes a couple of tweaks to our higher order type parameter promotion algorithm. Specifically, we don't promote type parameters of a function type argument when the contextual signature doesn't reference type parameters in parameter positions, and we now treat inferences made from parameter positions in type parameter promotion as contravariant.
Fixes #30324.

@typescript-bot run DT let's see if this fixes ramda completely~

@typescript-bot run dt let's see if this fixes ramda completely~

@ahejlsberg this looks new:
Error in css-tree
Error: /home/vsts/work/1/s/dtslint-runner/DefinitelyTyped/types/css-tree/css-tree-tests.ts:211:1
ERROR: 211:1  expect  Expected type to be:
  List<Test>
got:
  List<Test | null>
ERROR: 219:1  expect  Expected type to be:
  List<Test>
got:
  List<Test | null>

might be unrelated, though, don't know. The other failures are caused by #30334 and fixed by #30375.

Here's the testcase from css-tree:
// @strict: true
type IteratorFn<TData, TResult, TContext = List<TData>> = (this: TContext, item: TData, node: ListItem<TData>, list: List<TData>) => TResult;
type FilterFn<TData, TResult extends TData, TContext = List<TData>> = (this: TContext, item: TData, node: ListItem<TData>, list: List<TData>) => item is TResult;

declare class List<TData> {
    filter<TContext, TResult extends TData>(fn: FilterFn<TData, TResult, TContext>, context: TContext): List<TResult>;
    filter<TResult extends TData>(fn: FilterFn<TData, TResult>): List<TResult>;
    filter<TContext>(fn: IteratorFn<TData, boolean, TContext>, context: TContext): List<TData>;
    filter(fn: IteratorFn<TData, boolean>): List<TData>;
}
interface Test {
    a: string;
}
const list2 = new List<Test | null>();
const filter1 = list2.filter(function(item, node, list): item is Test {
    this.b; // $ExpectType string
    item; // $ExpectType Test | null
    node; // $ExpectType ListItem<Test | null>
    list; // $ExpectType List<Test | null>
    return !!item;
}, {b: 'c'});
filter1; // $ExpectType List<Test>

the change in expected type of filter1 does seem to be isolated to this branch. It seems like we're inferring Test | null for TResult when we should just be inferring Test - this is  likely due to the contravariant parameter inference?

Noooooope, it's due to the subtle change in inference for return type predicates.

Specifically, we check for a matching parameter index.... except we don't account for this parameters not really counting.

I opened a PR against this PR - #30386 - with a fix.

Latest commit changes IdentifierTypePredicate.parameterIndex to be an index into Signature.parameters. It previously was an index into the parameter list of the declaration from which the signature was obtained, which meant we had latent off-by-one errors in signatures with a this parameter (signatures don't include this parameters in the parameters array). Since types always operate on Signature instances and since it is possible for Signature instances to have no declaration associated with them, it really doesn't make sense to store declaration indices.

Wanna add the test from #30386 so we have more coverage?

@weswigham Sure, I can do that.

@typescript-bot run dt

The DT run looks great - just has the instantiation error that was in master back when this branch was first created, so this branch fixes ramda, as intended, and breaks nothing else now. 💓

authors: ahejlsberg weswigham


text:
Add debug option to runtests

Running runtests with debug=true will cause mocha to run in debug mode and break on the first line, enabling one to connect a debugger to the running tests and step through a test at their leisure.

:+1:

:+1:

authors: DanielRosenwasser danquirk weswigham


text:
Change prologue emit location to inside module IIFEs

Fixes #5059.

:+1:

:+1:

authors: mhegazy vladima weswigham


text:
Fix ES6 imports of CommonJs modules

Changes to address issue #7076.  This is not yet done, but wanted to get feedback on the approach before continuing further from @vladima, @mhegazy, and/or @RyanCavanaugh .
Essentially the way the export= symbol for module.exports = ... in CommonJS files was being created was quite different to the export= in TypeScript, even though the same symbol in sourceFile.symbol.exports is used for both. This was not a problem for require(..) calls, where the type checking of the require call expression was special cased. However for imports using ES2015 syntax, this was failing as it expects that a) The export= symbol is an alias, and b) It is an alias to a module or an identifier.
This code starts to address some of this, but a few questions remain.

I've hacked in special handling for module.export = where it's an object literal or an identifier. This may well be the wrong approach, and perhaps should just synthesize a symbol/type for the expression being assigned. For example, module.exports = getSomeObj() is perfectly valid.
ES2015 imports have different semantics/restrictions, so should we honor those (i.e. the imported alias can't have call/construct signatures - which we'd have to remove).

Note that I've built this branch on top of the "load JS from node_modules" work, as there was some tests there that covered this (it was doing that work I undercovered this issue). It's really only the last commit ( bf030a2 ) which is of interest for this fix.
Let's discuss tomorrow on the right approach before I spend more time on this...

Note that I've built this branch on top of the "load JS from node_modules" work, as there was some tests there that covered this

You can interactively rebase the branch and filter out the irrelevant commits to fix this up.

Closing in favor of #7249.

authors: DanielRosenwasser billti


text:
Can't import this extension (json missing)

If I try to import this xsix file VS Code says "extension/package.json not found inside zip."

This is a Visual Studio IDE extension - not a VSCode extension.

authors: Panossa justcla

repo: Microsoft/VS-ColorThemes


text:
credentialspec.psm1 module shall respect "graph" settings in docker

If docker is configured to store images in alternative location via "graph" settings. For example  "graph": "d:\\images", then CredentialSpec module shall respect that and put resulting credentialspec file in proper location. Right now it puts it in default location of C:\ProgramData\Docker\CredentialSpecs

Hi @artisticcheese ,
There is faster and better support in the docker forums: forums.docker.com
I'm a little confused - is this a problem you have?
Or is this a suggestion for how you would like the Credentialspec module to work?

Sorry about the delay here – this is definitely one I need to fix. I’m working on another push to this area of the docs and samples after Dockercon
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Myles Keatingmailto:notifications@github.com
Sent: Thursday, April 6, 2017 9:20 AM
To: Microsoft/Virtualization-Documentationmailto:Virtualization-Documentation@noreply.github.com
Cc: Subscribedmailto:subscribed@noreply.github.com
Subject: Re: [Microsoft/Virtualization-Documentation] credentialspec.psm1 module shall respect "graph" settings in docker (#547)
Hi @artisticcheesehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fartisticcheese&data=02|01|Patrick.Lang%40microsoft.com|8daf9dfafc964382c72f08d47d08dd78|72f988bf86f141af91ab2d7cd011db47|1|0|636270924402249614&sdata=7OYL7xYOeEOFJccbKxdabSVl11keb1t624DnXTo5Fk4%3D&reserved=0 ,
There is faster and better support in the docker forums: forums.docker.com
I'm a little confused - is this a problem you have?
Or is this a suggestion for how you would like the Credentialspec module to work?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FVirtualization-Documentation%2Fissues%2F547%23issuecomment-292227361&data=02|01|Patrick.Lang%40microsoft.com|8daf9dfafc964382c72f08d47d08dd78|72f988bf86f141af91ab2d7cd011db47|1|0|636270924402249614&sdata=aRAViizR1FpWr7i2graw%2F%2FNbgnBevdRI7w52IO7s5CE%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAK0eF3E4EdzP-4doCoa8ULcU7QSysipGks5rtRDVgaJpZM4LqQOr&data=02|01|Patrick.Lang%40microsoft.com|8daf9dfafc964382c72f08d47d08dd78|72f988bf86f141af91ab2d7cd011db47|1|0|636270924402249614&sdata=0cuBVmYZyQkuIdzlRBT4DvVaKlbXp9OZZFURxz85p7o%3D&reserved=0.

repo: Microsoft/Virtualization-Documentation


text:
Personalization sample not showing as lockscreen background provider

Hi,
I noticed that personalization sample is not showing as lockscreen background provider. I mean on list like on the following picture https://support.microsoft.com/en-us/help/17185/windows-10-lock-screen . How can it be added there?
Thanks

This is by design. The sample is not a lockscreen background provider.

authors: kontofikcyjne oldnewthing

repo: Microsoft/Windows-universal-samples


text:
Failed to deploy WifiDirect on Win10 tablet

Hi,
I'm trying to deploy the WifiDirect sample on a Win10 tablet. It fails with:
Installing app...
Found dependency package(s):
C:\moshe\WiFiDirect_1.0.0.0_Debug_Test\Dependencies\x86\Microsoft.NET.CoreRuntime.1.1.appx
C:\moshe\WiFiDirect_1.0.0.0_Debug_Test\Dependencies\x86\Microsoft.VCLibs.x86.Debug.14.00.appx
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CFD, A Prerequisite for an install could not be satisfied.
Unspecified error
NOTE: For additional information, look for [ActivityId] cb3b833b-67d0-0000-5fad-3bcbd067d201 in the Event Log or use
the command line Get-AppxLog -ActivityID cb3b833b-67d0-0000-5fad-3bcbd067d201
At C:\moshe\WiFiDirect_1.0.0.0_Debug_Test\Add-AppDevPackage.ps1:388 char:13

        Add-AppxPackage -Path $DeveloperPackagePath.FullName -Dep ...

        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (C:\moshe\WiFiDi...ebug.appxbundle:String) [Add-AppxPackage], Exception

FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

Error: Could not install the app.

This appears to be a Visual Studio issue rather than a samples issue. The sample does deploy okay on my system.

authors: mosbaker oldnewthing


text:
Connected Animation link in app broken

If you click on the "click here" link in the app for the connected animation, the GitHub link it takes you to is broken.

Apologies for the delay. It seems like this is an issue that affects multiple samples. The fix for this issue is currently in progress - we're identifying the samples for which the link is broken and updating the FWLinks to point to the correct locations.

The FWLinks have been updated to reflect the new directory name. They should work properly now.

authors: ScottIsAFool msftdavid

repo: Microsoft/WindowsUIDevLabs


text:
fixing freshness date

#sign-off

@gahug,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@gahug : Thanks for your contribution to the Azure documentation! The author, @MicrosoftGuyJFlo, has been notified to review your proposed change.

#sign-off

authors: MicrosoftGuyJFlo PRmerger gahug msftclas

repo: Microsoft/azure-docs


text:
New Query not establishing connection when using instance context menu

Issue Type: Bug

Right click on instance name
Click New Query - query window opens, but without established connection.

Expected behavior: Query window opens with connection to default database.
If I click New Query from Databases, Security, or Server Objects etc. context menu , query window will open with connection to default database.

SQL Operations Studio version: sqlops 0.31.4 (e026ab85a72c190cc4ccc834503aa9fe36dd6407, 2018-07-18T02:14:21.826Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz (8 x 2793)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: unavailable_softwarevideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
15.96GB (7.56GB free)

Process Argv
C:\Program Files\SQL Operations Studio\sqlops.exe

Screen Reader
no

VM
33%

Extensions (7)

Extension
Author (truncated)
Version

sqlops-combine-scripts
Bat
1.3.0

ssmskeymap
kev
0.2.0

agent
Mic
0.31.4

profiler
Mic
0.1.2

server-report
Mic
0.1.2

whoisactive
Mic
0.1.1

sql-search
Red
0.2.0

@LavKiv Can you tell us what kind of server it is? I'm not able to repro this issue.

@abist
Microsoft SQL Server 2017 (RTM) - 14.0.1000.169 (X64) - here is the version. Do you need any other details that I can provide?
I also noticed that everything works fine, if I use Windows authentication. Issue is present with SQL Login authentication type.

This is working for me against Microsoft SQL Server 2017 (RTM-GDR) (KB4293803) - 14.0.2002.14 using SQL Login with the latest ADS build.  Please let me know if the issue persists.

This is working for me against Microsoft SQL Server 2017 (RTM-GDR) (KB4293803) - 14.0.2002.14 using SQL Login with the latest ADS build. Please let me know if the issue persists.

Checked it. Works perfectly fine. Thank you.

authors: LavKiv abist kburtram

repo: Microsoft/azuredatastudio


text:
Add splitViewContainer and diffEditor to ModelBuilder interface

This adds the splitViewContainer and diffEditor to the ModelBuilder interface. These components were added in PR #4831

Ouch did I miss this? Apologies.

authors: kisantia udeeshagautam


text:
fix linq error in ActivityHandler conversationUpdate

use Linq Any() not Count() > and so avoid bug
additional unit tests that can distinguish between Any and Count

Pull Request Test Coverage Report for Build 49662

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

Totals

Change from base Build 49590:
0.0%

Covered Lines:
3994

Relevant Lines:
5357

💛  - Coveralls

authors: coveralls johnataylor

repo: Microsoft/botbuilder-dotnet


text:
Active KGroups 2 > 1 and/or processor count 104 > 64.

hi there,
I am not sure if this issue should be reported here or not.
Having a problem running Diskspd.
WARNING: Complete CPU utilization cannot currently be gathered within DISKSPD for this system.
Use alternate mechanisms to gather this data such as perfmon/logman.
Active KGroups 2 > 1 and/or processor count 104 > 64.
any ideal to fix this problem?

We suspect that rotating a thread through KGROUPs (via hard affinity) and sampling each, in turn, with the non-KGROUP aware APIs will work. There has not been time to try this out yet though.

This issue has been addressed in 3122af8e8bf6fbe74c7c50c1bf9024016d575533 and confirmed as working.

authors: DanPear dl2n xeriax

repo: Microsoft/diskspd


text:
[loc][Query][Node.js] Localizability of"0; "F5FileSelectTitle""

Hi, we have a question from a translator. Could you help please?
Source:
Choose which file to run when F5 is pressed.
File Name:
localize\ENU\Microsoft.NodejsTools.dll
Resource ID:
0; "F5FileSelectTitle"
Query:
According to the Resid, this string is a title, so the full stop at the end is unnecessary. Please confirm

The resid is wrong.. it's simply a label

authors: PDostalek paulvanbrenk

repo: Microsoft/nodejstools


text:
Use CUDA libraries found by CMake.

Resolve undefined symbols on CentOS due to missing cudart.
Question:
For CUDNN, why using shared lib on Win but .a on Linux?

Hi ort team!
The CI build error might be related to a compatibility issue between early version of cmake and CUDA 10.
If that's the case, could you update cmake in build agent?

Hi ort team!
The CI build error might be related to a compatibility issue between early version of cmake and CUDA 10.
If that's the case, could you update cmake in build agent?

We are using docker for the build on Linux.  For Linux GPU build, the cmake is specified https://github.com/Microsoft/onnxruntime/blob/master/tools/ci_build/github/linux/docker/scripts/install_deps.sh

@HectorSVC Thanks for the docker script, that's really helpful.
There's a bug in cmake 3.12.1, could you update the cmake in this script to latest?
Here's the fix: https://blog.kitware.com/cmake-3-12-2-available-for-download/
FindCUDA: Do not find cublas_device on CUDA >= 9.2

BTW the current latest is 3.13.2

Question:
For CUDNN, why using shared lib on Win but .a on Linux?

We are fixing this mismatch.  #239

Added fix for dll delay loading

Conflict resolved.

authors: HectorSVC snnn xkszltl

repo: Microsoft/onnxruntime


text:
Ctrl+Space after Import-Module will take much longer time than usual

Around 20-30 seconds

Marked as Future. The reason for taking so long is mainly because Ctrl+Space after Import-Module will get a completion set with massive completions, which need to be transferred through between processes.

repo: Microsoft/poshtools


text:
Fix HID/serial re-connecting

Fixes #3325
It also adds a loop that pings the device every few seconds, and only when the device fails to respond (most likely disconnected), it tries to re-connect.

Does this needs to be in v0 as well?

Probably since those changes have been integrated down.

@caitlin-hennessy can you port these to v0?

@mmoskal Can you port these? Might be easier for you as you did the original change.

Thanks @mmoskal.  To clarify: I don't think these changes will affect microbit, since microbit doesn't actually use the initSerial() method in app.tsx.  However, it seems like they should go into v0 anyway for code consistency.

authors: abchatra caitlin-hennessy mmoskal pelikhan

repo: Microsoft/pxt


text:
ignore null or empty application name for property source

Description
A "/null/" context will be queried when the spring application is not configured. Which should not be queried at all.

Codecov Report

Merging #378 into azure-config will increase coverage by 0.13%.
The diff coverage is 100%.

@@                Coverage Diff                 @@
##             azure-config     #378      +/-   ##
==================================================
+ Coverage           51.25%   51.39%   +0.13%
- Complexity            480      482       +2
==================================================
  Files                 139      139
  Lines                2187     2189       +2
  Branches              126      127       +1
==================================================
+ Hits                 1121     1125       +4
+ Misses                991      990       -1
+ Partials               75       74       -1

Impacted Files
Coverage Δ
Complexity Δ

...cloud/config/AzureConfigPropertySourceLocator.java
88.88% <100%> (+5.16%)
13 <0> (+2)
:arrow_up:

Continue to review full report at Codecov.

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

authors: codecov-io sophiaso

repo: Microsoft/spring-cloud-azure


text:
Integrate per project - how to choose static library version?

I create simple application, add vcpkg per project integration, use boost filesystem.
After compilation I go to the build directory and see the boost filesystem .dll near my .exe.
But I want to use static version of boost library!
How to choose static verion in this case?

The per-project integration acts exactly the same as the user-wide integration from your project's perspective, so you can use the same mechanism to switch triplets:
<PropertyGroup Label="Globals">
    ....
    <VcpkgTriplet>x86-windows-static</VcpkgTriplet>
    <VcpkgEnabled>true</VcpkgEnabled>
</PropertyGroup>

https://blogs.msdn.microsoft.com/vcblog/2016/11/01/vcpkg-updates-static-linking-is-now-available/

I create porperty sheet as writed on your link wuth content:
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
	<PropertyGroup Label="Globals">
        <VcpkgTriplet>x64-windows-static</VcpkgTriplet>
        <VcpkgEnabled>true</VcpkgEnabled>
    </PropertyGroup>
</Project>

I aad it to the project but I received linkage error:

1>------ Build started: Project: AKnowledgeBase, Configuration: Debug x64 ------
1>boost_system-vc140-mt-gd-1_65_1.lib(error_code.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in moc_AKnowledgeBase.obj
1>LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library

Why it happens and how it could be fixed?

By default, our x-y-static triplets build using the static CRT (aka the /MT switch). You could either modify the triplet / make a new triplet with dynamic CRT but static libraries or you could switch your project to static link the CRT [1].
[1] https://stackoverflow.com/questions/37398/how-do-i-make-a-fully-statically-linked-exe-with-visual-studio-express-2005

repo: Microsoft/vcpkg


text:
Building harfbuzz:x64-linux failed

Building harfbuzz:x64-linux on Opensuse LEAP 42.0 fails for me:
FAILED: test-would-substitute
: && /usr/lib/icecc/bin/c++  -fPIC -fno-rtti -fno-exceptions -fno-threadsafe-statics -fdiagnostics-color -g   CMakeFiles/test-would-substitute.dir/src/test-would-substitute.cc.o  -o test-would-substitute -L/usr/lib64/gcc/x86_64-suse-linux/7  -L/usr/x86_64-suse-linux/lib -Bsymbolic-functions libharfbuzz.a /home/kakoehne/dev/vcpkg/installed/x64-linux/debug/lib/libfreetyped.a /home/kakoehne/dev/vcpkg/installed/x64-linux/debug/lib/libbz2d.a /home/kakoehne/dev/vcpkg/installed/x64-linux/debug/lib/libpng16d.a /home/kakoehne/dev/vcpkg/installed/x64-linux/debug/lib/libz.a /home/kakoehne/dev/vcpkg/installed/x64-linux/debug/lib/libz.a -lgcc -lgcc_s -lc -lgcc -lgcc_s && :
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/kakoehne/dev/vcpkg/installed/x64-linux/debug/lib/libfreetyped.a(autofit.c.o): in function `af_shaper_get_cluster':
/home/kakoehne/dev/vcpkg/buildtrees/freetype/src/2.9.1-6e436888b0/src/autofit/afshaper.c:489: undefined reference to `hb_shape'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/kakoehne/dev/vcpkg/buildtrees/freetype/src/2.9.1-6e436888b0/src/autofit/afshaper.c:509: undefined reference to `hb_shape'
collect2: error: ld returned 1 exit status
[62/63] : && /usr/lib/icecc/bin/c++  -fPIC -fno-rtti -fno-exceptions -fno-threadsafe-statics -fdiagnostics-color -g   CMakeFiles/test-test.dir/src/test.cc.o  -o test-test -L/usr/lib64/gcc/x86_64-suse-linux/7  -L/usr/x86_64-suse-linux/lib -Bsymbolic-functions libharfbuzz.a /home/kakoehne/dev/vcpkg/installed/x64-linux/debug/lib/libfreetyped.a /home/kakoehne/dev/vcpkg/installed/x64-linux/debug/lib/libbz2d.a /home/kakoehne/dev/vcpkg/installed/x64-linux/debug/lib/libpng16d.a /home/kakoehne/dev/vcpkg/installed/x64-linux/debug/lib/libz.a /home/kakoehne/dev/vcpkg/installed/x64-linux/debug/lib/libz.a -lgcc -lgcc_s -lc -lgcc -lgcc_s && :
ninja: build stopped: subcommand failed.

  Package: harfbuzz:x64-linux
  Vcpkg version: 2018.11.23-unknownhash

hey @kkoehne, can you try with PR #5359? looks like the tests don't link the libraries correctly

@TheScarfix, cherry-picking your commits from #5359 indeed fixed the issue for me, thanks!

authors: TheScarfix kkoehne


text:
Support dotnet cli preview 3 in VS

https://github.com/dotnet/cli allows to download preview3 of the dotnet sdk tools.
This versions goes back from project.json to MSBuild, but comes with a new MSBuild ToolsVersion 15.0
@cartermp @KevinRansom  Are there any plans to support this MSBuild version and especially the new projcts.assets.json files that comes with this new tooling?

@forki
Yes there are plans.  But it is not yet in a position for us to start on it yet.  As of this morning when I went and found the various stakeholders to figure out whether I could start work on it.

Cool. Please keep us updated about progress so that we can keep the efforts with ionide and paket synced. Thx

@KevinRansom
Now that VS 15 has progressed to Preview 5, is there any update on this dotnet cli support in VS 15, especially Preview 5?

@enricosada is working with the dotnet sdk team to add templates.

@eriawan i can speak only for myself and about the sdk part.
note: preview3 -> preview4 -> preview5 -> etc are the versions of .net core sdk based on msbuild. Instead preview2, preview2.1 are based on project.json
IHMO first we fix the sdk from cli (pratically msbuild run from command line), after that it's possibile to work on VS (because vs use the msbuild to compile/get source files/arguments etc).
So changelog:
preview3
With preview3 was already possibile to use fsproj (but no template OOTB in dotnet new). The f# was not integrated cleanly inside the msbuild project file but worked ok. That made possibile to start explore how to improve things, and see what was missing.
preview4 (today)
With preview4 (released two days ago) the f# works OOTB in the .net core sdk (like preview2). I am waiting for the official .net release notes to publish more info about that.
It's not important that all the F# dotnet new templates works OOTB like c# (but having dotnet new -l fsharp -t web work for asp.net is nice 😄,  ), but is important because the sdk extensibilty for new languages (like F#) was improved and we are using that atm.
Stayin near the current c# sdk is really important because make it times easier to make commands work correctly (a lot of stuff just works). And we can discuss new features/improvements too, so they dont break f# for mistake or how we can use these (like Sdk attribute).
Another good stuff is that f# fsprojs are now part of the dotnet/cli (the .net core sdk) test suite, so are checked for all templates. the dotnet/netcorecli-fsc test suite check other use cases.
The result is F# that is 1-1 aligned with all c# templates of dotnet new, and commands (build/publish/pack/test) works.
We made good progress, the F# has a nice hook in the sdk (we prepend FSharp.Sdk to normal .NET.Sdk like <Project Sdk="FSharp.Sdk;Microsoft.NET.Sdk">).
But before VS can use it directly, there is some work to make it easier to use it inside vf#.
For example i need to fix at least https://github.com/dotnet/netcorecli-fsc/issues/25 to replicate the current way vf# use to read compiler args/source files from msbuild (atm i reuse preview2 dotnet-compile-fsc because works and i had no time to reimplement that). After that it's possibile to start work to see how integrate it inside vf#, because behaviour/code of msbuild will be really similar to current codebase, so less work and more safe.
preview5 (future, wip now)
The preview5 will improve the msbuild project file with cleanup, and sdk language extensibility will be a bit better (no need for packagereference of fsharp.net.sdk for example), but it's not that important, because important part are already in place. The new stuff will be incremental enhancement over csproj/fsproj msbuild file (like that ).

@forki or @KevinRansom , can you close this because is old and a dupe of #2316

authors: KevinRansom enricosada eriawan forki

repo: Microsoft/visualfsharp


text:
Merge pull request #2 from Microsoft/master

update to latest

@PoulChapman,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

authors: PoulChapman msftclas

repo: Microsoft/visualstudio-docs


text:
TextEditor

<Please be sure to remove any private information before submitting.>
Repro steps:
<Enter steps to reproduce issue>
Action: appService.showFile
Error type: Error
Error Message: TextEditor(vs.editor.ICodeEditor:1,$model38) has been disposed
Version: 0.9.1
OS: win32

Hi @CarlosTrujillo03,
Thanks for reporting this issue.  This issue should be resolved with our next release with this PR: https://github.com/Microsoft/vscode-azureappservice/pull/714.
This seems to be a duplicate of this issue: https://github.com/Microsoft/vscode-azureappservice/issues/611 so I'm going to close this issue as a dupe.  If that doesn't seem to be the case, please re-open the issue with more information to repro the bug.
Thanks!

repo: Microsoft/vscode-azureappservice