text:
怎么设置X轴的彩色文本

现在是想实现X轴的富文本功能.翻了一下Issue,发现可以用
标签来实现换行功能.尝试用行内样式来实现彩色文本,应该是默认设置了一个颜色,导致无法设置彩色文本.
看了一下HighCharts官方文档,好像有一个formatter属性是没有实现的.如果需要自己实现的话,现在可以从哪里入手?

通过AADataLabels设置format即可.

貌似只能用设置换行,没办法设置不同颜色.官网xAxis.labels有一个useHTML属性,现在作者您好像没有处理.

配置AAOptions实例

    NSArray *categories = @[@"孤岛危机<\\/font>",
                            @"使命召唤<\\/font>",
                            @"荣誉勋章<\\/font>",
                            @"狙击精英<\\/font>",
                            @"神秘海域<\\/font>",
                            @"美国末日<\\/font>",
                            @"巫师狂猎<\\/font>",
                            @"死亡搁浅<\\/font>",
                            @"地狱边境<\\/font>",
                            @"忍者之印<\\/font>",
                            @"合金装备<\\/font>",
                            @"全战三国<\\/font>",
                         ];

    AAChartModel *aaChartModel= AAChartModel.new
    .chartTypeSet(AAChartTypeAreaspline)
    .titleSet(@"")
    .subtitleSet(@"")
    .stackingSet(AAChartStackingTypeNormal)
    .categoriesSet(categories)
    .markerRadiusSet(@0)
    .seriesSet(@[AASeriesElement.new
                 .nameSet(@"Berlin Hot")
                 .colorSet((id)[AAGradientColor mysticMauveColor])
                 .dataSet(@[@7.0, @6.9, @2.5, @14.5, @18.2, @21.5, @5.2, @26.5, @23.3, @45.3, @13.9, @9.6]),
                 ]
               );

    AAOptions *aaOptions = [AAOptionsConstructor configureChartOptionsWithAAChartModel:aaChartModel];
    aaOptions.yAxis.labels.format = @"{value} %";//给y轴添加单位
    aaOptions.xAxis.labels.useHTML = true;

绘制图形

        [self.aaChartView aa_refreshChartWithOptions:aaOptions];

图形效果

如若同时需要更改字体大小,可如下配置categories数组内容:

配置AAOptions实例

    NSString *color1 = @"这是我的颜色";
    NSArray *categories = @[
                            @"使命召唤",
                            @"荣誉勋章",
                            @"狙击精英",
                            @"神秘海域",
                            @"美国末日",
                            @"巫师狂猎",
                            @"孤岛危机",
                            @"地狱边境",
                            @"忍者之印",
                            @"合金装备",
                            @"全战三国",
                            @"死亡搁浅",

                         ];

    AAChartModel *aaChartModel= AAChartModel.new
    .chartTypeSet(AAChartTypeAreaspline)
    .titleSet(@"")
    .subtitleSet(@"")
    .stackingSet(AAChartStackingTypeNormal)
    .yAxisVisibleSet(false)
    .categoriesSet(categories)
    .markerRadiusSet(@0)
    .seriesSet(@[AASeriesElement.new
                 .nameSet(@"Berlin Hot")
                 .colorSet((id)[AAGradientColor deepSeaColor])
                 .dataSet(@[@7.0, @6.9, @2.5, @14.5, @18.2, @21.5, @5.2, @26.5, @23.3, @45.3, @13.9, @9.6]),
                 ]
               );

    AAOptions *aaOptions = [AAOptionsConstructor configureChartOptionsWithAAChartModel:aaChartModel];
    aaOptions.yAxis.labels.format = @"{value} %";//给y轴添加单位
    aaOptions.xAxis.labels.useHTML = true;

绘制图形

        [self.aaChartView aa_refreshChartWithOptions:aaOptions];

图形效果

好的～试验了一下效果,确实可以.这个问题我折腾了差不多一个工作日的时间,谢谢大佬

authors: AAChartModel seanLee


text:
cmake doesn't rebuild on edit of vVector.h

If you edit vVector.h, then a call to make in your build directory will not trigger a re-build of tests/testvVector.h; first you have to make install, THEN the re-build will be triggered.

I think this is fixed in the features/cmake_update branch (due to be merged into master)

Yes, definitely fixed in features/cmake_update. Closing preemptively, as features/cmake_update will merge into master shortly.

source: gharchive/issue

repo: ABRG-Models/morphologica

license_type: permissive

license_source: github-api


text:
add grid latitude definition for basin ocean variables

We haven't yet properly defined grid latitude which is used with basin variables. This used to be defined in aPP4 when the axis_modifier 'gridlat' was present. Here we rename variable latitude to 'gridlat' in overturning stream calculation calc_overt() so it can then picked correctly in get_axis_dim()

we also need to move the definition of extras axis after time axis so it reflects their order in the output variables

repo: ACCESS-Community-Hub/ACCESS-MOPPeR


text:
Indexing and query worflow for ACCESS-OM non-CMIP data (cj50)

OK I know the data in cj50 are far from organised and there is quite a range of cases to cover...
What we want to have:
Indexing of experiments so we can query for:

experiment name
variable
start-time
end-time
frequency

Tasks (Feel free to edit):

[x] COSIMA parser
[x] Indexing of COSIMA collection (cj50) (legacy-support control data only, see https://forum.access-hive.org.au/t/access-om2-control-runs/258)
[x] Simple example in the form of a Jupyter notebook where people can load data from COSIMA
[x] Simple example on how to compare COSIMA outputs with CMIP data using the NCI Intake Catalog

See https://github.com/ACCESS-NRI/nri_intake_catalog/tree/main/notebooks for some example Jupyter notebooks

authors: dougiesquire rbeucher

repo: ACCESS-NRI/ACCESS-MED


text:
(android) Add daily-connect worker

This PR adds a background worker to the Android app, scheduled to run roughly every day. It simply connects to the LSP, wait for 60s then shuts down. Its purpose is to settle pending actions, for example pending payment that were missed by the inflight-payments worker, and thus avoid force-closings.
Some utility code has been factorised with the inflight-payments worker.

Note, this worker does not replace the channels-watcher that runs every ~3 days, as the channels-watcher does not connect to the peer (on purpose).

source: gharchive/pull-request

repo: ACINQ/phoenix


text:
Improve documentation

Added a bunch of information to the documentation and restructured some of the information.

Should add steps to submit the pull requests

repo: ADA-research/auto-verify


text:
MS Edge Compatibility

Microsoft Edge compatibility is still a bit broken.

[ ] selection of bullets + copying does not preserve line breaks

[ ] pdf importing
[ ] export to JSON

a2fa056a44504cbab509871b59a6d675b6372700 has webpack/babel, and was hoping it would address this issue.
I tried making IE compatibility work through polyfills.. I was able to get the site to load, but practically nothing worked.
Code definitely works in the "new" chrome-based edge. Did testing in the old edge, and none of the three above problems were fixed.. may need to adjust my build settings some more to see if I can get it working on old edge.

repo: AF-VCD/pdf-bullets

license: MIT


text:
I promise, this time I really fixed it...

Whoa, this whole "Fork and edit file" directly on Github is dangerous. I messed up my previous patch by accidentally changing AFJSONEncode instead of AFJSONDecode, where the real problem was. Sorry for that, should be fixed now.

Wow, is that seriously how GitHub treats the look of disapproval? Fail.

repo: AFNetworking/AFNetworking

license: mit

license_source: bigquery


text:
Fixed nullability errors

Some tests are failing. I'm not sure if they failed before, I suspect they did. These changes should be reviewed carefully, some I wasn't too confident I was doing the right thing.

We've only been converting the external .h files. Was there something specific that led you to modifying the .m files?

I was including the source files directly in my project as I think when I first added AFNetworking there was no static library target. In my host project I have nullability warnings enabled.
Nullability is useful in ironing out bugs which could be caused by a nil object. Some of the checks I've added in this code will potentially mitigate such bugs.

Thanks for the PR! However, due to its age it will not be merged. If the issue is still occurring feel free to open a new PR.

authors: jshier kcharwood nrbrook


text:
Add youtube shorts url rule and fix youtube video embedding

[x] Support youtube shorts url
[x] Fixed embedding for normal youtube videos
[x] Show "The Assistant could not display this video content." message in place for youtube shorts,

Translations are in this PR https://github.com/AFP-Medialab/InVID-Translations/pull/86

Youtubeshorts Services linked by the assistant

[x] Video analysis  -  Disabled - We cannot extract an video ID from the submitted URL. Please note also that Facebook does not allow us to process videos from Users or Groups. Support for ytshorts is on Olga's list of todos but no clear timeframe.
[x] Keyframe - Works
[x] Thumbnail - Disabled - Runs but no thumbnail generated, Denis' team will be looking into this.
[x] Video rights - Disabled-  Unknown error occurred, service no longer maintained.

This is what embedding looks like with youtube shorts. Should we put some placeholder graphics in?

Add message to effect of "Youtube shorts only partially supported"

Thanks for the review @rosannamilner !

repo: AFP-Medialab/verification-plugin


text:
🛑 Control TCP ping is down

In c4e9072, Control TCP ping (1.1.1.1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Control TCP ping is back up in 539a922.


text:
Error ValueError: You are trying to merge on object and datetime64[ns, America/New_York] columns. in processor_yahoofinance.py

Describe the bug
Error in processor_yahoofinance.py,  def add_technical_indicator
ValueError: You are trying to merge on object and datetime64[ns, America/New_York] columns. If you wish to proceed you should use pd.concat
File "/workspace/FinRL/finrl/train.py", line 110, in
train(
File "/workspace/FinRL/finrl/train.py", line 33, in train
data = dp.add_technical_indicator(data, technical_indicator_list)
File "/home/user/anaconda3/envs/FinRL/lib/python3.9/site-packages/finrl/meta/data_processor.py", line 52, in add_technical_indicator
df = self.processor.add_technical_indicator(df, tech_indicator_list)
File "/home/user/anaconda3/envs/FinRL/lib/python3.9/site-packages/finrl/meta/data_processors/processor_yahoofinance.py", line 253, in add_technical_indicator
df = df.merge(
File "/home/user/anaconda3/envs/FinRL/lib/python3.9/site-packages/pandas/core/frame.py", line 10093, in merge
return merge(
File "/home/user/anaconda3/envs/FinRL/lib/python3.9/site-packages/pandas/core/reshape/merge.py", line 110, in merge
op = _MergeOperation(
File "/home/user/anaconda3/envs/FinRL/lib/python3.9/site-packages/pandas/core/reshape/merge.py", line 707, in init
self._maybe_coerce_merge_keys()
File "/home/user/anaconda3/envs/FinRL/lib/python3.9/site-packages/pandas/core/reshape/merge.py", line 1346, in _maybe_coerce_merge_keys
raise ValueError(msg)
ValueError: You are trying to merge on object and datetime64[ns, America/New_York] columns. If you wish to proceed you should use pd.concat
To Reproduce
Steps to reproduce the behavior:

Run main.py or train.py from finrl folder.  After the data is downloaded, error in data processor, adding indicators.

Expected behavior
main or train.py to run without error.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

pls use pd.concat

seem the problem exists,  the root cause is df.timestamp and indicator.timestamp object type is not match.
https://github.com/AI4Finance-Foundation/FinRL/blob/3393f62e65248a15f1ff5a289c2ed82860fc30fb/finrl/meta/data_processors/processor_yahoofinance.py#L256


text:
code

Thank the author for your contribution. After reading your paper, I began to learn your network structure. How to download the implementation code? Thank you for sharing

Hi, we release the code today. Thank you for following our work~ 😊

Thanks~😊

repo: AIM-SE/DIF-SR


text:
PHP server not started. Retrying...

I have the same error than sheerazahmadpk, the console display PHP server not started. Retrying...
I need help
thanks.

Ive got the answer like Rajeshwaran2001 said you nedd to replace the server creation code in MAIN.js by this :
const server = new PHPServer({
php: "php/php.exe", // <==== ADDED
port: 5555,
directory: __dirname,
directives: {
display_errors: 1,
expose_php: 1
}
});
dont forget to keep this line
const PHPServer = require('php-server-manager');
if is display 'PHPServer not define'
I hope it will help

Thanks its really good
AJ Kumar
(Founder & CEO)
Mobile : +91 9862542983
Email : techsoul4@gmail.com techsoul4@gmail.comWebsite : www.techsoul.in
http://www.techsoul.in/
On Sat, Nov 21, 2020 at 4:17 PM PeaKyyI notifications@github.com wrote:

Ive got the answer like Rajeshwaran2001 said you nedd to replace the
server creation code in MAIN.js by this :
const server = new PHPServer({
php: "php/php.exe", // <==== ADDED
port: 5555,
directory: __dirname,
directives: {
display_errors: 1,
expose_php: 1
}
});
dont forget to keep this line
const PHPServer = require('php-server-manager');
if is display 'PHPServer not define'
I hope it will help
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/AJ-TechSoul/ELECTRON-4-PHP/issues/27#issuecomment-731561855,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGP4QIEUKWSPGC25XSL5U4LSQ6LEDANCNFSM4TWIQVPA
.

authors: AJ-TechSoul PeaKyyI


text:
Shimmer Effect On PageLoad

#137 Added Shimmer Effect to it.

there is some error in building your code, have a look once

Because of no respone from your side for more than 2 weeks, closing the pr.


text:
Clarify pagination support

Pagination has been adopted by the Network Control v1.0 API based on the IS-04 Query API, but seems incompletely documented in this specification.
Is the paged trait REQUIRED to be supported by Network Control v1.0 API implementations? It seems so as specified now. This is not the case with IS-04 Query API, which allows a 501 Not Implemented response if the API does not support pagination.
There is also no discussion of how strictly-increasing creation and update timestamps are associated with each resource type in the API. Probably it can be assumed that the API must give Endpoints and Network Flows an initial creation (and update) timestamp at the initial PUT request, and the update timestamp is modified at each PATCH. It is perhaps less clear for Network Devices and Network Links how these timestamps are decided.

Looks like pagination may be copy/paste from other specs as there is no mention of endpoint/flow creation timestamp in schema. Should we add this support later? Considering these objects should be less than 1KB, we should be able to support large numbers w/o any pagination day one, regards ..Sachin
From: Gareth Sylvester-Bradley notifications@github.com
Reply-To: AMWA-TV/nmos-network-control reply@reply.github.com
Date: Tuesday, October 22, 2019 at 8:41 AM
To: AMWA-TV/nmos-network-control nmos-network-control@noreply.github.com
Cc: Subscribed subscribed@noreply.github.com
Subject: [AMWA-TV/nmos-network-control] Clarify pagination support (#25)
Pagination has been adopted by the Network Control v1.0 API based on the IS-04 Query API, but seems incompletely documented in this specification.
Is the paged trait REQUIRED to be supported by Network Control v1.0 API implementations? It seems so as specified now. This is not the case with IS-04 Query API, which allows a 501 Not Implemented response if the API does not support pagination.
There is also no discussion of how strictly-increasing creation and update timestamps are associated with each resource type in the API. Probably it can be assumed that the API must give Endpoints and Network Flows an initial creation (and update) timestamp at the initial PUT request, and the update timestamp is modified at each PATCH. It is perhaps less clear for Network Devices and Network Links how these timestamps are decided.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Are you saying pagination is in the v1.0 spec but not supposed to be?
What scale of network is this API designed to support? Thousands of endpoints/network flows/etc.?
In IS-04, creation/update timestamps are not part of the resource data, they are metadata associated with the resources, used primarily for pagination.

Resolved by #41, #43.

repo: AMWA-TV/nmos-network-control


text:
Fixed all rights reserved alignment

Pull Request Checklist
Fixed #1539

[X] I have added screenshots and videos to show before and after the working of my code.
[X] I have ensured that the screen size is set to 100% while making the video.
[X] I have synced the latest fork with my local repository and resolved any conflicts.
[X] I have mentioned the issue number which I created before making this PR .(format to mention issue number is : fixes #(issue number) )
[X] I understand that if any the above conditions are not met , my PR will not be MERGED .
Before:

After:

Hey @ANSHIKA-26 is there any other issue or task to work on ?

Hey @ANSHIKA-26 is there any other issue or task to work on ?

nope , thanks for this PR


text:
CST registro 54

E somente CST ou CSOSN?
Quando for uma energia elétrica, os itens relacionados a ela entram aqui no registro 54 que é produto? ou energia elétrica eu lanço somente no registro 50 e pronto?

Fala @robertorp, tudo na paz?

E somente CST ou CSOSN?

O que o manual diz?
CAMPO 07 - preencher o campo conforme Tabelas A e B do Anexo Código de Situação Tributária do Convênio SINIEF s/nº de 1970.
No manual consta a previsão somente da CST, o SINTEGRA primariamente foi projetado para empresas contribuintes do ICMS e não optantes do SIMPLES, nunca fizeram o ajuste no layout para comportar CSOSN.
Mas por experiência própria lhe digo, ele aceita informar a CSOSN, e o Validador do Sintegra não acusa nenhum erro, só o programa do Validador do Paraná (VALIDA PR) que acusa esse tipo de informação.

Quando for uma energia elétrica, os itens relacionados a ela entram aqui no registro 54 que é produto? ou energia elétrica eu lanço somente no registro 50 e pronto?

Nas observações do Registro Tipo 50 há a seguinte citação:

O Sintegra só obriga informar os itens da nota se for uma operação de venda ou compra de mercadorias para revenda, ou seja, o que é compra para imobilizado, ou consumo próprio não precisa ser criado no Registro Tipo 54, entende-se também que a energia elétrica é para uso do processo produtivo ou operacional da empresa, então, não, não precisa ser informado no Registro Tipo 54, somente no Registro Tipo 50.
Abraços.

Fala @robertorp, tudo na paz? Conseguiu resolver teu problema?
Vou fechar a issue, caso tenha alguma dúvida é só reabrir, ok?
Abraços.

authors: robertorp samuelrochaoliveira


text:
Cannot start recording in Control Interface

Hi there,
I am having some trouble starting the eye tracking recording from a browser. I can connect the Hololens to the Windows Device Portal and stream the data, and when I enter the address and port for the Control Interface, everything seems to connect fine.  However, once I click the 'Start recording', it just seems to update and not actually start a recording.
It works fine fromthe localhost within the Unity player, but when I try to record on the actual Hololens I encounter this problem (Both wired and wirelessly). I have not touched any of the settings within the Eyetracking prefab. I cannot find any error messages which might give a clue as to what the problem is, so I was hoping you might be able to provide some insight!
Alternatively, is there a way for the recording to automatically be started whenever the application runs, so I can just collect if from the Hololens once it is finished?
Many thanks for your help.

Ok, so I deleted all the builds on the Hololens, and in Explorer on my computer, rebuilt the Unity app and it's working fine now. I wish I had a better solution than off and on again but it seems to work!

repo: AR-Eye-Tracking-Toolkit/ARETT


text:
Changed deprecated COPY to NOLOAD

Changed deprecated COPY to NOLOAD for all *_gcc.ld

We need to apply the same fix to https://github.com/Open-CMSIS-Pack/devtools/blob/main/tools/projmgr/templates/gcc_linker_script.ld

@JonatanAntoni see: https://github.com/Open-CMSIS-Pack/devtools/pull/981 - requesting your review.

repo: ARM-software/CMSIS-DFP


text:
Library building issues with validation_tests=1 benchmark_tests=1

Dear ARM developers:
I have tried to build the newest version of the library with flag validation_tests =1 and benchmark_tests=1, but I encounter some errors that I do not know how to approach to this problem. Can you give me some hints?
here is building options:
scons Werror=1 -j8 debug=1 asserts=1 neon=0 opencl=1 embed_kernels=1 os=linux arch=armv7a validation_tests=1 benchmark_tests=1

However, I get the following error message:

Thanks!

As your screen shot shows this seems to be an internal error with GCC. I can try to reproduce but even then it won't help you much as it's unlikely we're in a position to fix this bug.
From what I see in the screen shot you seem to use GCC 5 whereas our testing is done with GCC 4.9. Can you try with that version? You can get it for example for Linaro: http://releases.linaro.org/components/toolchain/binaries/latest-4/arm-linux-gnueabihf/

@jialiang19 Such errors often happen when the compiler runs out of memory. Please try reducing the number of build threads ("-j1").

For the validation tests the main function is provided by the Boost Test library. For Boost to include main you have to link statically against boost_unit_test_framework and Boost itself has to be built with define=BOOST_TEST_ALTERNATIVE_INIT_API
For example,
./b2 --with-program_options --with-test link=static define=BOOST_TEST_ALTERNATIVE_INIT_API

The documentation has slightly more information about how to build Boost: https://arm-software.github.io/ComputeLibrary/v17.06/tests.xhtml#building_boost
Can you please check if your Boost library is built correctly. You can check if libboost_unit_test_framework.a contains the main function by running:
nm ./libboost_unit_test_framework.a | grep main

That should output something like:
unit_test_main.o:
00000011 t _GLOBAL__sub_I__ZN5boost9unit_test14unit_test_mainEPFbvEiPPc
00000001 T _ZN5boost9unit_test14unit_test_mainEPFbvEiPPc
00000001 T main

Hey, @mpflanzer, Thank you so much for your help, I just finishing building it successfully. However, I encountered two bugs before I can finishing building.
The first one is that:
when both libboost_unit_test_framework.a and libboost_unit_test_framework.so are present. The scon file seems only pick up the libboost_unit_test_framework.so.
I can only go around the problem by deleting the libboost_unit_test_framework.so in my boost library.
The second one is that:
arm-linux-gnueabihf-g++ -o build/tests/arm_compute_benchmark build/tests/benchmark/PerformanceProgramOptions.o build/tests/benchmark/PerformanceUserConfiguration.o build/tests/benchmark/Profiler.o build/tests/benchmark/WallClockTimer.o build/tests/benchmark/main.o build/tests/benchmark/CL/ActivationLayer.o build/tests/benchmark/CL/BitwiseAnd.o build/tests/benchmark/CL/ConvolutionLayer.o build/tests/benchmark/CL/FullyConnectedLayer.o build/tests/benchmark/CL/GEMM.o build/tests/benchmark/CL/NormalizationLayer.o build/tests/benchmark/CL/PoolingLayer.o build/tests/benchmark/system_tests/CL/AlexNet.o build/tests/benchmark/system_tests/CL/LeNet5.o build/tests/ProgramOptions.o build/tests/RawTensor.o build/tests/TensorLibrary.o build/tests/UserConfiguration.o -L3rdparty/linux/armv7a -Lbuild -L. -Lbuild/opencl-1.2-stubs -Lopencl-1.2-stubs -Lopencl-1.2-stubs -larm_compute -lboost_program_options -lbenchmark -lOpenCL -lrt
/usr/bin/ld: /home/odroid/Documents/SummerResearch/lib/../lib/libbenchmark.a(benchmark.cc.o): undefined reference to symbol 'pthread_create@@GLIBC_2.4'
//lib/arm-linux-gnueabihf/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
scons: *** [build/tests/arm_compute_benchmark] Error 1
scons: building terminated because of errors.

there is a problem with -lpthread.
I can only go around the problem by modifying the scon file.

FWIW, I had exactly the same pthread problem on a Jetson TX1 board and resolved it after patching and building Boost and Google Benchmark as follows:
$ export LIBRARY_PATH=/home/anton/CK_TOOLS/lib-boost-acl-1.64.0-gcc-5.4.0-linux-64/install/lib:$LIBRARY_PATH
$ export CPATH=/home/anton/CK_TOOLS/lib-gbenchmark-trunk-gcc-5.4.0-linux-64/install/include:$CPATH
$ scons Werror=0 -j4 neon=1 opencl=0 os=linux arch=arm64-v8a build=native benchmark_tests=1

Trying to run the compute benchmark from the build folder, however, leads to a fault:
anton@tegra-ubuntu:~/CK_TOOLS/lib-acl-master-gcc-5.4.0-linux-64/src/build$ ./tests/arm_compute_benchmark --benchmark_list_tests /home/anton/CK_TOOLS/lib-acl-master-gcc-5.4.0-linux-64/src/data/
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_any_cast> >'
  what():  boost::bad_any_cast: failed conversion using boost::any_cast
Aborted

Any ideas?

No, sorry, I've never seen that one before

Google benchmark dependency is now removed. Closing issue.

authors: AnthonyARM GeorgeARM jialiang19 mpflanzer psyhtest

repo: ARM-software/ComputeLibrary


text:
How to trim mirrored part of FFT from CLFFT1D ?

Problem description:
Hello I want to implement part of my processing chain which deals with discrete fourier transform using ACL. The result of applying DFT is mirrored at half the dimension and I don't need the other half. My problem is how should I eliminate it ? My DFT is a real to complex application so the end result has 2 channels. What I tried was CLReshapeLayer which doesn't work on on 2 channels tensors, CLSlice which also doesn't work on 2 channels Tensors. The following snippet illustrates my need (include paths need to be set)
void prototype_feat_extraction(int sizeFFt, int timeBins, const std::vector<float>& signalIn)
{
    //int overlapInSamples = sizeFFt * 3 / 4;
    sizeFFt = 512;
    timeBins = 65;
    CLTensor inputAudio = test::create_tensor<CLTensor>(TensorShape(sizeFFt, timeBins), DataType::F32);
    inputAudio.info()->set_data_layout(arm_compute::DataLayout::NHWC);
    CLTensor inputHannWindow = test::create_tensor<CLTensor>(TensorShape(sizeFFt,sizeFFt), DataType::F32);
    inputHannWindow.info()->set_data_layout(arm_compute::DataLayout::NHWC);
    CLLocallyConnectedMatrixMultiplyKernel multiplyWithHannWindow;
    CLFFT1D doFFT;
    CLSlice stripMirroredParts;
    FFT1DInfo defaultFFTSetting;
    CLTensor outputAudioWindowed = test::create_tensor<CLTensor>(TensorShape(sizeFFt, timeBins), DataType::F32);
    inputHannWindow.info()->set_data_layout(arm_compute::DataLayout::NHWC);
    multiplyWithHannWindow.configure(&inputAudio, &inputHannWindow, &outputAudioWindowed);
    CLTensor outputFFT1DComplex = test::create_tensor<CLTensor>(TensorShape(sizeFFt, timeBins), DataType::F32, 2);
    outputFFT1DComplex.info()->set_data_layout(arm_compute::DataLayout::NHWC);
    CLTensor outputFFT1DComplexHalf = test::create_tensor<CLTensor>(TensorShape(sizeFFt/2 + 1, timeBins), DataType::F32, 2); // only need half the data, the mirrored part needs to be discarded as it is redundant for my purposes
    outputFFT1DComplexHalf.info()->set_data_layout(arm_compute::DataLayout::NHWC);

    doFFT.configure(&outputAudioWindowed, &outputFFT1DComplex, defaultFFTSetting);
    stripMirroredParts.configure(&outputFFT1DComplex, &outputFFT1DComplexHalf, Coordinates(sizeFFt/2+1,0U), Coordinates(sizeFFt, timeBins));
// allocation and filling has been skipped
CLScheduler::get().enqueue(multiplyWithHannWindow, true);
    doFFT.run();
    stripMirroredParts.run();
}

Can this stripping be done with ACL somehow ?
Thank-you

Hello @Rares14324 ,
You are right: CLSlice is what you are supposed to use, but for now it only supports non-complex data (i.e., channels=1).
Complex operators support in ACL is very limited, since we introduced the FFT mainly to support fast(er) convolutions.
Do you need to do more ACL manipulation after the stripping? In other words, is it only the CLSlice function that is stopping you?
All in all, I think that, depending on the urgency, you have the following options:
a) Mapping the tensor on the CPU, manually stripping it, and then copying back on the GPU.
b) Modifying the CLSliceKernel yourself and pushing it here: https://review.mlplatform.org/#/c/ml/ComputeLibrary/+/270/.
c) Waiting on us to add support for it in this or next release. Once the support is added we might point you at the development branch above, so that you don't have to wait the whole release cycle.
Thanks,
Giuseppe

Hello @giuseros
Thank-you for your answer.
Yes I require more processing to be done after stripping half of the coefficients. I believe although support for complex is limited inside ACL a user can get by if we could extract the channels through something like CLChannelExtractKernel by passing Channel::C1, Channel::C0 to its arguments or possibly by making use of CLSplit and have it split the channels of the input tensor into separate tensors and from then most of ACL operations should be available again. It's just my opinion though.
With respect to the solutions provided a) for my purposes falls down because of the possible overhead of going from GPU->CPU->GPU and the fact that our current implementation has bits of it already in neon for better CPU usage. The reason why I investigated implementing it with ACL was for the benefit of executing on the GPU (where available). Regarding option b) I have looked into tailoring a kernel that both strips half the input and splits the channels but my knowledge of OpenCL is lacking and could take a while (looking at channel_extract.cl provides me with some inside to short-circuit the learning curve of OpenCL). I would very much welcome the addition of it inside the library (option c) ).  I don't mind cherry-picking commits for custom builds.
This is only a suggestion but it would be efficient to have an option inside the FFT1DInfo to specify when we only need half the coefficient to signal the algorithm not to compute them to save time. I don't know how hard that would be implementation-wise though.
So in short if you put this on the next features in release I would be thankful and happy to cherry-pick it. If time permits I will also try to implement it on my own but most likely it would be blunky and would only suit my specific need and will not be worth committing.
Rares

Hi @Rares14324 ,
May I ask a bit more about what are you trying to do overall? We can plan a complex CLSlice, but if you need additional functions later on you will be stuck again.
In other word, what is your use case, and what functionalities would you need in ACL to achieve that?
Thanks,
Giuseppe

Hello @giuseros
The processing chain I want to implement for an audio application which extracts magnitude and phase from a short-term fourier transform on an audio signal.
ACL provides the functions I need further along but they don't operate on complex data. This is why I suggested if you could possibly have CLChannelExtractKernel extract these channels to a new tensor ( by providing Channel::C1 as argument for example). The output tensor of the result would then be of 1 channel and all functions would work on it, CLSlice and the others (mostly PixelWiseOperationKernel operations is what I need).  I believe the effort would be less than implement all my required operations for complex tensors.

Hi @Rares14324 ,
Thanks a lot for your reply. We will consider this use-case for future releases. Either we will start expanding our complex support or we will introduce the extraction function (or possibly both).
Thank you,
Giuseppe


text:
pass rate for SR certification

Hi experts,
I hope you are doing great. I am currently working on a project related to the SystemReady SR certification and I have run into some issues that I need assistance with.
Specifically, I tested the certification on a qemu sbsa-ref device and found that the test results were not fully passed. There were about 32 failed test cases and 113 cases that were not supported out of a total of 1000 test cases. I am wondering if there is a guide or any resources available that can help me analyze the failed test cases? Also, is there a guide that can explain which specific cases can cause the certification to fail, and which ones won't impact the outcome of the certification?
I appreciate any guidance or resources you can provide to help me better understand how I can improve the certification results. Thanks for taking the time to read this email.
Best regards,
Yin
SR_bbr_acs_log_caselist.txt
SR_bbr_acs.log

Hi Yin,
Thank you for the question:

There are no specific guidelines explaining which specification test case can fail.
The overall process for certifications is provided in the document: https://developer.arm.com/documentation/den0109/latest Appendix B
In summary: Partner runs the ACS on the System under tests and submits the logs.
Ideally we expect all tests to pass. However there may be failures.
During the certification process, SystemReady Certification team from Arm will analyze the failures and may grant waivers if the same does not cause impact on OS boot or normal functioning of the system (This is only a general guideline). If not, they will request the partner to solve the issues and re-test with their updated firmware.
On case to case basis other actions may be advised.
For analysis of failed test case, a local debug has to be done. The case of UEFI-SCT failures, the analysis to be done with firmware and UEFI-SCT suite.
Please do reply for any further queries.
SystemReady ACS Team
cc: @sunnywang-arm

Hi Edhaya,
Thanks for you quick response, will get you if any further queries.

repo: ARM-software/arm-systemready


text:
how to use flatc to use ARMNN_SERIALIZER

cmake .. -DARMCOMPUTE_ROOT=$BASEDIR/ComputeLibrary -DARMCOMPUTE_BUILD_DIR=$BASEDIR/ComputeLibrary/build -DBOOST_ROOT=$BASEDIR/boost -DPROTOBUF_ROOT=$BASEDIR/protobuf-host -DBUILD_ONNX_PARSER=1 -DONNX_GENERATED_SOURCES=$BASEDIR/onnx -DARMNNREF=1 -DBUILD_ARMNN_SERIALIZER=YES -DBUILD_ARMNN_QUANTIZER=YES -DARMNNREF=1  -DFLATC=/home/chenxin/Downloads/armnn-onnx/flatbuffers -DFLATBUFFERS_INCLUDE_PATH=/home/chenxin/Downloads/armnn-onnx/flatbuffers/include/ -DFLATBUFFERS_LIBRARY=/home/chenxin/Downloads/armnn-onnx/flatbuffers/libflatbuffers.a
make ;show error
Scanning dependencies of target timelineDecoder
Scanning dependencies of target armnnBasePipeServer
Scanning dependencies of target armnnOnnxParser
Scanning dependencies of target armnnQuantizer
Scanning dependencies of target Arm_TestInvalid10_backend
/bin/sh: 1: /home/chenxin/Downloads/armnn-onnx/flatbuffers: Permission denied
src/armnnSerializer/CMakeFiles/armnnSerializer.dir/build.make:81: recipe for target 'src/armnnSerializer/ArmnnSchema_generated.h' failed
make[2]: *** [src/armnnSerializer/ArmnnSchema_generated.h] Error 126
Scanning dependencies of target Arm_TestInvalid11_backend
CMakeFiles/Makefile2:715: recipe for target 'src/armnnSerializer/CMakeFiles/armnnSerializer.dir/all' failed
make[1]: *** [src/armnnSerializer/CMakeFiles/armnnSerializer.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Scanning dependencies of target Arm_TestInvalid9_backend

cmake .. -DARMCOMPUTE_ROOT=$BASEDIR/ComputeLibrary -DARMCOMPUTE_BUILD_DIR=$BASEDIR/ComputeLibrary/build -DBOOST_ROOT=$BASEDIR/boost -DPROTOBUF_ROOT=$BASEDIR/protobuf-host -DBUILD_ONNX_PARSER=1 -DONNX_GENERATED_SOURCES=$BASEDIR/onnx -DARMNNREF=1 -DBUILD_ARMNN_SERIALIZER=YES -DBUILD_ARMNN_QUANTIZER=YES -DARMNNREF=1 -DFLATC=/home/chenxin/Downloads/armnn-onnx/flatbuffers/flatc -DFLATBUFFERS_INCLUDE_PATH=/home/chenxin/Downloads/armnn-onnx/flatbuffers/include/ -DFLATBUFFERS_LIBRARY=/home/chenxin/Downloads/armnn-onnx/flatbuffers/libflatbuffers.a

$ scons arch=x86_64 extra_cxx_flags="-fPIC" benchmark_tests=0 validation_tests=0

repo: ARM-software/armnn


text:
trace: Add DmesgCollector

Allows collecting dmesg output and parses it for easy filtering.

however for now I'm happy to merge this PR as it is and update it later if required.

Agreed.  The naming issue is orthogonal to the particulars of this PR, and is worth putting some thought into to get right; there is no point in blocking this PR on that.
I agree that "trace" is not an appropriate term for everything that's currently being collected via the TraceCollector API. The intention for this is to provide an interface for collection of everything that is not purely numeric measurements.

In case my comment was seeing as an objection. I'm okay with this change. As I mentioned my comments are probably outside the scope of this patch, so certainly shouldn't block this PR :)

repo: ARM-software/devlib


text:
Fix boot counter bug preventing MAX_RETRIES reboots

Corner cases fixed:

If a faulty image is applied and MAX_RETRIES reboots have been
tried, the active firmware is marked as invalid, which prevents
further tries, but the candidate firmware is then reapplied and
tried again, repeatedly. Now, a candidate image, that is
identical to the active image, is only considered if the active
image passes hash check and has not already been tried
MAX_RETRIES times.

If a reboot happens during a firmware copy, after the header
has been written, the boot counter was incremented even though
the new firmware hasn't been tried. Boot counter is only
incremented now if the active firmware passes integrity check.

@SeppoTakalo @VeijoPesonen

repo: ARMmbed/mbed-bootloader


text:
Cannot install on fresh Mac with High Sierra

Got a new Mac today. Installation of Mbed CLI fails when trying to fix the mbed-os requirements:
janjon01:~/repos/mbed-os-example-blinky/mbed-os (mbed-os-5.7) $ sudo pip install -r requirements.txt
The directory '/Users/janjon01/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/janjon01/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied: colorama>=0.3.3 in /Library/Python/2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: PySerial>=2.7 in /Library/Python/2.7/site-packages (from -r requirements.txt (line 2))
Requirement already satisfied: PrettyTable>=0.7.2 in /Library/Python/2.7/site-packages (from -r requirements.txt (line 3))
Requirement already satisfied: Jinja2>=2.7.3 in /Library/Python/2.7/site-packages (from -r requirements.txt (line 4))
Requirement already satisfied: IntelHex>=1.3 in /Library/Python/2.7/site-packages (from -r requirements.txt (line 5))
Requirement already satisfied: junit-xml in /Library/Python/2.7/site-packages (from -r requirements.txt (line 6))
Requirement already satisfied: pyYAML in /Library/Python/2.7/site-packages (from -r requirements.txt (line 7))
Requirement already satisfied: requests in /Library/Python/2.7/site-packages (from -r requirements.txt (line 8))
Requirement already satisfied: mbed-ls>=0.2.13 in /Library/Python/2.7/site-packages (from -r requirements.txt (line 9))
Collecting mbed-host-tests>=1.1.2 (from -r requirements.txt (line 10))
  Downloading mbed-host-tests-1.3.0.tar.gz (94kB)
    100% |████████████████████████████████| 102kB 1.7MB/s
Collecting mbed-greentea>=0.2.24 (from -r requirements.txt (line 11))
  Downloading mbed-greentea-1.3.2.tar.gz (94kB)
    100% |████████████████████████████████| 102kB 5.9MB/s
Collecting beautifulsoup4>=4 (from -r requirements.txt (line 12))
  Downloading beautifulsoup4-4.6.0-py2-none-any.whl (86kB)
    100% |████████████████████████████████| 92kB 6.1MB/s
Collecting fuzzywuzzy>=0.11 (from -r requirements.txt (line 13))
  Downloading fuzzywuzzy-0.16.0-py2.py3-none-any.whl
Requirement already satisfied: MarkupSafe>=0.23 in /Library/Python/2.7/site-packages (from Jinja2>=2.7.3->-r requirements.txt (line 4))
Requirement already satisfied: six in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from junit-xml->-r requirements.txt (line 6))
Requirement already satisfied: certifi>=2017.4.17 in /Library/Python/2.7/site-packages (from requests->-r requirements.txt (line 8))
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /Library/Python/2.7/site-packages (from requests->-r requirements.txt (line 8))
Requirement already satisfied: idna<2.7,>=2.5 in /Library/Python/2.7/site-packages (from requests->-r requirements.txt (line 8))
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /Library/Python/2.7/site-packages (from requests->-r requirements.txt (line 8))
Requirement already satisfied: fasteners in /Library/Python/2.7/site-packages (from mbed-ls>=0.2.13->-r requirements.txt (line 9))
Requirement already satisfied: appdirs>=1.4 in /Library/Python/2.7/site-packages (from mbed-ls>=0.2.13->-r requirements.txt (line 9))
Collecting pyOCD>=0.8.1a1 (from mbed-host-tests>=1.1.2->-r requirements.txt (line 10))
  Downloading pyOCD-0.8.1a1.tar.gz (441kB)
    100% |████████████████████████████████| 450kB 3.1MB/s
Collecting lockfile (from mbed-greentea>=0.2.24->-r requirements.txt (line 11))
  Downloading lockfile-0.12.2-py2.py3-none-any.whl
Collecting mock (from mbed-greentea>=0.2.24->-r requirements.txt (line 11))
  Downloading mock-2.0.0-py2.py3-none-any.whl (56kB)
    100% |████████████████████████████████| 61kB 6.5MB/s
Requirement already satisfied: monotonic>=0.1 in /Library/Python/2.7/site-packages (from fasteners->mbed-ls>=0.2.13->-r requirements.txt (line 9))
Requirement already satisfied: enum34 in /Library/Python/2.7/site-packages (from pyOCD>=0.8.1a1->mbed-host-tests>=1.1.2->-r requirements.txt (line 10))
Requirement already satisfied: future in /Library/Python/2.7/site-packages (from pyOCD>=0.8.1a1->mbed-host-tests>=1.1.2->-r requirements.txt (line 10))
Requirement already satisfied: websocket-client in /Library/Python/2.7/site-packages (from pyOCD>=0.8.1a1->mbed-host-tests>=1.1.2->-r requirements.txt (line 10))
Collecting hidapi (from pyOCD>=0.8.1a1->mbed-host-tests>=1.1.2->-r requirements.txt (line 10))
  Downloading hidapi-0.7.99.post21.tar.gz (51kB)
    100% |████████████████████████████████| 61kB 8.2MB/s
Collecting pbr>=0.11 (from mock->mbed-greentea>=0.2.24->-r requirements.txt (line 11))
  Downloading pbr-3.1.1-py2.py3-none-any.whl (99kB)
    100% |████████████████████████████████| 102kB 4.7MB/s
Collecting funcsigs>=1; python_version < "3.3" (from mock->mbed-greentea>=0.2.24->-r requirements.txt (line 11))
  Downloading funcsigs-1.0.2-py2.py3-none-any.whl
Collecting setuptools>=19.0 (from hidapi->pyOCD>=0.8.1a1->mbed-host-tests>=1.1.2->-r requirements.txt (line 10))
  Downloading setuptools-38.2.5-py2.py3-none-any.whl (489kB)
    100% |████████████████████████████████| 491kB 2.3MB/s
Installing collected packages: setuptools, hidapi, pyOCD, mbed-host-tests, lockfile, pbr, funcsigs, mock, mbed-greentea, beautifulsoup4, fuzzywuzzy
  Found existing installation: setuptools 18.5
    Uninstalling setuptools-18.5:
Exception:
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 778, in install
    requirement.uninstall(auto_confirm=True)
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", line 754, in uninstall
    paths_to_remove.remove(auto_confirm)
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_uninstall.py", line 115, in remove
    renames(path, new_path)
  File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/utils/__init__.py", line 267, in renames
    shutil.move(old, new)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 299, in move
    copytree(src, real_dst, symlinks=True)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 208, in copytree
    raise Error, errors
Error: [('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc', '/tmp/pip-WtQCOE-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc', "[Errno 1] Operation not permitted: '/tmp/pip-WtQCOE-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py', '/tmp/pip-WtQCOE-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py', "[Errno 1] Operation not permitted: '/tmp/pip-WtQCOE-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py', '/tmp/pip-WtQCOE-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py', "[Errno 1] Operation not permitted: '/tmp/pip-WtQCOE-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc', '/tmp/pip-WtQCOE-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc', "[Errno 1] Operation not permitted: '/tmp/pip-WtQCOE-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib', '/tmp/pip-WtQCOE-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib', "[Errno 1] Operation not permitted: '/tmp/pip-WtQCOE-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib'")]

@screamerbg

@AnotherButler Could you please check with @janjongboom about some sort of cross platform pip install section in the documentation?
It seems that we have 3 cases:

Windows - pip install works just fine
Linux - pip install may work fine, but often it requires sudo, e.g. sudo pip install
Mac - pip install often doesn't work, sudo pip install works well for manually installed Python, but the system Python requires pip install --user python, which fails miserably on Windows for example.

Issue header has missing or incorrectly filled in fields! Please fix.

authors: adbridge janjongboom screamerbg

repo: ARMmbed/mbed-cli


text:
A bug in .vcxpoj files and suggested fix

Description

Type: Bug
Priority: Minor

Bug
x64|Debug configuration in mbedTLS.vcxproj has an incorrect WIN32 preprocessor definition instead of WIN64.
The macro was never used, but this is still a bug.
OS
Windows
mbed TLS build:
All versions have this bug.

Enhancement
Justification - why does the library need this feature?
MSVC has a number of predefined macros, and project wizards used to add something too.
Search in mbedTLS files reveals that macros WIN32, WIN64 and, _WINDOWS remain unused; these are obsolete. Also, predefined _DEBUG is defined once again in projects, but never used.
Instead, predefined _WIN32 and _WIN64 are used in library code.
Suggested enhancement
Remove unused definitions from scripts and projects; keep relying on predefined macros.
Visual Studio solution has built successfully with these changes in my test.

Hi!
You are indeed quite correct about debug|x64, and I can easily fix this. However, given you have already done the work for this and your added suggestion, could I suggest you converting your test as a Pull Request, and I can review it from there?

Hi @paul-elliott-arm
Thanks for taking a look.
PR is created; please check additional comment there.

authors: irwir paul-elliott-arm

repo: ARMmbed/mbedtls


text:
yt update - error directory is not empty [windows error]

yt version (0.5.0), windows 7.
Running yotta update from time to time ends up in the traceback with an error "The directory is not empty". The snippet below shows it:
yt update
info: get versions for frdm-k64f-gcc
info: update outdated: frdm-k64f-gcc@0.0.16 -> frdm-k64f-gcc@0.0.21 from https://registry.yottabuild.org
info: download frdm-k64f-gcc@0.0.21 from https://registry.yottabuild.org
info: get versions for mbed-gcc
info: download mbed-gcc@0.0.8 from https://registry.yottabuild.org
info: get versions for xxxxx
// text: get more modules
info: update outdated: mbed-hal-ksdk-mcu@0.1.4 -> mbed-hal-ksdk-mcu@0.1.5 from https://yotta-private.herokuapp.com
Traceback (most recent call last):
  File "C:\Python27\Scripts\yt-script.py", line 9, in <module>
    load_entry_point('yotta==0.5.0', 'console_scripts', 'yt')()
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\main.py", line 213, in main
    status = args.command(args, following_args)
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\update.py", line 28, in execCommand
    updateDeps(args)
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\update.py", line 51, in updateDeps
    available_components = [(c.getName(), c)]
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 517, in satisfyDependenciesRecursive
    test = test
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 333, in __getDependenciesRecursiveWithProvider
    _processed = _processed
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 333, in __getDependenciesRecursiveWithProvider
    _processed = _processed
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 333, in __getDependenciesRecursiveWithProvider
    _processed = _processed
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 333, in __getDependenciesRecursiveWithProvider
    _processed = _processed
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 312, in __getDependenciesRecursiveWithProvider
    test = test
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 212, in __getDependenciesWithProvider
    satisfyDep, specs
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 194, in satisfyDep
    self.getName()
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 481, in provider
    r = access.satisfyVersionFromSearchPaths(dspec.name, dspec.version_req, search_dirs, update_if_installed)
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\access.py", line 285, in satisfyVersionFromSearchPaths
    fsutils.rmRf(local_version.path)
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\fsutils.py", line 45, in rmRf
    shutil.rmtree(path, onerror=fixPermissions)
  File "C:\Python27\lib\shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "C:\Python27\lib\shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "C:\Python27\lib\shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "C:\Python27\lib\shutil.py", line 256, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "C:\Python27\lib\shutil.py", line 254, in rmtree
    os.rmdir(path)
WindowsError: [Error 145] The directory is not empty: u'xxxx\\yotta_modules\\mbed-hal-ksdk-mcu\\mbed-hal-ksdk-mcu\\TARGET_KSDK_CODE\\drivers'

The second immediate yt update fixes this:
yt update
info: get versions for frdm-k64f-gcc
// text more modules
info: update outdated: mbed-hal-ksdk-mcu@0.1.4 -> mbed-hal-ksdk-mcu@0.1.5 from https://yotta-private.herokuapp.com
info: download mbed-hal-ksdk-mcu@0.1.5 from https://yotta-private.herokuapp.com

I think this was probably caused by a file being open from the directory (or the directory being open in explorer)
Not sure there's anything we should do about that causing a failure, but the backtrace can definitely be converted into a nicer error.

On 4 Aug 2015, at 07:55, Martin Kojtal notifications@github.com wrote:
yt version (0.5.0), windows 7.
Running yotta update from time to time ends up in the traceback with an error "The directory is not empty". The snippet below shows it:
yt update
info: get versions for frdm-k64f-gcc
info: update outdated: frdm-k64f-gcc@0.0.16 -> frdm-k64f-gcc@0.0.21 from https://registry.yottabuild.org
info: download frdm-k64f-gcc@0.0.21 from https://registry.yottabuild.org
info: get versions for mbed-gcc
info: download mbed-gcc@0.0.8 from https://registry.yottabuild.org
info: get versions for xxxxx
// text: get more modules
info: update outdated: mbed-hal-ksdk-mcu@0.1.4 -> mbed-hal-ksdk-mcu@0.1.5 from https://yotta-private.herokuapp.com
Traceback (most recent call last):
File "C:\Python27\Scripts\yt-script.py", line 9, in
load_entry_point('yotta==0.5.0', 'console_scripts', 'yt')()
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\main.py", line 213, in main
status = args.command(args, following_args)
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\update.py", line 28, in execCommand
updateDeps(args)
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\update.py", line 51, in updateDeps
available_components = [(c.getName(), c)]
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 517, in satisfyDependenciesRecursive
test = test
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 333, in __getDependenciesRecursiveWithProvider
_processed = _processed
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 333, in __getDependenciesRecursiveWithProvider
_processed = _processed
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 333, in __getDependenciesRecursiveWithProvider
_processed = _processed
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 333, in __getDependenciesRecursiveWithProvider
_processed = _processed
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 312, in __getDependenciesRecursiveWithProvider
test = test
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 212, in __getDependenciesWithProvider
satisfyDep, specs
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 194, in satisfyDep
self.getName()
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 481, in provider
r = access.satisfyVersionFromSearchPaths(dspec.name, dspec.version_req, search_dirs, update_if_installed)
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\access.py", line 285, in satisfyVersionFromSearchPaths
fsutils.rmRf(local_version.path)
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\fsutils.py", line 45, in rmRf
shutil.rmtree(path, onerror=fixPermissions)
File "C:\Python27\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\Python27\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\Python27\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\Python27\lib\shutil.py", line 256, in rmtree
onerror(os.rmdir, path, sys.exc_info())
File "C:\Python27\lib\shutil.py", line 254, in rmtree
os.rmdir(path)
WindowsError: [Error 145] The directory is not empty: u'xxxx\yotta_modules\mbed-hal-ksdk-mcu\mbed-hal-ksdk-mcu\TARGET_KSDK_CODE\drivers'
The second immediate yt update fixes this:
yt update
info: get versions for frdm-k64f-gcc
// text more modules
info: update outdated: mbed-hal-ksdk-mcu@0.1.4 -> mbed-hal-ksdk-mcu@0.1.5 from https://yotta-private.herokuapp.com
info: download mbed-hal-ksdk-mcu@0.1.5 from https://yotta-private.herokuapp.com
—
Reply to this email directly or view it on GitHub.

I can't confirm that I had any file from that repository opened anywhere. I will do once I hit this back again or someone else might be faster.
Why it does not fail to update the second time?

That I'm not sure: does seem to suggest something else is going on.

On 4 Aug 2015, at 08:25, Martin Kojtal notifications@github.com wrote:
I can't confirm that I had any file from that repository opened anywhere. I will do once I hit this back again or someone else might be faster.
Why it does not fail to update the second time?
—
Reply to this email directly or view it on GitHub.

I just got this error again. I removed yotta_modules, build (should get new ones):
info: download xxxx-platform@0.3.0 from https://yotta-private.herokuapp.com
Traceback (most recent call last):
  File "C:\Python27\Scripts\yt-script.py", line 9, in <module>
    load_entry_point('yotta==0.5.0', 'console_scripts', 'yt')()
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\main.py", line 213, in main
    status = args.command(args, following_args)
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\build.py", line 41, in execCommand
    status = installAndBuild(args, following_args)
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\build.py", line 91, in installAndBuild
    install_status = install.execCommand(args, [])
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\install.py", line 54, in execCommand
    return installDeps(args, c)
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\install.py", line 106, in installDeps
    test = {'own':'toplevel', 'all':True, 'none':False}[args.install_test_deps]
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 517, in satisfyDependenciesRecursive
    test = test
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 333, in __getDependenciesRecursiveWithProvider
    _processed = _processed
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 333, in __getDependenciesRecursiveWithProvider
    _processed = _processed
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 312, in __getDependenciesRecursiveWithProvider
    test = test
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 212, in __getDependenciesWithProvider
    satisfyDep, specs
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 194, in satisfyDep
    self.getName()
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 503, in provider
    r = access.satisfyVersionByInstalling(dspec.name, dspec.version_req, self.modulesPath())
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\access.py", line 296, in satisfyVersionByInstalling
    name, version_required, install_into, v, type=type
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\access.py", line 307, in _satisfyVersionByInstallingVersion
    version.unpackInto(working_directory)
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\registry_access.py", line 342, in unpackInto
    _getTarball(self.url, directory, self.sha256)
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\registry_access.py", line 218, in _getTarball
    return access_common.unpackTarballStream(response, directory, ('sha256', sha256))
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\access_common.py", line 158, in unpackTarballStream
    fsutils.rmRf(temp_directory)
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\fsutils.py", line 45, in rmRf
    shutil.rmtree(path, onerror=fixPermissions)
  File "C:\Python27\lib\shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "C:\Python27\lib\shutil.py", line 252, in rmtree
    onerror(os.remove, fullname, sys.exc_info())
  File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\fsutils.py", line 37, in fixPermissions
    os.chmod(path, stat.S_IWUSR)
WindowsError: [Error 5] Access is denied: u'C:\\Code\\git_repo\\github\\yotta_thing\\mbed-example-asynch-spi-private\\yotta_modules\\tmpjlmb4b\\xxxx-platform-0.3.0\\xxx-platform'

The module with this error (xxx-platform) was not existent prior the build (could not be open by any tool besides what is yotta doing).

Ok, thanks for the update.

On 5 Aug 2015, at 09:29, Martin Kojtal notifications@github.com wrote:
I just got this error again. I removed yotta_modules, build (should get new ones):
info: download xxxx-platform@0.3.0 from https://yotta-private.herokuapp.com
Traceback (most recent call last):
File "C:\Python27\Scripts\yt-script.py", line 9, in
load_entry_point('yotta==0.5.0', 'console_scripts', 'yt')()
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\main.py", line 213, in main
status = args.command(args, following_args)
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\build.py", line 41, in execCommand
status = installAndBuild(args, following_args)
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\build.py", line 91, in installAndBuild
install_status = install.execCommand(args, [])
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\install.py", line 54, in execCommand
return installDeps(args, c)
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\install.py", line 106, in installDeps
test = {'own':'toplevel', 'all':True, 'none':False}[args.install_test_deps]
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 517, in satisfyDependenciesRecursive
test = test
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 333, in __getDependenciesRecursiveWithProvider
_processed = _processed
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 333, in __getDependenciesRecursiveWithProvider
_processed = _processed
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 312, in __getDependenciesRecursiveWithProvider
test = test
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 212, in __getDependenciesWithProvider
satisfyDep, specs
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 194, in satisfyDep
self.getName()
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\component.py", line 503, in provider
r = access.satisfyVersionByInstalling(dspec.name, dspec.version_req, self.modulesPath())
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\access.py", line 296, in satisfyVersionByInstalling
name, version_required, install_into, v, type=type
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\access.py", line 307, in _satisfyVersionByInstallingVersion
version.unpackInto(working_directory)
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\registry_access.py", line 342, in unpackInto
_getTarball(self.url, directory, self.sha256)
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\registry_access.py", line 218, in _getTarball
return access_common.unpackTarballStream(response, directory, ('sha256', sha256))
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\access_common.py", line 158, in unpackTarballStream
fsutils.rmRf(temp_directory)
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\fsutils.py", line 45, in rmRf
shutil.rmtree(path, onerror=fixPermissions)
File "C:\Python27\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\Python27\lib\shutil.py", line 252, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "c:\code\git_repo\github\yotta_thing\yotta\yotta\lib\fsutils.py", line 37, in fixPermissions
os.chmod(path, stat.S_IWUSR)
WindowsError: [Error 5] Access is denied: u'C:\Code\git_repo\github\yotta_thing\mbed-example-asynch-spi-private\yotta_modules\tmpjlmb4b\xxxx-platform-0.3.0\xxx-platform'
The module with this error (xxx-platform) was not existent prior the build (could not be open by any tool besides what is yotta doing).
—
Reply to this email directly or view it on GitHub.

repo: ARMmbed/yotta


text:
update python scripts

Apologies for the blanket commit and PR.
Should solve:

#72
#71
#62
#67

partially solves (wdl needs updates)

#66
#73
#52

I realized we are NOT using the "--latent-key" argument in artifact_metrics.py.    I made a note above, but I think we should change to "label_key" and have it set to "cell_type"

repo: ASAP-CRN/pmdbs-sc-rnaseq-wf


text:
🛑 API Words is down

In 03fbb8b, API Words (https://simple-api-words.onrender.com) was down:

HTTP code: 503
Response time: 198 ms

Resolved: API Words is back up in 2ebb7d7 after 1 hour, 5 minutes.

repo: ASJordi/website-activity-status


text:
How to Get Connecting Flghts airport and time,  and the issue about Time format,

Hi, So happy to find your solution in this project, it has been a great help ,
here is three more specific question, I might need your support and help:
1#   for example, I search a flight, with 1 stop in DXB,  how can I get the details for the connecting flight as DXB, like:  exact time, and airport name, e.tc.  , For my project and work, we need all the details information in the  Connecting flighs.
2#   I found a situation , that I am a little confused:  e.g.   I run the code, and get result printed out: as:  Flight(is_best=True, name='Turkish Airlines', departure='12:45 AM on Sat, Nov 2', arrival='11:00 AM on Sat, Nov 2', arrival_time_ahead='', duration='17 hr 15 min', stops=1, delay=None, price='0'),   and I check the web page for comparing and varify it.   on the Web Page, departure time is shown as"  00:45"  ,  or , as I understood the conventional way, shall be wriiten as" 00:45 AM",     so, I 'd to check with you, that , if this is a bug? or  How can I adpat to this code, and convert it to the old fashion way?
3#   when I printed the result.flights, as all the flights,   i got some record, may shown this "Flight(is_best=False, name='Separate tickets booked togetherThis trip includes tickets from multiple airlines. Missed connections may be protected by Gotogate.Learn more', departure='7:30 PM on Sat, Nov 2', arrival='2:50 PM on Sun, Nov 3', arrival_time_ahead='+1', duration='26 hr 20 min', stops=2, delay=None, price='0'),"        is it a bug? or how can I fix, and improve this?
Thank you very much.

Hey there,

Connecting flights (or multi-leg flights) are not yet implemented, but it's planned. In fact, some awesome people who created pull requests have done it, you could check them out!

& 3. Admittedly, I'm not aware of these issues. Could you take screenshots (web) and provide the console outputs for me to better analyze what's going on here? Thanks!

If you have any other problems, don't hesitate to ask.
AWeirdDev

Bro,Thanks a lot, for your timely answer,  I will try to find some pull requests jobs you mentioned.

authors: AWeirdDev omnbmhong

repo: AWeirdDev/flights


text:
Branch fix add to class command and add tests for command and parser

close #187
close #186
close #184
close #183
close #222

Codecov Report

Merging #237 (f40e2a5) into master (49d5996) will increase coverage by 3.63%.
The diff coverage is 91.48%.

@@             Coverage Diff              @@
##             master     #237      +/-   ##
============================================
+ Coverage     56.05%   59.68%   +3.63%
- Complexity      632      672      +40
============================================
  Files           128      128
  Lines          2535     2570      +35
  Branches        296      308      +12
============================================
+ Hits           1421     1534     +113
+ Misses         1038      953      -85
- Partials         76       83       +7

Impacted Files
Coverage Δ

...main/java/seedu/address/commons/core/Messages.java
0.00% <ø> (ø)

...logic/commands/classcommands/EditClassCommand.java
67.21% <ø> (+19.67%)
:arrow_up:

...rc/main/java/seedu/address/model/ModelManager.java
76.82% <50.00%> (+12.63%)
:arrow_up:

...ogic/commands/classcommands/AddToClassCommand.java
93.33% <87.50%> (+93.33%)
:arrow_up:

...r/classcommandparsers/AddToClassCommandParser.java
92.59% <94.73%> (+92.59%)
:arrow_up:

...va/seedu/address/logic/commands/DeleteCommand.java
100.00% <100.00%> (ø)

...java/seedu/address/logic/commands/EditCommand.java
93.68% <100.00%> (ø)

src/main/java/seedu/address/model/person/Name.java
75.00% <100.00%> (+2.27%)
:arrow_up:

...du/address/model/tuitionclass/StudentNameList.java
76.47% <100.00%> (+13.42%)
:arrow_up:

...seedu/address/model/tuitionclass/TuitionClass.java
69.13% <100.00%> (+5.84%)
:arrow_up:

... and 8 more

Continue to review full report at Codecov.

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

authors: codecov-commenter softmagnet


text:
Update Diagrams

Updates to:

DeveloperGuide
BetterModelClassDiagram
UiClassDiagram
BetterModelClass.puml
UiClassDiagram.puml

Codecov Report

Merging #53 (66ddca9) into master (6d081df) will decrease coverage by 0.21%.
The diff coverage is 36.36%.

@@             Coverage Diff              @@
##             master      #53      +/-   ##
============================================
- Coverage     70.67%   70.45%   -0.22%
- Complexity      481      482       +1
============================================
  Files            85       85
  Lines          1514     1513       -1
  Branches        161      160       -1
============================================
- Hits           1070     1066       -4
- Misses          400      403       +3
  Partials         44       44

Impacted Files
Coverage Δ

...in/java/seedu/address/storage/JsonAdaptedRoom.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/RoomCard.java
0.00% <0.00%> (ø)

...rc/main/java/seedu/address/model/room/Vacancy.java
25.00% <25.00%> (-35.00%)
:arrow_down:

src/main/java/seedu/address/model/room/Room.java
71.42% <80.00%> (+6.21%)
:arrow_up:

...a/seedu/address/logic/commands/CheckInCommand.java
96.87% <100.00%> (-0.10%)
:arrow_down:

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 6d081df...66ddca9. Read the comment docs.

authors: codecov-commenter darrenhoon


text:
Fix bug regarding textField

Fix bug regarding textField and update the function names

Codecov Report

Merging #75 (72362d2) into master (95e6997) will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##             master      #75   +/-   ##
=========================================
  Coverage     63.75%   63.75%
  Complexity      383      383
=========================================
  Files            74       74
  Lines          1280     1280
  Branches        112      112
=========================================
  Hits            816      816
  Misses          427      427
  Partials         37       37

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/AttributePanel.java
0.00% <0.00%> (ø)

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 95e6997...72362d2. Read the comment docs.

authors: Bluntsord codecov-commenter


text:
Update DG for reuse, edito, listo

Edited parts of edito to ensure prefixes provided are consistent with current changes in the DG and .puml. Added reused instances as well.

Codecov Report

Merging #260 (cfd21d9) into master (0d6776e) will decrease coverage by 0.08%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #260      +/-   ##
============================================
- Coverage     67.46%   67.38%   -0.09%
+ Complexity      694      693       -1
============================================
  Files           122      122
  Lines          2330     2330
  Branches        275      275
============================================
- Hits           1572     1570       -2
- Misses          638      639       +1
- Partials        120      121       +1

Impacted Files
Coverage Δ

...in/java/seedu/address/model/order/DateChecker.java
84.61% <0.00%> (-3.08%)
:arrow_down:

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 0d6776e...cfd21d9. Read the comment docs.

authors: codecov-commenter punnyhuimin


text:
[PE-D] Table of content does not tally with the headers

ToC stated CLI summary but header is command summary

Labels: type.DocumentationBug severity.VeryLow
original: AD-NAP/ped#10

Fixed

authors: ivorcmx nus-pe-script


text:
Update DG to include clip implementation

Update DG to include implementation details for the "clip" command. Used sequence diagrams for better illustration.

Codecov Report

Merging #54 (2c7b238) into master (f7b3efe) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #54   +/-   ##
=========================================
  Coverage     69.99%   69.99%
  Complexity      563      563
=========================================
  Files            91       91
  Lines          1823     1823
  Branches        209      209
=========================================
  Hits           1276     1276
  Misses          486      486
  Partials         61       61

Impacted Files
Coverage Δ

.../address/logic/commands/AddToClipboardCommand.java
84.21% <ø> (ø)

...ress/logic/parser/AddToClipboardCommandParser.java
0.00% <ø> (ø)

...s/model/person/predicates/NameExistsPredicate.java
66.66% <ø> (ø)

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 f7b3efe...2c7b238. Read the comment docs.

Err sorry, but do you know why there are changes to so many binary files? I'm not sure if this is normal...

I'm not sure either, i'm thinking it might have something to do with the local copy of contacts in my address book? This happens everytime I work on code locally. The application works fine though.

authors: codecov-commenter jetrz


text:
Add tests for ClassGroup/JsonAdaptedClassGroup, Delete

Added tests for the following classes:

ClassGroupId, ClassGroup, UniqueClassGroupList (Closes #68 )
WeekId, Lesson
Attendance, StudentAttendance
DeleteCommandParser, DeleteCommand

Added the following helper classes:

StudentAttendanceBuilder, LessonBuilder,
TypicalStudentAttendances, TypicalLessons

Updated the following classes:

ClassGroupBuilder (withLessons is a bit buggy but all tests pass)
TypicalClassGroups, TypicalIndexes (ENTITY instead of Person)

I think you can remove the AB3 test cases if you are done replicating it, since we don't need it anymore


text:
Fix PPP

Removes redundant header.

Codecov Report

Merging #279 (726d407) into master (fa576a2) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #279   +/-   ##
=========================================
  Coverage     60.32%   60.32%
  Complexity      796      796
=========================================
  Files           125      125
  Lines          2926     2926
  Branches        294      294
=========================================
  Hits           1765     1765
  Misses         1029     1029
  Partials        132      132

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 fa576a2...726d407. Read the comment docs.

authors: codecov-commenter nnmoq


text:
Tutorial: Add new command 'remark'

Tutorial 2 - Adding a new Command
Added a new command 'remark'

Codecov Report

Merging #2 (76a43a6) into master (510485a) will decrease coverage by 0.54%.
The diff coverage is 61.33%.

@@             Coverage Diff              @@
##             master       #2      +/-   ##
============================================
- Coverage     72.15%   71.61%   -0.55%
- Complexity      399      409      +10
============================================
  Files            70       73       +3
  Lines          1232     1293      +61
  Branches        125      131       +6
============================================
+ Hits            889      926      +37
- Misses          311      334      +23
- Partials         32       33       +1

Impacted Files
Coverage Δ

.../seedu/address/logic/parser/AddressBookParser.java
88.88% <0.00%> (-11.12%)
:arrow_down:

...in/java/seedu/address/logic/parser/ParserUtil.java
92.10% <0.00%> (-5.12%)
:arrow_down:

...eedu/address/logic/parser/RemarkCommandParser.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/PersonCard.java
0.00% <0.00%> (ø)

.../java/seedu/address/model/util/SampleDataUtil.java
25.00% <14.28%> (+5.00%)
:arrow_up:

...c/main/java/seedu/address/model/person/Remark.java
62.50% <62.50%> (ø)

...va/seedu/address/logic/commands/RemarkCommand.java
70.83% <70.83%> (ø)

...java/seedu/address/logic/commands/EditCommand.java
97.22% <100.00%> (+0.20%)
:arrow_up:

...a/seedu/address/logic/parser/AddCommandParser.java
100.00% <100.00%> (ø)

...a/seedu/address/logic/parser/ArgumentMultimap.java
100.00% <100.00%> (ø)

... and 6 more

Continue to review full report at Codecov.

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


text:
Update SortCommand

Sort could only sort clients by previous date met.
Having a more flexible sort that allows users to sort by different parameters will help the users better visualize the data.
This closes #104.
Let's:

Allow sort to accept an extra parameter to sort by
Create subclasses of Comparator to allow sorting of other variables

Note:
-Test cases for Sort not yet implemented

Codecov Report

Merging #108 (bb6a2ee) into master (5bbebae) will decrease coverage by 2.05%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #108      +/-   ##
============================================
- Coverage     66.75%   64.69%   -2.06%
  Complexity      442      442
============================================
  Files            81       85       +4
  Lines          1540     1589      +49
  Branches        163      170       +7
============================================
  Hits           1028     1028
- Misses          457      506      +49
  Partials         55       55

Impacted Files
Coverage Δ

src/main/java/seedu/address/MainApp.java
0.00% <ø> (ø)

...java/seedu/address/logic/commands/SortCommand.java
0.00% <0.00%> (ø)

...a/seedu/address/logic/parser/AddCommandParser.java
100.00% <ø> (ø)

...a/seedu/address/logic/parser/HustleBookParser.java
84.21% <0.00%> (ø)

.../seedu/address/logic/parser/SortCommandParser.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/model/HustleBook.java
82.05% <0.00%> (ø)

src/main/java/seedu/address/model/Model.java
100.00% <ø> (ø)

...rc/main/java/seedu/address/model/ModelManager.java
92.15% <0.00%> (ø)

src/main/java/seedu/address/model/person/Name.java
72.72% <0.00%> (-7.28%)
:arrow_down:

...a/seedu/address/model/person/UniquePersonList.java
82.60% <0.00%> (ø)

... and 4 more

Continue to review full report at Codecov.

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

authors: Decaxical codecov-commenter


text:
[PE-D][Tester B] Find feature does not work as described in the UG

Here, I have added a student using the input add student n/John Doe p/12345678 a/Yishun e/johndoe@example.com s/Yishun Secondary l/Secondary 2

When trying to use the find function, I keyed in find n/john while displaying the current list of students.
However, I am unable to find the student with the name John Doe and this is the result shown

This does not work when using other prefixes as well as for finding classes and tutors.

Labels: type.FeatureFlaw severity.Medium
original: jeromehjj/ped#6

This happens due to a bug where an entity which does not have tags added to it cannot be searched by the find command. Will fix it.

authors: nus-se-script tantzeyeong


text:
Use CLI comfortably

As an experienced Minecraft player, I can use the CLI comfortably (Minecraft has a command line interface) so that I can do things more efficiently in the application.

Completed

authors: onepersonhere shawnkai


text:
Test: add delcom tests

add delcom tests
refactor names in TypicalIndex to not be customer specific to reuse them for commissions

The reason why I am not using assertCommandSuccess is because if I copy the delcus tests to create an expectedModel, both model and expectedModel have the same Customer objects (from how addressbook sets its data), and deleting one commission will also modify the other model.

Codecov Report

Merging #96 (8ee031d) into master (3960c58) will increase coverage by 1.87%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master      #96      +/-   ##
============================================
+ Coverage     54.09%   55.97%   +1.87%
- Complexity      503      520      +17
============================================
  Files           106      106
  Lines          2135     2135
  Branches        231      231
============================================
+ Hits           1155     1195      +40
+ Misses          924      881      -43
- Partials         56       59       +3

Impacted Files
Coverage Δ

...in/java/seedu/address/model/customer/Customer.java
92.53% <0.00%> (+2.98%)
:arrow_up:

...rc/main/java/seedu/address/model/ModelManager.java
90.58% <0.00%> (+4.70%)
:arrow_up:

...edu/address/model/commission/CompletionStatus.java
84.61% <0.00%> (+7.69%)
:arrow_up:

.../main/java/seedu/address/model/commission/Fee.java
70.00% <0.00%> (+10.00%)
:arrow_up:

...ain/java/seedu/address/model/commission/Title.java
80.00% <0.00%> (+10.00%)
:arrow_up:

...va/seedu/address/model/commission/Description.java
77.77% <0.00%> (+11.11%)
:arrow_up:

.../java/seedu/address/model/commission/Deadline.java
75.00% <0.00%> (+12.50%)
:arrow_up:

...ava/seedu/address/model/commission/Commission.java
44.14% <0.00%> (+12.61%)
:arrow_up:

...ddress/logic/commands/DeleteCommissionCommand.java
93.75% <0.00%> (+93.75%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

authors: codecov-commenter seelengxd


text:
Bug fix edit command

Fix edit command not working for occupation parameter due to missing null check for occupation parameter.
Fix typo for occupation parameter displayed to user.

LGTM :)

authors: bhnuka syamfarh


text:
[PE-D][Tester B] The corruption of JSON file caused the app to stop working

Changing the date of the JSON file to be invalid ones, like 29-02-2023 in one of the contact, causes the app to crash on launch and not work entirely. Having a corruption check during the initialization process and deleting the entire .json file if there is an invalid entry, could be one way to handle this.
changing date to be invalid

Windows PowerShell showing error message on launch

Labels: severity.High type.FunctionalityBug
original: JukeBoxK/ped#7

Pending


text:
Try to fix linking error by adding environment variables, removed some verification on font.bmp

Try to fix the linking error when compiling X11 version of np2 under Ubuntu 16.04 by adding environment variables before running autogen.sh
Removed some verification on font.bmp, so as to be more adaptable to modified BMP font file. Is it appropriate to do so?
Removed checking binary file size for audio cd.
Remove executable permissions on some files under Linux.

Thanks! There are some questions.
1st.
I can build NP2kai X11 version, no link error.
2nd.
NP2kai's X11 has two features.

CPU 286 (without --enable-ia32)
CPU 386 (with --enable-ia32)
I think writing --enable-ia32 in line 44 of README.md is unnecessary.

When I tried to run autogen.sh without adding export CFLAGS='-pthread' and export LDFLAGS='-pthread', I got the following errors while linking:
/usr/bin/ld: ./../x11/misc/xnp2-threadbase.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line

My OS is Ubuntu 16.04.

I use Ubuntu 16.04 too. (I use GNOME Edition.)
Link options about ’pthread’ are generated automatically.

Under X11 directory, when I run ./autogen.sh then ./configure, I found the following error message during configure:
ACX_PTHREAD: command not found


text:
Feature request - Metadata saved inside smart object layer. Model, Seed, steps, cfg and sampler.

As every new generated image/layer is created as a smart object inside photoshop it is possible to save metadata for it individually.
Double clicking a smart object opens it as a PSB file in Photoshop, this makes it possible to put metadata in it that you can access by pressing Command+Option+Shift+I (Mac) or Ctrl+Alt+Shift+I (Windows) or in the menu File--> File Info. When you close the layer it will ask you to save it and it will be embedded inside the master photoshop file.
One could probably make function/macro that could extract this info from a layer and populate the plug-in with it's settings.
It would also be very good if the plug-in could have a selectable History tab/list for previously generated metadata in case you want to replicate what you have done.
What it could save would at bare minimum be: Model, Seed, steps, cfg and sampler. Perhaps even Mask blur and size?

@Kafkanistan this is an excellent suggestion, I will be working on it.

@Kafkanistan thank you again for the suggestion, you can now find all of your generated images in the history tab.
from there, you can reuse your previous settings/metadata and populate the plugin ui with it.

authors: AbdullahAlfaraj Kafkanistan


text:
SUBMITTED

PLEASE CHECK AND CONFIRM
SIDE MENUBAR

Hey @Swastik200, this UO looks nice, but your changes have altered the previous Ui which was better, so try to add the button functionality you mentioned in the issue.

Ok
On Mon, Oct 14, 2024, 5:01 PM Nobody @.***> wrote:

Hey @Swastik200 https://github.com/Swastik200, this UO looks nice, but
your changes have altered the previous Ui which was better, so try to add
the button functionality you mentioned in the issue.
—
Reply to this email directly, view it on GitHub
https://github.com/Abhilash107/Sidebar/pull/28#issuecomment-2410942564,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXNS7FSFD2LAD7CPEMAFLK3Z3OTRZAVCNFSM6AAAAABP4RT4QCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJQHE2DENJWGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

ISSUE #18 SUBMITTED

Could u pls share the screenshot?


text:
Atom/Variant which is just underscore is a Syntax Error

Hi,
I'm trying to convert some code which uses the underscore atom: '_', in this case I'm trying to convert some cowboy_router code. It uses '_' to mean match any host.
I understand that in OCaml a variant cannot be just named underscore:
; ocaml
        OCaml version 4.11.1

# `_;;
Error: Syntax error

Is there a workaround?  There is a pretty well-established convention in Erlang code to use the underscore atom to generally mean 'match anything'. See, cowboy_router and ets matching, for example.
I know I could try, for example, binary_to_atom but that feels quite odd.

Dunno about Caramel per se, but this works:
$ ocaml
        OCaml version 4.09.1

# `_;;
Error: Syntax error
#
  `__;;
- : [> `__ ] = `__
#

@xandkar hello there :)
I'm really not versed in how the OCaml compiler is being extended or used with Caramel. Is adding an "exception" for this common Erlang use-case of arbitrary atoms to map to Variants feasible?

authors: AeroNotix xandkar

repo: AbstractMachinesLab/caramel


text:
Start Development on 8.0.0

Bump the version to 8.0.0, remove support for VFX Reference Platform 2018 as dictated by our deprecation policy and introduce new deprecation warnings and update the CI.

@kmuseth @jmlait @Idclip - would one of you mind approving please? We have a short window for the 8.0 release.

repo: AcademySoftwareFoundation/openvdb


text:
Getting RuntimeVersionDecode error when testing with the md5 rococo parachain

I'm trying to test for the md5 rococo parachain but I get the following error:
called `Result::unwrap()` on an `Err` value: RuntimeVersion(RuntimeVersionDecode)

Stack:

Error
    at imports.wbg.__wbg_new_abda76e883ba8a5f (/home/sebastian/.npm/_npx/84d26c864c64a94e/node_modules/@acala-network/chopsticks-executor/dist/cjs/chopsticks_executor.js:748:19)
    at wasm://wasm/00966b66:wasm-function[701]:0x1269bf
    at wasm://wasm/00966b66:wasm-function[866]:0x130a13
    at wasm://wasm/00966b66:wasm-function[795]:0x12b783
    at wasm://wasm/00966b66:wasm-function[105]:0xa7664
    at wasm://wasm/00966b66:wasm-function[380]:0x10eb7c
    at wasm://wasm/00966b66:wasm-function[917]:0x1312f9
    at __wbg_adapter_48 (/home/sebastian/.npm/_npx/84d26c864c64a94e/node_modules/@acala-network/chopsticks-executor/dist/cjs/chopsticks_executor.js:410:10)
    at real (/home/sebastian/.npm/_npx/84d26c864c64a94e/node_modules/@acala-network/chopsticks-executor/dist/cjs/chopsticks_executor.js:394:22)
    at node:internal/process/task_queues:140:7

node:internal/event_target:1010
  process.nextTick(() => { throw err; });
                           ^
Error [RuntimeError]: unreachable
    at wasm://wasm/00966b66:wasm-function[701]:0x126ad5
    at wasm://wasm/00966b66:wasm-function[866]:0x130a13
    at wasm://wasm/00966b66:wasm-function[795]:0x12b783
    at wasm://wasm/00966b66:wasm-function[105]:0xa7664
    at wasm://wasm/00966b66:wasm-function[380]:0x10eb7c
    at wasm://wasm/00966b66:wasm-function[917]:0x1312f9
    at __wbg_adapter_48 (/home/sebastian/.npm/_npx/84d26c864c64a94e/node_modules/@acala-network/chopsticks-executor/dist/cjs/chopsticks_executor.js:410:10)
    at real (/home/sebastian/.npm/_npx/84d26c864c64a94e/node_modules/@acala-network/chopsticks-executor/dist/cjs/chopsticks_executor.js:394:22)
    at node:internal/process/task_queues:140:7
    at AsyncResource.runInAsyncScope (node:async_hooks:204:9)
Emitted 'error' event on Worker instance at:
    at [kOnErrorMessage] (node:internal/worker:290:10)
    at [kOnMessage] (node:internal/worker:301:37)
    at MessagePort.<anonymous> (node:internal/worker:202:57)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:735:20)
    at exports.emitMessage (node:internal/per_context/messageport:23:28)

This is the config file I'm using:
endpoint: wss://c1md5.hashed.live
mock-signature-host: true
block: ${env.MD5_BLOCK_NUMBER}
db: ./md5.rococo.db.sqlite
# wasm-override: ../../ComposableFi/composable/result/lib/runtime.optimized.wasm

import-storage:
  Sudo:
    Key: 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY # Alice
  System:
    Account:
      -
        -
          - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
        - providers: 1
          data:
            free: "100000000000000000000000"

Why might this be?

can read runtime version from runtime.wasm. you need to use compressed one

@ermalkaleci so do I need to use the wasm-override parameter?

yes

to be clear. I thought you're trying custom wasm runtime. are you trying to use chopsticks for wss://c1md5.hashed.live?

you have the same issue. https://github.com/AcalaNetwork/chopsticks/issues/564

Thanks @ermalkaleci! Yes for wss://c1md5.hashed.live, but md5 is using polkadot v1.3.0, from what I understand from the issue is that they are using an old version, correct?

yes, there're using old version but in your case it seems smoldot can find version from your wasm runtime

Ok, I'll try using the branch mentioned in the issue, thanks!

I started debugging smoldot to see if there was any problem and turns out the your problem is stateVersion: 5 the old version is 0 and new trie version is 1.

That means your runtime has methods unrecognized by smoldot. Try with allow-unresolved-imports: true

That worked, but I guess it won't work until I upgrade the on chain runtime with the correct state version, because now it runs, but when I go into polkadotjs app, it crashes and I get the RuntimeVersion(RuntimeVersionDecode) error, is this correct?

It should work with both wasm-override and allow-unresolved-imports.

It runs:

But when I go to the polkadotjsapp it throws the error:

how do you override wasm?

if you upload your custom wasm with correct trie version number I can give it a try

This is my config file:
endpoint: wss://c1md5.hashed.live
mock-signature-host: true
block: ${env.MD5_BLOCK_NUMBER}
db: ./md5.rococo.db.sqlite
allow-unresolved-imports: true
wasm-override: ../hashed-substrate-parachain/target/release/wbuild/hashed-parachain-runtime/hashed_parachain_runtime.compact.compressed.wasm

import-storage:
  Sudo:
    Key: 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY # Alice
  System:
    Account:
      -
        -
          - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
        - providers: 1
          data:
            free: "100000000000000000000000"

Here is the wasm
Thanks!

please upload it as file

ok the problem is this. we're overriding wasm and it works for that block but as soon at it loads parent, it will fail because trie is invalid

I did modify vendor/smoldot to parse your version 5 as 1 but it will end up calling host unknown function ext_transaction_index_index_version_1. This function is not implemented in smoldot

Thanks for looking into it @ermalkaleci! So for it to work I need to update the on chain runtime with the correct state version?

I think that won't be enough. Your runtime has a host function unimplemented in smoldot.

So I won't be able to use chopsticks? How can I know which is the function that is not implemented?

the unimplemented method is ext_transaction_index_index_version_1 which seems to be used by those 2 pallet https://github.com/search?q=repo%3Aparitytech%2Fsubstrate sp_io%3A%3Atransaction_index%3A%3Aindex&type=code

I added an empty implementation of ext_transaction_index_index_version_1 and it appears to work

https://github.com/smol-dot/smoldot/pull/1644

Great! Thanks! are you using the latest beta?

no, PR was rejected. we can't add the implementation to smoldot. If you wish you can fork and build your custom version with above implementation

@ermalkaleci thank you for all your help! I've forked the chopsticks repo and changed smoldot submodule to use the pr you created. But I still have the same issue, chopstick runs initially but when I go to the polkadotjs app it fails with the RuntimeVersionDecode error. Do I need to do anything else?

I did modify vendor/smoldot to parse your version 5 as 1 but it will end up calling unknown  host function ext_transaction_index_index_version_1. This function is not implemented in smoldot

You need this as well

Thanks @ermalkaleci! That worked!

authors: ermalkaleci sebastianmontero

repo: AcalaNetwork/chopsticks