Add update function to adaptive sampler

[ ] Tests

The goal of this diff is to ensure that the adaptive sampler is not recreated every minute and only the samplers that need to be updated are updated.
Followup to this diff will be to remove the Equal() function from Sampler API and add an update() function to each sampler respectively.

Coverage decreased (-2.1%) to 75.737% when pulling e1d4f97d31ec8fb6400f26239d701db2785ced44 on update_adaptive_sampler into 2e3b01d7a286a0165f0edce07551c840ee711c1c on master.

Coverage decreased (-2.1%) to 75.737% when pulling e1d4f97d31ec8fb6400f26239d701db2785ced44 on update_adaptive_sampler into 2e3b01d7a286a0165f0edce07551c840ee711c1c on master.

Coverage decreased (-0.2%) to 77.633% when pulling b898df701f0553d06ea70b186229fea960c3ce21 on update_adaptive_sampler into 2e3b01d7a286a0165f0edce07551c840ee711c1c on master.

Coverage decreased (-0.2%) to 77.67% when pulling ce77a5f6f4f25dd3ec918d79a4bcde37a35daf8d on update_adaptive_sampler into 2e3b01d7a286a0165f0edce07551c840ee711c1c on master.

Coverage decreased (-0.2%) to 77.67% when pulling ce77a5f6f4f25dd3ec918d79a4bcde37a35daf8d on update_adaptive_sampler into 2e3b01d7a286a0165f0edce07551c840ee711c1c on master.

Coverage decreased (-0.2%) to 77.67% when pulling ac9723e02f100b4a069c2024b23e09607f3395bd on update_adaptive_sampler into 2e3b01d7a286a0165f0edce07551c840ee711c1c on master.

Coverage decreased (-0.1%) to 77.727% when pulling c17dbe15418d4d7bb186b2d7a3cf4505a40afaa5 on update_adaptive_sampler into 2e3b01d7a286a0165f0edce07551c840ee711c1c on master.

Coverage decreased (-0.1%) to 77.727% when pulling c17dbe15418d4d7bb186b2d7a3cf4505a40afaa5 on update_adaptive_sampler into 2e3b01d7a286a0165f0edce07551c840ee711c1c on master.

let's make sure all new code is covered
https://coveralls.io/builds/8547341/source?filename=sampler.go
mostly it's errors, but they are easy to simulate by giving strategy descriptors with out of range numbers.

Coverage decreased (-1.06%) to 76.8% when pulling b94c814dfbdfefbc8c0b15e5dbd29a7fc89b9ac0 on update_adaptive_sampler into 2e3b01d7a286a0165f0edce07551c840ee711c1c on master.

Coverage decreased (-1.06%) to 76.8% when pulling b94c814dfbdfefbc8c0b15e5dbd29a7fc89b9ac0 on update_adaptive_sampler into 2e3b01d7a286a0165f0edce07551c840ee711c1c on master.

Coverage increased (+0.3%) to 78.193% when pulling 6e585ef16400524da674d932c0f1e64c8298cfea on update_adaptive_sampler into 2e3b01d7a286a0165f0edce07551c840ee711c1c on master.

Coverage increased (+0.4%) to 78.277% when pulling ec7896ccd24e48e6b6454d053fb4d3f972024486 on update_adaptive_sampler into 2e3b01d7a286a0165f0edce07551c840ee711c1c on master.

Coverage increased (+0.4%) to 78.277% when pulling ec7896ccd24e48e6b6454d053fb4d3f972024486 on update_adaptive_sampler into 2e3b01d7a286a0165f0edce07551c840ee711c1c on master.

Coverage increased (+0.4%) to 78.277% when pulling 73957ca7df1699f55926d22c14bedfef38c5d4a6 on update_adaptive_sampler into 2e3b01d7a286a0165f0edce07551c840ee711c1c on master.

Coverage increased (+0.4%) to 78.277% when pulling 73957ca7df1699f55926d22c14bedfef38c5d4a6 on update_adaptive_sampler into 2e3b01d7a286a0165f0edce07551c840ee711c1c on master.


Implement User Preferences

Overview
Implement User Preferences!
Changes Made

Modify Person table to include prompt questions and answers
Include prompts in update user endpoint

Test Coverage
Manual testing via Postman (see below for example)
Related PRs or Issues
Closes #23
Add user preferences via update user endpoint
api/me/ - POST
**NOTE: When editing user preferences, must include all previous prompts if they remain the same. To reset prompts, set "prompts" to [].
Sample body:
{
     "prompts": [{"id": 1, "answer": "rice cake"}, {"id":2,  "answer": "heat waves"}]
}

Sample response:
{
    "id": 2,
    "netid": "ksl67",
    "first_name": "Kate",
    "last_name": "Liang",
    "phone_number": "1234567890",
    "grade": "2024",
    "profile_pic_url": null,
    "pronouns": "she/her",
    "prompts": [
        {
            "id": 1,
            "question_name": "Favorite food",
            "question_placeholder": "Ramen",
            "answer": "rice cake"
        },
        {
            "id": 2,
            "question_name": "Favorite song",
            "question_placeholder": "Rich Flex",
            "answer": "heat waves"
        }
    ]
}

@snajima django many-to-many relationships (prompts and users) are represented as querysets (see: https://docs.djangoproject.com/en/4.1/ref/models/querysets/). we represent each user's prompt answers using a string list (which json.dumps() / json.loads()) helps us do. can add comments to clarify this!

how exactly are we keeping track of which answers correspond to which questions?

the indices of the prompt questions correspond to the indices of the prompt answers

there shouldn't be any null space. we have a table for every question. for each question, we store the questions they answered and their answered in the string list.


replacing tree density histogram with breakpoint lines

As a fix for issue #154 we've removed the tree breakpoints track from the Mutations page. Instead, we could replace the tree density histogram with lines representing the actual breakpoints when zoomed-in enough. At this level, seeing the actual breakpoints might be more useful?

Closing this as tree density seeems useful enough.


Issue 12 stopping criteria bb

This PR adds the stoppingCriteria param.
Other changes:
Added ThresholdFinder classes to make it clear that there are two alternative strategies for finding thresholds. Since one used RDDs and the other Arrays, I could not get the api to be the same or make as much code as I wanted in common, but hopefully its an improvement.
I set the version to 0.2-SNAPSHOT in build.scala to prepare for the next release (which I assume is 0.2).
Package is now org.apaphe.spark instead of just org.apache.

I've just reviewed all the commits and I have to say it's a really nice work. Thanks for your support.
About this topic:
"There was no performance (or correctness) difference between using if (k1 > 0) leftFreqs.sum else 0 and just leftFreqs.sum."
I just remember that it was motivated by a performance matter. But it seems useless, and actually I didn't even check the impact of this line.

Thanks. I have another question.
There were two places that used ".clone". I removed the ".clone" because I don't think it was needed. The tests passed without it. Can you recall why you added it? I don't want to introduce a bug.
Used to be
entropyFreqs = (cand, freq, leftAccum.clone(), rightTotal) +: entropyFreqs
now is

entropyFreqs = (cand, freq, leftAccum, rightTotal) +: entropyFreqs


Feature: Extend config with circular dependencies

Adds support for extending a configuration that has an object with a circular dependecy.
Fixes issue https://github.com/stormpath/stormpath-sdk-node/issues/198.

Other than my comments this looks good. But how do you feel about this new extend library? I feel that it is a bit untested?
https://github.com/shimondoodkin/nodejs-clone-extend

Yeah, I also reacted a bit on that. Unfortunately I didn't find any other lib that had support for circular references/same functionality;( But since we have a few tests that check that the functionality that we're after is in place, then I thought that would do.

:+1:


[MB-3440] Removes unnecessary updatePaymentRequest declaration from GHC API yaml

Description
This story removes all references to the updatePaymentRequest endpoint - PATCH /payment-requests/{paymentRequest} - from the ghc.yaml swagger file. The original story was meant to “Generate [an] EventTrigger on GHC updatePaymentRequest handler”; however, this work removes the related endpoint as it is not in use.
(Background)
The updatePaymentRequest endpoint was added when the API was originally designed but the design has since been updated to include an updatePaymentRequestStatus handler endpoint. The payment request statuses - PENDING, REVIEWED, SENT_TO_GEX, RECEIVED_BY_GEX, PAID determine what process the payment request is in. There is no way to update a payment request in the current architecture -- a new payment request will need to be created instead. An event trigger has also already been added for the updatePaymentRequestStatus handler. So, the original ticket MB-3440 is in fact unnecessary. This work removes the unnecessary endpoint.
Reviewer Notes
See original Slack thread that discusses adding updatePaymentRequest handler as something that could possibly be removed in the future.
Setup
Add any steps or code to run in this section to help others prepare to run your code:
Run all tests to ensure nothing breaks.
mylaptop ~ %: cd /mymove
mylaptop ~ %: make server_run
mylaptop ~ %: make server_test
mylaptop ~ %: make client_test
mylaptop ~ %: make e2e_test

Code Review Verification Steps

[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story

Messages

:book:
:link: MB-3440

  Generated by :no_entry_sign: dangerJS against 57736359e010571ff734de3322215561e49b5d92


adding Jigglypuff to index.html

I am sorry but jigglypuff is already present in the website, please add some other unique pokemon


Implement constraint for transitions

Implement constraint for transitions as in version for Yii1.

Status constraint are not available anymore as PHP code declared in the workflow definition. They should now be implemented as event handler attached to a beforeEnterStatus event. If the constraint is not satisfied, it must invalidate the event so to block the transition.
I will write a chapter on this in the Guide soon....

check this chapter for details on how to implement status constraints...


Revert GOOGLE_CLOUD_ENABLE_DIRECT_PATH support

Because someone told me to.
#9978

I am not going to do this. I like having it around for developing.
Also, I claim that because GOOGLE_CLOUD_ENABLE_DIRECT_PATH is undocumented, it is not in our public API.


display.name missing in schema

A display.name exists in the metadata now, but is missing in schema and hence not validated.

The whole display block is in need of a proper discussion (again).
In the first metadata definitions which were inherited from Johan Sverdrup (and before that, from REP), the display block was quite large. The JS pattern was to specify in detail how data objects were to be displayed. In various discussions, we have agreed that it is the responsibility of the data visualizer to define how things are visualized, it should not be stated in the data itself. But there are grey areas and corner cases, as usual.
display.name is nevertheless not very tricky, and is being populated as you point out.
Relevant: https://github.com/equinor/fmu-dataio/issues/62 (just closed it, I think it is outdated.)


Update tensorflow for upcoming incompatible change: https://github.com/bazelbuild/bazel/issues/7362

Update tensorflow for upcoming incompatible change: https://github.com/bazelbuild/bazel/issues/7362
This PR updates cc_librarys to use alwayslink=1 when needed. Currently, library archives and library object groups are wrapped in --whole_archive, --no_whole_archive, thus the whole library is always linked. This will change with Bazel 1.0, and libraries which export symbols must be tagged as alwayslink=1.

cc/ @gunan @hlopko

This was submitted internaly as c3619ce


fb oauth functionality

FB oauth with using module. Review/Help needed.

Can you give us some short pointers on:

What is already working?
Which problems do need help / input?

@J12934 @Aashish683 https://www.npmjs.com/package/angularx-social-login
this is the package that is used. Problems are to login and redirect user using the data that facebook is giving.
I am unfamiliar with Oauth :( .

Also not able to run unit tests locally.
Log :
17 08 2018 08:44:37.757:INFO [launcher]: Launching browser ChromeHeadless with unlimited concurrency
17 08 2018 08:44:37.777:INFO [launcher]: Starting browser ChromeHeadless
17 08 2018 08:44:53.775:INFO [HeadlessChrome 67.0.3396 (Linux 0.0.0)]: Connected on socket toaL8dFeS9KvNQI3AAAA with id 35245764
17 08 2018 08:45:04.767:WARN [HeadlessChrome 67.0.3396 (Linux 0.0.0)]: Disconnected (1 times), because no message in 10000 ms.
HeadlessChrome 67.0.3396 (Linux 0.0.0) ERROR
  Disconnected, because no message in 10000 ms.
HeadlessChrome 67.0.3396 (Linux 0.0.0) ERROR
  Disconnected, because no message in 10000 ms.

HeadlessChrome 67.0.3396 (Linux 0.0.0) ERROR
  Disconnected, because no message in 10000 ms.

npm ERR! Test failed.  See above for more details.

Can this not be implemented similar to Google OAuth? Obviously there needs to be a config on Facebook-side for the application "OWASP Juice Shop" - just like I have one on Google-Dev-Console associated with my account. In the end that gives you some auth and redirect URL to use from the application side.

I created a Facebook-App for the OWASP Juice Shop and activated all Heroku-instances for OAuth:

https://juice-shop.herokuapp.com
https://juice-shop-staging.herokuapp.com
https://juice-shop-gsoc.herokuapp.com

:warning: Please note that Facebook only supports HTTPS, so it might not be a good choice for OAuth unless we make the application HTTPS-by-default even on localhost. If you still want to play with it, here is the App-ID needed for the OAuth-magic:<PHONE_NUMBER>674817

I will need little help for this @J12934 @bkimminich I am kind of very confused with this bug type, lots of chaining is required to actually exploit this bug.
Please refer : https://tools.ietf.org/html/rfc6819. We will have to choose a scenario which fits perfectly for juice-shop tests etc.. Feels kind of tough :(

Closed due to HTTPS only requirement of FB OAuth integration.


CHEBI:33853, please update entry

Dear ChEBI curators,
Please would you update CHEBI:33853 structural data (2D structure, formula and charge)
with attached molfile.
CHEBI_33853.mol.txt
I would also suggest to replace "Aryl-Alcohols" MetaCyc xref by "Phenols"
See:
http://metacyc.ai.sri.com/compound?orgid=META&id=Aryl-Alcohols
http://metacyc.ai.sri.com/compound?orgid=META&id=Phenols
Cheers, Anne

Now done.
Cheers,
Gareth


No published analyzer available for language version 2.19.0

What do you mean under "for language version 2.1.9"?
https://pub.dev/packages/analyzer/versions shows that there is analyzer 5.11.1 published 11 days ago, that can run using Dart 2.19, and definitely understands language 2.19 as well.


Fix word boundary bug

It's a little hacky how word_boundary works; it relies on the fact that we convert all punctuation to spaces, so it just adds a space to either side of the query. We made sure to add an extra space to the end of the document, but forgot one at the beginning.
Thanks @ararslan for the MWE

Oops, I need to fix tests


Add libxlsxwriter (A C library create Excel 2007+ XLSX files )

https://github.com/jmcnamara/libxlsxwriter
Libxlsxwriter is a C library that can be used to write text, numbers, formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.
It supports features such as:
100% compatible Excel XLSX files.
Full Excel formatting.
Merged cells.
Defined names.
Autofilters.
Charts.
Data validation and drop down lists.
Worksheet PNG/JPEG images.
Memory optimization mode for writing large files.
Source code available on GitHub.
FreeBSD license.
ANSI C.
Works with GCC, Clang, Xcode, MSVC 2015, ICC, TCC, MinGW, MingGW-w64/32.
Works on Linux, FreeBSD, OpenBSD, OS X, iOS and Windows. Also works on MSYS/MSYS2 and Cygwin.
Compiles for 32 and 64 bit.
Compiles and works on big and little endian systems.
The only dependency is on zlib.

vcpkg create libxlsxwriter https://github.com/jmcnamara/libxlsxwriter/archive/RELEASE_0.8.6.tar.gz
set EDITOR=notepad
vcpkg edit libxlsxwriter
write of file CONTROL
Source: libxlsxwriter
Version: 0.8.6
Description: A C library for creating Excel XLSX files

vcpkg install libxlsxwriter - Found 2 error

Include files should not be duplicated into the /debug/include directory. If this cannot be disabled in the project cmake, use
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
The software license must be available at ${CURRENT_PACKAGES_DIR}/share/libxlsxwriter/copyright

cd ..\vcpkg\buildtrees\libxlsxwriter\x86-windows-rel
cmake . -LA
BUILD_EXAMPLES:BOOL=OFF
BUILD_TESTS:BOOL=OFF
CMAKE_BUILD_TYPE:STRING=Release
...
IOAPI_NO_64:BOOL=OFF
PROJECT_NAME:STRING=xlsxwriter
USE_STANDARD_TMPFILE:BOOL=OFF
USE_STATIC_MSVC_RUNTIME:BOOL=OFF
USE_SYSTEM_MINIZIP:BOOL=OFF
VCPKG_APPLOCAL_DEPS:BOOL=OFF
VCPKG_TARGET_TRIPLET:STRING=x86-windows
ZLIB_INCLUDE_DIR:PATH=E:/tools/vcpkg/installed/x86-windows/include
ZLIB_LIBRARY:FILEPATH=E:/tools/vcpkg/installed/x86-windows/lib/zlib.lib
ZLIB_ROOT:STRING=

dependencies
ZLIB_LIBRARY = zlib
vcpkg edit libxlsxwriter
write of file CONTROL
Build-Depends: zlib
write of file portfile.cmake
vcpkg_install_cmake()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(INSTALL ${SOURCE_PATH}/License.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/libxlsxwriter RENAME copyright)

send the port for review
https://github.com/Microsoft/vcpkg/pulls

Are those the steps I need to follow to create a port? Never done it before.
But I did attempt those steps on my Windows box. No luck. Why does vcpkg insist on searching for Visual Studio Code? I don't have it but I do have Notepad++ x64 and it won't use

set EDITOR="C:\Program Files (x86)\Notepad++\notepad++.exe"
set EDITOR="notepad.exe"

Nope:
set EDITOR="notepad.exe"
F:\vcpkg>vcpkg edit libxlsxwriter
Error: Visual Studio Code was not found and the environment variable EDITOR is not set or invalid.
The following paths were examined:
"notepad.exe"
C:/Program Files/Microsoft VS Code Insiders/Code - Insiders.exe
C:/Program Files/Microsoft VS Code/Code.exe
C:/Program Files (x86)/Microsoft VS Code Insiders/Code - Insiders.exe
C:/Program Files (x86)/Microsoft VS Code/Code.exe
C:/Users/me/AppData/Local/Programs/Microsoft VS Code Insiders/Code - Insiders.exe
C:/Users/me/AppData/Local/Programs/Microsoft VS Code/Code.exe

You can also set the environmental variable EDITOR to your editor of choice.
This is my env variable
F:\vcpkg>echo %EDITOR%
"notepad.exe"

https://github.com/Microsoft/vcpkg/blob/master/docs/examples/packaging-zipfiles.md

But that is exactly what I initially did with Notepad++
set EDITOR="C:\Program Files\Notepad++\notepad++.exe"
without success.
I guess I will wait for the authors to do the port.

And If without "" ?

Re-opened in case some knowledgeable volunteer shows interest

hmmm.... , why do you need a port, even if you can’t configure your environment
libxlsxwriter.zip

Because I am spoiled. I want to do ./vcpkg install libxlsxwriter:x64-windows-static and start using the library like I do with rest.

good luck waiting for volunteers)))

I'm the author of libxlsxwriter. I'll look into adding it.

@Voskrese I got it working thanks to you instructions above:
C:\Users\jmcnam2\Work\vcpkg>.\vcpkg list
libxlsxwriter:x86-windows                          0.8.6            A C library for creating Excel XLSX files
zlib:x86-windows                                   1.2.11-5         A compression library

I'll do a bit more testing and then submit a PR.
How does the versioning work? Will I have to submit new PR (with a new CONTROL version) each time the library version is updated?

yes

@Voskrese I got it working thanks to you instructions above:
C:\Users\John\vcpkg>.\vcpkg list
libxlsxwriter:x86-windows                          0.8.6            A C library for creating Excel XLSX files
zlib:x86-windows                                   1.2.11-5         A compression library

I'll do a bit more testing and then submit a PR.
How does the versioning work? Will I have to submit new PR (with a new CONTROL version) each time the library version is updated?

Excellent!. Please , don't forget to test x64 static build

After install  and integrate I tried to compile the following Win32 Console application as Release-x86:
#include "stdafx.h"

#include "xlsxwriter.h"

int main() {

	lxw_workbook  *workbook = workbook_new("hello_world.xlsx");
	lxw_worksheet *worksheet = workbook_add_worksheet(workbook, NULL);

	worksheet_write_string(worksheet, 0, 0, "Hello", NULL);
	worksheet_write_number(worksheet, 1, 0, 123, NULL);

	workbook_close(workbook);

	return 0;
}

It compiled but didn't link. The errors were:
1>------ Build started: Project: ConsoleApplication8, Configuration: Release Win32 ------
1>  ConsoleApplication8.cpp
1>ConsoleApplication8.obj : error LNK2001: unresolved external symbol _workbook_new
1>ConsoleApplication8.obj : error LNK2001: unresolved external symbol _workbook_add_worksheet
1>ConsoleApplication8.obj : error LNK2001: unresolved external symbol _worksheet_write_string
1>ConsoleApplication8.obj : error LNK2001: unresolved external symbol _worksheet_write_number
1>ConsoleApplication8.obj : error LNK2001: unresolved external symbol _workbook_close
1>c:\users\John\documents\visual studio 2015\Projects\ConsoleApplication8\Release\ConsoleApplication8.exe : fatal error LNK1120: 5 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I tried the sqlite3 example from the getting started docs and that built successfully. And ideas about what might be wrong/missing?
Here are the CONSOLE and portmap.cmake files:
Source: libxlsxwriter
Version: 0.8.6
Description: A C library for creating Excel XLSX files
Build-Depends: zlib

include(vcpkg_common_functions)

vcpkg_download_distfile(ARCHIVE
    URLS "https://github.com/jmcnamara/libxlsxwriter/archive/RELEASE_0.8.6.tar.gz"
    FILENAME "RELEASE_0.8.6.tar.gz"
    SHA512 60822dc5f87531edc97cf774e234f25229a605d4430061c24b95c387318e6e05dde1b0f2f433cea14c6f84ee901c1dffe0d174bfd7e2a8459f59bcee900097db
)

vcpkg_extract_source_archive_ex(
    OUT_SOURCE_PATH SOURCE_PATH
    ARCHIVE ${ARCHIVE}
)

vcpkg_configure_cmake(
    SOURCE_PATH ${SOURCE_PATH}
    PREFER_NINJA
)

vcpkg_install_cmake()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)

file(INSTALL ${SOURCE_PATH}/License.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/libxlsxwriter RENAME copyright)

Try to add the linked lib manually if you didn't. I found relying on "Integrate" does not always work for me.

libxlsxwriter\src\RELEASE_0-ff135fa51e`CMakeLists.txt`

if(MSVC)
    if(CMAKE_CL_64)
        set(MSVC_FOLDER_PREFIX x64)
    else()
        set(MSVC_FOLDER_PREFIX Win32)
    endif()

    install(TARGETS ${PROJECT_NAME}
        LIBRARY DESTINATION "lib/${MSVC_FOLDER_PREFIX}/\${CMAKE_INSTALL_CONFIG_NAME}"
        ARCHIVE DESTINATION "lib/${MSVC_FOLDER_PREFIX}/\${CMAKE_INSTALL_CONFIG_NAME}"
        RUNTIME DESTINATION "bin/${MSVC_FOLDER_PREFIX}/\${CMAKE_INSTALL_CONFIG_NAME}"
    )
    if (NOT BUILD_SHARED_LIBS)
        install(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pdb
            DESTINATION "lib/${MSVC_FOLDER_PREFIX}/\${CMAKE_INSTALL_CONFIG_NAME}"
        )
    endif()

=
vcpkg\packages\libxlsxwriter_x64-windows\lib\ x64\Release\xlsxwriter.lib
vcpkg\installed\x64-windows\lib\ x64\Release\xlsxwriter.lib
x64\Release
-->> vcpkg\installed\x64-windows\lib\xlsxwriter.lib - ok

delete
    install(TARGETS ${PROJECT_NAME}
        LIBRARY DESTINATION "lib/${MSVC_FOLDER_PREFIX}/\${CMAKE_INSTALL_CONFIG_NAME}"
        ARCHIVE DESTINATION "lib/${MSVC_FOLDER_PREFIX}/\${CMAKE_INSTALL_CONFIG_NAME}"
        RUNTIME DESTINATION "bin/${MSVC_FOLDER_PREFIX}/\${CMAKE_INSTALL_CONFIG_NAME}"
    )
    if (NOT BUILD_SHARED_LIBS)
        install(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pdb
            DESTINATION "lib/${MSVC_FOLDER_PREFIX}/\${CMAKE_INSTALL_CONFIG_NAME}"
        )
    endif()

else(MSVC)

static failed is
        install(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pdb
            DESTINATION "lib/${MSVC_FOLDER_PREFIX}/\${CMAKE_INSTALL_CONFIG_NAME}"

MSVC_FOLDER_PREFIX}/\${CMAKE_INSTALL_CONFIG_NAME
/\ <<--

build.zip

    elseif(MSVC)
        set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /O0 /Fd${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pdb")

cl : Command line warning D9002 : ignoring unknown option '/O0'

@Voskrese Thanks for that.
Can I test local changes that I make to the Cmake file with vpkg without creating a new release tarball?

patch or vcpkg_fix... search repo

I'm the author of libxlsxwriter. I'll look into adding it.

Just checking if you were successful in creating the port.

Hi @bangusi, thanks for posting this issue. The port has been added to the vcpkg list. Please try to use it.

@NancyLi1013 Thank you for the port.

@Voskrese or @NancyLi1013 When I update the libxlsxwriter library for a release do I have to update the version number and SHA in the portfile and submit a PR?
I'm referring to the metadata here: https://github.com/microsoft/vcpkg/blob/master/ports/libxlsxwriter/portfile.cmake#L6-L7

Yup that's right.


Game crash upon creating world. (NoSuchFieldError: waterLevel)

Describe the bug
Upon creating (hitting the Create New World button) a customized world of type "Azimuthal Equidistant", the game shows the "loading world" screen for a moment, then crashes to the launcher.
To Reproduce
Describe the steps it takes to reproduce the bug

Click Create New World
Click "More World Options..."
Click "World Type" until it displays "Planet Earth"
Click Create New World
Launcher error screen states "The game crashed whilst exception in server tick loop
Error: java.lang.NoSuchFieldError: waterLevel"
View crash report

Expected behavior
The world to be created as normal, placing the player at 0,0.
Screenshots
If applicable, add screenshots to help explain your problem.

Error Logs
If applicable, paste your server logs into https://mclo.gs/ and include the link here.
Attempt on Java 1.8.0_51: https://mclo.gs/W6p7KJv
Attempt on Java 1.8.0_401: https://mclo.gs/y1FkVrP
Version (please complete the following information):

What version of TerraPlusPlus are you using?
terraplusplus-<IP_ADDRESS>8-1.12.2
other mods include:
CubicChunks 1.12.2-0.0.1271.0-SNAPSHOT-all
CubicWorldGen 1.12.2-<IP_ADDRESS>-SNAPSHOT-all
ForgeRocks 7.7.3-1.12.2-full
malisiscore-1.12.2-6.5.1
What version of the BTE Modpack or Server pack are you running? (If applicable)
N/A

Correction: this happens with Equirectangular too.

Yeah this happens to me too. Any fixes so far?

Hello, this can be worked around by downgrading to CubicWorldGen <IP_ADDRESS>.

Hello, this can be worked around by downgrading to CubicWorldGen <IP_ADDRESS>.

Thanks for that I will give that a try


fix: avoid infinite loop for square brackets custom modifier

Fixes #165 and fixes #166 and fixes #168
We check for square brackets at the end of the string only on the first iteration to avoid infinite loops.
Furthermore we correctly return prefix and modifier for:
string[]
- strin []
+ string []

Can confirm this fixes the infinite loop: https://github.com/tailwindlabs/tailwindcss-jit/issues/168
But since my own styles are still not showing correct I am unable to confirm that this fixes the issue and doesn't create a new one.

@u12206050 What styles aren't working for you so I can test it? They worked in v0.1.11?

Thanks so much for the PR, merged! I've removed the charCode bit just to make this the simplest possible change necessary to fix the open issues because I wasn't sure I understood what it was solving — can you tell me more about what issue that solves? Just want to make sure I understand before I blindly merge that part in 👍🏻 Thanks again!

@adamwathan Thanks, after using this code it is the first time I actually get to view my site using tailwind jit.
It seems very random what styles aren't working but a quick overview reveals the following styles not being applied:
fixed
hidden
flex

Hmm can't reproduce, if you can create a new issue with a reproduction repository that demonstrates the problem happy to look 👍🏻

@fedeci Nevermind I understand now! Thanks again %i👊

I created a new project from scratch just to double check and things work fine, so is just something wrong with my postcss/webpack 5 setup.


multiple types of snippets

I have two types of snippets: default and region.
If I try to create a snippet, both are in the list next to the save button. But if I change the type from default to region, the edit form does not change.
I am using 1.1.0 RC2

I found the error. I did not specify a new key in my region.xml.


Fix race condition with PasswordCredential

There's a somewhat large race condition in the sample code. Currently the password credentials are pulled from the form after successfully submitting the form to the server. On slow or flaky connections this provides plenty of time for the user to accidentally (or intentionally) change one of the fields on the form. If this happens then the credentials saved as "valid" aren't valid at all.
Replication and verification of the issue can be done easily by adding a network throttle in the Chrome Dev tools, using a custom one with a long delay (e.g. 5 seconds) and then editing one of the two credential fields after registering for a new account in the sample (although, network throttling looks broken in Canary currently, even setting it to offline has no effect). The credentials will be saved successfully but no future auto-logins will succeed because the saved credentials are not correct.
The larger issue is that the spec encourages developers to the pattern that was already in the sample code, since one of the two constructors for PasswordCredential is a HTMLFormElement which means providing the form element itself, which is vulnerable to this race-condition.

Another way to avoid the race condition can be found in the sign in example in the spec, although I'm not certain it entirely removes the race condition since it still references the HTMLFormElement two separate times, providing possibility for it to have changed.

Sorry for the delay. This totally makes sense. Merging the change.


How to use widget?

I have followed all the steps as you have written in the readme
The plugin is opening but it shows only 6 tiles.
How to use widget and where ?(I am new in Cakephp)
Thanks for help in advance...

Have a look at samples.

How to call these widgets...

I am getting the error with ajax response.
how to sort out it....


Circular import issue

I cannot import the module from both the terminal and Spyder IDE, getting the same following message:
ImportError: cannot import name 'Truths' from partially initialized module 'truths' (most likely due to a circular import) (/Users/.../Library/Python/3.8/lib/python/site-packages/truths/__init__.py)
I am using Python 3.8 for terminal and 3.9 for Spyder IDE.

I'd like to bump this issue because I am suffering from it too

You can replace from truths import Truths inside of the __init__.py with from .truths import Truths and it should work.


[bug]: not detecting python

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
6
What happened?
when i go to run the installer, it says that python is not installed but i uninstalled python and installed the version comended but i still get this error
"No python was detected on your system. Please install Python version 3.9.0 or higher. We recommend Python 3.10.9 from https://www.python.org/downloads/release/python-3109/
The installer will exit now."
Screenshots
No response
Additional context
No response
Contact Details
No response

Please make sure to check the box labelled 'add python.exe to PATH' when in the python installer.

Same thing is happening to me. I have unstalled it and reinstalled it making sure the check mark is on add python.exe to PATH.
Is there a file I can copy the path on.

I tried everything, including adding it to the path manually, rebooting, etc... I had to install Python 3.10 from the Microsoft Store and now it seems to work.

Jtoranato
I finally got it after unistall of python and reinstall. I am so happy, I've been reading everything for days!

I've tried to uninstall and reinstall python. I've even changed the directory of the installation file and still nothing works :(

Just found the solution. You need to go to Settings > Manage App Execution Aliases and disable python.exe and python3.exe

gogurtenjoyer commented on Feb 19, 2023
Please make sure to check the box labelled 'add python.exe to PATH' when in the python installer.
This worked for me! Thank you


Issue #3094

Describe your changes :

I worked on the Issue #3094 In which we have to mount the volume for ingestion container. So have done the changes for mounting the named volume to ingestion container

Type of change :

[x] Improvement -#3094

@Vj-L tests are failing

Yes I am Checking

@akash-jain-10 review and merge please.


Replace PNG with SVG and compress SVGs in custom form controls

Replace PNG with SVG
| Preview (scale 500%)
------------ | -------------
before / before (pixelated) / after |
Compress SVGs
Well compressed with SVGO, but I'm sure it is possible to compress more:

form-icon-success
form-icon-warning
form-icon-error
input:checked icon

(re)drawn by me (with maximum compression, is impossible to compress better :muscle:):

c-select
input:indeterminate icon
input:checked icon

What do you think about this hack?
input:checked ~ .c-indicator {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle fill='%23fff' r='3'/%3E%3C/svg%3E");
}

Looks dirty, but still smaller. Read more: https://codepen.io/Tigt/blog/optimizing-svgs-in-data-uris

What do you think about this hack?

It sure feels dirty but also makes changing the color much easier.

Could it be done with help from glyphicons?

@YaroslavShapoval We no longer include/use Glyphicons in v4.

It sure feels dirty but also makes changing the color much easier.

 I missed this when I took a casual glance at this PR the other day.

@mdo Well, @thekondrashov didn't implement it in the PR yet, he gave this example:
input:checked ~ .c-indicator {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle fill='%23fff' r='3'/%3E%3C/svg%3E");
}

So what do we do with this PR? SVGs are much better now without old IE support.

I'm game!

@thekondrashov: please fetch and rebase against v4-dev.

Need to figure out how to balance this with #17476.

I converted the icons from this PR to ASCII:
data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.4 1l-.7.7-2.8 2.8-.8-.8-.7-.7L0 4.4l.7.7 1.5 <IP_ADDRESS>.7-.7 3.5-3.5.7-.7L6.4 1z'/%3E%3C/svg%3E
data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M0 3v2h8V3z'/%3E%3C/svg%3E
data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E
data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E
data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 612 792'%3E%3Cpath fill='%235cb85c' d='M233.8 610c-13.3 0-26-6-34-16.8L90.5 448.8C76.3 430 80 403.3 98.8 389c18.8-14.2 45.5-10.4 59.8 8.4l72 95L451.3 242c12.5-20 38.8-26.2 58.8-13.7 20 12.4 26 38.7 13.7 58.8L270 590c-7.4 12-20.2 19.4-34.3 20h-2z'/%3E%3C/svg%3E
data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 612 792'%3E%3Cpath fill='%23d9534f' d='M447 544.4c-14.4 14.4-37.6 14.4-52 0l-89-92.7-89 92.7c-14.5 14.4-37.7 14.4-52 0-14.4-14.4-14.4-37.6 0-52l92.4-96.3-92.4-96.3c-14.4-14.4-14.4-37.6 0-52s37.6-14.3 52 0l89 92.8 89.2-92.7c14.4-14.4 37.6-14.4 52 0 14.3 14.4 14.3 37.6 0 52L354.6 396l92.4 96.4c14.4 14.4 14.4 37.6 0 52z'/%3E%3C/svg%3E
data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 612 792'%3E%3Cpath fill='%23f0ad4e' d='M603 640.2l-278.5-509c-3.8-6.6-10.8-10.6-18.5-10.6s-14.7 4-18.5 10.6L9 640.2c-3.7 6.5-3.6 14.4.2 20.8 3.8 6.5 10.8 10.4 18.3 10.4h557c7.6 0 14.6-4 18.4-10.4 3.5-6.4 3.6-14.4 0-20.8zm-266.4-30h-61.2V549h61.2v61.2zm0-107h-61.2V304h61.2v199z'/%3E%3C/svg%3E

and I compared it with the #17476 PR by @efender and here are results:

Icon name
by @efender in plain bytes
by me in plain bytes
winner
reduce size even more?

input:checked ~ .c-indicator (checkbox)
214
214
equally
yes, need an svg expert

input:indeterminate ~ .c-indicator
168
145
i am
probably yes, but it's hard

input:checked ~ .c-indicator (radio)
185
139
i am
no, 139 is the absolute minimum

.c-select (png icon)
not represented
156
i am
no, 156 is the absolute minimum

form-icon-success
365
347
i am
yes, need an svg expert

form-icon-error
441
420
i am
yes, need an svg expert

form-icon-warning
391
379
i am
yes, need an svg expert

Also all a hex colors are translated to lowercase (improves compression) in my PR.
How can I help? Sorry, I'm new to git and I don't know how to use git for this.

Also all a hex colors are translated to lowercase (improves compression) in my PR.
How can I help? Sorry, I'm new to git and I don't know how to use git for this.

Rad! If all those changes are already part of this pull request, that's great! If not, you can push the changes right to the same branch here and they'll automatically show up here on GitHub.
There's also a merge conflict in part of your code here—let me know if you are unsure how to clear that up.

No, I didn't implement it in the PR yet. It's possible to do it via the web interface of GitHub?

Commit c9725926b2f30bed4e37f57c20ef8ffeb2fd233b is unwanted.

And more optimizations - http://sassmeister.com/gist/a02447e3bed566e3068c
I redrew the icons (less instructions), sources here - https://drive.google.com/open?id=0B83vy7NwEQtkeE9DaWFSNkhxNTg

Commit c972592 is unwanted.

How can I fix this?

I counted the table with the new values by @efender:

And more optimizations - http://sassmeister.com/gist/a02447e3bed566e3068c
I redrew the icons (less instructions), sources here - https://drive.google.com/open?id=0B83vy7NwEQtkeE9DaWFSNkhxNTg

and here are results:

Icon name
by @efender in plain bytes
by me in plain bytes
winner
reduce size even more?

input:checked ~ .c-indicator (checkbox)
193
214
@efender
no, design can be broken

input:indeterminate ~ .c-indicator
145
145
equally, but @efender is better
no, design can be broken

input:checked ~ .c-indicator (radio)
151
139
i am
no, 139 is the absolute minimum

.c-select (png icon)
not represented
156
i am
no, 156 is the absolute minimum

form-icon-success
258
347
@efender
probably yes, but it's very hard

form-icon-error
329
420
@efender
probably yes, but it's very hard

form-icon-warning
310
379
@efender
probably yes, but it's very hard

Here the best results at the moment:
input:checked ~ .c-indicator (by @efender)
data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E

input:indeterminate ~ .c-indicator (by @efender)
data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M0 3h8v2H0z'/%3E%3C/svg%3E

input:checked ~ .c-indicator (by me)
data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E

.c-select icon (by me)
data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E

form-icon-success (by @efender)
data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M2.31 6.726l-1.698-2.2c-.423-1.032.452-1.407 1.1-.8l1.1 1.4 3.4-3.8c.594-.63 1.59-.267 1.2.7l-4 4.6c-.443.514-.81.418-1.1.1z' fill='%235b5'/%3E%3C/svg%3E

form-icon-error (by @efender)
data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 8 8'%3E%3Cpath id='a' fill='%23d54' d='M.228 1.548l6.135 6.197c.833.77 2.183-.36 1.403-1.3L1.632.245C.725-.538-.518.735.228 1.55z'/%3E%3Cuse xlink:href='%23a' transform='rotate(90 4 4)'/%3E%3C/svg%3E

form-icon-warning (by @efender)
data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fa4' d='M4.4 5.324h-.8v-2.46h.8zm0 1.42h-.8V5.89h.8zM3.76.63L.04 7.075c-.<IP_ADDRESS>5.26.426h7.397c.242 0 .372-.226.258-.426C6.726 4.924 5.47 2.79 4.253.63c-.113-.174-.39-.174-.494 0z'/%3E%3C/svg%3E

Commit c972592 is unwanted.

How can I fix it?

We can fix it on our end when we decide to merge this.

@cvrebert , now merge conflict fixed? I need something else to do?

No. This is awaiting further review from @mdo.

I think I broke something in _variables.scss file. I will try to fix.

I apologize for my mistakes, I'm new to git.

Validation states are too big now, and it looks like the warning and error ones have been swapped.

Oh, I'm sorry. I have not tested icons from @efender after optimizations.
Now there are small differences new validation feedback icons from the original icons, but they are minimal.

I think it is better to specify the size of icons in styles using background-size
background-size: auto 1rem;

Yes, I agree. Need to return changes of the value of the viewBox in svgs and manipulate the dimensions in other ways.
Now I'm trying to optimize icons even more.
At the moment, this is the best version of form-icon-danger icon:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-1 -1 5 5" fill="#d9534f">
  <path stroke="#d9534f" d="M 0 0 l 3 3 M 3 0 l -3 3"/>
  <circle r=".5"/>
  <circle r=".5" cx="3"/>
  <circle r=".5" cy="3"/>
  <circle r=".5" cx="3" cy="3"/>
</svg>

Compressed to:
data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23d9534f' viewBox='-1 -1 5 5'%3E%3Cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E

@efender, I created JSFiddle preview.
Looks like it is better to use background-size: 1.5rem 1rem; instead background-size: auto 1rem; for validation feedback icons and background-size: .5rem .75rem; for select menus.
Checkboxes and radios work perfectly.

Hi @thekondrashov!
You appear to have posted a live example (https://fiddle.jshell.net/kondrashov/ztcLovor/show/light/), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:

line 87, column 3 thru column 48: Element base not allowed as child of element body in this context. (Suppressing further errors from this subtree.)

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

Fixed JSFiddle preview.

Hi @thekondrashov!
You appear to have posted a live example (https://fiddle.jshell.net/kondrashov/ztcLovor/1/show/light/), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

line 92, column 7: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 98, column 7: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 105, column 7: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 115, column 7: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 121, column 7: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 128, column 7: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 138, column 7: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 144, column 7: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 151, column 7: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 161, column 7: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 186, column 7: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 214, column 7: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 234, column 7: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 258, column 7: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 269, column 7: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid
line 281, column 7: E003: Found one or more .rows that were not children of a grid column or descendants of a .container or .container-fluid

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

So, where are we with this?

@XhmikosR, sorry for the delay.
I rewrote the JSFiddle preview with scss. In this JSFiddle I'm provide two alternatives for form validation icons: ascii svgs with and without sizing.
Please, check it and if it's okay, I will create a commit with your favourite option.

@thekondrashov Wow, that's awesome work!
I'm a fan of the ascii #3 variations as the icons in the form controls are resized to compensate for the form control size changes.


Fix videoPreview.js

Fixed an issue that Amazon Transcribe results were not displayed in the GUI.

Thanks for your input fuminora. This issue was in our backlog (https://github.com/aws-solutions/media2cloud-on-aws/issues/30) and it will be fixed in the next release.


Polyend Tracker = MacOs

Hi - Polyend Tracker is a music device using MTP. Data resides in an SD card, but turning on its File Transfer feature, the SD card does not show up in your app. Anything else I need to do? I'm running MacOs Big Sur.

@otternet I could take a look.
Could you download the OpenMTP-3.0 public beta version from here: https://drive.google.com/file/d/1wpSlkGWZKe4-nRYcdJaPVA3Y6kOBMTsO/view?usp=sharing and check if the device works?
In case if it doesn't work then do send me the error log by going to Help menu -> Report Bugs -> Email error logs -> Attach the log file to the email.
Cheers


Inference is giving ValueError: When input_signature is provided, all inputs to the Python function must be convertible to tensors:

Hi,
I started training the model using the entire Common Voice dataset given in the github page.
I'm using tensorflow 2.2.0 with python 3.6. The training command used
python run_rnnt.py --mode train --data_dir data_trail/preprocessed --batch_size 8 --eval_size 100
using 1080Ti single GPU. I got OOM error after about 18k steps (still in Epoch 0) and my loss was about 116.7. The Accuracy graph in tensorboard is showing about 0.42.
Since a checkpoint is getting saved for every 1000 steps,  I tried to run evaluation:
python transcribe_file.py --checkpoint model/checkpoint_15000_109.9516.hdf5 --i data_trail/clips/common_voice_en_19945797.wav
But I'm getting the following error:
2020-06-12 11:19:38.910255: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1
2020-06-12 11:19:38.929092: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: GeForce GTX 1080 Ti computeCapability: 6.1
coreClock: 1.6705GHz coreCount: 28 deviceMemorySize: 10.91GiB deviceMemoryBandwidth: 451.17GiB/s
2020-06-12 11:19:38.929267: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.2
2020-06-12 11:19:38.930665: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10
2020-06-12 11:19:38.931896: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10
2020-06-12 11:19:38.932090: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10
2020-06-12 11:19:38.933532: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10
2020-06-12 11:19:38.934265: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10
2020-06-12 11:19:38.937197: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
2020-06-12 11:19:38.938298: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0
2020-06-12 11:19:38.938559: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE3 SSE4.1 SSE4.2 AVX AVX2 FMA
2020-06-12 11:19:38.943923: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency:<PHONE_NUMBER> Hz
2020-06-12 11:19:38.944538: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x4f70350 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-06-12 11:19:38.944555: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-06-12 11:19:39.013200: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2bfda90 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2020-06-12 11:19:39.013246: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): GeForce GTX 1080 Ti, Compute Capability 6.1
2020-06-12 11:19:39.014703: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: GeForce GTX 1080 Ti computeCapability: 6.1
coreClock: 1.6705GHz coreCount: 28 deviceMemorySize: 10.91GiB deviceMemoryBandwidth: 451.17GiB/s
2020-06-12 11:19:39.014784: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.2
2020-06-12 11:19:39.014824: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10
2020-06-12 11:19:39.014860: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10
2020-06-12 11:19:39.014896: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10
2020-06-12 11:19:39.014931: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10
2020-06-12 11:19:39.014962: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10
2020-06-12 11:19:39.014991: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
2020-06-12 11:19:39.017390: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0
2020-06-12 11:19:39.017452: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.2
2020-06-12 11:19:39.020326: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-06-12 11:19:39.020350: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108]      0
2020-06-12 11:19:39.020361: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0:   N
2020-06-12 11:19:39.022881: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9907 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080 Ti, pci bus id: 0000:01:00.0, compute capability: 6.1)
2020-06-12 11:19:41.880417: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10
2020-06-12 11:19:41.984154: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10
Traceback (most recent call last):
  File "/home/tumu/Self/Research/Work/tensorflow_work/tensorflow_2.2_env/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 2293, in _convert_inputs_to_signature
    value, dtype_hint=spec.dtype)
  File "/home/tumu/Self/Research/Work/tensorflow_work/tensorflow_2.2_env/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1341, in convert_to_tensor
    ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
  File "/home/tumu/Self/Research/Work/tensorflow_work/tensorflow_2.2_env/lib/python3.6/site-packages/tensorflow/python/framework/constant_op.py", line 321, in _constant_tensor_conversion_function
    return constant(v, dtype=dtype, name=name)
  File "/home/tumu/Self/Research/Work/tensorflow_work/tensorflow_2.2_env/lib/python3.6/site-packages/tensorflow/python/framework/constant_op.py", line 262, in constant
    allow_broadcast=True)
  File "/home/tumu/Self/Research/Work/tensorflow_work/tensorflow_2.2_env/lib/python3.6/site-packages/tensorflow/python/framework/constant_op.py", line 270, in _constant_impl
    t = convert_to_eager_tensor(value, ctx, dtype)
  File "/home/tumu/Self/Research/Work/tensorflow_work/tensorflow_2.2_env/lib/python3.6/site-packages/tensorflow/python/framework/constant_op.py", line 96, in convert_to_eager_tensor
    return ops.EagerTensor(value, ctx.device_name, dtype)
ValueError: Attempt to convert a value (None) with an unsupported type (<class 'NoneType'>) to a Tensor.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "transcribe_file.py", line 59, in <module>
    main(args)
  File "transcribe_file.py", line 38, in main
    decoded = decoder_fn(log_melspec)[0]
  File "/home/tumu/Self/Research/Work/tensorflow_work/tensorflow_2.2_env/lib/python3.6/site-packages/tensorflow/python/eager/def_function.py", line 580, in __call__
    result = self._call(*args, **kwds)
  File "/home/tumu/Self/Research/Work/tensorflow_work/tensorflow_2.2_env/lib/python3.6/site-packages/tensorflow/python/eager/def_function.py", line 648, in _call
    *args, **kwds)
  File "/home/tumu/Self/Research/Work/tensorflow_work/tensorflow_2.2_env/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 2238, in canonicalize_function_inputs
    self._flat_input_signature)
  File "/home/tumu/Self/Research/Work/tensorflow_work/tensorflow_2.2_env/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 2299, in _convert_inputs_to_signature
    format_error_message(inputs, input_signature))
ValueError: When input_signature is provided, all inputs to the Python function must be convertible to tensors:
  inputs: (
    tf.Tensor(
[[[ -9.891962   -10.041118   -10.170887   ...  -2.5574753   -3.1098373
    -2.8594036 ]
  [ -4.2638397   -3.8721824   -3.818324   ...  -1.2381899   -1.4718239
    -1.2757974 ]
  [ -3.8065548   -3.9217172   -3.9833403  ...  -2.5127609   -2.4093955
    -1.8164482 ]
  ...
  [  0.26996142   0.24929267   0.10105902 ...  -1.764302    -1.2930858
    -1.6539826 ]
  [ -1.3995155   -1.8580544   -2.5036726  ...  -1.9249303   -2.1395605
    -1.7865329 ]
  [ -2.521644    -2.1898646   -2.1456     ...  -2.134868    -2.5040653
    -2.1412349 ]]], shape=(1, 166, 240), dtype=float32),
    None)
  input_signature: (
    TensorSpec(shape=(None, None, 240), dtype=tf.float32, name=None),
    TensorSpec(shape=(), dtype=tf.int32, name=None))

Is this because here (hparams is not a tensor but a json) ?

Have you fixed the issue anyway?

Hi,
No didn't fix this issue. Not sure how to fix this

@tumusudheer What did the word-error-rate look like during your training?
Mine does not look very promising:

Finally, issue fixed.
Follow the 2nd solution in this post.
iterator = iter(train_dataset) @tf.function(input_signature=[iterator.element_spec]) def train_step(dataset_inputs):     def step_fn(inputs):         # ...  for batch, inputs in enumerate(train_dataset):     loss, metrics_results = train_step(next(iterator))

Hi,
I met the same problem and tried to fix it according to the 2nd solution in https://github.com/tensorflow/tensorflow/issues/29911#issuecomment-505688141
but it didn't work the bug is here.
Traceback (most recent call last):
File "/acoustic_data1/renxiaoming/install_dir/miniconda3/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 2293, in _convert_inputs_to_signature
value, dtype_hint=spec.dtype)
File "/acoustic_data1/renxiaoming/install_dir/miniconda3/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 1341, in convert_to_tensor
ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
File "/acoustic_data1/renxiaoming/install_dir/miniconda3/lib/python3.7/site-packages/tensorflow/python/framework/constant_op.py", line 321, in _constant_tensor_conversion_function
return constant(v, dtype=dtype, name=name)
File "/acoustic_data1/renxiaoming/install_dir/miniconda3/lib/python3.7/site-packages/tensorflow/python/framework/constant_op.py", line 262, in constant
allow_broadcast=True)
File "/acoustic_data1/renxiaoming/install_dir/miniconda3/lib/python3.7/site-packages/tensorflow/python/framework/constant_op.py", line 270, in _constant_impl
t = convert_to_eager_tensor(value, ctx, dtype)
File "/acoustic_data1/renxiaoming/install_dir/miniconda3/lib/python3.7/site-packages/tensorflow/python/framework/constant_op.py", line 96, in convert_to_eager_tensor
return ops.EagerTensor(value, ctx.device_name, dtype)
ValueError: Attempt to convert a value (PerReplica:{
0: <tf.Tensor: shape=(1, 310, 240), dtype=float32, numpy=
array([[[-8.555949 , -8.693979 , -8.79496  , ..., -1.2911978,...
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run_rnnt.py", line 598, in
app.run(main)
File "/acoustic_data1/renxiaoming/install_dir/miniconda3/lib/python3.7/site-packages/absl/app.py", line 300, in run
_run_main(main, args)
File "/acoustic_data1/renxiaoming/install_dir/miniconda3/lib/python3.7/site-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "run_rnnt.py", line 557, in main
eval_metrics=[accuracy_fn, wer_fn])
File "run_rnnt.py", line 357, in run_training
checkpoint_model()
File "run_rnnt.py", line 322, in checkpoint_model
metrics=eval_metrics)
File "run_rnnt.py", line 444, in run_evaluate
loss, metrics_results = eval_step(inputs)
File "/acoustic_data1/renxiaoming/install_dir/miniconda3/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py", line 580, in call
result = self._call(*args, **kwds)
File "/acoustic_data1/renxiaoming/install_dir/miniconda3/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py", line 648, in _call
*args, **kwds)
File "/acoustic_data1/renxiaoming/install_dir/miniconda3/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 2238, in canonicalize_function_inputs
self._flat_input_signature)
File "/acoustic_data1/renxiaoming/install_dir/miniconda3/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 2299, in _convert_inputs_to_signature
format_error_message(inputs, input_signature))
ValueError: When input_signature is provided, all inputs to the Python function must be convertible to tensors:
inputs: (
(PerReplica:{
0: <tf.Tensor: shape=(1, 310, 240), dtype=float32, numpy=
array([[[-8.555949 , -8.693979 , -8.79496  , ..., -1.2911978,...

Hi there,
I met same error with 4 gpus but I fixed it by revising some codes of run_rnnt.py
I just deleted input_signature of above each eval, train function and it remained just<EMAIL_ADDRESS>I'm a tensorflow beginner, so I don't know if this is correct, but it works.
my environment is below:
GTX1080Ti x 4
Tensorflow-gpu 2.2.0rc0 + CUDA 10.0.130 (it is pulled from docker hub)


dartanalyzer crashes on function typed subterm in bound (with and without --strong)

Consider the following program:
class C<X, Y extends List<X Function(X)>> {
  X x;
  Y funs;
  C(this.x, this.funs);
  void run() {
    for (var f in funs) x = f(x);
  }
}

main() {
  print((new C<int, List<int Function(int)>>(
      42, <int Function(int)>[(int x) => x + 1])..run()).x);
}

Running dartanalyzer or dartanalyzer --strong (2.0.0-dev.7.0) on this program causes the following crash (with identical output with and without --strong):
Unhandled exception:
NoSuchMethodError: The getter 'element' was called on null.
Receiver: null
Tried calling: element
#0      Object.noSuchMethod (dart:core-patch/dart:core/object_patch.dart:46)
#1      TypeResolverVisitor.visitGenericFunctionType (package:analyzer/src/generated/resolver.dart:9629)
#2      GenericFunctionTypeImpl.accept (package:analyzer/src/dart/ast/ast.dart:5729)
#3      NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7987)
#4      TypeArgumentListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:10555)

Here is a simpler program that causes a similar crash, with and without --strong:
class D<X, Y extends List<X Function(X)>> {}
main() => new D();

@MichaelRFairhurst Is this something you could take a look at?


mqtt authentication

Hi,
is it possible to use mqtt authentication?
I want to send the MQTT messages to a protected (User & PW) Mosquitto Broker
Greetings Sebastian

Maybe you can.
I don't have a protected (User & PW) Mosquitto Broker so I can't test it.
Can you show how to install the protected (User & PW) Mosquitto Broker?

Try latest.

Mosquitto Username and Password authentication setup

Thanks, I will try it tonight.

I read this.
https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-the-mosquitto-mqtt-messaging-broker-on-debian-10

Hi,
a quick question about the broker, is it in deaufult on the sae ESP, or whitch I want on a seperate device?
And second, my flashing attempts failed several times, even with different boards (esp32/esp32s2).
Error.txt
As a newbie in ESP-IDF I can't get ahead of this error
Thanks

What is sae ESP?
This is an error I've never seen before.
esp-idf comes with many samples.
Can you build official samples?


Adding new ECO code for Genetics platform

This ticket is related to #856
The evidence_codes_info field was missing from the genetics portal evidences as the new source was not introduced into the ECO json file. The variant to gene mapping pipeline represents a new evidence class.
Affected repository: ECO ontology generation
A relatively straightforward resolution is to add the following line to the open_targets_terms dictionary:
'http://identifiers.org/eco/locus_to_gene_pipeline':'Open Targets Genetics portal locus to gene annotation pipeline,
This will lead to the addition of the following evidence class:
{
    "code": "http://identifiers.org/eco/locus_to_gene_pipeline",
    "label": "Open Targets Genetics portal locus to gene annotation pipeline",
    "path": [
        {
            "label": "evidence",
            "uri": "http://purl.obolibrary.org/obo/ECO_0000000"
        },
        {
            "label": "Open Targets Genetics portal locus to gene annotation pipeline",
            "uri": "http://identifiers.org/eco/locus_to_gene_pipeline"
        }
    ],
    "path_codes": [
        "ECO_0000000",
        "locus_to_gene_pipeline"
    ],
    "path_labels": [
        "evidence",
        "Open Targets Genetics portal locus to gene annotation pipeline"
    ]
}

Fixed by https://github.com/opentargets/ontology-utils/pull/11


Local Module import issue

Hi,
My issue is if I want to import a function say function1 in module1 of SharedCode, but for me the SharedCode is inside the API folder, like below
FunctionApp
|_ HttpTrigger1
     |_ __init__.py
     |_ function.json
     |_ SharedCode
        |_ module1.py
        |_ module2.py
|_ HttpTrigger2
     |_ __init__.py
     |_ function.json

The various functions I want to run are in module1 and module2
Usually I'd have done
from ShareCode.module1 import function1
That does not work.
from .ShareCode.module1 import function1 also gives module not found error, shown below

Executed 'Functions.HtmBatchAzureFunc' (Failed, Id=d70ee3dc-dca2-4d89-b39c-5c902ed64b11)
[5/22/19 8:54:05 PM] System.Private.CoreLib: Exception while executing function: Functions.HtmBatchAzureFunc. System.Private.CoreLib: Result: Failure
[5/22/19 8:54:05 PM] Exception: ModuleNotFoundError: No module named 'htm_shared_src'
[5/22/19 8:54:05 PM] Stack:   File "/usr/local/Cellar/azure-functions-core-tools/2.7.1158/workers/python/deps/azure/functions_worker/dispatcher.py", line 229, in _handle__function_load_request

Can anyone help

See https://github.com/Azure/azure-functions-python-worker/issues/374#issuecomment-479534775 for guidance on referencing modules in your function app. Keeping this open to update developer guide with this info.

Addressed in this PR - https://github.com/MicrosoftDocs/azure-docs-pr/pull/78522

Hi @asavaritayal, I just filed a new issue similar to this one: https://github.com/Azure/azure-functions-python-worker/issues/577.  I have tried following a number of suggestions based on posts here and in the VSC issues list, to no avail, and I'm completely stuck.  If you can help me, I'd be hugely grateful!


Full installation Video Here

https://youtu.be/CuBJHH8UVFI

Doesn't work the way you show.

there is a little change instead of install.py ,you should use
pip install -r requirements.txt
On Sun 23 Jun, 2019, 3:49 AM mdaziz758<EMAIL_ADDRESS>wrote:

Doesn't work the way you show.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Pure-L0G1C/Instagram/issues/97?email_source=notifications&email_token=AJ4FXIZKAWPBEHZGJEWXXQTP32QOHA5CNFSM4HONWXL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYKSL2I#issuecomment-504702441,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ4FXIZ46HAYH63KE3RZYLLP32QOHANCNFSM4HONWXLQ
.

@mdaziz758 @mdaziz758 @mdaziz758 @HackerUniverse @Pure-L0G1C @JoryD
please help it is not working
please provide a resolution or new method


install failed under python 3.5.2 32bit

D:\Python35-32>pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple pkuseg
Collecting pkuseg
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/0f/c4/e9503aec66cc092ac1529d33242bd4f3763c0afbc4e82a27d6263c62845e/pkuseg-0
.0.21.tar.gz (48.7MB)
    100% |████████████████████████████████| 48.8MB 12kB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\qiwang\AppData\Local\Temp\pip-build-cafm62l4\pkuseg\setup.py", line 5, in <module>
        from Cython.Build import cythonize
    ImportError: No module named 'Cython'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\qiwang\AppData\Local\Temp\pip-build-cafm62l4\pkuseg\

and I installed Cython, but still cant install pkuseg
D:\Python35-32>pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -U Cython
Collecting Cython
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/33/6b/6558b0b0324396c3e9c88de8cd93eaeb492c6f5c8db34c6a742b8a46bc34/Cython-0
.29.6-cp35-cp35m-win32.whl (1.5MB)
    100% |████████████████████████████████| 1.5MB 182kB/s
Installing collected packages: Cython
Successfully installed Cython-0.29.6

D:\Python35-32>pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -U pkuseg
Collecting pkuseg
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/0f/c4/e9503aec66cc092ac1529d33242bd4f3763c0afbc4e82a27d6263c62845e/pkuseg-
0.0.21.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\qiwang\AppData\Local\Temp\pip-build-ghducco1\pkuseg\setup.py", line 53, in <module>
        setup_package()
      File "C:\Users\qiwang\AppData\Local\Temp\pip-build-ghducco1\pkuseg\setup.py", line 47, in setup_package
        ext_modules=cythonize(extensions, annotate=True),
      File "d:\python35-32\lib\site-packages\Cython\Build\Dependencies.py", line 967, in cythonize
        aliases=aliases)
      File "d:\python35-32\lib\site-packages\Cython\Build\Dependencies.py", line 812, in create_extension_list
        for file in nonempty(sorted(extended_iglob(filepattern)), "'%s' doesn't match any files" % filepattern):
      File "d:\python35-32\lib\site-packages\Cython\Build\Dependencies.py", line 111, in nonempty
        raise ValueError(error_msg)
    ValueError: 'pkuseg/inference.pyx' doesn't match any files

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\qiwang\AppData\Local\Temp\pip-build-ghducco1\pkuseg\

您好，目前pkuseg仅支持mac，linux，windows 64位的python 3.5， 3.6，3.7版本，暂时还不支持windows 32位的系统。

the err msg of tensorflow is better
D:\Python35-32>pip3 install tensorflow
Collecting tensorflow
  Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow


docs: ADR: Telemetry v1beta1 API

Description
Changes proposed in this pull request (what was done and why):

Add an ADR describing Telemetry API transition to v1beta1

Changes refer to particular issues, PRs or documents:

https://github.com/kyma-project/telemetry-manager/issues/712

Traceability

[ ] The PR is linked to a GitHub issue.
[ ] New features have a milestone set.
[ ] New features have defined acceptance criteria in a corresponding GitHub Issue, and all criteria are satisfied with this PR.
[ ] The corresponding GitHub issue has a respective area and kind label.
[ ] The follow-up issues (if any) are linked in the Related Issues section.
[ ] Adjusted the documentation if the change is user-facing.
[ ] The feature is unit-tested
[ ] The feature is e2e-tested

/hold


how pass data to x-slot?

Laravel Version: 8.32.1
PHP Version: 7.4

Description:
I want to pass a variable to the x-slot
The slot is rendered before the component is rendered . why? is big problem :(((((
components\data-table.blade.php

            @foreach($columns as $column)
                 {{$test1}}
            @endforeach

app.blade.php
<x-data-table
                :columns="[
                        ['title'=>'','data'=> 'id', 'orderable'=> false],
                        ['title'=>'First Name', 'data'=> 'first_name', 'orderable'=> false],
                        ['title'=>'Last Name', 'data'=> 'last_name',  'orderable'=> false],
                        ['title'=>'National Code', 'data'=> 'national_code',  'orderable'=> false],
                        ['title'=>'Phone', 'data'=> 'phone', 'orderable'=> false],
                        ['title'=>'','data'=> 'action', 'orderable'=> false]
                    ]"
                url="http://portal.test/users?section=triage&triage=true"
>
<x-slot name="test1" >
     {{$column->id}}
</x-slot>
</x-data-table>

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.

Hello,
My comment is about this issue and also this PR https://github.com/laravel/framework/pull/29111.
I know it is a bit old, but I'd like to add my point of view.
I agree with @Angelinsky7, we should be able to customize some display logic, in specific places decided by the component creator. In fact, as @browner12 says:

Components are responsible for the display logic. Slots are ways to pass data to the component.

This is correct, but not entirely : you may have a (big) component, i.e. a datatable with filters, headers, etc. (a lot of logic and display logic you do NOT want to be duplicating), but you may also want to allow the developer to use the component and customize what is displayed inside each cell.
This exemple is what is available in Vuetify (VueJS), here is the doc https://vuetifyjs.com/en/components/data-tables/#item.

Hello,
My comment is about this issue and also this PR https://github.com/laravel/framework/pull/29111.
I know it is a bit old, but I'd like to add my point of view.
I agree with @Angelinsky7, we should be able to customize some display logic, in specific places decided by the component creator. In fact, as @browner12 says:
Components are responsible for the display logic. Slots are ways to pass data to the component.
This is correct, but not entirely : you may have a (big) component, i.e. a datatable with filters, headers, etc. (a lot of logic and display logic you do NOT want to be duplicating), but you may also want to allow the developer to use the component and customize what is displayed inside each cell.
This exemple is what is available in Vuetify (VueJS), here is the doc https://vuetifyjs.com/en/components/data-tables/#item.
I have also found this https://github.com/laravel/ideas/issues/2116, where the PR for @aware directive is mentioned. But this directive only allows access to component attributes and not loop variables (i.e.).

@NorthBlue333 your example does not solve the original comment. Or am I missing something?
<x-slot name="test1" >
     {{$column->id}} <—- how to access current item from loop ?
</x-slot>

@robsontenorio indeed it does not. My example does not use x-slot at all as it is a workaround using «sub-components».

I'm facing the same issue.
It is weird that this is not of interest to the community; how do you guys make dynamic tables then :thinking:

ok I found a workaround for this, base a function as an attribute and execute it in the component, like:
Base
<x-pagination.length-aware-pagination :columns="[
'name',
'status'
]" :paging="$entities">
    <x-slot:status :html="fn($entity) => $entity->status.' worked' ">

    </x-slot:status>
</x-pagination.length-aware-pagination>
@endsection

component
 @foreach($columns as $column)
    @if(isset($$column) && $$column instanceof \Illuminate\View\ComponentSlot)
        {{$$column->attributes->get('html', fn() => $$column)($entity)}}
    @else
        {{$entity[$column]}}
    @endif
@endforeach


Publish all button

It would be great if there would be a 'publish all' button. The reason for this is when doing a manual addition of multiple Asciidoc files, for example when importing from Wordpress, so that I don't have manually publish each and every document on it's own.

We'd need to parse all files in the _posts directory and assume they are all targets for publishing. At the moment, the interface controls how saved vs published files are controlled.
It would be a great idea for folks migrating their blogs.
There is a resync button, but it only resyncs the database state, not the condition of the blog posts themselves.

@anthonny would this be served by the resync button in 0.7.0? Or does that only update the presence of the posts in the local database?
Adding this function would be a good migration selling point, but I think it would be something that should be offered in the site settings area. I wouldn't want this function to be available in the posts list.
I would write a knowledgebase article about this telling users how to publish all posts live.
Would there be any technical challenges to implementing this?


Grid view

Description
Introducing a new way to display files in an application.
Any display of a list of elements must be variable. It is more convenient for someone to view files in the form of a table, and for someone in the form of a grid. By clicking on IconButton inside BreadCrumbsBar u can switch view.
I think design not very important if u already start working on redesign.
One of the important thing is sorting files. At this point in repo we use sorting by column indexes, in my opinion, it's a wrong way, we must use enum for this. Didn't bother touching this part because it goes out of the area of this PullRequest. And also i think we need to discuss it
Also fix missing files issue #13
Screenshots:

Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

Checklist:

[x] My code follows the guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] All current GitHub actions pass
[ ] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings
[x] I have read the CONTRIBUTING document

Looks like a solid base now, thanks for the PR!


Why not validate the fields of the "signIn" form?

I see you disabled fields validation for this form. What is the reason behind?
https://github.com/meteor-useraccounts/core/blob/master/lib/templates_helpers/at_pwd_form.js#L39

See the discussion in #14.
Do you think we should put this as something to be configurable?
...I'm not sure everyone would agree on one solution or the other...

All forms should be consistent and have the same behaviour.


Goal amounts missing from budget screen

Name of Defective Feature
-Display Target Goal Amount And Overbudget Warning
System Settings (Required)

ToolKit Version:2.3.2
Operating System (Mac/Windows/Etc):MacOS
Browser (Chrome/Firefox/Safari):Chrome
Browser Version:66.0.3359.117
Other Extensions:

Export of Toolkit Settings (Bottom Left of Settings Page)

Settings Export
[{"key":"AccountsDisplayDensity","value":"0"},{"key":"AccountsEmphasizedOutflows","value":false},{"key":"AccountsStripedRows","value":false},{"key":"AdjustableColumnWidths","value":true},{"key":"AutoDistributeSplits","value":false},{"key":"BetterScrollbars","value":"0"},{"key":"BudgetProgressBars","value":"0"},{"key":"BudgetQuickSwitch","value":false},{"key":"CalendarFirstDay","value":"0"},{"key":"CategoryActivityCopy","value":false},{"key":"CategoryActivityPopupWidth","value":"0"},{"key":"ChangeEnterBehavior","value":false},{"key":"CheckCreditBalances","value":true},{"key":"CheckNumbers","value":false},{"key":"ClearSelection","value":false},{"key":"CollapseSideMenu","value":true},{"key":"ColourBlindMode","value":false},{"key":"CompactIncomeVsExpense","value":false},{"key":"CreditCardEmoji","value":false},{"key":"CurrentMonthIndicator","value":false},{"key":"CustomFlagNames","value":true},{"key":"DaysOfBuffering","value":false},{"key":"DaysOfBufferingHistoryLookup","value":"0"},{"key":"DisableToolkit","value":false},{"key":"DisplayTargetGoalAmount","value":"1"},{"key":"DisplayTotalMonthlyGoals","value":false},{"key":"EasyTransactionApproval","value":false},{"key":"EditAccountButton","value":"0"},{"key":"EnlargeCategoriesDropdown","value":true},{"key":"EnterToMove","value":false},{"key":"GoalWarningColor","value":true},{"key":"GoogleFontsSelector","value":"0"},{"key":"HideAccountBalancesType","value":"0"},{"key":"HideAgeOfMoney","value":false},{"key":"HideHelp","value":true},{"key":"HideReferralBanner","value":true},{"key":"ImportNotification","value":"0"},{"key":"IncomeFromLastMonth","value":"0"},{"key":"LargerClickableIcons","value":false},{"key":"MonthlyNotesPopupWidth","value":"0"},{"key":"NavDisplayDensity","value":"0"},{"key":"Pacing","value":"0"},{"key":"PrintingImprovements","value":true},{"key":"PrivacyMode","value":"0"},{"key":"QuickBudgetWarning","value":true},{"key":"ReconciledTextColor","value":"0"},{"key":"RemovePositiveHighlight","value":false},{"key":"RemoveZeroCategories","value":false},{"key":"ResizeInspector","value":true},{"key":"RightClickToEdit","value":true},{"key":"RowHeight","value":"2"},{"key":"RowsHeight","value":"2"},{"key":"RunningBalance","value":"1"},{"key":"SeamlessBudgetHeader","value":false},{"key":"ShowCategoryBalance","value":false},{"key":"ShowIntercom","value":false},{"key":"SpareChange","value":false},{"key":"SplitKeyboardShortcut","value":true},{"key":"SplitTransactionAutoAdjust","value":false},{"key":"SquareNegativeMode","value":false},{"key":"StealingFromFuture","value":true},{"key":"SwapClearedFlagged","value":false},{"key":"TargetBalanceWarning","value":true},{"key":"ToBeBudgetedWarning","value":true},{"key":"ToggleMasterCategories","value":true},{"key":"ToggleSplits","value":true},{"key":"ToggleTransactionFilters","value":"0"},{"key":"TransactionGridFeatures","value":true},{"key":"ViewZeroAsEmpty","value":false},{"key":"goalIndicator","value":true},{"key":"highlightNegativesNegative","value":false},{"key":"l10n","value":"0"},{"key":"popupCalculator","value":true},{"key":"reports","value":true}]

Steps to Reproduce the Behavior

Navigate to setting in ToolKit/Save/Reopen YNAB
Navigate to Budget Screen

Expected Behavior
Goal amounts would display under GOALS column

Actual Behavior
Type of Goal designation displays (DTM) but amount is missing

Any ETA on when the next update will hit? I see it's fixed already and I really need that fix.
Wanted to start budgeting for the month and it's really annoying that I can't see my goals anymore :-/

@Wolfsblvt have you been added to our BETA? If not, you can send me the e-mail you use to login to chrome and I can add you to that<EMAIL_ADDRESS>I still have a few bugs with running balance I need to fix before I cut the release.

Thanks for the goal-amount fix, Josh. I hadn't realized it was fixed in the beta. Is there some way to notify beta testers of updates? I would have loved to see this sooner, as I was struggling with budgeting a new month. Thanks.
Joe W DiDomenico
On May 3, 2018, at 12:05 PM, Josh Madewell <notifications<EMAIL_ADDRESS>wrote:
@Wolfsblvthttps://github.com/Wolfsblvt have you been added to our BETA? If not, you can send me the e-mail you use to login to chrome and I can add you to that. josh.madewell<EMAIL_ADDRESS>I still have a few bugs with running balance I need to fix before I cut the release.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/toolkit-for-ynab/toolkit-for-ynab/issues/1287#issuecomment-386347958, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkwI2SraB9XcxX5YEuYw9TygbwCFqK8Rks5tuyrQgaJpZM4TuXI0.

@joedid We unfortunately don't have a good way to let people know about beta updates right now :/ I honestly only use the beta version of the application and when there are updates to the beta, the same popup that happens when the normal toolkit is updated happens.
There should really be no noticeable difference in using the production version and the beta version.

@joshmadewell: Didn't know it existed! Dumb me subscribed with the wrong email on the link. it's the @gmx.de address, but on Chrome I had to use my gmail.com address. Submitted again.
Nice to see there is a beta build that gets updated faster.
Also ab it of an offtopic question, but... how easy is it to set up a development environment for the toolkit? Looks like I need Linux, but I'm only using Windows. And how easy is it to get into developing features? I don't have that much time, but I may be able to contribute small things in the future.

@Wolfsblvt I'll get the e-mail updated. You shouldn't need linux at all! You should be able to just follow the steps here: https://github.com/toolkit-for-ynab/toolkit-for-ynab#building-the-code
For step 2, you can just install node and yarn from their respective websites for Windows and you can likely just skip step 3 entirely. The rest should be the same on Windows as anything else.

Hey @joedid the fix for this should be in our current release. If you notice the issue still exists and you're definitely running the newest version of the toolkit, please reopen! Thanks!

Fixed. Thanks!
Joe W DiDomenico
On May 3, 2018, at 11:08 PM, Josh Madewell <notifications<EMAIL_ADDRESS>wrote:
Hey @joedidhttps://github.com/joedid the fix for this should be in our current release. If you notice the issue still exists and you're definitely running the newest version of the toolkit, please reopen! Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/toolkit-for-ynab/toolkit-for-ynab/issues/1287#issuecomment-386495774, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkwI2cPvZoxqI0O5CItcqR7k4-MfUgzKks5tu8ZAgaJpZM4TuXI0.


How to use the tool for a freshman?

I don't know how to use it. Can you provide some guide?

Have you ever read the README and tried to follow the instruction? If not, please do so. If yes, please post the error you see.

@gaomy3832 I have run the test as required, but I want to use it to get the test data of each network onEyerss and TETRIS.

我想用这个工具，把该工程里面的网络按论文中的数据跑下；更重要的是，我想利用这个工具生成我论文中的对比试验数据。

The file nn_dataflow/tests/dataflow_test/test_nn_dataflow.py contains a few test cases that help reproduce the results you want. Take a look.

@gaomy3832 nn_dataflow_search.py: error: too few arguments. Are these parameters not set to default values? Can you provide a reference example of a command?

As I have said, you can find the parameters from the test cases. You can also use -h option from the command line to view whether a certain argument is required or not.

@gaomy3832 Thank you very much.


feat: community event | connect to redux and server, change Time value types to Date

Fixes Issue
related to issue #564

Changes proposed

[x] Manage Events State with Redux and Connect to Server
[x] Pick One or Two Days
[x] Change startTime and endTime Type to Date
[x] Change The FilteredEvents With New Type Of Time
[x] Display The Events with Time typeOf Date
[x] Add Zero At The Beginning of DateValue

Screenshots
https://github.com/thecyberworld/TheCyberHUB/assets/76536506/46322a20-19ea-4f3e-bf13-59737d009f17

Note to reviewers

a lot of the changes related to changing the type of startTime and endTime from string (as was in the json file) to Date type.
Maybe in future, we could consider adding Typescript.
next, I will continue working on community events following the list of tasks that I add in the issue

Code of Conduct

[x] By submitting this pull request, I confirm I've read and complied with the CoC 🖖

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

You can also join our Discord community.
Feel free to check out other cool repositories of the Thecyberworld.
Join the Thecyberworld GitHub Organisation by raising an issue (you will be sent an invitation).

amazing 👌


Does patchcore's model size proportional to the number of training images?

I notice in patchcore model,  memory_bank size == [coreset_size, 1536], and  coreset_size is proportional to the number of training images, So its model size is proportional to the number of training images too? Is this normal?

@luweishuang
What is stored in the patchcore model is the feature vector of each training sample, so the size of the model is related to the number of image training samples, and the inference speed should also be related to this?


Update activating-qoe-recording.md

Docs Build status updates of commit 55e4787:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Skype/SDN/articles/activating-qoe-recording.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Issues with Jest

We have an old version of an application done with create-react-app. This is using react-scripts 1.1.5.
I am trying to use Jest with react-testing-library.
When running the specs, I have the following issue:
  ● Test suite failed to run

    /home/mgarcia/projects/v3bitex-implementation/node_modules/apex-web/lib/redux/middlewares/authMiddleware.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){import _regeneratorRuntime from 'babel-runtime/regenerator';
                                                                                ^^^^^^

    SyntaxError: Cannot use import statement outside a module

Fine. It seems to be complaining about ES6 being used in a node module. So I run the script with the following:
npm run test --  --transformIgnorePatterns "node_modules/apex-web"
This seems to work, until I run into:
  ● Test suite failed to run

<EMAIL_ADDRESS>Unexpected token, expected ( (25:10)
        23 |   try {
        24 |     return typeof val.hasAttribute === 'function' && val.hasAttribute('is');
      > 25 |   } catch {
           |           ^
        26 |     return false;
        27 |   }

So it seems I have to exclude another library.
Am I missing something here? Should I manually list every single library that has this issue? Is there a version of react-scripts that automatically handles this without any issues?
I have tried to upgrade to v2, but everything broke miserably.

got same problem

got same problem x2


Revert "Account for the retry delay booster in unit test"

Reverts project-chip/connectedhomeip#27519

@woody-apple Why do we want to revert this?  PR description should say.

That was a speculation that this commit has caused Darwin tests start to fail in an excessive rate.


Allow Recorder override shouldContinue

Description
Allow Recorder override shouldContinue

I'm probably missing some context here. Is there a use case coming in another PR that requires this change?

@pennzht is working on adding benchmarks for the new gallery. The gallery will decide whether to stop not based on frame count but based on the number of app-specific interactions.


storing data in a mysql database

This application is good for a small online store. But would be great if we can also manage items, order and such in a database.
Of course, a cloud such as Heraku would also an advantage.
Regards

This is a demo of the client side.  Storing data is server side..that's what you're supposed to write :-)
If you want to add it as part of the demo, feel feel to do a pull request...


Issue with importing _formants

Hello, I'm having some trouble with importing your library. When I try to run the statement import praat_formants_python as pfp, I get the error
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/Yolanda/Downloads/praat_formants_python-master/praat_formants_python/__init__.py", line 7, in <module>
    from _formants import file2formants, clear_formant_cache, formants_at_time, \
ImportError: No module named '_formants'

I'm running python 3.4.3 on OS X 10.11.4
Do you have any suggestions as to how to fix this?
Thanks so much 👼

This code was written for python 2, but it should probably work on python 3 as well. I'll have a look. In the meantime, did you install through setup.py as described in the readme?

Hi,
Thanks for replying! I encountered some syntax error when first installing, but now after applying 2to3 to the package, the version related errors have disappeared and I seem to have successfully set it up.
But here's new problem: when I run
>>> import praat_formants_python as pfp
>>> pfp.formants_at_interval('harry.wav', 0.5, 0.7)

Praat is successfully launched and a script window pops up:

However there's an error window too:

What do you think is wrong?
Thanks!!

Hello,
Just now I put the full path of harry.wav when calling formants_at_interval (harry.wav is stored directly under the folder praat_formants_python-master), but the same error appeared. In addition to the "5500" error window, both times two other windows also appeared:

After I closed Praat, this error popped up on my terminal:
>>> pfp.formants_at_interval('/Users/Yolanda/Downloads/praat_formants_python-master/harry.wav', 1.1, 2.1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/Yolanda/Downloads/praat_formants_python-master/praat_formants_python/_formants.py", line 143, in formants_at_interval
    formants_array = file2formants(filename, **kwargs)
  File "/Users/Yolanda/Downloads/praat_formants_python-master/praat_formants_python/_formants.py", line 98, in file2formants
    _fmt_cache[key] = np.array([list(map(_float, x.rstrip().split('\t')[:4])) for x in res.split('\n')[1:-1]])
TypeError: 'str' does not support the buffer interface ```

Hope you can help! Thanks ^_^

@YolandaZheng  Kindly put the pull request for the same. I fixed mine but it will save people from the error.

@thefreakingmind12 Would you be so kind to point out how you fixed the 5500 etc. errors?

Merged, thanks!


Add EZ-API packages

Ticket(s)

NA

Summary of Changes

See commits
This PR adds a bunch of code useful for bootstrapping Serverless apis

Merging this despite the poor unit test coverage.
The lines in question would better be covered by integration tests and I don't have time to write the tests at this time. Will bump coverage up repo wide as one tech debt session.