extended control of C/C++ validation

Hi,
The current c_checker() and cpp_checker() uses a simple -I. -I.. which will get you some basic tests, but in real world we're often using things like pkg-config --cflags glib-2.0 and the likes to provide definitions and more include paths. Then a way to control INCLUDE_FLAGS would be required. I'm not sure how to best provide these extensions in a compatible way so we don't break sphinx, maybe using comments?
.. rstcheck-include-flags: -I.
.. rstcheck-pkg-config: glib-2.0
.. code-block: c
  regular code block here

Eventually allow these to be linked in addition to syntax check:
.. rstcheck-include-flags: -I.
.. rstcheck-pkg-config: glib-2.0
.. rstcheck-link: yes
.. code-block: c
  regular code block here

Likewise, sometimes in tutorial/documentation we split the code into multiple pieces that can't be validated at once. I could work-around that by using an external C/C++ file with include statements, however if we could add a argument to "append to previous block" it would be amazing, allowing things like rstcheck-mode with a choice of new, append and ignore:
.. code-block: c

  void on_event(void *ctx) {
   ...
  }

This provides a function to callback when event happens...

.. rstcheck-mode: append
.. code-block: c

  int main(void) {
   my_lib_init();
   my_lib_on_event_set(on_event, NULL);
   return 0;
  }

Very interesting! Allowing the user to configure the include paths definitely makes sense. And the approach you describe makes sense and matches what is done for the ignoring languages feature.
The appending code blocks would be cool. I think that is a descent solution.

great, this one is a bit trickier than the other issue I've opened in the sense it will need to accumulate from one statement to the other... the ignore of languages is a single step prior to start, it's not tied to the subsequent blocks.
Any preferences on how to tackle this? Maybe just a global stack where one pushes and then pops?

No preferences from my side. I agree that it doesn't seem easy at all.

Does #88 help here?


Scoped DeviseToken but it still affects the original Omniauth redirects.

I scoped DeviseToken with:
namespace :api, defaults: { format: :json } do
  scope module: :v1, constraints: ApiConstraints.new(version: 1, default: true) do
    mount_devise_token_auth_for 'User', at: 'auth'
  end
end

However, I still get when testing my original Omniauth which isn't part of the API yet:
DeviseTokenAuth::OmniauthCallbacksController#redirect_callbacks

All set!


maybe 22.1.2 have some problem

System information:

Operating system (distribution) and version
win10
DBeaver version
<IP_ADDRESS>207091909
Additional extensions

Connection specification:

Database name and version
PostgreSQL 10.21 on x86_64-pc-linux-gnu
Driver name
PostgreSQL JDBC Driver 42.2.20
Do you use tunnels or proxies (SSH, SOCKS, etc)?
no

Describe the problem you're observing:
simple select sql , about 70000 rows, in 22.1.1 version, fetch result very fast,  but in 22.1.2 version slowly and whole software can't use .  zip way update.

Steps to reproduce, if exist:
Include any warning/errors/backtraces from the logs

I have a windows server with an odbc connection to an as400 instance.  I am experiencing the exact same symptoms when db returns dataset results > approx 20,000 rows.  same conditions - previous version was fine.

I'm experiencing similar issues - DBeaver is much slower than before and freezes/not responding quite often now.
I use DBeaver primarily on Windows 11 to query an Oracle database using the Oracle driver.

yup i downgraded to previous version and life is good
On Thu, Jul 21, 2022 at 5:08 PM dbenz04 @.***> wrote:

I'm experiencing similar issues - DBeaver is much slower than before and
freezes/not responding quite often now.
I use DBeaver primarily on Windows 11 to query an Oracle database using
the Oracle driver.
—
Reply to this email directly, view it on GitHub
https://github.com/dbeaver/dbeaver/issues/17136#issuecomment-1191937062,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIIXSY7X7GYCNYF3PV3K33VVG35FANCNFSM54FXXAJA
.
You are receiving this because you commented.Message ID:
@.***>

yup i downgraded to previous version and life is good
…
On Thu, Jul 21, 2022 at 5:08 PM dbenz04 @.> wrote: I'm experiencing similar issues - DBeaver is much slower than before and freezes/not responding quite often now. I use DBeaver primarily on Windows 11 to query an Oracle database using the Oracle driver. — Reply to this email directly, view it on GitHub <#17136 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIIXSY7X7GYCNYF3PV3K33VVG35FANCNFSM54FXXAJA . You are receiving this because you commented.Message ID: @.>

yes, i tried many times,  22.1.2 not good,  22.1.1 is good,  so i think 22.1.2 have some problems

We created an Early Access version.
Please test it and tell us if the hanging issue is solved or not https://dbeaver.io/files/ea/

I tried the early access version this morning. So much faster and more responsive. A query that took 1.5 hours to return 103k rows yesterday only took 1.5 minutes today.

We created an Early Access version. Please test it and tell us if the hanging issue is solved or not https://dbeaver.io/files/ea/

tks,  this version I haven't found the previous problems yet

Thank you for testing @cooltnt

Closed as duplicate of #17068
Fix is already available in version 22.1.3
https://dbeaver.io/download/


Align sim-swap notification subscription Yaml with new subscription model

Problem description
Decision at commonalities level is to shift to CloudEvents model.
Template & documentation are provided.
Expected behavior
Modifiy sim-swap-notification-subscription.yaml accordingly to this new format.
Alternative solution

Additional context
To be done for the first meta release

What is a difference between the current design which is already CloudEvent based (in the master branch) and the "new format"?
Side not:
current spec includes the following notification event example:

examples:
SWAPPED:
value:
id: '123655'
source: supertelco.notificationSendServer12
type: org.camaraproject.sim-swap.v0.swapped
specversion: '1.0'
datacontenttype: application/json
data:
phoneNumber: 123456788
subscriptionId: 2ghy-55gg-7iup-yuo9
time: 2023-01-18T13:18:23.682Z
SUBSCRIPTION_ENDS:
value:
id: '123658'
source: supertelco.notificationSendServer12
type: org.camaraproject.sim-swap.v0.subscription-ends
specversion: '1.0'
datacontenttype: application/json
data:
phoneNumber: 123456789
terminationReason: SUBSCRIPTION_EXPIRED
subscriptionId: 2ghy-55gg-7iup-yuo9
terminationDescription: subscription expire time reached
time: 2023-01-19T13:18:23.682Z

As far as I understand phoneNumber must be a string and include leading "+", like
phoneNumber: "+123456788"

Hello @gregory1g
The change is not on the notification event but on the subscription resource.
Now that the PR has been merged you'll find the detail here.


housekeeping update ISSUE_TEMPLATE to match website

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
docs update
What is the current behavior? (You can also link to an open issue here)
Testing against prerelease builds points to page on old website.
What is the new behavior (if this is a feature change)?
Link points to the shiny new website :)
What might this PR break?
Hopefully nothing..
Please check if the PR fulfills these requirements

[ ] The commit follows our guidelines: https://github.com/reactiveui/reactiveui#contribute
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:

@olevett,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

Coverage decreased (-0.03%) to 66.719% when pulling acb3317cf73136dad8cadf257bb91f1349ab7a59 on issue-template into 72b4921d0b60d55b795474c2f7a03918a85fb150 on develop.

Ta; the link https://reactiveui.net/contribute/software/testing/pre-release-builds will be changing. Not happy with url structure of that section so let's keep the PR open and adjust in the next couple of days.

Sounds good, just noticed it wasn't linking right and went with the quickest fix I could think of :)

Coverage increased (+0.3%) to 67.056% when pulling e5cb0a17aec371971c714004bf258603192e2979 on issue-template into 72b4921d0b60d55b795474c2f7a03918a85fb150 on develop.


Unable module expo on react native init

Bug
Error: Unable to resolve module expo from path/appname/node_modules/galio-framework/src/Icon.js: Module expo does not exist in the Haste module map.
im using react-native init instead of expo, any suggestion?

Hi @nicoaudy !
Galio had dependencies in Expo so you will need to have Expo installed in order to use our library.
Thanks 🤙🏽


Support parsing and retrieving SolutionGuid

📫 Addressed Issue(s)
Closes #23
📄 Description
Supports parsing and retrieving the SolutionGuid
✅ Checks

[X] My PR adheres to the general code-style of this project (look at other code if you're unsure)
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[X] All the automated tests have passed

ℹ Additional Information

Included in version 3.0.0 that has just been released (also see https://github.com/wgnf/SlnParser/releases/tag/v3.0.0). Thanks a lot @icnocop!

Thank you Martin for continuing to support this awesome library, providing valuable feedback in code reviews, accepting my contributions, and releasing a new version so quickly. ❤


How to work with TypedArray parameters with Anvil?

How to work with TypedArray parameters with Anvil?

@mmityushkin  What are the use cases for working with TypedArray do you have when doing UI with Anvil?


Fix #184 -- Add security note

Codecov Report

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

@@           Coverage Diff           @@
##           master     #185   +/-   ##
=======================================
  Coverage   73.92%   73.92%
=======================================
  Files          28       28
  Lines         303      303
=======================================
  Hits          224      224
  Misses         79       79

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 cbda97c...a8a0032. Read the comment docs.


Create zeahrctracker

Tracks Blood/Soul runes crafted in Zeah, as well as your profit.

Thanks, so I need to push the license file every time I need to update the plugin?

No, you just need to update the manifest when you want changes to reflect in this PR

Does everything look good to merge?

Hide the plugin if you could please. Need to fix an issue with data storage.

Open a PR adding disabled=temporarily disabled while fixes are in development to the manifest if you like


Sync Branch 175311543

@tensorflow-jenkins test this please

SUCCESS

@gunan do you know where these tensorflow-jenkins "SUCCESS" messages come from? They're new, and confusing, because wrong.

@tensorflow-jenkins test this please

SUCCESS

SUCCESS

SUCCESS

FAILURE

FAILURE

FAILURE

I am investigating, not sure what changed in our jenkins config.

FAILURE

SUCCESS

I made some changes on Jenkins config,
Let me know if it helps or not with Jenkins spamming review threads.

FAILURE

I'll close this, we have to fix a merge accident first. I'll let you know.

FAILURE


Install C++ sdk on Mac OS m1

Hello
I cannot execute the commands sudo apt on Mac OSX big sur m1. I cannot do the full install. Any way of doing that ?
Thank you

Please see the Section 8.1 of "Getting Started with Raspberry Pi Pico" which talks about installing the SDK on macOS.

Please see the Section 8.1 of "Getting Started with Raspberry Pi Pico" which talks about installing the SDK on macOS.

hello thank uyou for you answer
i have this now
/usr/local/bin/arm-none-eabi-gcc-9.2.1   -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -o CMakeFiles/cmTC_820b5.dir/testCCompiler.c.o -c testCCompiler.c
[cmake]     arm-none-eabi-gcc-9.2.1: error: arm64: No such file or directory
[cmake]     arm-none-eabi-gcc-9.2.1: error: unrecognized command line option '-arch'; did you mean '-march='?
do you know what to do

hello thank uyou for you answer
i have this now
/usr/local/bin/arm-none-eabi-gcc-9.2.1   -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -o CMakeFiles/cmTC_820b5.dir/testCCompiler.c.o -c testCCompiler.c
[cmake]     arm-none-eabi-gcc-9.2.1: error: arm64: No such file or directory
[cmake]     arm-none-eabi-gcc-9.2.1: error: unrecognized command line option '-arch'; did you mean '-march='?
do you know what to do

I guess #5 on macOS is related (same ninja issue)

I guess #5 on macOS is related (same ninja issue)

I guess #5 on macOS is related (same ninja issue)

Yes indeed just instead of NMake we need to use Unix Makefiles. Thank you for the fast answer. Now I am waiting for my boards ;)

I guess #5 on macOS is related (same ninja issue)

Yes indeed just instead of NMake we need to use Unix Makefiles. Thank you for the fast answer. Now I am waiting for my boards ;)

Cool. I'll get the PDF documentation updated for the next release.

Cool. I'll get the PDF documentation updated for the next release.


Replace Majestic Million with Tranco

Fix #45. This replaces the default domains list with the Tranco List, which seems to have more integrity as a list of the most popular domains, instead of just the most referring subnets.

As of now, this will enumerate over the entire list, rather than just the top 2000 domains like the README suggests. It would be easy to trim the list to 2000 by default, but I want to check here first to see what others think. Do we want to leave it open ended?

As of now, this will enumerate over the entire list, rather than just the top 2000 domains like the README suggests.

We should preserve whatever the existing behavior is. Does running crawler.py on master w/o specifying the number of domains run on 2,000 domains? Then this should still be the case in this PR.


Raise FileNotFoundError with cat_file on non-existent file

zarr / fsspec tries to load a .zarray when opening to discover whether a group has a zarr array. fsspec expects a FileNotFoundError if it does not exist when attempting to cat this file. Raise the HTTP 404 as a FileNotFoundError.
 Could you add a check if the response code was 404 and re-raise the HTTPError if not? Other codes would likely indicate some problems with the server or the connection, which we'd probably like to handle differently.
Please note that the async branch has been merged, so normally, opening an ipfs:// url should now use the async implementation by default. I'm wondering why it didn't in your case...


Tool Profiles don't "Take" when assigned from the menus.

I've run into a issue with Tools not being "picked up" automatically by colonists. This also results in them not wanting to execute actions such as "Cut Trees" when I order them to. I think it's possibly a mod incompatibility but I have no Idea which one.
The Mods I use:
Libs/Frameworks
Harmony
https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077
Toolbox
https://steamcommunity.com/sharedfiles/filedetails/?id=2016186459
HugsLib
https://steamcommunity.com/sharedfiles/filedetails/?id=818773962
Modifiers
[LC] Survival Tools (this mod)
https://steamcommunity.com/sharedfiles/filedetails/?id=2057841936
Trade Helper
https://steamcommunity.com/sharedfiles/filedetails/?id=2113372560
Restricted Storage:
https://steamcommunity.com/sharedfiles/filedetails/?id=2015159617
Surgical Body Shaping (SBS)
https://steamcommunity.com/sharedfiles/filedetails/?id=1217321550
Misc Items/Constructions
Fishing Nets
https://steamcommunity.com/sharedfiles/filedetails/?id=1529981982
Dye Vats:
https://steamcommunity.com/sharedfiles/filedetails/?id=740002420
BondageBed Torture
https://steamcommunity.com/sharedfiles/filedetails/?id=2094933315
Architect Expanded - Fences
https://steamcommunity.com/sharedfiles/filedetails/?id=2050680665
[SS]Maid Project
https://steamcommunity.com/sharedfiles/filedetails/?id=1498756997
Disabled but Subbed
Empire
https://steamcommunity.com/sharedfiles/filedetails/?id=2006535182

I'll be reworking the tool optimizing method for the next update, and also include an opportunistic picking of tools. In the meantime do you get any errors in the log?

Where do I find the logs? I'm kinda new to RimWorld...

if you mean the debug.log it says this:
0630/155702.839:ERROR:settings.cc(325)] Settings version is not 1
[0630/192901.292:ERROR:settings.cc(325)] Settings version is not 1
[0630/214152.011:ERROR:settings.cc(325)] Settings version is not 1
and that's it - not much to go on....

Ctrl+F12 and follow the instructions there to upload the log, this is commonly referred to as the HugsLog or similar names. The game's log can be viewed by enabling developer mode and it's one of the buttons on the top.

https://gist.github.com/HugsLibRecordKeeper/cbe7a9de42e8d7a9505bce965a6cc639
I hope i did that right...

Yep that's good. Now just do that when the tool should be picked up. You can follow the dev log and see if any red errors appear and upload once it does

I /think/ I managed to identify one possible incompatibilty, I read on Toolbox's mod incompatibilities that things that alter ThingDefs are somewhat incompatible...I may have to lose my fences as a result (since Toolbox is only loaded for fences)

Only thing I see in the logs is a yellow error about missing sound files: https://gist.github.com/HugsLibRecordKeeper/33e6bed62ab03760b9dd82382ce3b688

It's not a incompatibility with toolbox, but I'll double check when I've got time.

Thanks your help is apprieciated. I'll just deal with it the old fashioned way for now - they /will/ pick them up if i force them to equip them - it's just annoying because the tool profiles don't automatically select what I want...


Make request with opts

Hello, i would like for needle to be able to make the request with just an  options object and the callback. Right now I'm using the following code:
        var options = {
            hostname: hostname,
            port: config.port,
            method: config.method,
            path: config.endpoint,
            headers: config.headers
        }
        var req = http.request(options, function(response) {
            response.setEncoding('utf8');
            options.statusCode = response.statusCode
            var str = '';
            response.on('data', function(chunk) {
                str += chunk;
            });
            response.on('end', function() {
                options.response = str;
                registerRequest(str);
            });
        })
        req.on('error', function(error) {
            console.log(error)
        })
        req.end();

The idea i have is to be able to make it on needle in the same way the http library does
Thank you!

You can call needle.request and pass the verb you with to send, in addition to the options and/or callback function. The options are different, obviously.
Is that what you need?

No, needle.request requires that i send not only the method but also the url where im going to make the request to.
The idea is to be able to send the port, headers, etc and let the needle library do the request

What i mean is being able to make the request using the same options object, since the port might not be sent and making the url dynamically would mean doubling up the work (once by my app and once by the library)

How would you call this function, then? Something like this?
  var http_opts = { hostname: 'server.com', ... };
  needle.request({ timeout: 1000, parse: 'xml', http: http_opts }, function(err, resp) {
    // ...
  })


Moving TransferState out of http folder

TransferState has 1-on-1 relationship with EasyHandle and is independent of protocol.Hence it has been moved out of the http folder.In the next PR, this code will be aligned under NativeProtocol instead of HTTPURLprotocol which can be used across different protocols.
@alblue , I understand that this PR alone will not make much sense as the code is still an extension of HTTPURLProtocol.To address #1355 ,I have  raised PR for the movement of the file.The code under this PR will be renamed to _NativeProtocol in the next PR.

This is just a file movement intended for work coming up in a future PR.
@swift-ci please test and merge

@swift-ci please test and merge

@swift-ci please test and merge

@shahmishal We've been seeing this since yesterday. Could you help please? Thanks.
ERROR: Step ‘Github Pull Request Merger’ aborted due to exception:
java.io.IOException: Server returned HTTP response code: 405 for URL: https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/1369/merge
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1876)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
	at org.kohsuke.github.Requester.parse(Requester.java:602)
Caused: java.io.IOException: Server returned HTTP response code: 405 for URL: https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/1369/merge
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1926)
	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1921)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1920)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1490)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
	at org.kohsuke.github.Requester.parse(Requester.java:612)

@pushkarnk Looking into it.

@swift-ci please test and merge

@pushkarnk It should be fixed now

Thanks @shahmishal ! I appreciate the prompt response :)

Thank you @shahmishal


Added way to detect language direction based on HTML attribute

Getting the language direction from the HTML dir attribute.  The dir attribute will automatically update based on the language that the user has set in their Canvas User Profile.

Fantastic! I was definitely missing the forest for the trays.


SPM Support

reorganised sources for SPM support
added package manifest
UIKit requirement:

Swift Package Manager is not supported, as TPPDF requires the framework UIKit which is not available on macOS or Linux.

May be resolved with:
platforms: [         .iOS(SupportedPlatform.IOSVersion.v9)     ],
in Package.swift

Hi, thanks for your contribution. Unfortunately the Travis CI build fails as the example can't find the TPPDF framework. Please merge the latest changes on the master branch and check why it is failing

I will close this for now due to inactivity


Bump build dependencies

Codecov Report

Merging #70 (cf238db) into master (4bad298) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #70   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files         365     365
  Lines       10081   10081
  Branches      924     924
======================================
  Misses      10081   10081

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 4bad298...cf238db. Read the comment docs.


Py/R: getWxObs - add default of all climate params

Assume ACIS returns blank values for date range if no data exist.

Added for R.  20160901

@BrentFrakes Note: do a pull to get the updated ACISLookups.json

And, I'm not including the degree days params in the default list.  Do you concur? @BrentFrakes

Yes I concur:  we do not presently support cdd,hdd or gdd
I upated my code, added a new test, and pushed changes

Closed 20160906


Develop -> Templates

Welp, this was a bit more effort than expected.

Didn't think it had been 3 months since we last did this... 🤔


[backport 2.7] Release notes for 2.7

Description
Release notes for 2.7
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

:exclamation: No coverage uploaded for pull request base (2.x@c7715f0). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head a169196 differs from pull request most recent head b7f163b. Consider uploading reports for the commit b7f163b to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@          Coverage Diff           @@
##             2.x     #271   +/-   ##
======================================
  Coverage       ?   83.51%
  Complexity     ?      557
======================================
  Files          ?       61
  Lines          ?     2050
  Branches       ?      146
======================================
  Hits           ?     1712
  Misses         ?      234
  Partials       ?      104

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Create a collection in SDR

When a collection is created for the first time, it should create the collection in SDR. This can be done with a background job similar to https://github.com/sul-dlss/happy-heron/blob/main/app/jobs/deposit_job.rb
This may require work in SDR API, SDR-client, or elsewhere in SDR to support this in H2. It also may not.

Duplicate of #92


Add iOS support

This PR adds support for iOS.

@999eagle I'll be upgrading specs and merging by tonight, thanks!

Wohoo! Go @999eagle 🥳e obrigado por isso @daniel-mf !


SNI is missing in SSL Endpoint handshake APIM-3.2.1

Description
The SNI is missing in the endpoint handshake.
Steps to Reproduce

Start the APIM-<IP_ADDRESS> pack with SSL debug logs.
Create an API with the endpoint 'google.com'.
Invoke the API.
Observe the SSL debug logs.

Affected Component
APIM
Version
3.2.1
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

Closing this since the public fix is already available


Add clear and iterator methods to the CacheService

This PR adds two methods to the CacheService:

clear to removes all entries from the cache store.
iterator to iterate over the cache store.

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Thank you for the suggestion! 👍
Could you elaborate on why you're requesting this and how you plan to use it? My immediate gut feeling is that both of these new methods go against the intentions of the cache service, and it might be better to use the database instead.

We want to use this, to cache some backend responses in a clustered / distributed way (we need this b/c we get 429 Too many responses from a connected service). Currently we are using a LRU cache  (which is not working clustered).
The clear method should be used for admin purposed, so we can invalidate this cache if required.
The iterate method is used to extract e.g. the timestamp of the oldest entry in the cache.
I used quite a lot caches in the past (especially in java) and such methods are common.

I'm hesitant too. The methods presented here must be supported, somewhat efficiently, by every future implementation and underlying storage.
This is also a plugin scoped service, that often uses a single underlying instance of for example memcached. Suppose that there are two plugins in an example setup: one which stores 50 gigabytes of fast changing data and then a second plugin which has a handful of keys. When the second one is iterating, does the underlying store permit fast streaming based on key prefix (if at all) or will the client have to filter on the caller side?
Maybe this is just hypothetical and not a problem in practice. But just to illustrate my thoughts.

The clear and iterator methods are optional features, and developers can choose whether or not to use them based on their specific use case and data size. For large datasets, it may be more efficient to avoid using these methods altogether, reducing potential overhead.
Implementing these methods in cache systems shouldn't be a challenge for future developments, as they're standard features in cache implementations. These functionalities are common, offering flexibility and compatibility with existing practices, ensuring smooth integration and efficient cache management.

They're not optional in the sense that the methods are there in the interface for all to use though. If some implementations throw not-implemented exceptions it undermines their usability, for example.
As far as I know, memcached does not support subset iteration or subset clears right? You can theoretically issue a cachedump but that gives you the whole universe. So if they have to be implemented extremely inefficiently, and your plugin uses this feature, it might seem to work well today but then when you install a second plugin that heavily uses the cache, your plugin (or both) will suffer.
Look, I'm not necessarily meaning this as a hard no at all. I just illustrate why I'm wary of it. Databases can typically do what you need at really fast rates with an order by on the timestamp, instead of scanning linearly, which is why we tend to reach for that fairly eagerly.

Either way, you'll need to amend the tests. I'm not sure the implementation is correct. You'd want to make two clients, representing different plugins, and populating them with data, and ensuring that their iteration and clears do not "spill over" into the other plugins keyspace.

I had to add a safeguard that throws an error as soon as the key is hashed. Maybe we should go with 3 methods: keys,  values and entries, what de you think?

We want to use this, to cache some backend responses in a clustered / distributed way (we need this b/c we get 429 Too many responses from a connected service). Currently we are using a LRU cache  (which is not working clustered).

Is this in the catalog? it's already built into the UrlReaderProcessor so you'll want to make sure you don't end up with a duplicate implementation.

The clear method should be used for admin purposed, so we can invalidate this cache if required. The iterate method is used to extract e.g. the timestamp of the oldest entry in the cache.

What I think we could do is add the methods to the implementation class, the CacheClient, but not to the service interface, CacheService. That way you can set up your own internal thing where you can wire up some form of admin actions without needing to reimplement the entire cache manager + client, but we avoid adding these methods to the CacheService interface.

Is this in the catalog? it's already built into the UrlReaderProcessor so you'll want to make sure you don't end up with a duplicate implementation.

no it's a 3rd party service

What I think we could do is add the methods to the implementation class, the CacheClient, but not to the service interface, CacheService. That way you can set up your own internal thing where you can wire up some form of admin actions without needing to reimplement the entire cache manager + client, but we avoid adding these methods to the CacheService interface.

So we need to export DefaultCacheClient or we craete a 2nd interface for like InternalCacheService so I can cast to it:
const client = (InternalCacheService) cacheMananger
          .forPlugin(`foo`)
          .getClient(options);

As far as I know, memcached does not support subset iteration or subset clears right? You can theoretically issue a cachedump but that gives you the whole universe. So if they have to be implemented extremely inefficiently, and your plugin uses this feature, it might seem to work well today but then when you install a second plugin that heavily uses the cache, your plugin (or both) will suffer.

You are right, memcached is very special. I tested it locally and the tests fails for the new methods. It does not even provide the iterate method via keyv. And the clear is deleting all the data.

Had another discussion around this in the maintainer team and consensus is that it's best not to add this. The value added by having these available in the implementation we perceive to be quite limited. Often the individual underlying caches will have their own admin interfaces, and you can always set up your own connection to the cache that then lets you use all of the available commands.


Where to add read_all_orders,read_orders,write_orders Scope in New Node App

Where to add read_all_orders,read_orders,write_orders Scope in New Node App
In previous app, we had environment file to add scope. Now new Node app doesnt have environment file.

You can still use an environment variable called SCOPES

With CLI 3.0 you can also set it in the shopify.app.toml file in the scopes variable.
https://github.com/Shopify/shopify-app-template-node/blob/cli_three/shopify.app.toml

i added scopes in shopify.app.toml and console the scopes in index.js and it didnt updates the scopes only shows 'write_products'

i added scopes in shopify.app.toml and console the scopes in index.js and it didnt updates the scopes only shows 'write_products'

did you get answer of this?

i added scopes in shopify.app.toml and console the scopes in index.js and it didnt updates the scopes only shows 'write_products'

did you get answer of this?


Create process notification about WSL process does not contain valid command line

Description:
According to https://blogs.msdn.microsoft.com/wsl/2016/11/01/wsl-antivirus-and-firewall-compatibility/ it's possible to register a callback for a WSL process creation notification. But there is no valid command line parameter in this callback.
Steps to repro:

Register a callback via PsSetCreateProcessNotifyRoutineEx2;
Run a WSL process with some argument (f.e. 'sudo bash');
Receive a process creation callback about new WSL process
Read CreateInfo::CommandLine;

Expected results:
There is full command line in CreateInfo::CommandLine (f.e. 'sudo bash');
Actual results:
There is only image name in CreateInfo::CommandLine (f.e. 'sudo');
Windows build number:
15014
Additional information:
There is no documented way to read command line for existing WSL processes.

Thanks for reporting the issue.  The command line for WSL processes is the standard Linux NULL separated command line.  This MSDN page has more details - https://msdn.microsoft.com/en-us/library/windows/hardware/mt805892(v=vs.85).aspx.
Please let us know if you hit any other issues.

Good a place as any here to ask if the team might reach out to the sysinternals people and see if support for WSL processes could be added (maybe that's already happened). #373 got opened and closed a long time ago but I haven't seen anyone mention it since. Currently (as of the November release) procexp64.exe does not populate process information like the command line arguments.

Good suggestion. Is definitely nice to have @therealkenc. Adding @jackchammons to see if he can help with the reach out.

Good suggestion, @therealkenc. Is definitely nice to have. Adding @jackchammons to see if he can help with the reach out.

Thank you! Yes, It's the valid 'standard Linux NULL separated command line' during EXECVE. But it's not valid during CLONE.
Also I asked how to read command line for existing WSL processes.

@bass751, thanks for the follow-up!  I tried the fork\clone case and it looks like the UNICODE_STRING Length member is getting unexpectedly truncated but the full command line is contained by MaximumLength.  I filed a bug a will report back once it is fixed.   Please note that the command line produced during fork\clone is the same as /proc//cmdline which can be changed during runtime and the command line during execve is the one being used for the new executable.
Currently there is not a supported method for reading the command line for existing WSL processes.  We are tracking this work, but do not have an ETA.  If you are an AV vendor, please contact Microsoft through your companies representative otherwise please give us feedback on user voice so we can prioritize.
Please let us know if you hit any other issues.

Following up on the below a fix for this should be out for insider builds soon.

I still don't see any WSL process commandlines in ProcessExplorer. Is this supposed to work?


Add support for B+G e-tech WS100/DS100

Hi,
I would like support in setting up additional electricity meters.
In Germany you can get two RS485-capable devices from B+G e-tech quite cheaply:
1-phase: WS100 ( https://data.stromzähler.eu/manuals/bg_ws100serie_de.pdf )
3-phase: DS100 ( https://data.stromzähler.eu/manuals/bg_ds100serie_de.pdf )
I have both models in use (connected to an RS485-to-Ethernet converter).
The corresponding registers can be found in the manual linked above.
Where are the registers added to the template? Then I can test this myself if necessary.

Happy to take a PR, see https://github.com/evcc-io/evcc/tree/master/templates/definition/meter for examples. Could also be added to https://github.com/volkszaehler/mbmd/tree/master/meters/rs485 instead.


attachement.png misspelled

attachement.png should be attachment.png

Hi!
I didn't understand what you mean :/

No big deal I just saw you spelled attachment wrong. It said attachement. With an extra e.
Great job btw.


[Bug]:

Preflight Checklist

[X] I have read the Contributing Guidelines for this project.
[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Ferdi Version
5.6.9
What operating system are you using?
Other Linux
Server
Ferdi
Operating System Version
Manjaro 21.2.1
What arch are you using?
x64
Last Known working version of Ferdi
5.6.9
Git SHA and/or build date
164bbc6
Steps to reproduce
Go to pamac and select update ferdi
or command line
yay -Sy ferdi
Expected Behavior
It should update the version
Actual Behavior
When trying to update ferdi I get an NPM error.
[13:08:02] Finished 'build' after 16 s
  • electron-builder  version=22.14.12 os=5.10.89-1-MANJARO
  • loaded configuration  file=/home/mlopez/.cache/yay/ferdi/src/ferdi-5.6.10/electron-builder.yml
  • writing effective config  file=out/builder-effective-config.yaml
  • installing production dependencies  platform=linux arch=x64 appDir=/home/mlopez/.cache/yay/ferdi/src/ferdi-5.6.10/build
  ⨯ npm exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Error output:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/mlopez/.cache/yay/ytmdesktop/src/npm-cache/_logs/2022-01-10T16_08_02_841Z-debug-0.log
  failedTask=build stackTrace=Error: npm exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Error output:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
                                                                                npm ERR! A complete log of this run can be found in:
npm ERR!     /home/mlopez/.cache/yay/ytmdesktop/src/npm-cache/_logs/2022-01-10T16_08_02_841Z-debug-0.log
                                                                                at ChildProcess.<anonymous> (/home/mlopez/.cache/yay/ferdi/src/ferdi-5.6.10/node_modules/builder-util/src/util.ts:250:14)
    at Object.onceWrapper (node:events:510:26)
    at ChildProcess.emit (node:events:390:28)
    at maybeClose (node:internal/child_process:1064:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: ferdi

This is part of the debug.log
verbose stack     at module.exports (/usr/lib/node_modules/npm/node_modules/npm-pick-manifest/index.js:209:23)
verbose stack     at /usr/lib/node_modules/npm/node_modules/pacote/lib/registry.js:118:26
verbose stack     at async Arborist.[nodeFromEdge] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1066:19)
verbose stack     at async Arborist.[buildDepStep] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:935:11)
verbose stack     at async Arborist.buildIdealTree (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:216:7)
verbose stack     at async Promise.all (index 1)
verbose stack     at async Arborist.reify (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:149:5)
verbose stack     at async Install.exec (/usr/lib/node_modules/npm/lib/commands/install.js:157:5)
verbose stack     at async module.exports (/usr/lib/node_modules/npm/lib/cli.js:66:5)
verbose cwd /home/mlopez/.cache/yay/ferdi/src/ferdi-5.6.10/build
verbose Linux 5.10.89-1-MANJARO
verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "--production" "--prefer-offline"
verbose node v16.13.1
verbose npm  v8.3.0
error code ETARGET
error notarget No matching version found for<EMAIL_ADDRESS>error notarget In most cases you or one of your dependencies are requesting
error notarget a package version that doesn't exist.
verbose exit 1
timing npm Completed in 12678ms
verbose unfinished npm timer reify<PHONE_NUMBER>034
verbose unfinished npm timer reify:loadTrees<PHONE_NUMBER>043
verbose code 1
error A complete log of this run can be found in:
error     /home/mlopez/.cache/yay/ytmdesktop/src/npm-cache/_logs/2022-01-10T16_08_02_841Z-debug-0.log

Screenshots
No response
Debug information
No response
Testcase Gist URL
No response
Additional Information
No response

Similar to #2376


host discovery support

Description:
Adds support for Logitech media server host discovery, i.e. no host/ip needs to be specified in configuration.yaml
Related issue (if applicable): #
Example entry for configuration.yaml (if applicable):
media_player:
- platform: squeezebox

Checklist:

[x] Local tests with tox run successfully.
[x] TravisCI does not fail. Your PR cannot be merged unless CI is green!
[x] Fork is up to date and was rebased on the dev branch before creating the PR.
[x] Commits have been squashed.
If code communicates with devices:

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Works for me with one server as long as it was running before home-assistant starts. I wonder if this functionality should be added to the netdisco library used by the discovery component which would allow it to discover the squeezebox server even when it starts after home-assistant is already running.

Ha, just noticed you had already opened balloob/netdisco#10

Perfect, I don't mind if the discovery snippet is moved to netdisco where it probably should belong.
(I wasn't sure since this discovery protocol was very platform specific and could not be generalized, plus it was much simpler providing a PR for one file/module.)
In case it is moved to netdisco, do you also have an updated version of squeezebox.py to make it work together with this update?
(Would an additional benefit be that the any squeezebox server would be added automatically after discovery to Home assistant without an entry in configuration.yaml?)

I hadn't made the home-assistant changes yet, I was just floating the idea for the netdisco approach. And yes, we would not need a squeezebox entry in the configuration unless someone wants or needs to hardcode the address.

Perfect, thanks, closing this then in favour of https://github.com/balloob/home-assistant/pull/1566


Change casdoor config in front end after the deploy

Frontend code written for a React project with default casdoor settings when compiled. If we want to change the addresses related to casdoor after being placed on the operational server, how should we do it?

@HRNasr fixed by: https://github.com/casbin/casvisor/commit/5030a02d77b5d8c5039139b7fae4d5bd7d9416f8

See code: https://github.com/casbin/casvisor/commit/5030a02d77b5d8c5039139b7fae4d5bd7d9416f8, let GPT explain to you


Throw an error when attempting to reconnect to an anonymous server

Fixes #37
Now when using trying to send a message to a no longer operational anonymous server after the connection has become interrupted, XPCError.connectionCannotBeReestablished will be thrown. "Server Termination Integration Test" has been written to validate this behavior.

@amomchilov for your review when you have time

@amomchilov changes ready for your review


Error make monitor for hello world (IDFGH-1411)

Environment

Development Kit:     ESP32-DevKitC
Kit version DevKitC: v4]
Module or chip used:  ESP32-WROOM-32
IDF version (run git describe --tags to find it):
// v3.2
Build System:         Make
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
// 1.22.0-80-g6c4433a5
Operating System:     Windows
Power Supply:         [USB]

Problem Description
//Detailed problem description goes here.
When trying to "make monitor" while following the get started example (Hello world), I get an error. However if i run make simple_monitor it works as expected
Expected Behavior
Wanted it to return Hello World as it said it should
Actual Behavior
Debug Logs
make monitor
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a5
Compiler version: 5.2.0
Python requirements from C:/msys32/home/▒dne/esp/esp-idf/requirements.txt are satisfied.
MONITOR
--- idf_monitor on COM7 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jun  8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:6180
load:0x40078000,len:10180
Traceback (most recent call last):
File "C:/msys32/home/
make: *** [/home/Ådne/esp/esp-idf/components/esptool_py/Makefile.projbuild:106: monitor] Error 1

Can you please check which Python version is being used?
Also, can you please try to move the esp directory to some path which doesn't contain non-ASCII characters, delete the build directory, and try make monitor again?

The python version is 2.7.16.
I will try this tomorow, however, when I tried on a new kit just before leaving today I wasn't even able to flash hello world to the chip. I got the error:
No rule to make target 'C:/msys32/home/▒dne/esp/esp-idf/components/ bootloader_support/src/bootloader_random.c', needed by 'src/bootloader_random.o'

I deleted everything and went through the get started documentation again, this time for the latest version.
I created a new folder and moved the esp in this one, and now it works OK. Both flashing and make monitor. However I can't run cd ~/esp because this folder still looks for /home/Ådne/esp which doesn't exists. I don't know if that will be a problem in the future?


Saliency-adaptive noise fusion for PAG

https://github.com/v0xie/sd-webui-incantations/pull/45
It has the same purpose as Rescale PAG, I couldn't exactly compare both because PAG seems to work differently on the incantations extension (idk if the implementation is different or if its because of the internal workings of A1111/Forge), frying at much smaller PAG values, but it works really well for getting rid of the artifacts from high PAG values without dampening the effect

Looks interesting. I can try to implement this

Done, you can use Saliency-adaptive noise fusion by setting rescale_mode to snf

tysm, working great 👍

Now I don't know if this is a bug or a limitation because of how SNF works:
First row with Negative guidance minimum sigma: 5
No rescale, Full, SNF
Second row with Negative guidance minimum sigma: 0 (disabled)
No rescale, Full, SNF

"Ignore negative prompt during early sampling" also may have a similar problem (the preview images show a similar artifacting in the steps its enabled), they are both from this PR https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/15607

I've fixed that issue by skipping SNF when there's no uncond_pred

No artifacts now 👍


Build fails with custom KNAPSACK_TEST_FILE_PATTERN

https://github.com/ArturT/knapsack#how-can-i-run-tests-from-multiple-directories using the approach described here bundle exec rake knapsack:rspec fails with require': cannot load such file -- spec_helper (LoadError) when KNAPSACK_TEST_FILE_PATTERN contains other directories.

Did you try to provide KNAPSACK_TEST_DIR=directory_where_is_spec_helper ?

Yes, I've tried both with KNAPSACK_TEST_DIR=spec and without KNAPSACK_TEST_DIR

How your KNAPSACK_TEST_FILE_PATTERN looks like?
Maybe you require spec_helper from the wrong directory. For instance, in test file you require rails_helper but inside of rails_helper you require spec_helper from wrong directory (different then KNAPSACK_TEST_DIR).
I'm trying to reproduce that on this app: https://github.com/KnapsackPro/rails-app-with-knapsack
You could fork that and add the second test directory and pattern you use to reproduce problem.
I guess something like this:
KNAPSACK_TEST_DIR=spec KNAPSACK_TEST_FILE_PATTERN="{spec,spec2}/**{,/*/**}/*_spec.rb" bundle exec rake knapsack:rspec

If you have shared examples or code that should be shared across multiple directories like spec_helper then the spec_helper should be in directory that rspec use as default directory of your test suite KNAPSACK_TEST_DIR=spec. I'm not sure if you can specify multiple default paths for rspec --default-path:
https://github.com/ArturT/knapsack/blob/master/lib/knapsack/runners/rspec_runner.rb#L15

Thank you @ArturT, my understanding of the problem is similar to what you've described.
I'll try to reproduce it on the test app :) Will get back to you about the results.

So it turns out that require_relative 'spec_helper' instead of require 'spec_helper' in those others BCs fixed the problem.
Might be worth adding some tip about a possibility of such problem in Readme :)

I've added tip here https://github.com/ArturT/knapsack#how-can-i-run-tests-from-multiple-directories

Cool! (but it should be vise versa)
# good
require_relative 'spec_helper'

# bad - won't work
require 'spec_helper'

Fixed. :)

Hi, I'm having a similar issue, but the tip does not work. Is the value of KNAPSACK_TEST_DIR supposed to be used as the --default-path option?

FYI, it works when I use RUBYLIB=spec

Hi @arturopie

Is the value of KNAPSACK_TEST_DIR supposed to be used as the --default-path option?

Yes.
We exchanged emails before about knapsack_pro. The docs are here and you can set the test directory with your spec_helper.rb configuration with variable KNAPSACK_PRO_TEST_DIR=spec (note there is PRO in the name)
https://github.com/KnapsackPro/knapsack_pro-ruby#how-can-i-run-tests-from-multiple-directories

btw, I had that issue of not having _PRO_ in the variable name after migrating on knapsack_pro and that have resulted in some part of the test suite not running for some time, maybe you can somehow add some check for proper variable names? :)

Hi. I'm not really sure from the examples how to do this. I have an integration suite in integration/features which all have their require spec_helper. I've changed this to require_relative ../../spec/spec_helper which appears to start loading the spec_helper, but then require fails inside of the spec for things relative to that. For example, requiring files in spec/support.
Here is the command I'm trying to use to run one of those tests.
KNAPSACK_TEST_DIR="integration/features" KNAPSACK_REPORT_PATH="spec/knapsack/knapsack_integration_report.json" KNAPSACK_TEST_FILE_PATTERN=integration/features/**{,/*/**}/*_spec.rb bundle exec knapsack rspec integration/features/authentication_spec.rb

I've tried a few combinations with test dir,
What is the least disruptive way to load the spec helper from the specs in integration/features where I won't have to and execute the tests in integration/features without having to resort to using require_relative for everything.
We're successfully using knapsack on the standard specs in spec/ . I just need a separate task for the integration spec which uses a different report. (or do I)?
Hope to hear back from ya, would really love to slice the time for these tests by /2 or more.

Hi @jhirn
Is your spec_helper.rb and rails_helper.rb in spec directory? Do you want to load it?
Or do you have separate spec_helper.rb and rails_helper.rb inside of integration directory? (I assume you have spec and integration on the same directory level (the integration directory is NOT inside of spec directory, right?)
Note KNAPSACK_TEST_DIR must point to a directory with spec_helper.rb and rails_helper.rb that you want to use.
You should not add list of test files at the end of knapsack command (integration/features/authentication_spec.rb will be ignored because tests are run based on KNAPSACK_TEST_FILE_PATTERN pattern)
# wrong
bundle exec knapsack rspec integration/features/authentication_spec.rb

You may want to try:
# spec_helper.rb/rails_helper.rb is inside of integration directory
KNAPSACK_TEST_DIR="integration" KNAPSACK_REPORT_PATH="spec/knapsack/knapsack_integration_report.json" KNAPSACK_TEST_FILE_PATTERN="integration/features/**{,/*/**}/*_spec.rb" bundle exec knapsack rspec

If you still have a problem you can share backtrace error.
You may also check how this is done in knapsack_pro gem (it has free plan) which has more options to configure different scenarios.

https://knapsackpro.com/faq/question/how-can-i-run-tests-from-multiple-directories
https://knapsackpro.com/faq/question/how-to-run-tests-from-a-specific-directory-only-system-tests-or-features-specs
https://knapsackpro.com/faq/question/how-to-run-only-rspec-feature-tests-or-non-feature-tests
https://knapsackpro.com/faq/question/how-to-exclude-tests-from-running-them
https://knapsackpro.com/faq/question/how-to-run-a-specific-list-of-test-files-or-only-some-tests-from-test-file

Hey @ArturT ,
Thanks getting back to me.
So I was able to get this working with the command you suggested and by creating integration/spec_helper.rb and adding to it require_relative '../spec/spec_helper. I ended up having to change a few requires in there to require_relative but only for local files. It's running locally to time to push up and see what circle says.
Again, really appreciate your help. It might be useful to add "recipe" to the docs. It wasn't clear to me that KNAPSACK_TEST_DIR is where the spec_helper had to be and it's nifty to just require_relative what already exists.

@jhirn I'm glad you managed to solve the problem.

Again, really appreciate your help. It might be useful to add "recipe" to the docs. It wasn't clear to me that KNAPSACK_TEST_DIR is where the spec_helper had to be and it's nifty to just require_relative what already exists.

There is already info in the readme about spec_helper had to be in KNAPSACK_TEST_DIR. :)
https://docs.knapsackpro.com/ruby/knapsack#how-can-i-run-tests-from-multiple-directories


InfluxDB CONTINUOUS QUERIES does not work

I had a InfluxDB 1.5.1 container running in AWS ECS
I tried to create CONTINUOUS QUERIES into influxdb, but it does not work after I created.
e.g.:
CREATE CONTINUOUS QUERY cpu_usage_daily_avg ON test_a BEGIN SELECT mean(usage_active) AS cpu_usage_active, mean(usage_guest) AS usage_guest, mean(usage_guest_nice) AS usage_guest_nice, mean(usage_idle) AS usage_idle, mean(usage_iowait) AS usage_iowait, mean(usage_irq) AS usage_irq, mean(usage_nice) AS usage_nice, mean(usage_softirq) AS usage_softirq, mean(usage_steal) AS usage_steal, mean(usage_system) AS usage_system, mean(usage_user) AS usage_user INTO report_daily.system.cpu FROM bdp.system.cpu WHERE cpu = 'cpu-total' GROUP BY time(1d), * END
DB report_daily and retention policy system was created before I created the CONTINUOUS QUERIES, I did not get any useful info from logs
here is the config about CONTINUOUS QUERIES:
[continuous_queries]
  enabled = true
  log-enabled = true
  query-stats-enabled = false
  run-interval = "1s"

If I run INFLUX SQL manually, it works normal.

Having a similar problem.
I am running InfluxDB 1.5.2 on Ubuntu 16.04
My continuous query is:
CREATE CONTINUOUS QUERY second_to_minute ON live_rp BEGIN SELECT first(rp) AS open, max(rp) AS high, min(rp) AS low, last(rp) AS close INTO live_rp_1m.one_year.:MEASUREMENT FROM live_rp.one_day./.*/ GROUP BY time(1m) END

But it's not working. If I run the following query alone in the CLI it works:
SELECT first(rp) AS open, max(rp) AS high, min(rp) AS low, last(rp) AS close INTO live_rp_1m.one_year.:MEASUREMENT FROM live_rp.one_day./.*/ GROUP BY time(1m)

On my end, the problem was simply a divergence of timezones. The server receiving the data was writing it using UTC-3, the server with the DB was using UTC. Therefore, when running the CQ, the database didn't found timestamps during the last minute.

@pauljherrera  That's a point.
There would be a difference between "Times in the series" and "UTC OS time".
So when you change the time manually, using now() method, the time difference makes an error!
good luck


How to connect to Athena using ACCESS_KEY, SECRET_KEY, and SESSION_TOKEN?

How to connect to Athena using ACCESS_KEY, SECRET_KEY, and SESSION_TOKEN?
I am using Dbeaver 5.3.4 on MAC.

According to documentation:
To configure authentication using IAM credentials:

Set the User property to the access key provided by your AWS account.
Set the Password property to the secret key provided by your AWS account.

Did you test that?

I tried few options including the link above but it fails with "unable to find valid certification path to requested target" error.

any kind of help is appreciated here.

Hello,
I'm using DBeaver 6.0.1 and trying to find a way to connect to it using access/secret key with session token (using an aws role to connect to it). So far I was not successful. The main problem seems to be that I cannot not set the access/secret key so that it will take into account the one I set in the Drive properties "AwsCredentialsProviderArguments" with "AwsCredentialsProviderClass" set to com.example.CustomSessionCredentialsProvider. Is there any documented example somewhere?
Could anyone point me in the right direction?
Thank you,

Hello,
I am having some troubles with the connection between Dbeaver and Athena in the matter of I can connect with Athena, but when I run any query, I am simply ignored by Dbeaver, I never got any answer back. Even so, when I look at Athena, I notice that all of my querys have were done, but I just got an answer, after a long time, saying that the connection was refused:
(SQL Error [100131] [HY000]: [Simba]AthenaJDBC An error has been thrown from the AWS SDK client. Unable to execute HTTP request: Connect to athena.us-east-1.amazonaws.com:444 [athena.us-east-1.amazonaws.com/<IP_ADDRESS>, athena.us-east-1.amazonaws.com/<IP_ADDRESS>, athena.us-east-1.amazonaws.com/<IP_ADDRESS>, athena.us-east-1.amazonaws.com/<IP_ADDRESS>, athena.us-east-1.amazonaws.com/<IP_ADDRESS>, athena.us-east-1.amazonaws.com/<IP_ADDRESS>, athena.us-east-1.amazonaws.com/<IP_ADDRESS>, athena.us-east-1.amazonaws.com/<IP_ADDRESS>] failed: Connection refused: connect
)
I can see all the tables that are in Athena, but can't execute any query.
Anyone knows something about that?

I'm running into the same problem as arturhbs. I can see all the metadata for the s3 buckets, and the tables under each in Dbeaver Database Navigator, but queries never return. They just spin forever, executing the process 'Read data'.
BTW: The same queries work in Athena.

Hello,
I'm using DBeaver 6.0.1 and trying to find a way to connect to it using access/secret key with session token (using an aws role to connect to it). So far I was not successful. The main problem seems to be that I cannot not set the access/secret key so that it will take into account the one I set in the Drive properties "AwsCredentialsProviderArguments" with "AwsCredentialsProviderClass" set to com.example.CustomSessionCredentialsProvider. Is there any documented example somewhere?
Could anyone point me in the right direction?
Thank you,

I have the same problem, could you ever fixed?

Same problem as arturhbs above @ https://github.com/dbeaver/dbeaver/issues/5264#issuecomment-507760455

Same problem as arturhbs above @ #5264 (comment)

I've tried changing the JDBC to an older version and it worked for me. You should try and see if it works for you too.

I've tried changing the JDBC to an older version (2.0.2) and it worked for me. You should try and see if it works for you too.

Thanks, that worked.
I saw in the documentation a hint that this has probably got to do with the ResultSet streaming feature available in Simba Athena JDBC driver >= 2.0.5
So I went ahead and set UseResultsetStreaming=0 for the 2.0.9 driver properties and now it works.
On hindsight, I see the error message you posted saying port 444 connection refused. So in your case (and mine!) there's probably a firewall there blocking port 444. So by setting UseResultsetStreaming=0 it forces the driver to fallback to the pagination method and avoid streaming the results back from port 444.

According to documentation:
To configure authentication using IAM credentials:
1. Set the User property to the access key provided by your AWS account.

2. Set the Password property to the secret key provided by your AWS account.

Did you test that?
Just looked quickly at: https://s3.amazonaws.com/athena-downloads/drivers/JDBC/SimbaAthenaJDBC_2.0.6/docs/Simba+Athena+JDBC+Driver+Install+and+Configuration+Guide.pdf

This doesn't work with temp credentials. We will need to make some adjustments for that to work. 6088 is a duplicate of this I think but since it's clearer what's being asked for I'll try and tackle it.

It looks like this was answered in another thread and the original question of connecting via temp credentials is possible.  https://github.com/dbeaver/dbeaver/issues/3918


Migrate HLS processing status page from UAH to MCP

Description
There is an existing HLS processing status page on UAH displays metrics from cloud processing and provides the status based on these metrics (1 processing is nominal with no negative indicators; 2 processing is ongoing but errors are outside the expected range; and 3 data is not being produced). This is very useful and needs to be migrated to MCP.
HLS-status repo
Acceptance Criteria
TBD

Decision was made to shut down the status page. Next step is to determine who is in control of the page.

The status page is hosted from a UAH s3 bucket. We could disable this to take the page offline.
arn:aws:s3:::hls-status-webpage

HLS status page has been disabled.

@bwbaker1 this can be closed.


[New plot] Doughnut plots

What can we do to make ScottPlot better?
Pie plots are available, but what about doughnut plots?
Is there any plan on adding these?

I like this idea! It would be nice if this effect could be achieved like
double[] values = { 778, 283, 184, 76, 43 };
var pie = plt.PlotPie(values);
pie.explode = true;
pie.donut = true;

The various labeling options are already in the pie plottable class, so this would probably be pretty easy.
https://swharden.com/scottplot/cookbooks/4.0.38/#plottypes-pie-show-everything
@Benny121221 recently created the pie chart (#423) so they might want to add this functionality, but if not @AlexFsmn I'd be happy to review a PR. Extra points if the donut can be achieved using clipping instead of drawing an opaque circle on top of the plot (to accomodate transparent plot backgrounds).

This is in a pretty good place now! This feature (and a new cookbook) will be be packaged with the next release on NuGet 👍


Implement certificate pinning for Verifier App

Closed with PR: https://github.com/eu-digital-green-certificates/dgca-verifier-app-android/pull/37


this.prop is undefined after upgrade from beta.9 to beta.10

Version
3.0.0-beta.10
Reproduction link
https://codesandbox.io/s/62y9086p0r
Steps to reproduce
export default {
mixins: [MixinFactory(this.timeout)],
props: {
            timeout: {
                required: false,
                type: Number,
                default: 6000,
            }
}
}

What is expected?
this is defined and refers component
What is actually happening?
this is undefined

not sure if its the cli or something else

I'm not sure how this should have worked in beta.9, because to the best of my knowledge, it's technically impossible for this to be "the component" if you calll it in that place.
in the given code, this will be undefined in strict mode (which all ES Modules are execued in.
Can you demonstrate a working version of that code?

Tryed to find an example buuuut the Example i had in mind showd me that this is not possible as well. they use const values.
Thanks for the clarification. Still not sure why it compiles error free right know


Enhancement Request, player bar location

Hi!
Excellent work on the theme, my favorite. Every time I update my theme, I have to make adjustments to the user.css for the location of the player bar; I truly enjoy the location in the middle.

For that, I change the  /** Rearrange player bar */ section in user.css to:
/** Rearrange player bar */
.main-nowPlayingBar-left {
order: 0;
flex: 1;
width: auto;
min-width: 0 !important;
}
.main-nowPlayingBar-center {
order: 1;
flex: 1;
width: auto;
min-width: unset !important;
}
.main-nowPlayingBar-right {
order: 2;
flex: 1;
width: auto;
min-width: unset !important;
}
.main-nowPlayingWidget-nowPlaying {
justify-content: left;
padding-left: 20px;
}
.player-controls {
justify-content: center;
flex-direction: row;
}
.main-playPauseButton-button {
background-color: transparent;
}
.main-playPauseButton-button svg {
width: 32px !important;
height: 32px !important;
color: var(--spice-button);
}
Would it be possible to add this as an option in the Main Config Options Menu, maybe as a toggle between original and middle?
Thank you,
Alex

This will be in the next Release. Thank you for your Suggestion!


soc: arm: sam4s: Add spi driver support

Since current sam_spi driver is compatible wtih sam4 platform this enables driver support on sam4s mcu.
depends on: https://github.com/zephyrproject-rtos/zephyr/pull/22394

I can't understand why this patch broke sample.bluetooth.peripheral_hr_rv32m1_vega_ri5cy.

I've added DNM label since #21319 needs to be merged first. The PR looks good, however I would like to re-review it when it is rebased on top of merged #21319.

I splitted #21319 and now this PR depends only of #22394, the true dependency.

All dependencies of this PR has already been merged on master.  #22394 has been replaced by #22401. Apart from resolving merge conflicts there shouldn't be anything blocking this PR. I've removed DNM label.

@nandojve  can you please rebase?

I took liberty to complement this PR with more two commits. The first one fix a warning message that is now treated by CI as error. In this case added spi0 on board dts file to fix it. The second one, once spi is now supported, it needs to be on board yaml file.

I have retriggered CI on this PR to check against the topic-gpio branch merge.


Triangular Distributions import incorrectly from FDA1.X

Triangular distributions flip the Min and Most likely values in the table. Mins come in under most likely, and most likelys come in under min.

@codymccoy please prioritize this ASAP. This should be part of our Task 9 deliverable.

For rating curves:

for inflow outflow:

for occtype:

There is different logic for different objects. Are we saying that all curve types have this problem? ie: rating, inflow-outflow, ext-int, occtypes, etc.

I will look.

On May 24, 2022, at 11:30 AM, codymccoy @.***> wrote:

There is different logic for different objects. Are we saying that all curve types have this problem? ie: rating, inflow-outflow, ext-int, occtypes, etc.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.

looks like stage discharge has this problem:

Right this is just stage discharge. 1.4.3 interpolates this uncertainty only. We need to think about whether to support this in 2.0.

On May 24, 2022, at 2:04 PM, codymccoy @.***> wrote:

looks like stage discharge has this problem:
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.

I believe that this is the same issue as another "triangular" github issue. I believe this is resolved now. @rnugent3 Can you test this?

I will test.
Best,
R Nugent III

On Jun 3, 2022, at 1:53 PM, codymccoy @.***> wrote:

I believe that this is the same issue as another "triangular" github issue. I believe this is resolved now. @rnugent3 Can you test this?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

I agree, this issue is a duplicate, and this issue has been resolved.


more latex updates

mostly to do with convolution, but some other clean up and improvement of some figures.

Cool. Thanks for the convolution clarifications and the new images.

Going to merge so I can work on the regression section.


WIP. Added the file Timelock.hs.

Timelocks are a new kind of script. Integrated them as a new constructor
of Script, Added all the CBOR and Hashing stuff. Wrote some stubs that allow the scripts to be run as soon as TxBody has some needed intervals.

Note that this should all be in the shelley-ma package, not in shelley

It looks good to me! I think you just need to move it into the allegra era, run ormolu, fix the merge conflict, and smash everything into one commit.

Ok so I moved everything into shelley-ma, I needed to export a few things for  Tx.hs and Scripts.hs, and change the shelley-ma cabal file, but otherwise everything else remains the same.


Fix repeating change action with count

Repeating the c command should not repeat inserting the text. This is mostly visible when the command is initially made with a count. E.g. 2c3l will change 6 characters. Hitting . should also change 6 characters and shouldn't repeat inserting the text 6 times.
This PR adds CommandFlags.FLAG_NO_REPEAT_INSERT, as used by s, S and C.
Fixes VIM-3729

Thank you!


Added Game of Life Clock

All relevant infos in README.md :)

Awesome - thanks!

Awesome - thanks!


Make remove_callback more robust

If there is more than 1 callback on an event, there are issues when
interrupting the event if the callback for the event target is not first
in line.
This change makes it so that you can find the callback associated with
the target and interrupt it. Otherwise, i = nothing and deleteat! will
fail.

Thanks!


Undefined behavior in safe code: not validating indices

https://github.com/rust-numpy/rust-numpy/blob/b54bb166c1c075bd730f20f60bb0f45c6cffd1f3/src/array.rs#L484-L489
Documenting this isn't enough. If a function can be used to invoke undefined behavior in safe code written outside of the module, it must be marked as unsafe.

Thank you for reporting!
Hmm, it looks we validate the index here.
I'm going to check it in detail later, but now I think the document is incorrect.

Ah, I see, it may have been copied and pasted by accident from uget.


correct typo and change git repro name

PR to resolve git issue #1806 (the getting started application refers to mbwhite github repository)
Changes made:

fix typo in text
change repro to point to main hyperledge repro

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

Closing PR as fixed upstream


difference confidence_threshold and score_threshold

Hi i don't know the difference confidence_threshold and score_threshold.
In Yolo v3 you also use confidence_threshold for nms.
I tried to read to source code post_processing/bbox_nms, but there is no confidence_threshold anywhere.
And i am also wondering how you use soft nms, because in post_processing/bbox_nms only greedy nms is supported, maybe you can refer the right file.
Thanks a lot!

Confidence_threshold distinguish foreground and background, score_threshold select
samples for classification。
Maybe you can replace cfg.nms to use soft nms
https://github.com/open-mmlab/mmdetection/blob/c72bc707e661d61cf09aca0a53ad21812ef874d0/mmdet/models/dense_heads/yolo_head.py#L292

Thanks for the fast reply!
Really appreciate it, but honestly i dont understand it.
Could you describe the meaning of Confidence_threshold a little but more?


Testing Environment

Hi,
I have some problems when testing the project. I have checked the accuracy of models, all of them achieve 99%. However, during real testing model fails to correctly recognize my gestures. Could you please make a short video showing your testing environment and show how one should move hands to properly recognize gestures?
Thanks.

Whole data set was created using only my gestures, so models are probably overfitted to me, and it does work just fine in real testing. You can always record your own gestures and retrain models with them.
Here is my footage: https://drive.google.com/file/d/1jLj6-0hzaesZALlGzwi1y7zK2rP7z5Pg/view?usp=sharing
(I've used wide lens in order to be able to record with my left hand and do the gestures with the right one, so the gestures may look bigger then what they are. You can follow the plotter for some reference tho)

Thank you so much for the video. Our setup was completely different, that's why the model was not able to recognize gestures. I would suggest you put a video(or GIF) like above in README.md so that people can easily understand.

I have one more question about radar setup. In the video above I have noticed that jumpers P5, P7 were closed and something Red&Yellow placed around SOP jumpers. Does this setting effect the received signals? Could you please take picture of the radar and show it? Thank you.

I'm just really bad at saving my jumpers, so I'm always keeping them like this :)


Implement logging of cashback operations

This ticket is to implement logging of fees and cashback operations to a file.
For the purposes of this issue, there will be no attempt to put this information in the database, as it would use a ton of memory.  So the output log will not accurately reflect real-time output; it will only really be useful for addressing historical questions.  This ticket is specifically intended to support diagnosis of issues #441 #443

Closing, as issues which inspired this ticket have been resolved.


docs: stride is in bytes, not in samples

The comment for the stride in vvdecPlane states that it's in number of samples, but in reality it's in number of bytes, as seen in
https://github.com/fraunhoferhhi/vvdec/blob/3c43ba15b92abde704bb1b43d9bf38560ebf78b0/source/Lib/vvdec/vvdecimpl.cpp#L1203-L1205

Hi Carlos, good catch!
Since this is only a minor comment change, even tho very important one, I think it does not necessitate an authors.md entry. Especially since additional authors have implications for project steering.
If that'd be alright with you, could you adapt the PR? I'll try to adapt our readme.md to be more clear in that point.

If that'd be alright with you, could you adapt the PR? I'll try to adapt our readme.md to be more clear in that point.

Hi @adamjw24 no worries at all :)
Yes I mainly just followed the README instructions, so the extra clarity would be welcome.


[Feature Request] allow new line characters (\n or similar) in custom dictionary

Before finding your plugin I was using the "Text Snippets" plugin to get a semi-autocompletion by defining snippets similar to the custom dictionary in your "Various Complements" plugin.
However with text snippets you were able to use $$nl$$ to indicate a new line in a snippet. I think this would be a nice addition to your plugin since it will allow for more complex autocompletions where whole structures can be used and not only words/one sentence.

Hi, @marcjulianschwarz . Thank your for your FR!
It looks good to me. I'll try it :)

@marcjulianschwarz
I have updated beta version to obsidian-various-complements-plugin-beta 🚀
If you use BRAT, please confirm whether it works as you expected. If you don't use it, please verify the below GIF.

Looks great, thank you very much. I tested it with BRAT and it works like a charm!
Great work, can't wait for the official release :)

Released as v3.3.0 🚀


Add KB info for Dev Mode packages

@hpsin,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Blocking for now - want to move the developer mode parts to the developer mode page

Unblocked.  @PatrickFarley , could this be reviewed?


Q: Can ©day only include year?

Hey, got a question about the ©day tag. Feel free to close if you don't know or want to answer.
In most places, it looks like ©day is just mentioned as being for the year. However, it's of course named ©day and the Movie Atoms specification describes ©day as Date the movie content was created.
Is it valid to enter info like month/date/time in ©day, and if so, what format?
ID3v2.4's TDRC tag lets you optionally include month, date and time in the format yyyy-MM-ddTHH:mm:ss.

Yes ©day can contain any string, there is no exact spec that I know of. I think what format to use depends on what music player etc. you use.

Makes sense, thanks for letting me know! I'll have to decide on a format


Leanplum fails to compile with targetSdkVersion 28

Expected Behavior
Project compiles without issues
Actual Behavior
Project gradle sync fails with an error
Steps to Reproduce the Problem

Update targetSdkVersion to 28
Update support library versions to 28.0.0
Use google-services plugin 4.2.0
Add Leanplum-fcm dependency
Sync gradle

Gradle outputs a build error:
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)

CONFIGURE SUCCESSFUL in 0s
Dependency resolved to an incompatible version: Dependency(fromArtifactVersion=ArtifactVersion(groupId=com.leanplum, artifactId=leanplum-core, version=4.2.1), toArtifact=Artifact(groupId=com.android.support, artifactId=support-v4), toArtifactVersionString=[22.0.0,27.0.2])
In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[22.0.
0,27.0.2]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.

Dependency failing: com.leanplum:leanplum-core:4.2.1 -> com.android.support:supportv4@[22.0.0,27.0.2], but support-v4 version was 27.0.2.

The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the artifact with the issue.
-- Project 'app' depends onto<EMAIL_ADDRESS>
For extended debugging info execute Gradle from the command line with ./gradlew --info
:app:assembleDebug to see the dependency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your build.gradle file.

I've included a sample project that you should be able to just clone and try to sync, and the build should fail with the same output.  https://github.com/lolsheeplol/LeanplumPie
Specifications

Version: 4.2.1
Platform: Android

On second inspection, it looks like it's actually the google-services:4.2.0 plugin that is causing the build failure.  The build succeeds on plugin version 4.1.0.
However, it seems the strict version matcher is still problematic for us as we run ./gradlew lintDevDebug on our CircleCi configuration, and that step now fails due to the major version of the support libraries changing.

The version range is hard coded [22.0.0,${SUPPORT_LIBRARY_VERSION}] where SUPPORT_LIBRARY_VERSION = '27.0.2'
https://github.com/Leanplum/Leanplum-Android-SDK/blob/master/AndroidSDKCore/build.gradle#L34
https://github.com/Leanplum/Leanplum-Android-SDK/blob/master/common-methods.gradle#L5

hitting same issue...our app targets SDK 28.  Why in the world does leanplum have that range?  And why doesn't it work w/ SDK28?  that's been out for a while :-P

and we use the com.google.android.gms:strict-version-matcher-plugin so we can't downgrade to the google-services plugin because we don't use it :-P

FYI, we figured out how to exclude the libraries Leanplum depends on:

configurations.all {
resolutionStrategy {
...
force "com.android.support:support-v4:${supportLibVersion}"
force "com.android.support:appcompat-v7:${supportLibVersion}"
}
}

then make sure you add transitive=false to your leanplum implementation line

Still...Leanplum should target SDK28 but I'm sure they know that by now :-)

Hey all,
Following the guide on https://developer.android.com/jetpack/androidx/migrate, add the following lines to the gradle.properties file
android.enableJetifier=true
android.useAndroidX=true

And the compilation works. As for the migration to sdk version 28 - it should be out soon

Sorry...that's not really a solution...our app is not on AndroidX yet :-P
Please migrate your SDK to API28...

@e7mac do you have a rough estimate for when that will be released?

Why was this issue marked as closed 2 months ago when it is not resolved. This issue is still present in the current Leanplum_Unity-1.6.5.unitypackage.


[JetSnack] Move scroll state reads into layout phase via lambdas

Fixes janky scrolling on the JetSnack details page.
Fixes #231
It should not be necessary to recompose just to relayout a page. JetSnack has a collapsing toolbar like layout on the details page, it shrinks the image and moves the title text up on scroll. This was previously done using composition but by moving the read of the scroll value into a lambda, we can read the value only during layout and skip the composition phase entirely.

Your idea is so impressive for me.
Thank you 👍

Great example for explaining this within my  team. Thank you @bentrengrove !


I can not convert the keras - retinanet.h5 model to tensorflow Pb model ,thanks.

File "/home/zhangliyuan/RetinaNet/keras_to_tensorflow.py", line 54, in
net_model = load_model(weight_file_path)
File "/home/zhangliyuan/.local/lib/python3.6/site-packages/keras/models.py", line 240, in load_model
model = model_from_config(model_config, custom_objects=custom_objects)
File "/home/zhangliyuan/.local/lib/python3.6/site-packages/keras/models.py", line 314, in model_from_config
return layer_module.deserialize(config, custom_objects=custom_objects)
File "/home/zhangliyuan/.local/lib/python3.6/site-packages/keras/layers/init.py", line 55, in deserialize
printable_module_name='layer')
File "/home/zhangliyuan/.local/lib/python3.6/site-packages/keras/utils/generic_utils.py", line 140, in deserialize_keras_object
list(custom_objects.items())))
File "/home/zhangliyuan/.local/lib/python3.6/site-packages/keras/engine/topology.py", line 2490, in from_config
process_layer(layer_data)
File "/home/zhangliyuan/.local/lib/python3.6/site-packages/keras/engine/topology.py", line 2476, in process_layer
custom_objects=custom_objects)
File "/home/zhangliyuan/.local/lib/python3.6/site-packages/keras/layers/init.py", line 55, in deserialize
printable_module_name='layer')
File "/home/zhangliyuan/.local/lib/python3.6/site-packages/keras/utils/generic_utils.py", line 142, in deserialize_keras_object
return cls.from_config(config['config'])
File "/home/zhangliyuan/.local/lib/python3.6/site-packages/keras/engine/topology.py", line 1253, in from_config
return cls(**config)
File "/home/zhangliyuan/.local/lib/python3.6/site-packages/keras/legacy/interfaces.py", line 87, in wrapper
return func(*args, **kwargs)
File "/home/zhangliyuan/.local/lib/python3.6/site-packages/keras/layers/normalization.py", line 71, in init
super(BatchNormalization, self).init(**kwargs)
File "/home/zhangliyuan/.local/lib/python3.6/site-packages/keras/engine/topology.py", line 280, in init
raise TypeError('Keyword argument not understood:', kwarg)
TypeError: ('Keyword argument not understood:', 'freeze')

I'll mark this as closed.
Reopen if the issue persists.


[flask-ask] Fix BigForward/Backward and StartOver

alexa_player_seek_bigforward is defined twice, the second one should
be alexa_player_seek_bigbackward
Change PlayStartOver use of Player.GoTo to Player.Seek

Player.GoTo doesn't work for non-playlist entries

Backport to master in PR #121

cherry-picked this into flask-ask.


How to override the webpack default plugin options?

Hi ,
I haven't found a way to override the webpack default plugin option. For example, I want to override some options for this plugin "splitChunks" which is the default used in the webpack4.
I know there is a api "addWebpackPlugin" which could be used to add new plugin. And I use it to add new plugins, for example "addWebpackPlugin(new BundleAnalyzerPlugin()),".
But how to update the options for the default plugins?
Best Regards

Hi @jasonOramo. We don't currently provide a direct way to modify webpack.optimization.splitChunks, but you could easily create a function similar to our disableChunk implementation (you can find that implementation here).
For example:
const setChunksMaxSize = maxSize => config => {
  config.optimization.splitChunks.maxSize = maxSize
  return config
}

module.exports = override(
  setChunksMaxSize(50)
)

Thanks a lot.


Asset management

Hi,
Maybe the question already stated somewhere, but is there an ASSET management addition to this helpdesk tool ?
So we can keep track on our ASSETS (Hardware)
Thanks !

I think it depends on what your expecting from an asset management.
Maybe just using the custom fields from django-helpdesk will suit you, or maybe you would prefer to add another package like Ralph (I never tested it but it seems good for asset management), and lastly you could create your own models and override django-helpdesk to make it work together.

I think it depends on what your expecting from an asset management.
Maybe just using the custom fields from django-helpdesk will suit you, or maybe you would prefer to add another package like Ralph (I never tested it but it seems good for asset management), and lastly you could create your own models and override django-helpdesk to make it work together.

django-helpdesk does not at this time have any specific asset management
features. Like Benbb96 said, you might be able to make something that works
using custom fields, but if you want something more powerful you'd likely
need a real management package. I'm not sure what it would take to
implement that, but PRs welcome if you or anyone are interested in that
feature!
On Tue, Jan 5, 2021 at 5:16 AM Benbb96<EMAIL_ADDRESS>wrote:

I think it depends on what your expecting from an asset management.
Maybe just using the custom fields from django-helpdesk will suit you, or
maybe you would prefer to add another package like Ralph
https://ralph.allegro.tech/ (I never tested it but it seems good for
asset management), and lastly you could create your own models and override
django-helpdesk to make it work together.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/django-helpdesk/django-helpdesk/issues/921#issuecomment-754543854,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEKHU43ZH72ZN32T5SOAHTSYLRHZANCNFSM4VUWXAPQ
.

django-helpdesk does not at this time have any specific asset management
features. Like Benbb96 said, you might be able to make something that works
using custom fields, but if you want something more powerful you'd likely
need a real management package. I'm not sure what it would take to
implement that, but PRs welcome if you or anyone are interested in that
feature!
On Tue, Jan 5, 2021 at 5:16 AM Benbb96<EMAIL_ADDRESS>wrote:

I think it depends on what your expecting from an asset management.
Maybe just using the custom fields from django-helpdesk will suit you, or
maybe you would prefer to add another package like Ralph
https://ralph.allegro.tech/ (I never tested it but it seems good for
asset management), and lastly you could create your own models and override
django-helpdesk to make it work together.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/django-helpdesk/django-helpdesk/issues/921#issuecomment-754543854,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEKHU43ZH72ZN32T5SOAHTSYLRHZANCNFSM4VUWXAPQ
.


synth_ice40 not working with nextpnr since Yosys 0.12

Steps to reproduce the issue
module test
    (
      input [2:0] NUM
    , output wire  OUTPUT
    );

  assign OUTPUT = NUM == 3'd3;
endmodule

yosys test.v -o test.json -p synth_ice40
nextpnr-ice40 --hx1k --package tq144 --json test.json --pcf-allow-unconstrained
Expected behavior
nextpnr-ice40 would finish with no errors. This is what happens with yosys 0.12
Actual behavior
nextpnr-ice40 fails with an error
ERROR: cell type '$eq' is unsupported
It appears that yosys is generating different cell types post-0.12 ($eq vs SB_LUT4 here) besides just $eq, but I don't know enough about yosys to know if that is expected or not

@clairexen There's been a constant stream of issues related to the recent read change. I think that, at least, synth_* scripts without -top/-auto-top should be deprecated; this still breaks a lot of people's workflows, but at least it no longer silently breaks them.

While not directed at me, -p 'hierarchy -auto-top; synth_ice40' does seem to fix my problems, so thanks for making me aware of that


how to config a remote nginx for a zulip dev-environment

I have set up a zulip dev environment on one VM. it can be access via port 9991 and works well.
Now I have installed a nginx on another VM. this zulip will be shared by zulip and other applications.
in the future, I want to visit zulip via http:///zulip
is it possible to achieve ? how to modify the zulip code and nginx config ?

I did some experiment today
assuming the zulip's ip is <IP_ADDRESS> and nginx 's ip is <IP_ADDRESS>
before starting the zulip, i run
export EXTERNAL_HOST=<IP_ADDRESS>:9991
then run
./tools/run-dev.py --interface=''
the zulip is up and running.  i can visit via port 9991.
then I update the nginx config
I add a location /zulip/.
location /zulip/ {
proxy_pass http://<IP_ADDRESS>:9991/;
}
when hit this URL, it jump to http://<IP_ADDRESS>/devlogin. I guess that means the request has been redirect from nginx to zulip.
so I add this location in the nginx.
location /devlogin/:
proxy_pass http://<IP_ADDRESS>:9991/devlogin/;
}
Now I can see the login windows fo dev zulip via Nginx (address <IP_ADDRESS>/zulip)
but when I click any of the users( there are some testing users on the dev environment login page). the address redirect back to <IP_ADDRESS> ( the ip of zulip dev env)
seems the user's login URL is hard-coded by zulip backend.

if I install the zulip prod version, is there an option to use external nginx ?
I read this doc:
https://zulip.readthedocs.io/en/stable/production/deployment.html#putting-the-zulip-application-behind-a-reverse-proxy
seems this doc means we can use an external reverse proxy pointing to the zulip prod env's nginx  ?

The dev environment is not intended to be exposed to the internet. For a production deployment, yes, you have found the right documentation.


CLA

Codecov Report

Merging #21 (d027c31) into main (ed9a93e) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main      #21   +/-   ##
=======================================
  Coverage   52.06%   52.06%
=======================================
  Files          62       62
  Lines        2589     2589
=======================================
  Hits         1348     1348
  Misses       1241     1241