intl dependency crash for android

When opening either eith DatePickerModal or TimePickerModal on android returns with a crash to download this dependency npm install intl and add this inside src/Time/TimePicker.tsx :
import 'intl';
import 'intl/locale-data/jsonp/en';
FIXES the problem!

Hi!!! NajeebUllah161, good catch, good job, It is a best solution to the issue, thank you.
I was giving up on this library, it is very good, it just needs to improve the documentation, the
collaborators have to publish this solution soon in main

I am facing the same issue in Ios Simulator, How can i resolve this issue ?

Hello!!!
first install dependency -  npm install intl
second go to folder
\node_modules\react-native-paper-dates\src\Time\TimePicker.tsx
and
import 'intl';
import 'intl/locale-data/jsonp/en';
Import some localized strings
don't forget put this code in index.js
// e.g in your index.js
import {
// en,
// fr,
// nl,
// de,
// pl,
// pt,
// ar,
// ko
// fr
enGB,
registerTranslation,
} from 'react-native-paper-dates'
// registerTranslation('en', en)
// registerTranslation('fr', fr)
// registerTranslation('nl', nl)
// registerTranslation('pl', pl)
// registerTranslation('pt', pt)
// registerTranslation('de', de)
// registerTranslation('ar', ar)
// registerTranslation('ko', ko)
// registerTranslation('fr', fr)
registerTranslation('en-GB', enGB)
On Wed, Oct 19, 2022 at 6:39 AM Shreyanch @.***> wrote:

I am facing the same issue in Ios Simulator, How can i resolve this issue ?
[image: simulator_screenshot_E398A9F3-A262-4184-903F-DE9B89D56AFB]
https://user-images.githubusercontent.com/114562284/196668507-57bb611f-f2c9-4d04-9ab8-e186edf51c8c.png
—
Reply to this email directly, view it on GitHub
https://github.com/web-ridge/react-native-paper-dates/pull/199#issuecomment-1283795027,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APLS6JAC76Y2IIVKZ5E47KLWD7FUZANCNFSM6AAAAAAQJYYFZA
.
You are receiving this because you commented.Message ID:
@.***>

You should enable hermes on Android and you don't need polyfills for intl at all!


Issue 44 - Github Data Collection

closes #44
Module which collects Github Data which are sent from an Action.

Hi Eddie,
I introduced the Mapping discussed in #44
Pls feel free to give some feedback when reviewing changes!

I added Validation for the DTO of this module.
This validation probably needs to be added to the other modules as well.
That would be a new PR then I guess

Great work 💥 , thank you 🎉


code execution which doesn't meet .NET security hardening is blocked if any WDAC policy with Dynamic code Security is active, even if that policy is in audit mode.

[Enter feedback here]
enterprise customer request document update "code execution which doesn't meet .NET security hardening is blocked if any WDAC policy with Dynamic code Security is active, even if that policy is in audit mode."

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 71a4de3f-011b-8c14-b293-945436411f57
Version Independent ID: 71a4de3f-011b-8c14-b293-945436411f57
Content: Windows Defender Application Control and .NET - Windows Security
Content Source: windows/security/application-security/application-control/windows-defender-application-control/design/wdac-and-dotnet.md
Product: windows-client
Technology: itpro-security
GitHub Login: @jsuther1974
Microsoft Alias: jsuther

In general, if something causes a block in audit mode, it is treated as a bug. The customer should file a bug with Microsoft to have this fixed. It is not a doc issue.

I've heard this before but haven't been able to reproduce it. What application is being blocked?

In general, if something causes a block in audit mode, it is treated as a bug. The customer should file a bug with Microsoft to have this fixed. It is not a doc issue.

Per Bug46725466 we need update the doc

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Docs probably use dev image not release image

For instance this page doesn't contain the etcd binary in their code examples. But if you install the release image instead of however you start the devel image you won't have an ENTRYPOINT, so you need to explicitely state the binary you want to use.

https://coreos.com/etcd/docs/latest/v2/docker_guide.html assumes that you are running v2.
Since v3, we use CMD https://github.com/coreos/etcd/blob/master/NEWS#L154

I see, thanks for the explanation!


Fix yaml sample order of configure-pod-container/

The orders of data was random, and that made the doc unreadable.
This fixes the orders in consistent way under configure-pod-container/
ref: https://github.com/kubernetes/website/issues/13862

/lgtm
/approve


Update aka.ms link of JPEG test image used in Image Analysis SDK tests

Update the aka.ms URL link that points to the JPEG image used in test, to better match the Azure SDK aka.ms links format. Both URL links resolve to the same JPEG image file in one of the public Azure SDK repos, so there is no actual change in test.
Sample code is already using the new aka.ms link. Looks like I forgot to update the test a while back when I did the change.
No need to save new test vectors in the asset repo, since recorded client requests redact any URLs in the JSON request payload.

/azp run java - vision - ci

API change check
API changes are not detected in this pull request.


ARROW-4343: [C++] Add docker-compose test for gcc 4.8 / Ubuntu 14.04 (Trusty)

This also fixes a build failure ARROW-5617 resulting from thrift_ep needing to be pointed to the output of boost_ep when ARROW_BOOST_VENDORED=ON

I'm going to try to enable Flight in this and the Xenial build before merging

Ubuntu 14.04 LTS isn't maintained since 2019-04. (Ubuntu 14.04 EVM is still maintained.)
Should we still support Ubuntu 14.04?

@kou I don't think we should formally support Ubuntu 14.04, but I think this is mainly to be able to test that the package still builds on a completely pre-gcc5 compiler toolchain

On Ubuntu 16.04 I'm getting linking failures due to OpenSSL
[486/565] Linking CXX executable debug/flight-test-server
FAILED: : && /usr/bin/ccache /usr/bin/g++   -fdiagnostics-color=always -ggdb -O0  -Wall -Wno-conversion -Wno-sign-conversion -Wno-unused-variable -Werror -Wno-attributes -msse4.2  -g   src/arrow/flight/CMakeFiles/flight-test-server.dir/test-server.cc.o  -o debug/flight-test-server  -rdynamic debug/libarrow_flight_testing.so.14.0.0 debug/libarrow_testing.so.14.0.0 /usr/lib/x86_64-linux-gnu/libdouble-conversion.so /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/lib/x86_64-linux-gnu/libbrotlienc.so /usr/lib/x86_64-linux-gnu/libbrotlidec.so /usr/lib/x86_64-linux-gnu/libbrotlicommon.so /arrow/cpp/thirdparty/protobuf_ep-install/lib/libprotobuf.a orc_ep-install/lib/liborc.a /usr/lib/x86_64-linux-gnu/libglog.so -ldl /usr/lib/x86_64-linux-gnu/libdouble-conversion.so boost_ep-prefix/src/boost_ep/stage/lib/libboost_system.a boost_ep-prefix/src/boost_ep/stage/lib/libboost_filesystem.a boost_ep-prefix/src/boost_ep/stage/lib/libboost_regex.a debug//libgtest_maind.so debug//libgmockd.so -ldl /arrow/cpp/thirdparty/protobuf_ep-install/lib/libprotobuf.a /arrow/cpp/thirdparty/grpc_ep-install/lib/libgrpc++.a /arrow/cpp/thirdparty/grpc_ep-install/lib/libgrpc.a /arrow/cpp/thirdparty/grpc_ep-install/lib/libgpr.a /arrow/cpp/thirdparty/cares_ep-install/lib/libcares.a /arrow/cpp/thirdparty/grpc_ep-install/lib/libaddress_sorting.a gflags_ep-prefix/src/gflags_ep/lib/libgflags.a debug//libgtestd.so debug/libarrow_flight.so.14.0.0 /arrow/cpp/thirdparty/grpc_ep-install/lib/libgrpc++.a /arrow/cpp/thirdparty/grpc_ep-install/lib/libgrpc.a /arrow/cpp/thirdparty/grpc_ep-install/lib/libgpr.a /arrow/cpp/thirdparty/cares_ep-install/lib/libcares.a /arrow/cpp/thirdparty/grpc_ep-install/lib/libaddress_sorting.a debug/libarrow.so.14.0.0 /usr/lib/x86_64-linux-gnu/libdouble-conversion.so /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/lib/x86_64-linux-gnu/libbrotlienc.so /usr/lib/x86_64-linux-gnu/libbrotlidec.so /usr/lib/x86_64-linux-gnu/libbrotlicommon.so orc_ep-install/lib/liborc.a /arrow/cpp/thirdparty/protobuf_ep-install/lib/libprotobuf.a /usr/lib/x86_64-linux-gnu/libglog.so -ldl jemalloc_ep-prefix/src/jemalloc_ep/dist//lib/libjemalloc_pic.a -pthread -lrt -Wl,-rpath,/build/cpp/debug && :
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_set_next_protos_advertised_cb'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_use_PrivateKey'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_set_session_id_context'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_ctrl'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_set_cipher_list'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_use_certificate'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_do_handshake'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_get_ex_new_index'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_read'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_load_error_strings'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_get0_alpn_selected'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_free'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_new'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_set_session'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_set_accept_state'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_get_cert_store'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_get_peer_certificate'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_get_ex_data'
debug/libarrow_flight.so.14.0.0: undefined reference to `d2i_SSL_SESSION'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_set_client_CA_list'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_set_alpn_select_cb'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_get0_next_proto_negotiated'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_new'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_set_SSL_CTX'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_get_error'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_set_bio'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_set_connect_state'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_state_string_long'
debug/libarrow_flight.so.14.0.0: undefined reference to `i2d_SSL_SESSION'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_set_ex_data'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_ctrl'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_get_servername'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_state_string'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_library_init'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_write'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_set_verify'
debug/libarrow_flight.so.14.0.0: undefined reference to `TLSv1_2_method'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_check_private_key'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_state'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_set_alpn_protos'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_callback_ctrl'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_sess_set_new_cb'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_set_next_proto_select_cb'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_SESSION_free'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_set_info_callback'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_CTX_free'
debug/libarrow_flight.so.14.0.0: undefined reference to `SSL_get_SSL_CTX'
collect2: error: ld returned 1 exit status

It appears that -lssl or similar is not being passed. There is no mention of OpenSSL in https://github.com/apache/arrow/blob/master/cpp/src/arrow/flight/CMakeLists.txt so I have reopened ARROW-3290

I think this is mainly to be able to test that the package still builds on a completely pre-gcc5 compiler toolchain

I understand.
CentOS 7 may be better than Ubuntu 14.04 for this purpose. Because CentOS 7 is a supported platform (we're providing RPM packages for CentOS 7) and CentOS 7 ships GCC 4.8.5.

That's a reasonable point. I'm going to finish the Ubuntu 14.04 build and then we can add a CentOS 7 one (and maybe drop Ubuntu 14.04)

It looks like the OpenSSL in Ubuntu 14.04 is too old for gRPC, so I'm disabling Flight in the build for now
[886/1324] Building CXX object CMakeFiles/grpc++_unsecure.dir/src/cpp/client/insecure_credentials.cc.o
FAILED: /usr/bin/g++  -DCARES_STATICLIB -DPB_FIELD_32BIT -I/build/cpp/grpc_ep-prefix/src/grpc_ep/include -I/build/cpp/grpc_ep-prefix/src/grpc_ep -I/arrow/cpp/thirdparty/protobuf_ep-install/include -I/build/cpp/grpc_ep-prefix/src/grpc_ep/third_party/address_sorting/include -I/build/cpp/grpc_ep-prefix/src/grpc_ep/third_party/nanopb -isystem /arrow/cpp/thirdparty/cares_ep-install/include -ggdb -O0 -g -fPIC -std=c++11 -g -fPIC   -fno-exceptions -fno-rtti -MD -MT CMakeFiles/grpc_cronet.dir/src/core/tsi/ssl_transport_security.cc.o -MF CMakeFiles/grpc_cronet.dir/src/core/tsi/ssl_transport_security.cc.o.d -o CMakeFiles/grpc_cronet.dir/src/core/tsi/ssl_transport_security.cc.o -c /build/cpp/grpc_ep-prefix/src/grpc_ep/src/core/tsi/ssl_transport_security.cc
/build/cpp/grpc_ep-prefix/src/grpc_ep/src/core/tsi/ssl_transport_security.cc: In function 'tsi_result ssl_ctx_load_verification_certs(SSL_CTX*, const char*, size_t, stack_st_X509_NAME**)':
/build/cpp/grpc_ep-prefix/src/grpc_ep/src/core/tsi/ssl_transport_security.cc:659:24: error: 'X509_V_FLAG_PARTIAL_CHAIN' was not declared in this scope
                        X509_V_FLAG_PARTIAL_CHAIN | X509_V_FLAG_TRUSTED_FIRST);
                        ^
/build/cpp/grpc_ep-prefix/src/grpc_ep/src/core/tsi/ssl_transport_security.cc:659:52: error: 'X509_V_FLAG_TRUSTED_FIRST' was not declared in this scope
                        X509_V_FLAG_PARTIAL_CHAIN | X509_V_FLAG_TRUSTED_FIRST);
                                                    ^
/build/cpp/grpc_ep-prefix/src/grpc_ep/src/core/tsi/ssl_transport_security.cc: In function 'tsi_result ssl_handshaker_result_extract_peer(const tsi_handshaker_result*, tsi_peer*)':
/build/cpp/grpc_ep-prefix/src/grpc_ep/src/core/tsi/ssl_transport_security.cc:1035:71: error: 'SSL_get0_alpn_selected' was not declared in this scope
   SSL_get0_alpn_selected(impl->ssl, &alpn_selected, &alpn_selected_len);
                                                                       ^
/build/cpp/grpc_ep-prefix/src/grpc_ep/src/core/tsi/ssl_transport_security.cc: In function 'tsi_result tsi_create_ssl_client_handshaker_factory_with_options(const tsi_ssl_client_handshaker_options*, tsi_ssl_client_handshaker_factory**)':
/build/cpp/grpc_ep-prefix/src/grpc_ep/src/core/tsi/ssl_transport_security.cc:1720:73: error: 'SSL_CTX_set_alpn_protos' was not declared in this scope
               static_cast<unsigned int>(impl->alpn_protocol_list_length))) {
                                                                         ^
/build/cpp/grpc_ep-prefix/src/grpc_ep/src/core/tsi/ssl_transport_security.cc: In function 'tsi_result tsi_create_ssl_server_handshaker_factory_with_options(const tsi_ssl_server_handshaker_options*, tsi_ssl_server_handshaker_factory**)':
/build/cpp/grpc_ep-prefix/src/grpc_ep/src/core/tsi/ssl_transport_security.cc:1903:79: error: 'SSL_CTX_set_alpn_select_cb' was not declared in this scope
                                  server_handshaker_factory_alpn_callback, impl);
                                                                               ^
ninja: build stopped: subcommand failed.

This can be merged now. If someone could take note of the OpenSSL linking changes I made, these were required to build successfully on Ubuntu 16.04

@kou I'm not sure if this is a newly introduced error https://travis-ci.org/apache/arrow/jobs/546535446#L3952

I'm making OpenSSL required in the Docker builds, otherwise we're going to be contending with OpenSSL-related bitrot

CMake 3.2 Docker build is broken. I'm opening a JIRA and making a blocker for 0.13

CMake 3.2 Docker build is broken. I'm opening a JIRA and making a blocker for 0.14

@wesm I suggest You to add cpp-ubuntu-trusty to the crossbow tests, it also requires an entry here. Then @ursabot crossbow test docker will run it.

Based on the discussion w/ @kou we will create a centos7 Dockerfile and then add that to Crossbow. If you are feeling energetic you can also do this work, I've spent a lot of time working on the build system over the last week and I'm done with it for a while (after fixing up my ORC PR, would also appreciate some help with that)

+1


Create setup bootstrap helper

The documented setup process is pretty involved between the GitHub repo, choosing the datasets to use, downloading those from huggingface, setting up the config file to use that dataset, etc etc..
There should be an app that users run when setting up Vigil that automates the process through menu selections.

Menu prompts user to input embedding model to use or 'openai'
If openai, prompt for API key

Set key in config file

Set app file paths in config file
Clone huggingface repo for selected embedding model into data/datasets
Load the data into the vector db with the config
Maybe perform some kind of simple test to verify everything is working as expected
Display commands to user can copy-paste to start the server / cli

Use Hugging Face hub client

Use Docker instead


SAMBRO: admin subscriptions

@flavour Please MERGE

@flavour Please merge

@biplovbhandari please be patuient...A pull request goese into my queue without any need to ask me to merge & chasing it after a day at the weekend isn't helpful...

@flavour Please review


type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'Map<String, String>' in type cast

type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'Map<String, String>' in type cast
When the exception was thrown, this was the stack:
#0      Alipay.payOrderJson (package:alipay_kit/src/alipay.dart:77:41)

alipay_kit: ^1.0.1


What happens when training is run with multiple sessions and multiple initial variables?

I get that for running, this allows for ensembles. But training? I don't really know what this might be good for. Shouldn't we restrict using multiple sessions during training to 1?

It should train multiple models with different initialization at the same time. The results you will see in the logs should be results of ensembling of these models. However, ensembles do not work with greedy runner.
I doubt it is a useful feature, but if the ensembles work, it's basically for free with the class design we have.


重构：激活会员卡 - 接口激活方式

兼容以前接口

Codecov Report

Merging #297 into master will increase coverage by 0.02%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master     #297      +/-   ##
==========================================
+ Coverage   76.31%   76.33%   +0.02%
==========================================
  Files          74       74
  Lines        3204     3203       -1
==========================================
  Hits         2445     2445
+ Misses        759      758       -1

Impacted Files
Coverage Δ

wechatpy/client/api/card.py
28.16% <33.33%> (+0.19%)
:arrow_up:

Continue to review full report at Codecov.

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


What's the wait time for a collection to be listed?

Hi @MillHaus33
Just checking to see whats the wait time for a collection to be listed. My collection name is "Nakabros" #2821
Thanks

Give it a day before you start @ing maintainers.

HI can anyone help me with this error I keep getting @cliobitcoinbank ?
loning into 'C:\Users\User\Documents\Github\ordinals-collections'...
remote: Enumerating objects: 25375, done.
remote: Counting objects: 100% (10533/10533), done.
remote: Compressing objects: 100% (1111/1111), done.
remote: Total 25375 (delta 9501), reused 9709 (delta 9420), pack-reused 14842
Receiving objects: 100% (25375/25375), 112.39 MiB | 14.66 MiB/s, done.
Resolving deltas: 100% (12257/12257), done.
error: invalid path 'collections/ordinal memes "the classics"/inscriptions.json'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
Would you like to retry cloning ?

no clue, maybe the folder names or heirchy is incorrect somehow.
"error: invalid path 'collections/ordinal memes "the classics"/inscriptions.json'"
maybe it's that?

thanks for the reply
Yes, definitely believe it is this memes folder.....but how to remove to enable cloning?

I also tried to clone your repository "ordinals-collections" on Windows, but there are problems because the path "collections/ordinal memes "the classics"/inscriptions.json" contains quotes which are not allowed on Windows.
Could you please adjust the path or provide an alternative method to use the repository on Windows? I look forward to working with your project.
Thank you very much!


Behavior correct?

Hi @MarcoIeni,
I'm indirectly using your "next_version" crate via the "git-cliff" cli tool. I came across the following situation.
I have tested conventional commits with 0.0.1 on and tried to bump via commits. Doing so with fix and none conventional commit increased the patch by one, so far so good. Then I tried a feat and it increased only the patch.
In the following file you write

If a feature comment, is present and the major number is not 1,
than the minor is incremented

With the major >1 this is true, but not with major == 0, as the following test shows clearly.
https://github.com/MarcoIeni/release-plz/blob/8baa179206108529a2b594b3ec88ea450df51169/crates/next_version/src/lib.rs#L28
If this is correct (do you have some reference via this is implemented in this way) how should I be able to increment the minor version or even reach 1.0.0 vie conventional commits?
Thanks in advance!
Ref: https://github.com/orhun/git-cliff/issues/343

Hi, this is the intended behavior.
The reason is that imo a bump from 0.0.x to 0.1.x and from 0.x.y to 1.0.0 should be intentional and not automated because the author communicates an higher level of stability to the user.
This is why crates in rust stays at "0.x.y" forever :)

how should I be able to increment the minor version or even reach 1.0.0 vie conventional commits?

You can't.
If you want this kind of behavior, you can start from 1.0.0, instead of 0.0.1.
This behavior is documented in the docs:

In #1065 I moved this section up, so that it takes precedence over the rule you copy pasted :)

do you have some reference via this is implemented in this way

Sorry, I don't have time to look for this, but this behavior is what makes sense for the Rust ecosystem.
Sorry for the inconvenience!


How to configure the optimization algorithms for determined strict initial state

Situation:
I did a test about 'employee scheduling' task (modified according to our problem) on optapy. When we gave a best plan case (0 Hard and 0 soft)  to optapy as initial state (shift_list data), it gave us a very bad output at the end of the time we determined.
Questions :

Why didn't it give the same output at least ?  Why might the current assignment be corrupted?
additionly how can we manipulate or change the optimization algortihms ?

Sounds like a score corruption. Try environment_mode FULL_ASSERT to verify it's not. If that's not the case, it's a bug. Please submit a reproducer on https://github.com/TimefoldAI/timefold-solver-python/issues and we'll fix it there.


no notification handler registered.

When I open nvim, then show this error.
no notification handler registered for "/Users/innei/.config/nvim/plugged/discord.nvim/rpl
ugin/python3/discord:autocmd:VimEnter:*"
Press ENTER or type command to continue

this is my nvim config.
Plug 'ObserverOfTime/discord.nvim', {'do': ':UpdateRemotePlugins'}

then I do UpdateRemotePlugins
remote/host: python3 host registered plugins ['discord', 'fzf_gitignore.py']
remote/host: generated rplugin manifest: /Users/innei/.local/share/nvim/rplugin.vim
Press ENTER or type command to continue

Platform:  OS X 10.15.2
Python: Python 3.7.3
health#discord#check
    3 ========================================================================
    4 ## discord.nvim
    5   - OK: has("nvim") was successful
    6   - OK: has("timers") was successful
    7   - OK: has("python3") was successful
    8   - INFO: If you are still having problems, create an issue on https://github.com/aurieh/discord.nvim/issues

Duplicate of #1

Still error, when I change branch to refactoyed.

But now, a new error caused. Only in branch refactoryed
[Discord] [Errno 3] No such process

Open a new issue for that.


Classification evaluation

Can you please provide the script for reproducing the classification in your paper?
Thanks a lot.

Looking forward to your reply.
Thanks for your grate work and help.


Upgrade to latest LLNL released versions of flux-framework

11/14/2022:

only flux-core has a new version, v0.45.0

Hold until 12/01/2022

Fixed by PR #46


Promotion rule expiration is dependent on system time

Orchestrator uses the system time when setting the LastUpdated field of a new CandidateDatabaseInstance.
This stores the system time with an offset to UTC: (I've set the system time to PDT)
/usr/local/orchestrator # sqlite3 orchestrator.sqlite3 "select * from candidate_database_instance;"
8fa4a00f0156|3306|2018-08-20 20:09:12.395052589-07:00|1|prefer

When ExpireCandidateInstances looks to expire entries, it uses the query:
delete from candidate_database_instance where last_suggested < NOW() - INTERVAL ? MINUTE

where the NOW() function is converted to datetime('now") for sqlite, which implicitly uses UTC. Sqlite does not parse the offset listed in the last_suggested column, only the text in the format "YYYY-MM-DD HH:MM:SS.SSS" (see section 2.2 of sqlite types manual https://www.sqlite.org/datatype3.html).
This causes promotion rules to be forgotten in near instant time on a machine whose time is set 1 hour or more behind UTC. I believe this also effects MySQL users the same.
I've reproduced this with the project's docker setup; the reproduced output and the steps to reproduce are listed in https://github.com/github/orchestrator/pull/584.

Thank you for this analysis. Before looking into it, do you happen to have a suggestion for remediation?


unfurl not support parsing the ext

unfurl not support parsing the extension mode
if any url like this example.com/asdasda.jpg
how unfurl extract the extension in unfurl mode?
so the expected output will be
echo example.com/crot.jpg | unfurl extension

jpg

Good idea!
I've implemented this as a format specifier so you can do:
> echo example.com/crot.jpg | unfurl format %e
jpg

This is available from v0.3.1
If it seems to be popular I'll add an extension alias to make it easier. Thanks!


SceneForm Camera and ARCore camera

I was trying to convert a world point to screen pixels and i saw that this  function is just what i need. But i tried to use this and saw that arcore.Camera and sceneform.Camera are two different classes and i couldn't figured it how to access sceneform.Camera . Can you help me about this or give a clue to how to use this function? Thank you!

You can access the sceneform camera by doing arFragment.getArSceneView().getScene().getCamera().

Thank you this solved my problem. However it was hard  to find from the documentation, probably it was my fault.


InitialDate not used for validation on nested fields

The Problem
When looping on nested data with initial data set, validation does not appear to take initial data into account. Only nested fields are affected. Root level data works as expected.
Steps to Reproduce
Create a store with initial state of nested data.
Create a form using that data with validation.
Add a required validation rule  (validators={{ required: (value) => (value && value.length) }}) on each field
Expected Behavior
All field should be valid.
Actual Behavior
All field are invalid.
Additionally, focus doesn't change validity. Field will remain invalid until the value is changed.
Reproducible Code Example
Form: https://codepen.io/Gidgidonihah/pen/qXpQdw?editors=0110
LocalForm: https://codepen.io/Gidgidonihah/pen/VzrMRY?editors=0111

Simple solution: your validator doesn't work for numbers:
// numbers don't have a `.length` prop, and `0` is falsey
const required = val => val && val.length

Try this instead:
const required = val => val !== undefined

Wow.  Well, thanks for at least pointing out my issue.


update changelog

This PR updates the Changelog for Preview Release 9 in the Releases section of the docs

Preview is available here:http://soroban-docs-pr452.previews.kube001.services.stellar-ops.com/

Something went wrong with PR preview build please check

Something went wrong with PR preview build please check

Something went wrong with PR preview build please check

Preview is available here:http://soroban-docs-pr452.previews.kube001.services.stellar-ops.com/

Preview is available here:http://soroban-docs-pr452.previews.kube001.services.stellar-ops.com/

closing and opening a new pr for preview release 10


simplify reading of EC keys

This MR slightly changes how EC keys are read.
Currently, both private and public keys are read (if provided), but the public key has no effect and the internally used openssl structure is overridden by the private part. Thus the public key has no effecton the final ecdsa object other than possibly throwing exceptions in the constructor.
This MR reads the keys the same way as they are read for RSA key, i.e., prefer private key if present, and completely ignore public part.
I also switched from PEM_read_bio_EC_PUBKEY to PEM_read_bio_PUBKEY, and from PEM_read_bio_ECPrivateKey to PEM_read_bio_PrivateKey. This change made it obvious that one could use the same code for reading RSA and EC keys. The functions only differ in type of errors they report, e.g., error::ecdsa_error::create_mem_bio_failed vs. error::rsa_error::create_mem_bio_failed.

We should deprecate/remove the older helpers and rename them to have RSA in the name.
https://github.com/Thalhammer/jwt-cpp/blob/master/include/jwt-cpp/jwt.h#L581
https://github.com/Thalhammer/jwt-cpp/blob/b8e55e256029c912ad3b30ba602929e236ffa941/include/jwt-cpp/jwt.h#L625


Corrected internal value for ParsedSecretTypes.JwtBearer

ParsedSecretTypes.JwtBearer is used for JWT Bearer client authentication.
Tests and secret parsing all use the correct value of urn:ietf:params:oauth:client-assertion-type:jwt-bearer but ParsedSecretTypes.JwtBearer, the internal value for storing secret type, uses urn:ietf:params:oauth:grant-type:jwt-bearer.
This is a breaking change for anyone using the old value explicitly in their code.

Thanks there fella!


Exclude dotted names from Pascal and camelCase

So linter does not flag Sys.getOptions

https://github.com/Microsoft/RTVS/commit/30b7dcc86b562c3678d27ea21130cbbb4c34a3b8


tests for numpy operator overloading (some fail!)

Looks like some of the new tests fail on Python 3.

Fixed the py3 issues!


no connection on page

VPN server (as a docker package also )  is running and I can't connect to the server from an other client
the web site runs but keeps saying :
Could not connect to ..........
I try  for OPENVPNMONITOR_SITES_0_HOST=   my internal server ip /  domain name  but nothing works for me.
I used a docker VPN so I add  management  <IP_ADDRESS> 5555 tot openvpn.conf
this is my docker compose  :
version: "3"
services:
openvpn:
depends_on: [web]
cap_add:
- NET_ADMIN
image: kylemanna/openvpn
container_name: openvpn
ports:
- "1194:1194/udp"
restart: always
volumes:
- ./openvpn:/etc/openvpn
web:
image: ruimarinho/openvpn-monitor
environment:
- OPENVPNMONITOR_DEFAULT_DATETIMEFORMAT=%%d/%%m/%%Y
- OPENVPNMONITOR_DEFAULT_LATITUDE=-3
- OPENVPNMONITOR_DEFAULT_LONGITUDE=14
- OPENVPNMONITOR_DEFAULT_MAPS=True
- OPENVPNMONITOR_DEFAULT_MAPSHEIGHT=500
- OPENVPNMONITOR_DEFAULT_SITE=Live
- OPENVPNMONITOR_SITES_0_ALIAS=server
- OPENVPNMONITOR_SITES_0_HOST=<IP_ADDRESS>
- OPENVPNMONITOR_SITES_0_NAME=server1
- OPENVPNMONITOR_SITES_0_PORT=5555
- OPENVPNMONITOR_SITES_0_SHOWDISCONNECT=True
ports:
- '8187:80'
restart: unless-stopped

I'm currently having a similar problem trying to deploy my setup to Kubernetes. It seems like there is some network traffic getting blocked or lost along the way. I don't know what it is; Everything works fine with my docker-compose setup found here. If I deploy things in seperate docker-compose or in just different docker run commands the monitor will not connect.


Update RNOneSignal.java

The instructions say that "By default this is false" but this is set to true in the constructor.

Thanks @anttitakalahti


Custom ignore list

add a way to ignore specific rsns without needing to add them to friends or ignore them
if you don't want to ignore someone and their private is off, there is no way to turn notifications off for them. comma separated text box that u can put rsns in would make this easy.
(i can write the code for this, but only if you would accept the PR. let me know)

That's reasonable enough, I'd like to do it myself though

Done in 2cefd2d0b773d153202ee76594bd9bbcdc85ce3a


Doubt about Filtering image brightness

Hi,
I would like to know if is possible I use some Filter to improve the luminance of image captured from Camera IP ?
For example: during the night I need to improve the clarity from Image.
There is support for that ?
Regards

Hello,
Applying the above example with Java 1.8.0_45, image.getType() returns 0, causing the following

java.lang.IllegalArgumentException: Unknown image type 0
at java.awt.image.BufferedImage.(BufferedImage.java:509)


Trouble running a tutorial file

Hi,
I'm trying to run all tutorials, and I'm stuck with fully_connected_feed.py as it produced following error:
Traceback (most recent call last):
File "fully_connected_feed.py", line 15, in
import tensorflow.python.platform
File "/home/pilotwarela0/Development/tensorflow/tensorflow/init.py", line 4, in
from tensorflow.python import *
File "/home/pilotwarela0/Development/tensorflow/tensorflow/python/init.py", line 15, in
from tensorflow.core.framework.graph_pb2 import *
ImportError: No module named core.framework.graph_pb2
I managed to track down the location of module:
/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/
So, added this path to PYTHONPATH with this:
PYTHONPATH="${PYTHONPATH}:/usr/local/lib/python2.7/dist-packages/tensorflow/"
export PYTHONPATH
It didn't work. So, I tried this solution by adding the lines:
import sys
sys.path.append("/usr/local/lib/python2.7/dist-packages/tensorflow/")
in ~/tensorflow/tensorflow/python/platform/init.py
None of these solution worked out for me. What am I doing wrong here? Could you please suggest a correct way to solve this problem?

"ImportError: No module named core.framework.graph_pb2" happens typically when you're trying to run in the same directory as the root of the source tree.  If you change into a different directory, does the problem go away?

HI,
Thanks for replying. I copied fully_connected_feed.py into a new folder, and executed this in command python as before:
python fully_connected_feed.py
First, it produced the same error:
Traceback (most recent call last):
File "fully_connected_feed.py", line 19, in
from tensorflow.g3doc.tutorials.mnist import input_data
ImportError: No module named g3doc.tutorials.mnist
I updated the PYTHONPATH as follows:
PYTHONPATH="${PYTHONPATH}:/home/pilotwarela0/Development/tensorflow"
export PYTHONPATH
and now arrived at the same error:
Traceback (most recent call last):
File "fully_connected_feed.py", line 15, in
import tensorflow.python.platform
File "/home/pilotwarela0/Development/tensorflow/tensorflow/init.py", line 4, in
from tensorflow.python import *
File "/home/pilotwarela0/Development/tensorflow/tensorflow/python/init.py", line 13, in
from tensorflow.core.framework.graph_pb2 import *
ImportError: No module named core.framework.graph_pb2
So, I wanted to check if I can import the module in python:

from tensorflow.core.framework.graph_pb2 import *
Traceback (most recent call last):
File "", line 1, in
File "/home/pilotwarela0/Development/tensorflow/tensorflow/init.py", line 4, in
from tensorflow.python import *
File "/home/pilotwarela0/Development/tensorflow/tensorflow/python/init.py", line 13, in
from tensorflow.core.framework.graph_pb2 import *
ImportError: No module named core.framework.graph_pb2

I tried to update the PYTHONPATH again, but not difference is produced.

According to this, it's allowed to execute the source in root dir:
http://tensorflow.org/get_started/os_setup.html#train-your-first-tensorflow-neural-net-model
I tried the example as shown, but I encountered the same problem. I installed tensorflow on Ubuntu with this instruction:
For CPU-only version
$ pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
And in python, I was able to import the tensorflow with no problem:
python> import tensorflow

That link is showing old contents: we've updated our git repo with the new instructions (as you note, the instructions on the website doesn't work).
Can you get things to work if you use virtualenv and use the binary pip install, by any chance?

Unfortunately even in virtulaenv, fully_connected_feed.py neither worked in nor out of the source root. However, I was able to execute the convolutional.py.
Could you please try to run fully_connected_feed.py yourself as found in the git source?

The problem is fixed. All is good.

Sorry, I didn't get a chance to look at this myself -- do you mind explaining what you did so others who run into the same problem might know the answer?

Turns out, I had a wrong PYTHONPATH taking the first place, so it failed to find the correct module path. Here, I had this in the first place:
PYTHONPATH="${PYTHONPATH}:/home/pilotwarela0/Development/tensorflow"
The solution was to clear out this incorrect PYTHONPATH, then add the correct path again to the first place with this:
PYTHONPATH="${PYTHONPATH}:/usr/local/lib/python2.7/dist-packages/"
export PYTHONPATH
Make sure to check your path with this: echo $PYTHONPATH


Initial plant representation and generation

TODO (before this gets merged):

[x] Recursively generate branches growing out of the trunk
[x] Get rid of Params, just use &'static Preset in the generator

TODOs after this PR:

Replace the old plant type with the new one and make everything compile
Prototype plant renderer (line strip)
Make real plant rendering work (using a tessellation shader)
Leaves
Configurable branch spawn chance
More tree presets (eg. for bushes, maybe cacti, etc.)
Extend the tree generator/representation to make this possible
Make tree gen more configurable
Support other plant types if the tree generator can't handle them (the tree generator is extremely flexible, so we should fully utilize it first)

r? @LukasKalbertodt


KML samples

This PR adds four KML samples:

Display KML
Display KML Network Links
Identify KML features
List KML contents

@ThadT Can you please take a look?
Note that there are some issues where fixes in master aren't on v.next yet, primarily around images not showing up in the readmes.
I can remove references to daily prior to merging, but I'm leaving them now for your convenience.


bpf: nat: avoid SNAT tracking for more types of node-to-node traffic

Background:
In https://github.com/cilium/cilium/pull/31082 we fixed the unnecessary tracking of node-to-node traffic by the SNAT engine, when dealing with Cilium's overlay traffic. This was causing occasional SNAT failures for new connections, as the SNAT engine was unable to reserve a free source port on apparent port "conflicts".
It's likely that we have similar scenarios for other types of traffic (Wireguard? DSR?) when they pass through to-netdev.
Proposal:
Implement similar SNAT avoidance schemes for other types of traffic. One way of finding such traffic patterns is using the SNAT utilization metric, introduced by https://github.com/cilium/cilium/pull/32152. Ideally we would also add regression testing for those traffic patterns.

@ldelossa mentioned seeing this for Wireguard, where every node pair would end up with a set of NAT entries like this:

UDP IN <IP_ADDRESS>:51871 -> <IP_ADDRESS>:51871 XLATE_DST <IP_ADDRESS>:51871 Created=13606sec ago NeedsCT=1
UDP OUT <IP_ADDRESS>:51871 -> <IP_ADDRESS>:51871 XLATE_SRC <IP_ADDRESS>:51871 Created=13606sec ago NeedsCT=1

As both the source and destination port are fixed (in contrast to eg. VXLAN's dynamic source port), at least here we don't produce additional NAT entries for every new tunneled connection ...

In addition, is this PR is related with https://github.com/cilium/cilium/issues/35331 ?


Settings: focused tab misses underline

Refs: #57304
Use tab to focus onto User settings or Workspace settings. Notice how the underline does not get rendered.
Also there is absolutelty no indication that they are focused

This was because of the theme I was using. All good in default theme


Adding Styling with just Markdown

I know I can use the syntax to embed html into the markdown files, but is there a way to style a section without doing that and just using raw markdown?

well you can wrap a section into a @@something ... @@ and that will put it into a div of its own that you can style at will so for instance:
This is some **markdown** text followed by

@@yellow-box,text-large
some more text in a yellow box with large font
@@

you'd then put in the relevant css file something like
.yellow-box {
  background-color: yellow; /* will look horrible */
}
.text-large {
  font-size: 25px;
}


Add interview match model

Description
Context
The interview match activity that happens every week is one of the remaining activities in the previous bot. To finish the deprecation process we're migrating the activity to the new bot.
This diff

Add handler to interact with the database
Add InterviewMatch Model for MongoDB

Incoming diffs

Create image utils
Add interview match command

Type of change

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

How Has This Been Tested?
Locally tested and added unit tests
Checklist:

[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works

Current dependencies on/for this PR:

develop

PR #56   👈

PR #57

PR #30

PR #37

PR #38

PR #39

PR #40

PR #41

Merge activity

Dec 28, 1:54 AM: @akotadi started a stack merge that includes this pull request via Graphite.


remove issuesList()

Closes https://github.com/rvagg/ghutils/issues/4

Breaking change so needs a new major.

:+1:

$ npm publish
+<EMAIL_ADDRESS>


Please add license information

Please add license information. Otherwise this software is considered non-free.

Hi,
I regularly use this tool for clock driver validation, so adding a license would allow me to package it into Buildroot and OpenWrt as I really find the tool useful.
Regards,
Robert

Sorry for the delay, I don't receive github notifications. I've added an MIT license now.

Thanks for this.

You're welcome. I've also added options to show the usage (-h), show only cpu (-c) or only tsc (-t) freq (saves you from having to cut fields) and to report the values as integers (-i) for use in shell scripts. If you want to trim it to its minimum for OpenWRT, we can easily get rid of the TSC stuff and maybe even just show the cpu-only output in integer mode.

Yeah, I saw that and that is great as well.
There is no need to trim it for OpenWrt as its an optional tool, I already made a PR for it as it has been an awesome tool for testing CPUFreq additions.

I definitely agree :-)


Add a camp mode fragment

(WIP while testing and probably more refactoring to remove duplicated code)
This adds a party mode (camp mode) fragment to candash, automatically switching between the main dash fragment and party fragment based on the hvac request.

It includes a large soc gauge, door UI, some temps and power, and a time remaining indicator.
The time remaining target percentage can be changed in 5% increments by tapping on it.
The screen blackout logic was also updated that tapping on the screen wakes it (also in normal dash mode) and it will go back to sleep after a delay.
Tested in my model 3 while camping at Joshua Tree National Park :)

Consider adding another pref just for camp mode hvac temp units. i prefer car temps to be in C but climate in F

Consider adding another pref just for camp mode hvac temp units. i prefer car temps to be in C but climate in F

Done. If you already use F then party mode will use F, but you can tap any temperature unit in party mode to toggle between F and C (there wasn't enough room in the settings fragment to have both)


Made fabs patch apply on linux

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Fixes a bug where reals were being truncated to ints on linux.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

There are too few lines.  There should be one empty line at the end of the file.

@conda-forge-admin, please rerender


polyphony not working with Maestro\ Concert\ Grand.sfz

polyphony not working with Maestro\ Concert\ Grand.sfz
Build the latest git version develop branch
sfizz_jack
using mamba/ jack-keyboard virtual keyboards

Hi, thanks for the report.
Indeed it don't play well in sfizz. This case is not polyphony issue, but the the use of 2  in Maestro Grand Piano.sfz.
There are some other small issues too. We will working on it

Futher look in the Maestro sfz file, it seems the 2nd <global> that use polyphony opcode override the note_polyphony that used in the 1st ,global>.
The workaround at the moment is, open Data/effect.txt. Change the opcode polyphony=1 to note_polyphony=1

@grammoboy2 Btw, is the Maestro Concert Grand.sfz you mean, is the one in here?
https://github.com/sfzinstruments/MatsHelgesson.MaestroConcertGrandPiano

On 10/1/20 8:02 PM, kinwie wrote:

@grammoboy2 https://github.com/grammoboy2 Btw, is the Maestro
Concert Grand.sfz you mean, is the one in here?
https://github.com/sfzinstruments/MatsHelgesson.MaestroConcertGrandPiano

Yes. It's not that I need it atm, but I stumbled upon it when fiddling
around.


Insert with PK specified ignores explicit PK value suppplied

Hello. I have 2 tables representing 1-1 relationship:

user_auth_data containing user_id as PK auto incerement value
user_special_data which also has user_auth_data as PK + FK constraint to user_auth_data.user_id

Classes are mapped like this:
[Table("user_auth_data")]
public class UserAuthDataModel
{
	[Key, Identity]
	public int UserId { get; set; }
	public string Foo { get;set; }
}

[Table("user_special_data")]
public class UserSpecialDataModel
{
	[Key, Identity]
	public int UserId { get; set; }
	public string Bar { get; set; }
        public string Baz { get; set; }
}

I insert a record to user_auth_data to get generated user_id, and now I have to add a row to user_special_data and it inserts null user_id.
var id = .. // get id from user_auth_data;
var newData = new UserSpecialDataModel{ UserId = id };
await repository.InsertAsync(newData);

I quickly logged the queries generated (Postgresql), and it seems like sql generated is not correct:
2023-08-12 02:45:15.716 CEST [14780] LOG:  execute <unnamed>: INSERT INTO user_special_data (bar, baz) VALUES ($1, $2) RETURNING user_id
so it seems like user_id is ignored completely.
To note, direct query
await repository.Connection.ExecuteAsync($"INSERT INTO user_special_data (user_id) VALUES ({id})");
works as expected.
Is it a bug or intended behavior?

@b2soft Intended behavior.
Look at tests:
https://github.com/phnx47/dapper-repositories/blob/078484976c0f393cac994154b01a4c21b9bc7523/tests/SqlGenerator.Tests/MsSqlGeneratorTests.cs#L378-L384

Thanks for the answer, so the only way to put the PK into - raw SQL query?

@b2soft If you don't want to use auto increment and put value yourself you should remove Identity attribute.
Look at:
https://github.com/phnx47/dapper-repositories/blob/4eb234a348d5cd436b3b9bd1cc273c3439ba7509/src/SqlGenerator/SqlGenerator.GetInsert.cs#L17-L20


UNKNOWN_CODE_PLEASE_REPORT: SSL connection is required. Please specify SSL options and retry.

Checklist
Yes it works fine with the maria db from the docker compose setup.
Describe the bug
I'm trying to use my existing mysql server, and I think everything is set up right but I get the above error about ssl. I'm assuming it means SSL as related to the mysql connection.
To Reproduce
Not sure
Expected behavior
I hoped it would connect to mysql
Screenshots
[services.d] starting services

[services.d] done.

❯ Enabling IPV6 in hosts: /etc/nginx/conf.d

  ❯ /etc/nginx/conf.d/include/ip_ranges.conf

  ❯ /etc/nginx/conf.d/include/force-ssl.conf

  ❯ /etc/nginx/conf.d/include/letsencrypt-acme-challenge.conf

  ❯ /etc/nginx/conf.d/include/ssl-ciphers.conf

  ❯ /etc/nginx/conf.d/include/block-exploits.conf

  ❯ /etc/nginx/conf.d/include/proxy.conf

  ❯ /etc/nginx/conf.d/include/assets.conf

  ❯ /etc/nginx/conf.d/include/resolvers.conf

  ❯ /etc/nginx/conf.d/default.conf

  ❯ /etc/nginx/conf.d/production.conf

❯ Enabling IPV6 in hosts: /data/nginx

[1/15/2021] [10:22:34 AM] [Global   ] › ✖  error     UNKNOWN_CODE_PLEASE_REPORT: SSL connection is required. Please specify SSL options and retry.

[1/15/2021] [10:22:35 AM] [Global   ] › ✖  error     UNKNOWN_CODE_PLEASE_REPORT: SSL connection is required. Please specify SSL options and retry.

[1/15/2021] [10:22:37 AM] [Global   ] › ✖  error     UNKNOWN_CODE_PLEASE_REPORT: SSL connection is required. Please specify SSL options and retry.

Operating System
Docker on Ubuntu 20.04
Additional context
the mysql server is an azure mysql server

I went into Azure and changed
Enforce SSL connection to disabled and now things are working!
I had a very similar issue on a totally different docker app and had to add  "?useSSL=true" after my mysql database name and that worked, but that didnt work here unfortunately .

I went into Azure and changed
Enforce SSL connection to disabled and now things are working!
I had a very similar issue on a totally different docker app and had to add  "?useSSL=true" after my mysql database name and that worked, but that didnt work here unfortunately .


GPU.js Adoption

Crazy suggestion, you could build on top of Tensorflow.js like what Ml5.js has done. You would get GPU browser support, and fast Node.js support (with CUDA). But that would be a large rewrite :)

@dan-ryan I'm crazy enough to explore the possibility; but I really would like to keep the API as simple as in-humanely possible (i.e. "teach a year old, in 20 minutes").
I would love to create "plug-gable" "firmware" layer where we could support different computational unit (e.g. CPU, GPU, TPU, etc.) automatically without off-loading the "figure it out" part on someone.
I'll have to take some time next week to really tackle some solid architect-ing; but I would love to, ideally, be a zero dependency library with just some simple C++ bindings to CUDA core support.
The phrase "strong defaults" comes to mind.
I'll have to give this a deeper look - maybe do it in parts, or on a contiguous roadmap (avoid Angular v1 to v2 scenario).

Well since you said you were crazy enough to explore... :)
Tensorflow seems to be the standard low-level neuro-network library on the desktop. Tensorflow.js has only been around a year before that it was called DeepLearn.js. I see Tensorflow.js becoming the standard on browsers. It's pushed by Google and they have the money.
It's quite difficult to learn and they mention they won't do anything high level like neuro-evolution. Ml5.js is built on top of Tensorflow.js and makes everything easy, but they are only focused on already trained models, like image classification. While awesome for images and videos, it is limited on what you can do.
Carrot could be rewritten on top of Tensorflow.js, and we would get all the low-level advantages with that. The strengths Carrot could have that it has a simple API and we support high-level algorithms.
There are also many other libraries that would give us GPU support.
Synaptic 2.0 discussions brought up a lot of ideas:
https://github.com/cazala/synaptic/issues/140

Neataptic had this issue with ideas:
https://github.com/wagenaartje/neataptic/issues/49

Guys, GPU.js now runs on node, and I believe v2 rc14 will be out soon.  Perhaps tomorrow.

@robertleeplummerjr I'm playing around with gpu.js right now - fun stuff!
All good so far - I did note a small kink (https://github.com/gpujs/gpu.js/issues/478), but otherwise working like a charm right now. I'll keep you posted.

How is implementation going?

Really well so far; but I hit an impasse (unrelated).
We've been trying to clean up the code base, standardize it, and write test to clean a little bit of the technical debt we were carrying and help speed up the feature unit economics on the project.
I'm waiting to get some motherboards for a handful of NVIDIA Tesla v100's that I have at home so I can a better testing environment than simulating a GPU - it keeps eating up my Chromebook (🔥).
I'm talking to a friend of mine in a small IT startup right now who has a few laying around - so I'll like "Frankenstein" a rig for model development and testing grounds for gpu.js adoption.
In the meantime, I'm going to focus on adding streaming to the library.

Cool!  If you need a sponsored + hosted GPU's, I know a guy...

External Response
That would be super cool! ...email (luis@liquidcarrot.io)?
Inner Thoughts

Details sent.

I was just looking at Synaptic.js and was thoroughly impressed at the implementation and documentation.
GPU.js integration would pretty much guarantee me migrating over my work to it if you do end up integrating it.
Will be keeping tabs on this progress.

For those following this, things with GPU sponsor have been going nicely on all fronts.

@robertleeplummerjr The introduction was awesome! 👌  Will begin testing as soon as we get setup.

What I really need from you and others is benchmark data, if you have a chance.  Also if you find any bugs.

I'll shoot you over a more detailed report later, but "off-the-cuff" GPU.js starts outpacing CPU on my modified Chromebok (4 Core - 1.4GHz) around 1300 paramaters (i.e matrix multiplications of at least 1300x1 * 1300x1) - after that it scales REALLY well. But creating the kernel has some overhead initially - which totally makes sense.
I haven't really found any strong bugs yet more like "little quirks", but I'll shoot them over to your issues threads as I start noting them a little more concretely. 👍

Ty!  Also, video element will be a valid input for GPU.js v2.  Which will be released today.


10X multiome

Hello, I am interested in the application of this tool to 10X multiome data. I have the following output files from CellRanger:
atac_fragments.tsv.gz
atac_fragments.tsv.gz.tbi
filtered_feature_bc_matrix.h5
per_barcode_metrics.csv
summary.csv
web_summary.html
How could I get Monod to process this? Thanks

Thank you very much for your interest in Monod! To use the package with spliced/unspliced data, you will want to create a loom file with spliced/unspliced layers. The scanpy and loom packages have this functionality. As a caveat, Monod has mostly been tested with kb and velocyto outputs, so performance will be better if alignment is consistent with their rules.
Monod does not currently support ATAC data. The precise physical relationship between RNA and ATAC readouts, as well as the noise behaviors in the latter, are still obscure. Developing such a multiomic model is an active area of research in the laboratory. I expect, however, that this could work even without a model, by correlating ATAC to inferred parameters.

Thank you so much for the quick response. I will try out your suggested methods for input. All the best, and I look forward to seeing how Monod evolves.


Add SCREAMING_SNAKE_CASE rename_all option

This mirrors the addition of uppercase in https://github.com/launchbadge/sqlx/pull/304, but for all uppercase snake case.

@FuegoFro awesome! Excited to see this! After adding uppercase, I realized I needed screaming snake for some of my enums but I've just been manually adding names.

@abonander I'm fairly new to Rust dev and the errors in CI here are a bit opaque to me. They seem to be unrelated to the changes I've made, and when I try to reproduce them locally (eg by running python3 ./tests/x.py -t sqlite_tokio and python3 ./tests/x.py -t mariadb_10_4_tokio) things seem to either pass without issue, or just get a totally different set of errors than in CI. I also just rebased on master yesterday and it still seemed to fail.
Do you have any tips for how I can track down and fix these CI failures?

That failure looks unrelated to your PR. Thanks for the contribution. 💯

Thank you for the merge! 😀


Allow dynamic id type for hasura data provider

fixes https://github.com/refinedev/refine/issues/3308
add options parameter to hasura data provider
export type HasuraDataProviderOption = {
    idType?: "uuid" | "Int" | ((resource: String) => "uuid" | "Int");
}

the idType will be passed to this function
    const { idType } = option ?? {};
    const getIdType = (resource: string) => {
        if (typeof idType === "function") {
            return idType(resource);
        }
        return idType ?? "uuid";
    };

and will be used for getOne and deleteOne like this
variables: {
   id: { value: id, type: getIdType(resource), required: true },
   ...metaData?.variables,
},

Checklist

[✔] Corresponding issues are updated
[✔] Docs are updated
[✔] Examples are not needed
[✔] TypeScript definitions are provided
[✔] Tests are updated
[✔] Changesets are provided

Hey @zulianrizki thank you for the contribution!
I've left some suggestions about docs and changesets.
@pankod/refine-nhost uses the Hasura engine and we have shared code between them. Can we also provide the same feature for the @pankod/refine-nhost? 🤔

I think this also deserves a section in the FAQ page. We can add a question for this and have a link to the /docs/examples/data-provider/hasura.md 🤔

@aliemir thanks for the suggestions, will try to look into that later

Hello @zulianrizki could you please sync your branch with next branch?

Hello @zulianrizki could you please sync your branch with latest next branch?

done

Hey @zulianrizki thank you for the contribution!
I've left some suggestions about docs and changesets.
@pankod/refine-nhost uses the Hasura engine and we have shared code between them. Can we also provide the same feature for the @pankod/refine-nhost? 🤔

added same feature for @pankod/refine-nhost, as for the code currently, there are some duplicated parts, but I am not sure how to properly share code between packages.
And for the FAQ I am not sure where to put it since there are no specific FAQ for GraphQL. Can we put it in the "Data Provider" FAQ ?


Fix #9352: Unexpected error when certificate file does not exist

Fix #9352: Unexpected error when certificate file does not exist
Tweak logging level to appear with --verbose
Fix typo

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

@jiasli please help with this PR.

@jiasli @yugangw-msft Have you come to an agreement to this PR?


Cannnot deploy contract with --no-interactive at the first time

To reproduce:

Start a fresh ganache-cli
Romove .session and dev-*.json files
Run oz deploy --no-interactive like below (the version of oz is 2.8.2)

$ oz deploy --no-interactive --network development --kind upgradeable MyContract
Nothing to compile, all contracts are up to date.
Contract MyContract is not deployed to dev-1589451397301.

I also encountered the same problem：
/quorum-maker-scm # npx oz deploy NetworkManagerContract --kind minimal --migrate-manifest --network quorum --no-interactive
Nothing to compile, all contracts are up to date.
Minimal proxy support is still experimental.
Contract NetworkManagerContract is not deployed to dev-82929.


IE 8, filter attribute isn't persisted

It appears that velocity is not keeping track of existing 'filter:' attributes that are on the object and instead is overwriting them with a single 'filter' (in case of opacity). According to MS specs, there could be multiple filters applied simultaneously by separating them with a space: https://msdn.microsoft.com/en-us/library/ms532847(v=vs.85).aspx. It would be nice if Velocity would keep existing filters such as blur intact and only add additional filters (opacity) separated by a space.
Here is a demo that doesn't work properly in IE8 because of this bug:
http://codepen.io/msurguy/pen/pJjdrz

Thanks @msurguy. @julianshapiro needs considering if this doesn't require DOM reading and is worth the overhead.

IE8 is no longer supported in v2 - there will be a legacy layer at some point, but how this is dealt with is now totally different.


Function Prototypes and Override Signature

Describe the bug
If I create a function prototype containing sized pointers (like CDC *32) when I edit that again the 32 (size) is lost somewhere.  The consequence of this during an attempt to use the Override Signature option is that the process fails with the following error (in the eclipse console log):
ERROR Override Signature Failed: Error overriding signature: ghidra.util.exception.InvalidInputException: Unable to create datatype associated with symbol   (OverridePrototypeAction.java:270)
This is due to the method buildHashedDataType of class DataTypeSymbol retrieving a preexisting type to compare.  But, despite stepping through the processes of creating/modifying the original prototype and the override process, the whereabouts of the size loss alludes me.  HELP...
Expected behavior
Use the override.
Environment (please complete the following information):

OS: Windows 10
Java Version:  11.0.2 / 16.0.1
Ghidra Version: 10.2 - DEV (commit https://github.com/NationalSecurityAgency/ghidra/commit/42c6a667c9924e6d8485d296099ddcac338ffcba)
Ghidra Origin: locally built

FYI, I'm trying to RE a suite of Windows 3.1x applications compiled using the Windows NE format.  It uses some 16-bit pointers (converted to the equivalent of 32-bit ones by adding an appropriate segment register).  By this conversion process, I'm wondering if the cspec file I used originally to import the suite is correct as it was the x86-16.cspec that defines pointers as 2 bytes.  Any ideas?
I'm experiencing lots of annoying issues due to having 2 pointer sizes.  For instance, most of the functions I'm disassembling use pointers to objects on the stack, and these pointers use the full 32-bit address.  This means I'm having to override the size (like CDC *32) to get the decompilation to use the correct parameters in the function bodies, all okay so far.  However, upon dereferencing I’m getting calculations instead of member references and arrays are even worse!

Can you share the code where you are creating the pointers and function definition.

The error you cited Unable to create datatype associated with symbol only occurs in one place and is caused by the method DataTypeSymbol.buildHashedDataType.  Are you able to debug this and convey to us the condition which is causing this method to return null?  Please provide a printed stack trace if a caught  exception occurs within this method.  Thanks.

Can you share the code where you are creating the pointers and function definition.

Here's the output from Debug Function Decompilation that I've been faffing with today.
CWndGrid__Display.zip
Why don't the virtual function calls (denoted by vars pfn...) automatically populate their parameters?

The error you cited Unable to create datatype associated with symbol only occurs in one place and is caused by the method DataTypeSymbol.buildHashedDataType. Are you able to debug this and convey to us the condition which is causing this method to return null? Please provide a printed stack trace if a caught exception occurs within this method. Thanks.

The DataType returned from CategoryDB.getDataType(...) contains a different calling convention which causes the FunctionDefinitionDB.isEquivalentSignature(...) to fail.
No stack trace is produced.

Got the reason.
The calling convention of the prototype Ghidra generated in category auto_proto wasn't updated when I corrected it in my category!
What's the correct way to fix that?

Now there's a weird issue!  With all the overrides in place, the Decompiled View is using incorrect variables as parameters to those virtual calls even though the Listing View is showing the correct ones!  Any ideas here???

I will have to defer to @caheckman for these decompiler specifics.

Got the reason.
The calling convention of the prototype Ghidra generated in category auto_proto wasn't updated when I corrected it in my category!

That is not alone.
It seems that because my pointers have to add a size, that isn't being taken into consideration when generating the prototype string in the generateHash(...) call.  (That process is delegated indirectly to the method getPrototypeString(boolean includeCallingConvention) of class FunctionDefinitionDataType (an implementation of FunctionSignature interface).  Changing that method to use getName() instead of getDisplayName() for the returnType and parameter datatypes helped!  Should all implementations of interface FunctionSignature be modified or will that break something elswhere???)

Got the reason.
The calling convention of the prototype Ghidra generated in category auto_proto wasn't updated when I corrected it in my category!

That is not alone.
It seems that because my pointers have to add a size, that isn't being taken into consideration when generating the prototype string in the generateHash(...) call. (That process is delegated indirectly to the method getPrototypeString(boolean includeCallingConvention) of class FunctionDefinitionDataType (an implementation of FunctionSignature interface). Changing that method to use getName() instead of getDisplayName() for the returnType and parameter datatypes helped! Should all implementations of interface FunctionSignature be modified or will that break something elswhere???)

@caheckman any thoughts on this?


🐛 fix ginkgo version mismatch

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:

[ ] squash commits
[ ] include documentation
[ ] add unit tests

Thomas, Locally I'm not able to reproduce it. If you run the make test-e2e-baremetal or any e2e tests locally then we are not getting version mismatched.

Thomas, Locally I'm not able to reproduce it. If you run the make test-e2e-baremetal or any e2e tests locally then we are not getting version mismatched.

@kranurag7
I see.
What does your change do? Does it solve that on your local device?
What can we do?
One thing which came to my mind: We could remove the actual tests in this PR (just for testing), so that the e2e finish immediately. This provides a better test-environment for you, because you don't need to wait that long.
Does this make sense to you, or do you have a different idea?
Overall it is not that important. But would be nice to have this fixed some day.


Add support for Resumable/large file uploads

Currently, the SDK has support for simple file uploads up to 4 MB, but not for Resumable file uploads (files 10+ MB). Please consider adding support for that. I built my own implementation, and it should be possible to integrate it into the SDK with some minor tweaks.
It supports most of the Best Practices as described in the docs (like an exponential back off strategy, chunks of 10MiB, etc.).
The basic idea was taken from the Google Drive SDK and adapted it to the Microsoft Graph API.
<?php

use GuzzleHttp\Client;
use Microsoft\Graph\Model\DriveItem;
use Microsoft\Graph\Http\GraphResponse;
use Microsoft\Graph\Model\UploadSession;

class DemoClass
{
    protected $graph;
    protected $rootFolder;
    /** @var int $chunkSize */
    private $chunkSize;
    /** @var int $largeFileUploadProgress */
    private $largeFileUploadProgress;
    /** @var int $currentLargeFileRetryInterval */
    private $currentLargeFileRetryInterval;
    // If we get a server error, retry for a maximum of 10 times in the intervals below (in seconds)
    private $retryIntervals = [0, 1, 1, 2, 3, 5, 8, 13, 21, 34];

    public function __construct(Graph $graph)
    {
        $this->graph = $graph;
        $this->rootFolder = 'groups/GROUP_ID';
        $this->largeFileUploadProgress = 0;
        $this->currentLargeFileRetryInterval = 0;
    }

    /**
     * Upload a file that's larger than 4MB.
     */
    public function uploadLargeItem(string $folderId, string $filename, string $filesrc): ?Model\DriveItem
    {
        // Optimal chunk size is 5-10MiB and should be a multiple of 320 KiB
        $chunkSizeBytes = 10485760; // is 10 MiB
        $fileSize = filesize($filesrc);
        $options = [
            'item' =><EMAIL_ADDRESS>=> 'rename']
        ];

        // Get the URL that we can post our file chunks to.
        $createItemUrl =
            '/' . $this->rootFolder . '/drive/items/' . $folderId . ':/' . $filename . ':/createUploadSession';
        $session = $this->graph->createRequest("POST", $createItemUrl)
            ->setReturnType(Model\UploadSession::class)
            ->attachBody($options)
            ->execute();
        $uploadUrl = $session->getUploadUrl();

        // Upload the various chunks.
        // $status will be false until the process is complete.
        $status = false;
        $handle = fopen($filesrc, "rb");
        while (!$status && !feof($handle)) {
            $chunk = fread($handle, $chunkSizeBytes);
            $status = $this->nextChunk($uploadUrl, $fileSize, $chunk);
        }

        // The final value of $status will be the data from the API for the object
        // that has been uploaded.
        $result = false;
        if ($status !== false) {
            /** @var Model\DriveItem */
            $result = $status;
        }

        fclose($handle);

        if (!$result) {
            return null;
        }

        return $result;
    }

    /**
     * Send the next part of the file to upload.
     * @param [$chunk] the next set of bytes to send. If false will used $data passed
     * at construct time.
     *
     * Got inspiration from:
     * https://github.com/googleapis/google-api-php-client/blob/master/src/Google/Http/MediaFileUpload.php#L113-L141
     */
    private function nextChunk(string $uploadUrl, int $fileSize, $chunk = false)
    {
        if (false == $chunk) {
            $chunk = substr(null, $this->largeFileUploadProgress, $this->chunkSize);
        }
        $lastBytePos = $this->largeFileUploadProgress + strlen($chunk) - 1;
        $headers = array(
            'Content-Range' => "bytes $this->largeFileUploadProgress-$lastBytePos/$fileSize",
            'Content-Length' => strlen($chunk),
        );

        /**
         * We shouldn't send the Authorization header here (as a tempauth token is included in the $uploadUrl),
         * so we can use a plain GuzzleHttp client.
         */
        $client = new Client();
        $response = $client->request(
            "PUT",
            $uploadUrl,
            [
                'headers' => $headers,
                'body' => \GuzzleHttp\Psr7\stream_for($chunk),
                'timeout' => 90
            ]
        );

        // A 404 code indicates that the upload session no longer exists, thus requiring us to start all over.
        if ($response->getStatusCode() === 404) {
            throw new \Exception('Upload URL has expired, please create new upload session');
        }

        // Retry if we get a server error, for a maximum of 10 times with time intervals.
        if (in_array($response->getStatusCode(), [500, 502, 503, 504])) {
            if ($this->currentLargeFileRetryInterval > 9) {
                throw new \Exception('Upload failed after 10 attempts.');
            }
            // Wait for the amount of seconds defined in the retryIntervals.
            sleep($this->retryIntervals[$this->currentLargeFileRetryInterval]);
            $this->currentLargeFileRetryInterval++;
            $this->nextChunk($uploadUrl, $fileSize, $chunk);
        }

        /**
         * If we have uploaded the last chunk, we should receive a 200 or 201 Created response code,
         * including a DriveItem. We use the Graph function getResponseAsObject to get the DriveItem object.
         */
        if (($fileSize - 1) == $lastBytePos) {
            /**
             * If a conflict occurs after the file is uploaded (for example,
             * an item with the same name was created during the upload session),
             * an error is returned when the last byte range is uploaded.
             */
            if ($response->getStatusCode() === 409) {
                throw new \Exception(
                    'File already exists. A file with the same name might have been created during the upload session.'
                );
            }

            if (in_array($response->getStatusCode(), [200, 201])) {
                $response = new GraphResponse(
                    $this->graph->createRequest('', ''),
                    $response->getBody(),
                    $response->getStatusCode(),
                    $response->getHeaders()
                );

                $item = $response->getResponseAsObject(Model\DriveItem::class);
                return $item;
            }

            throw new \Exception(
                'Unknown error occured while uploading last part of file. HTTP response code is '
                . $response->getStatusCode()
            );
        }

        /**
         * If we didn't receive a 202 Accepted response from the Graph API, something has gone wrong.
         */
        if ($response->getStatusCode() !== 202) {
            throw new \Exception(
                'Unknown error occured while trying to upload file chunk. HTTP status code is '
                . $response->getStatusCode()
            );
        }

        /**
         * If we received a 202 Accepted response, it will include a nextExpectedRanges key, which will tell
         * us the next range we'll upload.
         */
        $body = json_decode($response->getBody()->getContents(), true);
        $nextExpectedRanges = $body['nextExpectedRanges']; // e.g. ["12345-55232","77829-99375"]
        $nextRange = $nextExpectedRanges[0]; // e.g. "12345-55232"
        $nextRangeExploded = explode('-', $nextRange); // e.g. ["12345", "55232"]

        $this->largeFileUploadProgress = $nextRangeExploded[0];

        // Upload not complete yet, return false.
        return false;
    }
}

AB#6240

@dennisameling
 $chunk = substr(null, $this->largeFileUploadProgress, $this->chunkSize);  - that does not seem quite right

Tracked under https://github.com/microsoftgraph/msgraph-sdk-php/issues/934


Focus on Input

Currently, you can use the javascript .focus() method on an input text box to focus on the input and trigger the keyboard open.
Note that it does require the follow preference in the config.xml:
<preference name="KeyboardDisplayRequiresUserAction" value="false" />

This functionality doesn't work with enabling WKWebView.

This fork of the original repo has a commit to make it obey the keyboarddisplayrequiresuseraction value, might not be relevant but just came across it looking through the different available forks.
https://github.com/kshaaban-/cordova-plugin-wkwebview-engine/commit/52093ffe1e965b2607fac90480bfb0a4e0ac90f8

This is a known issue: https://issues.apache.org/jira/browse/CB-10376
If the base wkwebview repo does not merge the fix, I think we should try to find a solution that fits in this fork.
what do you think @shazron?
I will keep this issue open!

We would like to pull this in, as the issue says, waiting for the PR :)

@shazron thanks! I am closing this issue. Any future conversation should continue in JIRA.


Properly Implementing the districtsLocate function

I have been attempting to use the districtsLocate() function and currently attempting to add a zip code to the call but I am failing miserably at implementing it properly.  I have been looking online and googling for an example but havent been able to find anything and looking through the source code isnt clearing much up for me.  If you could provide a quick example of how to add the zip / lat long to a query before making the call that would be extremely helpful.  Here is an example of what I am trying to do.
var district = sunlight.districtsLocate();
  district.search('20744');
//district.filter('zip', '20744'); second failed attempt
  district.call().then(function(data) {
    console.log(data);
  });

Thanks in advance Matt!!!

Hey Matthew,
Following up on a PR  I put out for you to check out, it takes care of
adding the zip code or coords to find a district or legislator, I am being
pretty terse right now and I apologize but hopefully the PR makes sense.
Brandon
On Wed, Oct 29, 2014 at 9:21 AM, Matthew Chase Whittemore <
<EMAIL_ADDRESS>wrote:

Cool, thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/mcwhittemore/sunlight-congress-api/issues/20#issuecomment-60931625
.

Closed by #21.
This is now in NPM and tagged at 0.3.1 https://github.com/mcwhittemore/sunlight-congress-api/releases/tag/v0.3.1


Add batchCheckpointFrequency to event hubs

resolves #1529

@fabiocav I'll make the schema store pr. I need to wait for a fix to bubble up from webjobs as well: https://github.com/Azure/azure-webjobs-sdk/pull/1158


Replace all tf.Print with tf.print

Former is deprecated per 20/8!

This poses a bit of an issue. tf.print doesn't exist in tf 1.9 which we claim support for.  On the other end of the spectrum I believe tf.Print will be gone next release which we will definitely want to support.
We could get sophisticated and use a specific one depending on version.  Or we could drop support for tf 1.9.
This also has loose ties to #345 .

I say goodbye to 1.9 -- we'll always remember it, but times are changin'

yeah, debian 9 seems to pull tf 1.12 so dropping tf 1.9, or even everything before 1.12, works for me

We only support 1.12 now!

closes with https://github.com/mortendahl/tf-encrypted/pull/348?

Yes


Fixed MIME type detection

The MIME type detection was previously not working for files with an extension written in uppercase. For example, image.jpg would resolve to image/jpeg whereas image.JPG would return nil instead.

Hey @Cellane, you just merged a pull request, have a coin!
You now have 109 coins.


Core infrastructure development

@SupernovaApps/contributors, I'm looking for some help and guidance in developing the new Petrolhead codebase's core infrastructure. The previous version is loosely based on the old Template10 TODO sample's design (FileService manages writing and reading, while VehicleRepository accesses this back-end class to get data), but I want to implement something faster and lighter.
Here's what I think is important:

[x] Methods for searching based on various factors
[x] Support for advanced security features
[ ] Stability is the priority!
[x] Silent data saving

Here's what has been completed already:

[x] Data model classes
[x] Services for security and encryption
[x] Repositories for creating and saving data
[ ] View models

@SupernovaApps/core-infrastructure , do you have any ideas

@JerryNixon, do you think the original (Template10 TODO sample-based) approach should be used, or should something else be implemented? If the latter, what approaches can you think of, and what benefits would they have?

I have completed the basic functionality of the core viewmodels Petrolhead uses. PartViewModel is fully implemented, ExpenseViewModel, VehicleViewModel and HomePageViewModel are in varying degrees of completion. The other view models have yet to be implemented (partially or otherwise).

So far so good.

Hey Jerry,
Is a system where vehicles can be selected from the hamburger menu feasible? It's a suggestion I've had before from multiple people. If so, how would that be done in a way that is suitable for a production environment?


Support manual changes in GraphicsData

Follows https://github.com/pixijs/pixi-spine/issues/307 and http://www.html5gamedevs.com/topic/9374-change-the-style-of-line-that-is-already-drawn/
Demo soon.

Codecov Report

Merging #5952 into dev will increase coverage by <.01%.
The diff coverage is 68.18%.

@@            Coverage Diff            @@
##              dev   #5952      +/-   ##
=========================================
+ Coverage   70.39%   70.4%   +<.01%
=========================================
  Files         208     208
  Lines       10493   10494       +1
=========================================
+ Hits         7387    7388       +1
  Misses       3106    3106

Impacted Files
Coverage Δ

packages/graphics/src/GraphicsGeometry.js
73.05% <68.18%> (+0.06%)
:arrow_up:

Continue to review full report at Codecov.

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


Make the sidebar Activity Logs consistent with the page title Admin Logs

Very low priority issue, let's save this for this summer's cohort.
On the sidebar when you are logged in as an admin, the sidebar has a page called "Activity Logs". However, when we go to that page the title is "Admin Logs". The title of the page and the route are also "Admin Logs". It would be a good idea to make these consistent, likely by changing the name of the sidebar link to be Admin Logs.

After finally being able to pick an actual issue today, we decided to change Admin Logs to Activity Logs for better consistency & logic.
While we were able to make the initial changes successfully, we are currently working on making the changes in routing / URL. We have mass-changed/refactored all the varibales to activityLogs, but it does not seem to do the trick now.

Closed in #1217


Verifiers can't approve their RCs without Unassigning and Reassigning first

Not sure if this is intended or just a necessary evil, but if you are Assigned for Verification and you RC the submission, you can't approve without Unassigning yourself from Verification and Assigning yourself to Testing. Ideally, Verifiers should be able to approve without having to do this first. Currently, the only options available to Verifiers who RC are Comment, Unassign from Verifying, RC, and Reject.
If it's possible for the green Approve button to appear for Verifiers after they RC, that would be good. Automatically changing them to Testers after they RC would work to. I don't know if either of these is possible/feasible though.
If fixing this isn't possible, could it at least be noted somewhere, because I've seen people get confused by it.

verify and approve are a different thing, please clarify, why would a verifier need to approve?

If a Verifier needs to Request Changes, they can't verify. They have to approve since RCing clears the previous approval. The game needs to be reapproved with the changes and since the Verifier is the only one that can clear their own RCs they need to be the one to do it.

And this is how it works according to the chart. When something is RC'd it returns to the beginning of the process. The problem is that the staff member RCing isn't being moved back with it, if that makes sense. They have to do this workaround of unassigning and reassigning in order to be in the correct state with the submission.


[BUG]: data loss when using timestamp(3) and push command

What version of drizzle-orm are you using?
0.30.8
What version of drizzle-kit are you using?
0.20.14
Describe the Bug
When I have the following in my table schema:
createdAt: timestamp("createdAt", { precision: 3 })
      .notNull()

when I run drizzle-kit push:pg drizzle-kit somehow thinks timestamp(3) and timestamp (3) are different and causing the table to be truncated:

Expected behavior
there shouldn't be data loss
Environment & setup
No response

I encountered this same issue too, my only 'hack' was to set mode to string:
  createdAt: timestamp("created_at", {precision: 3, mode: 'string' })
      .notNull(),

which outputs a timestamp(3) sql query with no whitespace.
this isn't good because it requires manual management of timestamps and changes to application code.

Having the same issue, this occurs with every single db:push command (even when there was no change to timestamp.

Same issue here: https://github.com/drizzle-team/drizzle-orm/issues/2210

Opened a PR w/ @JohnGemstone 's fix:
https://github.com/drizzle-team/drizzle-orm/pull/2278
I've also pushed a fixed npm package that can be used temporarily (https://www.npmjs.com/package/@kengoldfarb/drizzle-orm):
"drizzle-orm": "npm<EMAIL_ADDRESS>

Should be fixed in latest versions of drizzle-kit! Feel free to reopen if it's not fixed for you!


Small error in the 'Customize Storage' sample snippet?

Hi,
First of all, great plugin over here, I could solve my data persistence problem.
While using your plugin along with js-cookie, my app could not keep the state when refreshing the page and then I noticed that the getItem function in the provided example was using the function Cookies.getJSON(key) to retrieve the parsed data. So I changed it to retrieve the unparsed data (Cookies.get(key)) and worked beautifully.
Perhaps a little error in there or I failed to understand your plugin. Anyway, thanks again for your plugin!

@oscar26 thanks for your kind words! The issue with the example is actually fixed just now by PR #52.

Great! and thanks.


Possible to import spells?

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Sort of like the monster importer I was wondering if it would be possible for the parser to be able to parse spells separately.
Describe alternatives you've considered
The only alternative is manually inputting them.
Additional context
For example from the following spell
2nd-level evocation
Casting Time: 1 action
Range: Self (30-foot line)
Components: V, S, M (a sliver of metal from a gong)
Duration: Instantaneous
A tremendous bell note explodes from your outstretched
hand and rolls forward in a line 30 feet long and 5 feet
wide. Each creature in the line must make a successful
Constitution saving throw or be deafened for 1 minute. A
creature made of material such as stone, crystal, or metal
has disadvantage on its saving throw against this spell.
While a creature is deafened in this way, it is wreathed
in thundering energy; it takes 2d8 thunder damage at
the start of its turn, and its speed is halved. A deafened
creature can repeat the saving throw at the end of each of
its turns, ending the effect on itself on a success.
At Higher Levels. When you cast this spell using a
spell slot of 3rd level or higher, the damage increases by
1d8 for each slot level above 2nd.
If it could detect the range,  duration, casting time, components (the stuff in parentheses would be put in spellcasting materials, in foundry that part is just flavor but it would be helpful to full in), spell level and spell school it would be helpful for importing spells. Also pasting in the description for the stuff under the duration for the description of the item, it doesn't have to be able to detect anything from that description because that's normally kind of complicated but detection for the other stuff would be very helpful.

Should be doable! Is that a standard format you can find in any specific source book or resource?

Hi there, I also want to import spells so I was considering building off this dictionary and then adding custom spells that conform to its schema. If it needed some json wrangling, I could make it in a more convenient format. What do you think?
https://github.com/jcquinlan/dnd-spells


Inactive Roles do not trigger failures during project:validate or project:deploy --dryrun

Your environment
OS : Ubuntu 22.04
Node.js version : 18.8
suitecloud-cli version : 1.6.2
Terminal/CMD tool : Bash shell
Describe the bug
If an SDF project references a Role which has been inactivated, whether the reference is in the manifest or in an Object definition, this will cause the project:deploy command to (correctly) fail with an Invalid Reference error. However, the error will not be thrown by either the project:validate command or if the --dryrun switch is used with the project:deploy command, causing a false-positive result from these commands.
If project:deploy fails when the project references an inactive Role, then both project:validate and project:deploy --dryrun should fail in a similar manner.
To Reproduce
Steps to reproduce the behavior:

Create or locate a Role for testing purposes.
Inactivate the Role.
Add the inactivated Role as a dependency in your SDF project's manifest.xml file.
[Optional] Add a reference to the inactivated Role to the permissions list of any Object(s) in your project.
Run project:validate --server. Observe success.
Run project:deploy --dryrun. Observe success.
Run project:deploy. Observe failure "Invalid Reference" error.

Actual Behavior

project:validate succeeds.
project:deploy --dryrun succeeds.
project:deploy fails with "Invalid Reference" error.

Expected Behavior

project:validate fails with "Invalid Reference" error.
project:deploy --dryrun fails with "Invalid Reference" error.
project:deploy fails with "Invalid Reference" error.

Additional context
In order to be reliable tools for deployment, project:validate and project:deploy --dryrun must behave as identical to project:deploy as possible.

Hi @ericgrubaughcompass
We are currently reviewing past issues.
I am not able to replicate the issue right now. I have been able to deploy an inactivated role referenced both in the manifest and in another object.
I'm closing the issue since it seems it has been already fixed.
If you still experience a similar problem, please reopen this ticket and provide us some example files.
Thanks

Hi @lfpvillegas,
I think there's some confusion around what the issue is. It was not about being able to deploy an inactive role, but about referencing the inactive role and getting false-positive validate/dry-run results.
I was able to reproduce the issue by following the replication steps. However, I found that step 5 was not optional. Here are some test files that can be dropped into a new SDF project (uploaded here as .xml.txt, as .xml is unsupported in comments)
customrecord_test.xml
manifest.xml
customrole_inactive.xml.txt (example inactive role. To be added to the account, but not to actually be included in SDF project)

Hi @ball-of-twine .
Thanks for your message and extra info.
There has not been any misunderstanding. I have closed the issue because I was able to deploy an inactive role, so the disparity between deploy and validate/dry-run was not there. As you noted, this didn't include the optional step.
However, with your files (and some extra tweaks ) I have been able to reproduce the error.
I have also noted that executing project:validate --server command it's also passing fine. This is important because there is no disparity between local and server validation, but only with project:deploy.
Nevertheless, the issue ticket would remain closed because this issue is not directly related to the CLI, but with the server validation, which is not handled in this Github repository.
Please fill a Customer Service Support ticket, sot his issue could reach the team responsible of this feature and you could receive updates on it.
Thanks,


lib389 (from 389-ds-base)

lib389 is both a python library and set of applications to help administer/manage a 389-ds-base server. The python applications provided by lib389 use their own library from the same package.
Our 389-ds-base derivation does not build/include lib389 (even though the nix code suggests it does).
Some distros (debian at least) ship lib389 separately from 389-ds-base. We should either create a new lib389 derivation, or include it in _389-ds-base.
I'm not great at python packaging for nixpkgs so don't know how to create a derivation that is a library and an application which depends on its own library. Anyone want to tackle this or help me?
Maybe @AndersonTorres or @lovesegfault? :man_shrugging: Any and all help appreciated.

I'm not great at python packaging for nixpkgs so don't know how to create a derivation that is a library and an application which depends on its own library. Anyone want to tackle this or help me?

This is done via toPythonApplication. Read the manual:
https://nixos.org/manual/nixpkgs/stable/#python
https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.section.md


F3😎

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
@

What part(s) of the article would you like to see updated?
#****
Additional information
#****

@zmoazeni


python 3.5 compatibility

python 3.5 compatibility

Thanks to xmnlabs for your contribution

@dmiro I can't replicate just one unit test in python3 (one with write call).

Yes. I've noticed. I will try to rewrite themocking