Google Play Services Error

I installed your plugin 1.43 in Visual Studio (Visual Studio tools for Apache Cordova) and I'm getting this error:
Could not find any matches for com.google.android.gms:play-services-maps:11.+ as no versions of com.google.android.gms:play-services-maps are available.
How could I fix this?

Please use the v2.0. The v.1.4.3 will be shutdown soon.

okay, where can I download the zip file? I can only find the documentation

Okay just did, buth the error is staying the same.

Could you show me the error log?

1>MSBUILD : cordova-build error : FAILURE: Build failed with an exception.
1>MSBUILD : cordova-build error : * What went wrong:
1>MSBUILD : cordova-build error : A problem occurred configuring root project 'android'.
1>MSBUILD : cordova-build error : > Could not resolve all dependencies for configuration ':_debugCompile'.
1>MSBUILD : cordova-build error :  > Could not find any matches for com.google.android.gms:play-services-maps:+ as no versions of com.google.android.gms:play-services-maps are available.
1>MSBUILD : cordova-build error :  Searched in the following locations:
1>MSBUILD : cordova-build error :  https://repo1.maven.org/maven2/com/google/android/gms/play-services-maps/maven-metadata.xml
1>MSBUILD : cordova-build error :  https://repo1.maven.org/maven2/com/google/android/gms/play-services-maps/
1>MSBUILD : cordova-build error :  https://jcenter.bintray.com/com/google/android/gms/play-services-maps/maven-metadata.xml
1>MSBUILD : cordova-build error :  https://jcenter.bintray.com/com/google/android/gms/play-services-maps/
1>MSBUILD : cordova-build error :  file:/C:/Program Files (x86)/Android/android-sdk/extras/android/m2repository/com/google/android/gms/play-services-maps/maven-metadata.xml
1>MSBUILD : cordova-build error :  file:/C:/Program Files (x86)/Android/android-sdk/extras/android/m2repository/com/google/android/gms/play-services-maps/
1>MSBUILD : cordova-build error :  Required by:
1>MSBUILD : cordova-build error :  :android:unspecified
1>MSBUILD : cordova-build error :  > Could not find any matches for com.google.android.gms:play-services-location:+ as no versions of com.google.android.gms:play-services-location are available.
1>MSBUILD : cordova-build error :  Searched in the following locations:
1>MSBUILD : cordova-build error :  https://repo1.maven.org/maven2/com/google/android/gms/play-services-location/maven-metadata.xml
1>MSBUILD : cordova-build error :  https://repo1.maven.org/maven2/com/google/android/gms/play-services-location/
1>MSBUILD : cordova-build error :  https://jcenter.bintray.com/com/google/android/gms/play-services-location/maven-metadata.xml
1>MSBUILD : cordova-build error :  https://jcenter.bintray.com/com/google/android/gms/play-services-location/
1>MSBUILD : cordova-build error :  file:/C:/Program Files (x86)/Android/android-sdk/extras/android/m2repository/com/google/android/gms/play-services-location/maven-metadata.xml
1>MSBUILD : cordova-build error :  file:/C:/Program Files (x86)/Android/android-sdk/extras/android/m2repository/com/google/android/gms/play-services-location/
1>MSBUILD : cordova-build error :  Required by:
1>MSBUILD : cordova-build error :  :android:unspecified

Do you use the Android emulator with Google APIs?
https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v1.4.0/TroubleShooting/Blank-Map/README.md#1-do-you-use-android-emulator

I've connected an Android 4.x tablet via to my PC and in Visual Studio I've selected "Device". Can't get an Adroid Emulator running.
Weirdly enough, when I select "Emulate in Browser" no error is thrown. But how do I get in working on my "real" Android devices?

I guess you don't install the Google Play services and the Google Repository in your pc.
https://stackoverflow.com/a/34812919/697856

Unfortunately, I'm not Windows user.
Please find answers by Google.
https://www.google.com/search?q=google+play+services+install+from+command+line+window&rlz=1C5CHFA_enUS717US717&oq=google+play+services+install+from+command+line+window&aqs=chrome..69i57j69i64l3.11767j0j7&sourceid=chrome&ie=UTF-8#tbs=qdr:y&q=google+play+services+install+visual+studio

no more errors, thank you! :)


Add random sampling module

What is the purpose of this PR?
Closes #441. Reopen of a previous PR.

Per Noah's last review:
Nice bite-sized piece!
There are two main types of randomization I see people wanting to do in the near future.
Train a SOM on a dataset that is imbalanced in some way, and correct that imbalance based on image-level labels. For example, 100 images, 20 of them from disease, 80 from healthy. The SOM should be trained on 10 million pixels, 5 million from disease and 5 million from healthy.
Train a spatial LDA model on an imbalanced dataset. For example, 20 images from disease and 80 from healthy. The spatial LAD model should be trained on 20 images from disease and 20 from healthy.
For both cases, the first step will be reading in a pandas array that has the FOV names as one column, and the disease label as a second column. However, for the SOM application we'll want the output to be an additional column in the pandas array specifying an image-specific weighting for how many pixels to subset. For the spatial LDA application we'll want the output to be the specific FOVs which will be included in training the model, since we don't subset.

I've removed anything from som_utils as this branch is getting merged directly into master. After this is merged into master, I'll merge that into new_som and we can add the randomization calls to the SOM stuff then.

Closing this, we ended up not needing this in pixel clustering


Unpack eagerly within packed ops that reshape their outputs

This PR is a quick fix to https://github.com/tensorflow/tfjs/issues/834
Changes

Eagerly unpack outputs of matMul and im2Row so the final reshape occurs on the unpacked tensor
Add a test that catches the issue

BUG

For repository owners only:
Please remember to apply all applicable tags to your pull request.
Tags: FEATURE, BREAKING, BUG, PERF, DEV, DOC, SECURITY
For more info see: https://github.com/tensorflow/tfjs/blob/master/DEVELOPMENT.md

This change is

@caisq We need to figure out a way to unpack lazily so adjacent packed ops don't have to unpack / pack their outputs / inputs unnecessarily. But there are no performance implications for now because only matMul is packed.


Upgrade to MDX 2 for the documentation site

https://mdxjs.com/blog/v2/
Migrating from v1 to v2
https://mdxjs.com/migrating/v2/

Added in https://github.com/trendmicro-frontend/tonic-ui/releases/tag/%40tonic-ui%2Freact-docs%401.10.0


Deletion of table index constraint doesn't work in tenants

Describe the bug
Deletion of table index constraint doesn't work in non-default tenant.
To Reproduce
Steps to reproduce the behavior:

Create tenant.
Create table.
Create index constraint.
Attempt to drop it.
See error:

error: index "table_column_index" does not exist
    at Parser.parseErrorMessage (/opt/saltcorn/node_modules/pg-protocol/src/parser.ts:369:69)
    at Parser.handlePacket (/opt/saltcorn/node_modules/pg-protocol/src/parser.ts:188:21)
    at Parser.parse (/opt/saltcorn/node_modules/pg-protocol/src/parser.ts:103:30)
    at Socket.<anonymous> (/opt/saltcorn/node_modules/pg-protocol/src/index.ts:7:48)
    at Socket.emit (node:events:513:28)
    at Socket.emit (node:domain:489:12)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
    at TCP.callbackTrampoline (node:internal/async_hooks:130:17)

Constraint deleted, index -- not dropped.

Expected behavior
Index and corresponding constraint disappeared. No error message in progress.

No tenant mentioned:
https://github.com/saltcorn/saltcorn/blob/0281ca5f13e582464f02bb63012a86b076bdf185/packages/postgres/postgres.js#L357-L364


missing common/dv folder in commit fb45666b13dcd1ee8e5f88adfe1c0a4cf24d6745

Just a quick reminder to push common/dv/dv_top.v and common/dv/libs.c these files do not appear but are required by elink/dv/build.sh

Thanks! Sorry about that! Just added them (I pass partial blame to all the xilinx crud in my tree)

Thanks for the updated files... When I run any of the simulations they seem to take a long time ie start goes active @ 1.6us, first access dv_top-> dut finishes @1.7us, second @100us, third @63us etc.. previously with the old tests I got multiple packet transfers in .5us .. not sure why the new simulation runs at this slow rate and produces large simulation output files...  Anyway the simulation works so thanks.


Add more image extensions to Common.gitattributes

Add the following extensions and set them to binary:
*.tif and *.tiff for TIFF files
*.eps for EPS files
As a vector graphics format, EPS files are written in text, but are
not really human-parsable, unlike SVG files. For this reason, I have
set them to binary. They certainly do not want to have EOL correction
applied, so they need -text, and I don't think humans will typically
be interested in their diff, so -diff, hence binary will suffice.

Thanks :)


[Feat]: Create Issue forms and make the issue options more visually appealing

Currently, there is no issue template for this repo and no issue form which will help users in contributing.

I will add Issue Forms to the respective issues to make it easier for the contributor to raise it.

Here is an example of how a Bug Issue Form will look like 👇

and issue templates:

I want to work on this issue. Please assign me (GSSoC'24).

i would like to work on this project, please assign this to me


Faster runtime - save as word-memory, and not bit-memory

Add option (flag) to blm.py Reader, such that it will save a word-address dict, instead of a bit-address dict.
Maybe even default behavior. Maybe treat garbage bits as zeros, if they share a word with defined bits?

Done!
Missing least-significant bits in the same word will be zeros.
Garbage words still exists.
Removed default bits and behavior for speed.


window7 npm run fetch:blocks无法下载

卡在半路就不动了，一次报错。一次就到eception/500就停了。

我也发现了这个issue，我的平台是windows 10. 当我切换到Mac OS后，按照文档说明，npm run fetch:blocks 一条命令就搞定了。虽然我可以用mac，但是还是希望windows 平台下的bug得到修复。
非常感谢。

 This error originated either by throwing inside of an async function without a catch block, or by rejecting a
promise which was not handled with .catch(). (rejection id: 1)
(node:26724) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a n
on-zero exit code.
\ �  install dependencies package(node:26724) UnhandledPromiseRejectionWarning: FetchError: request to https://registry.npmjs.org/ failed, reason: Client network socket disconnected bef
ore secure TLS connection was established
at ClientRequest. (C:\Dev\AntDesign\node_modules_node-fetch@2.6.0@node-fetch\lib\index.js:1455:11)
at ClientRequest.emit (events.js:210:5)
at TLSSocket.socketErrorListener (_http_client.js:406:9)
at TLSSocket.emit (events.js:210:5)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
(node:26724) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a
promise which was not handled with .catch(). (rejection id: 2)
\ �  install dependencies packageTerminate batch job (Y/N)?
^C
`


Change command aliases for ShowTrelloBanList

the capitals in the aliases make no sense for them to be there
no PoF needed since im only changing command aliases

shouldn't we avoid removing aliases for backwards compatibility?

Yea, generally we try to not remove aliases unless it's no longer a valid name


Unified control volume of sounds and music (audio manager?)

Currently each AudioClip and Music is controlled on independent basis


Client generators produce int instead of long without OpenAPI integer…

… format hint.

Summary
Explain the goal of this change and what problem it is solving. Format this cleanly so that it may be used for a commit message, as your changes will be squash-merged.
Test Plan
How did you test these changes? Please provide the exact scenarios you tested in as much detail as possible including commands, output and rationale.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Closing this PR, after further discussions with Frank the issue is a bit larger than this small patch and we'd like to find a way to collaborate and address the problem head-on.


OptionalUnit conflicts with explicitApi=strict

Expected Behavior

It should be possible to enable strict explicit API mode without getting conflicts with Detekt rules.
Observed Behavior

The OptionalUnit rule, if activated, considers an explicitly declared Unit return type as an error, and the compilation fails if the return type is implicit.
Steps to Reproduce

Enable both explicitApi = "strict" and OptionalUnit.
Context

Your Environment

Thank you for bringing this up. I believe this rule is much older than the explicitApi mode and as such unaware of this setting. Personally I do not see many options here other than not enabling the rule as it will - by definition - cause your build to fail.
I do not think it is a bad rule but it may not make sense for every project. I guess that is why it is not enabled by default.
Do you have any other suggestions? Please let us know.

We have a large repository, 1M+ LOC, where we want to have consistent style checks (so a single set of Detekt rules), but where it doesn't make sense to enable strict API everywhere. So ideally, the OptionalUnit rule would be aware of explicitApi setting, disabling itself when it is not 'off'. I'm not sure if that's even possible?

Hi @pettermahlen 👋

So ideally, the OptionalUnit rule would be aware of explicitApi setting, disabling itself when it is not 'off'. I'm not sure if that's even possible?

It's possible. The problem is that you'll have to run Detekt with type resolution, and I don't know if this is the case for you (@davidburstromspotify can maybe say?).
Moreover, we're also blocked on this side because of this:

https://github.com/detekt/detekt/issues/4465

The tl;dr is that the compilation flag you specify once you enable explicitApi doesn't get propagate properly to Detekt, so we're effectively compiling your code without that flag.
More on this also here:

https://github.com/detekt/detekt/issues/3874

So yeah, it's doable, but it will take a couple of releases for this to even get implemented and reach the public.
For the timebeing, you should resort to locally suppressing inspections, or defining an exclude in the config that will exclude an entire folder (which I believe is where your library lives or so).

Thanks for the response, for the time being, we've disabled the OptionalUnit rule, so no problem for us. :) It's not the most important rule and off by default, so it seemed like an easy way out.

Hi! No, we're not running Detekt with type resolution at this point.

Hi! No, we're not running Detekt with type resolution at this point.

Gotcha. So this rules out any access to the compiler flags

I think we should close this as this is essentially a transient issue. Will be fixed by https://github.com/detekt/detekt/issues/4465
Moreover, this capability will rely on having Type Resolution enabled.

I'm reopening as I'm working through PRs to address #4465. The PRs are only about setting the compiler flags. Some rules (like OptionalUnit) will need updating with new logic to take advantage of the correct values being passed through, which I'm not addressing in those PRs.
The PR to set & pass through explicit API is not done yet but will be soon, I'll link it here once open.

Support for this is being added in https://github.com/detekt/detekt/pull/7418, but the rule needs to be updated to take advantage of this.
Use one of the following:
compilerResources?.languageVersionSettings?.explicitApiEnabled
compilerResources?.languageVersionSettings?.getFlag(AnalysisFlags.explicitApiMode)

The first is suitable if the rule only cares if explicit API mode is in strict mode or not. The second can be used to get the specific value that's been set (strict, warning or disabled).

Support for this is being added in #7418, but the rule needs to be updated to take advantage of this.

@3flex can we close this as #7418 is merged?

No, #7430 has the fix.


Automated Package Upgrade

:tada: This PR is included in version 2.2.115 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


TypeScript: can't import components individually

When I try to import an individual component, for example
import { Icon } from 'semantic-ui-react/dist/commonjs/elements/Icon';

I get a runtime error:
Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Check the render method of `Component`.

For some reason Icon is undefined. I added a PR which includes a test for this scenario: #1181.

I've investigated this issue, problem is quite simple.

When you write this in TS, it's correct because typings doesn't have default export.
import { Icon } from 'semantic-ui-react/dist/commonjs/elements/Icon';
import { IconGroup } from 'semantic-ui-react/dist/commonjs/elements/Icon';

However, when it's transpiled in JS, it's incorrect, Icon/index.js has only default export, so we need to write this:
import Icon from 'semantic-ui-react/dist/commonjs/elements/Icon';
import IconGroup from 'semantic-ui-react/dist/commonjs/elements/Icon/IconGroup';

But, it will not work with TS, because typings says another :thinking: So, we need update typings as:
-export const Icon: IconComponent;
+export default IconComponent;
// ...
-export const IconGroup: React.StatelessComponent<IconGroupProps>;
+const IconGroup: React.StatelessComponent<IconGroupProps>;

But, I'm not sure that this will work after these updates:
import { Icon, IconGroup } from 'semantic-ui-react'

Ah now I can see the problem, thanks @layershifter. It seems that the index.d.ts typings files in src/*/* are not actually reflecting the corresponding index.js files. Take the Icon for example:
src/elements/Icon/Icon.js:
...
export default Icon

src/elements/Icon/index.js:
export default from './Icon'

but
src/elements/Icon/index.d.ts:
...
export const Icon: IconComponent;
...
export const IconGroup: React.StatelessComponent<IconGroupProps>;

There are two issues here:

index.d.ts doesn't specify a default export but index.js does (the Icon class)
index.d.ts exports IconGroup, but index.js doesn't (it only exports the default export)

There are a couple of ways to solve this:

change the typings to reflect the reality:
src/elements/Icon/index.d.ts:

...
export default IconComponent;
...
// export const IconGroup: React.StatelessComponent<IconGroupProps>;

change the reality to reflect the typings:

src/elements/Icon/index.js:
export { default as Icon} from './Icon'
export { default as IconGroup } from './IconGroup'

I'd vote for option 1., since option 2. isn't backwards compatible.

After some testing, in Icon's case for example, the typings would need to be changed as follows:
// src/elements/Icon/index.d.ts
declare const Icon: IconComponent;
export default Icon;

and
// index.d.ts
...
export { default as Icon } from './dist/commonjs/elements/Icon';
...

Note the addition of declare. Also, it won't work if the interface is exported directly.
With this both of these work:
import { Icon } from 'semantic-ui-react'

import Icon from 'semantic-ui-react/dist/commonjs/elements/Icon';

Adding a reference to #1181

@dennari your final solution proposed above https://github.com/Semantic-Org/Semantic-UI-React/issues/1182#issuecomment-274286991 seems correct to me.  In this case, there are separate files for Icon and IconGroup, true?

Would you like to add this work to your PR for testing typings, https://github.com/Semantic-Org/Semantic-UI-React/pull/1181?

@levithomason , the most complete solution would involve having a separate typings file for IconGroup as well yes. However I'm not sure if there's a need to export IconGroup separately as it's included as a subcomponent in Icon anyway.
Yes, I'll modify #1181 to reflect this issue once we have agreed exactly what we want to export.

it's included as a subcomponent in Icon anyway.

This is true, although, we export all subcomponents at the top level for those who do not want to (or cannot) use the static property notation, see #554.
I'm fine with it either way in this case.  Thanks for the update as well.

Here are some thoughts that I have.
Imports
We need to change typings structure to correspond JS-files:
Icon.js
Icon.d.ts
IconGroup.js
IconGroup.d.ts
index.js
index.d.ts

It is reasonable, simple and will solve all problems with imports.
Testing
I think with need to add a new conformance test isTSConformant, it will check that:

there is a defintion file for component;
a definition file has default export;
definition file has an interface ${Component}Props that defines all propTypes.

In last test, we will need to use the AST tree formed by typescript compiler. Test's code can be written in JS, so we can use karma to run it.

This is more inline with the direction I was thinking.
The only thought I would add here is that we should consider generating typings completely.  It may take quite a bit of work, however, we are investing a large amount of work into constant maintenance as well.  I'm beginning to wonder if the work for long term TS maintenance outweighs the work required to create a successful TS interface generator.

@levithomason It's interesting idea, but I think it will be difficult to implement 🔨  However, you and I agree with the changes of typings structure.

[ ] Change typings structure to correspond JS-files
[ ] Add common tests for typings

I will be glad to see a PR to change the typings structure.

Structure updated in the merge of #1395.  It would be superb if @dennari could also try that out before shipping it live.

#1395 was merged.

Released in<EMAIL_ADDRESS>


Evaluate lists and refactor for use in sway-fmt-v2

This will be pretty handy and will affect things like Attribute and ItemUse

Might be a good idea to add a list: List field to Shape


Started site using jekyll with minima theme

Started site using jekyll with minima theme

Awesome! :metal:


how to get frame advantage

Hello, I'm a student who wants to study programming with Tekken 7 before Tekken 8 comes out. I had a question about frame advantage before, but I didn't understand it well, so I want to ask again. I'm curious about what memory values to calculate to get the frame advantage value. I was so curious that I tried to find a way, but I can't find a way with my knowledge and skills. Please give me an answer.

To calculate the frame advantage value, you need to perform mathematical operations on different memory values, but I'm not sure which memory values to add, multiply, or divide. Can you give me a hint or tell me how to figure out which values to use?

frameAdvantage = (defender.totalFramesInAnimation - defender.currentFrameInAnimation) - (attacker.totalFramesInAnimation - attacker.currentFrameInAnimation)


Concourse re-triggers PR e2es when PR is accepted.

It shouldn't.

We have removed approved_review_count from the version returned by the resource: https://github.com/eirini-forks/github-pr-resource/commit/6b5b9d54a26a8d87888540616d8d46507f52151a


[Feature]: Developers can get a valid Authorization header via cf oauth-token

Background
As a developer
I want to get an valid Authorization header
So that I can easily make authenticated requests to the API
Acceptance Criteria
GIVEN I am logged in
WHEN I run curl -H "Authorization: $(cf oauth-token)" <cf-shim-url>/v3/apps
THEN I get a 200 OK response

Some considerations on this:

I don't think there's an easy way to extract the token being sent from the Kubernetes libraries we use to wrap our HTTP requests: the most straightforward way of doing this is probably to leverage /whoami to return the username.
Another way to solve the same problem for users is to support more curl flags in cf curl. Looking at cf-acceptance-tests, the flags that would need be added are:

-s and -v: respectively "silent" and "verbose" mode, could possibly be silently (ha) ignored?

-F/--form: "lets curl emulate a filled-in form in which a user has pressed the submit button", mostly used for file uploads.  From man curl:

This enables uploading of binary files etc. To force the 'content' part to be a file, prefix the file name with an @ sign. To just get the content part from a file, prefix the file name with the symbol <. The difference between @ and < is then that @ makes a file get attached in the post as a file upload, while the < makes a text field and just get the contents for that text field from a file.

This sounds a bit complicated but not impossible, and would lead to a nicer experience in my opinion, although less flexible. CATs only use the @ syntax.


Providing support for streaming dataset results

Hi there,
I'd like to expose an interface on the java side to access the executeStream method on Datasets, which would let results be streamed as RecordBatches without having to materialise all of the data in memory. Before doing so, I just have a couple of questions:

Is this library still active? The last commit at the time of writing is from Sep 2022, so I'd like to make sure that any work we contribute would be reviewed/merged
Is there any appetite for this change to be merged?
Thanks!

Hello! I'm also interested in implementing datafusion-based module for the Scala library I'm developing right now https://github.com/grouzen/zio-apache-arrow. I'll be happy to help with this issue as well as updating the arrow dependency to the latest version but need to know if the PRs will be merged. Thanks!

Hi @adamreeve! I'm glad to hear that. I'll switch to your fork until we get the original authors' response.

Hi @Jimexist, you said in #69 that anyone is welcome to create PRs, but given nobody replied to this issue where Noah offereded to contribute this feature it seemed unlikely that a PR would be reviewed. As well as adding this executeStream method, we've made quite a few other changes in our fork including upgrading dependencies, adding tests, exposing configuration options and adding support for listing tables. Would someone be open to reviewing PRs for getting any of these changes merged?

given nobody replied to this issue where Noah offereded to contribute this feature it seemed unlikely that a PR would be reviewed.

I am happy to review such PR, just that didn't get notified about this issue somehow

Okay thanks, as a starting point I've made PR #73 to add some basic unit tests, as I think it's important to have a testing framework in place before adding more features.


Use HTTPS Git URL for releases

Use Git HTTPS instead of SSH.  This is required for automating the release process with Travis.
Requires a <server> element in .m2/settings.xml with <id>github</id> to perform the mvn release.

Codecov Report

Merging #777 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #777      +/-   ##
============================================
- Coverage     99.43%   99.43%   -0.01%
  Complexity     1916     1916
============================================
  Files           288      288
  Lines          5699     5697       -2
  Branches        289      289
============================================
- Hits           5667     5665       -2
  Misses            5        5
  Partials         27       27

Impacted Files
Coverage Δ
Complexity Δ

...uorum/tessera/data/migration/JdbcDataExporter.java
100% <0%> (ø)
4% <0%> (ø)
:arrow_down:

...rum/tessera/data/migration/SqliteDataExporter.java
100% <0%> (ø)
4% <0%> (ø)
: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 2555ec1...75a8e99. Read the comment docs.

https://github.com/jpmorganchase/tessera/issues/738


Allow SwiftHTTP to be used within an app extension

Currently if one links to the SwiftHTTP framework from an app extension, the compiler gives warning: linking against dylib not safe for use in application extensions.
The App Extension Programming Guide > Using an Embedded Framework to Share Code doc mentions that the framework can be built with the APPLICATION_EXTENSION_API_ONLY  project setting enabled to avoid this (though it is unclear if the current config would result in App Store rejection). The 2 framework and paired test targets (once one creates an OS X test scheme) build successfully when the project setting is enabled, so it would appear as though the framework does not use any verboten API.

:+1: Nice write up. Thanks!


Use checks run API for github integration

Codecov Report

Merging #486 (d14843c) into main (e146b38) will increase coverage by 0.07%.
The diff coverage is 91.66%.

:exclamation: Current head d14843c differs from pull request most recent head e160972. Consider uploading reports for the commit e160972 to get more accurate results

@@            Coverage Diff             @@
##             main     #486      +/-   ##
==========================================
+ Coverage   95.05%   95.12%   +0.07%
==========================================
  Files          78       78
  Lines        6953     6954       +1
==========================================
+ Hits         6609     6615       +6
+ Misses        260      257       -3
+ Partials       84       82       -2

Impacted Files
Coverage Δ

internal/reporter/github.go
88.88% <91.30%> (+1.01%)
:arrow_up:

cmd/pint/ci.go
89.93% <100.00%> (+2.65%)
:arrow_up:

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


MKB_PvE_!Backups_Perks does not appear when filtering for Perks

Describe the bug
On the website, MKB_PvE_!Backups_Perks does not appear when the following filter is applied: include "3rd and 4th Column Perks."
To Reproduce
Steps to reproduce the behavior:

Go to the wishlist splitter website.
Click on "Mouse and Keyboard" once, "PVP" twice, "No Backup Rolls" once, and "3rd and 4th Column Perks" once.
In the resulting list, observe that the entry for MKB_PvE_!Backups_Perks is not present.

Expected behavior
The entry for MKB_PvE_!Backups_Perks will be displayed in the list.
Screenshots

Desktop (please complete the following information):

OS: Windows 11
Browser: chrome
Version: e617820

Additional context
Notably, the Dupes version of the wishlist (MKB_PvE_!Backups_Perks_Dupes) is displayed when the mentioned filters are applied.

Thank you, I had a typo of "perk" instead of "perks" for that roll's tag. Should be fixed with next push.


Using time stamp with RunPostCrab?

Dear all,
Shall we consider the possibility to add a time stamp (in addition to the tag related to the code version) when running runPostCrab to distinguish two prods made with the same code version? It seems that at the moment it is not possible (is it?).
EDIT:
Actually I think there is a bug. If you run twice with the same version of the code, then the db indicates something strange. Example with a first run on Dec 8th, then a second today (11). As you can see, the first line of the entry is well updated, but the repository is not. It still points to the one created on Dec 8th.
Sample #791 (created on 2015-12-11 21:58:43 by simon):
name: DoubleMuon_Run2015D-PromptReco-v4_2015-10-20_v1.1.0+7415-11-g330707b_ZAAnalysis_1694c06
path: /storage/data/cms/store/user/sdevissc/DoubleMuon/DoubleMuon_Run2015D-PromptReco-v4_2015-10-20/151208_213421/0000

I'm not sure to understand the issue here. What's the point to redo a production with the same code version? You'll just duplicate what you already done, no?
Currently, if you run the post-crab script for a sample which already is in the database (this mean that the sample name is already in the database), the sample is updated, otherwise a new one is added. By updated, I mean only the variables here [1] are updated, and the path is not one of them, since it was designed to handle update of an existing task, and not a completely new task with the same name. Moreover, the path is deprecated in favor for the list of files, which is correctly updated.
I'm also a bit surprised to see that the creation timestamp is updated, only the modified timestamp should change. I'll look at it when I have time.
To summarize, if you relaunch a production with the exact same code, you really should delete the previous one from the database to avoid any issues. But indeed, we'll run into issues when launching the same code but with different python configuration (like systematics for example), so we'll need to make the name unique in this case. Maybe it's your case? Adding an hash of the python configuration to the sample name may be enough to solve the issue?
Also, just for information, it's not really an issue for the database to have samples with the same name, as samples are uniquely identified by their ids, and not by their name. It's however an issue for the post-crab script, since you only have access to the sample name. The timestamp is also already included in the database in the created and modified fields, so adding it into the name is not really needed.
[1] https://github.com/cp3-llbb/GridIn/blob/master/scripts/runPostCrab.py#L145-L167

Well in my case, this is something stupid: I did the changes to use the full lumi, and for some reason these changes were not ported to the crab config files (which I don't get, but perhaps a mistake from my side). Anyway, I wanted to run a second time with these changes taken into account, then I discovered the "issue" I mentioned.
But ok I understand that I didn't manage my entries in the best way, I'll try to simply delete the wrong entries and recreate them with the correct prod.
Thanks
S.

Btw, is there some indication how to delete entries in the db?

Ok I see.
Thinking a bit about this, I don't even think we have an easy way to remove sample for the database except doing raw SQL queries...

hmm, ok. Then perhaps for the time being I'll just hack the samples.json to indicate the correct addresses of the new prods, that's dirty but for now that is ok.

We solved the issue "offline" with Simon, but we should really provide a script to delete samples from the database. Closing this issue and opening a new one.


Feature: Left justify a string with pad string.

See str.ljust in Python or String#ljust in Ruby.

New api: LeftJustify.


Prompt with @input behaves differently when @input has no spaces in the string

Describe the bug
This example from the doc is working:
#!set --name url --value @input:"Please enter a URL"

Which gives a prompt Please enter a URL.

But if there is no space in the input, the prompt changes.
#!set --name url --value @input:"Please-enter-a-URL"

Which gives a prompt Please enter a value for field "Please-enter-a-URL"..
But it should give the prompt Please-enter-a-URL.

Same goes with a one word input such as "Age".
#!set --name url --value @input:"Age"

I think the intended behavior of @input is to specify the prompt, rather than having a wording about a field.
So in all cases, the prompt should be the content specified in @input.
Notes
Maybe there is a confusion with @input:input-please (notice the absence of double quotes), as seen in VariableSharingTests.SetMagicCommand.cs:
#!set --name newVar3 --value @input:input-please

This is an undocumented use of @input.
The behavior seems to be the same with @input:input-please (without double quotes) and @input:"input-please" (with double quotes): it asks for a field instead of using the text in place of the prompt.
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
Version: 1.0.456201+e5dc02dbdc933d895d722e69bfa98d580dcda8d9

OS

[ ] Windows 11
[x] Windows 10
[ ] macOS
[ ] Linux (Please specify distro)
[ ] iOS
[ ] Android

Browser

[ ] Chrome
[ ] Edge
[ ] Firefox
[ ] Safari

Frontend

[ ] Jupyter Notebook
[ ] Jupyter Lab
[ ] nteract
[x] Visual Studio Code
[ ] Visual Studio Code Insiders
[ ] Visual Studio
[ ] Other (please specify)

The current logic is that if there's no other option in the magic command to indicate a field name (e.g. the --name option for the #!set command), and the prompt is usable as a field name (e.g. has no spaces), then the field name is inferred from the prompt.
I'm fixing some of the quote behavior inconsistencies as part of the PR for #3323.

Under the new magic command parser, this syntax will always be treated as the input prompt. The concept of an input name is no longer present, as it's now always inferred from the associated parameter.


Cleanup phase is not executed when running with --parallelism flag

Run at least two benchmarks in parallel (using --parallelism flag). Interrupt the execution with Ctrl + C. Cleanup phase is not triggered at all.

Skyler - Can you look into this?

Off the bat, I'd suspect that the KeyboardInterrupt is being caught by the main thread's RunThreaded that it uses to launch all the other threads that run benchmarks, whereas when running single-threaded it would be caught by the more general exception handler that makes sure Cleanup is executed if there's any exception during a benchmark's execution. This has probably been the behavior for a long time. Solution would probably be to add functionality to RunThreaded to handle KeyboardInterrupt. I'll look into it later this week.

Ideally, we'd want Ctrl + C to trigger the cleanup behavior in benchmarks and to stop scheduling new benchmarks, so I considered if it was possible to get the main thread to have the benchmark threads raise a KeyboardInterrupt. There does exist an API PyThreadState_SetAsyncExc that could do this, but it looks like it can have unpredictable side effects depending on what the worker thread is doing. Alternatively, we could switch the call of RunThreaded into a RunParallelProcesses. That currently uses a ProcessPoolExecutor, which also reportedly has problems with interrupt signal handling, but there does exist a way to launch worker processes and control interrupt signals: http://noswap.com/blog/python-multiprocessing-keyboardinterrupt.
I would like if someone more experienced in Python weighed in on this one. I don't think there's a convenient model for redesigning the benchmarks themselves to poll for problems, and between the thread-based injected exception solution and process-based signal solution, I'm inclined toward a process approach with a modified RunParallelProcesses.

@skschneider  @mateusz-blaszkowski What is the next step here?  This is marked as a P0 bug so I'd like to either downgrade because its not important or work on a fix.
Thanks!

Spoke with cmccoy. We're agreed that replacing the call to RunThreaded with RunParallelProcesses and then enhancing RunParallelProcesses is a good way to go. I'll work on that PR.

Working on this now and almost done with implementation but need some more time for testing everything and then iterating with reviews. May not make it into the current release but will definitely be in by the release after that.

The current plan has changed to removing the --parallelism flag. Discussions welcome on issue #616.

--parallelism flag has been removed.


negetave items on disk and possibly exporter holding items with stack upgrade

Issue description:  http://imgur.com/YdF27b7 and for the setup http://imgur.com/a7oHsq6
What happens: negative items in refined storage system
What you expected to happen: not to be negative  items
Steps to reproduce:

unknown
2.most likely inventory related maybe
3.exporter holding items with stack upgrade
...

Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Forge: .2086
Refined Storage:1.0
modpack: allthemods

Does this issue occur on a server? [yes/no]
yes
If a (crash)log is relevant for this issue, link it here:
[pastebin/gist/etc link here]

what happens if you break+replace the controller?

its the disk when i remove the disks and put them back in the negative items go away  but breaking the controller wont do very much

Could there possibly be negative items? I know I have seen negative amounts of items in Minecraft 1.10 I believe. I have not looked far into the code, but based on the way you count a number of items, I would think that negative items might cause a negative amount in the drive...


Navbar always open on mobile devices

To show all navigation items which belong to one category, I use the "show" class for the active menu.
Now, on mobile devices, the menu always opens. Is there a possibility to change the behaviour?

I'm having this same issue as well.
On browser, when the window is reduced, it automatically collapses the sidenav bar to the small navbar. When the window is made smaller, mobile size, it automatically hides the side navbar.
Upon refreshing the page whilst on the mobile view, it pops open the side navbar again.
Can this behaviour be changed, as per patrick7 request, to have the sidenavbar collapsed on mobile devices?

You can change it by adding the .toggled class to the sidebar. But your sidebar will be minimized also for desktop.

Use
`

`
and add show-initial to the menu which should be opened by default.

The toggled class is handled via media queries at the moment I believe. We'll be moving to how we handle the menu in SB Admin soon, so I'll be closing this for now since it will no longer be relevant in the upcoming build.


Upgrade ember-one-way-controls for Ember 3 support

This is required to avoid an error in Ember 3 when using textareas: https://github.com/DockYard/ember-one-way-controls/issues/185.
Also includes the commits from https://github.com/martndemus/ember-form-for/pull/201

We should probably get tests working before merging this. See #201

It may be the other way around. I think this is required in order to get the tests working :D

Ah, you're right.  The test failures here look like actual failures, probably related to the upgrade.  I'll have to take a closer look

@danwenzel many of the actual failures have been fixed in #201, so don't look too carefully. I'm going to try to merge this PR in to #201 to see if it fixes the last failure.

Nevermind, #201 is actually good to go.
I think I was all confused because I was trying to run it with a newer ember-try configuration (that required beta and canary to pass). The actual configuration allows beta and canary to fail. They still do, and I believe this change will make them pass.
My thought is that #201 should be merged first, and if you rebase on #201, the failures in 3.0 should end up resolved (I hope).

@amiel - I merged in your branch, and that fixed all the test failures I was seeing - and Ember 3 is now working too.
@martndemus @lcpriest - So we could either merge these separately, or merge this one - which includes both.

@danwenzel I'm glad to hear it.

@martndemus @lcpriest @amiel - Anyone up for merging and releasing this?

Whoops, meant to tag @musaffa

cc @marxsk (this one is needed for the addon to work with Ember 3)

@danwenzel I'm aware of importance of this PR but it contains too much different commits. I will start with amiel's PR that you use as well.

Yup, totally understandable.  Sounds like a good plan to me

In fact, I'll open a separate, cleaner PR...

Closing, in favor of https://github.com/martndemus/ember-form-for/pull/204


Issue 219

Added provisional mailer to send notice to selector and assistant only. Approved orders still go to selector, admin & assistant.

This looks great. Can you remove the save action on line 52 and submit another commit? I'll merge when that's complete.


jQuery 'tooltip' confusion

I'm confused  (on a low level ...)!
when trying to apply the attached 'tooltip' jQuery sample in Orchard 1.10.2
the tooltip appears BUT, after 5s, it disappears automatically. I'd like to have it as long as 'mouseover'.
In a 'HTML Layout' I use (Orchard 1.10.2)
Questions:

I would have thought to set different parameters in the appropriate 'alternate view'!?
where do I see which parameters/variables  are used?
which .js library is really used? jQuery/bootstrap/ both!
PS: In 'Orchard.Resources' I read "Depreciated in 1.10 for e.g. jQueryUI !?! .............

I know I probably need a crash course ...
Thanks for your time and help, ed

sorry , messed the ticket itself up!


CTRL + SPACE -> brings up hotkey search query. Possible to disable?

Unsure if using "ctrl + space" for hotkey search is able to be changed to another set of keys or disabled.

Can be annoying when using website software that uses those keys like FXreplay since it will interrupt action constantly.
Probably unhelpful if there is already a way to disable but I couldn't find anything searching through settings.
Would be nice to have an obvious page where can change browser hotkeys to avoid certain conflicts.

You can disable it on the chrome flags page. Enter the followng url in the address bar: chrome://flags/#quick-commands . Set the highlighted option to disabled and restart your browser.

Nothing is highlighted on my end. There's no such flag. I'm on
The fastest browser on Earth.
Thorium 121.0.6167.204 stable, built on Linux

@glyh @Aedon  This flag was indeed present in M121 and M122.
However, the quick commands UI was completely removed in M123, so now it won't do this anymore.


Initialising ZIO runtime freezes the language server

Language engines freezes during initialisation on Initializing ZIO runtime.... This blocks any connections from success: json, binary or even call for idle time curl http://runtime:30001/_idle.
This regression block cloud from starting and using new projects
discord thread https://discord.com/channels/401396655599124480/1087703965648560248
logs file:
message (3).txt

Fixed in #6069


jenkins service: Add extraJavaOptions.

Motivation for this change
This is useful for the common case of passing arguments to the JVM that runs Jenkins.
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.
[X] Tested that Jenkins still works

Thanks!


How to debug a .Net for iOS app.

Type of issue
Missing information
Description
[Enter feedback here]
Hi,
There is not a chapter to debug an .Net for iOS app with the VSC debugger.
Jérôme.
Page URL
https://learn.microsoft.com/en-us/dotnet/maui/ios/cli?view=net-maui-8.0
Content source URL
https://github.com/dotnet/docs-maui/blob/main/docs/ios/cli.md
Document Version Independent Id
da0a1dce-0ab0-7d18-8dc9-e37854995ace
Article author
@davidbritch
Metadata

ID: da0a1dce-0ab0-7d18-8dc9-e37854995ace
Service: dotnet-mobile
Sub-service: dotnet-maui

Hi @jbouche-work
I might be missing the point here - what is it you need to know? It's no different to debugging any other app?

Hi @jbouche-work
I might be missing the point here - what is it you need to know? It's no different to debugging any other app?

Hello, I found the solution in the meantime :).
Maybe mention which plugins are necessary under VSC to debug .Net for iOS?

@jbouche-work  Is this a .NET MAUI app that uses .NET for iOS, or a 100% .NET for iOS app?

@jbouche-work Is this a .NET MAUI app that uses .NET for iOS, or a 100% .NET for iOS app?

This a 100% .Net for iOS app (I've also a .Net for Android app).
I just migrated it from Xamarin Native :).

So I'm afraid I'll be closing this issue. The docs are for .NET MAUI, not for .NET for iOS. While the docs do mention .NET for iOS, it's more in the context of using it inside .NET MAUI.
There aren't any docs for .NET for iOS at all.

Where can I open an issue to have docs for .NET for iOS ? ;)

Good question - there is a repo for them but it's private. The best place for it is https://github.com/xamarin/xamarin-macios
There's a plan to publish some to learn.microsoft.com/dotnet/ios (just as there's already some Android docs at learn.microsoft.com/dotnet/android), but whether it'll happen is anybody's guess.


Add support for embedding the server

What is the motivation?
See https://discord.com/channels/902568124350599239/1014970959461105664/1044110778527141948 and the ensuing discussion.
What does this change do?
It adds support for embedding the server in the client itself. This makes switching between embedded and remote instances easy.
What is your testing strategy?

Added a test suite for the embedded database.
Ran cargo hack check --feature-powerset --skip indxdb --no-dev-deps to make sure every combination of features builds fine. indxdb only works on WASM.

Is this related to any issues?
No

Great job @rushmorem 💯
I tried to build the client from your branch but getting cylic dependency error.  Cycle:
package `getrandom v0.2.8`
    ... which satisfies dependency `getrandom = "^0.2.3"` of package `ahash v0.7.6`
    ... which satisfies dependency `ahash = "^0.7.0"` of package `hashbrown v0.12.3`
    ... which satisfies dependency `hashbrown = "^0.12"` of package `indexmap v1.9.2`
    ... which satisfies dependency `indexmap = "^1.5.2"` of package `serde_json v1.0.89`
    ... which satisfies dependency `serde_json = "^1.0"` of package `wasm-bindgen v0.2.83`
    ... which satisfies dependency `wasm-bindgen = "^0.2.83"` of package `js-sys v0.3.60`
    ... which satisfies dependency `js-sys = "^0.3"` of package `getrandom v0.2.8`
    ... which satisfies dependency `getrandom = "^0.2"` of package `rand_core v0.6.4`
    ... which satisfies dependency `rand_core = "^0.6"` of package `crypto-common v0.1.6`
    ... which satisfies dependency `crypto-common = "^0.1.4"` of package `aead v0.5.1`

The packages
surrealdb = "1.0.0-beta.8"
surrealdb-rs = { git = "https://github.com/rushmorem/surrealdb.rs", branch = "embedded-db" }

Thanks @Oyelowo. I haven't run into this. Can you try
surrealdb = { git = "https://github.com/rushmorem/surrealdb", branch = "suppress-warnings" }

instead of surrealdb = "1.0.0-beta.8"? Currently this library uses that fork instead of the crates.io package so cargo treats them as different packages since they are from different sources.

Awesome! @rushmorem
Both now work! i.e the main and your fork
Thanks for the quick fix! 👍

Awesome! @rushmorem
Both now work! i.e the main and your fork Thanks for the quick fix! +1

I'm glad to hear that but that rebase was just to update the fork against main.

@rushmorem  Running into the same issue again 🤔

@rushmorem Running into the same issue again thinking

I'm sorry to hear that @Oyelowo. Are you able to post your Cargo.toml and Cargo.lock?

No worries @rushmorem.
I have attached both files. Had to use .txt to make it work with GitHub.
Cargo.lock.txt
Cargo.toml.txt

@Oyelowo This should be fixed now. surrealdb/kv-indxdb is no longer enabled by default on WASM.

This works now! Thanks for taking care of it 💯

@rushmorem This works now! Thanks for taking care of it 100

Awesome! Glad to hear that.

Hi there!
I tried running your query with an in-memory database, but I'm getting an error. It looks like the query is returning a hashMap instead of a vector. Is this expected behavior? Here is my code for reference:
let users: Vec<User> = db.select("user").await?;
use serde::Deserialize;
use surrealdb_rs::storage::Mem;
use surrealdb_rs::Surreal;

#[derive(Debug, Deserialize)]
#[allow(dead_code)]
struct User {
	id: String,
	name: String,
	company: String,
}

#[tokio::main]
async fn main() -> surrealdb_rs::Result<()> {
	tracing_subscriber::fmt::init();

	let db = Surreal::connect::<Mem>(()).await?;

	db.use_ns("namespace").use_db("database").await?;

	#[rustfmt::skip]
    let results = db
        .query("
            CREATE user
            SET name = $name,
                company = $company
        ")
        .bind("name", "John Doe")
        .bind("company", "ACME Corporation")
        .await?;

	// print the created user:
	let user: Option<User> = results.get(0, 0)?;
	tracing::info!("{user:?}");

	// print all users:
	let users: Vec<User> = db.select("user").await?; // The line with the issue
	tracing::info!("{users:?}");

	Ok(())
}

The error I get is:
Error: Error { kind: Deserialization, message: "invalid type: map, expected a sequence" }

Let me know if you need more information or if there's anything I can do to help. Thanks!

Error { kind: Deserialization, message: "invalid type: map, expected a sequence" }

Fixed. Thank you for the detailed report and for testing this PR.

Error { kind: Deserialization, message: "invalid type: map, expected a sequence" }

Fixed. Thank you for the detailed report and for testing this PR.

@rushmorem  Wonderful! Works now! Thanks for taking care of it, you're doing a great job 💯

@rushmorem Wonderful! Works now! Thanks for taking care of it, you're doing a great job 100

Thank you.

Was hoping to use embedded server with surrealdb.rs. Curious if there were any reason for closing it. Are there plans to support this in the near future?

https://github.com/surrealdb/surrealdb/pull/1514
@prabirshrestha Maybe you need

Awesome. That is even better.


[PIDMR-65] Set Default pidMode to Landing Page

This Pull Request sets the default pidMode to "landingpage". This change ensures that when a client resolves a PID , the API will return the landing page associated with that PID by default.

+1


Need a ease approach to share data between flask and html code.

###Need a ease approach to share data between flask and html code.

I m facing problems with data sharing. I will be thankful to anyone who will guide me a way-out from this porblem.

This is not the right place for support questions. Use Discussions, Discord or IRC.


Support for --nbmake-by-cell

Simple tests added, all tests pass.
(Note: I could simplify the format even more to require every cell in a unique test (instead of using section headings) if you like, but then what is an optional initialization cell isn't as clear - it would have to be marked somehow. Plus this forces test writers to insert a heading with a meaningful name.)

Great comments, will resolve all

Sorry for the delay, I've done without the library for now - too busy with the other things the project requires - contemplating whether to cook something custom instead of using the open source project.  I may come back with the fixes and push this through.

Hi!  We ended up doing something else, and I think it never really caught on.
(People got used to writing unit tests in regular Python files instead of notebooks. /shrug)
I still think it's a powerful idea, but I have no direct use for it today, so I'll cancel this now.


Replacing custom hashmap MetaMethodIndex with standard maps

This replaces the old custom hashmap variant in MetaMethodIndex with standard maps. Problem though is that this change is a breaking change. MetaMethodIndex itself looks very different now, but is not likely used. There is one protected method in MetaClassImpl which is also used for example by ExpandoMetaClass, which I consider slightly more as problem. Also I think the refactoring needs input on how to improve further

LGTM 🙂

The changes in MetaClassImpl look fine.  MetaMethodIndex does not even load it is so different.
Why are the methods deprecated in MetaMethod and ParameterTypes?  Are they not useful for other purposes?
Besides replacing with standard types, does this improve performance or memory usage or some other characteristic?

Why are the methods deprecated in MetaMethod and ParameterTypes? Are they not useful for other purposes?

There are two cases, both of them are unused.
First there is the ParameterTypes constructor, which loads types based on String. This is something we have to be extra careful with, because  this works only if the correct class loader is used. Which means there is only a limited use for this method in specific cases and in general we cannot use it. IMHO it makes no sense to keep this around.
Next is the MetaMethod:
   public void checkParameters(Class[] arguments) {
     // let's check that the argument types are valid
     if (!isValidMethod(arguments)) {
         throw new IllegalArgumentException(
                 "Parameters to method: "
                 + getName()
                 + " do not match types: "
                 + FormatHelper.toString(getParameterTypes())
                 + " for arguments: "
                 + FormatHelper.toString(arguments));
     }
 }

for our runtime this method has no  use. We have isValidMethod instead, which is also used in this case. The method is just a wrapper around that for error reporting. This could be useful in theory, but I don't see why we should keep it. I mean what is the scenario for it?

Besides replacing with standard types, does this improve performance or memory usage or some other characteristic?

It should be a bit more threadsafe since I use the concurrent hashmap. But I think in department we will have to do quite a bit more work. Otherwise the goal was no improving performance or memory usage but maintainability. It is now much more clear what this structure is compared to before.

Merged. Thanks.


Add automatic ports

Once #74 is ready, this becomes a little clearer. Automatic Ports then become a subtype of Ports.

Network will need to be updated to support the creation of connections with automatic ports, probably with some kind of notation to indicate that a port is automatic

The asterisk notation should be OK...?   E.g.
network.connect(Writer, '*', Reader, '*', 5);
or
network.sconnect('Writer.*', 'Reader.*', 5);
Or have you taken care of that already?

I like that.
I haven't done it yet, since this isn't strictly specified somewhere. However, I don't see that as a reason not to proceed. If folks push to go in another direction (why would then?), the code can be modified accordingly

Sounds great!  Thanks!
On Wed, Jun 8, 2016 at 2:07 PM, Dan Rumney<EMAIL_ADDRESS>wrote:

I like that.
I haven't done it yet, since this isn't strictly specified somewhere.
However, I don't see that as a reason not to proceed. If folks push to go
in another direction (why would then?), the code can be modified accordingly
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jpaulm/jsfbp/issues/75#issuecomment-224678322, or mute
the thread
https://github.com/notifications/unsubscribe/AATGJzGN5Rl3NnRM-GU02nqR-InhSuxOks5qJwT0gaJpZM4IwbRo
.


Anything LLM

Is it possible to integrate with Anything LLM?

Yes this would be a definite plus for programmable agents indeed.


Back cover not working

Hi team,
Not sure if I am doing something wrong, but I cannot get the back cover to work. Here is the minimal example that I created:
marc@home:/tmp/test$ asciidoctor-pdf --version
Asciidoctor PDF 1.5.3 using Asciidoctor 2.0.10 [https://asciidoctor.org]
Runtime Environment (ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)
marc@home:/tmp/test$ ll
total 140
drwxrwxr-x  2 marc marc   4096 Oct 22 13:07 ./
drwxrwxrwt 38 root root   4096 Oct 22 13:02 ../
-rwxr-xr-x  1 marc marc 123570 Oct 22 13:03 backcover.png*
-rw-rw-r--  1 marc marc     76 Oct 22 13:03 file.adoc
-rw-rw-r--  1 marc marc     88 Oct 22 13:04 theme.yml
marc@home:/tmp/test$ cat theme.yml
extends: default
base:
  font-color: #ff0000
cover:
  back-image: image:backcover.png[]
marc@home:/tmp/test$ cat file.adoc
= Test

== Back cover

This document tests to see if there is a back cover.
marc@home:/tmp/test$ asciidoctor-pdf -a pdf-theme=theme.yml file.adoc --trace -v
marc@home:/tmp/test$

As you can see, there is no further output from running asciidoctor-pdf, but the image is not showing up in the resulting PDF file either (see attached).
file.pdf
Thank you for any suggestions you may have.
Marc.

Defining a cover using the theme file is not a feature of 1.5.3. See https://github.com/asciidoctor/asciidoctor-pdf/blob/v1.5.x/docs/theming-guide.adoc The feature is only available in the upcoming 2.0.0 release. Make sure you are using the theming guide on the v1.5.x branch when using 1.5.3.

Ah... that explains. Thank you Dan! Any idea when 2.0.0 will be ready?

Working hard on it every day. As soon as I get the fix for #789 integrated, I'm going to release the first alpha. We'll go from there.


Bug in tf.test.compute_gradient for tf.keras.layers.GlobalMaxPooling2D

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
tf 2.14.0
Custom code
Yes
OS platform and distribution
windows colab
Mobile device
No response
Python version
3.10
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
The numerical gradient and theoretical gradient for tf.keras.layers.GlobalMaxPooling2D is different, one is 0.2, the other is 0.5.
Standalone code to reproduce the issue
import tensorflow as tf

data_format = "channels_last"
keepdims = False
__input___0_tensor = tf.random.uniform([3, 5, 1, 1], minval=0, maxval=0, dtype=tf.float64)
__input___0 = tf.identity(__input___0_tensor)
GlobalMaxPooling2D_class = tf.keras.layers.GlobalMaxPooling2D(data_format=data_format, keepdims=keepdims)

layer = GlobalMaxPooling2D_class
inputs = __input___0

r = GlobalMaxPooling2D_class(inputs)
theoretical, numerical = tf.test.compute_gradient(GlobalMaxPooling2D_class, [inputs])
print(theoretical)
print(numerical)

Relevant log output
(array([[0.2, 0.2, 0.2, 0.2, 0.2, 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. ,
        0. , 0. ],
       [0. , 0. , 0. , 0. , 0. , 0.2, 0.2, 0.2, 0.2, 0.2, 0. , 0. , 0. ,
        0. , 0. ],
       [0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0.2, 0.2, 0.2,
        0.2, 0.2]]),)
(array([[0.5, 0.5, 0.5, 0.5, 0.5, 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. ,
        0. , 0. ],
       [0. , 0. , 0. , 0. , 0. , 0.5, 0.5, 0.5, 0.5, 0.5, 0. , 0. , 0. ,
        0. , 0. ],
       [0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0.5, 0.5, 0.5,
        0.5, 0.5]]),)

Same problem can be found in tf.keras.layers.GlobalMaxPooling3D. Here is the repo code:
import tensorflow as tf

data_format = "channels_first"
keepdims = False
__input___0_tensor = tf.random.uniform([2, 4, 3, 1, 1], minval=0, maxval=0, dtype=tf.float64)
__input___0 = tf.identity(__input___0_tensor)
GlobalMaxPooling3D_class = tf.keras.layers.GlobalMaxPooling3D(data_format=data_format, keepdims=keepdims)

layer = GlobalMaxPooling3D_class
inputs = __input___0

r = GlobalMaxPooling3D_class(inputs)
theoretical, numerical = tf.test.compute_gradient(GlobalMaxPooling3D_class, [inputs])
print(theoretical)
print(numerical)

Same problem can be found in tf.keras.layers.MaxPooling1D. Here is the repo code:
pool_size_0 = 2
pool_size = [pool_size_0, ]
strides_0 = 3
strides = [
    strides_0, ]
padding = "valid"
data_format = "channels_last"
__input___0_tensor = tf.random.uniform([3, 5, 4], minval=0.0, maxval=0.0, dtype=tf.float64)
__input___0 = tf.identity(__input___0_tensor)
MaxPooling1D_class = tf.keras.layers.MaxPooling1D(pool_size=pool_size, strides=strides, padding=padding, data_format=data_format)

layer = MaxPooling1D_class
inputs = __input___0

r = MaxPooling1D_class(inputs)
theoretical, numerical = tf.test.compute_gradient(MaxPooling1D_class, [inputs])
print(theoretical)
print(numerical)

@SuryanarayanaY I was able to replicate the issue on colab, please find the gist here.
Thank you!

Hi @cheyennee
I tried to define a range of min, max values in this case minval=0, maxval=1, which made the code avoid ambiguity in theoretical and numerical gradients.Please find the gist here

Hi @cheyennee, By assigning min and max value to 0 the gradients are distributed differently because there is no distinct values to identify max values. If you set min and  max to different values you can get the same result. please refer to this gist for working code example. Thank You.


Fix compilation on latest nightly

Should fix CI. This was introduced by this commit to rust-lang

This should have already been fixed on master.
On Mon 10. Sep 2018 at 12:20, Gabriel Majeri<EMAIL_ADDRESS>wrote:

Should fix CI. This was introduced by this commit to rust-lang
https://github.com/rust-lang/rust/commit/5af06768a9b80afd9c1b8bbed695152d4ac5d9db
You can view, comment on, or merge this pull request online at:
https://github.com/rust-lang-nursery/packed_simd/pull/158
Commit Summary

Fix compilation on latest nightly

File Changes

M src/lib.rs
https://github.com/rust-lang-nursery/packed_simd/pull/158/files#diff-0
(1)

Patch Links:

https://github.com/rust-lang-nursery/packed_simd/pull/158.patch
https://github.com/rust-lang-nursery/packed_simd/pull/158.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-lang-nursery/packed_simd/pull/158, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AA3Npu4kxQ3NrIphqEJIo_f0IQIwfyrQks5uZjzYgaJpZM4WhHiK
.

You're right, I forgot to rebase


Update config.c to fix destination address for IFF_POINTOPOINT interfaces

incorrect pointer to struct

Good catch! 👍


LiDAR-lMU-Motor central mounting structure for Livox Lidars.

Thanks a lot for open-sourcing this great project.
Would be able to provide the CAD design files for other Lidars please? Especially the Livox Horizon and Livox Mid-360.
The current repository only contains designs for two Lidars:

#11

#8


Does not show all the buttons

It doesn't matter which side the buttons are, but when I swipe it does not show all the buttons. The cell will move to where it's suppose to stop but then bounce back halfway. I'm trying to display three buttons but it will only show 1 and a half.
Also when the last button is pressed, when swiping again the cell goes to the CORRECT spot which is the end of the first button.
Does anyone know how to solve this problem?

put a CGD... at this line...
dispatch_async(dispatch_get_main_queue(), ^{
    cell.leftUtilityButtons = [self leftButtons];

});


Received data to 3d model rendered in unity

I am using ObjectDetection3d to show shoes on foot.
I used TimedModelMatrixProtoListPacket as a Packet class to receive data from the stream.
1 - I got Matrix with var matrix = Matrix4x4FromBytes(matrixProtoList.ModelMatrix[0].MatrixEntries);
 ShoeModelTransform.localScale = matrix.lossyScale;    ShoeModelTransform.localRotation = matrix.rotation;    ShoeModelTransform.localPosition = matrix.GetColumn(3);
Also I assign matrix4x4 to shoe model transform as above.
But I can not exactly figure it out(You can see in image1).
2 - Also Model not track my foot position, it always in the middle. (You can see in image 2)
ps: black model from mediapipe, colored model from unity in IOS.
Can you help me how to solve my problems?
Thanks

@homuler  can you help for getting position, scale and rotation from Matrix4x4. I tried everything but can not get proper solution.

Okey I found a solution. I closing issue.

@emreboyraz0 Hi can you please explain in detail how you solved this issue coz am struggling to rendered the shoe in unity and tell me which files were modified any kind of help will be highly appreciated

hi can you please explain how you did it?


It for all any programming language?

how many languages are support

The functionality that can read specific functions from files only works with TypeScript/Javascript. But everything else just reads and writes full file content, so it can be used with any language.


librelp: 1.10.0 -> 1.11.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/librelp/versions.
meta.description for librelp is: A reliable logging library
meta.homepage for librelp is: https://www.librelp.com/
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.11.0 with grep in /nix/store/m8ld828g20ism5r2gqcc1150ns2mcvaw-librelp-1.11.0
found 1.11.0 in filename of file in /nix/store/m8ld828g20ism5r2gqcc1150ns2mcvaw-librelp-1.11.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
librelp
rsyslog

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/m8ld828g20ism5r2gqcc1150ns2mcvaw-librelp-1.11.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A librelp https://github.com/r-ryantm/nixpkgs/archive/d051e0ad48a33e70afb1abfcf96f30933a44eed3.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/m8ld828g20ism5r2gqcc1150ns2mcvaw-librelp-1.11.0
ls -la /nix/store/m8ld828g20ism5r2gqcc1150ns2mcvaw-librelp-1.11.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

librelp
rsyslog

Maintainer pings

Result of nixpkgs-review pr 218746 run on aarch64-linux 1

2 packages built:

librelp
rsyslog


Problem to install a certain module

Main problem 😿
when installing the firebase-admin module for some strange reason it causes the time in the compilation increases dramatically to the point of reaching this measurements of 17m 36s. As a result, due to an excessive wait time localhost is never loaded.
NOTE: the gif does not represent the total compilation time

How to reproduce the problem ? 🐛

clone this repository
delete the .git folder to avoid compilation failures
yarn install or npm install
run the command DEBUG = * fun * ~ /Downloads/now-macos dev --debug --port 8080

Could it be a cache problem ? 🤔
no, I have been cleaning the cache constantly to avoid this kind of problems, but unfortunately the result is the same, when you install dependency of firebase-admin, ncc remains frozen.
package.json

It seems that the ncc and user folders increase the compile time.  Is working in pr to be able to solve this :]
https://github.com/zeit/now-builders/pull/245

@TooTallNate I will close this issue. This error is related to ncc since the problem is presented in now and now-dev


register doesn't do anything anyway in modern compilers

@vigsterkr can we just do this?
the #define is inserted before the #include <Python/ruby/... header>

closing...


any pure erlang example

Do you have any example of its usage using Erlang (and not elixir) that are not imply npm also?

The fib.erl example for the interpreter.

@benoitc The lumen tests (hello_world.rs and cli.rs) use Erlang (hello_world/init.erl and cli/init.erl, respectively) with the compile (lumen).  The one restriction with the compiler currently is that the entry point must be init:start/0, so it need to be exported from your own code:
hello_world
https://github.com/lumen/lumen/blob/8cfd9dfeeecca1c29da9fab3a4feafeeae4d9624/lumen/tests/hello_world/init.erl#L1-L3
https://github.com/lumen/lumen/blob/8cfd9dfeeecca1c29da9fab3a4feafeeae4d9624/lumen/tests/hello_world/init.erl#L8-L10
cli
https://github.com/lumen/lumen/blob/8cfd9dfeeecca1c29da9fab3a4feafeeae4d9624/lumen/tests/cli/init.erl#L1-L2
https://github.com/lumen/lumen/blob/8cfd9dfeeecca1c29da9fab3a4feafeeae4d9624/lumen/tests/cli/init.erl#L5-L15

All the integration tests for liblumen_otp are now written as the Rust checking the stdout of lumen compiled .erl files.  All of those can be found under https://github.com/lumen/lumen/tree/develop/native_implemented/otp/tests.

You can also use the language search to get all the Erlang files in the repo in general.  This can be done from the UI by clicking on Erlang in the Language composition on the project home:

Go to https://github.com/lumen/lumen
Click Erlang in this widget

Expanding on my last answer.
Following the liblumen_eir_interpreter README, but skipping the decompile step because we're not using Elixir:
For liblumen_eir_interpreter/examples/fib

this link has "404 not found" status..
but thank you for examples in messages under this one!
thank you the much!
really! erlang-in-wasm = the great idea!
thank you for this implementation! :+1: :))

also one more question --
can i try to prog a tiny io game with lumen for wasm right now?
is lumen "for fun - tiny project - coding a bit"-ready? or not yet?
not for any production -- just for fun only -- coding a bit + play with friend a bit!! ))

@221V The lumen compiler we just release cannot target WASM yet (we're trying to nudge the WASM Community Group along to add stack switching to make WASM more like x8_64), so when targeting WASM you can have the runtime and OTP BIFs, but the layer that is your application needs to either be ported to Rust like I did for the spawn-chain WASM demo OR use the browser interpreter, but IDK if the interpreter is in a working state.  We had to break it to get x86_64 compiling working.  If you're interested in using the interpreter, then @hansihe  can help you.  If you're interested in porting to Rust for the application layer, I can help you.

@KronicDeth i do not know Rust yet :)
and only a bit can read C code (not C++)
and i do not know ok FASM - just newbie-beginner, noob)
i know ok (at this moment) --

vanilla.js in browser only (no OOP - procedural only),

php (like js - no OOP, but i was start from it - 12 years ago, and few last years not working with this),

erlang (only one moment not ok yet --
i have problem to read fully-parallel-code -
when minimal FP code, max actors-everywhere)

haskell (not "hard things" - mainly not that high-math-root things,
"easy way" only now - but my haskell code ok nice works, i am happy)

so FP is omw -- i have planning became true-senior with erlang and haskell now,
and try get the same with Rust and FASM :)
and no more langs, no more other --
cause there are many other interesting things in our world ))
not programming and pc/internet gaming-and-programming only))
i think so)
thank you! :)
thanks for true-anwer, cool answer!
there are many cool wasm examples-demos in the internet -
but.. i can not read and use that all))
i do not know OOP js,
i do not know C++ (and want not lose time for this two),
and i do not know the Rust yet ) cause needs more free time (and/or a  bit more money in family) for learn it :)
and examples Haskell -> wasm = oh.. "hard things" again (high-math-root things),

not fully wasm yet, yes? :)

so i am in search for get cool tool-for-deal-with-wasm in browsers :)
thats why i ask question(s) here (:
thank you a lot! :)


horizon: ingest Account Credited / Debited effects for smart contract asset transfers

The upcoming soroban release will implement single asset balance assets. This issue is a subtask of https://github.com/stellar/go/issues/4722 .
We will need to emit "Account Credited" / "Account Debited" effects whenever a Stellar asset is transferred or clawed back from a Stellar account via a smart contract invocation. This will require modifications to the effects ingestion processor. The changes should be pretty straight forward because we can iterate through the tx meta produced by the invoke host function operation and see if there are any ledger entry changes for trustlines.

Some remarks:

Is it possible to infer that a contract data ledger entry belongs to a SAC from the entry itself? e.g. how it's possible to detect whether a particular Ethereum contract represents (or at least mimics) an ERC-20 token? Or do you run into an issue of "it looks like a SAC and acts like a SAC but it isn't one"?
If we decide to store entries, could/should we do it in a way that's distinct from the rest of our database, e.g. storing it in sqlite? This would let us heavily imply that we are storing this data simply for the purposes of persistence, rather than trying to make it a "full-fledged" part of Horizon (e.g. part of the overall DB schema, plumbed to endpoints, complex queries, scalability, etc.).
Should Horizon talk to Soroban RPC for this data? :sweat_smile:

Thoughtful answers, thanks! I agree with you on all counts, just needed some rationale.
Horizon/RPC ingestion sync can be mitigated by sharing a Captive Core, but I think you're right that the dependency might get hairy. My intent was to try to keep the SC and Classic worlds as decoupled as possible, but that doesn't seem possible :confused:
On the first point, is there a way to generate meta that must be unique to the SAC? For example, one could have a method that returns a signature signed by the issuing account. Such a blob couldn't be returned by a non-SAC SC, since it'd need the issuer's secret. Though I guess in that case, the issuer itself could mimic the SAC and that method, but can an issuer deploy its own token twice (once via SAC and once via custom)??
Anyway, that's just a thought - maybe there's a clever construction there that Core can pull off and we can leverage to glean information.

I think we should embrace the events approach. and I agree there's no escape from saving some minimal contract data information.
This is not special to Horizon. Any soroban downstream systems that ingests events will need to "know" about the capabilities of the emitting contract before being able to process it's events.


fix: Run PreWork once, even for parallel analyzers

Fixes: https://github.com/oasisprotocol/nexus/issues/803

o sorry I gotta ask a question first


testnet network support 8wrdkuhs8g6270y - validator,rpc,api

@alex-m24 , Your Moniker and validator addresses are required, please update the PR with those details

@alex-m24 , Your Moniker and validator addresses are required, please update the PR with those details


Error in collecting Version One Data

We are trying to fetch data from Version one to Hygieia we are facing below issue as unexpected JSON format
2018-01-10 07:50:00,008 INFO  c.c.d.collector.FeatureCollectorTask - Starting Feature collection...
2018-01-10 07:50:00,009 INFO  c.c.d.collector.TeamDataClient - Get teams...
2018-01-10 07:50:00,101 ERROR c.c.d.d.v.VersionOneDataFactoryImpl - There was a problem parsing the JSONArray response value from the source system:
null | null
2018-01-10 07:50:00,101 ERROR c.c.d.collector.FeatureCollectorTask - Error in collecting Version One Data: [-1] FAILED: FAILED: VersionOne response included unexpected JSON format
## Adding more log error
2018-01-10 09:17:00,000 INFO  c.c.d.collector.CollectorTask - Running Collector: VersionOne
2018-01-10 09:17:00,008 INFO  c.c.d.collector.FeatureCollectorTask - Starting Feature collection...
2018-01-10 09:17:00,008 INFO  c.c.d.collector.TeamDataClient - Get teams...
teaminfo.st 1:36: \n in string
teaminfo.st 2:7: \n in string
teaminfo.st 3:7: \n in string
teaminfo.st 4:13: \n in string
teaminfo.st 5:13: \n in string
teaminfo.st 6:12: \n in string
teaminfo.st 7:7: \n in string
teaminfo.st 8:28: \n in string
2018-01-10 09:17:00,075 ERROR c.c.d.d.v.VersionOneDataFactoryImpl - There was a problem parsing the JSONArray response value from the source system:
null | null
2018-01-10 09:17:00,076 ERROR c.c.d.collector.FeatureCollectorTask - Error in collecting Version One Data: [-1] FAILED: FAILED: VersionOne response included unexpected JSON format
2018-01-10 09:17:00,076 INFO  c.c.d.collector.FeatureCollectorTask - Feature Data Collection Finished

hi Praneeth,
Did you find any fix to above errors? If yes, can you please share. Iam also facing same issue. Thanks
<EMAIL_ADDRESS>

Hi Arun,
make sure token has full privileges to access data of version one.

Praneeth, if possible, could you please share your number once, i will call for small clarification.
<EMAIL_ADDRESS>


KAFKA-4025 - make sure file.encoding system property is set to UTF-8 when calling rat

https://issues.apache.org/jira/browse/KAFKA-4025
this patch sets the file.encoding system property to UTF-8 before invoking rat during the build process and resets it to the original value afterwards

+1 (I don't have access to a windows machine but Radai did verify on his machine)


Should these artifacts be in the "org.apache.spark" group/organization?

As in:

I was under the impression that only apache spark artifacts were supposed to use that group name

imho, we shouldn't use the org.apache.spark groupId. This way we are not able to publish them to mvn sonatype/central and other our projects that depend on this library would keep failing to compile without installing this into local maven repo.
I can create an issue on issues.sonatype.org that we want to be able to publish under io.radanalytics.* if no one has done that before... I recall some discussion about it on Slack couple of months ago.

@elmiko what do you think about ^ ? I've just hit related issue when doing this tutorial https://radanalytics.io/examples/amqpstreaming. The page with tutorial says that user should build the repo as described here, but the demo/amqp-spark-driver/ depends on org.apache.spark:spark-streaming-amqp_2.11:jar:0.1.0, but the current version is 0.2.0.
Well, the versioning of this repo is another issue, it's hard to say what commit corresponds to 0.1.0, imho it would be better to use the -SNAPSHOT and the maven release plugin.

I still think this should be outside of org.apache.spark - releases should each be tagged in GH as well as part of standard release process, and the tip of develop/master should be in "-SNAPSHOT"

i have to admit a little ignorance about how sonatype records these namespaces, but in general if we can't use the official org.apache.spark namespace then i think we should definitely try to utilize io.radanalytics.*

We can run it by @mattf and @willb to confirm, but I think we should start the process of registering io.radanalytics via sonatype


Proposed newSession endpoint

My proposal for extending the /setupLogging endpoint as /newSession.
Of note:

This will require a change to all of python tests.  I think it will be easy: each suite needs to start a session
I don't think that the example given for the log slurper URL is actually a URL.  Should it be?
One of the editors has removed all the extraneous spaces.  I suggest viewing difference with the &w=1 flag.

The example for the log slurper could possibly be changed to include a prefix but it would be different depending on the operations (some are http and some are ws)

@borrrden : huh?  It is 0.6.0!!

I see.  There is a comment for the version and the actual version.  FIxed


ctrl+enter runs the entire content

In a SQL window: ctrl+enter runs the entire content -it should only run the current row or selected content.

Fixed, scheduled for next release.


update error spec

Coverage remained the same at 34.34% when pulling 44bbf2f078bd97cea155cc62a98145a11a701f4c on binyli/errorSepc into d25096c8810c675db6a76746a2e984b673fe0c6d on master.


ensure the latest version of har-validator is included

seems like some folks have had issues when using request from source with har-validator dependency (see: https://github.com/ahmadnassri/har-validator/issues/6) v1.6.1 of har-validator addresses these problems.

:+1:


Governance

[ ] guardian veto
[ ] gdao distribution
[ ] gdao claiming from distribution
[ ] gooddollar staking

@tomerGD put governance specs in this epic description

@sirpy
See spec added


Day372

Resolves #748.

Pull Request Test Coverage Report for Build 1420

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 1426:
0.0%

Covered Lines:
5

Relevant Lines:
5

💛  - Coveralls


Automated Package Upgrade

:tada: This PR is included in version 5.0.316 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


SAA-2239: Default to on-wing if migrating activity is on wing and has…

3 changes:

If migrating an activity which has a location id and a location code containing "WOW" then do not set the location id but do set on-wing to true
When view movement list locations do not included activities that are both on-wing and have a location id
When view locations remove any that are both on-wing and have a location id.

Movement locations before where C Wing Exercise Yard is both on wing and has a location:

Movement list items where Woodoworking is both on wing and has a location::

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

Project coverage is 84.59%. Comparing base (269a624) to head (6a00315).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1212   +/-   ##
=========================================
  Coverage     84.59%   84.59%
- Complexity     3771     3772    +1
=========================================
  Files           385      385
  Lines         12791    12791
  Branches       1103     1103
=========================================
  Hits          10821    10821
  Misses         1459     1459
  Partials        511      511

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


Implement Head and Options

Add HEAD and OPTIONS as methods that can be returned.

HEAD
from pragmaticapi.com http://www.pragmaticapi.com/blog/2013/02/14/restful-patterns-for-the-head-verb
The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response. The metainformation contained in the HTTP headers in response to a HEAD request SHOULD be identical to the information sent in response to a GET request. This method can be used for obtaining metainformation about the entity implied by the request without transferring the entity-body itself. This method is often used for testing hypertext links for validity, accessibility, and recent modification.

http://zacstewart.com/2012/04/14/http-options-method.html
Options
initially we can just respond with 200 ok Allow: HEAD, GET, PUT, PATCH, POST, DELETE, HEAD, OPTIONS


TravisCI - added PHP 7 with failures allow for it

refs https://github.com/phalcon/zephir/commit/2750ecb3bcc090f13373e0d1965af88b9fd438dd

Close ?


Break in TypeScript Nightlies

This line seems to break in the newest version of TypeScript since we started disallowing this parameters in get accessors.
https://github.com/vuejs/vue-next/blob/274f81c5db83f0f77e1aba3240b2134a2474a72f/packages/reactivity/src/collectionHandlers.ts#L203-L205
vue-next/packages/reactivity/src/collectionHandlers.ts(203,12): semantic error TS2784: 'get' and 'set' accessors cannot declare 'this' parameters.

Should be fixed by https://github.com/vuejs/vue-next/pull/801?

Yup!


It is not compat with tf2.2

Hi thanks for you tutorials for tf1.x, but It is not compat with tf2.x, can you provide a tutorials for tf2.2 ? Thank you

@levsion Thank you for your feedback.
The plan is to transform the tutorials to Tf 2.2 sometime in September 2020.


Ability to pass vault password file to connection=ansible

Hi,
We're working on using testinfra to test our ansible code but we have a vault file under our group_vars/all directory.  Within ansible this triggers an automatic attempt to decrypt the vault (to parse all group vars to be added to the inventory).
This leads to a backtrace like:
_______________________________________ ERROR collecting test_clustering.py _______________________________________
../../../../venv-ansible/lib/python2.7/site-packages/testinfra/plugin.py:116: in pytest_generate_tests
ansible_inventory=metafunc.config.option.ansible_inventory,
../../../../venv-ansible/lib/python2.7/site-packages/testinfra/init.py:37: in get_backends
_BACKENDS_CACHE[key] = backend.get_backends(hosts, **kwargs)
../../../../venv-ansible/lib/python2.7/site-packages/testinfra/backend/init.py:88: in get_backends
for name in klass.get_hosts(host, **kw):
../../../../venv-ansible/lib/python2.7/site-packages/testinfra/backend/ansible.py:68: in get_hosts
return ansible_runner.get_hosts(kwargs.get("ansible_inventory"), host)
../../../../venv-ansible/lib/python2.7/site-packages/testinfra/utils/ansible_runner.py:209: in get_hosts
return AnsibleRunner(host_list).get_hosts(pattern)
../../../../venv-ansible/lib/python2.7/site-packages/testinfra/utils/ansible_runner.py:147: in init
host_list=host_list,
../../../../venv-ansible/lib/python2.7/site-packages/ansible/inventory/init.py:85: in init
self.parse_inventory(host_list)
../../../../venv-ansible/lib/python2.7/site-packages/ansible/inventory/init.py:143: in parse_inventory
group.vars = combine_vars(group.vars, self.get_group_variables(group.name))
../../../../venv-ansible/lib/python2.7/site-packages/ansible/inventory/init.py:508: in get_group_variables
self._vars_per_group[groupname] = self._get_group_variables(groupname, vault_password=vault_password)
../../../../venv-ansible/lib/python2.7/site-packages/ansible/inventory/init.py:526: in _get_group_variables
vars = combine_vars(vars, self.get_group_vars(group))
../../../../venv-ansible/lib/python2.7/site-packages/ansible/inventory/init.py:706: in get_group_vars
return self._get_hostgroup_vars(host=None, group=group, new_pb_basedir=new_pb_basedir)
../../../../venv-ansible/lib/python2.7/site-packages/ansible/inventory/init.py:745: in _get_hostgroup_vars
results = combine_vars(results, self._variable_manager.add_group_vars_file(base_path, self._loader))
../../../../venv-ansible/lib/python2.7/site-packages/ansible/vars/init.py:561: in add_group_vars_file
(name, data) = self._load_inventory_file(path, loader)
../../../../venv-ansible/lib/python2.7/site-packages/ansible/vars/init.py:518: in _load_inventory_file
_found, results = self._load_inventory_file(path=p, loader=loader)
../../../../venv-ansible/lib/python2.7/site-packages/ansible/vars/init.py:533: in _load_inventory_file
data = loader.load_from_file(path)
../../../../venv-ansible/lib/python2.7/site-packages/ansible/parsing/dataloader.py:112: in load_from_file
(file_data, show_content) = self._get_file_contents(file_name)
../../../../venv-ansible/lib/python2.7/site-packages/ansible/parsing/dataloader.py:170: in _get_file_contents
data = self._vault.decrypt(data)
../../../../venv-ansible/lib/python2.7/site-packages/ansible/parsing/vault/init.py:171: in decrypt
raise AnsibleError("Decryption failed")
Ideally I could do one of two things:

Option to provide an ansible.cfg to be parsed.
Ability to pass in vault file directly.

Hi,
Ansible connection backend is using ansible python API, so it must behave almost like ansible does (loading ansible.cfg, inventory file, vars files). One thing that testinfra does not is accept ansible options that are passed on the command line (eg: --vault-password-file, --ask-vault-pass etc), so it's better if they are in ansible.cfg.
Could you tell me more about your setup (content of ansible.cfg especially and how to you call ansible) ? I'll try to reproduce the issue and see what we can do.

Also what ansible version do you use ?

I have the same issue.
I believe the problem stems from the way ansible (v1) passes the path of the file containing the vault password: it's done in the base_parser method in ansible/utils/__init__.py:
    parser.add_option('--vault-password-file', default=constants.DEFAULT_VAULT_PASSWORD_FILE,
        dest='vault_password_file', help="vault password file")

constants.DEFAULT_VAULT_PASSWORD_FILE has the correct value (i.e. it has the path that is specified by vault_password_file in ansible.cfg) but the problem, I think, is that this code (base_parser) is not called when one calls ansible from the Python API.
As a result, ansible is unable to decrypt the vault and fails with the error above.

@rabadin could you try calling testinfra with the ANSIBLE_VAULT_PASSWORD_FILE=~/your/vault/passfile environment variable (or set vault_password_file in ansible.cfg) ? It may fix your issue I think.

I've tested both (calling testinfra with the ANSIBLE_VAULT_PASSWORD_FILE and setting vault_password_file in ansible.cfg): same problem.
ANSIBLE_VAULT_PASSWORD_FILE=/Users/<me>/.config/ansible/.vault.pass testinfra --sudo --connection=ansible --ansible-inventory /Users/<me>/Dev/Code/<proj>/inventory/dyn_inventory.py /Users/rabadin/Dev/Code/<proj>/tests/integration/test_*.py

Thanks @rabadin
I'll try to reproduce and see if we need to add a new option in testinfra to handle this.

I've a WIP fix in #112 found a lot of bugs in the ansible backend. Needed to go deep inside ansible internal api due to the lack of an usable public api.


Review Accessibility

We need to review how accessible the website is.
One tool we can use is WAVE: https://wave.webaim.org/

I've run the tool and created several issues (with one existing issue) that we can work to fix. These include:

https://github.com/kalispell-software-crafters/kalispell-software-crafters.github.io/issues/72
https://github.com/kalispell-software-crafters/kalispell-software-crafters.github.io/issues/83
https://github.com/kalispell-software-crafters/kalispell-software-crafters.github.io/issues/84
https://github.com/kalispell-software-crafters/kalispell-software-crafters.github.io/issues/85
https://github.com/kalispell-software-crafters/kalispell-software-crafters.github.io/issues/86


Added dual switch support for state_l1 and state_l2 trigguer and condition check

Tested working adding automations support for dual switch with attributes state_l1 and state_l2.

What about state_l3?
Why don't you use custom action?

Duplicated functionality.
Just use trigger with attribute.
trigger:
  platform: state
  entity: Switch
  attribute: state_l2
  state: ON


Incompatible with logging

Found a funny bug, if you import twill.commands the python module logging can't access any files and will print all calls in the console instead.
Python version: 3.10.2
Twill version: 3.0.1
Here is a code there gets hit by the problem
from twill.commands import *
import logging

logging.basicConfig(
    level=logging.DEBUG,
    format="{asctime} {levelname:<8} {message}",
    datefmt='%Y-%m-%d %H:%M:%S',
    style='{',
    filename='log.log',
    filemode='a'
)

logging.critical('This is a critical level msg!')
logging.error('This is a error level msg!')
logging.warning('This is a warning level msg!')
logging.info('This is a info level msg!')
logging.debug('This is a debug level msg!')

Hm, yes, I think the problem is that getLogger() is called without a name here.
Is this fixed when you replace this with getLogger('twill')?

Yes if you replace getLogger() with getLogger('twill') in twills ´__init__py´ it works

I have released a fixed version 3.0.2.

Thank you so much, you the best :D


Fix typo in test

Fix some typo in testcase. duing -> during, TSETS -> TESTS
Self evaluation:

Build test:     [X]Passed [ ]Failed [ ]Skipped
Run test:     [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: heka1024<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2530. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.

:octocat: cibot: @heka1024, test/unittest/unittest_nntrainer_lazy_tensor.cpp does not include Doxygen tags such as @file @brief @author @bug. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md


Added more throwaway domains.

trbvn.com is used by 10minutemail.com, and the other domains are used by temp-mail.org

thanks


fix: Interpret max-age=0 as a valid cache-control header

Hi! I was dealing with an API that sends cache-control: max-age=0, public and noticed that the header interpreter treats maxAge == 0 == false --> 'not enough headers'.

Hey, you're right!
Here's the faulty line. You're up to a PR?
https://github.com/arthurfiorette/axios-cache-interceptor/blob/e1d6bdd9555870ff10cb06d538538af91773f113/src/header/interpreter.ts#L31

This is a PR 😁. Sorry, didn't create an issue first...

Lol, no way HAHAHA. I had just woken up.
I'll add a test case and approve it. Thanks!

Wow, so fast. Thanks! :)

Hey @heiko-r, i have just released 0.10.4, can you try it?

Oh no, I shut everything down already and am leaving for a vacation 😂. But I tested this particular change in our project already and it seems to work as intended! 👍


Error handler refers to wrong lookahead when calling getNextRule() when the previous rule skipRule=true

Description:
$subject.
Here we should increment the lookahead count only if skipRule = false
https://github.com/ballerina-platform/ballerina-lang/blob/7ce49ce002a34122771664ddefc00fff4cbff1c0/compiler/ballerina-parser/src/main/java/io/ballerina/compiler/internal/parser/BallerinaParserErrorHandler.java#L1208
Due to the above reason, type T [@a x @b y @c z];  does not recover correctly as type T [@a x MISSING[,] @b y MISSING[,] @c z]; in annot-tuple-members branch.

Fix included in https://github.com/ballerina-platform/ballerina-lang/tree/annot-tuple-members atm