NoVNC connection fails on LXD

Description
noVNC console connection is failing on LXD.  Clicking on VNC produces a black screen on the page with a title VNC Loaded.   Screen stays on for a number of seconds and then disappears.
To Reproduce
Run LXD instance.  Select NoVNC console from sunstone.
Expected behavior
noVNC console connects, stays on and allows for interactive keyboard operations.
Details

Affected Component: Sunstone, VNC
Hypervisor: LXD from snap
Version: 5.8.4
OS: Ubuntu 18.04

Additional context
novnc.log:
<IP_ADDRESS> - - [21/Aug/2019 20:11:53] <IP_ADDRESS>: Plain non-SSL (ws://) WebSocket connection
<IP_ADDRESS> - - [21/Aug/2019 20:11:53] <IP_ADDRESS>: Version hybi-13, base64: 'False'
<IP_ADDRESS> - - [21/Aug/2019 20:11:53] <IP_ADDRESS>: Path: '/?host=virt3n1-la.xcastlabs.net&port=29876&token=j73hpfow0sk1dljh8hk3&encrypt=no&title=alex-lxd-centos7&password=null'
<IP_ADDRESS> - - [21/Aug/2019 20:11:53] connecting to: <IP_ADDRESS>:5979
<IP_ADDRESS> - - [21/Aug/2019 20:11:58] code 400, message Bad HTTP/0.9 request type ('\x82\x88-')
<IP_ADDRESS> - - [21/Aug/2019 20:12:03] <IP_ADDRESS>: Plain non-SSL (ws://) WebSocket connection
<IP_ADDRESS> - - [21/Aug/2019 20:12:03] <IP_ADDRESS>: Version hybi-13, base64: 'False'
<IP_ADDRESS> - - [21/Aug/2019 20:12:03] <IP_ADDRESS>: Path: '/?host=virt3n1-la.xcastlabs.net&port=29876&token=j73hpfow0sk1dljh8hk3&encrypt=no'
<IP_ADDRESS> - - [21/Aug/2019 20:12:03] connecting to: <IP_ADDRESS>:5979
<IP_ADDRESS> - - [21/Aug/2019 20:12:11] code 400, message Bad request syntax ('\x88\x8f\\xcb\x8aC_#\xde".\xac\xef7|\xa8\xe6,/\xae\xee')
<IP_ADDRESS> - - [21/Aug/2019 20:26:25] <IP_ADDRESS>: Plain non-SSL (ws://) WebSocket connection
<IP_ADDRESS> - - [21/Aug/2019 20:26:25] <IP_ADDRESS>: Version hybi-13, base64: 'False'
<IP_ADDRESS> - - [21/Aug/2019 20:26:25] <IP_ADDRESS>: Path: '/?host=virt3n1-la.xcastlabs.net&port=29876&token=vdgmbljvtxjgc8pfprcv&encrypt=no&title=alex-lxd-centos7&password=null'
<IP_ADDRESS> - - [21/Aug/2019 20:26:25] connecting to: <IP_ADDRESS>:5979
<IP_ADDRESS> - - [21/Aug/2019 20:26:33] code 400, message Bad request syntax ("\x88\x8f'\x88\x18\x03$`LbU\xef}w\x07\xebtlT\xed|")
<IP_ADDRESS> - - [21/Aug/2019 20:28:15] <IP_ADDRESS>: Plain non-SSL (ws://) WebSocket connection
<IP_ADDRESS> - - [21/Aug/2019 20:28:15] <IP_ADDRESS>: Version hybi-13, base64: 'False'
<IP_ADDRESS> - - [21/Aug/2019 20:28:15] <IP_ADDRESS>: Path: '/?host=virt3n1-la.xcastlabs.net&port=29876&token=tuc81dvh73kcxhqkl57y&encrypt=no&title=alex-lxd-centos7&password=null'
<IP_ADDRESS> - - [21/Aug/2019 20:28:15] connecting to: <IP_ADDRESS>:5980
<IP_ADDRESS> - - [21/Aug/2019 20:28:20] code 400, message Bad request syntax ('\x88\x8f2[2k1\xb3f')

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

Can you check KVM VNC access in your setup ? I'm using the same scenario where I patched #3596 and I VNC is working properly.

I deleted/recreated a KVM VM and noVNC console works for me.  I  live migrated KVM to the same host  as lxd running on and console still works.

See a lot of
Sun Aug 18 06:25:12 2019 [Z0][ONE][E]: Error parsing host 5 information: syntax error, unexpected COMMA, expecting EQUAL or EQUAL_EMPTY at line 0, columns 6:8. Monitoring information:
Sorry, home directories outside of /home are not currently supported.
See https://forum.snapcraft.io/t/11209 for details.
in omed.log, not sure if it has any relevance to the case.

That was the output that changed with the snap upgrade, make sure you upgrade all the nodes.
The behaviour you are experiencing with the centos containers is known. If you want VNC on centos containers you should change the vnc command that is run through svncterm.


Improve application of text filters

Related to, and possible alternative to, #5292
Purpose
Improve application of the strip_ko filter. We can reasonably apply this to all templates, because it is separate from the markupsafe flag.
Developer / Deployment notes
When testing the fix, try these steps to ensure that your mako cache is cleared and templates reflect the newest filters. Because this is a global  without help.

Pull code
Stop any running OSF server
Clear contents of /tmp/mako_modules directory
Restart server

QA testing notes
I can walk you through in person.

Replaced with #5296 , to master.


Error when new file is set to Typescript language

Issue Type: Bug
In some or all of the Typescript projects I work on, if I create a new unsaved file and then set its language to Typescript, then "Initializing JS/TS language features" turns on and off a few times in the status bar, and then I get this error in a notification:

The TypeScript language service died 5 times right after it got started. The service will not be restarted.

I'm not able to recreate this in an empty directory, or even a directory with a tsconfig.json and typescript npm-installed into it. I can reproduce it with these steps though:
git clone https://github.com/StreakYC/react-draggable-list.git
cd react-draggable-list
yarn
code .
# press cmd-N to make a new file
# set its language to TypeScript

I'm not sure what it is about the repo that triggers the error.
Maybe related to https://github.com/microsoft/vscode/issues/85547 since that issue was also about this error showing up when a new file was set to Typescript.
The Typescript features work fine for me on .ts/.tsx files as long as I don't have any file-less tabs set to Typescript.
VS Code version: Code 1.42.1 (c47d83b293181d9be64f27ff093689e8e7aed054, 2020-02-11T14:44:27.652Z)
OS version: Darwin x64 18.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7Y75 CPU @ 1.30GHz (4 x 1400)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
316, 211, 164

Memory (System)
16.00GB (0.41GB free)

Process Argv
.

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

vscode-styled-jsx
bla
1.5.0

better-toml
bun
0.3.2

vscode-eslint
dba
2.1.1

EditorConfig
Edi
0.14.4

prettier-vscode
esb
3.20.0

flow-for-vscode
flo
1.5.0

Go
ms-
0.13.1

vsliveshare
ms-
1.0.1653

ActiveFileInStatusBar
Ros
1.0.3

Duplicate of https://github.com/microsoft/TypeScript/issues/36200
Should be fixed in VS code 1.43 (current insiders build)


Insecure Local Storage of GitHub Token

The extension uses local storage API to store sensitive credentials locally on the user's machine. However, the token is stored as plaintext in LevelDB file (.ldb). The token can be easily extracted using Linux CLI utilities such as "strings" and "grep". A recommendation approach is to adopt GitHub's OAuth integration to authorize the interaction with GitHub. This will reduce the need to store the token permanently.

Thanks @tankeehock for pointing this out. Today I learned about the LevelDB backend that local storage is using! The use of local storage was intentional but the lack of encryption was problematic as you pointed out. I didn't want to register an OAuth app because I want to avoid handling any user private data. I wonder if there are local-first solutions to the problem. I'm curious how password managers like 1password handle it.

In the meanwhile, I'd recommend using GitHub's Fine-grained token to reduce the risk in case of a breach. The fine-grained token should be scoped to have content read/write access on the repository that is storing the tundra notes.


feat(schema): Add schema testing.

fix #36

Codecov Report

Merging #37 into master will increase coverage by 0.28%.
The diff coverage is 40%.

@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
+ Coverage   15.03%   15.31%   +0.28%
==========================================
  Files          11       15       +4
  Lines         459      542      +83
==========================================
+ Hits           69       83      +14
- Misses        386      451      +65
- Partials        4        8       +4

Impacted Files
Coverage Δ

schema/unit_tests.go
40% <40%> (ø)

schema/user.go
30% <0%> (ø)

schema/url.go
10% <0%> (ø)

schema/helper.go
0% <0%> (ø)

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 60d2ef2...fab1712. Read the comment docs.


Add unit tests for camera flip related API

MOB-3315
Jira issue:
https://glia.atlassian.net/browse/MOB-3315
What was solved?
Add unit tests for camera flip related API, specifically 'CallViewModel.setFlipCameraButtonVisible' static method, since it is reused between regular video call engagement and call visualizer.
Release notes:

[ ] Feature
[x] Ignore
[ ] Release notes (Is it clear from the description here?)
[ ] Migration guide (If changes are needed for integrator already using the SDK - what needs to be communicated? Add underneath please)

Additional info:

[x] Is the feature sufficiently tested? All tests fixed? Necessary unit, acceptance, snapshots added? Check that at least new public classes & methods are covered with unit tests
[ ] Did you add logging beneficial for troubleshooting of customer issues?
[ ] Did you add new logging? We would like the logging between platforms to be similar. Refer to Logging from iOS SDKs → Things to consider for newly added logs in Confluence for more information.

Screenshots:

!squash


Show expected Docker compose output in README

Addressing review feedback that arrived post-PR: include the expected terminal output of Docker compose in the README.
Check out the rendered README here: https://github.com/greatexpectationslabs/tutorial-gx-in-the-data-pipeline/tree/show-docker-compose-output?tab=readme-ov-file#quickstart

The only change to consider making is to add instructions for what to do if a user does not see this output, but that is pretty minor.

@r34ctor Thanks for the review! That's a good point. I'm need to give it a bit of thought, so I'm going to merge this PR for now while I think about how to address it. The key considerations are:

I don't want to bog down the Quickstart with a lot of detail that ideally most users won't need.
A link to a troubleshooting page or section that covers the issue could be a good alternative. However, if the Docker compose command doesn't run as expected on a user's machine, there's limited guidance we can give (other than "try it again") without knowing the user's specific error.


Reset exception in WithCleanupFinish

Context managers have an __exit__ function that returns a boolean-like object. If the object is truthy, then exceptions are suppressed.
If an exception was thrown while resolving that boolean, it would leak and live on in the error stack, getting tacked on to all future exceptions. This caused several mysterious test failures which would only trigger after this very specific event was tested in test_with.
The solution is to move a call to vm.set_exception() before attempting the try_to_bool() which threw the error.
Minimal example to reproduce the bug:
import sys
import traceback

class cm(object):
    def __init__(self):
        pass

    def __enter__(self):
        return 3

    def __exit__(self, a, b, c):
        class Bool:
            def __bool__(self):
                1 // 0
        return Bool()

try:
    with cm():
        raise Exception("Should NOT see this")
except ZeroDivisionError:
    print("exception caught, as expected")

print("There should now be no exception")
traceback.print_exc()
print(sys.exc_info())

Thank you so much! This fix seems hard to find the place to fix but related to many with bugs!


update walletconnect dependency

Description
Update walletconnect dependencies.
In wagmi, it is expected that the following two errors will be resolved among the errors I experienced.
https://github.com/WalletConnect/web3modal-react-native/issues/38
https://github.com/WalletConnect/walletconnect-monorepo/pull/2765
Additional Information

[X] I read the contributing docs (if this is your first contribution)

Your ENS/address:

@jxom @tmm hello! I'm sorry, but I'd like to receive a review on the Wallet Connect Dependency update.

https://github.com/wagmi-dev/references/pull/367
There's a duplicate pr. I'll close this one.


floor/round/ceil that optionally return a specified integral type

bearophile_hugs reported this on 2014-04-08T12:40:20Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=12547
Description
With a small counting I've seen that in my code I have often to cast the result of the functions floor/round/ceil to integral values, like:

cast(ubyte)round(x)
cast(int)floor(y)

But I prefer to avoid casts in my code. So I suggest to modify them (or to add new small functions) in Phobos that accept a template argument to specify the result integer type:

round!ubyte(x)
floor!int(y)

clugdbug commented on 2014-04-11T10:00:20Z
FYI: They are defined to return floating-point values because that's what the equivalent C functions do. They should not be modified.

Note that if you cast them to integers, you have to worry about overflow. So that's more complicated.

Note also the existence of rndint() and rndlong().

bearophile_hugs commented on 2014-04-11T11:48:27Z
(In reply to Don from comment #1)

> FYI: They are defined to return floating-point values because that's what
> the equivalent C functions do. They should not be modified.

Perhaps lovers of C functions can use core.stdc.math:

void main() {
    import core.stdc.math;
    double x = 2.7;
    int y1 = cast(int)floor(x);
    int y2 = cast(int)ceil(x);
    int y3 = cast(int)round(x);
}

But perhaps new functions can be defined in Phobos, with a different name (possibly with a clear name).

> Note that if you cast them to integers, you have to worry about overflow. So
> that's more complicated.

In the cases where you care about overflow can't you use to! function?

void main() {
    import std.math, std.conv;
    double x = 1e100;
    int y1 = x.floor.to!int;
}

> Note also the existence of rndint() and rndlong().

I don't know where they are, sorry for my ignorance. Do you mean stuff like this?
http://opensource.apple.com/source/Libm/Libm-93/ppc.subproj/rndint.c

In std.math I have found this:

pure nothrow @safe long rndtol(real x);
    Returns x rounded to a long value using the current rounding mode. If the integer value of x is greater than long.max, the result is indeterminate.

But what about ints, or floor/ceil? (And usually functions with name that starts with "rnd" are for random generation).

Thank you Don for your answers.

bearophile_hugs commented on 2014-04-20T14:43:11Z
In Python 3.4 those functions return an int (but Python has multiprecision integers):

from math import ceil
print(type(ceil(1.5)))

Output:

<class 'int'>


Abstract secret management

Implements: https://github.com/redkubes/otomi-core/issues/317

I want to help with the code review but 22k LoC is quite a lot... if we can split the work that would be great.

I agree it is a lot but most of the code are charts definition that come for their maintainers.
If it helps I recommend to focus on commits that are outside of charts directory


Add hashquarkchain to relayer testnet

I'm going to be restarting the testnet tomorrow. Merging this in anticipation of that. Please see gaiad and rly version details here


<EMAIL_ADDRESS>doesn't tracking signals with forward refs

There just no code to handle this case. I was working for library that wraps components with proxy.
So full here typesafe implementation of wrapping components with proxy.

const REACT_MEMO_TYPE = Symbol.for("react.memo");
const REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
const REACT_LAZY_TYPE = Symbol.for("react.lazy");

// const enum LazyStatus {
//   Uninitialized = -1,
//   Pending = 0,
//   Resolved = 1,
//   Rejected = 2,
// }

type RealComponentType<TProps extends object, IRef = unknown> =
  | {
      $$typeof: typeof REACT_FORWARD_REF_TYPE;
      render: (props: TProps, ref: null | Ref<IRef>) => ReactNode;
    }
  | {
      $$typeof: typeof REACT_MEMO_TYPE;
      compare: null | ((a: TProps, b: TProps) => boolean);
      type: (props: TProps) => ReactNode;
    }
  | {
      $$typeof: typeof REACT_LAZY_TYPE;
      _status: -1 | 0 | 1 | 2;
      _result: unknown;
    }
  | React.ComponentClass<TProps>
  | React.FC<TProps>;

type ReactFunctionalComponentType<
  TProps extends object,
  IRef = unknown
> = Extract<
  RealComponentType<TProps, IRef>,
  { $$typeof: typeof REACT_FORWARD_REF_TYPE } | React.FC<TProps>
>;

const wrapFunctionalFROrDefault = <TProps extends object>(
  Component: ReactFunctionalComponentType<TProps>,
  handler: HocTransformer
) => {
  type ForwardRefComponent = Extract<
    ReactFunctionalComponentType<TProps>,
    { $$typeof: typeof REACT_FORWARD_REF_TYPE }
  >;
  type RegularFunctionComponent = Exclude<
    ReactFunctionalComponentType<TProps>,
    ForwardRefComponent
  >;
  if (
    "$$typeof" in Component &&
    Component["$$typeof"] === REACT_FORWARD_REF_TYPE
  ) {
    return {
      $$typeof: REACT_FORWARD_REF_TYPE,
      render: new Proxy((Component as ForwardRefComponent).render, handler),
    };
  }
  return new Proxy(Component as RegularFunctionComponent, handler);
};

// I don't know why but typescript is not helpful at all

// Component can be memo class component or wrapped in hoc functional component
export const wrapComponentIntoHoc = <TProps extends object>(
  Component: RealComponentType<TProps>,
  handler: HocTransformer,
  mimicToNewComponentHandler: null | MimicToNewComponentHandler
) => {
  // this case assumes that it's ClassComponent
  if (isClassComponent(Component)) {
    return wrapFunctionalFROrDefault(
      toFunctional(Component) as React.FC<TProps>,
      handler
    );
  }

  if ("$$typeof" in Component && Component["$$typeof"] === REACT_MEMO_TYPE) {
    return {
      $$typeof: REACT_MEMO_TYPE,
      // @ts-expect-error
      type: wrapFunctionalFROrDefault(toFunctional(Component.type), handler),
      compare: Component.compare,
    };
  }

  if (
    "$$typeof" in Component &&
    Component["$$typeof"] === REACT_FORWARD_REF_TYPE
  ) {
    return {
      $$typeof: REACT_FORWARD_REF_TYPE,
      // render is always function
      render: new Proxy(Component.render, handler),
    };
  }
  if ("$$typeof" in Component && Component["$$typeof"] === REACT_LAZY_TYPE) {
    return Component;
  }

  const proxied = new Proxy(Component, handler);
  return mimicToNewComponentHandler
    ? new Proxy(proxied, mimicToNewComponentHandler)
    : proxied;
};

This issue is really important, because it's the only way to use signals in react native, for now

I think i can fix it later

Should I provide PR?

As we are pushing people towards the Babel plugin and away from the automatic runtime I'll close this issue.


[Bug] Lakehouse compaction service can't load hadoop plugin

Search before asking

[X] I searched in the issues and found nothing similar.

Fluss version
0.5.0
Minimal reproduce step
Fluss use hdfs as remote storage, and start compaction service with lakehouse.sh.
What doesn't meet your expectations?
Can't find the fluss-fs-hadoop plugin although it's in plugins/hadoop directory
Anything else?
When it's hdfs as remote storage, the lakehouse.sh will just extract the hdfs scheme and try to find the hdfs plugin in directory plugins/hdfs, but it's in plugins/hadoop. Maybe we need do a mapping to map hdfs  to hadoop
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

@luoyuxia shouldn't we rename the plugins/hadoop into plugins/hdfs? Because this is how the Filesystems find the plugins (using the scheme name as the directory name to find the plugin path).

@luoyuxia shouldn't we rename the plugins/hadoop into plugins/hdfs? Because this is how the Filesystems find the plugins (using the scheme name as the directory name to find the plugin path).

Not exactly using the scheme name as the directory name to find the plugin path, currently, the plugin discovery mechanism will visit all directories, and load plugin by SPI.
I think rename the plugins/hadoop into plugins/hdfs will be more clear since all other plugins use scheme name as the directory name. @michaelkoepf Could you please update your pr, we can just modify plugins/hadoop/ to plugins/hdfs in fluss-dist/../plugins.xml.


Protected Event Logging for Module Logging

Summary of the new feature / enhancement
Implemented Protected Event Logging for Pipeline/Module Logging(Event 4103 and 800).
Proposed technical implementation details (optional)
Protected Event Logging has been implemented for Script Block Logging but not Pipeline/Module Logging(Event 4103 and 800).

@wg-security This probably requires some design:

If we encrypt both events based on the same policy, this might break people that relied on the old behavior.
If we add a new policy, how do we create it, so we don’t keep adding policy for each new event.

Otherwise, this seems like something we should consider.


Merge K sorted linked lists

Aim

Details
I would like to solve Merge K sorted linked lists in C++ under LGMSOC'21
Programming language

[ ] C
[x] C++
[ ] Java
[ ] Python

@ravikr126 Kindly assign me this issue under LGMSOC'21


Merge pull request #2 from abokmadaki/main

Merge pull request #1 from abokmadaki/abokmadaki-patch-1

Check out this beautiful project made with React!


⚠ Minecraft has degraded performance

In bfd7a73, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 795 ms

Resolved: Minecraft performance has improved in 389efc0.


input method dialog can not auto dock near the text box

input method dialog can not auto dock near the text box

We don't properly support IME yet. We should have a tracking issue for that.


Update package index with latest published versions

Update package index with latest published versions

broken links unrelated to this change I will fix them independently.


Check that players aren't in a game before removing cards from the inventory

Players must not be allowed to remove cards from their inventory while they're in a game, because they could potentially be using that card in the game. Letting this happen would make it easy to "flashloan" cards at game join time, creating an economic attack on the game.
This should be a pretty straightforward thing to implement, as the Game contract already has an inGame mapping that gives us exactly the information we need here.

This was fixed by https://github.com/0xFableOrg/0xFable/pull/56, thanks @0xnonso!


MSP430 doesn't have libstd or libcore provided upstream

Crate name
msp430-rt
Build failure link
https://docs.rs/crate/msp430-rt/0.3.1/builds/512492
Additional details
msp430-none-elf doesn't have a standard library provided by nightly. It must be built as part of the application for now. I figured these fields would be enough, but if there's no way to prevent docs.rs from trying to download the standard lib, then I can no longer build documentation for msp430-rt. The current metadata fields don't seem to have a way to tell rustup "don't download std".
Some msp430 crates work around needing to compile docs for the msp430 target by just compiling for the defaults anyway, but due to at least abi_msp430_interrupt, this approach doesn't work here (and I don't think it'll work once target-specific calling conventions are stabilized either).

Duplicate of https://github.com/rust-lang/docs.rs/issues/1561


Rya 282 nested query

Description
Changed how metadata is written to Fluo by creating a ProjectionMetadata node.
This separates the projection logic form the QueryMetadata node, which is the topmost
node in the query.  By adding a ProjectionMetadata node, the Rya Trigger Service now
supports nested queries.
Tests
Integration tests were added to test that the new ProjectionMetadata is correctly
written to and read from Fluo.  Tests were added to ensure that the ProjecitonMetadata
is incorporated correctly into the FluoQuery.  Finally, a number of integration tests were added
to ensure that nested queries are evaluated correctly.
[Description of what tests were written]
Links
Jira
Checklist

[ ] Code Review
[ ] Squash Commits

People To Reivew
@amihalik @isper3at @pujav65

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/335/Failed Tests: 5incubator-rya-master-with-optionals-pull-requests/org.apache.rya:rya.pcj.functions.geo: 5org.apache.rya.indexing.pcj.functions.geo.GeoFunctionsIT.withGeoIntersectsPointorg.apache.rya.indexing.pcj.functions.geo.GeoFunctionsIT.withGeoSpatialSupportInitializerorg.apache.rya.indexing.pcj.functions.geo.GeoFunctionsIT.GeoDistanceorg.apache.rya.indexing.pcj.functions.geo.GeoFunctionsIT.withGeoFiltersorg.apache.rya.indexing.pcj.functions.geo.GeoFunctionsIT.withTemporal

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/341/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/342/Failed Tests: 3incubator-rya-master-with-optionals-pull-requests/org.apache.rya:rya.prospector: 3org.apache.rya.prospector.mr.ProspectorTest.testCountorg.apache.rya.prospector.service.ProspectorServiceEvalStatsDAOTest.testCountorg.apache.rya.prospector.service.ProspectorServiceEvalStatsDAOTest.testNoAuthsCount


Ran out of memory

W tensorflow/core/common_runtime/bfc_allocator.cc:274] **_*******************************xxx************************xx********************xxxxxxxxxxxxxxxxx
W tensorflow/core/common_runtime/bfc_allocator.cc:275] Ran out of memory trying to allocate 25.41MiB.  See logs for memory state.
W tensorflow/core/framework/op_kernel.cc:993] Resource exhausted: OOM when allocating tensor with shape[150,25,74,24]
Traceback (most recent call last):
  File "main.py", line 100, in <module>
    main(args.dataset_path)
  File "main.py", line 20, in main
    train(model, dataset_path)
  File "main.py", line 43, in train
    model.fit_generator(Data_Generator.flow(f,flag = flag_train),one_epoch,epoch_num,validation_data=Data_Generator.flow(f,train_or_validation=which_val_data,flag=flag_val),nb_val_samples=nb_val_samples)
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/keras/legacy/interfaces.py", line 88, in wrapper
    return func(*args, **kwargs)
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/keras/engine/training.py", line 1877, in fit_generator
    class_weight=class_weight)
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/keras/engine/training.py", line 1621, in train_on_batch
    outputs = self.train_function(ins)
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 2103, in __call__
    feed_dict=feed_dict)
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 767, in run
    run_metadata_ptr)
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 965, in _run
    feed_dict_string, options, run_metadata)
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1015, in _do_run
    target_list, options, run_metadata)
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1035, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.ResourceExhaustedError: OOM when allocating tensor with shape[150,74,24,25]
	 [[Node: conv2d_2/convolution = Conv2D[T=DT_FLOAT, data_format="NHWC", padding="VALID", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/gpu:0"](max_pooling2d_1/MaxPool, conv2d_2/kernel/read)]]
	 [[Node: add_9/_35 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/cpu:0", send_device="/job:localhost/replica:0/task:0/gpu:0", send_device_incarnation=1, tensor_name="edge_19807_add_9", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"]()]]

Caused by op u'conv2d_2/convolution', defined at:
  File "main.py", line 100, in <module>
    main(args.dataset_path)
  File "main.py", line 18, in main
    model = generate_model()
  File "/Volumes/more/source/cv/reid/Implementation-CVPR2015-CNN-for-ReID/CUHK03/model.py", line 61, in generate_model
    x1 = share_conv_2(x1)
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/keras/engine/topology.py", line 578, in __call__
    output = self.call(inputs, **kwargs)
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/keras/layers/convolutional.py", line 164, in call
    dilation_rate=self.dilation_rate)
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 2893, in conv2d
    data_format='NHWC')
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/tensorflow/python/ops/nn_ops.py", line 639, in convolution
    op=op)
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/tensorflow/python/ops/nn_ops.py", line 308, in with_space_to_batch
    return op(input, num_spatial_dims, padding)
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/tensorflow/python/ops/nn_ops.py", line 631, in op
    name=name)
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/tensorflow/python/ops/nn_ops.py", line 129, in _non_atrous_convolution
    name=name)
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/tensorflow/python/ops/gen_nn_ops.py", line 396, in conv2d
    data_format=data_format, name=name)
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 763, in apply_op
    op_def=op_def)
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2327, in create_op
    original_op=self._default_original_op, op_def=op_def)
  File "/Users/gerrie/tensorflow/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1226, in __init__
    self._traceback = _extract_stack()

ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[150,74,24,25]
	 [[Node: conv2d_2/convolution = Conv2D[T=DT_FLOAT, data_format="NHWC", padding="VALID", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/gpu:0"](max_pooling2d_1/MaxPool, conv2d_2/kernel/read)]]
	 [[Node: add_9/_35 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/cpu:0", send_device="/job:localhost/replica:0/task:0/gpu:0", send_device_incarnation=1, tensor_name="edge_19807_add_9", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"]()]]

Seem like GPU memory run out . How to solve this problem?
my device is :
CUHK03 git:(master) ✗  $ cuda-smi
Device 0 [PCIe 0:1:0.0]: GeForce GT 650M (CC 3.0): 745.94 of 1023.7 MB (i.e. 72.9%) Free

The memory should be enough since I've ran other big project using  tensorflow.
and I run on macOS 10.12. latest tensorflow version .

可以提供你训练好的模型吗?

如果能提供 权值文件 就太好了！

I am also facing the same issue with error showing as
tensorflow/core/framework/op_kernel.cc:1152] Resource exhausted: OOM when allocating tensor with shape[150,41,16,25]

Change the batch size argument to 50 in data_preparation.py init and flow functions.


iOS: njump opens Damus, but does not navigate to specific note

what happens
When I tap on the open in your app button, the app opens.
what I expect to happen
App should open and navigate to the specific note I was looking at.

@jb55 advised this is a Damus issue


When a link is posted, it causes a MessageUpdate event and the program panics.

When a link is posted and after it gets embedded it causes a MessageUpdate event.
Trying to access msg.Message.Author.Username inside the MessageUpdate event results in a panic.
panic: runtime error: invalid memory address or nil pointer dereference

Message updates do not contain the Author, this is the expected behavior.

The usual MessageUpdate event (triggered by edits) does not cause this though, hence my confusion.
If it is expected behaviour that is fine I guess.

The normal messageupdate contains author for me:
MESSAGE_UPDATE, Data: {"tts":false,"timestamp":"2016-05-05T23:48:00.571000+00:00","nonce":null,"mentions":[],"mention_roles":[],"mention_everyone":false,"id":"177929424505667584","embeds":[],"edited_timestamp":"2016-05-05T23:49:10.547826+00:00","content":"asdasdasdasdasdasdasd","channel_id":"160214535121141761","author":{"username":"jonas747","id":"105487308693757952","discriminator":"3124","avatar":"877a73db915ad6494e8a11519d3ddc32"},"attachments":[]}

Aye, it panics on MessageUpdate with embedded links, but not with normal MessageUpdate with edits.

The actual behaviour seems to be if you post a link that hasn't been posted before, discord will create a message update event after it has been made with only the embed information and nothing else

@VagantemNumen could you please post the actual panic error message you've received if possible?

Well aye, Discord does not send those fields and it is pretty obvious the field is nil from the panic message.
MESSAGE_UPDATE, Data: {"id":"178117865130426369","embeds":[{"url":"https://silvalibrary.com/2016/05/04/rinkan-no-madoushi-v1-chapter-3-pt-2/","type":"article","title":"Rinkan no Madoushi – V1 Chapter 3 (Pt 2)","thumbnail":{"width":218,"url":"https://i1.wp.com/silvalau.files.wordpress.com/2016/03/015.jpg?fit=440%2C330&ssl=1","proxy_url":"https://images-2.discordapp.net/eyJ1cmwiOiJodHRwczovL2kxLndwLmNvbS9zaWx2YWxhdS5maWxlcy53b3JkcHJlc3MuY29tLzIwMTYvMDMvMDE1LmpwZz9maXQ9NDQwJTJDMzMwJnNzbD0xIn0.mDBITar0Wygz2yBY5YXpbm7sBA0.jpg","height":329},"provider":{"url":"http://silvalibrary.com","name":"Silva's Library"},"description":"Click here to start reading! The next part of Chapter 3 is here. I’ll try to get the part after this to you as quickly as I can, but no promises. After the next part, then releases for Rinkan…","author":{"url":"https://silvalibrary.com/author/selutu/","name":"Selutu"}}],"channel_id":"161646341548802048"}```
Well I guess I will have to check for this and ignore them.


EnableW3CDistributedTracing - Version and TraceFlags are inaccessible

While working on enabling this in a service, we noticed the Version and TraceFlags are not accessible in the RequestTelemetry.
Repro Steps

Create a ASP .NET Core Web Application
Choose the API template (ASP.NET Core 2.1)
In Package Manager Console, install Microsoft.ApplicationInsights.AspNetCore
Install-Package Microsoft.ApplicationInsights.AspNetCore -Version 2.5.0
In Package Manager Console, install Microsoft.ApplicationInsights.DependencyCollector
Install-Package Microsoft.ApplicationInsights.DependencyCollector -Version 2.8.0
Enable EnableW3CDistributedTracing in Startup.cs

public void ConfigureServices(IServiceCollection services)
{
    services.AddApplicationInsightsTelemetry(o =>
        o.RequestCollectionOptions.EnableW3CDistributedTracing = true );
    // ....
}

In one of the Get method in Controllers/ValuesController.cs, set a local variable to evaluate the RequestTelemetry for the request.

//Add using statement
using Microsoft.ApplicationInsights.DataContracts;

//...
var requestTelemetry = Request.HttpContext.Features.Get<RequestTelemetry>();

Add a breakpoint to the return statement to evaluate requestTelemetry
Start application
Send the following request to the service (I used PostMan).  Here is the cURL statement:

GET /api/values HTTP/1.1
Host: localhost
traceparent: 00-0af7651916cd43dd8448eb211c80319c-00f067aa0ba902b7-01
tracestate: rojo=00-0af7651916cd43dd8448eb211c80319c-00f067aa0ba902b7-01,congo=BleGNlZWRzIHRohbCBwbGVhc3VyZS4
cache-control: no-cache

Look for Version "00" in the requestTelemetry variable
Look for TraceFlags "01" in the requestTelemetry variable

Actual Behavior
I was able to find the traceid, spanid and the tracestate in the requestTelemetry, but I was not able to find the version and the traceflags.
var traceid = requestTelemetry.Context.Operation.Id;
var spanid = requestTelemetry.Context.Operation.ParentId.Split('.')[1];
var tracestate = requestTelemetry.Context.Properties["w3c_tracestate"];

Also, it should be noted that Properties is marked as obsolete:
[Obsolete("Use GlobalProperties to set global level properties. For properties at item level, use ISupportProperties.Properties.")]
public IDictionary<string, string> Properties { get; }

Expected Behavior
The version and traceflags should be accessible either in RequestContext (preferably) or another class.  If these are already accessible in another class, please provide direction.  Also, tracestate is accessible in the Context.Properties, but once this is obsolete, it will no longer be accessible.
The reason access is needed for the flags and the version, is so the traceparent and tracestate can be added to outbound requests.
Version Info
SDK Version : Microsoft.ApplicationInsights.AspNetCore -Version 2.5.0
Microsoft.ApplicationInsights.DependencyCollector -Version 2.8.0
.NET Version :	ASP.NET Core 2.1
How Application was onboarded with SDK(VisualStudio/StatusMonitor/Azure Extension) : VisualStudio
OS : Windows 10 (64-bit)
Hosting Info (IIS/Azure WebApps/ etc) : IISExpress (local) && Azure WebApps (deployed)

ApplicaitonInsights will do outbound header propagation when W3C is enabled - you don't have to implement it on your own. Please let me know if something does not work for you and I'll fix it.
Support for W3C is experimental in AppicaitonInsights. We are working with .NET team to make Activity implement W3C tracing and trace flags will become available. Regarding version, AI implements 00 and there is no point in exposing version - it will likely be const anyway.
You may still access trace flags from the Activity.Current.Tags, in w3c_sampled (all tag names - https://github.com/Microsoft/ApplicationInsights-dotnet-server/blob/develop/Src/Common/W3C/W3CConstants.cs).
RequestTelemtery.Context.Properties are obsolete, but they are the same as RequestTelemtery.Properties which are not going anywhere.
I'm closing this issue for now, but feel free to reopen. And please let me know if you need more info, I'd like to understand your scenario and the need to re-inject headers better.

Per the document https://w3c.github.io/distributed-tracing/report-trace-context.html#overview, it states at the end the following:

Libraries and platforms MUST propagate traceparent and tracestate headers to guarantee that trace will not be broken.

While the package does handle outbound header propagation to Application Insights, it does not appear to add them to outbound HttpRequestMessages in the HttpClient.SendAsync.  I did a local test where I had one application send an Http request to another application.  I did not see the traceparent or tracestate in the headers of the request.  That said, I did see the Request-Id being sent but that;s it.
Additionally, with respect to asynchronous operations, like sending a message to a service bus queue, I would think the traceparent and tracestate should be propagated to those types of outbound requests.
This is why I believe being able to access the version would be beneficial.
Currently, it cannot be assumed that the version will always be 00 since it is part of the traceparent header and could be generated from another system,  The document only states:

Version (version) is a 1 byte representing an 8-bit unsigned integer. Version 255 is invalid. Current specification assumes the version is set to 00.

In the Base mutations section https://w3c.github.io/distributed-tracing/report-trace-context.html#mutating-the-traceparent-field, it does not reference the version.  I would assume the version provided should be propagated to other services.


Zandalar and Kultiras second chances are not activating properly

They do not lose their former holdings

Kul'Tiras worked properly for me when I killed Boralus as Kul'Tiras

Kul'Tiras worked properly for me when I killed Boralus as Kul'Tiras

That means: you lost control of everything you owned prior, you gained the ship moving towards south shore, your heroes revived into the ship and you gained control of all the units inside the ship?

Yes that's exactly what happened.

Working on fixing the Zandalar side of this


how to prune keep-alive cache in my own logic code?

What problem does this feature solve?
I use keep-alive in router-view in such request "/detail/:id"
<keep-alive>
      <router-view></router-view>
</keep-alive>

there are about 100 different detail ids, and I need to remove the not-recently-used cache when leave the router(beforeRouterLeave)
I found some related issues in git (https://github.com/vuejs/vue/issues/6509) which didn't solve my problem.
By the way, keep-alive max props is good but I need to remove some cache in my own logic code.
What does the proposed API look like?
vm.$pruneCache(cache)

Hey, as discussed earlier in #6259 and others issues, this is not what we want to achieve with keep-alive. If what you want is to cache last x component rendered, you can actually create your own component basing yourself in keep-alive source code.
Exposing the pruneCache function will actually go against declarativity but in your scenario it looks like using the max prop will work


Aside from direct-messages.js, is there anything else we can opt not to include?

I'm a coward and I don't want my likes to be seen 😅

I don't know if it's going to fail to upload right now without likes, but I think we want the app to gracefully handle it if it doesn't already! I think the minimum really should be the big tweets.json?

The only things that leave your machine are 1. profile information
2. tweets, 3. likes, 4. followers/following

I think that makes sense, especially now that likes are private, thanks for opening this @zrkrlc

Yeah ok right now it will throw an error if it doesn't find one of the "required files"
https://github.com/open-birdsite-db/open-birdsite-db/blob/bd538da457994a6d2870176f11aa342ac30dc6f9/src/components/UploadTwitterArchive.tsx#L206
but I think we can do some re-architecting to make that optional

Agreed that we could makes likes optional especially since they're private on twitter now.
However, they're really useful to know what tweets that you interacted with were saying. If you reply to someone and like it, the text of the OP will be in your archive. If you don't like it, it won't.

I'd be very keen on an option to include likes only up to the point where they became private, to match ppl's prior expectations


pass grub config file for installer

The ability to use grub.cfg from config file in case of iso installer. For now with iso image we have no dedicated config partition, but still may want to pass override. In this PR I mount file with configuration partition and try to use grub.cfg from it.
Signed-off-by: Petr Fedchenkov<EMAIL_ADDRESS>

It doesn't make sense to only look for grub.cfg from a different place; I suspect that customers will (if we ship this) expect EVE to also look for the DevicePortConfig file, authorized_keys, etc in the same place.

grub configuration I try to pass here is required to properly set options (e.g. eve_install_disk) during installation process. All other options not needed to be passed here, they affect CONFIG partition (copied onto it) on EVE installation (not the process of installation).

Why does it make sense to have the config both inside the ISO and outside? Having only one place would make it a lot simpler for users to understand since if two place they have to understand what takes precendence etc.

Sorry, cannot understand this part of comment. Both parts points to the same file, but the file is located on partition of USB or just in file on iso (/config.img).

grub configuration I try to pass here is required to properly set options (e.g. eve_install_disk) during installation process. All other options not needed to be passed here, they affect CONFIG partition (copied onto it) on EVE installation (not the process of installation).

OK. It wlould make sense to add some comments in the code documenting that is why we only copy the grub config.

Sorry, cannot understand this part of comment. Both parts points to the same file, but the file is located on partition of USB or inside file system inside file on iso (/config.img).

I'm still confused whether there is one partition or two on the USB stick.
If there is only one ISO partition on the USB stick and you are merely adding the loopback mount to be able to apply the grub.cfg then it is fine.

Sorry, cannot understand this part of comment. Both parts points to the same file, but the file is located on partition of USB or inside file system inside file on iso (/config.img).

I'm still confused whether there is one partition or two on the USB stick. If there is only one ISO partition on the USB stick and you are merely adding the loopback mount to be able to apply the grub.cfg then it is fine.

We have only one partition on iso. USB (installer_raw) is different option and we have several partitions inside for this case. Yes, PR is only about mounting of file inside iso and obtaining grub.cfg from its filesystem content.


BLE-HID-Device Re-Connection is not possible (IDFGH-9733)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Hello,
I bought an BLE-HID Remote which I successfully paired with the esp32-s3 - for that I used your example: https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/esp_hid_host
Everything works as expected, Connection is done, all Information from the Device is visible in the Serial Monitor.
Now coming to my Problem:

IF the Battery dies the ESP32-S3 is not capable to re-connect to the Remote. I tried to bring the Remote back to the Paring mode but the ESP32-S3 is not able to connect again to the Remote.
Is this a Problem occurred by the Code or just not implemented?
If this is not implemented yet, could you give me a hint, which Functions are used for the Re-Connection handling and what Informations need's to be stored to re-connect to that device?

If I remove the Battery from the Remote the ESP32-S3 tells me that the connection is closed.
Best regards

@DerPicknicker There is no implement for reconnecting to remote device after disconnected. You must reboot the ESP32S3 and then it will reconnect to your device.
You can implement it just refer to this patch.
0001-reconnect-to-remote-after-disconnected.patch

@DerPicknicker The example code is what you mentioned above example/Bluetooth/esp_hid_host.

@esp-cjh .. Yes but I don’t get your point how to implement a reconnection?
do you which functions are the most important for the BLE-Stack?

Hi @esp-cjh ..
I will try that thank you!

Thanks for reporting, will close due to short of feedback, feel free to reopen with more updates. Thanks.


Proposed fix for issue #3

Also some simple build scrpt fixes:

setting the CxxWrap dir from outside the makefile makes it independent of Julia version number
adding CxxWrap to rpath avoids the need to put CxxWrap in LD_LIBRARY_PATH on linux

@barche Thanks again for your help.  Much appreciated.

I tried building with the new CxxWrap system (instead of just having libfeather on my LD_LIBRARY_PATH, which worked), but I get this error:
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.4.6-pre+18 (2016-04-01 03:37 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 198644a (11 days old release-0.4)
|__/                   |  x86_64-apple-darwin15.3.0

julia> Pkg.build("Feather")
INFO: Building CxxWrap
INFO: Building Feather
INFO: Attempting to Create directory /Users/sglyon/.julia/v0.4/Feather/deps/builds
INFO: Directory /Users/sglyon/.julia/v0.4/Feather/deps/builds already created
INFO: Changing Directory to /Users/sglyon/.julia/v0.4/Feather/deps/builds
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/sglyon/.julia/v0.4/Feather/deps/builds
Scanning dependencies of target featherjl
[ 50%] Building CXX object CMakeFiles/featherjl.dir/featherjl.cpp.o
In file included from /Users/sglyon/.julia/v0.4/Feather/deps/src/featherjl.cpp:1:
In file included from /Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/cxx_wrap.hpp:13:
In file included from /Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/array.hpp:6:
/Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/type_conversion.hpp:429:3: error: static_assert failed "No appropriate specialization for ConvertToJulia"
                static_assert(sizeof(T)==0, "No appropriate specialization for ConvertToJulia");
                ^             ~~~~~~~~~~~~
/Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/type_conversion.hpp:537:9: note: in instantiation of function template specialization
      'cxx_wrap::ConvertToJulia<std::__1::unique_ptr<feather::TableReader, std::__1::default_delete<feather::TableReader> >, false, false, false>::operator()<std::__1::unique_ptr<feather::TableReader,
      std::__1::default_delete<feather::TableReader> > >' requested here
        return julia_converter_type<T>()(std::forward<T>(cpp_val));
               ^
/Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/cxx_wrap.hpp:31:10: note: in instantiation of function template specialization 'cxx_wrap::convert_to_julia<std::__1::unique_ptr<feather::TableReader,
      std::__1::default_delete<feather::TableReader> > >' requested here
                return convert_to_julia((*std_func)(convert_to_cpp<mapped_reference_type<Args>>(args)...));
                       ^
/Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/cxx_wrap.hpp:52:10: note: in instantiation of member function 'cxx_wrap::detail::ReturnTypeAdapter<std::__1::unique_ptr<feather::TableReader,
      std::__1::default_delete<feather::TableReader> >, const std::__1::basic_string<char> &>::operator()' requested here
                return ReturnTypeAdapter<R, Args...>()(functor, args...);
                       ^
/Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/cxx_wrap.hpp:188:42: note: in instantiation of function template specialization
      'cxx_wrap::detail::call_functor<std::__1::unique_ptr<feather::TableReader, std::__1::default_delete<feather::TableReader> >, const std::__1::basic_string<char> &>' requested here
                return reinterpret_cast<void*>(detail::call_functor<R, Args...>);
                                                       ^
/Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/cxx_wrap.hpp:182:2: note: in instantiation of member function 'cxx_wrap::FunctionWrapper<std::__1::unique_ptr<feather::TableReader,
      std::__1::default_delete<feather::TableReader> >, const std::__1::basic_string<char> &>::pointer' requested here
        FunctionWrapper(const functor_t& function) : m_function(function)
        ^
/Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/cxx_wrap.hpp:299:27: note: in instantiation of member function 'cxx_wrap::FunctionWrapper<std::__1::unique_ptr<feather::TableReader,
      std::__1::default_delete<feather::TableReader> >, const std::__1::basic_string<char> &>::FunctionWrapper' requested here
                auto* new_wrapper = new FunctionWrapper<R, Args...>(f);
                                        ^
/Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/cxx_wrap.hpp:417:3: note: in instantiation of function template specialization 'cxx_wrap::Module::method<std::__1::unique_ptr<feather::TableReader,
      std::__1::default_delete<feather::TableReader> >, const std::__1::basic_string<char> &>' requested here
                method(name, std::function<R(ArgsT...)>(lambda));
                ^
/Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/cxx_wrap.hpp:329:3: note: in instantiation of function template specialization
      'cxx_wrap::Module::add_lambda<std::__1::unique_ptr<feather::TableReader, std::__1::default_delete<feather::TableReader> >, (lambda at
      /Users/sglyon/.julia/v0.4/Feather/deps/src/featherjl.cpp:34:40) &, (lambda at /Users/sglyon/.julia/v0.4/Feather/deps/src/featherjl.cpp:34:40), const std::__1::basic_string<char> &>' requested
      here
                add_lambda(name, lambda, &LambdaT::operator());
                ^
/Users/sglyon/.julia/v0.4/Feather/deps/src/featherjl.cpp:34:13: note: in instantiation of function template specialization 'cxx_wrap::Module::method<(lambda at
      /Users/sglyon/.julia/v0.4/Feather/deps/src/featherjl.cpp:34:40)>' requested here
  featherjl.method("openFeatherTable", [](const std::string& path)
            ^
In file included from /Users/sglyon/.julia/v0.4/Feather/deps/src/featherjl.cpp:1:
In file included from /Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/cxx_wrap.hpp:13:
In file included from /Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/array.hpp:6:
/Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/type_conversion.hpp:429:3: error: static_assert failed "No appropriate specialization for ConvertToJulia"
                static_assert(sizeof(T)==0, "No appropriate specialization for ConvertToJulia");
                ^             ~~~~~~~~~~~~
/Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/type_conversion.hpp:537:9: note: in instantiation of function template specialization 'cxx_wrap::ConvertToJulia<std::__1::unique_ptr<feather::Column,
      std::__1::default_delete<feather::Column> >, false, false, false>::operator()<std::__1::unique_ptr<feather::Column, std::__1::default_delete<feather::Column> > >' requested here
        return julia_converter_type<T>()(std::forward<T>(cpp_val));
               ^
/Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/cxx_wrap.hpp:31:10: note: in instantiation of function template specialization 'cxx_wrap::convert_to_julia<std::__1::unique_ptr<feather::Column,
      std::__1::default_delete<feather::Column> > >' requested here
                return convert_to_julia((*std_func)(convert_to_cpp<mapped_reference_type<Args>>(args)...));
                       ^
/Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/cxx_wrap.hpp:52:10: note: in instantiation of member function 'cxx_wrap::detail::ReturnTypeAdapter<std::__1::unique_ptr<feather::Column,
      std::__1::default_delete<feather::Column> >, feather::TableReader, int>::operator()' requested here
                return ReturnTypeAdapter<R, Args...>()(functor, args...);
                       ^
/Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/cxx_wrap.hpp:188:42: note: in instantiation of function template specialization 'cxx_wrap::detail::call_functor<std::__1::unique_ptr<feather::Column,
      std::__1::default_delete<feather::Column> >, feather::TableReader, int>' requested here
                return reinterpret_cast<void*>(detail::call_functor<R, Args...>);
                                                       ^
/Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/cxx_wrap.hpp:182:2: note: in instantiation of member function 'cxx_wrap::FunctionWrapper<std::__1::unique_ptr<feather::Column,
      std::__1::default_delete<feather::Column> >, feather::TableReader, int>::pointer' requested here
        FunctionWrapper(const functor_t& function) : m_function(function)
        ^
/Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/cxx_wrap.hpp:299:27: note: in instantiation of member function 'cxx_wrap::FunctionWrapper<std::__1::unique_ptr<feather::Column,
      std::__1::default_delete<feather::Column> >, feather::TableReader, int>::FunctionWrapper' requested here
                auto* new_wrapper = new FunctionWrapper<R, Args...>(f);
                                        ^
/Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/cxx_wrap.hpp:417:3: note: in instantiation of function template specialization 'cxx_wrap::Module::method<std::__1::unique_ptr<feather::Column,
      std::__1::default_delete<feather::Column> >, feather::TableReader, int>' requested here
                method(name, std::function<R(ArgsT...)>(lambda));
                ^
/Users/sglyon/.julia/v0.4/CxxWrap/deps/usr/include/cxx_wrap.hpp:329:3: note: in instantiation of function template specialization 'cxx_wrap::Module::add_lambda<std::__1::unique_ptr<feather::Column,
      std::__1::default_delete<feather::Column> >, (lambda at /Users/sglyon/.julia/v0.4/Feather/deps/src/featherjl.cpp:44:33) &, (lambda at
      /Users/sglyon/.julia/v0.4/Feather/deps/src/featherjl.cpp:44:33), feather::TableReader, int>' requested here
                add_lambda(name, lambda, &LambdaT::operator());
                ^
/Users/sglyon/.julia/v0.4/Feather/deps/src/featherjl.cpp:44:13: note: in instantiation of function template specialization 'cxx_wrap::Module::method<(lambda at
      /Users/sglyon/.julia/v0.4/Feather/deps/src/featherjl.cpp:44:33)>' requested here
  featherjl.method("getcolumn", [](const TableReader rdr, int i)
            ^
2 errors generated.
make[2]: *** [CMakeFiles/featherjl.dir/featherjl.cpp.o] Error 1
make[1]: *** [CMakeFiles/featherjl.dir/all] Error 2
make: *** [all] Error 2
===============================[ ERROR: Feather ]===============================

LoadError: failed process: Process(`cmake --build . --config Release --target install`, ProcessExited(2)) [2]
while loading /Users/sglyon/.julia/v0.4/Feather/deps/build.jl, in expression starting on line 41

================================================================================

============================================================================================[ BUILD ERRORS ]=============================================================================================

WARNING: Feather had build errors.

 - packages with build errors remain installed in /Users/sglyon/.julia/v0.4
 - build the package(s) and all dependencies with `Pkg.build("Feather")`
 - build a single package by running its `deps/build.jl` script

=========================================================================================================================================================================================================

I think this is because you are not on CxxWrap master. Did you Pkg.checkout("CxxWrap")? The changes for smart pointers are not in a release yet. Note that to correctly rebuild CxxWrap after the checkout you should remove the usr dir in the deps dir in the CxxWrap package dir.

Good catch, I wasn't checked out.
I tried again and got further.
This is the new error:
julia> Pkg.build("Feather")
INFO: Building CxxWrap
INFO: Building Feather
INFO: Attempting to Create directory /Users/sglyon/.julia/v0.4/Feather/deps/builds
INFO: Directory /Users/sglyon/.julia/v0.4/Feather/deps/builds already created
INFO: Changing Directory to /Users/sglyon/.julia/v0.4/Feather/deps/builds
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/sglyon/.julia/v0.4/Feather/deps/builds
Scanning dependencies of target featherjl
[ 50%] Building CXX object CMakeFiles/featherjl.dir/featherjl.cpp.o
[100%] Linking CXX shared library libfeatherjl.dylib
ld: library not found for -lfeather
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libfeatherjl.dylib] Error 1
make[1]: *** [CMakeFiles/featherjl.dir/all] Error 2
make: *** [all] Error 2
===============================[ ERROR: Feather ]===============================

LoadError: failed process: Process(`cmake --build . --config Release --target install`, ProcessExited(2)) [2]
while loading /Users/sglyon/.julia/v0.4/Feather/deps/build.jl, in expression starting on line 41

================================================================================

===============================================================================================================================[ BUILD ERRORS ]===============================================================================================================================

WARNING: Feather had build errors.

 - packages with build errors remain installed in /Users/sglyon/.julia/v0.4
 - build the package(s) and all dependencies with `Pkg.build("Feather")`
 - build a single package by running its `deps/build.jl` script

==============================================================================================================================================================================================================================================================================

I'm wondering if I need to have built the feather cpp and have it available for linking?

Yes.

Ah, the problem here is that Cmake can't find the feather C++ library. This is not built by this package but header and library are expected to be in a system path. What is actually built using Cmake here is only the wrapper lib for Julia.

So I'm on OS X and I built the feather cpp then symlinked feather/cpp/release-build/release/libfeather.dylib to /usr/local/lib
That didn't seem to work. Sorry for the basic questions here, but can you give me any pointers now?

@spencerlyon2  I'm cheating a bit right now and using the package only on Linux where I have libfeather and include/feather installed on the usual paths.  The Julia code and the code using CxxWrap are still very much under development.  Once I get a few features settled I'll look at downloading and compiling libfeather as part of the build process.  Of course, if anyone else wants to look at ti, they are welcome to do so.  The source code is in the cpp directory of https://github.com/wesm/feather
Don't pay too much attention to the existing Julia code as it was from a previous design. I'll work today on using CxxWrap to produce a module within the Feather module, which I think is the way things are intended to be done.

@dmbates thanks for the update, I'm looking forward to watching this develop.
I find it a bit odd that it isn't working for me right now. I cloned that repo, build the c++, and then symlinked libfeather.dylib and feather/include to the standard OS X paths.
The feather/include symlink part is working great -- I get no complaints about not being able to find feather/api.h.
The libfeather symlink doesn't seem to work, however. I'm getting complaints about the  -lfeahter directive.
Unless anyone else has an idea right now, I'll hang tight and wait until you are able to work through the build process more.
Thanks for working on this

On OS X, you need to set the DYLD_LIBRARY_PATH environment variable to the directory containing libfeather. Additionaly, in the CMakeLists.txt you should replace -lfeather with the full path to the libfeather.dylib (no more -l). This is of course a workaround until someone gets to set all this up in CMake (using rpaths on OS X and generating a FeatherConfig.cmake file in the feather cpp is what needs to be done)

I just committed code that uses CxxWrap but still assumes Linux.  I would welcome a patch to build.jl so  that the C++ code can be compiled under OS X.  I suppose I should also add "libfeatherjl.dylib" in the first argument to Libdl.find_library in Feather.jl.
@barche A question about .method when calling the add_type method in C++.  Can I use a C++ Lambda for the second argument as is done in the cxx_wrap::Module method call?  I hope the question makes sense. Right now I have methods for feathercxx like
  feathercxx.method("columntype", [](const Column col)
  {
      return static_cast<int>(col.type());
  });

and I'm wondering if I can put define that as part of the call to
  feathercxx.add_type<Column>("Column")
    .method("name", &Column::name)
//     .method("values", &Column::values)
     ;

From the Julia point of view it's not much of a difference because it ends up just being another method definition in the module.

@barche I thought that too, but it didn't seem to work:
Feather|master⚡ ⇒ ls $HOME/local/lib
libfeather.dylib
Feather|master⚡ ⇒ DYLD_LIBRARY_PATH=$HOME/local/lib julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.4.6-pre+18 (2016-04-01 03:37 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 198644a (11 days old release-0.4)
|__/                   |  x86_64-apple-darwin15.3.0

julia> ENV["DYLD_LIBRARY_PATH"]
"/Users/sglyon/local/lib"

julia> Pkg.build("Feather")
INFO: Building CxxWrap
INFO: Building Feather
INFO: Attempting to Create directory /Users/sglyon/.julia/v0.4/Feather/deps/builds
INFO: Directory /Users/sglyon/.julia/v0.4/Feather/deps/builds already created
INFO: Changing Directory to /Users/sglyon/.julia/v0.4/Feather/deps/builds
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/sglyon/.julia/v0.4/Feather/deps/builds
[ 50%] Linking CXX shared library libfeatherjl.dylib
ld: library not found for -lfeather
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libfeatherjl.dylib] Error 1
make[1]: *** [CMakeFiles/featherjl.dir/all] Error 2
make: *** [all] Error 2
===============================[ ERROR: Feather ]===============================

LoadError: failed process: Process(`cmake --build . --config Release --target install`, ProcessExited(2)) [2]
while loading /Users/sglyon/.julia/v0.4/Feather/deps/build.jl, in expression starting on line 41

================================================================================

=============================================================================================[ BUILD ERRORS ]==============================================================================================

WARNING: Feather had build errors.

 - packages with build errors remain installed in /Users/sglyon/.julia/v0.4
 - build the package(s) and all dependencies with `Pkg.build("Feather")`
 - build a single package by running its `deps/build.jl` script

===========================================================================================================================================================================================================

@dmbates once (if) I get this to build on OS X I'll submit a patch here

@barche I tried that, but it doesn't seem to work:
Feather|master⚡ ⇒ ls $HOME/local/lib
libfeather.dylib
Feather|master⚡ ⇒ DYLD_LIBRARY_PATH=$HOME/local/lib julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.4.6-pre+18 (2016-04-01 03:37 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 198644a (11 days old release-0.4)
|__/                   |  x86_64-apple-darwin15.3.0

julia> ENV["DYLD_LIBRARY_PATH"]
"/Users/sglyon/local/lib"

julia> Pkg.build("Feather")
INFO: Building CxxWrap
INFO: Building Feather
INFO: Attempting to Create directory /Users/sglyon/.julia/v0.4/Feather/deps/builds
INFO: Directory /Users/sglyon/.julia/v0.4/Feather/deps/builds already created
INFO: Changing Directory to /Users/sglyon/.julia/v0.4/Feather/deps/builds
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/sglyon/.julia/v0.4/Feather/deps/builds
[ 50%] Linking CXX shared library libfeatherjl.dylib
ld: library not found for -lfeather
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libfeatherjl.dylib] Error 1
make[1]: *** [CMakeFiles/featherjl.dir/all] Error 2
make: *** [all] Error 2
===============================[ ERROR: Feather ]===============================

LoadError: failed process: Process(`cmake --build . --config Release --target install`, ProcessExited(2)) [2]
while loading /Users/sglyon/.julia/v0.4/Feather/deps/build.jl, in expression starting on line 41

================================================================================

=============================================================================================[ BUILD ERRORS ]==============================================================================================

WARNING: Feather had build errors.

 - packages with build errors remain installed in /Users/sglyon/.julia/v0.4
 - build the package(s) and all dependencies with `Pkg.build("Feather")`
 - build a single package by running its `deps/build.jl` script

===========================================================================================================================================================================================================

I tried to find the lfeather in CMakeLists.txt, but couldn't find it.
@dmbates if (when) I get this working on OS X I'll submit a patch.

@spencerlyon2 Oops, sorry, I meant changing the last feather in this line to the full path of the dylib:
https://github.com/JuliaStats/Feather.jl/blob/master/deps/src/CMakeLists.txt#L12
@dmbates Yes, I have wanted to do that myself a few times, but I don't see a way to do this: the lambda needs the argument you name col here, and there is no way to inject a default name (like a Python-inspired self maybe) later on. What's lacking here in C++ is the power of Julia metaprogramming :)

Thanks, that works!
I don't have a general solution for osx yet, but it is working for me.
// Spencer
On Apr 12, 2016 16:41, "Bart Janssens"<EMAIL_ADDRESS>wrote:

@spencerlyon2 https://github.com/spencerlyon2 Oops, sorry, I meant
changing the last feather in this line to the full path of the dylib:
https://github.com/JuliaStats/Feather.jl/blob/master/deps/src/CMakeLists.txt#L12
@dmbates https://github.com/dmbates Yes, I have wanted to do that
myself a few times, but I don't see a way to do this: the lambda needs the
argument you name col here, and there is no way to inject a default name
(like a Python-inspired self maybe) later on. What's lacking here in C++
is the power of Julia metaprogramming :)
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/JuliaStats/Feather.jl/pull/4#issuecomment-209093685


Use https, v0.0.3

Codecov Report
Patch and project coverage have no change.

Comparison is base (67fd83b) 94.95% compared to head (8683cd3) 94.95%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #21   +/-   ##
=======================================
  Coverage   94.95%   94.95%
=======================================
  Files           9        9
  Lines         337      337
=======================================
  Hits          320      320
  Misses         17       17

Impacted Files
Coverage Δ

src/b0map.jl
100.00% <ø> (ø)

src/b0scale.jl
100.00% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Flip Right (or left) Dock panel test 180º ?

The "Running" tab reads up down, While the File/Commands one reads bottom/up.
I think rotating one of the 2 by 180º to have the text in the same direction, might help make things more readable at a glance.
I'm likely more affected than natives english as the words don't jump to my eyes and I have to incline my head a bit in each direction.
Do @ellisonbg have thoughts on that ?

We are currently working on some more significant re-design of the tab interface in #696 for the R/L panels that would also happen to resolve this issue. Closing in light of that larger effort.


Recommended Servers sizing

Dear Team,
We want to use your service, you have server requirements, if yes, please specify which ones.

It really depends on your traffic and the amount of tracked events.
Are you looking for minimal requirements?
I have it running on a 1 vCPU, 1GiB RAM vServer and didn't run into any issues yet with aprox. 20 visitors a day and no custom events. And I think it definitely could serve more than that.
However, if you have an app used by 1000+ users per day firing a lot of custom events, you are going to need more than that in terms of CPU, RAM, Bandwidth and Storage for the database.


Switched broken pypip.in badges to shields.io

Hello, this is an auto-generated Pull Request. (Feedback?)
Some time ago, pypip.in shut down. This broke the badges for a bunch of repositories, including signalslot. Thankfully, an equivalent service is run by shields.io. This pull request changes the badges to use shields.io instead.
Unfortunately, PyPI has removed download statistics from their API, which means that even the shields.io "download count" badges are broken (they display "no longer available". See this). So those badges should really be removed entirely. Since this is an automated process (and trying to automatically remove the badges from READMEs can be tricky), this pull request just replaces the URL with the shields.io syntax.

Coverage remained the same at ?% when pulling 1b6b301820175e97519d5fe873416ffd46354012 on movermeyer:fix_badges into 234e5beb5dc5b6e1b9bf001a9adc4fca9b0f0356 on Numergy:master.


:bug: Fix verbose_name/help_text in username_claim migration

Codecov Report

Merging #25 (d888d86) into master (9f47f9f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #25   +/-   ##
=======================================
  Coverage   94.32%   94.32%
=======================================
  Files          22       22
  Lines         582      582
=======================================
  Hits          549      549
  Misses         33       33

Impacted Files
Coverage Δ

...ations/0006_openidconnectconfig_unique_id_claim.py
100.00% <ø> (ø)

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 9f47f9f...d888d86. Read the comment docs.


Debug message for host unreachable scenario

Currently if there is a problem with the Eureka host or port you have specified, or if the host is unreachable, you won't see any kind of error until that connection request times out. This setting is at the OS level and can be up to 2 minutes or more. The request module has a timeout setting, but that only applies on a read timeout, not a connection timeout.
I think it would be helpful to output a debug message on register() if the call is taking too long. This would inform the user sooner that there's a problem with with either their config or their connection. Probably like 10 seconds in would be a good idea. We could also inform them to turn on request debugging for more information using NODE_DEBUG=request.
Anyway, basically just a setTimeout with a debug log message that we cancel on success.

Available in v2.2.0


Support callback when expiring

Is this what you had in mind?
type Callback[K comparable, V any] func(K, V)`

The only issue is adding this as a CacheOption would break the current API since it would require you to specify type contraints for each CacheOption:
lru.New[int, int](WithCapacity[int, int](1000), WithCallback[int, int](callback))

I suppose we could add a seprate function to add the callback outside of the constructor and maybe golang will support better type inferencing in the future to support the above without the type constraints on each CacheOption. This would look like:
cache := lru.New[int, int](WithCapacity(1000))
cache.SetCallback[int, int](callback)

@madokast see above otherwise closing this soon.


Foreign Key Constraint Failed

I've recently picked up the project I was working on and found that you can now upsert many to many relationships which is nice. However I'm running into an issue with the foreign key.
Just to recap, I have Superclass Thing
@Superclass
public abstract class Thing implements Persistable {

    @Key
    public String id;

    @Column(unique = true)
    public String name;
    @Column
    public DateTime created;
    @Column
    public DateTime created_utc;
}

I then have an Account
@Entity
public abstract class AbstractAccount extends Thing {

@ManyToMany(mappedBy = "subscribedAccounts")
    List<Subreddit> subreddits;
}

And I also have Subreddit
@Entity
public class AbstractSubreddit extends Thing {

    @JunctionTable(name = "Subreddit_Subscribers")
    @ManyToMany
    List<Account> subscribedAccounts = new ArrayList<>();
}

When the user logs in I download all of the information associated with their account along with any subscribed subreddits and add them to the list. I then try to persist the account with its subreddits and run into the following exception.
android.database.sqlite.SQLiteConstraintException: FOREIGN KEY constraint failed (code 787)
I understand the role of a foreign key and this is likely being thrown because the key doesn't exist in either the account or subreddit table but I'm not sure where I'm going wrong. It seems to fail on the first subreddit so I'm guessing that this is being executed before the subreddits are inserted.

I've done some debugging and I've found that the subreddits aren't being inserted because the keyAttribute count in EntityWriter.update is 0, this is because proxy.getState(value) inside the test returns PropertyState.FETCH.
These items are created using Retrofit and I'm assuming they should be MODIFIED.
Do you know why this might be happening?

In the generated class Account when you modify the subreddits list the state of the subreddits attribute should be MODIFIED as you said. Is it possible that the subreddits is overwritten? Before inserting it you should see it's type is io.requery.util.ObservableList

Ok so it was an ArrayList but I realised that this was because I had instantiated it as such in the abstract class.
@ManyToMany(mappedBy = "subscribedAccounts")
List<Subreddit> subreddits **= new ArrayList<>()**;

Removing that it's now an ObservableList but the problem still persists.
I'll keep looking.

The Subreddits are being downloaded from the web as an ArrayList with each Subreddit being created by parsing Json using Gson (that's what Retrofit takes care of). Does an entity need to be created in a certain way in order for the state of each attribute to populated?

See the discussion on #73 there are some possible solutions there. It still an area that maybe be able to be improved upon, however gson is not as flexible as other json libraries like jackson, so it may not be possible to support all requery features when the object is serialized through gson.

Closing for #73 please check that issue for updates thanks


made sonar qube dependency

Pull Request Description
This pull request closes #
Acceptance Test

[x] Building the code with mvn clean install -Dintegration.tests still works.
[ ] Running mvn spring-boot:run in the strongbox-web-core still starts up the application correctly.
[ ] Building the code and running the strongbox-distribution from a zip or tar.gz still works.
[ ] The tests in the strongbox-web-integration-tests still run properly.

Questions

Does this pull request break backward compatibility?

[x] Yes
[ ] No

Does this pull request require other pull requests to be merged first?

[ ] Yes, please see #...
[ ] No

Does this require an update of the documentation?

[ ] Yes, please see strongbox/strongbox-docs#{PR_NUMBER}
[ ] No

I'm closing this pull request, as (sadly) it looks like a mess. Please, sync and sort out your fork, if you intend to contribute fixes related to Sonarqube. You might like to have a look at this article from our wiki.


refactor(control): Remove unused variables and functions

Description

This commit removes the converged_steer_rad variable and the isSteerConverged() function from the related packages to move the functionality to vehicle_cmd_gate. These were not being used in the codebase.
Update in launch file -> https://github.com/autowarefoundation/autoware_launch/pull/616
Related links
https://github.com/autowarefoundation/autoware.universe/pull/5183
https://github.com/autowarefoundation/autoware.universe/issues/4915
Tests performed
Tested in pSim and worked well.

Notes for reviewers

Interface changes

Effects on system behavior

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

Closed because of the latest discussions in main PR: https://github.com/autowarefoundation/autoware.universe/pull/5183


Update Current Status

https://github.com/dotnet/tye#current-status
Says it will continue through November 2020.
This is quite frankly odd given it was one of the first projects presented on Day 1 of .NET Conf two weeks ago.

I went back to this project today, and see the README.md also says to check #251 for detailed updates.
https://github.com/dotnet/tye#how-to-engage-contribute-and-give-feedback

How to Engage, Contribute, and Give Feedback
If you want a low-spam way to follow what the team is doing. We post a status update approximately every 2 weeks. You can find the issue here.


Incorrect provider version in registry

Hey,
Provider's version in Terraform registry is 10.1.0, but in GitHub releases it.s 0.10.2 (0.10.1 doesn't even exist)
If we follow Terraform registry version, the init step fails with 404 not found

I closed this issue because the versions are now in sync.


workflow results end in empty report tic-plot

In the respective intermediate file (20181113_010_autoQC01.jmzqc.mzqc), it looks like the value field is missing.
{
        "accession" : "MS:1000235",
        "name" : "total ion current chromatogram",
        "unit" : {
          "accession" : "UO:0000010",
          "name" : "second"
        }
}

The issue is that the test file does not contain a TIC chromatogram in the mzML chromatograms section. Only a base peak chromatogram. Should I use that instead or create a TIC from the TIC values in each spectrum?

@mwalzer Potential fix is in https://github.com/nilshoffmann/jmzqc-usecase/commit/fab1223ec0b942f06da80ea5ea713de2b0f47ae7

Using individual tics from each MS1 spectrum for now.


Not able to use service name when using affinity/anti-affinity rules to service names.

Server version - V0.27.0-rc1
Steps to reproduce the problem:
Create environment - env1
Create service test1.
Create a service test2 with scheduling rule - "host must have service with name" - test1 (without passing environment name).
When this service is activated , it will be stuck in activating state forever since it is not able to find placement for the containers.
The affinity label that was created for this rule is -
io.rancher.scheduler.affinity:container_label	io.rancher.stack_service.name=test1.
Expected Behavior:
When no environment is specified  for "io.rancher.stack_service.name" , we should be able to default it to the environment the service that is being created belongs to , "env1" in this case.

I think this is a duplicate of #1382

Tested with build from master:
When env name in not used in "io.rancher.stack_service.name=" value for anti-affinity to itself , it works as expected.
I see the Affinity rule that gets added to the cotainers deployed has the  environment name appended to it:
io.rancher.scheduler.affinity:container_label_ne = io.rancher.stack_service.name=Default/testanti
But when env name is not used in "io.rancher.stack_service.name=" for affinity rules to some other service in the same stack it does not work . Containers fail to deploy because of bot being able to find placement.
Reopening this issue to fix this use case.

Tested with build from master:
When env name is not used in "io.rancher.stack_service.name=" for affinity rules to some other service in the same stack  , all containers get deployed in the same hosts as the containers from the affinity service.


[QUESTION] Typed FormData param structure isn't displayed inside swagger

Informations

Type
Version

Question
4.25.0

Description
Hi !
I would like to generate a swagger documation wi this kind of controller
public createERL(
	@BodyParams('erl', IERL) p_erl : IERL,
	@MultipartFile("file") @Required() files: Express.Multer.File[],
)

My IERL type is describe as a class :
export class IERL{
    @Property() @Required()
    @Description(`Informations de l'expéditeur.`)
    "sender": ISender;
}

So I had this result :

My IERL structure isn't displayed inside swagger ; because erl param is considered as formData as a simple string.
When I removed the MultipartFile param, I obtains what I would (with a structure of IERL object), because my param is considered as body param :
public createERL(
	@BodyParams('erl', IERL) p_erl : IERL
)

Is there any way to force IERL to be displayed in swagger doc with it's structure without anything else than IERL class ?

In typescript Interface hasn't consistency, when TypeScript is compiled to JavaScript. So isn't possible to create a schema from an Interface.
I think, this example works:
export class IERL{
    @Property() @Required()
    @Description(`Informations de l'expéditeur.`)
    @Schema({type: 'object', properties: {'toto': {type: 'string'}})
    "sender": ISender;
}

Hi Romain,
Thank you for your reply! But my problem is not about the interface.
My "interface" IERL is declared as ** class **, not like the interface ^^
And it works perfectly with the body settings (without file).
My problem is that I can not use the power of types when a MultipartFile is declared. Because my BodyParam is considered FormData. In my mind, I should be able to send a file and a body; as I use a body without file.
Finally, I guess it's more about the standard ; not about TSED.
So, I'm going to put my payload structure inside definition field, or something else not really satisfying...
See you

Haa ok. Unfortunately, Swagger doesn't allow body and formData description at the same time.
https://swagger.io/docs/specification/2-0/file-upload/ (See Upload a File + Other Data).
So all data must be declared with the formData type and multipart/form-data. The limitation come from Swagger in version 2.
Sorry :/ because I haven't solution for that.
See you

You're right, I found some similar issues on swagger api : https://github.com/swagger-api/swagger-editor/issues/889.
Thanks for your response !


Fix v3.10 automation-broker-apb Dockerfile

We need to downgrade apb-base-scripts until https://github.com/openshift/origin/pull/20584 is merged and there is a new 3.10 oc.

Coverage remained the same at 41.003% when pulling 1233e788272fc77e408d213c48ff1761980887ec on jmontleon:fix-v3.10-automation-broker into 3f69d40f3b07eaa3d9b33a7e56b3bef8cab6f6bb on openshift:master.


Trying to register two views with the same name RCTVideo

Current behavior
App crash
Reproduction steps

I am using the react-native-video for videos in app, and then i install the react-native-gifted-chat library for chat functionality in app.
After installing react-native-gifted-chat the app crashed and its saying trying to register two views with the same name RCTVideo.
The react-native-video is used in one view and react-native-gifted-chat in different view.

Expected behavior
App shouldn't be crash.
Platform
Which player are you experiencing the problem on:

iOS
Android

I am not sure if this is issue of react-native-video or react-native-gifted-chat.

Same issue, which started when I upgraded to the latest version of gifted-chat that now has a dependency on react-native-video.

if you are not having video in chat you can downgrade the version to use both libraries together
"react-native-gifted-chat": "^0.4.3"
But with this video will not supported in chat.

Trik work

Clone giftchat repo
Open package.json move dep react-native-video : 3..  to peerDependencies
"react-native-video":"*"

Trik work
1. Clone giftchat repo

2. Open package.json move dep react-native-video : 3._._  to peerDependencies
   "react-native-video":"*"

This dosen't work :(

@chevulkar after editing package.json install the file through the path
Or your npm install https://github.com/khalis411/react-native-gifted-chat.git

which package.json should I edit my app or gifted chat's ?

Gifted chat

After looking in the rn giftedchat component, there is no need for react-native-video,
to resolve this issue you can remove the react-native-video package from the node_modules.
Note to the author : react-native-video isn't used at all in your giftedchat package, can you please remove it from package.json and package-lock.json ?
thanks

+1

"react-native-video": "^4.4.0",
"react-native-gifted-chat": "^0.7.2",

Same issue. When i upgrade gifted chat from 0.4.3 to 0.7.2. I have used react-native-video .

I have solve this problem by following steps--
1> install separately "react-native-video"
2> Delete  "react-native-video" folder from Node-Modules of Gifted Chat repositories, if it is exist..
3>after  that  "react-native link react-native-video"
like That:
include ':react-native-video'
project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-
native-video/android')
 ensure that link with only "android" not with "android-exoplayer"

Instead of importing again react-native-video, you can use directly the one declared in gifted chat (without any modification):
import Video from "react-native-gifted-chat/node_modules/react-native-video";

Instead of importing again react-native-video, you can use directly the one declared in gifted chat (without any modification):
import Video from "react-native-gifted-chat/node_modules/react-native-video";

Thanks, @AriesTech ! It works. I also had to replace my podfile:
pod 'react-native-video', :path => '../node_modules/react-native-gifted-chat/node_modules/react-native-video/react-native-video.podspec'

I am not Using react-native-gifted-chat but still I am getting this error Tried To register two Views with the same name RTCVideoView

so after 2 hours of debugging doing some random things..... I found a solution. This project uses some kind of old Git and gradle can't get it without jcenter().
Anyways, add jcenter() to your build.gradle (not APP build.gradle) and npx react-native run-android (rebuild)

@SumitThakr
3>after that "react-native link react-native-video"
Thanks,
That solved issue for react-native-video-controls module

Had the same error, but not using any other package. It could be that there was some leftover module in node_modules.

removed node_modules dir rm -rf node_modules
installed packages again
installed pods again
ran on simulator: video works


Update workflow-commands-for-github-actions.md

Why:
The command example given currently throws an error about Cannot process argument transformation on parameter 'Encoding'. 'Append' is not a supported encoding name. This is due to a small mistake in the command where there is a space after the dash, when it should instead be before it. This pr fixes it.
Closes:
No issue found.

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

-"{name}=value" | Out-File -FilePath $env:GITHUB_OUTPUT- Append
+"{name}=value" | Out-File -FilePath $env:GITHUB_OUTPUT -Append

Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

@OmegaMetor Thanks so much for submitting a PR! I'll get this triaged for review :zap:


Feat: eslint config

Done:

.eslintrc was copied from core (for lib and public validation)
All eslint warnings/errors were fixed

Small conflict here because of other PR I think, I will merge once its fixed.

Should I rewrite the parts of this plugin to async/await? 🤔
P.S. Talking about ESLint configs - maybe we can use the shareable configs?

published 2.0.0.
Yeah async/await is the way forward for all plugins.


fixes for hooks and runtime

ubermerge left a few bugs to fix. this patches up the hook-hubblestack.py cleans up a few extra un-needed files, and fixes various bugs that prevent hubble from running after pyinstaller/fpm

Merging these changes to push versioning changes on the top of these changes.


Add support for named unions

This PR adds support for creating named unions:
strawberry.union(
    "Name",
    (A, B),
)

TODO:

[ ] MyPy support (not sure yet how to do this)
[x] Add support for adding a description

I also changed how we store the GrahpQL type on our strawberry types as the name field was misleading :)

Hi, thanks for contributing to Strawberry 🍓!
We noticed that this PR is missing a RELEASE.md file. We use that to automatically do releases here on GitHub and, most importantly, to PyPI!
So as soon as this PR is merged, a release will be made 🚀.
Here's an example of RELEASE.md:
Release type: patch

Description of the changes, ideally with some examples, if adding a new feature.

Release type can be one of patch, minor or major. We use semver,so make sure to pick the appropriate type. If in doubt feel free to ask :)

Ok, this is ready now :) Will do a manual test tomorrow, then I'll merge :)

Just a note, we can't add support for mypy as of now, maybe in future when creating new types is allowed :)