chore(AutoSuggest): Remove unused Autosuggest impl

Description

Removes the unused Autosuggest implementation for trailing inline Input suggestions

This PR resolves []
QA Testing

Acceptance Criteria

Setup Instructions

PR Checklist

[x] I tested my changes on iOS / Android.
[ ] I added screenshots or videos to illustrate my changes.
[ ] I added Tests and Stories for my changes.
[ ] I added an app state migration.
[ ] I hid my changes behind a feature flag.
[ ] I have prefixed changes that need to be tested during a release QA with [NEEDS EXTERNAL QA] on the changelog.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Remove unused Autosuggest - kizito

Need help with something? Have a look at our docs, or get in touch with us.

Thanks for the fix Kizito. Let's cherry pick this into the upcoming release


JARVIS.py

This is an application like AI not actually an AI nut it is good

@soham11naigaonkar why is it closed? it seemed interesting.


kong nginx-ingress not support http2 upstream

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
2.4.1
Current Behavior
we use kong-nginx-ingress as gateway, and we have http2 server, can kong support http2 protocol with upstream http2 servers ?
kong docs supports backend protocols only for http/https/grpcs/grpc/tcp/tls, see docs in https://docs.konghq.com/kubernetes-ingress-controller/latest/references/annotations/#konghqcomprotocols
we tests client use http2 , and found kong can handle http2 ,but kong proxy url to upstream server with http1.1

this is a trafficecapture on serversides:

client side http2 request
$ curl -0 --http2 http://nginx/yevents/v1/topic/broker.invest_plan/events -X POST --header "Content-Type: application/json" -d '[{xxxxx}]' -vv
Note: Unnecessary use of -X or --request, POST is already inferred.

Trying <IP_ADDRESS>...
TCP_NODELAY set
Connected to nginx (<IP_ADDRESS>) port 80 (#0)

POST /yevents/v1/topic/broker.invest_plan/events HTTP/1.1
Host: nginx
User-Agent: curl/7.58.0
Accept: /
Connection: Upgrade, HTTP2-Settings
Upgrade: h2c
HTTP2-Settings: AAMAAABkAARAAAAAAAIAAAAA
Content-Type: application/json
Content-Length: 704

upload completely sent off: 704 out of 704 bytes
< HTTP/1.1 200 OK
< Content-Type: application/json; charset=utf-8
< Content-Length: 750
< Connection: keep-alive
< Date: Sat, 07 May 2022 05:02:43 GMT
< X-Kong-Upstream-Latency: 21
< X-Kong-Proxy-Latency: 1
< Via: kong/2.4.1
<

can kong support http2 upstream ? and how ?  thanks
Expected Behavior
expected kong can proxy the same http2 request to http2 server
Steps To Reproduce
No response
Anything else?
No response

That is the limitation of Nginx proxy module. It only supports http 1.1 (and 1.0). It only supports http 2.0 with grpc proxy module that Kong uses to proxy GRPC. See: https://trac.nginx.org/nginx/ticket/923
We do not have plans to replace Nginx proxy module at the moment.

As per https://github.com/Kong/kong/issues/8767#issuecomment-1149647897

@bungle @jschmid1 The concluding https://trac.nginx.org/nginx/ticket/923#comment:20 there is two years old, while this thread is a few months old. Does that NGINX limitation still apply to latest Kong 2.x/3.x ?

@mloskot, same limitation still applies to Nginx, it cannot proxy generic http/2 to upstream (only http 1.1 and http 1.0), and gRPC subset of http/2. They are currently working on adding http/3, and I have not seen anything done for adding generic http/2.
Either someone else does it, or we do it in Lua for example. But it is not very high on priority at the moment.


kernel-modules-headers fails on i586 arch (ex: qemux86)

gen_mod_headers: Unrecognised karch: i586

The recipe should actually use x86 for any *86 TRANSLATED_TARGET_ARCH.

@floion The arch parameter matches the arch as the linux kernel is concerned, i.e. it has to be a directory under arch/, so this seems to me to require a fix in the recipe rather than the script, do you agree?

Exactly. That's why the issue is towards meta-resin and not the tool.

Yes, agree

Ok @floion will leave this in your capable hands, let me know if there's anything I can do to help!


fix: coop page2 style

for https://github.com/icpdao/icp/issues/13#issue-843973791

for https://github.com/icpdao/ei-voting-game/issues/8


Xiaomi motion sensor (Feature Request)

Would it be possible to add this device? I believe it is the same as the Aquara motion sensor just with a slightly different name.
[1/3/2021, 11:14:31] [ZigBee] No device found from message {
type: 'attributeReport',
device: Device {
ID: 4,
_type: 'EndDevice',
_ieeeAddr: '0x00158d0003f10d23',
_networkAddress: 5215,
_manufacturerID: 4151,
_endpoints: [ [Endpoint] ],
_manufacturerName: 'LUMI',
_powerSource: 'Battery',
_modelID: 'lumi.sensor_motion',
_applicationVersion: 11,
_stackVersion: undefined,
_zclVersion: undefined,
_hardwareVersion: undefined,
_dateCode: undefined,
_softwareBuildID: undefined,
_interviewCompleted: true,
_interviewing: false,
meta: {},
_lastSeen:<PHONE_NUMBER>177,
_linkquality: 57
},
endpoint: Endpoint {
ID: 1,
profileID: undefined,
deviceID: undefined,
inputClusters: [],
outputClusters: [],
deviceNetworkAddress: 5215,
deviceIeeeAddress: '0x00158d0003f10d23',
clusters: { genBasic: [Object], msOccupancySensing: [Object] },
_binds: [],
_configuredReportings: [],
meta: {}
},
data: { occupancy: 1 },
linkquality: 57,
groupID: 0,
cluster: 'msOccupancySensing',
meta: {
zclTransactionSequenceNumber: 15,
manufacturerCode: null,
frameControl: {
frameType: 0,
manufacturerSpecific: false,
direction: 1,
disableDefaultResponse: true,
reservedBits: 0
}
}
}

Could you please send me the exact model? You can find it in the Zigbee2MQTT devices page https://www.zigbee2mqtt.io/information/supported_devices.html

Could you please send me the exact model? You can find it in the Zigbee2MQTT devices page https://www.zigbee2mqtt.io/information/supported_devices.html

Sorry should have thought to include this. It is the RTCGQ01LM

Sorry should have thought to include this. It is the RTCGQ01LM

@madchicken if you didn't already started with this I can have a look. It seems to me we only have to add the modelID and zigbeeID to the index.ts
You can assign me to that if you want

@madchicken if you didn't already started with this I can have a look. It seems to me we only have to add the modelID and zigbeeID to the index.ts
You can assign me to that if you want

Should be already supported in the unstable branch

Should be already supported in the unstable branch

Fixed in v2.0.0

Fixed in v2.0.0


Issues while using for local development in active project

With an active project, I am facing below issues while using vega for local development.

After using vega 4-5 hours, I am facing system performance degrade and degrade in site performance as well.
The live update is also gets failed if there are frequent changes in the files, the site gets stopped working and there is no log available because drupal service is not up.
Many of the times drush commands are not available using docker-compose run --rm drupal drush status
Solution: Need to do vega restart and suddenly everything starts working.
I am not able to import config using drush command because it is taking a very long time.

NOTE: Compared the drush commands response time with normal MAMP setup, it is very quick there.

@AshishThakur, I tried with named volume (.: /app: cached) instead of a live update on local (2 sites running using vega), it's working fine. I didn't see any exponential performance degrade. It's working fine for me after this change. I am checking this with the apache d8 starter kit.


Running the code model_flops = flops.total () will result in an assertion error？

Traceback (most recent call last):
File "../unetr_pp/run/run_training.py", line 171, in
main()
File "../unetr_pp/run/run_training.py", line 142, in main
trainer.initialize(not validation_only)
File "/home/lcl/unetr_plus_plus/unetr_pp/training/network_training/unetr_pp_trainer_tumor.py", line 150, in initialize
self.initialize_network()
File "/home/lcl/unetr_plus_plus/unetr_pp/training/network_training/unetr_pp_trainer_tumor.py", line 189, in initialize_network
model_flops = flops.total()
File "/home/lcl/anaconda3/envs/unetr_pp/lib/python3.8/site-packages/fvcore/nn/jit_analysis.py", line 248, in total
stats = self._analyze()
File "/home/lcl/anaconda3/envs/unetr_pp/lib/python3.8/site-packages/fvcore/nn/jit_analysis.py", line 583, in _analyze
op_counts = self._op_handles[kind](inputs, outputs)
File "/home/lcl/anaconda3/envs/unetr_pp/lib/python3.8/site-packages/fvcore/nn/jit_handles.py", line 181, in einsum_flop_jit
assert len(inputs) == 2, len(inputs)

Duplicate of https://github.com/Amshaker/unetr_plus_plus/issues/55


fix: support string to number type in JSONB_POPULATE_RECORD

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
close #19918
Checklist

[ ] I have written necessary rustdoc comments.
[ ]  I have added necessary unit tests and integration tests.
[ ]  I have added test labels as necessary.
[ ]  I have added fuzzing tests or opened an issue to track them.
[ ]  My PR contains breaking changes.
[ ]  My PR changes performance-critical code, so I will run (micro) benchmarks and present the results.
[ ]  My PR contains critical fixes that are necessary to be merged into the latest release.

Documentation

[ ]  My PR needs documentation updates.

Release note

Is decimal excluded here by design?
@xiangjinwu

Is decimal excluded here by design?
@xiangjinwu

No. According to the PostgreSQL doc I just shared above, all data types having an input conversion function is supported.

The current implementation is still different from PostgreSQL but we may prefer simplicity over pg-compatibility here:

If the output column is a composite (row) type, and the JSON value is a JSON object, the fields of the object are converted to columns of the output row type by recursive application of these rules.
Likewise, if the output column is an array type and the JSON value is a JSON array, the elements of the JSON array are converted to elements of the output array by recursive application of these rules.

That is, when the output column is a struct or array, but the JSON value is a JSON string, it shall invoke the input conversion function. For example in PostgreSQL:
test=# select jsonb_populate_record(row(array[8]), '{"f1": "{2, 3}"}');
 jsonb_populate_record
-----------------------
 ("{2,3}")
(1 row)

However, the input conversion function for PostgreSQL struct and array is wired and discouraged to use. Practically we do not need to support it here:

"{2, 3}" as PostgreSQL array. Note the usage of {} instead of [] as in JSON.
"(2, true)" as PostgreSQL struct. Note the usage of () and lack of field names, compared to {} in JSON.


no work sync sleep

Hi, sleep sync does not work in ios.

I tried to reset the device and it started working again. It depended on the device


[env] settings are not consistently applied to rustc invocations

Problem
The docs on the [env] section in the config file state:

The [env] section allows you to set additional environment variables for build scripts, rustc invocations, cargo run and cargo build.

Hence, I would expect these variables to be set whenever rustc is invoked. In practice, compiling a simple Hello World crate reveals that the compilation starts with a rustc invocation that does not have these environment variables set.
Steps

Set an environment variable in the cargo config
Expect it to consistently apply to all rustc invocations
It doesn't

Possible Solution(s)
The environment variable should be consistently applied to all rustc invocations.
Notes
This problem is especially frustrating in conjunction with sccache (as rustc-wrapper). sccache can be configured via environment variables, which makes an [env] section in a config.toml an extremely attractive way for a project-specific caching setup. sccache launches a server process on its first invocation. Since the current behavior of cargo is to ignore environment variables for the first rustc invocation, sccache will at that point launch a server process that is missing the config (and instead defaults to caching on the local disk). Subsequent invocations would have the environment variables present, but since the sccache server is already running, they will be ignored. In essence, the only way to make this work is to wrap sccache in a shell script that explicitly sets the variables, rendering cargo's env feature entirely useless for this usecase.
Version
cargo 1.68.0 (115f34552 2023-02-26)
release: 1.68.0
commit-hash: 115f34552518a2f9b96d740192addbac1271e7e6
commit-date: 2023-02-26
host: x86_64-unknown-linux-gnu
libgit2: 1.5.0 (sys:0.16.0 vendored)
libcurl: 7.86.0-DEV (sys:0.4.59+curl-7.86.0 vendored ssl:OpenSSL/1.1.1q)
os: Arch Linux Rolling Release [64-bit]

Can you give more detailed reproduction steps?
I setup a project
$ cargo init
$ mkdir .cargo

.cargo/config.toml
[env]
HELLO="goodbye"

src/main.rs
fn main() {
    println!("{}, world!", env!("HELLO"));
}

And got this result:
$ cargo run
   Compiling cargo-12028 v0.1.0 (/home/epage/src/personal/dump/cargo-12028)
    Finished dev [unoptimized + debuginfo] target(s) in 0.44s
     Running `target/debug/cargo-12028`
goodbye, world!

Sure!
$ cargo init
$ mkdir .cargo
$ cat > .cargo/config.toml
[build]
rustc-wrapper = './wrapper.sh'

[env]
HELLO="goodbye"
$ cat > wrapper.sh
#!/bin/sh
echo "HELLO=$HELLO" >> build.log
exec "$@"
$ chmod +x wrapper.sh
$ cargo build
$ cat build.log
HELLO=
HELLO=goodbye

This problem is especially obnoxious to debug because the output of the env-less invocation is totally suppressed, so it's only directly reproducible by writing into a file.

@epage They are referring to the target discovery (around here).  I think it was just an oversight.

To make [env] work for the rustc invocation of the target discovery, we could apply code similar to this:
https://github.com/rust-lang/cargo/blob/a4a8bd1742b8e60f069a5a9cea6351de39ef80d9/src/cargo/core/compiler/compilation.rs#L352-L362
Could it be that people already depend on this unfortunate oversight that first rustc call get no env from [env]? Feel like it's pretty rare.


Add support for HTMLCollection, ,

Tests are in select.rs.

Summary changes:

Update specs links
Run benchmark ([] vs .item) linked by @Pauan on my system:

Firefox 59: [] 41% slower than .item
Chromium 65: .item 46% slower than []

So, I will use .item for an .item.
Note that what I have done for html_collection.rs is copy from node_list.rs. After this discussion, I found out that I can use HtmlCollection::item in its iterator (in next method). Please take a look to html_collection.rs (item, ElementIter), are they ok? (they are covered by tests in select.rs)

Keep pub fn value(&self) -> Option<String>, implement as @Pauan suggested.
Since SelectElement::value is still return Option<String>,  set_value will still receive Option<String> and its new implement is as below:

    pub fn set_value(&self, value: Option<String>) {
        match value{
            Some(value) => js!{
                @(no_return)
                @{self}.value = @{value};
            },
            None => js!{
                @(no_return)
                @{self}.selectedIndex = -1;
            }
        };
    }

@jaroslaw-weber This PR uses js! to add in the desired functionality, but there's nothing special about it: you can also use js! in your code as well:
fn raw_value(node: &Node) -> String {
    js!( return @{node}.value; ).try_into().unwrap()
}

So you don't need to wait: just use js! in your own code.

I hope this is the last commit require for this PR!
Thank you for all your guide and help! This is my very first contribution to opensoure software/Rust ecosystem. Think you have very careful attention while reviewing my work. Thanks again!
Of course, if you find out any new issue, I will fix it!

LGTM! Thanks a lot! (:


Improve System Activity actor_process descriptions

The description (and possible example) of actor_process across the System Activity category should be set per class as it has different meanings and can clear up any doubt a person may have when producing/consuming system activity events.

Updated the descriptions for most events in System Activity, some events will still need new descriptions pending additional review


ARROW-5110: [Go] implement reading struct arrays from Arrow file

Codecov Report

Merging #4158 into master will decrease coverage by 26.75%.
The diff coverage is 4.61%.

@@             Coverage Diff             @@
##           master    #4158       +/-   ##
===========================================
- Coverage   87.89%   61.13%   -26.76%
===========================================
  Files         758       67      -691
  Lines       92163     4912    -87251
  Branches     1251        0     -1251
===========================================
- Hits        81006     3003    -78003
+ Misses      11040     1798     -9242
+ Partials      117      111        -6

Impacted Files
Coverage Δ

go/arrow/ipc/file_reader.go
0% <0%> (ø)
:arrow_up:

go/arrow/ipc/metadata.go
0% <0%> (ø)
:arrow_up:

go/arrow/array/list.go
74.56% <0%> (-12.18%)
:arrow_down:

go/arrow/array/struct.go
84.31% <100%> (+11.67%)
:arrow_up:

python/pyarrow/ipc.pxi

cpp/src/arrow/csv/chunker-test.cc

cpp/src/parquet/column_page.h

cpp/src/parquet/bloom_filter-test.cc

cpp/src/arrow/array/builder_decimal.cc

cpp/src/plasma/client.cc

... and 687 more

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 1c0930d...75f72bf. Read the comment docs.

PTAL @stuartcarnie @alexandreyc @nickpoorman


English notebooks are filled with Chinese content... this needs to be translated properly

The content looks great, but as I went to use it, I found a lot of language problems (isn't that ironic for an LLM repo?).
I cannot recommend this repository "as is" to my English-speaking colleagues and students because many parts of the "English" notebooks that are still in Chinese.  This does NOT appear to be intentional.
See for example:  https://github.com/EgoAlpha/prompt-in-context-learning/blob/main/langchain_guide/LangChainTutorial_en.ipynb
Yes, I know students could use LLMs to translate them, but the translations must be checked for accuracy with the intended meaning.  A Chinese LLM developer who knows English WELL needs to do that final proofreading.
I appreciate your great efforts in putting this repository together, and sharing it with the English-speaking world.  These final translations will help make them accessible to many more people.  Thanks in advance for translating them.
Thank you.
Richard Lysakowki

您好，我已收到您的来信!Hello, I've received your letter!

Thanks for the questions you pointed out, we will check off our repo in two days, and then, we will release the complete notebook in corresponding location of repo. Thanks again!
---- Replied Message ----
| From | Rich @.> |
| Date | 08/08/2023 12:40 |
| To | EgoAlpha/prompt-in-context-learning @.> |
| Cc | Subscribed @.***> |
| Subject | [EgoAlpha/prompt-in-context-learning] English notebooks are filled with Chinese content... this needs to be translated properly (Issue #2) |
The content looks great, but as I went to use it, I found a lot of language problems (isn't that ironic for an LLM repo?).
I cannot recommend this repository "as is" to my English-speaking colleagues and students because many parts of the "English" notebooks that are still in Chinese. This does NOT appear to be intentional.
See for example: https://github.com/EgoAlpha/prompt-in-context-learning/blob/main/langchain_guide/LangChainTutorial_en.ipynb
Yes, I know students could use LLMs to translate them, but the translations must be checked for accuracy with the intended meaning. A Chinese LLM developer who knows English WELL needs to do that final proofreading.
I appreciate your great efforts in putting this repository together, and sharing it with the English-speaking world. These final translations will help make them accessible to many more people. Thanks in advance for translating them.
Thank you.
Richard Lysakowki
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Thanks for your advice! We modified the contents that you mentioned above. Thanks again! Best wishes for you!


Support where, group by, having, order by clause without from clause in query statement

Proposed changes
Support where, group by, having, order by clause without from clause in query statement.
For example as following:
SELECT 1 AS a, COUNT(), SUM(2), AVG(1), RANK() OVER() AS w_rank
WHERE 1 = 1
GROUP BY a, w_rank
HAVING COUNT() IN (1, 2) AND w_rank = 1
ORDER BY a;
this will return result:
a|count(*)|sum(2)|avg(1)|w_rank|
-+--------+------+------+------+
1| 1| 2| 1.0| 1|
For another example as following:
select 1 c1, 2 union (select "hell0", "") order by c1
the second column datatype will be varchar(65533), 65533 is the default varchar length.
this will return result:
c1 | 2
-+--------+
1 2
hell0
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall


Findings and further development

The implementer is asked to report his doubts and findings during the implementation and testing.
A second cyclic operation for updating the list of connected devices is planned for MATR v1.0.1 (see issue #42).
Further OperationServers are also planned for future releases.

Just explanation.


Update ForgeRock_Vert_Color_Logo_RGB_R_med.svg

fixed miniscule-sizing issue
Fixes #
Proposed Changes

@v-jayakal  - please review and close on this - would be great to deploy this logo for ForgeRock. Thanks.

approved


PS gets corrupted BP output

Commit I'm using: https://github.com/black-parrot-hdk/zynq-parrot/commit/556d15c0b24679df2040e4f1edf0c4f8d73f4ec1
In the BP example, normally no matter how slow the PS reads the BP outputs from PL, the data should still be complete without missing/corrupting. However if we write a simple program like the following:
int main()
{
    for(;;) {
        printf("Hello how are you doing?\n");
    }
    return 0;
}

... and modify the following function in ps.cpp to simulate the slow polling in PS:
void *device_poll(void *vargp) {
  bp_zynq_pl *zpl = (bp_zynq_pl *)vargp;
  unsigned select = 0;
  while (1) {
#ifndef FPGA
    zpl->axil_poll();
#endif

    if((select++ % 128) == 0) {
      // keep reading as long as there is data
      if (zpl->axil_read(GP0_RD_PL2PS_FIFO_CTRS + gp0_addr_base) != 0) {
        decode_bp_output(zpl, zpl->axil_read(GP0_RD_PL2PS_FIFO_DATA + gp0_addr_base));
      }
    } else {
        zpl->axil_read(GP0_RD_CSR_RESET + gp0_addr_base);
    }

    // break loop when all cores done
    if (done_vec.all()) {
      break;
    }
  }
  bsg_pr_info("Exiting from pthread\n");

  return NULL;
}

Then the output got by PS will be corrupted/missing.
After looking at the waveform, the problem could be from BP instead of the AXI bus, as the strange data do actually come out from BP unicore.
I have also seen cases where PS also gets missing output from BP in simulation even if we do not simulate the slow PS polling like with the above code, but currently I do not have test cases that can reproduce that.

Hi, interestingly I only see this occurring when
    } else {
        zpl->axil_read(GP0_RD_CSR_RESET + gp0_addr_base);
    }

Removing this else, the program runs correctly

That's expected, because we use that "else" to forward the simulation time. Without this the c++ program will just keep looping for 128 times without advancing its simulation time and hence fail to simulate the slow PS polling effect.

oh got it, basically zpl->tick();

https://github.com/black-parrot-hdk/zynq-parrot/pull/60 exposes the bug and proposes the solution

#60 still might not work in some other cases. I have found another test case that potentially exposes other problems:
#include <stdio.h>
#include <assert.h>
#include <stdint.h>
#include "bp_utils.h"

#define PACKET_SIZE 1024
#define SCRATCHPAD_BASE 0x1000000UL

char buf[2048] __attribute__ ((aligned (4)));
int total_send_count;
volatile int done;

// valid op_size: 1, 2, 4
void write_packet(const char buf[], int size, int op_size)
{
    assert(op_size == 1 || op_size == 2 || op_size == 4);
    // write packet
    int base;
    int word = size / op_size;
    int offset = size % op_size;
    assert(offset == 0);
    for(base = 0;base < word * op_size;base += op_size) {
        if(op_size == 1) {
            *(volatile uint8_t *)(SCRATCHPAD_BASE + base) =
                *(volatile uint8_t *)(buf + base);
        } else if(op_size == 2) {
            *(volatile uint16_t *)(SCRATCHPAD_BASE + base) =
                *(volatile uint16_t *)(buf + base);
        } else { // op_size == 4
            *(volatile uint32_t *)(SCRATCHPAD_BASE + base) =
                *(volatile uint32_t *)(buf + base);
        }
    }
}

int main()
{
    printf("Test starts\n");

    total_send_count = 6;
    for(int i = 0;i < PACKET_SIZE;i++)
        buf[i] = i % 64;
    // Send packets
    for(int i = 0;i < total_send_count;i++) {
        buf[0] = i; // We use first byte as the packet ID
        printf("Writing #%d packet with word granularity\n", i + 1);
        write_packet(buf, PACKET_SIZE, 4);
    }
    printf("Test ends. Ctrl-C to stop\n");
    while(done == 0);

    bp_finish(0);
}

The expected behavior is to reach "Test ends.". If we disable slow PS simulation it will run properly. However if we have the following setting in Makefile in #60 :
-DSIM_BACKPRESSURE_ENABLE
-DSIM_BACKPRESSURE_SEED=1234
-DSIM_BACKPRESSURE_CHANCE=100
-DSIM_BACKPRESSURE_LENGTH=128
The writing of the first packet will never end. If we open the waveform and check the m01 AXI bus in top.v, one will see BP kind of keeps repeating itself.

(This might also be related: https://github.com/black-parrot-hdk/zynq-parrot/pull/60#issuecomment-1440788088)

Great thanks I'll look into it

Dan and I have discussed offline. Initial investigation shows that bp_me_axil_master could be the source of the bug. Changing the parameter "num_outstanding_p" to 1 can workaround the issue.


Migrate from Kustomize Based Provisioning to Helm

Currently, the deployment of the project is facilitated through the use of kustomize. While this works well in controlled environments, as the project continues to expand and grow more popular, it becomes difficult to manage all of the various configurations.
Migrate the majority of the provisioning logic to Helm to enable extensibility of the project

Resolved by #205


Compatibility with Angular2 (or Angular.io)

Can you provide which is the best pratice and how integrate Tealium in an Angular.io ("Angular 2") website ?

bump

If anybody else is searching for this:
https://github.com/Tealium/integration-angular


Simplifies installation procedure

A first small PR to ease installation procedure.
Raphaël

Will Pull from my fork, sorry


help

It is a great job. I could leave a question, how could I extract key-frames meanwhile extracting the caption of this frame, or how could the net get the time of key-frames, then find the caption?

How could I extract key-frames?
The network only detects shot boundaries. Extraction of key frames for each shot is up to you.

Extracting the caption of this frame...
The network does not extract caption or anything else except the shot boundaries.


extend dosen't work like sass

please help me, dear sir. here is my question.
I use precss with webpack, here is my config file:
postcss.config.js:
module.exports = {   plugins: [     require('precss'),     require('autoprefixer'),   ] };
webpack.config.js:
...   {         test: /\.css$/,         exclude: /node_modules/,         use: [           {             loader: 'style-loader',           },           {             loader: 'css-loader',             options: {               modules: true,               localIdentName: '[local]-[hash:base64:5]',               importLoaders: 1,             }           },           {             loader: 'postcss-loader'           }         ],       } ...
my styles file:
%a{   color: #ffffff; } .b{   @extend %a; } .c{   @extend %a; }
output is:
.b{   color: #ffffff; } .c{   color: #ffffff; }
I suppose it should like:.b, .c{color: #ffffff}
Did I make any mistakes? If not, How should I get that? I mean, extract the common parts with @extend, of cause, not writting like.b, .c{@extend %a;}

Hi there,
no everything precss is trying to do works as it should (in your case).
Your "issue" is related to postcss-extend-rule issue #3.
Simply add cssnano to your pipeline to solve this issue. See Ticket liked above.
PS: autoprefixer already is included in a precss-plugin called postcss-preset-env.
So unless you want to specifically override certain options (maybe because your version number differs or sth.) you should be fine removing  autoprefixer it from your plugin list 😉^^

Hi there,
no everything precss is trying to do works as it should (in your case).
Your "issue" is related to postcss-extend-rule issue #3.
Simply add cssnano to your pipeline to solve this issue. See Ticket liked above.
PS: autoprefixer already is included in a precss-plugin called postcss-preset-env.
So unless you want to specifically override certain options (maybe because your version number differs or sth.) you should be fine removing autoprefixer it from your plugin list 😉^^

I'll try that, thank you!!!

If you have a different plugin to replace extend, it would be considered, but this plugin does not work like Sass. It works like the CSS Extend Rule.


Prefer real architectures to reduce startup time

If we build for virtual archs only, the CUDA driver on the end user machine needs to compile PTX into device code. This is against the spirit of conda providing pre-compiled packages.
Convert the target archs to all real archs except the latest arch which targets both real and virtual, so the driver can compile for future archs.

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Looks like the -real is missing from the last value in each list

It's not missing. 80 is an abbreviation for 80-real;80-virtual

Should this be used for all the values? Or is there a reason to prefer this on just those values?

source code -> PTX (virtual) -> device binary code (real)
You don't gain anything by providing PTX (virtual) for an arch if the device code (real) for the arch is already provided, it just takes up extra space in the binary. The reason that I previous only compiled for virtual archs is because generating code for real archs takes additional time on the CI.
Device code is forward compatible within major versions. Device code for 50 will run on 51, 52, 53, ... devices but not on 60. PTX can be compiled to ANY later version. So if you've covered all the major versions, it's only advantageous to include PTX for the last targeted version (which allows future unknown devices to JIT compile the PTX).
 This would maximize compatability. But we only have 6 hours.

@conda-forge-admin, please rerender


M1: Publish the first functional version of the library on NPM

Publish the first functional version (v0.1) of the library on NPM using the name cmcd-validator
Acceptance Criteria:

The library is available on NPM
The library has documentation in npmjs that covers a simple example

The NPM organization for Montevideo-Tech has already been created as montevideo-tech
We'll be using Lerna to create a multipackage monorepo, so there are a few things to keep in mind:

Packages that won't be published on npm must have the private property enabled in their package.json file.
The Lerna command for publishing is:

npx lerna publish --no-private

To manage package versions, use the command:

lerna version --no-private

This will open a Lerna CLI that will guide you through the versioning process.
For more information on using Lerna, please visit the official Lerna website website


Problem with linking library

Hi,
For the last days I have been trying to link matio-cpp to my project, but without success. I am rather new to cmake, but it seems that I have successfully built and installed the binaries.
I included the library in my project with find_package(matioCpp REQUIRED) (which seems to find the package properly) and linking the libraries with target_link_libraries(my_project PRIVATE matioCpp::matioCpp).
However, when trying to create a MAT-file, I get an undefined reference error for matioCpp::File::Create(...) and matioCpp::File::~File(), which indicates that only the headers are imported, but not the implementations.
Any help would be greatly appreciated! I realize this is not really a problem that is specific to matio-cpp, but it would be awesome if someone could help me out a bit.

Hello @dptreurniet !
Can you share something else about your project/how did you installd matio-cpp and the rest of dependencies? The use of find_package + target_link_libraries is quite standard (see for example https://github.com/robotology/robometry/blob/v1.2.0/src/examples/CMakeLists.txt), so I guess the problem is something specific to either your project or your setup. If you can't share your project, you can try to replicate the problem in a self-contained example that you can share (see https://stackoverflow.com/help/minimal-reproducible-example for more details). Furthermore, in general it is useful to have the full error log, not an extract of it, as you may be have noticed the undefined reference, but perhaps there was something else useful in the log that you did not noticed, and that someone with more experience could have noticed.
Without this information, it is difficult for anyone helping you, as we do not have any information to process on your problem.

Hi @traversaro!
Thanks for your reply :)
I started with HDF5, which was straight-forward using the .msi from their website (I am on running on Windows 11).
The following packages were built with the command cmake --build . --target ALL_BUILD --config Release (or Debug) and installed with cmake --build . --target INSTALL--config Release.
For zlib, this yielded the following files in C:\Program Files(x86)\zlib:
├───bin
│       zlib.dll
│       zlibd.dll
│
├───include
│       zconf.h
│       zlib.h
│
├───lib
│       zlib.lib
│       zlibd.lib
│       zlibstatic.lib
│       zlibstaticd.lib
│
└───share
    ├───man
    │   └───man3
    │           zlib.3
    │
    └───pkgconfig
            zlib.pc

Next step: matio. I built and installed again using cmake, using the just installed HDF5 and zlib include folder and release/debug libraries. That worked just fine, giving me the following in C:\Program Files(x86)\matio:
├───bin
│       libmatio.dll
│       matdump.exe
│
├───include
│       matio.h
│       matio_pubconf.h
│
└───lib
        libmatio.lib

Last step: matio-cpp. Again, built and installed using cmake, giving the following in C:\Program Files(x86)\matioCpp:
├───bin
│       matioCpp.dll
│       matioCppd.dll
│
├───CMake
│       matioCppConfig.cmake
│       matioCppConfigVersion.cmake
│       matioCppTargets-debug.cmake
│       matioCppTargets-release.cmake
│       matioCppTargets.cmake
│       visit_structConfig.cmake
│       visit_structConfigVersion.cmake
│       visit_structTargets.cmake
│
├───include
│   ├───matioCpp
│   │   │   CellArray.h
│   │   │   Config.h
│   │   │   ConversionUtilities.h
│   │   │   EigenConversions.h
│   │   │   Element.h
│   │   │   ExogenousConversions.h
│   │   │   File.h
│   │   │   ForwardDeclarations.h
│   │   │   matioCpp.h
│   │   │   MatvarHandler.h
│   │   │   MultiDimensionalArray.h
│   │   │   SharedMatvar.h
│   │   │   Span.h
│   │   │   Struct.h
│   │   │   StructArray.h
│   │   │   StructArrayElement.h
│   │   │   Variable.h
│   │   │   Vector.h
│   │   │   VectorIterator.h
│   │   │   WeakMatvar.h
│   │   │
│   │   └───impl
│   │           EigenConversions.tpp
│   │           Element.tpp
│   │           ExogenousConversionHelpers.tpp
│   │           ExogenousConversions.tpp
│   │           File.tpp
│   │           MultiDimensionalArray.tpp
│   │           StructArrayElement.tpp
│   │           Vector.tpp
│   │
│   └───visit_struct
│           visit_struct.hpp
│           visit_struct_boost_fusion.hpp
│           visit_struct_boost_hana.hpp
│           visit_struct_intrusive.hpp
│
├───lib
│       matioCpp.lib
│       matioCppd.lib
│
└───share
    └───matioCpp
        └───cmake
                FindMATIO.cmake

So, as far as I can tell, all packages were installed properly. The complete error is (with some file paths redacted):
:-1: error: ninja: build stopped: subcommand failed.
:-1: error: CMakeFiles/H2Analyst.dir/backend/dataset.cpp.obj: in function `H2A::Dataset::Dataset()':
C:\Users\...\dataset.cpp:7: error: undefined reference to `matioCpp::File::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, matioCpp::FileVersion, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
:-1: error: C:/Users/.../dataset.cpp:9: undefined reference to `matioCpp::File::~File()'
:-1: error: collect2.exe: error: ld returned 1 exit status

Hopefully this gives some insight towards a solution!
Cheers

Which compiler are you using? MSVC or MinGW? Are you sure that you are using the same compiler for all the libraries, including the random binaries that you download from a website?  The C++ ABI between the two is different, so in general you can't mix libraries compiled with MSVC.
General comment, perhaps a bit OT: if you need to compile more than a few C/C++ libraries, try to rely on a package manager (such as vcpkg, conan or conda with conda-forge). If you try to download random library binaries and manually compile libraries you always risk of getting problems like this one.

I am using MSVC for all packages, but you could be right about the binaries for HDF5...
Regarding the package manager, matioCpp does not seem to be available. I just tried to install matio via vcpkg, which works fine. However, now I still have to manually build matioCpp right?
Not sure how to continue...

I am using MSVC for all packages, but you could be right about the binaries for HDF5...

Are you sure? The error message you are reporting is :-1: error: collect2.exe: error: ld returned 1 exit status, and the linker of GCC/MinGW is ld, while the one used by MSVC is link.
If you share the CMakeCache.txt (or just the CMAKE_CXX_COMPILER value) of your project we can understand more.

However, now I still have to manually build matioCpp right?

Yes, at the moment there is no matio-cpp port in vcpkg. However, using vcpkg at least you are able to be sure about the hdf5 and matio binaries you are using. To compile a CMake project against vcpkg dependencies, you just need to set in the CMake project the CMAKE_TOOLCHAIN_FILE to the one of vcpkg, see https://learn.microsoft.com/en-us/vcpkg/users/buildsystems/cmake-integration#cmake_toolchain_file .

On second thought, you are totally correct. I am building a Qt application but I was using the MinGW version instead of the MSVC version. I changed that now. I have also added the CMAKE_TOOLCHAIN_FILE as you mentioned (this is done in the Qt Creator IDE).
The error I am now getting is that matio can not be found:
CMake Error at C:/Program Files (x86)/matioCpp/CMake/matioCppTargets.cmake:54 (set_target_properties):
  The link interface of target "matioCpp::matioCpp" contains:

    MATIO::MATIO

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  C:/Program Files (x86)/matioCpp/CMake/matioCppConfig.cmake:32 (include)
  CMakeLists.txt:17 (find_package)

My CMakeLists.txt looks like this:
cmake_minimum_required(VERSION 3.5)

project(myProject VERSION 0.1 LANGUAGES CXX)

set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets PrintSupport)
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets PrintSupport)

find_package(matioCpp REQUIRED)

set(PROJECT_SOURCES
        main.cpp

        backend/dataset.cpp
        backend/dataset.h

        ...
)

if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)
    qt_add_executable(myProject
        MANUAL_FINALIZATION
        resources.qrc
        ${PROJECT_SOURCES}
    )
# Define target properties for Android with Qt 6 as:
#    set_property(TARGET myProject APPEND PROPERTY QT_ANDROID_PACKAGE_SOURCE_DIR
#                 ${CMAKE_CURRENT_SOURCE_DIR}/android)
# For more information, see https://doc.qt.io/qt-6/qt-add-executable.html#target-creation
else()
    if(ANDROID)
        add_library(myProject SHARED
            ${PROJECT_SOURCES}
        )
# Define properties for Android with Qt 5 after find_package() calls as:
#    set(ANDROID_PACKAGE_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/android")
    else()
        add_executable(myProject
            ${PROJECT_SOURCES}
        )
    endif()
endif()

target_link_libraries(myProject PRIVATE Qt${QT_VERSION_MAJOR}::Widgets)
target_link_libraries(myProject PRIVATE Qt${QT_VERSION_MAJOR}::PrintSupport)
target_link_libraries(myProject PRIVATE matioCpp::matioCpp)

set_target_properties(myProject PROPERTIES
    MACOSX_BUNDLE_GUI_IDENTIFIER my.example.com
    MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
    MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
    MACOSX_BUNDLE TRUE
    WIN32_EXECUTABLE TRUE
)

install(TARGETS myProject
    BUNDLE DESTINATION .
    LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/extern/)

if(QT_VERSION_MAJOR EQUAL 6)
    qt_finalize_executable(myProject)
endif()

Thanks a lot for you help so far, I am learning a lot :)

Did you set the CMAKE_TOOLCHAIN_FILE also when compiling your project?

I am compiling the project from within the Qt Creator IDE, which is where I added the tool chain indeed.

The weird thing is that the target MATIO::MATIO is created by the file findMATIO.cmake in share/matioCpp/cmake. This file should be called by matioCppConfig.cmake, that is called by find_package(matioCpp REQUIRED). Could you share the CMakeCache of your project? I would be interested in checking if MATIO_INCLUDE_DIR and MATIO_LIBRARY get properly set.

I have attached the CMakeCache file:
CMakeCache.txt

I suspect something else could be installing a FindMATIO.cmake file that is shadowing the one installed by matio-cpp and is not defining the target we use.

A possible workaround could be:

copy the findMATIO.cmake file to a top-level folder named cmake in your project.
Add the following lines before find_package(matioCpp REQUIRED) in your CMakeLists

list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
find_package(MATIO REQUIRED)

I suspect something else could be installing a FindMATIO.cmake file that is shadowing the one installed by matio-cpp and is not defining the target we use.

I was thinking the same. Not sure why these lines
include(CMakeFindDependencyMacro)
set(CMAKE_MODULE_PATH_BK_matioCpp ${CMAKE_MODULE_PATH})
set(CMAKE_MODULE_PATH ${PACKAGE_PREFIX_DIR}/share/matioCpp/cmake)
find_package(MATIO)
find_package(visit_struct)
find_package(Eigen3)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH_BK_matioCpp})

where
PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE

in matioCppConfig.cmake are not working as expected.
@dptreurniet did you edit the installation files of matioCpp in any way?

I'm very happy to say that copying another findMatio.cmake did the trick! My theory is that in my first attempts to build the packages, another findMatio.cmake was created and was still being used. Now I can hunt that down to clean the system up, but I am sure that I will manage with that. Thank you very much, @traversaro and @S-Dafarra for all the help and the quick responses. I am looking forward to created a nice application with this library now!


[Docs] Delete CONTRIBUTING.md

Description
Removing contributing.md and documenting on Notion to re-evaluate against other contributor guidelines such as:
Milestone Creation Guide
Issue Creation Guide
Community Developer Guide
Integration Branch (Milestone) Merge Guide
All of these guides had been removed from main. A link to Community Developer Guide on a deleted branch remains linked out in the text of pocket/docs/contributing/README.md
If it is preferable to migrate the above into main to be referenced in CONTRIBUTING.md that can be done as well. Deletion based on planning feedback.
Issue
Fixes #393
Type of change
Please mark the relevant option(s):

[ ] New feature, functionality or library
[ ] Bug fix
[ ] Code health or cleanup
[ ] Major breaking change
[x] Documentation
[ ] Other

List of changes

Deleted CONTRIBUTING.md

Testing

[ ] make develop_test
[ ] LocalNet w/ all of the steps outlined in the README

Required Checklist

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have tested my changes using the available tooling
[ ] I have updated the corresponding CHANGELOG

If Applicable Checklist

[ ] I have updated the corresponding README(s); local and/or global
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added, or updated, mermaid.js diagrams in the corresponding README(s)
[ ] I have added, or updated, documentation and mermaid.js diagrams in shared/docs/* if I updated shared/*README(s)

@jessicadaugherty Feel free to squash & merge at your convenience.


Make the presentation editable in the editor, with Drag and Drop

When I first designed this project, Godot had some limitations that made scenes a pain to use to design slides. I just ported the slides' data to JSON, and this text-based approach isn't too great.
Now the UI system is solid, and with upcoming improvements in 3.1, it's worth making it more reusable. The idea is to let you compose slides from the editor, using premade UI widgets (or by adding your own):

And to order the slides you'll just add them and order them in a new Presentation:

The reasons:

When you move pictures or files in the project, Godot will resolve dependencies for you
It's a lot more flexible
It's a lot more fun!
It'll be easier to update the presentation or add new ones
We can use the built-in translation system!
It's also a great way to showcase Godot's UI system when you give the presentation. E.g. you should be able to drag and drop a new .theme file on the presentation node and the presentation's look should update instantly

Done in the drag-and-drop-branch


fix docs and add max-result-size optional feature flag

Changes
Fixing some formatting issues in docs. Added a reference to the additional-configs to the tasks.md to learn the complete list of instructions on how to enable larger results using sidecar logs.
Also, added a missing feature flag max-result-size.
Part of - https://github.com/tektoncd/pipeline/issues/6133
/kind documentation
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/lgtm


fix(front): 任务详情切换 Tab 后没有重置页数 (closed #170)

Codecov Report

Merging #188 (5e24dd2) into v1.0.17-rc (2c146cc) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           v1.0.17-rc     #188   +/-   ##
===========================================
  Coverage       16.97%   16.97%
===========================================
  Files             182      182
  Lines            8917     8917
===========================================
  Hits             1514     1514
  Misses           7403     7403

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 2c146cc...5e24dd2. Read the comment docs.


Training on GPU

when I set the device to my GPU in run.py i get the following error:
InvalidArgumentError (see above for traceback): Cannot assign a device for operation 'ppo/initialize/action-action/Initializer/zeros': Could not satisfy explicit device specification '' because the node was colocated with a group of nodes that required incompatible device '/device:GPU:0' Colocation Debug Info: Colocation group had the following types and devices: Assign: CPU Const: CPU Fill: GPU CPU Switch: GPU CPU VariableV2: CPU Identity: GPU CPU RefSwitch: GPU CPU StridedSliceAssign: GPU CPU IsVariableInitialized: CPU
Does anybody has the same issue? Do you know were you can set something like
allow_soft_placement=True?
Thanks for your help!

Thanks. You're right I thought it will be faster with the GPU


Use ETL approach

First of all, my apologies for any improvements that have been lost. We can work to get those reintegrated. I've simply been unable to keep up with the changes happening day by day.

I change ocp -> transform. Feedback from @jwmatthews was that ocp was confusing and migration was undesirable.
There's not much left to pkg/ocp3. My next step will probably be to condense transform, ocp3, and ocp4 down to transform if no one objects.

@jmontleon,
I know there has been few changes and PRs in the last couple of days.
Meanwhile I sure we can surely bring new features smoothly from the latest.
Otherwise we're going to loose a week of work altogether.
So I understand this is WIP, meanwhile what is blocking us with existing code to bring the missing pieces?
Let's not argue about what types are better at the center of the unit transform. We can rearrange them,    as long as our model stays the same.
Besides, I kind of disagree with */types.go approach. My understanding of separating types is when using them across packages which also mean a stronger coupling and therefore might suggest a need for components refactor.

@jmontleon,
I know there has been few changes and PRs in the last couple of days.
Meanwhile I sure we can surely bring new features smoothly from the latest.
Otherwise we're going to loose a week of work altogether.

@gildub PR #128 may address your concerns.   @jmontleon has been trying both approaches to see which is better suited, i.e. take the original branch and update it, or take master and rework it to capture what was in original branch.  At moment I think we are leaning towards PR #128 and not this PR as way forward

So I understand this is WIP, meanwhile what is blocking us with existing code to bring the missing pieces?
Let's not argue about what types are better at the center of the unit transform. We can rearrange them, as long as our model stays the same.
Besides, I kind of disagree with */types.go approach. My understanding of separating types is when using them across packages which also mean a stronger coupling and therefore might suggest a need for components refactor.

@gildub need you to explain your concern, I feel you are missing the point and don't understand how types work in golang.
The choice comes down to style, do we prefer having our types in the same .go file where functionality is written, or do we want to declare types in a separate *_types.go file.  Both approaches have the types in the same golang package, this doesn't alter functionality or design...so leaves me confused why you think this would imply ...stronger coupling and therefore might suggest a need for components refactor.

Closing in favor of #128 which is based off latest master.


fix #648

@raphlinus can I get a nod from you that this makes sense, and I haven't overlooked any future plans?


Bun can not find script

$ bun add -D supabase

Then:
$ bun run supabase --help
error: missing script "supabase"

I'm having the same issue. Looking at what was actually installed, I can see that there is a link in node_modules/.bin/supabase pointing to a non-existent file. In fact the supabase/bin directory is missing altogether.
❯ ls -l node_modules/.bin/supabase
lrwxrwxrwx  1 xxxxxxx  staff  24 Oct 11 10:51 node_modules/.bin/supabase -> ../supabase/bin/supabase

❯ ls node_modules/supabase/bin/supabase
ls: node_modules/supabase/bin/supabase: No such file or directory

❯ ls node_modules/supabase/bin
ls: node_modules/supabase/bin: No such file or directory

❯ ls node_modules/supabase/
LICENSE         README.md       package.json    scripts

Yes, that worked for me!
❯ bun i supabase -D
[0.04ms] ".env.local"
bun add v1.0.4 (745b6b94)

 installed<EMAIL_ADDRESS>with binaries:
  - supabase

 1 packages installed [318.00ms]

❯ cd node_modules/supabase

❯ bun run postinstall
$ node scripts/postinstall.js
Downloading https://github.com/supabase/cli/releases/download/v1.100.1/supabase_darwin_amd64.tar.gz
Downloading https://github.com/supabase/cli/releases/download/v1.100.1/supabase_1.100.1_checksums.txt
Checksum verified.
Installed Supabase CLI successfully

❯ cd ../../

❯ bunx supabase -v
1.100.1

@sweatybridge Could you add this to the documentation? I know it's mostly the responsibility of the Bun team, but it can help developers who recently tried Bun, and don't know about this feature.

Sure, I will update this repo's readme.

Fixed by @dylan-conway and @paperdave in https://github.com/oven-sh/bun/pull/7132
This will be part of the Bun v1.0.17 release, which ships in a few hours from the time of writing.
In the meantime, you can run bun upgrade --canary


Add a special entry when disassembly is unavailable

This PR fixes #129526
Add a special entry to show text 'Disassembly not available' when the disassembly view is empty.

@isidorn @weinand Can you please take a look? Thanks!
Draft PR because I would like to add a accessibility change for this after merging #129788

I am not sure this is the best approach. Visually it might not look so good, and users might need to close it manually which can be a pain.
Let's assign to August so we can discuss this more.
First important thing to figure out, do users want to inspect Disassembly after they stopped debugging. If YES, I propose the following:

After debugging is stopped, disassembly view is still there
When debugging is started again, the disassembly view is reused and filled with the new content

If NO

After debugging is stopped we automatically close disassembly view

Since we have a disassembly issues with 300+ upvotes, how about we ask the users some questions there?

@isidorn Yes users may want to inspect disassembly after they stopped debugging.

When debugging is started again, the disassembly view is reused and filled with the new content

We can't do this because disassembly is only available on debug pause, such as a breakpoint hit.

@xisui-MSFT okey, but once debugging is paused again please re-use the current disassembly view.
So there is a transition period: while a new session is starting and before it is paused. In that case I suggest to simply update the title of the view to be Dissasembly View(outdated) or Dissasembly View(stale) or something like that.
And also make sure to close it on vscode shutdown so it is not left over for user to manage.

@isidorn Sometimes the view could be empty when the debugger or debug adapter have some bugs. For example, https://github.com/microsoft/vscode-cpptools/issues/7960.
We were planning to add more special entries as we move forward, and so have a consistent way of showing errors or hints for users. As for this message in this PR, we could keep it as it is or probably change it to something like "Pause debugging or hit a breakpoint for disassembly".

once debugging is paused again please re-use the current disassembly view.

Yes, there is only one disassembly view currently.

And also make sure to close it on vscode shutdown so it is not left over for user to manage.

I'm not sure if I need to do anything extra here? The default behavior seems to be closing the view when closing VS Code.

@xisui-MSFT ok, all makes sense.
Let me know once this PR is ready to be reviewed / merged. Thanks

While ready for review, it's hard for me to do complex changes right now because of this issue: https://github.com/microsoft/vscode/issues/130947

@xisui-MSFT thanks for this PR, this looks good to me. Let's merge it in.
As for #130947 I see that Deepak has responded. Hopefully that helps.


Data mapping and ontology for the VIPPS use case

Created by: @maaland Feb 11 2022 at 13:31 CET
Last updated: Jul 19 2022 at 10:44 CET
ClickUp ID: IK-2225
1st priority is the VIPPS use case. In the long run we will want to implement a mapping service for customers to manage these mappings, but in the first iteration we will hardcode this.
For a given dataset, like DSF, we need to define how entities and properties in the data, like "Familie" and "Fornavn", should be mapped to data in the Identity Graph and Knowledge Graph.

Commented by: @maaland Feb 15 2022 at 22:22 CET
Basic mapping for the first iteration up on the WIKI page: https://www.notion.so/indykite/Ingest-engine-b1f6e2b266004b52adfcd77fba7ce48chttps://www.notion.so/indykite/Ingest-engine-b1f6e2b266004b52adfcd77fba7ce48c


Add in builtin exit check for input data

Add in builtin exit checking for nondigit chars and >1 signs of number and maybe length of number

check for int, maybe have to check for long

decided not to fix it


Warning: can't migrate the queue

Hello,
our production environment is made up of at least 3 nodes (max 5 nodes) running with Kubernetes on Google Cloud Platform. Over that is running an official docker image "erlio/docker-vernemq:1.5.0", in particular a cluster made up of 3 PODs.

This is the actual vernemq-conf:
# defines the default nr of allowed concurrent
# connections per listener
listener.max_connections = 50000

# defines the nr. of acceptor processes waiting
# to concurrently accept new connections
listener.nr_of_acceptors = 30

# used when clients of a particular listener should
# be isolated from clients connected to another
# listener.
listener.mountpoint = off

# log setting
log.console = console
log.console.file = /vernemq/log/console.log
log.console.level = info
log.error.file = /dev/null

log.crash = on
log.crash.file = /etc/vernemeq/crash.log
log.crash.maximum_message_size = 64KB
log.crash.size = 10MB
log.crash.rotation = $D0
log.crash.rotation.keep = 5

# cluster cookies
distributed_cookie = ***

allow_register_during_netsplit = on
allow_publish_during_netsplit = on
allow_subscribe_during_netsplit = on
allow_unsubscribe_during_netsplit = on

shared_subscription_policy = prefer_local

erlang.distribution.port_range.minimum = 9100
erlang.distribution.port_range.maximum = 9199

listener.ssl.cafile = ***
listener.ssl.certfile = ***
listener.ssl.keyfile = ***
listener.ssl.require_certificate = off
listener.ssl.use_identity_as_username = off
listener.ssl.default = <IP_ADDRESS>:9883

listener.wss.cafile = ***
listener.wss.certfile = ***
listener.wss.keyfile = ***
listener.wss.require_certificate = off
listener.wss.use_identity_as_username = off
listener.wss.default = <IP_ADDRESS>:8083

listener.tcp.default = <IP_ADDRESS>:2883
listener.tcp.alternative1 = <IP_ADDRESS>:2884
listener.tcp.alternative2 = <IP_ADDRESS>:2885
listener.tcp.alternative3 = <IP_ADDRESS>:2886
listener.tcp.alternative4 = <IP_ADDRESS>:2887
listener.ws.default = <IP_ADDRESS>:8080
listener.vmq.default = <IP_ADDRESS>:44053
listener.http.default = <IP_ADDRESS>:8888

plugins.vmq_diversity = off

plugins.vmq_passwd = on
vmq_passwd.password_file = /etc/vernemq/vmq.passwd
vmq_passwd.password_reload_interval = 10

plugins.vmq_acl = on
vmq_acl.acl_file = /etc/vernemq/vmq.acl
vmq_acl.acl_reload_interval = 10

plugins.vmq_webhooks = on
vmq_webhooks.ccs-webauth.hook = auth_on_register
vmq_webhooks.ccs-webauth.endpoint = ***
vmq_webhooks.ccs-webauth1.hook = auth_on_publish
vmq_webhooks.ccs-webauth1.endpoint = ***
vmq_webhooks.ccs-webauth2.hook = auth_on_subscribe
vmq_webhooks.ccs-webauth2.endpoint = ***

max_message_size = 32768
max_client_id_size = 50
persistent_client_expiration = 1d

retry_interval = 10
max_inflight_messages = 100
max_online_messages = 1000
max_offline_messages = 5

#leveldb.maximum_memory = 10485760
#leveldb.write_buffer_size_min = 1048576
#leveldb.write_buffer_size_max = 2097152

leveldb.maximum_memory = 209715200
leveldb.write_buffer_size_min = 10485760
leveldb.write_buffer_size_max = 104857600

vmq_webhooks.pool_max_connections = 1000
vmq_webhooks.pool_timeout = 60000

Frequently (even at a distance of a few minutes) we have this warning in logs:
08:55:07.113 [warning] can't migrate the queue[<0.4193.61>] for subscriber {[],<<"aaaa/bbbbbbbbbbbb/eee/ffffffff/hhh/k">>} due to no responsible remote node found

This warning appears randomly.
Can you help us to understand what is?
Thank you

Hi @tinto82 thanks... this has to do with the process of checking and migrating existing queues between cluster nodes, in case of clean_session=false. A client might be disconnected from a node, but still has a session (a "live queue", let's say) on that node.
If the same client now connects to a different cluster node, it triggers a process to get that queue migrated to that node.
I'm currently not sure what happens in your case. Is it always the same subscriber? is there something special about that subscriber?

What is the output of vmq-admin cluster show?

We can see list with the 3 nodes and running flag a true

Hi @ioolkos,
I confirm that all clients make connection with clean_session=true.
But we noticed that sometimes some clients have a wrong behavior we are deepening: they do repeatly connect every second with the same client_id and without subscribing to any topic.
In correspondence of these repeated connections we can find the warning that I have reported above.
Can this behavior be connected to the warning?
Thank you

@tinto82 thanks for this additional information. It's almost certain that the warning you're seeing is connected to that client re-connecting to random nodes every second. The session information is eventually consistent among the nodes.
While this is probably harmless, we'll check whether this is an edge case we can exclude/ignore for queue migration.
Have a great weekend!

Since this issue was filed the queue migration logic has been rewritten.  Do you still see this issue with the latest release?


Copy some constants and helpers from aks-engine's pkg/api/common

This removes our dependency on code from github.com/Azure/aks-engine/pkg/api/common. We intend to eventually removal all dependencies on aks-engine.

/lgtm


Enable Recursive config calls

Goal
This PR aims at making config inheritance possible. To do so it makes to contributions:

allow specifying a list of config files for a single argument with the is_config_file=True option
allow specifying a config file list inside a config file which will be recursively parsed.

Motivations
This is useful for instance when using a piece of software for many different configurations which can be divided into some sort of parent and children classes.
Details
As an example we could have something like
general_conf_for cars
             |
           /   \
         /       \
       /           \
sports_car_conf    consumer_cars_conf    Brand
                            \                /
                              \            /
                                \        /
                                   \   /
                                     |
                                    Model

With the PR we can now specify specify something like -my-config consumer_cars brand for the model to have both the config or the brand and the consumer_cars_conf. The order matters as the last specified config file will take precedence of the previous ones. Alternatively you can specify it in a config file of its own:
model.ini
my-config=[consumer_cars, brand]
model_name=model

This will pull out and parse the config for brand and that for consumer cars. The consumer_cars_conf itself could be something like:
consumer_cars_conf.ini
my-config=general_conf_for cars
top-speed=130

As such this allows the user to build a full inheritance system.
Parsing order and circular dependencies
In terms of evaluation order for the arguments we have the following:

command_line args
model.ini args (e.g. top-speed)
brand.ini args
consumer_car_conf.ini args
general_conf_for_cars
default_values

In the general case, for each recursion level, the existing command_line args take precedence, then all the config files are parsed in the reversed order of appearance on the command line, and their args are added to the command line if not there already, and then we start a new recursion round with the newly parsed confs.
Note that we have put some guards to avoid circular dependencies (eg config1 pointing to config2 which points to config 1, creating an endless loop), but the first pass (the config files specified in the original command line arguments) are not registered as already parsed. This is not really an issue as the arguments from the first config file will already be in the command_line_args if it get parsed again and will thus not be updated.
Testing
I have also added some unittest to make sure everytthing is parsed as expected and there are no infinite loop if the config files define circular dependencies.

Sorry I think this functionality is too complicated for the main configargparse repo.


Communication does not work if PD is added that is off line

Hi,
Since 2.0.17 if I add PD that is off line or if online device lost communication, all other communications stop.
Could you please check this?
Regards

This should be fixed in the latest version released last night, 2.1.0

Today I install this version. Problem is not solved.

I've been unable to reproduce the issue as you described it in the earlier posting. Either provide more details regarding the environment or contact me directly through my business at z-bitco.com.

When I replace in SerialPortOsdpConnection
    public async Task<int> ReadAsync(byte[] buffer, CancellationToken token)
    {
        return await _serialPort.BaseStream.ReadAsync(buffer, 0, buffer.Length, token).ConfigureAwait(false);
    }

with your old code
    public async Task<int> ReadAsync(byte[] buffer, CancellationToken token)
    {
        //_serialPort.RtsEnable = false;
        var task = _serialPort.BaseStream.ReadAsync(buffer, 0, buffer.Length, token);
        try
        {
            if (await Task.WhenAny(task, Task.Delay(-1, token)) == task)
            {
                return await task.ConfigureAwait(false);
            }

            throw new OperationCanceledException();
        }
        catch
        {
            _serialPort.DiscardInBuffer();
            throw;
        }
    }

then for me everything works fine. With new code I also not receive disconnected event.

The new 6.0 version of the SerialPort library removed the need to have extra logic to check for timeouts. I guess that this behavior doesn't work with earlier versions of .NET Framework. I will verify this weekend and revert if I can reproduce. What version of .NET is causing the problem?

I use new 6.0

Ok, I see the problem with Windows, however not on MacOS. I will add back the old logic until all the platforms handle cancel tokens properly. Thanks

The issues should be fixed in 2.1.1

The issues should be fixed in 2.1.1

I make few short tests on Windows. It's work. Tomorow I will make test on Linux. Thank you.

Work also on Linux


Character generation Macro doesn't work in Foundry 11

Error is
VM1140:72 Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'quantity')     at Create (eval at #executeScript (foundry.js:22452:16), <anonymous>:72:28)

Actually this thing should be deprecated (whoops). Will release in next fix.


Release v0.1.0-beta.rc.1

As per Hyperledger standards, only graduated projects can utilize version to 1.0+
When the import logic is finalized (smart contract, API, connector, tests and scenarios) on develop for Fabric and Quorum:

create a release branch: release/v0.1.0-beta.rc.1
re-test everything (tests, scenario ..)
upgrade dependencies
generate package-lock fix incoming bugs and create new tests if necessary (for import logic for example)
change the versions in the package.json merge release branch in develop and master

No longer valid, this was pre-open source release


Animation not smooth when banks load

@simonlevy5 The animation isn't smooth (like in the sample video you provided) when a bank is first selected and the login view presents, the keyboard does pop up but it jerks the entire login view down to the middle of the screen. Is this something related to xcode 8 / more recent swift? Or do you have any suggestions for modifying this animation?

In particular, this happens when usernameTextField becomes the first responder.


system_tags forces unnecessary update of cluster

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description
After creating a cluster, if we run terraform apply again, terraform will update the cluster. This update is forced by the system_tag

New or Affected Resource(s)

Potential Terraform Configuration

# Copy-paste any Terraform configurations for how the requested feature may be used.

References

definitely an annoying issue as what should be a 30s simple terraform apply ends up taking the close to half an hour.

Thank you @hyder, just upvoted and commented on the issue! I'll experiment with the workaround later on today.

I can confirm Terraform OCI provider v4.67 fixes the issue.


I added my name

I added my name

can you update your code by pulling the latest I just merge #1

Awesome

but you left me with lot of comment and conflicts

I didn't know how to deal with them
I thought if I committed and pushed it'll solve it🥶

finally...good work.

Thank you😅
On Sat, Aug 6, 2022 at 8:31 PM Olúwásetèmi @.***> wrote:

finally...good work.
—
Reply to this email directly, view it on GitHub
https://github.com/Oluwasetemi/altschool-opensource-names/pull/3#issuecomment-1207271198,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOYGQ6HTM4CJJIJU63VRBNLVX24SPANCNFSM55ZF2YSQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Patch CursorWrapper dynamically to allow multiple base classes.

When the debug SQL logs are enabled, the wrapper class is CursorDebugWrapper not CursorWrapper. Since we have inspections based on that specific class they are removing the CursorDebugWrapper causing the SQL logs to not appear.
This attempts to dynamically patch the CursorWrapper or CursorDebugWrapper with the functionality we need.
This doesn't do a full regression test, but it may be possible to get it to work with:
TEST_ARGS='--debug-sql' make test

Which causes the current set of tests to fail since they are keyed to CursorWrapper.
Fixes #1814
Checklist:

[ ] I have added the relevant tests for this change.
[x] I have added an item to the Pending section of docs/changes.rst.

@living180 I can't add you to the requested reviewers, but I'd appreciate you taking a look at this PR.

@matthiask sorry, can you review that last commit too. It's a bit of a hack, but it's either that or inspecting self._outcome.results to determine if the test is running with the debug sql option.

@matthiask sorry, can you review that last commit too. It's a bit of a hack, but it's either that or inspecting self._outcome.results to determine if the test is running with the debug sql option.

Thanks, I think the way it's implemented makes sense!

Didn't have time to review this until just now, but the implementation looks good and a basic smoke test passes for me.  The only improvement I'd suggest would be a bit of bike-shedding by renaming NormalCursorWrapper and ExceptionCursorWrapper and NormalCursorMixin and ExceptionCursorMixin, respectively, but that's just a matter of taste.

Good enough for me.


Type errors in function realSchur

Modified by dietmarw on 7 Sep 2012 07:41 UTC
[Modelica 3.2.1/Math/package.mo:2309:9-2309:18:writable]
Error: Type mismatch in assignment in QZ := {{1}} of Real[size(A, 1), size(A, 2)] := Integer[1, 1]
Error: Error occurred while flattening model ModelicaTest.Math.MatricesInModel

Patch for the type error in function realSchur:
--- libraries/Modelica 3.2.1/Math/package.mo	2012-09-04 14:21:08.429161362 +0200
+++ build/lib/omlibrary/Modelica 3.2.1/Math/package.mo	2012-09-07 09:18:25.950630815 +0200
@@ -2305,15 +2305,9 @@
                      to its partially converged Schur form.\n");
     else
       S := A;
-      if size(A, 1) > 0 then
-        QZ := [1];
-        alphaReal := {1};
-        alphaImag := {0};
-      else
-        QZ := fill(1, 0, 0);
-        alphaReal := fill(1, 0);
-        alphaImag := fill(0, 0);
-      end if;
+      QZ := fill(1, size(QZ,1), size(QZ,2));
+      alphaReal := fill(1, size(alphaReal,1));
+      alphaImag := fill(0, size(alphaImag,1));
     end if;

     annotation (Documentation(info="<html>

Moreover, you get:
[Modelica 3.2.1/Math/package.mo:2298:7-2305:64:writable]
Warning: info was used before it was defined (given a value).
Additional such uses may exist for the variable, but some messages were suppressed.

So this should also be defined by the function (possibly the LAPACK call).

Reported by sjoelund.se on 7 Sep 2012 07:28 UTC
[Modelica 3.2.1/Math/package.mo:2309:9-2309:18:writable] Error: Type mismatch in assignment in QZ := {{1}} of Real[size(A, 1), size(A, 2)] := Integer[1, 1]
Error: Error occurred while flattening model ModelicaTest.Math.MatricesInModel

Patch for the type error in function realSchur:
--- libraries/Modelica 3.2.1/Math/package.mo	2012-09-04 14:21:08.429161362 +0200
+++ build/lib/omlibrary/Modelica 3.2.1/Math/package.mo	2012-09-07 09:18:25.950630815 +0200
@@ -2305,15 +2305,9 @@
                      to its partially converged Schur form.\n");
     else
       S := A;
-      if size(A, 1) > 0 then
-        QZ := [1];
-        alphaReal := {1};
-        alphaImag := {0};
-      else
-        QZ := fill(1, 0, 0);
-        alphaReal := fill(1, 0);
-        alphaImag := fill(0, 0);
-      end if;
+      QZ := fill(1, size(QZ,1), size(QZ,2));
+      alphaReal := fill(1, size(alphaReal,1));
+      alphaImag := fill(0, size(alphaImag,1));
     end if;

     annotation (Documentation(info="<html>

Moreover, you get:
[Modelica 3.2.1/Math/package.mo:2298:7-2305:64:writable] Warning: info was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.

So this should also be defined by the function (possibly the LAPACK call).

Migrated-From: https://trac.modelica.org/Modelica/ticket/801

Modified by dietmarw on 7 Sep 2012 07:41 UTC

Comment by sjoelund.se on 6 Dec 2012 13:57 UTC
Fixed in 6c5b2b774eef3a1ecdcef8d9178efdac098e61b6.


Rename Vector(Approx) -> VectorSpace(Approx).

Also bumps the cargo version number.

Good stuff. Have you seen the new structure of cgmath by the way?

I have not, but now that you mention it, I will !

Okay, I've quickly looked at it. I intended to add structures like InnerVectorSpace, and NormedSpace as well. However, algebra should go a bit further and assume that a vector space is not necessarily finite. So we need a FiniteVectorSpace trait here too before being able to talk about an EuclideanSpace.

(Edit: by "finite", I meant "with a finite dimension")

Yep, definitely. Just thought I'd mention it! It's been a while since I did a pass over algebra, and my thinking has changed a bit since then...


Backtrace stopped: Cannot access memory at address XXXXXXXX

I'm trying to use pyOCD and gdb to debug some code running on my MBED LPC1768.  My code is segfaulting, but I'm not able to get anything useful out of gdb.  Here is the text output:
Program received signal SIGSEGV, Segmentation fault.
0x0000c306 in HardFault_Handler ()
(gdb) bt
#0  0x0000c306 in HardFault_Handler ()
#1  <signal handler called>
#2  0x00019232 in osKernelStart ()
Backtrace stopped: Cannot access memory at address 0x1000801c

I'm launching pyocd and gdb with these commands:
sudo pyocd-gdbserver --port 3333--reset-break --target lpc1768 -S -G

arm-none-eabi-gdb <path/to/elf/file> \
    -ex "target remote localhost:$(GDB_PORT)" \
    -ex "load" \
    -ex "continue"

Any suggestions for how I might get a more useful backtrace out of gdb?

There are situations where GDB will get confused and give that error.  Sometimes it will try to walk too far up the stack when main() isn't found on the stack.  Stack corruption can cause it as well.
The only pyOCD thing you might want to try is adding a "monitor reset halt" command between the "load" and "continue" commands.

Thanks for the help!  I've done some investigating and I can confirm that the stack is getting corrupted, which explains why the backtrace isn't helpful.


Track UBI8 8.1; bump minor version

Track UBI8 8.1 instead of 8.0.
Bump minor version since this could be a significant change.

I wonder whether there is a way to track latest released UBI 8 without actually hard-coding the minor version number. We'd be hitting this issue again once UBI 8.2 comes out.

Good point. :8-released seems to do what we want. Pushing a subsequent commit accordingly.
Our test suite passed for both images rebased on 8.1.


Links to sample codes are outdated

Links to sample code: CrmSvcUtilExtensions and GeneratePickListEnums are outdated. Taken to https://docs.microsoft.com/en-gb/samples/browse/?redirectedfrom=MSDN-samples and can't find the actual codes from the list.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f0949367-dc3e-ba70-b494-8945530a6fed
Version Independent ID: 93472f86-1b45-0421-2e1e-7e2857e64534
Content: Create extensions for the code generation tool (Common Data Service) - Power Apps
Content Source: powerapps-docs/developer/common-data-service/org-service/extend-code-generation-tool.md
Service: powerapps
GitHub Login: @JimDaly
Microsoft Alias: jdaly

@phecke
Can you take a look at this to see where these samples went?

@yruss
The samples have been moved here:
https://github.com/microsoft/Dynamics365-Apps-Samples/tree/master/samples-from-msdn/BasicFilteringService
https://github.com/microsoft/Dynamics365-Apps-Samples/tree/master/samples-from-msdn/GeneratePicklistEnums
I will update the article links. Thanks


Vendoring golang.org/x/net/ipv4

Hello,
My project depends on golang.org/x/net/ipv4 package but manul -Q command doesn't list it in the dependency list. I'm also unable vendor it using manul -I command. Here is the output:
$ manul -Q
2016/07/23 23:06:38 cannot find package "golang.org/x/net/ipv4" in any of:
	/usr/x86_64-pc-linux-gnu/lib/go/src/golang.org/x/net/ipv4 (from $GOROOT)
	/home/burak/Projects/go/src/golang.org/x/net/ipv4 (from $GOPATH)
2016/07/23 23:06:38 cannot find package "golang.org/x/net/ipv4" in any of:
	/usr/x86_64-pc-linux-gnu/lib/go/src/golang.org/x/net/ipv4 (from $GOROOT)
	/home/burak/Projects/go/src/golang.org/x/net/ipv4 (from $GOPATH)
2016/07/23 23:06:38 cannot find package "golang.org/x/net/netutil" in any of:
	/usr/x86_64-pc-linux-gnu/lib/go/src/golang.org/x/net/netutil (from $GOROOT)
	/home/burak/Projects/go/src/golang.org/x/net/netutil (from $GOPATH)
github.com/Sirupsen/logrus    a283a10442df8dc09befd873fab202bf8a253d6a
github.com/gorilla/handlers   801d6e3b008914ee888c9ab9b1b379b9a56fbf44
github.com/gorilla/websocket  5e2e56d5dfd46884df1036f828777ee6273f2cff
github.com/purak/httptimeout  995bf143603e7eacbe26b771b837dacbe797d654
github.com/syndtr/goleveldb   ab8b5dcf1042e818ab68e770d465112a899b668e
github.com/syndtr/gosnappy    156a073208e131d7d2e212cb749feae7c339e846
gopkg.in/tylerb/graceful.v1   c838c13b2beeea4f4f54496da96a3a6ae567c37a
gopkg.in/yaml.v2              e4d366fc3c7938e2958e662b4258c7a89e1f0e3e

$ manul -I golang.org/x/net/ipv4
2016/07/23 23:13:55 unknown dependency golang.org/x/net/ipv4

~/Projects/go/src/golang.org/x/net $ git remote -v
origin	https://go.googlesource.com/net (fetch)
origin	https://go.googlesource.com/net (push)

golang.org/x/blabla repositories seem an exceptional case for manul. Do you have any idea how I add this sort of dependencies via manul?

Possible fix in #18

Hello,
I just ran into a similar issue.
$ manul -Q
2016/07/27 14:54:33 cannot find package "bytes" in any of:
	/usr/local/go/src/bytes (from $GOROOT)
	($GOPATH not set)
2016/07/27 14:54:33 cannot find package "errors" in any of:
	/usr/local/go/src/errors (from $GOROOT)
	($GOPATH not set)

but it complains about golang packages and just stops
I tried version from #18 and got exactly same results

Same thing here. This bug in real life: https://github.com/MOZGIII/dphx/pull/2/files

Fixed with https://github.com/kovetskiy/manul/commit/5d10370db6d1bdf683ccd5bf737d35c6cf18baf7

Works great, thanks!


Source code reading confusion

Hello, I am a newcomer to the compiler. I am interested in Parser. I want to read the source code of ohm.js. Can anyone give me some advice? I don't know where to start? Thank you very much for your willingness to answer.

Hi! 👋
To get an idea of how Ohm works, you might want to read Section 2 of our paper Incremental Packrat Parsing. This gives a fairly high-level overview of packrat parsing, which is how Ohm works. After that, you can look at the source code for the toy packrat parser we wrote for that paper: https://github.com/ohmlang/sle17/blob/master/src/standard.js. It's only ~160 lines, but it works in pretty much the same way that Ohm does (with the exception that it doesn't support left recursion, which is the most complicated part of the Ohm implementation).
After that, if you want to dig into Ohm itself, I'd suggest starting at Matcher.match() and going from there!

Thank you for your help! I hope I can contribute to ohm in the future!


Consider length limit for label values on ingestion

We could end up with such a long labelvalue that it causes performance issues (e.g. if a metric was split out by a user-provided customer name). It might be an idea to have a limit on how long a label value can be, defaulting to something like 1KiB.

I'm against an arbitrary limit. While label values could become too long accidentally, I'm sure somebody will be able to come up with a legitimate use-case for any label value length eventually.
Obviously, we are “vulnerable” to abusive clients, but we are that anyway. E.g. it's very easy to create millions of time series in a very short time and bring down the server. The responsibility of not overloading the server lies with the client.

I think I'm with @beorn7 on this one. Should we close it?


Added PEAR/PECL repositories

https://pear.php.net/ + https://pecl.php.net/

Closing. Happy to discuss, but I think most developers see pecl/pear as old-hat, not awesome. There are certainly things there that can be on this list, but pushing developers to packages not available via composer etc. is I think not the point of this list.


Update benchmark questions (1/2)

We keep only advising (for its date columns), atis (for its unix timestamp columns), yelp (for its year / month columns).
We delete academic's and scholar's date_functions questions, which we will replace with questions from the 4 new schema in a subsequent PR. This is because academic and scholar are semantically similar to advising, and is a repeat of the year/month-syntax questions in yelp.
Other single-question changes:

How many reviews were written for businesses located in California in the last 10 months?

Updated this date_functions question to use the actual date ranges in the data

Return the course id's that are offered in either semesters 1 or 2 and ends before 1pm and had an instructor on thursday

Modified 1 question in advising to filter on time and day-of-week column since no other questions were testing for those columns in the advising schema.
Will make all of the changes before translating them over to the other dialects in 1 go.

Thank you! This looks good to me. Okay if we merge this along with the other upcoming PR with new questions added in? That way, we'll keep the current 25 questions for the date functions benchmark until the merge is done

Thanks for the changes! I'll wait for you to complete the changes on this main set of questions before clarifying some other questions. Meanwhile I'll make changes to the translate script and dialects.py cos some errors were slipping thru (Thanks for spotting all those rishabh!)

Added 5 questions for broker and car_dealership each according to the following question types:
broker:

top agg timestamp
month agg
current date diff agg (min)
date diff date agg (min)
current date diff agg (count)

car_dealership:

top date diff date
agg extract dow
agg date compare
snapshot info
date trunc quarter

Let me know if we'd prefer to add other types of date queries here!

Thank you! Really appreciate the work on making the date functions evals more representative of actual usage :D


optimize biguint div closure

This is better understood
PROOF: (B-1) * B + (B-1) still fits in double

because checked_sub
so there's no need %B

div_unit?  Should it be div_uint?

hi @bkchr @kianenigma  why not use cargo fmt?
How do you maintain the code format?

hi @bkchr @kianenigma why not use cargo fmt?

To say short, because cargo fmt doesn't support all our requirement in term of code formatting.

How do you maintain the code format?

there is https://github.com/paritytech/substrate/blob/master/docs/STYLE_GUIDE.md

thank you @thiolliere

bot merge

thanks @honeywest


Setting IP address

It would be very neat if the ipAddress method came back, so I could update from v0.4.3, or you could kindly show me a different as easy way to configure it. I could not find anything on the topic except the changelog message "IP Address can still be configured via Javalin#embeddedServer", so I have no idea how I could achive that
Thanks for your help in advance

Hey @dasbaumwolltier,
You should be able to do:
Javalin.create().embeddedServer(EmbeddedJettyFactory({
    Server().apply {
        connectors = arrayOf(ServerConnector(this).apply {
            this.host = "<IP_ADDRESS>" //ip
            this.port = 7654
        })
    }
})).start()

This creates a Jetty Server which is configured according to Jetty's rules. Let me know if you need help translating that to Java.

It would be great if you could translate that in Java, as I don't speak any Kotlin :)

Sure. The equivalent Java would be:
Javalin app = Javalin.create().embeddedServer(new EmbeddedJettyFactory(() -> {
    Server server = new Server();
    ServerConnector serverConnector = new ServerConnector(server);
    serverConnector.setHost("<IP_ADDRESS>"); //ip
    serverConnector.setPort(7654);
    server.setConnectors(new Connector[]{serverConnector});
    return server;
})).start();
app.get("/", ctx -> ctx.result("Hello, World!"));

Thanks for the help!
By the way, does the server support partial content?
Or is jetty responsible for that?

I mean byte range requests for example

If Jetty supports something, it is either supported in Javalin, or it can be enabled. I don't have any experience with range requests, but google says Jetty should support it, so I'm guessing it just works.
If you have the time, please create a test for it.

So I tried some things.
My understanding of the whole thing is, that it has to be implemented by the application and it is not a jetty or javalin thing.
This would be a sample implementation in groovy:
context.contentType('audio/mp3')
context.header('Accept-Ranges', 'bytes')

String rangeHeader = context.request().getHeader('Range')
File inputFile = Paths.get('/path/to/file').toFile()
InputStream inputStream = inputFile.newInputStream()

String[] splitRangeHeader = rangeHeader.split(/\=/)[1].split(/-/)
long start = splitRangeHeader[0].toLong()
long end = (splitRangeHeader.length == 1) ? inputFile.length() : splitRangeHeader[1].toLong()
long count = end - start + 1

try{
    if(!rangeHeader) {
        context.header('Content-Length', inputFile.length().toString())
        IOUtils.copyLarge(inputStream, context.response().outputStream)
    } else {
        ContentRange range = new ContentRange(rangeHeader, inputFile.length())

        context.status(206)
        context.header('Content-Range', "bytes ${start}-${end}/${totalLength}")
        context.header('Content-Length', count.toString())

        IOUtils.copyLarge(inputStream, context.response().outputStream, start, count)
    }
} finally {
    inputStream.close()
}

@dasbaumwolltier it also seems to be working out-of-the-box with app.enableStaticFiles():

But that only works if you serve static files and do not work with database id, doesn't it?

No, but I prefer to use database ids and so on instead of filenames.

That shouldn't really be a problem though? If you can read the file from your file-system, the ResourceHandler can also read it.
I'll close this issue now, as the original question has been answered.

Just a note, Javalin seems to output the wrong information if you manually set the IP address. Seems like that could be fixed -
Aug 03, 2018 3:11:54 PM io.javalin.embeddedserver.jetty.EmbeddedJettyServer start
INFO: Jetty is listening on: [http://localhost:80]

^ Output after setting the host to something other than "localhost"

This has been fixed on the master branch, should work if you try to use the current release candidate.

Javalin.create { config ->
    config.server {
        Server().apply {
            connectors = arrayOf(ServerConnector(this).apply {
                this.host = "<IP_ADDRESS>" // ip
                this.port = 7654 // port
            })
        }
    }
}.start()

How is that in plain Java? There should be an easier way to set the host.

@r03 that's just how it works in Jetty. There is a PR for a convenience method, but the test is currently failing. Maybe you can have a look?

This works for me in plain Java: (I'm not a Java/Kotlin developer)
    int port = Integer.parseInt(System.getProperty("PORT", "7000"));
    org.eclipse.jetty.server.Server server = new org.eclipse.jetty.server.Server();
    ServerConnector connector = new ServerConnector(server);
    connector.setHost("<IP_ADDRESS>");
    connector.setPort(port);
    server.setConnectors(new ServerConnector[]{connector});

    Javalin app = Javalin.create(config -> {
        config.server(() -> server);
    }).start(port);

That works fine @r03. You don't need the full package structure though, you can just import the Server from Jetty.


Support a list of assets in Kino.JS :assets_path

So it is easier to reuse files across kinos.

I was thinking about that yesterday, where we could serve the assets from Kino and other users could create their SmartCells with these assets from kino

For #289 we need assets to point to a single directory, so I would close this one.
I feel if we want better sharing long term it would make more sense to just use something like esbuild and simply bundle things as needed.


Mark translation strings

Mark all strings for translation in the module and test the translations (see guide.

closed via https://github.com/inveniosoftware/invenio-accounts/pull/340


hello Ordinals Wallet Team Please merge the PRs.

hello Ordinals Wallet Team
Please merge the PRs. The number is #1638.
Thank you as always.

please add #1837 too thank you :)

please merge  #1843 too, thank you :)

Closing this Issue. Reason: pr #1639 was merged on April 1st. Thank you @acca3434


Bg fix issue with setting up menu 157496507

What does this PR do?
Add a catch all error handler
Description of Task to be completed?
How should this be manually tested?
Any background context you want to provide?
What are the relevant pivotal tracker stories?(if applicable)

Pull Request Test Coverage Report for Build 91

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

Totals

Change from base Build 88:
0.0%

Covered Lines:
836

Relevant Lines:
959

💛  - Coveralls


"compile-tests" bin points to a file that doesn't exist

In package.json you have:
  "bin": {
    "compile-tests": "packages/test-helpers/bin/writeComponentsTests.js",
  }

That file does not appear to exist in packages/test-helpers/bin/ and causes an error when trying to run npm i @times-components/fructose:
npm ERR! enoent ENOENT: no such file or directory, chmod<EMAIL_ADDRESS>

@lsjroberts good to see you trying out fructose and sorry for the delayed response.
Unfortunately, there have been other priorities and I have only just seen this.
writeComponentsTests is a hangover from an old implementation.
it's no longer required and I'll remove it now.
Let me know if you need anything else in using the library!

https://github.com/newsuk/fructose/pull/139

Let me know if you need anything else in using the library!

Cheers @L0wry, will do :)


Applied data annotation attributes to openapi schema

Hi @justinyoo ,
it's me again  :),
Resolves #76  , #151

@emrekara37 Thanks for your PR again! The recent code merge has caused your change un-mergeable. Would you please have a review and update it on your end?

@emrekara37 Thanks for your PR again! The recent code merge has caused your change un-mergeable. Would you please have a review and update it on your end?

i merged to with main branch

Thanks! I'll start having a look soon.

Thanks @emrekara37 👍
Support for the DataAnnotations attributes is greatly appreciated!
Hope this makes it into the main branch soon :)

Thanks @emrekara37 👍
Support for the DataAnnotations attributes is greatly appreciated!
Hope this makes it into the main branch soon :)

i will update the pr asap

Thanks @emrekara37 👍
Support for the DataAnnotations attributes is greatly appreciated!
Hope this makes it into the main branch soon :)

i will update the pr asap

If you need help, please let me know

Thanks for your contribution! Your PR mostly LGTM, except...

Would you please add test cases of your changes to get us confident with your changes?

i updated the PR @justinyoo


Issue with responsive svg.

I tried the "tip" for a bar chart based on the example
It's working file for svg with fixed width and height. But the tip position have issues with the svg if it made responsive via attributes viewBox and preserveAspectRatio.
If the svg is scaled down from the width specified in viewBox the tip is positioned further top from it's initial  position. i.e. the distance between the tip and the chart increases as the chart's width is reduced.
if chart has viewBox = "0 0 500 300" then the chart drawn in a smart phone will have the "tip" positioned on top but it would be no where near the  chart.

Hello there, I'm having same issue with the tips not responding (changing position) according to the parent SVG's dimensions. Any fix to this? Suggested solution? Idea at all? :)

Hello Lukas, I didn't get a solution in D3. I wrote a CSS to position the tooltip in a fixed position for small screen devices.


import session.implicits._ doesn't work

Spark Version: 2.0.2
Scala Version: 2.11.8
When I tried a simple example to import spark.implicits._ I get the following error while sbt build:
My code:
import io.hydrosphere.mist.lib.{MistJob, SQLSupport}
import org.apache.spark.sql._

object SimpleContext extends MistJob with SQLSupport{
  /** Contains implementation of spark job with ordinary [[org.apache.spark.SparkContext]]
    * Abstract method must be overridden
    *
    * based on https://github.com/Hydrospheredata/mist/blob/master/examples/src/main/scala/SimpleContext.scala
    *
    * @param digits user parameter digits
    * @return result of the job
    */
 import session.implicits._
 def execute(digits:Seq[Int]): Map[String, Any] = {
        val mydf = digits.toSeq.toDF("number")
        Map("result" -> mydf.map(x => x.getInt(0) * 3).collect())
  }
}

Error:
[info] Loading project definition from /home/user/mist/apache-spark-restAPI-example/project
[info] Set current project to sparkMist (in build file:/home/user/mist/apache-spark-restAPI-example/)
[info] Compiling 1 Scala source to /home/user/mist/apache-spark-restAPI-example/target/scala-2.11/classes...
[error] /home/user/mist/apache-spark-restAPI-example/src/main/scala/SimpleContext.scala:13: stable identifier required, but SimpleContext.this.session.implicits found.
[error]  import session.implicits._
[error]                 ^
[error] one error found
[error] (compile:compileIncremental) Compilation failed

Please help me how I can import spark.implicits._
Thanks..!!

Currently inside MistJob session is defined as a function, but should be a value. We will fix it later.
As a workaround I can suggest to assign session to some variable and then call implicits import from it.
import io.hydrosphere.mist.lib.{MistJob, SQLSupport}
import org.apache.spark.sql._

object SimpleContext extends MistJob with SQLSupport {

   val s = session
   import s.implicits._

  def execute(digits:Seq[Int]): Map[String, Any] = {
        val mydf = digits.toSeq.toDF("number")
        Map("result" -> mydf.map(x => x.getInt(0) * 3).collect())
  }
}

Thanks, this worked...!!
But, please mention this documentation or in any example somewhere. I was confused and other new users will be too.