add some pre-compilations

Codecov Report
Base: 89.90% // Head: 87.61% // Decreases project coverage by -2.29% :warning:

Coverage data is based on head (629c88f) compared to base (69cbd79).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #422      +/-   ##
==========================================
- Coverage   89.90%   87.61%   -2.30%
==========================================
  Files          10       10
  Lines        2636     2624      -12
==========================================
- Hits         2370     2299      -71
- Misses        266      325      +59

Impacted Files
Coverage Δ

src/JET.jl
73.30% <ø> (-1.05%)
:arrow_down:

src/abstractinterpret/typeinfer.jl
88.36% <0.00%> (-6.21%)
:arrow_down:

src/analyzers/jetanalyzer.jl
89.43% <0.00%> (-4.11%)
:arrow_down:

src/abstractinterpret/inferenceerrorreport.jl
87.90% <0.00%> (-1.82%)
:arrow_down:

src/ui/print.jl
91.09% <0.00%> (-0.75%)
:arrow_down:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Can't confirm much first-time-to-analyze improvements, but rather the package loading time regression is big.


Operation Wind Bastion (Fortress)

Just creating a new issue for tracking the addition of Fortress.
This season, the map files are included in the asset pack, and comes complete with transparent PNG images for each of the floors. I've attached the files below.
pvp22_morocco_1stfloor.jpg
pvp22_morocco_1stfloor.png
pvp22_morocco_2ndfloor.jpg
pvp22_morocco_2ndfloor.png
pvp22_morocco_background.png
pvp22_morocco_groundfloor.jpg
pvp22_morocco_roof.jpg
pvp22_morocco_roof.png

Asset Pack link: http://static2.cdn.ubi.com/pxm/RainbowSix/FanKit/WindBastionFanKit.7z


ESP controller upgrade

ESP controller now returns a response object regardless of the fetch status. All non-ok call will have an !ok, error = { errors, message } and status = 400 - 500 code
Resolves: no ticket yet
Test URLs:

Before: https://dev--ecc-milo--adobecom.hlx.page/
After: https://esp-controller-upgrade--ecc-milo--adobecom.hlx.page/

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (dev@58f3e68). Learn more about missing BASE report.

Additional details and impacted files
@@          Coverage Diff           @@
##             dev     #116   +/-   ##
======================================
  Coverage       ?   67.22%
======================================
  Files          ?        2
  Lines          ?      238
  Branches       ?        0
======================================
  Hits           ?      160
  Misses         ?       78
  Partials       ?        0

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


recovery: update app_limited flag after ack received

Currently we update app_limited flag on sent, but
this flag also need to be updated after ack
processing is done, especially when we get multiple
ack packets (contains multiple ack range) back to back.
Current problem is that it may cause to increase cwnd
more than expected, resulting overshooting cwnd.
e.g.
let's assume cwnd=10, ssthresh=inf, bytes_in_flight=0, datagram_size=1
sender send packet pn=0 to 9
-> cwnd=10, bytes_in_flight=10, app_limited=false
sender received ack (0, 1)
-> cwnd=12, bytes_in_flight=8, app_limited=false -> BAD
sender received ack (2, 3)
-> cwnd=14, bytes_in_flight=8, app_limited=false -> BAD
sender send packet pn=10
-> cwnd=14, bytes_in_flight=9, app_limited=true
After this fix:
sender send packet pn=0 to 9
-> cwnd=10, bytes_in_flight=10, app_limited=false
sender received ack (0, 1)
-> cwnd=12, bytes_in_flight=8, app_limited=true
sender received ack (2, 3)
-> cwnd=12, bytes_in_flight=8, app_limited=true
sender send packet pn=10
-> cwnd=12, bytes_in_flight=9, app_limited=true
You may wonder it's correct to increase cwnd when we receive ack,
but currently we use RFC3465 and considering that regardless of ack "packet"
(because ack frequency can be different depending the receiver e.g. ack
frequency=10) but actual acked range in a batch is more important.
This change will make sure when we get ack pn=0, 1, 2, 3 whether in 2 ack packets
or in 1 ack packet, we only increase cwnd 2 (L) x max_datagram_size at most.

Closing - it needs a better solution.

Closing - it needs a better solution.


Update 6.6 kernel & firmware

Updated the kernel source to the rpi-6.6.y branch (6.6.45 as of now) since upstream is not tagging releases. This is also what the Arch Linux ARM project is doing, see https://archlinuxarm.org/packages/aarch64/linux-rpi.
Also the firmware packages have been updated.

Thanks for the contribution @elohmeier, however, I have always tracked the latest stable release of these packages rather than master, as I want as stable of a nixos raspberry pi experience as possible.

Ok, no problem. Thanks for your quick response!

@tstat would you be open to adding the 6.6.y as another version? I think it would still be useful, since e.g. security patches are backported to that 6.6 LTS kernel. So then we could have the tagged/stable 6.6.31 (like Raspberry Pi OS) and 6.6.y (latest LTS kernel) / 6.10.y (current kernel) versions for the more adventurous. I think it would also be useful to automate the update process for these latter packages then.

Yes! That would be accepted and appreciated.
The code is arranged to accommodate multiple versions of the kernel under the rpi-kernels key.


add bops dependency

Currently bops is not in the package.json
it is getting resolved by default by npm3, but not by npm2
This make npm test sad (and me)
This also is blowing up smoke testing.
This PR adds bops to the package.json and now everyone can be happy!

seems safe to assume deprecated closing


[readme] Add section Bindings

I think section in readme about bindings is better than folding bindings code in this repository (like with Java).
Related issue: #255
Bindings authors: @toxeus @xenog @wanderer @afk11 @ludbb @DavidEGrayson @wink @dpc

I disagree that we should be recommending bindings that we have not reviewed.  Previously some bindings have compromised the security of the library.  (e.g. the go bindings silently using insecure nonce generation).

@apoelstra : What's the story with https://github.com/dpc/bitcoin-secp256k1-rs ? Did you supersede it with some other repository?

@gmaxwell there no words about recommended, but maybe it make sense add note that bindings wasn't reviewed?
OOI, whom you had in mind under we?

Directing people to things which may be insecure like that is just 'laundering' when we know the note would just be ignored-- it might be necessary but it's not sufficient: Assuming one of the bindings is incorrect (or even malicious) listing it with a note would be a boobytrap and incompatible with our design principle of being hard to misuse.
Bindings should be subject to peer review by cryptographers; same as the extern C interface of libsecp256k1, since it's functionally the same when used in different environments.  The review will be easier when we finish documenting our design assumptions and objectives; since then the bindings could be checked against satisfying those properties.

@gmaxwell : People will just google "bitcoin bindings in X" or use search function in the package manager of the language of their choice etc.
IMO having a "big red warning" on the list here, and requiring projects listed in the list to have one in the README, is a win, as it has some chance of informing the potential users.

Oh, I see you found my Ruby bindings.  I haven't updated them since April 2015 so I suspect that they don't work with the latest version of the library.  I was going wait for you guys to release version 1.0.0 of the library before I work on that again.  Once everything is polished up, I'd be happy to help cryptographers review it.

We can include a warning without recommending any bindings:  "Note that bindings to other languages may undermine the security of the library and have done so in the past. Great care should be taken when using bindings found on the internet as they may not be suitable for your purposes."

(e.g. the go bindings silently using insecure nonce generation)

Are you referring to this?

@dpc Sorry I missed this message. Yes, the rust libsecp bindings are now at https://github.com/apoelstra/rust-secp256k1

I think if you decide to add a list of 'recommended' bindings then there should be a clear list of review criteria the projects have to adhere to, and a list of tests that it has to pass in the bound language.
But to take the task of 'vetting' projects is quite a responsibility and I can understand if @gmaxwell and al aren't willing to include that in their scope.
This may be better for a wiki article or such, with the appropriate warnings.
On the other hand, good bindings are important for adoption of the library. Putting the bar too high may result in people just ignoring advice, or rolling their own without cooperation and review of others.

I'll glad if somebody will add this list into wiki.


English Version

Hi
I've used the plug in but it comes up in German and when I take a picture it changes the captions of "Use photo" and "Cancel" to German.
How do I specify English
Thanks
Alistair

This plugin definitely doesn't change the captions such as "Cancel" so I assume that some setting is missing in your config.xml. Have you tried to define CFBundleLocalizations? If not, adding something like the following to your config.xml might help you.
<config-file target="*-Info.plist" parent="CFBundleLocalizations">
	<array>
		<string>en</string>
		<string>de</string>
	</array>
</config-file>

If it doesn't help, please add your config.xml here so that I can have a look at it (please only include the necessary plugins so that we can be sure it is really caused by my plugin). Which version of this plugin are you using?

Hi,
i had a look at your config.xml and had the same problem. After switching the PGB version to 7.1.0 using
<preference name="phonegap-version" value="cli-7.1.0" />

the problems were gone. Could you test that?
Btw: The English part can be found in the plugin.xml, so the currently supported languages are German, Portuguese and English.

Yes that works.
Many thanks for your help!
Alistair


expose notan_draw builder publicly to allow custom builders

In order to be able to use the DrawProcess trait from the builder module in the notan_draw crate from user code.
I've leveraged this patch to implement custom drawing features on the Draw instance.

This makes sense. Thanks!


Support Compose Animation version 1.7.0-Beta01

The animation package for Android has added new features Shared Elements in androidx.compose.animation:animation:1.7.0-beta01, this feature is very useful, please support these new features in CMP!

Available in the latest dev build

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Add latest block metric to payment observer

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
paymentservice.stellar, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.

What
Bitso requested the observer to publish the latest block as a metric.
Prometheus endpoint:
http://localhost:18083/actuator/prometheus

Response:
# HELP stellar_payment_observer
# TYPE stellar_payment_observer gauge
stellar_payment_observer{status="latest_block",} 384065.0

Why
To detect if the observer is working and processing transactions.

Something went wrong with PR preview build please check

Something went wrong with PR preview build please check

Something went wrong with PR preview build please check

Something went wrong with PR preview build please check


Index.html not updating when rebuilding application.

Hello,
My electron application is not updating when I change the html page.
The bundler takes always the html page from the first build.
I run this command: astilectron-bundler -v with Windows 10.
Wich command do I need to run to rebuild the application with the new html page?
Thanks

@jacobdekeizer astilectron-bundler -v should do the trick when it comes to rebuilding the application after having updated the html page. Can you paste the commands and the logs you get when you bundle AND when you execute the application?

{"level":"debug","msg":"Resetting","time":"2018-04-16T14:25:30+02:00"} {"level":"debug","msg":"Creating C:\\Users\\jacob\\AppData\\Local\\Temp\\astibundler","time":"2018-04-16T14:25:30+02:00"} {"level":"debug","msg":"Creating C:\\Users\\jacob\\Documents\\Unity\\Intersection\\Controller\\output","time":"2018-04-16T14:25:30+02:00"} {"level":"debug","msg":"Bundling for environment windows/amd64","time":"2018-04-16T14:25:30+02:00"} {"level":"debug","msg":"Removing C:\\Users\\jacob\\Documents\\Unity\\Intersection\\Controller\\output\\windows-amd64","time":"2018-04-16T14:25:30+02:00"} {"level":"debug","msg":"Creating C:\\Users\\jacob\\Documents\\Unity\\Intersection\\Controller\\output\\windows-amd64","time":"2018-04-16T14:25:30+02:00"} {"level":"debug","msg":"Binding data","time":"2018-04-16T14:25:30+02:00"} {"level":"debug","msg":"Removing C:\\Users\\jacob\\Documents\\Unity\\Intersection\\Controller\\vendor_astilectron_bundler","time":"2018-04-16T14:25:30+02:00"} {"level":"debug","msg":"Creating C:\\Users\\jacob\\Documents\\Unity\\Intersection\\Controller\\vendor_astilectron_bundler","time":"2018-04-16T14:25:30+02:00"} {"level":"debug","msg":"C:\\Users\\jacob\\AppData\\Local\\Temp\\astibundler\\astilectron-0.20.0.zip already exists, skipping download of https://github.com/asticode/astilectron/archive/v0.20.0.zip","time":"2018-04-16T14:25:30+02:00"} {"level":"debug","msg":"Copying C:\\Users\\jacob\\AppData\\Local\\Temp\\astibundler\\astilectron-0.20.0.zip to C:\\Users\\jacob\\Documents\\Unity\\Intersection\\Controller\\vendor_astilectron_bundler\\astilectron.zip","time":"2018-04-16T14:25:30+02:00"} {"level":"debug","msg":"C:\\Users\\jacob\\AppData\\Local\\Temp\\astibundler\\electron-windows-amd64-1.8.1.zip already exists, skipping download of https://github.com/electron/electron/releases/download/v1.8.1/electron-v1.8.1-win32-x64.zip","time":"2018-04-16T14:25:30+02:00"} {"level":"debug","msg":"Copying C:\\Users\\jacob\\AppData\\Local\\Temp\\astibundler\\electron-windows-amd64-1.8.1.zip to C:\\Users\\jacob\\Documents\\Unity\\Intersection\\Controller\\vendor_astilectron_bundler\\electron.zip","time":"2018-04-16T14:25:30+02:00"} {"level":"debug","msg":"Generating C:\\Users\\jacob\\Documents\\Unity\\Intersection\\Controller\\bind_windows_amd64.go","time":"2018-04-16T14:25:30+02:00"} {"level":"debug","msg":"Running rsrc for icon C:\\Users\\jacob\\Documents\\Unity\\Intersection\\Controller\\resources\\icon.ico into C:\\Users\\jacob\\Documents\\Unity\\Intersection\\Controller\\windows.syso","time":"2018-04-16T14:25:36+02:00"} {"level":"debug","msg":"Building for os windows and arch amd64","time":"2018-04-16T14:25:36+02:00"} {"level":"debug","msg":"Executing go build -ldflags -s -X \"main.AppName=Intersection_Controller\" -X \"main.BuiltAt=2018-04-16 14:25:36.7599804 +0200 CEST m=+6.291164801\" -H windowsgui -o C:\\Users\\jacob\\Documents\\Unity\\Intersection\\Controller\\output\\windows-amd64\\binary ","time":"2018-04-16T14:25:36+02:00"} {"level":"debug","msg":"Moving C:\\Users\\jacob\\Documents\\Unity\\Intersection\\Controller\\output\\windows-amd64\\binary to C:\\Users\\jacob\\Documents\\Unity\\Intersection\\Controller\\output\\windows-amd64\\Intersection_Controller.exe","time":"2018-04-16T14:25:56+02:00"}
The application says "running app".
The window pops up but doesn't display the new html page.

@asticode If i rename the file and set that filename in my main.go, then I get an empty template in my electron application.
My resources are in /resources/app.

@asticode I think I found the problem.
If if build the application the html files electron uses are located in C:\Users\jacob\AppData\Roaming\resources\app. But they don't get updated until I delete the resources folder in Appdata\Roaming.

Mmmmmm indeed, I didn't think of that, sorry. When developing, you need to clean the resources folder for it to be updated, otherwise when launching the app it will detect the folder and disable disembedding it.
Is your issue fixed ?

Yes, but maybe there needs to be an automated solution for all the windows users.
Thanks.

Sure, sounds like a good idea. I'll keep you posted.

Moving this issue to this one

@jacobdekeizer the bootstrap has been updated to force disembedding resources when some files have been changed.
All you need to do is add the AssetDir option like in the demo.
Let me know how it goes.


"Compose Multiplatform Desktop Application" can not create DMG image anymore with sqlite added

Describe the bug
i am building a https://github.com/JetBrains/compose-multiplatform-desktop-template/ app
with sqlite-jdbc added as gradle dependency
it compiles and runs, but it does not produce an dmg image after adding sqlite.
it does before adding it. no signature and no apple developer account needed to generate the dmg before.
To Reproduce
https://github.com/zoff99/trifa_material/blob/aed9e9f1a21fe2818876ae83a3a3545ee7ca63cf/.github/workflows/nightly.yml#L152
Expected behavior
create a dmg file
Logs
https://github.com/zoff99/trifa_material/actions/runs/6516764610/job/17700626004#step:7:108
Environment (please complete the following information):

OS: tried on different macOS's
CPU architecture: x86_64
sqlite-jdbc version: tried the latest <IP_ADDRESS> and with <IP_ADDRESS>

may be related to: #970 but not the same

From what you provide it's not very clear what the problem is, you need to investigate more i think.

how do you compile the native lib? what are the compile instruction and the exact OS used?

how do you compile the native lib? what are the compile instruction and the exact OS used?

You can check the Makefile and Makefile.common

but where do create the release package? via github CI?

Everything is built using Docker images

how are you building macos native libraries with docker images?
can you please link to the CI runs where the macos native libraries got built for the last release?
so i can see the output.

how are you building macos native libraries with docker images?

Cross compiling

can you please link to the CI runs where the macos native libraries got built for the last release?
so i can see the output.

You can check the build native workflow

BUILD FAILED in 1m 55s
/Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate: fatal error: file not in an order that can be processed (code signature data out of place): /Users/runner/work/trifa_material/trifa_material/build/compose/tmp/sign/libsqlitejdbc.jnilib
/Users/runner/work/trifa_material/trifa_material/build/compose/tmp/sign/libsqlitejdbc.jnilib: the codesign_allocate helper tool cannot be found or used


Fix/issue 4427

Close #4427
Library pkgutil was not working correctly in Linux.
Checking if pyaedt is installed to read the file. The second case covers the case when debugging from the repository directly, without pyaedt installed.

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

Project coverage is 34.64%. Comparing base (610521b) to head (ee1d82b).

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #4437       +/-   ##
===========================================
- Coverage   81.52%   34.64%   -46.89%
===========================================
  Files         109      109
  Lines       53157    53167       +10
===========================================
- Hits        43335    18418    -24917
- Misses       9822    34749    +24927

@isaacansys I have tested in Ubuntu 20.04, and it works. Please could you test it with CentOS?


Improve error message for  "Resource with specified id or name already exists"

When you're receiving this message, it would be extremely helpful to know if it's a vertex or an edge and what's the id that is duplicated. In case of a vertex, the label would also be useful. Would be a great improvement of usability if you could add these informations in the exception message
Partition range id 0 | Failed to import mini-batch. Exception was Message: {\"Errors\":[\"Encountered exception while executing function. Exception = Error: {\\\"Errors\\\":[\\\"Resource with specified id or name already exists.\\\"]}\\r\\nStack trace: Error: {\\\"Errors\\\":[\\\"Resource with specified id or name already exists.\\\"]}\\n   at createCallback (__.sys.commonBulkInsert.js:5803:26)\\n   at Anonymous function (__.sys.commonBulkInsert.js:678:29)\"]}\r\nActivityId: 7df31c7e-4779-4de5-86ac-2cf37a34cc75, Request URI: /apps/c2de8f1c-dee1-4b6c-8543-479a695c3bb2/services/6b0f2436-beac-46c1-8fb9-b6d3ee54a4c5/partitions/bae449d9-e754-4dce-87f2-a38366cf2061/replicas/131772372024487894p/, RequestStats: \r\nAddressResolution - StartTime: 2018-07-28T16:22:50.7920236Z, EndTime: 2018-07-28T16:22:50.8160522Z, TargetEndpoint: https://sportscrowding-westeurope.documents.azure.com//addresses/?$resolveFor=dbs%2f33k-AA%3d%3d%2fcolls%2f33k-AMAsXAA%3d%2fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0\r\n, SDK: do
cumentdb-dotnet-sdk/2.0.0 Host/32-bit MicrosoftWindowsNT/6.2.9200.0. Status code was 400, documentdb-dotnet-sdk/2.0.0 Host/32-bit MicrosoftWindowsNT/6.2.9200.0"

Thank you Seddryck for the feedback.
We are currently working on a batch API as part of our SDKs and we will take this feedback to improve our error message handling as part of the new API.


Shared resource always returning scope "users"

Category

[x] Question
[ ] Documentation issue
[ ] Bug

Expected or Desired Behavior
We are trying to characterize the sharing settings of a DriveItem. The docs indicate we can check the Shared resource which should indicate if the item is shared publicly, internally, or with a select set of users.
The fact that this resource only displays one scope hints at the idea that there is some "permission precedence". I assume that this aligns with the exposure severity, so I would expect that the presence of a public link would cause a "scope": "anonymous" that would override any organization link or a link/direct access for a set of users.
Observed Behavior
It seems as if, despite any combination of permissions of the item, we are seeing the Shared resource always contain "scope": "users". It doesn't matter if we have a public link or an org link or both.
The only thing that presents something other than "scope": "users" is to have no permissions besides the owner, in which case the Shared resource is omitted entirely.
We see this behavior in both v1.0 and beta. Are there any known issues with this resource currently? Is there something we are misunderstanding about how Shared decides permission precedence?
Steps to Reproduce

Create a new folder/file in OneDrive
Create a Public Link on the new item. I'm using the UI and clicking the "Copy Link" button along the top.
Verify the Permission shows up under "Manage Access" side panel.
Query GET /me/drive/items/{item-id}/permissions to verify that the permissions list contains two entries, the owner's direct access and the "anonymous" link
Query GET /me/drive/items/{item-id}. Shared has "scope": "users"

Thank you.

Thanks for your feedback.  Unfortunately, that is the case - the API returns users scope in this particular shared case.
To help us understand the request, is this ordering (highest to lowest priority) the requested ordering:
anonymous
organization
users
(none)
And is your question about drive/items/{item-id}?
Presumably this request is to save needing to make another call, enumerating the item's permissions?

Chris, thank you for your answer. I don't think the desired behavior is a strict priority among these. Rather the desired behavior is for any given object in the repository to be able to detect all the sharing attributes that apply (as different policies, even concurrently, may apply to each of these conditions).

Thanks for responding! Yes to both points.
If a field is intending to relay the current scope of an item's sharing settings, I would expect it can be used to determine if a item is shared violates some preferred scope, which in-turn implies that one has a higher or lower precedence than another.
The order you list is exactly how we'd like it. If I as an admin prefers that some file is not shared outside a certain set of users, I would immediately know that an organization or an anonymous link violates my preference and I can act on it.
Is it returning users in my use case because I, as the owner, have an entry in the permissions list and users is currently the higher precedence?

As @braimondo says, if we could have it our way, it would be nice if we got a complete of the scope from this field or from some other method that doesn't require us walking the permissions.

As @braimondo says, if we could have it our way, it would be nice if we got a complete of the scope from this field or from some other method that doesn't require us walking the permissions.

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


query timing out: daily active users

Copying old, closed issue from elsewhere, no action necessary
This query was fixed (improved in efficiency) recently in #607 (cc [@Andrew7234), but now it's consistently timing out again.
From mainnet staging logs:
WITH relevant_rounds AS (
			SELECT min(round) as min_round, max(round) as max_round
			FROM chain.runtime_blocks AS b
			WHERE (b.runtime = $1 AND b.timestamp >= $2::timestamptz AND b.timestamp < $3::timestamptz)
		)
		SELECT COUNT(DISTINCT account_address)
		FROM chain.runtime_related_transactions AS rt, relevant_rounds
		WHERE (rt.runtime = $1 AND tx_round >= relevant_rounds.min_round AND tx_round <= relevant_rounds.max_round)

args: [
0: "emerald"
1: "2022-03-15T02:20:00Z"
2: "2022-03-16T02:20:00Z"

Discussion:
@Andrew7234
oasisindexer=> explain analyze WITH relevant_rounds AS (
        SELECT min(round) as min_round, max(round) as max_round
        FROM chain.runtime_blocks AS b
        WHERE (b.runtime = 'emerald' AND b.timestamp >= '2022-03-15T02:20:00Z' AND b.timestamp < '2022-03-16T02:20:00Z')
)
SELECT COUNT(DISTINCT account_address)
FROM chain.runtime_related_transactions AS rt, relevant_rounds
                WHERE (rt.runtime = 'emerald' AND tx_round >= relevant_rounds.min_round AND tx_round <= relevant_rounds.max_round);
                                                                                QUERY PLAN
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 Aggregate  (cost=6654916.70..6654916.71 rows=1 width=8) (actual time=18810.986..18810.994 rows=1 loops=1)
   ->  Nested Loop  (cost=705652.14..6610085.65 rows=17932419 width=47) (actual time=4268.994..12804.725 rows=1452131 loops=1)
         ->  Aggregate  (cost=22921.23..22921.24 rows=1 width=16) (actual time=369.592..369.597 rows=1 loops=1)
               ->  Index Scan using ix_runtime_blocks_timestamp on runtime_blocks b  (cost=0.56..22890.94 rows=6057 width=8) (actual time=2.250..367.111 rows=9937 loops=1)
                     Index Cond: ((runtime = 'emerald'::runtime) AND ("timestamp" >= '2022-03-15 02:20:00+00'::timestamp with time zone) AND ("timestamp" < '2022-03-16 02:20:00+00'::timestamp with time zone))
         ->  Bitmap Heap Scan on runtime_related_transactions rt  (cost=682730.91..6407840.22 rows=17932419 width=55) (actual time=3899.384..12176.384 rows=1452131 loops=1)
               Recheck Cond: ((runtime = 'emerald'::runtime) AND ((tx_round)::bigint >= (min((b.round)::bigint))) AND ((tx_round)::bigint <= (max((b.round)::bigint))))
               Heap Blocks: exact=20638
               ->  Bitmap Index Scan on ix_runtime_related_transactions_round_index  (cost=0.00..678247.81 rows=17932419 width=0) (actual time=3893.056..3893.057 rows=1452131 loops=1)
                     Index Cond: ((runtime = 'emerald'::runtime) AND ((tx_round)::bigint >= (min((b.round)::bigint))) AND ((tx_round)::bigint <= (max((b.round)::bigint))))
 Planning Time: 0.454 ms
 Execution Time: 18811.122 ms
(12 rows)

@Andrew7234:

he query itself is using the indexes as expected(?), but it's just slow because emerald in 2022 was quite active. Each query returns ~4600 accounts.
The stats are making progress, but doing so slowly since we recalculate daily_active_accounts for 5 min window increments. Currently the batch timeout is 3min, which allows for ~5-6 queries to finish before hitting the timeout.

@Andrew7234

Options:

Parallelize the queries within the daily_active_accounts stat, eg using the item-based analyzer. Need to check how the db would handle the load.
Parallelize the different stats computations within the aggregate_stats analyzer. Currently, each query of each stat is computed sequentially.
Increase window_step for daily active accounts

@mitjat:

Thank you for digging and explaining! That looks pretty good to me actually. And if 5-6 queries succeed, it means we're throwing out about 10% of compute on average (0.5 out of 5 queries).
Speed projection: We process ~30minutes in every 3min batch, so to process the spammy ~3 months (IIRC) of emerald, we'll need 0.3 months, or 10 days. That's acceptable IMO.
Of your options above, I like option 2 best, seems simple enough. But for now, IDK that we should invest time even into that. Your call on whether it's a really quick fix. I'm fine to just close the ticket after this exploration of yours.

@Andrew7234:

Turns out the query was slow not just for the busy period of emerald, but just in general. On sapphire, it was even slower, to the point where even option 2 would not have helped enough to allow the analyzer to catch up within a reasonable time frame. Discussed on slack with Warren; looks like postgres doesn't recognize that the timestamp  column is monotonic and therefore creates strange inefficient query plans.
Warren crafted a much more efficient query (500ms), which has been added in #622

Resolved by #622


Change colors

fixes #271

Can you add screenshots of current and previous?

 Previous

Current (the changes I have made)


Mapping handlers must send original cosmos message name to Kafka, not the subquery wrapped name.

ibc.ts and gov.ts are two modules have this problem.
Example fix:
MsgUpdateClientMessage should me MsgUpdateClient

done it but you merge the old one

Done #9


[Pendulum] [USDT DOT] Add support for USDT, DOT on Pendulum

If you want to integrate an asset (fungible token/ NFT), you would need to provide
DOT

Origin: Polkadot
Is it available on other blockchains? yes
Metadata of the asset (symbol, decimals, smart contract address, on-chain metadata like assetId,...): XCM currency id: 0
Logo of the token
Is your asset transferable? yes

USDT

Origin: Statemint
Is it available on other blockchains? yes
Metadata of the asset (symbol, decimals, smart contract address, on-chain metadata like assetId,...): XCM currency id: 1
Logo of the token
Is your asset transferable? yes

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./upgrade-ui-pr-1631-build-1.1.1-2023-07-12T05-14-36UTC.zip
Validation passed for cases:

Show balance
Send token (Approve step)


Is there any way to remove the textarea autoresize shift?

Description
If we mount a component that has a textarea with autoresize enabled, there's a pretty big shift from the default height to the resized height, which is pretty jarring.
Is there no way to have this set on mount so the user can only see the resized height?

Have you tried setting default rows? https://ui.nuxt.com/dev/components/textarea#rows This might improve the layout shift.

No, haven't tried that because we don't know how big it will be, so how could we set the rows in that case?

I'm not sure what to tell you there, the autoresize is made client-side so you'll inevitably a shift. You could calculate the rows based on the length of the string or maybe enable the autoresize when the user focuses the textarea for example.


Create ssl helper

This PR adds an optionally generated script to handle ssl activation and renewal.
It aims at being used as a reload command in case of let's encrypt renewal.
It looks for certs in tableau_ssl_certs_dir for a key file with tableau_ssl_key_ext extension. It expects the certificate to share its name with the key but with .crt extension.
Also I fix a typo in a fact name

Amazing feature thanks !


How about a wiki?

The README.md is a little cumbersome.
• Putting the release logs (at the very bottom of the README) in a separate CHANGELOG.md would be more appropriate.
• I think the main README should only contain basic setup instructions (like in most projects), and we could have Wiki pages for things like common errors, obtaining API keys, explaining project structure and all the other sections.
Just a suggestion :)

This has been brought up 2 years ago in https://github.com/sahat/hackathon-starter/issues/183. I still feel about it the same way.
I know some people may find this long README format to be cumbersome and annoying to navigate, but for others:

Thanks, I really appreciate the suggestion though.


Restore deleted README.md file

Hi!
Thanks for creating such a useful library.
One small issue I found is that setup.py install fails in my environment.
$ python setup.py install
Traceback (most recent call last):
File "/home/diarmaid/Documents/Dev/driverDrowsiness/other/dsatools/setup.py", line 4, in
with open('README.md') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'README.md'
Creating a temporary README.md file solves the issue, the install can complete.

Just a minor issue, there appears to be a missing import in the ./operators/_hht.py file.
`---------------------------------------------------------------------------
NameError Traceback (most recent call last)
/tmp/ipykernel_406881/1073320869.py in
29 psds = decomposition.hvd(window_analytical, order=1, fpar=30, ret_freqs=False)
30 # print(psds * 500)
---> 31 instantfreqs = dsatools.operators.hht(psds)
32 style.use('seaborn-dark') # So that we can see the labels on a dark bg
33 fig, ax = plt.subplots(2, 1, figsize=(25,10))
~/anaconda3/envs/auto_labeller/lib/python3.9/site-packages/dsatools-0.1.44-py3.9.egg/dsatools/operators/_hht.py in hht(components)
57
58 #TODO: optimize, uzing explicity unwrap rutine
---> 59 instantfreqs[i,:] = ut.diff(np.unwrap(np.angle(component)))/2/np.pi
60 return envelopes, instantfreqs
NameError: name 'ut' is not defined`
Adding the import:
import dsatools.utilits as ut
Fixes this.

thank you for your commit!


Replace pbench-uperf by epel's uperf

Depends-on: 367
pbench-uperf seems to be no longer available. EPEL's version is 1.0.7.
$ uperf  -h | grep '\-R'
        -R               Emit raw (not transformed), time-stamped (ms) statistics

Results for SNAFU CI Test

Test
Result
Runtime

uperf_wrapper
FAIL
00:04:31

Results for SNAFU CI Test

Test
Result
Runtime

uperf_wrapper
PASS
00:18:02

Results for SNAFU CI Test

Test
Result
Runtime

uperf_wrapper
PASS
00:17:01

/rerun all

Results for SNAFU CI Test

Test
Result
Runtime

uperf_wrapper
FAIL
00:18:48


Targeting property of a type in Flow?

Firstly, thanks for this great package.
I'm trying to change the syntax highlighting from the keys that have a type of function here:

EDIT: Here is the code in case you want to copy/paste it to try it out:
type Props = {
  isOn: boolean,
  startTime?: number,
  stopTime?: number,
  startTimer: Function,
  stopTimer: Function,
  resetTimer: Function
}

I can do that by doing something like:
.syntax--type.syntax--function.syntax--storage {
  color: white;
}

which yields:

This is the result I'm looking for, however this also messes up the syntax highlighting for normal usage of the function keyword:

It doesn't look like there is any flowtype specific selector on the type example I posted above. Is this expected behavior?

No it doesn't. Maybe I should use a meta flowtype for object flowtype defs. Would that do the trick?

Thanks for the quick reply. I believe that should work.

OK leave it with me.

@saadq Can you try the latest master version in this git repo? If it does the trick I will publish.

Everything looking good! Thanks very much.

published


Documents for setup CI lab physically in the US

host machines and all the supported devices...
air-conditioned?
manually intervention??

how "long" we are going to support older devices? we need to define it.

I think we will have many same questions as in the case of building a local server vs. using a cloud server?
But in the case of mobile device testing, we will have more issue to deal with since the software stack for it is not as mature as for server.
Hardware side:

Stable power
Stable internet connection
Secure and safe place

Software side:

How to deal with app crashes?
How to deal with OS crashes?
How to deal with OS update?
How to deal with authentication / authorization?
How to monitor or view test results and test logs?
How to queue multiple tests, cancel tests?
etc.

Most of the software issues may be solved with a framework for automated mobile testing. I did an internet search and found  only this one http://appium.io but have no experience with it.

@anhappdev to add more descriptions, such current GitHub Workflow, here.

The current state of our CI/CD:

On every new push to this GitHub repo, multiple workflows will be triggered via GitHub Actions to run different tests.
One of the workflows will build the Android APK and send it to Firebase Test Lab to run integration tests on physical devices (currently Pixel 5 and 6). Firebase Test Lab will report back whether the tests passed or not.
An APK with all backends can also be downloaded directly from GitHub on the Actions summary page.

It would be best if the new CI lab can be integrated into the current workflow. That means:

On every new push to this GitHub repo, an APK will be sent to the CI lab
The CI lab runs the tests on physical devices and report back the results (similar to how Firebase Test Lab works)

Would the CI/CD results showing up in this public repo violate the terms of the CI/CD agreement with Arm, which states: "Arm will not share the results outside of MLCommons and Mobile Working Group."

Would the CI/CD results showing up in this public repo violate the terms of the CI/CD agreement with Arm, which states: "Arm will not share the results outside of MLCommons and Mobile Working Group."

In that case, the detailed results itself can be accessed on another private website. The Arm system just reports to the GitHub workflow whether the tests run successfully or not. This is also how Firebase Test Lab works.


Add segmentation blog

@gwaybio
This blog PR is ready for review! :confetti_ball:

@gwaybio
Ready for re-review! :smile:


Ansible request for numactl on RHEL Linux/s390x

Please put the name of the software product (and affected platforms if relevant) in the title of this issue

[ ] Missing install
[x] Bug in ansible playbook
[ ] Request for new playbook addition

Details:
numactl does not install properly on RHEL77/s390x:
TASK [Common : Install numactl-devel excluding RHEL 7 on s390x] ****************
fatal: [build-marist-rhel77-s390x-2]: FAILED! => {"changed": false, "msg": "No package matching 'numactl-devel' found available, installed or updated", "rc": 126, "results": ["No package matching 'numactl-devel' found available, installed or updated"]}

That task is meant to be skipped for that platform. Let me check the conditions. What's numactl-devel for, do you know?

There's also no numa in the package list:
[root@build-marist-rhel77-s390x-2 ~]# yum list | grep numa
[root@build-marist-rhel77-s390x-2 ~]#


Make controls on admin all petitions autosubmit filter form

For: https://www.pivotaltracker.com/story/show/97713774
When you choose a new state to filter the all petitions list by, or a new number of petitions to see per page, we want the user to not have to press go.  We do this with a simple jquery enhancement that attaches to any select element with a data-autosubmit attribute and adds a onchange handler to submit the form the select lives in.
We leave the 'Go' button just in case (but perhaps we should hide it?).
Notes of interest:

We test this only via cucumber but this means we had to change some of our inspection steps to use capybara matchers instead of rspec matchers.  Without using the capybara matcher we don't neccessarily wait for the page refresh so might assert on the previous page contents.

We have an old version of jquery so we need to do $(this).closest('form').submit(); - a newer jquery would let us do $(this).form().submit();.

I don't think we will need the custom pagination option any longer if that
makes any difference.
On 24 Jun 2015 17:37, "Murray Steele"<EMAIL_ADDRESS>wrote:

For: https://www.pivotaltracker.com/story/show/97713774
When you choose a new state to filter the all petitions list by, or a new
number of petitions to see per page, we want the user to not have to press
go. We do this with a simple jquery enhancement that attaches to any select
element with a data-autosubmit attribute and adds a onchange handler to
submit the form the select lives in.
We leave the 'Go' button just in case (but perhaps we should hide it?).
Notes of interest:

We test this only via cucumber but this means we had to change some of
our inspection steps to use capybara matchers instead of rspec matchers.
Without using the capybara matcher we don't neccessarily wait for the page
refresh so might assert on the previous page contents.
2.
We have an old version of jquery so we need to do
$(this).closest('form').submit(); - a newer jquery would let us do
$(this).form().submit();.

You can view, comment on, or merge this pull request online at:
https://github.com/alphagov/e-petitions/pull/196
Commit Summary

Make controls on admin all petitions autosubmit filter form

File Changes

A app/assets/javascripts/admin.js
https://github.com/alphagov/e-petitions/pull/196/files#diff-0 (1)
A app/assets/javascripts/autosubmit_selects.js
https://github.com/alphagov/e-petitions/pull/196/files#diff-1 (5)
M app/views/admin/petitions/index.html.erb
https://github.com/alphagov/e-petitions/pull/196/files#diff-2 (4)
M app/views/layouts/admin.html.erb
https://github.com/alphagov/e-petitions/pull/196/files#diff-3 (2)
M config/initializers/assets.rb
https://github.com/alphagov/e-petitions/pull/196/files#diff-4 (2)
M features/admin/all_petitions.feature
https://github.com/alphagov/e-petitions/pull/196/files#diff-5 (2)
M features/step_definitions/inspection_steps.rb
https://github.com/alphagov/e-petitions/pull/196/files#diff-6 (7)
M features/step_definitions/moderation_steps.rb
https://github.com/alphagov/e-petitions/pull/196/files#diff-7 (3)

Patch Links:

https://github.com/alphagov/e-petitions/pull/196.patch
https://github.com/alphagov/e-petitions/pull/196.diff

—
Reply to this email directly or view it on GitHub
https://github.com/alphagov/e-petitions/pull/196.

@yahoopete it doesn't make much difference, but if we don't want it I can delete it and simplify some specs / backend code by about 1%.  Shall I?

The story to strip the pagination options is coming this week, maybe we
could play it earlier if easier?
https://www.pivotaltracker.com/story/show/97713802
Not bothered either way.
On 24 Jun 2015 17:47, "Murray Steele"<EMAIL_ADDRESS>wrote:

@yahoopete https://github.com/yahoopete it doesn't make much
difference, but if we don't want it I can delete it and simplify some specs
/ backend code by about 1%. Shall I?
—
Reply to this email directly or view it on GitHub
https://github.com/alphagov/e-petitions/pull/196#issuecomment-114938906.

Let's do it in that story then.

LGTM :+1:

Cool!


Help: I publish two components,but can't search them

#.react-native-image-animation
##package.json
{
    "name": "react-native-image-animation",
        "version": "1.0.0",
        "description": "A pure js image animation like ios animationImages, support ios and android",
        "main": "ImageAnimation.js",
        "author": {
            "name": "YunJiang.Fang",
            "email"<EMAIL_ADDRESS>        },
        "license": "MIT",
        "keywords": [
            "react-native",
            "react-component",
            "ios",
            "android",
            "image",
            "animationImages",
            "listview",
            "animation",
            "remobile",
            "mobile"
        ],
        "homepage": "https://github.com/remobile/react-native-image-animationw",
        "bugs": {
            "url": "https://github.com/remobile/react-native-image-animation/issues"
        },
        "repository": {
            "type": "git",
            "url": "git://github.com/remobile/react-native-image-animation.git"
        }
}

#.react-native-refresh-infinite-listview
##package.json
{
    "name": "react-native-refresh-infinite-listview",
        "version": "1.0.1",
        "description": "A awesome pull-down-refresh and pull-up-loadmore listview",
        "main": "RefreshInfiniteListView.js",
        "author": {
            "name": "YunJiang.Fang",
            "email"<EMAIL_ADDRESS>        },
        "license": "MIT",
        "keywords": [
            "react-native",
            "react-component",
            "react-native-component",
            "ios",
            "android",
            "refresh",
            "infinite",
            "listview",
            "loadmore",
            "remobile",
            "mobile"
        ],
        "homepage": "https://github.com/remobile/react-native-refresh-infinite-listview",
        "bugs": {
            "url": "https://github.com/remobile/react-native-refresh-infinite-listview/issues"
        },
        "repository": {
            "type": "git",
            "url": "git://github.com/remobile/react-native-refresh-infinite-listview.git"
        }
}

Could any one help me?

Hey @fov42550564! Components are reviewed manually. Don't worry, these will be added later today :+1:

It's there now :wink: Thank you for your feedback.

thank you very much!


Migration to Quarkus 2

This branch includes a full list of changes to migrate the project to the latest version of Quarkus 2.

This version is not ready to work in native mode. There is a bug reported and closed for the next release 2.0.1.Final
https://github.com/quarkusio/quarkus/issues/18026
Pending to get the next release to confirm that the project also works in native mode.

Latest commit includes an upgrade to Quarkus 2.0.1.Final that includes the fix for the quarkusio/quarkus#18026 issue.

LGTM! Ready to merge into main branch.


[BUG] [SM] Phase 1 fails to deploy IAM policy with a "Not Action"

Required Basic Info

Accelerator Version:  1.15
Install Type: Clean
Upgrade from version: N/A
Which State did the Main State Machine Fail in: "Deploy Phase 1"

Describe the bug
Fails to deploy IAM policies with a "Not Action"
Failure Info

When deploying an iam policy (that has a NotAction) to an account via asea config (link to config object below), it fails
(https://aws-samples.github.io/aws-secure-environment-accelerator/schema/en/interfaces/IAMPolicyConfig.html)
The code in src/deployments/cdk/src/common/iam-assets.ts does not include NotAction in CfnIamPolicyOutput  (around line 60)

This fails Phase 1 when the stack is being validated with the following errors in code build

Required files

An example policy that I tried to deploy
permission-policy.txt

Steps To Reproduce

Deploy a simple policy with a NotAction

Expected behavior
Should be able to deploy any valid policy
Screenshots

Did not implement


ElasticsearchStore: improve error logging for adding documents

Not obvious what the error is when you cannot index. This pr adds the ability to log the first errors reason, to help the user diagnose the issue.
Also added some more documentation for when you want to use the vectorstore with an embedding model deployed in elasticsearch.
Credit: @elastic and @phoey1

awesome, thanks @joemcelroy!


Set up Supabase Client

Integrate Supabase into our Next.js project and ensure secure handling of environment variables.
Tasks

[x] Install  and Initialize Supabase Client:
[x] Set Up Security

Acceptance Criteria:

Supabase client is set up and connects using environment variables.
Public keys are exposed safely, sensitive keys are server-side only.
RLS is enabled, and secure API routes are in place.

Closed by #2


User management + Traffic limitation + expire date

Dear @ssrlive if bypass censorship project wana go viral, it should support User management + Traffic limitation + expire date.
When we could have these features in overtls?

I'm research sspanel and v2board projects, but I'm not good with PHP. so I don't know how long time to finish this job.

I have a clue:
use XrayR base code, it has implemented most of things
All apis are already available
if orvertls was written in go it takes least time to integrate to XrayR, and many users are ready to jump in

Dear @ssrlive Thanks for working on SSPanel integration!
I want to know the status of the integration:

Is everything implemented? (Getting Client IDs, Post Traffic Usage, Device Limitations [limitation based on connected client ip] )
NodeType in SSPanel should be what? V2Ray/Shadowsocks/..? what are exact specifications?


How to run ant?

The ant command is not available in path or calling directly,

/opt/ant/bin/ant: No such file or directory

Hi @romanr
You can run it in several ways.
Default option (with s6-overlay):
You must create an init script so that service.d automatically runs in deploy.
create a file /etc/services.d/ant/run
#!/usr/bin/with-contenv sh

#Run with user root pid 1.
exec ant -f my-build.xml;

#Or run with myuser.
#exec s6-setuidgid myuser ant -f my-build.xml;

Create a Dockerfile and Extend frekele/ant:(tag-version)
FROM frekele/ant:1.10.1-jdk8

# copy your custom run to /etc/services.d/ant/run
COPY my-run /etc/services.d/ant/run

Another option is to use after deployment, inside the container simply by running:
ant -f my-build.xml;

Or send the command via arguments:
docker run --rm --name my-docker-ant frekele/ant:1.10.1-jdk8   ant -f my-build.xml

you do not need to enter the complete installation path '/opt/ant/bin/ant/'  simply use 'ant' executable.
Even if you use '/opt/ant/bin/ant/', it should work, maybe the image you use is broken.
What image are you using?
Hope this helps.

My question is that “ant” command is not found when it’s called. Just manually called.

It should work.

Thanks this explanation seems to help.


[UI] : Add icons and styling to dropdown menus, non-breaking tailwind v3 migration

Description
Referencing issue #1311
Changes that have been made :

Tailwind V3 migration (non-breaking) : added tailwind.config.js config file
Added Lucide Icons library
Added icons alongside items in menu (see screen record)
Added red-ish styling to remove/delete items

https://github.com/usebruno/bruno/assets/64689165/f9880fe3-973f-48b9-adf1-f2be9c80064b
Contribution Checklist:

[x] The pull request only addresses one issue or adds one feature.
[x] The pull request does not introduce any breaking changes
[x] I have added screenshots or gifs to help explain the change if applicable.
[x] I have read the contribution guidelines.
[x] Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Publishing to New Package Managers
Please see here for more information.

Tailwind css v3 upgrade was merged in https://github.com/usebruno/bruno/pull/1597
Will review the Icons PR later this week.

Thank you for taking the time to create and submit this PR, @bpoulaindev.
We’ve already migrated to TailwindV3 in a separate PR. I agree that the Lucide Icons are beautiful and potentially even better than the Tabler Icons. We'll definitely consider an icon upgrade or overhaul as part of #1311.
However, we don't anticipate completing #1311 this year (2024), as we have a number of higher-priority tasks. Given the significant size of this PR and the timeline, the effort required to resolve conflicts doesn’t seem justified at this point, especially since this is targeted for Q1 2025.
For now, I’m closing this PR.


sr25519-donna

Grant Application Checklist

[ ] The application-template.md has been copied, renamed ( "project_name.md") and updated.
[ ] A BTC address for the payment of the milestones is provided inside the application.
[ ] The software of the project will be released under the Apache license version 2.0 as specified in the terms and conditions.
[ ] The total funding amount of the project is below 30k at the time of submission.

 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.

Thanks for the application. Could you provide a little bit more background/update the project description? Also for anything cryptography related we usually ask teams to provide links to prior work and their general experience in the field.

Thanks for the review, just updated some background info and my previous work links in the pr.

@Noc2 any feedback so far?

I asked our Jeff to take a look at the application. He will probably comment on it here, once he has some time.

What is the background of the person doing the implementation?  How much of the existing new code is home grown?
Why not use libsodium?  https://doc.libsodium.org/advanced/point-arithmetic/ristretto I know one earlier push for a C ristretto implementation based on ed25519-donna got abandoned, but probab ly only due to lack of time, not inconveniences in the code.

We've fixed the VRF so it could be implemented, but about the only reason for VRF on iOS seems like games.  We've actually discussed using VRFs for games recently, so maybe..
Is there any immediate need for the mulisig somewhere?  We're still trying to prove one new two round version to be secure, which might simplify the code. Also https://github.com/w3f/PSPs/pull/7 requires I clean up the code considerably before anyone adds some DKG.

This library is originated when I build a mobile wallet for polkadot, the core is built in C, so I think it's better to have a C version for the algorithm. I dig into the code of https://github.com/isislovecruft/ristretto-donna, and found its usable after fixing some issues https://github.com/isislovecruft/ristretto-donna/pull/4/files, and I think it's more light weight than libsodium. And for those project using ed25519-donna (such as trezor), it's more convenient to integrate polkadot into their system.

mulisig might not require currently, but since the lib's goal is to keep sync with rust version, we can support that once it's ready.

I see, so the Ristretto code came from you fixing Isis Lovecruft's implementation?  Very good.  :)
From where did the merlin code originate?
Right now, we've this add_trusted method in musig that violates the extra initial hash commitment's assurances.  We've multiple (pre)witness values confusingly called REWINDS that we "delinearize" to produce the real witness.  We actually believe this suffices making add_trusted secure making the initial hash commitment unnecessary.  We're making progress on the security proof, but it's really been a slog since nobody could work on this full time, and it'll depend upon non-standard assumptions.  Also, the musig code also needs a cleaner interface to DKGs like I said.  We'd ideally sort this stuff out first before encouraging people to put things in airgaped devices, but the world is not perfect so this all depepends upon who wants what when.  :)

The merlin code is based on the author's implementation (https://github.com/hdevalence/libmerlin), also I fixed a little issue and add some stuff.
It's ok that I can remove the muti-sig feature in this application, and just focus on the first 2 mile stores currently. And I can add additional features in the future plan if required.
How do you think about this? If it's ok, I'll update the application.

Just for reference, there is also the following implementation: https://github.com/usetech-llc/sr25519

Could you provide some more information about your iOS app, since I’m currently not sure how useful it would be for our ecosystem. Apart from this, I think it makes sense to remove the third milestone for now. Also, it obviously helps if you could reduce the price a little bit further. Thanks

@Noc2 apple's infrastructure dose not support rust very well (https://github.com/rust-lang/rust/issues/35968). Although it's possible to use rust lib as static lib for ios, that requires you disable bitcode, which prevents you from taking advantage of apple's further optimizations (such as reducing bundle size) for you. That's why some famous libraries such as react native dose not use rust currently (https://twitter.com/sebmarkbage/status/1213199159840260096).

I dig into the code of https://github.com/isislovecruft/ristretto-donna, and found its usable after fixing some issues https://github.com/isislovecruft/ristretto-donna/pull/4/files, I think it's more light weight than libsodium. For those projects using ed25519-donna (such as trezor), it's more convenient to integrate polkadot into their system.

Looks good to me. Libsodium also has a minimum build option, but ristretto is one of the features excluded there.
We have another grant for a C-library targeting HSMs for key management - the library is currently on libsodium, so it may be of interest to them to switch to a lighter weight ed25519/sr25519 dependency for their embedded devices.

@Noc2 Ok, just added documentation into the milestones

@Noc2 I prefer the open grants program, BTC is ok for me.

@reto trinkler ?????

@Nittiyadc I deleted the comment, since it’s against our code of conduct and not related to this grant.


Request: Progress Bar

Was building a small project and noticed the lack of a progress bar. Slider is close but it would be nice to have a progress bar widget.

done, well... with a bit of delay... ;-)


Reason for MS-DOS 8.3 filename compability

I tried to create a file with a longer filename and got the result of a too long filename. I have seen in the code, that the filename is limited to 8 characters + 3 extension. What is the reason for?

That's how MS-DOS works, what FAT natively supports, and it's all I need.
You could add support for LFNs, but you'll have to work out how to store the string because it could be up to 255 UCS-2 characters long (or up to 1020 bytes as UTF-8), and that's a bit big to be passing around on the stack.

(LFNs are stored as a series of directory entries, where the 16-bit UCS-2 characters are stored all across the 32-byte directory entry, trashing the timestamp and other fields. They are 'hidden' from normal accesses by virtue of being marked as READ ONLY, HIDDEN, SYSTEM, and VOLUME LABEL).

Thanks for the feedback. I will check out the options and will come back if I found a solution. Thanks for the information about the system behind, so I know a little bit more where to search for.


Revert "OC-359_Create_a_core_webmethod_to_change_the_status_of_a_device"

Reverts OSGP/Integration-Tests#321

 You should sign our Contributor License Agreement in order to get your pull request merged.


[ENH] Classification _fit_predict mockup

For comparison with #1104

could you show how get_predict_proba works with this? Could you show with STC? How do you control if fit_predict finds train probas or not?

Draft PR is here #1116.


docu: fix length instead of len

Hi,
I really like this minimal module. Two things I noticed:

The example states the opt inactive_tab_max_len, but in the code it really is inactive_tab_max_length
I think about an option to prepend the title with an abbreviated unique path name, much like some of the zsh prompts, e.g. p/init.lua and c/init.lua to distinguish between two open buffers from the core or plugins directory...

Thanks,
Michael.

Damn, I wanted to open a PR with the small modifications, which I adapted from cokeline, but now my autoformatter has converted all the indents to tabs... I am sure you would not want that. (I recently switched to tab indents, because of accessibility reasons with braille terminals - and that was the first and only reason I heard in years, that was valid).
If you want to have a look, the forked version is here and there is basically only one function and then three additional changed lines:
https://github.com/michaelrommel/nvim-tabline
Maybe you like that... thanks for your inspiration!
Michael.

The example states the opt inactive_tab_max_len, but in the code it really is inactive_tab_max_length

This is fixed. Thanks for the issue.

I think about an option to prepend the title with an abbreviated unique path name, much like some of the zsh prompts, e.g. p/init.lua and c/init.lua to distinguish between two open buffers from the core or plugins directory...

Good idea. I guess we need an option based on ':help fnamemodify'

@michaelrommel fnamemodify is supported now. You may update the latest to try it on. :)


Guard Lark.doc assignment for tools.standalone

This change is necessary for standalones to work, otherwise you get errors like:
kson/grammar/kson.py:2285: in Lark
    __doc__ += "\n\n" + LarkOptions.OPTIONS_DOC
E   TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'

I could have sworn this guard was already there, but apparently it was only in LarkOptions. Also, if this is that broken, how did the tests pass? (Or did you run it with the -O flag?)

Something about the standaloning process strips away the __doc__ comments...?

Ok. We have in theory tests for this. But for some reason exec messes with the __doc__ variable, so that despite the doc string being stripped away, it is still defined. But if you run it in an external file, it obviously doesn't work.

Ok, can you update this PR with the following code in tests/test_tools.py in TestStandalone._create_standalone, replacing the
context = {]

line with
context = {'__doc__': None}

?
This simulates the behavior better.

onnit!

All right, I force-pushed a new commit which passes the tests locally!


HD Streaming

I know this isn't really a issue but is there a way i can get it HD Streaming?
It seems from where i am (Australia) I can stream normal netflix in HD but am unable to stream it in HD with the proxy enabled but the video buffers quite fast.

See if you can get some stats, from the diagnostics screens (PC/MAC):
http://www.tech-recipes.com/rx/7854/netflix-movie-player-use-keyboard-shortcuts-when-viewing-watch-instantly-videos/
Also, if the stats don't contain media URLs, see if you can capture these
via Wireshark, etc.
The proxy shouldn't be proxying media delivery URLs, unless Netflix changed
the media domain back to *.netflix.com..
-- ab1
On 27 October 2015 at 08:51, NeSmo1<EMAIL_ADDRESS>wrote:

I know this isn't really a issue but is there a way i can get it HD
Streaming?
It seems from where i am (Australia) I can stream normal netflix in HD but
am unable to stream it in HD with the proxy enabled but the video buffers
quite fast.
—
Reply to this email directly or view it on GitHub
https://github.com/ab77/netflix-proxy/issues/40.

On a related note, how did you get iPlayer to work at all? What domains did you proxy besides bbc.co.uk?


eTag checking

Apps should constantly check eTag and make necessary updates to the page. Details still to be defined.

@karlcz I think this issue is no longer relevant.. Correct?

It's only relevant if we want to proactively check for changes made concurrently to show updates rather than leaving a page indefinitely with stale data in it... this might matter more once we have more users doing data curation.

We decided not to do this for delete/edit. So I am closing this issue for now..


Adds a link to ulog

ulog is a universal logging library that combines features from the popular debug utility with log levels, creating a more generally applicable logger. It also adds better browser support.
How this project came about and why I think it should be on this list
When I started developing in Javascript I created a small logging shim to wrap the console for situations where it was not available. When I started developing in Node, I tried a bunch of logging frameworks, but none satisfied my needs. So I modified my own library based on some new ideas I had seen and created picolog. I have been using that for about a year. In this time I discovered some things that lead to ulog:

I found that it's natural for the default log level to be INFO on Node, but WARN on the browser
When there are lots of modules doing logging, you end up wanting to see only the messages from some of them
I discovered the popularity of debug. It's named modules and filtering idea is brilliant, but I did not like the fact that this was purely aimed at debugging. I wanted something more general purpose.
I stumbled on the author of ulog, a project started but never completed. He agreed to let me use the name

So I created ulog. I have been using it for a month now. I have some ideas to make it even better (mostly I want to be able to use it as an alias for debuug so I can force packages using debug to use ulog instead), but I feel it's already full-featured so I'll do that when the need arises.
The package has a test suite and CI integration. I tested it's predecessor on platforms such as Nashorn and with loaders such as require js to make sure it is truly universal and I've been personally using and tweaking it for a very long time.

@sindresorhus Can you let me know if the PR is acceptable or if I should change something?

Thanks for the suggestion, but I'm going to pass on this. This is a curation, so I unfortunately can't include everything. That means making the hard decision of leaving out some cool projects for various reasons. Keep up the good work :)

Thanks for your reply @sindresorhus
Could you let me know what the criteria for admission are? So I can learn and maybe come back when they are fulfilled?


Characteristics are not adding correctly

Characteristics EXP Purchases are treating Characteristics as a rank 0 ->1 rather than counting it as 2. So it's only charging the players 10 xp to go from a 2 to a 3 instead of 3 xp.
I believe this is due to the system thinking that they have a 0 with a +2 modifier from Species rather than 2 ranks.

I noticed that too, and was wondering if it was linked to using a non-english version (French in my case)

Will be released in 1.903. Thanks for the report.


GitHub Markdown short cheat sheet added

Description

[ ✔] I have added a folder(Named it as my GitHub user id)
[✔ ] I have added a Readme.md file inside the folder
[ ✔] I understand the GitHub Forking Concept fully

Is anything Else Required @atapas


Release version 0.7.0 of all HAL crates

I'd like to publish new crates.io versions of all HAL crates. Or more specifically, I'd like to publish version 0.7.0 of nrf52832-hal, as that's blocking my progress downstream, but releasing all the others as well seem like the right thing to do.
I know that there is some ongoing controvery, as well as some open pull requests. I'd still like to get this out now, as there have been many improvements (some of which I need to publish my dwm1001 crate). If more things get merged soon, we can publish more versions as required.
Anyone opposed to doing this release right now?
cc @nrf-rs/nrf52

Anyone opposed to doing this release right now?

Not really.
Basically the only thing I wanted to mention was what you meantioned already ;)
I think we are good to go but should really try and relove the ongoing discussions and PRs.
Appart from that, sure, we can do a release and then always do another release, even in fast succession if necessary.
Do you think we should have a changelog or the likes somewhere?

Travis fails. Will fix shortly.
@Yatekii

Do you think we should have a changelog or the likes somewhere?

Yes, I do think that, but to be honest, I was kind of relieved to find out we don't have one currently, since I'm running out of time I allocated to get my downstream release done :-)
Do you want me to add one? I can do it, but I would prefer if we did it later(tm).

Force-pushed a fix. Travis is all green now.
Unless I hear a veto until tomorrow, I'm going to release. Sorry for the short notice, but I don't think it's a big deal (release early, release often) and I have other stuff scheduled next week.

I am ok with adding one later. But I still think some kind of featureset explained in the README plus a CHANGELOG should definitely be a thing in the future. Maybe we should open an issue.

@Yatekii

Maybe we should open an issue.

Done: #59, #60

All crates have been published: nrf52-hal-common, nrf52810-hal, nrf52832-hal, nrf52840-hal
No permission problems!
Merging this PR and pushing the tag now.


Write a test to ensure .tool-versions stay up to date

I'm not sure if this is a good idea or not, but it's kind of tedious and bug prone to manually update our tool-versions.
I'm open to ideas here, but perhaps a test + script to automate this would be a good idea.

There is an open issue to get support for this kind of thing from dependabot.
https://github.com/dependabot/dependabot-core/issues/1033
In that thread, there is a link to someone's GitHub Action that might help.

That said, my gut reaction is that any significant updates to .tool-versions, particularly for this project, will likely have to accompany other sanity checks to verify the new version of Elixir does not break things and is properly referenced in wiki docs and other things.
I'm not sure how automated it could really be. 🤷♂

Thank you for linking to the workflow. I agree I don't think we can truly automate resolving the issue. However, it would be great to automate catching this issue.
That said, I realized this is only a concern when using the main branch because they could suddenly update or change the required Elixir version. I'm tentatively closing this issue because I don't think it's a problem if we use a stable version.
However, if we ever have a reason to recommend the main branch we should re-open this.


Not able to scroll down in Create Application home page

Please see the screenshot below.

@jyasveer is this still an issue? Testing this on prod I have a scroll bar and I guess this is more a fabric8-ui issue anyway? closing for now


[tool_crash] StateError: Bad state: No context with the running Dart application.

Command
flutter run -d chrome

Steps to Reproduce

...
...
...

Logs
StateError: Bad state: No context with the running Dart application.
#0      RemoteDebuggerExecutionContext.id (package:dwds/src/debugging/execution_context.dart:55:7)
<asynchronous suspension>
#1      AppInspector._getExtensionRpcs (package:dwds/src/debugging/inspector.dart:501:20)
<asynchronous suspension>
#2      AppInspector._initialize (package:dwds/src/debugging/inspector.dart:93:34)
<asynchronous suspension>
#3      AppInspector.initialize (package:dwds/src/debugging/inspector.dart:156:5)
<asynchronous suspension>
#4      ChromeProxyService.createIsolate (package:dwds/src/services/chrome_proxy_service.dart:222:18)
<asynchronous suspension>

[✓] Flutter (Channel stable, 2.2.1, on Microsoft Windows [Version 10.0.19042.1237], locale en-US)
    • Flutter version 2.2.1 at C:\flutter
    • Framework revision 02c026b03c (4 months ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\p7319\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[✓] VS Code (version 1.60.2)
    • VS Code at C:\Users\p7319\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.26.0

[✓] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 94.0.4606.61
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 94.0.992.31

! Doctor found issues in 2 categories.

Flutter Application Metadata
Type: app
Version: 1.1.7+14
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: beta
Creation framework version: 5d36f2e7f5387b6c751449258ade8e4e6edf99be
Plugins
cloud_firestore-2.5.2
cloud_firestore_web-2.4.2
emoji_picker_flutter-1.0.7
file_picker-4.0.2
firebase_auth-1.4.1
firebase_auth_web-1.3.1
firebase_core-1.6.0
firebase_core_web-1.1.0
firebase_messaging-10.0.7
firebase_messaging_web-2.0.5
firebase_storage-8.1.3
firebase_storage_web-1.1.2
flutter_email_sender-5.0.2
flutter_keyboard_visibility-5.0.3
flutter_keyboard_visibility_web-2.0.0
flutter_plugin_android_lifecycle-2.0.3
fluttertoast-8.0.8
google_sign_in-5.1.0
google_sign_in_web-0.10.0+2
image_cropper-1.4.1
image_gallery_saver-1.6.9
image_picker-0.7.5+4
image_picker_for_web-2.1.3
jitsi_meet-4.0.0
jitsi_meet_web_plugin-2.0.0
multi_image_picker-4.8.01
path_provider-2.0.3
path_provider_linux-2.0.2
path_provider_macos-2.0.2
path_provider_windows-2.0.3
permission_handler-8.1.6
share_plus-2.1.4
share_plus_macos-2.0.2
share_plus_web-2.0.4
shared_preferences-2.0.7
shared_preferences_linux-2.0.2
shared_preferences_macos-2.0.2
shared_preferences_web-2.0.2
shared_preferences_windows-2.0.2
sqflite-2.0.0+4
url_launcher-6.0.10
url_launcher_linux-2.0.2
url_launcher_macos-2.0.2
url_launcher_web-2.0.4
url_launcher_windows-2.0.2

Hi @SweetSourPeter, Thanks for filing the issue. Could you please try upgrading to the latest stable using
flutter upgrade

and see if that reproduces the issue for you.
Thank you.


SUBMARINE-1054. Refactor submarine-operator

What is this PR for?

The submarine operator is responsible for creating the submarine. However, it will create the submarine with settings written in code currently.
We want to make it read settings from yaml files, so that others can easily change the settings.
What type of PR is it?
Improvement
Todos

[x] - Add artifacts
[x] - Add YAML file parser

What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-1054
How should this be tested?

Run operator e2e test: go test ./test/e2e
Screenshots (if appropriate)
Questions:

Do the license files need updating? No
Are there breaking changes for older versions? No
Does this need new documentation? No

@pingsutw  Can you help me review the PR? Thanks!


English translations of a CRON string should be proper English

Currently on a monthly schedule, the English-fied string reads something like 1 and 10 instead of 1st and 10th. Would be nice to include those postfixes on the days.

See also https://trello.com/c/lLDyNnrN


⚠ Bofrost.gr has degraded performance

In a313bd7, Bofrost.gr (https://www.bofrost.gr) experienced degraded performance:

HTTP code: 200
Response time: 3865 ms

Resolved: Bofrost.gr performance has improved in 4e7c514.


Credit Card Failures Re: Capture and Presentation

I know that this may be a rehash of other issues but I tried to consolidate them, so forgive me.
Issue:
The issue is about showing CC failures to receivers/tippee (and possibly givers/tipper) so that they can see why their income is suddenly dropping (and for givers, if, when, and possibly why their credit cards are failing)
Related Tickets:
#364 - keep track of credit card failures in database
#583 - Notify Users of Payment Errors
#915 - analyze credit card failures
#1124 - Email me whenever you bill my credit card
#1746 - display on-site notification re: credit card failure
#2372 - investigate 402s
#2441 - log request id when cc fails
#2443 - log additional information in exchanges
#2534 - Display number of card failures on history page
#2603 - show failing credit cards on patrons chart
#2640 - Notify users of credit card failures (PR for #1746)
#2666 - Track down policy/code change causing credit cards to fail
#2764 - #2534 display card failure qty (PR for #2534)
#2779 - backfill exchange.status column
#3011 - Record credit card failure in the DB (PR for #364)
Notes:
When I first looked at attempting to work on ticket #2534 the problem as far as I could see was that there is no definite way of identifying if that failed status is due to credit card failure or from lack of funds and no card/bank account associated with user. This is due to the fact that the failures are identified at the point when Payday is run but the information is not stored in the DB. Please correct me if I am wrong. The following is notes that I made after going through all of the tickets that I thought were relevant and related (there may be more) to this entire issue of credit card failure and the presentation of the information to the patrons of Gratipay.
Ticket #364 highlighted the need to record the credit card failures in the DB. At the time of the creation of the ticket the credit card failures were being stored in a logs in flat files. The moving of the data from the flat file to the DB was to allow for better analyst of credit card failures (#365).
From #915 it was noted that credit card failures were identified as a problem. At the time of creation of the ticket the increase of failures were due to the new fraud rules applied by Balanced. There were no automated notifications.
From #583 a request for email notifications on credit card failures by givers/tipper was made. It was identified that this would required mandatory valid email address (and thus indirectly the verification of those emails which was not stated in the ticket)
Even though #1124 does not directly relate to credit card failures but it was commented that the email could also be used to inform users of credit card charges that fail.
Ticket #1746 identified the need to display on-site notification of credit card failures. At the time of creation of the ticket according to the tread there were on-site notifications for impending credit card expirations (#2349)
Ticket #2372 is about credit card failures when credit card is added but also include failures when payments are attempted using a credit card.
In ticket #2441 which is a re-ticket of #2372 the need to capture request id of credit card failures and was considered a possible part of the implementation of #2443.
In ticket #2443 the need to capture additional information about exchanges was considered necessary in order to aid in debugging.
Ticket #2534 highlighted the need to show the number of credit card failures on the receiver’s history page.
Ticket #2603 is similar to the other tickets in that it is a request to show credit card failures on the patrons’ charts.
Ticket #2640 is the pull request to implement ticket #1746 and accompany #2629
From ticket #2666 the need to trigger a notification to that user to inform them of the denial until correct or complete information is provided where the credit card failure is due to change in policy or code is raised. At the creation of this ticket there was on-site notifications (#2640) but still no email notifications. This is mainly due to that fact that at the time of the creation of ticket #2666 there weren’t any email notifications for anything. Since that time the requirement and validation of email addresses of user of gratipay are being implemented (#2312).
Ticket #2764 is a failed pull request for the ticket #2534.
Ticket #2779 is raises the issue of needing to have the exchange.status column in the DB have non-NULL values. This is related to #2443 and #364
Ticket #3011 is a PR for ticket #364 and thus should allow for necessary information to implement the majority of the tickets made above.
Requirements:
There are a number of issues identified in the note.

Identification of the relevant credit card transaction information in order to properly and effectively inform both givers and receiver as to if, when, how much and possibly why credit card failures occur.
The capturing of the relevant credit card transaction information including but not limited to credit card failures. In some cases this would require the retrieval of back data from Balanced (if possible)
Use the relevant credit card transaction information to notify the giver and receiver of credit card failures (if, when, how much and possibly why credit card failures occur) on-site, and via email
Also if desired use this information for analysis activities including but not limited to fraud.

Questions:

Are credit card failures captured and recorded in the DB for both receivers and givers? @Changaco correct me if I am wrong but this is partially if not completely done in #3011?
Is the giver/tipper notified on-site when their credit card fails? Again @Changaco I believe this was implemented by the PR in #2640
Is the giver/tipper notified via email that their credit card failed? I have not seen evidence that this has been implemented since we only implemented the requirement of valid emails (#2312) and tickets that have requested this are still open (#583, #1124, etc)
Is the receiver/tippee notified on-site the number of its tippers’ credit cards have failed? No. (#2534, #2603)
Is the receiver/tippee notified via email the number of its tippers’ credit cards has failed and is this necessary?
Should all of these issues that have not been resolved be down in one PR? My personal opinion is that it should not. It may be too much.

Steps:

[ ] Identify relevant credit card transaction information required to properly inform Gratipay patrons (both givers and receivers) of credit card activities. This could include but not be limited to credit card failures and possibly pending expiring credit cards.
[ ] Make changes to the DB structure (and thus schema) to accommodate the new data to be collected.
[ ] Retrieve back data from Balanced where necessary if it possible.
[ ] Make changes to Payday to capture future information from Balanced.
[ ] Identify places to effectively present this information to the patrons (both givers and receivers). i.e. for example do we place it only on the History page or on the patrons chart or both.
[ ] Design and implement the sending of emails to inform the patrons of the credit card activities.
[ ] Identify useful analytics of the data that we would have as a result of the completion of all of the steps above.

This may not be complete or it may be overly complicated @Changaco, @whit537 and others please review and tell me what you think. I would like to start working on completing this. It would be good if the steps are vetted and fine tune so that I don’t “reinvent the wheel” or do unnecessary work. Additionally if this is not important please tell me.

I love it. @kaguillera's monster note-taking skills escape from Evernote onto GitHub! :dancer: :elephant:

Whoa, that's a big comment.
Here's a checklist showing what's already done and what's left to do:

[x] show CC failure to givers as on-site notification (#2640)
[x] record CC failures in the exchanges table (#3011)
[x] show CC failures on the giver's history page (simple consequence of #3011)
[ ] notify givers of CC charges and failures via email (#1124)
[ ] record failed transfers and modify the history page to show them correctly (#2534)
[ ] show failed transfers on patrons chart (#2603)
[ ] weekly email report, which would notify receivers of failed transfers (#1022)

Here's the status of each of the open issues:

#1124 and #1022 are blocked on #3136 in which we're building the email notification system
#2534 is ready to start, it consists of adding a status column to the transfers table and modifying payday to actually record failed transfers
#2603 is blocked on #2534, you obviously can't show data that's not available

Should all of these issues that have not been resolved be down in one PR?

No, separate issues → separate PRs. Experience has shown that big PRs are problematic and should be avoided.

Thanks @Changaco I have a starting point. I will begin to work on this.

#3136 has landed, thus #1124 and #1022 are no longer blocked.

@Changaco Huzzah! Great news! :dancer:


Register and Validate application domain

Follow up of #496

Closing after chat with @jimmykarily and @manno as not needed. If a user gives a good enough reason that they need domains as a top level api object, we can revisit but for now let's keep the simplicity and ease of use.


Mobile dApp: UI design for connecting using WalletConnect

User Story
As Chris I want to sign my transactions using a third-party wallet of my choice.
Acceptance criteria
Mockups are available for providing RPC endpoint and connecting with WalletConnect.
Tasks

[x] Mockups for initial WalletConnect setup when a user connects to the dApp.
[x] User-flow and mockups for providing RPC endpoint.

Something to get us started, should be enough for a first iteration.


indexOf semver

@ankit31894 Last commit indexOf broke a lot of projects.
Now it works, but I would suggest you to use for instance lodash.indexof instead of your patched code, because this code is well tested.
Please be more semver compatible.

I was going to use underscore but now seeing the lightweight of your proposed method, I have added this to the repo and removed the polyfill code. Thanks


Higher-level API

At this moment API is really low-lewel: i.e. when you send INLIST_ONE_ISO_A_TARGET cmd you get byte slice in response, not parsed struct. And I maybe can help with it, if you want.

I'd appreciate your help very much!
How do you think a higher level API would look?

I'd appreciate your help very much! How do you think a higher level API could look like?

I think something like this: https://github.com/averyanalex/pn532/commit/d43ce6a64175a65906f12dfc04c6cf05477d2fd5.
But I am not good in Rust, so IDK how to implement it for blocking and async version without just copy-pasting same code and adding await to it.
P.S. I am limited on time too the next 1-2 months.

Here is one potential proposal: We introduce a new trait Cmd. It knows how to construct a Request for itself and how to parse a response for itself. We add a new function Pn532::call to use these commands. Here is a full implementation of GetFirmwareVersion.
Usage:
let firmware = pn532.call(GetFirmwareVersion::new(), millis(100)).unwrap();
println!("Found PN532 with firmware version: {}", firmware.version_string());

Implementation is done through a trait (here called Cmd), one example is just the FirmwareVersion call:
pub trait Cmd: Sized {
   const NUM_BYTES: usize;
   type Response;

   fn request(&self) -> crate::requests::Request<0>;
   fn parse_result(val: &[u8]) -> Self::Response;
}

pub struct GetFirmwareVersion;
impl GetFirmwareVersion {
    pub fn new() -> Self {
        Self
    }
}

pub struct FirmwareVersion {
    pub ic: u8,
    pub ver: u8,
    pub rev: u8,
    pub support: u8,
}

impl FirmwareVersion {
    pub fn version_string(&self) -> String {
        format!("{}.{}", self.ver, self.rev)
    }
}

impl Cmd for GetFirmwareVersion {
    const NUM_BYTES: usize = 4;
    type Response = FirmwareVersion;

    fn request(&self) -> crate::requests::Request<0> {
        crate::requests::Request::GET_FIRMWARE_VERSION
    }

    fn parse_result(val: &[u8]) -> FirmwareVersion {
        FirmwareVersion {
            ic: val[0],
            ver: val[1],
            rev: val[2],
            support: val[3],
        }
    }
}

and here is the Pn532::call function that integrates with these Command structs:
pub fn call<C: Cmd>(&mut self, cmd: C, timeout: T::Time) -> Result<C::Response, Error<I::Error>> {
    let request = cmd.request();
    let res = self._process((&request).into(), C::NUM_BYTES, timeout)?;
    Ok(C::parse_result(&res))
}


Timestamp parsing in ElasticSearch API Issues

I recently tried to query the KalDB version of ElasticSearch's msearch library and got an HTTP 500 back. Upon looking at the server logs, I found a NullPointerException coming from OpenSearchRequest.getStartTimeEpochMs.
return body.get("query").findValue("gte").asLong();
The root cause was that my query didn't have a required timestamp range. This is a reasonable restriction, but the existing logic has some issues:

The query parsing shouldn't create an NPE, which leads to an HTTP 500 response, which is incorrect. (It should be a 400 Bad Request, or similar, because the actual problem was my query. )
It would be preferable for KalDB to return a helpful error message to the client explaining that the timestamp range filter is required.
The existing logic assumes that any use of "gte" is start timestamp filter. What if a user is filtering start timestamp by "gt" or "eq" instead?
The existing logic assumes that any use of "lte" is the end timestamp filter. What if a user is filtering end timestamp by "lt" or "eq"?
What if a user is submitting a more complex ElasticSearch query with range filters on multiple fields? There's currently no logic ensuring that the "gte" or "lte" found corresponds to the timestamp field that KalDB is using as a partition key. The "findValue" Jackson method will return the first instance found.

This is related to #798

Closing as resolved in #987, #1074, and #1081.


Remove default_time_to_live for Views in describe

Remove default_time_to_live in the describe output for views as it is
not supported by them. Updated to pass the isView variable to the
CqlBuilder.
Fixes: https://issues.apache.org/jira/browse/CASSANDRA-17266

@blerer Updated the testDescribeRoundtrip() test with materialized view creation and assertion.


Package breaks IE11 unless built

Since IE11 doesn't support arrow functions or rest/spread, the existing package breaks projects that use it in IE11 if they don't build node_modules (a common pattern). This would be resolved if this package were built to target ES5. (Here's another package that ran into this separately.)

This module mainly targets Node.js, not the browser. It's up to you to transpile it with Babel if you want to use it in the browser.
If you use Webpack, check out babel-engine-plugin, which transpiles only the dependencies that needs to be transpiled.
If you use Create React App, upgrade to Create React App v2. It supports automatic transpilation of dependencies, which will make this package just work.

This module mainly targets Node.js, not the browser.

You have the lightest-weight concurrent queue I'm aware of, the browser is a natural market for this package… ;)
Thanks for the babel-engine-plugin link. The engines field is pretty notoriously misused or forgotten, but I can cross my fingers for no issues…
Having an ES5 build available would solve this perfectly, without special & frankly risky tooling. I understand it's greater-than-zero effort to spin up though. Thanks!


Reply to twitter mobile url not working?

https://mobile.twitter.com/singpolyma/status/717043160803708928 doesn't seem to be set up as a reply properly

true! thanks for filing.

i looked into this, and bridgy actually supports mobile.twitter.com ok. the problem is that your post uses rel="in-reply-to", while bridgy only supports class="u-in-reply-to".
i'm not sure how widely supported rel-values ever were in mf2, but at best it seems like they're deprecated now. i think part of that is that they're page scoped, not element scoped, so they break in feeds with multiple items breaks.

I don't think my markup has changed... but I guess I can add another mf2 class. I have a couple of them already for likes and such

discussion: http://indiewebcamp.com/irc/2016-04-04#t1459818479344

@singpolyma looking at bridgy's stored html for your past published @-replies, you actually used to have class="u-in-reply-to". maybe you unintentionally dropped it recently?

I must have done something wrong in my recent server migration. Sorry about that! I'll fix my markup :)


[DRAFT] Extract general text into locale files to make forking easier

Following our conversation on Twitter about taking all occurrences of the string "RailsDevs" (and other details, such as the founder's email) and putting them inside locale files as variables. The idea is to make it easier to fork the project, change the name (and other details) and reduce merge conflicts when pulling in commits from your repo.
So far, I've only extracted the string "RailsDevs" from short strings - let me know your thoughts on the approach.
To proceed with making the repo easier to fork, the question is how to proceed with longer strings. Take the following line from app/views/developer_mailer/welcome.text.erb as an example:

I'm Joe, the founder of RailsDevs. Thanks for adding your profile!

It doesn't make sense to turn this into:

I'm <%= t("general.organization.founder.name") %>, the founder of <%= t("general.project.name") %>. Thanks for adding your profile!

Because forks may choose to rewrite this text anyway. A potential option is to extract the entire text into locale files as such:

I'm %{founder_name}, the founder of %{project_name}. Thanks for adding your profile!

But that defeats the purpose of using email/view templates (although it may work for longer strings in other bits of the codebase).
What are your thoughts?
Pull request checklist

[ ] My code contains tests covering the code I modified
[x] I linted and tested the project with bin/check
[x] I added significant changes and product updates to the changelog

Great question!
I'm assuming the goal with this PR is to templatize as much as possible to make forking as easy as possible. If so, my vote is moving the founder's name and project name somewhere and leaving the mailer.

I'm <%= t("general.organization.founder.name") %>, the founder of <%= t("general.project.name") %>. Thanks for adding your profile!

This means someone can fork the project and get up and running without having to change anything but some config. They are always free to customize the mailer content later down the road.

Thinking on this a bit more I think might also want a configuration that exists outside of the locales. "RailsDevs" for example, will never be translated. Neither will the founder's name (right?).
My vote is to put these in config/project.yml or similar and load them similar to emails in config/application.rb. Then everything that might be translated leave in the locale files.
What do you think?

Hey chaps!
It'd actually be great if we can replace I'm <%= t("general.organization.founder.name") %>, the founder of <%= t("general.project.name") %> which something like <%= t("general.project.email_intro") %>, because in our case we have two founders and we might just want to put "Hi, it's FirstName from ProjectName here." or something more general.
In workingin.ai we also had to replace Developer, mainly in the locale strings. So it would be good to have this defined in one place too.

I also noticed that in the locale files, things like RailsDevs, Developer etc are mentioned a lot in the strings. Can we make this a variable in the local strings too?

@dctanner, for the welcome email, do you see yourself changing the rest of the email? Or only the introduction?

@joemasilotti I think just the introduction. Maybe we can think of it as an email intro variable like an email signature is.
We're actually adding in some more changes over the next week or so. We'll add a comment when this work is done and the PR is in a better state to hopefully merge 🙏

Sounds great all around, thanks for the update!

Hey @dctanner and @arminghofrani, I'm doing a bit of Spring cleaning on the repo and closing old/stale PRs.
If you still want to see this merged let me know when you have time to wrap this up!

Had to put things on hold right now so you are welcome to rm and we can resubmit in future if need be.