Unable to read QR codes

Hi, thank you for this post, it's very useful to understand better how hololens manage QR codes.
I cloned your project and use exact unity version to test if it works, but no qr codes detected.
The only text I see is this

"Initializing QR tracker attemp 1" is not updating.
Any advice?
Thank you so much!

I don't see any QR code in your picture . Did you give consent? Do you have a log file?

This is a picture with QR code

And this is the UnityPlayer.log's content:
`Logging to C:/Data/Users/csavi/AppData/Local/Packages/Template3D_pzq3xp76mxafg/TempState/UnityPlayer.log
Loading native plugins
Loading Microsoft.MixedReality.QR.dll
Loading AudioPluginMsHRTF.dll
Module information:
Built with Compiler Ver '191627012'
Built from '2019.4/staging' branch
Version is '2019.4.17f1 (667c8606c536)'
Debug build
Application type 'D3D'
OS 'Windows 10 (10.0.19041)'
PlayerConnection initialized from C:/Data/Users/DefaultAccount/AppData/Local/DevelopmentFiles/Template3DVS.Debug_ARM64.Carmine/Data (debug = 0)
PlayerConnection initialized network socket : <IP_ADDRESS> 55392
Multi-casting "[IP] <IP_ADDRESS> [Port] 55392 [Flags] 2 [Guid]<PHONE_NUMBER> [EditorId]<PHONE_NUMBER> [Version] 1048832 [Id] UWPPlayerARM(HOLOLENS-4H8LAJ) [Debug] 1 [PackageName] Template3D_pzq3xp76mxafg [ProjectName] QRCodeService" to [<IP_ADDRESS>:54997]...
Started listening to [<IP_ADDRESS>:55392]
Starting managed debugger on port 56634
PlayerConnection already initialized - listening to [<IP_ADDRESS>:55392]
[Subsystems] Discovering subsystems at path C:/Data/Users/DefaultAccount/AppData/Local/DevelopmentFiles/Template3DVS.Debug_ARM64.Carmine/Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Successfully created d3d11 device with debug flag.
Direct3D:
Version:  Direct3D 11.0 [level 11.1]
Renderer: Qualcomm(R) Adreno(TM) 630 GPU (ID=0x45373230)
Vendor:
VRAM:     1932 MB
Initialize engine version: 2019.4.17f1 (667c8606c536)
[AudioManager] InitNormal(tryDeviceDefaults = false, preferredOutputType = FMOD_OUTPUTTYPE_AUTODETECT) attempt with hardAudioDisable: false
[AudioManager] Setting output to FMOD_OUTPUTTYPE_AUTODETECT
[AudioManager] InitNormal succeeded with output "FMOD_OUTPUTTYPE_WASAPI". Driver name is "Speakers (Analog Feature Audio Driver (WDM) - AFAD)". Speaker mode is "FMOD_SPEAKERMODE_STEREO"
D3D11 device created for Microsoft Media Foundation video decoding.
The following GlobalManagers were stripped from the build (Either because they're not used or not supported on this platform):
ClusterInputManager
UnityConnectSettings
Created eye textures with a "texture array" layout.  The "single-pass instancing" stereo mode will be used.
Windows Mixed Reality spatial locatability state changed to Active.
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/HoloLensWorldManager.cpp Line: 324)
End showing splash screen.
UnloadTime: 9,110417 ms
Failed to calculate boundary bounds.
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
Microsoft.MixedReality.Toolkit.Boundary.BaseBoundarySystem:CalculateBoundaryBounds()
Microsoft.MixedReality.Toolkit.Boundary.BaseBoundarySystem:Initialize()
Microsoft.MixedReality.Toolkit.<>c:b__63_0(IMixedRealityService)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:ExecuteOnAllServicesInOrder(Action`1)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:InitializeAllServices()
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:InitializeServiceLocator()
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:InitializeInstance()
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:RegisterInstance(MixedRealityToolkit, Boolean)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:Awake()
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
Initializing QR tracker attempt 1
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
MRTKExtensions.QRCodes.QRCodeTrackingService:SendProgressMessage(String)
MRTKExtensions.QRCodes.d__40:MoveNext()
System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start(d__40&)
MRTKExtensions.QRCodes.QRCodeTrackingService:InitializeTracker()
MRTKExtensions.QRCodes.QRCodeTrackingService:Initialize()
Microsoft.MixedReality.Toolkit.<>c:b__63_0(IMixedRealityService)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:ExecuteOnAllServicesInOrder(Action`1)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:InitializeAllServices()
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:InitializeServiceLocator()
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:InitializeInstance()
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:RegisterInstance(MixedRealityToolkit, Boolean)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:Awake()
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
Enabled tracking
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
MRTKExtensions.QRCodes.QRCodeTrackingService:SendProgressMessage(String)
MRTKExtensions.QRCodes.QRCodeTrackingService:Enable()
QRCodeDisplayController:StartTracking()
QRCodeDisplayController:QRCodeTrackingService_Initialized(Object, EventArgs)
MRTKExtensions.QRCodes.QRCodeTrackingService:SetupTracking()
MRTKExtensions.QRCodes.QRCodeTrackingService:Update()
Microsoft.MixedReality.Toolkit.<>c:b__67_0(IMixedRealityService)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:ExecuteOnAllServicesInOrder(Action`1)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:UpdateAllServices()
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:Update()
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
Enabled tracking
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
MRTKExtensions.QRCodes.QRCodeTrackingService:SendProgressMessage(String)
MRTKExtensions.QRCodes.QRCodeTrackingService:Enable()
QRTrackingServiceDebugController:StartTracking()
QRTrackingServiceDebugController:QRCodeTrackingService_Initialized(Object, EventArgs)
MRTKExtensions.QRCodes.QRCodeTrackingService:SetupTracking()
MRTKExtensions.QRCodes.QRCodeTrackingService:Update()
Microsoft.MixedReality.Toolkit.<>c:b__67_0(IMixedRealityService)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:ExecuteOnAllServicesInOrder(Action`1)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:UpdateAllServices()
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:Update()
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
QR tracker initialized
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
MRTKExtensions.QRCodes.QRCodeTrackingService:SendProgressMessage(String)
MRTKExtensions.QRCodes.QRCodeTrackingService:SetupTracking()
MRTKExtensions.QRCodes.QRCodeTrackingService:Update()
Microsoft.MixedReality.Toolkit.<>c:b__67_0(IMixedRealityService)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:ExecuteOnAllServicesInOrder(Action`1)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:UpdateAllServices()
Microsoft.MixedReality.Toolkit.MixedRealityToolkit:Update()
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
Max proximity light count (2) exceeded.
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:LogFormat(LogType, String, Object[])
UnityEngine.Debug:LogWarningFormat(String, Object[])
Microsoft.MixedReality.Toolkit.Utilities.ProximityLight:AddProximityLight(ProximityLight)
Microsoft.MixedReality.Toolkit.Utilities.ProximityLight:OnEnable()
Microsoft.MixedReality.Toolkit.Input.BaseInputDeviceManager:RequestPointers(SupportedControllerType, Handedness)
Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input.WindowsMixedRealityDeviceManager:GetOrAddController(InteractionSource, Boolean)
Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input.WindowsMixedRealityDeviceManager:GetOrAddController(InteractionSourceState)
Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input.WindowsMixedRealityDeviceManager:InteractionManager_InteractionSourceDetected(InteractionSourceDetectedEventArgs)
UnityEngine.XR.WSA.Input.InteractionManager:OnSourceEvent(EventType, IntPtr, InteractionSourcePressType)
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
Windows Mixed Reality spatial locatability state changed to Inhibited.
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/HoloLensWorldManager.cpp Line: 324)
Windows Mixed Reality spatial locatability state changed to Active.
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/HoloLensWorldManager.cpp Line: 324)
Windows Mixed Reality spatial locatability state changed to Inhibited.
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/HoloLensWorldManager.cpp Line: 324)
Windows Mixed Reality spatial locatability state changed to Active.
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/HoloLensWorldManager.cpp Line: 324)
Windows Mixed Reality spatial locatability state changed to Inhibited.
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/HoloLensWorldManager.cpp Line: 324)
Windows Mixed Reality spatial locatability state changed to Active.
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/HoloLensWorldManager.cpp Line: 324)
Windows Mixed Reality spatial locatability state changed to Inhibited.
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/HoloLensWorldManager.cpp Line: 324)
Windows Mixed Reality spatial locatability state changed to Active.
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/HoloLensWorldManager.cpp Line: 324)
Windows Mixed Reality spatial locatability state changed to Unavailable.
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/HoloLensWorldManager.cpp Line: 324)
GetCurrentHolographicCameraState: No culling frustum available. Culling data may be stale.
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/VRDeviceHoloLens.cpp Line: 309)
GetCurrentHolographicCameraState: No culling frustum available. Culling data may be stale.
(Filename: C:\buildslave\unity\build\Modules/VR/HoloLens/VRDeviceHoloLens.cpp Line: 309)
Trimming D3D resources.
`
Thank you

All right. Watch the QR code without the app. Does a green box appear around it?
Anyway, I would suggest printing out the QR code on at least 10x10cm format. I have found recognizing QR codes from a screen does not always work very well

I printed two qr codes and I see the green box around them. But on example app no codes detected. I also tried microsoft example (with tracking) and it works (but is very slow to track!)

I checked unity log and I found that qr has been detected but for some reason it not show on UI:
Found QR code Test 1 prova
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
MRTKExtensions.QRCodes.QRCodeTrackingService:SendProgressMessage(String)
MRTKExtensions.QRCodes.QRCodeTrackingService:QRCodeWatcher_Updated(Object, QRCodeUpdatedEventArgs)
System.UnhandledExceptionEventHandler:Invoke(Object, UnhandledExceptionEventArgs)
WinRT.EventSource`3:Invoke(IntPtr, IntPtr)
WinRT._Invoke:Invoke(IntPtr, IntPtr)
System.Action`1:Invoke(T)
WinRT.Delegate:MarshalInvoke(IntPtr, Action`1)

What branch are you building and what scene? And can you send me the QR code you are using?

I cloned this https://github.com/LocalJoost/QRCodeService/tree/blog1 , the scene is that located in App/Scenes/SampleScene and this is the QR code:

I have no idea what is going wrong at your end. I cloned the branch clean from github, built the app, I printed out your QR code at 14x14cm, started the app, gave consent and it worked the first time.
https://user-images.githubusercontent.com/4129183/110971644-6aae4300-835b-11eb-8b6d-daaaadeea7da.mp4

Very strange! I cloned this https://github.com/LocalJoost/QRCodeService/tree/PackageNameChange and it works like a charm. So I can use it as starting point.

Then you most likely had another app on your HoloLens which had Template_3D as it's default name. Good luck


chore: add aws-pod-identity e2e tests

Signed-off-by: Jorge Turrado<EMAIL_ADDRESS>~This other PR needs to be merged before continue with this~
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[x] Tests have been added

Relates to https://github.com/kedacore/keda/issues/3659

/run-e2e aws*

/run-e2e aws*

Let's see if I did the federation correctly for both clusters 🤞  xD


Name generation fix

See issue #132
Best wishes! ;)

@kriswallsmith is there an issue with this bugfix or did you simply miss it 4 months ago ?

I'd like to see a test to prove this fix. Otherwise we're just tinkering.

It also needs to be rebased to get rid of the merge commit.

I get you point, but it I just switched two statements and writing a test for that would be a lot overhead.
Instead, wouldn't it be sufficient to prove that this change doesn't break any existing tests?

This is an obscure aspect of Assetic that should be covered by the test suite.

@b00giZm the issue is that the previous implementation did not break the test either. So you should add a new test for the bug you fix, which should be failing with the previous implementation and should pass with your fix. Otherwise, nothing would avoid a regression later

Okay guys, I'll look into it, when I find time ;)

Please just open another PR if you have something ready for review.


Add links for owenrumney i3 bar config

Description
Simple PR to Resolve #336  - adding link and gifs for my i3 bar if you want it :man_shrugging:
Usage
N/a
Showcase
N/a

Thanks!


The child component clipped by v-if was rendered twice

Version
2.5.22
Reproduction link
https://codesandbox.io/embed/vue-template-b6c06?fontsize=14&hidenavigation=1&theme=dark
Steps to reproduce
When the initial value of a is equal to true and b is equal to  false, the child component was created twice.
When the initial value of a is equal to false and b is equal to  true, the child component was created once.
When the initial value of a and b are same, the child component was created twice.
What is expected?
The child component is created the same number of times in different cases
What is actually happening?
The child component is created the different number of times in different cases

Don't consider if there is a key, there is no key in this case.

Duplicate of #10860


Effective maskd conv for Guided Anchor?

I have tested the time of masked conv and conv,while I find that the general conv performs better than masked conv.
import torch
import time
from torch import nn
device = torch.device('cuda')
# device = torch.device("cpu")
gpu_id_used = 1
torch.cuda.set_device(gpu_id_used)
channels_in = 512
channels_out = 512
tensor_w = 256
tensor_h = 128
kernel_size = 3
data_conv_layer = MaskedConv2d(channels_in, channels_out, kernel_size, stride=1, padding=1)
data_conv_layer2 = nn.Conv2d(channels_in, channels_out, kernel_size, stride=1, padding=1)
data_conv_layer.to(device)
data_conv_layer2.to(device)
data = torch.randn((1, channels_in, tensor_h, tensor_w))
data = data.to(device)
repeate_time = 50
data_mask = torch.FloatTensor(tensor_h, tensor_w).uniform_() > 0.7
data_mask = data_mask.unsqueeze(0).to(device)
start_time_val = time.time()
for idx in range(repeate_time):
    data = data_conv_layer(data, data_mask)
total_time_val = time.time() - start_time_val
print('masked_conv input mask : avg time is: {:.6f}'.format(total_time_val/repeate_time))

start_time_val1 = time.time()
for idx in range(repeate_time):
    data = data_conv_layer(data, None)
total_time_val1 = time.time() - start_time_val1
print('masked_conv input None : avg time is: {:.6f}'.format(total_time_val1/repeate_time))

start_time_val2 = time.time()
for idx in range(repeate_time):
    data = data_conv_layer2(data)
total_time_val2 = time.time() - start_time_val2
print('conv avg time is: {:.6f}'.format(total_time_val2/repeate_time))

If this has be proven that masked conv is not better than ordinary conv,is there any necessary
to predict a location probability map in GA-RPN???
Thx for any reply!

In our experiments for the paper, masked conv runs a little faster than the normal conv as reported in the paper. Since the normal conv can get optimized during the upgrades of PyTorch and CUDNN, it may be faster now but I am not sure about that. You may try inferring the GARPN model and test the time w/ and w/o masked conv.


Check for invalid utf8 chars.

if dmesg comes up with invalid utf8 chars, the sensu check bombs out with the infamous
Failure/Error:
   ArgumentError:
     invalid byte sequence in UTF-8

This should fix it.

Awesome! Thanks for your PR. Can you submit it to https://github.com/sensu-plugins/sensu-plugins-hardware - I'll merge!


support discrete system as input for FRD

Triggered by #566 and #523, it was revealed that the evaluation of the sys parameter does not take into account discrete time systems.

... needs unit tests.

Coverage decreased (-0.04%) to 88.821% when pulling fd80fc8e40af4dbabc7e61ae674d39def1f7ae97 on bnavigator:discretesys2frd into 92de12d48cadd62b7428f1868ef7508930c9a9d5 on python-control:master.

I also favor the current. Otherwise you would have to keep track from which kind you created the FRD system.


[ amazon-location-samples][maplibre-js-react-iot-asset-tracking] - Show map by local name

Thank you for updating the guide "maplibre-js-react-iot-asset-tracking", I appreciate your dedication.
I have a question is it currently only possible to display maps in English?
Can I show Amazon Location Services maps in Japanese?

You're welcome, yes it is possible. I'll be adding a sample to show how to do it later today/tomorrow at the latest.

OKi, 😊
Well, today, following the new instructions, I got some errors

You have written the default area code and account code, at step
"amplify the file /backend/awscloudformation/override.ts, we can use it to add policies to the IAM Amplify role. Open the file and replace it with the following:"
In step 8, your index.js file has root-CA.pem, but no instructions for renaming the file.
And finally some files were not found in the library at [node_modules]. Although I have tried adding files from amplify the source code. For example, an error line describes the following:
"Failed to parse source maps\maplibre-js-react-iot-asset-tracking\node_modules\maplibre-gl-js-amplify\src\utils.ts"

Please review the code, see if there is any part I forgot

Also, I figured out how to display the language, it should look like this:
  const mbMap = new mapboxgl.Map ({
     container: "map",
     center: center, // original map center
     zoom: 10, // original map zoom
     style: mapName,
     change
   });
   mbMap.once('data type', function() {
     for (class mbMap.style.stylesheet.layers) {
       if (mbMap.style._serializedLayers [layer.id] .layout &&
          mbMap.style._serializedLayers [layer.id] .layout ['text-field'] &&
          mbMap.style._serializedLayers [layer.id] .layout ['text-field'] === '{_name_global}') {
         mbMap.setLayoutProperty(layer.id, 'text-field', '{_name_local}');
       }
     }
   });

Since I don't know much about React JS, mind you a bit

OKi, 😊 Today, following the new instructions, I got some errors

You have written the default area code and account code, at step
"amplify the file /backend/awscloudformation/override.ts, we can use it to add policies to the IAM Amplify role. Open the file and replace it with the following:"

Good catch, I'll fix this in a future PR, thanks for noticing.

In step 8, your index.js file has root-CA.pem, but no instructions on how to rename the file.

The root-CA.pem file referenced in the script is the one you can download while creating your AWS IoT Thing in the console (see screenshot below):

These same certificates are also available in the AWS IoT Core developer guide (here), you can use the one that has "1" in the name.

And finally some files were not found in the library at [node_modules]. Although I have tried adding files from amplify the source code. For example, an error line describes the following:
"Failed to parse source maps\maplibre-js-react-iot-asset-tracking\node_modules\maplibre-gl-js-amplify\src\utils.ts"

These messages you see in the terminal when running the application are just warnings from webpack, the toll used to load & bundle packages. We are now using version 5.x which generates some warnings on some of the modules imported. As long as the last message says something like webpack 5.68.0 compiled with 13 warnings in 1243 ms (version number, amount of warning and compile time might vary in your case) you can ignore them for the purpose of this sample.
Thanks a lot for all the feedback, I'll try to clarify the steps you pointed out even further so that other users will also benefit from this.

This is how to generate a IoT Thing Policy

This is how to create a IoT Thing, download the certificate, and rename them:

In a new PR I have clarified & updates the points you mentioned in one of the comment, I have also linked to the two videos above for future reference.

I've added a new sample that shows how to interactively change the language of the map

Thank you very much!
If something isn't right, I'll report the problem to you!


Store page status code into the cache

Proposed changes in this pull request
Some extensions can have error pages directly in cms administration. Such pages are cached. For this purpose, it is also necessary to save the status code of the corresponding error, otherwise HTTP 200 is set.

@zbohm thanks for the contribution, please reopen this PR against develop with the conflicts resolved :)


Add auto linter for json files

Add eslint-plugin-json to lint json files

When/how do we run it? I'm surprised it doesn't change anything in the existing JSON files

Add script to run prettier for JSON files, run only manually (not add automatically), because this not fast operation

@PysarenkoDS-BWT thanks for updating the files. Please make sure that the CI tests are failing when the files are not properly formated

@ericboucher I think we can't check it in CI/CD because for this check need a loot of memory, remove this check?


Naming improvements

There are different materials for NSVisualEffectView and not all of them are blurs, so maybe VisualEffectView will be more descriptive, that VisualEffectBlur.

It's Apple's name, and although it's not ideal I think it's okay – VisualEffectView may well be the final name they choose for whenever this thing lands in iOS, and I don't want to have collisions.


ext_authz: disable envoy.reloadable_features.ext_authz_measure_timeout_on_check_created by default

Commit Message:
Disable envoy.reloadable_features.ext_authz_measure_timeout_on_check_created by default, due to an issue where the grpc timeout headder is missing when enabled.
Additional Description:
Risk Level: Low
Release Notes: Added
Runtime guard: envoy.reloadable_features.ext_authz_measure_timeout_on_check_created
Relates to https://github.com/envoyproxy/envoy/issues/13580

/retest - macos flake

@htuch i think CI is stuck ?


vbox: fix Supported() when using dmesg

Reported by @h0tbird, the virtualbox executor was not working on CoreOS. More specifically, it was returning Supported = false, because it was not correctly parsing output from dmesg.
Any Linux distro that does not have the dmidecode command in its $PATH would experience the same issue.

Current coverage is 24.15% (diff: 0.00%)

Merging #325 into master will increase coverage by 0.03%

@@             master       #325   diff @@
==========================================
  Files            47         47
  Lines          2815       2811     -4
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            679        679
+ Misses         2067       2063     -4
  Partials         69         69

Powered by Codecov. Last update 159b773...d45e17a

Hi @codenrhoden,
I just updated this PR to point to the release/0.3.3 branch. I'll be rebuilding this PR for tests as soon as the release branch is updated from master.

Hi @codenrhoden,
Would you please force-push this branch again to trigger a new build against the updated merge target? Thanks.

Done.
Annoying, a force-push wouldn't do it, as it just said "already up to date". I actually had to force it to have a new commit ID so it would push a change. Anyways, test is running...

Ah, yeah. You have to do a git commit --amend -C HEAD to do it. I have this mapped to a few aliases in my $HOME/.gitconfig:
[alias]
    comp = !sh -c 'git rev-list $1 | grep $2' -
    r = reset --hard @{u}
    m = merge --ff-only
    b = !git branch --list | grep '^*' | awk '{print $2}'
    pu = push -u origin
    du = diff @{u}
    su = status -u no
    co = checkout
    br = branch
    ci = commit
    new-patch = format-patch --stdout
    unstage = reset HEAD --
    last = log -1 HEAD
    lc = log ORIG_HEAD.. --stat --no-merges
    undo = reset --hard
    prune-all = !git remote | xargs -n 1 git remote prune
    lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
    lgf = "!f() { git lg --all --author=$1; }; f"
    first = !sh -c 'git log `git rev-list --max-parents=0 HEAD`'
    serve = daemon --reuseaddr --verbose --enable=upload-pack --enable=upload-archive --enable=receive-pack --base-path=. --export-all ./.git
    conflict = !git status --porcelain | grep UU | tr -d 'UU '
    l = log --stat --abbrev-commit --pretty=oneline --graph -t  --cc
    h = log --oneline --abbrev-commit --branches=* --graph --decorate
    lp = log --unified=3 --abbrev-commit --date=relative
    lpw = log --unified=1 --abbrev-commit --date=relative --color-words
    lo = log --oneline
    st = status
    lt = tag --sort=-v:refname
    amend = !"git commit --amend --date=\"$(date)\" -C HEAD"
    resend = !git amend && git push --force
    resend-all = !git add -u && git amend && git push --force
    rm-merged = !git branch --merged master | grep -v '* master' | xargs -n 1 git branch -d
    ls-origin = !git branch -r | grep origin | grep -iv master | cut -c10-
    ls-origin-merged = !git branch -r --merged | grep origin | grep -iv master | cut -c10-
    reset-master = !git fetch upstream && git checkout master && git reset --hard upstream/master && git push origin
[push]
    default = current
[rerere]
    enabled = true

See above. You should also make sure your rerere setting is enabled. Rerere is the most important git configuration about which most developers have no clue.


Fix display version for MuhammedKalkan.OpenLens version 6.2.4 to correct winget upgrade command

Related PR https://github.com/microsoft/winget-pkgs/pull/90940 for version 6.2.3
I removed the display version on the manifest as the project has moved to using a much simpler versioning scheme. This was done in the source repo here https://github.com/MuhammedKalkan/OpenLens/issues/43.
However, winget list the manifest as upgrade available based on the quick pursual of Mapping of Apps and Features version and Winget package version.
I do suspect that moving from display version on manifest to actual version on installed version is the cause of this issue. i.e winget is unable to compared the declared version against the installed version. see attached WinGet-2022-12-09-10-21-33.293.log
PS C:\Users\micro> winget list -e MuhammedKalkan.OpenLens
Name           Id                      Version  Available Source
----------------------------------------------------------------
OpenLens 6.2.4 MuhammedKalkan.OpenLens > 6.1.19 6.2.4     winget

This affects the PR introduced in https://github.com/microsoft/winget-pkgs/pull/89883

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] 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.2 schema?

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

Microsoft Reviewers: Open in CodeFlow
Microsoft Reviewers: Open in CodeFlow

closing this PR as per comment below

DisplayVersion Matches PackageVersion and will cause issues on the backend.
#65776 (comment)
The proper fix would be to remove the older versions which require the DisplayVersion as mentioned in the original pr


[microsoft/dev.boringcrypto.go1.18] Merge 1.18 infra

Merge 1.18 into boring 1.18 branch. Two conflicts:

run-job.yml - This file was deleted and replaced by run-stage.yml. In the boring 1.18 branch, we'd changed the CI image to one that includes GOLANG_FIPS=1, to run tests in FIPS mode. This change is no longer necessary: we have FIPS mode builders that set the env var before building/testing without requiring a different image. So, I left out this one-line change. The 1.18 boring branch is now a little closer to the normal 1.18 branch, and the 1.19+ branches.
go submodule - As usual, I left it where it was, so it continues to point at the upstream boring branch.

/azp run

(Failed because this branch doesn't have the pool name change yet. But at least it's reported back to the GitHub UI now. Will need to merge in a bit more from 1.18 before this runs cleanly.)

Forcing merge. CI check is green, but branch protection isn't happy about its source. We need the flakiness fix to get the release through.

Required status check "microsoft-go" was not set by the expected GitHub app.


UI freezes when peeking messages larger than 256K from a premium account

Tested message size 512K

Was the maximum message size increased to 512 KB for premium accounts? I was searching around, but I was unable to find any info at this regard.

@paolosalvatori correct. I have it here: http://bit.ly/msgsize

Probably! I will contact him! Thanks mate!


Update SDKMAN_VERSION after selfupdate

After running selfupdate the .sdkman/var/version file holds the latest version but SDKMAN_VERSION environment variable is not updated accordingly. This PR aims to fix that.
I've tried to add a test for it but I've run into a couple of issues:

I don't know how @manual annotated tests are supposed to be run
The kind of test I tried to do I think it's not supported by the current BDD approach:

  Scenario: Selfupdate updates version environment variable
    Given an outdated initialised environment
    And the system is bootstrapped
    When I enter "sdk version"
    And I enter "sdk selfupdate"
    And I enter "sdk version"
    Then I see "SDKMAN 4.0.0"
    And I see "Updating SDKMAN..."
    And I see "Successfully upgraded SDKMAN."
    And I see "SDKMAN 5.0.0"

Since I'm running more than one command I guess assertions can only access the latest echoed info.
Please let me know if I can add a test somehow.

I'm not convinced that this is the right thing to do. The reason as follow:
When a selfupdate is performed, the underlying functions potentially change a lot, and are not loaded into the shell automatically. This is why we still report the old version as is, because the loaded program has not changed.
We give the user a clue to simply open a new shell or re-source the sdkman-init.sh script, at which point the version will be updated to the latest.
Hope this makes sense!

I didn't take that into account. I'm closing the PR then. Thanks for the feedback!

Sure, no probs.

Maybe I'm missing something but even if I open a new shell or re-source sdkman-init.sh, I still see the old version. I wonder if this also means that updated functions might not be loaded as well.

This is why we suggest opening a new terminal these days.
On Mon, 16 Jan 2017, 09:33 Pol Bassiner<EMAIL_ADDRESS>wrote:

Maybe I'm missing something but even if I open a new shell or re-source
sdkman-init.sh, I still see the old version. I wonder if this also means
that updated functions might not be loaded as well.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sdkman/sdkman-cli/pull/523#issuecomment-272800992,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAI0Bh0tTV4eRtLbdX_Q41eAr0SI-gtWks5rSytKgaJpZM4LfTLF
.

I've tried opening a new terminal as well and it keeps showing the old version.

I think I've seen that behaviour before when using a login shell. Could you try logging out of your session and back in again? Also, what platform are you on?

I'm on Ubuntu 16.04, using zsh along with terminator. Logging out and logging back in again shows the proper version.

Okay, so that sounds me a login shell problem, although I'm not sure how this plays with zsh. You could try removing the init script from the .profile and .zprofile files to see if that solves the problem.
BTW, I'm on Arch linux with zsh and don't have this issue, but have heard other Ubuntu / Mint users speak about having this exact problem.


auplink not found in path

I got these when running docker build inside the agent
Error removing intermediate container 8bf41e1ba5c5: nosuchcontainer: no such id: 8bf41e1ba5c5bc26fb40ce083b23b17fb2be3f811368e61b12301cbdef15a05c
I ran the image watch the output as such:
docker run -it --rm -e TEAMCITY_SERVER=http://localhost --privileged sjoerdmulder/teamcity-agent
and noticed right at startup (I think its wrapdocker saying this):
ERRO[0001] Couldn't run auplink before unmount: exec: "auplink": executable file not found in $PATH had to apt-get install aufs-tools
So I created my own image:
FROM sjoerdmulder/teamcity-agent
RUN apt-get update && apt-get install aufs-tools && rm -rf /var/lib/apt/lists/*

and now it works, am I missing something?

I have just commited your fixes to the master branch.
Thnx for the report!


error with Makefile

I get this : make: *** No rule to make target serv.bin', needed by prog'.  Stop. when I write make all

Hi. It does seem to be broken. I've not touched this for a few years. I'm not sure why the Makefile is not working. I have had a quick look at it.
However, I relied on an old version of SERV. What I should do is add it as a git submodule with a defined git hash so that it always works.
I'm not sure if I'll have time to fix it, but thanks for bringing it to my attention.

Please read my previous answer.

Thanks


Added/Modified functionality to allow for Localized sitemap urls + changefreq, priority, img, video, lastmod and other options

This is a feature request and fix for issues #105, #39 and #92

any update?


[WIP] Add test node

TODO
Description
Describe what this change achieves.
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Last tests from this PR made it into https://github.com/opensearch-project/opensearch-api-specification/pull/455.


restic: add completions and man page to package

Motivation for this change
Add bash/zsh completions for restic
Add manpage for restic
Things done

NOTE: I have not successfully tested the zsh completions! I am a bash user.

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

@GrahamcOfBorg build restic

Success on aarch64-linux (full log)
Partial log (click to expand)
cannot find section .dynamic
gzipping man pages under /nix/store/dhyqvg3rvbspa24v9qw70ccb8my1bpaf-restic-0.8.1-bin/share/man/
strip is /nix/store/xmpjypwjmp2qi1chs5kr0hacnh161ls4-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/dhyqvg3rvbspa24v9qw70ccb8my1bpaf-restic-0.8.1-bin/bin
patching script interpreter paths in /nix/store/dhyqvg3rvbspa24v9qw70ccb8my1bpaf-restic-0.8.1-bin
head: write error: Broken pipe
checking for references to /build in /nix/store/dhyqvg3rvbspa24v9qw70ccb8my1bpaf-restic-0.8.1-bin...
cannot find section .dynamic
strip is /nix/store/xmpjypwjmp2qi1chs5kr0hacnh161ls4-binutils-2.28.1/bin/strip
/nix/store/dhyqvg3rvbspa24v9qw70ccb8my1bpaf-restic-0.8.1-bin

Success on x86_64-linux (full log)
Partial log (click to expand)
shrinking /nix/store/ld38lba7s60qgkgirvfp3vj1k4ajfyhn-restic-0.8.1-bin/bin/restic
cannot find section .dynamic
gzipping man pages under /nix/store/ld38lba7s60qgkgirvfp3vj1k4ajfyhn-restic-0.8.1-bin/share/man/
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/ld38lba7s60qgkgirvfp3vj1k4ajfyhn-restic-0.8.1-bin/bin
patching script interpreter paths in /nix/store/ld38lba7s60qgkgirvfp3vj1k4ajfyhn-restic-0.8.1-bin
checking for references to /build in /nix/store/ld38lba7s60qgkgirvfp3vj1k4ajfyhn-restic-0.8.1-bin...
cannot find section .dynamic
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
/nix/store/ld38lba7s60qgkgirvfp3vj1k4ajfyhn-restic-0.8.1-bin

Success on x86_64-darwin (full log)
Partial log (click to expand)
find: '/nix/store/dj6ld8p9smixh4m6gwdddisaam91b7w2-restic-0.8.1': No such file or directory
find: '/nix/store/dj6ld8p9smixh4m6gwdddisaam91b7w2-restic-0.8.1': No such file or directory
find: '/nix/store/dj6ld8p9smixh4m6gwdddisaam91b7w2-restic-0.8.1': No such file or directory
find: '/nix/store/dj6ld8p9smixh4m6gwdddisaam91b7w2-restic-0.8.1': No such file or directory
find: '/nix/store/dj6ld8p9smixh4m6gwdddisaam91b7w2-restic-0.8.1': No such file or directory
find: '/nix/store/dj6ld8p9smixh4m6gwdddisaam91b7w2-restic-0.8.1': No such file or directory
find: '/nix/store/dj6ld8p9smixh4m6gwdddisaam91b7w2-restic-0.8.1': No such file or directory
find: '/nix/store/dj6ld8p9smixh4m6gwdddisaam91b7w2-restic-0.8.1': No such file or directory
find: '/nix/store/dj6ld8p9smixh4m6gwdddisaam91b7w2-restic-0.8.1': No such file or directory
/nix/store/l28p3qaqh3jpmdd12j0401yk3drkqdn5-restic-0.8.1-bin

@Mic92
Thanks for the super fast merge!
      _~
    _~ )_)_~
    )_))_))_)
    _!__!__!_
    \______t/
  ~~~~~~~~~~~~~


AntiForgeryToken on React/Redux with Create React App

Is there an example of setting AntiForgeryToken with CRA?
Looking into https://github.com/aspnet/JavaScriptServices/issues/1074, but didn't find any example of SSR support. According to https://github.com/aspnet/templating/issues/189#issuecomment-351082453 SSR support is coming when CRA implements it.
Is there any way to pass anything from Server Side to CRA using the following?
spa.UseSpaPrerendering(SpaPrerenderingConfigure);

        private void SpaPrerenderingConfigure(SpaPrerenderingOptions spo)
        {
            //spo.BootModuleBuilder =
            //spo.BootModulePath =
            spo.SupplyData = SupplyData;
        }

        void SupplyData(HttpContext hc, IDictionary<string, object> d)
        {
        }

Not sure what to set for spo.BootModulePath or to prevent Cross-Site Request Forgery (CSRF) attacks.
Please advise

@SteveSandersonMS, any thoughts around this?

@SteveSandersonMS What do you think about including a "virtual" JS file in the HTML that is then "written" by the middleware? That saves having to modify stuff.

@georgiosd You should be able to do that if you wish, just by adding extra items to the ASP.NET middleware pipeline.

Yes, I tried it, and it seems to work quite well! Thanks


Feature request: Area card

Describe the feature you'd like to have added
Area card to scan an area for certain traits/features, sort of like the pneumaticraft area tool with the drones and whatnots.
So for example, if there are more than x mobs in area abc, emit redstone signal on channel y
Additional information
No response

Not part of the scope of this mod, sorry :).

Ah, that's a shame. Would've been a really cool feature. I might just write an addon mod that does exactly this XD


Adding the right repository for generate_libs_json.bbclass

Adding the right repository for generate_libs_json.bbclass since it is moved to meta-cmf layer

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.dsuseelan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Username was wrong which doesnt allow me to sign CLA. I will close this PR and raise a new one.


fix StarChatterBox

made into an instance of type STAR to automatically inherit all methods as we add them to STAR.py
added lh.setup chatter to make it work

as it should have been!


iOS - Assessment - Download Video - Back arrow is missing in video downloading screen

Fixed.

:+1:


Referencing staged_path in installer stanza

Hi there,
I am trying to write a cask for an application with a custom installer. The installer allows for passing the installation location on the command line in unattended installs. If not set, it defaults to install into /Applications.
I can get things working if I hardcode the installation path to /opt/homebrew-cask/Caskroom/..., but what I'd really like is to access staged_path like this:
  installer :script => 'JProfiler Installer.app/Contents/MacOS/JavaApplicationStub',
            :args => ['-q', '-dir', "#{staged_path}"]

When I do that, I get a warning and the directory ends up an empty string:
Warning: Unexpected method 'staged_path' called on Cask jprofiler.
...
Error: Command failed to execute!

==> Failed command:
["/usr/bin/sudo", "-E", "--", "#<Pathname:/opt/homebrew-cask/Caskroom/jprofiler/8.1.2/JProfiler Installer.app/Contents/MacOS/JavaApplicationStub>", "-q", "-dir", ""]

Is this behavior expected? How should I tell the installer to install into the staging path instead of /Applications? Any help will be greatly appreciated.
Disclaimer: I've never used Ruby before, nor written any casks.

#{staged_path} is only available in blocks. This comment might explain better.
There is a PR meant to fix it but it hasn’t been looked at, yet.


Update tutorial-deploy-wordpress-on-aks.md

removing a link to deploy to Azure

#sign-off

Handled in https://github.com/MicrosoftDocs/azure-databases-docs-pr/pull/642 #please-close


Review and provide final list of attributes for bedrock geology layer

Available options are:
AGE_GROUP: "205_intrusive rocks"
AUTHOR_NAMES: ""
BEDROCK_UNIT_ID: "4227"
DATA_SOURCE_ID: "1007"
FEATURE_AREA_SQM: "7016150171.4004"
FEATURE_LENGTH_M: "4758974.9978"
GEOLOGICAL_ERA: "Mesozoic"
GEOLOGICAL_PERIOD: "Jurassic"
GEOLOGY_UNIT_CODE: "JI_V"
GROUP_SUITE_NAME: "Island Plutonic Suite"
LITHOLOGY_CODE: "83"
MAXIMUM_AGE_NAME: "Early Jurassic"
MAXIMUM_AGE_VALUE: "208"
MINIMUM_AGE_NAME: "Middle Jurassic"
MINIMUM_AGE_VALUE: "157.1"
MORPHOTECTONIC_BELT: "Insular"
OBJECTID: "1547"
ORIGINAL_DESCRIPTION: "Granodiorite, quartz diorite, quartz monzonite, diorite, agmatite, feldspar porphyry, minor gabbro and aplite (170 - 185 Ma)."
PROJECT_NAME: "Vancouver Island"
ROCK_CLASS: "intrusive rocks"
ROCK_TYPE_CODE: "gd"
ROCK_TYPE_DESCRIPTION: "granodioritic intrusive rocks"
STRATIGRAPHIC_AGE_CODE: "20540"
STRATIGRAPHIC_AGE_NAME: "Early Jurassic to Middle Jurassic"
STRATIGRAPHIC_NAME: "Island Plutonic Suite"
STRATIGRAPHIC_UNIT_CODE: "EMJIgd"
STRATIGRAPHIC_UNIT_CODE_1M: "EMJgd"
TECTONIC_ASSEMBLAGE_CODE: "MJgV"
TECTONIC_ASSEMBLAGE_NAME: "Middle Jurassic - Vancouver Island"
TERRANE_CODE: "Wr"
TERRANE_NAME: "Wrangellia"
UNIT: "EMJIgd - Mesozoic - Early Jurassic to Middle Jurassic granodioritic intrusive rocks"

Just as the display shows in MapPlace2, we want users to see:
Strat unit
Strat Name
Strat Age
Rock Type

@LeannePyle - Updated as per your direction. I also included a list of all the possible values in case there is other information that you want presented.


BBS changed column names for latitude and longitude

Unless I screwed something up, I think I now have all the data and can actually start working on this :-)

Awesome. Thanks @davharris!


Updated README.md file

Removed code snippets from the usage section
Added features list to the usage section, and links pointing to the wiki page for a detailed explanation

Removed the Payment option parameters and Methods provided by Flutterwave plugin sections from the README.md file


Cant sign to browservice on vm

Its working on my main pc but not at vm

This is also happening for me. The VM is running Windows 2000 on Explorer 6.0.
It should be compatible, being effectively Windows ME but on NT, but Explorer complains about a server or DNS error.