Support - b-sdk recovery exits malfunctioning for Phantom Stable pools (Composable Stable V0)

Pool: https://app.balancer.fi/#/ethereum/pool/0x7b50775383d3d6f0215a8f290f2c9e2eebbeceb20000000000000000000000fe
Impersonated Address:
0x26743984e3357eFC59f2fd6C1aFDC310335a61c9
BptIn:
137222.962994584164061051

Hey @lgahdl
I also found the same problem in this Composable Stable pool:
Pool swETH/Boosted Aave v3 WETH
ID: 0xae8535c23afedda9304b03c68a3563b75fc8f92b0000000000000000000005a0
Impersonated Address:
0x489A3AA83C1F204f0647C67C9FBF3e7Ee1463Bc5
bptIn:
{rawAmount:<PHONE_NUMBER>7142483n, decimals: 18, address: '0xae8535c23afedda9304b03c68a3563b75fc8f92b'}
Error:
app-index.js:34 ContractFunctionExecutionError: The contract function "queryExit" reverted with the following reason:
Not implemented

Contract Call:
  address:   0xE39B5e3B6D74016b2F6A9673D7d7493B6DF549d5
  function:  queryExit(bytes32 poolId, address sender, address recipient, (address[] assets, uint256[] minAmountsOut, bytes userData, bool toInternalBalance))
  args:               (0xae8535c23afedda9304b03c68a3563b75fc8f92b0000000000000000000005a0, 0x0000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000, {"assets":["0xae8535c23afedda9304b03c68a3563b75fc8f92b","0xbb6881874825e60e1160416d6c426eae65f2459e","0xf951e335afb289353dc249e82926178eac7ded78"],"minAmountsOut":["0","0","0"],"userData":"0x00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000061724d476a7ad3","toInternalBalance":false})

Docs: https://viem.sh/docs/contract/simulateContract
Version<EMAIL_ADDRESS>    at getContractError (getContractError.js:34:12)
    at simulateContract (simulateContract.js:83:98)
    at async doRemoveLiquidityQuery (index.mjs:13894:7)
    at async RemoveLiquidityComposableStable.query (index.mjs:14083:25)
    at async ProportionalRemoveLiquidityHandler.simulate (ProportionalRemoveLiquidity.handler.ts:41:28)

Here's what I found out digging a bit deeper on this issue:

queryExit does not support recovery exits
current b-sdk implementation workaround this by querying proportional exit, which should return the same results
pools reported here are within the list of bricked pools that had their rate provider updated to revert when getRate is called
queryExit (proportional) fail/revert because they attempt to call getRate on these pools

Not sure what would be the best approach to handle these cases, but essentially we're not able to query recovery exits for these pools.

@brunoguerios - probably worth confirming with SC guys that V3 will support queries on recovery exits.


Websockets; working

Codecov Report

Merging #95 (846ee0f) into main (cdc9c0d) will decrease coverage by 2.15%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main      #95      +/-   ##
==========================================
- Coverage   62.77%   60.61%   -2.16%
==========================================
  Files          23       23
  Lines        2106     2181      +75
==========================================
  Hits         1322     1322
- Misses        610      684      +74
- Partials      174      175       +1

Impacted Files
Coverage Δ

server/config.go
100.00% <ø> (ø)

server/server.go
54.52% <0.00%> (-6.14%)
:arrow_down:

Continue to review full report at Codecov.

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


Investigate and fix the Explorer balance endpoint (Nova)

Bug description
The endpoint for Explorer address balance (Nova) doesn't return results.
[chronicle-nova-endpoint]/api/explorer/v3/balance/rms1qztphdk2lgx80d43zp3ck0elerwmytn4jy4strpcxem7entenmyzws9z6p7
Chronicle version

Chronicle version (version number, commit, or branch):  2.0

Hardware specification

Operating system:
RAM:
Cores:
Device:

Steps to reproduce the bug

Check the link, that address should have balance (if the network was reset, try any other address with and AUC associated output)

Expected behaviour
Balance data returned
Actual behaviour
No results returned

Ready to close?


Static references to Python objects are allowed, but unsafe

🐛 Bug Reports
There is no compile-time check preventing functions wrapped in PyO3 to take static references to Python objects. This allows those references to be stored and cause unsafe behavior.
Suggestion: forbid static references at compile-time (if possible), or add some documentation explaining why they shouldn't be used.
🌍 Environment

Your operating system and version: Archlinux
Your python version: 3.7.4
How did you install python (e.g. apt or pyenv)? Did you use a virtualenv?: Repo package + virtualenv
Your rust version (rustc --version): rustc 1.39.0-nightly (ca3766e2e 2019-09-14)
Are you using the latest pyo3 version? Have you tried using latest master (replace version = "0.x.y" with git = "https://github.com/PyO3/pyo3")? Yes

💥 Reproducing
Rust:
use pyo3::prelude::*;
use pyo3::types::PyList;

#[pymodule]
fn my_module(_py: Python, m: &PyModule) -> PyResult<()> {

    #[pyclass]
    struct MyClass { list: &'static PyList}

    #[pymethods]
    impl MyClass {

        #[new]
        fn new(obj: &PyRawObject, list: &'static PyList) {
            obj.init({ MyClass { list } });
        }

        fn print(&self) {
            println!("{}", self.list.len()); // KABOOM
        }
    }

    m.add_class::<MyClass>()?;

    Ok(())
}

Python :
>>> from my_module import MyClass
>>> obj = MyClass([1, 2, 3])
>>> obj.print()
Segmentation fault (core dumped)

It cannot be static since we often load Python interpreter dynamically.
But this sigsegv looks odd 🤔


Cloudera hawthorn fixes

JIRA ticket: OC-4169
Fixes for:
Dashboard:

Enrolling into a course crashes
Too much padding on div#content

On course about:

Broken for small screen

On course page:

footer has no CSS, we see long lists of items. See screnshot cloudera_footer_no_style.png
"Discover New" on the header doesn't have a bottom border (but the „Sysadmin“ does, and ironically looks nice here)
no big logo at the top left

Additional errors and fixes caused by bootstrap theme:

Learn more on courses page white (should have been blue)
Resume and Search buttons white background (should have been brilliant-blue)
dropdown on user black over blue, fixed to white over white

Screenshots:
Small screen:

Discover now button:

Padding fixed:

Logo on course page:

Sandbox URL: TBD
Testing instructions:
Check that all the issues listed on the top, are addressed.
Notes:
Other issues seem to have appeared when fixing this ones, probably the best is to open a new ticket for those. Some of them are:

User dropdown menu on profile missing border (caused by change on layout, now user and "fa-caret-down" are not contained by same div)
When switching to discussion on courseware menu, nav adds a margin

And there might be more that I haven't seen. This is all caused by the integration of bootstrap, now Hawthorn uses 3 style files lms-main.scss (bootstrap one), lms-main-v1, lms-main-v2, some pages load lms-main, and others load v1 or v2... depending on which it loads the style changes.
Reviewers
[Daniel]

I've rebased, will merge.


feat(components): add combo box groups

✨ Groups ✨
https://github.com/user-attachments/assets/d19e351d-d693-4f5e-80ea-b3a5d8fa91fb

Updated to hide the group labels when they're filtered out
https://github.com/user-attachments/assets/d61cb282-2083-41e3-9da1-e17137bf0699


Options.txt

What options should be changed as a default to warrant ~including an options.txt~ #25? Some ideas:

No third-party warning
No starting tutorial
GUI scale 3?
No autojump?
Subtitles?
Zoom key
...

Hi, I'm the author of the mod suggested on #29 , I was contacted by the maker of the original issue. Most of these could be implemented without much work, with the exception of:

No third-party warning
This most likely violates Mojang's TOS as the warning exists for legal reasons.

Zoom key
I'm currently only supporting vanilla settings to avoid external libraries and stuff that might only work for one mod but not the other.

Answering to your comment  but why music? on #29 :
It was done mostly by asking some friends if they disabled the music entirely as well. Keep in mind that the mods has a configuration file (located at ./minecraft/config/noannoyingsettings.properties) that allows to toggle if the mod should force any of it's options into you. If you end up including the mod on the modpack, you might bundle the config file with the disableMusic setting to false.
Regardless, thank you for the suggestions! I'll be shipping an update to the mod including some of your suggestions very soon.

Out now: https://www.curseforge.com/minecraft/mc-mods/no-annoying-settings/files/3236341
Tutorial skip, gui scale and subtitle (by default off) settings are now included.

@Luligabi1
Wow. I guess I should apologize for the confusion as the intention was not to contact you at all 😄
Your mod does what it says, it is just unsuitable for this pack as it forces the values on every restart, which is not what I want, I want just the defaults. I do see value in your mod for people that use other modpacks and always want their settings though.
This issue was to discuss or at least list the things I could change in my modpack. Similarly, "zoom key" referred to the mod in this modpack and not adding a new feature.
Pinging @andytxr as well to notify of this.

Wow. I guess I should apologize for the confusion as the intention was not to contact you at all, otherwise I would've made an issue in your repo instead smile
Your mod does what it says, it is just unsuitable for this pack as it forces the values on every restart, which is not what I want, I want just the defaults. I do see value in your mod for people that use other modpacks and always want their settings though.
This issue was to discuss or at least list the things I could change in my modpack. Similarly, "zoom key" referred to the mod in this modpack and not adding a new feature.

I guess I should apologize as this is more of an interpretation issue on my end. I'm completely fine with the mod not being included on the modpack. At the end, it comes to your own judgment of what's better for the pack and the feel you're going with it. Thank for your suggestions for the mod, as they really were missing!

My recommendations are:

guiScale:2: That's the normal size Minecraft should be run at on a non-HiDPI display
gamma:0.5: Good middle-ground between 0% and 100% brightness
fov:0.5: 90° FOV is what many first-person games have today. If it's too extreme for you, 80° (fov:0.25) would also be ok, but Minecraft's default 70° are definitely too low.

fov:0.5: 90° FOV is what many first-person games have today. If it's too extreme for you, 80° (fov:0.25) would also be ok, but Minecraft's default 70° are definitely too low.

Wouldn't you want the FOV to be lower? The higher the FOV the laggier it is.

fov:0.5: 90° FOV is what many first-person games have today. If it's too extreme for you, 80° (fov:0.25) would also be ok, but Minecraft's default 70° are definitely too low.

Wouldn't you want the FOV to be lower? The higher the FOV, the laggier it is.

Good point, I set it to 80° but will revert in the next update.

In my experience, the performance decrease caused by a higher FOV is negligible, so 90° would be the best IMHO.

In my experience, the performance decrease caused by a higher FOV is negligible, so 90° would be the best IMHO.

Well it on depends on the person's computer. So, if a player has a better computer they can turn it up themselves, there's no reason they can't. But, since this modpack has the intention to reduce lag, it's probably better not to change the FOV.

I feel like there should be presets for options.txt
Most optimized, and Recommend

@CodeF53 I don't know how you could swap between them though. Perhaps your suggestion would suit better in Sodium Extra, as that adds new graphics options which could have presets.

The Modpack's name is "Fabulously-Optimized", maybe lower graphic settings?
We should find a good compromise between performance and looks.
Maybe fast but with cull/"smart" leaves, so players can still see through leaves.
Vignette turned off, same with Fog. Both can cause performance issues.

The Modpack's name is "Fabulously-Optimized", maybe lower graphic settings? We should find a good compromise between performance and looks. Maybe fast but with cull/"smart" leaves, so players can still see through leaves. Vignette turned off, same with Fog. Both can cause performance issues.

I did experiment with it to an extent, as you can see from 2.0.0b4 and higher. But even reducing particles had unintended consequences, as Sodium Extra is providing options for the individual particle settings.
Vignette and fog - well, they break the vanilla look and look weird when disabled by default. As you said, I want the balance, rather than just the "best FPS possible".
In any case, for new option changes please create a new issue (and separate issues for each option you want to change).


[ERROR -DB Import] Error in relation "genes" does not exist.

Hi, I get a rake aborted error. Assistance welcome. I think I am almost there :-)
rake db:drop
rake db:create
And then:
rake civic:import['import/GeneSummaries.txt','import/VariantSummaries.txt','import/ClinActionEvidence.txt','import/VariantGroupSummaries.txt']
Here are my databases and I believe they have tables.
i.e. from psql
civic_development=# \l
List of databases
Name        |  Owner   | Encoding |   Collate   |    Ctype    |   Access privileges
-------------------+----------+----------+-------------+-------------+-----------------------
civic_development | postgres | UTF8     | en_AU.UTF-8 | en_AU.UTF-8 |
civic_test        | bioinf   | UTF8     | en_AU.UTF-8 | en_AU.UTF-8 |
postgres          | postgres | UTF8     | en_AU.UTF-8 | en_AU.UTF-8 |
template0         | postgres | UTF8     | en_AU.UTF-8 | en_AU.UTF-8 | =c/postgres          +
|          |          |             |             | postgres=CTc/postgres
template1         | postgres | UTF8     | en_AU.UTF-8 | en_AU.UTF-8 | =c/postgres          +
|          |          |             |             | postgres=CTc/postgres
(5 rows)
My database config file:
less database.yml
default: &default
adapter: postgresql
pool: 5
encoding: unicode
host: localhost
development:
<<: *default
database: civic_development
host: localhost
username: postgres
test:
<<: *default
database: civic_test
<% if ENV['TRAVIS_BUILD'] %>
username: postgres
host: localhost
<% end %>
production:
<<: *default
database: civic
Error output as follows:
[bioinf@localhost civic-server]$ rake civic:import['import/GeneSummaries.txt','import/VariantSummaries.txt','import/ClinActionEvidence.txt','import/VariantGroupSummaries.txt']
rake aborted!
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR:  relation "genes" does not exist
LINE 5:                WHERE a.attrelid = '"genes"'::regclass
^
:               SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"genes"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
/home/bioinf/.gem/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in exec' /home/bioinf/.gem/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in async_exec'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in block in exec_no_cache' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract_adapter.rb:472:in block in log'
/home/bioinf/.gem/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications/instrumenter.rb:20:in instrument' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract_adapter.rb:466:in log'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in exec_no_cache' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:584:in execute_and_clear'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in exec_query' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:733:in column_definitions'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql/schema_statements.rb:186:in columns' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/schema_cache.rb:43:in columns'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/attributes.rb:93:in columns' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/attributes.rb:98:in columns_hash'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:969:in block in create_binds' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:967:in each'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:967:in partition' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:967:in create_binds'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:954:in build_where' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:584:in where!'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:574:in where' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/querying.rb:10:in where'
/home/bioinf/civic-server/app/models/concerns/soft_deletable.rb:4:in block (2 levels) in <module:SoftDeletable>' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:105:in call'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:105:in block (3 levels) in build_default_scope' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation.rb:302:in scoping'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:105:in block (2 levels) in build_default_scope' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:104:in each'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:104:in inject' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:104:in block in build_default_scope'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:127:in evaluate_default_scope' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:103:in build_default_scope'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/named.rb:33:in default_scoped' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/named.rb:28:in all'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/querying.rb:10:in where' /home/bioinf/civic-server/lib/importer/entity_maps/base.rb:43:in block in get_entity_from_row'
/home/bioinf/civic-server/lib/importer/entity_maps/base.rb:41:in map' /home/bioinf/civic-server/lib/importer/entity_maps/base.rb:41:in get_entity_from_row'
/home/bioinf/civic-server/lib/importer/gene_summaries_adaptor.rb:8:in create_entities_for_row' /home/bioinf/civic-server/lib/importer/tsv_reader.rb:16:in block (2 levels) in import!'
/home/bioinf/civic-server/lib/importer/tsv_reader.rb:14:in block in import!' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in block in transaction'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/transaction.rb:184:in within_new_transaction' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in transaction'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/transactions.rb:220:in transaction' /home/bioinf/civic-server/lib/importer/tsv_reader.rb:13:in import!'
/home/bioinf/civic-server/lib/tasks/import.rake:29:in block (3 levels) in <top (required)>' /home/bioinf/civic-server/lib/tasks/import.rake:26:in each'
/home/bioinf/civic-server/lib/tasks/import.rake:26:in block (2 levels) in <top (required)>' PG::UndefinedTable: ERROR:  relation "genes" does not exist LINE 5:                WHERE a.attrelid = '"genes"'::regclass                                           ^ /home/bioinf/.gem/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in exec'
/home/bioinf/.gem/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in async_exec' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in block in exec_no_cache'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract_adapter.rb:472:in block in log' /home/bioinf/.gem/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications/instrumenter.rb:20:in instrument'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract_adapter.rb:466:in log' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in exec_no_cache'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:584:in execute_and_clear' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in exec_query'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:733:in column_definitions' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql/schema_statements.rb:186:in columns'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/schema_cache.rb:43:in columns' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/attributes.rb:93:in columns'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/attributes.rb:98:in columns_hash' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:969:in block in create_binds'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:967:in each' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:967:in partition'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:967:in create_binds' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:954:in build_where'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:584:in where!' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:574:in where'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/querying.rb:10:in where' /home/bioinf/civic-server/app/models/concerns/soft_deletable.rb:4:in block (2 levels) in module:SoftDeletable'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:105:in call' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:105:in block (3 levels) in build_default_scope'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation.rb:302:in scoping' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:105:in block (2 levels) in build_default_scope'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:104:in each' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:104:in inject'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:104:in block in build_default_scope' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:127:in evaluate_default_scope'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:103:in build_default_scope' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/named.rb:33:in default_scoped'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/named.rb:28:in all' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/querying.rb:10:in where'
/home/bioinf/civic-server/lib/importer/entity_maps/base.rb:43:in block in get_entity_from_row' /home/bioinf/civic-server/lib/importer/entity_maps/base.rb:41:in map'
/home/bioinf/civic-server/lib/importer/entity_maps/base.rb:41:in get_entity_from_row' /home/bioinf/civic-server/lib/importer/gene_summaries_adaptor.rb:8:in create_entities_for_row'
/home/bioinf/civic-server/lib/importer/tsv_reader.rb:16:in block (2 levels) in import!' /home/bioinf/civic-server/lib/importer/tsv_reader.rb:14:in block in import!'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in block in transaction' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/transaction.rb:184:in within_new_transaction'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in transaction' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/transactions.rb:220:in transaction'
/home/bioinf/civic-server/lib/importer/tsv_reader.rb:13:in import!' /home/bioinf/civic-server/lib/tasks/import.rake:29:in block (3 levels) in <top (required)>'
/home/bioinf/civic-server/lib/tasks/import.rake:26:in each' /home/bioinf/civic-server/lib/tasks/import.rake:26:in block (2 levels) in <top (required)>'
Tasks: TOP => civic:import
(See full trace by running task with --trace)
[bioinf@localhost civic-server]$ rake civic:import['import/GeneSummaries.txt','import/VariantSummaries.txt','import/ClinActionEvidence.txt','import/VariantGroupSummaries.txt']
rake aborted!
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR:  relation "genes" does not exist
LINE 5:                WHERE a.attrelid = '"genes"'::regclass
^
:               SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"genes"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
/home/bioinf/.gem/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in exec' /home/bioinf/.gem/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in async_exec'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in block in exec_no_cache' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract_adapter.rb:472:in block in log'
/home/bioinf/.gem/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications/instrumenter.rb:20:in instrument' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract_adapter.rb:466:in log'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in exec_no_cache' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:584:in execute_and_clear'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in exec_query' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:733:in column_definitions'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql/schema_statements.rb:186:in columns' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/schema_cache.rb:43:in columns'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/attributes.rb:93:in columns' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/attributes.rb:98:in columns_hash'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:969:in block in create_binds' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:967:in each'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:967:in partition' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:967:in create_binds'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:954:in build_where' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:584:in where!'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:574:in where' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/querying.rb:10:in where'
/home/bioinf/civic-server/app/models/concerns/soft_deletable.rb:4:in block (2 levels) in <module:SoftDeletable>' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:105:in call'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:105:in block (3 levels) in build_default_scope' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation.rb:302:in scoping'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:105:in block (2 levels) in build_default_scope' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:104:in each'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:104:in inject' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:104:in block in build_default_scope'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:127:in evaluate_default_scope' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:103:in build_default_scope'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/named.rb:33:in default_scoped' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/named.rb:28:in all'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/querying.rb:10:in where' /home/bioinf/civic-server/lib/importer/entity_maps/base.rb:43:in block in get_entity_from_row'
/home/bioinf/civic-server/lib/importer/entity_maps/base.rb:41:in map' /home/bioinf/civic-server/lib/importer/entity_maps/base.rb:41:in get_entity_from_row'
/home/bioinf/civic-server/lib/importer/gene_summaries_adaptor.rb:8:in create_entities_for_row' /home/bioinf/civic-server/lib/importer/tsv_reader.rb:16:in block (2 levels) in import!'
/home/bioinf/civic-server/lib/importer/tsv_reader.rb:14:in block in import!' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in block in transaction'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/transaction.rb:184:in within_new_transaction' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in transaction'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/transactions.rb:220:in transaction' /home/bioinf/civic-server/lib/importer/tsv_reader.rb:13:in import!'
/home/bioinf/civic-server/lib/tasks/import.rake:29:in block (3 levels) in <top (required)>' /home/bioinf/civic-server/lib/tasks/import.rake:26:in each'
/home/bioinf/civic-server/lib/tasks/import.rake:26:in block (2 levels) in <top (required)>' PG::UndefinedTable: ERROR:  relation "genes" does not exist LINE 5:                WHERE a.attrelid = '"genes"'::regclass                                           ^ /home/bioinf/.gem/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in exec'
/home/bioinf/.gem/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in async_exec' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in block in exec_no_cache'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract_adapter.rb:472:in block in log' /home/bioinf/.gem/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications/instrumenter.rb:20:in instrument'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract_adapter.rb:466:in log' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in exec_no_cache'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:584:in execute_and_clear' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in exec_query'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:733:in column_definitions' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql/schema_statements.rb:186:in columns'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/schema_cache.rb:43:in columns' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/attributes.rb:93:in columns'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/attributes.rb:98:in columns_hash' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:969:in block in create_binds'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:967:in each' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:967:in partition'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:967:in create_binds' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:954:in build_where'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:584:in where!' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/query_methods.rb:574:in where'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/querying.rb:10:in where' /home/bioinf/civic-server/app/models/concerns/soft_deletable.rb:4:in block (2 levels) in module:SoftDeletable'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:105:in call' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:105:in block (3 levels) in build_default_scope'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation.rb:302:in scoping' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:105:in block (2 levels) in build_default_scope'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:104:in each' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:104:in inject'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:104:in block in build_default_scope' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:127:in evaluate_default_scope'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/default.rb:103:in build_default_scope' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/named.rb:33:in default_scoped'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/scoping/named.rb:28:in all' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/querying.rb:10:in where'
/home/bioinf/civic-server/lib/importer/entity_maps/base.rb:43:in block in get_entity_from_row' /home/bioinf/civic-server/lib/importer/entity_maps/base.rb:41:in map'
/home/bioinf/civic-server/lib/importer/entity_maps/base.rb:41:in get_entity_from_row' /home/bioinf/civic-server/lib/importer/gene_summaries_adaptor.rb:8:in create_entities_for_row'
/home/bioinf/civic-server/lib/importer/tsv_reader.rb:16:in block (2 levels) in import!' /home/bioinf/civic-server/lib/importer/tsv_reader.rb:14:in block in import!'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in block in transaction' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/transaction.rb:184:in within_new_transaction'
/home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in transaction' /home/bioinf/.gem/gems/activerecord-<IP_ADDRESS>/lib/active_record/transactions.rb:220:in transaction'
/home/bioinf/civic-server/lib/importer/tsv_reader.rb:13:in import!' /home/bioinf/civic-server/lib/tasks/import.rake:29:in block (3 levels) in <top (required)>'
/home/bioinf/civic-server/lib/tasks/import.rake:26:in each' /home/bioinf/civic-server/lib/tasks/import.rake:26:in block (2 levels) in <top (required)>'
Tasks: TOP => civic:import
(See full trace by running task with --trace)
Regards,
Chris

Looks like you are missing "rake db:schema:load". I just recently installed on my laptop and this worked for me:
rake db:drop
rake db:create
rake db:schema:load
rake civic:load

Hi Obi,
Now for a Slap plan of the hand on  the forehead moment.
:-)
Regards,
Christopher Welsh
Systems Administrator, Research Support Services
Cancer Research Division
Peter MacCallum Cancer Centre
http://www.petermac.orghttp://www.petermac.org/
Phone +61 3 9656 1512
Fax +61 3 9656 1411
E-mail<EMAIL_ADDRESS>[unknown.png]
[unknown_1.png]
From: Obi Griffith <notifications<EMAIL_ADDRESS>Reply-To: genome/civic-server <reply<EMAIL_ADDRESS>Date: Saturday, 13 February 2016 at 2:47 AM
To: genome/civic-server <civic-server<EMAIL_ADDRESS>Cc: test <Christopher.Welsh<EMAIL_ADDRESS>Subject: Re: [civic-server] [ERROR -DB Import] Error in relation "genes" does not exist. (#156)
Looks like you are missing "rake db:schema:load". I just recently installed on my laptop and this worked for me:
rake db:drop
rake db:create
rake db:schema:load
rake civic:load
—
Reply to this email directly or view it on GitHubhttps://github.com/genome/civic-server/issues/156#issuecomment-183380818.
This email (including any attachments or links) may contain
confidential and/or legally privileged information and is
intended only to be read or used by the addressee.  If you
are not the intended addressee, any use, distribution,
disclosure or copying of this email is strictly
prohibited.
Confidentiality and legal privilege attached to this email
(including any attachments) are not waived or lost by
reason of its mistaken delivery to you.
If you have received this email in error, please delete it
and notify us immediately by telephone or email.  Peter
MacCallum Cancer Centre provides no guarantee that this
transmission is free of virus or that it has not been
intercepted or altered and will not be liable for any delay
in its receipt.

It sounds like this is resolved for now, but feel free to open more issues as you run into them. The README directions are really more geared towards someone who wants to set up a development environment. We should prepare documentation for a production deployment to make this easier going forward!

Hi Thanks for all the great help. Still a couple of issues.

Proxy - We are behind a proxy where we need to auth in order to connect out.
I have discovered civic-server fails when it is trying to connect to mygene.info PORT 80 to retrieve some information. Can you please tell me if there is something like a  HTTP_PROXY variable required to be set or something like that in the config?

OAuth has now been registered but I get page not found. I will leave that until I sort the proxy issue first.

Thanks


Make Grid and Sketch 3.5

I can fill a single row but as soon as I try to make a grid placeholders aren't replaced anymore.

we're investigating.

But you can reproduce it? After downgrading to 3.4.4 it works again. Unfortunately my document does not :)

Please try the version in the sketch-3.5-support branch with Sketch 3.5. It should hopefully work as expected.

Awesome, guys! I just confirmed that it does indeed work as expected. Many thanks!


Add error code 2-2, 6-1, 6-2, 0-1.

另附迄今为止使用的错误码：
0-1: Thread pool is EXHAUSTED! - 线程池资源耗尽。
1-1: Address invalid. - 地址非法
1-2 Invalid registry properties. - 注册中心属性非法
1-3: URL evicting failed. - URL 销毁失败
1-4 Empty address. - 空地址
1-5 Received URL without any parameters. - 接收到没有任何参数的 URL
1-6 Error when clearing cached URLs. - 清空缓存 URL 出错
1-7: Failed to notify registry event. - 通知注册中心事件失败
1-8: Failed to unregister / unsubscribe url on destroy. - 销毁时注销（取消订阅）地址失败
1-9: failed to read / save registry cache file. - 读写注册关系缓存文件失败
1-10 Failed to delete lock file. - 删除锁文件失败。
1-11 Failed to obtain or create registry (service) object. - 注册服务实例创建失败
1-12 Failed to fetch (server) instance since the registry instances have been destroyed. - 由于 “注册服务” 的实例均已销毁，因此没法获取服务提供（或订阅）方的服务器地址。
1-13 - reach the most times of retry. 达到最多的重试次数。
1-14 - Failed to parse raw dynamic config. - 动态配置识别失败
1-15 - Failed to destroy service. - 销毁服务失败
1-16 - Unsupported category in NotifyListener - 存有不支持的类别（在 NotifyListener 中）
1-17 - Address refresh failed. - 地址刷新失败
2-1 - Failed to execute routing. - 路由选址执行失败。
2-2 - No provider available - 没有可用的提供端。
3-1 - Failed to convert the URL address into Invokers. - 服务地址到 Invoker 对象的转换失败。
4-1 - Unsupported protocol - 不支持的协议。
4-2 - Can't find an instance URL using the default preferredProtocol. - 用指定的协议为条件找不到服务实例。
5-1 Failed to connect to configuration center. - 连接到注册中心失败。
6-1 - Failed to connect to provider server by other reason. - 因其它原因连接不上 Provider。
6-2 - Client-side timeout. - 客户端超时

Codecov Report

Merging #10391 (bc3c563) into 3.1 (5202f87) will decrease coverage by 0.46%.
The diff coverage is 84.84%.

@@             Coverage Diff              @@
##                3.1   #10391      +/-   ##
============================================
- Coverage     65.53%   65.06%   -0.47%
+ Complexity      319      317       -2
============================================
  Files          1249     1249
  Lines         54400    54381      -19
  Branches       8230     8200      -30
============================================
- Hits          35652    35385     -267
- Misses        14870    15083     +213
- Partials       3878     3913      +35

Impacted Files
Coverage Δ

...e/dubbo/common/serialize/java/JavaObjectInput.java
0.00% <ø> (ø)

...mmon/threadpool/support/fixed/FixedThreadPool.java
80.00% <66.66%> (-7.50%)
:arrow_down:

...he/dubbo/remoting/transport/netty/NettyClient.java
64.61% <66.66%> (-0.39%)
:arrow_down:

...dubbo/rpc/cluster/directory/AbstractDirectory.java
80.51% <100.00%> (+0.12%)
:arrow_up:

...mmon/threadpool/support/AbortPolicyWithReport.java
82.45% <100.00%> (-1.76%)
:arrow_down:

...mmon/threadpool/support/eager/EagerThreadPool.java
100.00% <100.00%> (ø)

...e/dubbo/remoting/transport/netty4/NettyClient.java
71.60% <100.00%> (+1.86%)
:arrow_up:

...n/serialize/fastjson2/Fastjson2CreatorManager.java
66.66% <100.00%> (ø)

...dubbo/common/serialize/java/JavaSerialization.java
36.36% <100.00%> (ø)

.../serialize/nativejava/NativeJavaSerialization.java
36.36% <100.00%> (ø)

... and 85 more

Help us with your feedback. Take ten seconds to tell us how you rate us.


Deployment to roborio should be automated

Currently, deployment is very manual. One has to manually copy over the built rogue distribution and bootstrap jars (like fileinstall, etc.) There should be an easy way to do this, as most people using rogue will have very similar deployments.
Basically, we want to ship the rogue distribution with a set of default bundles that are to be installed/started upon bootstrap of felix, similar to what Apache Karaf does, but in a much more minimalistic, lightweight manner.

I think the best way to go about this is to have the bootstrap jars included as dependencies in gradle so that they get included in the distribution. Then, instead of loading the list and order of bootstrap bundles from command line arguments, we should load it from a configuration file, which ships (by default) with the list of bundles that were included as gradle dependencies.


SyncList content is doublicated on client.

Describe the bug
SyncList content is doublicated on client. When 1 record is added to synclist on server 2 identical records are added on a client.
Repro project
public struct ProtocolElement
    {
        public string messageCode, comment;
        public int score, maxScore;
        public float timer;
        public ProtocolElement(string messageCode_, string comment_, int score_, int maxScore_, float timer_)
        { messageCode = messageCode_; comment = comment_;  score = score_; maxScore = maxScore_; timer = timer_; }
        public void SetScores(int score_, int maxScore_) { score = score_; maxScore = maxScore_; }
    }
    public class SyncListProtocol : SyncList<ProtocolElement> { };
    public readonly SyncListProtocol protocol = new SyncListProtocol();

protected virtual void Start()
    {
        protocol.Callback += OnProtocolUpdated;
}

 void OnProtocolUpdated(SyncList<ProtocolElement>.Operation op, int index, ProtocolElement oldItem, ProtocolElement newItem)
    {
        string s = op + "   " + index + "   ";
        s += "old: " + oldItem.messageCode + "   "  + oldItem.timer;
        s += "  new: " + newItem.messageCode + "   " + newItem.timer;
        Debug.Log(s);
    }

vod AddRecord(string code, string name, int score, int maxScore, float f){
 if (isServer) protocol.Add(new ProtocolElement(code, name, score, maxScore, f);
}

To Reproduce
After call AddRecord 1 element is added to SyncList protocol on Server (protocol.Count = 1 on server) and 2 elements added to SyncList protocol on Client (protocol.Count = 2 on client, i see OnProtocolUpdated is called twice)
Expected behavior
1 record added to synclist on server  => 1 record added to synclist on a client
Desktop (please complete the following information):

OS: Win 2010
Build target: Android
Unity version: \2019.4.17
Mirror version: \17.3.0

You don't need the class declaration...see if this makes a difference:
public readonly SyncList<ProtocolElement> protocol = new SyncList<ProtocolElement>();

Also suggest a Debug.Log in AddRecord to verify it's not being called twice unexpectedly.

You don't need the class declaration...see if this makes a difference:
public readonly SyncList<ProtocolElement> protocol = new SyncList<ProtocolElement>();

Also suggest a Debug.Log in AddRecord to verify it's not being called twice unexpectedly.

I'd also point out we have unit tests for this and they pass.

I'd also point out we have unit tests for this and they pass.

Maybe it due to version but I receive syntax error trying to eliminate class declaration:
public readonly SyncList protocol = new SyncList(); =>
Error CS0144 Cannot instantiate abstract class or interface "SyncList"
AddRecord called once according to log. I think if it would called twice I saw doubled values both at server and client. But it doubles only on client side.

Maybe it due to version but I receive syntax error trying to eliminate class declaration:
public readonly SyncList protocol = new SyncList(); =>
Error CS0144 Cannot instantiate abstract class or interface "SyncList"
AddRecord called once according to log. I think if it would called twice I saw doubled values both at server and client. But it doubles only on client side.

Maybe it's due to version but I receive syntax error trying to eliminate class declaration:
Error CS0144 Cannot instantiate abstract class or interface "SyncList < ProtocolElement > "

you are using an old version of mirror.  Newer versions don't need the intermediary class.
Are you calling Addrecord in the client or the server?  Make sure you are only calling it in the server.
Can you fix the indentation of your code snippet?  it took me a few mins just to figure out what it is doing.

Maybe it's due to version but I receive syntax error trying to eliminate class declaration:
Error CS0144 Cannot instantiate abstract class or interface "SyncList < ProtocolElement > "

you are using an old version of mirror.  Newer versions don't need the intermediary class.
Are you calling Addrecord in the client or the server?  Make sure you are only calling it in the server.
Can you fix the indentation of your code snippet?  it took me a few mins just to figure out what it is doing.

Thanks, but It seems the problems is somewhere else. I discovered that all Rpcs also started twice on client.
The code worked normally for a year and we made only minor modifications last time.
If you have any idea why all sync actions are duplicated on client please give me a hint. I have no idea at all.
There is one GameObject and one singleton script attached, I know it for sure since I checked it by FindObkectsofType<>().
Why could it receive doubled messages from server? :(

Thanks, but It seems the problems is somewhere else. I discovered that all Rpcs also started twice on client.
The code worked normally for a year and we made only minor modifications last time.
If you have any idea why all sync actions are duplicated on client please give me a hint. I have no idea at all.
There is one GameObject and one singleton script attached, I know it for sure since I checked it by FindObkectsofType<>().
Why could it receive doubled messages from server? :(


The suggestions does not work to get cities but exact address so the results are not complete

This is such a great plugin, just something I found for countries such as Colombia it does not show the full results if you try to type a city, it just tries to show exact addresses which is not expected all the time, would be nice to add an option to change the type of information you want the places api to return e.g. (cities) (regions) geocode, etc, not only postal_code or address.

Hi Jorge,
If you would like to submit a PR adding this feature I would be happy to review and approve it.  If you need help at where to start I would be happy to point you in the right direction!
-tim


Show tooltips in datamapper ui toolbar

It might be challenging to find out what those icons mean

@gashcrumb can you take look on #72 please ?
It would be usefull also for E2E tests, as we can use tooltips to easily select DOM element like this:
$('i[tooltip="Add new mapping"]')
$('i[tooltip="Editor settings"]')

CC @dsimansk @mmelko @lvydra

merged


Fails to build on ubuntu

Getting a build failure on ubuntu

 /usr/bin/ld: final link failed: Nonrepresentable section on output

Finally got it to build using the cmake instructions, but it crashes immediately, I put it into gdb and this is the output...

gdb nheqminer
GNU gdb (Ubuntu <IP_ADDRESS>61005-0ubuntu1) <IP_ADDRESS>61005-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from nheqminer...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/ubuntu/nheqminer
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Equihash CPU Miner for NiceHash v0.1c
Thanks to Zcash developers for providing most of the code
Special thanks to tromp for providing optimized CPU equihash solver
Setting log level to 2
Program received signal SIGILL, Illegal instruction.
0x000055555568490b in boost::log::v2_mt_posix::aux::time_format_parser_callback::on_extended_iso_time() ()

Please try Linux branch and reopen if it isn't fixed.


Read maintenance mode variables from parameter store

This will allow us to turn maintenance mode on/off with a config change and re-deploy, rather than with a code change in a PR. It also means that we can put individual environments into maintenance mode, rather than requiring all envs go into maintenance mode at once.
Would like to pair with whoever reviews this on adding the vars to each environment. Should simply be running these commands for each env:
copilot secret init --name FSD_FRONTEND_MAINTENANCE_MODE --values dev=False
copilot secret init --name FSD_FRONTEND_MAINTENANCE_END_TIME --values 'dev=soon'

https://mhclgdigital.atlassian.net/browse/FSPT-69

@srh-sloan apologies, had to refactor a bit - can't have parameter store values that are empty, so tweaked the setting slightly.

Tested in dev and works as expected ✅


Remap smile emojis

As discussed on CZO, we should remap smile emojis in the following way:

:smile: = :) =  😄
:slight_smile: = 🙂

We will also need to:

Update the settings UI for emoji configurations to use the new :smile:.

Update the help center documentation (https://zulip.com/help/emoji-and-emoticons, https://zulip.com/help/configure-emoticon-translations).

Related issues:

#18121

CZO thread

@zulipbot claim

@zulipbot claim

Hi @alya here is update what I have done so far
https://github.com/user-attachments/assets/aec1f9d7-a777-42af-9bd0-4edd3dedf1f3
I just have a question, regarding this part of the issue:

Update the settings UI for emoji configurations to use the new 😄.

Do you mean to change the icons in the Google, Twiiter, and Google blobs option to have 😄?

@alya, I tried to make a PR, but found that there is a lot of test cases that fails because of the mapping of the emojis, should I update all the test cases?

@zulipbot unclaim

@zulipbot claim

@y-emam, your current approach is not solving the problem as a whole I think. If you are going to do it then look for it.

@userAdityaa, I'm still working on it, I'm currently working on the modifying the test cases to match the new update.
Could you explain why it doesn't solve the problem as a whole.

@y-emam, After typing :smile: is it leading to the big grin face emoji after your change ?
and same for the slight_smile ?

No sorry my mistake. I didn't see your PR that well. If you find it difficult to pass on the test case then, I can try to help.

@userAdityaa no problem
Thanks a lot for your help, I will mention you in case I needed any help.

@y-emam hey brother, are you still working on this

Hey @hustlerZzZ, I have submitted a PR and it is still under discussion.


Rename generated "make" file to non-conflicting name?

When we run:
bazel run __deps pwd/build
it generates a "make" script in pwd/build. And then we execute pwd/build/make do- to run. Inside of the "make" script, it then calls the make executable.
Can we name "make" to something else? I realize that we don't run into execution issues because "make" ends up calling make and not itself. But, it would be certainly easier to describe problems with the "make" file vs. a problem with the Makefile that make calls as a resut of calling "make". :-)

I like make. Simple and the user is expected to add ORFS make options aftewards on the command line.
I'm open to suggestions though.

Please refer to it as "The make wrapper" in all future communication :-)

Sounds good!


Localizations return always English on android

Localizations.localeOf(context); always return en_ in my Android emulator or device after running S.load(Locale('ar)) .
how could get current app locale without Intl.defaultLocale?
I want to get it using Localizations.
here is simple demo:
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      localizationsDelegates: const [S.delegate],
      supportedLocales: S.delegate.supportedLocales,
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key}) : super(key: key);
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(S.of(context).title),
      ),
      body: Center(
        child: ElevatedButton(
          onPressed: () {
            S.load(Locale('ar'));
            setState(() {});
          },
          child: Text(Localizations.localeOf(context).languageCode),
        ),
      ),
    );
  }
}

Ok, when locale is changed, whatever by system or in app, locale property should be given in material app.
then Localizations.localeOf(context) did work.


Tutorial update

Update the tutorials to give a smoother introduction to executions and pipelines (dependencies).

When updating the schema table descriptions, what are:

is_external_link and is_valid in the database table
supersede_date in the alias table

Have updated with your comments and to include information on how to modify the default execution metadata when registering a dataset.


A bit of black

[x] The script that generates graphic_methods_mixin.py now also blackens the code. (could take this nearly verbatim from the wgpy codegen)
[x] Blackend a few more files.

Now only the examples are unblacked. I can add that too if you want, but I was not sure if certain PR's may be affected.

I think it makes sense to move the generate_x scripts out of the fastplotlib dir into a special scripts  dir in the root of the repo, since they're not part of the library. But generate_colormaps.py is touched in #390, so I left it in place.

I think it makes sense to move the generate_x scripts out of the fastplotlib dir into a special scripts dir in the root of the repo, since they're not part of the library.

Makes sense!

But generate_colormaps.py is touched in #390, so I left it in place.

Yup I need to get back to that PR, probably next week. But generate_colormaps.py will disappear after we incorporate Talley's cmap lib


isSwipeGestureActive seems to not be working in my case

I want to avoid presenting a view controller when I press a cell when another cell has a swipe gesture active.
So I have swipeTableCell:shouldHideSwipeOnTap: returns false and in my cell class, I override  touchesBegan:withEvent:. I loop through all the visible cells of my tableView and stop if there is one with isSwipeGestureActive set to true. If it's the case I stop and manually hide the swipe, if not, I call the touchesBegan:withEvent: from the super view.
But when I loop through the visible cell of my tableView, none of them have isSwipeGestureActive set to true.

I don't really know Objective-c but if I'm not wrong you check wether or not it's active by checking _panRecognizer.state == UIGestureRecognizerStateBegan || _panRecognizer.state == UIGestureRecognizerStateChanged but after every swipe, the gesture finishes by UIGestureRecognizerStateEnded and then goes back to the possible state.

isSwipeGestureActive means that the user is currently swiping (touching the cell). When the user finishes the gesture, the cell can be keep swiped but the isGestureActive is set to false because the user is not touching the cell.
If you want to check if a cell is swiped you can do this:
BOOL isSwiped = cell.swipeOffset != 0


Default cookbook generation of delivery config to new job dispatch system.

Description
[Please describe what this change achieves]
Issues Resolved
[List any existing issues this PR resolves, or any Discourse or
StackOverflow discussion that's relevant]
Check List

[x] New functionality includes tests
[x] All tests pass
[ ] RELEASE_NOTES.md has been updated if required (not required for bugfixes, required for API changes)
[x] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco

Not sure this merits a release note update.

From a usability standpoint should we worry about someone generating a new project and still using the push-jobs based runners? I'm worried that it may confusing if there are no runners available.

Hey friends @tylercloke @tyler-ball @danielsdeleo 👋
I think this was an important change that should have had a tag and Release Notes since it has impact to customers. It is being taking care of though 🎉


The isSelected method of the SelectionModel does not return the correct value for the root node when the tree data level is greater than two levels.

Bug, feature request, or proposal:
Make IsSelected method of SelectionModel support multi-level structure.
What is the expected behavior?
When the hierarchy is level 3, and the children of the incoming data are all selected.
What is the current behavior?
The root node does not display the correct status. The display status is indeterminate.

Closing this issue due to no recent activity, if this is still an issue please create a new issue with a reproduction.


Include the 'Belt' standard library

Since BuckleScript officially ships with Belt as an alternative standard library (and officially recommends its use), Belt should be available in ReBench.
I am not sure how to go about integrating it at this time, but it would be a very welcomed improvement!

This uses bs-in-a-box and is just a matter of replacing the vendored compiler bundle there as long as the interface is still the same. Unfortunately I suspect it's not. I also think the process of building it has changed a lot.
I think @ryyyppy and @thanggnoc89 know it best now. Maybe they can chime in, or have plans to do something similar to this elsewhere.

@glennsl I totally forgot about rebench, i’ll see if I can update this

I agree, rebench is so useful to quickly benchmark BS code, having access to Belt would be a game changer because Belt implementation usually makes it much faster than the JS lib and a bit faster than Stdlib.
I don't know if things have become a bit easier to integrate since last year, I know there's some ongoing work with a new playground for reasonml.org, maybe some of the efforts could be reused here.


Move CLI tests to the webpack CLI repository

Do you want to request a feature or report a bug?
Improvements

What is the current behavior?
CLI tests are under this folder(?)
If the current behavior is a bug, please provide the steps to reproduce.
Not applicable

What is the expected behavior?
If this is a feature request, what is motivation or use case for changing the behavior?
I think we should move any test touching the CLI to the CLI repository, considering there indeed are tests for the current CLI in this repository. Thoughts?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.

That would be binCases, and BinTestCases.js

How do you feel about this?


Fix passing around an uninitialized struct member

Scope & Purpose
Fix passing around an uninitialized struct member
Fix potentially undefined behavior when creating a CalculationTransactionContext for an arangosearch analyzer. An uninitialized struct member was passed as an argument to its base class. This potentially had no observable effects, but should be fixed.
It seems that the affected CalculationTransactionContext struct does not exist in previous versions, so there is no need to backport the change.

[x] :hankey: Bugfix (requires CHANGELOG entry)
[ ] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification
[x] :book: CHANGELOG entry made

Backports:

[x] No backports required.

Testing & Verification

[x] This change is a trivial rework / code cleanup without any test coverage.
[x] The behavior in this PR was manually tested
[x] This change is already covered by existing tests, such as gtest.
[x] I ensured this code runs with ASan / TSan or other static verification tools

@Dronplane : I found this by accident, when I added a new member to transaction::Options. The new member was an std::string, and this caused an std::bad_alloc exception to be thrown when used that way.


Added a Site Url parameter on top of the Web Url parameter

Q
A

Bug fix?
no

New feature?
yes

New sample?
no

Related issues?
#288 and #292

What's in this Pull Request?
Instead of having all the site collections and subsites urls mixed in the Web Url property of the React Content Query WebPart, I added another cascading property Site Url on top of it, which allows to narrow down drastically the amount of results found in each of the dropdown. The way it works now is much more user friendly, letting the user choose his site collection first, then select the subsite in a dedicated dropdown that shows exclusively subsites from the previously selected site collection.
Before :

After :

Also, since the dropdown was driven by a search query, the webpart was able to fetch a maximum of 500 sites/subsites mixed together, which was definitely a bottleneck for big businesses with lots of sites.
Now, for both Site Url and Web Url dropdown, I modified the way the search request works, by adding a recursive promise logic that executes the needed amount of requests (each fetching 500 urls) until all results are fetched.
This means both properties can now fetch unlimited urls in their dropdown using the recursive approach, which should avoid any kind of missing site behavior even with thousands of sites.

@spplante,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@VesaJuvonen, not sure why these files are conflicting as I simply updated them, but one thing sure is the ones I am pushing are the correct files and they can override their previous versions.

Thx Simon, all good with this one after some manual merge conflict resolution. Good changes, but you also most likely want to double check the design for the site collection URL resolution. I'd assume that 80-90% of times you'd be pointing this web part to particular site collection... but currently selection logic makes that really hard if you have hundreds, thousands of hundred thousand site collections... which would not be that rare.
I'd suggest that you by default select current site collection as the URL for site collection selection and then simply have the option to select something else... Current UI works great in dev tenants, but not in mid-sized or larger company deployments. Pic shows the problem and scanning through tens of thousands of URLs in the drop down does not really work that well.

Hi Vesa,
I was having pretty much the same conversation with Sebastien Levert in regards to the current site collection and web being selected by default. This is definitely the next small update I will be working on!
However, just to make sure there is no actual " blocking issue" for large-sized farms, if I understand correctly, the UI problem you are referring to is more "annoying" than "blocking" am I right?
I am just asking to gauge how fast I should start working on this haha, but in both cases this is the next update anyway. Thanks!

There's no blocking issue current - that's correct, so no worries on getting next version out. Technically web part is though basically unusable when there are thousands of site collections since it's impossible to find the current or an other site collection from the list... browsers don't simply render that nicely.
I can select a site collection - but most likely not the one which I'm looking to select.

I just don't get why you say it's impossible to find the actual site you are interested in? Because the browser "lags" too much since there is thousands of items in the dropdown? Or because it's not in the actual list?
Because if the dropdown really is unusable when filled with thousands of items, to me it's a bigger issue that will only be partially fixed even If the current site is preselected : It will fix 80% of the cases where most users just want to fetch data from the current site, but it will not fix the cases where a user wants to select another site collection, the dropdown will still be unusable.
If it's only a matter of the dropdown displaying too many items, making it "difficult" to find the site your are looking for, it's a different story :)
In all cases I will try to mock thousands of sites just to see how the UI reacts.

Challenge is really that browser lag and challenge of finding the right site collection. Scrolling down the list of site collections in alphabetical order takes ages in the case of tens of thousands of site collections due to browser lag. You can easily mock this by creating thousands of items in alphabetical order and then trying to find site collection with 'url' of "mou" - moving to even to right area on the list is hard.

Ahhhhh ok I totally get it now. I will try to come up with the site collection preselection in the following weeks :)

One detail @VesaJuvonen, what is the usual schedule where you guys merge SharePoint:dev to SharePoint:master for the sp-dev-fx-webparts repository? Is it at the end of each month? I am just asking so I can time myself accordingly next time I push stuff to the dev branch :)
Thanks!

Timing with the spfx repositories is more flexible - we do merge things over quite fast from the dev side - typically within 1-2 business days... or even in a matter of hours. Really depends on the overall situation and what's pending on the dev side.

Gotcha!


'Used before declaration' errors are not caught when using commonjs/es6 modules.

TypeScript Version:  3.0.0-dev.20180530

Search Terms: circular dependencies checking, circular imports, unused before declaration
Code
// == A.ts ==
import { C } from './C';
export class A extends C {}

// == C.ts ==
import { A } from './A';
export class C {
    static makeA() { return new A(); }
}

// == index.ts ==
// move A.ts import above C.ts to compile & run without errors
import { C } from './C';
import { A } from './A';

console.log(new A());
console.log(new C());
console.log(C.makeA());

tsconfig
{
  "compilerOptions": {
    "target": "ES5",
    "module": "commonjs",
    "outDir": "./dist",
  },
  "files": [
    "./index.ts"
  ]
}

Expected behavior:
Error: A.ts:2:17 - error TS2449: Class 'C' used before its declaration.
Actual behavior:
No error given; undefined at runtime:
$ node ./dist/index.js
dist/A.js:7
        extendStatics(d, b);
        ^
TypeError: Object prototype may only be an Object or null: undefined
...

When using "module": "commonjs" or "module": "es6", circular imports which will result in undefined at runtime will not be caught by TypeScript with "used before its declaration".
However when using outFile in conjunction with triple-slash references, the error is caught correctly:
// == A.ts ==
/// <reference path="C.ts" />
class A extends C {}

// == C.ts ==
/// <reference path="./A.ts" />
class C {
    static makeA() { return new A(); }
}

// == index.ts ==
// move A.ts reference above C.ts to compile without errors
/// <reference path="./C.ts" />
/// <reference path="./A.ts" />

console.log(new A());
console.log(new C());
console.log(C.makeA());

tsconfig
{
  "compilerOptions": {
    "target": "ES6",
    "outFile": "./dist/out.js",
    "types": []
  },
  "files": [
    "./index.ts"
  ]
}

$ tsc
A.ts:2:17 - error TS2449: Class 'C' used before its declaration.

2 class A extends C {}
                  ~

Personal context
In our TypeScript projects we have been using outFile for years. We are trying to move to using commonjs or es6 modules (with a separate bundler) because the es6 import syntax is the future and the only way to import most npm modules. So it was surprising for us that the more modern import syntax is not able to prevent these errors that are caught when using outFile.
Related Issues:
https://github.com/Microsoft/TypeScript/issues/21327
https://github.com/Microsoft/TypeScript/issues/17308

The compiler does not check for circular dependency errors. see https://github.com/Microsoft/TypeScript/issues/14469 and https://github.com/Microsoft/TypeScript/pull/21780.
the compiler also does not do build a call graph for every function you use to understand if it possibly will trigger a use of uninitialized variable. the compiler only checks for things that are guaranteed to fail.
e.g.:
var x;
x.toString();  // Error

function f() {
     x.toString(); // noError
}

In the second example the compiler is checking the files along the reference path and figures out that C is used before it was declared, it generates an error. Good job.
Now, the first example is analogous to the second one, the only difference is that we have import statements instead of reference path-s.
I think the same check that catches the error in the second example could find it in the first one as well. It doesn't seem to be fundamentally different to me.

@mhegazy Can you explain why you think this is a design limitation?
Regarding you comment, I don't think this issue is the same as the ones you linked.

I don't want TypeScript from allowing circular dependencies. If you reverse the order of the import in index.ts the whole program works and that is a good thing.
I also know TypeScript cannot determine if usages inside functions will be valid. The error that TypeScript should detect here is one that it can already detect when using outFile: a top-level static reference in the line export class A extends C {}. This is something which is guaranteed to fail.

using outFile, the compiler just treats the files like a single file, puts them all atop of each other and does the analysis.. that is similar to a single file. once you have imports, then now the compiler needs to know if the reference form this import, ends somehow to import the same module.. that is circular reference checking on a reference level. that is something the compiler does not do.


NumeRe.NumeRe version 1.1.3rc

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@ItzLevvie One question: will winget detect that 1.1.3 is newer than 1.1.3rc? How is a newer version determined?

/AzurePipelines run


Get-MigrationToTeamsDNSCheck

Category

[ ] Bug fix
[X] New script
[ ] New sample

What's in this Pull Request?
New script "Get-MigrationToTeamsDNSCheck"

Closing this PR as it has been superseded by a later PR, #76


Nuxt support??

@pi0, @ktsn, guys, how I can use it with Nuxt? I don't got a ./src folder

I have got a Maximum call stack.. in footer component?

<template>

        © 1998 – {{ new Date().getFullYear() }}
        {{ $store.state.version }}

Support

</template>

Hi. I would love to help more for getting this working. Will try to reproduce locally but @ruslankonev do you see any point that Nuxt could cause such loop?

Thanks guys, I assumed that the Vue Designer would not get the data from the store, but did not expect that he would not execute the components.
@pi0, regarding Maximum call stack..., I'm not sure that the error was in the Vue Designer, I just trying to see how rendered footer component, and seeing nothing. I opened the console in the VSCode, and saw this error.
In any case, thank you guys for the new things that you create, it all helps to develop and extend the Vue/Nuxt architecture!


The trait quote::to_tokens::ToTokens is not implemented for std::vec::Vec

My output has a method that returns a vector, while compiling I get the following:
error[E0277]: the trait bound `std::vec::Vec<std::string::String>: quote::to_tokens::ToTokens` is not satisfied
  --> src/lib.rs:45:18
   |
   |       let output = quote! {
   |  __________________^
   |         .......
   | |     };
   | |_____^ the trait `quote::to_tokens::ToTokens` is not implemented for `std::vec::Vec<std::string::String>`
   |
   = note: required by `quote::to_tokens::ToTokens::to_tokens`
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

This is intentional; you would need to use https://github.com/dtolnay/quote/tree/1.0.7#repetition to control what goes in between and around the interpolated elements.


clangd: In included file: 'ostream' file not found

Hi,
i have an problem with clangd and lsp-zero.
no std include files work, even if it is only an simpel test program like:
#include <iostream>

int main()
{
    std::cout << "Hello World" << std::endl;
}

and i have a compile_flags.txt file set up at:
-isystem /usr/include/c++/11/
--target=x86_64-pc-linux-gnu

that the log file tells me has been sourced:
[START][2023-03-09 17:50:44] LSP logging initiated
[ERROR][2023-03-09 17:50:44] .../vim/lsp/rpc.lua:733	"rpc"	"clangd"	"stderr"	"I[17:50:44.921] clangd version 15.0.6 (https://github.com/llvm/llvm-project 088f33605d8a61ff519c580a71b1dd57d16a03f8)\nI[17:50:44.921] Features: linux+grpc\nI[17:50:44.921] PID: 12331\nI[17:50:44.921] Working directory: /home/hjagu/source/test\nI[17:50:44.921] argv[0]: clangd\nI[17:50:44.921] Starting LSP over stdin/stdout\nI[17:50:44.921] <-- initialize(1)\n"
[ERROR][2023-03-09 17:50:44] .../vim/lsp/rpc.lua:733	"rpc"	"clangd"	"stderr"	"I[17:50:44.922] --> reply:initialize(1) 0 ms\n"
[ERROR][2023-03-09 17:50:45] .../vim/lsp/rpc.lua:733	"rpc"	"clangd"	"stderr"	"I[17:50:45.083] <-- initialized\nI[17:50:45.083] <-- textDocument/didOpen\n"
[ERROR][2023-03-09 17:50:45] .../vim/lsp/rpc.lua:733	"rpc"	"clangd"	"stderr"	'I[17:50:45.084] Loaded compilation database from /home/hjagu/source/test/compile_flags.txt\nI[17:50:45.084] ASTWorker building file /home/hjagu/source/test/test.cpp version 0 with command \n[/home/hjagu/source/test]\n/home/hjagu/.local/share/nvim/mason/packages/clangd/clangd/bin/clang-tool "-isystem /usr/include/c++/11/" --target=x86_64-pc-linux-gnu -resource-dir=/home/hjagu/.local/share/nvim/mason/packages/clangd/clangd/lib/clang/15.0.6 -- /home/hjagu/source/test/test.cpp\n'
[ERROR][2023-03-09 17:50:45] .../vim/lsp/rpc.lua:733	"rpc"	"clangd"	"stderr"	"I[17:50:45.108] --> textDocument/publishDiagnostics\n"
[ERROR][2023-03-09 17:50:49] .../vim/lsp/rpc.lua:733	"rpc"	"clangd"	"stderr"	"I[17:50:49.734] <-- shutdown(2)\nI[17:50:49.734] --> reply:shutdown(2) 0 ms\n"

including libs works just fine and if i prepend 11/ to the include it finds the files but tells me there is an error in it.

Did you try with a capital i in the command flags?
-Isystem /usr/include/c++/11/

i tried with -I now and it dosen't work.

How about without that "system" word?
-I/usr/include/c++/11/

Thanks!! when i added all g++ include file locations with -I it works.


[hacktoberfest] Web P2P app landing page

This PR resolves the issue #47.
Live URL: https://pay-paddy.vercel.app/
The sub-account/create endpoint throws an error currently.

@ezechuka  sub-account/create has now been fixed. Only the sub account name is required.

@uchibeke the PR has been updated & signup/login works correctly. I would like a review please.

@ezechuka i tested. Sign in and sign up doesn’t work using the link above

For some reason the first link was not reflecting the changes, please try this one ==> https://pay-paddy-ezechuka.vercel.app/

The giftcard payout is in a separate PR #63

The giftcard payout is in a separate PR #63

Merged that. Could you update the code from your branch after rebasing from this main and then push again? Might need to force push to your branch
Currently, the gift card code is still in this branch

The giftcard payout is in a separate PR #63

Merged that. Could you update the code from your branch after rebasing from this main and then push again? Might need to force push to your branch
Currently, the gift card code is still in this branch

Thank you very much for the suggestion 👍🏿 . The branch has been updated


Added Cryptography Course

What does this PR do?
Add resource(s)
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
Yes
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

@eshellman So I have to make another category for security?

no, it already exists

@eshellman I have done the necessary changes.


5.0.0 Harmony pairing not working because of HTTP302 issue

Hello,
I recently updated switched from a windows ha-bridge to a docker version in 5.0.0 and discovered that the Pairing process from my Harmony Hub could not complete.
To better understand if it was related to my docker, I did all the test using the official relaeses on my windows machine and found the following
While doing a quick network analysis on a working version (4.5.6), we see the request from my Harmony hub (.119) :
<IP_ADDRESS>:38225	<IP_ADDRESS>:3080	HTTP	235	POST /api/ HTTP/1.1  (application/json)
and then the reply
<IP_ADDRESS>:3080	<IP_ADDRESS>:38225	HTTP	66	HTTP/1.1 200 OK  (application/json)
and then the pairing process starts and complete correctly.
Doing the same process in 5.0.0 shows that it's now using an HTTP 302 redirect :
<IP_ADDRESS>:3080	<IP_ADDRESS>:38225	HTTP	211	HTTP/1.1 302 Found 	Location : http://<IP_ADDRESS>/api
However the target (location) does not include the port, which is certainly one good reason for the pairing failure.
Best regards
pcap files.zip

Which direction are you pairing the harmony hub? To the ha-bridge or from the ha-bridge...

To the HA-Bridge, I use the MyHarmony configuration software to scan the devices available on my network, when discoevered I select the fake Hue bridge and when I click Next it asks me to push on the Sync Button on my Hue Bridge (which I manually do through the HABridge WebUI)

Hi, same problem here:
When pairing Harmony Hub to ha-bridge i experience the same problem. Hub is sending "POST /api/ HTTP/1.1", ha-bridge replies with
HTTP/1.1 302 Found
Connection: close
[...]
Server: Jetty(9.4.z-SNAPSHOT)
Any ideas?

This is a duplicate of #797, Please update that thread with any info and close this.

Thanks


Links should not be "resolved"

Hmm, this is interesting.
Running mdformat on:
# mdformat-tables

[![Build Status][ci-badge]][ci-link]
[![codecov.io][cov-badge]][cov-link]
[![PyPI version][pypi-badge]][pypi-link]

An [mdformat](https://github.com/executablebooks/mdformat) plugin for rendering tables.

[ci-badge]: https://github.com/executablebooks/mdformat-tables/workflows/CI/badge.svg?branch=master
[ci-link]: https://github.com/executablebooks/mdformat/actions?query=workflow%3ACI+branch%3Amaster+event%3Apush
[cov-badge]: https://codecov.io/gh/executablebooks/mdformat-tables/branch/master/graph/badge.svg
[cov-link]: https://codecov.io/gh/executablebooks/mdformat-tables
[pypi-badge]: https://img.shields.io/pypi/v/mdformat-tables.svg
[pypi-link]: https://pypi.org/project/mdformat-tables

goes to
# mdformat-tables

[![Build Status](https://github.com/executablebooks/mdformat-tables/workflows/CI/badge.svg?branch=master)](<https://github.com/executablebooks/mdformat/actions?query=workflow%3ACI+branch%3Amaster+event%3Apush>)
[![codecov.io](https://codecov.io/gh/executablebooks/mdformat-tables/branch/master/graph/badge.svg)](<https://codecov.io/gh/executablebooks/mdformat-tables>)
[![PyPI version](https://img.shields.io/pypi/v/mdformat-tables.svg)](<https://pypi.org/project/mdformat-tables>)

An [mdformat](<https://github.com/executablebooks/mdformat>) plugin for rendering tables.

I'd say that's not ideal behaviour 😬
If not in "core", I think we at least want a plugin that can "inhibit" this type of behaviour.

this is achievable I think, but would likely require overriding https://github.com/executablebooks/markdown-it-py/blob/master/markdown_it/rules_inline/link.py and https://github.com/executablebooks/markdown-it-py/blob/master/markdown_it/rules_inline/image.py, to output a new/special token type.
Then the easiest thing for the references, might be to dump them all at the end of the document.

I'd say that's not ideal behaviour :grimacing:

This is a bit loosely held opinion at this point, but I'm not sure I agree with this. Mdformat is an opinionated formatter, and this is a case where there are two structures that render to equal HTML. Mdformat has the opinion that inline links are better than reference links.
If theres a good argument to be made for mixing up these two styles, we could ofc consider changing this behavior.

this is achievable I think, but would likely require overriding...

I'm not 100% sure but I think a plugin might be possible without any changes to parsing, due to the fact that plugins have access to the env dict (and env["references"]). If a reference exists there then a link can probably be assumed to be a reference link.

Then the easiest thing for the references, might be to dump them all at the end of the document.

Agree with this.

Mdformat has the opinion that inline links are better than reference links.

Why, what's the reasoning? I'm pretty sure this was not a pre-determined opinion 😜

I think a plugin might be possible without any changes to parsing,

No it definitely is; you have to override behaviour in links/images to auto-replace references during parsing

Why, what's the reasoning? I'm pretty sure this was not a pre-determined opinion

I couldn't think of a reason why one of these styles would hugely superior to the other. So had to pick one, and inline links I believe are used more and were a lot easier to implement. This "opinion" is documented in the readme, it's not there purely by accident.

No it definitely is; you have to override behaviour in links/images to auto-replace references during parsing

I'm probably misunderstanding something, but aren't these auto-replaced references still in the env dict, even though not in the token stream?

Ah I missed that bullet point, my bad.
But I would say references are superior, since
(a) they reduce duplication
(b) they make the document more readable
for example this:
[mdformat] ... [mdformat] ... [mdformat]

| a          | b          |
| ---------- | ---------- |
| [mdformat] | [mdformat] |

[my-ref]: https://github.com/executablebooks/mdformat

rather than this
[mdformat](https://github.com/executablebooks/mdformat) ... [mdformat](https://github.com/executablebooks/mdformat) ... [mdformat](https://github.com/executablebooks/mdformat)

| a                                                       | b                                                       |
| ------------------------------------------------------- | ------------------------------------------------------- |
| [mdformat](https://github.com/executablebooks/mdformat) | [mdformat](https://github.com/executablebooks/mdformat) |

but aren't these auto-replaced references

ah yeh so possibly re-replacing the references during rendering. That could work

the point is that they were included in CommonMark for a reason, and using mdformat should not preclude their use

Oh and as discussed in #33, this minimises diffs, if you need to change the href 😉

re-replacing the references during rendering

The one "compromise" here, is that references are stored like:
env["references"] = {
  "label1": {"href": "myhref1", "title": "my title", "map": [0, 1]},
  "label2": {"href": "myhref2", "title": "my title", "map": [2, 3]},
  "label3": {"href": "myhref2", "title": "my other title", "map": [4, 5]}
}

To re-instate them during rendering, you would need to translate this mapping to use href as the key, since link/image tokens do not store the original label.
env["references"] = {
  "myhref1": {"label": "label1", "title": "mytitle", "map": [0, 1]},
  "myhref2": {"label": "label2", "title": "mytitle", "map": [2, 3]},
}

as you see, in this example we have now lost one of the original references.
Perhaps this is good, in that there should only be unique mappings of label -> href, but the corner-case (as shown) is if they had different titles.

since link/image tokens do not store the original label

I could cheat and add an option in markdown-it-py, for these labels to be stored in the tokens.
This would be a deviation to the JS code, but hey its my package, so my perogative 😄

Yeah I'm starting to think we want to support ref links too.

the point is that they were included in CommonMark for a reason, and using mdformat should not preclude their use

This isn't a very good point though. Formatters by definition work in a way where they preclude the use of some style related syntax. If a formatter does not make any of these decisions, then it's just a text passthrough function like lambda x: x.


Prepare sdx-controller 2.0.0

Issue is #170.  Changes:

Bump up datamodel and pce requirements
Update version string in setup.py
Add a changelog

Coverage: 45.288%. Remained the same when pulling 6a999a3efdead1a2a9f443e5a159215802b0a988 on 170.sdx-controller-2.0.0 into 6ee41852b7efa161d6b845b769fcf7be8206d5b1 on main.


how to get the pre_trained node embedding file?

Me too, I would like to ask for the same question

Pre-trained node embeddings can be obtained by any other network embedding method. Of course you can randomly initialize the node embeddings, but it may take you more time to fine-tune the hyper-parameters to observe a good result. In other words, a relatively "good" set of initial node embeddings can help GAN to converge better.

@hwwang55 Thank you for explaining the reason in detail

@hwwang55 Could you please tell me that what method did you use to obtain the pre-trained node embeddings.

@fukien It's DeepWalk

@hwwang55 Noted, thanks.


Unable to install vcpkg; binarycaching.cpp compilation errors

Describe the bug
I cloned the vcpkg github repo into E:\vcpkg and ran the bootstrap bat script. The script output some build errors.
Environment

OS: Windows 10 64 bit
Compiler: VS2019 16.8.2, VS2017 15.9.29, VS2015 14.0.25431.01

To Reproduce
Steps to reproduce the behavior:

git copy https://www.github.com/microsoft/vcpkg .\vcpkg
cd vcpkg
.\bootstrap-vcpkg.bat
See error

Expected behavior
vcpkg installs successfully
Failure logs
PS E:\vcpkg> .\bootstrap-vcpkg.bat

Building vcpkg.exe ...

  unity_ZELS9BCLEDZMTV2J.cpp
E:\vcpkg\toolsrc\src\vcpkg\binarycaching.cpp(987,8): error C2872: 'details': ambiguous symbol [E:\vcpkg\toolsrc\windows
-bootstrap\vcpkg.vcxproj]
E:\vcpkg\toolsrc\include\vcpkg\binarycaching.private.h(35,15): message : could be 'vcpkg::details' [E:\vcpkg\toolsrc\wi
ndows-bootstrap\vcpkg.vcxproj]
E:\vcpkg\toolsrc\src\vcpkg\base\system.print.cpp(6,15): message : or       'vcpkg::System::details' [E:\vcpkg\toolsrc\w
indows-bootstrap\vcpkg.vcxproj]
E:\vcpkg\toolsrc\src\vcpkg\binarycaching.cpp(987,31): error C2872: 'details': ambiguous symbol [E:\vcpkg\toolsrc\window
s-bootstrap\vcpkg.vcxproj]
E:\vcpkg\toolsrc\include\vcpkg\binarycaching.private.h(35,15): message : could be 'vcpkg::details' [E:\vcpkg\toolsrc\wi
ndows-bootstrap\vcpkg.vcxproj]
E:\vcpkg\toolsrc\src\vcpkg\base\system.print.cpp(6,15): message : or       'vcpkg::System::details' [E:\vcpkg\toolsrc\w
indows-bootstrap\vcpkg.vcxproj]
E:\vcpkg\scripts\bootstrap.ps1 : Building vcpkg.exe failed. Please ensure you have installed Visual Studio with the
Desktop C++ workload and the Windows SDK for Desktop C++.
At line:1 char:4
+ & {& 'E:\vcpkg\scripts\bootstrap.ps1' }
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,bootstrap.ps1

ScriptHalted
At E:\vcpkg\scripts\bootstrap.ps1:411 char:5
+     throw
+     ~~~~~
    + CategoryInfo          : OperationStopped: (:) [], RuntimeException
    + FullyQualifiedErrorId : ScriptHalted

Additional context
I'm using Powershell Core 7 and Windows Terminal, if that makes any difference.

I just realized I enabled unity build support through environment variables and that it generated a unity build which vcpkg probably isn't even written to support. I guess it's good for y'all to know unity builds won
t work with the code as is? Sorry about the false alarm.


[W5][W13-3] Darren Lee Wei Sheng

Hello everyone,
Here is the pull request for a function that allows the editing of phone numbers in the address book.
The Function is not not fully operational as of yet.
For your review.
Thanks

Awesome!

Nice feature! Just a small suggestion, you might want to include a validity check for the newly added phone number, and perhaps make sure it is not identical to any number already stored in the address book.

Hello everyone
I have updated the functionality of the edit function so that it now operates as intended.  Outstanding tasks include completing the auto-tests and the documentation.
For your review.
Thanks

Hello everyone
Final update for the auto-tests and user guide documents.
For your review.
Thanks

Great feature added. Good base that we can expand on to allow the user to edit all kinds data in each record in the final version of our app.


Add pluginHoverProvider

This splits out the hover work into the ghc-mod and (new) haddock plugin

LGTM, basically a reorganisation of the code.
Merge when CI passes.


fix: add context to policy in the creation request

What this PR changes/adds
Add the context to the policy in the creation request.
Why it does that
The context is necessary to have the policy type properly parsed.

The change is meant for EDC 0.5.2, Samples repo still targeting 0.4.x, closing

that's true, for some reasons dependabot didn't kick it, will provide a PR to fix that


Update shunit2 submodule

Thank you so much for opening a PR for P9k! Many of our best features and segments have come from the community, and we are excited to see your contribution.
To help you make the best PR, here are some guidelines:

The master branch is our stable branch, and the next branch is our development branch. If you are submitting a bug fix, please file your PR against master. If it is a new feature, enhancement, segment, or something similar, please submit it against next. For more information, please see our Developer's Guide.
We maintain unit tests for segments and features in the test directory. Please add unit tests for anything new you have developed! If you aren't sure how to do this, go ahead and file your PR and ask for help!
For running manual tests in different environments, we have Vagrant and Docker configurations. Please see the Test README and make sure your new feature is working as expected!
If your PR requires user configuration, please make sure that it includes an update to the README describing this.
P9k maintains a lot of useful information in our Wiki. Depending on the content of your PR, we might ask you to update the Wiki (or provide text for us to use) to document your work. Most PRs don't require this.
Please make your commit messages useful! Here is a great short guide on useful commit messages.

Once you have submitted your PR, P9k core contributors will review the code and work with you to get it merged. During this process, we might request changes to your code and discuss different ways of doing things. This is all part of the open source process, and our goal is to help you create the best contribution possible for P9k =).
Please follow this template for creating your PR:
Please make the title of your PR descriptive! If appropriate, please prefix the title with one of these tags:

[Bugfix]
[New Segment]
[Docs]
[Enhancement]

Please describe the contribution your PR makes! Screenshots are especially helpful, here, if it's a new segment.
If your PR is addressing an issue, please reference the Issue number here.
Is there something in your PR you're not sure about or need help with? Is there a particular piece of code you would like feedback on? Let us know here!

Hi @diraol !
Thanks for the PR. Before you put too much work into fixing the tests. I already updated shunit in #934 . Sorry.

Oh! I haven't seen your PR!
Great work over there! I'll take a look at there, thank! ;)


Made Code Readable

I fail to see how this makes anything "readable". In fact, I would say it's less readable, given the lack of indentation and extraneous newlines.

Closing per @tiesont comment


q-google-map extension install error

I just installed this extension and updated the quasar.conf file
      env: {
        options: JSON.stringify({
          load: {
            key: 'AIzaSyDJ-bNx46fY5f-Vey27W5jyuHJdzpV5ls0'
          },
          installComponents: true
        })
      }

And I am getting this error
Uncaught SyntaxError: Unexpected token o in JSON at position 1
    at JSON.parse (<anonymous>)
    at Object.install (index.esm.js?1344:6)
    at Function.Vue.use (vue.runtime.esm.js?5593:5107)
    at eval (register.js?03bd:3)
    at Module../node_modules/quasar-app-extension-q-google-map/src/boot/register.js (vendor.js:4719)
    at __webpack_require__ (app.js:854)
    at fn (app.js:151)
    at eval (client-entry.js?e881:1)
    at Module../.quasar/client-entry.js (app.js:1019)
    at __webpack_require__ (app.js:854)

Could you let me know how to fix it?

Could you please post the steps you followed to add the extension and also your quasar version?

No response from question owner for long time so closing this.


fixup! fix: missing delegation files

there was an error with the last PR, where we tried to call validate() on a None object.

the fixup commit has been integrated into the dev branch

the fixup commit has been integrated into the dev branch


Latest hotfix breaks ICMP

The latest hotfix to TCP/IP makes an assertion in IPv4 to fail on ICMP ping. In other words no pinging for the next few minutes while somebody cooks up a hotfix.

Fixed with https://github.com/hioa-cs/IncludeOS/pull/576/commits/84d59c7d7ea531e00b4325adaa5b7aa12d1126e6