Example doesn't work

// Query with case class mapping
val list: Seq[Member] = Members.query.keyConditions { t =>
  t.country -> DynamoDBCondition.eq("Japan") :: t.id -> DynamoDBCondition.eq(1) :: Nil
}.list[Member]

Members.query.keyConditions doesn't seem to be part of the API any longer, the example on readme doesn't work.

@Mr-SD Fixed example in README. Thanks!


embed the original config as default and reference

today we asked 3 times to load the config which is weird and confusing:
at compile time
at runtime
then self referenced for monitoring in the config file itself.
While we need to keep the option for the override it, if no config is found we should just get the one it was compiled with.

as a plus, we should log the config first in the log so the user can check what was exactly running on their robot

This is fixed


Tags fail to fetch using the python SDK

Please see https://github.com/Azure/azure-sdk-for-python/issues/22180 for reference.
But after multiple trials and errors it was determined that the issue lies with the azure service and not the python client.
I've verified that my resources do have tags. I've verified that:

I can fetch those tags using the azure cli tool.
I can fetch those tags in the azure portal.
I can fetch the tags from each subscription individually.
When I list_subscriptions the tags attr is empty using the python client.
When I fetch the list of subscriptions using the REST api the tags are empty.

I would like to understand that why when I fetch all the subs, the tags list is empty.

Hello, any update here? :)


Drop node4 support

Closes #5

Coverage remained the same at 100.0% when pulling ae8fe2a4e4eccdc303c6a2645ea1f59654ccdcf6 on 5-DropNode4Support into e2e5b1fcb9bf85350526a7c3ad0aebd46349306e on ReleaseCandidate-2.0.0.


Allow sentry/sdk 4

A tiny step toward #761

I'm sorry but this is not feasible at all. The new SDK has numerous breaking changes, and it's not possible to do i that way. I'll approve the CI to show how much this is true.

Understood.  I thought it was necessary for Symfony 7, but really version 3 of the SDK shouldn't block Symfony 7 or PHP 8.3.
Thx.


Code for CSRK with BSeries.jl updated

This code is based on the paper "A characterization of energy-preserving methods and the construction of parallel integrators for Hamiltonian systems" (https://doi.org/10.48550/arXiv.1505.02537).
Added a struct in BSeries.jl called ContinuousStageRungeKutta and a function CSRK().
This code requires to import SymPy in order to work with symbolic variables for the polynomials generation and the integration process. The BSeries.jl was modified by adding a function which generates a polynomial for a square matrix, and another function elementary_differentials_csrk which returns the elementary differential for a given square matrix and a RootedTree. Only this last function is being exported. An exmaple of its functionality can be tested as follows:
#define a matrix M
M = [-6//5 72//5 -36 24;
72//5 -144//5 -48 72;
-36 -48 720 -720;
24 72 -720 720]
csrk = CSRK(M)
series = bseries(csrk, 4)

This is still not in a clean state and contains merge conflicts.

@Sondar74 It really seems like it might be best to create a new branch starting from the tip of main and then add the CSRK code to that.  You can then make a new PR from that branch and close this one.

Closing obsolete PR.


OpenAI API deployment

File "/opt/venv/lib/python3.11/site-packages/openai/_base_client.py", line 921, in request
raise self._make_status_error_from_response(err.response) from None
openai.NotFoundError: Error code: 404 - {'error': {'code': 'DeploymentNotFound', 'message': 'The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.'}}
indicates that the OpenAI API deployment cannot be found. However, this issue only arises when build and run the application in Docker. When running it locally, everything works fine without any problems.

hi @NSonTung463 are you still seeing this issue? Our team typically runs with SR in docker without issue, so I think you may have some docker connectivity issues here?


feat: cron job

Codecov Report
Attention: Patch coverage is 15.78947% with 16 lines in your changes are missing coverage. Please review.

Project coverage is 86.79%. Comparing base (3c8dc6e) to head (a4bd747).

Files
Patch %
Lines

src/schedule.rs
0.00%
11 Missing :warning:

src/main.rs
0.00%
5 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #121      +/-   ##
==========================================
- Coverage   88.57%   86.79%   -1.79%
==========================================
  Files          14       15       +1
  Lines         779      795      +16
==========================================
  Hits          690      690
- Misses         89      105      +16

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


OSX: Pressing the "X" to close the window exits the app instead of hiding it

OS: OS X
Issue Descriptions: Normal OS X behavior is that "x-ing out" the window hides the window without exiting the application. When you do this with this app the application quits leaving only the status bar icon active.
Steps to Reproduce: Hit X in top right of window bar. Application quits and is removed from dock (if you don't have "Keep in dock" selected).

I do not believe this is the case, unless you have unticked "minimize to task bar" and even then the app shouldn't quit, can you upload a screencast of the process you go through?

I'm seeing something similar (possibly the same?).  It's actually really weird. I click the X and get this popup:
Just a heads up
Closing the main player window (what you just tried to do) will actually minimize the player to the System Tray. If you want to change this behaviour it can be changed in the "Desktop Settings" window.

But the white dot disappears from underneath the dock icon.  Clicking the icon again does nothing. The only way to get the player back for me was to click the status bar icon and select "show".

Are running master or latest release?  I'm pretty sure I'm listening to the OS X dock "activate" signal and popping the player back up.

3.0.0 binary, downloaded from the website
I could do you a screencast later when I'm home if it helps.

Had a quick check and it does seem to work with the master branch, though I don't have the icon pinned to dock so the circumstances are a little different.  Not sure that would make a difference though.

Appeàrs that I fixed it after release
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/commit/454fc0a4a0345acf7891b9de557ab34c211d2274

Just downloaded the latest master release and it is working. However, "x-ing" out still stops the music while hiding with "CMD+H" does not.


memory 0.14.1

memory-0.14.1 (Vincent Hanquez @vincenthz) is out of bounds for:

[ ] servant-auth-cookie-0.4.2 (>=0.11 && < =0.14). Al Zohali<EMAIL_ADDRESS>@zohl. @zohl. Used by: library

Fixed in servant-auth-cookie-<IP_ADDRESS>.


Balanced Paranthesis

Description
Write a program to check balanced parenthesis using stack.
Language - C/C++.
Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

/assign


Only show modules that is defined on package.json

Currently  autocomplete-modules list all packages inside node_modules directory. Using npm 3 will make autocomplete list all packages because of flat hierarchy.
I think the default behavior should only list packages that is native in nodejs and packages that is explicitly defined in package.json. We can probably add another setting to include all packages inside node_modules if we want implicit import
What do you think?

I guess you're right, but there is another problem. Some people develop monorepo projects, which could contain multiple package.json files.
You're welcome to contribute this functionality under the onlyPackage flag, or something like that.

Yes, I have a monorepo myself (using lerna). What do you think the best approach, walk up directory tree until it's a root directory, then for every package.json found, add it to the list of available deps?
Lerna itself only has $ROOT/packages/modules directory structure so we can simply check $ROOT/package.json and the module package.json itself, but I don't know if anyone has different directory structure on their monorepo.
Also, do you think making explicit package only as default behavior is preferable? because this is kind of breaking change

Filtering node_modules by package.json seems like the right default to me, because you really shouldn't be importing transitive dependencies. If it were up to me, this is how I would design this. Any time I encounter a node_modules with a sibling package.json, the package.json would be used and node_modules would be ignored.
Since everything resolves node_modules I don't use custom resolvers in my projects. Instead, I have committed code to a 2nd node_modules that isn't managed by a package.json. Those would need the current behavior of including everything.

What if the packages were simply sorted based on their presence in a package.json? This way, the packages you intentionally installed will rise to the top of the list.
I've been working with Gulp plugins, and the plugin has dutifully been suggesting through in place of through2. Sorting by inclusion in dependencies would greatly help!

What is the use case for importing a module that you did not install? A module that is not managed by you, but is managed by and can be upgraded and replaced at any time by a different project you depend on? I'm pretty sure this is something you should never do, so offering it as an option is just another way to help people shoot themselves in the foot.

I really like the idea of filtering by package.json. This could also reduce the lookup time (ie less dependencies to filter through the node_modules folder).
We will consider this if it raises more support.

@jonyeezs hey, not sure why you need more opinions on this issue, it's the most upvoted opened issue.
I'm also waiting for this feature and actually surprised this package doesn't work this way by default. 😉


[Button] should toggle with state function

It seems that toggle button is broken since 2.3.1 version,
all was good for toggle buttons in 2.3.0
Steps
Toggle

Expected Result
a toggle button...
Actual Result
Uncaught TypeError: $(...).state is not a function
    at HTMLDocument.<anonymous>

Version
Semantic ui 2.3.1 (cdnjs)
jQuery 3.3.1
Testcase
https://jsfiddle.net/jcheron/n90gcwjz/2/
Note
Version 2.3.1 available at https://semantic-ui.com/dist/semantic.min.js works, while cdn (cdnjs or cdn.jsdelivr.net) does not work.
The files are different!

In case the reason has not been resolved and for those who want an interim patch - this is because the 2.3.1 package does not have state.js and state.min.js files - just a build issue. I copied the files from 2.3.0 as a temp fix and yay all sorted.

The 2.3.2 package still does not include the state module which has disappeared since 2.3.1
This is unfortunate because semantic-ui is unusable via all cdns.
It is necessary to add the latest available version of state.js manually:

Having this problem as well.

+1

+1

This is still an issue with 2.4.1, starting to feel like this project might be dead.  I can not believe no one else uses toggle buttons and it has been left unresolved for this long.

So since there i no longer a state.js in the components even I am not sure what there plan is for the future of the toggle button.  I was able to come up with the following temp solution at least until they fix it or I find another component library.
Remove the startup call to
$(".ui.button.toggle").state();
doing this will not allow toggle buttons to work by default anymore but you can still do something like
$('#btnToggleButton').click(function () {
$('#btnToggleButton').removeClass('active');
        //Put code here for button press, setting some variable that stores if it should be toggled or not

        if (shouldBeToggled) {
            $('#btnToggleButton').addClass('active');
        }
    });

I hope they fix this in the next version but if not I can at least still use the component for now using this code.

The state component is available in FUI
See https://jsfiddle.net/L76mq0vo/

The state components is not also available on the 2.4.2 version

The state components is not also available on the 2.4.2 version

Look at my comment above. The active community fork https://fomantic-ui.com already re-implemented the state behavior two years ago in 2.5.0 as it was removed in SUI just because of missing documentation.
The unlinked and incomplete docs are here https://fomantic-ui.com/behaviors/state.html
See https://jsfiddle.net/L76mq0vo/


[WIP] Implement SSH tunnels between client and podman server

client currently forks ssh client pending finding a well
maintained ssh library for python.  Including support for
AF_UNIX forwarding.

Signed-off-by: Jhon Honce<EMAIL_ADDRESS>

I'll remove the WIP label once I include more unit tests.

LGTM
What is the exact CLI that the user will use?
Can you add an environment variable to the system that controls indicates the remote server, so the user  does not need to specify it for every connection.

@rhatdan the connection profiles and such should be handled in the client itself, which I have somewhat started.  Right now, I'm on the fence on how that should be handled on the client side.  One could imagine a conf file for the client ... override capability in the command line and so forth.

@rh-atomic-bot r+

@baude You also need to forward the terminal resize control FIFO, or have an API to send updates to it.


Tidy around the KB

Harmonize Names with Title
Removed blank KB MDs
Updated Selected Articles

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[x] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[x] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


Query without variables throws fatal error

My app crashes when I use a query without any variables.
Below you can see my query:
query Me {
    me {
        ...UserFragment
    }
}

When executing this query I get the following Swift error:

fatal error: unexpectedly found nil while unwrapping an Optional value

This is happening on line 63 in NetworkTransport.swift where operation.variables! is being forcefully unwrapped.
let stringVar = try! serializationFormat.serialize(value: operation.variables!)
My workaround is to make an extension for MeQuery and return a empty Dictionary for variables.
public extension MeQuery {
    public var variables: GraphQLMap? {
        return [:]
    }
}

When I use this extension the query works and the app no longer crashes.
I'm using Apollo 0.4.2 installed with cocoapods.

Could you double check the version of Apollo iOS you have installed?
I can't find the force unwrap that you mention, and the equivalent line in the current version is:
let body: GraphQLMap = ["query": type(of: operation).queryDocument, "variables": operation.variables]

Thanks for your response. My Podfile was showing the version as 0.4.2 but I did a clean and reinstall and now I see the line of code you mention. So I guess there was a problem on my side somewhere.
Sorry for wasting your time.


Cannot use statically compiled curl[openssl] in MacOS

I'm trying to compile my cross-platform app. Windows version works. Mac version fails when linking. I need curl for cpr package.
Triplet:

set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE static)
set(VCPKG_LIBRARY_LINKAGE static)
set(VCPKG_BUILD_TYPE release)
set(VCPKG_CMAKE_SYSTEM_NAME Darwin)

package versions:

cpr:x64-osx                                       1.3.0-7
curl:x64-osx                                       7.65.0-3         A library for transferring data with URLs
curl[mbedtls]:x64-osx                                               SSL support (mbedTLS)
curl[openssl]:x64-osx                                               SSL support (OpenSSL)
curl[sectransp]:x64-osx                                             SSL support (sectransp)
curl[ssl]:x64-osx                                                   Default SSL backend
openssl-unix:x64-osx                               1.0.2s-1         OpenSSL is an open source project that provides ...
openssl:x64-osx                                    1                OpenSSL is an open source project that provides ...

vcpkg version:

2019.06.26-unknownhash

Undefined symbols for architecture x86_64:   "_SecCertificateCopyLongDescription", referenced from:       _CopyCertSubject in libcurl.a(sectransp.c.o)   "_SSLGetNegotiatedProtocolVersion", referenced from:       _sectransp_connect_step2 in libcurl.a(sectransp.c.o)   "_SecTrustCopyPublicKey", referenced from:       _sectransp_connect_step2 in libcurl.a(sectransp.c.o)   "_SecTrustSetAnchorCertificates", referenced from:       _sectransp_connect_step2 in libcurl.a(sectransp.c.o)   "_SecTrustSetAnchorCertificatesOnly", referenced from:       _sectransp_connect_step2 in libcurl.a(sectransp.c.o)   "_SSLWrite", referenced from:       _sectransp_send in libcurl.a(sectransp.c.o)   "_SecTrustEvaluate", referenced from:       _sectransp_connect_step2 in libcurl.a(sectransp.c.o)   "_SSLSetProtocolVersionMax", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SSLCopyALPNProtocols", referenced from:       _sectransp_connect_step2 in libcurl.a(sectransp.c.o)   "_kSecClass", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SSLSetALPNProtocols", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_kSecReturnRef", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_kSecMatchLimit", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_kSecMatchPolicy", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SecItemCopyMatching", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SecCertificateCreateWithData", referenced from:       _append_cert_to_array in libcurl.a(sectransp.c.o)   "_SSLRead", referenced from:       _sectransp_recv in libcurl.a(sectransp.c.o)   "_SSLSetIOFuncs", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SecItemImport", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SecCertificateGetTypeID", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SSLGetNegotiatedCipher", referenced from:       _sectransp_connect_step2 in libcurl.a(sectransp.c.o)   "_SSLSetPeerDomainName", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_kSecImportItemIdentity", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SecTrustGetCertificateCount", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SecIdentityCreateWithCertificate", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SSLCreateContext", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SSLSetSessionOption", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SSLGetNumberSupportedCiphers", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_kSecAttrLabel", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SSLSetPeerID", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SecPolicyCreateSSL", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SecIdentityCopyCertificate", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SSLSetEnabledCiphers", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SecCertificateCopyCommonName", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SSLSetConnection", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SSLGetSupportedCiphers", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SSLHandshake", referenced from:       _sectransp_connect_step2 in libcurl.a(sectransp.c.o)   "_SecKeyCopyExternalRepresentation", referenced from:       _sectransp_connect_step2 in libcurl.a(sectransp.c.o)   "_SSLCopyPeerTrust", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)       _sectransp_connect_step2 in libcurl.a(sectransp.c.o)   "_SSLSetCertificate", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SecTrustGetCertificateAtIndex", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SSLGetBufferedReadSize", referenced from:       _Curl_sectransp_data_pending in libcurl.a(sectransp.c.o)   "_kSecClassIdentity", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SSLClose", referenced from:       _Curl_sectransp_shutdown in libcurl.a(sectransp.c.o)       _Curl_sectransp_close in libcurl.a(sectransp.c.o)   "_SSLSetProtocolVersionMin", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_kSecMatchLimitAll", referenced from:       _sectransp_connect_common in libcurl.a(sectransp.c.o)   "_SSLGetSessionState", referenced from:       _Curl_sectransp_check_cxn in libcurl.a(sectransp.c.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
There was no problem when I last build it a couple of months ago.

Try finding CURL using:
find_package(CURL CONFIG)
This should pick up the appropriate exported CMake configuration for CURL, including everything required to link successfully.

@FerzanVivec Were you able to resolve this? Because I have similar problems with cpr and curl.

@FerzanVivec Were you able to resolve this? Because I have similar problems with cpr and curl.

I just rolled back vcpkg to a March version (can't remember which) and my app compiled fine.

I just rolled back vcpkg to a March version (can't remember which) and my app compiled fine.

Ah, I see. Maybe I should try that and see what the changes were.

To amend my earlier post, you will need to both use find_package CONFIG mode, and link to the defined target.
find_package(CURL CONFIG REQUIRED)
target_link_libraries(main PRIVATE CURL::libcurl)

This is instead of using the old ${CURL_LIBRARIES} and ${CURL_INCLUDE_DIRS} variables.

Thanks, I will give that a try.
Just opened a new issue here: https://github.com/microsoft/vcpkg/issues/7332

Nice, this did indeed work! Thanks a lot!

I'm unaware of the internals of how cmake works in terms of this bugfix, but when attempting to link to libcurl.a in Xcode and receiving the same linker errors, you can resolve these linker issues by also linking to Security.framework from Xcode's "Linked Frameworks and Libraries" section. I'm not sure if the above CMakeLists.txt change would remove the need to do that manual link in Xcode.
(Also posting this same comment in the linked issue by Toxe in case someone stumbles here from Google like me so they can have a temp fix before the PR comes through.)

Hi all.
Currently, I cannot reproduce this on my machine with the following usage:
    find_package(CURL CONFIG REQUIRED)
    target_link_libraries(main PRIVATE CURL::libcurl)

Please open a new issue or provide the repro steps and your project case if this is still a problem for you.

Yeah just add Security.framework to fix this

Yeah just add Security.framework to fix this

Is it missing with cmake or pkg-config? Port curl has received significant work since this issue was closed more than one year ago.

I use macos10.15.7 also.when I use g++ -lpath/to/vcpkg/lib/libcurl.a,it have the same error like above.but when i use the /usr/lib/libcurl.dylib,the error is gone,i don't konw why,but it is a solution.

@2018DHY curl:x64-osx builds a static library. (x64-osx is static by default.) So you have to take care of transitive usage requirements. That's why you should use CMake package information or pkg-config.
OTOH libcurl.4.dylib is a shared library.


Another attempt at animating new cases / help with collecting data?

Hi there,
i created https://corona-map-nl.web.app/
I've separated the new hospital intakes and the new cases, it looks a bit like what you guys made.
You can also click on a municipality for historic data.
And if you click on the country icon you see a complete history nationally.
I've also got quite a lot of more structured data by parsing the RIVM javascript, that way i don't have to deal with the PDF files. I also process the data from NICE and LCPS.
At the moment it takes me about 10 minutes to extract all the data and convert it to the format my app uses. Maybe i can help collecting part of the data?
Also, anybody notice that the chart "Aantal overledenen naar datum van overlijden" at https://www.rivm.nl/coronavirus-covid-19/grafieken has the value 109 for the 25th of march and in the pdf it shows 108 for that date. The total used by RIVM is the total in the PDF, so i assume that's the correct total. I noticed they have a one off error everyday for that date...
Let me know if i can be of help,
Best regards,
Jeroen

Nice app! We would love to list it on our page :)

I've also got quite a lot of more structured data by parsing the RIVM javascript, that way i don't have to deal with the PDF files. I also process the data from NICE and LCPS.

Can you clarify what else you collected from RIVM?
And I'm curious what data you collect from LCPS.

Also, anybody notice that the chart "Aantal overledenen naar datum van overlijden" at https://www.rivm.nl/coronavirus-covid-19/grafieken has the value 109 for the 25th of march and in the pdf it shows 108 for that date. The total used by RIVM is the total in the PDF, so i assume that's the correct total. I noticed they have a one off error everyday for that date...

yup...
Our NICE pipeline broke, so if you do have a nice workflow for this, please share or let me know.
Best Jonathan

Our NICE pipeline broke, so if you do have a nice workflow for this, please share or let me know.

Nice.

Nice app! We would love to list it on our page :)
Sure, no problem.
It's running on the Firebase Hosting CDN, so it should always be online.
I try to update the data somewhere around 14:30 and again later for the LCPS info.

I've also got quite a lot of more structured data by parsing the RIVM javascript, that way i don't have to deal with the PDF files. I also process the data from NICE and LCPS.

Can you clarify what else you collected from RIVM?
I'm pretty sure you also process the .js files from RIVM, when i wrote that i thought you somehow processed the PDF files.

And I'm curious what data you collect from LCPS.
I use puppeteer to render the full html and extract the LCPS info per day.
The result is this:
Date,number of patients on IC,delta
2020-04-14,1303,-35
2020-04-13,1338,-20
2020-04-12,1358,-33
2020-04-11,1391,7
2020-04-10,1384,-33
2020-04-09,1417,9
2020-04-08,1408,-16
2020-04-07,1424,15
2020-04-06,1409,24
2020-04-05,1385,25
2020-04-04,1360,36

Also, anybody notice that the chart "Aantal overledenen naar datum van overlijden" at https://www.rivm.nl/coronavirus-covid-19/grafieken has the value 109 for the 25th of march and in the pdf it shows 108 for that date. The total used by RIVM is the total in the PDF, so i assume that's the correct total. I noticed they have a one off error everyday for that date...

yup...
Our NICE pipeline broke, so if you do have a nice workflow for this, please share or let me know.
I've got a combination of JAVA files that download, extract and convert all the data.
But it's not really a better pipeline, and i guess it works because i run it from my home(i read somewhere here that NICE blocks all IP addresses outside NL?)...
I tried running some scripts from Scaleway (a cloud provider), but i guess RIVM also blocks those ip's.
The best i can do (when i have the time) is to upload the NICE json files and a CSV file based on the LCPS.nu news section where they publish their numbers.
I also keep a complete record daily archive of all the data i download, including all the PDF files from RIVM since march 23rd.
Best Jonathan

Best regards,
Jeroen

Thanks for this answer.

I'm pretty sure you also process the .js files from RIVM, when i wrote that i thought you somehow processed the PDF files.

Yes, we do. There are a couple of scripts available in this repo. But the structure of the PDF's is very poor, so a lot of manual editing is required... Feel free to extract the data from this repo. It saves you a lot of time.

The best i can do (when i have the time) is to upload the NICE json files and a CSV file based on the LCPS.nu news section where they publish their numbers.

NICE would be great. I will add LCPS asap.

I also keep a complete daily archive of all the data i download, including all the PDF files from RIVM since march 23rd.

I think we are missing March 23rd and 24th. Can you share them?
Thanks a lot for your help in improving the data.
Best Jonathan

Thanks for this answer.

I'm pretty sure you also process the .js files from RIVM, when i wrote that i thought you somehow processed the PDF files.

Yes, we do. There are a couple of scripts available in this repo. But the structure of the PDF's is very poor, so a lot of manual editing is required... Feel free to extract the data from this repo. It saves you a lot of time.

I meant that i use .js files to parse the data they show in the graphs. For a couple of days i used Tabula to parse the PDF files, but that was too cumbersome. After that they published the graphs and those contained the data i needed, so i stopped using the PDF files.

The best i can do (when i have the time) is to upload the NICE json files and a CSV file based on the LCPS.nu news section where they publish their numbers.

NICE would be great. I will add LCPS asap.

I've setup a script that will publish the NICE json files at https://corona-map-nl-archive.web.app/
It runs at 13:50 CEST.
If you go there now, it shows the current date. If you click on the date, you get an index.html with a list of files that are available. The filenames are consistent, the only thing that changes is the date in the directory (https://corona-map-nl-archive.web.app/data/2020-04-16/global.json etc)
Let me know if this works (or doesn't work) for you.

I also keep a complete daily archive of all the data i download, including all the PDF files from RIVM since march 23rd.

I think we are missing March 23rd and 24th. Can you share them?

done(i saw you merged the pull request)

Thanks a lot for your help in improving the data.

sure, no problem.

Best Jonathan

Best Jeroen


Support pip installation

It'll be very convenient to support pip installation via PyPI

dm_control can be installed using pip by passing the address to our Github repository:
pip install git+git://github.com/deepmind/dm_control.git

Alternatively you could check out a local copy of dm_control, and then install it by path
pip install /path/to/dm_control

I suspect what you're really asking is whether we can host dm_control on PyPI  (so you could just do pip install dm_control)? We're looking into that, but there are some complications due to the fact that we auto-generate the ctypes bindings from the MuJoCo headers as part of the installation process.

dm_control is now available on PyPI.


Neovim 0.9.2 hangs on exit when setting loclist

I have run into some cursed issue, I'm not sure how to diagnose/debug this situation, so please let me know what additional info is ready.
I prefer having my errors in the loclist and with this plugin that wasn't happening. In debugging this situation I discovered that manually updating the loclist via :lua vim.diagnostic.setloclist() with this plugin active causes neovim to hang indefinitely when quitting.
Attaching a debugger I see it hangs in:
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x0000000100c4e6a0 nvim`ml_delete_int + 92
    frame #1: 0x0000000100ca8a74 nvim`qf_fill_buffer + 232
    frame #2: 0x0000000100ca7fac nvim`qf_update_buffer + 376
    frame #3: 0x0000000100cabb74 nvim`set_errorlist + 1360
    frame #4: 0x0000000100cae308 nvim`set_qf_ll_list + 308
    frame #5: 0x0000000100b9b380 nvim`call_internal_func + 144
    frame #6: 0x0000000100bb6998 nvim`call_func + 2064
    frame #7: 0x0000000100c27d3c nvim`nlua_call + 440
    frame #8: 0x0000000101082b04 libluajit-5.1.2.dylib`___lldb_unnamed_symbol348 + 44
    frame #9: 0x000000010108f4dc libluajit-5.1.2.dylib`lua_pcall + 148
    frame #10: 0x0000000100c28384 nvim`nlua_pcall + 120
    frame #11: 0x0000000100c28114 nvim`nlua_typval_exec + 224
    frame #12: 0x0000000100c28be8 nvim`ex_lua + 196
    frame #13: 0x0000000100bd6970 nvim`execute_cmd0 + 248
    frame #14: 0x0000000100bd37e0 nvim`do_cmdline + 11600
    frame #15: 0x0000000100b42a88 nvim`apply_autocmds_group + 1828
    frame #16: 0x0000000100b133bc nvim`nvim_exec_autocmds + 860
    frame #17: 0x0000000100b012bc nvim`nlua_api_nvim_exec_autocmds + 248
    frame #18: 0x0000000101082b04 libluajit-5.1.2.dylib`___lldb_unnamed_symbol348 + 44
    frame #19: 0x000000010108f4dc libluajit-5.1.2.dylib`lua_pcall + 148
    frame #20: 0x0000000100c28384 nvim`nlua_pcall + 120
    frame #21: 0x0000000100c2ad20 nvim`nlua_schedule_event + 104
    frame #22: 0x0000000100bc328c nvim`multiqueue_process_events + 92
    frame #23: 0x0000000100bc3b10 nvim`process_teardown + 228
    frame #24: 0x0000000100afaf48 nvim`event_teardown + 72
    frame #25: 0x0000000100afe5bc nvim`os_exit + 88
    frame #26: 0x0000000100afe4e0 nvim`getout + 916
    frame #27: 0x0000000100bdca10 nvim`ex_quit + 568
    frame #28: 0x0000000100bd6970 nvim`execute_cmd0 + 248
    frame #29: 0x0000000100bd37e0 nvim`do_cmdline + 11600
    frame #30: 0x0000000100c6ed5c nvim`nv_colon + 420
    frame #31: 0x0000000100c6c968 nvim`normal_execute + 4696
    frame #32: 0x0000000100d023ac nvim`state_enter + 356
    frame #33: 0x0000000100afd780 nvim`main + 10240
    frame #34: 0x0000000189f13f28 dyld`start + 2236

It seems to indefinitely spin inside nvim`ml_delete_int, but I have no idea why and whether this is a bug in neovim or inside this plugin.
This is neovim 0.9.2 from Homebrew on an Apple M1. I'm not sure what other info would be needed to figure out if this is a bug in the plugin or inside neovim?

Another smoking gun: This behaviour seems to only manifest when I have the following autocommand defined: au DiagnosticChanged * lua vim.diagnostic.setloclist({ open = false }).
This is interesting, because I started experimenting because DiagnosticChanged did not seem to fire when diagnostics were published by the LSP server, so something about how diagnostic publishing is handled seems wonky?

Ok, I'm able to reproduce, but I'm still searching what is causing it. For now I'm sure this is some not easy to find edge case.

@merijn I think I found problem and I it isn't related with plugin, but please check this for yourself and let me know.
So, I was able to reproduce same bug in lua lsp with my plugin disabled.
Problem occurs for me when I have enabled tool(null_ls for me) which do autoformat for me on save - in both my plugin and lua lsp.
Additionally I found tailwindcss lsp attached to buffer(with or without my plugin) hang neovim with loclist open.
So I think it is something in nvim core or connected in some other plugin.

@merijn  I was able to reproduce this using tailwind ls with minimal file below.
Steps to reproduce:

open any ts file
:_G.test() - to populate loclist
:lopen
:qa! - nvim hangs

--- CHANGE THESE
local pattern = "typescript"
local cmd = { "tailwindcss-language-server", "--stdio" }
-- Add files/folders here that indicate the root of a project
local root_markers = { ".git", ".editorconfig" }
-- Change to table with settings if required
local settings = vim.empty_dict()

vim.api.nvim_create_autocmd("FileType", {
  pattern = pattern,
  callback = function(args)
    local match = vim.fs.find(root_markers, { path = args.file, upward = true })[1]
    local root_dir = match and vim.fn.fnamemodify(match, ":p:h") or nil
    vim.lsp.start {
      name = "bugged-ls",
      cmd = cmd,
      root_dir = root_dir,
      settings = settings,
    }
  end,
})

_G.test = function()
  print "::::::::: debug message :::::::::"
  vim.fn.setloclist(0, {}, " ", {
    items = {
      {
        bufnr = 1,
        col = 1,
        end_col = 1,
        end_lnum = 12,
        lnum = 12,
        text = "Parsing error: Identifier expected.",
        type = "E",
      },
      {
        bufnr = 1,
        col = 1,
        end_col = 2,
        end_lnum = 12,
        lnum = 12,
        text = "Identifier expected.",
        type = "E",
      },
      {
        bufnr = 1,
        col = 26,
        end_col = 27,
        end_lnum = 18,
        lnum = 18,
        text = "Property 'Z' does not exist on type 'typeof TestEnum'.",
        type = "E",
      },
    },
    title = "Diagnostics",
  })
end

vim.api.nvim_create_autocmd('DiagnosticChanged', {
  pattern = '*.ts',
  callback = _G.test,
})

So it isn't related to my plugin it's something in core, if you want to use this mini file to report issue in core feel free to grab it.

Yeah, looking at the stack trace I was already wondering if it was maybe something in neovim itself, but I figured I'd try and rule out typescript-tools first :)
Thanks for the help, I'll make an issue on the neovim repo.

Hey @merijn . Sorry for bothering but do you have any tutorial or link or anything that could help me do debugging like you did (in the first post)? I have simmilar issue as you (hanging on quit), but I have no idea on how to do the debugging

@KostkaBrukowa All I did for that was lldb -p <nvim process id> to attach lldb to the hanging neovim and then hit bt to get a backtrace of whatever it was doing when I attached the debugger :)
Luckily the homebrew binary of neovim seems to ship with (some) debugging symbols to produce actually useful function names.

Wow. That's really helpful. Thank you very much!!


Why Float64 are converted to Float32?

This is not really an Issue,
Would it be possible to provide Float64 values by Default?
at least for Beat and Phase. In some situations Float32 is not precise enough.

It's Float32 because we are using it like this in our workflow and it is kind of "standard" in vvvv/vl. Have you actually had problems with Float32 coming from Link?

For all my music prototypes in Gamma i'm using Float64 as clock source because sometimes i have to subdivide the clock phase and convert it to Integers in order to do certain operations, and in some situations Float32 doesn't provide enough resolution.
I think, if the API provides Float64 it's for a reason and it should be accesible independently of your main usecase.
At least provide a way to expose those parameters, it doesn't need to be the default output.
Thanks

Added Link (Float64 Advanced). The Nuget should be available soonish.

Cool, Thanks bj-rn


Can I get hnswlib written by managed language like C/CLI.

Hello,everyone.
I want to use hnswlib to make windows form application.
Can I find hnswlib written by managed language like C/CLI somewhere?

Hi @screwface106 I think you can use something like https://stackoverflow.com/questions/935664/possible-to-call-c-code-from-c
There are also some c# implementations of hnsw (e.g. https://github.com/curiosity-ai/hnsw-sharp), but I am not sure how they perform.


Two way communication

How would you implement two way communication described in http://x-callback-url.com/examples/
Something like:

targetapp://x-callback-url/translate?
x-success=sourceapp://x-callback-url/acceptTranslation&
x-source=SourceApp&
x-error=sourceapp://x-callback-url/translationError&
word=Hello&
language=Spanish

Using closure on one side to receive response
https://github.com/phimage/CallbackURLKit#use-callback-closure
And on the other side by calling success(with param or not) or failure(with error) or cancel
https://github.com/phimage/CallbackURLKit#add-new-action

@phimage so do I need to declare a new manager instance in my client class to handle incoming callbacks?

one manager by app, you can use the default one

@phimage ok, I don't exactly understand closures with on* operations
I have Client class:
            try self.perform(action: "runOperation", parameters: parameters,  onSuccess: { parameters in

            }, onFailure: nil, onCancel: nil)

How do I pass sourceapp://x-callback-url/acceptTranslation on x-success?

did you need to know how to do it exactly or just fulfil a need to interact with two of your applications?
Maybe one is not yours and need specific this url
The framework do it automatically but use sourceapp://x-callback-url/response/ for error or success and pass an ID to retrieve the code to execute in callback

@phimage https://github.com/phimage/CallbackURLKit/blob/master/Sources/Manager.swift#L197
that implies that callback will happen to /response?

Yes this is the code
This is an auto communication
We could add an 'Action'(string) by callback type and change here the URL if this action is specified

@phimage hm.. Can't I just set it as one of the params?
let parameters = [
    "x-succes": "sourceapp://x-callback-url/acceptTranslation"
]

@phimage additionally I am adding this plugin to the ObjectiveC app, and app delegate is actually in obj-c, and I can figure out how to add Manager.shared to pass it url handling

yes you can try to put this as parameters, never tried... I expect that I do not filter it
for obj-c I never tried if there is some incompatibility
You cannot access register ?
CallbackURLKit.register(action: "acceptTranslation") { parameters, _, _, _ in

}

@phimage Setting as parameter works.
I am working on Objective-c event binding to swift. I found this is how they do it in https://github.com/aerogear/aerogear-cordova-oauth2/
Here they are catching call https://github.com/aerogear/aerogear-cordova-oauth2/blob/master/src/ios/AppDelegate%2Burl.m#L36 which calls notification event
and here is the handler for event https://github.com/aerogear/aerogear-cordova-oauth2/blob/master/src/ios/oauth-0.4.0/OAuth2Module.swift#L92

with swizzle they try to achieve this automatically but it's not mandatory
https://github.com/phimage/CallbackURLKit#handle-incoming-urls


Improvements

Codecov Report

Merging #37 (a355f26) into main (3a9dbf4) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff            @@
##              main       #37   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          104       102    -2
  Lines          828       828
  Branches        85        85
=========================================
  Hits           828       828

Impacted Files
Coverage Δ

src/common/0.domain/base/aggregate-root.ts
100.00% <ø> (ø)

src/common/0.domain/base/domain-error.ts
100.00% <ø> (ø)

src/common/0.domain/base/handler.ts
100.00% <ø> (ø)

src/common/0.domain/base/validator.ts
100.00% <ø> (ø)

src/common/0.domain/base/value-object.ts
100.00% <ø> (ø)

src/common/0.domain/errors/empty-error.ts
100.00% <ø> (ø)

src/common/0.domain/errors/invalid-date-error.ts
100.00% <ø> (ø)

src/common/0.domain/errors/invalid-email-error.ts
100.00% <ø> (ø)

src/common/0.domain/errors/invalid-locale-error.ts
100.00% <ø> (ø)

src/common/0.domain/errors/max-length-error.ts
100.00% <ø> (ø)

... and 92 more

... and 2 files with indirect coverage changes


[feat] add clickhouse support as a data source

add clickhouse support as a data source, fix https://github.com/cuebook/CueObserve/issues/53

Signed-off-by: Slach<EMAIL_ADDRESS>

according to https://github.com/cuebook/CueObserve/pull/120/checks?check_run_id=3393765429
22 passed, 31 warnings in 16.99s
 ---------------- Coverage.xml file found ---------------------

so look like in command
./api/test_reporter after-build --debug -r $CC_TEST_REPORTER_ID
just empty secret
secrets.CODE_CLIMATE_TEST_REPORTER_ID

according to https://github.com/cuebook/CueObserve/pull/120/checks?check_run_id=3393765429
22 passed, 31 warnings in 16.99s
 ---------------- Coverage.xml file found ---------------------

so look like in command
./api/test_reporter after-build --debug -r $CC_TEST_REPORTER_ID
just empty secret
secrets.CODE_CLIMATE_TEST_REPORTER_ID
I logged in codeclimate.com and defined API Key and setup it on my repo in secrets
could we run PyTest github action manually again?

Not an issue, will look into it's alternative. Test cases will run again on main branch, can be merged for now.


new documentation structure

Hi,
As promised in https://github.com/testcontainers/testcontainers-scala/issues/239, here is a proposition that revisits Testcontainer-scala documentation.
I took the initiative to change the structure quite a bit, although I'm of course totally fine if you would like to take another approach, just let me know what you prefer and I'll adapt.
You can browse the result directly from my branch: https://github.com/sv3ndk/testcontainers-scala/tree/239_update_documentation
Overview:

I split the content in multiple files, s.t. the readme now only contains some high level info, then links to the technical guide and the release notes

I put the technical guide in the doc/ folder. I understand this was supposed to be used for a microsite, although it does not seem to be used atm, and it's always possible to upgrade the whole thing to microsite format later

the setup and API usage are now in separate pages. My reasoning is that users will likely read the setup only during their first visit, then want to skip directly to the API usage any time they come back to the doc

In the setup, I recommended to use sbt IntegrationTest instead of Test configuration , is that ok with you?

The technical guide now first and formost presents the new API, although the legacy documentation is still reachable in a separate link

I included the imports in the code examples

I kept only one full example with both Scalatest and MUnit, after which point I'm assuming it's clear to the reader how to adapt the code, s.t. I've only shown Scalatest examples after that. The specificities of MUnit fixtures are still mentioned at the end of the document

I do realize there's quite some change up there, so of course don't hesitate to let me know if you would like a different structure.

@sv3ndk thank you so much! I'll give it a look this week!


:/ not documented in cheat sheet

Here:
https://github.com/scalanlp/breeze/wiki/Linear-Algebra-Cheat-Sheet
The :/ operator was not documented, although :* was. I found it by accident ;)

Fixed. (You know it's a wiki, right? ;-)


[BUG] AIO file size and buffer size mismatch

I am using NVMe offload and getting this error regardless of number of GPUs I am using.
/zero_stage_3/optimizer/rank1/140302004385408_gradient_988164096_75497472.tensor.swp: buffer nbytes != file bytes 301989888 != 0
python: /home/jkkim/anaconda3/envs/transformers/lib/python3.9/site-packages/deepspeed/ops/csrc/aio/py_lib/deepspeed_py_aio_handle.cpp:223: int deepspeed_aio_handle_t::pread(const at::Tensor&, const char*, bool, bool): Assertion `static_cast<long long int>(buffer.nbytes()) == num_file_bytes' failed.

Offloading works fine when the size of the model is small, but at certain point AIO starts to malfunction.
It creates swp files for gradients but they are empty - their sizes are all 0.
My zero configuration is set as below:
    "zero_optimization": {
        "stage": 3,
        "offload_optimizer": {
            "device": "nvme",
            "nvme_path": "/home/jkkim/OnGoingResearch/NVMOffload",
            "pin_memory": true,
            "buffer_count": 4,
            "buffer_size": 2e9,
            "fast_init": false
        },
        "offload_param": {
            "device": "cpu",
            "pin_memory": true
        },
        "overlap_comm": true,
        "contiguous_gradients": true,
        "sub_group_size": 1e9,
        "reduce_bucket_size": "auto",
        "stage3_prefetch_bucket_size": "auto",
        "stage3_param_persistence_threshold": "auto",
        "stage3_max_live_parameters": 1e9,
        "stage3_max_reuse_distance": 1e9,
        "stage3_gather_fp16_weights_on_model_save": true
    }

It seems that the same issue related to AIO happened before : https://github.com/microsoft/DeepSpeed/issues/1070
but the fixed version does not work for me.
Any suggestion or clue to solve this issue? Thanks.

@nobellant215, thanks for sharing this issue. I will take a look.

@nobellant215, can you please share the settings of aio section in your json config?

Never mind. AIO failed simply due to insufficient disk space.
Thanks for the fast response though.


Update README.md as per issue #44

added orientation application to education field

can u check the PR


remove unit test add RSpec

rm -rf test folder
echo 'gem "rspec-rails", :group => [:development, :test]' >> Gemfile
bundle install
rails g rspec:install

👍 Just added a tiny comment about adding .rspec to the repo.

oh yes you are right my bad I will change that


Setup logging on CAPA installations

Towards: https://github.com/giantswarm/roadmap/issues/311
In order to expand our logging infrastructure coverage we should extend support to CAPA installations
### Tasks
- [x] https://github.com/giantswarm/roadmap/issues/2872
- [ ] https://github.com/giantswarm/roadmap/issues/2934
- [ ] https://github.com/giantswarm/roadmap/issues/2937
- [ ] https://github.com/giantswarm/roadmap/issues/2938

How to validate

[ ] I can read logs from Loki using Grafana on each AWS installation

All items are deployed, let's check if we have logs on WCs

Works on 2 out of 8 installations
Most of them return NetworkError from Grafana while trying to query for logs. goten has another issue as I can't reach out to Grafana.

anzu :red_circle:

gazelle :green_circle:
goat :red_circle:

golem :green_circle:
goten :red_circle:

grizzly :red_circle:

velvet :red_circle:

snail :red_circle:

I fixed the Root cause (incorrect cilium network policy for object-storage-operator). I'll release later. Goten IS ephemeral (mc-bootstrap running,it's not a Real installation)

Sée https://github.com/giantswarm/object-storage-operator/pull/38

Currently only failing on Goat and Anzu, will investigate later

Anzu is fixed now.
Goat is working but promtail is failing becuase certificate is not secured:
level=warn ts=2023-11-13T16:50:41.225750028Z caller=client.go:419 component=client host=loki.goat.gaws.gigantic.io msg="error sending batch, will retry" status=-1 tenant=goat error="Post "https://loki.goat.gaws.gigantic.io/loki/api/v1/push\": tls: failed to verify certificate: x509: certificate is valid for ingress.local, not loki.goat.gaws.gigantic.io"

Issue for Goat:
https://github.com/giantswarm/roadmap/issues/2956
We had this for prometheus agent as well.
@TheoBrigitte should we close this one (i'll let you validate of course) and keep the goat issue only?

Goat is fixed when using https://github.com/giantswarm/logging-operator/pull/87

Loki is now running on CAPA, let's announce that


could you provide the pre-trained feature extractor?

could you provide the pre-trained feature extractor? My email is<EMAIL_ADDRESS>. Thank you.

The pre-trained models can be downloaded.


iOS Simulators ASTC compile error when PLATFORM set to OS64COMBINED

axys version: Sep 19, 2022 dev
devices test on: iOS Simulators
developing environments

Xcode version: 14
cmake version: 3.24.2
Steps to Reproduce:

Generate xcode arm64 & x86_64 project:
cmake -S . -B build -GXcode -DCMAKE_TOOLCHAIN_FILE=$AX_ROOT/cmake/ios.toolchain.cmake -DPLATFORM=OS64COMBINED
Open Project and change target to "iPhone Simulators"
Will see ASTC erros, If you use the machine, there will be no problem, only on the simulator

This should be a feature request, not a bug, since OS64COMBINED isn't a supported target platform

Hi,
Error list:

I think that the problem is related to BASE SDK that use iOS instead of Simulator in this case:

You can see on log:
Using SDK: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk
And on simulator, it uses:
-- Using SDK: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk

I post an issue to understand if has any solution:
https://github.com/leetal/ios-cmake/issues/160

I make progress with option:
 -DAX_WITH_ASTC=OFF

But other problem happen:
error build: Undefined symbol: _BZ2_bzDecompress

error build: Undefined symbol: _BZ2_bzDecompressEnd

error build: Undefined symbol: _BZ2_bzDecompressInit

error build: Undefined symbol: store_image_block(astcenc_image&, image_block const&, block_size_descriptor const&, unsigned int, unsigned int, unsigned int, astcenc_swizzle const&)

error build: Undefined symbol: physical_to_symbolic(block_size_descriptor const&, physical_compressed_block const&, symbolic_compressed_block&)

error build: Undefined symbol: decompress_symbolic_block(astcenc_profile, block_size_descriptor const&, int, int, int, symbolic_compressed_block const&, image_block&)

error build: Undefined symbol: init_block_size_descriptor(unsigned int, unsigned int, unsigned int, bool, unsigned int, float, block_size_descriptor&)

The bz2 library is not flat, but selected when CMake project was generated:
-- Found BZip2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk/usr/lib/libbz2.tbd (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found

After search, we can remove BZIP2 to test:
-DAX_WITH_ASTC=OFF -DFT_DISABLE_BZIP2=ON

BZIP2 is ignored - OK
But ASTC is not REALLY disabled, because it still required it, see the errors:
error build: Undefined symbol: store_image_block(astcenc_image&, image_block const&, block_size_descriptor const&, unsigned int, unsigned int, unsigned int, astcenc_swizzle const&)

error build: Undefined symbol: physical_to_symbolic(block_size_descriptor const&, physical_compressed_block const&, symbolic_compressed_block&)

error build: Undefined symbol: decompress_symbolic_block(astcenc_profile, block_size_descriptor const&, int, int, int, symbolic_compressed_block const&, image_block&)

error build: Undefined symbol: init_block_size_descriptor(unsigned int, unsigned int, unsigned int, bool, unsigned int, float, block_size_descriptor&)

To full disable it, need comment this files inside base/CMakeLists.txt:
base/astc.h
base/astc.cpp

On variables _AX_BASE_HEADER and _AX_BASE_SRC.
And need comment astc on file AXLinkHelpers.cmake from target_link_libraries.
And need change inside CCImage.cpp from if (Configuration::getInstance()->supportsASTC()) to if (true).
With all this changes, it works:

I'm not familiar with cmake, however after using command to generate the Xcode project, you can set the preprocessor macros to not using ASTC NEON in simulator.

There are 3 targets to set, astc, axys, cpp_tests.

Current project still have a limitation, because CMake need select bzip library per-platform, what make it be incompatible. If you generate CMake project for iOS, the bzip is from iphone SDK and if you generate for simulator CMake find inside simulator SDK.
One possible solution is add bzip library (-lbzip) and add library search folder based on platform:
iOS:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk/usr/lib/
And Simulator:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk/usr/lib/
Also, need consider tvOS paths too.

This issue still exists when building with -DPLATFORM=OS. I had to follow @paulocoutinhox 's steps to resolve (although I didn't have the bzip issues).
If building for OS64, compiler errors from astc will occur due to immintrin.h being included (these are Intel-specific headers that should not be included in an arm build).

Building astc as prebuilt maybe a good solution


[#noissue] Extract the form validation logic as a service

Codecov Report

Merging #5516 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #5516      +/-   ##
=========================================
+ Coverage   40.79%   40.8%   +<.01%
=========================================
  Files        2820    2820
  Lines       84799   84799
  Branches    11298   11298
=========================================
+ Hits        34596   34598       +2
+ Misses      47180   47178       -2
  Partials     3023    3023

Impacted Files
Coverage Δ

...pinpoint/rpc/ChannelWriteFailListenableFuture.java
42.85% <0%> (-28.58%)
:arrow_down:

...p/pinpoint/rpc/client/WriteFailFutureListener.java
56.25% <0%> (-18.75%)
:arrow_down:

...pc/server/LoggingServerMessageListenerFactory.java
90% <0%> (-10%)
:arrow_down:

...rc/main/java/com/navercorp/pinpoint/test/Item.java
66.66% <0%> (-3.34%)
:arrow_down:

...navercorp/pinpoint/rpc/common/SocketStateCode.java
82.92% <0%> (-2.44%)
:arrow_down:

...pinpoint/profiler/monitor/DeadlockMonitorTask.java
18.6% <0%> (-1.17%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
80.28% <0%> (+1.05%)
:arrow_up:

...point/rpc/client/DefaultPinpointClientHandler.java
72.54% <0%> (+1.3%)
:arrow_up:

.../pinpoint/rpc/client/PinpointClientHandshaker.java
66.42% <0%> (+1.42%)
:arrow_up:

...pinpoint/profiler/instrument/AccessorAnalyzer.java
65.71% <0%> (+8.57%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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


Clash with alex in haskell

We were adding haskell linter support for coala (https://github.com/coala-analyzer/coala) and found that there was a clash with another package named alex in ghc (haskell).
It seems we need alex from haskell as a dependency for our build - and this clash is a little annoying, as we can only use one of these packages at a time.
Is it possible to make an alias of your alex to alex.js or alexjs ? So that we can simply run alexjs to run your package and alex for the other ?
I'm sure it'd help with https://github.com/wooorm/alex/issues/58 too as CIs (Travis and circleci) seem to have this haskell's alex installed already.

FWIW we actually do want to use your alex and the alex haskell lexer in our CI.

I’m not sure why it’s the task of this alex to name itself differently? (side note: the name alexjs is only used in the domain, nowhere else, I dislike it :wink:)
Sure, it’s possible to add another link, but I feel it’s like feature creep.
I think I’ve suggested this before to Coala: instead of using npm install -g, install without the -g flag and use the correct version.
npm uses -g for commands installed by the user; if it’s a dependency it’s best to version it with the host package (coala).
If you’re using npm install alex remark, that means you can use ./node_modules/.bin/remark and  ./node_modules/.bin/alex and be sure it’s the correct remark or alex, respectively.
Which seams pretty good?

The usecase is that we actually want to use both alex binaries in one run. So global installation or not, if we modify the path we can still only use one of them, right?

(FWIW we're using the non global installation of alex by now :))

Yeah, I understand, either adding a new (symlinked) binary or my proposed solution would work for that, but my suggestion would have nice benefits (like better version control, so if a new version of remark or Alex is published it won't affect coala.)

Ah you mean specifying the whole path to alex without using PATH at all. Sorry, didn't get that. It's not feasible for users though... they'd have to give the path to alex which is system dependent.

Yes, no $PATH, just a local reference to ./node_modules/.bin/alex.
Why would users have to specify that location? You can specify it directly in your code, and there’s no differences between systems (other than / or \).

 :P

@sils1297 Wait, what is @AbdealiJK’s solution?
Does this mean this I can close this?

Yeah I think considering your opinions you should close this.

OK, great! Please let me know if I can help in any other way :+1:

We will, you know us :)
2016-02-22 22:42 GMT+01:00 Titus Wormer<EMAIL_ADDRESS>
Closed #83 https://github.com/wooorm/alex/issues/83.
—
Reply to this email directly or view it on GitHub
https://github.com/wooorm/alex/issues/83#event-560462070.

Haha :ok_hand:

But if we specify ./node_modules/.bin/alex in the code, it wouldn't work is alex is globally installed.
Nor would it work if the user runs coala from a directory other than the root of the place they did npm install :(
i.e. --find-config wouldn't be able to run AlexBear => The editor plugins will not be able to use alex at all.

I just now saw that users have to manually install the npm dependencies.
I was under the impression coala installed those into its own directory, any reason why that’s not the case? If it would, that means every user can run those linters without having to manually install them!

@wooorm At the moment we do not do that - we may support it later. There are issues that arise when doing something like that, and it's generally better to use existing libraries in my opinion.
Doing something like that feels like windows - where you have to package your own version of any library and it sits inside your own Program Files folder (I'm not a fan of it).
Either way (removing coala out of the equation) - I still think you should consider making a alexjs just for the reason that circleci already has an alex in their path for haskell. And adding both these alex's into a CI would be tough. In general, package name clashes are bad and causes confusion (I remember when nodejs came out).

@AbdealiJK I think it's more awkward for users to have to install 6+ packages when they want to use coala, whereas with the by me proposed solution, they would Install coala and be done with it.
This problem isn't just alex, or remark, it will arise more and more if there are other 'bears' added.
Note that in the case of node, they didn't change the name of node project.
CircleCI: one can specify a path to a binary.
I'm not going to rename remark or alex: I cannot control if some other package is created in the future, pics one of these names (or if I do that, by accident), and becomes popular.
Sure, I don't name thing 'ls' but Alex and remark are perfectly reasonable.


Shorten long titles and descriptions.

Shorter titles improves readability and the appearance of the website.
As an example, refer to the short task titles of Traffic Management (v1alpha3):
https://preliminary.istio.io/docs/tasks/traffic-management-v1alpha3/
Also remove "This task" before each description since it's redundant:
https://preliminary.istio.io/docs/tasks/security/

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: linsun
Assign the PR to them by writing /assign @linsun in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/approve
/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: geeknoid
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [geeknoid]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Cloudflare Vectorize

Is your feature request related to a problem? Please describe.
I'd like to use Cloudflare Vectorize (database for storing vectors) alongside Workers AI (#173).
Describe the solution you'd like
Vectorize is similar to D1 where it's a database. It's implementation would look similar to D1 in Nuxt Hub.
Describe alternatives you've considered
Manually adding a binding and directly using the API (#113)
Additional context

https://developers.cloudflare.com/vectorize/reference/client-api/
https://developers.cloudflare.com/vectorize/reference/metadata-filtering/

Happy to contribute a simple PR into @nuxt-hub/core to add hubVectorize() now but it wouldn't include proxying remote or devtools viewer though.
Also, should it be called hubVectorize() or should it have a different name like hubVectorDatabase()?

Thank your for creating the issue @RihanArfan
I think hubVectorize() makes the more sense, feel free to open a PR to start the work 😊

While implementing it, I've ran into things which require big decisions to be made. Also moving this here instead of the PR description so it's clearer.
Multiple bindings:

Vectorize supports namespaces in indexes (basically like tables) but all models need to be the same dimensions/metric
Any application using text embedding models of different models (small, base, large) simultaneously would need separate bindings due to different dimension sizes. I guess most people would probably want separate index per thing (products/reviews for e.g.)
Cloudflare supports creating an index via Wrangler or via the API.

Remote bindings:

Wrangler doesn't currently support Vectorize with local bindings, so --remote is necessary to use Vectorize via the deployed application. See https://github.com/cloudflare/workers-sdk/issues/4360.
Therefore, even for local development a remote database is needed. This approch of remote bindings during dev is already done by hubAI().
How many indexes exist for local development?

One (local-development) - Shared among all developers in the project locally developing
One per developer (local-development-rihan-arfan) - Each developer gets a separate index
Multiple per developer (local-dev-abcde) - Developer can select which "local" dev index they want, and use the same across developers

nuxthub vectorize dev <binding> <create/list/delete/reset>
nuxthub vectorize dev products list (shows all development indexes for products binding, including who made and optional description)
nuxthub vectorize dev products use asdfg

Resetting indexes for local developent:

Currently, you can only delete all contents in an index by recreating the index itself and redeploying (compared to getall and mass deleting).
For local development, there needs to be a way to easily recreate the remote database (either to wipe data or to change dimensions/metric.

Could allow resetting via Nuxt devtools, a cli command, dashboard or all?

nuxthub vectorize reset-dev products (if one local-dev index exists per binding)
nuxthub vectorize dev products reset (if multiple local dev indexes possible)

Approaches for managing indexes:
How Vectorize indexes should be managed using NuxtHub across different environments, etc.. Unlike other features like databases, a vectorize index needs options provided during creation based on the text embeddings model a user plans to use. Vectorize indexes also require specifying metadata indexes upfront if you want to use metadata filtering.
Any of these options would be used using hubVectorize(<binding>):
const vectorize = hubVectorize("products")

Here are some different options I've thought of to handle it.
Option A

User creates index manually and lets NuxtHub know what the name+environment, so NuxtHub can add the binding
Users would need to login to Wrangler themselves, unless we recreate functionality into NuxtHub's CLI via existing login.

pnpx wrangler vectorize create new-role --dimensions=768 --metric=cosine

export default defineNuxtConfig({
  hub: {
    // user needs to create metadata indexes via cli
    vectorize: {
      products: {
        production: 'your-vectorize-id',
        preview: 'your-vectorize-id',
        development: 'your-vectorize-id'
      },
      reviews: {
        production: 'your-vectorize-id',
        preview: 'your-vectorize-id',
        development: 'your-vectorize-id'
      }
    },
  }
})

Option B
Specifying index details (dimensions, metric) via nuxt.config.ts. This approach needs extending to add metadata indexes, which are necessary to filter vectors via metadata.
  vectorize: {
    // nuxthub handled creation of the index across environments
    products: {
      metric: 'cosine',
      dimensions: 768,
    }
    // use own vectorize indexes
    reviews: {
      production: 'your-vectorize-id',
      preview: 'your-vectorize-id',
      development: 'your-vectorize-id'
    }
  }

DX might be confusing as changing the config probably shouldn't result in automatically recreating production index to prevent accidental data loss. A potential fix is keeping the old Vectorize index but simply pointing the binding to a new index.

foo-ecommerce-products (dimensions 384)
foo-ecommerce-products2 (dimensions 1024) <- PRODUCTS binding links to this

Option C
Create, reset and delete indexes via a NuxtHub CLI and/or dashboard. All handled via CLI and backend rather than nuxt.config.ts. On start of dev server, Nuxt checks what indexes are available. This approach allows manually managing what indexes exist on each environment, including using existing indexes.
export default defineNuxtConfig({
  hub: {
    database: true,
    vectorize: true,
  },
});

$ # vectorize specific - future multi-bindings could have individual things
$ nuxthub vectorize create products --dimensions=768 --metric=cosine
# Done! Binding: PRODUCTS Index: foo-ecommerce-products, foo-ecommerce-products-preview, foo-ecommerce-local
# Use via `useVectorize("products")`

$ nuxthub vectorize list
# Vectorize indexes associated with "foo-ecommerce":
# [PRODUCTS]: # hubVectorize('products')
# foo-ecommerce-products         | dimensions: 768 | metrics: cosine
# foo-ecommerce-products-preview | dimensions: 768 | metrics: cosine
# foo-ecommerce-products-local   | dimensions: 768 | metrics: cosine
#
# [REVIEWS]:
# foo-ecommerce-products-local   | dimensions: 768 | metrics: cosine
#
# [KNOWLEDGEBASE]:
# support-system-articles        | dimensions: 768 | metrics: cosine
#
# ----------
# Create new index:
# nuxthub vectorize create <name> [--dimensions=<int>] [--metric=<string>] [--environments=<string=all>]
#
# Link an existing index:
# nuxthub vectorize link-existing-index support --index=support-system-articles-preview --environments=preview#
#
# Create a metadata index for an index:
# nuxthub vectorize create-metadata-index products --environments=all --property-name=streaming_platform --type=string
#
# Recreate local-development index (other environments would need deleting and recreating explicitly)
# nuxthub vectorize reset-dev products


Failed to set/get viewport size

After installing the helper and putting applitools helper in codecept.conf.js, run test then:
Failed to set/get viewport size: Error: Malformed type for "width" parameter of command setWindowRect
Expected: (number|null)
Actual: undefined
Package.json
    "dependencies": {
        "assert": "^2.0.0",
        "codeceptjs": "^2.3.1",
        "codeceptjs-saucehelper": "^1.4.0",
        "mochawesome": "^4.1.0",
        "selenium-webdriver": "^4.0.0-alpha.5",
        "webdriverio": "^5.13.1"
    },
    "devDependencies": {
        "codeceptjs-applitoolshelper": "^1.0.4",
        "dotenv": "^8.1.0"
    },

codecept.conf.js
    "ApplitoolsHelper": {
      "require": 'codeceptjs-applitoolshelper',
      "applitoolsKey": 'this-is-a-key'
    }

hi @nomyar could you try with latest version? It seems working fine for me.
CodeceptJS v2.3.0
Using test root "/Users/thanhnguyen/Desktop/aklamio"
Helpers: WebDriver, ApplitoolsHelper
Plugins: screenshotOnFail, wdio

Applitools functionality --
    Emitted | suite.before ([object Object])
 › Started SeleniumStandaloneLauncher
2019-10-01T14:20:16.758Z INFO webdriverio: Initiate new session using the webdriver protocol
  Check home page @test
    Emitted | test.before ([object Object])
    Emitted | test.start ([object Object])
    Emitted | step.before (I am on page "https://applitools.com/helloworld")
    Emitted | step.after (I am on page "https://applitools.com/helloworld")
    Emitted | step.before (I eye check "Homepage")
    Emitted | step.after (I eye check "Homepage")
    Emitted | step.start (I am on page "https://applitools.com/helloworld")
    I am on page "https://applitools.com/helloworld"
    Emitted | step.passed (I am on page "https://applitools.com/helloworld")
    Emitted | step.finish (I am on page "https://applitools.com/helloworld")
    Emitted | step.start (I eye check "Homepage")
    I eye check "Homepage"
    Emitted | step.passed (I eye check "Homepage")
    Emitted | step.finish (I eye check "Homepage")
    Emitted | test.passed ([object Object])
    Emitted | test.finish ([object Object])
  ✔ OK in 7450ms

    Emitted | test.after ([object Object])
    Emitted | suite.after ([object Object])

  OK  | 1 passed   // 17s
    Emitted | global.result ([object Object])
    Emitted | global.after ([object Object])
2019-10-01T14:20:29.875Z INFO @wdio/selenium-standalone-service: shutting down all browsers
 › Stopped SeleniumStandaloneLauncher

Hi @PeterNgTr I'm encountering the same issue with the latest version of the helper:
Applitools functionality --
 › [Session] Starting singleton browser session
  ✖ "before all" hook: codeceptjs.beforeSuite for "Check home page @test" in 2913ms
EyesError: Failed to set/get viewport size: Error: Malformed type for "width" parameter of command setWindowRect
Expected: (number|null)
Actual: undefined

package.json
"dependencies": {
        "assert": "^2.0.0",
        "codeceptjs": "^2.3.0",
        "codeceptjs-applitoolshelper": "^1.1.1",
        "codeceptjs-saucehelper": "^1.4.0",
        "dotenv": "^8.1.0",
        "mocha": "^6.2.1",
        "mocha-junit-reporter": "^1.23.1",
        "mochawesome": "^4.1.0",
        "selenium-webdriver": "^4.0.0-alpha.5",
        "webdriverio": "^5.14.3"
    },

codecept.conf.js
"ApplitoolsHelper": {
         require: 'codeceptjs-applitoolshelper',
         applitoolsKey: 'my-applitoolsKey'
  }

@smatsumoto123 please checkout my example repo. It's working perfect for me.
https://github.com/PeterNgTr/applitools-example

Thank you, that was very helpful @PeterNgTr.  I got it working by removing another webDriver option for saucelabs, and set its own windowSize.


Minor fixes for mkdocs serve rebuild and others

Added check for the no current event loop exception thrown by asyncio on rebuild (#47)
Delayed file cleanup for the pdf aggregator to avoid deleting files before the PDF is saved. (#51)
Guarantee the creation of the pdf.pages[].formats property (#48)

I got the same error message as #48
and the code fix mentioned in point 3 fixed this issue for me.
Thx 👍.
I eagerly await this PR to be part of the next release.


Bugs with Forza Horizon 4

Describe the bug
Programs menu item doesn't have an image icon. Game window doesn't show at taskbar.
Steps to reproduce

Install Forza Horizon 4 in Microsoft Store
Add Forza Horizon 4 in App Grabber
Launch the game

Expected behavior
Menu item have an icon. Game window shown at taskbar.
System information:

Windows version: Windows 10 Pro 20H2 19042.746
Cairo version: <IP_ADDRESS>43
32-bit or 64-bit: 64-bit
In Cairo Settings > Advanced, is Cairo set as shell?: No

Additional context
N/A
Screenshots

UPD: Game window shows at taskbar while it's loading and UWP window shows.

Thanks for the report! I'll see if I can reproduce with the Game Pass version.

I am able to reproduce this and will take a look.


Separate String and INT64 from hash_index_builder and remove function pointers, adding partial hash

This is closed for now as this is stale now and we plan to rework hash index completely later. Changes here will be considered in later PR.


Add the VSCode client for klsp

For testing the new klsp here https://github.com/runtimeverification/k/pull/3104.
Do not merge yet. It needs a bit more testing and cleaning.
This PR makes the connection to the klsp in the VSCode K extension.
To test it, just import the k-vscode project and run it in VSCode. If you have K in your path, everything should work automatically.
Requires the branch mentioned above.

Do you need a review on this @radumereuta, or does it still need cleaned up?


How do I find 768 dimension representation?

I want to use representations before projection.

Hi,
Sorry, our API in Pypi does not support that. I would recommend download this github repo and modify the code to get the representation before projection.
Best,


Add dropping strategy

Description
Enable token dropping for matmul implementation
Next steps:

work on dispatch & combine mask - make expert parallelism easy
add load balance loss

Test
Have a unite test to check a single layer output (become dropless if capacity factor is large enough):

capacity factor = 2 as default (it should be 1 ideally with evenly distributed) - link - pass
capacity factor = 0.1 (extreme case) - link - fail

Thank you @RissyRan for adding dropping strategy!!
I just added some nit.

Thank you @RissyRan for adding dropping strategy!! I just added some nit.

Thanks Zhiyu! Have you published comments?

Thank you @RissyRan for adding dropping strategy!! I just added some nit.

Thanks Zhiyu! Have you published comments?

Just published.


no meshes show up

There is no mesh filter or renderer on most of the objects and on the ones that do have them they are blank. There are no meshes in the entire project to add to a mesh filter and renderer.

Did you download the project with git LFS?

How do i download it as a git LFS ?

How do i download it as a git LFS ?

https://git-lfs.com/
git lfs clone https://github.com/vazgriz/FlightSim.git


updated bio

Updated my bio for the website to reflect a change in status. research asst --> graduate research asst.

Congratulations!


Recommendation: Having the app gives you result on the apps already install on the device

I sent you a feedback through the app but found this by accident, while trying to see if you guys are open source or not ;)
Basically aside from the results it gives you on the suggestions also suggest apps already installed on the device.
Evie Launcher already do this if you want to see what I mean.

Thanks for the idea, I've passed it on to our design team :)


ValueError while running inference-amr.sh

Hi,
I'm trying to inference my own data for AMR parsing, and followed the instructions (of main branch) as in README.md.
I'm having an error as below,

So, I set fp16 as False in inference-amr.sh, and it gave me like the error below.

Have you experienced this kind of situation before?
Thanks!
Best,
Paul

Figured out the problem with re-installing cuda version.
I had 11.3 but downgraded to 11.1!


Update document change model auto redeploy default value to true

Description
Update document change model auto redeploy default value to true
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
Version
List the OpenSearch version to which this PR applies, e.g. 2.14, 2.12--2.14, or all.
Checklist

[ ] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thanks, @zane-neo. Is this a fix to existing content or something changing in the next release (2.15)?

Thanks, @zane-neo. Is this a fix to existing content or something changing in the next release (2.15)?

This is a fix to existing content.


You have to manually refresh the page preview in edit mode

It might be nice if the page preview updated automatically as you filled out or changed the edit form.
Perhaps updated each time you moved focus from a field?
We'll need to decide if 'edit' pages only save updates when you hit a 'Save' button, or if they 'save as you go'.

I think there are a couple of ways we could do this while keeping the preview roughly the same. Both of these require JS so they'd have to be enhancements:

keep the preview as it is (an iframe to a separate preview page that depends on the saved state) and update the state  of the form via AJAX as the user types (or when they change field, or every few seconds). This might be unexpected for the user - would they necessarily expect every change they make in the editor to be saved without them actively saving it?
on devices that support this, swap the preview for something generated by JS from the current state of the fields on the page - this preview would represent 'what the form would look like if I saved', which is possibly more in line with what users might expect from a preview.

But there's also a question on what users need this preview for and whether we can serve these needs with something else. For instance:

if users want to figure out what each field maps to on the form, some of this might be accomplished with content improvements (I think some of our UR participants have had ideas on this)
if they want to see what each answer type does, maybe we need to think about how the answer type field is designed - this may also inform how we end up designing our 'component library'.

Both techniques for refreshing the preview sound reasonable.
I think there is definitely something to explore about the wider issue. I was surprised how little the users wanted/needed the inline preview when creating questions. I thought it would be essential. So far the (few) users who tested it didn't seem phased by not seeing the final form as they went along, wanting to check things in sections, maybe on the page list.

Closing this issue for now, as we are exploring the ability to preview screens in a different way without JS or inline previews


Poloniex public API wrapper

Implemented preliminary public API wrapper for Poloniex exchange.
TODO: implement private wrappers when we start to trade

You definitely want to add tests using a testing framework like mocha or something. Manual tests with console.error is a step in the wrong direction

That's a great suggestion. Definitely something we should implement as our codebase grows larger. I just opened up an issue for it.


mesa: Depends on autoconf and automake

TravisCI
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
configure.ac:237: error: Could not locate the pkg-config autoconf macros.
  These are usually located in /usr/share/aclocal/pkg.m4. If your macros
  are in a different location, try setting the environment variable
  ACLOCAL="aclocal -I/other/macro/dir" before running autoreconf.
configure.ac:237: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: /usr/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

https://travis-ci.org/Linuxbrew/homebrew-xorg/builds/200733266#L6111
Adding a :build dependency on autoconf and automake.

I'm not entirely sure why #259 succeeded in building whereas this PR failed.


Added cloud.yml vars load for terraform

Updated cloud.yml

Codecov Report

Merging #117 into master will decrease coverage by 0.34%.
The diff coverage is 20%.

@@            Coverage Diff             @@
##           master     #117      +/-   ##
==========================================
- Coverage   42.57%   42.23%   -0.35%
==========================================
  Files          11       11
  Lines         202      206       +4
==========================================
+ Hits           86       87       +1
- Misses        116      119       +3

Impacted Files
Coverage Δ

lib/kite/terraform.rb
26.66% <20%> (-0.26%)
:arrow_down:

Continue to review full report at Codecov.

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


Chapter4/homework/3

make a lot of small tests so I can solve this one the TDD way

make a lot of small tests so I can solve this one the TDD way

This is not how we describe a PR. I don't really care the fact that you wrote tests and especially not about the fact that it's in TDD way.
I care about what actual problem you were trying to solve. Which is not describe here.
Please don't be lazy and try to think about the reviewer who is going to check code. You, as a reviewer, would not be able to understand such PR. It's just code for hell knows what...

im sorry
here the whole description from the leetcode site
Implement atoi which converts a string to an integer.
The function first discards as many whitespace characters as necessary until the first non-whitespace character is found. Then, starting from this character, takes an optional initial plus or minus sign followed by as many numerical digits as possible, and interprets them as a numerical value.
The string can contain additional characters after those that form the integral number, which are ignored and have no effect on the behavior of this function.
If the first sequence of non-whitespace characters in str is not a valid integral number, or if no such sequence exists because either str is empty or it contains only whitespace characters, no conversion is performed.
If no valid conversion could be performed, a zero value is returned.
Note:
Only the space character ' ' is considered as whitespace character.
Assume we are dealing with an environment which could only store integers within the 32-bit signed integer range: [−231,  231 − 1]. If the numerical value is out of the range of representable values, INT_MAX (231 − 1) or INT_MIN (−231) is returned.

Example 1:
Input: "42"
Output: 42
Example 2:
Input: "   -42"
Output: -42
Explanation: The first non-whitespace character is '-', which is the minus sign.
Then take as many numerical digits as possible, which gets 42.
Example 3:
Input: "4193 with words"
Output: 4193
Explanation: Conversion stops at digit '3' as the next character is not a numerical digit.
Example 4:
Input: "words and 987"
Output: 0
Explanation: The first non-whitespace character is 'w', which is not a numerical
digit or a +/- sign. Therefore no valid conversion could be performed.
Example 5:
Input: "-91283472332"
Output: -2147483648
Explanation: The number "-91283472332" is out of the range of a 32-bit signed integer.
Thefore INT_MIN (−231) is returned.

im sorry
here the whole description from the leetcode site
Implement atoi which converts a string to an integer.
The function first discards as many whitespace characters as necessary until the first non-whitespace character is found. Then, starting from this character, takes an optional initial plus or minus sign followed by as many numerical digits as possible, and interprets them as a numerical value.
The string can contain additional characters after those that form the integral number, which are ignored and have no effect on the behavior of this function.
If the first sequence of non-whitespace characters in str is not a valid integral number, or if no such sequence exists because either str is empty or it contains only whitespace characters, no conversion is performed.
If no valid conversion could be performed, a zero value is returned.
Note:
Only the space character ' ' is considered as whitespace character.
Assume we are dealing with an environment which could only store integers within the 32-bit signed integer range: [−231,  231 − 1]. If the numerical value is out of the range of representable values, INT_MAX (231 − 1) or INT_MIN (−231) is returned.

Example 1:
Input: "42"
Output: 42
Example 2:
Input: " -42"
Output: -42
Explanation: The first non-whitespace character is '-', which is the minus sign.
Then take as many numerical digits as possible, which gets 42.
Example 3:
Input: "4193 with words"
Output: 4193
Explanation: Conversion stops at digit '3' as the next character is not a numerical digit.
Example 4:
Input: "words and 987"
Output: 0
Explanation: The first non-whitespace character is 'w', which is not a numerical
digit or a +/- sign. Therefore no valid conversion could be performed.
Example 5:
Input: "-91283472332"
Output: -2147483648
Explanation: The number "-91283472332" is out of the range of a 32-bit signed integer.
Thefore INT_MIN (−231) is returned.

should be in PR description an not a comment...

So Atoi is ToSpecialInteger(string a)

Could be, I took the name that the challenge is given so I could easily check my code

Could be, I took the name that the challenge is given so I could easily check my code

And how is an outside person supposed to know that the method name is from a challenge?

he/she could not or I have to mentioned that,

Expired


found and fixed a bug with GraphHttpPersistWriter

introduced with first STREAMS-313 PR, added test case

Style-points/personal preference: instead of calling
entry.getDocument()

so many times, I'd put that in a variable up front.

GraphHttpPersistWriter.java is now inconsistent with white-space conventions -- I'm seeing both
if( condition ) {

and
if (condition) {

I prefer the latter, though I think the former is more prevalent in the streams code I've looked at; anyway, these should probably be consistent.

@eponvert I agree, updating per your comment regarding entry.getDocument()


404 Not found on some pages

https://docs.microsoft.com/en-us/windows/desktop/secauthn/authentication-functions#functions-implemented-by-sspaps
The links under  "Functions Implemented by SSP/APs" throw 404 errors.
For example:
https://docs.microsoft.com/en-us/windows/desktop/api/Ntsecpkg/nc-ntsecpkg-lsa_ap_logon_user_ex2

I ran into the same issue on the DirectShow reference pages. For example, none of the links (that I tried) on the "Alphabetical List of DirectShow Interfaces" are working:
https://docs.microsoft.com/en-us/windows/desktop/directshow/alphabetical-list-of-directshow-interfaces

@ginami Can you take a look at this issue?

Update here?

Hi @GZibrat -- thanks for letting us know about this! We'll get the page updated.

I'm getting a 404 for pretty much all of the VSTS API documentation
https://docs.microsoft.com/en-us/rest/api/vsts/wit/queries/get - even the "search results that may be helpful" all have 404s

@ginami Any update on this? 25 days and most of the links on https://docs.microsoft.com/en-us/windows/desktop/SecAuthN/authentication-functions under the "Functions implemented by SSP/APs" still are throwing 404s. Additionally, if I get lucky and am able to find the old page in Google's cache or archive.org, all of the linked enumeration / structure definition pages seem to be broken / missing as well.

All azure documentation pages are resulting in the same. I used to be able to just spam refresh on the page and it would redirect to an aspnetcore 2.1/2.2 version of the page that was valid. Now refreshing the page does not cause any redirects and I have no idea how to access ANY azure documentation pages.

The original posters URL is also 404 not found for me.

Closing this one since the original problem seemed to be fixed. I got no hits on the referenced page:

Please report other pages with 404 links separately since different teams own different content.


Correct test scroll helper

The select test existing test code scrolls to the bottom of the parent iframe even though the PR was updated to move the fixture to the top of the iframe
Originally posted by @rajsite in https://github.com/ni/nimble/pull/1185#discussion_r1178157477

Think I got the idea from here:
https://stackoverflow.com/a/66869607/338923

While not useful for that person, that's exactly what we want


Missing Storage Adaptor (FiberChannel) from vcenter sync

If ESX uses FiberChannel storage adator to use NAS storage, fiberchannel interfaces are not synced.

Hi,
That's possible. The issue here is I don't have an environment with this configuration to implement a solution.
would you be able to provide me a dump from the API with -l DEBUG3 which includes the host with the unsynced interfaces?

Hi,
That's possible. The issue here is I don't have an environment with this configuration to implement a solution.
would you be able to provide me a dump from the API with -l DEBUG3 which includes the host with the unsynced interfaces?

Hi,
Did you receive the log file from clemenTal? I am also interested in your program detecting FC HBA cards with their WWN addresses installed in hosts and adding them to NetBox. I can send you a dump from the API with -l DEBUG3 from my environment.

Hi,
I did not receive any logs. Would be happy if you could send them if you have some. Then I could look into implementing it.
Thank you.

The log file after compression is more than 40MB so I sent you an invitation to a directory on my Google Drive. I also put there CSV files with lists of HBA cards from several of my hosts visible in VCenter. There is also a text file with the names and uuid of these hosts. I anonymized the log file by removing the domains and parts of the IP addresses from the file.
I hope this data will help you add new feature to your program.

Hi,
Thank you for the log output, this is very helpful. I looked through the output and found that the FibreChannel Adapters are listed as StorageAdapters, not Network Interfaces. That's one reason why they don't show up.
also the amount of data is very limited:
(vim.host.FibreChannelHba) {
            dynamicType = <unset>,
            dynamicProperty = (vmodl.DynamicProperty) [],
            key = 'key-vim.host.FibreChannelHba-vmhba1',
            device = 'vmhba1',
            bus = 9,
            status = 'online',
            model = '2600 Series 16Gb Fibre Channel to PCI Express HBA',
            driver = 'qlnativefc',
            pci = '0000:09:00.0',
            storageProtocol = 'scsi',
            portWorldWideName = 111111,
            nodeWorldWideName = 222222,
            portType = 'unknown',
            speed = 8
         },

we would need a regex to guesstimate the interface type which is a mandatory field in NetBox.
Would add an interface with following infos to NetBox:

device
interface name
guesstimated interface type
WWN

What do you think? How would you determine the interface type?

Hi,
It seems to me that the interface name, interface type and WWN assigned to the device are sufficient for HBA adapters.
I was wondering how you can guess the type of interface and I think there aren't too many options. The first one that comes to my mind is parsing the model field and looking there for the speed at which the interface can work. In the data dump you sent from my infrastructure: 2600 Series 16Gb Fibre Channel to PCI Express HBA = 16gfc-sfpp If we don't find the speed there then we should use the speed field. However, from the VCenter API description, it appears that this field contains the current operational speed of the interface. It's not the best choice but there probably isn't another one to add this type of interface to Netbox. Perhaps it would be a good idea that when a new interface is added to NetBox, the script does not change its type if it is changed in the NetBox GUI to the correct one.
For WWN, in my opinion we should assign a portWorldWideName to the interface in NetBox. We also need to keep in mind that the VCenter API returns the WWN as a decimal notation and it needs to be converted to hexadecimal notation which is acceptable to NetBox.

Hi,
Good point about the speed. I could try to use some regex to grab the speed and set it on new interfaces.
Thanks for the hint on the format conversation for the WWN.
Will look into adding this.


Fixes for building with SimpleElastix v2.0.2

The update of ITK to v5 means SimpleElastix has to be updated to the newest of SimpleITK as well. These changes were required for SimpleElastix (based on lastest SimpleITK) to be able to build Elastix. However, the changes are quite fundamental and I would expect you to have noticed before. Can you review @N-Dekker?

@kaspermarstal Sorry, I did not mean to break the SimpleElastix build, when removing ELASTIX_VERSION. I did so last September, by pull request https://github.com/SuperElastix/elastix/pull/298 commit 90122eff6b37a17adc9f5bb3d7bc08608e9c14a6 "ENH: Replace __ELASTIX_VERSION by ELASTIX_VERSION_MAJOR/MINOR/PATCH" whose main aim was to start using three version numbers (major.minor.patch), instead of a floating point (or fixed point) number. The removal of ELASTIX_VERSION did not break any test at that time (September 2020), so I thought it would be OK. Obviously I was wrong!


Add settings page

A given user can configure the number of questions to be asked, and if he wants second chance on questions (this can be implemented later on).

Added settings page, right now without saving functionality until we create profile context or similar


Support unmodified Text Mate themes by mapping hex colors to xterm colors

The current themes are modified so that all hex colors are replaced by terminal color codes. Would be nice to not have to do that. Something like this will be needed https://gist.github.com/MicahElliott/719710

Implemented in latest version (0.1.53)


Decouple generated java/jni API from android chip-tool

generated java/jni API for IM is too big, we need to decouple it and fully use the generic java/jni IM API.

@yunhanw-google
I add feature for decoupling generated API.
But, Android Chip-tool can not disable this feature.
Because ChipClusters class is still used in "Cluster Interaction Tool" function.
A complete separation for the completion of this issue requires the following:

Addition of API that can change parameters used for each Command and Write Attribute to TLV.
(Of course, I know that there is a TLV parse library, but I think I need to find a way to do it without hardcoding as in the example below.)

https://github.com/project-chip/connectedhomeip/blob/a9773c943efd9c2dd840bad17b859c31a95ebb3c/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/OpCredClientFragment.kt#L111

Added API for TLV Docoding. This fix has been added to the PR.

Any other opinions?