wrong values or empty registers (SUN1600G3, metric_group_micro)

Hi,
I've had a deeper look in the values from my inverter. Below you can find the registers with problems
(based by metric_group_micro.md, Metric | Modbus address | MQTT topic suffix | Unit).
Inverter type: SUN1600G3 -> metric-group_micro
a) Uptime | 62 | uptime | minutes. ----> shows all time: 0,
---> register 62 means in Deye document: Today_Gen_PowerWh
b) DC Total Power | computed | dc/total_power | W     -----> shows: no data
c) Operating Power | 80 | operating_power | W     -----> shows: no data
---> register 80 in Deye document: looks like somehow related to register 81 (low and high word)
d) AC Active Power | 86,87 | ac/active_power | W     -----> shows: no data
e) Radiator temperature | 90 | radiator_temp | °C.       -----> shows: no data
Could someone verify this, please?

a) Uptime | 62 | uptime | minutes. ----> shows all time: 0,
---> register 62 means in Deye document: Today_Gen_PowerWh

I've got a string inverter, and originally, I've recognized this register to report the uptime. And, yes, it does not match the documentation. Apparently, it does not make sense for micro, so my proposal is to remove it from the micro group

b) DC Total Power | computed | dc/total_power | W -----> shows: no data

This is a sum of dc/pv1/power, dc/pv2/power, dc/pv3/power, dc/pv4/power, which are in turn computed as dc/pv1/voltage * dc/pv1/current, etc. What values do you get here?

c) Operating Power | 80 | operating_power | W -----> shows: no data
---> register 80 in Deye document: looks like somehow related to register 81 (low and high word)

It's not marked with "MI" in the documentation, so I assume it's not supported for micro inverters. My suggestion is to remove it from the micro group

d) AC Active Power | 86,87 | ac/active_power | W -----> shows: no data

In the documentation, they are marked with "MI", but the meaning is not explained.

e) Radiator temperature | 90 | radiator_temp | °C. -----> shows: no data

In the documentation, they are marked with "MI". I'd expect it to work.

I'm a little bit confused now and I've to say sorry.
After set the logging in your image to DEBUG, I could see that all the data are there. So my problem starts somewhere behind this image. So I'll focus now to the next step (saving the data in fluxdb; Mosquitto broker).
I'll close this here. No change needed.
Sorry and thank you again.


Wireless Connection

So i'm tryn to connect my device (Huawei P40 lite) to my pc wirelessly, but everytime i get this error C:\Users\Mihai Cazac>scrcpy -s <IP_ADDRESS>:5555 -m 1920 INFO: scrcpy 1.17 <https://github.com/Genymobile/scrcpy> adb: error: failed to get feature set: device offline ERROR: "adb push" returned with value 1 and it doesnt connect ,but when i plug the usb and try it works,as in image

I tried everything,any ideas?
Also after i disconnect my device ,when i list adb devices it says my device is offline

When i unplug the usb before adb connect

https://github.com/Genymobile/scrcpy/issues/2097#issuecomment-775915121

Thanks it worked,i used my phone in file transfer mode previously to get usb debugging


ensureFrontmatter() failing for calendar notes [from template]

Checks

[x] I confirm I have restarted NotePlan and this problem still persists.
[x] Is this a repeatable problem?

Describe the bug
NPFrontMatter's ensureFrontmatter() doesn't do anything to calendar notes without existing frontmatter, at least when run from a Template.
To Reproduce
I discovered this because NoteHelpers' new addTriggerToNote() command isn't working when run from this Template:
---
title: Test addTriggerToNote
type: test
---
✅
<% await DataStore.invokePluginCommandByName("add trigger to note","jgclark.NoteHelpers",["onEditorWillSave => jgclark.Dashboard.decideWhetherToUpdateDashboard"]); -%>

System

NotePlan Version 3.10.2 b1171
NoteHelpers 0.19.1

Additional context
The same command does work when run interactively.
I have pushed a slightly updated copy of NPFrontMatter.js that includes a little more logging, and FIXME where I think the problem is. Please see if you can reproduce and fix.

@jgclark BTW, beyond that, as mentioned in #540, this is almost certainly a race condition caused by the age-old issue of Editor.note vs. Editor. Templating is acting on Editor, and your calls may be passing Editor.note and so my guess is that the note gets written correctly and then overwritten by the template because of this conflict.
Maybe check Versions on the note to see if this is true

I've made some changes to NPFrontMatter helpers to deal with more edge cases.
And changed from Editor.note to Editor in at least one place.
Appears to be all fixed, and so will commit the changes shortly.


README "Python Library Use Example" should call permutationtest, not permutation_test

First off, thanks for making this Python package!
I was trying to get started with it, and followed the example in your readme. However, p.permutation_test() was not a valid function. Had to check out this repo for the package and see that the correct function to use was actually p.permutationtest():
https://github.com/cmohl2013/permutation_test/blob/master/README.rst#python-library-use-example

thanks again! I close the issue now. I updated one year ago but forgot to close it.


Not able to change templateUrl based on dynamic param (1.0.0-alpha5)

Here is a plunker demonstrating the issue: http://plnkr.co/edit/b3pOQKRmuJRS7RyLbDP8
Also a plunker with "dynamic: false" which shows the expected behavior: http://plnkr.co/edit/rTCYeIwDnWcBPSGWFAon?p=preview
Steps to reproduce:

Go to state "home.foo"
Notice how the alert, called from the templateUrl function, informs about the template change
Click the link to switch to the 3x3 layout

Expected to happen:
An alert, called from the templateUrl function, should inform about the template change, then the template used for the ui-view should be updated to the return value of the function.
What actually happens:
The templateUrl function is not called and the correct template is not switched to. Only the uiOnParamsChanged callback is triggered.
Possible workarounds:

Use ng-include and scope variables to determine the templates used instead of nested views and states. This would work but the whole point of ui-router is to get rid of such horrible hacks
Is it maybe possible to change the templateUrl from within uiOnParamsChanged callback? Maybe by first rewriting the app to use components instead of templateUrl+controller? Or by modifying the state's internals using $state.get() or $state.get().$$state() ?

Thanks for the excellent issue report.

Views are processed when a state is entered.  This includes processing controllerProvider or templateProvider.
Changes to dynamic parameters do not cause a state to be re-entered.

Because of this, the behavior you reported with is what I expect should happen.
Are you avoiding exiting/re-entering the state (dynamic: false) because you don't want to re-fetch resolves?

By using the $view service directly, you can reload the views pretty easily:
http://plnkr.co/edit/1OGFV8HxrXoqFpNX8kPZ?p=preview
function reloadViews($transition$, stateName) {
    // Get a reference to the built state object
    let state = $state.get(stateName).$$state();

    // The currently active ViewConfig(s) for the given state
    // Note: viewConfigs isn't *currently* public, but I'm planning to create an accessor
    let oldConfigs = $view.viewConfigs.filter(view => view.node.state === state);
    // Find the node for the state in the "to path" (which has the updated parameters)
    let node = $transition$.treeChanges().to.find(node => node.state === state);

    // Build new ViewConfigs for all the state's views using the node from the "to path"
    let newConfigs = Object.keys(state.views)
        .map(name => $view.createViewConfig(node, state.views[name]))
        // Flatten 2D array to a 1D array
        .reduce((acc, arr) => acc.concat(arr), []);

    // Load the ViewConfigs (this fetches templates, etc)
    $q.all(newConfigs.map(cfg =>  cfg.load())).then(() => {
      // Then deactivate the old configs and activate the new ones
      oldConfigs.forEach(cfg =>  $view.deactivateViewConfig(cfg));
      newConfigs.forEach(cfg => $view.activateViewConfig(cfg));
      // finally, tell the ui-views to update based on the newly activated configs
      $view.sync();
    })
  }

Closing because this works as designed, and I provided a workaround

@christopherthielen Thanks for the feedback and the workaround. This really helps understand what dynamic params are and are not, as well as provides a way to tinker and experiment with state internals until a good solution can be achieved. I just wished there was more documentation and examples of dynamic params, but I guess that is on the roadmap for 1.0 :)


Add hash with all contact list

Now I have a problem to define whether the contacts have been updated or created. I wanted to implement the functionality of getting the updated date of the contacts in order to define whether some of the contacts has been changed. As now the Android is not giving the possibility to get the created and updated date we decided to generate hash with contact list data. So in app we can compare between the hash received from plugin and the hash received before that. By using this functionality we can understand if the contact list have been changed.

So you need something like a getLastUpdateToAllContacts?

Yes, something like that.

Using a hash over all contacts sounds like a doable but not very simple and conservative solution.
I remember there was a fork of this plugin that added a "subscription" for changes on contacts, but I am not sure if this functionality was for iOS, Android or both. You would have to search for it yourself.
In general I think even if you implement the hash method, this is nothing that should be part of the plugin itself but live in your app itself. Feel free to share your code here though, maybe someone else might find it useful as well!

Hi @rhanesoghlyan , the way we keep track of these updated contacts is by adding an url to the contact which holds this information including a timestamp and we also keep hashes but we currently keep this hash outside the contact itself.
So we would indeed like something simular (preferably a tag that is even only visible for a specific app) and maybe this is possible with iOS with the new Contacts SDK.
Currently we are stuck however on a save() bug that is in this plugin and currently trying to fix this plugin bug first.

Yes @Bramzor before implementing new features in contacts plugin you need fix current bugs :)
Also find method doesn't work as expected in iOS 11-12 versions. I've checked codes and there are a lot of deprecated methods had been used.
For using this plugin we need update 70% of code :)

What is wrong with the find method? It works on iOS11 in the emulator here. Yes the SDK calls are deprecated but they currently do still work as far as I was able to test them.

Can you create an issue for this and explain with code examples that it does not return all contacts in the emulator?

We are archiving this repository following Apache Cordova's Deprecation Policy. We will not continue to work on this repository. Therefore all issues and pull requests are being closed. Thanks for your contribution.


chore: update tailwind import path

Changes

I removed the dist-part from the Tailwind CSS imports because otherwise purging and plugins are not working.
Testing

I used a markdown view to take a look at my changes.
Docs

Yes, because this is an update of the public documentation.

Oh, interesting. The code snippet is actually correct as is: you need the "dist" for it to work with vanilla CSS.
BUT, you're right that we don't show a snippet for PostCSS, where you actually can remove the dist. instead of replacing the existing snippet, can you add this as a new snippet, under the PostCSS sub-section immediately after it?

LGTM! Did some small wordsmithing before merging, thanks for the contribution!


spinner for kpi's

Types of changes

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

Checklist:

[ ] The code follows the code style and conventions of this project.
[ ] The change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.

Description of the change
Spinner added to KPI's  and styling changes to Static BingMap
...
Motivation for the change

...

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


Use correct schema in examples

This PR fixes the wrong schemas in the documentation. For good this time. Closes #87

Thank you very much.


YARP Proxy Not Working With IIS Express

I'm able to load the new .net core endpoints like / and /home/privacy, but any requests back to my old .net MVC application, I'm just getting an error in the browser, "This page isn't working right now".
In the launchsettings.json I see the following. Both the old and new sites are indepentely accessible, I just can't access both sites through https://localhost:7266.
"profiles": {
    "Mouser_Web.Core": {
      "commandName": "Project",
      "dotnetRunMessages": true,
      "launchBrowser": true,
      "applicationUrl": "https://localhost:7266;http://localhost:5266",
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development",
        "ReverseProxy__Clusters__fallbackCluster__Destinations__fallbackApp__Address": "https://www.oldsite.com:44333"
      }
    },

Is anything supposed to be filled out in the appsettings.json file in fallbackApp/Address section? And the Path is supposed to be **catch-all?
    "ReverseProxy": {
    "Routes": {
      "fallbackRoute": {
        "ClusterId": "fallbackCluster",
        "Order": "1",
        "Match": {
          "Path": "{**catch-all}"
        }
      }
    },
    "Clusters": {
      "fallbackCluster": {
        "Destinations": {
          "fallbackApp": {
            "Address": ""
          }
        }
      }
    }

ASP.NET Framework Application:
We are running .net 4.8 site with a mixture of MVC and Web Forms running out of the application. This old site uses IIS Express
ASP.NET Core Application:
.Net 6.0

In the VS Debugger console window, I see SSL errors when trying to do the reverse proxy. Is there a way to resolve the SSL errors?
info: Yarp.ReverseProxy.Forwarder.HttpForwarder[9]
Proxying to https://www.mdev.com:44333/MyAccount/MLogin HTTP/2 RequestVersionOrLower no-streaming
info: Yarp.ReverseProxy.Forwarder.HttpForwarder[48]
Request: An error was encountered before receiving a response.
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp2ConnectionAsync(HttpRequestMessage request)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.GetHttp2ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Yarp.ReverseProxy.Forwarder.HttpForwarder.SendAsync(HttpContext context, String destinationPrefix, HttpMessageInvoker httpClient, ForwarderRequestConfig requestConfig, HttpTransformer transformer)

Looks like it has to do with SSL cert validation. Are you using a self-signed cert here?
@Tratcher what's the recommendation for SSL with YARP proxying?

When I first did the migration and the .net core project was installed, then started debugging, it presented me with an option of using a self signed cert for the .net core piece I believe. I think I chose use the self signed cert, but I'm not sure how to bring that option to choose back up or where that option is saved.

YARP is trying to proxy to www.mdev.com but RemoteCertificateNameMismatch means that IIS isn't returning a certificate that matches that host name. Can you access the site directly using that url?
If you're using IIS Express locally then its developer certificate only works for requests to localhost. Are you using a hosts file to remap www.mdev.com to a local server?
One way to work around this in a development environment is to set: DangerousAcceptAnyServerCertificate
https://microsoft.github.io/reverse-proxy/articles/config-files.html

Yes I can pull up both the .net core site and www.mdev.com locally. Now Edge does stop the site from being pulled up and I have to manually say its ok to bypass the invalid cert for mdev.com. For debugging locally, yes we use the hosts file to map mdev.com back to localhost (<IP_ADDRESS>). I'll try out the DnagerousAcceptAnyServerCertificate option. As far as the initial prompt I saw to use the self signed cert for the new .net core site, do you know how to change that option to something other than a self-signed cert?

I tried setting it to true, but getting the same error. It looks like it goes in the Clusters section?
"Clusters": {
      "fallbackCluster": {
        "Destinations": {
          "fallbackApp": {
            "Address": ""
          }
        }
      },
      "HttpClient": { // Configuration of HttpClient instance used to contact destinations
        "DangerousAcceptAnyServerCertificate": true
      }
    }

IIS Express can only be used with a self-signed cert. Kestrel's dev cert can be replaced in code or via config.
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/endpoints?view=aspnetcore-6.0

Try:
   "Clusters": {
      "fallbackCluster": {
        "Destinations": {
          "fallbackApp": {
            "Address": ""
          }
        },
        "HttpClient": { // Configuration of HttpClient instance used to contact destinations
          "DangerousAcceptAnyServerCertificate": true
        }
      }
    }

Thanks @Tratcher that fixed it


Turning light on and off(Toggle button)

Aim:
To show the use of toggle button using HTML, CSS, Javascript.
Description:

To show the use of toggle button two lights are used.
When the toggle is switched from off state, the bulb glows and vice-versa.

I would like to contribute to this issue under HCSSoC. @Ayush7614 Kindly assign me this issue


Frame Visits: Cache Snapshot later in process

Follow-up to hotwired/turbo#441
Depends on hotwired/turbo#487
Closes https://github.com/hotwired/turbo/issues/472

When caching Snapshots during a Visit, elements are not cached until
after the turbo:before-cache event fires. This affords client
applications with an opportunity to disconnect and deconstruct and
JavaScript state, and provides an opportunity to encode that state into
the HTML so that it can survive the caching process.
The timing of the construction of the SnapshotSubstitution instance
occurs too early in the frame rendering process: the <turbo-frame>
descendants have not been disconnected. The handling of the
<turbo-frame> caching is already an exception from the norm.
Unfortunately, the current implementation is caching too early in the
process. If the Snapshot were cached too late in the process with the
rest of the page (as described in hotwired/turbo#441), the [src]
attribute and descendant content would have already changed, so any
previous state would be lost.
This commit strikes a balance between the two extremes by introducing
the FrameRendererDelegate interface and the frameContentsExtracted()
hook. During <turbo-frame> rendering, the FrameRenderer instance
selects a Range of nodes and removes them by calling
Range.deleteContents. The deleteContents() method removes the
Nodes and discards them.
This commit replaces the deleteContents() call with one to
Range.extractContents, so that the Nodes are retained as a
DocumentFragment instance. While handling the callback, the
FrameController retains that instance by setting an internal
previousContents property.
Later on in the Frame rendering-to-Visit-promotion process, the
FrameController implements the visitCachedSnapshot() hook to read
from the previousContents property and substitute the frame's contents
with the previousContents, replacing the need for the
SnapshotSubstitution class.

Since this depends on [hotwired/turbo#487][], it'd be best to skip the first commit when reviewing the changes in this branch.

Can you update this? Let's get this in.


Python base64 :)

You don't need a python script to do the base64 encoding:
Here is how you do it with one line of code in bash:
BASE64URL_FORMAT=$(echo "${BYTE_ARRAY:2:-2}" | tr ',' '\n' | xargs printf "%02X" | xxd -r -ps | base64 | tr -d '=' | tr +/ -_)
Update that superior stack :)

thanks @georgica - hope you are well dude!

with the recent outages, what can i say


[Bug] Advanced Filter and LinkingSetRelation

Dear @volkanceylan,
I found a bug with the advanced filter and the LinkingSetRelation. In fact if I try to add a filter condition like that:

I get this:

Any idea?
Thanks!
Bye

Just an update: also the sort operation on the Representatitives columns throws an Exception:
An exception of type 'System.Data.SqlClient.SqlException' occurred in Serenity.Data.dll but was not handled in user code

Additional information: Invalid column name 'Representatives'.

Thanks again!
Bye

Add Sortable(false) Marco. Advanced filter doesnt support multiple option

Thanks Volkan...I've added a "Sortable(false)" and a "NotFilterable" attribute in order to prevent weird behaviour.
Thanks
Bye


Is there anyway to change button location?

Is there anyway to change button location in date picker?

@caihua for now there's no possible solution for it
but I will work on it in the next version

The modifications are now available in the version 1.6.0
https://pub.dev/packages/bottom_picker


Lodash in v6

Hi, putting the new version has highly increased the build size (more than 100kb) due mainly to Lodash:
Can we make the dependencies optional? Object.assign polyfill could be also optional.

Two of them were superfluous (see above commit). The others are used, aside from noop, which is the most hilarious "dependency" ever.
I'm not an npm expert, so I don't really know what you mean by making them "optional". How would I go about that?

Well, maybe "optional" is not the right term. Due the overweight of adding these dependencies I would say to rewrite where they are been used.

Sorted by asc size:
[239] ./~/lodash.rest/index.js 8.22 kB {0} [built]
[235] ./~/lodash.every/index.js 9.56 kB {0} [built]
[236] ./~/lodash.mapvalues/~/lodash.keys/index.js 11.9 kB {0} [built]
[232] ./~/lodash._baseeach/index.js 14.5 kB {0} [built]
[105] ./~/lodash._stringtopath/index.js 19.1 kB {0} [built]
[234] ./~/lodash._createwrapper/index.js 25.7 kB {0} [built]
[104] ./~/lodash._baseiteratee/index.js 54.2 kB {0} [built]
Lodash gives some abstraction and helpfull utils but I am not sure it worth the cost.

Okay. Good info. In v5, I had written mapValues myself, which is about as trivial an exercise in iteration as you can get, but I leaned on lodash to cut some corners on v6, and I thank you for speaking up about it.

So you think it will keep lodash? This library is becoming the defacto form management mechanism with React, like if React had jQuery as dependency but in this case it's like 100kb.
I don't know much of the Redux Form code, but I could try to remove that dependency.

Those kilobyte sizes you posted above are ridiculously bloated for the functionality that lodash is giving this library. They should be removed (implemented locally). Thank you for pointing this out.

I ❤ the spread operator! 😀

Great! That's an extreme usage lol

@anaibol You should know that we've gone back to lodash for some stuff. #929

Cool, I will see on the next v6 release if there is a huge weight difference xD

Check out v6.0.0-alpha.8.

Well, in fact it has increased notably (40 - 50 kb), not as much as before but well, it seems that each lodash module have strong dependence between them. Am I the only


Use Path::display() to display a path

I'm just watching part 2 of the video where you add logging, and noticed you log a path in debug format because Path doesn't implement Display. The reason is that most OSes make no guarantee that a path contains valid UTF8 characters. But you can use path.display() to convert it to a displayable value. This is super-minor, but thought I'd mention it :)
The videos are great by the way and super informative :+1:

Good point -- fixed! I did know about the UTF-8 issue, though I also know there's been some discussion about whether it's worth the inconvenience of not having impl Display for Path. Some have also suggested changes that make this more discoverable (https://github.com/rust-lang/rust/issues/38997).


Great extension!

awesome extension. How come missing from chrome web store? Google didn't like it?
many thx for making this available. MUCH NEEDED.

Well, the extension is based on the one you saw on the ghacks website, and I just worked on it enough to get it working again. I'd only want to submit it to the webstore if I felt I'd gotten it "polished" more. (which isn't a priority for me at the moment)
Thanks for the comments though!

Seems ready for prime time to me :)
I applaud your perfectionism, but it's already fantastic. Not sure what you mean by "polish", but it looks and works great!
I think many people would be very grateful for this extension, as long as it doesn't have any bugs.
Cheers!


[Feature] Add Bookshare as an external source

Problem
With priorities to add a good number of external sources to give users a variety of results from different sources.
Description
Book share is one such external source with copyright free ebooks available to anyone.
Adding Bookshare as an external source to CC search will be a good addition and will benefit our users.
Implementation

[x] I would be interested in implementing this feature.

iHello, i would like to give this a try, its similar to a task i am rounding up.

@bukolamunis thanks ma’am….I already indicated interests

@bukolamunis thanks ma’am….I already indicated my interests tho….Perhaps we can work on it together since you have shown interests too

oh my bad! i didn't know that was you stating interest,yes; i would like to work on it together, would reach out. thanks.

Can someone offer more details about Bookshare, it seems it operates more as a lending library, and is not a resoruce of CC Licensed materials in any searchable capacity?

Can someone offer more details about Bookshare, it seems it operates more as a lending library, and is not a resource of CC Licensed materials in any searchable capacity?

@dikehprosper if i may;
Although its a really good idea, it would not work as a resource to add to CC search engine for a few reasons;

when a book is searched it takes users to a signup page rather than to the book.
Bookshare is a service available only to persons with a Print Disability, either a visual impairment, learning challenge, or physical limitation that prevents them from using traditional print books.
To access books one has to provide proof of disability.
Hi @dikehprosper  what are your other options for electronic book services that don’t have copyright limit, would also research.

@bukolamunis thanks ma’am….I already indicated my interests tho….Perhaps we can work on it together since you have shown interests too

hello, what is your slack handle for communication

I'm gonna close this, but if you all find a more appropriate engine we could include in this territory you can make a new Feature Issue for it.


support partially known dates

ref #3

@ColeDCrawford I think you and I worked on the early stages of this months ago. Thought maybe you our @jdamerow could look over the more recent changes so we could get this merged.
I've added logic to track known granularity of the date with the degrees of precision that we support now, and updated string method and duration for Undate objects with partially known dates.  It occurs to me as I write this up that I didn't do anything about duration for UndateInterval — but I'm not sure there's a meaningful way to calculate it, so maybe it's just not implemented.
You'll see there are some TODOs — I think there are decisions still to be made that will be easier to make once we add support for more formats.

I've added an example notebook comparing duration calculation in undate and in my Shakespeare and Company Project based on the exported values (durations are calculated by the code), as I had proposed doing in #57
This was a helpful exercise because I found and corrected an error in the logic for dates with unknown years that wrap from one year to the next.
I also found there's a difference in logic between the two implementations, which is whether you count both the start and end date or only one of them (or half of each). It seems ok to me to leave it as is for now, but might be something that should be configurable.
You can review the notebook in this branch.

@ColeDCrawford thank you for the review and comments! Glad the notebook was helpful. I think you're right, we have at least two new issues coming out of this: how to calculate duration, how to handle missing information. I'll create them and ask for input on slack, and then I'll go ahead and merge this.


Make dosxvpn usable on linux

I stumbled upon this software and would like to use this instead of algo. Im familiar with deb based Linux versions (Ubuntu and Debian) and Windows. I would appreciate it a lot when I could use this from my Linux shell.

@anhofmann - Short answer is not right now.
Longer answer is the CLI likely works with Linux and maybe Windows, but I haven't actually tested either. What it for sure doesn't support is the auto setup of the VPN like it does on OSX. In the future, I'd like to add real support for Linux and Windows. If you wanted to test it out on Linux you could install Go (https://github.com/golang/go/wiki/Ubuntu) and do the following:
go get github.com/dan-v/dosxvpn
cd $GOPATH/src/github.com/dan-v/dosxvpn
export DIGITALOCEAN_ACCESS_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxx
go run dosxvpn.go deploy --region sfo2

Note: this will just deploy the VPN. Unfortunately I do not have any instructions on setting up strongSwan VPN client on Ubuntu.

i also want to add install on the desktop for Windows and Linux users.
On OSX it installs and works like a dream.
algo has good info on his repo.
I think we should be able to write a golang template and exec.command like exists in this repo fro the OSX to automate as much as possible.
Here are algo's notes for all clients that are well written:
https://github.com/trailofbits/algo#configure-the-vpn-clients

I've got strongswan and the network manager running but haven't been able to actually get the connection working in linux. Right now I'm getting errors building the various certificates but not sure why.

If you do figure it out, let me know. I haven't had any time to play around with it on Linux.


Rethink bridge.py

Current implementation is unable to handle multiple cars.
Every car needs a receiver UPD port on the host.

Almost done this
Only the stream display needs some more love.
See the StreamDisplayer docstring for more info!

Switched to TCP, this Issue is currently not relevant


Allow math in aggregate functions

Feature Request
Proposal: Allow simple math on fields before applying aggregate functions
Example:
> SELECT sum(valueA * valueB) as prodAB FROM input."default".measureAB where time > now() - 1h group by time(5m)

time                 prodAB
----                 ---------
2017-06-27T09:30:00Z 22

for the following input:
> SELECT valueA,valueB FROM input."default".measureAB where time > now() - 1h

time                 valueA valueB
----                 ------ ------
2017-06-27T09:28:40Z 3      4
2017-06-27T09:29:00Z 2      5

Current behavior:
> SELECT sum(valueA * valueB) as prodAB FROM input."default".measureAB where time > now() - 1h group by time(5m)
ERR: error parsing query: expected field argument in sum()
...

This is possible with subqueries at the moment. Have you tried using those?

Using subqueries may be a solution for short term. I'm currently cautious using subqueries because of issue #8528. IMHO in the long term this issue should be implemented as (according to my observations) subqueries are not that performant.


Match routes from different domains

Could be related to groups:
https://github.com/laasti/directions/issues/8
We could have special bindings for groups, like query params, domain, or prefix, or suffix.

https://github.com/laasti/directions/commit/a41dc4a7b94acbf4f8e30d24ff656ef123edebeb


Embed breaks on single widget

See http://build.holoviews.org/user_guide/Data_Pipelines.html

Appears to be fixed.


What is causing the recent downtime?

I notice that downtime has been pretty bad recently with some days being down for the whole day. Any way to help reduce this in the future?

though i cant aggregate the results of https://statuspage.freshping.io/29889-phisixapi im assuming that some of the downtimes are outside of the open market hours.


Compatibility to DoctrineMigrationsBundle

We should be sure that the doctrine cache will be flushed before the doctrine:migration:diff command of DoctrineMigrationBundle is executed.
This will help us: http://symfony.com/doc/current/components/console/events.html#the-consoleevents-command-event

@JHGitty I think it should be done not only for Redis, but also other cache clients (memcached, apcu...).
You should open an issue on DoctrineMigrationBundle repo.


gergo/noneUnits

Fix warnings about None type units being set on Base objects Add proper units enum implementation
update tests

Description & motivation

Changes:

To-do before merge:

Screenshots:

Validation of changes:

Checklist:

[ ] My pull request follows the guidelines in the Contributing guide?
[ ] My pull request does not duplicate any other open Pull Requests for the same update/change?
[ ] My commits are related to the pull request and do not amend unrelated code or documentation.
[ ] My code follows a similar style to existing code.
[ ] I have added appropriate tests.
[ ] I have updated or added relevant documentation.

References

Fixes #210


Wrong Parameters

https://github.com/epsagon/epsagon-logs-sender/blob/7dba63424570b12a13dc6cd7a1585326d362f6fe/cloudwatch_log_trigger/cloudwatch_log_sender.py#L19
If you see the parameters name, it appear that the are mixed. Id is pointing to key and key is pointing to id.

Thanks for pointing that out @barroca, We will fix it shortly


Enable option to disable/enable check for non-zero values during Bind

It would be great if it was possible to disable the non-zero check during a bind, so that we can pre-populate certain values and allow for DocOpt to over-ride when necessary.
My use case is i'm using another library to first parse environment variables, and would like program arguments to over-ride when necessary.
Maybe this logic would break other things, so if there's a better suggestion to combine Environment variables with DocOpt i'd love to hear them!

Have same issue, want to override options parsed from config. Now I have to create two structs and merge them with some additional code.
The simplest solution is probably to fork docopt.go repo and remove that check. It doesn't seems to update too often anyway.

I use a "hack" where i populate the default values before parsing, this is of course not so clean, but works great for defaults when these are OS specific
defaultConfFile := pathlib.Join(confDir, "naval.conf")

usageTemplate := `Naval
.....
Options:
  -c <path>  Config path [default: %s].
....`

usage := fmt.Sprintf(usageTemplate, defaultConfFile)

opts, err := docopt.ParseDoc(usage)
...

Interesting. Sprintf is a bit clunky though, you have to list every option you have in config struct, in correct order. This could be error-prone.

Interesting. Sprintf is a bit clunky though, you have to list every option you have in config struct, in correct order. This could be error-prone.

You could use whatever template engine you want :) But as my os specific often only is one or two Sprintf is fine.


Deadlock when jobs running on same node on ComputeCanada

A deadlock is reached when multiple jobs are submitted using sbatch from the head node in ComputeCanada (CC).
Jobs running on the same node stall even though squeue would display them as “RUNNING”.
Hence, a timeout error is raised since the synthesis process doesn’t reach completion and doesn't exit.

The root cause of the issue is still partially unclear, but it seems to be related to using the pygame.display module. When using the init method from the module, an error is raised since there are no available video devices on CC.
A handy workaround is to set the “SDL_VIDEODRIVER” environment variable to “dummy” before calling the init method. Actually, it is suggested that one does that during testing phases to avoid the overhead of updating the displayed screen.

While consulting the “Running jobs” article on the CC wiki, I stumbled across a section that mentioned that “hard-to-diagnose” problems can arise owing to jobs inheriting environment variables. This feature can lead to inconsistent states across jobs since any change to the environment variables from the head node’s shell will propagate to each submitted job.
The article then encourages one to include the “module purge” command before any “module load” command in a job script to ensure a consistent state across jobs.
Including the “module purge” immediately solved the problem for me as all jobs properly reached completion and exited.
This might be because each job isn't depending on the same "SDL_VIDEODRIVER" environment variable anymore.


Feature generate pdf

added a button in controls to display pdf representation of cards #2

@1vn This is a really good start. Other than some formatting issues, I just want to see some documentation for what some of the numbers and such mean.

I'll merge this into the pdf branch for now. I want to test it/make a few small tweaks before throwing it into master.


METRON-591: Make the website in compliance with ASF standards

It has come to my attention that the website is out of compliance in the following ways:

Our "Download" link is to the github repository releases page, which may or may not be officially apache releases (every tag and RC results in a release there). It should go to the official Apache releases website for Metron.
We are insufficiently prominent with our "Incubating" status. Really, when we refer to "Apache Metron" it should come with the parenthetical "Incubating."  It appears that this requirement is a bit fluid, so outside of the index page, just the first mention of Metron is corrected.

+1

+1


lease: remove redundant lookup methods

/cc @fanminshi @heyitsanthony

Should this patch entirely drop get and only have Lookup with the (better) code from get? It's not clear to me why get should stick around (aside from reducing some code churn in the tests).

@heyitsanthony Just dropped get method. PTAL. Thanks.

lgtm


CAB-2576: Implemented a custom-text directive

Coverage decreased (-0.4%) to 85.096% when pulling ecb8ff1f17c99205e2e6175b65d82e9bd8103a6e on feature/CAB-2576 into e33bf5e3e37da21601412d27c65af9f616d66c29 on develop.


Locking

index_directory() locks map inside every thread, so its slow. Maybe should use concurrent map.
index_images() the same problem but with DB

This is OK. Almost doesn't affect productivity


update missed dependencies for v0.9.2

Checklist

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

During the last release the updated pathlib and entrypoints dependencies weren't updated.

@conda-forge-admin, please rerender


Update the nodejs example

Added the required max_tokens parameter
Add instructions on how to use portkey locally
Printed the output to console

Motivation:

The current example didn't work

Thanks for the quick fix @hargup made one more change and pushed your suggestions to #346. Closing this PR now.


Meal features

For example:

All Organic
Mostly Organic
Pastured Eggs/Dairy/Meat
Wild-Caught Fish

Should be a setting under meals. Maybe comma delimited like extra_roles.
Originally created by Tom Smyth at 2017-07-10 16:15, migrated from redmine-#6793

Description updated (diff)

By Tom Smyth at 2018-04-21 21:53


FortData.proto field 13 is MapPokemon instead LureInfo

Coming from this issue #101

wow nice

I can't yet comment on whether it's accurate that the field is MapPokemon instead of LureInfo, but it's worth noting that it's already possible to catch Lured pokemon with the current Proto...
private static async Task CatchLuredPokemon(FortData pokeStop)
{
    var diskEncounterResponse = await _client.DiskEncounter(pokeStop.LureInfo.EncounterId, pokeStop.LureInfo.FortId);
    var catchPokemonResponse = await _client.CatchPokemon(pokeStop.LureInfo.EncounterId, pokeStop.LureInfo.FortId, pokeball);
}

You need spawn point id in order to catch a map pokemon (see: https://github.com/AeonLucid/POGOProtos/blob/master/src/POGOProtos/Networking/Requests/Messages/CatchPokemonMessage.proto)
LureInfo doesnt provide this spawn point id. Again, i have made this change with testing it and it is indeed MapPokemonProto

Check out this assembly:
// Namespace: Holoholo.Rpc
class PokemonFortProto
and take a look at:
static int ActivePokemonFieldNumber = 13;

I don't think you understand, the FortId -IS- the spawn point id. I'm not just making up this code, I'm literally using it and have been using it to get to level 30 so far.

I tested what you said, and it works too o.o

I noticed myself I needed a spawn point id while writing an auto-catch but none was supplied so just went with the fort id.
I'll merge this in once you get to removing the old FortLureInfo message ;).

I wouldn't merge, see #101

@Lennix what seems to be the problem? The internal proto says the field is MapPokemon.

Please let me know if this is still relevant.


scala.MatchError RegExp  does not catch colons in value part properly

line https://github.com/bigdatagenomics/adam/blob/b29d20480001be20e0be55e828a147b5f222ce42/adam-core/src/main/scala/org/bdgenomics/adam/util/AttributeUtils.scala#L31
with
val attrRegex = RegExp("([^:]{2,4}):([AifZHB]):([cCiIsSf]{1},)?(.*)")
does not handle properly alignmentrecords with attributes like
OQ:Z:C55/15D:::::::.7GFFAFDA442.40F=AGHHE
ie. have colons in the value part
some problematic reads are contained in gatk bundle file  CEUTrio.HiSeq.WGS.b37.NA12878.bam
scala> BamWriter.adamSAMSave( "output.bam", bam.sequences, bam.recordGroups , true, true ,false)
2016-06-30 17:01:41 ERROR Utils:95 - Aborting task
scala.MatchError: Z:C, (of class java.lang.String)
	at org.bdgenomics.adam.util.AttributeUtils$.createAttribute(AttributeUtils.scala:92)
	at org.bdgenomics.adam.util.AttributeUtils$.parseAttribute(AttributeUtils.scala:74)
	at org.bdgenomics.adam.util.AttributeUtils$$anonfun$parseAttributes$2.apply(AttributeUtils.scala:61)

Thanks for reporting this @pauca! We will look into this in the next week. We have some separate logic to extract the OQ field, and I think this isn't getting handled properly.


feat(Menu): Make Submenu open state controlled

This PR aims make submenu open  state controlled, thus to bring the flexibility of using submenu and rewrite default behavior.

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS


Use info instead of debug for verbose

I think that debug is a bit too much for when you're asking for verbose at Fastlane level
I also made it uppercase, because that's what the CLI recommends:
 ~/d/p/o/r/fastlane-plugin-sentry   master  sentry-cli --help                                                                                245ms  Mon 15 May 16:25:14 2017
sentry-cli 1.9.1

Command line utility for Sentry.

This tool helps you managing remote resources on a Sentry server like
sourcemaps, debug symbols, releases or similar.  Use `--help` on the
subcommands to learn more about them.

USAGE:
    sentry-cli <SUBCOMMAND>

OPTIONS:
        --api-key <API_KEY>          The sentry API key to use
        --auth-token <AUTH_TOKEN>    The sentry auth token to use
    -h, --help                       Prints help information
        --log-level <LOG_LEVEL>      The log level for sentry-cli
                                     (valid levels: TRACE, DEBUG, INFO, WARN, ERROR)
        --url <URL>                  The sentry API URL
                                     defaults to https://sentry.io/
    -V, --version                    Prints version information

Hey,
I agree to tune the "default" down.
We mainly added this because at some point we wanted to have the output.
We probably add a separate parameter in the future to fine tune the log-level.

Cool! 👍


fix(utils) accept hosts ending in dots

According to RFC 3986 - section 3.2.2 hosts can end in dots
Kong/lua-resty-dns-client#122 is a sister PR and this one should not be merged before the lua-resty-dns-client release with that fix included.

imo, the lib only had a bugfix, so master should be fine as well, no?


Stop adding org.slf4j:slf4j-nop:1.7.12 to war when slf4j-api is prese…

…nt but impls are seemingly missing in deps.  Fixed #394.
Instead the build now logs a warning:

Configure project :
Found slf4j-api dependency but no providers were found.  Did you mean to add slf4j-simple? See https://www.slf4j.org/codes.html#noProviders .

@henrik242 would you be able to review this per issue #394 ?


Time step consistency between ramping rates and time series

@jd-lara  now that I'm digging into this, I'm not sure why we're doing it. Specifically, what are we trying to accomplish? Basically, I'm having trouble understanding what to do if, for example, a generator can ramp it's entire nameplate capacity in less than the shortest time step in the dataset. Should we just make warnings? I don't think it's appropriate to throw errors or restrict behavior in PowerSimulations...

we should make warnings but the check is if the time-step in the time-series data i.e., 1-hour, 5-minutes. etc is consistent with the ramp-rate limits and the time-values. For instance, a generator with a ramp limit of 1 MW/hr is equivalent to 0.0833 MW/5-min. We need to make sure the delta units of time are consistent with the data when constructing a Power System.
@sourabhdalvi made a very similar check with the line limits and it is executed when constructing the powersystem.


Why use outdated tdlib?

Hi!
Thank you for great crate!
Looks like we wrongly understand tglib releases.

The Bad news:
The 1.8.0 is NOT CURRENT version.
It is outdated, bugged and not updated around a year.
Current stable and updated Tglib release is 1.8.9
So 1.8.0 has been outdated 9 versions back.
It is like using Windows 8 when all other use Windows 11.
Yes tdlib has had too many changes, but I think just now they are growing  fast.
The Good news:
Breaking changes are less frequent, only commits with "Update layer to 137" for example.
So I am afraid, you mission of fixing memory bugs like libtdjson Memory Leak as well as any other bugs, has no point.
Because the current tdlib was updated  many times and that has already repaired many different bugs.
So looks like it is better to use your great efforts for updating rust-tdlib to the current version of tdlib.

The good news:
I appreciate your attention very much.
The bad news:
It's better for you to know that I don't use the project currently at all so all the updates may be done if someone asks for them.
Considering your requests I plan to make requested changes as fast as it possible.
Hope to see a more polite and proper message when it's done.


Add the ability to use Username/Password as authentication method

The task currently authenticates to a Git repository by using a PAT token. Adding in an option to authenticate via a Username/Password would expand the options for users to interact with their Git repositories and provide a more robust experience.
As discovered in issue #6 , there may be an underlying issue outside of the task that restricts users to authenticating via a username/password instead of a PAT token. While a workaround exists by putting the "username:password" in the PAT token field, this is not ideal because of the mismatch of label and value within the task.

Btw @traviskosarek looking back at this (a few years on :smile:), is there any reason this couldn't be sufficiently resolved by just renaming the input names and labels on the input (to cover both yaml and visual designer pipelines) with some accompanying minor enhancements to documentation?


Disney's Epic Mickey 2: The Power of Two [PCSA00110]

App summary

App name: Disney Epic Mickey 2
App serial: PCSA00110
App version: 1.00

Vita3K summary

Version: v<IP_ADDRESS>33
Build number: [?](https://github.com/vita3k/vita3k/commit/fa90e66b
CPU backend: Dynarmic
GPU backend: Both Tested

Test environment summary

Tested by: ?
OS: Windows 10/macOS/Linux Distro, Kernel Version?
CPU: AMD Ryzen 5 3400G
GPU: AMD Radeon Vega 11
RAM: 16 GB

Issues

Game doesn't load at all
Screenshots
Vulkan

OpenGL

Log
vita3k.log
Recommended labels

Nothing

Fixed the log

Log with Unicorn instead of Dynarmic
vita3k.log

Ingame now.
This game suffers from random crashes, graphical issues, missing audio, repeating audio.
Crash entering the first painting seems to be an auto save issue, after a restart, it's possible to progress further.
[write_file]: sceAppUtilSaveDataDataSave: Writing to fd: 0xa4, size: 844
|T| [close_file]: sceAppUtilSaveDataDataSave: Closing file fd: 0xa4
|C| [logging::exception_handler]: Exception EXCEPTION_ACCESS_VIOLATION (0xc0000005).
|C| [logging::exception_handler]: Read violation at address 0x100000078.
vita3k.log
https://www.youtube.com/watch?v=RT8fp3W9Kps

The game no longer has audio bugs and it doesn't crash when entering the first painting.


Bundle mat file missing

Hi,  Thanks for making the project available.   I'm trying to run your demo_kitti.m.  At one point it tries to load the file 'bundle_loc_viso_testing.mat'.  However, I was not able to locate that file in any of the downloaded content from Kitti or the kitti_2012_mv_cm-cnn.zip.  Can you provide a link to this .mat file so the demo script will run to completion?

Thank you for your interest in our work and for pointing out this bug. The pre-computed KITTI 2012 localization files are now available in the data folder.

Thanks


Implement iterator to handle large amount or rows

[ ] better-sqlite3
[ ] bun-sqlite
[ ] d1
[ ] libsql
[x] mysql2
[ ] neon-serverless
[ ] node-postgres
[ ] planetscale-serverless
[ ] postgres-js
[ ] sql-js
[ ] sqlite-proxy

Any ETA on adding this to postgres?

This seems very useful for v1

I built a pretty straightforward higher-order implementation of result streaming with the postgres-js driver.
Posting this here so people can use it while waiting for native .iterator() support. Maybe this can even help someone put up a PR? I'm too unfamiliar with drizzle internals to add it myself.
import { PgSelect } from 'drizzle-orm/pg-core'
import postgres from 'postgres'

/** Allow using a drizzle query with postgres.js' cursor-based AsyncIterator. To
 * be removed once postgres iterator is added to drizzle
 * https://github.com/drizzle-team/drizzle-orm/issues/456
 *
 * @example
 * const streamQuery = createPostgresDrizzleStreamer(postgresClient)
 * const documentsReader = streamQuery(db.select().from(documents).$dynamic(), 2000)
 * for await (const documentsChunk of documentsReader) {}
 */
export function createPostgresDrizzleStreamer(postgresClient: postgres.Sql) {
  return async function* streamQuery<
    Qb extends PgSelect,
    Result extends Qb['_']['result'][number],
  >(qb: Qb, chunkSize?: number): AsyncGenerator<Result[]> {
    const q = qb.toSQL()
    const chunkReader = postgresClient
      .unsafe<Result[]>(
        q.sql,
        q.params as Parameters<typeof postgresClient.unsafe>[1],
      )
      .cursor(chunkSize)

    for await (const chunk of chunkReader) {
      yield chunk.map((result) => {
        return Object.fromEntries(
          Object.entries(result).map(([k, v]) => {
            const col = qb._.selectedFields[k]
            if (col === undefined) {
              throw new Error(`col ${k} does not exist in schema`)
            }
            return [k, col.mapFromDriverValue(v)] as const
          }),
        ) as Result
      })
    }
  }
}

Please implement iterator not only db.select.from(table).iterator() also to db.query.table.findMany().

Since this issue is quite old, I'll update the status of this feature:
MySQL

[x] mysql2

planetscale and tidb don't support streaming.
Postgres

[ ] pg - Requires package pg-cursor
[ ] postgres - Built in cursor API
[ ] neon-websockets - Since it's pg based, it might support it, but there's no official resource on streaming or a cursor API.
[ ] vercel-postgres - Same comment as neon-websockets.

neon-http, xata, pglite and aws-data-api don't have any docs about streaming data.
SQLite

[ ] expo-sqlite - Has getEachAsync method.
[ ] bun-sqlite - Built in iterate method.

op-sqlite, turso and d1 don't have any docs about streaming.

@christophemarois Hey, first of thanks so much for your example implementation!
I'm curious whether you managed to use this for more complex queries fed into it as well? I'm getting things like "Can't find mapFromDriverValue on undefined" etc. when using subselects and sql`` operations.
@L-Mario564 Do you happen to have a rough idea whether this is something we can hope to see land in drizzle postgres soon? Thank you!

@L-Mario564 Do you happen to have a rough idea whether this is something we can hope to see land in drizzle postgres soon? Thank you!

Currently, this is not that high of a priority, but it will be done at some point. Not much else I can say at the moment.

Been hacking away all day with pg-cursor trying to get the column mapping working when I figured why not just use drizzle and cursor pagination... I got to this point, it seems to work fine but you need to make sure the column you're using as a cursor is at the lowest level in your object.
export async function* createPostgresDrizzleStreamer<
  OrderColumn extends PgColumn,
  Query extends PgSelect,
  Result = Query["_"]["result"][number],
>(
  col: OrderColumn,
  query: Query,
  fetchBatchSize: number = 50
): AsyncGenerator<Result> {
  let rows: object[];
  let lastSeenOrderCol: unknown;
  let fetchedChunks = 0;
  do {
    const r = await query
      .orderBy(asc(col))
      .where(...[lastSeenOrderCol ? gt(col, lastSeenOrderCol) : undefined])
      .limit(fetchBatchSize);
    for (const row of r) yield row as Result;
    lastSeenOrderCol = r[r.length - 1]?.[col.name];
    rows = r;
    fetchedChunks++;
  } while (rows.length > 0);
}

Maybe someone who knows drizzle internals could say if this is decent start?

pg alternative to @christophemarois 's code, also works with mapped columns.
I have not tested it heavily, but for the time being this is what i'm using in my codebase.
/*
 * @example
 * const documentsReader = createPostgresDrizzleStreamer(db.select().from(documents).$dynamic(), 2000)
 * for await (const documentsChunk of documentsReader) {}
 */
export async function* createPostgresDrizzleStreamer<
  Q extends PgSelect,
  R = Q["_"]["result"][number],
>(qb: Q, fetchBatchSize: number = 50): AsyncGenerator<R> {
  let rows: string[][];
  const { sql, params } = qb.toSQL();
  using c = await dbConnectionWithCleanup();
  const chunkReader = c.connection.query(
    new Cursor(sql, params, { rowMode: "array" })
  );
  try {
    while (true) {
      rows = await chunkReader.read(fetchBatchSize);
      if (rows.length === 0) break;
      for (const row of rows) {
        yield Object.fromEntries(
          Object.keys(qb._.selectedFields).map((schemaKey, index) => [
            schemaKey,
            row[index],
          ])
        ) as R;
      }
    }
  } finally {
    await chunkReader.close();
  }
}

chatgpt hallucinated this API for me, but I kind of like it
    const stream = (db
      .select({
        id: tbl.DDUser.id,
        clerkUserId: tbl.DDUser.clerkUserId,
      })
      .from(tbl.DDUser))
      .stream();   // fake api

    for await (const user of stream) {
      // ...
    }

following because I want this feature...for Postgres...


Issue when reprojecting the geometry

Hello,
the data in my PostGIS db is in EPSG:3765 (geometry field is "geom"). I'm using tegola to serve vector tiles but I want to reproject the data to 4326 (or 3857). This is my tegola config:
[webserver]
port = ":${TEGOLA_PORT}"
hostname = "${TEGOLA_HOSTNAME}"

[webserver.headers]
Access-Control-Allow-Origin = "*"
Cache-Control = "s-maxage=3600"

[cache]
type = "redis"
address = "${TEGOLA_REDIS_HOST}:${TEGOLA_REDIS_PORT}"
password = ""
ttl = 10
max_zoom = 18
ssl = "false"
db = 1

[[providers]]
name = "test"
type = "mvt_postgis"
uri = "postgres://${TEGOLA_DB_USER}:${TEGOLA_DB_PASSWORD}@${TEGOLA_DB_HOST}:${TEGOLA_DB_PORT}/${TEGOLA_DB_NAME}?sslmode=disable" # PostGIS connection string (required)
srid = 4326  # Should it be 4326 or 3765? I tried both but it doesn't make a difference.

[[providers.layers]]
  name = "test_layer"
  geometry_fieldname = "geom"
  geometry_type="polygon"
  id_fieldname = "id"
  sql = "SELECT ST_AsMVTGeom(ST_TRANSFORM(geom, 4326), !BBOX!) AS geom, id, naziv FROM test_table WHERE geom && !BBOX!"

[[maps]]
name = "test_map"
center = [16.5166646, 43.7333304, 12.0]
  [[maps.layers]]
  provider_layer = "test.test_layer"
  min_zoom = 1
  max_zoom = 20

With this configuration, the tiles are empty. I tried different solutions (reprojecting to 3857, different geometry alias in query, transforming the bbox and so on) but nothing works. What is the proper way and best practice to do the reprojection and make tegola aware of it? I'm running tegola v0.16.0.

Ok, I was missing the transform of the geom or bbox in the conditional clause.
  [[providers.layers]]
  name = "test_layer"
  geometry_fieldname = "geom"
  geometry_type="polygon"
  id_fieldname = "id"
  sql = "SELECT ST_AsMVTGeom(ST_Transform(geom, 4326),!BBOX!) AS geom, id  FROM test_table WHERE geom && ST_Transform(!BBOX!,3765)"


WE_ItemBox is unusable, making mod unusable

http://prntscr.com/cf1f8y The itembox(gotten through crafting- the one that you spawn isn't working either. ) can't be used- I try to use it, but it doesn't give me anything.  Possibly a bug due to it being sorted to that menu in the inventory? I'm unsure.

The item tab used is intentional; I found it the least intrusive tab for a bunch of items to be added to.
To get the items, make sure you have the dash tech activated on your character and that you are using the item outside of your inventory. The easiest way to do the latter is to drag the item on your hotbar, then using the item from there.
Make sure you don't have any other mods installed that might modify the dash tech, since they might be overwriting certain parts of this mod.

Closed as no status update was given. Assuming user error was made, as the issue could not be recreated after setting everything up.


The port server of the tests isn't starting on a Mac

Trying to run the tests fails after building:
jcanizales-macbookpro:grpc jcanizales$ ./tools/run_tests/run_tests.py -t -l objc
START: make
PASSED: make [time=11.9sec]
START: src/objective-c/tests/build_tests.sh
PASSED: src/objective-c/tests/build_tests.sh [time=33.2sec]
waiting for port_server
waiting for port_server
waiting for port_server
waiting for port_server
waiting for port_server
waiting for port_server
waiting for port_server
waiting for port_server
waiting for port_server
waiting for port_server
waiting for port_server
port_server failed to start
jcanizales-macbookpro:grpc jcanizales$

Same with other languages like C++

Can you attach portlog.txt from the root of the repo? At least the end of
it.
On Thu, Sep 17, 2015, 4:21 PM Jorge Canizales<EMAIL_ADDRESS>wrote:

Trying to run the tests fails after building:
jcanizales-macbookpro:grpc jcanizales$ ./tools/run_tests/run_tests.py -t -l objc
START: make
PASSED: make [time=11.9sec]
START: src/objective-c/tests/build_tests.sh
PASSED: src/objective-c/tests/build_tests.sh [time=33.2sec]
waiting for port_server
waiting for port_server
waiting for port_server
waiting for port_server
waiting for port_server
waiting for port_server
waiting for port_server
waiting for port_server
waiting for port_server
waiting for port_server
waiting for port_server
port_server failed to start
jcanizales-macbookpro:grpc jcanizales$
Same with other languages like C++
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/3369.

Traceback (most recent call last):
  File "tools/run_tests/port_server.py", line 40, in <module>
    import yaml
ImportError: No module named yaml

lol
Let me install it. Good to know about portlog.txt!

Yup, that was it! Thanks for the pointer!


📝 DOCS: set fix font-size to adjust text to box

It is my first open-source contribution, so, I apologize in advance if some procedure is not accurate

Detailed change description
Type of change
📝 Documentation
Background
I have accessed the documentation to fix a redirection problem I was experiencing. The documentation was very helpful, but when I read it, I realised that the text in a mermaid graphic did not fit.
Preview (current view)

Change/Proposal
Add a fixed font-size to mermaid text to adjust to box margins
New view
I have tested in several screen resolutions (27'' LG, MacBook Air 13.3''), and now it looks:

Hope it can be useful!

📝 Docs preview for commit d6478ef at: https://62ac2706ce19d416bf369a60--fastapi.netlify.app

More specifically
https://62ac2706ce19d416bf369a60--fastapi.netlify.app/advanced/behind-a-proxy/


timeout

Is there a way to set the timeout for the request?

Hi @chovy , yes there is. Please have a look at the Request documentation. You can use the timeout option.

Hi @chovy did my answer help?  If you are fine I would close this issue.

Yes. Thank you.


return a sendActivity() from a dialog

Versions
BotBuilder 4.2.0
Describe the bug
In Type Script, we cannot return a step.context.sendActivity('...') due to an invalid return type.
Specifically, sendActivity returns a Promise where a Promise<DialogTurnResult> is expected.
To Reproduce
Within a Dialog, such as a WaterfallDialog, the functions are expected to return a Promise. Ending the function with:
return step.context.sendActivity('...')
causes type errors.
To get around this, we have to call the sendActivity and then call step.next() or step.endDialog() instead.
await step.context.sendActivity('...'); return step.next();
Expected behavior
Multiple JavaScript examples return functions within dialogs with a message through sendActivity. However, in TypeScript, this is causes a type mismatch.
We would expect to also be able to return a dialog by sending a message in TypeScript the same way you can in JavaScript, rather than having to explicitly call step.next(), step.endDialog(), step.beginDialog() etc.
Additional context
If there is a logical reason to not end dialogs with a sendActivity, it would make sense for the return type to not match. However, this is not documented, and should be made clear to TypeScript users that dialogs needed to return a Promise<DialogTurnResult> through step.next(), step.endDialog(), step.beginDialog(), etc.
[bug]

I ran into the same issue in JS. Returning Dialog.EndOfTurn (which is what step.prompt() returns) seems to work, but this isn't documented and I don't know whether it will cause unexpected behaviors deeper in the dialogs library.

The signature for the DialogTurnResult includes result?: T;. Why isn't this acceptable?
const result: <Promise<ResourceResponse>> = step.context.sendActivity('...');
return {
  status: DialogTurnStatus.complete,
  result
} as DialogTurnResult<<Promise<ResourceResponse>>>;

This should satisfy the typing and allow the promise from step.context.sendActivity() to be awaited on at some point later

Another example of an error in TypeScript when doing a return step.context.sendActivity('...')

Still am unable to successfully return step.context.sendActivity('...') in typescript

The idea is that the canonical Waterfall is a chain of Prompts. The step of the Waterfall being offset from the prompting behavior in the sense that you start a Prompt from one step and then receive the response in the following step. The progress through the series of Prompts reflects a series of exchanges question/answer style with the user.
Using the Send function, you are quite free to send a message to the user outside of any Prompt. However you are doing that outside of the notion of an exchange with the user, specifically, you are not waiting on a response from the user, that is you are outside of the notion of a series of Prompts. So in this case the progress through the Waterfall is designed to be explicit precisely because this behavior is not the typical behavior. Its absolutely possible to have a Waterfall cascade from one step to the next but its an odd thing to do so the framework makes you work for that: use the next function.
Consider this: you could for example, have a Send call followed by another Send and then followed by a Prompt. The Prompt is always the last line of the implementation of a Waterfall step. This type system is helping you to remember that that's the typical structure. The typing is exactly the same in the C# implementation and in the JavaScript the idea is no different either, you're just not getting the compile warning.
Hopefully that makes sense.

Another example of an error in TypeScript when doing a return step.context.sendActivity('...')

Still am unable to successfully return step.context.sendActivity('...') in typescript

Hi TobiahZ, are you able to combine the QnA Maker inside a waterfall dialog?
I'm having an error when I put the QnAMaker.getAnswers inside a waterfall dialog,  here's the error:

Is there someone already done this before?
Thanks in advance

@brynetwork That question is both off topic to this discussion and also doesn't contain nearly enough information. You can definitely use QnA Maker inside of a waterfall, but why you have a type error could be any number of reasons.


Timeline (illustrative list)

What
Use this issue to discuss the NHS App timeline component.

Journeys used on

Request repeat prescription
Waiting times

Related
GOV.UK Design System discussion

Some more examples of timeline components out there.
Trainline

CityMapper

DHL

Amazon

Ikea

TFL Go

Prescription and medicines team use this component to inform user the stages their medicine will go through before it reaches them

Collection of assorted information pertaining to Timeline Component
Insights:
[Kainos] Participants think of their appointments and healthcare in the immediate sense, “what is the next step and when will that be”. Hence a visual timeline component was used.
[Kainos] All users understood where they were and found the timeline useful, and also correctly identified what the dates were referring to
[Kainos] Participants likened the visual to amazon deliveries and found it easy to identify where they were and what was next in the journey
[Compass] The page was deemed to be particularly text heavy. Having the visual graphic helped to break this up and provide additional context through a means separate from text content.
/
Quotes:
"Having the visual really helps"
"Having a visual puts a map in your mind that it's coming up. Be less prone to forget about it."
"It's reassuring, even if it's a rough month. Nice to know."
"I'd like to see all my appointments on my timeline, even if they had been cancelled"
/
Pain points since identified:
[Compass] Participants expect the graphic to be dynamic; moving along and changing as they progress through the presented pathway. The timeline is static and generic, and so this does not meet user expectations.

Design update

HTML prototype (u: nhs / p: redesign)
Design decisions
We have reduced the variations of the nodes on the timeline.

By having two variations of node, and two variations for line, we have reduced the cognitive load on users when trying to understand the component
This should make the timeline, and therefore the information it represents, easier to interpret

We have identified two different uses in which our interaction designers use this component.

Some use cases have the timeline component used as a visual list, using the nodes to depict next steps in a static component.
Other use cases utilise the component as a progress indicator, making the nodes and corresponding lines blue to display current status and progress made.
Both examples of usage are valid forms of interpreting the Timeline component.

Research questions

Do users understand where they currently are in the timeline?

The contrast ratio between the timelines's grey line and page background colour is 1.84:1. The timeline is not interactive so it technically doesn't need to meet the 3:1. We need to test it with users with visual impairments.

Note: The current design is overriding heading styles (changing font weight to normal with only the current item being in bold)... is this ok?

Is it possible that users might think there's a correlation between the amount of space between nodes, and the relative amount of time that step will take?
So for example, in the attached example, there is more space between 'Pharmacy processing' and 'Collect' than there is between 'GP approval process' and 'Pharmacy processing' because of the extra line of body text. That could be seen as representing a greater length of time.
This might just be something that we want to include in our guidance, as a possible perception to be aware of and to test for?

Quick question just to check my understanding - is the content in the screenshot included on your comment above @Graham-Pembrey the actual content a user would see? To me it looks like a user would see 'Awaiting approval' OR 'Rejected' not both simultaneously? Same for the content under 'Pharmacy processing'.

Yes really good point @jjulier and something I had overlooked. I think you're right: for the example I shared, in actual usage, users would actually only see one of the pieces of body text beneath the headings. That would make the line length more consistent. It might just be something for teams to consider if one stage in the process has more body content than others.

The team working on 'Apply for proxy access' tested a timeline on a confirmation page...

As part of their work on a new prescription journey the team ran some usability testing with people who had access needs but did not use assistive technology. The testing included this confirmation page which included a timeline page and card link in the ‘What to do next’ section.

Across the 5 research sessions:

participants weren’t always confident they’d completed the task
at times they felt that it was difficult to interpret the timeline and they were confused about whether they were supposed to be coming back here to check progress of their medicines
the idea that a request could be rejected introduced some nervousness and raised questions for participants

Related quotes:
‘Maybe just have a done section, this box is a little confusing, is there another step? Just something that clearly says it’s done’
‘I think actually because this dot is filled that means it’s done, and because this is empty it means it’s not done, but technically that’s incorrect because I’m currently waiting for approval so it’s not been complete’
‘Why wouldn’t the GP contact you? It should say your GP will contact you, because they have rejected they need to give a reason’
‘It says wait for approval but then there’s that button to check if it’s been approved, so do I wait or do I check, and if I wait how long do I wait? I don’t think I’d know what to do with this. I think I would just sit and watch this.
Reflection:
The purpose of a confirmation page is to reassure users they’ve completed a transaction. In this case, the inclusion of a timeline and card link components in combination with the content used within them, meant the page no longer met that primary need, and instead raised doubts and questions for users.

The Health Choices and Prevention team completed a round of moderated usability testing, using prototype and semi-structured interviews in Aug 2024. One of their objectives was to evaluate screening feature designs by gathering feedback from users to investigate pain points. Participants were shown 2 slightly different screens as the team wanted to test how the timeline was perceived in this context.
Key findings:
Most users preferred the inset text over the timeline
• Only 1/5 users preferred the timeline view whilst 4/5 preferred the text version only stating the date their next screening invitation was due
• Users thought the text rather than the timeline was simpler and the date of their next screening invitation was clearer, which was important information
• They felt the timeline repeated information by restating when their last screening was despite this information already being visible within their records
Some users liked the age specific text informing users of eligibility
• 2/5 users liked the text in the timeline which referred to people over 71 years can still request a screening through
their GP, but the date given in the app timeline won’t necessarily be the date of their next screening. 1 of these
users wanted the age specific info included in the inset text of the most preferred version.
Users preferred expanders for more complex information
• For displaying results or if there were details, users preferred expanders because they could hide record information if they were showing their record to others
• Most users preferred the expanders for their screening record if there was more details such as results or additional screening information (6/6 users)
• They felt the design was cleaner and simpler if they had lengthy screening records
• For information such as date and location some users felt expanders were not required as only date and location
would be visible
Quotes:
“page is more simple, don't need the last one, more important when next screening is”
"Want information on what age cutoffs are important e.g. at 80, less important
to get screened"
Reflection:
The team has recommended to remove the timeline component from their journey. As in this context the information felt repetitive to participants, and found the expanders easier to use. With the timeline component, there seem to have been more content/text added onto the page, which cause the message to be unclear and slightly harder to digest. The 2 main points that were important to participants was the date and the age cut-off, which seem to be better presented in an inset text.

The proxy team have completed a round of moderated and several rounds of unmoderated testing over July and August.
These tests included a timeline shown when people submit their application to give or get access to someone else’s medical services through the app. We needed to effectively communicate that the information submitted is reviewed by the GP surgery before approval is granted.
During the moderated usability testing of our html prototype, we found that people attempted to interact with the timeline, mistaking the dots for radio buttons.

To address this issue we tried adding a complete step to the top of the timeline showing that the user had submitted their initial application that day. We then carried out the unmoderated testing using a Figma prototype type that included both the complete first step and the latest version of the timeline where the dots are smaller.

There were no reports of participants attempting to interact with or select a timeline step during these rounds of testing. Participants were also more likely to comment on the usefulness of the timeline.

Rationale & guidance migrated from the NHS App Figma file

Great point @vickytnz we should look at changing the name of it.


Streaming Issues

Sometimes, if the response object is not send back, the context is not displayed correctly (just parts of it are displayed as pure text).
Also, the response is often missing parts of the response. The logs are showing that certain yields are either not being sent to the frontend, or the frontend is not processing them correctly.

Need better logs in the lambs function too.

This should be solved, will re-open if I see any issues.


[feat] - add cronjob for creating aws snapshots

Hi @witnsby,
Please take a look on the PR, especially on the modules variable section.
What was done:

added snapshots logic to the module cronjob_aws_snapshots_managment
added volume_snapshot_class as separate thing, 'cause it is creating one time for cluster
rewritten deleter logic - now it is bash script with logs
added watch verb for role, because I've faced vendor/k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *unstructured.Unstructured: unknown error

Eager for your review!
Note: right now it is running only against 1G test pvc, I want to discuss how many snapshots we will keep and how often we will do them.
After this I'll enabled volume snapshots for all needed pv claims in dev/mainnet.

Added mainnet job

I haven't apply this to prod yet because to redeployment of aws_api_gateway_deployment for some reason

Applied to the mainnet - @ArseniiPetrovich, please review and approve it, thanks!


Updating to the 4.5.1 is causing an error

[x] I've read, understood, and done my best to follow the *CONTRIBUTING guidelines.

What did you do? I updated my cocoapods and inside the terminal I could see that, the Alamofire gets updated from 4.5.0 to 4.5.1
What did you expect to happen?
It should run as it was previously.
What happened instead?
It's giving me an error.
Value of type 'String.SubSequence' (aka 'Substring') has no member 'components'
Alamofire Environment
Alamofire version: 4.5.1
Xcode version: 9.0.4
Swift version: 3.2
Platform(s) running Alamofire: iOS 9.0
macOS version running Xcode: 10.12.4
Attached Screenshot:

The latest version of Alamofire is 4.5.0,Why you use 4.5.1.As I know ,the Version of Xcode is 9.0....You should read the what's new in Swift4.0 and then try to modify it .

Please update your Xcode to 9.0 not beta version.

It's updated by mistake as I run pod update @MarcSteven
@linqingmo, Yes I will do in next week for sure.

If you've been working with a beta release of Xcode, remember to switch back to /Applications/Xcode.app vs /Applications/Xcode-beta.app (I forgot to do this with xcode-select and while running carthage update kept getting this error).

4.5.1 only supports Xcode 9 beta 6 and above.

@jshier Thanks!


Increase targetSdk

Just got an email from Google, I forgot about this app:

Starting Nov 1, 2022, apps that don't target an API level within 2 years of the latest Android release (API 29 and below) won't be available to new users with devices running Android versions newer than your app's target API level. This means that new users won't be able to discover or install your app on Google Play.
Actions:
We recommend you target Android API 31 or above so that your app continues to reach all Google Play users. For technical guidance, refer to this migration guide.
If you don't plan to migrate the app, you don't need to do anything. However, new users will not be able to discover or install your app.
To learn more, and to request a 6-month deadline extension, select View details below.

Do you estimate it will be complex to upgrade? I could look at it, but because I am not super well versed in android things idk how irritating an upgrade would be.

With some luck it's just increasing the number in
https://github.com/TheLastProject/ShareToInputStick/blob/b1c15e349cae9ee3084ab0339e94d209f3467332/app/build.gradle#L15
And some testing to make sure everything works.
I just haven't gotten to it yet :)

I think I've got that in me. Wrestling with android studio comes next. Thanks :)

Should be fixed in ce0560f20a07e6dfffb62cc2906d36f2be691fce, was more complex than expected because half of everything was deprecated again.

You're awesome, thank you :)


[WIP]speed up the decimal validation and add benchmark test

Which issue does this PR close?

Closes https://github.com/apache/arrow-rs/issues/2320
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@alamb @viirya @tustvold  This is just a drat pr for bench my thoughts brought in https://github.com/apache/arrow-rs/issues/2320

I just add benchmark for validation for decimal128array. Got the result below:
validate_decimal128_array_slow 20000
                        time:   [125.08 us 125.62 us 126.22 us]
                        change: [-7.0125% -6.4283% -5.8267%] (p = 0.00 < 0.05)
                        Performance has improved.

validate_decimal128_array_fast 20000
                        time:   [107.54 us 107.72 us 107.88 us]
                        change: [-13.320% -13.002% -12.692%] (p = 0.00 < 0.05)
                        Performance has improved.

From the current code, there is a 10~20% performance improvement.

I guess that we can get more improvement for decimal256array type

Hi @liukun4515  -- I don't fully understand this approach for validating Decimal values though I have not studied it as carefully as I would like to. Most other arrays have two paths:

Create from known good data (used in Builders where each individual value was validated individually) -- ArrayData::new_unchecked typically
Create from an array of arbitrary user input and then do a vectorized validation (ArrayData::validate)

Since this PR seems to do something else a bit different I need to think about it some more, but I don't think I'll have time until later this week or this weekend to do so (I got caught up in https://github.com/apache/arrow-rs/pull/2369 for longer than I expected and now I am behind in some other areas)
It sounds like @tustvold  has some thoughts about the "big picture" of Decimal in general so perhaps that will help

Possibly also related: https://github.com/apache/arrow-rs/issues/2362

refactor the validation for decimal256 @viirya
validate_decimal256_array_slow 2000
                        time:   [160.63 ms 161.90 ms 163.14 ms]
                        change: [-27.571% -25.268% -23.024%] (p = 0.00 < 0.05)
                        Performance has improved.

validate_decimal256_array_fast 2000                                                                             ^@
                        time:   [3.0104 ms 3.0427 ms 3.0766 ms]

You can get the benchmark code in the decimal_validate.rs file.

I will try to replace the validation base on the i128 or str to byte_array. @alamb @viirya @tustvold

As this is a large change and improvement, I expect a design doc (or add a simple example in the code) to explain your method to other users and developers.

refactor the validation for decimal256 @viirya
almost 50x faster than before. You can get the benchmark code in the decimal_validate.rs file.

Yea, I think for 256-bit decimal, current value validation is somehow inefficient. Comparing directly on bytes should be more efficient on 256-bit decimal. For 128-bit, I think that it won't be too much different than i128 comparison, maybe some marginal number.

Yea, I think for 256-bit decimal, current value validation is somehow inefficient. Comparing directly on bytes should be more efficient on 256-bit decimal. For 128-bit, I think that it won't be too much different than i128 comparison, maybe some marginal number.

Another benefit we could get from this is that we can make the fn validate_decimal_precision more general.
Currently, I put this function in Decimal128Array and Decimal256Array but not ``DecimalArray<BYTE_WIDTH>because they use differentvalidate_decimal_precision` functions and have different APIs: https://github.com/apache/arrow-rs/blob/master/arrow/src/array/array_decimal.rs#L276-L283

refactor the validation for decimal256 @viirya
almost 50x faster than before. You can get the benchmark code in the decimal_validate.rs file.

Yea, I think for 256-bit decimal, current value validation is somehow inefficient. Comparing directly on bytes should be more efficient on 256-bit decimal. For 128-bit, I think that it won't be too much different than i128 comparison, maybe some marginal number.

agree with your thought about 128-bit, but you miss a point.
When we validate the decimal128array with 128-bit/i128, we should convert the [u8;16] to i128 first with the structdecimal128. This will cause some unnecessary overhea.

There are some conflict, I will resolve the conflict.

refactor the validation for decimal256 @viirya
almost 50x faster than before. You can get the benchmark code in the decimal_validate.rs file.

Yea, I think for 256-bit decimal, current value validation is somehow inefficient. Comparing directly on bytes should be more efficient on 256-bit decimal. For 128-bit, I think that it won't be too much different than i128 comparison, maybe some marginal number.

agree with your thought about 128-bit, but you miss a point. When we validate the decimal128array with 128-bit/i128, we should convert the [u8;16] to i128 first with the structdecimal128. This will cause some unnecessary overhead.
@HaoYang670 @viirya I think this can explains why the validation of decimal128array got the performance improvement

I add some benchmarks for above explanation.
Got the result:
validate_decimal128_bytes 2000
                        time:   [46.438 us 46.965 us 47.578 us]
Found 7 outliers among 100 measurements (7.00%)
  5 (5.00%) high mild
  2 (2.00%) high severe

validate_decimal128_i128 2000
                        time:   [69.251 us 69.591 us 69.959 us]
Found 6 outliers among 100 measurements (6.00%)
  1 (1.00%) low mild
  4 (4.00%) high mild
  1 (1.00%) high severe

The performance using the bytes is better.

For 128-bit, I think that it won't be too much different than i128 comparison, maybe some marginal number.

@HaoYang670 @viirya  I find some wired things about decimal128/i128, So I remove the refactor of decimal128 and just left decimal256.
PTAL

I find some wired things about decimal128/i128, So I remove the refactor of decimal128 and just left decimal256. PTAL

What's weird thing did you meet? @liukun4515

I find some wired things about decimal128/i128, So I remove the refactor of decimal128 and just left decimal256. PTAL

What's weird thing did you meet? @liukun4515

Diff sizes of Decimal128Array have diff benchmark result.
For example, when the array size is 2000,  the performance of comparison using the bytes array: [u8;16] format is better than using  i128 directly.
But when the array size is 20000, the result if the opposite.

If the changes looks good to you, please approve it. @HaoYang670
After the ci is passed, I will merge it.

[05:20:36] 'compile:es2015:umd' errored after 36 s
[05:20:36] Error: gulp-google-closure-compiler: java.util.zip.ZipException: invalid entry CRC (expected 0x4e1f14a4 but got 0xb1e0eb5b)
	at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:410)
	at java.util.zip.ZipInputStream.read(ZipInputStream.java:199)
	at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:143)
	at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:121)
	at com.google.javascript.jscomp.AbstractCommandLineRunner.getBuiltinExterns(AbstractCommandLineRunner.java:500)
	at com.google.javascript.jscomp.CommandLineRunner.createExterns(CommandLineRunner.java:2084)
	at com.google.javascript.jscomp.AbstractCommandLineRunner.doRun(AbstractCommandLineRunner.java:1187)
	at com.google.javascript.jscomp.AbstractCommandLineRunner.run(AbstractCommandLineRunner.java:551)
	at com.google.javascript.jscomp.CommandLineRunner.main(CommandLineRunner.java:2246)
Error writing to stdin of the compiler. write EPIPE

CustomError: gulp-google-closure-compiler: Compilation errors occurred
    at CompilationStream._compilationComplete (/arrow/js/node_modules/google-closure-compiler/lib/gulp/index.js:238:28)
    at /arrow/js/node_modules/google-closure-compiler/lib/gulp/index.js:208:14
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

    at formatError (/arrow/js/node_modules/gulp-cli/lib/versioned/^4.0.0/format-error.js:21:10)
    at Gulp.<anonymous> (/arrow/js/node_modules/gulp-cli/lib/versioned/^4.0.0/log/events.js:33:15)
    at Gulp.emit (node:events:538:35)
    at Gulp.emit (node:domain:475:12)
    at Object.error (/arrow/js/node_modules/undertaker/lib/helpers/createExtensions.js:61:10)
    at handler (/arrow/js/node_modules/now-and-later/lib/mapSeries.js:47:14)
    at f (/arrow/js/node_modules/once/once.js:25:25)
    at f (/arrow/js/node_modules/once/once.js:25:25)
    at tryCatch (/arrow/js/node_modules/bach/node_modules/async-done/index.js:24:15)
    at done (/arrow/js/node_modules/bach/node_modules/async-done/index.js:40:12)
[05:20:36] 'build:es2015:umd' errored after 2.35 min
[05:20:36] 'build:apache-arrow' errored after 2.35 min
[05:20:36] 'build' errored after 2.37 min
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1
Error: `docker-compose --file /home/runner/work/arrow-rs/arrow-rs/docker-compose.yml run --rm -e ARCHERY_INTEGRATION_WITH_RUST=1 conda-integration` exited with a non-zero exit code 1, see the process log above.

The it failed, but nothing about this pr.

Thanks everyone for getting this through. Good team work 👍


Switch license from LGPL3 to Apache License 2

To make the project more open to other contributions.

Codecov Report

Merging #314 (e32a138) into main (ff49ddd) will decrease coverage by 3.96%.
Report is 21 commits behind head on main.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #314      +/-   ##
==========================================
- Coverage   64.85%   60.89%   -3.96%
==========================================
  Files          36       36
  Lines        2097     2097
  Branches      450      450
==========================================
- Hits         1360     1277      -83
- Misses        615      700      +85
+ Partials      122      120       -2

Files
Coverage Δ

qgis_deployment_toolbelt/__about__.py
100.00% <100.00%> (ø)

... and 4 files with indirect coverage changes


I think that passwords and their confirmations should be the same

I have tested a number of forms and was unable to reproduce this problem. Can you please share the page where you have this issue?

It's on a local development e-commerce site. It's called SAP Hybris.
On Fri, Feb 1, 2019 at 1:40 PM Hussein Shabbir<EMAIL_ADDRESS>wrote:

I have tested a number of forms and was unable to reproduce this problem.
Can you please share the page where you have this issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/husainshabbir/form-filler/issues/88#issuecomment-459710209,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJemB3r6N4LukdQDe-GghVHApGSHV8i0ks5vJDWygaJpZM4YCM3e
.

--
https://yassine.im/

What does the HTML for the two password fields look like?


Xarrays have wrong size, correct shape; internal dask array is all fine

(discussed in coalition call on 11/8)
When accessing databroker data using direct normalized mongo, the xarrays returned with .to_dask() sometimes have incorrect .size, even though their .shape is correct and their internal dask array have correct .size. The .size reported by the xarray is less than the product of its .shape dimensions. These symptoms appear when:

Running on windows (not present on linux)
Reading large datasets ~(9000, 1000, 900)
Data is stored in h5 files

@tacaswell suspects an issue in xarray related to https://github.com/h5py/h5py/issues/901

If this can still be reproduced on Windows, should be traced back to dask or xarray.


Added fuzzy testing

It is quite important for decoder to be robust in face of malicious input and fuzzy tests is a good helper for improving our chances.
Short fuzzer runs exposed two serious problems which can be exploited for performing DoS attack:

In metadata.rs there is no checks on requested chunk_size which can lead to requesting a huge memory chunk. I've fixed it and limited chunk_size by 1 MB. (probably this value should be configurable in future)
There is an input which leads to a growing memory usage, probably by creating huge maniac tree. See fuzz/artifacts/fuzz_flif/crash-8d04f4ab0c66838d13561517a34fc18cdf062439, if you'll uncomment line in tests/fuzz.rs it will run fuzzing artifacts.

I'm not too familiar with the cargo fuzzing library. But I assume this is not meant to be added to the workspace?

fuzz/Cargo.toml was created automatically and it creates its own workspace with the following comment: "Prevent this from interfering with workspaces", so yes.

I'm trying to run this locally with cargo +nightly fuzz run fuzz_target_1 but it fails with:
error: could not decode the manifest file at "C:\\Users\\dagriffe\\Documents\\flif.rs\\Cargo.toml"  caused by: redefinition of table `workspace` for key `workspace` at line 24
Any idea whats going on?

Command is cargo fuzz run fuzz_flif, but looks like your problem is not related to it.
Hm, strange... Google can't find similar errors.

I think my issue was running it from the fuzz directory, which seems to be wrong. I use windows machines myself which seems like it will cause issues since cargo-fuzz only supports linux/macOS.

Now that the limits are in this branch should we run the fuzzer again? I don't have access to a linux machine currently so I can't do it.

Short fuzzing revealed use of unimplemented!() macro in permute_planes.rs. (probably it's worth to temporarily disable this transform if implementations is not complete) I think this PR can be merged as is. I will try to fuzz this crate from time to time and will report any found issues.


VR Support

Hi Pollen Robotics,
Is there a specific repository for simulated (Unity-based) VR control of Reachy? Similar to the images shown on the Teleoperation page - https://docs.pollen-robotics.com/vr/use-teleop/commands/
If not, are there any plans for when it will be released?
If not, what would be the best way to create this VR control (using Valve Index or HTC Vive) using this repository?
Thank you.

Hi,
Our teleop-app is not public yet. We are still trying to figure out the best way to do this.
If you want to work on something similar, you have to look at our SDK API: https://github.com/pollen-robotics/reachy-sdk-api and the C# binding to connect with the robot.

Hi @pierre-rouanet ,
I wanted to check if there is any update on a public release of the Reachy for VR teleoperation? We have the Reachy at our lab and were hoping to run some VR experiments we would create in Unity with it.
Is there any release date on when the 2021 version of the Unity package will be available? For those that already have access to Reachy, would we be able to get an early access to the package?
Thank you.

@pierre-rouanet Any update on this thread? Looking forward to trying out the VR teleportation functionality

Hi @atx-barnes we do not have an official release date right now, but this is something we are working on. We'll keep you posted


Question: Can I use @material-tailwind for a serious project

I just wanna ask that stable release of material-tailwind is not released yet so
Can I use @material-tailwind for a serious project?
I am using NextJS with TypeScript and Material-UI but Material-UI is not working properly with the tailwindcss.

Hello @shareef99,
You can use material tailwind with any type of projects you want but currently we don't have any support for typescript.
All the best
Sajad

Thanks, I will use it and eagerly waiting for typescript support.


Add return type for  executeAction

Fixes #issue_number
Problem
I've been using executeQuery when writing raw queries in Cassandra, but it uses the execute function, which means it operates synchronously. I want to use executeAction because it uses executeAsync. The problem is that executeAction returns Unit,
Solution
return AsyncResultSet instead of Unit
Notes
Additional notes.
Checklist

[x] Unit test all changes
[x] Update README.md if applicable
[x] Add [WIP] to the pull request title if it's work in progress
[x] Squash commits that aren't meaningful changes
[x] Run sbt scalariformFormat test:scalariformFormat to make sure that the source files are formatted

@getquill/maintainers

 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.kemal durmuş seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@mkemaldurmus You'll also need to sign the ZIO CLA for us to be able to merge your work. See https://github.com/zio/zio-quill/pull/2907#issuecomment-1743496296

@guizmaii done