ValueError: return statements are not supported within a TensorFlow loop.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Colab
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): Binary
TensorFlow version (use command below): 2.2.0
Python version:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

Describe the current behavior
When using return statements within for loops TensorFlow raises the error aforementioned in the issue title.
Describe the expected behavior
A workaround. As this behavior is unknown to me.
Standalone code to reproduce the issue
Colab Notebook
Other info / logs
Update
When retrieving the dataset just register here: http://www.fki.inf.unibe.ch/databases/iam-handwriting-database. It won't take more than 40 seconds. Once registered, one can update username and the password in the wget fields.

As per the docs the map function doesn't support arbitrary python code because it converts everything into graph. In order to run something more complex you need to use tf.py_function.
However, I think that this kind of task is better suited for different approach entirely. It would be much simple to process labels before you create the Dataset. You could, for example, use numpy or pandas.
Same goes for IO operations, unless you are limited by memory.

As per the docs the map function doesn't support arbitrary python code

This section (https://www.tensorflow.org/tutorials/load_data/images#load_using_tfdata) showcases otherwise, though. Sorry if my understanding is wrong.

However, I think that this kind of task is better suited for different approach entirely. It would be much simple to process labels before you create the Dataset. You could, for example, use numpy or pandas.

Any supporting minimal code snippet?

In some cases Tensorflow can handle the code yes, but only if it can find appropriate graph representation for it. The problem stems from question of what can you define as computational graph. Think about it as if you were compiling a code for a virtual machine.
Your code, in this case label processing, is taken by AutoGraph, which acts as a compiler, and it tries it's best to figure out how to make it work. But it's not perfect and sometimes has just no idea how to do it. So it fails. That being said, it can work and does work most of the time. But you still should consider alternatives. Speaking of alternatives...
Both numpy and pandas have a map (and map like) functions, and both libraries have lots of examples. The great thing is that they use same data structures as tensorflow, multidimensional arrays (Pandas builds on numpy). The only question is, which one is more to your liking.
Pandas works better with more complex data. It can read JSON or csv, and work with it straight away. Data processing and even basic plotting included.
Numpy is for low level stuff, obviously the numerical data, but you can work with other things too. Although instead of map function it has vectorize which works in similar way, while offering better performance.
In general you want the right tool for the right job. Tensorflow offers lot of functionality but it isn't always consistent in quality.
Pandas map
Numpy vectorize
There's also a handy article about their performance, again with examples.

Fair points.
Here's a bit more context as to why I would like to stick to tf.data. With a tf.data.Datasetabstraction I can avail some performance specific utilities such as prefetch.

@sayakpaul
Please share all dependencies for us to rpelicate the issue faced, please find the gist of the code shared.

@Saduf2019 please take a look at the updated description. You did not pass the right username and password. I mentioned it in the updated issue, could you check it once and retry?

The third party dataset changed.
Also I think that we need to find a small test gist to reproduce this. Having a registration dependency and a quite large datasets as input, it doesn't help to monitor this.


Added Connectivity, Cheats and Hash

Added Connectivity, Cheats and Hash which have explicit documentation for Swift Package Manager.

Thanks Ross!

No problem! I'm working on making a few of my other frameworks work with SPM in Xcode 11 so I may have another PR for you soon! 😃


"Advanced Styling with CSS"

From Jesus' Google doc: https://docs.google.com/document/d/1zoANI6mB6HAcWdDEinvTLMtPIlOhXrEtxjq-AcKz2nA/edit#
@paigehargrave please approve and merge when you can. I think it's ready, but if any changes are needed please go ahead and make them.

@wwarner-salesforce - Just one thing - PTAL at the description for the location of the drop-down arrow for Edit CSS. I put this: Select the drop-down arrow in the corner of the page navigation bar. (I added it for accessibility reasons, but if you think it's overkill, please feel free to delete. :) ) Thank you!

I agree, more detail about finding that arrow is much better. I tweaked it slightly to match the interface and the screenshot in the doc. Thank you for the approval and all the improvements!


If you add an ' or a " to the StreamField block name the UI does not open

When creating a StreamField, if your block's name has a ' or a ", the UI will not open.
Example:
section = StreamField([("PageColumn's", somerandomstreamblock())],)
version is 2.10.1
python 3.8
django 3.1

Hi @heav1811,
As per the docs, block names must be valid Python variable names:

‘name’ is used to identify the block type within templates and the internal JSON representation (and should follow standard Python conventions for variable names: lower-case and underscores, no spaces)

In Wagtail 2.11 we've introduced a stronger check for this, and invalid names will throw an error on startup: #6295


Cannot save R script / create a new project

Whenever I try to
a) load any existing R script in AML R Studio, or
b) create and save a new R Script, or
c) create a new project in my directory
I get the error “ No Such File or Directory”.

@adelinaBalasa Please help with the link of document on which above document feedback request is created.
In case your query in not related to document content, open a new forum thread in MSDN forum or Stack Overflow as it could be better place to get help on your scenario. These forum community members could provide their expert guidance on your scenario based on their experience. Thanks.

@adelinaBalasa  Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.


PS-776 Resolve variables request

@pivnicek ^ that test should give you an idea how the API will look. If it's ok, you can start working on the data loader, if not please shout :)

was just reading it.  omg you make it look so easy :-)

I can take it from here, thanks so much

No, i'll finish it; it still needs a couple of unstated modifications

ok, muchos gracias

I had to change how it works - so that it works even on config rows it needs to return the entire configuration, because connection can't return state on config version, it intentionally uses empty state. It shouldn't be a problem for the sandboxes, though.


clarify name

closes https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/issues/4079

@MikePlumleyMSFT
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Refactor lifetimes of the processes

Current supervision tree imposes at least two issues with the lifetimes

When the application restarts to re-join the cluster, for example, mria_status process is restarted too. It will cause all processes outside mria supervision tree to hang waiting for the CVARs that will never be set, or crash.
Same goes for the configuration. Configuration gets reset during mria restart, and it leads to some tricky bugs when starting up.

The solution is to add another layer to the application supervision tree and split out processes that have to survive restart there. When mria has to restart to rejoin the cluster and whatnot, it should only restart a part of the supervision tree and keep these long-living processes alone.

First issue is solved by #116

Fix for mria_mnesia being dependent on RLOG processes: https://github.com/emqx/mria/pull/131

I think splitting out cvars to optvar applications ultimately resolves the issue.


Improve keshav2427 behavior

Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@cdibona


Optional header parameter overrides the parameter for a query one called 'present'

Description
Is there an issue while dealing with Optional<> header parameters? Instead of getting the expected values I'm getting a query parameter called present.
I want to override the handling of the BadRequests from missing values of several header params (injected with @RequestHeader) with the Java's Optional. Here's an example:
@GetMapping
  @ApiOperation(
      value = "Demo",
      notes = "Demo optional header error"
  )
  @ApiResponses({
      @ApiResponse(code = 200, message = "okey"),
      @ApiResponse(code = 403, message = "ko"),
      @ApiResponse(code = 404, message = "ko")
  })
  public ResponseEntity<Object> fooMethod(
      @ApiParam(value = "foo msg", example = "foo example", type = "header", required = true) @RequestHeader("foo") Optional<String> foo,
      HttpServletRequest request
  ){
   {...}
}

Spring is reacting well, recognizing both valued and null states. The required value as true is important, as I want to be reflected that way on the documentation.
The issue then, is that I receive the following output in the swagger json output.
I can guarantee that the Optional in the query params (@RequestParam annotation) are accepted correctly, so I assume that the issue is with the HeaderParam.
Without the Optional header param I get the Desired example output below.
Current Example Output
paths": {
    "/foo": {
        "get": {
            "tags": [
                "Foo"
            ],
            "summary": "Foo summary",
            "description": "Foo description",
            "operationId": "fooUsingGET",
            "produces": [
                "application/json"
            ],
            "parameters": [
                {...},
                {
                    "name": "present",
                    "in": "query",
                    "required": false,
                    "type": "boolean"
                }
            ]
        }
    }
}

Desired example output
paths": {
    "/foo": {
        "get": {
            "tags": [
                "Foo"
            ],
            "summary": "Foo summary",
            "description": "Foo description",
            "operationId": "fooUsingGET",
            "produces": [
                "application/json"
            ],
            "parameters": [
                {...},
                {
                    "name": "fooParam",
                    "in": "header",
                    "description": "foo param from header",
                    "required": true,
                    "type": "string",
                    "x-example": "fooooo"
                }
            ]
        }
    }
}

Versions

springBootVersion = '1.4.7.RELEASE'
springfox-swagger2' = '2.9.2'
springfox-swagger-ui' = '2.9.2'

Many thanks,

Have you tried adding genericModelSubstitutes(Optional.class) as mentioned in https://github.com/springfox/springfox/issues/1848?


Longest Palindromic Substring (Using Brute Force Algorithmic Approach)

Description 📜
I have added a well commented code for Longest Palindromic substring problem along with explaining what is Brute Force approach and how it works in this problem. I also specified the time and space complexity at the end of program.
Fixes #4459

Type of change 📝

[ ] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Video (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[x] C/CPP

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Hi, @vasu-1
Please review it once again


fix: more strict system32 path check

PR Summary
Constrained Language Mode enforced with Applocker or Environment variable __PSLockdownPolicy can be bypassed by naming the script to "system32.ps1" because of sloppy path check
Info: I reported this as https://msrc.microsoft.com/report/vulnerability/VULN-093434, but the case was closed there without further investigation
PR Context
To bypass the constrained language mode the path from where your script is being executed, needs to contain the string system32, meaning even if you rename the script to system32.ps1.
From a security perspective, this is of course a nightmare!
Steps to Reproduce (Add details for how we can reproduce the issue)
Activate Constrained Language mode via Applocker policy, the __PSLockdownPolicy variable or set it with
$ExecutionContext.SessionState.LanguageMode = "Constrained" for current PowerShell session.
Execute a PowerShell script with the following content to display the current language mode
$ExecutionContext.SessionState.LanguageMode
This should output "ConstrainedLanguage" if step 1 was applied successfully.
Rename PowerShell script from step 2 to system32.ps1
The output will be "FullLanguage", as we have bypassed the security check
More details
https://www.blackhillsinfosec.com/constrained-language-mode-bypass-when-pslockdownpolicy-is-used/
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

The system32 file name check applies only when there is no WDAC or AppLocker system lock down policy being enforced, and is used with the __PSLockdownPolicy environment variable testing/debugging hook.  The __PSLockdownPolicy var and system32 name check is for testing only and cannot override a policy lock down enforcement.
Constrained language mode is only useful as a security measure when enforced by system policy.  Otherwise it is easily bypassed.
/cc: @TravisEz13

Hi @PaulHigin,
I I thought so too, but it works with Applocker enforced Constrained Language Mode as well.

@ThomasKoscheck
I cannot reproduce your issue with the default AppLocker Rules.  Please provide the AppLocker rules you used to reproduce the issue.

Here is a more complete repro.
I setup AppLocker to actually enable System Lockdown, using the following rules:

I force applied Group Policy and restarted the AppLocker service, then ran this:

I retried the repro running this,
[Environment]::SetEnvironmentVariable(‘__PSLockdownPolicy‘, ‘4’, ‘Machine‘)
from an elevated PowerShell session before starting, with no change in the result.
I believe there was some misconfiguration of AppLocker policy.
__PSLockdownPolicy is only meant for testing and it is acceptable when running with only that policy, that we allow any file that passes the rule in the existing code.

Hi,
I created a test ad lab to reproduce with GPOs and a clean applocker policy.
Just as @TravisEz13 had already shown, I could not reproduce the error with the fresh applocker policy.
So, the issue can be closed, sorry for my mistake, and thanks for looking at it!


Let make.py take an builder argument

This way we can specify a new builder if we want to clean-build something for example.

Introduced this into the "new" Makefile.


module/menu question

I was wondering if there was the ability in the menu module such that when I click on menu-2-0 for instance, it executes a command and doesn’t close the menu. I have tried to get this working for some time with no luck.

I'm not aware of any such feature, but this could be useful. I'll add this to our todo list.

Thank you, I figured that would be a cool feature to have


Help learn GitHub

Welcome to GitHub @Jayce-27

Inside vim you should run the command :vimtutor and it will start to walk you through the beginning of using and setting it up.
Also, you can delete that one line in the ~/.vimrc test file and start to get a real one set up.

Have fun learning this game as you learn vim.
https://vim-adventures.com/


Scaffold Identity has not option for MVC

It's been a while there is not an option to Scaffold Identity pages for MVC. Why is that? It makes difficult the work for the people who don't want to learn razor pages, personally I don't like the structure of razor pages. I need this option.

Sorry, it's not available.


how can I block concurrent connection?

Is there any available ways, that I can block more than One connection?

I believe only one connection is allowed currently.
If you have steps and code to allow more than one, please provide them here and re-open this issue.


Changed C# CMakeLists

Changed SWIG_ADD_MODULE to SWIG_ADD_LIBRARY to make it compatible with
CMake 3.8.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Hi @BW0ng, thanks for this, but can you tell me why this change is necessary?
I don't want to force a dependency on CMake 3.8 unless we have to - most Linux distributions are only using 3.5, so this change would break the build on a lot of systems. And as far as I can see, SWIG_ADD_MODULE hasn't been removed, it's just been deprecated, so should work fine with 3.8. Is there a reason why you need the functionality of ADD_LIBRARY?

Am closing this for above reasons, but am happy to listen if there's a case for reopening it.

I was just opening an issue because I had troubles installing it with the
cloned code on my Mac.
On Jun 8, 2017 8:32 AM, "David Bignell"<EMAIL_ADDRESS>wrote:

Am closing this for above reasons, but am happy to listen if there's a
case for reopening it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/malmo/pull/544#issuecomment-307103999, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKeXAIMA7VkFbh8ov3bB25TQQ5rtmuTXks5sB_fFgaJpZM4NrECw
.


Get-Help with function script should return help of all functions in the script

Summary of the new feature/enhancement
By default, a script which only contains functions with their help does not display any output when using
Get-Help .\myscript.ps1

This behavior also happens if the parameters or syntax of the synopsis is incorrect.

Proposed technical implementation details (optional)
Display the list of functions within the script with their help, or some meaningful information from the script, instead of empty result.
An option to validate the synopsis of the script and each function's synopsis, or warn on synopsis errors would be helpful.

Not sure, Get-Help is intended to show help for PowerShell concepts and commands, including cmdlets, functions, CIM
commands, workflows, providers, aliases and scripts. It accepts one item and AFAIK, doesn't expect passing a library of functions defined in a file.

Generally speaking, if you want help included with the script, you'd need to add a comment-based help block to the script itself. So this is to some extent already doable. Part of the reason perhaps that PS doesn't scan entire scripts for function help blocks is that the function itself doesn't exist in the PS session unless you dot source the script.
It won't do that automatically, because there's no way to tell if running that script in order to import the functions may have side effects.
I get the impression that if you need the help data to be available in the PS session, you should probably be packaging the script as or with a module containing those functions. A script that has some functions and also does some thing creates a bit of a catch-22, where the user and the PS engine can't really query the functions directly without also invoking the rest of the code in the script. And you can't really use the AST to find the function blocks and parse their help individually either; comments don't exist in the AST, they only exist as tokens.
My general feeling is that this use case is uncommon and would be much easier to manage as a module, and help would "just work" if that were the case.

That makes sense to me, thanks.  I wonder if get-help could just stupidly parse the text of the file as a fallback?  Probably internal issue there.
It would help to have some synopsis validation tool though, rather than silent failure.
An example here would be
<#
.SYNOPSIS
my script
.PARAMETER
does not work
#>
[CmdletBinding()]
param()
#>

I have synopsis, so I would expect it would pick that up then throw warning or exception about syntax, rather than ignore this case altogether.
I found that PlatyPS picked up this particular issue for me using New-MarkdownHelp - with another unhelpful error.
Will close this issue and leave the rest up to using templates for help.


Excluding files on deployment ?

Hi,
Is it possible to exclude some files during the deployment between Github and the prod server ?
Thanks for your help

Sorry, I'm not maintaining this project anymore. I don't think the functionality you're describing is possible without some manual tweaking.


Channel signupdate command fails

What happened?
"kubectl hlf channel signupdate" command is failing with error "Error: open : no such file or directory" even though I have the file with correct permissions.
Command:
kubectl hlf channel signupdate --channel mychannel -f org3-ec-config-update-in-envelope.pb --config networkConfig.yaml --user=admin --mspid=Org1MSP

What did you expect to happen?
The command should not fail if config update file exists.
How can we reproduce it (as minimally and precisely as possible)?

Setup minimal fabric network.
Create a channel
Update channel config.
Sign the updated channel config file.

Anything else we need to know?
hlf-operator plugin version - 1.10.0
Kubernetes version

v1.29.0-eks-5e0fdde

Please use the latest version of plugin, this has been fixed here

It worked. Thanks @adityajoshi12


Update API version to support new features for express route

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[ ] I have read the contribution guidelines.
[ ] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

@dihan0604 Feel free to ping me on the new PR that you open otherwise it'll be dynamically reassigned to someone. Thanks!


added extract_mel_filter_bank_from_spectrograms

This closes the issue https://github.com/sensein/senselab/issues/178 .

Codecov Report
Attention: Patch coverage is 6.66667% with 14 lines in your changes missing coverage. Please review.

Project coverage is 60.05%. Comparing base (9b7209f) to head (ecd6e51).
Report is 85 commits behind head on main.

Files with missing lines
Patch %
Lines

...elab/audio/tasks/features_extraction/torchaudio.py
6.66%
14 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #182      +/-   ##
==========================================
- Coverage   68.32%   60.05%   -8.27%
==========================================
  Files          95      113      +18
  Lines        3283     4031     +748
==========================================
+ Hits         2243     2421     +178
- Misses       1040     1610     +570

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

This should be ready for review now


Proposal - Support ngrx

Hi,
Regarding Issue 127 that I've posted I played a little bit with the code and now I have a working POC that supports immutable state.
Is not a complete feature, farther testing and feature closing are required, but I wanted to have your opinion about the feature, it helped me a lot.
If you choose to accept the idea, I'll be happy to upgrade the code to production ready.
The changes I made are here.
Please let me know what do you think about the solution.
Thanks,
TMaster

@TMaster Please, do a PR - this way we can discuss all the changes and push Tree to the new version faster

Closing, request was merged to master :)


[vcpkg script] build_nmake use z_vcpkg_get_cmake_vars

closes #25840

pdcurses:
LINK : fatal error LNK1104: cannot open file 'link.exe'

detours:
detours.cpp(1035): error C3861: 'VirtualProtect': identifier not found
detours.cpp(1049): error C3861: 'VirtualProtect': identifier not found
detours.cpp(1105): error C3861: 'VirtualAlloc': identifier not found
detours.cpp(1152): error C3861: 'VirtualAlloc': identifier not found
detours.cpp(1422): error C3861: 'VirtualProtect': identifier not found
detours.cpp(1679): error C3861: 'SetThreadContext': identifier not found
detours.cpp(1695): error C3861: 'SetThreadContext': identifier not found
detours.cpp(1708): error C3861: 'VirtualProtect': identifier not found
detours.cpp(2116): error C3861: 'VirtualProtect': identifier not found
detours.cpp(2274): error C3861: 'VirtualProtect': identifier not found
detours.cpp(2359): error C3861: 'VirtualQueryEx': identifier not found

librttopo:
cl : Command line error D8048 : cannot compile C file 'src\box2d.c' with the /ZW option

@JackBoosY: For detours and librttopo this probably means they don't support UWP? pdcurses uses LINK as an (env) variable which now gets sets and screws up the build (could use _LINK_ however).

librttopo:
cl : Command line error D8048 : cannot compile C file 'src\box2d.c' with the /ZW option

Reading the documentation of /ZW, I wonder why the /ZW should be used at all, for a C file that doesn't want "to support Microsoft C++ component extensions C++/CX"?

Reading the documentation of /ZW, I wonder why the /ZW should be used at all, for a C file that doesn't want "to support Microsoft C++ component extensions C++/CX"?

VS passes /ZW in the normal UWP App template. CMake also adds /ZW:nostdlib for store apps.

Any news?

this was green in https://github.com/microsoft/vcpkg/pull/25862/commits/b28cb4c753a99c54876116f5e0ca39ecb6b5e977 so just fix the merge conflicts. I am reluctant to do it. The PR has been green for 1 month and the other detours PR was a lot younger. (like opened only two days ago)

Thanks!

librttopo:
cl : Command line error D8048 : cannot compile C file 'src\box2d.c' with the /ZW option

Reading the documentation of /ZW, I wonder why the /ZW should be used at all, for a C file that doesn't want "to support Microsoft C++ component extensions C++/CX"?

VS passes /ZW in the normal UWP App template. CMake also adds /ZW:nostdlib for store apps.

I think I hit the right spot: /ZW:nostdlib comes from pushing CXX flags into _CL_ , so it breaks any C project for uwp:
librttopo (this PR)
readosm (#26455)
openssl (#27150)
Cf. cmake-get-vars-x64-uwp-dbg.cmake.log:
set(VCPKG_COMBINED_CXX_FLAGS_DEBUG "-DWIN32 -D_WINDOWS -D_UNICODE -DUNICODE -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D__WRL_NO_DEFAULT_LIB__ -nologo -Z7 -MP -GS -Gd -Gm- -W3 -WX- -Zc:wchar_t -Zc:inline -Zc:forScope -fp:precise -Oy- -EHsc  -utf-8  -D_DEBUG -Od -RTC1 -MDd   -ZW:nostdlib")
set(VCPKG_COMBINED_C_FLAGS_DEBUG   "-DWIN32 -D_WINDOWS -D_UNICODE -DUNICODE -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D__WRL_NO_DEFAULT_LIB__ -nologo -Z7 -MP -GS -Gd -Gm- -W3 -WX- -Zc:wchar_t -Zc:inline -Zc:forScope -fp:precise -Oy- -EHsc  -utf-8  -D_DEBUG -Od -RTC1 -MDd  ")

So we need a LANGUAGE argument for vcpkg_configure_nmake and switch the flag accordingly?

The language argument is the primary solution. I only wonder if we want to do more work in the global script, or if it should go to a helper port.

I only wonder if we want to do more work in the global script, or if it should go to a helper port.

What additional steps are you thinking of?

Option to use jom (and maybe filter out /MP then).
Option to not set _CPP_ at all (and use OPTIONS_DEBUG/RELEASE instead).
Pass multiple targets.
Pass the name of the project's install dir variable.

I completely misunderstood. I thought you meant new helper ports with different functionality. But you only meant to move the stuff here to a helper port called vcpkg-nmake.


domain_sessionid and domain_sessionidx not getting set

In our database we're seeing domain_sessionid and domain_sessionidx as NULL. My understanding is that this is done automatically, perhaps through cookies.  Does the obj-tracker support getting these set?

Hi @loufranco,
The domain_sessionid and domain_sessionidx are older fields that are specific to the Javascript tracker.
The iOS and Android trackers also support client-sessionization, but the session ID and index are stored in the client_session context instead: http://snowplowanalytics.com/blog/2015/09/03/snowplow-objective-c-tracker-0.5.0-released/#sessionization
If you have any other questions, please post them in our Discourse forum (as this is not an issue with the tracker): http://discourse.snowplowanalytics.com/
Hope this helps!
Christophe


[Bug] Attack animation pauses upon game entering pause state

Description
When the game enters a pause state (pause menu, inventory, crafting), all animations in the game are paused as intended. However, upon closing the menus, the weapon attack animations are permanently stuck and do not resume.
How To Reproduce
Steps to reproduce the behaviour:

Add a weapon to your inventory through the code for testing purposes
Equip the weapon
Close inventory
Attack animation then works
Open inventory again
Close inventory
Weapon attack animation now does not play

Expected Behaviour
Attack animation should continue working despite menus opening/closing.
Temporary Fix
No temporary fixes known.

@kurt-553 as discussed are you able to assist us with finding the cause of this bug?

@LachlanBenson helped immensely diagnosing a problem and how to go about fixing it

@kurt-553 thanks for the assist!


Fix Table 8.1

The quotient of division by zero should have all bits set.

The quotient of division by zero should have all bits set, not 2^L -1. I also checked https://github.com/riscv/riscv-arch-test/blob/master/riscv-test-suite/rv32i_m/M/src/divu-01.S. In the case of "division by zero", the test expect -1 as its result. If the test case was correct, then this table here in the manual may be wrong.

Because the result is sign-extended, 2^L-1 is the same as -1.

Because the result is sign-extended, 2^L-1 is the same as -1.

Oh, I see, thank you.


Adding contributing information

Rough start - based on atom contributing guidelines.
Todo:
[ ] Add issue and PR templates
[ ] Add lots of content to docs site
[ ] Update links to docs site
[ ] Other?


feat: upgrade Prettier (v1.13)

Closes #108

been seeing this lately. maybe a minor version bump in prettier added it?
{ parser: "babylon" } is deprecated; we now treat it as { parser: "babel" }.


Adding frame/iframe switching support

This PR resolves #120 and adds step functionality for frames/iframes

@mdjebaile that's a shame - maybe worth keeping track of as an enhancement, but for now if this is expected behaviour I'll continue on to local testing ✔

Also @mdjebaile - I've noticed the zap plugin is deleting itself for you too - is this going to be problematic? cc: @mcasperson

The deleted ZAP plugin could be an issue. Was it removed for a reason?

screen-recording.zip
Feature: Iridium - can focus CORS and non-CORS iframes, interact and collect data

    Scenario: Generate Page Object
        Given the alias mappings
            | CORS_id | cors |
            | CORS_class | iframe__cors |
            | CORS_name | cors-iframe |
            | CORS_selector | .iframe.iframe__cors |
            | CORS_xpath | //*[@id="cors"] |
            | non_CORS_id | non-cors |
            | non_CORS_class | iframe__non-cors |
            | non_CORS_name | non-cors-iframe |
            | non_CORS_selector | .iframe.iframe__non-cors |
            | non_CORS_xpath | //*[@id="non-cors"] |
            | submit_button | submit-button |
            | click_content | click-content |
            | CORS_content | cors submit clicked |
            | non_CORS_content | non-cors submit clicked |
            | lorem_ipsum | Lorem ipsum dolor sit amet |

    Scenario: Default Profile
        When I set the default wait time between steps to "0.5" seconds
        And I set the default wait for elements to be available to "1" second
        And I set the default keystroke delay to "0" milliseconds
        And I delete all cookies

    Scenario: Prepare the data
        And I dump the alias map to the console

    Scenario: Start iframe test application
        And I open the application
        And I wait "3" seconds for the element found by alias "CORS_id" to be displayed

    Scenario: Select CORS iframe with id
        When I switch to the iframe with the ID alias of "CORS_id"
        And I verify that the page does not contain the text alias "CORS_content"
        And I click the element found by alias "submit_button"
        And I verify that the page contains the text alias "CORS_content"
        And I switch to the default content

    Scenario: Select non-CORS iframe with id
        When I switch to the iframe with the ID alias of "non_CORS_id"
        And I verify that the page does not contain the text alias "non_CORS_content"
        And I click the element found by alias "submit_button"
        And I verify that the page contains the text alias "non_CORS_content"
        And I switch to the default content
        And I verify that the page contains the text alias "lorem_ipsum"
        And I refresh the page
        And I wait "3" seconds for the element found by alias "CORS_id" to be displayed

    Scenario: Select CORS iframe with class
        When I switch to the iframe with the class alias of "CORS_class"
        And I verify that the page does not contain the text alias "CORS_content"
        And I click the element found by alias "submit_button"
        And I verify that the page contains the text alias "CORS_content"
        And I switch to the default content

    Scenario: Select non-CORS iframe with class
        When I switch to the iframe with the class alias of "non_CORS_class"
        And I verify that the page does not contain the text alias "non_CORS_content"
        And I click the element found by alias "submit_button"
        And I verify that the page contains the text alias "non_CORS_content"
        And I switch to the default content
        And I verify that the page contains the text alias "lorem_ipsum"
        And I refresh the page
        And I wait "3" seconds for the element found by alias "CORS_id" to be displayed

    Scenario: Select CORS iframe with name
        When I switch to the iframe with the name alias of "CORS_name"
        And I verify that the page does not contain the text alias "CORS_content"
        And I click the element found by alias "submit_button"
        And I verify that the page contains the text alias "CORS_content"
        And I switch to the default content

    Scenario: Select non-CORS iframe with name
        When I switch to the iframe with the name alias of "non_CORS_name"
        And I verify that the page does not contain the text alias "non_CORS_content"
        And I click the element found by alias "submit_button"
        And I verify that the page contains the text alias "non_CORS_content"
        And I switch to the default content
        And I verify that the page contains the text alias "lorem_ipsum"
        And I refresh the page
        And I wait "3" seconds for the element found by alias "CORS_id" to be displayed

    Scenario: Select CORS iframe with selector
        When I switch to the iframe with the css selector alias of "CORS_selector"
        And I verify that the page does not contain the text alias "CORS_content"
        And I click the element found by alias "submit_button"
        And I verify that the page contains the text alias "CORS_content"
        And I switch to the default content

    Scenario: Select non-CORS iframe with selector
        When I switch to the iframe with the css selector alias of "non_CORS_selector"
        And I verify that the page does not contain the text alias "non_CORS_content"
        And I click the element found by alias "submit_button"
        And I verify that the page contains the text alias "non_CORS_content"
        And I switch to the default content
        And I verify that the page contains the text alias "lorem_ipsum"
        And I refresh the page
        And I wait "3" seconds for the element found by alias "CORS_id" to be displayed

    Scenario: Select CORS iframe with xpath
        When I switch to the iframe with the xpath alias of "CORS_xpath"
        And I verify that the page does not contain the text alias "CORS_content"
        And I click the element found by alias "submit_button"
        And I verify that the page contains the text alias "CORS_content"
        And I switch to the default content

    Scenario: Select non-CORS iframe with xpath
        When I switch to the iframe with the xpath alias of "non_CORS_xpath"
        And I verify that the page does not contain the text alias "non_CORS_content"
        And I click the element found by alias "submit_button"
        And I verify that the page contains the text alias "non_CORS_content"
        And I switch to the default content
        And I verify that the page contains the text alias "lorem_ipsum"
        And I refresh the page
        And I wait "3" seconds for the element found by alias "CORS_id" to be displayed

@mcasperson For whatever reason IntelliJ insists on deleting that particular plugin at every opportunity it gets
I'll restore the file for now

@mcasperson looks like it's being deleted by Symantic Endpoint Protection - silly virus scanners 💢
@mdjebaile add an exception for the file - no idea why the virus scanner is so angry at the fuzzer plugin and not the others 🤷♂

The fuzzdb plugin will keep getting deleted because it contains a list of attach patterns that will be detected by virus scanners as a virus. As Andrew said you'll need to add it to the list of exclusions for virus scanning.

@nesvand it seems I don't have permissions to merge, you can go ahead and do it for me


Bug - The data is populating in an unusual way.

Which version of the plugin are you using?
[X] Data Populator for Sketch
[✓] Data Populator for Adobe XD
Describe the bug
The data is populating in an unusual way. During iteration, it jumps between objects and reads the properties of the object it skipped. Even though Shuffle Items is not enabled, it exhibits this behavior. The order is not random, but it seems to read by skipping, which is unexpected.
To Reproduce
Steps to reproduce the behavior:

Added data source
Added placeholders the texts (they are in group named tokens)
Clicked Populate

Expected behavior
My expectation is for it to iterate through the array sequentially and read the properties of objects accordingly.
Screenshots
Layers

Placeholders

Result

Environment (please complete the following information):

Adobe XD v57.1.12
Plugin v4.0.3
Windows 11 23H2 (OS Build 22631.3085)

Additional context
JSON File:
tokens.json

Layer hierarchy cause this.
When the layer hierarchy is structured in this way, I got the expected result;


config disable StreamLoad log default and enable in regression pipeline

Proposed changes
Issue Number: close #xxx
rollback streamload_log default to disable. enable it on regression-test pipeline.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Docs: Updated Custom Filters

Updates the custom filter documentation to the latest API changes.
This also includes using mdbook's include preprocessor to inject the example code into the documentation.
Note: Because of the use of include preprocessor I had to remove the Markdown lists, as they wouldn't format correctly
(See: https://github.com/rust-lang/mdBook/issues/1564).
Closes #373

Looks like I broke a stack of the docs tests. I'll swing back to this tomorrow and see if I can fix them / if they should be ignored.

Updated, so now it should pass -- basically put the include sections back the way they were before, and updated the include sections so that they have a // src/main.rs (or similar) comment like they did previously.
Also updated the initial examples include to use use quilkin::filters::prelude::*; - since that is also what we're generally using now as well.


Delegate OCW DNS to Route 53

We are already using Fastly for the current OCW site so we can delegate to Route 53 now rather than having to wait for the cutover of the newly built site. We need to make sure that the apex (ocw.mit.edu) record is an A record that points to the anycast IP for Fastly. We will also want to ask IS&T for a zone transfer of any ocw.mit.edu subdomains that we need to register in Route 53.

The go-live date for the new OCW publishing workflow is set for the end of March 2022. In advance of that we need to make these DNS changes. The primary goal is to move the ocw.mit.edu domain to point to the production-live distribution on Fastly that proxies the output of the Concourse build pipelines for content managed via OCW Studio.


CSS3: text-space-collapse

CSS3: text-space-collapse
http://www.w3.org/TR/2012/WD-css3-text-20120119/#white-space-collapsing

This issue was imported from Google Moderator
Moderator votes: +15
Issue added by Richard on 2013-10-07
To vote this issue up or down, simply include +1 or -1 in your comment.

Duplicate of #992 so adding half the votes there


Clarify difference between .NET 6 and .NET 7

Creating this issue based on https://github.com/dotnet/docs/pull/35007#issuecomment-1517575085. It's not clear on this page that in .NET 6, non-nullable properties on generic types aren't implicitly required, but in .NET 7, they are. The https://learn.microsoft.com/en-us/aspnet/core/mvc/models/validation?view=aspnetcore-6.0#non-nullable-properties-on-generic-types-and-required-attribute section simply disappears from the page if you change the moniker from .NET 6 to .NET 7.
The OP feels that this is a breaking change, and if so, there is a different process to follow as well.

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

ID: 0156ffc3-47ac-d5da-fbc2-9ff5018b071b
Version Independent ID: 615db388-a244-41f7-21b5-a4085d9ed479
Content: Model validation in ASP.NET Core MVC
Content Source: aspnetcore/mvc/models/validation.md
Product: aspnet-core
Technology: aspnetcore-mvc
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

An ASP.NET Core API with an affected endpoint cannot be upgraded from ASP.NET 6 to ASP.NET 7 without changing something in the code base. Doing nothing will break the contract between a client and our ASP.NET Core API.

Thank you for contacting us. Due to a lack of activity on this discussion issue we're closing it in an effort to keep our backlog manageable. If you believe there is a concern which hasn't been addressed, please file a new issue.


OSError: [Errno 18] Invalid cross-device link

Getting this error
OSError: [Errno 18] Invalid cross-device link: '/tmp/tmpw6w3611p/idaSearch_1_17_2023.csv' -> 'inputs/study_files/idaSearch_1_17_2023.csv'

on running
run.mri_metadata()

Hi @niyonx, to execute the external notebooks I recommend using
%%capture
from livingpark_utils.scripts import (
    mri_metadata,
    pd_status,
)

The %%capture magic mask all output from being displayed.

The run wrapper seems to be broken as of right now.
Please let me know if the above solution work.

hey @mathdugre thanks for the quick rep!
I still receive the following error:
OSError                                   Traceback (most recent call last)
Cell In[18], line 1
----> 1 from livingpark_utils.scripts import (
      2     mri_metadata,
      3     pd_status,
      4 )

File ~/Workspace/scherfler-etal/env/lib/python3.10/site-packages/livingpark_utils/scripts/mri_metadata.py:55
     53 if len(missing_files) > 0:
     54     ppmi = ppmi_downloader.PPMIDownloader()
---> 55     file_name = ppmi.download_3D_T1_info(destination_dir=data_dir, headless=False)
     56     assert(op.exists(op.join(data_dir, file_name)))
     57     os.rename(op.join(data_dir, file_name), op.join(data_dir, mri_file_name))

File ~/Workspace/scherfler-etal/env/lib/python3.10/site-packages/ppmi_downloader/ppmi_downloader.py:419, in PPMIDownloader.download_3D_T1_info(self, headless, timeout, destination_dir)
    416     logger.error('Unable to download T1 3D information')
    418 # Move file to cwd or extract zip file
--> 419 file_name = self.html.unzip_metadata(
    420     self.tempdir.name, destination_dir)
    422 # Remove tempdir
    423 # shutil.rmtree(tempdir, ignore_errors=True)
    425 return file_name

File ~/Workspace/scherfler-etal/env/lib/python3.10/site-packages/ppmi_downloader/ppmi_navigator.py:174, in HTMLHelper.unzip_metadata(self, tempdir, destination_dir)
    172 file_name = downloaded_files[0]
    173 assert file_name.endswith((".zip", ".csv"))
--> 174 self.unzip_file(file_name, tempdir, destination_dir)
    175 return file_name

File ~/Workspace/scherfler-etal/env/lib/python3.10/site-packages/ppmi_downloader/ppmi_navigator.py:164, in HTMLHelper.unzip_file(self, filename, tempdir, destination_dir)
    162 source = op.join(tempdir, filename)
    163 target = op.join(destination_dir, filename)
--> 164 os.rename(source, target)
    165 logger.info(f"Successfully downloaded file {filename}")

OSError: [Errno 18] Invalid cross-device link: '/tmp/tmp2oy8fv6e/idaSearch_1_20_2023.csv' -> 'inputs/study_files/idaSearch_1_20_2023.csv'

Hi @niyonx, I'm not familiar with this error. However, it looks like renaming a file between two different file systems often causes this error.
Could you describe the system you are attempting to execute the code on?

The system is a ubuntu 22 OS.
Yes apparently

os.rename only works if source and destination are on the same file system. You should use shutil.move instead.

Any idea why it wouldn't work on ubuntu? Thanks!

Could you post the output from df -T?

@mathdugre
Filesystem     Type     1K-blocks     Used Available Use% Mounted on
udev           devtmpfs   8039132        0   8039132   0% /dev
tmpfs          tmpfs      1613752     2424   1611328   1% /run
/dev/nvme0n1p5 ext4      43563064 35139472   6178424  86% /
tmpfs          tmpfs      8068760   161352   7907408   2% /dev/shm
tmpfs          tmpfs         5120        4      5116   1% /run/lock
tmpfs          tmpfs      8068760        0   8068760   0% /sys/fs/cgroup
/dev/loop0     squashfs       128      128         0 100% /snap/bare/5
/dev/loop2     squashfs     56960    56960         0 100% /snap/core18/2667
/dev/loop4     squashfs     64896    64896         0 100% /snap/core20/1778
/dev/loop7     squashfs       128      128         0 100% /snap/cpufreq/1
/dev/loop9     squashfs    144128   144128         0 100% /snap/gnome-3-26-1604/104
/dev/loop12    squashfs    354688   354688         0 100% /snap/gnome-3-38-2004/119
/dev/loop15    squashfs    168832   168832         0 100% /snap/gnome-3-28-1804/161
/dev/loop19    squashfs     93952    93952         0 100% /snap/gtk-common-themes/1535
/dev/loop20    squashfs     37120    37120         0 100% /snap/heroku/4092
/dev/nvme0n1p1 vfat         98304    37710     60594  39% /boot/efi
/dev/loop25    squashfs      1536     1536         0 100% /snap/gnome-system-monitor/181
/dev/nvme0n1p6 ext4     116445452 91540316  18943824  83% /home
/dev/loop27    squashfs    616704   616704         0 100% /snap/pycharm-community/312
/dev/loop28    squashfs    224256   224256         0 100% /snap/gnome-3-34-1804/77
/dev/loop29    squashfs     47104    47104         0 100% /snap/snap-store/638
tmpfs          tmpfs      1613752       84   1613668   1% /run/user/1000
none           tmpfs      8068760<PHONE_NUMBER>   1% /run/qemu
/dev/loop31    squashfs    119552   119552         0 100% /snap/core/14447
/dev/loop32    squashfs     88192    88192         0 100% /snap/discord/147
/dev/loop22    squashfs     74752    74752         0 100% /snap/core22/484
/dev/loop6     squashfs    463360   463360         0 100% /snap/gnome-42-2204/56

I think it's due to the /tmp and /home having different file system. However, it looks like there was a similar issue in the past (https://github.com/LivingPark-MRI/ppmi-scraper/issues/37) that was solved.
Are you using the latest version of ppmi-downloader (0.6)?

I see, yes I do so it's weird.
(env) *[main][~/Workspace/scherfler-etal]$ pip freeze | grep living
livingpark-utils==0.7
(env) *[main][~/Workspace/scherfler-etal]$ pip freeze | grep ppmi
ppmi_downloader==0.6

It seems that 0.6 does not include the commit resolving this issue.
https://github.com/LivingPark-MRI/ppmi-scraper/commits/v0.6.
I think another version update should solve it for me, thanks!


Azure Spatial Anchors link to Azure Docs takes you out of MR docs

Azure Spatial Anchors link, below shared experiences link takes the user to Azure Docs. While it is a great to not repeat the same info, it is confusing user experience. It's not clear how to get back from Azure ASA page, to back to Mixed Reality docs.
We might solve the issue when we move everything to Azure Docs, for now, I wanted to document.
Thanks!

Is this resolved?

Hi @Yonet,
This is currently the way the sites/content is structured and split up. Restructuring this would be great and it's definitely on my radar, and will hopefully happen in the future, but right now this one isn't a GitHub issue. Thanks for your feedback on these!
Cheers,


Transcribing

Hello, I'm only a musician who is very interested in your project looking forward to trying it out. I set it up in Colab and am currently stuck with an error at the onsets stage. I also wanted to contribute the colab in case it is useful:
https://colab.research.google.com/drive/1q0lk7oDEummGQKVLtx2lt6Cdmhr789GN?usp=sharing
(Also, it didn't let me install cudatoolkits and cudnn, but i could get the first one by using another command)
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:524: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:527: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:532: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
/usr/local/lib/python3.6/dist-packages/librosa/core/audio.py:162: UserWarning: PySoundFile failed. Trying audioread instead.
  warnings.warn("PySoundFile failed. Trying audioread instead.")
<multiprocessing.pool.MapResult object at 0x7fe617346588>
WARNING:tensorflow:Using temporary folder as model directory: /tmp/tmphi9h_48h
13 Track13.tfrecords
Traceback (most recent call last):
  File "code/predict_onset.py", line 144, in <module>
    main(args)
  File "code/predict_onset.py", line 122, in main
    for idx, prediction in enumerate(predictions):
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/estimator/estimator.py", line 543, in predict
    features, None, model_fn_lib.ModeKeys.PREDICT, self.config)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/estimator/estimator.py", line 1133, in _call_model_fn
    model_fn_results = self._model_fn(features=features, **kwargs)
  File "code/predict_onset.py", line 90, in model_fn
    tf.train.init_from_checkpoint(params['ckpt_path'], onset_scope)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/checkpoint_utils.py", line 183, in init_from_checkpoint
    reader = load_checkpoint(ckpt_dir_or_file)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/checkpoint_utils.py", line 63, in load_checkpoint
    return pywrap_tensorflow.NewCheckpointReader(filename)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 306, in NewCheckpointReader
    return CheckpointReader(compat.as_bytes(filepattern), status)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/errors_impl.py", line 519, in __exit__
    c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.DataLossError: not an sstable (bad magic number)

Thanks

from your colab. cudatoolkit installation failed. You should use conda install cudatoolkit  instead of pip.
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/ Collecting tensorflow-gpu==1.13.1   Using cached tensorflow_gpu-1.13.1-cp36-cp36m-manylinux1_x86_64.whl (345.2 MB) ERROR: Could not find a version that satisfies the requirement cudatookit==10.0.130 (from versions: none) ERROR: No matching distribution found for cudatookit==10.0.130

Thanks for your help. I'm encountering a new error: AttributeError: module 'tensorflow' has no attribute 'contrib', It'd be great if you had any idea how to fix that. Thanks


Strange vertical marks in python mode, and the minibuffer too small

Dear Steve,
It is the first time I use your emacs configurations. It looks very nice, but I have encountered two problems:

It gives me strange vertical marks in python mode
The minibuffer only displays half of the characters.

Above is the screenshot with the two problem. Could you help? For your information, I have made no change to your configurations. It was a fresh installation using git clone. My emacs version is 29.0.50 and I am using ubuntu 20.04.4.
Thank you in advance.
Best regards,
Fang

Hi! Do you get the same problems with a release version of Emacs? You're running a development snapshot, and it's fairly common to see bugs. Regarding the line, the character used for this is \u254e — perhaps you're using a font configuration that does not have that glyph? (It's defined here)

Do you use any X11 forwarding to retrieve Emacs GUI? I recall that I might have had a similar issue to the mini-buffer display a few years ago...


DNS WildCard record

Hello again!
While playing with DNS records I realized that PowerView doesn't allow creating WildCard DNS records. Actually it technically does, but the code that handles the function performs a sanity check whether the * record exists.
But, by doing so, it returns the first record in the DNS zone and "detects" that the record already exists.
To confirm that PowerView can actually add a WildCard DNS record I removed the lines of code that perform the search, and I can confirm that the WildCard has been successfully added.

I would suggest the following approach to handle Wildcards:
Create a set of function Add/Disable-DNSWildCard that only takes the RecordAddress as argument and creates/disables the record.
Removing the DNS record would have no effect on the actual name resolution as the wildcard will remain in the DC memory unless the DNS service is restarted or the zone manually reloaded. Therefore the "disable" operation would be required to change the value of the DNS record to something like <IP_ADDRESS>.
Finally, speaking of changing DNS record values, the function handling records updates would need slight modification to
allow an operator to edit the WildCard record (becoming therefore a superset of the Disable function).
If there is anything I can help you with, please do let me know, thanks!

Thats actually true. Thanks for pointing that out. We might need to implement this in other modules as well allowing wildcard (*) object to be added.

First off, I have removed the lines in Add-DomainDNSRecord where it checks if the dns exists because ldap will throw error if it exists anyway. Added character escape to avoid confusion with ldap filter wildcard (*) and dns wildcard (*). So adding and removing wildcard dns is not an issue now (as far as ive checked).

Referring to "disabling" wildcard dns, thats new to me. Thanks for that! I've also added new module as per your suggestion, Disable-DomainDNSRecord to point whatever record to "<IP_ADDRESS>".

Please verify if this works.

Everything works as expected, wonderfully done! Closing the issue, thanks for the quick responses and code changes!


Bug: Disabled Category field should show Disabled Cursor

Describe the bug
When Category Field is Disabled it shows pointer cursor
To Reproduce
Steps to reproduce the behavior:

Go to https://spendwise-seven.vercel.app
Select Transaction Type 'Income'
Hover on Select Category
The cursor shows pointer which should not be the case

Expected behavior
A Disabled Cursor should be shown like this:
Screenshots

I would like to work on this

@Jaimin25 yes sure


refactor: scripts/VISS_Sample_Data.R

This pull request includes several significant updates to the project, primarily focusing on importing new dependencies, adding new functions for climate data analysis, and updating the documentation. Below is a summary of the most important changes:
Dependency Updates:

Added new dependencies in the DESCRIPTION file: dplyr, purrr, sf, tibble, terra, exactextractr, future, and furrr.
Updated the NAMESPACE file to import functions from the new dependencies.

Documentation Updates:

Added documentation for the new functions: exposure, exposure_times, extract_climate_data, get_niche_limits, and prepare_range. [1] [2] [3] [4] [5]

Miscellaneous:

Added global variables declaration to R/globals.R to avoid R CMD check warnings.- Modularized key functions (prepare_range, extract_climate_data, get_niche_limits, exposure, exposure_times) and moved them to the /R folder for better code reuse and maintainability.

Created a comprehensive driver script scripts/VISS_Sample_Data.R to orchestrate the workflow, including range preparation, climate data extraction, thermal niche limit computation, exposure calculation, and exposure times analysis.

Addressing: https://github.com/uw-ssec/biodiversity-horizons/issues/22

I am currently facing an issue where no linting warnings appear when I test the package locally using lintr::lint_package() and after applying fixes like usethis::use_import_from(), adding proper imports in @importFrom directives, and ensuring the namespace is updated.
However, when I push the changes to GitHub, the CI workflow still reports linting warnings, particularly related to missing global function definitions (e.g., %>%, tibble, pull). Despite matching the local linter configuration to the one used in GitHub Actions, I am unable to reproduce these warnings locally, making it challenging to debug effectively.
Any insights on what might be causing this discrepancy or suggestions on how to proceed would be greatly appreciated!
Thanks!

Added issue for tracking the warnings issue here: https://github.com/uw-ssec/biodiversity-horizons/issues/38


Dropping scarf dependency

Heya, we have a community push to get @scarf/scarf removed from packages. It's a data protection and library expectations issue.
There's a considerable backlog of conversation on Reactiflux #news-and-links, with a reasonable starting point here: https://discordapp.com/channels/102860784329052160/105816607976095744/727600754646450206
The conversation also included the author of scarf as well.
The result being tannerlinsley/react-query#676

Thanks for pointing this out. Removed.


can NDArrayIter read data from file?

I want do some other classification task with mxnet. But NDArrayIter seems only read data from memory.
Cause my data is very large, and cannot load in memory wholy. anybody could tell me how to read large data from file for mxnet input?

try numpy.mmap.

numpy memory maps will work, but only if you've saved them as memory maps before hand.

@jmschrei Yes, depending on your data format, you can try CVSIter.

oh,yes. CSVIter solves my problem. thanks

@mcxkarakoc


Developer: Active Navigation

As a developer I want to implement an active state to top level navigation so that the user knows what section they are in
Feature: Active top level navigation
  As a developer
  I want an active state on top level navigation
  So that the user will know what section they are editing

  Scenario: a developer needs to add top level active navigation
    Given there is an active state to top level navigation
    When a user needs to edit/add content to the CMS
    Then they will be able to see where they are at

Rachel White [3:12 PM]
look up how to deal with long content in table cells on responsive
Rachel White [3:17 PM]
explore navigation menu items
[3:18]
active tab on that page.
[3:19]
explore nunjucks templating for knowing active links

Responsive Tables Solution!!
http://codepen.io/geoffyuen/pen/FCBEg

Thinking about this for responsive small screen menu.
https://codepen.io/andornagy/pen/RNeydj?editors=1100#0
Thoughts @Snugug @rachelnicole ??

@poofichu is this complete? Can this story be closed?

No sir @scottnath. This hasn't been worked on yet.  It is not 100% needed for MVP, but is one of those things that is nice to have.  All other products in the universe have active navigation, so it would be nice enough to have it for this :)

@poofichu are these possible scenarios that need to be added to this story?

[ ] look up how to deal with long content in table cells on responsive
[ ] explore navigation menu items
[ ] active tab on that page.
[ ] explore nunjucks templating for knowing active links

@joshkimmell that post above was a brain dump so we didn't lose other things that needed to be done.  Please ignore....
The only thing needed for this story is the last item.

@joshkimmell + @scottnath - update this to a user story. Can you guys please review.
@poofichu - can you make sure I didn't lose any part of what you were trying to say.

I'm good with this. I think we can move it to the backlog.

Bueno!

🎱

🎱 🎱

@scottnath
This will require a FED to work on this. Is this story complete IYO?

Blocked by #570


Fix/cache apcu update

Fixing problem since PHP 8.1: it is not possible to pass null to apcu_store $ttl parameter, but is it possible by interface and comments and means "null => infinite lifetime". So it must be 0 for apcu_store
Using APCUIterator for APCu

Mr @glensc could you please review this PR!


New version: ducaale.xh version 0.21.0

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

No errors to post.

(Automated response - build 669.)

Automatic Validation ended with:

No errors to post.

(Automated response - build 674.)

@wingetbot waivers Add Validation-Executable-Error


Push notification methods missing for when app is in background

I compiled the FCM Example app on my iOS 10 device and am able to receive push notifications while the app is in the foreground. However, when the app is in the background, and the push notification appears in the notification tray to the user, tapping the notification to open the app does not result in any of the implemented delegate methods being fired.
Thanks to this StackOverflow answer I realized a crucial method implementation is missing from the FCM Example app and the Firebase documentation:
- (void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void (^)())completionHandler
This is the method that gets fired when a user taps on the notification to open the app. I believe it should be part of the example app and included in all related documentation.
Also, a reference to the corresponding method for iOS 9 and below is also missing from both places:
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo

Upon further inspection of the Firebase documentation, I see this at the bottom:

Receive and handle messages with notification in the payload

When your app is in the background, iOS directs messages with the notification key to the system tray. A user tap on a notification opens the app, and the content of the notification is passed to the didReceiveRemoteNotification callback if implemented in the AppDelegate.

I find this confusing for a number of reasons:

If following along with the instructions, the reader just implemented a method with the same name: didReceiveRemoteNotification when this is actually referring to an entirely separate method (one that doesn't include the completion handler)
There is no mention here of the corresponding iOS 10 method (Although to be fair, it seems as though if the iOS 10 method isn't implemented, the iOS 9 one will be called)
This one paragraph appears all the way at the end of the page, as if it were an afterthought, even though this is one of the key use cases for push notifications

try setting it to "FirebaseAppDelegateProxyEnabled": NO in your info.plist

I would like to strongly second this comment, as I carefully followed the instructions from the documentation, misread the last paragraph to refer to the earlier didReceiveRemoteNotification implementation, and was unable to to handle background notifications until implementing the method mentioned in this issue.

@pejalo, This is now implemented here, though not complete yet (waiting for #195).

Merged the PR so closing this.


Question No AGOL/Portal

I just need help seeing how I can implement this functionality.  I do not want to use Portal or AGOL at all if possible.  I do not want to share my feature services with AGOL, (sensitive data) but I want to use the Geoform.  I only want to work with locally hosted feature services from my ArcGis Server.
I want to have one feature service as the main layer for the geoform.  Plus I want a combo box that queries multiple feature services that populates multiple comboboxes in the geoform.  (So multiple queries)
If an entry already exists, then I want it to prepopulate for quick editing and click submit.
Basically I want to have a page that:
Queries one feature services for a pre-existing name (one combobox, autcomplete)
Queries another seperate feature service for values
User hits submits-and the main feature service is updated based on the data from the 2 others.
So its combining data from multiple feature services into a single feature service, with the added ability to force client side validation through combo/box query dropdown (that is dynamic)
I have very limited knowledge of JS.

Hi @acbassil that's going to be tough without some JS knowledge. It's possible, but will require knowledge of querying services, async queries and deferreds.
You can use the geoform without portal if you would like by using an offline webmap instead.  There is an option for that with the application boilerplate which this template uses.


Actions speed fans

Hello,
Is it possible to change speed ?
How do you change the 4 preset speeds?

Thank you for this great job!

Hi @xavax59,
You can change the speed of fan device in HA:

Is this what you looking for?
These speed values are the same you can set on "initial operation" page of easy controls:

Hi @xavax59,
You can change the speed of fan device in HA:

Is this what you looking for?
These speed values are the same you can set on "initial operation" page of easy controls:


hackerrank icon

I added hackerrank.com svg icon for the footer and also added new config options.

@mkuchin do you have any ideas on why this might not be working for me? I made all the same changes that you did, but instead of the HackerRank icon, I only see a small plus sign:

^That's where all the other icons should be, but I removed them to make sure they weren't conflicting.


Fix merging of property metadata

Before this._propertyInfo was unused. It took the first occurrence of this.properties[property] and returned only this metadata. As described in #2242, all metadata of a super behavior is ignored. Additionally, inconsistencies regarding types were discovered in #2493.
This pull-request corrects the construction this._propertyInfo and let this.getPropertyInfo utilize this object.
As a result, a performance increase should be observed, as the object is only constructed at element create time. It is therefore not needed to traverse the properties every time this.getPropertyInfo is called.
Fixes #2242
Fixes #2493

It looks like this probably has a couple of issues, but @sorvell will take a closer look:

The new code grabs the first property descriptor object off a behavior/prototype and modifies it; if that comes from a behavior it will have modified it for all users of the behavior
The change seems to affect "first valued" approach to type and readOnly

FYI, we didn't make this kinda obvious change when we introduced _propertyInfo (which was added purely as an implementation-detail related to performance for areas that needed specific property info in hot paths) out of concern for breaking the existing API of getPropertyInfo, so this PR will require us to re-evaluate that concern.

@kevinpschaaf I have fixed the first point and added a testcase for it. While it does have a different behavior, I do think the old behavior was inherently broken and the new behavior is what a Polymer user would expect.
The first valued approach would result in different behavior when an element inherits a behavior with readOnly true and explicitly sets readOnly to false. I am not aware of any use case for this behavior.
A conflict in types is in my eyes something the user should be aware of. This is what a user would expect when using inheritance in OOP.

@sorvell Replaced the property copying with chainObject

I think it makes sense to block this PR on the resolution of #3418

@sorvell is this eligible for merging for 2.0 or shall I close this PR?

I hope this is addressed already in 2.0, but given the inactivity on this PR I am going to close it.


Questions about compilation

I have a few questions about the compilation of the project...
After running autogen and configure with the custom flags, at that point is it possible to compile the project without using the newly generated makefile (aka use directly the gcc command) or something like that.
I'm trying also to compile the project from xcode because I have the need to use this code in a swift library... the main problems encountered with the compilation from xcode are wrong includes in the files. I'm not an expert on AutoMake, but from what I have understood, all the includes are managed by automake, is there a way to do it manually?

I'm trying also to compile the project from xcode because I have the need to use this code in a swift library

What about compiling it "normally" with automake, and then dynamically linking it in your xcode project?

In particular I'm referring to
https://github.com/ElementsProject/secp256k1-zkp/blob/d22774e248c703a191049b78f8d04f37d6fcfa05/src/secp256k1.c#L9
why the include is defined this way in this line?, but then
https://github.com/ElementsProject/secp256k1-zkp/blob/d22774e248c703a191049b78f8d04f37d6fcfa05/src/secp256k1.c#L36
why this line doesn't use the ../ (I need to use the module generator)

This is because there have been changes in the upstream version of this library that apparently haven't properly been implemented in the modules that this fork contains... https://github.com/bitcoin-core/secp256k1/pull/925, https://github.com/bitcoin-core/secp256k1/pull/1126

And then calling
gcc -Iinclude secp256k1.o test.c

This should help you: https://github.com/bitcoin-core/secp256k1/issues/929#issuecomment-997815459

I also tried shipping the automake inside a swift library / pod, but they don't support that type of build, xcode expects to call the xcodebuild command and from what I found that behaviour isn't customizable.

Hey @mattiaferrari02 have you looked at the existing swift packages that wrap this project into spm?

I would consider our incorrect backport of https://github.com/bitcoin-core/secp256k1/pull/925 to be a bug that we should fix -- that PR was specifically to make cases like this easier to handle.

Do you know anything about this error illegal argument: !secp256k1_fe_is_zero(&ge->x) ?

This indicates that you're using some API function with an incorrect argument. Figure out which API function throws that error and then have a look at the docs of this function in the header file.

I would consider our incorrect backport of bitcoin-core/secp256k1#925 to be a bug that we should fix -- that PR was specifically to make cases like this easier to handle.

Let me reopen and repurpose this issue to track that bug.


Basic wallet recovery

Allows you to delete keys from the key list
Allows you to recover them by plugging in devices

UI is quite rough but

If I restore delete and restore a key without deleting the entire database, the app remembers the network somehow. If I delete the DB, the network is assumed to be mainnet. I guess we are loading old Mutation::SetWalletNetworks, maybe we want to avoid this behaviour, and only load key-related mutations after a NewKey?

@nickfarrow don't we know the network of the key now? I guess we should just transmit that.

@nickfarrow we didn't have the full network. We just had what kind of network. I changed this to the full network .

We need to know it on the device so the coordinator can recover it. Therefore it should be frostsnap_core responsibility and therefore we don't need to store it in an sql table or have a "settings" thing since it can't change (for now).

@nickfarrow alright there's another separate commit that fixes a bug found by @evanlinjin on master. This PR felt like the easiest place to fix it since some of the parts for the fix I'd already developed as part of this PR.
Please review the last two commit separately.


Mining/Fishing/Chopping, resource worldgem, property error on sphereworld loading

If you mine on static, terrain, or even ingame rock
a worldgem will apear for the resource.
Then save.
you will have a item like this
[WORLDITEM i_worldgem_bit]
SERIAL=040001eef
TIMER=3574
AMOUNT=0
TYPE=t_rock
ATTR=092
MORE1=mr_star_sapphire
P=1441,1509,40
SPAWNID=-1 //line #15 error
TIMELO=15
TIMEHI=30
MAXDIST=15

when loading sphere then,
Loading ../saves/sphereworld.scp...
ERROR:(sphereworld.scp,15)Undefined keyword 'SPAWNID'

SAME FOR FISHING
SAME FOR TREE CHOPPING

NO MORE ERROR ON LOADING EVEN IF "SPAWNID=-1" STILL IN SAVE


Failed Test Case 7 (Wrong Service Timings)

Summary
I am unable to pass test case 7 because the service times for customer 6 and customer 4 are incorrect.
Description:
I am unsure of why I am unable to access the correct service timings for each customer (specifically just customers 6 and 4), especially since my events seem to be in the correct sequence and I only call serviceTime.get() when a Serve event is created.
Code Snippets

Screenshots

Thank you for reading!

solved! I was calling getServiceTiming at the wrong time

hi! can i ask what you mean by calling getServiceTiming at the wrong time? i'm getting the same error too

hi! basically instead of calling getServiceTiming when i transit from Serve to Done, i instantiated it when I create my Serve event. we are only allowed to call the function when Serve is being executed. hope this clarifies!


Game wont Compile

Describe your problem here.
How can i fix this!?
source/TitleState.hx:11: characters 8-52 : Type not found : flixel.addons.transition.FlxTransitionSprite
source/TitleState.hx:12: characters 8-55 : Type not found : flixel.addons.transition.FlxTransitionableState
source/TitleState.hx:13: characters 8-47 : Type not found : flixel.addons.transition.TransitionData
C:/haxelib/flixel-ui/2,5,0/flixel/addons/ui/FlxUIState.hx:4: characters 8-43 : Type not found : flixel.addons.transition.Transition
C:/haxelib/flixel-ui/2,5,0/flixel/addons/ui/FlxUIState.hx:5: characters 8-55 : Type not found : flixel.addons.transition.FlxTransitionableState
source/MusicBeatState.hx:8: characters 8-55 : Type not found : flixel.addons.transition.FlxTransitionableState
C:/haxelib/flixel-ui/2,5,0/flixel/addons/ui/FlxUIState.hx:35: characters 26-48 : Type not found : FlxTransitionableState
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

install or update flixel-addons
in command prompt:
haxelib install flixel-addons
or
haxelib update flixel-addons

i does nothing ):

weird, not sure how to help you myself. try downloading and executing the setup.bat file in this guide.


http: client - set scopeid fixes HTTP requests for IPv6ll

Fixes HTTP requests to IPv6ll adresses and if the local IPv6ll was set.

Alternatively: A fix in tcp_connect_bind(). Should we fix it there?
src/sip/transp.c also calls sa_set_scopeid().


remind: Fix $out expansion for tkremind

Description of changes
In the last commit to remind, double quotes were replaced by single quotes. This change disabled the parameter expansion for remind, causing an error when starting tkremind:

Error in startup script: can't read "out": no such variable
while executing
"set Remind "$out/bin/remind""
(file "/nix/store/p2ha6a4ybw7m6cy8mindb15ay9129kfa-remind-05.00.02/bin/.tkremind-wrapped" line 216)

Reverting to double quotes allows Bash to correctly expand the $out parameter.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Thank you for merging!


website change

alpha-ess switched to there new domain yesterday, so this plugin fails to pull new data since yesterday.
New domain is https://cloud.alphaess.com/ and should replace the https://www.alphaess.com whereever you use it in the hope this starts working again.

Thanks, This was reported already https://github.com/CharlesGillanders/homeassistant-alphaESS/issues/20 and I have made the necessary fix.  Details are in that other ticket.


meta: check errors in doCleanStaleSession, and distinguish between close/clean

Codecov Report

Merging #1552 (1fcfce6) into main (58334ff) will decrease coverage by 0.18%.
The diff coverage is 46.03%.

@@            Coverage Diff             @@
##             main    #1552      +/-   ##
==========================================
- Coverage   61.34%   61.16%   -0.19%
==========================================
  Files         133      133
  Lines       22279    22295      +16
==========================================
- Hits        13667    13636      -31
- Misses       7071     7111      +40
- Partials     1541     1548       +7

Impacted Files
Coverage Δ

pkg/meta/redis.go
72.22% <39.02%> (-0.80%)
:arrow_down:

pkg/meta/sql.go
66.89% <44.44%> (-0.28%)
:arrow_down:

pkg/meta/tkv.go
75.29% <50.90%> (-0.92%)
:arrow_down:

pkg/meta/base.go
72.05% <66.66%> (ø)

pkg/fs/fs.go
76.87% <0.00%> (-0.79%)
:arrow_down:

pkg/chunk/disk_cache.go
80.78% <0.00%> (-0.50%)
:arrow_down:

cmd/format.go
60.68% <0.00%> (-0.43%)
:arrow_down:

pkg/utils/cond.go
100.00% <0.00%> (ø)

... and 2 more

Continue to review full report at Codecov.

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


logrotate every hour

I think this should help solve the space issues we've seen recently on proxy workers.
By default logrotate is only run every day. This moves it to every hour. This means that if the log is at 749M when it gets run, then it could balloon over the next night and not be caught by th erotation
I couldn't make this change in the normal ansible-logrotate because that's a submodule to a repo we don't control. that should get moved to galaxy at some point.
@javierwilson @snopoke @sravfeyn

deployed to nic and ctrls

thanks. added it to deploy_db


Which is the best timer for 'manual' updates for Composition?

I do not want to continue with my apps until the #Build2016, so I am experimenting, in this case https://github.com/juanpaexpedite/MasterDetailsComposition/tree/master/CompPac I am developing the Pacman using Composition. (Yes I know I can use the CanvasAnimatedControl of Win2D). But I want to test just using Composition.
Instead a dispatcher timer I have added CompositionTarget.Rendering. (That I know it for long time ago).
1.- Is there a better way to update composition properties like Offset and RotationAngle using this event?, because I think a DispatcherTimer is not the best option, it has an small flickering that I do not know if can be improved.
2.- For X,Y translations should I use just Offset or TransformMatrix?.
I want to learn in deep the capabilities of Composition and doing this kind of examples I think is it a good way, any advice will be welcome. Thanks Juan Pablo

Probably this won't be applicable for all your issues, but this is what I did in one of my tests:

create/grab a random hidden visual
create a normal keyframe animation from 0 to Double.Max, with a timespan of Double.Max seconds (or instead Double.Max, just use a very large number)
apply this animation to the RotationInDegrees property of the visual from step no.1

This way you have a "timer" that you can use in other expression animations. I did this to try code physics simulations in expression animations.

I've actually been writing a game in my spare time using the Composition api, but I've been doing it in a frameworkless app instead of using XAML (similar to the CompositionVisual sample). Instead of the dispatch timer, I use the Threading Timer. However, it is important to note that this version of the Timer will have concurrency, and that it calls your callback every interval regardless if you're doing work. Because of that, I did something like this:
using System.Threading;

public void Run()
{
    //
    // We use the timer as a way to "schedule" a tick. If we just
    // allowed the timer call the callback normally, we would have
    // concurency. This causes input problems, as well as tiling
    // problems, and many more.
    //
    _gameLoopTimer = new Timer(GameLoop, null, TIME_INTERVAL_IN_MILLISECONDS, Timeout.Infinite);
}

private void GameLoop(Object state)
{
    Stopwatch stopwatch = new Stopwatch();
    stopwatch.Start();

    // ***************************
    // * Game related code here. *
    // ***************************

    //
    // Schedule another callback to be either in the normal
    // interval, or less in case we took too long.
    //
    _gameLoopTimer.Change((int)Math.Max(0, TIME_INTERVAL_IN_MILLISECONDS - stopwatch.ElapsedMilliseconds), Timeout.Infinite);
}

private Timer _gameLoopTimer;
private static readonly int TIME_INTERVAL_IN_MILLISECONDS = 16;

This works pretty well for what I'm doing. I have loads of visuals that represent "tiles" in an overworld, and move their container visual (with the Offset property) around when the player moves. NPCs and the Player are represented by some visuals that I also manipulate through their Offset and Opacity properties.
You should still be able to use this in a XAML app as well, but if you want to call out to XAML objects while in the timer callback you'll have to ask the CoreDispatcher for the UI thread to do work on your behalf, as UIElements are only marshaled for that thread. Hover, if you're only manipulating non XAML objects in the callback, you should be fine.
As for your second question: if you're just manipulating X and Y, Offset is a fine way to go. There's not much of a difference for you between the two, and in the compositor we end up multiplying these things into a final matrix before drawing anyway. Thus, you should really do what is easier and more readable for you, and in most cases this will be using the Offset property. The same goes for the transform components (RotationAngle, RotationAngleInDegrees, RotationAxis, etc).
@tomzorz Your solution reminds me of what I used to do in the WarCraft III map editor back in the day ;) Tried and true. It's awesome hearing the creative ways people approach these scenarios!
Good luck on Pacman!

Just wanted to mention something that totally slipped my mind... waiting for VSyncs! This can be done with Win2D in C# by calling WaitForVerticalBlank on a swap chain object. Be careful with this call! This will wait on the current thread until the next vertical blank form the monitor, don't do this on the UI thread!
You can find a sample of this in the Win2D samples here.

Interesting at this moment I am testing 2d tile game using AnimatedCanvasControl, it is really smooth,I will also try that old school trick :). thanks

@juanpaexpedite Let us know how your experiences go with Win2D and Composition!
Closing this issue.


Unable to find GitHub repository matching 'undefined'

Verifying https://github.com/microsoft/vscode-pull-request-github/issues/2348
I got into the create flow, but ended in this error when I tried to create the pull request

I can fetch/push from the cli and I was able to create an issue, so it seems like the extension is aware that the remote exists.

Duplicate of https://github.com/microsoft/vscode-pull-request-github/issues/2395

Duplicate of https://github.com/microsoft/vscode-pull-request-github/issues/2395


SideNav: split CSS into raw and Lumo

Currently there is no separate "unthemed" or "raw" css.

This was included in the initial version of the web component. However, it can be improved. Therefore it is mentioned in the web component issue for adding Material theme.


Add "go to top"

Add go to top feature for index and posts pages.
Files to change

index.php
posts.php

Thank you! Keep Contributing

I would like to work on this issue, if it's still up for grabs.

Yes sure. You can go ahead. @myli14

I just want to make sure.

Feature which we are thinking of is something like "Home" button on keyboard, which changes position of scroll or It has to do with something else?
Do you have any limitations? By that I mean, specific programming language? (For me personally, it would be easy thing to do in JS)

I just want to make sure.

Feature which we are thinking of is something like "Home" button on keyboard, which changes position of scroll to 0,0 or It has to do with something else?
Do you have any limitations? By that I mean, specific programming language? (For me personally, it would be easy thing to do in JS)

This is not so complex.
You can do:

Add an "upper arrow icon" on the bottom right
link that to any div on the top eg nav
Add smooth-scrolling to body

Also, you can use any language of your choice. Html CSS is sufficient for this job.
Thank You

Should I make pull request to "main" or to "chaitak-gorai-patch-1" branch?

You can commit to main.

This issue is solved by commit 6fc8bfa8082423ab4ff2f985ee9ceac1ced060e3 and 40f77f2540a7c7056fc8c8ab4e2564150a6946ba
Special thanks to @myli14 for the contribution. Kindly update contributors.md.
Thank you! Keep contributing :)


Show TechSource account confirmation in support

Context
DfE support users need to know when it's appropriate to ask users to go place orders.
Changes proposed in this pull request

On the schools page in support, convert the users table to a list of summary lists. This is keeping with the user lists for responsible bodies and schools.
Surface whether the user has everything necessary to order, and if not, then why not.
Introduce a new view component for ease of testability

Guidance to review

I force-pushed a whitespace fix for tidiness, but the PR is materially unchanged, so merging when the build runs.


Integration test error in OS X

The script that runs the integration is not compatible with OS X.
The tests fails on commands readlink -f and cp -ar, since those have different options interface  on that platform.

readlink
fails with readlink: illegal option -- f

cp -ar
fails with cp: the -R and -r options may not be specified together.  The flag -a expands to -pPR in OS X, there the conflict.

Yey for not being POSIX.
I fixed a similar thing once for the Redis install script, I can just re-use that, then we do not even need readlink's non-POSIX -f option anymore.