Ability to filter imports by cmake defines

There are projects which only need to import external dependencies for their sample executables, but not when importing the project somewhere else. For this, and similar requirements, it should be possible to control the inclusion of an imported project in the fips.yml file:
imports:
    git:    https://tralala/blub/blob.git
    if: "NOT FIPS_IMPORT AND FIPS_WINDOWS"

The string behind the if: is the expression of a cmake if() statement. If an if: key exists, the import section in the generated .fips-imports.cmake file will be surrounded with an if() (the dependency will always be fetched to the local filesystem, it will only not be integrated into the build project depending on the if expression...

Hmm this probably will not work when several independent projects depend on the same dependency project (similar problem to tag/branch clashes on the same imported project).

Better idea: define a new 'explicit' imports mode in the fips.yml (for backwards-compatibility):
import-mode: explicit  # (vs. 'implicit' or 'automatic' which is the default)

In explicit mode, fips will only git-fetch the imports, but not automatically import them in the CMakeLists file, instead it will write cmake macros to .fips-imports.cmake called 'fips_import_mod', which must then be called in the top-level imports file of a project. This way a project has very fine control over what projects will be integrated into the build files (because it can call the fips_import_xxx macros depending on other cmake variables...)

Let me see if I understand.
In the fips-recast + fips-glew situation, I would put this explicit on fips-glew's yml and then on fips-recast's CMakeLists.txt inside RecastDemo's fips_begin_app I would do a fips_import_glew()?
It seems a nice solution!
:+1:

I'm not sure yet where the fips_import_glew() would go, I've been thinking into the root CMakeLists,txt file, like
if (NOT FIPS_IMPORT)
  fips_import_glew()
  fips_import_glfw()
endif()

Putting it inside fips_begin_app is a nice idea since it seems intuitive, however, if more then one app in the project would depend on it, it would be confusing (unless each app that needs an import, would do this, and redundant imports of the same project would be ignored, hmm...)... when I continue with this I'll play around with it until it feels right ;)

Ok. That made me think in the case of a library that have various samples with (possible) different imports for each sample. Let's say a lib that has samples using with SDL, SFML and GLFW.

Good point. I'm currently thinking of not trying to do some sort of automatic import resolution at all in 'explicit import mode'. It's a bit tricky because the import mechanism is basically just a cmake add_subdirectory(), so granularity is basically on CMakeLists.txt file level. If one CMakeLists.txt file has more then one fips_begin_xxx(), or includes child CMakeLists.txt files, all of these will be imported. So this is a restriction, especially for 'non-intrusive' fips-wrappers for external libraries that try to keep everything in the single top-level CMakeLists.txt file.
A fully automatic import resolution would need to have the additional information what modules have been defined in what CMakeLists.txt files (which is actually a tree, since a module may be in a child CMakeLists.txt file)... so associating fips modules (libs, apps, modules) with imports is tricky...
Also importing a project is basically 3 separate steps: (1) fetching the git repos into the local filesystem, (2) integrating CMakeLists.txt files of imported projects into the own build files, and (3) finally, in the application linker steps, lookup dependencies in all imported CMakeLists.txt files (if a dependency doesn't exist (isn't imported) either cmake or fips would throw an error).
In explicit mode, these 3 steps would be untangled, the importing project has to take of each of these (hopefully with the support of proper error messages, and may be new info from 'diag' and 'list')...
I currently thinking of something like this: a project can define 'explicit import mode', and this will also override the 'explicit' flag in all imported projects (so if I'm using fips-recast as import in one of my projects, and I'm setting 'explicit import mode' in my own project, it wouldn't matter whether fips-recast has the explicit flag set on its own, my importing project would basically overrule it).
First, fips will git-clone everything that's listed as imports in fips.yml files into the local filesystem (recursively), so there may be more stuff then is needed in the end, but that's not critical.
Then the top-level project would have to define 'fips_import()' calls in its own CMakeLists.txt file(s), all fips_import calls in imported projects will be ignored. So if I'm using an external lib which depends on GLEW, I would have to list both the external lib, and GLEW in my imports. Further, I'd like to have more control over what 'import modules' are actually imported (from the exports section of the fips.yml file). May be syntax could look like this:
fips_import(FROM oryol IMPORT Core IO Gfx)
or to import all:
fips_import(FROM oryol IMPORT ALL)
or simly:
fips_import(oryol)
I also think I need to cleanup some naming confusion, because a fips 'code module' is not the same as a fips 'import module'. I'm thinking about dropping the fips_begin_module() functions and use fips_begin_lib() for all static link libs (these used to be slightly different, but no longer). The name 'module' would then be an import module. So a fips project would be:
A project consists of modules, modules consist of libs, apps and sharedlibs. One module is always defined by a single CMakeLists.txt file.
Phew, that's all for now. I'll try to hack something together over the weekend :)

Maybe not related at all with this subject, but has some connection as at the moment this is what is causing some problems:  what about a FIPS flag in the style of FIPS_UNITTESTS but for demos/samples? The idea here is that generally when importing something, we are importing a library and unit tests and samples (and theirs dependency) are of no interest to the project importing the library. As unit tests and samples may require additional imports that the lib does not care, if we have a way of isolating imports for libraries from these imports for unit tests and samples, we may solve most of the (general) import problems.
So a FIPS_SAMPLES flag may exist to enable / disable building of samples (and importing samples dependencies).
I do not know how exactly put this in fips.yml, but I we may have separate sections for unit tests, samples and libraries.

I noticed oryol-test-app downloads and compiles a bunch of gui libraries that aren't used. Having to install the system dependencies for these components not to mention all the additional compiler warnings that came with imgui, is a high threshold for entry just to try out a shader demo. It would be really cool for a user to be able to specify what deps they wanted in their project without having to install a bunch system dependencies that aren't used. (lmk if this is off topic here)

Ok, I have implemented a manual module import feature. This new 'no_auto_import' policy must be switched on in the fips.yml file, and then in the root CMakeLists.txt file, the required/wanted modules must be listed. It is a bit tedious to get the list of required modules since dependent modules must also be added manually (basically trial and error linking and adding a new module), I'm not 100% happy with it right now, but at least it solves some problems with the 'always import everything' default behaviour if imported projects have many more modules then needed.
More info in the docs: http://floooh.github.io/fips/imports.html, search for "Selectively importing modules", and here's an example project which does this (look into the fips.yml and root CMakeLists.txt file: https://github.com/floooh/yakc).
I'm keeping this ticket open to collect more feedback and may be I'm also coming up with a slightly more clever way to define the imports.

...ok I have also converted the oryol-test-app project to use the manual import, the project is indeed much smaller now (fips still needs to fetch all the dependencies, but they are not included in the build project):


Support different ICD versions

Test data comes with data structure definitions from different specification versions. It would be nice to automatically detect specifications from the dataset but for simplicity a cli option to define what version the data should be decoded with (-v H , --issue H, --aez-issue H) or similar.

Is it really necessary? Isn't it better to only support version H and have enough test-data for it?

After the meeting today it seems like we don't need to support any other version than H (2.6.1)


Manual analysis mode

Add features which will facilitate manual error analysis:

[ ] generate a random sample from the dataset
[ ] bookmark interesting examples
[ ] write notes

There are two ways to do this:

easier: implement it in JS without any saving and force the user to export the data (the data would be lost after reloading the page)
harder: implement it using some sort of cookies / sessions / user accounts (to keep the data even after the app is reloaded or closed)

Initial work done in #27

#69 persistent favourites.


xs:any support

Hi,
I was trying to create a schema from a XSD using XSDToSchema. It failed with the following error:
scala.MatchError: org.apache.ws.commons.schema.XmlSchemaAny@afdf919f (of class org.apache.ws.commons.schema.XmlSchemaAny)
  at com.databricks.spark.xml.util.XSDToSchema$.$anonfun$getStructField$4(XSDToSchema.scala:165)

I've found it's because the XSD has this complexType defined in it:
<xs:complexType name="SupplementaryDataEnvelope1">
    <xs:sequence>
        <xs:any namespace="##any" processContents="lax"/>
    </xs:sequence>
</xs:complexType>

It seems there was a proposal to support this type as string here: https://github.com/databricks/spark-xml/issues/449
Any chance to support process for this type ?

That issue was referring to the simple type anyType, which is something else. That's handled as a string, yes.
I don't know XSDs well but this seems to be about namespaces. It doesn't define a type? there is no name, etc - it's not an XSD element. If you want a sequence of anyType you'd write an xs:element in there.
What the parser can do is just ignore things it doesn't recognize like this, at least. I'm not sure if the result would be 'correct' in all cases because handling namespaces is tricky, but at least it wouldn't fail.
That said in your case it would still not be valid I think, as there is nothing inside the sequence?

I should have been more precise. This is how is defined the element that uses the complex type where xs:any is included:
<xs:complexType name="SupplementaryData1">
    <xs:sequence>
        <xs:element maxOccurs="1" minOccurs="0" name="PlcAndNm" type="Max350Text"/>
        <xs:element name="Envlp" type="SupplementaryDataEnvelope1"/>
    </xs:sequence>
</xs:complexType>
<xs:complexType name="SupplementaryDataEnvelope1">
    <xs:sequence>
        <xs:any namespace="##any" processContents="lax"/>
    </xs:sequence>
</xs:complexType>

I may just not know enough, but I don't know what the second sequence is meant to be. xs:any doesn't appear to define any type.

It seems correct, xs:any doesn't define any type. I understand that you can put whatever you want in it.
https://www.w3schools.com/xml/el_any.asp
https://www.w3schools.com/xml/schema_complex_any.asp

I see, if it means something like an element or elements of any type, I agree that can be handled as a string field. It's a bit of a hack because it's not really a string, but, I don't see a cleaner interpretation when trying to force this into a tabular schema.
The problem is, there is no defined name for it. We can inject a field with name "any" or something and type "string", but when parsing XML, it won't match the real element that appears, which will be <foo> or something. We'd have to understand that it really is meant to match any child element that isn't otherwise matched. That seems hard to get right, not impossible, but would need a lot of change I think to special-case it.
Do you happen to know what element will appear here? you can always manually modify the XSD schema (or the parsed schema, once I make it ignore this maybe) to define that instead.

Unfortunately, I don't have any related xml file at the moment. I'll try to find one in order to see what's inside that element.

Any idea on how we may bypass this current limitation ?
At the moment, I can't generate the schema from XSD for ISO20022 (https://www.iso20022.org/iso-20022-message-definitions), because most of them use this xs:any element for SupplementaryDataEnvelope1.

As a workaround, can you modify the schema so that the parent of the xs:any element is a string? that would cause the parent's content to be parsed as a string of XML, and avoids parsing the element. But that means everything under the parent is not parsed for you, not just the xs:any. I'm not sure if that is acceptable for your usage? You could further manually parse the XML if you had to.

I started working on this today and actually I don't think it's hard to implement the idea at the top. I'll see if I can get a PR today.

@HyukjinKwon a question for you - so I have this working but one behavior is odd. I think I understand why but it's a little surprising and maybe not desirable.
I'm creating a special schema element xs_any to match any XML children not otherwise in the schema. That would basically implement what xs:any tries to specify. So if I have XML like:
<row>
 <foo>...</foo>
 <bar>...</bar>
 <baz>...</baz>
</row>

and schema like foo: string, xs_any: array<string> then it is supposed to put the XML for bar and baz into the array of strings. I've got that working OK.
However if I parse that XML with that kind of schema, then .select("xs_any"), I find that the xs_any element has all three elements' values, as if foo was not in the schema at all even though that's how it was given.
I suppose this is something about Spark being smart and passing down just the schema that's necessary, to avoid parsing other elements that are not chosen. But of course given the behavior I'm trying to implement, it changes the result.
Is that just how it is? is it something you recall that we might need to tweak in spark-xml?
I mean, the behavior isn't out of the question for this niche use case, but it looks surprising to me.

I'm going to add this. It won't break existing workloads, and if the functionality works oddly in some cases mentioned above, well, it's still good to have it mostly working.


Popup on bandwidth graph shows wrong numbers

OS: Windows
Version of IPFS Desktop 0.18.1

Describe the bug
The hover-popup for the bandwidth graph is showing numbers which are WAY off what's shown in the graph at that point in time.
To Reproduce
Steps to reproduce the behavior:

Move the mouse on a point in the graph
See error

Expected behavior
No bug.
Screenshots

It looks fixed in 0.19?

@RubenKelevra mind confirming?


[AutoDiff] Support curry thunks differentiation in fragile funcs

Inside fragile functions, we expect function derivatives to be public, which could be achieved by either explicitly marking the functions as differentiable or having a public explicit derivative defined for them. This is obviously not possible for single and double curry thunks which are a special case of AutoClosureExpr.
Instead of looking at the thunk itself, we unwrap it and look at the function being wrapped. While the thunk itself and its differentiability witness will not have public visibility, it's not an issue for the case where the function being wrapped (and its witness) have public visibility.
Fixes #54819
Fixes #75776

Tagging @asl

Tagging @JaapWijnen

Would be glad to see feedback from everyone interested

@swift-ci please test

Would be glad to see feedback from everyone interested

Would be glad to see feedback from everyone interested

Would be glad to see feedback from everyone interested

Would be glad to see feedback from everyone interested


Possible to config a prefix for table names

Great library. Thanks.
Is it possible to config a table prefix string that will be appended automatically for every table and the sql generated ?
My scenario is that I have 1 database for many tenants for which each tenants table has a specified string in its table name.
eg for entity 'Cars' there is a cars table for each tenant in the database :
tenant1_Cars
tenant2_Cars
So can i pass in centrally a config value:
tablePrefix ="tenant1_"
so when I call
 var cars= await _db.Cars.FindAsync(x => x.Id == 5)

the sql generated is  :
select ....   from  tenant1_Cars where ........
Thanks in advance.

It's a bit useless but i'm implementing it.
Will be available in next release.

Thank you.
Not common but usefull in multi tenant scenarios.


FINERACT-938: Upgrading nekohtml and removing direct reference to Xerces

Description
Version of nekohtml pulled in by Mockrunner uses an old version of Xerces, leading to problems with JDK11. This was first fixed by explicitly pulling in a new version of Xerces. However, this pull request fixes it by upgrading nekohtml to a newer version instead. Also upgrading dom4j to the newest version.
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[x] Commit message starts with the issue number from https://issues.apache.org/jira/projects/FINERACT/. Ex: FINERACT-646 Pockets API.

[x] Coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions have been followed.

[x] API documentation at https://github.com/apache/fineract/blob/develop/api-docs/apiLive.htm has been updated with details of any API changes.

[x] Integration tests have been created/updated for verifying the changes made.

[x] All Integrations tests are passing with the new commits.

[x] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the list.)

Our guidelines for code reviews is at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide

As the build passes here, I've merged this, in order to get ride of Xerces. I have however "mixed feelings" about the introduction of CyberNeko NekoHTML, and propose that we follow-up on that, in FINERACT-938.


Export withScaleable and useScaleable in order for external components to be written alongside Geist

Feature request 🚀

[x] I will create Pull Request
[ ] It's just a suggestion

Expected

The new scale function in Geist UI is an amazing new addition and contains the perfect way to extend custom UI components. It would be great if this was exported in the main entry alongside the rest of Geist UI. This is internal code, but it would make a fantastic addition to the library as external.  We're currently using this for a pet project with many custom components and Geist UI as our main UI library, the scale method is the most clever method to pixel-perfect optimize and build components while retaining the same Geist UI workflow in the project.

I will happily make a PR and documentation (if needed) for this.
Examples
import {useScaleable, withScaleable } from '@geist-ui/react/dist/use-scaleable';
// To
import  {useScaleable, withScaleable } from '@geist-ui/react';

Programme (Optional)
Others (Optional)

Exporting useScaleable and withScaleable is fine.
We need to add additional documentation to this hook to describe how it works, so these things may be necessary:

Export useScaleable and withScaleable in index.ts
Export the necessary types
Add a document named useScaleable

If you would like to contribute these you can create PRs directly, if no one contributes after a while I will start this work.

Implemented in version 2.3.0.


Add support for cross git branch diffs

It would be helpful to be able to diff font files with the same file path locally across git branches rather than relying on remote pushes and comparisons with remote hosting service URL.

I came here to open an issue for what I think is similar, but I'm not sure what you had in mind so let me clarify.
Git has multiple ways of integrating with external diff tools.
The current way this can be done given the way fdiff accepts arguments is with a custom difftool. First in git config:
[difftools]
    prompt = false
[difftool "fdiff"]
    cmd = fdiff "$LOCAL" "$REMOTE

This allows usage such as git difftool -t fdiff branch1..HEAD -- otfs/*otf. That's nice, but I'd rather just use it like git diff all the time.
To do this it has to work as a git diff driver, which would be setup like this:
[diff "fdiff"]
    command = fdiff

Then in atttributes:
*.otf diff=fdiff

Now just doing git diff branch1..HEAD -- otfs/*otf should do the job. The trouble is when invoked this way, git passes 7 arguments just as in GIT_EXTERNAL_DIFF. These arguments are:

path old-file old-hex old-mode new-file new-hex new-mode

I suggest modifying fdiff to recognize a 7 argument invocation in specific and to map the second and fifth arguments to it's current 2 arguments (discarding the others). This would allow it to operate as a git driver.
Is that what you had in mind with this issue or should I open another?

I was thinking that fdiff might perform the cross-branch diff comparisons by invoking git but this approach could definitely work.  My goal here was to support local cross-branch binary diffs.  At the moment, to perform a cross-branch diff, you need to push to a remote that exposes the files through URL (e.g., GitHub) and add URL for the left and right side of the diff.
Is it possible to set the command so that it uses an fdiff flag to set the git style argument invocation?:
[diff "fdiff"]
    command = fdiff --git

Invoking git would be much more complex as you would have to parse a whole bunch of unrelated things. It would also be brittle as git has a hunge number of possible scenarios and it doesn't handle them all the same.  It will be much more robust that way.
I'll mess around and see it it will take that first arg and then append its 7.
There should be no reason to ditch the simple two argument mode you have now, you just neet to catch the case where there are exactly 7 arguments and extract the two you need in addition to just accepting two as currently implemented.

Yes, you can use command = fdiff --git. The next 7 arguments after that are the ones you want, so positionally (1 being --git) the args you need are 3 for the old file and 6 for the new.

Just by the by since most people don't seem to know this, Git supports globbal attribute defaults, so you don't have to set attributes up in every repository. The default is ${XDG_HOME}/git/attributes, so anybody can setup their system to always diff font files with fdiff whenever they turn up in the list of files git is diffing normally once these args are supported.
I mentioned implementing this yourself would be complicated ... one of the complicated scenarios is handling when a single diff between two commit points actually has several different file types involved. Implementing it yourself you could filter through looking for fonts, but letting git handle it the diffs will be seamlessly mixed in with everything else.

Interested in preparing a PR for this support and/or the documentation that you included in https://github.com/source-foundry/fdiff/issues/25#issuecomment-614194258?

I mailed you an org invite in case you are interested and want to work on the project in repo here.


Message: End of Central Directory record could not be found.

Opening and closing this issue as an FYI for future googlers:
If you see:
Something went wrong while downloading FAKE 4.22.0
Message: Error during extraction of C:\Users\Mpdreamz\dev\editorconfig-visualstudio\packages\build\FAKE\FAKE.4.22.0.nupkg.
Message: End of Central Directory record could not be found.

Locate the nuget file in %APPDATA%\Local\Nuget\Cache and open the nupkg as a text file. Chances are a proxy rewrote the response. In my case it was SonicWall tagging FAKE as as a bitcoin miner:
https://gist.github.com/Mpdreamz/15653dc118c70248d144
However downloading the file manually from https://www.nuget.org/packages/FAKE/4.22.0 (the download link appears if you are logged in) and placing it manually in %APPDATA%\Local\Nuget\Cache unblocked me while on this strict network.

/cc @ilkerde
Can we do something about that?


Make Executables with "pkg"

I pretty much converted this so that you can use pkg to generate executables with the intention of having arRPC opening on startup with Windows in the startup folder.
The only problems it has right now is that it only detects games after you open the game the launch the program, and I think it's sending "just started" to Discord each time it scans

I think I've narrowed it down to the processes list not updating once it's called

I just got this to work, maybe consider making this a different branch? or at least including the binaries in a release?

I am pretty sure no is no.

There is 0 use case to have a binary. You can use batch files for that kind of shortcut. I have no interest in binaries as it just makes things more unneededly untrustworthy and dangerous. Converting from ESM to CJS will never happen as it is only a step backwards.

Trying to be kind, please understand the nature of open source is not to contribute something that fits your needs but rather to improve upstream as a whole.

How could possibly you know if people may or may not want this too. I certainly found it pretty frustrating that I had to put in a command every time I wanted to open the program, and yes a batch script is a solution but why not just have something like this incorporated already? It's not like this would be the only way to run the program, it's simply option

This only makes code worse and distribution less safe, it makes nothing better. If you want to use it, you can, that's why you have forks.

Why did you covert away from ESM?


Add support for password less authentication

Hello,
I tried to change the signInWithEmail to use Supabase signIn but it didn't seem to work. I was wondering if it were possible to get an example or support for passwordless auth.
Thanks

Hello @gyfchong
Challenge accepted 😉
You can check this pull request : https://github.com/mitchelvanbever/remix-auth-supabase/pull/13
You can trick this base to fit your needs.
I hope you get the idea 😇

If someone wants to know why everything cannot be done server side, check this

You can find a passwordless example here : https://github.com/mitchelvanbever/remix-auth-supabase/tree/main/examples/magic-link
Tell us if it works for you 😎

Thanks @rphlmr it worked perfectly!


[ja] Fix: content/ja/docs/concepts/workloads/controllers/replicaset.md Issue #26899

fix: #26899
Update translation that had a difference here: https://gist.github.com/6459e80d098841669aba9191684d13af

/assign @inductor
Please check the PR 🙏

/lgtm

/assign @bells17
Please check the PR 🙏

/lgtm too

/approved

/assign @inductor
Please approve the PR.

/approve


Find the last matching comment

The action will output the comment ID of the first comment matching the search criteria.

I'm wondering if it's possible to find the last comment?

@seisman It wasn't possible, but it is now! I've just added this as a new feature, released as v1.2.0 / v1. Thank you for suggesting it.
There is a new input, direction, that you can set to last. See the readme for an example.

@peter-evans Great! Thanks for your quick work and the new release!


Fixes and improvements for Sign in with Apple

Fixes and improvements for Sign in with Apple
:recycle: Current situation & Problem
We recently tried to deploy Sign in with Apple to a live system and found several issues with the current implementation:

Nonce generation found to be incompatible with Firebase (they are seemingly unable to handle some special characters)
The .firebaseAccount(_:) modifier had issues injecting the AuthorizationController if there was a standard (e.g. notify or storage standard) injected into SpeziAccount
Firebase account deletion requires a recent login.

This PR requires https://github.com/StanfordSpezi/SpeziAccount/pull/31 to be merged.
:gear: Release Notes
Fixes and improvements for Sign in with Apple.
:books: Documentation
--
:white_check_mark: Testing
--
:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[x] I agree to follow the Code of Conduct and Contributing Guidelines.

@PSchmiedmayer would you mind force merging? As we change things in the IdentityProvider, those diff changes are not covered.


Update sbt-ci-release to 1.5.5

Updates com.geirsson:sbt-ci-release from 1.4.31 to 1.5.5.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.geirsson", artifactId = "sbt-ci-release" } ]

labels: sbt-plugin-update, semver-minor

Superseded by #105.


Question: How to call function that uses different type than official document?

Hi, I wanna migrate to win32more, here is my working code in ctypes:
LPWSTR = c_wchar_p
RPC_WSTR = LPWSTR
RPC_STATUS = LONG
P_RPC_WSTR = POINTER(RPC_WSTR)

RpcStringBindingComposeW = windll.rpcrt4.RpcStringBindingComposeW
RpcStringBindingComposeW.restype = RPC_STATUS
RpcStringBindingComposeW.argtypes = [RPC_WSTR, RPC_WSTR, RPC_WSTR, RPC_WSTR, RPC_WSTR, P_RPC_WSTR]

strBinding = RPC_WSTR()
rStatus = RpcStringBindingComposeW("0767a036-0d22-48aa-ba69-b619480f38cb", "ncalrpc", None, None, None, strBinding)

print(rStatus, strBinding.value)

I was thinking it should work in win32more too:
from Windows.Win32.System.Rpc import RpcStringBindingComposeW
from Windows.base import UInt16

strBinding = UInt16()
rStatus = RpcStringBindingComposeW("0767a036-0d22-48aa-ba69-b619480f38cb", "ncalrpc", None, None, None, strBinding)

but here is the error:
ArgumentError: argument 1: : expected LP_c_ushort instance instead of str

RpcStringBindingComposeW() is defined in Windows.Win32.winmd as following.
public unsafe static extern RPC_STATUS RpcStringBindingComposeW([Optional][In] ushort* ObjUuid, [Optional][In] ushort* ProtSeq, [Optional][In] ushort* NetworkAddr, [Optional][In] ushort* Endpoint, [Optional][In] ushort* Options, [Optional][Out] ushort** StringBinding);

And RPC_WSTR is not defined in the winmd.
It seems a problem of metadata.
I reported.  https://github.com/microsoft/win32metadata/issues/1486

It seems a problem of metadata.

here is the implementation of RPC_WSTR in C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\rpcdce.h:
#define __RPC_FAR
typedef _Null_terminated_ unsigned short __RPC_FAR * RPC_WSTR;

I think it defined correctly in winmd. but I don't know how to cast my input into that arguemnt types in win32more.

You are right.
I meant that we can cast python str to RPC_WSTR automatically if it was defined as type.
win32more uses ctypes as is.  You can use ctypes.cast().
def str_to_RPC_WSTR(s: str) -> ctypes.POINTER(Window.base.UInt16):
    return ctypes.cast(Windows.base.c_wchar_p(s), ctypes.POINTER(Windows.base.UInt16))

Thanks, after few try worked, here is finall script:


GEOMESA-2110 Method profiling refactoring to expose results of profil…

…ed code
Signed-off-by: Emilio Lahr-Vivaz<EMAIL_ADDRESS>

I'm a little unsure about having the implicit output in the profile signature:
def profile[R](code: => R)(implicit onComplete: (R, Long) => Unit): R = { ... }
Outside of that concern, this PR looks good.

It makes the profiling code less obtrusive, IMO. you can do things like:
def foo(...): Int = {
  implicit def complete(count: Int, time: Long): Unit = logger.trace(s"read $count records in $time ms")
  profile {
    ... // calculate count
  }
}

Previously you had to do:
def foo(...): Int = {
  implicit val timing: Timing = new Timing
  val count = profile {
    ... // calculate count
  }
  logger.trace(s"read $count records in ${timing.time} ms")
  count
}

Are you unsure about anything in particular, or just the general idea?

another example with an explicit anonymous onComplete:
profile(...) { (count, time) => logger.trace(s"read $count records in $time ms") }

conflicts fixed, thanks


Fix when there is no workflow_run in the payload

Sometime the property workflow_run is not present in the payload. The code is assuming that it is present all the time and failing whenever it is not present.

Thanks for contributing!


mc position control: directly use commanded velocity for control

in position control mode (manual) use commanded velocity from user as velocity setpoint
if user commands zero speed then first control velocity to zero and once vehicle is close to zero
engage position hold lock
integrator on velocity error should prevent position lock never to happen if vehicle is drifted away in wind
need to think of controlling every axis separately, e.g. now when user commands vel_x = 0.5 and vel_y = 0 for a long time then vehicle may start to drift in y position since there is no position lock

Tested in manual mode, need to test auto which should do the same thing as before.
Also the three params introduced (as defines) need to be chosen such that this approach will be robust for all kinds of conditions.

Hi, I'm considering working a bit with this idea since the current "velocity" control is quite problematic for me.
I would actually try to also implement this for offboard control (for the case of velocity setpoints). My plan would be to start working with this on master using jmavsim. When everything works in simulation I would port the changes back to master on my fork so I can test it on my quad safely (maybe someone else is willing to also verify the code back on master).
I have some questions:

is it necessary to define these "alt_hold_enabled" vars? Isn't actually "_control_mode.flag_control_position_enabled" for that? Otherwise, only "_control_mode.flag_control_velocity_enabled" would be on. This would make it more symmetric for how offboard control is actually implemented and code need not differ so much between approaches.
Is there any reason that, besides requiring centered X,Y controls, the current velocity needs to be below a threshold to engage position hold? Maybe this is in the same spirit as the reset_pos_sp() prediction of setpoint. However, I believe this idea, while it sounds nice, introduces another level of uncertainty since you would expect that upon centering the controls pos hold would be engaged. Otherwise you are left out hoping that the quad behaves correctly and is always properly tuned. In any case, I guess it would be possible to define a zero threshold and that would be it. But I'm asking just in case
Can we rename sp_move_rate? With current idea this would actually be closer to sp_vel

@tumbili @LorenzMeier Tomorrow I would like to start working on this. Where should I address my questions? Should I ask over mumble tomorrow in your dev call? Or should I continue here or at the mailing list?

This was included in another PR which is in master.


fix: renamed ubiquibot-config-default file

Resolves #725

@pavlovcik , please have a look at this.

@rndquu  Thanks for updating . "Resolve conflicts" button is disabled on my side, any idea how to work around?

@rndquu Thanks for updating . "Resolve conflicts" button is disabled on my side, any idea how to work around?

Manually merge the latest development branch via git cli, resolve the conflicts and push the update

@rndquu , do we have a fixed value for this https://github.com/Wholesomebruh/ubiquibot/blob/96af7a57deacbd581a1c35dc05969581e023516e/src/types/config.ts#L193 as this must be added to default-config ?

@rndquu , do we have a fixed value for "stale-bounty-time" , here https://github.com/ubiquity/ubiquibot/blob/development/src/types/config.ts#L193 ? This property must be added to default-config.


Fix: Print Non Interactive Command

closes #73
Confirmed that non interactive command in program output is correct.

[x] include create in command
[ ] fix standard library framework option to be standard-library instead.
[x] move name flag to the end of the output so that it can easily be replaced

@basokant You need to rebase this to pass the linting.
Also - is this still a draft?
Also, there are some conflicts


when using sharding master-slave-rules,the encryptRule is not worked for result,but is wored for param

Bug Report
For English only, other languages will not accept.
Before report a bug, make sure you have:

Searched open and closed GitHub issues.
Read documentation: ShardingSphere Doc.

Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which version of ShardingSphere did you use?
4.0.0-RC2
Which project did you use? Sharding-JDBC or Sharding-Proxy?
Sharding-JDBC
Expected behavior
the query result is decrypt
Actual behavior
the query result is still encrypt
Reason analyze (If you can)
thie query result not use the encryptRule to decrypt
this question is not dupe! I use the master-slave-rules! I want the master-slave-rules and the encrpt can combine use!
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
Example codes for reproduce this issue (such as a github link).
spring:
shardingsphere:
datasource:
names: master,slave0
master:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: org.h2.Driver
url: jdbc:h2:mem:dbtest:public;DB_CLOSE_DELAY=-1;MODE=MySQL
slave0:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: org.h2.Driver
url: jdbc:h2:mem:dbtest:public;DB_CLOSE_DELAY=-1;MODE=MySQL
sharding:
defaultDataSourceName: dataSource
master-slave-rules:
dataSource:
master-data-source-name: master
slave-data-source-names[0]: slave0
load-balance-algorithm-type: ROUND_ROBIN
encryptRule:
encryptors:
encryptor_aes:
type: AES
props:
aes.key.value: 123456
tables:
company:
columns:
address:
cipherColumn: address
encryptor: encryptor_aes
full_name:
cipherColumn: full_name
encryptor: encryptor_aes
props:
sql.show: true

@Keanhua I test this and it works well. My version is 4.0.0-RC2-release.
Here is my config yaml in spring boot:

@Keanhua I test that,and it works well,my version is 4.0.0-RC2-release.
Here is my config:

@betterjava the queryresult is not decrypt yet.
i use the config jusi not have the sharding like the follow pic shows

@Keanhua according to my understanding, master-slave and encrpt  can not combine used if then are not in a same sharding config.
See Three important config class below:
ShardingRuleConfiguration.java:

MasterSlaveRuleConfiguration.java:

EncryptRuleConfiguration:

ShardingRuleConfiguration can contain MasterSlaveRuleConfiguration and EncryptRuleConfiguration.  So a datasource from shardingsphere just in these situations:

master-slave only
encrypt only
shard only
shard + master-slave
shard + encrypt
shard + master-slave + encrypt

@Keanhua you  can config like this,I test that and it works well:

@betterjava
sorry, i just show the pic is error ,i delete the sharding tag wrong.
I actually use the config like this (you show me). but the queryresult is not decrypt yet.

shading tag i not forget

please show your log in console like below:

@betterjava

@Keanhua
is it correct?

@betterjava
this is the tablename. have anything wrong?
when i insert data ,the column i config can encrypt to the table
but when i query data, the column i config can not decrypt

@Keanhua  I thought you spell table name wrong,that is my fault.
Can you show your code how to query data?

@betterjava  yes ,the table name is wrong...........
this is mycode by use mybatis plus！

you can see the detail in
https://github.com/apache/incubator-shardingsphere/issues/2972#issuecomment-528167681

@Keanhua can you test this code in your environment？
    @Autowired
    private JdbcTemplate jdbcTemplate;

    @Test
    public void testJdbc() {
        List<Map<String, Object>> result = jdbcTemplate.queryForList("select * from settlment_company where id = 2193");
        for(Map<String,Object> map:result){
            for(Map.Entry<String,Object> entry:map.entrySet()){
                System.out.println(entry.getKey()+":"+entry.getValue());
            }
        }
    }

I need whether it is a problem when use mybatis-plus.

@betterjava
it looks like no problem

it seems like problem will happen when use mybatis-plus. I will check it.

@betterjava thank you so much

@Keanhua which mybatis-plus version  you used?

@betterjava
3.1.0


Fix referesh Interval

Pull Request Description
This PR fixes issue when refetch didn't happen because the session either already expired or very close to expire
This PR fixes the reset interval when it's less that 5 mins or already expired
Based on https://github.com/enso-org/enso/pull/11725
Closes: https://github.com/enso-org/cloud-v2/issues/1603

Important Notes

Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[ ] The documentation has been updated, if necessary.
[ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[ ] All code follows the
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
[ ] Unit tests have been written where possible.
[ ] If meaningful changes were made to logic or tests affecting Enso Cloud integration in the libraries,
or the Snowflake database integration, a run of the Extra Tests has been scheduled.

If applicable, it is suggested to paste a link to a successful run of the Extra Tests.

Looks like the token isn't being refreshed

Looks like the latest commit made it bit worse. The REFRESH_AUTH_TOKEN request constaly sends "" in auth parameters thus backend is failing with 500. I will handle this on backend so we will return 400 but something is also wrong on FE
https://github.com/user-attachments/assets/2816d7cd-d603-4d83-8233-0bca0c43d00c


Loaded modules not view

Loaded modules not view

I am going to need more information to diagnose this.   Can you please add info about your os/language/compiler requested in the bug template?    Also, more explanation of what you were doing and what you expected the extension to do would be helpful.  Thanks!

Ah, I see - a recent VSCode update had broken Modules view.

Fixed in v1.6.2


Implement getCustomCodecService for EnginePlugin

Signed-off-by: John Mazanec<EMAIL_ADDRESS>Description
This PR implements the getCustomCodecService function of the EnginePlugin interface. That way, we do not have to override the entire engine factory for indices that use k-NN, just the CodecService. This will allow k-NN to be used with CCR plugin.
Issues Resolved
#147
Check List

[X] Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #229 (ee8ec80) into main (d89f241) will decrease coverage by 0.20%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main     #229      +/-   ##
============================================
- Coverage     83.21%   83.00%   -0.21%
+ Complexity      864      859       -5
============================================
  Files           123      122       -1
  Lines          3777     3766      -11
  Branches        358      358
============================================
- Hits           3143     3126      -17
- Misses          474      479       +5
- Partials        160      161       +1

Impacted Files
Coverage Δ

...main/java/org/opensearch/knn/plugin/KNNPlugin.java
100.00% <100.00%> (ø)

...ava/org/opensearch/knn/plugin/KNNCodecService.java
50.00% <0.00%> (-25.00%)
:arrow_down:

...nsearch/knn/index/codec/KNN87Codec/KNN87Codec.java
80.00% <0.00%> (-16.00%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d89f241...ee8ec80. Read the comment docs.

Closing. I will raise a PR that addresses #146 and #147.


Explain these results

Can someone please explain these search results? I have multiple fields in my index but I only want to search the 'title' field so I created this query:
var searchText = "business";
var results = this.mainIndex.query(function (q) {
     q.term(searchText, { fields: ["title"] })
});

The first two results for the title are in the following order:

Manage business processes
Business to Business  [B2B]

Why does 'Manage business processes' show up first? Shouldn't the second result be on top? Because the second result contains the search term twice?

Could you post a reproduction somewhere like jsfiddle?
It's difficult to say why you are getting those results without seeing how the index was defined and without the actual data. From what you've shared I would expect to see "Business to Business [B2B]" to rank above "Manage business processes" though.

Yes, I've created an example: https://jsfiddle.net/jg7fugfw/7/

Thanks for the fiddle, makes it much easier to figure out what is going on.
Looking at the results, both documents have the same score, which would be unexpected, but then I took a closer look at the data, the second title contains a misspelling: "Busisess" instead of "Business", so the results are then expected, since both documents only have a single "business" in the title.
Updating the example to include a correctly spelled "Business" twice in the title for document 2 leads to the results I would expect.

I'm going to close this issue now as I don't think there is anything that needs to be done in Lunr. Feel free to leave a comment if you have any other related questions.

Sorry my mistake, but I've changed the example to the exact case I am using in my code. And now it shows the incorrect results again. I've changed the body field, but that field should be ignored because I specifically search in the title field.

Yeah, that is weird, I wouldn't have expected those results given those documents, I'll take a closer look...

I've poked around at the data in the index you provided to try and understand the results you are getting. I think the problem is due to term saturation, I'll try and explain what is happening and why Lunr is assigning the scores it is.
The term "business" is very common in your example set of documents, it occurs 9 times across all fields. Ordinarily a term appearing many times in a document would indicate that that term is very relevant to that document. However, this can lead to problems where longer documents would dominate shorter documents just by having more of a particular term, even if it isn't very relevant to that document.
Lunr tries to accommodate this using term frequency saturation, which just means that after a certain point, more occurrences of a term has less and less affect on the relevancy score for that term. This saturation level can be tuned using the k1 property when building the index. In your example you can experiment with this value to see the affect on the score. Unfortunately, there does not seem to be any value that will switch the order of the results you are seeing.
There may be improvements possible in Lunr that might improve this case, specifically making the calculation for IDF field aware, though its not clear that it would 'fix' this exact case.
In conclusion, trying to represent a terms relevance to a given document in a single number is inherently a lossy process, providing a catch all algorithm for doing so is always going to fall short in some edge cases. Relevance is a hard problem, even more so with the limited resources available to Lunr running in your browser. I know that doesn't really 'solve' your problem, but hopefully it makes it slightly easier to understand the results. If you're interested in the topic there is an interesting article about the scoring method used in Lunr (but from a Lucene perspective), and a specific section on term saturation.
I'll continue to dig into cases like this, but I doubt there is any quick fix available unfortunately.

Thanks for the explanation, I understand the complexity of dealing with this specific case. Wouldn't it be possible to completely ignore the 'body' field in this case? Because the search term specifically chooses to search in the 'title' field. In that way you could search in documents on specific characteristics rather than the whole index.


Design : Contact Us & Login/Register Page

Describe the bug/feature

Design UI for contact us & login/register page
Use https://www.figma.com/file/C9s7Lm4ALV7XZIxlpW9e0P/DoctorVerse?node-id=0%3A1 for theme & colors ( should follow the same theme)

Expected behavior

Provide link for 2 separate Figma files each for login/register page and contact us page

I'm working on this one! Assign me @naveen8801.


Pasting multiple paragraphs creates overflowing text

Repro steps

Copy some larger text, like the one below
Paste into the editor

Actual result
Pasted text elements overflow each other.

Building Excalidraw's P2P Collaboration Feature
March 29, 2020, by [idlewinn](https://twitter.com/edwinlin1987)

The problem was that Excalidraw was built to be a fundamentally single-player experience. However, we ([@idlewinn](https://twitter.com/edwinlin1987) and [@floydophone](https://twitter.com/floydophone)) were able to quickly add basic multiplayer support over a long weekend, and are continuing to make improvements to it every day.

The requirements
We wanted to be able to use this in our day jobs. In order to do that, it had to support [end-to-end encryption](https://blog.excalidraw.com/end-to-end-encryption/).
We did not want to store anything server-side. Therefore, we opted for a pseudo-P2P model, where a central server relays end-to-end encrypted messages to all the peers in the room, but does no centralized coordination.
Excalidraw’s single-player architecture
Originally, Excalidraw kept an array of all the different drawn shapes — called ExcalidrawElements — in Z-index order. The ExcalidrawElement interface looked something like this:

interface ExcalidrawElement {
  id: string;
  type: "square" | "circle" | "arrow";
  width: number;
  height: number;
  // ... other fields describing the shape ...
  canvas: HTMLCanvasElement;
  isSelected: boolean;
}
This architecture was very easy to use client-side, but as we’ll see, presented some challenges as we moved to multiplayer.

Moving to multiplayer
We actually had two parallel multiplayer implementations. One was built on top of [Firebase](https://firebase.com/), the other on top of [Socket.io](https://socket.io/). We ended up going with Socket.io, but both implementations developed the same set of bugs, and the mitigations we applied in one branch were easily ported to the other.

Conceptually, we want to share the array of ExcalidrawElements amongst multiple players. The first step was to refactor ExcalidrawElement to remove any state specific to a single player. This meant pulling out canvas and isSelected properties and storing them in a different data structure, as an HTMLCanvasElement can’t be shared over the network, and every player will have a different selection state. Once we had these properties moved out, we started sharing the ExcalidrawElement array between peers.

I think its not a bug, if you paste in a new textbox it will overlap

itried with the same text but it does not overlap.

I have a potential fix for this, @dwelle could I pick up this issue?
left paragraph is original, right paragraph is the fixed version.


Fix for devise_multi_email support

A quick and simple fix to support devise_multi_email. It was passing all existing tests (as per Guard) back when I wrote it, but since then my own environments have got all messed up and I can't seem to get anything to run. I'm hoping someone (@MaicolBen?) will pull this and verify on their own environment and integrate all the work.
Also, I did not author any new tests to verify because I'm not sure how to add a gem to a gem for testing purposes. That's actually why I'd held off on posting this - I figured I'd take time to figure it out but that time never came and I don't want to continue to hold this up.
#1421

@MaicolBen  I would gladly add a test, but I don't know how to add a gem to a gem for testing purposes. That's actually why I'd held off on posting this - I figured I'd take time to figure it out but that time never came and I don't want to continue to hold this up.
If you can point me in the right direction towards beginning authorship of that test, I'll take care of it as soon as I can get my environment functioning properly.

@MaicolBen  I would gladly add a test, but I don't know how to add a gem to a gem for testing purposes. That's actually why I'd held off on posting this - I figured I'd take time to figure it out but that time never came and I don't want to continue to hold this up.
If you can point me in the right direction towards beginning authorship of that test, I'll take care of it as soon as I can get my environment functioning properly.

Gonna try again with a new pull request.


How can I join a league game source TV through the gc?

I am really a newbie for node. Is there any solution for this?

This is the issue tracker for the library itself. You can discuss the Steam protocol in the SteamRE group or in #opensteamworks on irc.gamesurge.net.


Add Practice Exercise: rest-api

Problem specification:
https://github.com/exercism/problem-specifications/tree/main/exercises/rest-api
TODO:

generate the exercise with ./bin/fetch-configlet && ./bin/configlet create --practice-exercise rest-api
check if any of the existing tracks (examples below) implement the exercise and you can reuse the implementation:

Go: https://github.com/exercism/go/tree/main/exercises/practice
Rust: https://github.com/exercism/rust/tree/main/exercises/practice
Python: https://github.com/exercism/python/tree/main/exercises/practice

use exercise's canonical-data.json to see which test cases to implement:
https://github.com/exercism/problem-specifications/blob/main/exercises/rest-api/canonical-data.json

https://github.com/exercism/cairo/pull/254#issuecomment-2334748046


iOS build failed.

In Xcode 10.12, all possible variant of iOS build through polly seems failed with below error.
CMake Error at cmake/OpenCVCompilerOptimizations.cmake:460 (message):
  Required baseline optimization is not supported: NEON
  (CPU_BASELINE_REQUIRE=;NEON)

It seems not drishti related error, but the one due to hunter.
In drishti/_builds/ios-/_3rd_party/hunter/config_id/config.cmake.NOLF
In drishti/_builds/ios-/_3rd_party/hunter/config_id/config.cmake
uses the LATEST OpenCV with NEON enabled.
hunter_final_config(
    PACKAGE "OpenCV"
    VERSION "4.0.0-p3"
...

and
ENABLE_NEON=ON
Is there any way to modify hunter setting?

Update :
Currently, I am in High Sierra (10.13.6 (17G12034)).
Xcode 10.1, and 10.2 have no success with any additional SDK installs.
Xcode 9.3.1 with polly.py --toolchain ${TOOLCHAIN} --config-all ${CONFIG} --install --verbose --reconfig --fwd DRISHTI_BUILD_EXAMPLES=ON
Still works well.


null pointer in try ML setup

https://cdn.discordapp.com/attachments/1047051581201317898/1066638891605569667/image.png

mb related to being in-editor


ERROR: test_retrieve_failed_job_simulator_partial

Information

Qiskit IBM Provider version:
Python version:
Operating system:

What is the current behavior?
This cron test run fails with
======================================================================
ERROR: test_retrieve_failed_job_simulator_partial (test.ibm.test_ibm_job.TestIBMJob)
Test retrieving partial results from a simulator backend.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/qiskit-ibm/qiskit-ibm/qiskit_ibm/job/ibm_circuit_job.py", line 791, in _set_result
    self._result = Result.from_dict(raw_data)
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/qiskit/result/result.py", line 144, in from_dict
    in_data["results"] = [ExperimentResult.from_dict(x) for x in in_data.pop("results")]
KeyError: 'results'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/runner/work/qiskit-ibm/qiskit-ibm/test/ibm/test_ibm_job.py", line 408, in test_retrieve_failed_job_simulator_partial
    result = job.result(partial=True)
  File "/home/runner/work/qiskit-ibm/qiskit-ibm/qiskit_ibm/job/ibm_circuit_job.py", line 255, in result
    self._retrieve_result(refresh=refresh)
  File "/home/runner/work/qiskit-ibm/qiskit-ibm/qiskit_ibm/job/ibm_circuit_job.py", line 764, in _retrieve_result
    self._set_result(result_response)
  File "/home/runner/work/qiskit-ibm/qiskit-ibm/qiskit_ibm/job/ibm_circuit_job.py", line 799, in _set_result
    'job {}: {}'.format(self.job_id(), str(err))) from err
qiskit_ibm.job.exceptions.IBMJobApiError: "Unable to retrieve result for job 615a8b3eb98f0c7ba6523af1: 'results'"

----------------------------------------------------------------------

Steps to reproduce the problem
What is the expected behavior?
Suggested solutions

Based on Matt's comment in the Aer issue, we just need to explicitly pass in a simulation method, so the job fails when it tries to process the bad experiment, rather than up front when selecting a method.

How would we pass in a simulation method? Something similar to the documentation here using QasmSimulator or something like this?
backend._configuration._data['simulation_method'] = 'statevector'


feat: json_merge expression and sql function

Description
This add a new json_merge expression which takes two or more arguments to merge into a single json structure. It also added the corresponding SQL function. This is useful for transforming data in druid, for instance I use it for flattening arrays of objects using fold, e.g. fold((a, acc) -> json_merge(acc, json_object(json_value(a, '$.key'), json_value(a, '$.value'))), arrayofkv, json_object())
Fixed the bug ...
Renamed the class ...
Added a forbidden-apis entry ...

Release note

Key changed/added classes in this PR

json_merge expression function
json_merge sql function

This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[x] added documentation for new or modified features or behaviors.
[ ] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[x] been tested in a test Druid cluster.

@lkm - There are compilation failures. You may have to rebase your PR too.

@lkm - There are compilation failures. You may have to rebase your PR too.

It seems things have shifted in master since I did this originally. Will resolve those problems soon

Thank you for your contribution @lkm

Thank you for your contribution @lkm

Thanks for merging!


SampleGen Feature Request: string field support for value_is_file

Response support:

[X] Save bytes to file
[X] Save test to file

Request support:

[X] Read file bytes into field
[ ] Read file text into field

Let's fill in: Read file text into field support :)
@googleapis/samplegen

Moved to backlog: https://github.com/googleapis/gapic-generator/wiki/feature-backlog/


Fatal server stall - MobGrindUtils & EnderIO interaction

Issue Description:
Fatal server stall occurs as interaction between EnderIO Repellent enchantment and MobGrindingUtils MobMasher.
As described by one of our members:
This seems to be an interaction between the mob grinder from mob_grinding_utils and an enchantment in EnderIO (EnchantmentRepellent). My best guess is that a mob spawned with a piece of equipment bearing this enchantment, which tried to teleport the mob grinder's fakeplayer away when it attacked the mob. Given that the fakeplayer in question never moves and attacks very rapidly in quick succession, I'm guessing it got stuck endlessly trying to teleport the fakeplayer.
What happens:
Server fatally stalls when a mob bearing a piece of gear with the Repellant enchanment is attacked by the MobGrindUtils fakePlayer, causing an attempt to teleport the fakePlayer
What you expected to happen:
n/a
Steps to reproduce:

Spawn mob with gear that had Repellent enhancement
Attempt to kill mob using MobGrundUtils MobMasher
Fatal stall

Affected Versions (Do not use "latest"):

EnderIO: Ender IO - 5.0.29
EnderCore: EnderCore - 1.12.2-0.5.35
Minecraft: 1.12.2
Forge: 2727

Your most recent log file where the issue was present:
https://gist.github.com/AnsuzThurisaz/a18d72919dedcc19debb5cb0ed2686dd

From @HenryLoenwind

"Do you have a couple more stall reports to confirm the exact location? As it's just a snapshot of what's going on at the time the stall reporting decides there maybe a stall, it may be a good bit off.
Anyway, I'll add a fakeplayer detection for (all kinds of) teleporting just to be safe."

Yes we do. I could provide additional reports but I'm currently at work so
I don't have them available. I can however say with certainty that each of
them pointed at the same exact event.
On Wed, Jul 4, 2018, 4:04 PM Buuz135<EMAIL_ADDRESS>wrote:

From @HenryLoenwind https://github.com/HenryLoenwind
"Do you have a couple more stall reports to confirm the exact location? As
it's just a snapshot of what's going on at the time the stall reporting
decides there maybe a stall, it may be a good bit off.
Anyway, I'll add a fakeplayer detection for (all kinds of) teleporting
just to be safe."
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SleepyTrousers/EnderIO/issues/4745#issuecomment-402551755,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXnP_E7IxWMmu1doCxoNF6VKW2LYTup6ks5uDR_ggaJpZM4VCz6K
.

After some digging I'd like to say that I think this has nothing to do with FakePlayers and the FakePlayer in this case is simply doing something to result in a guaranteed method through which to trigger this fatal freeze. What I believe causes this is a poorly designed while loop:
https://github.com/SleepyTrousers/EnderIO/blob/master/enderio-base/src/main/java/crazypants/enderio/base/teleport/RandomTeleportUtil.java#L58
Negative numbers that are too large increase the amount of time that it would take to meet the condition drastically. If the enchantment is level 1 a y value of simply -47 would cause the condition to fail over 99% of the time (just explaining normal distribution for posterity's sake).
In this scenario Mob Grinding Util's Mob Masher (or Saw, internally) places the entity at -100D as per:
https://github.com/vadis365/Mob-Grinding-Utils/blob/MC1.12/MobGrindingUtils/MobGrindingUtils/src/main/java/mob_grinding_utils/tile/TileEntitySaw.java#L75
That'd be 6.3125 standard deviations from the mean (assuming level 1 enchant). This results in roughly a 1 in 20 billion chance of being greater than 1.1. I'm not sure how fakeplayers work, especially since it should be teleporting to that Y value every strike, but is there a possibility it could be returning an even lower Y value? I'd imagine entities even lower than -100 would be even worse.
You could likely recreate this with any entity that low, though I'm not sure what things can make you immune to void damage to recreate this, and -64 with the level 1 enchant simply didn't work to recreate the fatal freeze.
All in all it's a fairly specific edge case, but I think it'd help to fix the loop in addition to the fakeplayer check. Maybe make it not work at all below a certain Y value, like -65?

This is way over my head, but the logic sounds about right. Thanks for
looking further into this or us!
On Thu, Jul 12, 2018, 12:09 PM nullKomplex<EMAIL_ADDRESS>wrote:

After some digging I'd like to say that I think this has nothing to do
with FakePlayers and the FakePlayer in this case is simply doing something
to result in a guaranteed method through which to trigger this fatal
freeze. What I believe causes this is a poorly designed while loop:
https://github.com/SleepyTrousers/EnderIO/blob/master/enderio-base/src/main/java/crazypants/enderio/base/teleport/RandomTeleportUtil.java#L58
Negative numbers that are too large increase the amount of time that it
would take to meet the condition drastically. If the enchantment is level 1
a y value of simply -47 would cause the condition to fail over 99% of the
time (just explaining normal distribution for posterity's sake).
In this scenario Mob Grinding Util's Mob Masher (or Saw, internally)
places the entity at -100D as per:
https://github.com/vadis365/Mob-Grinding-Utils/blob/MC1.12/MobGrindingUtils/MobGrindingUtils/src/main/java/mob_grinding_utils/tile/TileEntitySaw.java#L75
That'd be 6.3125 standard deviations from the mean (assuming level 1
enchant). This results in roughly a 1 in 20 billion chance of being greater
than 1.1. I'm not sure how fakeplayers work, especially since it should be
teleporting to that Y value every strike, but is there a possibility it
could be returning an even lower Y value? I'd imagine entities even lower
than -100 would be even worse.
You could likely recreate this with any entity that low, though I'm not
sure what things can make you immune to void damage to recreate this, and
-64 with the level 1 enchant simply didn't work to recreate the fatal
freeze.
All in all it's a fairly specific edge case, but I think it'd help to fix
the loop in addition to the fakeplayer check. Maybe make it not work at all
below a certain Y value, like -65?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SleepyTrousers/EnderIO/issues/4745#issuecomment-404565734,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXnP_BwZt24cVSbh2UshlSZnrswiBg4Zks5uF3SvgaJpZM4VCz6K
.

This bug just took down forgecraft 2. It looks like any low y-level combat could trigger this problem.

I have two groups of players with bedrock bases. Flat bedrock + bedrock
ores. Bound to happen.
On Sat, Jul 14, 2018, 9:26 AM Henry Loenwind<EMAIL_ADDRESS>wrote:

Why are people hanging around below bedrock? There's nothing down there
but void damage...
I'll be back home Sunday evening.
Sent from my iPhone

On 14. Jul 2018, at 15:14, cpw<EMAIL_ADDRESS>wrote:
Warning: This message has had one or more attachments removed
Warning: (msg-25108-15.html).
Warning: Please read the "j-e-b-Attachment-Warning.txt" attachment(s)
for more information.
This bug just took down forgecraft 2. It looks like any low y-level
combat could trigger this problem.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:

https://github.com/SleepyTrousers/EnderIO/issues/4745#issuecomment-405023088

This is a message from the MailScanner E-Mail Virus Protection Service
The original e-mail message contained potentially dangerous content,
which has been removed for your safety.
The content is dangerous as it is often used to spread viruses or to gain
personal or confidential information from you, such as passwords or
credit
card numbers.
Due to limitations placed on us by the Regulation of Investigatory Powers
Act 2000, we were unable to keep a copy of the original attachment.
The content filters found this:
MailScanner: Found a script in HTML message
--
Postmaster
MailScanner thanks transtec Computers for their support

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SleepyTrousers/EnderIO/issues/4745#issuecomment-405023703,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXnP_JrQYSLmLdLETOz1stR9s8d6o0e4ks5uGfF0gaJpZM4VCz6K
.

Also, Cubic Chunks exists.

For those critically affected by this bug, you can try this dev build at your own risk: https://ci.tterrag.com/job/EnderIO-Modules/job/EnderIO-Hourly/581/
(If it's a 404, come back later. Commenting now before I forget :P)

(I have not tested the dev build, but)
That commit should fix fatal freezes technically. It's worth noting that there's a 50% chance for the while loop to fail every iteration at or below a mean of 1. While statistically unlikely, it means lag spikes can still occur (especially since in the event of an impossible teleport it repeats the process up to 14 more times) depending on RNG. And while this should never occur naturally, calling that method with a range of 0 will fatally freeze still.

tbh, I prefer to lag the server for a couple of ms over dropping players into the void below bedrock...


Fix display expectation

Bernice should not be in view panel when she is not listed in persons list.

Codecov Report

Merging #188 (07b4422) into master (dd79661) will increase coverage by 0.04%.
The diff coverage is 83.33%.

@@             Coverage Diff              @@
##             master     #188      +/-   ##
============================================
+ Coverage     65.81%   65.86%   +0.04%
  Complexity      668      668
============================================
  Files           107      107
  Lines          2396     2402       +6
  Branches        321      321
============================================
+ Hits           1577     1582       +5
- Misses          694      695       +1
  Partials        125      125

Impacted Files
Coverage Δ

...gic/commands/schedule/FindCommonTimingCommand.java
0.00% <0.00%> (ø)

...edu/address/logic/commands/person/FindCommand.java
100.00% <100.00%> (ø)

...dress/logic/commands/schedule/AddEventCommand.java
65.71% <100.00%> (+1.00%)
:arrow_up:

...ss/logic/commands/schedule/DeleteEventCommand.java
75.00% <100.00%> (+0.80%)
:arrow_up:

...ress/logic/commands/schedule/EditEventCommand.java
84.00% <100.00%> (+0.32%)
:arrow_up:

...ress/logic/commands/schedule/WhoIsFreeCommand.java
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dd79661...07b4422. Read the comment docs.


compiling twrp latest for zte blade a610 fail

hi guys.
First i use toybox from lineage 14.1 and it comment microcom.c don't exist and after that i download latest microcom from android and i paste microcom.c to the correct dirrectory. when i make clean and after that make recoveryimage and get 30 min and xx sec. and it comment this is from make recoveryimage:
target  C: toybox_recovery <= external/toybox/toys/net/microcom.c
external/toybox/toys/net/microcom.c:47:28: error: use of undeclared identifier 'TT'
tcsetattr(0, TCSAFLUSH, &TT.original_stdin_state);
^
external/toybox/toys/net/microcom.c:48:13: error: use of undeclared identifier 'TT'
tcsetattr(TT.fd, TCSAFLUSH, &TT.original_fd_state);
^
external/toybox/toys/net/microcom.c:48:32: error: use of undeclared identifier 'TT'
tcsetattr(TT.fd, TCSAFLUSH, &TT.original_fd_state);
^
external/toybox/toys/net/microcom.c:60:8: error: use of undeclared identifier 'TT'
if (!TT.s) speed = 115200;
^
external/toybox/toys/net/microcom.c:61:21: error: use of undeclared identifier 'TT'
else speed = atoi(TT.s);
^
external/toybox/toys/net/microcom.c:65:63: error: use of undeclared identifier 'TT'
if (i == ARRAY_LEN(speeds)) error_exit("unknown speed: %s", TT.s);
^
external/toybox/toys/net/microcom.c:69:3: error: use of undeclared identifier 'TT'
TT.fd = xopen(*toys.optargs, O_RDWR | O_NOCTTY | O_NDELAY);
^
external/toybox/toys/net/microcom.c:70:22: error: use of undeclared identifier 'TT'
if (-1==(i = fcntl(TT.fd, F_GETFL, 0)) || fcntl(TT.fd, F_SETFL, i&~O_NDELAY))
^
external/toybox/toys/net/microcom.c:70:51: error: use of undeclared identifier 'TT'
if (-1==(i = fcntl(TT.fd, F_GETFL, 0)) || fcntl(TT.fd, F_SETFL, i&~O_NDELAY))
^
external/toybox/toys/net/microcom.c:74:8: error: use of undeclared identifier 'TT'
xraw(TT.fd, "fd", speed, &TT.original_fd_state);
^
external/toybox/toys/net/microcom.c:74:29: error: use of undeclared identifier 'TT'
xraw(TT.fd, "fd", speed, &TT.original_fd_state);
^
external/toybox/toys/net/microcom.c:75:24: error: use of undeclared identifier 'TT'
xraw(0, "stdin", 0, &TT.original_stdin_state);
^
external/toybox/toys/net/microcom.c:79:15: error: use of undeclared identifier 'TT'
fds[0].fd = TT.fd;
^
external/toybox/toys/net/microcom.c:89:24: error: use of undeclared identifier 'TT'
ssize_t n = read(TT.fd, buf, sizeof(buf));
^
external/toybox/toys/net/microcom.c:97:29: error: use of undeclared identifier 'FLAG_X'
if (!(toys.optflags & FLAG_X)) {
^
external/toybox/toys/net/microcom.c:99:23: error: use of undeclared identifier 'TT'
tcsendbreak(TT.fd, 0);
^
external/toybox/toys/net/microcom.c:103:14: error: use of undeclared identifier 'TT'
xwrite(TT.fd, buf, 1);
^
17 errors generated.
build/core/binary.mk:1087: recipe for target '/home/peturbg/BLADE/out/target/product/a610/obj/EXECUTABLES/toybox_recovery_intermediates/toys/net/microcom.o' failed
make: *** [/home/peturbg/BLADE/out/target/product/a610/obj/EXECUTABLES/toybox_recovery_intermediates/toys/net/microcom.o] Error 1
make failed to build some targets (30:20 (mm:ss))
peturbg@workgroup:~/BLADE$
This is from Android.mk:
TWRP stuff
RECOVERY_VARIANT := twrp
TW_THEME := portrait_hdpi
RECOVERY_GRAPHICS_USE_LINELENGTH := true
TW_NO_REBOOT_BOOTLOADER := true
TW_BRIGHTNESS_PATH := /sys/devices/platform/leds-mt65xx/leds/lcd-backlight/brightness
TARGET_USE_CUSTOM_LUN_FILE_PATH := /sys/devices/platform/mt_usb/musb-hdrc.0.auto/gadget/lun%d/file
TW_MAX_BRIGHTNESS := 255
TW_EXCLUDE_SUPERSU := true
TW_INCLUDE_FB2PNG := true
TW_NO_CPU_TEMP := true
TW_REBOOT_BOOTLOADER := true
TW_REBOOT_RECOVERY := true
TW_HAS_DOWNLOAD_MODE := true
TW_EXCLUDE_SUPERSU := true
TW_USE_TOOLBOX := true
TARGET_USE_CUSTOM_LUN_FILE_PATH := "/sys/devices/virtual/android_usb/android0/f_mass_storage/lun%d/file"
BOARD_SEPOLICY_DIRS := $(LOCAL_PATH)/sepolicy
Use old sepolicy version
POLICYVERS := 29
Seccomp filter
BOARD_SECCOMP_POLICY := $(LOCAL_PATH)/seccomp

On 12/16/2017 12:56 PM, peturbg wrote:

hi guys.
First i use toybox from lineage 14.1 and it comment microcom.c don't
exist and after that i download latest microcom from android and i paste
microcom.c to the correct dirrectory. when i make clean and after that
make recoveryimage and get 30 min and xx sec. and it comment this is
from make recoveryimage:
target C: toybox_recovery <= external/toybox/toys/net/microcom.c
external/toybox/toys/net/microcom.c:47:28: error: use of undeclared
identifier 'TT'
tcsetattr(0, TCSAFLUSH, &TT.original_stdin_state);
^

It didn't rebuild the files in the generated/ directory to notice the
new command, so there's no #define for TT for that command. In theory
"make clean; make oldconfig" should do it, but I always do "make clean;
make defconfig"...

build/core/binary.mk:1087: recipe for target
'/home/peturbg/BLADE/out/target/product/a610/obj/EXECUTABLES/toybox_recovery_intermediates/toys/net/microcom.o'
failed
make: ***
[/home/peturbg/BLADE/out/target/product/a610/obj/EXECUTABLES/toybox_recovery_intermediates/toys/net/microcom.o]
Error 1
    make failed to build some targets (30:20 (mm:ss))

peturbg@workgroup:~/BLADE$
This is from Android.mk:

The android guys manually update the generated/ files instead of running
the toybox make/make.sh. They have instructions on how to do that in
their makefile:
https://android.googlesource.com/platform/external/toybox/+/master/Android.mk#19
I should really tweak things so they can run the generator scripts each
build. It's on my todo list...
Rob

hi are you the developer of toybox. man you have to speak with everybody in linux and android tell them they have to make everything autosolved. if error try start to comment exactly where is the error and how it can be solved. linux fail becouse there is no solutions. for example in linux there will be error in compile when it find : so to be solved in compile peoples need to put /: person who dont developer will not know and he can lost all him life to seek for solution. happy 23, 24 and 25 and happy new year

I delete old toybox and i download repo sync. After that i move microcom.c in toys/net and i write make clean after that make defconfig and then i write make -j4 recoveryimage and it comment error:
twrp developers you need to make it automatically and when it fail to show how peoples need to solve it.
es/lib/lib.P; sed -e 's/#.//' -e 's/^[^:]: *//' -e 's/ *\\$//' -e '/^$/ d' -e 's/$/ :/' < /home/peturbg/BLADE/out/target/product/a610/obj/EXECUTABLES/toybox_recovery_intermediates/lib/lib.d >> /home/peturbg/BLADE/out/target/product/a610/obj/EXECUTABLES/toybox_recovery_intermediates/lib/lib.P; rm -f /home/peturbg/BLADE/out/target/product/a610/obj/EXECUTABLES/toybox_recovery_intermediates/lib/lib.d )"
In file included from external/toybox/lib/lib.c:6:
external/toybox/toys.h:8:10: fatal error: 'generated/config.h' file not found
#include "generated/config.h"
^
1 error generated.
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make failed to build some targets (04:29 (mm:ss))
peturbg@workgroup:~/BLADE$

when i move from android toybox to toys/net/microcom.c and start compile make recoveryimage it comment upper error. When i delete folder toybox and repo sync --force-sync it download the same toybox and when i compile it comment this error:
build/core/base_rules.mk:320: warning: ignoring old commands for target /home/peturbg/BLADE/out/target/product/a610/system/lib/libui_ext.so' build/core/Makefile:34: warning: overriding commands for target /home/peturbg/BLADE/out/target/product/a610/system/lib64/libui_ext.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target /home/peturbg/BLADE/out/target/product/a610/system/lib64/libui_ext.so' Starting build with ninja ninja: Entering directory .'
ninja: error: 'external/toybox/toys/net/microcom.c', needed by '/home/peturbg/BLADE/out/target/product/a610/obj/EXECUTABLES/toybox_recovery_intermediates/toys/net/microcom.o', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make failed to build some targets (01:15 (mm:ss))
peturbg@workgroup:~/BLADE$
It error is know that micro... don't exist but there is not solution how peoples can solve it. if i move micro... to toy/net it comment error from the upper topic if i repo sync --force-sync it download working toybox but it don't contain micro... if this mean micro... don't exist. How toybox developers accept this. Make self solved toybox. Android manual it comment mm -j32 and it comment: mm -j32
Could not open packet
How it that google write on they official google forum peoples to use mm-32 and when mm -j32 it comment Could not open packet so google is writing false coomands.

1

On 12/17/2017 12:10 PM, peturbg wrote:

I delete old toybox and i download repo sync. After that i move
microcom.c in toys/net and i write make clean after that make defconfig
and then i write make -j4 recoveryimage and it comment error:
twrp developers you need to make it automatically and when it fail to
show how peoples need to solve it.

You do realize you're giving orders to volunteers, right? (Also, this is
the first I've heard of twrp. They're a downstream consumer of the
Android Open Source Project build, which is both a consumer of and
significant contributor to my https://landley.net/toybox/about.html
project.)

es/lib/lib.P; sed -e 's/#.///' -e 's/^[^:]/: *//' -e 's/ *\$//' -e
'/^$/ d' -e 's/$/ :/' <
/home/peturbg/BLADE/out/target/product/a610/obj/EXECUTABLES/toybox_recovery_intermediates/lib/lib.d

/home/peturbg/BLADE/out/target/product/a610/obj/EXECUTABLES/toybox_recovery_intermediates/lib/lib.P;
rm -f
/home/peturbg/BLADE/out/target/product/a610/obj/EXECUTABLES/toybox_recovery_intermediates/lib/lib.d
)"
In file included from external/toybox/lib/lib.c:6:
external/toybox/toys.h:8:10: fatal error: 'generated/config.h' file not
found
#include "generated/config.h"
^
1 error generated.
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1

Android replaced the build system I wrote with a different one. Mine is
a set of bash scripts with a make wrapper. Ninja is the new build system
the android guys replaced make with. It looks like when you type "make"
your environment has a wrapper that calls ninja instead of make so it's
never calling my make/make.sh shell script.
Make is a posix command:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html
Ninja is a new build tool that's about 5 years old:
https://en.wikipedia.org/wiki/Ninja_(build_system)
Files ending in .mk (such as Android.mk) are ninja files.
If you had an actual make binary, it would read the file "Makefile"
which would source kconfig/Makefile which does:
$ make defconfig
cc -o kconfig/conf kconfig/conf.c kconfig/zconf.tab.c -DKBUILD_NO_NLS=1
-DPROJECT_NAME="ToyBox"
scripts/genconfig.sh
kconfig/conf -D /dev/null Config.in > /dev/null
You might try running those commands manually?

Yes there are peoples who are insuted,first i had been insulted from this linux and android SHITS. I buy smarthphone more than 7xx $ and it come with android spy software, i don't pay for spy i don't want spy on my smartphone, second it uses linux SHITS linus torvalds DON'T want to solve KERNEL bugs from year 2013, and when BULGARIAN person solved kernel bug linus torvalds INSULT HIM.  I will be glad linus torvalds read this email. linus torvals YOU ARE WORSE THAN SHITS. I had used linux for 1 years and i found VERY extreme bugs, debian, ubuntu, fedora and etc. DENIED TO REPAIR, SOLVED THEM. WHY I NEED TO spend 24 hours, 7 days and 365 days when developers don't want to SOLVE them. There is min. bug in nautilus when you open 2 windows and start copy it will close inmediatelly and if you have important stuff they are lost, this is min. and this BUG exist from long time ago. All new updates don't repair old updates, all new updates creates new PROBLEMS AND MUCH BIG PROBLEMS. There can be auto solved linux but they don't want. There can be old and new support but they don't want.  So linux is worse operation system that exist, with every new updates they create new big problems, min. in compile : it get error, if you don't know solve: write /: so this stupid women who make this : she has to think when make : to can be compiling and don't get problems.  In windows you can install 9 mb. for less than 1 min. in linux you compile 9 mb. but it repeat the compile proces 2 times and if first time it don't give you error on the second repeat it will give you error, if you don't know how to repair second repeat error then you can't start programs. This mean, if you compile 9 mb. and it get 10 min. and second compile will get 10 min. so this is 20 min. lost in your life, and if error occure then you are screwed. And yes ninja make plus, plus and more plus. make is slow and insecure, ninja is fast.  ninja can be 5 years old but it is better. In ninja you can see how it is gonna compile in make you don't know what is total. This is dissadvantatge. make is dissadvantatge, make can be better from ninja but developers are closed.
In linux you don't know if files are linked, hard linked or low linked, if you copy linked files it will stop work and you will not know from what directory they are comming. In windows if you copy file you copy file. In linux when ubuntu start maybe from version 9 " ubuntu women developers comment. We will make ubuntu support all KIND OF COMPUTERS " THIS IS LIFE. in ubuntu 17.10 you have to have min. 1 gb. or 2 gb. of ram to install it. in ubuntu iso image it is 2 gb. and before it was 690 mb. ubuntu had put spy programs, ubuntu in start was free. in linux and android it start SElinux that was created by nsa " national security agency " we all know they are SHITS who want to KILL ALL HUMANKIND. SPYING AND KILLING INNOCENT PEOPLES. LOOK WHAT usa has converted IRAN, IRAQ and continuosly try to kill Africa and etc. linus tarvall accepted selinux becouse they give him money. linus torvall is not free. So i stop use linux and android. If you peoples
make defconfig will not make config.g config.g will make it make oldconfig. PEOPLES there can be support for your device but linux and android don't want you to have latest operation systems becouse THEY WILL LOST MONEY. in linux like i do you can enter in other peoples system and use they operation systems linux will not solve it. ALL PEOPLES who don't use android 8 are problems with WPA security. they comment windows is insecure but linux is more insecure than windows when i enter more than 2 computers and use they ip. jajajaja voluntarees and don't voluntarees. So long jimmy continue belive in voluntaree and don't voluntaree becouse they pay them money. In hungary soro had PAY illegaly money so peoples try SABOTAGE the country, soro didn't make it. guys don't use linux, android and windows.

Merry Christmas Everyone, Love to all. I read the 1st 2 lines and then gave up. Best wishes to all those hard working volunteers. I look up to you , thanks maties :)


Translate forms.md

Resolves: #17

@RaulTsc can you please do a review?
I've also requested to be added as a maintainer and submitted a PR on reactjs/reactjs.org-translation
can you please give me an approving review on
https://github.com/reactjs/reactjs.org-translation/pull/127


Update vehicle-command to v0.2.1 and add support for auto_conditioning.

Hey there. Thank you for this very useful project. This is my first PR on github, I hope everything is ok.
To support auto_conditioning, an update of vehicle-command was needed.
I tested both new methods and got:
{"response":{"result":true,"reason":"The command was successfully received and will be processed shortly.","vin":"XP7Yxxxxxx","command":"auto_conditioning_start"}}
Everything works as expected.

Thank you!


First example doesn't work on firefox

On this page https://photon-ray.xyz/diagramatics-site/
The first example on the left (the weight with pully) doesn't work on firefox, I tested with Chrome and it works. The drag control doesn't seem to function correctly. The 2nd and 3rd examples appear to function correctly.

Oh, i just noticed that Firefox doesn't support TouchEvent.  Will work on it


Use Ethereum private signing methods for user signing in java

Currently signing using secp256k1 in the Java code does not implement the Ethereum private signing method. I.e. it does not prepend "\x19Ethereum Signed Message:" nor hex encodes the data to be signed.
This should be fixed such that this method is used when the user signs.

Closed by PR #105


Added a fully fledged Recent Changes query

Closes #69.

Codecov Report

Merging #71 into master will increase coverage by 0.11%.
The diff coverage is 76.64%.

@@             Coverage Diff              @@
##             master      #71      +/-   ##
============================================
+ Coverage     74.25%   74.36%   +0.11%
- Complexity      739      754      +15
============================================
  Files            73       75       +2
  Lines          2746     2883     +137
  Branches        236      248      +12
============================================
+ Hits           2039     2144     +105
- Misses          625      646      +21
- Partials         82       93      +11

Impacted Files
Coverage Δ
Complexity Δ

...eforge/jwbf/mediawiki/contentRep/RecentChange.java
71.6% <71.6%> (ø)
5 <5> (?)

.../jwbf/mediawiki/actions/queries/RecentChanges.java
83.92% <83.92%> (ø)
10 <10> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8a9e940...3dbc0fb. Read the comment docs.

The Checkstyle plugin noticed some issues so I force-pushed a version where those issues are fixed.

merged


Add support for nonce

For generated table add column with tx nonce.

I would like to take this on.


DoRA support for Embedding

Feature request
Supporting DoRA with Embedding to allow seamless integration with the LoRA framework.
Motivation
I need to finetune a model where additional tokens have to be trained. But getting the "Embedding does not support DoRA yet, please set it to False" error.
Your contribution
No

We're eager to receive a PR from the community 🤗! I am also having this issue.

Hey @BenjaminBossan I would like to try my hand at this.
As I understand it, I would need to build the DoRA Embedding layer in dora.py and then link that implementation in lora/layer.py.

Thanks a lot for offering to take this @ariG23498. Yes, you got it exactly right on how to add the layer. In case you need more context on why DoRA is implemented as it is (which looks more complicated than needed), you can check #1806, but this background info should not be needed to work on this.


Added path parameter to @FeignClient

I've added a path parameter to @FeignClient which if specified would be prefixed to all method level mappings. Placeholder resolution for this parameter is also provided. See #966 for more info.
Please review and pull. I've signed the ICLA.
Thanks,
Venil Noronha

Close in favour of #984

@dsyer isn't this PR is a little different than #984? Here, we can define a path parameter via code (or property placeholder) at the @FeignClient level so that all the methods mappings within the client are prefixed with the path.

I see, thanks for the clarification.

Thanks for considering. :)

@dsyer Will this feature be available with 1.1.0 Release? Looks like not merged currently, is it?

It shouldn't break any existing clients right?

Squashed and merged via 83caebf384f3454b31571a15e630f8689b1c1abe

Thanks!

superb ;)


In git segment, option to remove detailed added/modified/etc counts but keep status icon.

Prerequisites

[x] I have read and understand the CONTRIBUTING guide
[X] I looked for duplicate issues before submitting this one

Description
I'd like the git segment to include some icon to indicate there are local changes in working or staged, but without the detailed status string like ~1 or ?1
Environment

Oh my Posh version: 3.22.1
Theme: custom, here's the relevant segment:

                {
                    "type": "git",
                    "style": "plain",
                    "foreground": "#D0666F",
                    "properties": {
                        "branch_icon": "",
                        "branch_identical_icon": "",
                        "branch_ahead_icon": "",
                        "branch_behind_icon": "",
                        "branch_gone_icon": "",
                        "display_status": true,
                        "status_separator_icon": "",
                        "local_working_icon": "\u2717",
                        "local_staged_icon": "\u2717",
                        "commit_icon": "",
                        "rebase_icon": "",
                        "tag_icon": "",
                        "cherry_pick_icon": "",
                        "merge_icon": "",
                        "working_color": "#FFFF00",
                        "staging_color": "#00FF00",
                        "status_colors_enabled": true,
                        "color_background": false,
                        "prefix": " ",
                        "postfix": ""
                    }
                }

Operating System: macOS
Shell: pwsh
Terminal: vs code integrated

Steps to Reproduce
For these example shell commands that create blah, git add it, then create blah2:
➜ ~/repo develop  $ touch blah
➜ ~/repo develop  ✗ ?1 $ git add blah
➜ ~/repo develop  ✗ +1 $ touch blah2
➜ ~/repo develop  ✗ +1 ✗ ?1 $ git status
On branch develop
Your branch is up to date with 'origin/develop'.

Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
        new file:   blah

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        blah2

Expected behavior: Prompt is ➜ ~/repo develop  ✗ $  (colored appropriately based on working_color and staging_color) If both working and staged changes, then two ✗ with one of each color .
Actual behavior:  Prompt is ➜ ~/repo develop  ✗ ?1 $  or ➜ ~/repo develop  +1 $

I could imagine a settings like status_display_details that controls whether https://github.com/JanDeDobbeleer/oh-my-posh3/blob/23233bc383b1eebe61b6493fd78140da3f2fdb83/segment_git.go#L133 includes the whole gitStatus string, or just the prefix.

That could work and seems like it's an easy implementation as well. Let's do it. Do you want to give it a try, or shall I go for it?

Awesome, thanks so much! I'm not an expert at go but for future FRs I can give it a try myself :)


CompanyInformation-79 creates identical unique key across multiple BC companies

We are using bc2adls to Microsoft Fabric and extracting multiple BC company data.  When reviewing the csv files (in the delta folder) from bc2adls for the CompanyInformation-79 table, we note that the unique key (systemId-2000000000) is identical and so the delta table created only has a single company entry (due to the de-duplicate function in the notebook).
Can you confirm this is an issue?  It appears to work correctly when extracting from the GeneralLedgerSetup-98 entity.

Hi @greglong1, thanks for reporting. This indeed is an bug in the notebook script. You can have the same systemId because it is unique per table.
I have not tested it. But could you try this code:
%%pyspark
import json
import os
import glob
from pyspark.sql.types import *
from pyspark.sql.utils import AnalysisException
from pyspark.sql.functions import col
from pyspark.sql.functions import desc
file_list = []
for entry in os.scandir(folder_path):
if entry.is_dir():
for filename in glob.glob(folder_path + entry.name + '/*'):
    table_name = entry.name.replace("-","")

    df_new = spark.read.option("minPartitions", no_Partition).format("csv").option("header","true").load(folder_path_spark + entry.name +"/*")
    file_list.append(filename) #collect the imported filed in a list for deletion later on

    f = open(folder_path_json + entry.name +".cdm.json")
    schema = json.load(f)
    # Parse the schema to get column names and data types
    column_names = [attr["name"] for attr in schema["definitions"][0]["hasAttributes"]]
    column_types = [attr['dataFormat'] for attr in schema["definitions"][0]["hasAttributes"]]
    for col_name, col_type in zip(column_names, column_types):
        if col_type == "String":
            col_type = "string"
        if col_type == "Guid":
            col_type = "string"
        if col_type == "Code":
            col_type = "object"
        if col_type == "Option":
            col_type = "string"
        if col_type == "Date":
            col_type = "date"
        if col_type == "Time":
            col_type = "string"
        if col_type == "DateTime":
            col_type = "date"
        if col_type == "Duration":
            col_type = "timedelta"
        if col_type == "Decimal":
            col_type = "float"
        if col_type == "Boolean":
            col_type = "boolean"
        if col_type == "Integer":
            col_type = "int"
        if col_type == "Int64":
            col_type = "int"
        if col_type == "Int32":
            col_type = "int"

        df_new = df_new.withColumn(col_name, df_new[col_name].cast(col_type))

    #check if the table excists
    if table_name in [t.name for t in spark.catalog.listTables()]:
        #read the old data into a new dataframe and union with the new dataframe
        SQL_Query = "SELECT * FROM " + Lakehouse +"."+table_name;
        df_old = spark.sql(SQL_Query)
        df_new = df_new.union(df_old).repartition(no_Partition)

        #delete all old records
        df_deletes = df_new.filter(df_new['SystemCreatedAt-2000000001'].isNull())
        df_new = df_new.join(df_deletes, ['$Company','systemId-2000000000'], 'leftanti')

        # remove duplicates by filtering on systemID and systemModifiedAt fields
        df_new = df_new.orderBy('$Company','systemId-2000000000',desc('SystemModifiedAt-2000000003'))
        df_new = df_new.dropDuplicates(['$Company','systemId-2000000000'])

        #overwrite the dataframe in the new table
        df_new.write.mode("overwrite").format("delta").save("Tables/" + table_name)
    else:
        #table isn't there so just insert it
        df_new.write.mode("overwrite").format("delta").save("Tables/" + table_name)

    #delete the files
    if Remove_delta:
        for filename in file_list:
            try:
                os.remove(filename)
            except OSError as e:  # this would catch any error when trying to delete the file
                print(f"Error: {filename} : {e.strerror}")
        file_list = [] # clear the list

@Bertverbeek4PS - thanks for the quick response.  I believe these are the only changes in the notebook are the addition of:
'$Company',
in 3 of the lines extracted below
    #delete all old records
    df_deletes = df_new.filter(df_new['SystemCreatedAt-2000000001'].isNull())
    df_new = df_new.join(df_deletes, ['$Company','systemId-2000000000'], 'leftanti')

    # remove duplicates by filtering on systemID and systemModifiedAt fields
    df_new = df_new.orderBy('$Company','systemId-2000000000',desc('SystemModifiedAt-2000000003'))
    df_new = df_new.dropDuplicates(['$Company','systemId-2000000000'])

I'll test and advise if this works.
Thanks
Greg

Yes indeed. Those are changed.
Thanks for testing!!