Reconsider the name

The project looks very interesting and has potential to be a serious but much lightweight contender to the likes of Electron, so thanks for working on this.
However, the name is a bit unfortunate as the word stain generally doesn't have a positive connotation, it implies dirty, unclean or even corrupt. I for one am personally a bit reluctant to suggest let's use stain for this project.
I don't have any strong suggestion for a name, but something more positive would be better for the project.
Here are 2 suggestions:

prime (as in, primitive ui components)
elements (ui elements)
react-render

The name is not final, however, it's much better than the original name (node-webrender) which caused a lot of confusion so it had to be changed.
You are right about the connotation, I agree and I'd also prefer something positive.
prime sounds good but as with all good names, they are usually taken or they could cause confusion with existing projects. But yeah, I will think about it, and really thanks for reaching me.
and about react-* this is not good either, as this project is not 100% focused on react, I'd also like to support vue & svelte in the future

Alright, thanks for the response. Glad you're considering other UI libraries as well, I am keen to see how things pan out. Good luck!

name changed, more news to come soon! :)

It is definitely a better name than stain, but I am not sure if you are aware of the link between graffiti and vandalism, I thought I would mention it just as a heads up.


Break getFeedback into separate feedback functions.

Btw do you want to add a glob pattern to .gitignore for .DS_Store?

I thought I did, but I'll do it tomorrow.
--
Eric Yurko
On Tue, Mar 21, 2017 at 5:39 PM, Sean Lip<EMAIL_ADDRESS>wrote:

Btw do you want to add a glob pattern to .gitignore for .DS_Store?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/tie/pull/63#issuecomment-288263390, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADPkFbZRVDoxhw-SZcS2bnU-cVujUbytks5roG25gaJpZM4MklUK
.

I think the .gitignore is already updated?


fix: change link color to blue-600 / blue-700 on hover

Describe the changes you have made in this PR
Another attempt to unify color usage across the extension after consulting with @stackingsaunter.

@stackingsaunter Also changed some other occurrences of blue-500 (QR-Code links,  progress bar @ allowance, etc)


Add VideoTextureEvent

Also add private __seeking property to netStream for html5 target. This allows video textures to update while seeking a paused video

I've removed the timer and updated VideoTexture.__getTexture to switch __seeking back to false

That seems okay for now, we'll keep an eye on this, and find ways to improve with time. This runs the risk of maybe missing an update during a seek, but that seems safer than possibly dispatching a seek event after playback has occurred, and introducing a tricky to find logic bug later. Thank you so much for your help :smile:


Explain bigint type in handbook

Since typescript 3.2, ts supports a number type called bigint but the handbook says that the only numeric type supported is number. This PR fixes that.

CI is failing because of the compiler target that the snippets are tested against:
BigInt literals are not available when targeting lower than ES2020

I'm not sure what to do now, I've looked at previous issues/PRs and the docs available and haven't been able to find any instructions on whether this should or shouldn't be accepted.
Furthermore, I'm not sure if this is the right repo to create a PR in, since https://github.com/microsoft/TypeScript-Handbook seems to be the authoritative repo but the contribute to this page links on the handbook point to this repo, and all translations seem to be getting contributed here.
If someone could shed some light on these two things I'd appreciate it.

I see, thanks!
What confused me the most was the following phrase in the readme:

The existing docs for TypeScript as a direct import the repo of microsoft/TypeScript-Handbook

I would suggest changing that to reflect the current status.
Also, kudos for the quick response, this has been one of my best open source contribution experiences and I will definitely contribute something more in the future if the occasion arises.

Great, perfect, let's get this in and I have a README update coming along after 👍


Added a Makefile and updated the build.sh script a bit

It's more common to use Makefiles as a build system than just plain shellscripts, though I kept the script in case someone doesn't have make installed.

Closing due to inactivity


Public key not found

When I run autopass the first time, after updating cache it fails with this message:
autopass
Updating cache...
[################################################ ]
gpg: xxxxxxx: skipped: public key not found
gpg: [stdin]: encryption failed: public key not found

I tried both long and short format for the key ID. Also I am using subkeys.
Maybe autopass uses gpg1 and not gpg2?
The command is hard-coded so I just changed it to gpg2 instead and it seems to work.
Maybe you should add an option to choose between gpg 1 and 2 in the config file.

Looks like a gpg error. Can you encrypt things with the key you set as cache key as recepient from the command line?
Am 14. Oktober 2018 13:18:58 MESZ schrieb LouisDB<EMAIL_ADDRESS>
When I run autopass the first time, after updating cache it fails with
this message:
autopass
Updating cache...
[################################################ ]
gpg: xxxxxxx: skipped: public key not found
gpg: [stdin]: encryption failed: public key not found
I tried both long and short format for the key ID. Also I am using
subkeys.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jreinert/autopass/issues/34

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


[Bug]: Provider Switch Causes Model Mismatch and "Illegal Model Request" Error

What happened?
when changing the provider while a model is generating a response, the system switches back to the old provider after completion or error, but the model doesn't update. This mismatch causes an "illegal model request" error when trying to send a new message.
the expected behavior is that both the provider and the model should update consistently when a change is made, allowing users to continue sending messages with the newly selected provider and model without errors

The bug occurs when changing the provider during an ongoing response generation
After the response finishes or an error occurs, the UI shows the old provider (the one used for generation)
However, the model doesn't update to match the displayed provider
Attempting to send a new message results in an "illegal model request" error
This creates a confusing user experience and prevents normal operation after switching providers

Steps to Reproduce

Start generating a response with Provider A
While the response is being generated, switch to Provider B
Wait for the response to complete or for an error to occur
Observe that the UI switches back to Provider A
Attempt to send a new message
Observe the "illegal model request" error

What browsers are you seeing the problem on?
Firefox, Chrome, Microsoft Edge
Relevant log output
No response
Screenshots

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thanks!


Remove the text in the fields under CVFragment, keeping the required hints.

The section for Professional Experience has fields that are filled with texts. Those texts should be replaced with hints. Filling the text option should be given if the user wants to write something there.
This small bug needs to be solved first before moving to issue #7

Has this issue been started to work upon? @SugatoBagchi

@adrishyantee I cannot fix the issue. I request you to unassign me from this and I hope to contribute on some other issue in future.

Hello, Can I pick up this issue I already Found an Error for this issue.

@prince02765 I assigned you!

@prince02765 Can you go through the issue once again and check it for the repo. I think the text fields are not removed. Please validate this. Even after adding fields, The previous items remain the same.


Revert [SPARK-35223] Add IssueNavigationLink

What changes were proposed in this pull request?

IDEA may re-generate the config files and it's annoying to manually exclude it from commit as the IDEA config file is under version control.
This PR removes the IDEA config files and ignores it in git. This is basically a revert of https://github.com/apache/spark/pull/32337
We can update the developer guideline about how to configure IDEA to show Github/JIRA links.
Why are the changes needed?

avoid git troubles.
Does this PR introduce any user-facing change?

no
How was this patch tested?

N/A

@pan3793 We can mention the IDEA config in https://github.com/apache/spark-website/blob/asf-site/developer-tools.md
also cc @viirya

Got it. Thank you for the fix, @cloud-fan , @pan3793 , @srowen , @viirya .


Getting an error while to load gem

All the gems in Gemfile was loaded properly except this one. I checked the war file and this gem is where it is supposed to be at
WEB-INF/gems/gems/paperclip-4.3.7/lib/paperclip
and WEB-INF/gems/gems contains all the other gems.
JRuby-Rack startup
There was an error while trying to load the gem 'paperclip'.
Gem Load Error is: Unknown error -
Backtrace for gem load error is:
org/jruby/RubyIO.java:1448:in write' org/jruby/RubyIO.java:1419:in write'
org/jruby/RubyKernel.java:956:in require' /tmp/jetty-<IP_ADDRESS>-8100.release.f1a4464.war-_-any-5996302710614289189.dir/webapp/WEB-INF/gems/gems/paperclip-4.3.7/lib/paperclip/storage.rb:1:in '
the file storage.rb has this content
require "paperclip/storage/filesystem"
require "paperclip/storage/fog"
require "paperclip/storage/s3"
and the file paperclip/storage/filesystem exists at
WEB-INF/gems/gems/paperclip-4.3.7/lib/paperclip/storage/filesystem.rb in the war file
What might be wrong?

Is there any tools I can use for debugging the startup process?

you might try turning debug on for JRuby's loadService (check your local --properties) ... this seems like an issue with loading although there should be more details printed. you should also try upgrading jruby (bundle update jruby-jars) since you did not mention whether its latest 1.7/9K

an attempt to "write" something sounds like bundler trying to update the
Gemfile.lock - could be outdated !?

I work with @pytong and the issue seems to be related to jruby-rack but it might be caused by an internal tool that bundles the apps in a WAR file so until we can rule out some bad code on our side, I'd suggest we close this bug for now and, if need be, we'll come back with a more detailed error.
Thank you for your help so far!

Thanks for all of your help. It was actually an issue with the content of config/warble.rb. After I added Gemfile and Gemfile.lock to config.includes, the error is gone.


build failure - wso2am-intg

http://testgrid-live.private.wso2.com/admin/job/wso2am-intg/104/console
[ sqlserver-se '13.00' ORACLE_JDK8 Windows '2016'] [06:19:44,934] + set +o xtrace
[ sqlserver-se '13.00' ORACLE_JDK8 Windows '2016'] [06:19:44,934] Retrieving password for Windows instance from AWS for instance id i-0a9d3ad46749eb600
[ sqlserver-se '13.00' ORACLE_JDK8 Windows '2016'] [06:19:45,359] usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
[ sqlserver-se '13.00' ORACLE_JDK8 Windows '2016'] [06:19:45,359] To see help text, you can run:
[ sqlserver-se '13.00' ORACLE_JDK8 Windows '2016'] [06:19:45,359]
[ sqlserver-se '13.00' ORACLE_JDK8 Windows '2016'] [06:19:45,359]   aws help
[ sqlserver-se '13.00' ORACLE_JDK8 Windows '2016'] [06:19:45,359]   aws <command> help
[ sqlserver-se '13.00' ORACLE_JDK8 Windows '2016'] [06:19:45,360]   aws <command> <subcommand> help
[ sqlserver-se '13.00' ORACLE_JDK8 Windows '2016'] [06:19:45,360] aws: error: argument --priv-launch-key: expected one argument
[ sqlserver-se '13.00' ORACLE_JDK8 Windows '2016'] [06:19:45,417] Error occurred while executing the test: integration-tests, at: integration-tests. Script exited with a status code of 2
[ sqlserver-se '13.00' ORACLE_JDK8 Windows '2016'] [06:19:45,418] ---------------------------------------
[ sqlserver-se '13.00' ORACLE_JDK8 Windows '2016'] [06:19:45,424] Found TEST-TestSuite.xml result files at: []
[ sqlserver-se '13.00' ORACLE_JDK8 Windows '2016'] [06:19:45,430] Found results paths at /testgrid/testgrid-home/jobs/wso2am-intg/builds/integration-tests_b1ded3eb-5eaf-3740-8c71-ae14c4b4a583_39/data-bucket: []

More errors in the same build:
[06:10:43,445] Wait port: <IP_ADDRESS>:22

[06:10:43,445] + wait_for_port <IP_ADDRESS> 22

[06:10:43,445] + host=<IP_ADDRESS>

[06:10:43,446] + port=22

[06:10:43,446] + x=1

[06:10:43,446] + retry_count=20

[06:10:43,446] + echo 'Wait port: <IP_ADDRESS>:22'

[06:10:43,446] + nc -z <IP_ADDRESS> 22

[06:10:43,455] + '[' CentOS = Windows ']'

[06:10:43,455] + ssh -o StrictHostKeyChecking=no -i<EMAIL_ADDRESS>mkdir -p /opt/wso2/workspace

[06:10:43,462] Warning: Identity file<EMAIL_ADDRESS>not accessible: No such file or directory.

[06:10:43,468] Bad port '/opt/wso2/workspace'

[06:10:43,469] Error occurred while executing the test: integration-tests, at: integration-tests. Script exited with a status code of 255

[06:10:43,469] ---------------------------------------


ncc run with -e flag not working

-e flag is currently working only in ncc build and not in ncc run
How to test:
// index.js
const puppeteer = require('puppeteer')
console.log('it works')

ncc run index.js -e puppeteer # -> "Error: Cannot find module 'puppeteer'"
ncc build index.js -e puppeteer -o dist && node dist # "it works"

😨

The reason for this would be the lack of a node_modules in the temporary directory that the app is run against.
We could symlink the node_modules there to the local one.
More consistent might be to symlink just node_modules/[external] for each known external to ensure nothing is brought through that shouldn't be.


fix: frontrunning createNewTask on servicemanager

Changes
ServiceManager

RespondToTask has new parameter: address senderAddress:

bytes32 batchMerkleRoot,
address senderAddress,

NewBatch event has new parameter: address senderAddress:

event NewBatch(
    bytes32 indexed batchMerkleRoot,
    address senderAddress,
    uint32 taskCreatedBlock,
    string batchDataPointer
);

BatchVerified event has new parameter: address senderAddress:

event BatchVerified(
    bytes32 indexed batchMerkleRoot,
    address senderAddress
);

Explorer

Reading correctly the NewBatch event

storing it in new sender_address column of batches table

Reading correctly the BatchVerified event

Operator

Is reading NewBatch's new paramenter

calculates BatchIdentifierHash = hash(merkleRoot, senderAddress)
no longer use merkleRoot to identify batches, now using BatchIdentifierHash
submitting response to Aggregator with signature of (merkleRoot, senderAddress)

Aggregator

Recieving signature of (merkleRoot, senderAddress) from Operator
Making correct new respondToTask

Batcher

No changes needed, can still submit batches

lgtm, I agree on tatu's comments but aside from that everything looks good.


3D View shows sometimes no model, sometimes only last timestep data

This is with the official pip rerun-sdk at version rerun_sdk-0.20.1-cp38-abi3-manylinux_2_31_x86_64.whl.
I adopted the MeshCat visualizer from Pinocchio to work with rerun. I can add meshes and transform them fine. However, when I run a dummy script that moves a hand upwards, rerun shows the hand moving. However, when I then jump back on the timeline, the hand disappears. See screenshot below.
In some cases, when I rerun the python script again, the meshes disappear as new data is logged.
Any idea what might be going on here?
Picture of the last timestep (visualization is as expected):

Picture when going to a previous timestep (visualization is not visible though it should show the hand at an earlier stage)

When opening up the timeline, I noticed the "Mesh3DIndicator" seems to be only for the last timestep. Is this why the meshes disappear before?
The call p_helper.logMeshes() loads the meshes into rerun and then the later call to p_helper.update(q) logs transformations to update the position of the meshes.

Hi @Wumpf , thank you for your response.

I'm not familiar with the libraries you use here, but from the looks of it that logMeshes probably should log the mesh as static. or time should be set to zero before that

I am not doing that at the moment. Thank you for pointing this out. I will add this once I am back at work on Monday and let you know how it goes.

Adding static=True when logging the meshes fixed my problem. Thank you for your help @Wumpf .
Closing the issue.


Use two-stage cache

Use Zend_Cache_Backend_TwoLevels when one of the memory-based caches is available, using Zend_Cache_Backend_File as the fallback.
Among other changes, this "mode" would need to ensure that the Rebuild task committed a cached object to both caches.

See also #41


update freedesktop runtime to 20.08

Will get freedesktop updated to the latest version on the next application patch from LBRY Inc. Thanks!

The build failed, because you didn't bump the BaseApp version to 20.08 too.

Yep - Sorry, fixed that. Was in a rush yesterday and tried cramming the update into my schedule.
Should be all good now. https://flathub.org/builds/#/builders/19/builds/4060


Add dtype in loaders

Some columns are saved as float64 in raw data when this precision is not necessary. It might be beneficial to add a dtype option in the channels in the settings which tells which format to save the data to, and converting on readout.
This is particularly relevant for the FLASH Loader

This sounds like a good idea for saving space in the parquet files

I included this in the new PRs #329 and #330  (is the config model for loaders)

closed by #329 and #411


Integrate RL frameworks with ULTRA

[ ] RLLib (https://github.com/huawei-noah/SMARTS/issues/471)
[ ] Dopamine
[ ] Keras-RL?
[ ] Tensorforce?
[ ] TRFL?
[ ] Coach?

Many of these are compatible with gym, so #459 can be a shortcut.

SMARTS is currently gymnasium compatible, whereas ULTRA has been moved to smarts-project.rl repository.


Placeholder and text are hidden in Internet Explorer

The controls that have the "form-control-user" class hide the text and the placeholder only in IE

If I deactivate the "padding" property of the class "form-control-user" it works correctly

Although at this moment it is just happening to me with IE, it has also happened to me with Mozilla Firefox

This was reported previously, in #220

The text of the placeholder will not shown in the forms for authentification.
The error exist only by IE11 & Firefox 38.


auth/google: fallback to email if profile['name'] not available

Sometimes, profile['name'] is not available (at least, in our company settings). This patch uses email as a fallback value. We may have better fallbacks (e.g, by removing domain from email,...). This PR is an idea. Please let me know if I can help.
NB: The fallback code is from https://github.com/redlotus. I prefer Ruby way 🍡

Thanks for the PR. I prefer your suggestion of using the first part of the email address, ie. without the domain. If you can make that small change I'll merge the PR.

You're welcome @satterly . I have updated the PR as you suggested.

Thanks! 👍


Remember last Collection selected

It would be good to remember which Collection was last viewed (like you do for registries) and default to that one when you open the registry browser again.  This should speed things up considerably as the number of total parts grows.
Also, having a new "Root Collections" option in Collections could be useful:
All Collections (no filter on collections)
Root Collections (only show root collections)
 (filter on this collection)
This could avoid the fetch all parts which is slow as you could navigate to Root Collections rather than All Collections, and that list would be smaller.

I believe what you're thinking of as All Collections and Root Collections are actually the same thing.  All Collections doesn't do a fetch all parts.  It fetches only the root collections.  I've renamed All Collections to Root Collections to make this more clear (since it does only fetch the root collections).

I've just made this change.  This actually fits very well semantically with how SynBioHub is organized.  All parts in SynBioHub are contained directly or transitively in the root collections, so it makes sense to think of the collection hierarchy as some sort of file tree.  Now the semantics match the actual implementation.
I will work on persisting the most recent collection.  This involves saving the collection path in Registry preferences, which is hacky, but doable.

Sounds good.  This will greatly speed things up for users.

I've been thinking about this more: A much cleaner implementation will be to statically cache the collection paths in RegistryInputDialog similar to how SynBioHubFrontends are currently being cached.  Is it ok that the paths don't persist after SBOLDesigner is closed?  Usually, you fetch things repeatedly per instance of SBOLDesigner, and not across sessions.
Anyway, pretty much the same result, but probably 1/2 the implementation complexity.  And cross-session persistence could always be added later outside of Registries.

Yes, it is usually within a single session, so this should solve most use cases.

https://github.com/SynBioDex/SBOLDesigner/commit/11a0764bfcaecfa7ee31153c757bca4bd09951b4 implements this.  In this process, I also caught this bug which we've been noticing for a long time now: https://github.com/SynBioDex/SBOLDesigner/issues/195


kube-apiserver policy matching followups

Following the merge of https://github.com/cilium/cilium/pull/17823, this is a list of items to be addressed.
Higher priority
(copied from https://github.com/cilium/cilium/pull/17823)

[x] Bug: label injection triggered from CiliumNode change when kube-apiserver is outside of the cluster, causes identity churn (kube-apiserver CIDR identity released and reallocated for no reason)
[x] Changes to cluster entity meaning (to include kube-apiserver):

Already exists: https://github.com/cilium/cilium/blob/c68197103afe2cc19639a4d4fc93b9fd4472565a/pkg/policy/api/entity.go#L118

[x] Improve docs descriptions of the new entity: https://github.com/cilium/cilium/pull/18396
[x] https://github.com/cilium/cilium/issues/18049: https://github.com/cilium/cilium/pull/18527

Minor

[ ] Command to introspect the IDMD (cilium ip metadata get)
[ ] Complete https://github.com/cilium/cilium/issues/17829
[ ] Refactor as pointed out by https://github.com/cilium/cilium/pull/18150#discussion_r771035721

[ ] https://github.com/cilium/cilium/pull/18150#discussion_r771037283

[x] Refactor InjectLabels() to call (*Daemon).UpdateIdentities(), instead of re-implementing the same logic. It will also allow removing the dependencies that are passed into that function.

[x] Additionally, this may fix a very small window of possible policy drops because the policy recalculation hasn't yet finished by the time we change the ipcache mappings. See https://github.com/cilium/cilium/pull/18150#discussion_r771045232.

[x] Handle ToCIDR policy followed by kube-apiserver policy case in terms of identity allocation, ipcache entry fixup, etc. (https://github.com/cilium/cilium/issues/23750)

Fixed in v1.13.x, no plan to fix in v1.12.x due to code difference between branches

[ ] https://github.com/cilium/cilium/pull/17714/#discussion_r747145275
[ ] https://github.com/cilium/cilium/pull/17714/#discussion_r751565761
[ ] https://github.com/cilium/cilium/pull/17714/#discussion_r745210082

@christarazi would it be useful to go back through this together and see how any remaining items may be addressed in the tree and whether there's things left to achieve to resolve this issue?

Sure, sounds good, let's schedule something.


Is this project being maintain?

No activity for 2 years now. Is it officially dead?

Technically this package is not needed for a long time as Flutter handles the applicationId automatically if you only update it in android/app/build.gradle file, other steps Flutter takes care of itself. But if you need to use MainActivity then this package helps.
I'm fixing a few issues or edge cases in today's release, otherwise the package is stable enough. Thankyou for using it,
If you have any suggestions or feature request you can reopen the issue and I'll take a look


Update circe-core, circe-generic, ... to 0.14.0-M2

Updates

io.circe:circe-core
io.circe:circe-generic
io.circe:circe-parser

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.circe" } ]

labels: library-update, semver-pre-release

Codecov Report

Merging #135 (2f69168) into master (d5bdca1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #135   +/-   ##
=======================================
  Coverage   28.62%   28.62%
=======================================
  Files          41       41
  Lines        1729     1729
  Branches       33       33
=======================================
  Hits          495      495
  Misses       1234     1234

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 d5bdca1...2f69168. Read the comment docs.

Superseded by #139.

Superseded by #139.


Re-enable bandwidth-manager by default for new deployments

For Cilium v1.10, bandwidth manager is no longer considered as a beta feature: re-enable it by default for new deployments.
This PR reverts the commit that disabled the feature by default, but it does not update the documentation that still marks the bandwidth manager as beta.
Reverts part of https://github.com/cilium/cilium/pull/13515.
Also related: Follow-ups for EDT https://github.com/cilium/cilium/issues/13371.

test-me-please

test-me-please

test-me-please

test-me-please


feat: add support for netrc authentication

What does this PR do?
Adds support for taking .netrc/_netrc files into account when:

downloading files via HTTP
cloning repositories via HTTP

#54

I tested features with a GitHub access token I created and tried to checkout private git repository and tried download single file. Everything worked fine. One suggestion is to use constants for strings like "login", "password",""netrc://" and""http-netrc-auth". What do you think?

I'm not really a fan of putting everything into constants just for the sake of having constants if they're not used at least twice but I moved everything except for the netrc:// prefix to constants to match the remaining code.
I didn't refactor
fmt.Sprintf("netrc://%s", g.credentials.Path)

to
const netrcScheme = "netrc://"
fmt.Sprintf("%s%s", netrcScheme, g.credentials.Path)

only for the String() function because I don't think it actually improves readability? But if you prefer it the other way let me know and I'll update it accordingly.

It is okay for me. I merge this one. Thank you for contribution.


License?

Please include license file in this repo

Added.
This work is licensed under the Creative Commons Attribution NonCommercial ShareAlike 4.0 License.

This work is licensed under the Creative Commons Attribution NonCommercial ShareAlike 4.0 License.

Please consider using a free license that allows commercial use. This would allow easier use in open source projects, since non-commercial clauses are incompatible with open source by definition. See this page for more information.


Dynamic pagination in OCP tab

Type of change

[ ] Refactor
[x] New feature
[ ] Bug fix
[ ] Optimization
[ ] Documentation Update

Description
This PR includes handling Pagination, sorting and filtering of OCP page at the server side.
Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please describe the System Under Test.
Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

Bad bot.

or is this a dupe @MVarshini ? @vishnuchalla maybe you know?

or is this a dupe @MVarshini ? @vishnuchalla maybe you know?

Yeah, this one is duplicate. I will let @MVarshini to be kind to close this please in favor of https://github.com/cloud-bulldozer/cpt-dashboard/pull/135

Closing this PR in favour of PR#135


Update everything everywhere all at once because this project is near…

… ancient

Test CI failed due to an unchecked error. I'll fix those later. The purpose of this PR is JUST to get a working artifact out with updated dependencies in an updated base image.


Navbar spacing

First of all, this is a great take on the Cayman theme, thanks so much! I was wondering about spacing in the navbar -- I checked developer tools and there seems to be an empty element propagated between About and Projects. Alone, this is fine, but I'd like to add more sections (a coursework tab, etc.), but this puts emphasis on the empty element causing additional spacing. I think this stems from _includes/navbar.html. However, I've read through it a few times and can't figure out where its coming from. Any suggestions on removing this? Thanks!

Good catch! The extra spacing was due to an invisible link back to the home page. In Jekyll, site.pages includes the main index.md page, which I forgot to filter out. My index.md page doesn't have a page.title attribute, so it never displayed a visible link and therefore I didn't notice there was an extra space until you pointed it out. In commit 99ab6a1b, I fixed this by adding a filter to only include pages with a non-nil page.title attribute.

Awesome, works perfectly. Thanks so much!


 I cant put the fragment into the FragmentManager as its the wrong type. As its a LibsFragment not Fragment..
LibsFragment fragment = new LibsBuilder()
                                        .withAutoDetect(true)
                                        .withAboutIconShown(true)
                                        .withActivityStyle(Libs.ActivityStyle.LIGHT_DARK_TOOLBAR)
                                        .withAboutVersionShown(true)
                                        .withAboutDescription("This is a small sample which can be set in the about my app description file.")
                                        .withLicenseShown(false)
                                        .withVersionShown(true)
                                        .withActivityTitle("About This App")
                                        .withListener(new LibsConfiguration.LibsListener() {
                                            @Override
                                            public void onIconClicked(View v) {
                                            }
                                            @Override
                                            public boolean onLibraryAuthorClicked(View v, Library library) {
                                                return false;
                                            }
                                            @Override
                                            public boolean onLibraryContentClicked(View v, Library library) {
                                                return false;
                                            }
                                            @Override
                                            public boolean onLibraryBottomClicked(View v, Library library) {
                                                return false;
                                            }
                                            @Override
                                            public boolean onExtraClicked(View v, Libs.SpecialButton specialButton) {
                                                return false;
                                            }
                                            @Override
                                            public boolean onIconLongClicked(View v) {
                                                return false;
                                            }
                                            @Override
                                            public boolean onLibraryAuthorLongClicked(View v, Library library) {
                                                return false;
                                            }
                                            @Override
                                            public boolean onLibraryContentLongClicked(View v, Library library) {
                                                return false;
                                            }
                                            @Override
                                            public boolean onLibraryBottomLongClicked(View v, Library library) {
                                                return false;
                                            }
                                        })
                                        .fragment();

                                FragmentManager fragmentManager = getFragmentManager();
                                fragmentManager.beginTransaction()
                                        .replace(R.id.frame_container, fragment).addToBackStack("Tag " + position).commit();

@georgeherby you can either create a normal v4 fragment or a support lib fragment. For the support lib fragment you will have to use the supportFragment() method ;)

@mikepenz thanks for the quick response :) A bit confused what you mean? Where should i be using the supportFragment method..?

At the moment you build LibsFragment with the .fragment(); method
There is a different fragment type provided by the support library. and you can build this one with .supportFragment() and this will return a LibsSupportFragment
https://github.com/mikepenz/AboutLibraries/blob/develop/MIGRATION.md#v526---v530

Hmm.. i appear to be having a bad day.. the LibsSupportFragment and SupportFragment neither can be resolved. Im using Fragments not v4 Fragments (Sorry to be a real main in the ass)
LibsSupportFragment fragment = new LibsBuilder()
.withAutoDetect(true)
.withAboutIconShown(true)
.withActivityStyle(Libs.ActivityStyle.LIGHT_DARK_TOOLBAR)
.withAboutVersionShown(true)
....
.supportFragment();

@georgeherby you already updated to the last version? if you do not have the latest version you probably have still the old methods

@mikepenz Thanks you sir! As i said i thought it was something stupid! i was still on 5.2.6

;)


Race with concurrent selections in telescope and builtin backends

Describe the bug
Some situations may lead to multiple selection prompts happening concurrently. For instance when using the vtsls LSP and opening a typescript project we get these 2 prompts at startup:

These show up as expected when using the nui backend but when using the default telescope backend, only one of them will show up. The LSP will continue showing as loading until it eventually times out on the selection.
When using the builtin backend, an error shows up "window was closed immediately" and the selection seems to get immediately cancelled. A single select UI still shows up but selecting it seems to not have any effect.
System information

OS: [mac]

Neovim version:
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1703358377

Is this related to a specific vim.ui.select backend? If so, which one? telescope and builtin

Dressing config:

return {
  "stevearc/dressing.nvim",
  -- dir = "~/Projects/dressing.nvim",
  enabled = true,
  opts = {
    select = {
      enabled = true,
      -- default telescope backend seems to not support "concurrent" selections
      backend = { "nui" },
      nui = {
        min_height = 0,
      },
    },
    input = {
      -- Allow escaping to normal mode inside inputs
      insert_only = false,
    },
  },
}

To Reproduce
Steps to reproduce the behavior:

We can easily reproduce this behaviour using the select test file in tests/manual/select.lua by adding a second run test call:

-- Run this test with :source %

local function run_test(backend)
  local config = require("dressing.config")
  local prev_backend = config.select.backend
  config.select.backend = backend
  vim.ui.select({ "first", "second", "third" }, {
    prompt = "Make selection: ",
    kind = "test",
  }, function(item, lnum)
    if item and lnum then
      vim.notify(string.format("selected '%s' (idx %d)", item, lnum), vim.log.levels.INFO)
    else
      vim.notify("Selection canceled", vim.log.levels.INFO)
    end
    config.select.backend = prev_backend
  end)
end

-- Replace this with the desired backend to test
run_test("telescope")
run_test("telescope")

Screenshots

This is the behaviour without dressing.nvim btw:

Fixed for all backends and for vim.ui.input as well


feat: use uuids instead of file names and line numbers

Updates linenote to use uuids instead of file names and line numbers
https://github.com/tkrkt/linenote/issues/16
https://github.com/tkrkt/linenote/issues/9
https://github.com/tkrkt/linenote/issues/2
Demo: https://storage.googleapis.com/com-f5-parm.appspot.com/parm/images/XK7AHFrBrfD7LpliwDX5.quicktime
Notes move with code: https://storage.googleapis.com/com-f5-parm.appspot.com/parm/images/KbetjziHdRWmfHpJu5FN.quicktime

I'm not sure if this library is being maintained, so I created published the extension under a different name for people to use in the interim: https://marketplace.visualstudio.com/items?itemName=prmichaelsen.linenoteplus


Poor man's zsync2 update guide?

Well, I've fiddled with zsync2 (via its AppImage) to no avail.
So, what should I do to update to latest conty_lite.sh from the last but one on my machine?

It's been a while :smiley:
Well, it does work, however a few times I tried it stopped on ~70%. I think Github doesn't like number of requests this update method generates and it's easier to serve the whole file at once.

I had this issue with download stopping at around 70% too when i tried zsync two weeks ago, not sure if it is a GitHub issue or a zsync bug. I remember it worked fine a few months ago.


to/from bytearray methods plus refactoring

Dear Danilo,
please find attached a patch against version 0.10 which adds methods similar to the photo stuff but working with Tcl byte arrays (plus some meta info like width, height and bytes per pixel/channel). FileStorage support for the AffineFeature class is added. All assembled Tcl lists with constant size are build using Tcl_NewListObj() with a Tcl_Obj pointer array instead of calls to Tcl_ListObjAppendElement() with the benefit of lesser code to write and most likely faster execution.
BR,
Christian
tcl-opencv-0.10.diff.gz

Thank you.


[Fix] Data formats clarification (#1713)

Firs draft for addressing issue #1713
Changes:
In common principles/image format, removed reference to Nifti, and removed Nifti specific content. Rephrased the rest.
In MRI, added Data format section with Nifti requirements.
To do:

[ ] To add your name, please edit our Contributors wiki and add your name with the type of contribution.

@bids-maintenance
Added explicit mentioning of:

incompatibility of ANALYZE 7.5 files with BIDS
Concatenation of multi-volume acquisitions (e.g. for 4D fmri)

I'm not sure that this is actual requirements from BIDS, can you confirm or dis-confirm?

@Remi-Gau , did you got news from maintainers meeting? Should I go with PET format too?

Added section for PET. Essentially a copy-paste of MRI, with a minimum-recommended version of dcm2niix, and additional sub-sections to better fit into structure of page.
I'll put specific remarks into a review of code.

Hi @Remi-Gau , just to know is there any developments on this merge request?

Hi @Remi-Gau, just wanted to tell that I will be away until 29 of July.


Regent: associate tasks with mappers

Currently every task launch in a Regent application gets passed to the same mapper (the one with ID 0). This is problematic if we want to combine two different libraries into the same application, each with their own mapper (e.g. @aheirich's visualization framework inside Soleil-X). Also, the user's custom mapper currently has to handle internal Regent tasks, which should really be handled by a custom Regent mapper.
Instead, Regent should support setting the mapper ID on task launches. One way to do this is per launch, similar to the suggested syntax for attaching mapper tags from https://github.com/StanfordLegion/legion/issues/438:
__demand(__mapper(42))
foo()

However, I think it is generally sufficient (and way less noisy) to associate mapper IDs "in bulk", e.g. once per module/file, or once per task, to be used on every launch of that task:
__demand(__mappper(42))
task foo() ... end

or
task foo() ... end
foo:attach_mapper_id(42)

As a second step, we could support overriding this default on a per-site basis.

This is supported in 429a17fb8553c828384996b24cebef2738919413 via the syntax foo:set_mapper_id(42).


Port to Intel LLVM based compilers

I copied Intel.cmake to IntelLLVM.cmake and made the following edit in order to get esma_cmake-v3.4.3 to compile with the LLVM based compilers from Intel.  ifx does not support the "source" option to the "-fp-model" flag and stops working if it is present.
diff Intel.cmake IntelLLVM.cmake
66c66
< set (common_Fortran_fpe_flags "${FPE0} ${FP_MODEL_SOURCE} ${HEAPARRAYS} ${NOOLD_MAXMINLOC}")
---
> set (common_Fortran_fpe_flags "${FPE0} ${HEAPARRAYS} ${NOOLD_MAXMINLOC}")

Note that the LLVM based compilers are very different than the Classic compilers in their support for compiler options. See https://www.intel.com/content/www/us/en/developer/articles/guide/porting-guide-for-ifort-to-ifx.html for further details.

@dkokron Thanks. Can you look at/try #300 and see if that works for you?

Matt,
Do you need me to do anything before promoting the fix?

Matt, Do you need me to do anything before promoting the fix?

I suppose if you could pull this branch and see if it works for you? (I still don't have access to ifx 2023.0)

Matt,
You don't need root to install oneAPI.
On Fri, Dec 30, 2022 at 12:49 PM Matthew Thompson @.***>
wrote:

Matt, Do you need me to do anything before promoting the fix?
I suppose if you could pull this branch and see if it works for you? (I
still don't have access to ifx 2023.0)
—
Reply to this email directly, view it on GitHub
https://github.com/GEOS-ESM/ESMA_cmake/issues/299#issuecomment-1368049639,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACODV2CDXWVSJLJWTGWGWX3WP4VCPANCNFSM6AAAAAATLL3U2Y
.
You are receiving this because you were mentioned.Message ID:
@.***>

I included your feature-mathomp4-299-add-ifx-support into the hpc-stack build system and did a targeted build of emsa_cmake.  Doesn't look like esma_cmake compiles anything and I don't know what else in hpc-stack depends on it.  Thus I'm not sure how to test this feature branch.


👐🏽 Usage in a composite action

Dear @ryoppippi ,
I used your tool to make another tool — a composite GitHub action that writes a formatted comment into a pull request.
And I'd like to thank you for creating bunpare and share it with you so that maybe it could be useful for you too.
https://github.com/RobinTail/bun-diff-action

There is no issue — just telling you that you made a great tool and I'm thankful for that ❤

@RobinTail nice!
Thank you for let me know!
I'm happy to hear that.
I'll check it out and use it!
Cheers


Queue stuck entries with single node system

In situations where some notification entries are left IN_PROCESSING state, we typically have a reaper mechanism to re-dispatch such entries. However in a single node scenario, we cannot re-dispatch to another node and currently the code just prints a warning. Note that such situations could arise as a result of a shutdown that timed out or a node that was killed abruptly.
Such entries will not be picked up since the query for ready entries only looks at AVAILABLE state.

One proposal would be to have the reaper reset the state to AVAILABLE - in multi-node scenario this is what it does when it re-dispatches to another node. The worts case scenario is that such notification gets dispatched twice - which is an expected edge use case anyways.

Actually, one issue is if system gets really late: It would make no sense to re-dispatch (reap) entries on the same node, so the question is how can we differentiate between the 2 use cases:

A few entries were left hanging in IN_PROCESSING  state and would need to be reaped
System is late and we have potentially a few (or many entries) late

The reaper query would pick up entries where processing_state=IN_PROCESSING (case 1) but would also pick entries where processing_state is null (case 2), so we have no way to discriminate unless we change the query.
Proposal: When we detect an entryIsBeingProcessedByThisNode we could check that status is IN_PROCESSING and only re-dispatch (reap) those entries.

I have build up the illmill war from the branch containing this fix.
Could you please let me know what tests you ran to confirm the fix?
I need to do the same.


Fix GQL update process fails on slots tables

Fixes #1036.

I have documented the remaining work required for us to deprecate PredictSlots altogether.
*This is not priority,
I wrote this ticket so we can close/merge this PR (1040) without having to improve it further.
https://github.com/oceanprotocol/pdr-backend/issues/1041


Create guidelines and a checklist for debugging

Is your feature request related to a problem? Please describe.
We should add guidelines and a checklist for debugging VarFish issues.
Describe the solution you'd like
We need to provide a sketch on how debug problems with VarFish. This needs to include a list of places where logs go and common issues such as full disks. We should collect points in the comments of this issue and then create a coordinated write-up in the documentation.
Describe alternatives you've considered
N/A
Additional context
N/A

Issue: full disks

Check df -h output on all hosts and virtual machines that run processes related to VarFish (including varfish server, postgres, cadd rest api, etc).
Proactively monitor with tools such as Check_MK or Zabbix

Logs:

docker logs --tail=100 container-name
background jobs have logs
dmesg -T output and syslog in general for OOM kills etc


Path generation is broken with a custom outputDirectory [0.10.0-beta.3]

Hello,
It seems that there is a problem when generating certain imports with the latest beta version.  [0.10.0-beta.3]
The generator created this :
import '../../../../../../repositories/my_schema/schema.graphql.dart';
But the correct one is this :
import '../../../../../../../repositories/kp_commodities/generated/schema.graphql.dart';
My config file :
graphql_codegen:
        options:
          outputDirectory: '__generated__'
          scopes:
            - lib/**/my_schema/**
          clients:
            - graphql
            - graphql_flutter
          namingSeparator: ''

Don't hesitate to reach me if you need more informations.

Thanks for reporting this, it should now be fixed as 0.10.0-beta.4


docs: add CSS to UnoCSS tool to community listings

Following up on #2324
@Simon-He95 you made the same mistake I did with the uppercasing/lowercasing in UnoCSS. If you get a chance, you can update your site and repo to UnoCSS not Unocss. :)

Following up on #2324 跟进 #2324
@Simon-He95 you made the same mistake I did with the uppercasing/lowercasing in UnoCSS. If you get a chance, you can update your site and repo to UnoCSS not Unocss. :)你犯了与我在 UnoCSS 中使用大写/小写相同的错误。如果有机会，可以将站点和存储库更新为 UnoCSS 不 Unocss 。:)

Thank you for mentioning it, but I have transplanted the functions of tounocss to another repo, and some of its functions will be more powerful.


Missing environment dependencies

Thank you for the great work!
Could you provide environment dependencies so we could run this code on our own device ? Thank you so much : )

Done.


feat: add Makefile to perform pre-ci check

add Makefile.toml to simplify pre-ci check:

cargo make check or cargo make c
cargo make test

Thanks for the PR but I don't want to introduce scripts like this.


PR builds don't report tests results anymore

PR builds failing because of test failures don't report the list of failing tests anymore.
For example, it says "Test result (no failures)" https://ehcache.ci.cloudbees.com/job/ehcache3-pull-requests/3197/jdk=Oracle JDK 1.8(latest),label_exp=standard,testVM=8/
when actually there were tests failing :
https://ehcache.ci.cloudbees.com/job/ehcache3-pull-requests/3197/jdk=Oracle JDK 1.8(latest),label_exp=standard,testVM=8/consoleFull
That forces developers to load the full console log; that's not very convenient and is clearly a regression

Wrong junit publisher expression now that there is a test-results/test/ subdirectory.  Corrected in this job.  I don't see any others but if I missed other jobs with this issue, let me know.


Broken tutorial links

Both tutorials here have broken links:
https://pennylane.ai/qml/demos/pytorch_noise.html
https://pennylane.ai/qml/demos/ensemble_multi_qpu.html

Links work now!


[Bug]: SHVDN crashing game on startup even with empty scripts folder

What modules are you seeing the problem on?
ScriptHookVDotNet.asi (runtime), ScriptHookVDotNet3.dll (v3 SDK/API)
SHVDN Version
0ba28ad3856908d964aa6a4c052012e818364af6
Game Version
v1.0.2944.0
Bug Description
I believe this is related to #1401 and #1402, only this time instead of getting an ASI crash message the entire game crashes. If I put a single, known good script into the scripts folder, the game still crashes, and the last line in the SHVDN.log says "Instantiating script {scriptname}" Sometimes, I can launch the game with an empty scripts folder, but then adding any script into the folder causes the game to crash. Somewhat inconsistent, very odd. I do have other graphics mods installed, such as ENB and ReShade. I have NVE as well, but I've manually disabled NVE's ReShade addon, which is what causes some random crashes that have been brought up before.
Steps To Reproduce

Install SHV, SHVDN latest nightly
Add any scripts to scripts folder
panic
game crash

Link To Code Example
No response
The Current Behavior
Game simply dies without an error message or line reference in any log file even with PDB files.
The Expected Behavior
game should launch lol

ScriptHookVDotNet.log
if I have many scripts in my scripts folder, it seems to crash on the first one it tries to instantiate

Removing ReShade seems to let the game load. Perhaps there's some kind of race condition issue here.

I have removed 17 other ASI mods from my game, leaving ReShade and  SHVDN. The game now loads. It seems there are more than two factors in this issue.

I have determined the other ASI involved. It's NVE.Reflections.asi, which patches the reflection capture to be higher resolution, lod level and view distance. I will talk to Razed and his team to see if they can replicate this issue.

I believe this issue is already resolved as how #1454 got resolved.


Grayskull e150 hangs during long inference loop

For context this code is run on a tenstorrent grayskull e150.
If I run this
    # try the forward pass on the tt-card
    module = pybuda.PyTorchModule("direct_pt", myNet())

    tt0 = pybuda.TTDevice("tt0",
                          module=module,
                          arch=pybuda.BackendDevice.Grayskull,
                          devtype=pybuda.BackendType.Silicon)

    its = 1000
    for i in range(its):
        input = torch.rand(1,1)
        print(f"PyBUDA forward pass ..... {i}")
        output = pybuda.run_inference(inputs=[input])
        print(output.get())

Everything runs as expected. But If I run this again with its=10000, the card seems to hang at the end. I get stuck with these info messages:
2024-03-04 13:49:09.189 | DEBUG    | pybuda.run.impl:_shutdown:1262 - PyBuda shutdown
2024-03-04 13:49:09.189 | DEBUG    | pybuda.device:run_next_command:416 - Received SHUTDOWN command on TTDevice 'tt0'
2024-03-04 13:49:09.189 | DEBUG    | pybuda.device:run_next_command:419 - Waiting for barrier on TTDevice 'tt0'
2024-03-04 13:49:09.190 | DEBUG    | pybuda.device:run_next_command:421 - Shutting down on TTDevice 'tt0'
2024-03-04 13:49:09.190 | DEBUG    | pybuda.run.impl:_shutdown:1278 - Waiting until processes done
2024-03-04 13:49:09.190 | DEBUG    | pybuda.backend:feeder_thread_main:142 - Run feeder thread cmd: quit
2024-03-04 13:49:09.194 | INFO     | Runtime         - Waiting for cluster completion
2024-03-04 13:49:09.194 | INFO     | PerfPostProcess - Writing the host postprocess report in /tmp/jonathan/cea3632bcf87/perf_results//host/device_alignment_th_567154466_proc_21750.json
2024-03-04 13:49:09.249 | INFO     | Runtime         - Closed all devices successfully
2024-03-04 13:49:09.249 | INFO     | PerfCheck       - Starting performance check for host events
2024-03-04 13:49:09.249 | INFO     | PerfCheck       - Finished host performance check successfully
2024-03-04 13:49:09.249 | INFO     | Debuda          - Debug server ended on
2024-03-04 13:49:09.249 | INFO     | Always          - finish_child_process called on pid 21750

myNet is defined as:
class myNet(nn.Module):
    def __init__(self):
        super().__init__()
        self.hidden = nn.Linear(1, 3)
        self.output = nn.Linear(3, 1)

    def forward(self, x):
        x = self.hidden(x)
        return self.output(x)

@JonathanALevine Do you see the outputs and info statement printed up to the 1000? i.e.
print(f"PyBUDA forward pass ..... {i}")

@milank94 Yes, outputs and infos get printed even up to 10000. See here:
PyBUDA forward pass ..... 9998
2024-03-04 14:07:34.364 | DEBUG    | pybuda.run.impl:_run_forward:641 - Running concurrent device forward: TTDevice 'tt0'
2024-03-04 14:07:34.364 | DEBUG    | pybuda.device:run_next_command:426 - Received RUN_FORWARD command on TTDevice 'tt0' / 39342
2024-03-04 14:07:34.364 | DEBUG    | pybuda.ttdevice:forward:862 - Starting forward on TTDevice 'tt0'
2024-03-04 14:07:34.365 | DEBUG    | pybuda.backend:feeder_thread_main:142 - Run feeder thread cmd: fwd
2024-03-04 14:07:34.365 | INFO     | Runtime         - Running program 'run_fwd_0' with params [("$p_loop_count", "1")]
2024-03-04 14:07:34.365 | DEBUG    | pybuda.backend:read_queues:316 - Reading output queue direct_pt.output_add_5
2024-03-04 14:07:34.365 | DEBUG    | pybuda.device_connector:pusher_thread_main:159 - Pusher thread pushing tensors
2024-03-04 14:07:34.366 | DEBUG    | pybuda.backend:push_to_queues:407 - Pushing to queue input_1
2024-03-04 14:07:34.367 | DEBUG    | pybuda.backend:read_queues:376 - Done reading queues
2024-03-04 14:07:34.367 | DEBUG    | pybuda.backend:pop_queues:382 - Popping from queue direct_pt.output_add_5
[PyBuda Tensor: tensor([[-0.3359]], dtype=torch.bfloat16, requires_grad=True), DataFormat.Float16_b]
tensor([[0.9505, 0.7036, 0.0594,  ..., 0.4409, 0.2454, 0.0907]])
PyBUDA forward pass ..... 9999
2024-03-04 14:07:34.368 | DEBUG    | pybuda.run.impl:_run_forward:641 - Running concurrent device forward: TTDevice 'tt0'
2024-03-04 14:07:34.369 | DEBUG    | pybuda.device:run_next_command:426 - Received RUN_FORWARD command on TTDevice 'tt0' / 39342
2024-03-04 14:07:34.369 | DEBUG    | pybuda.ttdevice:forward:862 - Starting forward on TTDevice 'tt0'
2024-03-04 14:07:34.369 | DEBUG    | pybuda.backend:feeder_thread_main:142 - Run feeder thread cmd: fwd
2024-03-04 14:07:34.369 | INFO     | Runtime         - Running program 'run_fwd_0' with params [("$p_loop_count", "1")]
2024-03-04 14:07:34.369 | DEBUG    | pybuda.backend:read_queues:316 - Reading output queue direct_pt.output_add_5
2024-03-04 14:07:34.370 | DEBUG    | pybuda.device_connector:pusher_thread_main:159 - Pusher thread pushing tensors
2024-03-04 14:07:34.370 | DEBUG    | pybuda.backend:push_to_queues:407 - Pushing to queue input_1
2024-03-04 14:07:34.371 | DEBUG    | pybuda.backend:read_queues:376 - Done reading queues
2024-03-04 14:07:34.371 | DEBUG    | pybuda.backend:pop_queues:382 - Popping from queue direct_pt.output_add_5
[PyBuda Tensor: tensor([[-0.3320]], dtype=torch.bfloat16, requires_grad=True), DataFormat.Float16_b]
2024-03-04 14:07:34.374 | DEBUG    | pybuda.run.impl:_shutdown:1262 - PyBuda shutdown
2024-03-04 14:07:34.374 | DEBUG    | pybuda.device:run_next_command:416 - Received SHUTDOWN command on TTDevice 'tt0'
2024-03-04 14:07:34.374 | DEBUG    | pybuda.device:run_next_command:419 - Waiting for barrier on TTDevice 'tt0'
2024-03-04 14:07:34.374 | DEBUG    | pybuda.device:run_next_command:421 - Shutting down on TTDevice 'tt0'
2024-03-04 14:07:34.374 | DEBUG    | pybuda.run.impl:_shutdown:1278 - Waiting until processes done
2024-03-04 14:07:34.375 | DEBUG    | pybuda.backend:feeder_thread_main:142 - Run feeder thread cmd: quit
2024-03-04 14:07:34.381 | INFO     | Runtime         - Waiting for cluster completion
2024-03-04 14:07:34.381 | INFO     | PerfPostProcess - Writing the host postprocess report in /tmp/jonathan/cea3632bcf87/perf_results//host/device_alignment_th_3282791031_proc_39342.json
2024-03-04 14:07:34.404 | INFO     | Runtime         - Closed all devices successfully
2024-03-04 14:07:34.404 | INFO     | PerfCheck       - Starting performance check for host events
2024-03-04 14:07:34.404 | INFO     | PerfCheck       - Finished host performance check successfully
2024-03-04 14:07:34.404 | INFO     | Debuda          - Debug server ended on
2024-03-04 14:07:34.405 | INFO     | Always          - finish_child_process called on pid 39342

But it might be the way I am running the forward pass. I am reading these docs now: https://docs.tenstorrent.com/tenstorrent/v/tt-buda/pybuda/first_model

But why would pybuda_shutdown() sequence be much longer when its=10000 then when its=1000?

But why would pybuda_shutdown() sequence be much longer when its=10000 then when its=1000?

My apologies, I miss read the 10,000..
Can you show a snipped of what you see when it is 10,000?

No worries! I added extra infos. See above.

I see, you're missing the last two Debug statements:
DEBUG    | pybuda.device:atexit_handler:919 - atexit handler called for (TTDevice 'tt0',)
INFO     | Always          - finish_child_process called on pid
DEBUG    | pybuda.device:atexit_handler:923 - atexit handler completed
INFO     | Always          - finish_child_process called on pid

Two questions to help debug:

Does it eventually fully shutdown like the 1000 sample case or is it it forever stuck there?
If you manually kill the process after it's stuck there, is the card in a bad state i.e. do you need to do a reset?

Does it eventually fully shutdown like the 1000 sample case or is it it forever stuck there?

Running it again, I will let it be for a while (maybe an hour?) and see if the card shuts down on its own.

If you manually kill the process after it's stuck there, is the card in a bad state i.e. do you need to do a reset?
If I manually kill the process with 'CTRL+C' in terminal, the card seems to be fine. I can rerun the script no problem with its=1000.

Addtionally I will change how myNet() is defined to only use PyBUDA and no PyTorch and see if that makes any difference.

Does it eventually fully shutdown like the 1000 sample case or is it it forever stuck there?

Running it again, I will let it be for a while (maybe an hour?) and see if the card shuts down on its own.

Let it attempt to shutdown on its for over an hour. The card never shutdown.

If you manually kill the process after it's stuck there, is the card in a bad state i.e. do you need to do a reset?

If I manually kill the process with 'CTRL+C' in terminal, the card seems to be fine. I can rerun the script no problem with its=1000.
Addtionally I will change how myNet() is defined to only use PyBUDA and no PyTorch and see if that makes any difference.

Running inference multiple times like this: https://github.com/JonathanALevine/tt-buda/blob/main/inference_stress_tester.py seems to run as expected.


User gets a strange blank page when the refresh token expires

I'm logging this as an issue.  The user sees a blank list of files and no errors on the front end, and on the back end we get the following error in the logs:
2015-10-20 13:41:59 -0400 (26550) AuthError occured when checking token. Exception RubyBox::AuthError : no data returned. token as expired and need to refresh it
2015-10-20 13:41:59 -0400 (26550)
ActionView::Template::Error (invalid_grant: Refresh token has expired
{"error":"invalid_grant","error_description":"Refresh token has expired"}):
13:         Modified
14:
15:
16:     <% provider.contents(browse_path).each_with_index do |file,index| %>
17:       <% if is_acceptable?(file) %>
18:         <%= render :partial => 'file', :locals => { :file => file, :index => index,
19:           :path => browse_everything_engine.contents_path(provider_name,file.id), :parent => params[:parent] } %>
oauth2 (0.9.4) lib/oauth2/client.rb:113:in request'   oauth2 (0.9.4) lib/oauth2/client.rb:138:in get_token'
oauth2 (0.9.4) lib/oauth2/access_token.rb:86:in refresh!'   ruby-box (1.15.0) lib/ruby-box/session.rb:40:in refresh_token'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.2.0/bundler/gems/browse-everything-e7c83be25ebc/lib/browse_everything/driver/box.rb:102:in refresh_token'   /opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.2.0/bundler/gems/browse-everything-e7c83be25ebc/lib/browse_everything/driver/box.rb:107:in box_client'
/opt/heracles/deploy/scholarsphere/shared/bundle/ruby/2.2.0/bundler/gems/browse-everything-e7c83be25ebc/lib/browse_everything/driver/box.rb:28:in `contents'

Essentially the same problem as #100


ADDD MORE STYLE AHAA

These are Availabe Styles, We Cannot Add More, it's limited to that sadly!
Style List:
        "anime",
        "cyberpunk",
        "detailed",
        "medieval",
        "christmas",
        "portrait",
        "professional_studio",
        "high_quality_art",
        "3d_render",
        "soviet_cartoon",
        "cartoon",
        "pencil_drawing",
        "mosaic",
        "christian_icon",
        "oil_painting",
        "renaissance",
        "classicism",
        "khokhloma",
        "picasso",
        "gonharova",
        "malevich",
        "aivazovsky",
        "kandinsky"


Emscripten and Windows cross compilation is broken

Please fix. Remove gtest from anything that is not native linux compilation.
Or use a .wrap file, though i don't think this makes sense on emscripten anyways.

I'm confused. Where are the linux executables added anyways? In meson.build I only see the windows ones

No they are not windows ones. win_subsystem is only relevant on windows and ignored anywhere else. But all those executable(...) statements run on linux too. I have only a check for emscripten because it does not need sdl2.

Oh, ok! I'll try to have the unit test run only on native linux compilattion then, if possible with a .wrap file in order to not have googletest as a dependency

You don't really need to explicitly declare gtest as a subproject though. It can use the system one without it. See how i handle sdl2.


Update links to Angular convention specification

I don't know if you want to do some Git-fu and replace 3bee9f52d0522a5e48fadd9f271cd1c9f5806408 with this, but these are the correct updated links.
Sorry about that.

Current coverage is 96.00%

Merging #625 into master will not affect coverage as of b191382

@@            master   #625   diff @@
=====================================
  Files           16     16
  Stmts         1150   1150
  Branches         0      0
  Methods          0      0
=====================================
  Hit           1104   1104
  Partial          0      0
  Missed          46     46

Review entire Coverage Diff as of b191382

Uncovered Suggestions

+0.34% via ...alidationMessages.js#25...28
+0.26% via ...s/formlyUsability.js#18...20
+0.26% via src/test.utils.js#38...40
See 7 more...

Powered by Codecov. Updated on successful CI builds.

That's fine. Thanks!


Fix VariableType::ID() error in demo_graph when constants are involved

Wrapping constant in torch.FloatTensor fixes the following error (pytorch==0.4.0, tensorboardX==1.2)
/home/dineshj/anaconda/envs/py35/lib/python3.5/site-packages/torchvision-0.2.1-py3.5.egg/torchvision/models/densenet.py:212: UserWarning: nn.init.kaiming_normal is now deprecated in favor of nn.init.kaiming_norm
al_.
Traceback (most recent call last):
File "demo_graph.py", line 94, in
w.add_graph(model, dummy_input)
File "/home/dineshj/anaconda/envs/py35/lib/python3.5/site-packages/tensorboardX/writer.py", line 419, in add_graph
self.file_writer.add_graph(graph(model, input_to_model, verbose))
File "/home/dineshj/anaconda/envs/py35/lib/python3.5/site-packages/tensorboardX/graph.py", line 85, in graph
list_of_nodes = parse(graph)
File "/home/dineshj/anaconda/envs/py35/lib/python3.5/site-packages/tensorboardX/graph.py", line 28, in parse
attrs = {k: n[k] for k in n.attributeNames()}
File "/home/dineshj/anaconda/envs/py35/lib/python3.5/site-packages/tensorboardX/graph.py", line 28, in
attrs = {k: n[k] for k in n.attributeNames()}
File "/home/dineshj/anaconda/envs/py35/lib/python3.5/site-packages/torch/onnx/utils.py", line 444, in _node_getitem
return getattr(self, sel)(k)
RuntimeError: VariableType::ID() not implemented

This should be fixed in #139 . Could you confirm that by install from source?

If your tensorboardX==1.2 is from pip, then this is expected.
And I just tested again with pip install git+https://github.com/lanpa/tensorboard-pytorch, it should be OK.


PageView item don't dispose

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

pageview.builder create has 3 items [item0,item1,item2]
first the item0 method initState() is called
then scroll item0-->item1 -->item0 very quick
the item0 widget method initState() and dispose() not called

Expected results
when scroll
item0 -->item1 -->item0

them lifecycle should
item0 dispose
item1 initState()
item1 dispose()
item0 initState()

Actual results
i dont know
Code sample
Code sample
class TestPageViewPage extends StatefulWidget {

  const TestPageViewPage({Key? key}) : super(key: key);

  @override
  TestPageViewPageState createState() => TestPageViewPageState();

}

class TestPageViewPageState extends State<TestPageViewPage> {

  List<String> list = ["Page1", "Page2", "Page3", "Page4", "Page5"];

  PageController pageController = PageController(initialPage: 0);

  int currentIndex = 0;

  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: const Text("TestPageViewPage"),
      ),
      body: PageView.builder(
          itemCount: list.length,
          scrollDirection: Axis.vertical,
          // allowImplicitScrolling: true,
          physics: const BouncingScrollPhysics(),
          controller: pageController,
          onPageChanged: (index){
          },
          itemBuilder: (BuildContext context, int index) {
            log('itemBuilder index:$index');
            String name = list[index];
            return TestRoomPage(index,name);
          }),
    );
  }

}

import 'dart:developer';

import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

import 'room_controller.dart';

class TestRoomPage extends StatefulWidget {

  final int roomIndex;
  final String roomInfo;

  const TestRoomPage(this.roomIndex,this.roomInfo, {Key? key}) : super(key: key);

  @override
  TestRoomPageState createState() => TestRoomPageState();

}

class TestRoomPageState extends State<TestRoomPage> {

  RoomController? controller;

  @override
  void initState() {
    log("Room initState:${widget.roomIndex}");
    controller = RoomController(widget.roomIndex);
    super.initState();
    controller?.initState();
  }

  @override
  void dispose() {
    log("Room dispose:${widget.roomIndex}");
    controller?.onDispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    log("Room build:${widget.roomIndex}");
    return Container(
      width: MediaQuery.of(context).devicePixelRatio.w,
      height: 400,
      color: Colors.greenAccent,
      child: Column(
        children: [
          Text("RoomIndex:${widget.roomIndex}"),
          Text("RoomInfo:${widget.roomInfo}"),
        ],
      ),
    );
  }

}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel unknown, 3.0.5, on macOS 11.6 20G165 darwin-x64, locale zh-Hans-CN)
    • Flutter version 3.0.5 at /Users/xx/development/flutter3.0.5/flutter
    • Upstream repository unknown
    • Framework revision f1875d570e (1 year, 4 months ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/xxx/development/Android/sdk
    • Platform android-34, build-tools 33.0.2
    • Java binary at: /Library/Java/JavaVirtualMachines/jdk-11.0.13+8/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment Temurin-11.0.13+8 (build 11.0.13+8)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[!] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio 2.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] IntelliJ IDEA Community Edition (version 2023.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.83.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • HLK AL00 (mobile) • C7Y6R20521024385 • android-arm64  • Android 10 (API 29)
    • macOS (desktop)   • macos            • darwin-x64     • macOS 11.6 20G165 darwin-x64
    • Chrome (web)      • chrome           • web-javascript • Google Chrome 119.0.6045.159

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Thanks for filing this.
There seems to be some missing parts in the code sample shared, can you please share with us a completed and minimal reproducible code sample for this issue to be workable?
Also, I see you are on an older version of flutter, kindly upgrade to the latest versions to confirm this issue still persists?


Unable to access the "xxxx" organization. Make sure you're signed into the right Azure account.

I'm always seeing this message. What can I do?

I tried Azure: Sign Out command and it works. I hope the error message can improve a bit. Thanks.

Hi @doggy8088, thank you for reporting.
Glad to hear that issue is solved. I will forward your suggestion to corresponding team.
Closing this one, feel free to ask any other questions or let us know if it's still relevant for you.


UnhandledPromiseRejection errors

When a fetch call fails, nodejs raises a warning:
UnhandledPromiseRejection: 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(). The promise rejected with the reason "#".
https://github.com/nemgrouplimited/symbol-node-rewards/issues/253
https://github.com/nemtech/symbol-bootstrap/issues/176

I can catch a promise rejection and manage the exception but still got the warning with "symbol-sdk": "^1.0.0-alpha-202105211327". I think the original promise rejection in the SDK hasn't been caught.
2021-05-21T21:43:04.554Z warn: [NodeService.ts]     There has been an error talking to known repo http://ec2-44-242-153-48.us-west-2.compute.amazonaws.com:3000/. Error: {"statusCode":404,"statusMessage":"Not}
Unhandled Rejection at: Promise Promise {
  <rejected> Response {
    size: 0,
    timeout: 0,
    [Symbol(Body internals)]: { body: [PassThrough], disturbed: false, error: null },
    [Symbol(Response internals)]: {
      url: 'http://ec2-44-242-153-48.us-west-2.compute.amazonaws.com:3000//node/info',
      status: 404,
      statusText: 'Not Found',
      headers: [Headers],
      counter: 0
    }
  }
} reason: Response {
  size: 0,
  timeout: 0,
  [Symbol(Body internals)]: {
    body: PassThrough {
      _readableState: [ReadableState],
      readable: true,
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      _writableState: [WritableState],
      writable: false,
      allowHalfOpen: true,
      _transformState: [Object],
      [Symbol(kCapture)]: false
    },
    disturbed: false,
    error: null
  },
  [Symbol(Response internals)]: {
    url: 'http://ec2-44-242-153-48.us-west-2.compute.amazonaws.com:3000//node/info',
    status: 404,
    statusText: 'Not Found',
    headers: Headers { [Symbol(map)]: [Object: null prototype] },
    counter: 0
  }
}

I've got the same problem.
When I tried to announce an transaction to the api 'http://ngl-dual-001.symbolblockchain.io:3000',  my process crashed.
I found an error was throw from here. If I subscribed the announce result in TransactionService.ts, the error can be caught and no crash occurs.
The error should have been thrown before the connection established, which is {"statusCode":503,"statusMessage":"Service Unavailable","body":"{"code":"ServiceUnavailable","message":"connection failed"}"}
So please help to fix this issue~

Awsome fining @zhjjj , I've created the PR https://github.com/nemtech/symbol-sdk-typescript-javascript/pull/795 @rg911


General Animations are bugged

When inserting a card or money, or extracting the card/money the items just yeet away and are not like in the past, without changing anything. Did reset and everything, but the card keeps flying away for some reasons, like the money does, some wierd stuff

Yeah, that sounds very weird, i hope you fixed it


fix: let nx generate correct package.json

NX strikes again 😅
Looks like with the update to version 15.3, it started generating the libraries with a different file structure, and it's causing this error TS7016: Could not find a declaration file for module '@ts-rest/react-query'.

NX automatically generates this if it is not declared explicitly
{
  "module": "./index.js",
  "main": "./index.cjs",
  "type": "module",
  "types": "./src/index.d.ts"
}

@ts-rest/react-query is the only package with these paths explicitly declared and became invalid when nx started generating index.d.ts inside ./src/index.d.ts instead of ./index.d.ts

Ahh! Good catch, I wonder if somewhere in this repo we should have a non NX app which imports the libs to sanity check them, rather than using NX to import the TS code directly.

Yeah, same train of thought came to me when I noticed that this wasn't caught by any tooling. I just tested a quick idea in apps/example-microservice/web-app/src/main.tsx changing the react-query import into import { initQueryClient } from '../../../../dist/libs/ts-rest/react-query', and that would have errored out before this fix.


Develop

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@42812e9). Click here to learn what that means.
Patch has no changes to coverable lines.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main       #2   +/-   ##
=======================================
  Coverage        ?   95.12%
=======================================
  Files           ?        9
  Lines           ?       41
  Branches        ?        0
=======================================
  Hits            ?       39
  Misses          ?        2
  Partials        ?        0

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


Different destination dir when generating using 3.2.7 VS 4.1.1 ??

Discussed in https://github.com/WsdlToPhp/PackageGenerator/discussions/261

Originally posted by mwolff-fn February  3, 2022
Hi,
I was using the PackageGenerator via wsdltophp.phar in version 3.2.7 before and now I joyfully discovered that I can now install the latest version via Phar, so I did that, upgrading to 4.1.1.
Now, when I run the generator using the exact same settings as before, the directory structures of the generated files will be completely different. Suppose I run this command with wsdltophp.phar 3.2.7 (additionally, the "standalone" option is set to false in wsdltophp.yml):
wsdltophp generate:package --urlorpath="./resources/SERVICE.wsdl" --destination="./proxy/soap/$SERVICE" --namespace="My\\Namespace\\Proxy\\Soap\\SERVICE" --force --verbose
...then I will get the following directory structure:
/project_root
  /proxy
    /soap
      /SERVICE
        /Enum
          ...enum class files...
        /Service
          Service.php
        /Struct
          ...struct class files...
        ClassMap.php
        tutorial.php

...and all class files will be generated with the namespace prefix "My\Namespace\Proxy\Soap\SERVICE", followed by the category name (e.g. "\Service", "\Enum", "\Struct").
If I wanted to generate proxy classes for multiple services, I just need to point Composer's autoloader to /proxy/soap for all namespaces beginning with My\Namespace\Proxy\Soap and I'm done.
Now, if I re-generate the proxy classes using the exact same configuration with the wsdltophp.phar version 4.1.1, then I'm getting this directory structure instead:
/project_root
  /proxy
    /soap
      /SERVICE
        /My
          /Namespace
            /Proxy
              /Soap
                /SERVICE
                  /Enum
                    ...enum class files...
                  /Service
                    Service.php
                  /Struct
                    ...struct class files...
                  ClassMap.php

So basically, the generator now uses the initial destination dir as a base and appends the whole namespace as subdirectory structure, which is neither desired nor the previous behaviour.
How can I fix that and regenerate the classes in the same directory structure as before, while keeping the same namespace settings??
Thanks a lot!

Hi,
I just added the comand line option namespace-directories of type bool which is true by default. In your case, you would have to pass false to keep the original behaviour you had.
Can you try the phar from https://phar.wsdltophp/wsdltophp-feature-issue-262-php7.phar or the Docker image using mikaelcom/wsdltophp:feature-issue-262?
Let me know when you had the time to check,

I just added the comand line option namespace-directories of type bool which is true by default. In your case, you would have to pass false to keep the original behaviour you had.
Can you try the phar from https://phar.wsdltophp.com/wsdltophp-feature-issue-262-php7.phar or the Docker image using mikaelcom/wsdltophp:feature-issue-262?

Works like a charm - thank you so much for the quick fix :-)


Save Taken Photo to Library

How can I do this? Something like
if let pickedImage = info[UIImagePickerControllerOriginalImage] as? UIImage {
      UIImageWriteToSavedPhotosAlbum(pickedImage, nil, nil, nil)
}

func fusumaImageSelected(image: UIImage) {

  print("Image selected")
}

You can get a selected image or a taken photo. You can save the photo to your camera roll inside this function.

There should be a built in feature that saves only photos taken with the camera. We don't have any way to tell if the image in fusumaImageSelected is from Photos or the camera, so if we always save it, we're going to end up with a lot of duplicates.


Updated python version from 3.8 to 3.9 for Security Scorecard Data Connectors

Change(s):
Updated python version fro 3.8 to 3.9 for Security Scorecard Data Connector
Reason for Change(s):
python version 3.8 will be deprecated so need to upgrade python version
Version Updated:
No
Testing Completed:
Yes
Checked that the validations are passing and have addressed any issues that are present:
Yes

Hello @niralishah-crest, Thanks for raising this PR. This Pr will be investigated and we will update you about the same before 23 July, 2024


1.3 breaks projects that include hive with carat notation in pubspec

Steps to Reproduce

Use Hive with generated code from the older API (1.2 or less).
Include hive in pubspec.yaml using carat notation (^): hive: ^1.2.0.
Run flutter packages get, which upgrades Hive to 1.3.
Build errors, since my code doesn't use the new 1.3 API:

When I call Hive.registerAdapter():
Too many positional arguments: 1 expected, but 2 found.
Try removing the extra arguments.

Declaration of my generated TypeAdapter:
Missing concrete implementation of 'getter TypeAdapter.typeId'.
Try implementing the missing method, or make the class abstract.

The best that I understand, since carat notation is shorthand for >=1.2.0 <2.0.0, 1.3 is still "allowed" when packages get resolves the package version; but 1.3 breaks the API.  It can be fixed by requiring the exact version (i.e. hive:  1.2.0 in the pubspec file), but it seems like the API break should mean v2.0, right?
Version

Platform: iOS, Android
Flutter version: 1.12.13+hotfix.5
Hive version: 1.2

Thanks for letting me know. I thought ^1.2.0 is shorthand for >=1.2.0 <1.3.0.
In the future I will create a new major version for changes that are likely breaking for many users.

Same problem

@gogreen42
Just use
hive: 1.2.0

and you should be fine.

thanks a lot ,issue solved
dont use carot notation " ^"  use hive: 1.2.0
problem solved

I'm having the same problem here.
I'm a beginner in flutter, I'm wondering why it is still error, I already follow about what should be the remedy. If I remove the carat notation and type flutter clean, and  flutter pub get or just flutter pub get, it gives me this error.
Because every version of flutter_test from sdk depends on path 1.8.0-nullsafety and hive >=0.4.1 <1.4.0-dev depends on path >=1.6.0 <1.7.0, flutter_test from sdk is incompatible with hive >=0.4.1 <1.4.0-dev.
Running "flutter pub get" in basicDB...                               So, because basicDB depends on both hive 1.3.0 and flutter_test any from sdk, version solving failed.
Running "flutter pub get" in basicDB...
pub get failed (1; So, because basicDB depends on both hive 1.3.0 and
flutter_test any from sdk, version solving failed.)
I have no choice but to put that notation again.
I've already done about flutter packages get
still the type adapter is error.

Duplicate of #290
I used the decorator like this @HiveType(typeId: 0)
(The Hive docs need to be updated, BTW. The typeId argument isn't mentioned.)
Fill up the missing override typeId:
@override
final typeId = 0;
Don't forget to run flutter pub run build_runner build to generate the code.


CIV-7748 - Button to Hearing Notice in Dashboard

JIRA link
https://tools.hmcts.net/jira/browse/CIV-7748
Change description
Documents page:

Button allows for download:

Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

Do not merge until claim and caseProgression model has been resolved to nested structure


Add metrics for batch pending max elapse time

Why are the changes needed?

add metrics kyuubi.operartion.batch_pending_max_elapse for the batch pending max elapse time, which is helpful for batch health monitoring, and we can send alert if the batch pending elapse time too long
For GET /api/v1/batches api, limit the max time window for listing batches, which is helpful that, we want to reserve more metadata in kyuubi server end, for example: 90 days, but for list batches, we just want to allow user to search the last 7 days. It is optional. And if create_time is specified, order by create_time instead of key_id.
https://github.com/apache/kyuubi/blob/68a6f48da53dd0ad2e20b450a41ca600b8c1e1d2/kyuubi-server/src/main/resources/sql/mysql/metadata-store-schema-1.8.0.mysql.sql#L32

How was this patch tested?

GA.
Was this patch authored or co-authored using generative AI tooling?

No.

Codecov Report
Attention: Patch coverage is 0% with 43 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (2ab2789) to head (1e93dd2).
Report is 1 commits behind head on master.

Files with missing lines
Patch %
Lines

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
0.00%
12 Missing :warning:

...ache/kyuubi/server/KyuubiRestFrontendService.scala
0.00%
11 Missing :warning:

...pache/kyuubi/server/metadata/MetadataManager.scala
0.00%
8 Missing :warning:

.../apache/kyuubi/server/api/v1/BatchesResource.scala
0.00%
3 Missing :warning:

...yuubi/server/metadata/jdbc/JDBCMetadataStore.scala
0.00%
3 Missing :warning:

...g/apache/kyuubi/session/KyuubiSessionManager.scala
0.00%
3 Missing :warning:

.../apache/kyuubi/server/metadata/MetadataStore.scala
0.00%
2 Missing :warning:

...a/org/apache/kyuubi/metrics/MetricsConstants.scala
0.00%
1 Missing :warning:

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #6829   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files         687     687
  Lines       42439   42473   +34
  Branches     5791    5795    +4
======================================
- Misses      42439   42473   +34

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

thanks for the comments, will address it today

Thanks, merged to master/1.10


Redgate SQL Search 0.3.5 release

 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.:x: cjheppell sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@cjheppell we'll be pushing extension updates early Monday morning (along with Nov release).  I'll publish this update then.


bug fix for num_rl_vehicles during reset

Pull request information

Status: ? (ready to merge / in development)
Kind of changes: ? (bug fix / new feature / documentation...)
Related PR or issue: ? (optional)

Description

? (general description)

Pull Request Test Coverage Report for Build 5513

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.55%

Totals

Change from base Build 5509:
0.0%

Covered Lines:
9332

Relevant Lines:
10421

💛  - Coveralls


MLDB-1508 json import improvements

This removes many of the bottlenecks and inefficiencies in JSON importing.  It moves the speed up from parsing around 16,000 complex records per second to around 23,000.

This is using import.text with parse_json() ?

No it's import.json

oh... I was planning on retiring that procedure and recommending that we use import.text with parse_json() as * in the select parameter.

Doesn't import.json basically just do that under the hood anyway?

Not really.  Import JSON has optimizations which will be harder to achieve with generic text import.  I agree with the goal though... In the end JSON is just text.

In any case, this PR doesn't modify the importers directly.  It improves the efficiency of the underlying mechanisms.

Ok. I assumed that import.text would be faster because memory mapped..?
Does import.json do that trick too?
On Tuesday, 22 March 2016, Jeremy Barnes<EMAIL_ADDRESS>wrote:

In any case, this PR doesn't modify the importers directly. It improves
the efficiency of the underlying mechanisms.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/mldbai/mldb/pull/278#issuecomment-200052199

--
Nicolas Kruchten, Eng  |  Staff Software Engineer at Datacratic  |
http://datacratic.com/

Yes, that part of the machinery is common.  Although in the tests I'm running the file is compressed and so not memory mapped.

Ok. And what is the performance loss from import.json to import.text?
On Tuesday, 22 March 2016, Jeremy Barnes<EMAIL_ADDRESS>wrote:

Yes, that part of the machinery is common. Although in the tests I'm
running the file is compressed and so not memory mapped.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/mldbai/mldb/pull/278#issuecomment-200083294

--
Nicolas Kruchten, Eng  |  Staff Software Engineer at Datacratic  |
http://datacratic.com/

We can test it.  It may not be much.  There are other performance improvements (sharing column names and other schema elements) that would be harder to do in the more generic context though not impossible.
Alternatively we could keep two implementations buy switch them based upon matching a pattern in the select expression.  That way at least it becomes an implementation detail.

Looks good, just a couple of suggestions but otherwise +1


Speeding up training time

Hi, thanks for open sourcing this amazing work.
I was wondering why it takes so long to train with multi-resolution grids from Instant-NGP. Intuitively, I would expect it to be sort of "instant". One of the authors of Instant-NGP recently gave a talk at ECCV (https://vimeo.com/764661490) claiming that the speed-up is given by 1) the hash encoder, 2) fully-fused neural networks (i.e. from https://github.com/NVlabs/tiny-cuda-nn) and 3) efficient rendering. You clearly have 1), but maybe missing 2) and 3).
Is this the case, or am I missing something else? Do you think it's possible to achieve "instant" training of MonoSDF somehow? Thank you in advance for your answer!

Hi, I think it's possible to speed up the training with technique from instant-ngp.

Yes. 2) it's not supported because we need double backward of the MLP. 3) what do you mean by efficient rendering?

What do you mean by "double backward"? Is it for computing the Eikonal loss?
For efficient rendering, the talk was not particularly clear, he just mentioned skipping empty parts and something like that. I might have to look into their code to get a better grasp.
Thank you anyway, I just wanted to know if you think this is possible :)

Yes, we need to compute the eikonal loss which needs double backward.

For efficient rendering, one could use something like https://github.com/KAIR-BAIR/nerfacc which has implemented effieicnet ray marching and volume rendering.  An example that uses this technique in the realm of surface volume rendering is https://github.com/bennyguo/instant-nsr-pl. I'm currently working on porting over monosdf/neuris to this to speed things up hopefully!


Hover State of Anchor Tag Test Insufficient

Challenge Name

http://beta.freecodecamp.com/en/challenges/applied-visual-design/adjust-the-hover-state-of-an-anchor-tag
Issue Description

This challenge was updated recently with PR https://github.com/freeCodeCamp/freeCodeCamp/pull/13604. The second test now only requires that you change the color of the tag while hovering to blue.

The anchor tag should have a color of blue on hover.

This test only checks for the word blue. The instructions only ask for blue, but do not specify how it should be blue i.e. RGB? Hex code?
Proposed Changes
So I propose the regex be something like this.
- /a:hover\s*?{\s*?color:\s*?blue;\s*?}/gi
+ /a:hover\s*?{\s*?color:\s*?(blue|#0000ff|#00f)\s*;\s*?}/gi

Test Regex: https://regex101.com/r/mCY6xJ/2
Which means this line should be changed to include something like this
- code.match(/a:hover\\s*?{\\s*?color:\\s*?blue;\\s*?}/gi)
+ code.match(/a:hover\\s*?{\\s*?color:\\s*?(blue|#0000ff|#00f)\\s*;\\s*?}/gi)

Browser Information

Browser Name, Version: Chrome 56.0.2924.87 (64-bit)
Operating System: Linux
Mobile, Desktop, or Tablet: Desktop

Screenshot

Can I do this?

can I?

@erictleung There are so many options:
From @szib:
rgba(0,0,255,1)
rgb(0%,0%,100%)
hsl(240,100%,50%)
hsla(240,100%,50%,1)

Thus also
rgba(0, 0, 255, 1)
rgba(0%, 0%, 100%, 1)
rgb(0%, 0%, 100%)
rgb(0, 0, 255)
hsl(240, 100%, 50%)
hsla(240, 100%, 50%, 1)

and your originals
#0000FF
#00F
blue

While the last three plus rgb(0, 0, 255) will cover most of the cases, maybe it would be a better idea to change the description to require use of the keyword blue

@systimotic mmm yeah, good point. Should we just change the seed code to use black instead of #000 to make it consistent?

@erictleung @systimotic once we are able to solve #10749 then we can use $('a').hover().css('color'), which would check for all the cases

@BhaveshSGupta thanks for looking at this! I neglected to do my due diligence on looking at past issues and think a bit before posting :stuck_out_tongue_closed_eyes: Mmm so I guess this issue should just be blocked until #10749 gets resolved. I might have to play around with this issue a bit more. I'll keep this issue blocked for now.

Thanks everyone. I will pick this issue after it is unblocked.

@BhaveshSGupta Good idea!
@erictleung I don't think we need to wait for that issue. That issue appears only in Firefox, and for all CSS tests. If we can get this to work in Chrome, it should also work in Firefox once that issue is resolved.

@systimotic I am trying to figure out vanilla, version for this, Still not close, If we do it by vanilla js it may also work on  Firefox. And that could be used for other challenges where this #10749 issue is there.

@BhaveshSGupta If you have a working jQuery solution, that would be fine as well! Once we solve #10749, that would mean that it would make your test work in Firefox as well.

@systimotic jQuery version is ready I can change whenever that get solved

@BhaveshSGupta The issue has been resolved! Can you submit a PR to fix this?

@systimotic I think I have made a mistake here, using $(a).hover().css(color) wont work, I am still trying to figure out a solution for this.

Hello everyone,
It seems jQuery doesn't have a solution for getting css properties of :hover.
I was reading about this and came across this http://jsfiddle.net/3FYz6/.
This seems to work.
We can use this but I seems unnecessary to me to have a JS solution for this. I think we can just include the possible color values mentioned above in the regular expression and that would suffice. There's almost no possibility of a camper trying to use some other color value.

Too bad that there isn't a simple JS solution for this. I guess you can go ahead with adding more color values to the regex @prateekgoel 👍

Thanks @systimotic . I am on it,

Can anyone please review the PR?

I'm closing this issue as stale since it hasn't been active lately. If you think this is still relevant to the newly updated platform, please explain why, then reopen it.

you have to a link to the actual i.e; first 'a' rule like this way a: link {}