Confusion about actual # PC's used in SnippetClassifier

Hi, while learning about Mountainsort5, I am confused about the number of PC's used in SnippetClassifier in scheme 2.
The scheme 2 doc describes classifier_npca as follows:
The number of principal components to use for each neighborhood classifier. If None (the default), then the number of principal components will be automatically determined as min(12, M * 3) where M is the number of channels in the neighborhood.
Whereas SnippetClassifier,fit() reads:
            effective_npca = max(12, self.M * 3)

So shall the algorithm use not more than or not less than 12 PC's for classification?
Thanks!

@oaaij-gnahz Thanks so much for the report, that was indeed an error in the doc. I have updated it to max


Mouse not working in Xbox Console Companion app

Streaming was moved from the Xbox app (while its being rewritten) to the Xbox Console Companion I can't seem to make XKM detect the the XCC app (to make it turn green), however if the new Xbox app is focused (now missing the streaming feature), XKM turns green and starts detecting mouse movements.
Is there any way to make XKM detect the XCC app instead?
The apps seems great btw, can't wait to use it.

Nevermind, manually merge #170


Price positive negative format is not correct with currency label

If I enter 7000
numeral(7000).format('+$0,0')
Result will be +$7,000
However, when I enter -7000
numeral(-7000).format('+$0,0')
Result will be -7$,000
I expect the result should be -$7,000

For reference (it helps to have something to demonstrate the issue): https://jsfiddle.net/k4hhmwm5/ - seems to confirm.

Okay, this happens because you're using a "non-standard" currency format. The issue occurs in currency.js, which contains the currency format. Basically, this is checking for a negative sign or a parenthesis in the format, and not finding one prepends the negative sign:
// update the before and after based on value
if (value >= 0) {
	symbols.before = symbols.before.replace(/[\-\(]/, '');
	symbols.after = symbols.after.replace(/[\-\)]/, '');
} else if (value < 0 && (!numeral._.includes(symbols.before, '-') && !numeral._.includes(symbols.before, '('))) {
	symbols.before = '-' + symbols.before;
}

If we add another conditional, to also look for the + character, the value outputs as I assume you're expecting it to:
// update the before and after based on value
if (value >= 0) {
	symbols.before = symbols.before.replace(/[\-\(]/, '');
	symbols.after = symbols.after.replace(/[\-\)]/, '');
} else if (value < 0 && (!numeral._.includes(symbols.before, '+') && !numeral._.includes(symbols.before, '-') && !numeral._.includes(symbols.before, '('))) {
	symbols.before = '-' + symbols.before;
}

Updated fiddle: https://jsfiddle.net/k4hhmwm5/1/
I would suggest a pull-request, assuming this change does not break anything else.

I am experiencing this same issue.

@mrwillis And does the change I suggest above fix that issue?


Handle the case of removing all nodes in the cleanup

We might mark all nodes of the graph as deleted before calling cleanup.
Doing so causes graph's entry node to become unset(-1) after the removeDeletedNodes call in the cleanup method.
The rest of the cleanup logic expects a valid entry node for the graph to function correctly. Therefore, I added an early return to handle such a case.

Sure, I have signed it


Drop support for Django 1.6

Closes #108.
Review the updated version of the docs here The only pages that have changed are installation.rst and development.rst

ping @ldko @somexpert

:thumbsup:

:+1:


Filename issues

I got an huge issue with not supported chars in Windows, so I removed them.

Yes, that's Windows :D
If you add if os.name == "nt":, I'll merge it
Thanks!


GPU process launch failed: error_code=18

Describe the bug
Altair worked fine in version 4.0.9, but after updating to (or installing directly) 4.0.10 or 4.0.11 I see these errors when launching the program from a console, and the program fails to launch. If I would not start the program from the terminal, I would not see any errors, the program would just fail to launch.
PS C:\Users\<some path>
undefined
[4424:0924/101307.032:ERROR:gpu_process_host.cc(956)] GPU process launch failed: error_code=18
[4424:0924/101307.072:ERROR:gpu_process_host.cc(956)] GPU process launch failed: error_code=18
10:13:07.091 > Checking for update
(node:4424) electron: The default of nativeWindowOpen is deprecated and will be changing from false to true in Electron 15.  See https://github.com/electron/electron/issues/28511 for more information.
(Use `Altair GraphQL Client --trace-warnings ...` to show where the warning was created)
[4424:0924/101307.126:ERROR:gpu_process_host.cc(956)] GPU process launch failed: error_code=18
[4424:0924/101307.184:ERROR:gpu_process_host.cc(956)] GPU process launch failed: error_code=18
[4424:0924/101307.225:ERROR:gpu_process_host.cc(956)] GPU process launch failed: error_code=18
[4424:0924/101307.258:ERROR:gpu_process_host.cc(956)] GPU process launch failed: error_code=18
file.. C:\Users\cn4645\AppData\Local\Programs\altair\resources\app.asar\node_modules\altair-static\build\dist\
file.. C:\Users\cn4645\AppData\Local\Programs\altair\resources\app.asar\node_modules\altair-static\build\dist\index.html
[4424:0924/101307.309:ERROR:gpu_process_host.cc(956)] GPU process launch failed: error_code=18
[4424:0924/101307.339:ERROR:gpu_process_host.cc(956)] GPU process launch failed: error_code=18
[4424:0924/101307.362:ERROR:gpu_process_host.cc(956)] GPU process launch failed: error_code=18
[4424:0924/101307.363:FATAL:gpu_data_manager_impl_private.cc(414)] GPU process isn't usable. Goodbye.

To Reproduce
Steps to reproduce the behavior:

Update from 4.0.9 to 4.0.10 or 4.0.11, or install either of these versions directly.
Launch the program in Admin mode from the terminal.
See error.

Expected behavior
I expected the program to open as usual.
Desktop (please complete the following information):

OS: Windows
Platform: Desktop app
Version: 4.0.10 and 4.0.11

This might be related to this electron bug?
https://github.com/electron/electron/issues/32074

Thanks @hal2100 Looks like that issue is still open so can't action on this issue either.

Is this still an issue? The linked issue is closed as not reproducible?


As a developer, I want to know if my changes have broken the native Rialto build

Summary: As a developer, I want to know if my changes have broken the native Rialto build
Type: Fix
Test Plan: Unit Tests
Jira: RIALTO-160

https://jenkins.code.rdkcentral.com/job/github-triggered/34060/ started

https://jenkins.code.rdkcentral.com/job/build-component/71747/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2279/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/4819/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2280/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/34062/ started

https://jenkins.code.rdkcentral.com/job/build-component/71749/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/34064/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2281/ started

https://jenkins.code.rdkcentral.com/job/build-component/71750/ started.

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/9857ece224ba6218f7c4dececf729fd3

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11164/

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11165/

https://jenkins.code.rdkcentral.com/job/github-triggered/34070/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2284/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/34076/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2287/ started

https://jenkins.code.rdkcentral.com/job/build-component/71797/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/4862/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2289/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/34080/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/34082/ started

https://jenkins.code.rdkcentral.com/job/build-component/71805/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2290/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/4872/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/34084/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2291/ started

https://jenkins.code.rdkcentral.com/job/build-component/71806/ started.

https://jenkins.code.rdkcentral.com/job/build-component/71807/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2292/ started

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/aed9b862abfcea6096ba3ed71dd2ddc2

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/f57777ece245d17269462063356a3f9e

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11220/

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11221/

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2302/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/34106/ started

https://jenkins.code.rdkcentral.com/job/build-component/71816/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/4883/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/34108/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2303/ started

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11226/

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11227/

https://jenkins.code.rdkcentral.com/job/github-triggered/34112/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2305/ started

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/2286a0e1081b52f42053ed2cfa0b9525

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11240/

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11241/

https://jenkins.code.rdkcentral.com/job/github-triggered/34126/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2313/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/34128/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2314/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/34130/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2315/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/34132/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2316/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/34163/ started

https://jenkins.code.rdkcentral.com/job/build-component/71935/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2334/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/4975/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/34164/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2335/ started

https://jenkins.code.rdkcentral.com/job/build-component/71936/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/4976/ started.

build-rpi-mc-wpe-dunfell Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/6cfc4d5b06b22a519900e939e032abcf

build-rpi4-mc Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/ca749ab8351eb625acb0535812f689f6

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/068a5a1c12bd7696aa8d1480529abb9e

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/4c266a2ccb8ff82380929707afa20480

https://jenkins.code.rdkcentral.com/job/github-triggered/34174/ started

https://jenkins.code.rdkcentral.com/job/build-component/71949/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/34175/ started

https://jenkins.code.rdkcentral.com/job/build-component/71950/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2345/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2346/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/4988/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/4989/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/34176/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2347/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/34178/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2349/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/4994/ started.

https://jenkins.code.rdkcentral.com/job/build-component/71955/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/34180/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2351/ started

https://jenkins.code.rdkcentral.com/job/build-component/71959/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/4998/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/34181/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2352/ started

https://jenkins.code.rdkcentral.com/job/build-component/71960/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/4999/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/34182/ started

https://jenkins.code.rdkcentral.com/job/build-component/71963/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2353/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/5003/ started.

build-rpi-mc-wpe-dunfell Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/cefd8abeed7fc12a515fd4a5b55018b3

build-rpi4-mc Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/7a6d0cb2a1b9db28dbcac6d175185325

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/97a990ca10e4b9525fe4ee45eba3c4e2

build-rpi4-hybrid Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/d73b829de191012bf312a09453cca9cd

build-rpi-mc-wpe-dunfell Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/a7acd508cd172b3ae20e252b06d9de3b

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/eee85c536ed61ce7cb39397e700cb449

build-rpi4-mc Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/11f945804fce93e6c61229aef5466b5f

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/6a4e84f71c2093337b18213ece1155e8

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/3b64137c4ce7edddfefd7e7d7ed1c40e

build-rpi4-hybrid Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/350300c220184b8a755e565895c9aa32

https://jenkins.code.rdkcentral.com/job/github-triggered/34198/ started

https://jenkins.code.rdkcentral.com/job/build-component/71999/ started.

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11464/

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11465/

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2370/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/5037/ started.

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/3b7adce4c5e61978d138db531a446bd1

https://jenkins.code.rdkcentral.com/job/github-triggered/34217/ started

https://jenkins.code.rdkcentral.com/job/build-component/72075/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/34218/ started

https://jenkins.code.rdkcentral.com/job/build-component/72077/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2388/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2389/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/5078/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/5079/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/34221/ started

https://jenkins.code.rdkcentral.com/job/build-component/72080/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2392/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/5083/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/34223/ started

https://jenkins.code.rdkcentral.com/job/build-component/72084/ started.

https://jenkins.code.rdkcentral.com/job/build-component/72085/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2394/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2395/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/5088/ started.

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/101db93482d213a18c05240f5442c377

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/f5d5d2cb1d39bc63f58b45a3f0ccfa61

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/ce5b29f85fa7dd24d1780d6a08a5f905

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11655/

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11654/

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11664/

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11663/

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11670/

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11671/

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11674/

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11675/

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11676/

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11677/

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11680/

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11681/

https://jenkins.code.rdkcentral.com/job/github-triggered/34252/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2423/ started

https://jenkins.code.rdkcentral.com/job/build-component/72186/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/5179/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/34253/ started

https://jenkins.code.rdkcentral.com/job/build-component/72187/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/5182/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2426/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/34255/ started

https://jenkins.code.rdkcentral.com/job/build-component/72191/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/5184/ started.

build-rpi4-mc Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/cd7168a59e733e99bf1b107370fd0439

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11821/

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11822/

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11828/

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11830/

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11829/

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11833/

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11834/

https://jenkins.code.rdkcentral.com/job/github-triggered/34259/ started

https://jenkins.code.rdkcentral.com/job/build-component/72200/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/2430/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/5190/ started.

Sanity tests for ['RPI3 Hybrid/MC'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11855/

Sanity tests for ['RPI3 Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11854/

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/11859/


CI configuration improvements

Created specif build script for CI to handle with index.html and index.js generation.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@61e870e). Click here to learn what that means.
The diff coverage is 100%.

@@           Coverage Diff           @@
##             master     #6   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?     27
  Lines             ?    324
  Branches          ?      0
=======================================
  Hits              ?    324
  Misses            ?      0
  Partials          ?      0

Impacted Files
Coverage Δ

src/cli/services/webapp-index-generator.js
100% <100%> (ø)

src/cli/services/webapp-html-index-generator.js
100% <100%> (ø)

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 61e870e...8fc7d68. Read the comment docs.


Preview GitHub activity in notifications without marking them as read

Using the GitHub Notifications API it should be possible to create a little popover like the one below to show unseen activity using the last_read_at date.

One of the biggest problems I have with lots of GitHub notifications is viewing them without marking them as read. Emails help this but they tend to get buried and are not organized by user/repo. GitHub notifications could use some love

Oooh, that's a pretty good idea. I like it! This would require adding a settings panel, though (so users can enter their GitHub API key for private repo access). Sindre has tried to avoid adding a settings panel.
@sindresorhus thoughts? We could also add this for only public repos, but that might be a bit of a weird experience from a UX perspective when some items work on hover and others don't.

Public repos would be enough for me to be happy, those are the repos that have an unmanageable amount of notifications

This is a really neat idea! If we go down the path of only showing this for public repos it might be worth indicating the ones that you can hover to preview. Maybe include the eye icon for the target to :hover on?

Love it! I have the same issue as @thejameskyle. We can do public repos first and see.

Started working on this tonight. I should have spotted this sooner, but the "Notifications API" requires an authentication token (which makes sense).
On a positive note, the link to the issue or PR in the DOM does include the comment ID that triggered the notification, so we can fetch that page >> grab the comment + all after >> display in the UI. This means we can support private repos, too, since we'll be piggybacking on the users current session.

Reply

Damn - hitting the URI at all dismisses the notification. I think the only way forward with this feature is providing users a way to add a GH API key.

What do you think @sindresorhus? If we add the ability to enter an API key, it might open up an avenue to some other cool features we wouldn't be able to pull off without the API.

Sure

Ooh. If that's on the table, let's add a marker on the notifications page that differentiates notifications where you are @-mentioned. I would love to be able to prioritize what I  read that way

@jamestalmage Want to open a separate issue for that one? I can do the API-key work for this PR first, get that committed, and then we'll be able to work on this issue + your idea in parallel.

Still have plans to finish out what I started on this. Just hitting some timing issues w/ moving + priorities on other projects.

Hey guys, I've implemented a different approach to this problem, the way I always wanted it to be - check out PR #284 and let me know what you think over there!
Idea by @thejameskyle is great and certainly looks nice, but sometimes I want to give a thread another glance to understand the context of another person's reply. Because of that, a popover wouldn't work for me. Instead, I decided to add "Mark as unread" buttons to the sidebar on every issue/pr page:

@sindresorhus did you intend to close this via #284?

Nope. This is complementary to #284.

@DrewML Do you still have plans to publish your work regarding the API token?

I see this as complementary to #181 into its own "Notifications Preview for GitHub" extension.


fix incorrect counts

11M African Americans in Manhattan?

Lord help us: https://github.com/wboykinm/tribes/commit/468a494ad208648df82f41001952823ebd5b47c7


Links broken in the Readme

Please ensure the links work in the README.md file.
Also, please rearrange the headers so we start with a list of examples as the first heading. The following heading should list the other folders, common, docker, etc. Showcase the examples first.

https://github.com/Common/ is still broken.


feat: implement basic project structure

Summary | Résumé
CONSIDER IT AS A PROPOSAL

Implements basic project structure

@patheard @wmoussa-gc I have been testing https://biomejs.dev/ this afternoon to replace both eslint and prettier. Looking really good so far. Will make a separate PR for it. I will follow all their established rules to begin with and we will decide as a team what we want to disable in the future.


Check

The paper brown2020languagemodelsfewshotlearners was about GPT-3, so I replaced it with the API reference of GPT-3.5 Turbo.
The author of openai2024gpt4technicalreport is OpenAI.
The paper jiang2024mixtralexperts was for Mixtral 8x7B, so I added other references for Mistral series.
A reference li2023angle is not found in the main text, so it is removed from bibtex.
Added reference to Figure 7 in the main text.
The number xxx is replaced with 96010.

Saw this, is it ready to merge? Thanks for these changes @hchiba1

yes, it is ready

I just want to confirm that the number is correct:

The number xxx was replaced with 96010


Building WASM framework failed

My computer is MacOS
./build-web
Compiling secp256k1-sys v0.6.1
The following warnings were emitted during compilation:
warning<EMAIL_ADDRESS>error: unable to create target: 'No available targets are compatible with triple "wasm32-unknown-unknown"'
warning<EMAIL_ADDRESS>1 error generated.
error: failed to run custom build command for secp256k1-sys v0.6.1
Caused by:
process didn't exit successfully: /Users/ligang/rusty-kaspa/target/release/build/secp256k1-sys-c339f6fad88f0367/build-script-build (exit status: 1)

You are not following either clang (llvm) or rustup target installation steps. Make sure your clang is up to date. Follow the steps in Building on Mac OS / Install llvm in the README; Make sure your environment variables are available in the process/terminal (by default, Mac OS can have an older clang installed, which will try to compile but doesn't have the required target available; when installing latest clang on MacOS it comes bundled with wasm32 target needed to build C sources of the secp256k1 crate). When installing the new version of the llvm using brew, if exports (env vars) are not set correctly, it won't see the newly installed version.
Also, check the info on the pre-built development releases at https://aspectron.org/en/projects/kaspa-wasm.html and https://github.com/aspectron/rusty-kaspa/blob/typescript/wasm/README.md

Once your clang issues are resolved, please use this if building from source: https://github.com/kaspanet/rusty-kaspa/pull/459


analysis.errors event has incorrect file parameter for a library that has a missing part file

If a part file is missing, the analysis.errors event sometimes has the wrong filename.
Here is a file to reproduce the error:
part "does_not_exist.dart";

_foo() => [];

The hint is:
The function '_foo' is not used - no_part_file.dart, line 3

However, the analysis.errors event has a "file" parameter with a filename ending with "does_not_exist.dart":
Here is the protocol message:
{file:  /var/.../tmp/1/does_not_exist.dart,
  errors: [{severity: INFO, type: HINT, location: {
  file: /var/.../tmp/1/no_part_file.dart, offset: 29, length: 4, startLine: 1, startColumn: 30},
  message: The function '_foo' is not used, hasFix: false}]}

(Found while debugging a stress test.)

Possibly relevant: in the stress test, this is using an overlay only. (No file is saved to disk.) I also noticed that when the stress test modifies the filename in the part statement, the error from before isn't cleared. So as far as the client is concerned, there are errors attached to a nonexistent file that is no longer referenced anywhere, either.

I just ran into something similar while working on a side project.
While editing a part file in Atom, after adding a new unused field:
StreamSubscription _onScrollSub;
The hint is repeated six times:
The value of the field '_onScrollSub' is not used - lib/tagtree/widgets/tagplace.dart, line 12
The value of the field '_onScrollSub' is not used - lib/tagtree/widgets/tagplace.dart, line 14
The value of the field '_onScrollSub' is not used - lib/tagtree/widgets/tagplace.dart, line 13
The value of the field '_onScrollSub' is not used - lib/tagtree/widgets/tagplace.dart, line 12
The value of the field '_onScrollSub' is not used - lib/tagtree/widgets/tagplace.dart, line 15
The value of the field '_onScrollSub' is not used - lib/tagtree/widgets/tagplace.dart, line 12
There is actually one declaration, on line 12.
It so happens that there are five parts in this library, for six total files. Reanalyzing sources or restarting the analysis server doesn't make this go away.
I tried adding another part to the library, and that results in seven warnings. Removing the part doesn't immediately change anything,  but if I reanalyze sources it drops down to six.
Running dartanalyzer from the command line reports only one hint.

As we haven't sen activity on this in 7 years, I'm closing this as stale; if someone encounters this, feel free to ping, re-open, or open a new issue.


feat: modern-js switch on rspack

Description

feat: using rspack to compiler modern-js project
Related Issue

Types of changes

[ ] Docs change / Dependency upgrade
[ ] Bug fix
[x] New feature / Improvement
[ ] Refactoring
[ ] Breaking change

Checklist

[x] I have added changeset via pnpm run change.
[ ] I have updated the documentation.
[ ] I have added tests to cover my changes.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: GiveMe-A-Name:x: xieqixuanxieqixuan 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.


Async and reactive API call

Do you think this will be good idea to support GraphQL query in Async and reactive way? If yes, I can create PR.

@sumantapakira sounds like a good idea, looking forward to your PR!

@ghenzler  cool can you pls make me collaborator in this project, otherwise I do not permission to create new branch.

@sumantapakira just create a fork in your personal space and create a PR from there

Thanks, @ghenzler , Can you pls check this https://github.com/sumantapakira/aem-headless-client-java/tree/feature/async-reactive-api-call and let me know if this approach looks good?

@sumantapakira Thanks for the PR, I'm a bit worried about the dependencies that come it with the PR. The current approach is trying to be as lightweight and minimal as possible (considering that using the Apollo Java Client is a feature-rich but heavy alternative). One option could be to create a separate maven module that provides the reactive API as "add-on" but still allows to use the simple way.
Looking at the two examples at https://github.com/adobe/aem-headless-client-java/blob/643036e4c867b122e88ffd2201400a95e6b4a67d/README.md#usage the added value is not that clear - could you provide an example how it would integrate in a consumer environment? Maybe you have an Android Kotlin example with and without the reactive feature that shows how the reactive way is more straight-forward and easier to use.


docker compose up --no-build command fails with error on Mac

Bug Report
Which version of the demo you are using?
Latest commit from main branch
Symptom
Unable to launch the App after running docker compose up --no-build on my Local Mac.
I get error message Error response from daemon: manifest unknown
What is the expected behavior?
All the docker containers of respective demo services should get started
What is the actual behavior?
What did you see instead?
I get error message Error response from daemon: manifest unknown
Reproduce

git clone https://github.com/open-telemetry/opentelemetry-demo.git
cd opentelemetry-demo/
docker compose up --no-build

Additional Context
Here's the workaround that worked for me on my Mac.

Changed cache_from to use the full path vs env variable for all the services in docker-compose.yml file
- ghcr.io/open-telemetry/demo:v0.3.4-alpha-emailservice
Then ran docker compose up  frontend --no-build this created frontend and all the dependant services in about 3 min.

The other thing i noticed is doing docker compose convert does seem to do the env variable substitution correctly.
So it's puzzling why the command docker compose up --no-build doesn't work for me.

After more investigation i found the issue is because of newly added quoteservice. Which lacks a cache_from section like below
cache_from:
- ${IMAGE_NAME}:${IMAGE_VERSION}-quoteservice
But adding the above to docker compose doesn't solve the problem because the image is not yet pushed to ghcr.io
@julianocosta89 - Since you added the quoteservice recently, is it possible for you to push the quoteservice image to ghcr.io with the same version number as other services ?
Once the image is pushed I can then create a PR to add a cache_from section like mentioned above.
Please let me know your thoughts, open to any other ideas. I am new to the repo so not familiar with the process.

@austinlparker please help on this and share with the other maintainers / approvers on how to do version releases on slack

I’m assuming as part of the version upgrade we have a couple places in the code to update for the new version number too. Unless we addressed that problem

I believe any maintainer can do a release, you just click the new release button in GitHub. I'm traveling today but can do one later this evening if you don't get to it first.

I believe any maintainer can do a release, you just click the new release button in GitHub. I'm traveling today but can do one later this evening if you don't get to it first.

I think I just released v0.4.0! I just followed the previous release examples
@julianocosta89 When we integrate the service we can bump it a minor version.


Expense payee should not be considered contributor

This Organization has only one transaction on the platform, as the payee of an expense. However, on their page, it shows them as a contributor to the Collective they were paid from. This is not correct.

When someone contributes through a bounty on our collective (and therefore gets paid with an expense), I'm glad that the system automatically recognizes them as contributors because that's what they are; they just happened to contribute time rather than money.
Maybe it's a matter of wording. We add expense payees to the collective with a different role than financial contributors, so we can quickly implement another term than "Contributor" if that's what we want.

It's hard because there are so many different situations in different circumstances. Sometimes an expense payee is a contributor. Sometimes it's odd to call them that.
In general I think our previous decision to call everything a contribution (e.g. classing hosting Collectives as something under the 'contributions' section of a Host's page) has some confusing results. But this can wait until we're ready to do a proper redesign of these concepts.

Similar issue:
This organisation was paid for expenses/services, but it shows up on their card in search as "money raised", which isn't accurate for the situation.


Plugin implementation of AssignVarOp

I am struggling a lot to understand how plugins (pluggable device) should implement AssignVarOp.
I created a post on the discussion forum but it seems like no one is able to answer pluggable device questions.
I am trying to run a Conv2D on a separate device (only dummy for now) using the pluggable device interface.
I implemented the Conv2D kernel, and when running tensorflow asked for an implementation of AssignVarOp.
So I started implementing AssignVarOp, it has two input tensors (variable and value), variable is a tensor of type TF_RESOURCE.
I imagine I should modify the data of the resource tensor, but what does it contain?
After further research, it looks like VarHandleOp is the kernel responsible for the creation of the variable (and it's resource).
So I wrote a kernel for VarHandleOp. Checking the parameters at runtime, they are all uninitialized at the first call (shared_name is a default value, shape unitialized, etc).
So I am left with two choices:

Either I would update the variable attributes later (doesn't seem possible as the C api doesn't provide any function for modifying an input tensor dimensions)
Either I should store all dimensions, etc in the resource tensor data in the form of a ResourceHandle. Is this Resourcehandle type arbitrarily defined by the user?

I have been following this basic tutorial for writing tensorflow plugins, but the logic for variable handling is missing and it seems like a necessary step for plugins.
I will be really thankful if the tensorflow team (or anyone) could help me understand the mechanism of variable handling for plugins.
Thank you.

@slai-nick,
This post, introduces the PluggableDevice architecture which offers a plugin mechanism for registering devices with TensorFlow without the need to make changes in TensorFlow code. Thanks!

With AssignVarOp, the OpKernelContext has two inputs, but expect no output.
The first input is the variable, the second input is the value.
This is analogous to me as a C++ function with a signature like AssignVarOp(TF_Tensor &variable, TF_Tensor value) ( this is not meant to represent the C++ implementation in tensorflow, just an analogy where I expose the concept of an input being a reference that will get modified using the second input which contains the value).
The value input is a well formed tensor, with well defined dimensions and data, however the variable doesn’t seem well defined (no dimensions, etc).
There is no functions to modify a tensor object in the C API, nor to (re)set an input tensor.
Therefore, it is unclear to me how to assign the value to the variable just by accessing those two tensors.


[Autocomplete] Fix Autocomplete Aria-Hidden and Focusable

[Autocomplete] Fix Autocomplete Aria-Hidden and Focusable
When focus is placed on a FluentIcon (e.g. the Dimiss icon), this error occurs:

Blocked aria-hidden on a element because the element that just received focus must not be hidden from assistive technology users. Avoid using aria-hidden on a focused element or its ancestor

See #2644
A test was added to remove aria-hidden when the Focusable property is True.
Unit Tests
Updated

hi! I using version 4.10.3 "", but error occur when AutoComplete has one Item Selected
Detail:
"Blocked aria-hidden on an element because its descendant retained focus. The focus must not be hidden from assistive technology users. Avoid using aria-hidden on a focused element or its ancestor. Consider using the inert attribute instead, which will also prevent focus. For more details, see the aria-hidden section of the WAI-ARIA specification at https://w3c.github.io/aria/#aria-hidden.
Element with focus: svg
Ancestor with aria-hidden:
Clear

Error occur on sample page.

See #2906


Poor BOLD-T1w coregistration in ds000224 (Midnight Scan Club)

Visible to some extent in all runs. Could be related to SyN-SDC (which was applied).

SyN-SDC has been calculated, but it is not used. Those co-registration problems are precisely revealing the susceptibility distortion.
I don't think we can do much about this, just check if BBR/bbregister fell back to the 6 parameters version.

Update - this dataset had fieldmaps, but they were not used due to missing IntendedFor fields. #783

Seems like the IntendedFor field was the root of this issue:
https://s3.amazonaws.com/fmriprep/ds000224/fmriprep/sub-MSC05.html
https://s3.amazonaws.com/fmriprep/ds000224/fmriprep/sub-MSC08.html
https://s3.amazonaws.com/fmriprep/ds000224/fmriprep/sub-MSC09.html
https://s3.amazonaws.com/fmriprep/ds000224/fmriprep/sub-MSC10.html
I'll close it for now, please reopen if you feel this should be further investigated. Opened #1085 to follow up on fieldmap SDC, as the fieldmap correction seems improvable.


Creality cloud plugin for octoprint

*Do you have a plan to make Creality cloud plugin for octoprint ?

Come soon.

Thank you! I’m waiting for it.


configure authentication on Cassandra connection

if username and password are in the configuration

thanks. the test failure seemed random. I restarted, and it passed second time.

It's due to the async way cassandra creates indexes, there is no reliable way to have the tests wait (except for long delays and even they fail sometimes).


fix flashloan oracle wei/eth conversion

1e18 wei to 1 eth

I think we already scaled ETH by 1e6, no?


mapquery: Go -> JS

The last one!
When combined with the other pending PRs, this completely removes gopherjs from the main UI.
There is still some gopherjs left in the publisher but really not that much.

cc @bradfitz for review!

cc @bradfitz for review!


[dv/top] Add jitter enabled tests and create dedicated regression

Signed-off-by: Timothy Chen<EMAIL_ADDRESS>

@sha-ron the jitter tests are identified in both the testplan and the regressions. So hopefully this should make it easier for you to find and extend.


Reformat source with latest formatter

I was thinking disable the format check for beta and dev, but I like this idea much better. Thanks for this.


docs: language highlighting

Add language specifier to fenced code blocks for easier reading.

@xiangfu0

Thanks for adding this!


Update README.md

Hi,
please review my edit.
And could you please add something in my repo?
https://github.com/inusturbo/AttractingContributors-month

Hi, I have soloved the conflict


pip-compile BAR_TYPES error

Related to : https://github.com/jazzband/pip-tools/issues/1617
pip-compile --allow-unsafe --output-file=./setup/my_requirements.txt ./setup/requirements.in
Traceback (most recent call last):
  File "/home/uname/.local/bin/pip-compile", line 5, in <module>
    from piptools.scripts.compile import cli
  File "/home/uname/.local/lib/python3.8/site-packages/piptools/scripts/compile.py", line 21, in <module>
    from ..repositories import LocalRequirementsRepository, PyPIRepository
  File "/home/uname/.local/lib/python3.8/site-packages/piptools/repositories/__init__.py", line 1, in <module>
    from .local import LocalRequirementsRepository
  File "/home/uname/.local/lib/python3.8/site-packages/piptools/repositories/local.py", line 14, in <module>
    from .pypi import PyPIRepository
  File "/home/uname/.local/lib/python3.8/site-packages/piptools/repositories/pypi.py", line 23, in <module>
    from pip._internal.cli.progress_bars import BAR_TYPES
ImportError: cannot import name 'BAR_TYPES' from 'pip._internal.cli.progress_bars' (/home/uname/.local/lib/python3.8/site-packages/pip/_internal/cli/progress_bars.py)

Environment Versions

OS Type
Distributor ID: Ubuntu
Description:  Ubuntu 20.04.4 LTS
Release:  20.04
Codename: focal

Python version: $ python -V

Python 3.10.5

pip version: $ pip --version

pip 22.1.2 from /home/uname/.pyenv/versions/3.10.5/lib/python3.10/site-packages/pip (python 3.10)

pip-tools version: $ pip-compile --version

pip-compile --version
Traceback (most recent call last):
  File "/home/uname/.local/bin/pip-compile", line 5, in <module>
    from piptools.scripts.compile import cli
  File "/home/uname/.local/lib/python3.8/site-packages/piptools/scripts/compile.py", line 21, in <module>
    from ..repositories import LocalRequirementsRepository, PyPIRepository
  File "/home/uname/.local/lib/python3.8/site-packages/piptools/repositories/__init__.py", line 1, in <module>
    from .local import LocalRequirementsRepository
  File "/home/uname/.local/lib/python3.8/site-packages/piptools/repositories/local.py", line 14, in <module>
    from .pypi import PyPIRepository
  File "/home/uname/.local/lib/python3.8/site-packages/piptools/repositories/pypi.py", line 23, in <module>
    from pip._internal.cli.progress_bars import BAR_TYPES
ImportError: cannot import name 'BAR_TYPES' from 'pip._internal.cli.progress_bars' (/home/uname/.local/lib/python3.8/site-packages/pip/_internal/cli/progress_bars.py)

Steps to replicate

Just install pip-tools and run pip-compile --version

Expected result
version number
Actual result
Pasted above.

Could you show python -m pip-tool compile --version?

@atugushev Thanks. python -m pip install -U pip-tools -- this was already updated and on the latest version. Said already-satisfied for everything.
$ python -m piptools compile --version
python -m piptools, version 6.8.0

$ python3 -m pip show pip-tools
Name: pip-tools
Version: 6.8.0
Summary: pip-tools keeps your pinned dependencies fresh.
Home-page: https://github.com/jazzband/pip-tools/
Author: Vincent Driessen
Author-email<EMAIL_ADDRESS>License: BSD 3 Clause
Location: /home/piyush/.pyenv/versions/3.10.5/lib/python3.10/site-packages
Requires: build, click, pip, setuptools, wheel
Required-by:

You probably run old pip-compile from different venv. Note /home/uname/.local/lib/ -->> python3.8 <<-- /site-packages/piptools/ in the traceback:
pip-compile --version
Traceback (most recent call last):
....
  File "/home/uname/.local/lib/python3.8/site-packages/piptools/repositories/pypi.py", line 23, in <module>
    from pip._internal.cli.progress_bars import BAR_TYPES
ImportError: cannot import name 'BAR_TYPES' from 'pip._internal.cli.progress_bars' (/home/uname/.local/lib/python3.8/site-packages/pip/_internal/cli/progress_bars.py)

and note correct location of pip-tools==6.8.0:
Location: /home/piyush/.pyenv/versions/ -->> 3.10.5 <<-- /lib/python3.10/site-packages

Try to compile using python -m piptools compile.

@atugushev Thanks! Indeed that solved the issue. Perhaps the environment was running something random.


Faster arrays of components

Arrays of components in a ComponentArray unpack pretty slowly because they allocate. Something like this:
boid = ComponentArray(pos=zeros(2), vel=zeros(2))

boid_box = ComponentArray(pos=zeros(2), vel=zeros(2), θ=0, ω=0)

u0 = ComponentArray(boid_box=boid_box, boids=repeat([boid], 100))

Right now, doing u0.boids would allocate and be too expensive to use.
Maybe the right answer is StaticArrays. They wouldn't be able to be used for very large arrays of components, but it would at least it would make them useful for some problems.

StaticArrays didn't work so well. Ended up rolling my own LazyArray type for this based on Base.Generator.


Messages and Notifications Sections

Please add View Messages and Notifications features to the app. This certainly will help a lot.

These features are related to the current e-learning system which are fully supported on the Moodle mobile app so I don't see no point in adding them to this app.

I see a lot of potential in your app, which currently only represents MyBk. The thing is, the current Moodle-based app feels like an incohesive patchwork, giving out a really underwhelming experience, while Hanoi HUST has its own app representing the whole school ecosystem, which is really polished and helps students feel comfortable managing their courses and student info. I don't see why our school cannot do the same.

Well, the thing is, what this app is doing is basically reverse engineering. Our school doesn't provide any kind of official API to access student data, and I had to inspect every single network request just to make this app work. When the school will change the API in some ways, it'll break the app and you have to push a fix every time they do so.
Implementing the e-learning system into the app increases the risk many times more since you have more things to take care of. I believe the mobile team at HUST had the support and authority of their school officials (e.g. API, resource), so they were able to build a more feature-rich, stable, and error-prone app.
Our school had also made a promise that they release an official app, and they are currently forbidding any development of unofficial ones. That's why this app is just a bandaid and I haven't been able to promote it to a wider audience.
Moreover, I'm graduating this semester, so I might not be able to access the system in the near future. If there's anyone interested, I can make them a repo maintainer. I can still help with the product design and tech.


aaaaxy: 1.4.72 -> 1.4.101

Description of changes
https://github.com/divVerent/aaaaxy/releases/tag/v1.4.101
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] 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

[x] 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/)
23.11 Release Notes (or backporting 23.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

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2939

Result of nixpkgs-review pr 267556 run on x86_64-linux 1

2 packages built:

aaaaxy
aaaaxy.testing_infra

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1257

Result of nixpkgs-review pr 267556 run on x86_64-linux 1

2 packages built:

aaaaxy
aaaaxy.testing_infra


Calling bbsh without -i can still create a new build directory

oe-init-build-env will create a new 'build' directory from the calling location without any parameters specified.  Currently, the wrapper script isn't smart enough to detect those conditions and abort. (e.g. no '-i' specified)

Yes, this is definitely what I was seeing. in PR #5

Fixed in PR #6

@darknighte I don't think this was fixed in #6.  That only addressed the multi-part path names.  I still have my patch that I originally submitted.  I'll rebase now that #6 has been merged and submit it for your review.

@drewmoseley I think you're correct.  Got a little trigger happy on this one.

@drewmoseley, I believe my latest changes fixed the issue and added several improvements.  Please test and let me know if you still see the issue.


Package JVM

The JVM is important, we should package it.
See trbednarzyk/KISS-Java-Repo and what it can do.

Already on this, their repo was not properly packaged but I intend on using that as a bootstrap repo.

Any update on the status of JVM?

Closed for lack of progress.


Variant dependency on module suggested to change to implementation

Plugin version
2.4.2
Gradle version
8.11
JDK version
22
(Optional) Kotlin and Kotlin Gradle Plugin (KGP) version
2.0.21
(Optional) Android Gradle Plugin (AGP) version
8.7.2
(Optional) reason output for bugs relating to incorrect advice

Describe the bug
I have an environment flavor that has two values; dev, and prod.
One of my modules has code in the main, dev, and prod source sets. It also has a devImplementation(projects.devProperties) dependency:
main
environmentProperties()

dev
internal fun environmentProperties() {
  DevProperties.init()
}

prod
internal fun environmentProperties() {}

When I run buildHealth I get the following advice:
Existing dependencies which should be modified to be as indicated:
    implementation(projects.devProperties) (was devImplementation)

Running reason --id :devProperties prints:
Source: devDebug, main
----------------------
* Uses 1 class: com.me.DevProperties (implies implementation).

Source: devRelease, main
------------------------
* Uses 1 class: com.me.DevProperties (implies implementation).

Expected behavior
I would expect that since DevProperties is only referenced in the dev source set, that the dependency should be on devImplementation instead of implementation.

Maybe the root cause is this AGP issue I just noticed - https://issuetracker.google.com/issues/379441921
Also I was disabling all of the prod variants for local builds. When I stopped doing that, buildHealth now says I should be using devDebugImplementation instead of devImplementation.

Thanks for the report! Do you have a minimal reproducer?

Possibly 😬
I haven't tested it yet due to lack of time, but I'll post it here when I get to it.

repro.zip
./gradlew buildHealth currently works in that project.
Changing implementation(projects.destinations.devSettings) to devImplementation in nav/build.gradle.kts causes buildHealth to advise changing from devImplementation to implementation, but as far as I can tell, none of its API is accessed outside of the dev source set.
Still not sure if this is related or not, but if you comment out dependency.analysis.android.ignore.variants in gradle.properties and run CI=true ./gradlew buildHealth (the CI=true enables the prod variant) there are a lot more errors.


InaccessiblePaths=/run /var makes systemd service not start on Raspberry pi

I have used the provided systemd script, and go the error
● endlessh.service - Endlessh SSH Tarpit
   Loaded: loaded (/etc/systemd/system/endlessh.service; disabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Wed 2020-12-02 21:20:58 CET; 4s ago
     Docs: man:endlessh(1)
  Process: 21332 ExecStart=/usr/local/bin/endlessh (code=exited, status=226/NAMESPACE)
 Main PID: 21332 (code=exited, status=226/NAMESPACE)

Dec 02 21:20:58 raspi systemd[1]: endlessh.service: Failed with result 'exit-code'.

when I changed the line InaccessiblePaths=/run /var to InaccessiblePaths=/run it worked OK.
Not sure if this is a bug or just weird behaviour in raspberry pi.
I was using a build based on the 1.1 tag.

In order to get rid of this issue, I had to comment the following line in /etc/systemd/system/endlessh.service :
#InaccessiblePaths=/run /var
and reload the daemon afterwards:
sudo systemctl daemon-reload && sudo systemctl restart endlessh.service


28Mar21-merge from openassa repo to my forked repo-POC branch.

28Mar21-merge from openassa repo to my forked repo-POC branch.

28Mar21-merge from openassa repo to my forked repo-POC branch.


fix(ngPattern): Changed pattern to validate against input field value

Set patternDirective validator to test against viewValue instead of
modelValue.
Closes #12344, #12618

I think we need some tests for this fix, in order to catch potential regressions in the future.
@kacecode, could you push a second commit with some tests (i.e. testcases that would fail without the fix, but pass with the fix) ?

I actually created a commit with the fix, but didn't get around to post it. Here it is: https://github.com/angular/angular.js/pull/12640

I'll have a test for this, so we'll go with #12640. But thanks for the PR, @kacecode. It's great to see contributions.


BinExport wrongly identifies some functions as IMPORTED

Consider the executable ntoskrnl.exe[1] (official version of ntoskrnl.exe)
After exporting it with BinExport on IDA you will find that the function FsRtlMdlReadCompleteDevEx at address 0x14032E010 is erroneously identified as IMPORTED while in reality the function code is present in the binary (IDA shows it without problem).
After looking a little bit into the sources it seems that the problem lies in this check:
      if (function.GetBasicBlocks().empty()) {
        function.SetType(Function::TYPE_IMPORTED);
      }

It seems that BinExport doesn't extract the basic blocks for that particular function.
[1] Here you can find the executable as well with the pdb file associated

Any updates on this? I'm running into the same issue. A function that's correctly disassembled by IDA is showing up as IMPORTED, with no instructions, in the binexport file.

@cblichmann Do you have any suggestions/ideas for fixing this?

Oh wow, I should've noticed this much earlier.
@patacca: You're right, we export this as "Imported", which is a bug. However, after a bit of debugging and not finding anything odd, I simply logged everything to stdout with
./ida64 -OBinExportAlsoLogToStdErr:TRUE -OBinExportAutoAction:BinExportBinary ~/ntoskrnl-5012647.exe.i64

This resulted in (among others):
I0726 14:14:00.924358  256587 flow_graph.cc:498] Discarding excessively large function<PHONE_NUMBER>32E010: 3202 basic blocks, 5000 edges, 14559 instructions (Limit is 5000, 5000, 20000)

So in a sense this is working as intended. IDA itself also by default refuses to show the graph view for it (> 1000 basic blocks). This is exactly hitting the kMaxFunctionEdges limit of 5000 edges (defined in flow_graph.h).
@Myles1: Can you check with a command-line similar to the above whether you also hit one of these limits?
Also, how often does this occur for typical binaries you analyze?
We should probably increase the limits somewhat and also set the function type to Function::TYPE_INVALID instead.

Why do we want to enforce the limits by hardcoding the values?
Isn't it better to let the users adjust those values to their specific needs?

Yes, we can definitely do that. It'd be awkward to use from a command-line and we'd also need to make this a BinDiff setting. I'll look into that.

Note: You can try this out with the artifacts that are now being built for each commit: https://github.com/google/binexport/actions/runs/5678688428

This happens very frequently in the binaries that I'm analyzing. Is there a workaround for keeping the excessively large cfg?

As a temporary workaround, you can increase the limits in flow_graph.h and recompile.
This should indeed be configurable, but I'm trying to figure out the best way to do this.
Contenders are:

environment variables (BINEXPORT_MAX_FUNCTION_BASIC_BLOCKS)
Plugin options that can be set on IDA's command-line (-OBinExportMaxFunctionBasicBlocks:<N>)
not making it configurable, increasing the limits drastically instead

As an aside, IIRC, the Ghidra exporter extension has no hard-coded limits.

I'm voting for the IDA command line option. It keeps it consistent with the other options already present (like OBinExportAlsoLogToStdErr or OBinExportAutoAction) making it easier for people to find them.
Just giving my personal unwanted opinion 😄

Shouldn't we set the default to a large number and allow configuration for lowering it, as opposed to the other way around? That would make the defaults as sane as possible for new people. This issue took a while for me to track down and I hope others don't have to do the same.

@Myles1 I just submitted such a change for review.
As for new binaries, you can always find them under the Actions tab under cmake-build. E.g. this is a previous one: https://github.com/google/binexport/actions/runs/5689470178.


Use install-esmf-action

With this PR, xdatasets testing now no longer requires conda-forge (at least on GitHub)
Changes

GitHub CI now uses https://github.com/esmf-org/install-esmf-action in order to build ESMF on GitHub directly

This action uses caching, so it should be very quick to run after the first time it is triggered (cache remains for 7 days)

The tox.ini now requires ESMF to be installed and for the environment variable ESMF_VERSION to be present in the shell or be passed to tox via $ export ESMF_VERSION=vX.Y.Z tox

Just so we don't forget, we need to adjust bump-my-version so changes in pyproject.toml don't trigger version changes.


Issuing HEAD requests conflicts with signed S3 requests

brew doctor output
brew doctor
Your system is ready to brew.

Verification

[X] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
HOMEBREW_VERSION: 4.0.24
ORIGIN: https://github.com/Homebrew/brew
HEAD: 54c8876dc39047c04de15e7d212979ae8d98cf1c
Last commit: 8 days ago
Core tap JSON: 26 Jun 17:42 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: ["--require-sha"]
HOMEBREW_MAKE_JOBS: 10
HOMEBREW_NO_INSECURE_REDIRECT: set
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 14.0.0 build 1400
Git: 2.40.0 => /opt/homebrew/bin/git
Curl: 7.79.1 => /usr/bin/curl
macOS: 12.6.1-arm64
CLT: <IP_ADDRESS>.1.1666437224
Xcode: N/A
Rosetta 2: false

What were you trying to do (and why)?
Trying to install a formula from a custom tap
What happened (include all command output)?
> brew install fabric-cli
==> Fetching datadog/tap/fabric-cli
==> Downloading https://artifacts.ddci.com/service-discovery-platform/fabric_1.37.0_darwin_arm64.tar.gz
==> Downloading from https://s3.amazonaws.com/artifacts.ddci.com/service-discovery-platform/fabric_1.37.0_darwin_arm64.tar.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA****************%2F20230627%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=202
######################################################################################################################################################################################################################################################## 100.0%curl: (22) The requested URL returned error: 403

Error: fabric-cli: Failed to download resource "fabric-cli"
Download failed: https://binaries.ddbuild.io/service-discovery-platform/fabric_1.37.0_darwin_arm64.tar.gz

What did you expect to happen?
the download should succeed.
Step-by-step reproduction instructions (by running brew commands)
# This is difficult to reproduce without the company's VPN but I'll include as much debug information below. Our setup is as follows:
# - An artifact repository is available at artifacts.ddci.com.
# - When the repository receives an HTTP request, it returns a 302 status code with an authenticated and signed redirect URL to S3.
# - The redirect is followed and the artifact is downloaded by S3.

# The signature includes the HTTP method. brew emits a HEAD request to the repository which answers with a redirect for a HEAD request to S3. Later, brew emits a GET request using the redirect location to S3. Since the S3 request is signed using a HEAD HTTP method, the request is rejected by S3.

> HOMEBREW_CURL_VERBOSE=1 brew install --debug fabric-cli
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/datadog/homebrew-tap/Formula/fabric-cli.rb
==> Fetching datadog/tap/fabric-cli
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.0.26\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 12.6.1\)\ curl/7.79.1 --header Accept-Language:\ en --retry 3 --fail --location --silent --head https://artifacts.ddci.com/service-discovery-platform/fabric_1.37.0_darwin_arm64.tar.gz
==> Downloading https://artifacts.ddci.com/service-discovery-platform/fabric_1.37.0_darwin_arm64.tar.gz
==> Downloading from https://s3.amazonaws.com/artifacts.ddci.com/service-discovery-platform/fabric_1.37.0_darwin_arm64.tar.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA****************%2F20230627%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=202
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.0.26\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 12.6.1\)\ curl/7.79.1 --header Accept-Language:\ en --retry 3 --fail --location --silent --head --location https://s3.amazonaws.com/artifacts.ddci.com/service-discovery-platform/fabric_1.37.0_darwin_arm64.tar.gz\?X-Amz-Algorithm=AWS4-HMAC-SHA256\&X-Amz-Credential=ASIA****************\%2F20230627\%2Fus-east-1\%2Fs3\%2Faws4_request\&X-Amz-Date=20230627T173407Z\&X-Amz-Expires=900\&X-Amz-Security-Token=<amazon-security-token>&X-Amz-SignedHeaders=host\&X-Amz-Signature=<amazon-signature>
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.0.26\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 12.6.1\)\ curl/7.79.1 --header Accept-Language:\ en --fail --progress-bar --verbose --retry 3 --remote-time --output /Users/frederic.hemery/Library/Caches/Homebrew/downloads/1fe7ae07946d49445d4ac272a38b5dff4b6a77d83ae5d857a65c43c3a3bbb048--fabric_1.37.0_darwin_arm64.tar.gz.incomplete --continue-at - --location https://s3.amazonaws.com/artifacts.ddci.com/service-discovery-platform/fabric_1.37.0_darwin_arm64.tar.gz\?X-Amz-Algorithm=AWS4-HMAC-SHA256\&X-Amz-Credential=ASIA****************\%2F20230627\%2Fus-east-1\%2Fs3\%2Faws4_request\&X-Amz-Date=20230627T173407Z\&X-Amz-Expires=900\&X-Amz-Security-Token=<amazon-security-token>&X-Amz-SignedHeaders=host\&X-Amz-Signature=<amazon-signature>
######################################################################################################################################################################################################################################################## 100.0%*   Trying <IP_ADDRESS>:443...
* Connected to s3.amazonaws.com (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (OUT), TLS handshake, Client hello (1):
} [321 bytes data]
* (304) (IN), TLS handshake, Server hello (2):
{ [106 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [5486 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=s3.amazonaws.com
*  start date: Apr 11 00:00:00 2023 GMT
*  expire date: Dec 20 23:59:59 2023 GMT
*  subjectAltName: host "s3.amazonaws.com" matched cert's "s3.amazonaws.com"
*  issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M01
*  SSL certificate verify ok.
> GET /artifacts.ddci.com/service-discovery-platform/fabric_1.37.0_darwin_arm64.tar.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA****************%2F20230627%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230627T173407Z&X-Amz-Expires=900&X-Amz-Security-Token=<amazon-security-token>&X-Amz-SignedHeaders=host&X-Amz-Signature=<amazon-signature> HTTP/1.1
> Host: s3.amazonaws.com
> Range: bytes=266-
> User-Agent: Homebrew/4.0.26 (Macintosh; arm64 Mac OS X 12.6.1) curl/7.79.1
> Accept: */*
> Accept-Language: en
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 403 Forbidden
< x-amz-request-id: <amazon-request-id>
< x-amz-id-2: <amazon-id-2>
< Content-Type: application/xml
< Transfer-Encoding: chunked
< Date: Tue, 27 Jun 2023 17:34:07 GMT
< Server: AmazonS3
* The requested URL returned error: 403
* Closing connection 0
* TLSv1.2 (OUT), TLS alert, close notify (256):
} [2 bytes data]
curl: (22) The requested URL returned error: 403

Error: fabric-cli: Failed to download resource "fabric-cli"
Download failed: https://artifacts.ddci.com/service-discovery-platform/fabric_1.37.0_darwin_arm64.tar.gz

# Issuing a HEAD request on the redirect url from the repository succeeds:

> curl --verbose --head 'https://s3.amazonaws.com/artifacts.ddci.com/service-discovery-platform/fabric_1.37.0_darwin_arm64.tar.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA****************%2F20230627%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230627T173407Z&X-Amz-Expires=900&X-Amz-Security-Token=<amazon-security-token>&X-Amz-SignedHeaders=host&X-Amz-Signature=<amazon-signature>'
*   Trying <IP_ADDRESS>:443...
* Connected to s3.amazonaws.com (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=s3.amazonaws.com
*  start date: Apr 11 00:00:00 2023 GMT
*  expire date: Dec 20 23:59:59 2023 GMT
*  subjectAltName: host "s3.amazonaws.com" matched cert's "s3.amazonaws.com"
*  issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M01
*  SSL certificate verify ok.
> HEAD /artifacts.ddci.com/service-discovery-platform/fabric_1.37.0_darwin_arm64.tar.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA****************%2F20230627%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230627T173407Z&X-Amz-Expires=900&X-Amz-Security-Token=<amazon-security-token>&X-Amz-SignedHeaders=host&X-Amz-Signature=<amazon-signature> HTTP/1.1
> Host: s3.amazonaws.com
> User-Agent: curl/7.79.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< x-amz-id-2: <amazon-id-2>
x-amz-id-2: <amazon-id-2>
< x-amz-request-id: <amazon-request-id>
x-amz-request-id: <amazon-request-id>
< Date: Tue, 27 Jun 2023 17:34:07 GMT
Date: Tue, 27 Jun 2023 17:34:07 GMT
< Last-Modified: Wed, 31 May 2023 19:46:21 GMT
Last-Modified: Wed, 31 May 2023 19:46:21 GMT
< ETag: "18937274ed1ac07cb0681eabbe163407-3"
ETag: "18937274ed1ac07cb0681eabbe163407-3"
< x-amz-server-side-encryption: AES256
x-amz-server-side-encryption: AES256
< Content-Disposition: attachment; filename=fabric_1.37.0_darwin_arm64.tar.gz
Content-Disposition: attachment; filename=fabric_1.37.0_darwin_arm64.tar.gz
< x-amz-version-id: EFr9ttVIIGFSqXvR29244Uh7c_JFagVa
x-amz-version-id: EFr9ttVIIGFSqXvR29244Uh7c_JFagVa
< Accept-Ranges: bytes
Accept-Ranges: bytes
< Content-Type: application/x-gzip
Content-Type: application/x-gzip
< Server: AmazonS3
Server: AmazonS3
< Content-Length: 14191772
Content-Length: 14191772

<
* Connection #0 to host s3.amazonaws.com left intact

# On the other hand, emitting a GET request fails because of a signature mismatch

> curl --verbose 'https://s3.amazonaws.com/artifacts.ddci.com/service-discovery-platform/fabric_1.37.0_darwin_arm64.tar.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA****************%2F20230627%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230627T173407Z&X-Amz-Expires=900&X-Amz-Security-Token=<amazon-security-token>&X-Amz-SignedHeaders=host&X-Amz-Signature=<amazon-signature>'
*   Trying <IP_ADDRESS>:443...
* Connected to s3.amazonaws.com (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=s3.amazonaws.com
*  start date: Apr 11 00:00:00 2023 GMT
*  expire date: Dec 20 23:59:59 2023 GMT
*  subjectAltName: host "s3.amazonaws.com" matched cert's "s3.amazonaws.com"
*  issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M01
*  SSL certificate verify ok.
> GET /artifacts.ddci.com/service-discovery-platform/fabric_1.37.0_darwin_arm64.tar.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA****************%2F20230627%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230627T173407Z&X-Amz-Expires=900&X-Amz-Security-Token=<amazon-security-token>&X-Amz-SignedHeaders=host&X-Amz-Signature=<amazon-signature> HTTP/1.1
> Host: s3.amazonaws.com
> User-Agent: curl/7.79.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 403 Forbidden
< x-amz-request-id: <amazon-request-id>
< x-amz-id-2: <amazon-id-2>
< Content-Type: application/xml
< Transfer-Encoding: chunked
< Date: Tue, 27 Jun 2023 18:58:17 GMT
< Server: AmazonS3
<
<?xml version="1.0" encoding="UTF-8"?>
<Error>SignatureDoesNotMatch<Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>
<redacted details about the signature>

# After investigation, the signature mismatch is caused by the HTTP method mismatch. The redirect url from the repository was built from a HEAD request and later used by brew in a GET request.

CC @reitermarkus for help with the HEAD/GET stuff here.

From how I understand this, I think the only way to fix this is not to reuse the resolved URL, i.e. getting rid of “Downloading from”.

@reitermarkus Is this something you'd be willing or able to make a PR for? No worries if not.

I wanted to follow up on this issue. Can I help in any way on this? Would it be useful if I made a PR?

Can I help in any way on this? Would it be useful if I made a PR?

Yes please!
This document should help and we're happy to walk you through anything else.
Thanks!


Upgrade to Scala 2.12.0

Thanks! Before we do something like this we probably need to figure out a work-around for https://github.com/rickynils/scalacheck/issues/290.

Ah, didn't see that one. Quite a puzzle it is.


[Linux] Error when disposing VideoRoomPlugin

When running the janus_client example in the ubuntu 23.04 operating system, we get errors when completing the call.
Library version 2.3.2
List of errors:

Error during execution of the command   await videoPlugin?.hangup();:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(MediaStreamDisposeFailed, stream [98C2C75D-0C4D-48F5-8387-67A667C09A62] not found!, null, null)
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652:7)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:310:18)
<asynchronous suspension>
#2      MediaStreamNative.dispose (package:flutter_webrtc/src/native/media_stream_impl.dart:93:5)
<asynchronous suspension>

Error during execution of the command  await videoPlugin?.dispose();:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(MediaStreamDisposeFailed, stream [98C2C75D-0C4D-48F5-8387-67A667C09A62] not found!, null, null)
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652:7)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:310:18)
<asynchronous suspension>
#2      MediaStreamNative.dispose (package:flutter_webrtc/src/native/media_stream_impl.dart:93:5)
<asynchronous suspension>
#3      stopAllTracksAndDispose (package:janus_client/utils.dart:211:3)
<asynchronous suspension>
#4      JanusPlugin.dispose (package:janus_client/janus_plugin.dart:348:5)
<asynchronous suspension>
#5      _VideoRoomState.callEnd (package:janus_client_example/typed_examples/google_meet.dart:487:5)
<asynchronous suspension>
#6      _VideoRoomState.build.<anonymous closure> (package:janus_client_example/typed_examples/google_meet.dart:591:21)
<asynchronous suspension>

There was no problem when running in Chrome or Android.

please test the latest commit i think it is caused because we were stopping individual tracks of stream before disposing but in latest flutter_webrtc changes they implicitly dispose tracks inside media stream, regardless of that let me know if the latest commit works for you or not

I checked the last commit and the error persists on Linux OS.
Here are the logs:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(MediaStreamDisposeFailed, stream [87F361B8-7EBF-4D11-BE9C-0AE51A2C1A80] not found!, null, null)
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652:7)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:310:18)
<asynchronous suspension>
#2      MediaStreamNative.dispose (package:flutter_webrtc/src/native/media_stream_impl.dart:93:5)
<asynchronous suspension>

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(MediaStreamDisposeFailed, stream [87F361B8-7EBF-4D11-BE9C-0AE51A2C1A80] not found!, null, null)
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652:7)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:310:18)
<asynchronous suspension>
#2      MediaStreamNative.dispose (package:flutter_webrtc/src/native/media_stream_impl.dart:93:5)
<asynchronous suspension>
#3      stopAllTracksAndDispose (package:janus_client/utils.dart:208:3)
<asynchronous suspension>
#4      JanusPlugin.dispose (package:janus_client/janus_plugin.dart:348:5)
<asynchronous suspension>
#5      _VideoRoomState.callEnd (package:janus_client_example/typed_examples/google_meet.dart:487:5)
<asynchronous suspension>
#6      _VideoRoomState.build.<anonymous closure> (package:janus_client_example/typed_examples/google_meet.dart:591:21)
<asynchronous suspension>

Even after disabling the await stream?.dispose(); the error remains that the stream was not found
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(MediaStreamDisposeFailed, stream [F714BB62-C9FE-4B9F-B783-E06582A58C7D] not found!, null, null)
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652:7)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:310:18)
<asynchronous suspension>
#2      MediaStreamNative.dispose (package:flutter_webrtc/src/native/media_stream_impl.dart:93:5)
<asynchronous suspension>
#3      JanusPlugin.dispose (package:janus_client/janus_plugin.dart:354:5)
<asynchronous suspension>
#4      _VideoRoomState.callEnd (package:janus_client_example/typed_examples/google_meet.dart:487:5)
<asynchronous suspension>
#5      _VideoRoomState.build.<anonymous closure> (package:janus_client_example/typed_examples/google_meet.dart:591:21)
<asynchronous suspension>


fix: add missed IBM MQ Operation Binding

I found that we have forgot to define (probably it's a bug) definition for IBM MQ Operation Binding. I know that some bindings don't need to have definition for particular kind of binding, but we should have reserved keywords.
I found it in review of https://github.com/asyncapi/spec/pull/836 PR
cc @derberg @fmvilas and @dalelane you should be most interested :)

@magicmatatjahu referencing also previous discussion about this in https://github.com/asyncapi/spec/issues/605

@char0n Hah, thanks! I didn't see your issue. However @derberg add comment https://github.com/asyncapi/spec/pull/836#issuecomment-1252443273 so I don't know how I should think about this inconsistency across bindings.

LGTM but I don't see an "Operation Binding Object" section on the ibmmq binding. We should also add it there and specify that it's just empty and reserved for future use (see example).

yeah, I think we should make sure ibm mq is there too, for consistency reasons

PR https://github.com/asyncapi/bindings/pull/149 is merged. It can be merged too :)
cc @char0n

@fmvilas @derberg can you please look into this PR? THanks!

@magicmatatjahu is there any adaption required for parser-js after this PR is merged?

Nope, ParserJS treats bindings atm as Map<string, any> values.

@char0n as Fran wrote  Approved it but let's wait for @rcoppen and others to review it., IMHO you can merge as others did review and @rcoppen is aware as he had to approve the change in the binding to get it marget, as he is a codeowner of the IBMMQ binding

Yup, feel free to merge.

/rtm


Content of Swiper is not shown until ModalBox is fully animated

Which OS ?
iOS and Android
Version
Which versions are you using:

react-native-swiper v1.5.13?
react-native v0.56.0?

Expected behaviour
When using a react-native-modalbox to display a Swiper I expect to see the content of the Swiper while the ModalBox is being animated from the bottom of the screen. The ModalBox displays basic RN components such as Text, while animating, so I assume this has to do with the Swiper. I have tried loadMinimal and loadMinimalSize but that does not work.
Actual behaviour
The content of the Swiper will not be shown untill the ModalBox is fully animated in its final position.
How to reproduce it
To help us, please fork this component, modify one example in examples folder to reproduce your issue and include link here.
Will reproduce if this is not a known issue.
Steps to reproduce

I'm noticing this as well. Using 'modal' mode in React Navigation, navigating to the page with the Swiper, the contents do not appear until you start to swipe on the swiper itself. It remains blank if you don't do anything. If you change it to a normal page transition, it appears as normal.

This is rather to prove it's timing issue, the following hack will make the swiper appear:
constructor(props) {
    super(props);
    this.state = { mounted: false };
  }

  componentDidMount() {
    setTimeout(() => {
      this.setState({ mounted: true });
    }, 100);
  }

  render() {
    if (!this.state.mounted) {
      return null;
    }
    return (
      <Swiper style={styles.wrapper} showsButtons={true} loop={false}>
        <View style={styles.slide1}>
          <Text style={styles.text}>Hello Swiper</Text>
        </View>
        <View style={styles.slide2}>
          <Text style={styles.text}>Beautiful</Text>
        </View>
        <View style={styles.slide3}>
          <Text style={styles.text}>And simple</Text>
        </View>
      </Swiper>
    );
  }

I created a solution similar to @kkgelu, but for React functional components using hooks
// NOTE: Render timing hack to get swiper to render and scroll to correct slide index
    // URL: https://github.com/leecade/react-native-swiper/issues/870
    useEffect(() => {
        setTimeout(() => {
            setSwiperLoaded(true);
            setTimeout(() => {
                setGoal(GoalConfig.getById(user.goal));
            }, 100);
        }, 100);
    }, []);

{swiperLoaded &&
                <GoalSwiper
                    // ....
                    goal={goal} // scroll to the correct goal (i.e. content slide), but only after we call `setGoal`
                />

Without both 100ms setTimeouts the swiper will bug out and either show blank slides or miscalculate how to scroll to the

Ran into the same issue with the swiper in a modal on iOS. The following seems to fix it without using any arbitrary timeouts:
// Workaround for bug with swiper in modal
const [interactionsComplete, setInteractionsComplete] = useState(false);
InteractionManager.runAfterInteractions(() => setInteractionsComplete(true));

if (!interactionsComplete) return <LoadingIndicator />;
return <Swiper .../>;


[DCOS-43947] Update JRE to 8u192 to address CVEs (#2728)

This PR is a backport of #2728 :

Updates the JRE version to 8u192
Updates the SDK version string in package_builder.py to match that in build.gradle (Cosmetic change)

Are we going to do a release in the 0.40 branch, or should I bump the dependency to the tip of the sdk-0.40 branch?


ImportError create_link_secret from anoncreds-test 0.1.0.dev10

I'm testing out the anoncreds-test 0.1.0.dev10 pip package published on testpypi and am unable to import the create_link_secret function.
It's missing from the .bindings import in the __init__.py file. Adding it fixes the issue.
Steps to reproduce:
pip install -i https://test.pypi.org/simple/ anoncreds-test
from anoncreds_test import create_link_secret

It seems to be there in main, so maybe you just need the new release to be published.


.svg files not found/don't show on page when baseurl is set to something other than ""

Unfortunately, when the baseurl: is set (in the _config.yml file), the music doesn't show up in the post and I get the following error in the terminal:
ERROR `/lilypond_files/44d290db15f1c705113158a2385bef75-trimmed.svg' not found.

I tried setting the baseurl to an empty string, i.e. baseurl: "", and the music showed up fine without any errors (locally).
However, it's unfortunately not a satisfactory solution since setting the baseurl to an empty string would in this case cause other links to not work properly.

Thanks for taking the time to report these issues! I really appreciate all the help.
baseurl: isn't a feature I use, so I may need to do some tinkering to find a solution. I'll try to have something for you soon.

Oh, actually, I do have a question.  Or do they fail everywhere?

Oh, actually, I do have a question.  Or do they fail everywhere?

Good question—but unfortunately (after setting GitLab CI up to build the site automatically), they don't work remotely either. As a temporary workaround I can manually enter the link to the svg file (the svg files build fine, it's only the link that's missing the baseurl at the start).

Thanks for taking the time to report these issues! I really appreciate all the help.
baseurl: isn't a feature I use, so I may need to do some tinkering to find a solution. I'll try to have something for you soon.

No problem—thanks also for this nice tool!


Add plugins/acr to PrivilegedMode

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

Added drone-cli#153

Thanks


Calculate park acreage by census tract

@jgravois, would this be easier/more performant on the client than creating the heatmap with buffer function in turf?  Maybe it's and easier first step?

i think you're on to something.  i'll see what i can whip up.


feat: add basic ceph library

Signed-off-by: Chris Goller<EMAIL_ADDRESS>

Nice, I updated the Dockerfile to use the quincy release, in case there's any incompatibility between what was in Debian's packages and what we're running elsewhere. Also updated the app build script, execa has switched to publish ESM-only packages, so we have to make the build process transpile it since we're not running as ESM in prod.


Mercator removal

Should close #326

THe build fails on binary incompatibility check but I think that's ok.

I would advise to not expose the instances as objects / classes in the interest of binary compatibility for the future.

@joroKr21 you mean expose them as defs instead? I didn't know that this has implications for bin compat, but I guess it makes sense, as a def gives you much more flexiblity

@joroKr21 you mean expose them as defs instead? I didn't know that this has implications for bin compat, but I guess it makes sense, as a def gives you much more flexiblity

Yes, exactly - well if the object/class is public you can't remove it in a binary compatible way. And the would also be reflected in the types of the instances so you wouldn't be able to change that either.

@joroKr21 Thanks, makes sense :) We have to do the same change on the scala3 branch as well then

Ok I will do it for scala2 but I think we need separate issue for scala3

@Pask423 yeah a separate PR for sure :)


simplify types of test rules to mixed

cc @samsonasik Hi, it seems Rector is going crazy on last dev-main. Any ideas?

@TomasVotruba that's seems due to add constant support for privatization on https://github.com/rectorphp/rector-src/pull/1890 , on general, seems fine ,there is issue on some packages that it make generated constant has RECTORPREFIX2022030 on some use cases, for example:
Run vendor/bin/rector process packages/easy-coding-standard --ansi

1) packages/easy-coding-standard/packages/FixerRunner/WhitespacesFixerConfigFactory.php:10

    ---------- begin diff ----------
@@ @@

 final class WhitespacesFixerConfigFactory
 {
+    /**
+     * @var string[]
+     */
+    private const ALLOWERECTORPREFIX20220302D_VALUES = ['tab', 'spaces', Spacing::TWO_SPACES, Spacing::FOUR_SPACES, Spacing::ONE_TAB];
     public function __construct(
         private ParameterProvider $parameterProvider
     ) {
@@ @@
             return Spacing::FOUR_SPACES;
         }

-        $allowedValues = ['tab', 'spaces', Spacing::TWO_SPACES, Spacing::FOUR_SPACES, Spacing::ONE_TAB];
-
         throw new WhitespaceConfigurationException(sprintf(
             'Value "%s" is not supported in "parameters > indentation".%sUse one of: "%s".',
             $indentation,
             PHP_EOL,
-            implode('", "', $allowedValues)
+            implode('", "', self::ALLOWERECTORPREFIX20220302D_VALUES)

Applied rules:
 * SymplifyQuoteEscapeRector
 * ChangeReadOnlyVariableWithDefaultValueToConstantRector

while on other use cases, it is working ok:
Run vendor/bin/rector process packages/git-wrapper --ansi

1) packages/git-wrapper/tests/GitWorkingCopyTest.php:50

    ---------- begin diff ----------
@@ @@
     private string $currentUserName;

     private string $currentUserEmail;
+    /**
+     * @var array<string, string|true>
+     */
+    private const OPTIONS = [
+        '-f' => true,
+        '-m' => 'remote-branch',
+    ];

     /**
      * Creates and initializes the local repository used for testing.
@@ @@

         $gitWorkingCopy = $this->getWorkingCopy();

-        $options = [
-            '-f' => true,
-            '-m' => 'remote-branch',
-        ];
-
-        $gitWorkingCopy->addRemote('remote', 'file://' . self::REMOTE_REPO_DIR, $options);
+        $gitWorkingCopy->addRemote('remote', 'file://' . self::REMOTE_REPO_DIR, self::OPTIONS);

         $gitWorkingCopy->run(CommandName::REV_PARSE, ['remote/HEAD']);
         $gitWorkingCopy->run(CommandName::REV_PARSE, ['remote-tag']);
    ----------- end diff -----------

Applied rules:
 * ConsistentPregDelimiterRector
 * SymplifyQuoteEscapeRector
 * ChangeReadOnlyVariableWithDefaultValueToConstantRector
 * AddArrayParamDocTypeRector

I will check.

@TomasVotruba It seems related with scoper prefixing https://github.com/rectorphp/rector-src/commit/81152d35e8e4a0dec1f8d5ff69f8cac64354007a on call :
        $propertyNameUnicodeString = new \RectorPrefix20220302\Symfony\Component\String\UnicodeString($propertyName);
        return $propertyNameUnicodeString->snake()->upper()->toString();

ref https://github.com/rectorphp/rector/issues/7017

@TomasVotruba I found it, it seems AbstractUnicodeString needs update for RectorPrefix patch as well:
https://github.com/rectorphp/rector/blob/52244774008ebeddb669a1429f68ae58f72f8d0f/vendor/symfony/string/AbstractUnicodeString.php#L335
        $str->string = \mb_strtolower(\preg_replace(['/(\\p{Lu}+)(\\p{Lu}\\p{Ll})/u', '/([\\p{Ll}0-9])(\\p{Lu})/u'], 'RectorPrefix20220303\\1_\\2', $str->string), 'UTF-8');
        return $str;

I created PR https://github.com/rectorphp/rector-src/pull/1894 for it.

@TomasVotruba rebased.

@TomasVotruba Oops, sorry, I am doing wrong rebase, I removed your commit, please git --force push with your local change again.
The prefixed string with RectorPrefix20220303 is solved. There is still issue one issue inside do { while() }, it needs to be skipped, I will check on rector-src.

@TomasVotruba please run :
git push --force origin tv-phpstan-update

it should be ok now.

@TomasVotruba it seems your commit directly to main instead of this PR https://github.com/symplify/symplify/commit/a62c384213ccee34722780e5d79c82a9e09deeb2 so this PR only run the vendor/bin/rector, I think it show the correct result now.

Looks good, thank you 😊


nimble-tab support other appearance designs

📌 User Story
TODO: Add details

There are no other appearance designs. See https://www.figma.com/file/PO9mFOu5BCl8aJvFchEeuN/Nimble_Components?type=design&node-id=1295-70711&mode=design


Fallback Font on Outlook 2010 - 2013 doesn't work

Describe the bug
Through Outlook 2010 & 2013, default fallback fonts like Arial or Verdana aren’t taking into account. Instead, Times New Roman is used.
Initial State
<mj-head>
    <mj-font name="Montserrat" href="https://fonts.googleapis.com/css?family=Montserrat" />
    <mj-attributes>
      <mj-all font-family="Montserrat,Verdana" font-size="14px" color="#000" align="justify" `/>`
</mj-attributes>

Outcome
OUTLOOK 2010 : Times New Roman

GMAIL WEBMAIL : Verdana

Expected behavior
Verdana to be used through Outlook.
MJML environment:

OS: Window
MJML Version  : v4.2.1
MJML tool used : MJML For Visual Studio Code https://marketplace.visualstudio.com/items?itemName=attilabuti.vscode-mjml

Email sending environment(for rendering issues):

Platform used to send the email:  DOLIST

attempts & workarounds
I tried several actions
Create a dedicated CSS class
   <mj-class name="test" font-familly="Montserrat,Verdana"/>
or adding conditional comments like that
`<!--[if mso]>

<![endif]-->`
but it seems that it’s not OK
Thanks for all of the help.

Hi,
It works just fine for me on EOA for any Outlook with this MJML : https://mjml.io/try-it-live/ByNg62hZ4

So I think your ESP is altering the HTML and there's not much we can do about it

Hello iRyusa,
Thank you very much for your feedback. In this case, does it mean that I cannot use Google Font for major modern webmails and use default fallback fonts like Arial or Verdana for Outlook ?
Is your solution https://mjml.io/try-it-live/ByNg62hZ4 rendering Monteserrat on GMAIL app mobile for example and Verdana through Outlook?

OK. But is it possible to make a MJML code that allows Google font for modern Webmail or App and default fallback like Arial for Outlook ?
For example, this code : https://mjml.io/try-it-live/r13haxTbE is displaying Arial both on OUTLOOK and GMAIL Mobile App.
OUTLOOK 2010

GMAIL mobile APP :+1:

Gmail (web) doesn't support external font, so does Gmail App I think.

So basically there's no way to import any font inside gmail app. Most of webmail doesn't support external font, you can try this example on iOS it should work just fine


Does this work with Eduroam and Pico W?

https://github.com/orgs/micropython/discussions/9264

Replied here - https://github.com/orgs/micropython/discussions/9264


Refactor init wizard

refactored wizard.go:

clearly define steps and their order
rename WizardCommand to InitCommand
make it use the host command line parameter if specified (fix #57)
move printing functions into print.go
move prompting functions into prompt.go (and improve them)
improve spinning animation

@alexanderwilling looks like you actually did direct changes to something sitting in the vendor directory which is not a good idea. We would need to do those changes to the upstream phraseapp-go first and then update via godep. Best to talk about how to do that in person I guess.

@tobstarr yep, completely missed that. I removed that commit here and opened a PR for it: https://github.com/phrase/phraseapp-go/pull/14
Once it's merged there I'll vendor it in here, although the commits here should not depend on the changes in phraseapp-go.

@alexanderwilling merge https://github.com/phrase/phraseapp-go/pull/14, do you want to put this in here then right now?

rebased this branch on master and updated the vendored phraseapp-go

@alexanderwilling looking into it now, next time I would recommend to open separate pull requests for e.g. the typo fixes and the godep update (makes it simpler to review). But looking good so far