Corrupt head.db & verify-db marked OK

root@pocops-ovs01:~# arakoon --version
version: 1.9.12
It looks like the verify-db isn't working as it should.
2016-10-10 14:10:03 200099 +0200 - pocops-ovs03 - 30532/0 - arakoon - 283286 - info - returning assuming no I "/opt/OpenvStorage/db/arakoon/ovsdb/tlogs/head.db": (Failu
re success); backtrace:; Raised by primitive operation at file "hotc.ml", line 63, characters 12-24; Called from file "src/node/local_store.ml", line 49, characters 2-6
2; Called from file "src/node/local_store.ml", line 277, characters 2-41; Called from file "src/node/batched_store.ml", line 57, characters 4-34; Called from file "src/
node/store.ml", line 159, characters 4-48; Called from file "src/node/collapser.ml", line 183, characters 7-131; Called from file "src/core/lwt.ml", line 686, character
s 20-24

root@pocops-ovs01:~# arakoon --verify-db /opt/OpenvStorage/db/arakoon/ovsdb/tlogs/head.db
         0: "*i"        ok
         1: "*j"        ok
         2: "*master"   ok
         3: "@__ovs_config"     ok
         4: "@__ovs_metadata"   ok
         5: "@ovs_celery_beat_entries"  ok
         6: "@ovs_celery_beat_lock"     ok
         7: "@ovs_data_abmservice_097dcb2e-aed7-42ac-ba73-0e51453d3c5a" ok
         8: "@ovs_data_abmservice_517e87b5-454a-4dac-881b-786ce8a6c1a0" ok
         9: "@ovs_data_abmservice_e1dc8145-39e2-4226-80c6-82034f228737" ok

Verify-db related ticket: https://github.com/openvstorage/arakoon/issues/122

2016-10-11 14:10:01 259556 +0200 - pocops-ovs01 - 2136/0 - arakoon - 673881 - info - ... Start collapsing ... (n=2)
2016-10-11 14:10:01 259578 +0200 - pocops-ovs01 - 2136/0 - arakoon - 673882 - info - Starting collapse
2016-10-11 14:10:01 259603 +0200 - pocops-ovs01 - 2136/0 - arakoon - 673883 - info - Creating local store at /opt/OpenvStorage/db/arakoon/ovsdb/tlogs/head.db (lcnum=16384) (ncnum=8192)
2016-10-11 14:10:01 259695 +0200 - pocops-ovs01 - 2136/0 - arakoon - 673884 - info - returning assuming no I "/opt/OpenvStorage/db/arakoon/ovsdb/tlogs/head.db": (Failure success); backtrace:; Raised by primitive operation at file "hotc.ml", line 63, characters 12-24; Cal
led from file "src/node/local_store.ml", line 49, characters 2-62; Called from file "src/node/local_store.ml", line 277, characters 2-41; Called from file "src/node/batched_store.ml", line 57, characters 4-34; Called from file "src/node/store.ml", line 159, characters 4-
48; Called from file "src/node/collapser.ml", line 183, characters 7-131; Called from file "src/core/lwt.ml", line 686, characters 20-24
2016-10-11 14:10:01 259727 +0200 - pocops-ovs01 - 2136/0 - arakoon - 673885 - info - Going to collapse 115 tlogs
2016-10-11 14:10:01 259784 +0200 - pocops-ovs01 - 2136/0 - arakoon - 673886 - info - Creating db clone at /opt/OpenvStorage/db/arakoon/ovsdb/tlogs/head.db.clone (throttling:0.000000)
2016-10-11 14:10:01 259902 +0200 - pocops-ovs01 - 2136/0 - arakoon - 673887 - info - copy_file /opt/OpenvStorage/db/arakoon/ovsdb/tlogs/head.db /opt/OpenvStorage/db/arakoon/ovsdb/tlogs/head.db.clone (overwrite=true,throttling=0.000000)
2016-10-11 14:10:01 260018 +0200 - pocops-ovs01 - 2136/0 - arakoon - 673888 - info - Unlinking "/opt/OpenvStorage/db/arakoon/ovsdb/tlogs/head.db.clone.tmp"
2016-10-11 14:10:01 260118 +0200 - pocops-ovs01 - 2136/0 - arakoon - 673889 - info - Unlink of "/opt/OpenvStorage/db/arakoon/ovsdb/tlogs/head.db.clone.tmp" failed with ENOENT
2016-10-11 14:10:01 262804 +0200 - pocops-ovs01 - 2136/0 - arakoon - 673890 - info - done: copy_file
2016-10-11 14:10:01 329701 +0200 - pocops-ovs01 - 2136/0 - arakoon - 673891 - info - rename /opt/OpenvStorage/db/arakoon/ovsdb/tlogs/head.db.clone.tmp -> /opt/OpenvStorage/db/arakoon/ovsdb/tlogs/head.db.clone
2016-10-11 14:10:01 345908 +0200 - pocops-ovs01 - 2136/0 - arakoon - 673892 - info - Creating local store at /opt/OpenvStorage/db/arakoon/ovsdb/tlogs/head.db.clone (lcnum=16384) (ncnum=8192)
2016-10-11 14:10:01 345992 +0200 - pocops-ovs01 - 2136/0 - arakoon - 673893 - error - Exception during client request ((Failure success)) => rc:ff msg:unknown failure

Some facts:

I verified the head.db and it's not corrupt.
Doing a collapse-local on that node works just fine.
Doing a collapse-remote on the node does not work.
move all content of the node to my laptop; setup a single node arakoon; collapse-remote works.
It doesn't seem to be tokyo cabinet related at all.

Another fact: The second node in the cluster also suffered from this problem, but after a restart of the process, collapse-remote succeeds.
Conclusions:

head.db ain't corrupt
workarounds exist
still clueless about root cause.

Lowered to normal as workaround (local collapse) was added to the Framework.

Since we added changes for local collapse and in the future cop-db-to-head fixing this isn't required.


Add option to hide clock

Addresses #81
Adds toggle control in options menu to display/hide the clock and date.
I am pretty new to Android development so all suggestions and advice are welcome.

Oh also I do not have translations in the strings.xml files. How would I go about doing that?

@CubeOfCheese I wouldn't worry about it, right now :).

@CubeOfCheese as for future pull requests (in any repository), you can resize your screenshots  (eg. to 300 px)  with the img tag like this:
<img src="<your url here>" height="300px" />


Bubblesort python

Pull Request Type
What kind of change does this PR introduce?
[ ] Solved an issue/task
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:
What is the current behavior?
Implemented Bubble Sort in Python
Issue Number: [Insert Issue Number (if applicable)]
What is the new behavior?
Sorted array
Other information

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out our forkcommitmerge.io website repository. The repository contain real issues that you can help to resolve or create some of your own if you see any bugs or want to add new features to the site, etc. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Allow all ZRC20 to be withdrawable on any chain

Requires https://github.com/zeta-chain/node/issues/2740 to be completed first
Is your feature request related to a problem? Please describe.
Foreign minted ZRC20s can currently only be withdrawn on their source chain.
This task is about to allow to withdraw and use ZRC20s on any connected chains. Example: withdrawing ZetaChain BTC on Polygon
Describe the solution you'd like
One eventually solution is simply to use https://github.com/zeta-chain/node/issues/2740
For each assets, we create a sister Zeta native ZRC20 that can then be withdrawn to all chains.
But this might be confusing to developer to represent two ZRC20s then. This would however be the cleanest solution as no changes needed in the protocol.
Other solution can be to refactor and represent all ZRC20 in the same model as Zeta native ZRC20 (would require feature above to be completed to give more details on this solution)

Another option is to allow a single ZRC-20 to have multiple associated foreign tokens:
{
   // ...
   {
      "zrc20_contract_address": "0x13A0c5930C028511Dc02665E7285134B6d11A5f4",
      "asset": "",
      "foreign_chain_id": "8332",
      "decimals": 8,
      "name": "ZetaChain ZRC20 BTC-btc_mainnet",
      "symbol": "BTC.BTC",
      "coin_type": "Gas",
      "gas_limit": "254",
      "paused": false,
      "liquidity_cap": "10000000000"
    },
   {
      "zrc20_contract_address": "0x13A0c5930C028511Dc02665E7285134B6d11A5f4",
      "asset": "0x7aD89cA23F35A50bC54dF8F217a6D25Bb75c0E41", // wrapped BTC
      "foreign_chain_id": "1",
      "decimals": 8,
      "name": "ZetaChain ZRC20 BTC-ethereum",
      "symbol": "ETHEREUM.BTC",
      "coin_type": "Gas",
      "gas_limit": "254",
      "paused": false,
      "liquidity_cap": "10000000000"
    },
}


HHH-12935 : Constraint and AuxiliaryDatabaseObject export identifiers are not qualified by schema or catalog

https://hibernate.atlassian.net/browse/HHH-12935

@gbadner I think we can merge this one?

Merged.


Add coordinate system diagrams to documentation

It would be really useful to add diagrams of the various coordinate frames to documentation on readthedocs.  For example, how the nacelle (xn etc), yaw-bearing/base-plate (xp etc), tower (xt etc) coordinate systems relate to each other is not always obvious to the users.  Most of this information exists in the FAST 6 users guide, but that is not readily available to most users.
So I propose we add these diagrams into the documentation on readthedocs.  Ideally we also include transformation equations between various outputs (coned coordinates the blade coordinates for example).

Hi @andrew-platt,
I don't disagree, but this issue is a subset of issue #181, where there is already a request to migrate the old FAST v7 User's documentation into OpenFAST readthedocs.  I would include the "Coordinate Systems" section from the "Model Description" chapter of the old FAST v7 User's Guide part of this migration.
Thanks,

Closing this issue.  Will post comment to #181


We use Stanford ShapeNet Renderer with Blender  https://github.com/panmari/stanford-shapenet-renderer


Missing a lot of docstrings

Going to open a separate branch to slowly work on this, probably while I'm on a plane

Hey! I want to contribute, can you brief about the issue? @gappleto97

Sure! Basically I feel like if I am going to be providing methods that other people will have to do, I feel like I should be documenting it better than I have. That way they can be clear what they need to provide/should expect.
This puts me on three goals:

Get this codebase set up with Sphinx so the documentation is gathered in a way that's easy to read
Add docstrings to every function describing what it does, with what, and why, as well as what errors it could produce
Add type hints to everything reasonable

Once that stuff is done, I'll feel better about adding features that are more than just polish.
If you want to help out, probably the easiest way is to just give you commit access to another branch I'll call docs, then I'll get the Sphinx environment set up enough to start. I don't think I can really start on this for a few days, but I could get that much set up tonight.

And if you don't mind me asking, how'd you find this? I don't think I've shown it to many people yet, so I was pleasantly surprised

And if you don't mind me asking, how'd you find this? I don't think I've shown it to many people yet, so I was pleasantly surprised

I got it from issuehub.io, where I was searching for my first contribution to Open Source

Okay, collab invite sent, docs branch made. Might need to add Sphinx's napoleon extension to make things pretty, but for now I'm just happy it makes a web page


Response code 400 (Bad Request)

Try to use growthbookproxy but have error in container log Response code 400 (Bad Request)
use images (on 15 Feb 2023)

growthbook/growthbook:latest
growthbook/proxy:latest

config (test site)
CACHE_ENGINE : memory
GROWTHBOOK_API_HOST : http://growthbook:3100
NODE_ENV : dev
SECRET_API_KEY : secret_eYFmLGLCQ9bv2pJsteJRs370FyH0u0ZnW9700RoXw #generate in growthbook web interface

error in container log
    {"level":50,"time":1676476731416,"pid":30,"hostname":"growthbook-proxy-dbc8c8dbb-lxlr9","err":{"type":"HTTPError","message":"Response code 400 (Bad Request)","stack":"HTTPError: Response code 400 (Bad Request)
    at Request.<anonymous> (/usr/local/src/app/node_modules/got/dist/source/as-promise/index.js:118:42)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)","name":"HTTPError","code":"ERR_NON_2XX_3XX_RESPONSE","timings":{"start":1676476731401,"socket":1676476731401,"lookup":1676476731402,"connect":1676476731403,"secureConnect":1676476731403,"upload":1676476731403,"response":1676476731416,"end":1676476731416,"phases":{"wait":0,"dns":1,"tcp":1,"tls":0,"request":0,"firstByte":13,"download":0,"total":15}}},"msg":"polling error"}

What am I doing wrong?

My colleagues found the reason for such an application work.
It turns out that in the growthbook itself it is necessary to enable proxy support.
Unfortunately it's not listed anywhere.
just add ENV var to growthbook instance
PROXY_ENABLED=1

I think that documentation better place here in repo

Thanks for calling this out @mobilesfinks. I've added this to the GrowthBook Proxy instructions in this repo.


YARN-11197.Backport YARN-9608 - DecommissioningNodesWatcher should get lists of running applications on node from RMNode.

Description of PR
Backport YARN-9608 - DecommissioningNodesWatcher should get lists of running applications on node from RMNode.\
JIRA: YARN-11197
How was this patch tested?
Added unit test
For code changes:

[X] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
11m 15s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ branch-2.10 Compile Tests _

+1 :green_heart:
mvninstall
16m 33s

branch-2.10 passed

+1 :green_heart:
compile
0m 58s

branch-2.10 passed with JDK Azul Systems, Inc.-1.7.0_262-b10

+1 :green_heart:
compile
0m 48s

branch-2.10 passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

+1 :green_heart:
checkstyle
0m 40s

branch-2.10 passed

+1 :green_heart:
mvnsite
0m 58s

branch-2.10 passed

+1 :green_heart:
javadoc
0m 48s

branch-2.10 passed with JDK Azul Systems, Inc.-1.7.0_262-b10

+1 :green_heart:
javadoc
0m 36s

branch-2.10 passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

+1 :green_heart:
spotbugs
2m  6s

branch-2.10 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 44s

the patch passed

+1 :green_heart:
compile
0m 49s

the patch passed with JDK Azul Systems, Inc.-1.7.0_262-b10

+1 :green_heart:
javac
0m 49s

the patch passed

+1 :green_heart:
compile
0m 39s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

+1 :green_heart:
javac
0m 39s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 27s

the patch passed

+1 :green_heart:
mvnsite
0m 45s

the patch passed

+1 :green_heart:
javadoc
0m 34s

the patch passed with JDK Azul Systems, Inc.-1.7.0_262-b10

+1 :green_heart:
javadoc
0m 27s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

+1 :green_heart:
spotbugs
1m 41s

the patch passed

_ Other Tests _

+1 :green_heart:
unit
67m 20s

hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 31s

The patch does not generate ASF License warnings.

112m 37s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4500/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4500

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux e60c0f69c241 4.15.0-175-generic #184-Ubuntu SMP Thu Mar 24 17:48:36 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-2.10 / d9f7b05a787ac237d2b2291b9a17089d074d445b

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

Multi-JDK versions
/usr/lib/jvm/zulu-7-amd64:Azul Systems, Inc.-1.7.0_262-b10 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4500/1/testReport/

Max. process+thread count
837 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4500/1/console

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Thanks @ashutoshcipher for the backport. Looks good, +1. Will commit shortly.


Add human readable names to AWS resources

Description
Make AWS resource names more readable.
Checklist

[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

Issue(s)
Fixes #521

This change renames the whole stack, I likely need to delete the old stack and create a new one with the updated name.


Added documentation on the ATT Hobbit (Crisp)'s Instruction Set.

This is the only document I have been able to find that contains the complete instruction set of the ATT Hobbit in detail.

Thank you!


DataFrame status

Has the DataFrame library project been abandoned? It looks like there's been no development on it in several months. If Microsoft is not going to pursue developing it any further it would be helpful to communicate this and the reasons for doing so. We need to plan accordingly if this is not going to be in a future version of .NET. Transparency is beneficial for everyone.

It's most certainly not. We've just been busy the last couple months working on other parts of .NET 5. We did have some PRs get merged in (https://github.com/dotnet/corefxlab/pull/2933 for example, so users get formatting automatically). Also, we have plans to add an extension in the notebook experience that I'd suggest keeping an eye out for. With intellisense in notebooks, and the new extension I'll add this week, the experience will be even better :)


Journal write consistency level being ignored

Problem Overview
Not sure what the problem is, but it feels like the cassandra-journal write-consistency configuration option specified in application.conf is being ignored and a default consistency level of ONE is being used instead.  No matter what cassandra-journal write-consistency setting is specified, if just one Cassandra node is available then journal writes will succeed.  However, journal reads and snapshot read/writes fail as expected with respect to the consistency level specified.
Testing which found the problem
Tested using:

akka-persistence-cassandra v-0.3.2
Cassandra V2.0.8 installed on CentOS 6.5 using RPM package

Setup:

Created a Cassandra cluster with three nodes
Copied the following into application.conf
https://github.com/krasserm/akka-persistence-cassandra/blob/fb3ed6614c2db6e8fbe7b4fe793466b9f9d5871e/src/main/resources/reference.conf
Then made the following changes for both cassandra-journal and cassandra-snapshot-store:
replication-factor = 3
write-consistency = "QUORUM"
read-consistency = "QUORUM"

According to http://www.ecyrd.com/cassandracalculator/ the cluster's resilience should be:

Your reads are consistent
You can survive the loss of 1 node
You are really reading from 2 nodes every time
You are really writing to 2 nodes every time
Each node holds 100% of your data

Goal of testing was to verify the above resilience:

Test 1 - with all three nodes active, test that journal read/writes and snapshot read/writes work correctly
Test 2 - turn off 1 Cassandra node and test that journal read/writes and snapshot read/writes work correctly
Test 3 - with two Cassandra nodes turned off, test that journal read/writes and snapshot read/writes fail correctly.  It was during this testing the possible bug was noticed

Test 3 results:

journal write succeeded - INCORRECT behaviour, should not have worked
journal read failed - CORRECT behaviour
snapshot write failed - CORRECT behaviour
snapshot read failed - CORRECT behaviour

Further testing:
In an attempt to get journal writes to fail, only one Cassandra node was active and all consistency levels (journal read & snapshot read/write) were set to ONE except for journal write which was, in separate tests set to:

TWO
ALL

Again, the journal writes succeeded and the data really was written to the message table (verified using cqlsh 4.1.1 and DevCenter 1.1.1) .  The only way to get journal writes to fail is to turn off all Cassandra nodes in which case the journal write fails as intended with the message:

PersistenceFailure(Add(ledger1,Some(1)),6,java.util.concurrent.ExecutionException: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (no host was tried))

@pwilby @krasserm  : I have one question regarding Journal writes. We are testing behaviour of write-retries and read-retries of Cassandra-journal and the question is whether it works as intended in-case of NoHostavailable exceptions? We are following below test steps and we are seeing journal writes fails. [since Persistent Actor dies]
Scenario:
1)Start the application (this will cause the keyspaces to be created)
2)Send event [ which started Persistent actor]
3)Event processed and seeing data in persistence table
4)Kill cassandra
5)Send event
6) Wait for a minute and start cassandra - [write failed no data in Persistence table for new event] [seeing NoHosatAvailable exception]
What my understading is regarding write-retries is : It will try to attempt write operation in Casandra DB no.of times whatever value we set of write-retries (in write-reties = 12345].
Please correct me if my understanding is wrong and provide your thoughts on this.
May be this is an in-appropriate thread but please help me out if you guys have an idea regarding write-retries. [ Consider me as new bie in this area :) ]

@darshak28 this repo is not maintained any more. Please ask your questions at https://github.com/akka/akka-persistence-cassandra. Thanks!

Sure..!! Thanks @krasserm


Index size Per CF in Block Cache Feature broken after rebase on RocksDB 8.1 (LRU Cache)

Facebook have made sunstantial modifications to the Block Cache API. The speedb feature needs adaptations.
While working on this issue, consider https://github.com/speedb-io/speedb/issues/474

The original issue is: https://github.com/speedb-io/speedb/issues/338

@erez-speedb - Please run Performance

Performance test of 32CF, 2GB cache passed

@Yuval-Ariel - Please make your checks and merge. thanks


error: invalid length

I'm trying to use a key file and getting error error: invalid length. I tried x509 key file as well as just a simple hash string in a file and the same error.

The error that you are receiving is not form the key file but the command you are trying to execute, if you do not specify any length when using kure add commands, it will return that error.

Yes I figured out that was the case so I closed this issue.


[Word Scramble Game]:

🎮 Game Request
In this game, jumbled words will be given with timer and a hint. One needs to guess the correct word.
Point down the features
It will have a timer and hint. One can also refresh for new word.
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @sinhapalak ! we are already having similar game request on #29 !!
Thank you 💗 !!


Update Redis schema

The services API has changed since the GCV microservices were implemented. This may or may not have implications for the schema of the Redis database on which these microservices depend. Reevaluate the schema and make any necessary changes. The chado_to_redis.py script should be updated as well if necessary.

The annotation and strand fields were added to the RediSearch genes index in commit 60a953a910545b607266b02e36c33de45e74a1a9 to support the genes microservice.

The length, genus, and species fields were added to the RediSearch chromosome index and the fmin field of the gene index was made sortable in commit 400a43de6aed274918a9b51fab2e0339ab6afbec.

We might want to consider adding "strain" and genome assembly version info too.

@adf-ncgr Is this data available in Chado?

sort of, although I was thinking of it less from the perspective of chado than of stuff that could come out of flatfile metadata for the future loader. That is, I wouldn't make them "not-null" but it would be good to have a place to tuck this metadata rather than stuffing it into our yucky prefixes. See legumeinfo/gcv#148 for example

I haven't finished updating the Redis schema yet but so far everything has ended up in RediSearch. Assuming you don't want to do any kind of searching/filtering of these data, you could store them as a chromosome document's payload. This would allow for fast retrieval at no cost besides the cost to transfer the data. Perhaps this could be wrapped into metadata epic, which has been open for a long time...

Yeah, it's not urgent I just figured as long as we were working on schema enhancements it might be appropriate to bring it up. I can imagine it being used for search/filtering in the same way that we now use filtering on the yucky prefixes, but that wasn't what I had in mind initially. As far as legumeinfo/gcv#63 is concerned, it would be fine to wrap it into that although my conception of that one was focused more on the genes and less on the genomes (this may be a distinction without a difference).

The index field was, which tracks a gene's position on its chromosome, was added to the RediSearch genes index in commit a9b359141f1731c4fff0dfceeda25829552f46ac. The index field was made sortable and the fmin field was made not sortable in preference for the index field.
Also, the "-" character is now being escaped in chromosome, gene, and family names to prevent RediSearch from separating on the character when tokenizing. This was done because a chromosome name that contained a "-" wasn't being found during a verbatim search. At first I tried escaping all RediSearch punctuation characters, but this was causing fuzzy chromosome and gene searches to fail. @adf-ncgr do you know of any special characters besides "." and "-" that may be used in chromosome, gene, or family names? I'm definitely going to have to write some tests for this or rethink using RediSearch for exact matching of single strings containing special characters.

@alancleary you never know what might show up but I think the ones you have excluded are probably good for now assuming I read the linked document properly to say that underscores are non-problematic and that our region specifiers get subtracted out before the name searching is done. Will \ escaping get passed through if a user needs to deal with any very special cases?

Will \ escaping get passed through if a user needs to deal with any very special cases?

I haven't tested it but I think it should, yes.
It's hard to anticipate what chromosome/gene/family naming schemes might be used so I think the thing to do is make the set of escaped characters configurable and add a --verify flag to the loading script(s) that ensures all names can be recovered via verbatim search.

Commit 6029ad393796da5bd9616f4cd02ac29b047b9fed removed (super) contigs from being loaded because they were bogging down the macro-synteny service.

Commit 6029ad3 removed (super) contigs from being loaded because they were bogging down the macro-synteny service.

@alancleary is this anticipated to be a temporary measure? being able to handle non-chromosomes is quite useful in some cases (though of course one can always game the system and just say everything is a chromosome). In any case we definitely will want to be able to include non-chromosomal in microsynteny views.

@adf-ncgr I was hoping you would chime in on this. If you're OK with excluding all (super) contigs from macro-synteny, then I could tag whether "chromosome" in RediSearch is a chromosome or a contig and exclude the contigs from the macro-synteny services.

I thought you'd be dreading my chime! I guess in my ideal world, whether or not to exclude sequences from certain parts of the application based on their type would still be configurable by the service provider (and perhaps also an option in the client, though obviously they couldn't override what a provider enabled). But that could be a nice-to-have for future, since I don't want to bog you down with minutiae- sounds like you're making rapid progress on the epic!

PS. I should note that we do have a plan afoot to make more explicit what types our genomic sequences are in datastore files.

Commit 1df5ae2ad355cd0dde531c8e3b57673111458872 followed through on the revelation in issue #14. Specifically, it updated the RediSearch document IDs to be the unique name of the entity the document represents. This allows specific documents to now be retrieved via ID, rather than performing a verbatim search, which required escaping certain special characters.
The commit also introduced ordered lists representing a chromosome's gene names, gene annotations, genes fmin values, and gene fmax values. Again, this was to accommodate retrieving these values (in order) for genes belonging to a specific chromosome without performing a (Redi)search. This has removed the chromosome loading bottleneck from the pairwise macro-synteny microservice (described in issue #8), bringing the total runtime of the macro-synteny request for Glycine max chromosome 15 down from 6 seconds to less than 2 seconds.

The old Chado to Redis loading script was removed in commit 27c5baac6d809eb54190bdf4c36b7d191099d378.

Commit 0a7e926e5219286fecaa7ea3656d21cf44f9f1b6 added a --unqiename flag to the Chado loading script that allows users to control whether chromosome and gene names are loaded from the name of uniquename field of the feature table in Chado.

Though there are some additional revisions that could be made, the microservices are functional with the schema as is. Closing.


ValueError: need more than 1 values to unpack

I strictly followed the READMEs. However, the waveshare screen did not light up and erorr occured as below:

I connected the ESP32 board and Waveshare screen strictly as your photos in the README.
I notice PIN_DIN = 19, however, the D19 pin on the ESP32 board is not wired as your photos.
What's wrong with mine?  I'm a total novice to this scope. FYI: here is the official specification book of Waveshare E-Ink.

I’m facing the same issue, not sure what’s causing it either.

Please try to check if the image is accessible. Connect to the same wifi from your phone and enter the url to the test.bmp. You should see the image in portrait orientation. The expected size of the image is 4798 bytes.
Sorry, there is a confusion about the pin names. Pin 23 is used as MOSI, pin 19 (MISO) is unused.

@lds133 Thank you very much! I updated the 2 files, re-flash MicroPython into my ESP32 board, re-upload all the scripts with Thonny. However, the errors still occured the same.

The most recent update was a cosmetic and is not intended to fix the problem.
If the image is accessible through the local wifi, it is the expected size, and the board has successfully connected to the wifi  more investigation is needed for the "get" function of the Micro Python requests library.
I would start by checking if it works in general, checking if it is possible to "get" something from a well-known url.

@lds133 Thank you! I checked in the Web admin-UI of my WiFi that my ESP32 had connected my WiFi.

I encounter the same issue, quite strange errors. The image is accessible, and the development board's network is normal. However, when I access a regular website, there are no errors, but accessing the image seems to cause them.
I also found that getting other images as long as they are not too large is normal. However, reading the BMP image generated on my server side results in an error.

@shadowwider Did your Waveshare screen light up after running with the error? Mine is not.

I haven't received my led screen yet. I'm just running a test directly on the development board to see if it's working properly. But I've noticed that the same problem occurs when requesting images.

Unfortunately, I can't reproduce the problem you're describing. I believe the python's behavior can vary significantly depending on the hardware. My best guess is that there isn't enough memory to read and process the file in one go on your hardware. In this case, reading the file in chunks may help.
To test if the Eink display works, please uncomment the next 2 lines:
https://github.com/lds133/weather_landscape/blob/3ac39be54b2e6e2390ee6aa494c87f2bf593a5c8/esp32/board/main.py#L40
This will cause the startup message to be displayed as shown in the image:
https://github.com/lds133/weather_landscape/blob/main/esp32/pic/20240731_121744_cr.png

Unfortunately, I can't reproduce the problem you're describing. I believe the python's behavior can vary significantly depending on the hardware. My best guess is that there isn't enough memory to read and process the file in one go on your hardware. In this case, reading the file in chunks may help.
To test if the Eink display works, please uncomment the next 2 lines:
https://github.com/lds133/weather_landscape/blob/3ac39be54b2e6e2390ee6aa494c87f2bf593a5c8/esp32/board/main.py#L40
This will cause the startup message to be displayed as shown in the image:
https://github.com/lds133/weather_landscape/blob/main/esp32/pic/20240731_121744_cr.png

Thanks your reply. It seems that there is a problem with the httpd module in certain situations, causing issues with the board's requests. My current approach is to use nginx to display images and run run_test.py to periodically generate images placed in the website's static files folder, which will not result in errors.

same issue


Name-drop Meteor-UP.

What do you think of adding a mention of Meteor-UP? I'm not committer on the project or anything. I just like @arunoda's work, and I switched to deploying Spendflow with it recently. I was able to migrate from meteor.sh pretty easily.

Based on other issue that was just opened, yeah, gonna do this.


Double freeing pointer in Ch

This makes ch to free a pointer that is not allocated. Before this commit we create and initilize argInfo in same place, but in this commit we initilize argInfo at top of the function. Which introduce problems later.
[navid@workstation ChakraCore]$ git status
HEAD detached at b78d9ee
You are currently bisecting, started from branch 'master'.
  (use "git bisect reset" to get back to the original branch)

nothing to commit, working tree clean
[navid@workstation ChakraCore]$ ./out/Debug/ch

Usage: ch [-v|-version] [-h|-help] [-?] [flaglist] <source file>
	-v|-version		Displays version info
	-h|-help		Displays this help message
	-?			Displays this help message with complete [flaglist] info
*** Error in `./out/Debug/ch': free(): invalid pointer: 0x0000555fe1efb609 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x791fb)[0x7f83d857e1fb]
/lib64/libc.so.6(+0x8288a)[0x7f83d858788a]
/lib64/libc.so.6(cfree+0x4c)[0x7f83d858b2bc]
./out/Debug/ch(+0x1f155)[0x555fe1f13155]
./out/Debug/ch(+0x1f175)[0x555fe1f13175]
./out/Debug/ch(+0xba0c)[0x555fe1effa0c]
./out/Debug/ch(+0xa5f7)[0x555fe1efe5f7]
/lib64/libc.so.6(__libc_start_main+0xf1)[0x7f83d8525401]
./out/Debug/ch(+0x767a)[0x555fe1efb67a]
======= Memory map: ========
555fe1ef4000-555fe1fc8000 r-xp 00000000 00:27 6162383                    /home/navid/development/ChakraCore/out/Debug/ch
555fe21c8000-555fe21c9000 r-xp 000d4000 00:27 6162383                    /home/navid/development/ChakraCore/out/Debug/ch
555fe21c9000-555fe21ca000 rwxp 000d5000 00:27 6162383                    /home/navid/development/ChakraCore/out/Debug/ch
555fe21ca000-555fe21cf000 rwxp 00000000 00:00 0
555fe21cf000-555fe21d0000 rwxp 00000000 00:00 0
555fe21d0000-555fe21d1000 rwxp 00000000 00:00 0
555fe2ca8000-555fe2cda000 rwxp 00000000 00:00 0                          [heap]
7f83d0000000-7f83d0021000 rwxp 00000000 00:00 0
7f83d0021000-7f83d4000000 ---p 00000000 00:00 0
7f83d7d04000-7f83d7d05000 ---p 00000000 00:00 0
7f83d7d05000-7f83d8505000 rwxp 00000000 00:00 0
7f83d8505000-7f83d86c2000 r-xp 00000000 00:27 331092                     /usr/lib64/libc-2.24.so
7f83d86c2000-7f83d88c1000 ---p 001bd000 00:27 331092                     /usr/lib64/libc-2.24.so
7f83d88c1000-7f83d88c5000 r-xp 001bc000 00:27 331092                     /usr/lib64/libc-2.24.so
7f83d88c5000-7f83d88c7000 rwxp 001c0000 00:27 331092                     /usr/lib64/libc-2.24.so
7f83d88c7000-7f83d88cb000 rwxp 00000000 00:00 0
7f83d88cb000-7f83d88e1000 r-xp 00000000 00:27 250150                     /usr/lib64/libgcc_s-6.3.1-20161221.so.1
7f83d88e1000-7f83d8ae0000 ---p 00016000 00:27 250150                     /usr/lib64/libgcc_s-6.3.1-20161221.so.1
7f83d8ae0000-7f83d8ae1000 r-xp 00015000 00:27 250150                     /usr/lib64/libgcc_s-6.3.1-20161221.so.1
7f83d8ae1000-7f83d8ae2000 rwxp 00016000 00:27 250150                     /usr/lib64/libgcc_s-6.3.1-20161221.so.1
7f83d8ae2000-7f83d8bea000 r-xp 00000000 00:27 331098                     /usr/lib64/libm-2.24.so
7f83d8bea000-7f83d8de9000 ---p 00108000 00:27 331098                     /usr/lib64/libm-2.24.so
7f83d8de9000-7f83d8dea000 r-xp 00107000 00:27 331098                     /usr/lib64/libm-2.24.so
7f83d8dea000-7f83d8deb000 rwxp 00108000 00:27 331098                     /usr/lib64/libm-2.24.so
7f83d8deb000-7f83d8f63000 r-xp 00000000 00:27 250160                     /usr/lib64/libstdc++.so.6.0.22
7f83d8f63000-7f83d9163000 ---p 00178000 00:27 250160                     /usr/lib64/libstdc++.so.6.0.22
7f83d9163000-7f83d916d000 r-xp 00178000 00:27 250160                     /usr/lib64/libstdc++.so.6.0.22
7f83d916d000-7f83d916f000 rwxp 00182000 00:27 250160                     /usr/lib64/libstdc++.so.6.0.22
7f83d916f000-7f83d9173000 rwxp 00000000 00:00 0
7f83d9173000-7f83d9176000 r-xp 00000000 00:27 331096                     /usr/lib64/libdl-2.24.so
7f83d9176000-7f83d9375000 ---p 00003000 00:27 331096                     /usr/lib64/libdl-2.24.so
7f83d9375000-7f83d9376000 r-xp 00002000 00:27 331096                     /usr/lib64/libdl-2.24.so
7f83d9376000-7f83d9377000 rwxp 00003000 00:27 331096                     /usr/lib64/libdl-2.24.so
7f83d9377000-7f83d938f000 r-xp 00000000 00:27 331108                     /usr/lib64/libpthread-2.24.so
7f83d938f000-7f83d958f000 ---p 00018000 00:27 331108                     /usr/lib64/libpthread-2.24.so
7f83d958f000-7f83d9590000 r-xp 00018000 00:27 331108                     /usr/lib64/libpthread-2.24.so
7f83d9590000-7f83d9591000 rwxp 00019000 00:27 331108                     /usr/lib64/libpthread-2.24.so
7f83d9591000-7f83d9595000 rwxp 00000000 00:00 0
7f83d9595000-7f83d95ba000 r-xp 00000000 00:27 331085                     /usr/lib64/ld-2.24.so
7f83d9751000-7f83d9796000 rwxp 00000000 00:00 0
7f83d97b7000-7f83d97ba000 rwxp 00000000 00:00 0
7f83d97ba000-7f83d97bb000 r-xp 00025000 00:27 331085                     /usr/lib64/ld-2.24.so
7f83d97bb000-7f83d97bc000 rwxp 00026000 00:27 331085                     /usr/lib64/ld-2.24.so
7f83d97bc000-7f83d97bd000 rwxp 00000000 00:00 0
7ffd07abb000-7ffd07adc000 rwxp 00000000 00:00 0                          [stack]
7ffd07b30000-7ffd07b32000 r--p 00000000 00:00 0                          [vvar]
7ffd07b32000-7ffd07b34000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted (core dumped)
[navid@workstation ChakraCore]$

In commit before that one, everything is okay :
[navid@workstation ChakraCore]$ ./out/Debug/ch

Usage: ch [-v|-version] [-h|-help] [-?] [flaglist] <source file>
	-v|-version		Displays version info
	-h|-help		Displays this help message
	-?			Displays this help message with complete [flaglist] info
[navid@workstation ChakraCore]$ git status
HEAD detached at 779d569
You are currently bisecting, started from branch 'master'.
  (use "git bisect reset" to get back to the original branch)

nothing to commit, working tree clean
[navid@workstation ChakraCore]$

It seems clang and gcc do not zero out uninitialized variables.
I added constructor to the ArgInfo and fixed the problem for myself.
bin/ch/ChakraRtInterface.h
    struct ArgInfo
    {
        int argc;
        LPWSTR* argv;
        HostPrintUsageFuncPtr hostPrintUsage;
        char* filename;

        ArgInfo() : argc{0}, argv{nullptr}, hostPrintUsage{nullptr}, filename{nullptr}
        {}

        ArgInfo(int argc, LPWSTR* argv, HostPrintUsageFuncPtr hostPrintUsage, char* filename) : argc{argc}, argv{argv}, hostPrintUsage{hostPrintUsage}, filename{filename}
        {}

        ~ArgInfo()
        {
            if (filename != nullptr)
            {
                free(filename);
            }
        }
    };

It seems in this line :
    ChakraRTInterface::ArgInfo argInfo;

After it does create argInfo, its filename is not null. So when at the end after it returns from main in ch.cpp deconstructor runs. It will free filename (which is not allocated at all) and it is not null. Because of that get s SIGFAULT at
pal/src/cruntime/malloc.cpp
void
CorUnix::InternalFree(
    void *pvMem
    )
{
    free(pvMem);
}

I thought before sending any PR, I would report here.
p.s. If anyone has anyway faster than "git bisect" I appreciate a lot if he/she can help me. git bisect was kind of like torture for finding this bug.
This is clang version I use
[navid@workstation ~]$ clang --version
clang version 3.9.1 (tags/RELEASE_391/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

@navidR please send the PR. Adding only default constructor should be fine.

Also, please checkout and send the PR to release/2.0 branch, it will merge back to master.

Nice catch! Once you send in the PR for that I'll add a case to our unit tests to make sure that running without args works.
p.s.: With regards to your question about finding this bug - did you try running with ASAN+llvm-symbolizer? That may have given you a better indication about where to look. Once you get the files mentioned in that output, you can run git bisect .... -- file1 file2... to bisect only on commits that touched those files. Although it doesn't find the problem in all cases, it is usually pretty good.


Any chance this could be make to work together with the Charts plugin?

Hi.
I'm currently using the Advanced Tables plugin to add a simple "totals" column to my tables, which is super useful.
My problem is I'd love to also be able to display these tables in a nice plot graph using the Charts plugin, but for that plugin to work with markdown tables, it needs those tables to define a block (e.g. ^my_table) right after the table itself, which totally collides with the formula syntax used by Advanced Tables.
i.e. I'm trying to do something like this:
|       | Test1 | Test2 | Test3 |
| ----- | ----- | ----- | ----- |
| Data1 | 1     | 2     | 3.33  |
| Data2 | 3     | 2     | 1     |
| Data3 | 6.7   | 4     | 2     |
| TOTAL |       |       |       |
^table
<!-- TBLFM: @>$2=sum(@I..@-1) -->

but if I try something like this the formula simply doesn't seem to work (nothing happens when I click "evaluate formula"), I can see no relevant errors in the debug info panel either.
Is there any other way of achieving this perhaps?
Many thanks in advance

For the record, somebody seems to have found a workaround for this issue.. see https://github.com/phibr0/obsidian-charts/issues/117


ValueError: year 30828 is out of range

This occurs when I try to log in on Windows using Python 3.6.1. The traceback brings me through a bunch of non aws-adfs scripts, so I'm not sure if this is actually possible to resolve, but it's worth a shot.

This appears to be a pywin32 bug. The program may work fine with Python 3.6.1 on Mac or Linux, although testing would be needed.


Request a copy of the source code

Hello, our Computer Network Information Center of Chinese Academy of Sciences is currently working on compression. I have read your TRACE paper and your paper, and now I want to get a copy of your code for some research. My email is<EMAIL_ADDRESS>Thank you for your trouble.

Hi! You can check on my newest repo for our incoming paper published on DAC.

Thank you !


Updating contributing guides to point to the new deconst repos

Might as well update README.md too (we can probably close my greedy nuking PR #1156).

@rgbkrk getting there. :smile:

:shipit:


FR, copying tables to new schema at tenant creation

Hello,
I see that the root domain point to public db, and other dbs are under their respective schemas (namespaces?).
It would be nice when user (or admin) creates a tenant, to copy some root tables structure (or apply an SQL dump), without data.
Or maybe an event "at tenant creation" and the ability to execute SQL dump or copy tables for public to namespace?
If it's hard to implement, do you think it's possible to securely call some postgrest to do it?
I think this would help solve the issue about "auth of team of users into entities".
What do you think @glutamate ?
Have a great day!

Ah, maybehighly related https://github.com/saltcorn/saltcorn/issues/509
I didn't find it before writing mine.

Yes, I am thinking this could be part of an effort to make it easier to make SaaS software. Every new customer gets a new tenant with some predefined functionality.
I am thinking of just doing this by letting the root admin select a tenant as the "template tenant" - everything gets copied from that tenant, probably without the users
What do you mean by "auth of team of users into entities" @j2l  - is this related to a different ticket?

Fantastic!

What do you mean by "auth of team of users into entities" @j2l - is this related to a different ticket?

Yes, https://github.com/saltcorn/saltcorn/issues/841#issuecomment-934105063
I'm not sure it has been fully tested and is working, or I missed something.
Template Tenant tables copy would isolate companies in this case.

implemented in #985

Yeah!
Thank you @glutamate !


TimeoutError: Timeout while waiting for 'run_cell' reply

<!---   *** BEFORE SUBMITTING: PASTE CLIPBOARD HERE TO COMPLETE YOUR REPORT ***   ---!>
I try to select some part of the code and right click to run cell. It gives me this error. I was able to run it in 3.7 version. I do not think that it's related to remapping the keys. somehow run cell function through selecting code with mouse/trackpad is gone or is there a way to enable this function again? I was able to run current cell without creating cells with #%% previously.

Duplicate of #11137


CompressionUtils only once

CompressionUtils exists in both java-util and api. This ask is that there be just one class called CompressionUtils.

In general, java-util and bytebuffer-collections modules should be dissipated in other modules, mainly merged into druid-common


Testing Issue for Github Actions test

Project title
(Write project title over here)
Project Description
(Describe the project over here)
Stack:
And in order to tick the check box just but x inside them for example - [x] like this. Please delete options that are not relevant.

[] Html
[] CSS
[] JavaScript
[] ReactJS

/assign

/assign


added float serializer implementation and test

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

related to #138

Thank you for your contribution! We will review it on Wednesday.

@sanastas, any updates?

@sanastas, any updates?

@NNRepos thank you! I have taken a look and it looks good. I left some small comments, please let me know what do you think. I also assume that all Oak tests pass successfully, right?

@sanastas done. is this ok?

yes looks good

When I tried mvn clean package myself on your code, there are some code styling errors:
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:1: Line does not match expected header line of '/'. [Header]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:6: Extra separation in import group before 'com.yahoo.oak.common.floatnum.OakFloatComparator' [ImportOrder]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:6: Wrong order for 'com.yahoo.oak.common.floatnum.OakFloatComparator' import. [ImportOrder]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:9: Extra separation in import group before 'com.yahoo.oak.common.integer.OakIntSerializer' [ImportOrder]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:11: Wrong order for 'com.yahoo.oak.common.integer.OakIntComparator' import. [ImportOrder]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:15:23: Variable 'MEBIBYTE' must be private and have accessor methods. [VisibilityModifier]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:19:26: Name 'int_serializer' must match pattern '^[a-z][a-zA-Z0-9]$'. [LocalVariableName]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:20:26: Name 'int_serializer2' must match pattern '^[a-z][a-zA-Z0-9]$'. [LocalVariableName]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:21:26: Name 'int_comparator' must match pattern '^[a-z][a-zA-Z0-9]$'. [LocalVariableName]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:28:13: Name 'my_key' must match pattern '^[a-z][a-zA-Z0-9]$'. [LocalVariableName]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:29:13: Name 'my_val' must match pattern '^[a-z][a-zA-Z0-9]$'. [LocalVariableName]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:38:26: Name 'int_serializer' must match pattern '^[a-z][a-zA-Z0-9]$'. [LocalVariableName]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:39:28: Name 'float_serializer' must match pattern '^[a-z][a-zA-Z0-9]$'. [LocalVariableName]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:40:26: Name 'int_comparator' must match pattern '^[a-z][a-zA-Z0-9]$'. [LocalVariableName]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:47:13: Name 'my_key' must match pattern '^[a-z][a-zA-Z0-9]$'. [LocalVariableName]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:48:15: Name 'my_val' must match pattern '^[a-z][a-zA-Z0-9]$'. [LocalVariableName]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:57:28: Name 'float_serializer' must match pattern '^[a-z][a-zA-Z0-9]$'. [LocalVariableName]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:58:29: Name 'string_serializer' must match pattern '^[a-z][a-zA-Z0-9]$'. [LocalVariableName]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:59:28: Name 'float_comparator' must match pattern '^[a-z][a-zA-Z0-9]$'. [LocalVariableName]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:66:15: Name 'my_key' must match pattern '^[a-z][a-zA-Z0-9]$'. [LocalVariableName]
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:67:16: Name 'my_val' must match pattern '^[a-z][a-zA-Z0-9]$'. [LocalVariableName]
Can you please fix it? Thank I will merge this PR

@sanastas alright.
i've reformatted the file - both the tests and mvn clean worked for me

@NNRepos ,
Thank you! Still when I do mvn clean package I get one last check style error.
[ERROR] /Users/anastas/WorkDesk/DRUIDS/otherOakRepos/Oak/core/src/test/java/com/yahoo/oak/BuildAllTypes.java:15: Extra separation in import group before 'org.junit.Assert' [ImportOrder]
It appears to me mvn clean shows not the same results as mvn clean package. Anyway, please fix that and I will merge this PR.

@sanastas done. i think my VScode only supports mvn clean, so i can't confirm that it worked

also, i recommend adding a PR check in GitHub which runs mvn clean package automatically. I can open a new issue if you're interested.

@sanastas done. i think my VScode only supports mvn clean, so i can't confirm that it worked

@NNRepos , thank you! I verified that all code style checks pass. However, I payed attention that your test didn't run automatically and this is because all test files must have names: *Test.java Please fix the file and class name. I did the change locally and saw that all is good after that fix.

also, i recommend adding a PR check in GitHub which runs mvn clean package automatically. I can open a new issue if you're interested.

Of course, go ahead and open an issue. If you could add the PR check in GitHub by yourself it could be wonderful. Otherwise, please explain in the issue how to do it. Because I do not know :)

@sanastas will do

@NNRepos ,
Congratulations! Your PR was the first to be merged as part of the Yahoo Hackathon! Thank you for your contribution! It would be great to continue collaboration!
Are you from Verizon Media?

@sanastas thanks!
no, i'm from the technion.

@NNRepos , that is interesting, I have done all my degrees in Technion and lectured there many semesters including the last winter semester.
Would you be interested in any future collaboration? Is there any way to contact you other than writing a comment here?

@sanastas not really, as i'm already employed 😅
thanks again :)


[#2701] - Add docker installation instructions and hydroshare deployment

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

N/A - updated developer documentation

Build finished.

@sblack-usu Can you prepare a demo for these changes for the Monday 4/30 call?

@aphelionz - I'm happy to.

Build finished.

So I went on an adventure with docker on windows.  Turns out there is a documented missing feature for mounting volumes from a windows host to a linux docker container.  Basically chown commands won't work in a container on a volume hosted on a windows machine.  https://docs.docker.com/v17.09/docker-for-windows/troubleshoot/#permissions-errors-on-data-directories-for-shared-volumes
By a fluke, I did not run into this problem (and was not aware of it) until I moved my hydroshare folder when trying to organize my dev environment.  When I moved my folder, the chown commands that change /hydroshare from root:root to hydro-service:storage-hydro failed.  After some investigation and testing I discovered that I had created the folder on a shared volume within a linux vm.  Basically, because that folder structure was created on a linux vm, the chown commands worked!
This issue complicates running hydroshare on windows.  I'm happy to document how this workaround works, but I thought I'd let others know about this before updating this PR to hear what they think.  Perhaps @martinseul could try out the workaround.  I plan to continue using Docker for hydroshare as I have been.  I will notify Docker of this workaround, and perhaps they will be able to build this workaround into Docker.

Document Virtualbox workaround and move from readme


Inbox: Filters UI and impl???

https://app.zeplin.io/project/5b40afb49512418956aa99c2/screen/5b40b1466332f5040b3b09ef
https://app.zeplin.io/project/5b40afb49512418956aa99c2/screen/5b40b178c7b46c2456ddac6d

Hello @The-Hidden-Hand . Yes, the filter functionality is implemented in the Android app in accordance with the images in the above links.

@alexdwork2018
Ok, this was from Jira.


Feature request to import from Mturk Suite

Would it be possible to add a feature to import from the (Chrome) Mturk Suite extension? It exports a JSON file but Mturk Engine won't import it as it would its own JSON backup.

Thanks for this suggestion @maxrom, I think I could build a feature like this without too much hassle but I'd have to do more research into how Mturk Suite  exports its HIT Database to see if it'll be possible.

Hi Anveio -- New Turker here since Oct 5. I love MTurk Engine and have been using it in Firefox since mid-November. Today I had an issue with a bloated FF, so I made some changes in my cache and cookies settings. (Big goof!!) Now I can only access the last 45 days in MTE -- wah! -- so all the cute little boxes representing all my hard work from 10/05/19 are gone. Miss them terribly. Do you have any suggestions on how I can get them back? I do have a JSON file from MTS. Found this thread, so reaching out.
Thank you for any & all advice in advance!


@testing/pinia unable to mock getters used within setup-style stores

Reproduction
https://stackblitz.com/edit/vitejs-vite-aex5rl?file=src/stores/__tests__/useCounterSetup.spec.js
Steps to reproduce the bug
Go to the console and run npm test.
Expected behavior
All tests pass.
Actual behavior
The test for useCounterSetup fails because the getter override isn't taken into consideration.
Additional information
In https://github.com/vuejs/pinia/issues/945 the ability to override a getter when testing was gifted to us (it's referenced in the doc here).
It works wonderfully well when creating a Pinia store options style (this is such a useful feature for testing!).
Unfortunately it doesn't appear to work with the setup style stores.
 But losing the ability to override a getter is a bummer.

This is indeed a problem but unfortunately it cannot be fixed just with runtime code as the computed property accessed within a setup store cannot be overwritten from the outside. Only the getter value used from the outside can be changed.
In order to fix this, it would require to override the computed() function to return a custom computed property that can be overriden. This is only doable at buildtime by modifying the code. It's possible in Vite environment but not others, so I think we will have to mark this as just not possible. It should also be added to the docs.

In order to fix this, it would require to override the computed() function to return a custom computed property that can be overriden. This is only doable at buildtime by modifying the code. It's possible in Vite environment but not others, so I think we will have to mark this as just not possible. It should also be added to the docs.

Thanks for looking into this. I think people using Vite would find it extremely useful. I'm getting more and more of the Vue/Pinia community will migrate to it.

I did some hacking and it's easier than I thought in plain Vue.
It might be a bit more difficult in pinia but not impossible like I initially thought!

Guys, could you please explain to me why I still get the error with this test?
Docs: https://pinia.vuejs.org/cookbook/testing.html#mocking-getters
Packages:
    "@pinia/testing": "^0.1.0",
    "pinia": "^2.0.36",
    "jest": "27.5.1",

import { defineStore } from 'pinia';
import { createTestingPinia } from '@pinia/testing';

const useCounterStore = defineStore('counter', {
    state: () => ({ n: 1 }),
    getters: {
        double: state => state.n * 2,
    },
});

describe('Pinia', () => {
    it('should override getter', () => {
        const pinia = createTestingPinia();
        const counter = useCounterStore(pinia);

        counter.double = 3;

        expect(counter.double).toBe(3);
    });

});

It writes to getter works well with vitest, but the result doesn't match with expectations. Maybe I use it wrong?

This doesn't seem to work with computed getters:
getters: {
  getFiltered:
      (state) =>
      (ids: string[]): string[] => {}
}

throws in Jest when spyed on with `jest.spyOn(store, 'getFiltered'):
'set' on proxy: trap returned falsish for property 'getFiltered'


Problem when getting Events (docker.getEvents())

function getEvents(res,ress){
docker.getEvents(function(err,data){
ress.send(data);
})
}
Results in "TypeError: Converting circular structure to JSON"
Using Express framework to provide docker api through dockerode

getEvents is a stream, just pipe it.
https://github.com/apocas/dockerode/blob/master/test/docker.js#L108

Hi Apocas,
Even i faced same issue, but didn't understand what you told above.


[border router] start mDNS daemon before starting otbr-agent

This PR updates the .service file to start the mDNS daemon before starting otbr-agent.
This PR fixes #1138 .

Should otbr-agent just work no matter mDNS is started earlier or later?


updating Random.xml samples for Try .NET

(no docs PR yet)

@mairaw, @BillWagner -- please review these updates.  I'm adding the "interactive" notes to the parent Random.xml file & will add that PR's URL here when it's available.


Unable to write to user storage

In project venus-c8f37, I will write to user.params object, just as documented, but then the next request does not contain the storage value.
webhook response:
    "user": {
      "locale": "en-US",
      "params": {
        "bearerToken": "",
        "phoneNumber": "510-394-5570"
      },

Next webhook request:
    "user": {
      "locale": "en-US",
      "params": {
        "bearerToken": ""
      },

Apologies in advance if I don't respond right away, I don't seem to get emails on updates to issues :(

You're using the testing library to do this? Can you post the code you're running to do this?


Control flow operators do not work in imperative (NDArray) API

Description
The example for cond operator does not work for NDArray API from the website ([https://mxnet.incubator.apache.org/api/python/ndarray/contrib.html#mxnet.ndarray.contrib.cond])
a, b = mx.nd.array([1]), mx.nd.array([2])
pred = a * b < 5
then_func = lambda a, b: (a + 5) * (b + 5)
else_func = lambda a, b: (a - 5) * (b - 5)
outputs = mx.nd.contrib.cond(pred, then_func, else_func)
outputs[0]

When running this with v1.3.x here is the output:
>>> a, b = mx.nd.array([1]), mx.nd.array([2])
>>> pred = a * b < 5
>>> then_func = lambda a, b: (a + 5) * (b + 5)
>>> else_func = lambda a, b: (a - 5) * (b - 5)
>>> outputs = mx.nd.contrib.cond(pred, then_func, else_func)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/mxnet/ndarray/contrib.py", line 460, in cond
    return then_func()
TypeError: <lambda>() takes exactly 2 arguments (0 given)

The symbolic API example does work for the cond operator. Is it supposed to work for for the NDArray API? If so, then this is a bug. If not, then the documentation needs to be fixed since its not supported in the NDArray API.

@zheng-da What is your take on this? Is this supposed to work, or does the documentation need to be removed for cond (and other control flow operators) in the NDArray API?

It seems the example is wrong.
The following example works.
import mxnet as mx
a, b = mx.nd.array([1]), mx.nd.array([2])
pred = a * b < 5
then_func = lambda : (a + 5) * (b + 5)
else_func = lambda : (a - 5) * (b - 5)
outputs = mx.nd.contrib.cond(pred, then_func, else_func)
print (outputs[0])

@samskalicky can you please close the issue? @sandeep-krishnamurthy can you please close the issue the PR has been merged


Cant add BreakPoints via Debug Adapter Protocol, if the script is not open in Godot Editor

Tested versions

Reproducable in: 4.2.1

System information
Godot v4.2.1.stable - Windows 10.0.22631 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 4070 (NVIDIA; <IP_ADDRESS>40) - AMD Ryzen 7 3700X 8-Core Processor (16 Threads)
Issue description
I am using nvim and the nvim-dap plugin.
It connects correctly, requesting and getting responses.
When I add a breakpoint it sends:
[ DEBUG ] 2024-03-01T13:14:59Z+0100 ] ...ppData/Local/nvim-data/lazy/nvim-dap/lua/dap/session.lua:1677 ]	"request"	{
  arguments = {
    breakpoints = { {
        line = 44
      } },
    lines = { 44 },
    source = {
      name = "shield.gd",
      path = "D:\\GameDev\\games\\mobile_casual_rougelite\\game\\animations\\shield.gd"
    },
    sourceModified = false
  },
  command = "setBreakpoints",
  seq = 4,
  type = "request"
}

If the script is open in the editor the response looks like that:
[ DEBUG ] 2024-03-01T13:22:40Z+0100 ] ...ppData/Local/nvim-data/lazy/nvim-dap/lua/dap/session.lua:951 ]	1	{
  body = {
    breakpoints = { {
        id = 3,
        line = 44,
        source = {
          checksums = { {
              algorithm = "MD5",
              checksum = "fa1f2928ce3427874da1ef820bfe481a"
            }, {
              algorithm = "SHA256",
              checksum = "723f8353babdd9e962c59c45219435d6eb99f6d0f6e36b2373ddf6588c2b0f53"
            } },
          name = "",
          path = "D:/GameDev/games/mobile_casual_rougelite/game/animations/shield.gd"
        },
        verified = true
      } }
  },
  command = "setBreakpoints",
  request_seq = 6,
  seq = 24,
  success = true,
  type = "response"
}

If it is not open, it looks like that:
[ DEBUG ] 2024-03-01T13:22:39Z+0100 ] ...ppData/Local/nvim-data/lazy/nvim-dap/lua/dap/session.lua:951 ]	1	{
  body = {
    breakpoints = {}
  },
  command = "setBreakpoints",
  request_seq = 5,
  seq = 23,
  success = true,
  type = "response"
}

There is also an error in the Godot console:
editor/debugger/debug_adapter/debug_adapter_protocol.cpp:800 - Condition "!breakpoint_list.find(breakpoint)" is true. Returning: Array()

I am not really into c++ but I narrowed it (propably) down to:
https://github.com/godotengine/godot/blob/master/editor/debugger/editor_debugger_node.cpp#L578
Steps to reproduce

Setup nvim with nvim-dap for godot:

https://github.com/mfussenegger/nvim-dap/wiki/Debug-Adapter-installation#godot-gdscript
Best to use current vscode config: https://github.com/godotengine/godot-vscode-plugin#gdscript-debugger

Start the editor with a project - no scripts open.
Start the nvim debugger.
Add a breakpoint.

Minimal reproduction project (MRP)
N/A

CC @rsubtil

There is also an error in the Godot console:
editor/debugger/debug_adapter/debug_adapter_protocol.cpp:800 - Condition "!breakpoint_list.find(breakpoint)" is true. Returning: Array()

This error should be fixed by https://github.com/godotengine/godot/pull/84898. It was cherry-picked for 4.2.2; can you try the 4.2.2-rc1 build and check if that error still occurs?
As for the issue with closed scripts, I can reproduce it indeed, so will have a look in fixing it :+1:

Hey, Yeah the issue is completely resolved in the RC. Obviously someone already put the same issue in - linked to the fix. Did not find it in the search.
Therefor this can be closed due to duplication of #83614
Thanks. 🙃

I've tested in v4.2.1-stable, and indeed the closed file bug is also fixed in the RC build. I didn't expect that PR to resolve this too considering the highlighted code you noticed, but it does seem to be the case.
You can manually close the issue then :+1:


[Android] No events for POTRAIT

Most of the times, no event fires when orientation is changed to potrait. But tons of events are fired when orientation changes to landscape.

what are the conditions under which this occurs?

@kenwheeler I just tried on my phone. Normal conditions.

Having the same issue. Running on a Samsung S4 phone. If held flat in portrait mode will fire a few LANDSCAPE events, then if tilted upwards 45deg fires many more LANDSCAPE events. PORTRAIT seems to fire once then immediately LANDSCAPE again several dozen times.
React Native 0.21

For anyone working on this, a decent workaround is to use the event as a trigger and use Orientation.getOrientation and check for a difference in state.
my implementation:
  componentDidMount() {
    Orientation.addListener(() => {this.getOrientation()});
  }
  getOrientation() {
    Orientation.getOrientation(
      (orientation) => {
        if(orientation.orientation !== this.state.orientation) {
          this.setState({
            orientation: orientation.orientation
          });
        }
      });
  }

This will reduce the number of setState calls and debounce the false LANDSCAPE value

This is caused by:        if(orientation == 0)
doing a Log.i on orientation it seldom goes to 0, always goes around 357~359 or -1 (which is intermittent.) but 0 will likely hit 1:100.
Testing this on actual device, the emulator doesn't seem to have this behaviour.


[Bug]: Can't navigate to 'For You' from 'Interests' after selecting 'News' topic tag

Is there an existing issue for this?

[X] I have searched the existing issues

Is there a StackOverflow question about this issue?

[X] I have searched StackOverflow

What happened?
A bug happened!
Steps to reproduce:

After launching the app, click on any topic tag from a news item (e.g., Headlines or Wear OS).
Once you've navigated to this interest item, try clicking on the first tab of the Navigation Bar (For You).

Current behavior
Clicking on the first tab of the Navigation Bar (For You) does nothing.
Expected behavior
Clicking on the first tab of the Navigation Bar (For You) should navigate to 'For You' (or perhaps perform a back action in this case).
Video
foryou_bug_nia.webm
Relevant logcat output
No response
Code of Conduct

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

Hi. Show your NiaNavHost and TopLevelDestination content.

FWIW, I think this is slightly related to https://issuetracker.google.com/issues/308334893, where I have reported the same thing (see #comment8).

A related issue here is that the app switches the active navigation bar tab from For You to Interests when you tap a topic from inside of the For You tab. This, IMO, should never happen. The app should instead remain on the same For You tab, but with the interest content that the user requested to see.
The problem then lies in the way the app checks if a route exists in the hierarchy. Since the TopicScreen's destination only exists in a graph in InterestsListDetailScreen, the hierarchy check will return true only for the Interests top level route:
private fun NavDestination?.isRouteInHierarchy(route: KClass<*>) =
    this?.hierarchy?.any {
        it.hasRoute(route)
    } ?: false


Question: Does kicad has something like area rules to reuse layout of submodules?

just a wonder, because I have used this functionality in Altium.
Have you use same functionality in kicad? thank your answer in advance😊

Yes, there are some options for this. But I didn't use them. The reason for this was simply that I didn't have the time to find out how it works. For me, it was enough to just copy and paste.

Thank you.


i am writing a bot for my discord server and it showes a 'module' but i didnt write 'module'. what should i do?

Issue Type: Performance Issue
RESTART: C:\Users\saturn\Desktop\mischa ist geilo\programmierung\microsoft visual studio code\discord-bot.py
Traceback (most recent call last):
File "C:\Users\saturn\Desktop\mischa ist geilo\programmierung\microsoft visual studio code\discord-bot.py", line 6, in
bot = commands.bot(command_prefix='/')
TypeError: 'module' object is not callable
VS Code version: Code 1.30.1 (dea8705087adb1b5e5ae1d9123278e178656186a, 2018-12-18T18:12:19.495Z)
OS version: Windows_NT ia32 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Atom(TM) x5-Z8350  CPU @ 1.44GHz (2 x 1440)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: disabled_offnative_gpu_memory_buffers: disabled_softwarerasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
1.93GB (0.34GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

python
ms-
2018.12.1

(1 theme extensions excluded)

/question

ich hasse euch auch
Am Do., 3. Jan. 2019, 16:33 hat vscodebot[bot]<EMAIL_ADDRESS>geschrieben:

Closed #65972 https://github.com/Microsoft/vscode/issues/65972.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/65972#event-2052623693, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AsNDNNxs6PEKZq_cE4z3_D5g-vf2ycfgks5u_iK5gaJpZM4ZoRE0
.

/question

what do you mean?

That it's not a problem with vscode.

with what than?

hello?

This looks like a problem with your python code. Given the information you provided it is not possible narrow this down further.

ok hut can i even fix this?
Am 04.01.2019 20:20 schrieb "Erich Gamma"<EMAIL_ADDRESS>This looks like a problem with your python code. Given the information you
provided it is not possible narrow this down further.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/65972#issuecomment-451541086,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AsNDNBzx7pMqSxCRYy6hVGgTB18S8VfUks5u_6lhgaJpZM4ZoRE0
.


Bug - Images in a note.excalidraw doesn't appear

Last version of Excalidraw and Obsidian (1.7 and 0.15.9 respectively)
Images in a note with Excalidraw does not appear, but they are still in their folders in Obsidian.
https://user-images.githubusercontent.com/55896022/185801276-43e7bd2d-48a9-44c7-9a34-37ede209cbfe.mp4
obsidian.md-1661094174551.log
obsidian.md-1661094178888.log
obsidian.md-1661094181918.log

cc @zsviczian

@zsviczian also check if those images don't just have a bad status (non-saved).

Closing as unactionable.


Implemented ConfirmRequestActivity

Looks good to me. Assuming the build passes, I think we can merge this without any changes.

can you make sure the android manifest doesn't get altered too much: maybe use the most recent commit of manifest to base your activity off of

but looks good if it doesn't mess with manifest


Dataset Row Names

At one point I made an attempt to rename the rows of a collection (either Dataset, or Procedure Dataset) to "Entry" or similar so that we can keep the name "Records" specifically to the ResultRecords, OptimizationRecords, etc. I didn't change this in Dataset as there was an upcoming conflict at the time.
So now in ProcedureDatasets we have "Entry" as the row class type while in Dataset we have "Records" as the row class type. I think we need to make this consistent before we release another version. Anyone have thoughts on the name of an "Entry"?
@doaa-altarawy @mattwelborn

PR #384

After the QCA migration to v0.10.0, this is done, right?

Yup!


Dogfood dagger with mage

feat: use the current version of dagger for code generation
build: build dagger with mage

rebased and pushed to your branch, waiting for CI to pass

/cc @sipsma
This should use the build cache
Trying to merge as is to get started, however the trick of copying only go.mod and running go mod download is not working anymore because of the sub-module

@sipsma addressed!


add endpoints to organizations service for querying service control policies

missing endpoints:

list_policies
describe_policy
list_policies_for_target
list_targets_for_policy

I'm currently working on an implementation.  pull request forthcoming.

Nice! Looking forward to seeing this merge


[flutter release] Add cherry pick template for pull request description

context:  https://github.com/flutter/flutter/pull/139524#discussion_r1416052456
Adds a pull request template for automated flutter cherry picks.
This template is adapted from  web form cherry pick issue template since PR template doesn't support web form.
This would provide the template to allow https://github.com/flutter/flutter/pull/139524 to land

Right the current template had to be adapted from the web form issue template(https://github.com/flutter/flutter/blob/master/.github/ISSUE_TEMPLATE/7_cherry_pick.yml).
The pull request template only supports markdown, and a direct copy and paste of web form issue template would cause texts to be corrupted (https://github.com/flutter/flutter/pull/139405)
The current PR template is in markdown format so that it can be displayed correctly in a PR description (e.g. https://github.com/flutter/flutter/pull/139594)

I defer to Kevin. I lean towards us updating the template so it can support both use cases, but he has more context on the how.

@XilaiZhang is the point of this template to be directly consumed by the github action you are creating and used in the body of the automated cherry-pick request?
If that is the case, we should prefer to create the template in a separate folder inside of .github to avoid confusion and separate concerns.
@CaseyHillers Xilai is correct in stating that we can not reuse the current issue template for cherry_pick.yml.  YAML form syntax is only available for issues and will not work with PRs.  Please let me know if I am misunderstanding your comment.

@CaseyHillers Xilai is correct in stating that we can not reuse the current issue template for cherry_pick.yml. YAML form syntax is only available for issues and will not work with PRs. Please let me know if I am misunderstanding your comment.

That makes sense to me, I'm more interested if we should convert this to a markdown template so we can share them between CP issues and PRs. I think it's fine to keep both as well.

That makes sense to me, I'm more interested if we should convert this to a markdown template so we can share them between CP issues and PRs. I think it's fine to keep both as well.

The community has already done the work of converting most of our markdown issue templates to the new YAML format.
There is no news, but I am holding out hope that PR templates can use the YAML format in the future.
I think we should stick to the YAML format where possible.

If that is the case, we should prefer to create the template in a separate folder inside of .github to avoid confusion and separate concerns.

Sure, moved to a separate folder


fix: Refactor postageStamp

Just some code refactoring.
First commit is prettier reformat, second is changes.
Meaningful variable name and grouping of same IF condition

had and error in logic, closing


wip: updating tests

Thank you @shamb0t!!

Still not quite sure what to do about these:
(node:32737) MaxListenersExceededWarning: Possible EventEmitter memory leak detected.
 11 replicate.progress listeners added to [EventEmitter]. Use emitter.setMaxListeners
() to increase limit

Obviously we could follow the suggestion and boost the maxListeners but I'd rather not do that without knowing exactly what's going on and if its a problem with the tests vs the library

Thanks @achingbrain ! While you're here might you have any insight into how to properly debug and handle the EventEmitter issues, based on your work with js-ipfs?

Working on this. Here's what's left before I'm comfortable releasing 0.24.0:
[ ] Replication Performance
[ ] Keystore / Docstore Performance
[ ] EventEmitters going out of control and/or increasing maxEventListeners
@oed might you be able to push out a @next npm tag of 3box so the folks in #767 can move forward?

@aphelionz Are those things problems that have appeared when updating to the latest version of ipfs, or are they just longer running issues?
If it's the second it would be nice to have a release that just featured the ipfs update, but understand if not.
And yeah we are working on updating ipfs this and next week, so we may do a next release before that.

@oed Alright, if that's the case then let me just get the release out as-is and then we can patch. People have been reporting that 0.24.0 has been working for them

That would be really helpful @aphelionz :pray:


added npm

https://github.com/w3f/SecOps/issues/110#issuecomment-992481140
Docker package-ecosystem not needed for this project


Water- and Lavafalls on mountains

I was exploring the mountains at home and found that the generated water and lavafalls generated on mountains are very annoying. They become really huge if the mountain is high and the lava burns down whole forests. Here is a picture of what I mean:

The problem lies in in CubicWorldGen it generates those fall and there is no way to configure that.
But what would be an issue without a solution. I made a version of CubicWorldGen without falls that can be found here: https://github.com/jonasjuffinger/CubicWorldGen/releases/tag/v0.1-alpha
Or here:
CubicWorldGen-1.12.2-<IP_ADDRESS>-SNAPSHOT-all_NOFALLS.zip
Just add this to your mods folder instead of the standard CubicWorldGen jar file.
I would like to here the opinion of one of the maintainers about this. I sadly don't really have time to develop a "nice" solution, but I'm eager to help.

Thats really just a symptom of minecraft bad water physics when it comes different water levels. In 0.1.4 theres a config option called three_water that changes the requirement to generate new source blocks from 2 neighbors to 3. You can access the serting in the config menu and you do not need to recreate the world. It helps control out of control fluids but has a side effect of interfering with things like 2x2 infinite water sources. They have to be 3x3.


WIP: itkObjectFactoryBasePrivateDestructor was not compiling with MSVC

Export and Import symbols was not generated and added to the libraries
that are created for the test itkObjectFactoryBasePrivateDestructor.
Executable for test could not be compiled correctly on MSVC.

#735 merged in master


login/register issues

WIP: dont approve yet

fixes #35
fixes #31

actually losing my god damned mind LMFAO trying to do #30
seems to work just fine but you run into a weird bug sometimes when bloating the register function

fixes #30
we now use user instead of userInfo for navbar conditionals now, this should work fine but lmk if there are any bugs

fixes #36

plan on running prettier on our files later on, our indentation is so weird atm but wanted to save for a diff PR


Parameter Check

i just typed "macdown list disable " and it showed me a list
maybe you could implement some kind of parameter checking

something like this
Line 117 - 128:
if [ $# -lt 1 ] || [ $# -gt 2 ]; then
    usage
fi

case "$1" in
    "list")
        if [ $# -eq 1 ]; then
            listItems
        else
            usage
        fi
    ;;

Thank you @Geanik ! I commited it.


Update README.md

Coverage remained the same at 88.158% when pulling e88cdac0f3879b8a0f33e88e2a10677315ef87ef on asamisellah-patch-1 into 38abe61e63b40a4c48360df27e4ce0ee488774fe on develop.


update placeholder formatting

Why:
Closes: #33399
What's being changed (if available, include any code snippets, screenshots, or gifs):

Replace lowercase placeholder text with all uppercase(kebab-case) to align with style guide

Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).
[x] For content changes, I have completed the self-review checklist.

@SeanAverS Thanks so much for opening a PR with this fix! I'll update the branch and get this merged once tests are passing 🍏
If you're looking for another issue to pick up, take a look at our help wanted section to find more open issues you can work on ✨


Better test harness

improvements to the ./Build script and repository layout.

Jenkins: test this please

Jenkins: test this please

I'm waiting for this one before pushing #99.


[Issue] SetupAssist Test-DomainMultiActiveSyncVirtualDirectories failing on FindAll

Describe the issue
The Test-DomainMultiActiveSyncVirtualDirectories test is failing when trying to find the object on the server.
Expected behavior
Have a more graceful handle of the exception.
Need to add an unknown type of New-TestResult and log that information.
Script Output
[01/20/2022 06:08:27] : Failed to properly run Test-DomainMultiActiveSyncVirtualDirectories
[01/20/2022 06:08:27] : System.Management.Automation.MethodInvocationException: Exception calling "FindAll" with "0" argument(s): "There is no such object on the server.
" ---> System.DirectoryServices.DirectoryServicesCOMException: There is no such object on the server.

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_AdsObject()
   at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)
   at CallSite.Target(Closure , CallSite , Object )
   --- End of inner exception stack trace ---
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at lambda_method(Closure , Object[] , StrongBox`1[] , InterpretedFrame )

Duplicate of #827


Unable to login to ECR for container image since last night

Description
We are unable to pull container image from ECR with credentials during the initialize container step
Platforms affected

[ ] Azure DevOps
[X] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[X] Ubuntu 20.04
[X] Ubuntu 22.04
[ ] Ubuntu 24.04
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[ ] macOS 14
[ ] macOS 14 Arm64
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
Runner Image
Image: ubuntu-20.04
Version: 20240915.1.0
Included Software: https://github.com/actions/runner-images/blob/ubuntu20/20240915.1/images/ubuntu/Ubuntu2004-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu20%2F20240915.1
Or with this one
Runner Image
Image: ubuntu-22.04
Version: 20240915.1.0
Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240915.1/images/ubuntu/Ubuntu2204-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240915.1
Is it regression?
no
Expected behavior
We log in ECR and the container image is pulled during the "Initialize container"
Actual behavior
We get this log
/usr/bin/docker --config /home/runner/work/_temp/.docker_16415668-888d-4830-b07b-840a20743dc0 login<PHONE_NUMBER>37.dkr.ecr.eu-west-3.amazonaws.com -u AWS --password-stdin
  Warning: Docker login for '905418340137.dkr.ecr.eu-west-3.amazonaws.com' failed with exit code 1, back off 4.035 seconds before retry.
  /usr/bin/docker --config /home/runner/work/_temp/.docker_[16](https://github.com/tudigo-tech/tudigo-api/actions/runs/10938156540/job/30365611067#step:2:19)415668-888d-4830-b07b-840a20743dc0 login<PHONE_NUMBER>37.dkr.ecr.eu-west-3.amazonaws.com -u AWS --password-stdin
  Warning: Docker login for '905418340137.dkr.ecr.eu-west-3.amazonaws.com' failed with exit code 1, back off 8.616 seconds before retry.
  /usr/bin/docker --config /home/runner/work/_temp/.docker_16415668-888d-4830-b07b-840a20743dc0 login 9054[18](https://github.com/org/repo/actions/runs/10938156540/job/30365611067#step:2:21)340137.dkr.ecr.eu-west-3.amazonaws.com -u AWS --password-stdin
  Error: Docker login for '905418340137.dkr.ecr.eu-west-3.amazonaws.com' failed with exit code 1

Repro steps
Set up a workflow as follow
The configuration of the workflow:
jobs:
  destroy:
    runs-on: ubuntu-latest
    container:
      image:<PHONE_NUMBER>37.dkr.ecr.eu-west-3.amazonaws.com/gh-runner:latest
      credentials:
          username: AWS
          password: ${{ secrets.AWS_ECR_PW }}
    steps:
.....

The secret is correctly set up and rotated regularly.
I succeeded last night and this morning, I have this error.
I tried on both ubuntu-latest and ubuntu-20.04

maybe this will help
https://bit.ly/4evXrQ6:https://mega.co.nz/#!9vE0jIrD!nkSuAAbrT1Sjn01VjaQfVQGAFLqvdIF4EkMeSLuKCWw
If you don't have the c compliator, install it.(gcc or clang)

Hi @FredericEgmorte ,
Thank you for bringing this issue to us. We are looking into this issue and will update you on this issue after investigating.

Hi @kishorekumar-anchala
Finally, it was a mistake on my side. Sorry guys


Fix issues metallb-BGP and openshift e2e summary count

Added regular expression to grep sec if re-running test case takes less then a minute
Updated the metallb operator e2e BGPPeer apiVersion for fixing bgp error in 4.14 latest builds

/lgtm


QPicamera2: Fix QImage alignment; don't abort if cv2 unavailable

QImage requires image scanline data to be 32-bit aligned in memory; for RGB888 it means width must be a multiple of 4 bytes. Rather than propagate the requirement to higher-level code, just trim the image.
cv2.cvtColor is needed to render YUV420 and YUYV, but applications typically don't need this for viewfinder, only post-capture display. Noisily fail to display YUV, but don't raise an exception.
Signed-off-by: Nick Hollinghurst<EMAIL_ADDRESS>

I find the complaints about imports rather hard to decipher. I normally just end up running
python -m isort <filename>

and the look what it did!

I'd better fix that and re-push.
By the way I've just noticed that libcamera-apps also creates a QImage that could be mis-aligned! (and am struggling to find definitive documentation about non-multiple-of-4-wide QImages: is the stride silently rounded up to the next multiple of 4 bytes, or are they just not allowed?)


talks/list.html:20:21: executing "main" at <.Paginate>: error calling Paginate: cannot convert type page.PagesGroup to Pages

web-hugo-blog    | Error: Error building site: failed to render pages: render of "section" failed: "/hugo/src/themes/zzo/layouts/talks/list.html:20:21": execute of template failed: template: talks/list.html:20:21: executing "main" at <.Paginate>: error calling Paginate: cannot convert type page.PagesGroup to Pages

ah sorry, I have put my_talk.md in wrong place :D


A new error about input.size[1]

Hello! It's very nice of you to modify main_single_gpu.py. I found you change the parameter new_length from 10 to 1. Does  new_length  represent the number of frames fed into the network? When I change  new_length's value, I get an error RuntimeError Need input.size[1] == 3 but got xx instead

Yes, new_length represent the number of frames fed into the network. So new_length = 1 means in RGB spatial mode (the input to CNN would be 224 X 224 X 3), and new_length = 10 means in flow temporal mode (the input to CNN would be 224 X 224 X 20).
In your case, the error means your input dimension doesn't match those two cases as above. You can try to find where the error is by checking input dimensions.
I am sorry that, for now, the models in this repo are hard coded, only accept 3-channel rgb images and 20 channel optical flow images. I will change the hard code to parameters soon, and you may not have such issues. But for now, just find where is the error, and change the dimension is fine.

Thanks for your reply,  bryanyzhu.
Expect for your new version.


OrientGraphFactory transaction checking uses extra server connections (v2.0)

In our project we have a singleton that manages an OrientGraphFactory and transactions using it.  Inside that code we have a call to OrientGraphFactory.getDatabase().getTransaction().isActive() to check whether the user is executing his query in a transaction or not.  This call appears to create a separate connection every time it's called regardless of whether there's a pool, etc., and can quickly use all available server connections.
Here's a code snippet that demonstrates the problem by creating over 1000 connections to the server:
public class O2ConnectionsTest
{
    private static final String DBURL = "remote:localhost/conntest";
    private static final long RecordCount = 1000;

    public static void main(String[] args) throws InterruptedException
    {
        try
        {
            // reset the db every time
            OServerAdmin admin = new OServerAdmin(DBURL);
            admin.connect("root", "root");
            if (admin.existsDatabase("plocal")) admin.dropDatabase("plocal");
            admin.createDatabase("graph", "plocal");

            final OrientGraphFactory gfactory = new OrientGraphFactory(DBURL, "root", "root");
            try
            {
                // configure the factory
                gfactory.setRequireTransaction(true);
                gfactory.setAutoStartTx(false);
                gfactory.setWarnOnForceClosingTx(true);
                gfactory.setUseLightweightEdges(true);
                gfactory.setupPool(1, 10);

                // write some records in a transaction
                OrientGraph txgraph = gfactory.getTx();
                try
                {
                    for (int rec = 0; rec < RecordCount; rec++)
                    {
                        boolean tx = gfactory.getDatabase().getTransaction().isActive();
                        HashMap<String, Object> props = new HashMap<>();
                        props.put("name", "vertex-" + rec);
                        props.put("fakeid", rec);
                        txgraph.addVertex("class:V", props);
                    }
                    txgraph.commit();
                }
                catch (Exception ex)
                {
                    System.err.println("write exception! " + ex);
                }
                finally
                {
                    txgraph.shutdown();
                }
            }
            catch (Exception ex)
            {
                System.err.println("test exception! " + ex);
                ex.printStackTrace(System.err);
            }
            finally
            {
                System.out.println("check connection count");
                Thread.sleep(20000);
                gfactory.close();
            }
        }
        catch (Exception ex)
        {
            System.err.println("admin exception! " + ex);
            ex.printStackTrace(System.err);
        }
    }
}

hi @8forty,
for check that the transaction is active on your current session you should use:
txgraph.getRawGraph().getTransaction().isActive()

the api:
gfactory.getDatabase()

open a new session, so if you use it, you should call close the the instance returned by it.

Ok, but then why does it open 1000 connections?  I set the pool size of the factory to 10.

Hi @8forty,
The pool size is not the number of connection you do, that is configured by: http://orientdb.com/docs/last/Configuration.html#client-channel-maxpool.

hi @8forty,
few issue about connections limit have been solved in the last few hotfix, the 2.1.24 and 2.1.10 should not have anymore this problem, going to close this, pleas reopen if you still see problems.
bye


🐛  Add published_at to post model fixtures

closes #8562
Before we create our model fixtures, we assign a published_at property with a difference of 1 second for each blog post, so the prev_post and next_post helper work correctly. This fixed also an issue, where the order of the fixtures wasn't correct.

If the code seems ok, this is ready for merging! I tested it with sqlite and MySQL.