keyfunc: failed keyfunc: could not find kid in JWT header

Hi.
I encountered an error in the title while testing OpenID Connect.
keyfunc considers kid as a required parameter, but according to RFC-7517 (4.5) kid is optional and may be absent.
In the following cases, id_token must pass signature verification.
jwks
{
  "keys": [
    {
      "kty": "RSA",
      "e": "AQAB",
      "use": "sig",
      "n": "uukX5Yo8pM4nFFSQ4ZdinfAnm2cxPDnEeMgTW39Mn_WBUUuP9OkxgJEfCc-_le963N36bpv14fb830eBS2Weld7UhYQQFx48bhBd6OY8NRZJV7Dg1Ub0YdXwfgKPkdbBZLbCpu3FK_KY5aXJKn8nTY-64s37fl91AOlYB2Q-0Q2D1NweRsH-mP5RV9gMG6q5tNhLmbCfDiL2vV2KVMUq2LsoGKF-f5ZzmVlHGy6UDgkC3BH0N7o5nJh_0iyXBieORtFb6TPP3pw-ER9QSLVhLfTUrnXTlhqyAsToaHXstX66JJaZQ_WjqCtiKhLr22809OPOE59g6TKHp6d2ea-saw"
    },
    {
      "kty": "EC",
      "use": "sig",
      "crv": "P-256",
      "x": "4u93KgJZgf1ISOCLSEXTq4GKrwM7hdnkP2m1eQsnHaY",
      "y": "xs1zTvc3yyCIGeWq3poV-T9DqqteP4d5CVTc04qJna0"
    },
    {
      "kty": "EC",
      "use": "sig",
      "crv": "secp256k1",
      "x": "76uOYhPihVpUp2OodREkQZD3pyGKeEzAefzuWGyAPxg",
      "y": "y54_2iPVOUScCYsG81_H-dD-ToSeR8_z0U9aKNkC6Ug"
    },
    {
      "kty": "OKP",
      "use": "sig",
      "crv": "Ed25519",
      "x": "Lf5MH_DJG5UfEDyi5g9VPZ6OAFzhsXUU7qiItvJgpcM"
    },
    {
      "kty": "RSA",
      "e": "AQAB",
      "use": "enc",
      "kid": "371cd27d-a43d-43df-aee0-1de48680307f",
      "alg": "RSA-OAEP",
      "n": "xHudfO1LjEUCx-cpvm4d9bIYRnjuW5lEQSpN0OgvwgDjeu1tludfUGd6hvvH8Qyhtti_GTdz2g5x5Iq3hSd9vcv-VlYR18PHTFuaGisxXwPyqG6qnxL6KizuyXMrkLHXkCP-e_gSN-CTcy7jdGNiYsafnkvSaY87Y_bk4B-tHnmiy750NYpMszp2su64BtzD-qFRkfcFawWbbtOIq1iIyCvE3eMg4Phu5GTK3JQLC-iKTl-yRNN_vUd0CvpBRud6X7JuxGCwV_n2yUy5PTYMJwYWEeDoZu55l2VCVK9vDddDVEp72V3mrrq1DMXMNAD_zCbQjV2iJJFFLsVMa4JYLw"
    },
    {
      "kty": "EC",
      "use": "enc",
      "crv": "P-256",
      "kid": "487710c5-e29f-4f8b-a97e-1f9505c756e6",
      "x": "JuU4Z3N1v6bMyk_a3f1D9_xYbEoysjcEZxFJbfCvkvk",
      "y": "OxuXJZY0dxCRPw6_BAGmmUrK0n6kO5OVep258M5I59Q",
      "alg": "ECDH-ES"
    }
  ]
}

jwt(id_token)
eyJhbGciOiJSUzI1NiJ9.eyJhdF9oYXNoIjoiakRkbDdSUXdVT24xVE5hX0NtTi1vdyIsInN1YiI6InVzZXItc3ViamVjdC0xMjM0NTMxIiwiYXVkIjoiZGVmYXVsdCIsImlzcyI6Imh0dHBzOi8vd3d3LmNlcnRpZmljYXRpb24ub3BlbmlkLm5ldC90ZXN0LzJvNGhZdDU3UU1zTmx4UC8iLCJleHAiOjE3MjYxMTkyNjksImlhdCI6MTcyNjExODk2OX0.DAIgDtaglNDTnU8QC-UmqARiO0QG1EzxIo1Krv_EUv9ZHYj5qG1rVrlWPTkhqO0Azw3j3_jK4J1h9VvzeH6_AxtCs-dV9wLBDL_gogDywh-skYYZ_WihvLeSmfHoP-fl8NQxZRJ118Nu3EOcxor85RaeKp3FrTpEqOG94yhgSZ-4mN-jJlN_e1jSetE76gRVlsEp_UP4l6c3DXXZ4-d7y5NqO1Rv93KpFwiC22CBy9Iu2lOkqfPIF4aHdjBxgN8BZGMysWO0DbSqE3fLFD51FzP5NkNvveqV3XPLI9eLMyK7kWswLIcgeFtL7xkv8krw4TLBUBcugcLfgcGAZdtc-w

I hope you can resolve this issue.
thank you.

@Eigen438 thank you for providing a JWK Set and JWT.
It has been a while since I have considered matching keys on something besides the Key ID kid. From what I remember, I have no plans to match on anything but the kid because of the scope of this package.
The scope of this package is to provide a jwt.Keyfunc for the github.com/golang-jwt/jwt/v5 package. Below, I've copied the definition of jwt.Keyfunc:
// Keyfunc will be used by the Parse methods as a callback function to supply
// the key for verification.  The function receives the parsed, but unverified
// Token.  This allows you to use properties in the Header of the token (such as
// `kid`) to identify which key to use.
//
// The returned interface{} may be a single key or a VerificationKeySet containing
// multiple keys.
type Keyfunc func(*Token) (interface{}, error)

Due to the documentation and signature of this function, the github.com/MicahParks/keyfunc project only gets one return value with no retry logic.
Since key selection retry logic is not available in the jwt.Keyfunc implementation, if I were to add code that selected a key on something other than a unique identifier, such as algorithm, the wrong key may be returned and the users of this project would likely have some confusing JWT parsing errors to debug.
My suggestion to you would be one of two things:

If you control the JWK Set and JWT signing, assign Key IDs, kid, to each JWK in the set and place the kid in the header of the signed JWT. This project should become helpful after that.
If you cannot do the above, use the github.com/MicahParks/jwkset project to edit your JWT parsing logic. You should implement custom key selection logic or iterate through all keys with retry logic. You can read all keys with the .KeyReadAll method on the jwkset.Storage implementation you are using.

Thank you for your comment. @MicahParks
I will try to implement it using the method you suggested.


BUG: SoftShift is broken

As the Nonparametric is modified, _paste is no long what it means before. Need a fix, when the  final Nonparametric is decided.

I am going to work on that :)


some questions about use grok_exporter

1、How to deploy the grok_exporter to the k8s cluster ?  if i have many pods need to parse crappy unstructured log data ？
2、The input in config.yml how to configure the log path in the pod？

A simple way to do this is to run kubectl logs ... | grok_exporter -config ... in a Pod, and configure stdin as the input for grok_exporter. Would that work for you?


Fix modified date used when comparing items

For files, we should be using contentModifiedDate, but for folders and bookmarks, we should use modifiedDate.

Verified that @h2kuo has signed the CLA. Thanks for the pull request!

+2


Closing Rest Client Response

explicitly closing the response from the rest client call to the Git API

We're not seeing this any more and the try(-with-resources) {} should auto close the response. https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html


Fix Cast tests on Databricks 14.3

Build the plugin against the Databricks 14.3 cluster using #11467. Once built successfully run the cast tests by TESTS=cast_test.py jenkins/databricks/test.sh
The following tests fail
[gw2] [ 20%] FAILED ../../src/main/python/cast_test.py::test_cast_timestamp_to_numeric_non_ansi

I'm taking a look at this one.  I've seen this failure in the context of Spark 4.

https://github.com/NVIDIA/spark-rapids/pull/11559 should now address this too.

This is addressed by #11559.


Tiling not working for AtlasTexture image for both canvas TextureRect and Sprite

Godot version:
v3.2.1
OS/device including version:
Windows 10 Pro
Issue description:
Tiling not working for AtlasTexture image for both canvas TextureRect and Sprite
Steps to reproduce:
Add an AtlasTexture to the project and try to tile using any one of TextureRect or Sprite. It won't tile.
Minimal reproduction project:
bug-report.zip

Unfortunately atlas texture don't support tile yet.

@guilhermefelipecgs  ok for now I guess I have to use normal png image

Closing in favor of #5660 and #20472.


Simplify BC7 M5 endpoint precomputation

As mentioned in https://github.com/BinomialLLC/basis_universal/issues/160#issuecomment-690535113. While the absolute endpoint values are different, the interpolation result remains the same.
Also fixed accidental non-ASCII char.

Thanks - I'll review/test and get this in.

@richgel999
Did you get a chance to look into this?

I'll merge this after v1.16 is released in early Jan. Still on my desk.

Looks like v1.16 has been released. Would you be able to review this?

I'm triaging my PR's and this is still very interesting.


usage: dirname path

Howdy,
I was following your "sample" file template and I kept getting "usage: dirname path" ..after looking at the source I tracked it down to how AUX_PATH was being set.
When I changed it to this:
AUX_PATH="$( cd "$( dirname "$0" )" && pwd )/support"
everything worked as expected. I am no bash expert so I don't know if this change should actually be committed but I thought it was worth mentioning.
That said, this is a very nice, and useful, project.

This has been fixed. The AUX_PATH is now being set with the following:
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
[...]
AUX_PATH="$SCRIPT_DIR/support"


foreign process

Sometimes, when a lot of variables are declared in a process and are also used in many other processes, it might be cumbersome to declare foreign variables for every single variable in each of those processes.
It may be convenient to simply declare a reference to another process and implicitly all of its variables, instead of a given variable in particular.
As an example:
@xsimlab.process
class Diffusion(object):
    grid = xsimlab.foreign_process(Grid)

    def run_step(self, dt):
        # use self.grid.x_size, self.grid.y, etc.

For simplicity, such foreign_process would only support intent='in'. This limited support would cover the majority of potential use cases I think.
The implementation is very straightforward: in the example above, self.grid would call a property getter that simply returns the Grid instance in the same model. Assuming intent='in', it is also easy to see that Diffusion depends on the Grid process.
One issue is that there is no obvious way of preventing value setting (e.g., self.grid.x = value), which shouldn't be allowed here. We might issue a warning in the docs that this is user's responsibility.

Note on the API: probably xsimlab.foreign can be re-used here, making var_name an optional argument that defaults to None and raising an error if var_name=None and intent='out'.

Assuming intent='in', it is also easy to see that Diffusion depends on the Grid process.

Actually it isn't: if Diffusion use only input variables declared in Grid it doesn't depend on Grid. And it's not possible to track which variables  of Grid are used in Diffusion.
The suggestion here may be a bad idea, after all.


feat(grpc): use @grpc/grpc-js grpc implementation

Description:
Switch to the @grpc/grpc-js package, a pure javascript implementation, to simplify greatly the installation story for the end users.
Motivation and Context:
The grpc package contains native code, and causes grief and difficulty of usage for the end user. Since electron 3, it became possible to use the pure javascript version of grpc, since the necessary http2 module became available there.
Fix #951
How Has This Been Tested?
Manually
Types of changes:
Dependency update
Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[ ] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage increased (+0.003%) to 20.028% when pulling be7ed5b38986b3c331bae78dd73d84963202df57 on mrfelton:feat/grpc-js into 8eeea63960949aa8b3e95ded7f9bc0d2be32691a on LN-Zap:master.

Coverage increased (+0.003%) to 20.028% when pulling be7ed5b38986b3c331bae78dd73d84963202df57 on mrfelton:feat/grpc-js into 8eeea63960949aa8b3e95ded7f9bc0d2be32691a on LN-Zap:master.

Coverage increased (+0.003%) to 20.028% when pulling be7ed5b38986b3c331bae78dd73d84963202df57 on mrfelton:feat/grpc-js into 8eeea63960949aa8b3e95ded7f9bc0d2be32691a on LN-Zap:master.

Tested ACK be7ed5b


Web Twitter has now a native night mode

Hi,
maybe you didn't know it, but Twitter Web has now a native night mode. Everyone can activate it without any addon and it works without any issues at the layout.
You find it under your profile pic at the right corner, the last setting.

Hey @Daisenki, yes, I know that there's an official version. But it's not been rolled out to all users - I don't have it yet. As per a twitter dev, it'll take about a couple of weeks for full roll out. Once I can be quite sure that it's available for everyone,  I'm planning to show a notification from the extension about the official night mode and ask users to uninstall (:cry:) the extension.
Thanks for letting me know anyway :smile:

Thank you for your great addon, I did use it a long time and really liked it! It was the first night mode addon for Twitter web on the Firefox store and you always care about bugfixes and updates. Thx for that! :)

Ah, thanks for your kind words :)


illegal dynamic reference when passing a ProjectReference to an in

This
    scalacOptions ++= plugins.map { plugin: ProjectReference =>
      "-Xplugin:" + packageBin.in(Compile).in(plugin).value
    }

results in a compile error
[error] D:\my\project\MyBuild.scala:192: Illegal dynamic reference: plugin
[error]         "-Xplugin:" + packageBin.in(Compile).in(plugin).value

note that this also happens if the plugin is defined more strictly as a LocalProject (which is the implementation I am using).
It would appear that the macro is using too much magic.
Is there a workaround? (That doesn't involve generating the build definition file).
My current workaround is a massive hack that only works for my one project (i.e. effectively hardcoding the path to the plugin file in the build definition, and then remembering to run packageBin on the relevant plugin modules before doing a build).

Not sure if this is what you're looking for, but the following works for me:
lazy val core = project

def allPackages(filter: ScopeFilter) = Def.taskDyn {
  packageBin.all(filter)
}
scalacOptions += {
  val pkgs = allPackages(ScopeFilter(inProjects(LocalProject("core")), inConfigurations(Compile))).value
  "-Xplugin:" + pkgs.head.toString
}

ok cool, I'll try that out tomorrow and let you know. Shouldn't the original syntax support this though? This use of taskDyn seems a bit hacky.

This is somewhat expected of the build.sbt DSL since anything that gets called with (xxxx).value means (xxxx) part is expanded by the macro as a dependency of the current task, which runs prior to the current task's curly brace. This requires everything to be resolved statically.

:+1:

This should be reopened, I'm still seeing illegal dynamic reference when using your code.
Try making your "core" an Seq[String] and map over it.

yes, I believe the issue here is using an explicit String vs using a value.

You have to push any dynamic part into the dynamic task.
lazy val core = project
lazy val nameOfProjects = settingKey[Seq[String]]("something")
lazy val allPackages = Def.taskDyn {
  val filter = ScopeFilter(inProjects(nameOfProjects.value map { LocalProject(_) }: _*), inConfigurations(Compile))
  packageBin.all(filter)
}
nameOfProjects := List("core")
scalacOptions += {
  val pkgs = allPackages.value
  "-Xplugin:" + pkgs.head.toString
}

I don't know the nameOfProjects in advance, so I have to do something like this and it's still giving the same warning (note that plugins is also not known in advance, it is calculated by parsing an Eclipse project definition):
       scalacOptions ++= plugins.map { plugin =>
        "-Xplugin:" + Def.taskDyn {
          packageBin.all(ScopeFilter(inProjects(plugin), inConfigurations(Compile)))
        }.value
      }

have a look at https://gist.github.com/fommil/aa6b71397ccb474a0660 to see what I mean.

line 124 ish

I got it! Defining
     val internalPlugins = Def.taskDyn {
      packageBin.all(ScopeFilter(inProjects(plugins: _*), inConfigurations(Compile)))
    }

outside the .settings for the Project that I'm declaring, and then calling it with
      scalacOptions ++= internalPlugins.value.map {
        plugin => "-Xplugin:" + plugin
      }

inside the Project's settings seems to do the trick.
Very subtle! Thanks :smile:


Lost my blogs and cannot authenticate

Describe the bug
A clear and concise description of what the bug is.
Lost my blogs. They were there before but now not. Cannot authenticate. Go to settings, connection, authenticate and select Thumblr. I get the log on screen, log on and that works fine. When ever I go back to this screen by selecting settings, connection, authenticate. it shows that I am still authenticated. But right of the Privacy button, it keeps on saying "logged out"
The privacy button only shows me a nice window of tumblr and I can make out that I am logged in. But there is nothing seen about privacy.
EDIT: Additional error: After adding some blogs again, clicking on the download button has no other effect than that the button get disabled. The download does not start.
To Reproduce
Steps to reproduce the behavior:

Go to settings, connection, authenticate
Click on authenticate.
Scroll down to the username and password entry fields. Enter the password and username. See the blogs in the window that indicate that the authentication worked. Exit this window and see that the text Logged out is still there right of the Privacy button.

Also try the privacy button. see that it shows a window with Tumble blogs. And see that there is nothing shown where you can agree or disable with privacy related matters.
5. See error
No privacy related matters shown and Logged out is still shown after logging in.
Expected behavior
A clear and concise description of what you expected to happen.
After logging in, the text Logged out will change to Logged in. Clicking the privacy button will produce some kind of privacy related question.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

TumblThree version: [e.g. <IP_ADDRESS>] <IP_ADDRESS>7
OS: [e.g. Windows 10 Home] Windows 10 pro
Browser [e.g. Chrome, Safari, IE, Edge] Firefox 104.0.2 (64-bit)
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Did you check your download location in the settings? Is it the same folder as before? Do you have your folder as a subfolder of the TumblThree installation or on a totally different location (better)?
Normally, if the folder changed and the blogs are missing, you can just point it to the old location and all blogs are back again.
In the window of the privacy button an overlay/popup can appear, after a second or when starting to scroll down. But recently not so often.
Regarding the login problem, you can go to the profile folder (%LOCALAPPDATA%\TumblThree\Settings) and delete the file Cookies.json. Maybe an old cookie is stuck there. Then start the app again and log in again.
Normally, a normal blog can be downloaded even without logging in. If even that doesn't work currently at your side, I don't know what is preventing your downloads.
Have you checked the log file (in %LOCALAPPDATA%\TumblThree) for an error?
I just tested it on my current installation and on a totally fresh pc. On both the login and download worked.

Did you find your blogs again and the login works with the current version?

The issue has been closed. You can still comment. Feel free to ask for reopening the issue if needed.


Role of Flink is not clear in README

It says: "The Pinpoint-Flink is necessary to use 'Application Inspector' feature." but link provided is not working. So there is no clue about role of pinpoint-flink in readme section.
Flink section in readMe: https://github.com/pinpoint-apm/pinpoint-docker#flink-configuration-optional

Broken links are now updated!


behaviour of scipy.spatial.transform with a reflection matrix

I don't know if this is a bug or a feature or just a clarification in the docs.
If I use scipy.spatial.transform with a reflection matrix I get different/wrong results compared to those produced by the homogeneous transformations package. Same results if I use a proper rotation matrix.
->eg
        print(w_R_o)
        print("det:", np.linalg.det(w_R_o))
        from tf.transformations import euler_from_matrix, euler_matrix
        e = euler_from_matrix(w_R_o, "sxyz")
        m = euler_matrix(e[0],e[1],e[2], "sxyz")
        print(m[:3,:3])

        from scipy.spatial.transform import Rotation as R
        r1 = R.from_dcm(w_R_o)
        e2 = r1.as_euler("xyz")
        r2 = R.from_euler("xyz", e2)
        m2 = r2.as_dcm()
        print(m2)

running the above code with a reflection matrix gives:
[[-1.     0.    -0.   ]
[-0.    -0.9    0.436]
[ 0.    -0.436 -0.9  ]]
('det:', -0.9999999999999998)
[[-1.    -0.     0.   ]
[-0.     0.9   -0.436]
[ 0.    -0.436 -0.9  ]]
[[-1.  0.  0.]
[ 0.  1.  0.]
[ 0.  0. -1.]]
whereas if the matrix is a rotation matrix I get the same results:
[[ 1.     0.    -0.   ]
[ 0.    -0.9    0.436]
[-0.    -0.436 -0.9  ]]
('det:', 0.9999999999999998)
[[ 1.     0.    -0.   ]
[ 0.    -0.9    0.436]
[-0.    -0.436 -0.9  ]]
[[ 1.    -0.     0.   ]
[ 0.    -0.9    0.436]
[-0.    -0.436 -0.9  ]]

@martinakos
Rotation object represents proper rotations (well, hence the name). That is, if talking in terms of matrices --- they have determinants equal to 1.
What happened is that Rotation converted your reflection matrix to rotation matrix according to the doc
Initialize from direction cosine matrices.

Rotations in 3 dimensions can be represented using 3 x 3 proper orthogonal matrices [1].
If the input is not proper orthogonal, an approximation is created using the method described in [2].

Could we close this issue?

So am I to keep using the homogeneous transformations package instead of scipy.spatial.transform?
In my actual code I'm converting a transformation (which can be a reflection) into a quaternion to be sent  through a transport system and then turned into a transformation again.  With the homogeneous transformations package I can do the transformation fine, but as the library is no longer actively developed and the author of the package recommends to use scipy.spatial.transform I tried to use the latter, then I discovered this problem with reflection matrices.

In my actual code I'm converting a transformation (which can be a reflection) into a quaternion

Is it actually possible to represent a non-rotation transform as a quaternion? It there a special extension/processing for quaternions to achieve that? I'm just only familiar with rotation quaternions.

So am I to keep using the homogeneous transformations package instead of scipy.spatial.transform?

Rotation was designed to represent only rotations (and it does it very well in my opinion). It is just the current state of things and probably there is no quick fix to your problem.
If you are interested and can come up with a general API for a transform (say to achieve what you need), you are welcome to do so. I will be glad to help.

Is it actually possible to represent a non-rotation transform as a quaternion? It there a special extension/processing for quaternions to achieve that? I'm just only familiar with rotation quaternions.
It seems it's actually possible to represent a reflection with a quaternion as a google search can show.

I'll just keep using homogeneous transformations package for the moment. I could probably reframe the problem so that I never generate reflections but it's just some proof of concept code that I'm doing and I can't spent more time for now. You can close the issue if you like.

But make sure that this conversion to quaternions and back works correctly.


Bump 0.13.0-rc1

Signed-off-by: lukelee-sl<EMAIL_ADDRESS>Description:
Bump version to 0.13.0-rc1

Codecov Report
Base: 71.08% // Head: 71.08% // No change to project coverage :thumbsup:

Coverage data is based on head (16fad0d) compared to base (3ee9a2f).
Patch has no changes to coverable lines.

Additional details and impacted files
@@              Coverage Diff              @@
##           release/0.13     #724   +/-   ##
=============================================
  Coverage         71.08%   71.08%
=============================================
  Files                16       16
  Lines              1207     1207
  Branches            219      219
=============================================
  Hits                858      858
  Misses              287      287
  Partials             62       62

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

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


transport: add UDP support

add UDP face so python-ndn can connect NDN forward plane by UDP.
UDP face is best fit for small, unreliable and low lantecy data transport.

thank you for your suggestions.
I have finished them all.
@yoursunny

There's a build error detected by GitHub Actions.
@GlassyYang  please fix it with a follow-up Pull Request.
@zjkmxy  you should have approved GitHub Actions run (approval needed for first time contributor) before merging, so that such problem is detected before merging.


Extract type cast behaviour

By extracting the type casting to its own class it can be easily replaced when needed. Preferring composition over inheritance etc.
It becomes better testable as well.
I tried to keep BC by proxying to the TypeCaster and instantiating the TypeCaster when not set in case FilterManager::filter() method is overridden.

Coverage decreased (-62.6%) to 17.942% when pulling 6af007edb5b19c61dfcbc6489a0bc5fde320fd99 on netiul:feature/extract-type-casting into cca97a6f375160660e1305bc610d0fc135b9bd6c on zfcampus:master.

This repository has been closed and moved to laminas-api-tools/api-tools-doctrine-querybuilder; a new issue has been opened at https://github.com/laminas-api-tools/api-tools-doctrine-querybuilder/issues/1.

This repository has been moved to laminas-api-tools/api-tools-doctrine-querybuilder. If you feel that this patch is still relevant, please re-open against that repository, and reference this issue. To re-open, we suggest the following workflow:

Squash all commits in your branch (git rebase -i origin/{branch})
Make a note of all changed files (`git diff --name-only origin/{branch}...HEAD
Run the laminas/laminas-migration tool on the code.
Clone laminas-api-tools/api-tools-doctrine-querybuilder to another directory.
Copy the files from the second bullet point to the clone of laminas-api-tools/api-tools-doctrine-querybuilder.
In your clone of laminas-api-tools/api-tools-doctrine-querybuilder, commit the files, push to your fork, and open the new PR.
We will be providing tooling via laminas/laminas-migration soon to help  automate the process.


Tests: obj/rest spread and computed-property rule (fixes #3)

These tests pass fine, so I'm not sure there's really an issue here.

Can't see why we shouldn't have these tests. Merged.


Resolve the exception below which happens when you build the strongbox-web-core

Hi Martin,
I think I've resolved issue with NoClassDefFoundError. Spending a Lot Of Time I found that we don't need jetty stop manual execution specified in pom.xml file, because we are using jetty as a deamon and as a part of our current maven build. When the build ends jetty will be stopped automatically and all resources will be released.
As a proof I was inspected process list at my machine, there was no separate process for jetty, and there was no java processes after maven build was finished.
Please let me know if my fix works for you and if you are pleased with that solution.

Many thanks for your fix!


Add IPFS metadata field proposal and details

@jcramer Here is the PR as requested.  Would love to hear your guys' feedback and suggestions.
Changes:

Added details for operation of uploading/download of content stored in IPFS
Documented ipfs_file_hash_intoption
Added and documented new option ipfs_hash_opts_utf8
Attribution from MatterBCH changed, as that is Matter's reddit username that I used. Reference

Really curious how we can improve this last option ipfs_hash_opts_utf8 as this not my favorite part, but I think it is valuable for posterity for the files stored and the protocol itself. It is optional, and clients can in theory reconstruct this with tuning the options until they arrive at it. This is why we recommend to not change any of the ipfs settings when creating the hash.
Also here are some comments and questions after reviewing the specification that may be helpful.

Additional Notes/Questions:

There is a funding TX required in a chain of utxos. If the user calculates the fee incorrectly, during network congestion (yes, this should "never" happen), then they may not be able to complete uploading all their chunks in a timely fashion. This can be mitigated later on with a mining node upgrade, see next few comments.

In order to support larger files, then the max chain of unconfirmed transactions must be increased, or the user must be willing to wait for more block confirmations in turn and therefore the upload may take hours, or even days (depending on file size).  Related to errortoo-long-mempool-chain

Nonetheless, this is a very elegant and predictable solution to optimizing for storage space since no chunk counter and/or reference txid needs to be be embedded (and therefore no space of the OP_RETURN is lost for the data chunks).  It will be easier to optimize the max unconfirmed chained transactions than it is to potentially lose 34 Bytes+ for every OP_RETURN referencing/chunk counters.

What is the difference between <size_bytes_int*>  and  <chunk_X_data_bytes*>?   Answer: size_bytes_int is the total size of the file, whereas chunk_X_data_bytes is the bytes of the chunk contained in the same transaction as the metadata. An observation here is that the size_bytes_int is technically redundant, but best practice should be to provide it here too, since there is a field for it.

How would data retrieval work if there are many chunk transactions? Is there a way something like bitdb.network could return all of the chunks with a single query?

Perhaps this could use more clarification:

If the file includes 1 or more data chunks AND the chunk data is not included in this metadata transaction then first input to this transaction (i.e., vin: 0) shall be used to locate the first data chunk.

The vout1 of the metadata transaction points to the first chunk, correct?

Note: file_extension_utf8 should be adequate to determine file type. It is preferable to use a file extension over a full MIME type to conserve space.

ps, I'm fixing the conflicts now

Superseded by https://github.com/jcramer/slp-specification/pull/2


Deficits show up in hourly calculations but not in yearly node

Background
When I open a blank nl2019 scenario on master, the deficits for households and buildings are 0.0 PJ. See the households_space_heater_deficit:

When I however open the deficits table, it shows that there are deficits for apartments between 2005 and present:

Issue
This means that the FEVER_DEMAND_CURVE and the FEVER_PRODUCTION_CURVE for households_useful_demand_for_space_heating_apartments_2005_present are not equal. These are subtracted from each other in the query absolute_deficit_useful_demand_for_space_heating_apartments_2005_present.
Solution
I am not sure how this should be solved. Some interesting points to note:

The households_useful_demand_for_space_heating_apartments_2005_present is the first of the existing households in the space_heating_consumer_order
The deficits do increase with infinity in the screenshot above, even though they are 0 PJ in both present and future
If I set the gas combi boiler to 100% and then back again to 84% (without using the reset button), the deficits disappear

Data-initialisation now shows 0 deficits in a blank scenario, nice work @noracato! I do still spot a minor issue however. Opening a blank scenario produces -0 deficits:

Additionally, when I introduce deficits and then set the amount of decimals to 1, this seems to have no affect. For example:
      %td{:data => {:decimals => 1, :gquery => "relative_deficit_useful_demand_for_space_heating_apartments_before_1945", :graph => :future}}
      %td{:data => {:decimals => 1, :gquery => "relative_deficit_useful_demand_for_space_heating_detached_houses_before_1945", :graph => :future}}
      %td{:data => {:decimals => 1, :gquery => "relative_deficit_useful_demand_for_space_heating_semi_detached_houses_before_1945", :graph => :future}}
      %td{:data => {:decimals => 1, :gquery => "relative_deficit_useful_demand_for_space_heating_terraced_houses_before_1945", :graph => :future}}

This still produces:

Additionally, when I introduce deficits and then set the amount of decimals to 1, this seems to have no affect.

That is because the unit of the values is unknown, so the table does not (know how to) scale the values and keeps them as the are.

How can the table know the unit of the values? Especially when there are two unit type values in the same table?

Sorry, that was unclear of me.
In the interface file, your table does not specify a unit, and therefore the table will not rescale values as it does not what the rules are for the conversion. Hence, giving the table cell a precision of 1 decimal will not do anything, as the table is not doing anything with the number.

So is it possible to set a unit for part of the table?

Not at the moment unfortunately

Or we have to rebuild the table in a different way, like for example the plant profitability table

Table is looking great! There is however still an interesting thing going on with the data-initialisation in a blank nl2019 scenario. A tiny amount of deficits occur:
V(households_space_heater_deficit,demand)

0.0001087188720703125

The table then looks like this:

Should I open a new issue for this? It seems so marginal that is more of a nice-to-solve at some point than a must-have now.

It is still something worth investigating in my opinion, because in a blank DE_germany scenario, some deficits are quite significant:

If is set any of the technologies at 100% in that scenario, no deficits occur. This suggests that it is not related to the technology capacities, but to the initialisation.


fix: Bring back Cargo.lock

Follow-up from #279

On a side note, I think we also haven't transferred the specific release profile of zero-bin when doing the migration. I don't mind not having LTO anymore, but I guess if we feel we should have it back then I can add it to this PR.

@muursh @atanmarko On a side note, I think we also haven't transferred the specific release profile of zero-bin when doing the migration. I don't mind not having LTO anymore, but I guess if we feel we should have it back then I can add it to this PR.

@muursh @atanmarko On a side note, I think we also haven't transferred the specific release profile of zero-bin when doing the migration. I don't mind not having LTO anymore, but I guess if we feel we should have it back then I can add it to this PR.

We will add it when we need it.

@Nashtare Ok then we leave default and adjust along the way if there is a need.


Client-Side Template Does Not Allow Adding Authentication

The Client-Side Template Does Not Allow Adding Authentication when creating a solution as the server-side template does.
Please add authorization to the server project to the client-side solution template.

Dupe of #12476

@timheuer my bad, I'll close it.


Use primary menu icon

The primary menu uses a color settings icon, which looks odd. The HIG recommends menu-open-symbolic for this: https://developer.gnome.org/hig/stable/primary-menus.html.en

I agree that it looks odd, and it looks even worse on windows. I don't have menu-open-symbolic on my system, is it standard? There is also open-menu-symbolic which is similar.

My bad, it's actually open-menu :)


Openprovider supports 2FA as of June, 16th 2015

+looks-good

Comments from the review on Reviewable.io

Reviewed 2 of 2 files at r1.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from the review on Reviewable.io


sk habitat load error

Odd error when processing linear habitat:
 INSERT 0 249
psql:sql/load_habitat_linear_sk.sql:134: ERROR:  ON CONFLICT DO UPDATE command cannot affect row a second time
HINT:  Ensure that no rows proposed for insertion within the same command have duplicate constrained values.
parallel: This job failed:
psql *** -v ON_ERROR_STOP=1 -f sql/load_habitat_linear_sk.sql -v wsg=LNTH

Trying to replicate but this seems isolated, maybe it was a network issue?

Error does not occur when running the job locally.

Problem remains, and occurs in the same spot.
https://github.com/smnorris/bcfishpass/actions/runs/8239849253/job/22535586933#step:4:20016
psql:sql/load_habitat_linear_sk.sql:134: ERROR:  ON CONFLICT DO UPDATE command cannot affect row a second time
HINT:  Ensure that no rows proposed for insertion within the same command have duplicate constrained values.
parallel: This job failed:
psql *** -v ON_ERROR_STOP=1 -f sql/load_habitat_linear_sk.sql -v wsg=LNTH
INSERT 0 248
Error: Process completed with exit code 3.


Install script setup.sh fails when /etc/group has no name for used group

When no user/group is specified during configuration cmake tries to figure out the current user/group by using the id command. But when the /etc/group has no name for the gid the command will fail.
This was observed while cross-compiling with buildroot:
http://autobuild.buildroot.org/results/b2b5c26b03a71fcbf956789aaa8bf6638e6c0994/build-end.log
Normally buildroot will not use the file permission set during the build but will change the permission to root when creating the rootfilesystem. Would it be an option to change the setup.sh to not use the -o and -p when e.g. the value is set to -1 during the configuration?

Hi,
could you please test it with script.patch.txt? It worked fine for me and if it is fine for you as well, I will commit it.

Hi Michal,
you're too quick ;-) I started doeing a similar fix. But yours looks better. Just started a rebuild and I will let you know if it works.

Hi Michal,
looks good. On my machine I can succesfully build. I created a user whose group name is empty and the netopeer can be build/installed successfully.
Many thanks for your support.

Okay, it is committed now. Next time you can mention that you are willing to provide a patch, will save me the time :)

Okay, it is committed now. Next time you can mention that you are willing to provide a patch, will save me the time :)

sorry .. for sure ;-)


Can't attach rearrange event when move to new position

Thank you for your library
I have reArranging function like below
 flowy(document.getElementById("canvas"), drag, release, snapping, reArranging); function reArranging(block, parent) {         // When a block is rearranged         console.log("REARANGE BLOCK", block);         console.log("REARANGE PARENT", parent);  }
When I move block to another position (not associated with any existed blocks in canvas) -> two line in function above is executed.
But when I move block with associating with existed blocks in canvas -> two lines in function is not executed.
My problem is that I need to get block and its new parent when rearranging block.
Please help me to solve this. thank you

So as I understand it, your issue is that the rearrange function doesn't get called when some blocks from the canvas are rearranged and then snapped back to a different parent? In that case, the snap function should do the job.


Cannot debug non-main package error when debuggin folder directly under GOPATH

What version of Delve are you using (dlv version)?
1.0.0
What version of Go are you using? (go version)?
Go 1.9
What operating system and processor architecture are you using?
windows/amd64
What did you do?
Tried to debug a package that is directly under the GOPATH using go delve packagename
What did you expect to see?
breakpoints hit
What did you see instead?

Can not debug non-main package
Process exiting with code: 1

Repro Steps:

Create 2 Go files with the below file paths
GOPATH -> src -> testing -> hello.go
GOPATH -> src -> testing -> subfolder -> sub.go
Add the below sample content in both files

package main

import "fmt"

func main() {
	fmt.Println("hello")
}

In a terminal run the below. Note that it fails with "Can not debug non-main package"

cd $GOPATH/src/testing
dlv debug testing

Next run the below. Note that the debugging runs just file

dlv debug testing/subfolder

Hey @ramya-rao-a, I can reproduce this, it seems to be a permissions issue, the created binary doesn't have execution permissions and Delve can't run it,
https://github.com/derekparker/delve/blob/2925c0310a76b54c725e380776e251ce16417fe1/pkg/proc/native/proc_linux.go#L52-L55
which it reports with the generic error
https://github.com/derekparker/delve/blob/2925c0310a76b54c725e380776e251ce16417fe1/cmd/dlv/cmds/commands.go#L528-L532
The name testing is a Go internal package name (in $GOROOT/src/testing) and when go build is called (through dlv debug) with that explicit name it interprets it as its own package and  generates it without  execussion permissions (not sure why, may be related to the mode used).
When using the sub-folder name testing/subfolder Go knows it's not its own package but another one residing inside $GOPATH and it does give it execution permission. The same can be achieved with dlv debug . (to explicitly indicate to use the CWD) or changing the package name from the generic testing to testing-delve (without needing a sub-package).
This can also be checked directly with the go build command:
mkdir -p $GOPATH/src/testing
cd $GOPATH/src/testing
# Empty directory.
go build -o debug testing
# It doesn't fail, it's building the one from `$GOROOT`.
ls -lah debug
# -rw-rw-r-- [...]
dlv exec ./debug
# ./debug is not executable

# Create a `testing` package here
cat <<EOF > hello.go
package main

import "fmt"

func main() {
	fmt.Println("hello")
}
EOF

# Build without using the `testing` name but an explicit reference to the CWD
go build -o debug .
ls -lah debug
# -rwxrwxr-x [...]
dlv exec ./debug
# Type 'help' for list of commands.
# (dlv)

Thanks @schomatis for the detailed answer, I didnt realize that testing is an internal package.
Now I feel all silly for logging this issue.
I tested after renaming the testing folder to something else, and indeed all works as expected.
Sorry for the trouble.

No problem, I actually learned a lot researching this issue :)


short 1 roll

the bot stops rolling 1 prior to using up all rolls

its the feature trying to work on that tries to check rolls so it not always trying to hit the no rolls left warning it sometimes works but sometimes cause issues

Was there someone else rolling at the same time, or is it doing this every time? @RecentYogurt

Just checking in if its still doing 1 short ? @RecentYogurt


apple-touch-icon

Adding existing icon for Apple devices' homescreen as described in #351 .

Thank you!


crash server manager

about once a day crash "server-manager"
I can’t understand the reason, because during the day the restarts are normal, but when I go to check in the morning, the program no longer works and I have to start it again.
the server itself is running

That problem is related to the DayzServer_x64.ADM log file. Probably the file is growing too much or at some point it cannot be written and the manager crashes. Try deleting all log files and see how the server starts

Should be fixed
closing as it is really old


Add stack frame information to exceptions event source

Summary

Report stack frame information (list of method and IL offset pairs) from exceptions
Cache stack frame information so that it is not repeated through the event source
New stack frame information is reported to the event source.
Added tests to validate caching and event source information.
Fix call stack gathering in order to get full call stack of thrown exception.
Fixed TargetFrameworkMonikerTrait attributes on tests to have them correctly run when filtered by TFM (e.g. PR builds only run tests for the latest TFM)

Note: The dotnet-monitor tool does nothing with the stack frame information. This is will be implemented in a follow up PR in order to keep this one simple.

Release Notes Entry

I've added additional test stubs for reverse p/invokes, dynamic methods, and array methods. These will be better filled out in the next PR where I plumb through the call stack information on the dotnet-monitor side.


update from the APIM team for Changed Elements API

When I run this branch I'm getting 0 elements changed and 404s from the changeElements API.

When I run this branch I'm getting 0 elements changed and 404s from the changeElements API.

The change to the API is not in PROD yet, it's only in QA, are you testing with QA?

are you testing with QA?

I was testing in PROD.  The PR didn't mention it would only work in QA.  Let's talk about deployments separately.


[WIP] Font picker: use virtualized lists

Summary
NOTE: This PR will potentially be closed depending on the decision on #3304

Uses virtualized list for rendering/scrolling the fonts.

[ ] Missing accessibility part/keyboard interaction (e.g. arrow keys movements etc.)

[ ] Missing tests.

Relevant Technical Choices
Since we need to do something similar with loading the right fonts anyway then it seemed to make sense to just customize the existing scrolling logic.

To-do

User-facing changes

Testing Instructions

Fixes #

Closing as not needed.


Doesn't works on Wine (Linux)

The limit adjuster doesn't works on linux.
(Tryin to install San Andreas Insanity :+1: )
Wine version: Wine 1.8-rc4
Linux: 4.1.13-1
Distro: Manjaro

Can confirm with wine-1.8.4 on debian testing. It crashes during load screen when either starting a new game or loading an existing save. This is an example traceback as printed by wine:
wine: Unhandled page fault on write access to 0x00221008 at address 0x4692d0 (thread 0009), starting debugger...
Unhandled exception: page fault on write access to 0x00221008 in 32-bit code (0x004692d0).
err:dbghelp_msc:codeview_process_info Unknown CODEVIEW signature 8c2e96f8 in module L"gta_sa"
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:006b GS:0063
 EIP:004692d0 ESP:0177fc10 EBP:7fa66f40 EFLAGS:00210287(  R- --  I S - -P-C)
 EAX:00221018 EBX:00000000 ECX:00000000 EDX:ffffffff
 ESI:ffffffff EDI:00a44a30
Stack dump:
0x0177fc10:  00000001 00863b10 00000000 ffe1e1e1
0x0177fc20:  80808080 ffffffff 00000000 00000000
0x0177fc30:  00000000 005ba345 00863a6c 0086a534
0x0177fc40:  00000000 00000000 00000000 00000000
0x0177fc50:  00000000 00000000 00000000 00000000
0x0177fc60:  00000000 00000000 00000000 00000000
000d: sel=006f base=00000000 limit=00000000 16-bit r-x
Backtrace:
=>0 0x004692d0 in gta_sa (+0x692d0) (0x7fa66f40)
  1 0xfff0e483 (0x04244c8d)
0x004692d0: movb	%bl,0xfffffff0(%eax)
Modules:
Module	Address			Debug info	Name (42 modules)
PE	  240000-  270000	Deferred        eax
PE	  380000-  391000	Deferred        vorbishooked
PE	  3a0000-  3a9000	Deferred        ogg
PE	  3b0000-  3f2000	Deferred        silentpatchsa.asi
PE	  400000- 1577000	Export          gta_sa
PE	 1ab0000- 1bb8000	Deferred        vorbis
PE	 21f0000- 2253000	Deferred        iii.vc.sa.limitadjuster.asi
PE	 3bf0000- 3c2a000	Deferred        wmasf
PE	 6010000- 6033000	Deferred        devenum
PE	 86d0000- 8916000	Deferred        wmvcore
PE	10000000-10011000	Deferred        vorbisfile
PE	35500000-35708000	Deferred        quartz
PE	7a820000-7a824000	Deferred        opengl32
PE	7b810000-7b9b0000	Deferred        kernel32
PE	7bc10000-7bc14000	Deferred        ntdll
PE	7c480000-7c484000	Deferred        msdmo
PE	7c4a0000-7c4af000	Deferred        setupapi
PE	7c520000-7c564000	Deferred        msvcrt
PE	7c8d0000-7c8d4000	Deferred        mlang
PE	7ce90000-7ce94000	Deferred        d3d9
PE	7ced0000-7ced4000	Deferred        uxtheme
PE	7d010000-7d03f000	Deferred        comctl32
PE	7d220000-7d22b000	Deferred        dinput
PE	7de30000-7de34000	Deferred        dinput8
PE	7ec00000-7ec04000	Deferred        wined3d
PE	7ed30000-7ed34000	Deferred        ddraw
PE	7efd0000-7efd4000	Deferred        winex11
PE	7f060000-7f063000	Deferred        api-ms-win-core-localization-l1-C:\windows\system32\api-ms-win-core-localization-l1-2-1.dll
PE	7f070000-7f073000	Deferred        api-ms-win-core-fibers-l1-1-1
PE	7f080000-7f083000	Deferred        api-ms-win-core-synch-l1-2-0
PE	7f0a0000-7f1ff000	Deferred        shell32
PE	7f2e0000-7f2e8000	Deferred        shlwapi
PE	7f350000-7f354000	Deferred        imm32
PE	7f640000-7f644000	Deferred        ws2_32
PE	7f670000-7f679000	Deferred        msacm32
PE	7f6a0000-7f6a4000	Deferred        rpcrt4
PE	7f730000-7f738000	Deferred        ole32
PE	7f850000-7f854000	Deferred        advapi32
PE	7f8d0000-7f8d7000	Deferred        gdi32
PE	7f9f0000-7fa2b000	Deferred        user32
PE	7fb30000-7fba8000	Deferred        winmm
PE	7ffd0000-7ffd4000	Deferred        version
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files\GTASA\Grand Theft Auto San Andreas\gta_sa.exe
	0000002d    0
	0000003c    0
	00000047   15
	00000045    0
	0000003b    0
	00000039   15
	00000038    0
	00000037    0
	00000036    0
	00000009    0 <==
0000000e services.exe
	00000026    0
	00000025    0
	0000001d    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001c    0
	00000019    0
	00000018    0
	00000013    0
0000001a plugplay.exe
	00000020    0
	0000001f    0
	0000001b    0
00000021 wdfmgr.exe
	0000002c    0
	0000002b    0
	0000002a    0
	00000029    0
	00000027    0
	00000022    0
00000030 explorer.exe
	00000035    0
	00000034    0
	00000033    0
	00000032    0
	00000031    0
System information:
    Wine build: wine-1.8.4 (Debian 1.8.4-1)
    Platform: i386
    Version: Windows XP
    Host system: Linux
    Host version: 4.7.0-1-amd64

As you can see, this is with silentpatch, no other ASIs involved.
If there is any other useful information I could provide, let me know.

I'll bump this the issue still stands

After years of waiting, I'm not experiencing any crashes with this mod anymore. Tested III and SA, and no crashes on Wine-tkg 5.1.r2.gd53a1b4a-241. Probably works with regular Wine 5.1 too, but I'm not trying to mess up a good thing.

Same Issue here.
@TacoDeBoss did you installed some special things via winetricks?
I can not get GTA SA working with III.VC.SA.LimitAdjuster on a clean wineprefix.


Add retries to all cURL requests that connect to NCTL node

This PR updates the NCTL scripts to allow retries when trying to read data from the node by using cURL.
There are cases when the node is not able to process requests (usually immediately after restart) and this could lead to a test being stuck.

bors r+

bors r+


cleaned unconfirmed data and saved as csv file

Did some nlp on the data entries to remove some unneccessary characters and symbols that will make it difficult to tokenize and vectorize the text accurately. Saved the data as a csv file and is ready to merge with other data.

thanks for cleaning that, eager to get them combined and finally shared!


Generate async lambda for template attributes.

Template attributes should be of type Func<TextWriter, Task>. We weren't generating an async lambda for attributes prior to this change resulting in a compilation failure when used at runtime and the inability to @await code (unless a user returns some sort of Task).
Updated code generation files to reflect the new code generation behavior.

#594

/cc @dougbu @ajaybhargavb @pranavkm

:shipit: Will this need an MVC reaction?

@ajaybhargavb I thought it might so I tried it out and turns out there's no reaction needed. The case of having a block level (@if ...) Razor statement is rare enough that it's not used in MVC.

Ah. Maybe add a test that does that if its not too much effort for a rare case.

Let's add a test to Mvc (would be ok to modify an existing Razor scenario) to make using await inside of it works correctly.
:shipit:


Force mongoose 3.8.x

I encountered an Index error with the default package.json install of mongoose 3.9.7 (unstable) that was installed due to the caret version.  Forcing 3.8.x resolved the issue.
TypeError: Cannot read property 'length' of undefined
at processResults (superscript-editor/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1581:31)

Thanks for the PR! Ive encountered the same error in superscript/master sorry I didn't catch it here too.

:+1: thanks


[core-http] Move @types/tunnel to full dependency

This change moves @types/tunnel back to a full dependency so that consumers of @azure/core-http don't hit TypeScript compiler errors about missing types from that package when installing via plain npm.  For some reason Rush masks this issue in our repo.  This change was introduced very recently in #4541 so we didn't catch it until we tried to verify release packages using only npm.
/fyi @ramya-rao-a @chradek

Thanks all!


Add LibreWolf

[x] I have checked that this app does not already have a pending request and has not previously been declined.
App Name: LibreWolf
Download URL: https://librewolf.net/installation/debian
Website URL: https://librewolf.net
App Summary: An independent fork of Firefox, with the primary goals of privacy, security and user freedom.

I'm working on it.


Fix compilation issue

Bug description
https://github.com/MarcoIeni/release-plz/actions/runs/3909427437/jobs/6680487995

fixed by https://github.com/MarcoIeni/release-plz/pull/440


Start video from where it stopped

Is there any way I can start videos from where it stopped?  Is it possible with Toro?
I followed that other issue about cache to do my own SimpleExoPlayerHelper to support cache. I don't know if it helps somehow.
Thanks!

I implemented your Facebook sample and got it working. Thanks anyway! :)


Add persistent UUID

We want to add a UUID that would be able to persist device changes and reinstall.

https://github.com/fabiocaccamo/FCUUID
http://stackoverflow.com/questions/11597100/uniquely-identifying-an-ios-user (quoting "MCSMKeychainItem")

http://stackoverflow.com/questions/4747404/delete-keychain-items-when-an-app-is-uninstalled

la doc officielle :
http://stackoverflow.com/questions/18911434/will-items-in-ios-keychain-survive-app-uninstall-and-reinstall

Test
Toto

oui
non

=> Dropbox/bsg-dropbox/technowatch/user id ios.numbers


Add generic update tick event for mobs

This would work similar to the addMobPotionEffect, but wouldn't be required to be tied to a given potion effect.
Note: This could, instead, simply replace addMobPotionEffect (while still maintaining backwards comparability):
Currently:
{
   type: "addMobPotionEffect",
   effects: [
      { what: "minecraft:luck", onApply: [], chance: 0.5 }
   ]
}

Could then be expressed as:
{
   type: "addMobEvent",
   effects: [
      {
         chance: 0.5,
         then: [
            { type: "applyPotion", what: "minecraft:luck", onApply: [] },
            function(entity) { console.log(entity.getName() + " did the thing.");}
         ]
      }
   ]
}

Or:
{
   type: "addMobEvent",
   effects: [
      {
         then: [
            { type: "applyPotion", what: "minecraft:luck", onApply: [], chance: 0.5 },
            function(entity) { console.log(entity.getName() + " did the thing.");}
         ]
      }
   ]
}

This would allow for multiple additional effects:

Better specification of mtachers when dealing with multiple events.  Consider that, in the first example, 50% of the time the player gets the potion and things are logged, while in the second example, the log always occurs, but the potion is only applied 50% of the time.
Adds the ability to run commands in response to matched events without the need to apply a potion effect.
As long as the deserializer is set up properly, this retains support for the original current implementation while providing support for the new implementation.
Many of these callbacks can be re-used later for items (onUse, etc) and blocks.

Currently, only runPlayerCommand exists as a callback; also add support for the following additional extra callbacks:

applyPotion (what: "minecraft:luck", onNew, onExtended, onApplied, onExpired, onCured, onRemoved)
removePotion (what: "minecraft:luck", onSuccess, onFailure, onComplete)
heal (ammount: 5.0, onComplete)
damage (ammount: 5.0, type: "onFire", ..., onDamage, onDeath, onComplete)
teleport ({dimension, "absolute", x, y, z}, {dimension, "spawn"}, {dimension "relative" factor}, {dimension, "bed"}, onSuccess, onFailure, onComplete)
setTime (time, onComplete)
addTime (time, onComplete)
stopTime (duration, onTimeStopStart, onTimeStopEnd)
explode ({+x, +y, +z}, onDamage, onDeath, onComplete)
smite ({+x, +y, +z}, onDamage, onDeath, onComplete)
burn ({+x, +y, +z}, onDamage, onDeath, onComplete)
giveItem (what, inHand, onSuccess, onFailure, onComplete)
removeItem (what, requiresAll, fromHand, onSuccess, onFailure, onComplete)
spawn (entity, name, stats, inventory, potions, onSpawn, onDamage, onDeath)

Additionally, add the ability to trigger actions from function callbacks, so that you could write:
function(entity) {
   if(!rainedOn[entity.getUniqueId()]) rainedOn[entity.getUniqueId()] = 0.0;
   rainedOn[entity.getUniqueId()] += 1;

   if(10 < rainedOn[entity.getUniqueId()]) {
      triggerEntityEvent(entity, [{ type: "smite" }]);
   }
}

Consider adding a way to specify the callback target from a list of targets; for instance:
{
   type: "addMobEvent",
   effects: [
      {
         then: [
            { type: "applyPotion", what: "minecraft:luck", onApply: [] },
            {
               type: "applyPotion",
               what: "minecraft:wither",
               target: [
                  {selector: "area", radius: 5},
                  {selector: "hostile"},
               ]
            },
            function(entity) { console.log(entity.getName() + " did the thing.");}
         ]
      }
   ]
}

This would add more future functionality when using these callbacks in items (for instance, a "target" selector when attacking).


Unable to run dom_driver due to log4j issue

@jajajaqlt sent me an email with the following issue:
I set config.json to:
{
"api-modules": [
"java",
"javax"
]
}
program.txt to:
// Bayou confidence score: 0.01513
import java.util.*;
public class Test {
void foo(List l, String s) {
boolean b4;
boolean b2;
boolean b5;
boolean b3;
boolean b1;
b1 = l.add(s);
b2 = l.add(s);
b3 = l.add(s);
b4 = l.add(s);
b5 = l.add(s);
return;
}
}
and run:
java -jar dom_driver-1.0-jar-with-dependencies.jar -f program.txt -c config.json -o output.txt
and got:
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2 internal initialization logging.

Thanks Vijay for creation of the issue. :)

This message will not prevent execution from continuing. It is just a warning message that no log4j config file was set during startup. It can safely be ignored if you don't care about preserving any of the system's log messages. Otherwise invoke with the extra parameter
-DconfigurationFile=[BAYOU_HOME]/resources/conf/apiSynthesisServerConfig.properties

@rmbarnett-rice thanks!
When I ran this:
java -jar dom_driver-1.0-jar-with-dependencies.jar -f program.txt -c config.json -o output.txt

I didn't get any output. Contents of my files are in Vijay's message. I didn't see instructions on the formats of the files. Did I do things correctly?

@vijay-murali Is this the expected behavior?

Sorry for the late reply, folks. @rmbarnett-rice, thanks for the input.
@jajajaqlt, there is no output because the DOM driver only extracts data from public methods. This is because only public methods are meant to be used by API clients. Sorry that I didn't notice this in the input before. Change the method signature to public and it works.

@vijay-murali thanks! It works. The ankle brackets are written with unicodes. This is expected, right?

Yes, that's expected. I'm closing this issue since you mention that it works.

@vijay-murali @rmbarnett-rice thank you both!!!


Large images don't fit in post container

Adding width: 100% to .card-body img seems to fix it:

fixed some time ago, don't remember when.


Couldn't find a compatible version of Scala with this version of Code.

VSCode Version: Code 1.6.1 (9e4e44c19e393803e2b05fe2323cf4ed7e36880e, 2016-10-13T15:27:10.246Z)
OS Version: Darwin x64 16.0.0
Extensions: vscodevim.vim-0.4.0

Steps to Reproduce:

Launch VS Code Quick Open (⌘+P)
Paste the following command: ext install Scala
Press enter

Please report that against the Scala extension you are using.