Saving audio response from AVS to .mp3 files

Briefly summarize your issue:
I would like to be able to save audio responses from the AVS to .mp3 files (including both synthesised speech responses and other audio files that may contain speech). I am grateful for any advice on the best way to do this. I have looked at previous issues on this topic - such as https://github.com/alexa/avs-device-sdk/issues/14 , but have not been able to implement the solutions discussed previously, I am not sure where the code to save audio responses should be added.
What version of the AVS Device SDK are you using?
  1.23.0

Tell us what hardware you're using:
Ubuntu virtual machine on a desktop host.
Tell us about your OS (Type & version):
Ubuntu 18.04

hi @mkb878
The SDK uses curl to communicate with servers.
HTTP2Stream.cpp in ACL has code that can emit verbose libcurl diagnostics.  These diagnostics are in the form of three files output per stream
* Hex dump of all transfers annotated with libcurl debug messages
* Raw data sent
* Raw data received  (this is what you are interested in)
To enable this feature, the SDK must be re-build from the cmake step with the options:
-DACSDK_EMIT_CURL_LOGS=ON -DACSDK_EMIT_SENSITIVE_LOGS=ON
An additional option is required in AlexaClientSDKConfig.json to specify where these files are to be written:
{  "libcurlUtils" : { "streamLogPrefix" : "<absolute path to put log files (including terminal forward slash)>" } }
After you run the sampleApp with those options go to the directory you specified in the config file and run this command
for f in $(ls stream-*in.bin)
do
  echo ---- $f
  hexdump $f | grep fffb
done

You will see an output like this:
---- stream-52263370623582-AVSEvent-7-in.bin
00028d0 1019 7a48 ea65 1162 fffb 64f3 29c4 e125
0005540 ab72 fcb9 cdb6 da99 fffb 64f3 1ec4 5b21

this means that this is a mp3 file (output from alexa), rename the file to mp3 and you can play it.
I hope this is detailed, easy and will help you. Please let me know if that works.
Regards,
-Alexandre


Method invocation failed because [System.Double] does not contain a method named 'GetUpperBound'.

I get the error below sometimes when I run this to analyze files. I have no idea where the PAL.log file is, it's not listed on the report file that show the error details, nor can I find it in %temp%. Happy to provide more data, just not sure where to find it. ;)
Was using the PAL wizard with the following options:
NO time range restriction
Auto-Detect for threshold file, and it added SystemOverview.xml and WindowsUpdate.xml
OS: Windows Server 2012 R2
PhysicalMemory: 32
Analysis Interval: 10 minutes
Process all of the counters in the log was checked
If a setting wasn't mentioned, it wasn't modified.
---------- ERROR BELOW ----------
Overall progress... Status: Creating charts, PAL 2.8.1 Progress: 76%... Creating charts, LogicalDisk Avg. Disk sec/Read
An error occurred on...
For ($i=0;$i -le $iValues.GetUpperBound(0);$i++)
At U:\Users\PAL_FlatFiles_2.8.1\PAL.ps1:3041 char:15 + For ($i=0;$i -le $iValues.GetUpperBound(0);$i++) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Method invocation failed because [System.Double] does not contain a method named 'GetUpperBound'.

Hey Jason,
Does it work if you use Auto for the analysis interval? I think I broke manually setting the analysis interval at some point.
Thank you,

From: Jason McReynolds<EMAIL_ADDRESS>Sent: Tuesday, August 6, 2019 9:58:17 PM
To: clinthuffman/PAL<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [clinthuffman/PAL] Method invocation failed because [System.Double] does not contain a method named 'GetUpperBound'. (#47)
I get the error below sometimes when I run this to analyze files. I have no idea where the PAL.log file is, it's not listed on the report file that show the error details, nor can I find it in %temp%. Happy to provide more data, just not sure where to find it. ;)
Was using the PAL wizard with the following options:
NO time range restriction
Auto-Detect for threshold file, and it added SystemOverview.xml and WindowsUpdate.xml
OS: Windows Server 2012 R2
PhysicalMemory: 32
Analysis Interval: 10 minutes
Process all of the counters in the log was checked
If a setting wasn't mentioned, it wasn't modified.
---------- ERROR BELOW ----------
Overall progress... Status: Creating charts, PAL 2.8.1 Progress: 76%... Creating charts, LogicalDisk Avg. Disk sec/Read
An error occurred on...
For ($i=0;$i -le $iValues.GetUpperBound(0);$i++)
At U:\Users\PAL_FlatFiles_2.8.1\PAL.ps1:3041 char:15 + For ($i=0;$i -le $iValues.GetUpperBound(0);$i++) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Method invocation failed because [System.Double] does not contain a method named 'GetUpperBound'.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fclinthuffman%2FPAL%2Fissues%2F47%3Femail_source%3Dnotifications%26email_token%3DAEXDYVHOPKIZNX4KEPWNKKTQDJI6TA5CNFSM4IJ4L6V2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDZHWVA&data=02|01||0ddcba16c2b94ffdbfac08d71af3dd59|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637007506999091916&sdata=Az%2BwRyXPuPQtIinQG5p0%2BLmxVxvYuMUA68kHZg97Cqo%3D&reserved=0, or mute the threadhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEXDYVBKEHGSIG57DZVPNSLQDJI6TANCNFSM4IJ4L6VQ&data=02|01||0ddcba16c2b94ffdbfac08d71af3dd59|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637007506999101920&sdata=a77NS4repft%2FLr7ol1y96JFTdGQ%2BopxmqTeF5FIQGG4%3D&reserved=0.

I get the same thing with analysis level set to Auto - would it help if I had Powershell journaling on or anything?
Overall progress... Status: Creating charts, PAL 2.8.2 Progress: 76%... Creating charts, LogicalDisk Avg. Disk sec/Read
An error occurred on...
For ($i=0;$i -le $iValues.GetUpperBound(0);$i++)
At C:\Program Files\PAL\PAL\PAL.ps1:3041 char:15 + For ($i=0;$i -le $iValues.GetUpperBound(0);$i++) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Method invocation failed because [System.Double] does not contain a method named 'GetUpperBound'.
SCRIPT ARGUMENTS:
Log: C:\Users\hisalesadmin\Downloads\Allina Health System Data Gathering Results\Data Collector Sets\Production\Production Application Server\PAL_Quick_System_Overview.blg
ThresholdFile: C:\Program Files\PAL\PAL\QuickSystemOverview.xml
AnalysisInterval: AUTO
IsOutputHtml: $True
IsOutputXml: $False
HtmlOutputFileName: [LogFileName]PAL_ANALYSIS[DateTimeStamp].htm
XmlOutputFileName: [LogFileName]PAL_ANALYSIS[DateTimeStamp].xml
OutputDir: [My Documents]\PAL Reports
AllCounterStats: $False
NumberOfThreads: 10
IsLowPriority: $False
DisplayReport: True
Please contact the PAL tool team with this error by posting it to GitHub.com/clinthuffman/PAL. Thank you!
For detailed information, please look at the script execution log at

Hi,
Is there a fix for this issue?  I am getting the exact same error and I have tried the recommendations mentioned above with no success.  I can open the BLG file in Perfmon and I have exported the BLG to CSV and used that as the source for PAL, with same results.
Thanks

Hi JJvdWest,
Sorry to hear that you are hitting this issue. I haven't been able to repro it. Would you mind helping me get a repro, so I can try to fix it? If so, please upload your counter log (*.blg or *.csv) to https://1drv.ms/f/s!AhuJirRUDDbmqw19Lxlj-8JF4fe7?e=ynEisl and then let me know all of the parameters that you used to process the counter log. Thanks!

Hi,
I uploaded the counter log and used the following parameters;
Powershell -ExecutionPolicy ByPass -NoProfile -File ".\PAL.ps1"
-Log "F:\Permon\New folder\PRDRAS0DB01N02_06062023090030.blg"
-ThresholdFile "C:\Program Files\PAL\PAL\SQLServer2012.xml"
-Interval "AUTO"
-IsOutputHtml $True
-HtmlOutputFileName "[LogFileName]PAL_ANALYSIS[DateTimeStamp].htm"
-IsOutputXml $False
-XmlOutputFileName "[LogFileName]PAL_ANALYSIS[DateTimeStamp].xml"
-OutputDir "F:\Permon\New folder"
-AllCounterStats $True
-NumberOfThreads 4
-IsLowPriority $True
-OLTPvsOLAP $True
-OS "Windows Server"
-PhysicalMemory "64"
-PLEHealth "4500"
-UserVa "2048"
I get the following error.
@.***
@.***
Thank you for your response.
Regards
From: Clint Huffman @.>
Sent: Thursday, June 8, 2023 2:02 PM
To: clinthuffman/PAL @.>
Cc: JJvdWest @.>; Comment @.>
Subject: Re: [clinthuffman/PAL] Method invocation failed because [System.Double] does not contain a method named 'GetUpperBound'. (#47)
Hi JJvdWest,
Sorry to hear that you are hitting this issue. I haven't been able to repro it. Would you mind helping me get a repro, so I can try to fix it? If so, please upload your counter log (*.blg or *.csv) to https://1drv.ms/f/s!AhuJirRUDDbmqw19Lxlj-8JF4fe7?e=ynEisl and then let me know all of the parameters that you used to process the counter log. Thanks!

Reply to this email directly, view it on GitHubhttps://github.com/clinthuffman/PAL/issues/47#issuecomment-1581857595, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BANCJYSCNP5FHEGJVV4JLELXKFFEFANCNFSM4IJ4L6VQ.
You are receiving this because you commented.Message ID<EMAIL_ADDRESS>

Hi Clint,
Have you received the uploaded files?
Regards
Johan
From: Clint Huffman @.>
Sent: Thursday, June 8, 2023 2:02 PM
To: clinthuffman/PAL @.>
Cc: JJvdWest @.>; Comment @.>
Subject: Re: [clinthuffman/PAL] Method invocation failed because [System.Double] does not contain a method named 'GetUpperBound'. (#47)
Hi JJvdWest,
Sorry to hear that you are hitting this issue. I haven't been able to repro it. Would you mind helping me get a repro, so I can try to fix it? If so, please upload your counter log (*.blg or *.csv) to https://1drv.ms/f/s!AhuJirRUDDbmqw19Lxlj-8JF4fe7?e=ynEisl and then let me know all of the parameters that you used to process the counter log. Thanks!

Reply to this email directly, view it on GitHubhttps://github.com/clinthuffman/PAL/issues/47#issuecomment-1581857595, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BANCJYSCNP5FHEGJVV4JLELXKFFEFANCNFSM4IJ4L6VQ.
You are receiving this because you commented.Message ID<EMAIL_ADDRESS>

Yes, I received it and I'm able to repro the problem. Thanks for the upload! I'll debug it and post here what I find.


"Entries Offset" vs "Entries Page"

We could shrink "Entries Offset" to just 4 bytes by instead having it be "Entries Page", setting just the top 4 bytes of any offsets in the table. This will be more limiting and increase the challenge of implementing, but is probably just fine in most cases.

Decided against this with 0.2.0 due to the complexity this adds to table allocation.


Group the import statements in cli

Group statements that can group. For example, "use A::b" and
"use A::c" can group into "use A::{b, c}".
#646

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

23 of 23 (100.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.0003%) to 98.428%

Totals

Change from base Build<PHONE_NUMBER>:
0.0003%

Covered Lines:
39758

Relevant Lines:
40393

💛  - Coveralls


Support For static resources during build

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [X ] feature request

Area
- [ X] devkit
- [ X] schematics

Versions

Angular CLI: 6.0.8
Node: 8.9.1
OS: darwin x64
Angular: 6.0.7

Repro steps
The new cli6 and how everything is wired thru shematics that drives whole proces is great addition, but when the project gets larger there is also some need (in our case) to copy some statics and non TS Angular resources, scripts, fonts, and some others.
Desired functionality
Some copy schematics that I would add to the build process that would allow me to simply copy directories. Or maybe its even
It seems like this is something similar: https://github.com/dherges/ng-packagr/issues/123

ok. I surfed around and it seems allot of pople try to solve the same problem standard way instead of using custom gulp tasks
https://github.com/angular/angular-cli/issues/10869
https://github.com/dherges/ng-packagr/issues/123
and many many others..  ;-(


Release 2.1.0

Release Checklist
The release checklist is a manual set of checks done before each release to ensure functionality of the most critical components of the application. Some of these steps are redundant with automated tests, while others are only tested here as part of this check.
This checklist should be copy/pasted into the final pre-release PR, and checked off as you complete each step.
Pre-Release Steps
General

[x] Quickstart verified working and up-to-date
[ ] New tables/columns added to database diagram
[x] nox -s test_env works (verify the admin UI, privacy center, CLI and webserver)
[x] fides deploy up works (verify the admin UI, privacy center, CLI and webserver)

API

[x] Verify that the generated API docs are correct
[x] Verify that the Postman collection has been updated

CLI

[x] Run a fides push
[x] Run a fides pull
[x] Run a fides evaluate
[x] Generate a dataset with fides generate dataset db
[x] Scan a database with fides scan dataset db

Admin UI

[x] Every navigation button works
[x] DSR approval succeeds
[x] DSR execution succeeds

Privacy Center

[x] Every navigation button works
[x] DSR submission succeeds
[x] Consent request submission succeeds

Documentation

[ ] Verify that the CHANGELOG is formatted correctly and clean up verbiage where needed
[ ] Verify that the CHANGELOG is representative of the actual changes

Post-Release Steps

[ ] Verify the ethyca-fides release is published to PyPi: https://pypi.org/project/ethyca-fides/#history
[ ] Verify the fides release is published to DockerHub: https://hub.docker.com/r/ethyca/fides
[ ] Verify the fides-privacy-center release is published to DockerHub: https://hub.docker.com/r/ethyca/fides-privacy-center
[ ] Verify the fides-sample-app release is published to DockerHub: https://hub.docker.com/r/ethyca/fides-sample-app
[ ] Smoke test the PyPi & DockerHub releases with a clean pip install ethyca-fides and fides deploy up

OK, I started running some of these checks myself (I have notes for how to add more detail to the instructions, though it'll get a bit lengthy...!)
However I ran into an issue when testing fides deploy. Bug is here: https://github.com/ethyca/fides/issues/1810

to get quickstart running we ran nox -s "build(test)" instead of nox -s quickstart

New tables/columns added to database diagram

We are creating a ticket to update this. But it wont hold up the release.


extract error for "+SKIP" in a malformed @example block

Tests marked doctest: +SKIP can nonetheless raise Extraction Errrors.
No fix yet, just the test itself ;-)
Background: This happens a lot in core octave where @example seems to be often used as @verbatim and in particular as the alternative to @tex when writing mathematics.  Maybe they should just use @verbatim but its not so easy because that changes indentation.  Easier at least in the short term to just mark them as doctest: +SKIP.

Rebased.
@catch22 is this ok?  its bit messy...  but all of parse_texinfo is messy ;-)

:+1: :smile:


Assertion `!alignments.empty()' failed.

As reported by Mick Watson - this assertion appears to fail if eventalign is given a SAM file that runs off the end of the reference.

This should be fixed now.


Current weather / Wind speed in km/h issue

Hi MM-Team !
It's a windy day today for me and I noticed a bug by looking at my beautiful magic mirror ! (docker / up-to-date)
Without any parameter (config.js) the wind speed displayed is: 7 (Beaufort)
With the parameter "useBeaufort: false" the wind speed displayed is: 16 (m/s because I'm in "metric" units).
And it's just the rounded value from the OpenWeatherMap API: 15.8
But with the parameter "usebeaufort: false" and "useKmh: true" the displayed value is: 207 (km/h) (HURRICANE ?! ^^)

It should be ~57 (56,8 Km/h)... (m/s * 60 * 60) / 1000.
I have tried to challenge the logical tests in current.njk file...
And to find a bug in the weatherobject.js file (line 93)...
... but I'm not JS "fluent", I don't see anything wrong :-(
Could you please trying to solve this issue with me ? Thanks

Mhhh...
It seems to me that the data from openweathermap is converted twice to km/h. Once when displayed (the njk template calls the kmhWindSpeed function) and already before when creating the weatherobject (in function generateWeatherObjectFromCurrentWeather(currentWeatherData)
Maybe the later one can be removed, no other provider does convert it like that?

That it's !
I have manually changed the line 93 in the weatherobject.js file to remove the second conversion and now, I have the correct value displayed in Km/h !
Before:
return this.windUnits === "imperial" ? this.windSpeed * 1.609344 : (this.windSpeed * 60 * 60) / 1000;
And now:
return this.windUnits === "imperial" ? this.windSpeed * 1.609344 : this.windSpeed;
Thx @rejas !
"no other provider does convert it like that?" > I'm not sure to understand... You want to make some tests with others providers to check any regression with this modification ?

Good to hear that this fix worked for you, although I think that wont make it into the official code :-)
My ramblings were directed into the vague directions of other developers to get their feedback. After a nights sleep I have the following thoughts / addendums to mine above:
What value for the windspeed should the wetherobject hold? Should it be the raw one which is reported by the provider or should it be already converted into what the user wants via his config?
The current code (in openweathermap) doesnt seem to know what it wants, it converts it into kmh when it gets the data and also when it displays it. Same with ukmetoffice and some other providers. Newer providers, which came after the useKmh change dont have that extra conversions (smhi envcanada)
I would make the conversion only when its needed, so when displaying the data on the screen. And not inside the weatherobject.
Also, looking at the module, it doesnt seem to send the data out to other modules (except the MM2s own compliments module) so it doesnt affect anything elese.
comments, @khassel @MichMich ?
Might prepare a PR already for that :-)

@rejas sounds good but didn't have time to dig into it and since you're already in there...

Created a PR fixing openweathermap, alas looking at other weather providers should maybe done by the people who submitted them?
So I see following providers doing a windspeed conversion when loading the data:

envcanada (@Crazylegstoo)
ukmetoffice (@maloakes)
ukmetofficedatahub (@XBCreepinJesus)
weathergov (@vincep5)

Maybe the 4 mentioned devs can take a look if the windspeed display is correct when metric AND useKmh is selected?

No problem! I will take a look at envCanada in the next day or two and make sure windspeed is handled correctly. I will let you all know whatever happens.
Kevin

On Mar 22, 2022, at 4:39 PM, Veeck @.***> wrote:

Created a PR fixing openweathermap, alas looking at other weather providers should maybe done by the people who submitted them?
So I see following providers doing a windspeed conversion when loading the data:
envcanada @.)
ukmetoffice @.)
ukmetofficedatahub @.)
weathergov @.)
Maybe the 4 mentioned devs can take a look if the windspeed display is correct when metric AND useKmh is selected?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

Re. ukmetofficedatahub - I'm happy to have a look, but I'm not sure if I'll get a chance for a few days, so I'm also happy to let someone else sort it if they're looking for something to do!

Thanks for letting me know.
I’m rather busy at the moment and don’t have a MM setup.
I’ll try to take a look (ukmetoffice) when I can.
Although this is probably superseded by the UKMO DataHub product
(ukmetofficedatahub interface).
On Tue, 22 Mar 2022 at 20:39, Veeck @.***> wrote:

Created a PR fixing openweathermap, alas looking at other weather
providers should maybe done by the people who submitted them?
So I see following providers doing a windspeed conversion when loading the
data:

envcanada @.*** https://github.com/Crazylegstoo)
ukmetoffice @.*** https://github.com/maloakes)
ukmetofficedatahub @.***
https://github.com/XBCreepinJesus)
weathergov @.*** https://github.com/vincep5)

Maybe the 4 mentioned devs can take a look if the windspeed display is
correct when metric AND useKmh is selected?
—
Reply to this email directly, view it on GitHub
https://github.com/MichMich/MagicMirror/issues/2812#issuecomment-1075615938,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI74YDJVIZK55NO2OPY6FBTVBIVYDANCNFSM5OS5GPOQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Kind regards
Malcolm Oakes

I've looked at envcanada and yes there is an issue when metric AND useKmh are selected. Here what is happening:

envcanada is by default getting windspeed in km/h from the backend system (Environment Canada)

envcanada is checking windUnits. If metric, then weatherobject is simply given the windspeed value provided by the backend, But if windUnits is set to imperial, envcanada does the conversion on its own and gives that result to weatherobject

Note envcanada ignores useKmh

current.njk is seeing useKmh is true and causing the weatherobject kmhWindSpeed function to be called. The function seeing that units are metric, and so is calculating kmh under the assumption that the windSpeed value is reflecting m/s.  With envcanada, this not good since windSpeed is already in kmh. Example... envcanada windSpeed of 19kmh ends up displaying as 68kmh.

FWIW, I notice that setting useBeaufort has the same issue in assuming metric windSpeed value is reflecting m/s and applying conversions accordingly.
I would say that having metric AND useKmh set is an unusual combination (maybe I'm missing something?) and I guess the doc could simply recommend not doing this.
I think the bigger issues are are probably (1) we have various conversion logic sprinkled across 'base' weather code AND provider code and (2) provider backends do not all provide data values in the same units (hence the need for providers do sometimes do the conversions). All of that can lead to some inconsistencies. I'm not sure there is a 100% clean solution (have to think about this). I think one idea could be to provider weatherobject with more information about the current windSpeed value - e.g. is it mph, is kmh, is is ms, is it Beaufort... and then it's conversion functions could be smarter about how to convert. Alternatively, envcanada could forget about kmh and provide weatherobject a metric value in m/s and let the weather module work wioth that in a consistent way. Requires more though...

Hi !
I have take the time to test the fix include in the release 2.19.0 : everything seems good ! 👍
OpenWeather API: 3,1 m/s ==> MM Display: 11 Km/h
Thanks a lot ! I close this issue ;-)

Too bad the issue got closed, maybe we need to open a new one for discussing it @MichMich @Crazylegstoo

I think the bigger issues are are probably (1) we have various conversion logic sprinkled across 'base' weather code AND provider code and (2) provider backends do not all provide data values in the same units (hence the need for providers to sometimes do the conversions). All of that can lead to some inconsistencies. I'm not sure there is a 100% clean solution (have to think about this). I think one idea could be to for provides to give weatherobject more information about the current windSpeed value - e.g. is it mph, is it kmh, is it ms, is it Beaufort... and then its conversion functions could be made smarter about how to convert. Alternatively, envcanada could forget about kmh and provide weatherobject a metric value in m/s and let the weather module work with that in a consistent way. This requires more thought...

yes, having conversion logic all around the place and duplicated is bad. There should be one place to do converting and such

Some provider backends indeed dont provide stuff with the same units but that isnt a big problem since this isnt rocket science. We only need to do some general conversion like from mph to kmh or such.

We can fix 1) and 2) if we demand the weather providers to internally all use the same units:

So calling the API of WeatherProviderXYZ might only deliver mph, the fetched data is immediatly conerted to kmh.
If the API provides kmh, nothing needs to be done.

Now when the UI wants to display data, it can safely assume that the value is in a given format.
Also, when sending a notification we always send the same unit around, so third party modules also benfit from this.
The only (small) downside I see so far, is that we have to manually check that new weather providers do follow this too. Minimum documenation update is needed for this.
What do you think about this?

We can fix 1) and 2) if we demand the weather providers to internally all use the same units:
* So calling the API of WeatherProviderXYZ might only deliver mph, the fetched data is immediatly conerted to kmh.

* If the API provides kmh, nothing needs to be done.

Now when the UI wants to display data, it can safely assume that the value is in a given format. Also, when sending a notification we always send the same unit around, so third party modules also benfit from this.
The only (small) downside I see so far, is that we have to manually check that new weather providers do follow this too. Minimum documenation update is needed for this.
What do you think about this?

I think I agree with the approach. So we set a standard that says all Providers (backends) must populate weatherobject using - for example - Metric units as the standard (temp = Celsius, wind = m/s, etc). Each Provider then worries about any conversions they need to  do to satisfy this weatherobject standard. From there, we let the various .njk templates and base weather code perform any conversions required to satisfy the User's config preferences for UI purposes. Like you say, it's a pain in the butt to update all the Provider code to satisfy the approach, but it keeps things clean and understandable going forward.


RUSTSEC-2020-0016: net2: net2 crate has been deprecated; use socket2 instead

https://rustsec.org/advisories/RUSTSEC-2020-0016.html states this.
I found this with cargo audit
https://github.com/RustSec/cargo-audit
It looks like it is in your test rig:
tests/tcp.rs
Line 6 : use net2::TcpStreamExt;
Line 476 let client = net2::TcpBuilder::new_v4().unwrap().to_tcp_stream().unwrap();

See #1326, #1319, #1322, #1324, and #1366.


Calliope mini detected but does not connect to server

When I understand the connector wiki page correctly, it should work as follows:

start connector
connector finds Calliope mini
A token (code) is shown that I have to enter in lab.openroberta.org
When I click "run" on lab.openroberta.org, it should send the program to the connector, and the connector should store it on the calliope

This does not work with a J-Link OB-CALLIOPE-MINI V2.1. Here it is as follows:

start connector. The connection image between the PC and the robot is flashing, switching between USB and wireless icons
I attach the calliope via USB
connector finds Calliope mini and shows "Found robots: Micro:bit/Calliope mini", and the connection icon only shows the USB icon (flashes only every ~10 seconds now, no wireless icon anymore). The server connection icon is flashing. The "connect" button text changes to "disconnect".
No token is shown
The connector shows a message that I can send programs to the robot now.

Since I never got a token, I don't know how lab.openroberta.org should know how to connect back to my PC.
What am I doing wrong? How should the process be?

This is with connector 1.5.0 on both Linux and MacOS.

When working with calliope/microbit you should follow the instructions in the Open Roberta Wiki. The connector program is only needed if you want to use the serial monitor, but you can also use any other serial monitor.

So it is not possible to use the connector to let lab.openroberta.org store files onto the calliope without using the browser-file-download?
I had hoped that using the OpenRoberta connector would speed up the testing process. Using the browser file download requires me to change either the download folder just for programming, or manually select the calliope folder every time when running the program.

You are right, but you can speed up the browser download twice:

change the download folder, if no calliope is attached you might find your downloads in "Downloads"
check once in a session "Ok, ich habe meinen ...": you only have to click once on the "run" button and the system is doing the rest

I am aware of this, which is why I wrote:

Using the browser file download requires me to change either the download folder just for programming

Do you plan to add connector support for such program-through-downloading devices like Calliope?

No, sorry, there is no plan to support this feature


Username uniqueness check is global and not per tenant or organization

Describe the bug
error message user is already user.username.reserved
To Reproduce
Within https://console.zitadel.ch/users/list/humans create a user with Username max or roger.
Expected behavior
Each tenant should have it's own max or roger as username.

Good morning
Thank you for testing zitadel 👍
Each org. has their own unique pool of usernames suffixed with the domain name, either verified or generated by zitadel.
For example in the org. caos I do have the username florian, this results in the generated logonname<EMAIL_ADDRESS>(generated) and<EMAIL_ADDRESS>(verified). Within caos-ag there can only exist one florian.
So you should be able to have a max and roger in your org.
If it is ok for you I could quickly try to reproduce the error by creating the account max in your org. Roger already exists.
One thing that we are aware of, is that we need to improve our handling of the eventual consistency with the CQRS Readmodels! So it sometime can be that the list renderd in the Console is not updated but the user is properly stored in the Evenstore.

Thank you @fforootd , here is the screenshot.

Anyway this is not that important, just something I recognized.

@fforootd and of course feel free to investigate within my tenant

@bufferoverflow thanks we will do 👍
@livio-a @fgerschwiler @adlerhurst any clues?

btw. I can reproduce this with my own org.

@fforootd @adlerhurst @fgerschwiler Thanks a lot!

This should be soon deployed :-) keep you posted
Florian Forster
H e a d   o f C A O S
Phone:  +41 79 956 39 01
Web:      www.caos.ch
On Fri, 11 Sep 2020 at 10:54, Roger Meier<EMAIL_ADDRESS>wrote:

@fforootd https://github.com/fforootd @adlerhurst
https://github.com/adlerhurst @fgerschwiler
https://github.com/fgerschwiler Thanks a lot!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/caos/zitadel/issues/724#issuecomment-690965852, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACLMDKHAAYPZKOH4MFV4DILSFHQU5ANCNFSM4RGZXBIQ
.

hi @bufferoverflow
You should now be able to create a max in your organisation.
Thanks for your report and enjoy your weekend.


Release 2.22.0 (UPLOAD-106, UPLOAD-116 and UPLOAD-117)

Addresses:

UPLOAD-106
UPLOAD-116
UPLOAD-117

Hi there @pazaan ! Would you mind reviewing the changes since your last code review?

Hmm, turns out @eluhrs found some more issues - hopefully these will be the final changes to this release. :crossed_fingers:

@pazaan Would you mind having a look at the changes since the last review, as that's the last thing before I can push v.2.22.0 to prod?


Metrics service is not garbage collected

I think it would make sense to set an ownerreference to the metrics service to be garbage collected when the operator is gone. One idea I have in mind is to use the downwardAPI to pass the pod name and set the ownerreference directly to it, since it will recreate it anyways. The other idea I have is to create the service from the yaml and just update it if needed from the operator. This way users can know that there is a resource that needs to be removed (helm takes care of it for example).

I can work on this if any of the proposed way makes sense.

Maybe an owner reference for the metrics service could help? The owner reference should point to the operator deployment.

I agree with the ownerref, but not sure about marking the deployment as the owner because it's not necessarily a deployment that creates the operator. What about looking up the operator pod's ownerref and setting it to whatever has been set there?

I do think this is a change that we will want. I'll defer to @hasbro17 to make sure.
I think that for now, using the downward API, and setting the owner reference as the pod makes sense for now.

We turned off the metrics service creation in v0.1.0 as we're currently reworking how to expose both the controller specific metrics(queue length, number of reconciles) and app specific metrics via separate registries and ports #715
But yes we should have the service be owned by the operator so it's garbage collected.
We could have the operator-pod own the service it creates, but we need to then consider what happens if we have 2 replica pods for the operator deployment(now that we support leader election #724 ).
Note that the metrics service selects all operator pods.
https://github.com/operator-framework/operator-sdk/blob/master/pkg/k8sutil/k8sutil.go#L79
Although if we're setting readiness checks then the non-leader pod endpoints would not be selected by the service since they're Unready.
I imagine we could have the following workflow:

leader pod is removed/deleted
metrics service owned by leader pod is GCed
another pod becomes the leader
waits until the previous metrics service is fully deleted
recreates the service with the ownerref set to itself

@LiliC Thoughts. We can probably address this alongside #715

Will do this as soon as the initial metrics PR is merged! https://github.com/operator-framework/operator-sdk/pull/786


Add Additional APPLICATION_KIND: 'UNKNOWN' and 'INTERNAL_AND_EXTERNAL'

Description
request to add new values for APPLICATION_KIND of 'UNKNOWN' and 'INTERNAL_AND_EXTERNAL'

'UNKNOWN' would be a placeholder for cases where we don't yet have information on the application type

If we're using the 'Type' to classify the 'Application Hosting' values, then it should be a binary 'Internal Hosted' or 'External Hosted'

But if we're using the 'Type' field to classify 'Application Facing', it could be 'Internal', 'External' or 'Both'

The intentional of 'INTERNAL_AND_EXTERNAL' is for Applications that are classified as both Internal and External facing

I think the additional option would give organizations the ability to utilize the Type field based on their specific need
Happy to contribute this unless there's a good way to accomplish this now. Also open to revisions on any naming conventions
Further, these might be two things an organization would want to see simultaneously in the future
Resourcing
We intend to contribute this feature

I think this may be better represented via an application assessment:

'Facing': 'Internal' / 'External' / 'Both'
...or a muti valued assessment can remove the need for 'Both'

Currently it seems kind of orthogonal to the kind and would lead to lots of permutations (Internal Customised, External Customised, Both Customised, Internal In House, External In House etc)
However, that said, our current inclusion of 'INTERNALLY_HOSTED' and 'EXTERNALLY_HOSTED' has a similar problem  (we don't actually use either of them) and should be represented via a 'Hosting' assessment or similar.
Adding 'UNKNOWN' is a good idea.

The other option for this is for us to move it into the enum_value table to allow it to vary per customer.  We did something similar to data formats a year or so ago  (we wanted to add some custom formats for the bank) :

https://github.com/finos/waltz/issues/6167

@davidwatkins73 thanks for the feedback. I can roll back most of the changes and just include the 'UNKNOWN' portion - does that work for a good short-term solution?
I can then open and track a new issue for possibly implementing the enum_value solution
Note: this isn't a pressing matter and isn't blocking anything
Also: which subset of the Application Kind values would you recommend we select from? I know that can be implementation specific, but maybe to rephrase - which values would you say are core to the intended function of 'Application Kind'?

I think that all of them  without the two HOSTED options   (+ the proposed 'UNKNOWN').  Giving:

VALUE
NAME
DSECRIPTION

CUSTOMISED
Customised
Thirdparty application which has been customised

EUC
End User Computing
End user produced applications

EXTERNAL
External to the organisation
Applications which are completely external to the organization

~EXTERNALLY_HOSTED~
~Externally Hosted~
~Applications which are hosted externally, typically SaaS solutions~

IN_HOUSE
In House
Applications which have been developed internally

~INTERNALLY_HOSTED~
~Hosted Internally~
~Thirdparty applications which are hosted on premises~

THIRD_PARTY
Third Party
Applications developed by a third party

UNKNOWN
Unknown
Not known

Thanks @davidwatkins73 - I'll make note of this and look to avoid using 'EXTERNALLY_HOSTED' and 'INTERNALLY_HOSTED'
I've updated the PR https://github.com/finos/waltz/pull/6921 to only add 'UNKNOWN'


Add of automated tests for couple of helm charts

Integration with TravisCI
Script to run the Coyote tests

This change is

@andrewstevenson let me test travis status before merge.


Unit | Component | sl pagination: changePageBy() subtracts from currentPage when negative

not ok 550 PhantomJS 1.9 - Unit | Component | sl pagination: changePageBy() subtracts from currentPage when negative
    ---
        actual: >
            null
        message: >
            Died on test #1     at test (http://localhost:7357/assets/test-support.js:3025)
                at testWrapper (http://localhost:7357/assets/test-support.js:6192)
                at test (http://localhost:7357/assets/test-support.js:6205)
                at http://localhost:7357/assets/tests.js:25655
                at http://localhost:7357/assets/vendor.js:152
                at tryFinally (http://localhost:7357/assets/vendor.js:33)
                at http://localhost:7357/assets/vendor.js:158
                at http://localhost:7357/assets/test-loader.js:60
                at http://localhost:7357/assets/test-loader.js:51
                at http://localhost:7357/assets/test-loader.js:82
                at http://localhost:7357/assets/test-support.js:6024: 'undefined' is not a function (evaluating 'pages.find(function (page) {
                            return page.active;
                        })')
        Log: |
    ...

Will likely be resolved by https://github.com/softlayer/sl-ember-components/issues/1503

Resolved by https://github.com/softlayer/sl-ember-components/issues/1503


documentation covering options for how SevenBridges CWL workflows can be used on Dockstore

Is your feature request related to a problem? Please describe.
How do CWLs developed on the SevenBridges platforms work on Dockstore? Do they need to be updated to remove SB labels or can they be uploaded as-is? If they require further testing with cwltool, it will likely deter folks from publishing on Dockstore.
Describe the solution you'd like
If errors don't arise when using SB-developed CWL tools on Dockstore, I would suggest adding this information to our documentation.
┆Issue is synchronized with this Jira Story
┆Fix Versions: Dockstore 1.11.X
┆Issue Number: DOCK-1818
┆Sprint: Sprint 64-Oceanic shark
┆Issue Type: Story

Ah, we still have a hotfix/1.11.1 branch in docs even though 1.11.2 is out

I see it on https://docs.dockstore.org/en/stable/getting-started/getting-started-with-cwl.html


min and max age and bmi do not have to both be specified

https://github.com/cns-iu/hra-api--sparql/blob/main/routes/v1/utils/api-endpoints.js#L14-L23
Add logic to handle when only one of min or max is sent. There are times when they send only one or the other.

Logic Added for handling when only one of the min or max parameters is sent.


Revert "Revert "Add support for -enable-regex-literals flag""

Reverts apple/swift-driver#1047

@swift-ci please test

Cross-repo testing is green in https://github.com/apple/swift/pull/42164.
I think simply removing autolink-extract jobs is enough for this test.


Rework integration with config flow support

I have tried to rework this custom integration following the latest changes in Home Assistant. For example this uses config flow to add the integration and it uses the DataUpdateCoordinator to handle adding and updating entities.
Please read the README.md to find the changes and what's new in this PR.
This requires HA 2021.8 and above to work properly.

This is big and I appreciate your work. It will probably take me a week or so to get through the review.

No issues, let me know if you need any clarifications. I am trying to fix the lint errors but not sure what is happening.

Probably easiest to run black . and isort .

Ok, perhaps we can look into this once you finish checking the code.

Quick update: still checking and looking good.
Due to the way you are generating the API endpoint URLs, I am running into issues testing this on a proxied Baby Buddy instance.
Created https://github.com/babybuddy/babybuddy/pull/285 to account for this.

This looks good to me. Thanks for all your hard work @engrbm87.


Octopus Integration testing - verify existing tests works for single VC

Verify if the many code changes to support Multi-VC feature works with Single VC setup.

@abrarshivani verified that single VC tests run with code changes for octopus.
Closing the PR


corner radius on HtmlFrame

can you add a corner radius option for Htmlframe pls ?

Hi!
Thanks for the suggestion. Unfortunately, that is well beyond the scope of this project, as it is an issue with the underlying HTML/CSS engine, and not with this code.
I will still look into this, however, and will let you know if I manage to introduce support for this.

all right


[Fix #237] Improve documentation for Rails/NotNullColumn

Clarify that the cop is only for NOT NULL without a default, and only for existing tables. Also point users in the direction of how to add a NOT NULL column to an existing table.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[X] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[ ] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[ ] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.
[ ] If this is a new cop, consider making a corresponding update to the Rails Style Guide.

Thanks!


feat: revamp the design of select languages button on header 💫✨

Description

The current state of Select Languages Button lacks styles, So it doesn't look good for users.
We must need to revamp the design in order to match the site's theme with as best looking button component.
This helps to improve the User Interface and the User Experience too.

Screenshot (current state)

Hey there @Anupkjha2601 👋🏻
Please make sure to assign this issue to me to make the work done, Thank you!

Hey there @Anupkjha2601 👋🏻
Please make sure to assign this issue to me to make the work done, Thank you!

Hey there @Anupkjha2601 👋🏻
Please make sure to assign this issue to me to make the work done, Thank you!


*: clean up unix socket

Resolved #276
PTAL @siddontang @huachaohuang @qiuyesuifeng

can we support a clean script to clean up the remaining sock files if the test panics?

LGTM

LGTM


Fix build after Lucene upgrade and breaking XContentFactory changes

There are multiple PRs in core affecting the security plugin that the security plugin needs to adapt to.

https://github.com/opensearch-project/OpenSearch/pull/7792
https://github.com/opensearch-project/OpenSearch/pull/8826
https://github.com/opensearch-project/OpenSearch/pull/8668

I am opening a Draft PR that includes a fix for the Lucene-related test failures which was caused by https://github.com/opensearch-project/OpenSearch/pull/7792
Resolves: https://github.com/opensearch-project/security/issues/3064

I will create a backport for this ASAP.


Fix 'fromIndex' internal helper

Resolves #22
The test isn't great, since it'll just never complete if it fails, but that's better than nothing for now. Testing the distribution properly would be good at some point, seems like we did have more tests at one point: #16.
fromIndex could be expensive if it used with an index greater than the size of the Foldable1 since it uses Last after already having converted to a linked list and running through it... but I'm pretty sure it won't hit that case the way it's used anyway.

Finally added that case 🤦

Perhaps this should be merged before #26 because its psa version is lower than v0.8.0?


luna-sysservice: Add missing outbound permissions

Fixes:
Jun 15 15:20:40 qemux86-64 ls-hubd[267]: [] [pmlog] ls-hubd LSHUB_NO_OUT_PERMS {"DEST_APP_ID":"com.webos.monitor","SRC_APP_ID":"com.webos.service.systemservice","EXE":"/usr/sbin/LunaSysService","PID":391} "com.webos.service.systemservice" does not have sufficient outbound permissions to communicate with "com.webos.monitor" (cmdline: /usr/sbin/LunaSysService)
Jun 15 14:57:51 qemux86-64 ls-hubd[267]: [] [pmlog] ls-hubd LSHUB_NO_OUT_PERMS {"DEST_APP_ID":"com.webos.service.activitymanager.client","SRC_APP_ID":"com.webos.service.systemservice","EXE":"/usr/sbin/LunaSysService","PID":391} "com.webos.service.systemservice" does not have sufficient outbound permissions to communicate with "com.webos.service.activitymanager.client" (cmdline: /usr/sbin/LunaSysService)
Signed-off-by: Herman van Hazendonk<EMAIL_ADDRESS>

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


multi-byte utf8 characters are wrongly escaped

I was aware that the function is just a simple "good enough for now" (because I wrote it with that mindset).
I mean, it was like, better this than nothing.
However, I recently was hit by some multi-byte utf8 string that blew up on me and I reverted now to using base64 encoding.
however, we should consider doing escaping of such strings correctly.
Maybe we can take "inspiration" from this function:
https://github.com/sociomantic-tsunami/libdrizzle-redux/blob/ff7f7eaa6431a523eb68279c54fc53d4859f0066/libdrizzle/query.cc#L60-L161

In v2.1.0, it will become trivial to use implicit prepared statements (automatically registered and cached):
int i = 5;
string s = "Hello world";
conn.exec("INSERT INTO table_name VALUES (?, ?)", i, s);
conn.query("SELECT * FROM table_name WHERE id=? AND name=?", i, s);

Because of that, together with the fact that SQL string-escaping is so widely frowned upon in favor of prepared statements, I'm wondering how worthwhile it still is to even have, or to put further work into, an SQL string-escaping implementation.

I think there are some use cases where you simply can't use prepared statements. For example if you want to update a certain amount of rows identified by id's (and you don't know how many beforehand) in one single statement, you almost have to construct it at runtime.. and for such cases a good escape function is certainly useful..

Can someone post an example of which utf8 strings don't work? Disclaimer: I haven't looked at all at the implementation, but I'm sure it's not too complicated to work out.
Do we need SQL escaping? Yes we do.

Can someone post an example of which utf8 strings don't work? Disclaimer: I haven't looked at all at the implementation, but I'm sure it's not too complicated to work out.
Do we need SQL escaping? Yes we do.


How to update age of a task?

Hello all,
I wrote a index_page script with the config @config(age=3 * 60 * 60), so, it automatically recrawl the page every 3 hours. Now, I changed the age's value to 24 hours. The project marked as CHECKING status. I ran the project again. However, I saw that the age's value of a old task didn't update.
Please help me to update the age of a old task in a project.
Thanks in advance,

with @config(age=3 * 60 * 60), it wouldn't automatically recrawl every 3 hours, except using auto_recrawl at same time.

Yes, I also added the attribute auto_recrawl=true.
I had a problem with fixed age value. For example, I automatically re-crawled a homepage and category pages to extract item page. So, I don't know when a website was added new item and how much items added every 4 minutes. I added age=240 and auto_recrawl=true properties to my script.

Let's consider that sometimes, the admin of the website added 25 items during 4 minutes which display on the homepage, the first and second navigation page of the home page. Then, a spider will automatically decrease the age's value of the homepage and the two first navigation pages to a smaller value to extract all new 25 items immediately. Other category pages will increase the age's value to prevent unwanted crawling pages which don't have new items.
However, sometimes, the admin of the website don't add any items. So that, the spider will automatically increase the age's value.

I'm researching on your code to improve the age's value with simple algorithm as described: "When auto_recrawl=true and age attribute set, the spider consider on the number of new item links on a homepage or category pages to automatically change age or auto_age attribute. I also add the seed's value to examine a increasing or decreasing number". Thanks to that, the spider save thousands of the fetcher.
Sorry for my English,

You can use self.crawl(current_url, forece_update=True) API to change the parameters for current curl, but it will take effect after next turn running.
There is a hidden mechanism that you can modify the age of the take in callback def callback(self, response, task), it will affect immediately, but it may be changed sometime.


problem about evaluationScript

Hello, I am now to complete the test of the model using your model, but I do not train a new model.  When I want to run. / evaluationScript frocwrtdetpepchluna16. py files, but I meet the error of csv file can not be found. Please give me some advises.

I have uncomment Line 144  DeepLung/evaluationScript/frocwrtdetpepchluna16.py  getcsv(detp, eps)

Do you have some problem about function getfrocvalue like this
D:\ProgramData\Anaconda_Build1\Anaconda3\envs\pytorch\lib\site-packages\matplotlib\font_manager.py:1241: UserWarning: findfont: Font family ['normal'] not found. Falling back to DejaVu Sans.
  (prop.get_family(), self.defaultFamily[fontext]))
F:\Yepj\04_DeepLearning\project05_lung_nodule\luna16\CSVFILES\subset9\annotations.csv
Total number of included nodule annotations: 105
Total number of nodule annotations: 4328
(1000, 10000)
0.6693877551020408 16.0
[]
[None, None]
Traceback (most recent call last):
  File "frocwrtdetpepchluna16.py", line 175, in <module>
    getfroc(detp, eps)
  File "frocwrtdetpepchluna16.py", line 162, in getfroc
    if maxfroc < max(froclist):
TypeError: '>' not supported between instances of 'NoneType' and 'NoneType'

@penghuazhai Please read readme first https://github.com/wentaozhu/DeepLung/blob/master/README.md
"You can directly run noduleCADEvaluationLUNA16.py, and get the performance in the paper."
If you run frocwrtdetpepchluna16, you need first to get the csv files for the prediction of detection.
To use the pre-trained model to test directly, you need to modify run_training.sh https://github.com/wentaozhu/DeepLung/blob/master/run_training.sh
`
#!/bin/bash
set -e
cd detector
maxeps=150
f=9
EPOCH_PRETRAIN=PRETRAINED_EPOCH
for (( i=$EPOCH_PRETRAIN; i<=$EPOCH_PRETRAIN; i+=1))
do
echo "process $i epoch"
if [ $i -lt 10 ]; then
    CUDA_VISIBLE_DEVICES=2,3,4,5,6,7 python main.py --model res18 -b 32 --resume results/res18/retrft96$f/00$i.ckpt --test 1 --save-dir res18/retrft96$f/ --config config_training$f
elif [ $i -lt 100 ]; then
    CUDA_VISIBLE_DEVICES=2,3,4,5,6,7 python main.py --model res18 -b 32 --resume results/res18/retrft96$f/0$i.ckpt --test 1 --save-dir res18/retrft96$f/ --config config_training$f
elif [ $i -lt 1000 ]; then
    CUDA_VISIBLE_DEVICES=2,3,4,5,6,7 python main.py --model res18 -b 32 --resume results/res18/retrft96$f/$i.ckpt --test 1 --save-dir res18/retrft96$f/ --config config_training$f
else
    echo "Unhandled case"
fi

if [ ! -d "results/res18/retrft96$f/val$i/" ]; then
    mkdir results/res18/retrft96$f/val$i/
fi
mv results/res18/retrft96$f/bbox/*.npy results/res18/retrft96$f/val$i/

done
`

@pigen01 Maybe it is caused by that the returned detection box is empty. Try to tune the detection threshold. And check your trained model. I suggest you firstly use my pretrained model to be familiar with the pipeline.

Do you have some problem about function getfrocvalue like this
D:\ProgramData\Anaconda_Build1\Anaconda3\envs\pytorch\lib\site-packages\matplotlib\font_manager.py:1241: UserWarning: findfont: Font family ['normal'] not found. Falling back to DejaVu Sans.
  (prop.get_family(), self.defaultFamily[fontext]))
F:\Yepj\04_DeepLearning\project05_lung_nodule\luna16\CSVFILES\subset9\annotations.csv
Total number of included nodule annotations: 105
Total number of nodule annotations: 4328
(1000, 10000)
0.6693877551020408 16.0
[]
[None, None]
Traceback (most recent call last):
  File "frocwrtdetpepchluna16.py", line 175, in <module>
    getfroc(detp, eps)
  File "frocwrtdetpepchluna16.py", line 162, in getfroc
    if maxfroc < max(froclist):
TypeError: '>' not supported between instances of 'NoneType' and 'NoneType'

How can you solve this issue? I encounter it. Thanks.

Do you have some problem about function getfrocvalue like this
D:\ProgramData\Anaconda_Build1\Anaconda3\envs\pytorch\lib\site-packages\matplotlib\font_manager.py:1241: UserWarning: findfont: Font family ['normal'] not found. Falling back to DejaVu Sans.
  (prop.get_family(), self.defaultFamily[fontext]))
F:\Yepj\04_DeepLearning\project05_lung_nodule\luna16\CSVFILES\subset9\annotations.csv
Total number of included nodule annotations: 105
Total number of nodule annotations: 4328
(1000, 10000)
0.6693877551020408 16.0
[]
[None, None]
Traceback (most recent call last):
  File "frocwrtdetpepchluna16.py", line 175, in <module>
    getfroc(detp, eps)
  File "frocwrtdetpepchluna16.py", line 162, in getfroc
    if maxfroc < max(froclist):
TypeError: '>' not supported between instances of 'NoneType' and 'NoneType'

How can you solve this issue? I encounter it. Thanks.

From the error, it seems the detection results are not good because you get "[]". Please carefully check your results and debug step by step.


implement indexing for transfer function

Indexing for MIMO transfer functions is implemented in this commit. The expected behavior is largely similar to how one would slice the transfer matrix: the first index is used for rows, the second is for columns.

Coverage decreased (-0.9%) to 78.047% when pulling 97f201b132988a5a842a860844e2df8ae297ab01 on hungpham2511:tf-indexing into 4b0101cf00a413013f1805d8a331b26e3c96e211 on python-control:master.


Can't tell if a marker has been decorated synchronously

There's currently no API that can be used to detect whether a marker has actually been decorated or not (if the class has been added)
This creates race conditions for me if I wanted to do something with the class on its creation. For example currently  doing something like this doesn't work:
decoration = editor.decorateMarker(marker, type: type, class: "my-special-class")
edview = atom.views.getView(atom.workspace.getActiveTextEditor()
match = edview.shadowRoot.querySelector(".my-special-class")

match would return null, However if we put the querySelector call in a setTimeout's callback set to something like ~100 ms it would then work.
I tried using a MutationObserver but that didn't make a difference, it too required a setTimeout's callback to work
observer = new MutationObserver (mutations) ->
  for mutation in mutations
    stocb = ->
      match = edview.shadowRoot.querySelector("my-special-class")
      if (match != null)
        #Our decoration has finally been added
        #We don't need to observe the tree for it anymore
        observer.disconnect();
        #Get our jQueryObject and play around with it
        jQueryObject = View.$(match)
        jQueryObject.mouseover (ev) =>
          console.log("moused over!")
        decoration.onDidDestroy () =>
          #once the decoration is gone
          #we have to stop tracking the line-number div
          jQueryObject.off()
    #
    setTimeout stocb, 10

#configuration of the observer:
config = { attributes: true, subtree: true };

# pass in the target node, as well as the observer options
observer.observe(edview, config);

Hopefully we can get something a callback parameter (which takes a cb and calls it once the decoration's been added...)
I see something like
setUpdatedSynchronously: (@updatedSynchronously) ->

In https://github.com/atom/atom/blob/master/src/decoration-manager.coffee
but this class doesn't seem to be documented

Thanks for reaching out.
Because Atom is built using JavaScript, there are a number of APIs that have to be designed to work asynchronously like this for performance reasons. For this reason, we aren't going to be adding a synchronous API for decorations.
If you'd like to discuss your design and see if there are alternatives to requiring a synchronous API, Discuss, the official Atom and Electron message board is a great place to talk over such things with the community of Atom enthusiasts and package developers. You may want to check it out!
Thanks again :+1:


completing the switch to github pages for docs

Update the docs badge in the root README file.
Modify the CI workflow to properly deploy to the gh-pages branch

I'd prefer this get squashed when merged because the git history is a bit laborious.

@shenxianpeng If you want, I can delete the docs hosted on RTD. They're duplicates now anyway.

@shenxianpeng If you want, I can delete the docs hosted on RTD. They're duplicates now anyway.

Sure, it's OK for me.

Done. The cpp-linter-action project no longer exists on RTD.


Gas under-estimated for recovery via blswallet

Recovering a blswallet via another blswallet fails runs out of gas. The gasLimit is set by the aggregator via a call to ethers' estimateGas function, and this seems to be just not enough to get through the call to recoverWallet in VerificationGateway.
Update the ethers module where used, and potentially other modules in the contracts folder.

Sounds like the same issue I ran into during #464:

There's also a workaround called fx.processBundleWithExtraGas. The automatic gasLimit isn't sufficient for setPendingBLSKeyForWallet, I think this has to do with the call depth involved... ie, the gasLimit is enough for the actual amount of gas used, but not enough gas is provided to one of the deeply nested calls since 63/64ths of the gas is provided to each next layer.

Maybe those changes would resolve this issue?


CreatingLoadBalancerFailed for a kubernetes service of type LoadBalancer

Versions
CCM Version:
Tried this on a OKE cluster.
Environment:

Kubernetes version:
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.1", GitCommit:"d4ab47518836c750f9949b9e0d387f20fb92260b", GitTreeState:"clean", BuildDate:"2018-04-13T22:27:55Z", GoVersion:"go1.9.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"9+", GitVersion:"v1.9.4-2+4551f1c28fa6c7", GitCommit:"4551f1c28fa6c7a06ae19701bb14a3a8eacf0caf", GitTreeState:"clean", BuildDate:"2018-03-13T14:25:14Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

OS (e.g. from /etc/os-release):
Oracle Linux Server 7.4

Kernel (e.g. uname -a):  4.1.12-112.14.13.el7uek.x86_64

Others :docker://17.3.1

What happened?
tried to create a service of type load balancer. This fails / remains in pending state for ever
for example  kubectl apply -f svc-from-below.yaml

apiVersion: v1
kind: Service
metadata:
 name: contour
 namespace: heptio-contour
 spec:
 ports:
 - port: 80
   name: http
   protocol: TCP
   targetPort: 8080
 - port: 443
   name: https
   protocol: TCP
   targetPort: 8443
 selector:
   app: contour
 type: LoadBalancer

kubectl -n heptio-contour describe svc shows this message

  Warning  CreatingLoadBalancerFailed  4m (x11 over 30m)  service-controller  Error creating load balancer (will retry): Failed to ensure load balancer for service heptio-contour/contour: Get https://iaas.us-phoenix-1.oraclecloud.com/20170115/loadBalancers?compartmentId=: x509: certificate signed by unknown authority

What you expected to happen?
service created to be created successfully with a OCI load balancer
How to reproduce it (as minimally and precisely as possible)?
kubectl apply -f https://j.hept.io/contour-deployment-rbac
Anything else we need to know?

Thanks @vshiva we will investigate.

Closing as stale.
Please feel free to reopen if you're still seeing problems @vshiva, however, I believe the CCM should be working well now in OKE.

@vshiva were you able to determine why this happened?  I am too getting error  failed to ensure load balancer


Gemini support

Initial commit of Gemini REST API.
As Gemini REST is 100% compatible with Bitfinex this is an initial dirty copy&paste job. Some features of Bitfinex are not supported on Gemini which can be taken out, however the Gemini market data, account, and trading functionality work.

Gemini market data ticker doesn't work. Format is incompatible with Bitfinex.
Gemini Ticker:
[Source: {"bid":"1194.92","ask":"1194.93","volume":{"BTC":"4539.2101485457","USD":"5424733.917004648262","timestamp":1488352200000},"last":"1194.92"}; line: 1, column: 43]
Bitfinex Ticker:
{"mid":"1190.0","bid":"1189.8","ask":"1190.2","last_price":"1189.8","low":"1176.6","high":"1199.0","volume":"11290.33969477","timestamp":"1488352761.585397229"}


build: update deps

Not needed anymore since all updates got into https://github.com/tiagoalvesdulce/dcrtimejs/releases/tag/1.0.0


ValueError: Error when checking input: expected conv2d_1_input to have shape

I had loaded my own model as mentioned by you. While my training I had resized images with 28*28.
I have changed this img size in your app.py also but now I am getting error as mentioned below:
"ValueError: Error when checking input: expected conv2d_1_input to have shape (28, 28, 3) but got array with shape (28, 28, 4)"
Can you please tell me how can I convert 28,28,4 to 28,28,3 so that I could get predictions as per my model ?

You are most likely using a .PNG image, which has 4 channels RGBA.
Please convert it to RGB with PIL: https://stackoverflow.com/a/43258974

Yes, I solved it by converting to RGB :)
`def model_predict(img, model):
# pre-process the image for classification
img = img.convert('RGB')
img = img.resize((28, 28))
# Preprocessing the image
x = image.img_to_array(img)
#x = np.asarray(img)
x = np.expand_dims(x, axis=0)
x = preprocess_input(x, mode='tf')

# classify the input image
(nt, weapon) = model.predict(x)[0]
return nt, weapon`

Thanks :)

No problem 😄


Fix typo: // to ///

😆

Codecov Report

Merging #1269 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #1269   +/-   ##
======================================
  Coverage      83%     83%
======================================
  Files          24      24
  Lines         753     753
======================================
  Hits          625     625
  Misses        128     128

Impacted Files
Coverage Δ

Sources/Moya/TargetType.swift
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

I think I can merge this by myself because it's so trivial 😛


shellcheck fixes for k8s/cleanup.sh

Description
Shell checks were ignored for file: k8s/cleanup.sh file, this PR fixes the warnings provided by shellcheck (#3544)
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
executed command "make shell-style"

/ok-to-test


Tracking issue for 0.1 release

@boguslavsky:

[x] Bug fixes and style improvements. PR: #12
[x] Rework modules export. Task: #5, PR: #13
[x] Update format. Task: #20, PR: #24
[x] Fix Jshint. Task: #15
[x] Rework error handling: change console.error to throwing errors. Task: #16, PR: #28
[x] Documentation refactoring. Task: #1, PR: #32
[x] Publish as npm package. Task: #18
[ ] Publish as bower package. Task: #19
[ ] Coveralls code coverage + badge. Task: #22

Close task withoug publishing to bower #19 and adding of coveralls #22.


Zulip server bot: Add trivial instructions for deploying and using server on Heroku.

Heroku can be used as a platform to deploy the Zulip bot server. Instructions should be added for deploying and using the server on Heroku. This should make it really convenient for new users to setup and start using the server in their Realms.

moved to new repo:
https://github.com/zulip/python-zulip-api/issues/8


Symfony Serializer Incompatability

Normalizers are incompatible with the contracts from the latest version of Symfony serializer.
Fatal error: Declaration of Braze\Normalizer\JaneObjectNormalizer::denormalize($data, $class, $format = null, array $context = []) must be compatible with Symfony\Component\Serializer\Normalizer\DenormalizerInterface::denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed in /Users/damian/Desktop/braze-php/lib/Normalizer/JaneObjectNormalizer.php on line 52

To reproduce, clone this repository, then run:
composer install && ./vendor/bin/pest

@damiantw what version of PHP are you using?

@remarkablemark 8.3

@damiantw I was able to reproduce the error, I will work on a fix

This seems to be related to https://github.com/janephp/janephp/issues/785

@damiantw released:

https://github.com/braze-community/braze-php/pull/58#issuecomment-1992718613


Removing tables_demo_bringup as exec depend

By having a dependency on the tables_demo_bringup package a circular dependency is introduced into the mobipick_labs environment.
Currently it is only used to get the related planning scene yaml files,  in the following locations:
launch/planning_scene/planning_scene_visualization.launch:5:  <arg name="yaml_path_to_read" default="$(find tables_demo_bringup)/config/$(arg world_config)_planning_scene.yaml" />
launch/planning_scene/find_planning_scene_boxes_helper.launch:7:  <arg name="yaml_path_to_read" default="$(find tables_demo_bringup)/config/$(arg world_config)_planning_scene.yaml" />
launch/planning_scene/find_planning_scene_boxes_helper.launch:8:  <arg name="yaml_path_to_write" default="$(find tables_demo_bringup)/config/$(arg world_config)_planning_scene.yaml" />

output of grep -rn -e "tables_demo_bringup"
@oscar-lima any idea on how should approach this?

we could point to example config files within grasplan ros pkg, e.g. https://github.com/DFKI-NI/grasplan/tree/noetic/config/examples


Error on install on Python 3.10 -  update setup.py to exclude importlib

I tried to install mcf on Python 3.10 (Ubuntu 22.04), but I encountered an error:
Collecting importlib>=1.0.4 (from mcf)
  Using cached importlib-1.0.4.zip (7.1 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

I cloned the package locally, and in order to complete a successful installation I had to comment line 33 in setup.py . importlib is now part of the standard library (at least in Python 3.10 and onwards), so it should not be installed.
I think it may be possible to insert a check in setup.py to only install importlib if Python is older than a certain version...if I have the chance I'll try to make this change and open a pull request at some point.

Thanks Luigi, the next version will fix this issue.


Current method of copying covid-public-data locally doesn't support Git LFS

Downloading a zip of the repository downloads the pointers to large files tracked with git lfs, but not the files themselves. Since the zip is also not itself a repository, it is not immediately possible to fetch the large files. We should consider either what needs to be done to fetch the large files after the zip is downloaded, or the possibility of cloning enough of the repo to also download the large files as we need them.
This is currently breaking support for the COVID_DATA_PUBLIC environment variable on the dod branch, since it depends on shapefiles stored via git lfs in covid-data-public.

The current plan is:

when COVID_DATA_PUBLIC var is set, do nothing, use value of the var for the path

The person setting this path will be responsible for rehydrating lfs objects

when COVID_DATA_PUBLIC is not set, do a full clone and rehydrate lfs data, then set the path to that.

Eventually, we need to add support for git urls to the environment variable so that we can point tools at a specific hash and get the correct behavior

Closing this for two reasons:

I believe we now implement COVID_DATA_PUBLIC as specified here.
The runtime of the current model is sufficiently long that optimizing raw data sourcing won't substantially improve the ability to run the current model "off the shelf" in a quick way (which is the main limitation to the current system).


Power Converter and Cofh Core causing Crashes

I've been getting this Error when I try to load up minecraft with forge. I'd been using Galacticraft and began installing a lot of mods, one by one, and they all worked find until I added Power Crystals' Converters Mod and its new core from Cofh. The reason I'm putting this here is because the first line seems to indicate that it's trying to find the Configurator, which is a mekanism item.Though some of the other lines seem to indicate that it's items from the cofh core that's the issue, resulting in me not really being sure one way or the other...
---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.
Time: 3/26/15 12:35 PM
Description: Initializing game
java.lang.NoClassDefFoundError: mekanism/common/item/ItemConfigurator
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.registry.ObjectHolderRegistry.scanTarget(ObjectHolderRegistry.java:70)
at cpw.mods.fml.common.registry.ObjectHolderRegistry.findObjectHolders(ObjectHolderRegistry.java:39)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:512)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.ClassNotFoundException: mekanism.common.item.ItemConfigurator
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 15 more
Caused by: java.lang.NoClassDefFoundError: cofh/api/item/IToolHammer
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
... 17 more
Caused by: java.lang.ClassNotFoundException: cofh.api.item.IToolHammer
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 21 more
Caused by: java.lang.NullPointerException
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
... 23 more
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Stacktrace:
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.registry.ObjectHolderRegistry.scanTarget(ObjectHolderRegistry.java:70)
at cpw.mods.fml.common.registry.ObjectHolderRegistry.findObjectHolders(ObjectHolderRegistry.java:39)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:512)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 8.1 (x86) version 6.3
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 71784760 bytes (68 MB) / 286887936 bytes (273 MB) up to 523501568 bytes (499 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v<IP_ADDRESS>1 Minecraft Forge <IP_ADDRESS>1 38 mods loaded, 38 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
FML{<IP_ADDRESS>1} [Forge Mod Loader] (forge-1.7.10-<IP_ADDRESS>1.jar) Unloaded->Constructed
Forge{<IP_ADDRESS>1} [Minecraft Forge] (forge-1.7.10-<IP_ADDRESS>1.jar) Unloaded->Constructed
{000} [CoFH ASM Data Initialization] (minecraft.jar) Unloaded->Constructed
Micdoodlecore{} [Micdoodle8 Core] (minecraft.jar) Unloaded->Constructed
malisiscore{1.7.10-0.10.5+unknown-b0.git-unknown} [Malisis Core] (malisiscore-1.7.10-0.10.5.jar) Unloaded->Constructed
ArchimedesShips{1.7.10 v1.7.1} [Archimedes' Ships] (ArchimedesShips-1.7.1.jar) Unloaded->Constructed
BuildCraft|Core{6.4.5} [BuildCraft] (buildcraft-6.4.5.jar) Unloaded->Constructed
BuildCraft|Transport{6.4.5} [BC Transport] (buildcraft-6.4.5.jar) Unloaded->Constructed
BuildCraft|Silicon{6.4.5} [BC Silicon] (buildcraft-6.4.5.jar) Unloaded->Constructed
BuildCraft|Builders{6.4.5} [BC Builders] (buildcraft-6.4.5.jar) Unloaded->Constructed
BuildCraft|Energy{6.4.5} [BC Energy] (buildcraft-6.4.5.jar) Unloaded->Constructed
BuildCraft|Factory{6.4.5} [BC Factory] (buildcraft-6.4.5.jar) Unloaded->Constructed
CoFHCore{1.7.10R3.0.0B1} [CoFH Core] (CoFHCore-[1.7.10]3.0.0B1-19.jar) Unloaded->Constructed
BuildMod{v1.0} [Build Mod] (CoroUtil-1.1.1.jar) Unloaded->Constructed
CoroAI{v1.0} [CoroAI] (CoroUtil-1.1.1.jar) Unloaded->Constructed
ExtendedRenderer{v1.0} [Extended Renderer] (CoroUtil-1.1.1.jar) Unloaded->Constructed
ConfigMod{v1.0} [Extended Mod Config] (CoroUtil-1.1.1.jar) Unloaded->Constructed
Eln{46} [Electrical Age] (ElectricalAge_BETA-1.9_r46.jar) Unloaded->Constructed
EllianMaterialDetector{3.3.10} [Ellian's Material Detector] (EllianDetector_3.3.10.jar) Unloaded->Constructed
flansmod{4.9.0} [Flan's Mod] (Flans Mod-1.7.10-4.9.0.jar) Unloaded->Constructed
IC2{2.2.700-experimental} [IndustrialCraft 2] (industrialcraft-2-2.2.700-experimental.jar) Unloaded->Constructed
GalacticraftCore{3.0.8} [Galacticraft Core] (GalacticraftCore-1.7-<IP_ADDRESS>7.jar) Unloaded->Constructed
GalacticraftMars{3.0.8} [Galacticraft Planets] (Galacticraft-Planets-1.7-<IP_ADDRESS>7.jar) Unloaded->Constructed
VoltzEngine{0.1.0} [Voltz Engine] (VoltzEngine-1.7.10-0.1.0b81-dev.jar) Unloaded->Constructed
icbm{<IP_ADDRESS>} [ICBM] (ICBM-1.7.10-2.3.0b75-dev.jar) Unloaded->Constructed
malisisdoors{1.7.10-1.4.3} [Malisis' Doors] (malisisdoors-1.7.10-1.4.3.jar) Unloaded->Constructed
ForgeMultipart{<IP_ADDRESS>0} [Forge Multipart] (ForgeMultipart-1.7.10-<IP_ADDRESS>0-universal.jar) Unloaded->Constructed
Mekanism{8.0.2} [Mekanism] (Mekanism-1.7.10-<IP_ADDRESS>.jar) Unloaded->Constructed
MekanismGenerators{8.0.2} [MekanismGenerators] (MekanismGenerators-1.7.10-<IP_ADDRESS>.jar) Unloaded->Constructed
MekanismTools{8.0.2} [MekanismTools] (MekanismTools-1.7.10-<IP_ADDRESS>.jar) Unloaded->Constructed
pandorasbox{2.0} [Pandora's Box] (PandorasBox-2.0.jar) Unloaded->Constructed
PowerConverters{1.7.10-<IP_ADDRESS>} [Power Converters] (PowerConverters-1.7.10-<IP_ADDRESS>.jar) Unloaded->Constructed
ResonantEngine{3.0.0} [Resonant Engine] (resonant-engine-<IP_ADDRESS>-core.jar) Unloaded->Constructed
secretroomsmod{4.7.1} [The SecretRoomsMod] (secretroomsmod-1.7.10-<IP_ADDRESS>9.jar) Unloaded->Constructed
weather2{v2.3.6} [weather2] (Weather-2.3.7.jar) Unloaded->Constructed
McMultipart{<IP_ADDRESS>0} [Minecraft Multipart Plugin] (ForgeMultipart-1.7.10-<IP_ADDRESS>0-universal.jar) Unloaded->Constructed
ForgeMicroblock{<IP_ADDRESS>0} [Forge Microblocks] (ForgeMultipart-1.7.10-<IP_ADDRESS>0-universal.jar) Unloaded->Constructed
Launched Version: 1.7.10-Forge<IP_ADDRESS>1
LWJGL: 2.9.1
OpenGL: Intel(R) HD Graphics 4600 GL version 4.2.0 - Build <IP_ADDRESS>74, Intel
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.
Time: 3/26/15 12:35 PM
Description: Initializing game
java.lang.NoClassDefFoundError: mekanism/common/item/ItemConfigurator
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.registry.ObjectHolderRegistry.scanTarget(ObjectHolderRegistry.java:70)
at cpw.mods.fml.common.registry.ObjectHolderRegistry.findObjectHolders(ObjectHolderRegistry.java:39)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:512)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.ClassNotFoundException: mekanism.common.item.ItemConfigurator
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 15 more
Caused by: java.lang.NoClassDefFoundError: cofh/api/item/IToolHammer
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
... 17 more
Caused by: java.lang.ClassNotFoundException: cofh.api.item.IToolHammer
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 21 more
Caused by: java.lang.NullPointerException
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
... 23 more
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Stacktrace:
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.registry.ObjectHolderRegistry.scanTarget(ObjectHolderRegistry.java:70)
at cpw.mods.fml.common.registry.ObjectHolderRegistry.findObjectHolders(ObjectHolderRegistry.java:39)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:512)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 8.1 (x86) version 6.3
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 71784760 bytes (68 MB) / 286887936 bytes (273 MB) up to 523501568 bytes (499 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v<IP_ADDRESS>1 Minecraft Forge <IP_ADDRESS>1 38 mods loaded, 38 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
FML{<IP_ADDRESS>1} [Forge Mod Loader] (forge-1.7.10-<IP_ADDRESS>1.jar) Unloaded->Constructed
Forge{<IP_ADDRESS>1} [Minecraft Forge] (forge-1.7.10-<IP_ADDRESS>1.jar) Unloaded->Constructed
{000} [CoFH ASM Data Initialization] (minecraft.jar) Unloaded->Constructed
Micdoodlecore{} [Micdoodle8 Core] (minecraft.jar) Unloaded->Constructed
malisiscore{1.7.10-0.10.5+unknown-b0.git-unknown} [Malisis Core] (malisiscore-1.7.10-0.10.5.jar) Unloaded->Constructed
ArchimedesShips{1.7.10 v1.7.1} [Archimedes' Ships] (ArchimedesShips-1.7.1.jar) Unloaded->Constructed
BuildCraft|Core{6.4.5} [BuildCraft] (buildcraft-6.4.5.jar) Unloaded->Constructed
BuildCraft|Transport{6.4.5} [BC Transport] (buildcraft-6.4.5.jar) Unloaded->Constructed
BuildCraft|Silicon{6.4.5} [BC Silicon] (buildcraft-6.4.5.jar) Unloaded->Constructed
BuildCraft|Builders{6.4.5} [BC Builders] (buildcraft-6.4.5.jar) Unloaded->Constructed
BuildCraft|Energy{6.4.5} [BC Energy] (buildcraft-6.4.5.jar) Unloaded->Constructed
BuildCraft|Factory{6.4.5} [BC Factory] (buildcraft-6.4.5.jar) Unloaded->Constructed
CoFHCore{1.7.10R3.0.0B1} [CoFH Core] (CoFHCore-[1.7.10]3.0.0B1-19.jar) Unloaded->Constructed
BuildMod{v1.0} [Build Mod] (CoroUtil-1.1.1.jar) Unloaded->Constructed
CoroAI{v1.0} [CoroAI] (CoroUtil-1.1.1.jar) Unloaded->Constructed
ExtendedRenderer{v1.0} [Extended Renderer] (CoroUtil-1.1.1.jar) Unloaded->Constructed
ConfigMod{v1.0} [Extended Mod Config] (CoroUtil-1.1.1.jar) Unloaded->Constructed
Eln{46} [Electrical Age] (ElectricalAge_BETA-1.9_r46.jar) Unloaded->Constructed
EllianMaterialDetector{3.3.10} [Ellian's Material Detector] (EllianDetector_3.3.10.jar) Unloaded->Constructed
flansmod{4.9.0} [Flan's Mod] (Flans Mod-1.7.10-4.9.0.jar) Unloaded->Constructed
IC2{2.2.700-experimental} [IndustrialCraft 2] (industrialcraft-2-2.2.700-experimental.jar) Unloaded->Constructed
GalacticraftCore{3.0.8} [Galacticraft Core] (GalacticraftCore-1.7-<IP_ADDRESS>7.jar) Unloaded->Constructed
GalacticraftMars{3.0.8} [Galacticraft Planets] (Galacticraft-Planets-1.7-<IP_ADDRESS>7.jar) Unloaded->Constructed
VoltzEngine{0.1.0} [Voltz Engine] (VoltzEngine-1.7.10-0.1.0b81-dev.jar) Unloaded->Constructed
icbm{<IP_ADDRESS>} [ICBM] (ICBM-1.7.10-2.3.0b75-dev.jar) Unloaded->Constructed
malisisdoors{1.7.10-1.4.3} [Malisis' Doors] (malisisdoors-1.7.10-1.4.3.jar) Unloaded->Constructed
ForgeMultipart{<IP_ADDRESS>0} [Forge Multipart] (ForgeMultipart-1.7.10-<IP_ADDRESS>0-universal.jar) Unloaded->Constructed
Mekanism{8.0.2} [Mekanism] (Mekanism-1.7.10-<IP_ADDRESS>.jar) Unloaded->Constructed
MekanismGenerators{8.0.2} [MekanismGenerators] (MekanismGenerators-1.7.10-<IP_ADDRESS>.jar) Unloaded->Constructed
MekanismTools{8.0.2} [MekanismTools] (MekanismTools-1.7.10-<IP_ADDRESS>.jar) Unloaded->Constructed
pandorasbox{2.0} [Pandora's Box] (PandorasBox-2.0.jar) Unloaded->Constructed
PowerConverters{1.7.10-<IP_ADDRESS>} [Power Converters] (PowerConverters-1.7.10-<IP_ADDRESS>.jar) Unloaded->Constructed
ResonantEngine{3.0.0} [Resonant Engine] (resonant-engine-<IP_ADDRESS>-core.jar) Unloaded->Constructed
secretroomsmod{4.7.1} [The SecretRoomsMod] (secretroomsmod-1.7.10-<IP_ADDRESS>9.jar) Unloaded->Constructed
weather2{v2.3.6} [weather2] (Weather-2.3.7.jar) Unloaded->Constructed
McMultipart{<IP_ADDRESS>0} [Minecraft Multipart Plugin] (ForgeMultipart-1.7.10-<IP_ADDRESS>0-universal.jar) Unloaded->Constructed
ForgeMicroblock{<IP_ADDRESS>0} [Forge Microblocks] (ForgeMultipart-1.7.10-<IP_ADDRESS>0-universal.jar) Unloaded->Constructed
Launched Version: 1.7.10-Forge<IP_ADDRESS>1
LWJGL: 2.9.1
OpenGL: Intel(R) HD Graphics 4600 GL version 4.2.0 - Build <IP_ADDRESS>74, Intel
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: Off (1)

Also, If this is the wrong place to put this or if this may have been answered already, then sorry about that. Tried googling the Def error and couldn't get a straight answer that applied to specifically this problem.Also, I checked the jar file and the Configurator Class file IS there.

Is the IToolHammer class definitely present in CoFHCore? The CoFHCore version you're using is quite old I think (3.0.0B1), maybe try updating it to the latest (currently 3.0.0RC7)?

Thank you, that did fix it. I didn't realize it was outdated because Internet explorer wouldn't let me get to curse.com (which is where most all of the dl links link to.)Thanks again.


Code quality

LimitedLengthList was actually just a deque and is thus removed
History was actually just a defaultdict and is thus removed
proper logging for the few print statements, disabled discords own logger to avoid duplicates
used isort to sort the imports consistently

No need to deploy the changes directly, but just to have them already on the main.

Looks fine.


Use SysTick feature of Toolbox to measure filter performance

The fusion library has the ability to pass a SysTick parameter to the Toolbox for display, as a measure of how long an iteration of the filter algorithm took to execute. It would be nice to know how much CPU time is used in running the fusion algorithm.
The SysTick is available on ARM processors, and so is currently disabled in the code, but can probably be emulated on the ESP processors.

For comparison, Table 10 on page 19 of https://www.nxp.com/docs/en/data-sheet/XSFLK_DS.pdf has some typical performance values for the fusion algorithm version 5 running on Freescale Kinetis processors.

For comparison, Table 10 on page 19 of https://www.nxp.com/docs/en/data-sheet/XSFLK_DS.pdf has some typical performance values for the fusion algorithm version 5 running on Freescale Kinetis processors.

Tested, and it seems to work. The systick frequency is defined in hal_issdk.h as 1MHz, since that allows using a call to micros() without further adjustment. The ARM_systick_*() functions used in the original NXP code have been redefined in hal_issdk.cto usemicros()`.
The 9-DOF fusion algorithm is reported in the Toolbox as taking about 370 systicks (370 us) to execute. Using an oscilloscope and triggering on the start and end of fusion, the entire fusion process takes 900 us +/- 20 us. Will have to look into the discrepancy.

The discrepancy is because the 370 us measurement is for the fusion algorithm itself, whereas it takes about 848 - 953 us to execute the call in main to sfg.runFusion(&sfg); which launches the algorithm but also does some other related tasks.
Since the I2C transactions that read the sensor ICs take on the order of 5-8 ms, the time for the fusion algorithm to run seems satisfactory, particularly since we have 25 ms between the calls to run the fusion algorithm when operating at 40 Hz.
One interesting (unexplained) anomaly is that the scope time for the sfg.runFusion(&sfg); decreases by about 180 us when the Serial.print() command that shows the elapsed time is omitted, even though that Serial call is located after the digitalWrite() that toggles the output pin.


PostGis raster support

It would be nice to add the postgis-type raster to the supported geo-types.

I'll try this, if you agree with this issue.

That would be fun but I haven't a clue where to start with that. We could obviously just implement
methods from http://postgis.net/docs/manual-2.1/RT_reference.html but raster object support is not a short-term goal.
With that in mind, you can test several of these by defining your own methods then porting them into D2S (with tests).

I'm still not very familiar with DBAL and new in the topic of spatial data and postgis.
Also I'm still struggling with understanding the code well enough to participate in a productive way.
My idea is to implement raster as another SpatialType that is not GeographyType nor GeometryType.
Until now I solved the issue with plain sql. But it's not so nice.
I could implement the main functions to add rasters, like:

st_makeemptyraster
st_addband
st_setvalues

and solve it with dql.
That could be a first step, what du you think?

I think that's a great start. We'll need to (hypothetically) add support for raster objects in PHP to transition further.

To implement the raster functionality the BasicEntityPersister of Doctrine has to be overridden. At the moment Doctrine isn't providing this feature.
http://doctrine-orm.readthedocs.org/projects/doctrine-orm/en/latest/reference/limitations-and-known-issues.html#custom-persisters
So, i'll close this issue until Doctrine offers this.


[Feature] API Consumer Notifications

Problem
Problem

APIM currently offers a notification mechanism that operates through the database.
APIM users might want to use different notification modes (ex: email, sms etc) and to support such requirements current design would require extensive modifications.

Solution

Implement an extensible notification system following a pub-sub architecture.
Continuation of https://github.com/wso2/api-manager/issues/2383

Affected Component
APIM
Version
4.4.0
Implementation
No response
Related Issues
No response
Suggested Labels
No response

Consumer Notifications Scenarios Document - https://docs.google.com/document/d/1Hn6eb25000SZWEOsnDTsVf6e9aKFsmvKAwC2ljRLRtE/edit?usp=sharing

AsyncAPI Definition Document - https://docs.google.com/document/d/1OHNWqiLt8w_oEfbvzxImMukCBEcOFYT_Ots0JHPAxvo/edit?usp=sharing

Design Document - https://docs.google.com/document/d/1hVELgd-hkIIXBzIT6CGx58r4Jy0pBJ8Bz7Pzuiihvp0/edit?usp=sharing

Sub Tasks -

[ ] Finalize the design
[ ] Finalize the list of operations to be used
[ ] Do the async API definition
[ ] Check and refactor the implementations for Notifications Pages (with the bell icon) in Publisher and DevPortal, Notifications retrieval from the DB, Rest API changes
[ ] Do the UX design of the topic subscription page in the Admin portal
[ ] Do the implementation for the event publishing from the portals
[ ] Do the implementation for the DB WebSub Server to save the events to the DB
[ ] Complete the implementation to cover the full flow (Subscribe to topics, publish event notifications to DB websub server when an event for APIs/applications/API products related operations occurs, save notifications to DB, send a Http request via the notifications page to DB websub server to retreive the events from the DB, send notifications to notifications page)
[ ] Test the implementation for the default DB websub server
[ ] Test the implementation with the Ballerina websub Hub
[ ] Do the documentation
[ ] Write tests

Draft PR - REST APIs required for the feature


bug: testing for randomChar() is running too many iterations, and should not run them twice

This is by far the longest running task in the test suite and the number of iterations is arbitrary and very large (320,000) x 2.

Closing. Merged.


Updated the datasource for apache zookeeper

Summary
Ticket: https://new-relic.atlassian.net/browse/NR-288597
Description: Updated the datasource install for apache zookeeper. shared-component-framework-config repo PR got merged and here is the PR link: https://source.datanerd.us/nr1-dev-experience/shared-component-framework-configs/pull/289
A concise description of the changes being introduced. Please review the pre-merge checklist section to validate this pull request is ready for review and merge. If it is not ready, please mark the pull request as a draft.
The owners of this repo are not experts in the subject matter of the quickstarts. We review for the quickstart to be functional and for security risks. If you are seeking feedback on the content of the quickstart, please seek out a subject matter expert. If you are not an internal NR contributor, we can do our best to connect you with a content reviewer.

Pre merge checklist

[ ] Did you check you NRQL syntax? - Does it work?
[ ] Did you include a Data source and Documentation reference?
[ ] Are all documentation links publicly accessible?
[ ] Did you check your descriptive content for voice and tone?
[ ] Did you check your descriptive content for spelling and grammar errors?
[ ] Did you review your content with a subject matter expert? (e.g. a Browser agent quickstart is reviewed with a member of the Browser Agent team)

Dashboards

[ ] Does the PR contain a screenshot for each of your dashboards?
[ ] Do your screenshots show data?
[ ] Has the sanitization script been run on each dashboard?

Alerts

[ ] Did you check that your alerts actually work?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: RamanaReddy8801:x: zstixYou have signed the CLA already but the status is still pending? Let us recheck it.


Missing Cards prints out only library cards and not crypt

Hello, as the title sugges.
attached a screenshot.

As far as I know this issue appeared with the last update

Fixed in 87e8b5d9cfe3318867dd31ecfbc80a2afc2b4582 (don't let commit name confuse you, it was just a typo). Will be deployed in the next update (probably this weekend).


Error message when trying to add zip file

Etcher version: 1.43x86_64
Operating system and architecture: Linux Mint 18.3 Cinnamon 64 bit
Image flashed: Noobs V2_8_1.zip
Do you see any meaningful error information in the DevTools?

I get this error, it has worked OK in the past but new downloads seem to be more problematical, same issue on another PC using the Mint 18.3 but 32 bit
/home/trevor/Pictures/Screenshot from 2018-06-19 13-21-06.png

NOOBS is not a disk image (and hence Etcher can't flash it), but an archive of a boot partition; please see #1756 for some background, and refer to the Raspberry Pi Foundation's documentation.
Duplicate of https://github.com/resin-io/etcher/issues/1162

Duplicate of https://github.com/resin-io/etcher/issues/1162

I see,  thanks for the explanation.
Back to the drawing board.

@Murphyv310 you can flash the other Raspbian images with Etcher though, unless you need / want to use NOOBS

Thank you.
I've a 3b+ and I've found out that Ubuntu Mate doesn't load, my previous 3B was OK. To be honest all I want to run is GQRX  and other SDR software but the 3B+ doesn't play ball,  feeling like giving up on the Pi now.

I've a 3b+ and I've found out that Ubuntu Mate doesn't load, my previous 3B was OK.

I've not used Ubuntu Mate on the RPi myself, but the 3B+ needs newer firmware blobs than the 3B. I did a quick search and there seems to be multiple topics about the 3B+ at https://ubuntu-mate.community/c/support/raspberry-pi-2