macro: Print removes the struct

Print macro deletes the component code and replaces it with just he PrintTrait impl.
Original struct can't be accessed and throws missing type errors.
In generated_cairo_code original Position struct is missing,
https://github.com/dojoengine/dojo/blob/main/crates/dojo-lang/src/plugin_test_data/print#L35

Looks like this is because we are using RewriteNode::interpolate_patched(...) which gives us RewriteNode::Modified which probably replaces the modified node. Plugin in Cairo seems to adds nodes from string.


Readme Documentation needs to be updated

Issue summary

If not using the shopify_app gem, your app needs to provide an implementation of ShopifyAPI::Auth::SessionStorage for production. Read more about this in our documentation.
Expected behavior
Either this step should removed or updated with the correct link

Fixed in

https://github.com/Shopify/shopify-api-ruby/pull/1201


Business icon

Icon Request

Icon name: Contract  /  Examine and approve
Tags of this icon: Business
Use case:
Screenshots of similar icons:

https://remixicon.com/icon/contract-line
https://remixicon.com/icon/contract-fill


Question: TS2322: Type 'Element' is not assignable to type 'VNode'.

I am using snabbdom within Sprotty (version 0.10.0-next.aa102b0), which uses snabbdom 3.1.0. Every time I want to declare a new graphical element using JSX, I get the error:
error TS2322: Type 'Element' is not assignable to type 'VNode'.

Even a simple example like this
const node: VNode = (

                I was created with JSX

        );

results in the error message above.
My code looks like this:
/** @jsx svg */
import { svg } from "sprotty";
import { jsx, VNode } from 'snabbdom';
import {injectable} from "inversify";
...

@injectable()
export class PolylineClosedArrowEdgeView extends PolylineEdgeView {

    protected renderAdditionals(edge: SEdge, segments: Point[], context: RenderingContext): VNode[] {
        return [
            (
                <path class-sprotty-edge-arrow={true} d="M 6,-3 L 0,0 L 6,3 Z" />
            )
        ]
    }
}

It is written in an .tsx file and my .tsconfig is configured as adviced in the README (https://github.com/snabbdom/snabbdom#typescript).

The @jsx pragma at the top overrides the config in .tsconfig. You are not using the jsx function from snabbdom but from sprotty. So the return type of all JSX elements is whatever the sprotty jsx function returns. Looks like a bug in sprotty


Add Webcam panel with no logic

Add to Gradle dependencies:
compile group: 'com.github.sarxos', name:'webcam-capture', version: '0.3.10'

This library provides a WebcamPanel component:
import com.github.sarxos.webcam.WebcamPanel;

Put this component into the "Scan QR Code" panel. Use setPreferredSize() method to set to an appropriate size.
Github of the webcam library (not really needed for this task but to provide some context): https://github.com/sarxos/webcam-capture

Github of the webcam library: https://github.com/sarxos/webcam-capture

So this task is basically adding function to the Start Webcam button, which is opening the camera window by using WebcamPanel right?

WebcamPanel is a component just like a button or a text field, and you can put it directly into the main window without opening a new window. There are multiple options for this tasks, in increasing order of difficulty:

Only put a WebcamPanel into the "Scan QR Code panel". This is what I originally mean in the description of this task
Do (1) and also add function to the Start Webcam button to start the webcam. Click it again to stop the webcam
Instead of putting the WebcamPanel in the main Window, when clicking on the Start Webcam button, a new window with the WebcamPanel will appear. Turn the window off to stop the webcam.

You can choose one of these 3 options based on how comfortable you are with Swing and Java in general.


mqttServer.GetClientSessionsStatus( ).Count is not equal to the real clientconnection count

I print  mqttServer.GetClientSessionsStatus( ).Count  when client disconnected by Power off  or new cliented connected .   i set server connnection  timeout 300s, but after that the count always not euqal real client connections count.

Hi, this might happen because sessions and connections are different things. A session remains after disconnect and can be resumed later. A connect is there or not.
Which version do you use? Since v3.0.0 there are different APIs added for sessions and connections.

version 2.8.5 .  you means that    fix it since 3.0.0 ? thank you

Yes that should be fixed (changed) in 3.0.0.


The Emojis 🧎🧎🏻🧎🏼🧎🏽🧎🏾🧎🏿 are invisible

The emojis in the title are invisible when using Blobmoji. The default Person Kneeling Down emoji with yellow skin is invisible while the other that has skin tones only shows squares with the skin tone color. I'm using Blobmoji 15.1.
Video:
https://photos.app.goo.gl/3vNYxs7MDrLzxeNk9

Pull #160 should resolve this.


Extract linear model parameters from fitted linear gp

issues:

how to extract linear kernel from compositional kernel?
write a function to spot additive bits and look at sub-kernels?
then get all the ANOVA components for models, and write anova function for post-hoc analysis?

similarly, extract variance component and predicted levels from iid and intercept kernels - use kernel-specific projection for these (or set other data to be the same)


Use shrink_path in agnoster theme if available

This makes the prompt shorter if the user tried to load the shrink_path module and will leave it alone if they didn't.
I left off -s because it makes any dir starting with a . turn into just a dot which can be really confusing.

This helped me so much. Thanks a lot :smile:
But I use shrink_path -f. shrink_path -t -l doesn't work for me.

Hi,
When I add this option to my agnoster.zsh-theme file, all the screen in terminal turns blue :(


Saskatchewan Civic Address Registry (CAR) Dataset

"To date, there are approximately 470,000 address points mapped, including two provincial parks and one First Nation reserve. "
But...
CAR Full Dataset – 3 year agreement with Maintenance	$37,500/year
CAR Partial Dataset – Onetime Purchase	$0.23/point
CAR Full Dataset – Onetime Purchase	$75,000
CAR Data Distribution Fee	$100
https://www.isc.ca/MapsandPhotos/GISData/Pages/Civic-Address-Registry-Data-(CAR).aspx

e-mailed http://www.geosask.ca/contact/ asking for addresses to join to PPID - may have a workaround.

source:https://gisappl.saskatchewan.ca/Html5Ext/index.html?viewer=saskinteractive

https://gis.saskatchewan.ca/arcgis/rest/services/CadastreSurface/MapServer


Prevent submit event

I'm using unform with react-token-input and i had a problem because the key Enter that is ussed to create Tokens inside the input also trigger the submit function of the form, how can we prevent this key of triggering submit?
This is my form:
<Form             ref={inputRef}             onKeyUp={e => {               if (e.keyCode === 13) {                 e.preventDefault();               }             }}             onSubmit={handleSubmit}           >
I think if we can do something like i did up with preventDefault its really nice, because in the event parameters of the form we dont have access to preventDefault function because its already triggered by default.
The problem is because of the token input we need to press enter for every token, this is the examples of token input that i'm using: https://seawind543.github.io/react-token-input/

Hey, have you tried doing a manual form submit?
You can add it to the button onClick event.

Hey @EduGomes18,
In this case you could catch onKeyDown/onKeyPress event in your component and stop the propagation event.stopPropagation().

Thank you @carlosallexandre , It works perfect!


Src/scripts/metadata files cleanup

File restructuring continued from https://github.com/webmixedreality/exokit/pull/430.

thanks for the cleanups


documentation updates

A handful of documentation updates...

[x] closes #46: contributing instructions
[x] closes #73: how to cite pvlib
[x] add pvlib installation instructions to docs
[x] closes #116: update comparison to pvlib matlab
[x] closes #47: add a brief page on how pvlib treats time and timezones
[x] update whatsnew

http://wholmgren-pvlib-python-new.readthedocs.org/en/contributing/

Ok, I think this is ready to go. I will merge tomorrow unless there are objections.


More flexibility when parsing docker config.json (or add a warning to docs)

TL;DR: When parsing docker config.json, rules_oci should strip off everything after the hostname (or, if not, add a caveat to the documentation).
I spent more time than I'd care to admit tracking down a problem using oci_pull with a private Quay repository. The problem turned out to be that my $HOME/.docker/config.json file looked like this:
{
  "auths": {
    "https://quay.io/v2": {
      "auth": "<base64 encoded username:password>"
    }
  }
}

It turned out that the "hostname" was quay.io/v2 for the purposes of matching which credentials, which of course did not match quay.io that was one of the pre-configured patterns. Therefore the credentials were not being passed along and I was getting a 401 error trying to get the token.
My docker config file as shown above was working for oci_push in version 1.x at least.
After debugging I ultimately discovered that removing the /v2 from the Quay URL solved my problem.
{
  "auths": {
    "https://quay.io": {
      "auth": "<base64 encoded username:password>"
    }
  }
}

I am happy to make a contribution to solve this, and this contribution seems really easy, but I am wanting to ask for guidance first:

Should I update _strip_host to strip off /v2 too, or /v\d+, or anything after a slash?
Should I update docs/pull.md with a warning about the situation I encountered?
Should we add a warning to _get_auth that credentials were found for quay.io/v2 but not quay.io (in my case), so the user has a hint where to look?

Thanks in advance!

This is an embarrassing issue, https://github.com/bazel-contrib/rules_oci/blob/5ff4c792cab77011984ca2fe46d05c5d2f8caa47/oci/private/authn.bzl#L63 i have left a TODO here for us to fix this in a principled way but never done it.
Any PR fixing this is welcome here.


[test/integration] Fix scheduler reclaim flaky test

What type of PR is this?
/kind bug
/kind failing-test
/kind flake

What this PR does / why we need it:
Fix flaky test  Reclaimed resources are not accounted during admission
Which issue(s) this PR fixes:

Fixes #951
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/test pull-kueue-test-integration-main


New version: ONLYOFFICE.DesktopEditors version 8.2.0

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

Close with reason: Duplicate of #184752;


stopPropagation doesn't work!

for some reason I added e.stopPropagation() for mouseup to a wysiwyg_node
$ ("#editor0").on("mouseup", function(e){ e.stopPropagation(); });

but even with that the mouseup event still triggered !! what's the problem here ?

Does this work?
$('#editor0 .wysiwyg-editor').mouseup(...)

No it doesn't !! I see that you create a new copy of the original textarea and you apply the wysiwyg on it !
if you go to the page of examples you have the first textarea with ID = editor1, and that textarea becomes a div with CLASS = wysiwyg-editor
So even if I apply $(' .wysiwyg-editor').mouseup(...) or  $(' .wysiwyg-editor').on("mouseup", ...) it doesn't work.
If you can just explain me the reason in the source code I can figure out how to deal with it. Thanks.

it was an error from me, sorry about that. Thank you!


Getting boundary face details

I need to get the location of a point in an element which is farthest in the normal direction of a boundary element. Let me try to explain.
If we take the reference element as a square on the boundary, any of the 4 edges can be the boundary element. So what I want is to identify which one of the faces is at the boundary, is it ( (0, 0), (0, 1) ) or ( (0, 1), (1, 1) ), ( (1, 1), (1, 0) ) or ( (1, 0), (0, 0) ). Once I know this, for any point on the edge, I need to get the location of the corresponding point on the opposite edge.
What would be the best way of doing this?

To clarify, is this the problem you are trying to solve:
"Given a face of the reference element and a point on that face, find the intersection of the boundary of the reference element with the ray defined by the point and the interior face normal at it."
Are you interested in doing this in reference of physical space? Can you provide more details about what it will be used for?

I think that is correct. I would actually want to do it in physical space but I think doing it in reference space would be easier and will serve as an approximation for physical space.

Let me try to illustrate what I am trying to do with the above picture. The bottom line is the boundary, and the bottom element is the boundary element. Now, I am trying to impose a wall function based boundary condition. So at the boundary points, to impose such a condition I want to impose the values taken from the red points normal to the point on the boundary.
This was much easier in simple boundaries like in the figure, but now I want to generalize it and so have to deal with arbitrary normals. In addition I generated this figure for Gauss points but am now using Gauss Lobatto points, so both points on boundary and opposite face points are on the boundary and interior face.
I hope this is clearer.

Hi @vikramsg,
Is this type of b.c. imposed as a constraint to the system? For example, if i is the index of a boundary dof and j1 and j2 are the indices of the two red dofs between which dof i falls when extended into the domain in normal direction, then you want to impose the constraint sol(i) = a1*sol(j1) + a2*sol(j2) where a1 and a2 are some weights. If this is the case, MFEM currently does not offer support for imposing such constraints, however, we are planning on adding support for that in the near future. One possible solution in the meantime can be to manually modify the matrix and rhs of your system (if your problem is linear). Let's say that the original system can be written in the form
| A_ii  A_ib | | u_i | = | f_i |
| A_bi  A_bb | | u_b |   | f_b |

and you want to impose the constraint
u_b = C_bi u_i

then the modified system that you need to solve is
A_ii u_i + A_ib C_bi u_i = f_i

or extending the system to preserve its original size
| (A_ii + A_ib C_bi)  0 | | u_i | = | f_i |
|       0             I | | z_b |   |  0  |

This seems like one reasonable approach.
If I understand correctly, your main question is about finding the indices j1 and j2, given the index i, as in the example above. For general quad elements, e.g. high-order quads, this procedure will not be straightforward. If, however, you can assume that the elements are parallelograms, then the procedure will be relatively simple.
Alternatively, is there a way to formulate this type of b.c. on continuous level, i.e. can the constraints be written as c(u,v)=d(v) where u is the solution, v is a test function, and c(.,.) and d(.) are a bilinear and linear forms, respectively, which are defined as integrals over a strip of elements adjacent to a subset of the boundary? If such formulation is possible, then constructing the constraint matrix may be easier, even for general meshes.

Hi Vikram,
I have also been trying to think about this, and I also have struggled to find a natural way to describe these conditions.
If you really are OK with imposing them on the reference element, then that is certainly doable and just a question of handling all the cases of which face is the boundary and constructing the corresponding dof map, using the fixed reference element numbering.
For general elements, it seems to me what you are asking is to solve an advection equation, transporting the values on the red face with a "velocity" vector that is the mapped normal vector field from the reference element. While doable, this will certainly be expensive and I wonder if it is really what you want.

Hi @v-dobrev,
I am not completely sure I understand what you are saying but one thing is that the boundary condition is not a linear function, but depends non-linearly both on the values on the red dofs as well as its distance from the boundary dof.
@tzanio Right now all I have come up with is determining the normal direction at the boundary in the reference element, say at eip. I checked and this normal always points away from the boundary element as I just reverse this, get (eip2 = eip+nor) and then u.Eval(eip2).
Right now, getting the values like this in physical space seems a bit too complicated to me. I may probably have to use the FindPoints and InverseTransform to do this, but as I understand that is not guaranteed to be stable.

Hi Vikram,
As an example how the physical normal vector can be computed in a DG-type integrator, take a look at this:
https://github.com/mfem/mfem/blob/4cb8d2cbc19aac5528df650b4a41c54158d1d2c2/fem/lininteg.cpp#L498-L505
With this computation, the vector nor is orthogonal to the face described by Tr.Face but it is not unit (in 2D/3D). The length of nor is actually the weight in the change of variables formula, from the physical face, say F, to the reference face \hat{F} (Tr.Face represents the mapping from \hat{F} to F):
\int_F f = \int_{\hat{F}} f |nor|

Since your b.c. is non-linear, then I guess it has to be evaluated as part of the evaluation of your non-linear operator, so my considerations about the linear case do not apply.
What type of elements (near the wall boundary) are you interested in? Are parallelogram elements sufficient, or do need general quads and/or hexes? Do you want to be able to use high-order mesh elements as well?
The general case (high-order curved elements) will require a ray-tracing algorithm: given a point on the boundary of an element and a direction (in your case, the inward normal at that point), find the point on the boundary of the element where the ray exits the element (in terms of which face is the exit face and what is the reference face coordinate of the exit point). Is this the type of algorithm you are interested in?

Hi @v-dobrev ,
Yes, now that you have put it this way, I think a ray-tracing algorithm is exactly what I want.  In this case all I would want is the reference element coordinate of the place where the ray exits the element.

@vikramsg, were you able to come up with a solution, or is this still an open issue for you?

Hi @tzanio ,
Sorry for not replying. I did not actually figure out a better solution. I will close this for now, but hopefully some kind of feature for raytracing is introduced.


Simplify default security group lookup

Description
To address internal issue 6157. The lookup of the default security group is unnecessarily complex. Avoid looking up all VPCs and finding the right one based on the supplied vpc_id. Just look up the one VPC using the vpc_id.
Release required?

[ ] No release
[x] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content
There are no resource changes, so no impact to customers.
It is possible that the data resource for all VPC may show as being removed from the state file. However, as a data resource there are no resource changes.
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

@shemau can you resolve conflicts and re-run please? You can ignore the authorization policy error that occurred in last run - there was a parallel test running which caused conflict

/run pipeline

/run pipeline

:tada: This PR is included in version 2.12.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


@alloy => Improve the artist data for demo mode

From

To

LGTM code-wise. Were we missing data for the demo that we have started using since the last demo?

I wonder if the original route had more Artists, I feel like I wouldn't have shipped it with just that. Though I was time constrained. Now it's based on the on boarding flow, so I doubt we'll lose the set.

Fairs :+1:


the time is very short background

in ios 4 does not work, the time is very short background or tell me how to configure the plugin .. are thanked

Sorry, I have not used this in a long time and I don't know how well it is
working at this point in time.
Also where are you using an iOS 4 device? I have not seen one of those in a
long long time. Even an iPhone 3GS can use iOS 6.
On Friday, November 4, 2016, srsarcasmo<EMAIL_ADDRESS>wrote:

in ios 4 does not work, the time is very short background or tell me how
to configure the plugin .. are thanked
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jocull/phonegap-backgroundjs/issues/7, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAPCt9a1fO1Gm3jhmyE2uj9oVFVJJb1cks5q640pgaJpZM4Kp7iV
.

window.plugins.backgroundjs.lockBackgroundTime();
window.plugins.backgroundjs.lockBackgroundTime(60000);
window.plugins.backgroundjs.setBackgroundSeconds(600000);
Is this the correct way to use the plugin?

That looks correct to me. You can see the sources here:
https://github.com/jocull/phonegap-backgroundjs/blob/master/src/js/BackgroundJS.js
You should probably be using callbacks to see if any success or error messages come through.

Friend, perhaps I should specify the package of my application and also the javascript function that I will use in the following sections?

<feature name="BackgroundJS">         <param name="ios-package" value="BackgroundJS"/>

This all looks correct to me, but unfortunately I am not really able to help much. You could try setting breakpoints in the iOS code and see if the step debugger will hit them.

Because in your project is set 60 and my only let me be 6 minutes in the background, tell me how to do it to delay more time in the background, maybe the browser that loses focus or maybe the operating system is killing my setinterval, or maybe the Plugin if it works but needs to set more time

I don't know that 6 minutes is allowed in the background. iOS has pretty strict limits about when background is allowed, for example audio must be playing or a network operation must be in progress. You should consider looking at the docs for that.

Friend, your plugin works, but maybe the service only lasts a few minutes depending on the cpu and the system; So I would like if you can give me some idea how I can manipulate the BackgroundJS.m file to last longer or have to goqe to see the declaration in window.plugins.backgroundjs.lockBackgroundTime (600); ? I am only writing this line with a value at 600, that leaves me only about 6 minutes, if I modify it to 800 or 1200 my application lasts less hard only about 3 minutes, I need help with this or explain where I need to modify

Sorry, I am not familiar with the specifics of how this works exactly as it varies by application and scenario. Please see the Apple documentation here for more information and I would encourage you to ask any iOS specific questions on StackOverflow. Hope that helps! Good luck!


Unable to build project using this package in TypeScript strict mode

Have strict=true in tsconfig
Build project
Receive error:./node_modules/typeid-ts/src/lib/basics.ts:6:5
Type error: Variable 'uuidv7' implicitly has type 'any' in some locations where its type cannot be determined.

  4 | import { encode } from '../base32.js'
  5 |
> 6 | let uuidv7
    |     ^
  7 | (async () => {
  8 |   const mod = await import('uuidv7')
  9 |   uuidv7 = mod.uuidv7
error Command failed with exit code 1.

On v0.3.1, seems related to #7

ok new build. Try again. Tq

I'm getting something similar on 0.3.1 when building my nextjs project, when I have strict=true:
./node_modules/typeid-ts/src/base32.ts:17:5
Type error: Type 'number | undefined' is not assignable to type 'number'.
  Type 'undefined' is not assignable to type 'number'.

  15 |
  16 |     // 10 byte timestamp
> 17 |     buffer[0] = alphabet[(src[0] & 224) >> 5]
     |     ^
  18 |     buffer[1] = alphabet[src[0] & 31]
  19 |     buffer[2] = alphabet[(src[1] & 248) >> 3]
  20 |     buffer[3] = alphabet[((src[1] & 7) << 2) | ((src[2] & 192) >> 6)]
error: script "build" exited with code 1 (SIGHUP)

ok fixed try again ben

Hey @ongteckwu, thanks for the quick reply. Sadly I still get an error on 0.3.7. I'm using NextJS btw
./node_modules/typeid-ts/src/base32.ts:31:5
Type error: Type 'number | undefined' is not assignable to type 'number'.
  Type 'undefined' is not assignable to type 'number'.

  29 |
  30 |     // 10 byte timestamp
> 31 |     buffer[0] = alphabet[(src[0] & 224) >> 5]
     |     ^
  32 |     buffer[1] = alphabet[src[0] & 31]
  33 |     buffer[2] = alphabet[(src[1] & 248) >> 3]
  34 |     buffer[3] = alphabet[((src[1] & 7) << 2) | ((src[2] & 192) >> 6)]
error: script "build" exited with code 1 (SIGHUP)

ok pushed a new one, hope this works. If not will really need you to raise a PR instead.

It worked! 🙏 thank you @ongteckwu!

@benjick Is 0.3.8 the version that should be working?


[Bug]: Datasource save modal appears for a second before being dismissed while switching between datasources

Is there an existing issue for this?

[X] I have searched the existing issues

Description
https://user-images.githubusercontent.com/67054171/204973411-f9b8704f-d36f-4617-b655-9eb0cfffebfa.mov
Steps To Reproduce
Modal appears for a second when switching from a form which is not dirty(has no changes) to a view mode datasource.
Public Sample App
No response
Issue video log
No response
Version
Cloud - Release -  v1.8.11-SNAPSHOT

Assuming all datasources impacted, 6m usage: 18000
Impacted users % : 25
Stats

Stat
Values

Reach
4500

Effort (months)
0.25

Tested on the local and works as expeceted


GHA > Adding content: Schemas

Why
Data stored in Kubelt that has associated schemas make discovery and computation easier, both for the data itself and for related content.
What
The action should be able to inform the SDK about schemas that relate to content, probably in a one-to-many way. For example, the config of the action should allow the user to specify a directory full of JSON files, a schema for those files, and whether the application of the schema is intended to be strict (do not import unless pass) or loose (link to schema, but don't validate).

Will not do. Properly arrogates to SDK and is something we'll consider post-refactor of the action.


refactor: naming issue - plants, crops, beds

lgtm :+1:. I additionally fixed an error, when the point clouds need to be downloaded.


转账支持BLS Public Key Address  (f3开头的地址)

我修改后，转账失败。不知道什么地方错了。用的是ganache-filecoin 做开发用的api服务。

报错信息

Exception in thread "main" com.filecoinj.exception.SendException: send error {"id":1,"jsonrpc":"2.0","error":{"message":"Cannot read property 'value' of undefined","stack":"TypeError: Cannot read property 'value' of undefined\n    at sigCacheKey (C:\\Program Files\\WindowsApps\\GanacheUI_<IP_ADDRESS>_x64__5dg5pnz03psnj\\app\\resources\\static\\node\\node_modules\\@ganache\\filecoin\\dist\\node\\ganache-filecoin.min.js:2:804447)\n    at verifyMessageSignature (C:\\Program Files\\WindowsApps\\GanacheUI_<IP_ADDRESS>_x64__5dg5pnz03psnj\\app\\resources\\static\\node\\node_modules\\@ganache\\filecoin\\dist\\node\\ganache-filecoin.min.js:2:804531)\n    at Object.checkMessage (C:\\Program Files\\WindowsApps\\GanacheUI_<IP_ADDRESS>_x64__5dg5pnz03psnj\\app\\resources\\static\\node\\node_modules\\@ganache\\filecoin\\dist\\node\\ganache-filecoin.min.js:2:805672)\n    at Blockchain.pushSigned (C:\\Program Files\\WindowsApps\\GanacheUI_<IP_ADDRESS>_x64__5dg5pnz03psnj\\app\\resources\\static\\node\\node_modules\\@ganache\\filecoin\\dist\\node\\ganache-filecoin.min.js:2:778470)\n    at FilecoinApi.Filecoin.MpoolPush (C:\\Program Files\\WindowsApps\\GanacheUI_<IP_ADDRESS>_x64__5dg5pnz03psnj\\app\\resources\\static\\node\\node_modules\\@ganache\\filecoin\\dist\\node\\ganache-filecoin.min.js:2:764697)\n    at C:\\Program Files\\WindowsApps\\GanacheUI_<IP_ADDRESS>_x64__5dg5pnz03psnj\\app\\resources\\static\\node\\node_modules\\ganache\\dist\\node\\ganache.min.js:2:3790243\n    at RequestCoordinator.<anonymous> (C:\\Program Files\\WindowsApps\\GanacheUI_<IP_ADDRESS>_x64__5dg5pnz03psnj\\app\\resources\\static\\node\\node_modules\\ganache\\dist\\node\\ganache.min.js:2:3790075)\n    at C:\\Program Files\\WindowsApps\\GanacheUI_<IP_ADDRESS>_x64__5dg5pnz03psnj\\app\\resources\\static\\node\\node_modules\\ganache\\dist\\node\\ganache.min.js:2:3790310\n    at new Promise (<anonymous>)\n    at RequestCoordinator.queue (C:\\Program Files\\WindowsApps\\GanacheUI_<IP_ADDRESS>_x64__5dg5pnz03psnj\\app\\resources\\static\\node\\node_modules\\ganache\\dist\\node\\ganache.min.js:2:3790173)","code":-32700}}

AddressUtil.java修改后代码

package com.filecoinj.utils;

import cn.hutool.core.codec.Base32;
import cn.hutool.core.util.StrUtil;
import com.filecoinj.exception.AddressException;
import com.filecoinj.model.Address;

public class AddressUtil {
    /**
     * secp256k1地址字节长度
     */
    private final static int addressLength_1 = 21;
    // private final static int addressLength_1 = 21;
    private final static int addressLength_3 = 43;

    public static Address initAddress(String addressStr) throws AddressException {
        if (StrUtil.isBlank(addressStr)){
            throw new NullPointerException("addressStr 参数不能为空");
        }
        //去掉拼接的前两位
        String substring = addressStr.substring(2);
        //获取type
        String typeStr = addressStr.substring(1, 2);
        //获取网络类型
        String network = addressStr.substring(0,1);
        int type = Integer.parseInt(typeStr);
        if (type != 1 && type !=2 && type != 3){
            throw new AddressException("错误的地址类型");
        }

        int addrLen = addressLength_1;
        if(type==3){
            addrLen = addressLength_3;
        }

        byte[] addressBytes = new byte[addrLen];

        // f099
        // f1abjxfbp274xpdqcpuaykwkfb43omjotacm2p3za
        // f2plku564ddywnmb5b2ky7dhk4mb6uacsxuuev3pi
        // f3tfhgkbq6h55fqhumadd7wvogx3bbhgm3ifg6mk6hq35ob3fex2uei7hfbo2nwqkzudjzjidmshxpvo3ja4iq
        switch (type){
            case 1:
                //secp256k1 地址类型
                addressBytes[0] = (byte) type;
                break;
            case 2:
            case 3:
                // throw new AddressException("暂不支持的地址类型");
                addressBytes[0] = (byte) type;
                break;
            default:
                throw new AddressException("错误地址类型");
        }

        System.arraycopy(Base32.decode(substring), 0, addressBytes, 1, addrLen-1);
        return Address.builder().address(addressStr)
                .bytes(addressBytes)
                .network(network).build();

    }
}

F3 address does not support the use of blake2b algorithm library, you need to use the bls algorithm library

@790228724

F3地址不支持使用blake2b算法库，需要使用bls算法库

How do I sign if I transfer from f1 to f3 address?

Is there any relevant demo or information?

Is there any relevant demo or information?
有没有相关的demo或者资料？
------------------ 原始邮件 ------------------
发件人: "@@.>;
发送时间: 2022年1月11日(星期二) 晚上6:16
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [juzi-code/FilecoinJ] 转账支持BLS Public Key Address  (f3开头的地址) (#9)
@790228724
F3地址不支持使用blake2b算法库，需要使用bls算法库
How do I sign if I transfer from f1 to f3 address?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>

@790228724

F3地址不支持使用blake2b算法库，需要使用bls算法库

How do I sign if I transfer from f1 to f3 address?

这个我知道呀

那大佬，你知道如何使用Java 进行bls 的签名么？谢谢！
------------------ 原始邮件 ------------------
发件人:                                                                                "juzi-code/FilecoinJ"                                                                                @.>;
发送时间: 2022年1月11日(星期二) 晚上6:16
@.>;
<EMAIL_ADDRESS>主题: Re: [juzi-code/FilecoinJ] 转账支持BLS Public Key Address  (f3开头的地址) (#9)
@790228724
F3地址不支持使用blake2b算法库，需要使用bls算法库
How do I sign if I transfer from f1 to f3 address?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.Message ID: @.***>

It seems that Java cannot implement the BLS algorithm. Do you know how to sign and send the transaction from F1 to F3 address, and can you provide relevant demos or materials? thank you!

那个大佬，你知道如何使用Java进行bls的签名么？谢谢！
…
------------------ 原始邮件 ------------------ 发件人: "juzi-code/FilecoinJ" @.>; 发送时间: 2022年1月11日(星期二) 晚上6:16 @.><EMAIL_ADDRESS>主题: Re: [juzi-code/FilecoinJ] 转账支持BLS Public Key Address (f3开头的地址) (#9) @790228724 F3地址不支持使用blake2b算法库，需要使用bls算法库 How do I sign if I transfer from f1 to f3 address? — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

It seems that Java cannot implement the BLS algorithm. Do you know how to sign and send the transaction from F1 to F3 address, and can you provide relevant demos or materials? thank you!

可以，把邮箱发给我吧，
------------------ 原始邮件 ------------------
发件人:                                                                                "juzi-code/FilecoinJ"                                                                                @.>;
发送时间: 2022年1月12日(星期三) 下午4:54
@.>;
<EMAIL_ADDRESS>主题: Re: [juzi-code/FilecoinJ] 转账支持BLS Public Key Address  (f3开头的地址) (#9)
It seems that Java cannot implement the BLS algorithm. Do you know how to sign and send the transaction from F1 to F3 address, and can you provide relevant demos or materials? thank you!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.Message ID: @.***>

可以，把邮箱发给我吧，
…
------------------ 原始邮件 ------------------ 发件人: "juzi-code/FilecoinJ" @.>; 发送时间: 2022年1月12日(星期三) 下午4:54 @.><EMAIL_ADDRESS>主题: Re: [juzi-code/FilecoinJ] 转账支持BLS Public Key Address (f3开头的地址) (#9) It seems that Java cannot implement the BLS algorithm. Do you know how to sign and send the transaction from F1 to F3 address, and can you provide relevant demos or materials? thank you! — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

Binance Airdrop Guide: $500k Worth of Airdrop is Ready, Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @ffynn, @b68h4, @Hadesonly, @semyon-dev, @iam4x, @Los-had, @goodcopybruh, @dominickK963, @bydemir3, @marsoln, @xaaa0035, @UmaGawt, @qbig, @koradiyakaushal, @httpservlet, @nftgeek, @thang-tran-tt, @peng1027, @smhmayboudi, @c2s, @RexWarfang, @bageda, @Icarus9913, @monkeybape, @legua25, @nfsc-tommy, @Jinada556, @gandhije, @al8n, @RickCastle2018, @ahsentekdemir, @jehamanantonius, @canab, @renaissancelab, @ranuranjika, @Malloka, @dorucioclea, @MSALEEM0777, @sinochem-gavin, @pypypy123, @jontsai, @gavinsun2021, @bynightflow, @VadimMalykhin, @ViralTaco, @jinpeicomp, @guiferpa, @TherRichard, @richardsonjf, @yv

Binance Airdrop Guide: $500k Worth of Airdrop is Ready, Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.

Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
🎉 Congratulations! You've won a share of the $1.500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. But that's not all—connect now, and you'll instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1.500k in BNB! Plus, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, seize the chance to win up to $20,000—it's your golden opportunity!
Winners: @tildaw27, @shunyue1320, @BiscuitCoder, @imtipi, @yzevm, @scobru, @Winter-J-27


jQuery not loading

I have tried every trick I know off to load jquery but for some strange reasons, it does not get loaded. When i publish the app with visual studio publish tool however, the jquery works seamlessly. I would be glad if that can be investigated. Thanks in advance

https://stackoverflow.com/questions/32621988/electron-jquery-is-not-defined (hat the same issue here)


3.6 urls 配置有个错误

cat djblog/urls.py
from django.conf.urls import patterns, include, url

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
                       url(r'^$', include('blog.urls')),
                       url(r'^admin/', include(admin.site.urls)),
)

第一个url应该是
url(r'^', include('blog.urls'))，没有$

Fixed, change from r'^$' to 'r^'.


Bulk Density

Wetland organic soil ranges 0.1-0.4g/cm3
wetland mineral soil ranges 1.0-1.5 g/cm3

Kent notes: 1.1-1.3 g/cm^3 and well sorted sand is often over 1.7 g/cm^3. Water and OM is close to 1 g/m^3 and average particle density of most silicates are close to 2.65 g/cm^3


FromSql not composing with LINQ

Hi
Following FromSql query does not compose with LINQ. No exception is raised and the result is correct BUT Sql Server Profiler shows that Where clause is not composing with FromSql query.
var result = dbContext.Permission
                .FromSql($@"
select
p.*
from Permission p
inner join
(
    select
    r.RoleId
    from
    Role r
    where
    Parents.exist('//I[.=sql:variable(""{{0}}"")]') = 1
    union all
    select {{0}} RoleId
) roles
on p.RoleId = roles.RoleId
", roleId)
                    .Where(c =>
                        c.Entity == entity &&
                        c.RoleId == roleId &&
                        c.Type == type &&
                        c.EntityId == entityId)
                        .ToList()

but the query in Sql Server Profiler is:
exec sp_executesql N'
select
p.*
from Permission p
inner join
(
    select
    r.RoleId
    from
    Role r
    where
    Parents.exist(''//I[.=sql:variable("@p0")]'') = 1
    union all
    select @p0 RoleId
) roles
on p.RoleId = roles.RoleId
',N'@p0 int',@p0=170

which shows Where clause is not included in query
EF Core version:1.0.1
Operating system: windows 10
Visual Studio version: vs 2015

Can you share a complete code listing (or project) that we can run to see the issue? We need to know what the various properties etc. in the model are to work out why this is being client evaluated.

complete code listing:
Entities:
    public class Role
    {
        public int RoleId { get; set; }

        public string Title { get; set; }

        public string Parents { get; set; }
    }

    public enum PermissionEntity
    {
        AttachmentCollection = 1,
        Category = 3,
    }

    public class Permission
    {
        public int PermissionId { get; set; }

        public PermissionEntity Entity { get; set; }

        public int RoleId { get; set; }

        public int EntityId { get; set; }
    }

DbContext:
    public class EfContext : DbContext
    {
        string connectionString;

        public EfContext(string connectionString) : base()
        {
            this.connectionString = connectionString;
        }

        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            optionsBuilder.UseSqlServer(connectionString);
        }

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            modelBuilder.Entity<Role>();
            modelBuilder.Entity<Permission>();
        }
    }

connection string
<add name="TestContext" connectionString="Data Source=.;Initial Catalog=EFTestDB;Integrated Security = true;" providerName="System.Data.SqlClient" />

LINQ query:
            string cnn = ConfigurationManager.ConnectionStrings["TestContext"].ConnectionString;

            int roleId = 77;

            using (EfContext context = new EfContext(cnn))
            {
                var result = context.Set<Permission>()
                .FromSql($@"
select
p.*
from Permission p
inner join
(
    select
    r.RoleId
    from
    Role r
    where
    Parents.exist('//I[.=sql:variable(""{{0}}"")]') = 1
    union all
    select {{0}} RoleId
) roles
on p.RoleId = roles.RoleId
", roleId)
                    .Where(c =>
                        c.Entity == PermissionEntity.AttachmentCollection &&
                        c.RoleId == roleId &&
                        c.EntityId == 22)
                        .ToList();
            }

Tables:
CREATE TABLE [dbo].[Permission](
	[PermissionId] [int] IDENTITY(1,1) NOT NULL,
	[Entity] [int] NOT NULL,
	[RoleId] [int] NOT NULL,
	[EntityId] [int] NOT NULL,
 CONSTRAINT [PK_Permission] PRIMARY KEY CLUSTERED
(
	[PermissionId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

CREATE TABLE [dbo].[Role](
	[RoleId] [int] IDENTITY(1,1) NOT NULL,
	[Title] [nvarchar](250) NOT NULL,
	[Parents] [xml] NULL,
 CONSTRAINT [PK_Role] PRIMARY KEY CLUSTERED
(
	[RoleId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

Query composition did not work because the Sql started with new line character and there is no space after Select. 😞


generate code coverage reports in exactly one job

Thanks @xabbuh! :) I adapted the code a bit to match the rest of the configuration file: https://github.com/puli/discovery/pull/26
Could you adapt your PR accordingly?

Replaced by https://github.com/puli/manager/pull/46 which contains some more fixes.


#3169 - Autotests: Open and Save files (InChi)

How the feature works? / How did you fix the issue?
(Screenshots, videos, or GIFs, if applicable)
Check list

[ ] unit-tests written
[x] e2e-tests written
[ ] documentation updated
[x] PR name follows the pattern #1234 – issue name
[x] branch name doesn't contain '#'
[x] PR is linked with the issue
[x] base branch (master or release/xx) is correct
[x] task status changed to "Code review"
[x] reviewers are notified about the pull request

open and save files for inchi format file tests are passing locally on serve mode.

and the flaky test if run step by step, it'll pass.

mol-files.spec.ts

open-file.spec.ts

smile-files.spec.ts

reaction-am-tool-veryfing-button.spec.ts

reagents-cdxml-format.spec.ts

plus-and-arrows-tools.spec.ts

erase-tool.spec.ts

r-group-fragment-tool.spec.ts

r-group-tool.spec

atom-properties.spec.ts

s-groups.spec.ts

copy-cut-paste.spec.ts


Bloom debris in screen edge

When enabling Bloom Volume and bringing the camera closer, strange residual bloom effect like appear at the edges of the screen. Disabling Bloom Volume resolves this issue, so it's likely caused by Bloom Volume probably. Are there any solutions to address this?

Unity 2022.3.21f1 URP
PostProcess: Bloom Volume Only

Mode: Color
Threshold: 0.6
Intensity: 2.0

fixed


fix: prompt/test/integration/number.ts - windows snapshot was out of date

Fix windows snapshot so tests pass.

@sramam thx for the PR!
Did you tested this locally on a windows machine? I aggree that the output should be 18 and not 19, but somehow the test outputs 19 on the github windows runner. If it work on your machine, than i think this is an issue with the integration test. Currently, i cannot test this on a windows machine because i'm not at home, but i can take a look tomorrow.

I did test on my machine.
Strange that the CI tests fail now!  https://github.com/c4spar/deno-cliffy/pull/234/checks?check_run_id=2956699063
What does the --location do in the CI tests?
I did try that too on my machine and it passes.

hm, I think there is something wrong with the integration test. 18 looks wrong to me too, but it works on my mac with 18 too. I think this needs further investigation and I feel like there should be a lot more output. I think every time u or d is pressed a new line should be rendered but it looks like only on enter a new line is rendered but then the output should be 21, 17 and 20 but that is not the case.

The --location flag is only required for the local storage.

Could it be a function of running in headless mode?

Wdym with a function of running in headless mode?

on the CI instance, there is no display. Perhaps the test behaves differently then?
I do not know much about this, especially for windows, but have encountered some of these issues with ava in the past.
This is what a quick google search yielded
and it's use in tests

Ah ok now I got what you mean. Yeah maybe, but I feel like there should be no difference in headless mode because I just read the output of stdout. But maybe there is really something different in headless mode. Will need to take a deeper look tomorrow my time.

Will need to take a deeper look tomorrow my time.

Absolutely. Thanks for the wonderful library and being so responsive.

I will close this PR because i can not reproduce this on my windows machine and ci is working as well. if this issue still persists feel free to reopen.


If you run scripthost locally no functions get triggered

If you run the script host project locally it finds functions but never triggers them.
Running webhost works fine.

Steps to do this are listed in the wiki https://github.com/Azure/azure-webjobs-sdk-script/wiki.

Can you provide more details? It all works fine for me locally. Have you followed all the setup steps here: https://github.com/Azure/azure-webjobs-sdk-script/wiki?

I set it up with only the storage connection strings and limited the functions in host.json to C# timer and queue trigger.  Fabio tried the same thing on his machine and got the same result.

Works on my box :) Feel free to stop by and show me.

I'll stop by tomorrow

Closing as no repro


:memo: Update Docs

Update Docs in Upgrade

@yasar03 , thanks for the patch. Could you update the PR summary into the pattern: MINOR:xxx, ex: MINOR: update doc for changes in 1.0.0 section. And add some more description in the PR description section, to describe why you did this change. I can see there's only one word adding, but please make it clear.
For this change, I think it's OK. Thank you.

Thanks for your advice. I am new to open source but I will keep this in mind. And I will update this PR.


Projected band structure issues

Projected band structures currently have the following issues:

Cryptic error messages when the projection string is not exactly as expected (e.g. incorrect number of projections, elements/orbitals don't exist, projections don't exist).
RGB mode only supports 3 orbitals (not 2 or 1).

To which I will add from #32
@cnsavory commented on 13 May

Something coming up from the Questaal workshop - sumo currently isn't able to plot Questaal derived band structures separated by orbital contribution, as it can for VASP. The fplot implementation involves a separate run for the selected orbital but still outputs one bnds file, so hopefully wouldn't change the sumo workflow too much. Could band projection for Questaal band structures be a possible option for a future sumo release?

@ajjackson commented on 13 May

If there's a sensible workflow to get the information out, it shouldn't be too hard to "do it like vasp". I think we can improve the final appearance from Vasp too, but that part should be shared in any case.

Do we have a consistent recipe for getting a known set of useful information? As with the DOS plotter, I'd rather we keep the sumo settings simple, generate a lot of data and deal with summing etc in sumo if need be. I'm a little worried by the prospect of multiple Questaal runs, do you have to rename any files to avoid clobbering?

Is this issue suitable to discuss orbital projection plans in general, including support for other codes?

As the orbital project band structure plots seem to be the most used feature of sumo, I'm happy to have a thread dedicated to them.
Based on feedback from some users in Ram's group, I think future versions should try and support:

Custom colors in rgb mode for accessibility and aesthetic reasons. E.g., can we define a triangle on the colour wheel and interpolate between the colours at the vertices.
Better support for projected spin polarized band structures. E.g. can we make a custom dashed rgb line (and also something similar for other projection modes), that can represent spin up and spin down bands differently. Ram's group were using a custom version of sumo with mode=stacked, in which the spin down bands were interpolated a much coarser grid, making it appear dashed. It would be nice to support this properly.

Personally, I'd also like to support spin projected band structures for spin-orbit coupling calculations (fplot in questaal can already do this). The spin contributions (for the x, y, and z directions defined relative to SAXIS) are already given in the vasprun.xml but are not parsed correctly by pymatgen, so I don't think this will be too much extra work.

I guess the ideal approach would be to make sure the data structures and VASP importer are fully-featured on the pymatgen side, then we can add more plotting modes and other code importers on the Sumo side.

Is it possible to plot band structure of a composite with more than 3 different elements because --mode stacked option does not work for my structure?

An update on this: I just added parsing of the projected magnetisation from SOC calculations to pymatgen (materialsproject/pymatgen#2065), so spin projected band structures could be added to sumo relatively easily.


How to use it with tauri not tao or something else?

get a handle to your windowlet window = app.get_window("main");

pass it to any function of this crateapply_mica(&window);


Add an index column in all topologies page

An index column could be helpful for users to count rows. Also updated width of release version since it could be slightly longer than other short columns.

👍


Documentation on Hackage has broken links

Example
I mean, I don't feel entitled to anything since this is free and also a really incredible library, but fwiw the haddock documentation would be a little more convenient than reading through the source.

Thanks for bringing this to my attention again; there was some issue in manually uploading documentation, and it appears not to have become fixed. I'll look at this issue as soon as I can.
Also: glad you like it! :) I would love to hear any feedback, use cases, etc. you care to share, esp. examples of other computations you've expressed in this framework.

I should also mention that there are likely to be some (relatively small) changes coming up to the library sometime soon (read: when I get the chance to work on it), which also provides a convenient time for me to look into the documentation issue. In the meantime, you can build the documentation locally by doing cabal get ComonadSheet and then cabal haddock --html.

Oh, certainly. That’s what I had done, I just figured since this is a really great library it should be maximally accessible so people will dive in.

On Mar 18, 2015, at 7:53 PM, Kenneth Foner<EMAIL_ADDRESS>wrote:
I should also mention that there are likely to be some (relatively small) changes coming up to the library sometime soon (read: when I get the chance to work on it), which also provides a convenient time for me to look into the documentation issue. In the meantime, you can build the documentation locally by doing cabal get ComonadSheet and then cabal haddock --html.
—
Reply to this email directly or view it on GitHub https://github.com/kwf/ComonadSheet/issues/4#issuecomment-83239182.


Add a list of supported services

It is not clear which services are supported by the package. I'm not 100% sure if htojar for example is supported. The list on atmosphere might suggest this is what is supported but it's not exactly clear. Looking at the package code also doesn't make it very easy to find what is supported unfortuantely.

The example config in the readme is the actual list. We should update it to make that totally clear. If there's something else you'd like to see supported open an issue and we'll see how many +1's it gets.

@AndreasGalster Sorry for taking so long to resolve this. The README has been updated with this commit https://github.com/okgrow/analytics/commit/4afa58792e97e1fe3291ec52b00d7871d87f006a
As you already have guessed hotjar isn't currently supported. We are looking into refactoring the way this package works with the intended goal of providing the ability for anyone to add the specific segment.io analytics integration that they need. We will keep you up to date on this progress over on issue #87


make two players work with enemy ai

currently, the enemy completely bugs out when getting line of sight with player 2.
We should make the enemies not use potential_targets_list[0] at all.

related pr: #85


Package fails to build on Xcode 14.3 beta.

When opening the package in Xcode 14.3 beta (14E5197f), the build fails with error 'StateObject' is only available in [macOS 11.0 | iOS 14.0] or newer.
Culprits are EnvironmentStateObject.swift line 253 and Query.swift line 172.
This StackOverflow thread seems to indicate that in runtime, accessing StateObject in iOS 13 would cause a exception to be raised, but I have not tested it myself.
Apple documentation says it is available in iOS 14.0+, macOS 11.0+, tvOS 14.0+, watchOS 7.0+, so maybe we could get a new version cut with those versions as minimum in the Package file?
Thanks!
🙇

Hello @paulo-bc,
Thank you for the report!

Version 0.6.0 has shipped 🚀


Fix screen behind RHP overlay changes when open contact method from teachers page

Details

If we open the contact method page from the teachers page, the screen behind the RHP overlay changes. This PR fixes it.
Fixed Issues

$ https://github.com/Expensify/App/issues/47612
PROPOSAL: https://github.com/Expensify/App/issues/47612#issuecomment-2295527417
Tests

Same as QA Steps

[x] Verify that no errors appear in the JS console

Offline tests

Same as QA Steps
QA Steps

Open Settings > Save the world > I am a teacher
Press the "Contact methods" or "Update email address" button
(Web/Desktop) Verify the screen behind the overlay doesn't change
Press the existing contact method
(Web/Desktop) Verify the screen behind the overlay doesn't change
Close the contact method page
Verify the teacher page screen is shown

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/1099df4c-bebc-45df-91ff-67ad6b2d59ea

Android: mWeb Chrome

https://github.com/user-attachments/assets/d136698d-534c-4ab8-bc90-9e0f9cb1334b

iOS: Native

https://github.com/user-attachments/assets/ce03f028-9f80-4352-b081-2b6683dce10d

iOS: mWeb Safari

https://github.com/user-attachments/assets/13361cf5-3718-4d61-8e01-13e429060b99

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/f1bd26c1-7817-4c5c-9199-b44d16ecb800

MacOS: Desktop

https://github.com/user-attachments/assets/d251bc1f-eaca-433e-ab12-5ddd0aae660d

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/cristipaval in version: 9.0.26-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/puneetlath in version: 9.0.26-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


[DOCS] tutorial - generate data for training embeddings and reranking models

Which page or section is this issue related to?

An addaptation of https://docs.zenml.io/user-guide/llmops-guide/finetuning-embeddings/finetuning-embeddings-with-sentence-transformers
What are you documenting, or what change are you making in the documentation?

NA

Hi @davidberenstein1957 , we already have https://github.com/argilla-io/argilla-sdk-chatbot and https://github.com/argilla-io/argilla-sdk-chatbot/blob/main/train_embedding.ipynb, maybe we can add a reference.


Update domains-admin-takeover.md

removed inaccurate information from article

@jkuehler : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Error after import package python-ffmpeg

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2022.01.21. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
When try to use python-ffmpeg for another operations, this error occurred on call ydl = YoutubeDL(ydl_opts) after import python-ffmpeg.
Verbose log
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Input In [12], in <module>
----> 1 ydl = YoutubeDL(ydl_opts)

File ~/.cache/pypoetry/virtualenvs/podfier-alpha-vDJ6S2nt-py3.8/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py:663, in YoutubeDL.__init__(self, params, auto_init)
    660     pp_def = dict(pp_def_raw)
    661     when = pp_def.pop('when', 'post_process')
    662     self.add_post_processor(
--> 663         get_postprocessor(pp_def.pop('key'))(self, **compat_kwargs(pp_def)),
    664         when=when)
    666 register_socks_protocols()
    668 def preload_download_archive(fn):

File ~/.cache/pypoetry/virtualenvs/podfier-alpha-vDJ6S2nt-py3.8/lib/python3.8/site-packages/yt_dlp/postprocessor/ffmpeg.py:673, in FFmpegMetadataPP.__init__(self, downloader, add_metadata, add_chapters, add_infojson)
    672 def __init__(self, downloader, add_metadata=True, add_chapters=True, add_infojson='if_exists'):
--> 673     FFmpegPostProcessor.__init__(self, downloader)
    674     self._add_metadata = add_metadata
    675     self._add_chapters = add_chapters

File ~/.cache/pypoetry/virtualenvs/podfier-alpha-vDJ6S2nt-py3.8/lib/python3.8/site-packages/yt_dlp/postprocessor/ffmpeg.py:69, in FFmpegPostProcessor.__init__(self, downloader)
     67 def __init__(self, downloader=None):
     68     PostProcessor.__init__(self, downloader)
---> 69     self._determine_executables()

File ~/.cache/pypoetry/virtualenvs/podfier-alpha-vDJ6S2nt-py3.8/lib/python3.8/site-packages/yt_dlp/postprocessor/ffmpeg.py:152, in FFmpegPostProcessor._determine_executables(self)
    150 self._versions = {}
    151 for p in programs:
--> 152     get_ffmpeg_version(self._paths[p], p)
    154 if prefer_ffmpeg is False:
    155     prefs = ('avconv', 'ffmpeg')

File ~/.cache/pypoetry/virtualenvs/podfier-alpha-vDJ6S2nt-py3.8/lib/python3.8/site-packages/yt_dlp/postprocessor/ffmpeg.py:95, in FFmpegPostProcessor._determine_executables.<locals>.get_ffmpeg_version(path, prog)
     94 def get_ffmpeg_version(path, prog):
---> 95     out = _get_exe_version_output(path, ['-bsfs'])
     96     ver = detect_exe_version(out) if out else False
     97     if ver:

File ~/.cache/pypoetry/virtualenvs/podfier-alpha-vDJ6S2nt-py3.8/lib/python3.8/site-packages/yt_dlp/utils.py:2648, in _get_exe_version_output(exe, args)
   2643 def _get_exe_version_output(exe, args):
   2644     try:
   2645         # STDIN should be redirected too. On UNIX-like systems, ffmpeg triggers
   2646         # SIGTTOU if yt-dlp is run in the background.
   2647         # See https://github.com/ytdl-org/youtube-dl/issues/955#issuecomment-209789656
-> 2648         out, _ = Popen(
   2649             [encodeArgument(exe)] + args, stdin=subprocess.PIPE,
   2650             stdout=subprocess.PIPE, stderr=subprocess.STDOUT).communicate_or_kill()
   2651     except OSError:
   2652         return False

File ~/.cache/pypoetry/virtualenvs/podfier-alpha-vDJ6S2nt-py3.8/lib/python3.8/site-packages/yt_dlp/utils.py:884, in Popen.__init__(self, *args, **kwargs)
    883 def __init__(self, *args, **kwargs):
--> 884     super(Popen, self).__init__(*args, **kwargs, startupinfo=self._startupinfo)

File ~/anaconda3/lib/python3.8/subprocess.py:854, in Popen.__init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, encoding, errors, text)
    850         if self.text_mode:
    851             self.stderr = io.TextIOWrapper(self.stderr,
    852                     encoding=encoding, errors=errors)
--> 854     self._execute_child(args, executable, preexec_fn, close_fds,
    855                         pass_fds, cwd, env,
    856                         startupinfo, creationflags, shell,
    857                         p2cread, p2cwrite,
    858                         c2pread, c2pwrite,
    859                         errread, errwrite,
    860                         restore_signals, start_new_session)
    861 except:
    862     # Cleanup if the child failed starting.
    863     for f in filter(None, (self.stdin, self.stdout, self.stderr)):

File ~/anaconda3/lib/python3.8/subprocess.py:1637, in Popen._execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, start_new_session)
   1635     fds_to_keep = set(pass_fds)
   1636     fds_to_keep.add(errpipe_write)
-> 1637     self.pid = _posixsubprocess.fork_exec(
   1638             args, executable_list,
   1639             close_fds, tuple(sorted(map(int, fds_to_keep))),
   1640             cwd, env_list,
   1641             p2cread, p2cwrite, c2pread, c2pwrite,
   1642             errread, errwrite,
   1643             errpipe_read, errpipe_write,
   1644             restore_signals, start_new_session, preexec_fn)
   1645     self._child_created = True
   1646 finally:
   1647     # be sure the FD is closed no matter what

AttributeError: 'NoneType' object has no attribute 'fork_exec'

I can't reproduce. Provide a minimum reproducible code

I checked and this bug is not true, it was another part of the code that was buggy.


Remove 'todb' in favor of 'encodeURIComponent'.

Description

While executing the find/replace, I found some blocks of duplicated code. Therefore, I extracted the duplicated part to an utils file, and then removed the duplicated blocks.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[X] Cleanup (Code refactoring and cleanup, that may add test cases)

GitHub Issue/PRs

How Has This Been Tested?
Locally

Checklist:

[X] I have read the CONTRIBUTING document.
[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
Testing
[ ] I have added tests to cover my changes.
[X] All relevant new and existing integration tests have passed.
 I'll keep you posted as I make progress.

Why remove todb for the longer encodeURIComponent, when the first is only a wrapper for the latter?

Good question.  Why not use directly a function that everybody knows (everybody that works with javascript)?
When I first encountered it, I spent some time trying to find its documentation in the Javascript specs. Just then, I discovered that it was a wrapper created in CloudStack's javascript. This wrapper does not help us with anything. Moreover, it was not used consistently in the code base. There are quite a lot of places using the 'encodeURIComponent'.
If we want to write less, we should first stop copying and pasting code ;)

right, but having a wrapper around an external piece of code is always good. Per our older discussions; let's reduce the surface layer of 3rd party software to ours.

btw: look good in general it is just that I would have opted for giving a better name to todb and use the wrapper

The method encodeURIComponent is not a third party library. It is a native function in Javascript.

ah, in that case I stand corrected, @rafaelweingartner. once again looks good

@rafaelweingartner a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.


open a new window of app not switching app

I am using chrome. Now i want to switch to firefox. firefox also already open. when i open firefox from cerebro it open separate firefox window. so how can I switch between app

#138


Add ability to dynamically configure istiod cert

To use "true" runtime configuration (with no issuerRef defined in the Helm values) it's necessary to have a solution for dynamically generating the istiod cert, which is usually created via a Certificate resource defined in the chart.
This PR adds the ability to dynamically generate the cert. Part of that requires the need to be able to signal that the runtime configured issuerRef has changed to trigger re-issuance.
The dynamic istiod cert is managed through a new controller, and also added is a runnable which watches for issuerRef changes. The notification system for the issuerRef changes is also used to allow the istio serving cert to be provisioned only when an issuer is available.
Testing
On a local checkout of the branch run:
$ make e2e-create-cert-manager-istio-resources
# creates a cluster, installs cert-manager, creates an issuer

$ k apply -f test/e2e/runtimeconfig-manifests/issuers/issuer.yaml
# creates another issuer (runtimeconfig-ca-issuer), which we can use later

$ cat > _bin/values.yaml <<EOF
image:
  repository: cert-manager.local/cert-manager-istio-csr

app:
  logLevel: 5
  logFormat: json
  runtimeIssuanceConfigMap: runtime-config-map
  certmanager:
    issuer:
      name: ""
      kind: ""
      group: ""
  tls:
    istiodCertificateEnable: "dynamic"
  istio:
    revisions: ["default", "abc"]
EOF

$ make oci-load-manager && make INSTALL_OPTIONS="--values _bin/values.yaml" install

#  this should hang because no issuer was configured in the chart values and there's no runtime configuration yet

# in a separate terminal:
$ kubectl create configmap runtime-config-map -n cert-manager \
        --from-literal=issuer-name=istio-ca \
        --from-literal=issuer-kind=Issuer \
        --from-literal=issuer-group=cert-manager.io

# the install of istio-csr should continue now
# there should be a istiod-tls secret in the istio-system namespace

# Change the runtime config map to point at the other issuer we created
$ k edit -n cert-manager cm runtime-config-map
# Change issuer to runtimeconfig-ca-issuer

# istiod-tls should be reissued

/approve
Cheers Adam, appreciate it!


pull must unzip if content type is application/zip

When the result is received from the server, inside the Judges::Baza class, we must check the Content-Type HTTP header. If there is application/zip, we must unzip the data.
Also, it should sent Accept: application/zip, application/factbase to the server.

@yegor256 may I take this one?

@tank-bohr sure, it's yours


Build 0.0.3-specific models for users

I'm going to make a couple of resources specific to 0.0.3 for users and upload them to the OSF.
Some of the resources:

GCLDA model trained on Neurosynth abstracts

200 topics, 2 ROIs per topic, symmetric. Other parameters held at defaults.

Neurosynth database converted to NiMARE format, with standard tf-idf features, Cognitive Atlas terms, and basic expanded Cognitive Atlas terms.
NeuroQuery database converted to NiMARE format, with associated tf-idf and count features.
LDA model trained on Neurosynth abstracts

200 topics. Other parameters held at defaults.

Anyone who's interested, please comment with other models you'd like to have ready access to, and I'll see if I can upload them. Going to hopefully close this issue within a week.

Neurosynth+Cognitive Atlas --> https://osf.io/aedmu/download

Hi,
Thanks a lot for this package! I've been trying to train a GCLDA model myself using the entire Neurosynth dataset but run into memory issues (even after allocating 125 GB of RAM). So, I'm very interested in downloading the pre-trained model. I found that https://osf.io/b2ycs/ should have this, but I can't locate the actual file (i..e, neurosynth_gclda.pkl.gz). Would it be possible to upload this pre-trained model? Otherwise, I will open a different issue for help to fix the memory problem.
Thanks!

I didn't end up training and uploading a GCLDA model due to the same issues. However, @JulioAPeraza is training a model right now, so hopefully he'll be able to upload the trained version once it's ready.
Unfortunately, when I restructured GCLDA from tsalo/gclda (which is a fork of the original tool), I somehow managed to slow it down substantially 😬. I'm still hoping to clean it up at some point, but in the meantime if you need a model of your own you could use that code instead.

Thanks a lot for the clarification! Ok, I'll be looking forward to download that trained model but in the meantime I'll explore the other option.


[To rel/1.2] Pipe: fix some minor concurrent issues & collect pipe's logs into a separate file (#10990)

Pipe: fix some minor concurrent issues

Logback: seperate pipe's logs

enabled -> enable

Update IoTDBConfig.java

(cherry picked from commit 1357cede80d67a8ecc0d8db75f629efd00d1f69d)

coverage: 47.679% (+0.004%) from 47.675% when pulling b65ee8781b4172a5dd854855594cd91e374e63f6 on pipe-con-fix into 2b8c1b46fc775925d007b5f83915e3047cb7aad6 on rel/1.2.


Error during initial clone

Just installed emu and during initial clone of openpilot I get an error. See below for copy of terminal.
`
root@localhost:/data$ emu fork list
To set up emu fork management we will clone commaai/openpilot into /data/openpilot
Confirm you would like to continue
[Y/n]: Y
Cloning commaai/openpilot into /data/openpilot, please wait...
Cloning into '/data/openpilot'...
remote: Enumerating objects: 45323, done.
remote: Counting objects: 100% (346/346), done.
remote: Compressing objects: 100% (152/152), done.
remote: Total 45323 (delta 225), reused 275 (delta 190), pack-reused 44977
Receiving objects: 100% (45323/45323), 1.43 GiB | 2.47 MiB/s, done.
Resolving deltas: 100% (25529/25529), done.
error: Untracked working tree file '.overlay_init' would be overwritten by merge.
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'
❌ Error while cloning, please try again`

Meant to reply, but I think you need to kill openpilot before starting the setup; updated wrote a file to the same directory git was cloning into. Might want to do this automatically in the future, but see if killing openpilot first works

Thanks, I'll try that next time I'm using emu


Interpolate temperature time series to a coarser resolution when computing the skill

As @Ruoying noticed the temperature time-series of most models do not resolve the diurnal cycle, while the observed data (higher resolution) do.
I will experiment with some interpolations to lower resolution to provide a fair comparison and avoid loosing information.

Done #193.
I am re-sampling the all series into 3 hours interval (SABGOM delta-t) before computing the skill.


Fixes bug #110

State becomes optional in AuthResult.from_dict.
Fixes bug #110

@MaxFrax has there been any feedback yet?
I also found a bug (incl. a fix) - https://github.com/Doist/todoist-api-python/issues/143 - but if community PR's are not taken into consideration, I don't want to invest time into creating my own PR.

@LukasKaspras Unfortunately, I have never received any feedback.


Creating a Backup Crashes NodeJS

When initiating a backup of Jellystat, nodeJS crashes because it is not able to open the backup file/directory with the below error:

Looking at backend/backup.js, the issue appears to be with the backupPath variable on line 42, as it contains a dot a the beginning of the line:
const backupPath = ./backup-data/backup_${now.format('yyyy-MM-DD HH-mm-ss')}.json;

This seems like an issue with the docker volume. the . is needed to tell it to look into the current directory and then go one folder in called backup. But if the volume is not mounted correctly or cannot be accessed it throws this error. il add some checks to prevent this from crashing the entire backend

Hi @CornHead764 , a fix has been pushed with version 1.0.3. This is to prevent crashing the entire backend and also adding a failure reason to the logs.

This seems like an issue with the docker volume. the . is needed to tell it to look into the current directory and then go one folder in called backup. But if the volume is not mounted correctly or cannot be accessed it throws this error. il add some checks to prevent this from crashing the entire backend

From looking at the example compose yaml file on docker hub, I think I see the confusion. The volume maps /app/backend/backup-data on the host side to /backup-data on the container side. These probably just need to get switched around then.


Skip can validate flutter version in parallel test in Linux web_tool_tests

https://github.com/flutter/flutter/issues/99003

Tree is closed due to this flake.
(seems @zanderso is ooo.)

/cc tree gardener @hterkelsen


Uploaded images appear stretched

Dear @sesemaya,
after upgrading the theme to the most recent release (see [1]), we are pleased about how smooth this was. Thanks again for your awesome work on this!
When revisiting #14, we found that while the image display works well in the editor preview now,

images which are higher then wide are still getting stretched to the total width of the post, which will look like this in display mode

You can find the respective post where this happens at [2]. Thanks in advance for looking into that if you can find the time.
With kind regards,
Andreas.
[1] https://meta.discourse.org/t/daemonite-material-theme/64521/75
[2] https://meta.ip-tools.org/t/no-family-information-for-de69423220t2/137/2

Hi there,
we found it's the display: block; CSS attribute of the container lightbox element which is stretching the images to their full widths.

When removing this guy, everything starts working as intended.

With kind regards,
Andreas.

We just released version 0.3.0 of our layout tweaks which now incorporates the appropriate workaround through https://github.com/ip-tools/discourse-material-theme-ample/commit/2d621e88.


Possibly redundant procedure?

Hi and thanks for maintaining this package!
I was looking at invoke_purchase_propensity_training_preparation and noticed that the final part of the procedure seems now redundant?
These lines
-- Initializing Training Dates
SET train_start_date = min_date;
SET train_end_date = max_date;

means that these other lines
IF purchasers > 0 THEN
    SET train_start_date =  GREATEST(train_start_date, min_date);
    SET train_end_date = LEAST(train_end_date, max_date);
ELSE
    SET train_start_date =  min_date;
    SET train_end_date = max_date;
END IF;

will always produce the same result regardless the value of purchasers, since train_start_date=min_date and train_end_date=max_date ?
Thanks for double checking 😄
/Matteo

Thanks @MatteoEgmont , I'm removing these lines.
-- Initializing Training Dates
SET train_start_date = min_date;
SET train_end_date = max_date;


feat: Implement framework-independent Action interface

This PR implements a framework-independent Action interface inspired by Eliza, making the tools more flexible and reusable across different frameworks.
Changes:

Created independent actions under src/actions/
Implemented Zod validation for type safety
Converted all LangChain tools to use actions
Added natural language matching with similes
Improved error handling and response formats

Looks great! Have you tested this out locally? If so, could you please attach screenshots for it

is this okay?

@FahriBilici this is awesome
as i can see, not all tools are converted to actions, is it something WIP

@FahriBilici Why is that in some action files you are using the agent.action format to resolve, whereas in some of the action tools you are copying from the tool file itself? Please maintain uniformity. Better to separate tools and actions imo, wdyt @thearyanag?

@FahriBilici Why is that in some action files you are using the agent.action format to resolve, whereas in some of the action tools you are copying from the tool file itself? Please maintain uniformity. Better to separate tools and actions imo, wdyt @thearyanag?

I tried to make all of them using tools. Let me know your thoughts

@FahriBilici Why is that in some action files you are using the agent.action format to resolve, whereas in some of the action tools you are copying from the tool file itself? Please maintain uniformity. Better to separate tools and actions imo, wdyt @thearyanag?

I tried to make all of them using tools. Let me know your thoughts

Looks great. Only one question, do you think it's better to transfer(agent, xyz) or agent.transfer(xyz) @thearyanag ?
I'm still undecided, but I think agent.transfer makes more sense in this context. As each action defines what the agent can do.

@thearyanag any comment?

hey @FahriBilici - I was trying to test it out, but was facing many bugs
can you just share a working video for it

hey @FahriBilici - I was trying to test it out, but was facing many bugs
can you just share a working video for it

How are you testing it? I run tests in auto mode.

I tested the pyth price feed, the prompt I used was
price of 49f6b65cb1de6b10eaf75e7c03ca029c306d0357e91b5311b175084a5ad55688 feed

@thearyanag I fixed the bug and here is the video
https://github.com/user-attachments/assets/354bed40-7555-40d0-a2bf-336de26f04a9

@thearyanag done

hey @FahriBilici - just checked, not every tool under LangChain is using the action, any specific reason?

@thearyanag I have made some changes, but I noticed a few tools are missing as actions. I will add them soon. Do you have any other feedback in the meantime?


gradlew not compatible with sh

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

CLI: 5.3.1
Cross-platform modules: 5.3.1
Android Runtime: 5.3.1
iOS Runtime (if applicable):
Plugin(s):

Describe the bug

tns build android

fails on environment without bash (e.g. Alpine Linux) with the error:
env: can't execute 'bash': No such file or directory
Command ./gradlew failed with exit code 127

I'm not sure where you get gradlew or how you generate it, but gradle itself fixed this issue long time ago and their gradlew is compatible with sh.
The environment is CI build environment with docker and alpine linux image. It wouldn't be problem of course for me install also bash in alpine, but the whole point of using alpine is to keep the size to minimum.
To Reproduce

Expected behavior
Sample project

Additional context

If you give some clues to me where you get gradlew or maybe generate it, I could apply a PR with the fix.

I'm almost sure that the problem is following gradlew file:
https://github.com/NativeScript/NativeScript/blob/master/tns-core-modules-widgets/android/gradlew

@vtrifonov I have tested your gradlew file on cli 5.3.1 by replacing the file contents and everything runs perfectly.
Thanks for your quick reaction.


Added source entry for: point_cloud_transport, point_cloud_transport_plugins and point_cloud_transport_tutorial

Added source entry for naming review:

point_cloud_transport
point_cloud_transport_plugins
point_cloud_transport_tutorial

Well, there is ROS 1 precedent (though I guess it is pretty new?) - I see that the repository is moving from https://github.com/ctu-vras/point_cloud_transport, is that right?

These repositories were transfered to ros-perception and only include the ros2 version


Add explicit history Icon to open the history panel + new conversation

We are using tools drawer of AppLayout for displaying user session history. The icon for tools drawer is Info icon which does not represent history, so end user might find it inconvenient to locate the session history. The icon is not customizable intentionally as mentioned here.
We should use secondary panels like Drawer for displaying session history.

Possibly add a new button to create a new session from https://github.com/aws-samples/aws-genai-llm-chatbot/issues/283

New Sessions menu is added as part of https://github.com/aws-samples/aws-genai-llm-chatbot/pull/433.
Closing this issue.


update export functions to reg ptr

https://github.com/formosa-crypto/formosa-25519/issues/4

note: this improves safety checking time


DCR Data

I suggest altering this section as per the attached page.
For this section and for the Survey, there is material in the GPG which is instructive. I suggest putting the material we want into EM.geosci and then deciding later if we want figures/equations shared.
DCR_Data.docx

Taking this one.

The animations were pulled in in #228 (onto master). There are 3 of them outlined in the pull request. They are included in the website using for example.
.. raw:: html
    :file: images/sounding_radio_buttons.html

Have a look when you get a chance and let me know if anything is unclear!

Switched with Dom. My rework of this page is on the DC_Data branch. Thanks for sorting out the animations Lindsey.

Pretty sure all this was done a week or so ago....


Unable to expand a subscription

Storage Explorer Version:1.14.2
Platform/OS: Windows 10 x64
Regression From:
I don't know, this is the first time I've used the app
Bug Description
Unable to view containers in a subscription
Steps to Reproduce
Open storage explorer
Pick a subscription
expand it
Unable to retrieve child resources.
Details:
["Error:Cannot find module 'tslib'\nRequire stack:\n- I:\apps\storageexplorer\resources\app\node_modules\se-managed-disks-extension\dist\src\index.js\n- i:\apps\storageexplorer\resources\app\out\app\providers\Provider.js\n- i:\apps\storageexplorer\resources\app\out\app\node\NodeProcessHostProxy.js"]

I tried using both "just for me" and machine-wide install options. Same result for both.

This means a library named "tslib" is not found. Could you go to directory "I:\apps\storageexplorer\resources\app\node_modules" to see if there is a folder named "tslib" in it? If it is there, there might be some corner case bugs in our path resolution logic. By the way, the location you are installing Storage Explorer is not the default location (e.g. machine wide C:\Program Files (x86)\Microsoft Azure Storage Explorer). Could you please try installing it at the default location and see if the issue still reproduces?

I:\apps\storageexplorer\resources\app\node_modules>dir tslib
 Volume in drive I is NewBins
 Volume Serial Number is 7EDE-F233

 Directory of I:\apps\storageexplorer\resources\app\node_modules\tslib

07/30/2020  01:49 PM    <DIR>          .
07/30/2020  01:49 PM    <DIR>          ..
07/15/2020  09:17 PM               824 CopyrightNotice.txt
07/15/2020  09:17 PM               655 LICENSE.txt
07/15/2020  09:17 PM             2,242 package.json
07/15/2020  09:17 PM             3,454 README.md
07/15/2020  09:17 PM             2,714 tslib.d.ts
07/15/2020  09:17 PM                36 tslib.es6.html
07/15/2020  09:17 PM            10,274 tslib.es6.js
07/15/2020  09:17 PM                32 tslib.html
07/15/2020  09:17 PM            13,204 tslib.js
               9 File(s)         33,435 bytes
               2 Dir(s)  392,727,842,816 bytes free

I can try the default location. I usually avoid using the default because my C drive is a smallish SSD and it's nearly full.

Works fine with the default location

@shueybubbles are you ok with having Storage Explorer installed on your C: drive or do you want us to keep investigating this?
If you'd like us to figure out what's going wrong, then I'd ask you to reinstall on your I: drive by uninstalling, re-downloading the installer, and then rerunning the installer.
Couple of extra questions as well:

When you install on your I drive, are you doing that by changing the install path in the installer or by copy and pasting from C: -> I:?
Is I: a local drive or a network drive?

I: is a local drive. I try to install apps on it because my C drive is small.
I just type the path into the edit control and click Next.

uninstall/download/reinstall led to the same error.
For now I can live with the default location but I imagine I'm not the only person who installs to other folders.

I have been long time user of the storage explorer and started getting this error after updating to 1.14.2.
Storage Explorer Version:1.14.2
Platform/OS: Windows 10 x64
Regression From: After I updated the storage explorer to the above version.
Install location: Default (C:\Program Files (x86)\Microsoft Azure Storage Explorer)

I have been working around this by uninstalling and re-installing the storage explorer every time I get this error.

@krishjag when you say:

I have been working around this by uninstalling and re-installing the storage explorer every time I get this error.
Are you implying that after some period of time an install of 1.14.2 that was working, stops working?

I have additional troubleshooting steps to help out.
Try patching Storage Explorer to fix what we think is the problem
First, we have a theory to what the issue is. I have a patch for you to try applying to the product:

Close Storage Explorer
Download this file: NodeProcessHostProxy.txt
After downloading, change the extension to .js.
Move the file to <Storage Explorer install location>\resources\app\out\app\node. You should be prompted to overwrite an existing file. Say yes.
Try using Storage Explorer

Get us values from process explorer
If the above doesn't work, then please:

Install Process Explorer: https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer
Open Process Explorer
Open Storage Explorer
Open notepad
Get to the point of the error message
Switch over to Process Explorer
Sort by names and look for all of the Storage Explorer processes

For each process:

Right click -> properties
Look under image for the "Command line" field (see below picture)
If in the command line field there is "nodeModuleRoots=", then copy and paste the value of command line field into a new line in notepad (feel free to redact any personal info in the file paths)
Attach that file to a reply here

Close Storage Explorer
Download this file: NodeProcessHostProxy.txt
After downloading, change the extension to .js.
Move the file to <Storage Explorer install location>\resources\app\out\app\node. You should be prompted to overwrite an existing file. Say yes.
Try using Storage Explorer

I had exactly the same issue after installing storage explorer into the custom path.
The solution above has worked fine for me.

@krishjag when you say:

I have been working around this by uninstalling and re-installing the storage explorer every time I get this error.

Are you implying that after some period of time an install of 1.14.2 that was working, stops working?

Yes, that's correct.

@MRayermannMSFT
I applied the suggested patch and the storage explorer is working now. Thanks!

Closed several issues as duplicates and linked them to this one. If you're coming from those and have tried the patch or any of the other steps we've recommended, let us know how it went! Right now we plan on shipping that patch in 1.15.


Allow applying plugins with matching versions

This resolves a long-standing issue with applying a plugin in a
subproject when that same plugin is already applied in the parent project.
Prior to this commit, you would need to avoid specifying a version,
which only became a true hassle with the introduction of plugins in the
version catalog, as shown in #18236.
This commit does not attempt to resolve conflicting versions, or inspect
the classpath for a plugin version. It only records the data that Gradle
knows for sure, and uses that to slightly relax this check. It is
sufficient to allow the issue mentioned prior to be resolved.
Replaces #18728
Fixes #18236
If accepted, I'll do the following:

[ ] Update documention
[ ] Document the feature in release notes

Awesome that you found a way to collect applied plugin versions! I just left a comment regarding having a direct dependency on plugins in ClassLoaderScope.
One question: Could we add also functionality to define "withoutVersion" plugins in the Version catalog?
I think it might come in handy in some cases, e.g. so you can generate type-safe accessors for precompiled, or when the plugin is added to the classpath through methods where we cannot collect versions.

Currently failing due to classcycle, see internal Slack.

@ljacomet @big-guy this is almost ready to go, but do you know if we have anywhere in the documentation that references the restriction on versions that this PR weakens? I didn't see any, so I didn't change the documentation, but maybe it's in an unusual place.

@asodja re:

One question: Could we add also functionality to define "withoutVersion" plugins in the Version catalog? I think it might come in handy in some cases, e.g. so you can generate type-safe accessors for precompiled scripts, or when the plugin is added to the classpath through methods where we cannot collect versions.

I did not tackle this in this PR, we have decided to save it for later. I filed #19302 to track this.

@bot-gradle test and merge

OK, I've already triggered a build for you.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.