Typo fix and reverse()/toString() method implementations

The interface KeyLabeledObject had a minor typo so I refactored the project according to that.
In addition, I added a  reverse() method to the TailedDoublyLinkedList class as well as a toString() method. To demonstrate this new method as well as the insert() method, I added TailedDoublyLinkedListSample.java which prints a quick example.
I have also added some basic javadoc to the Linked List implementation as none of the methods in the class had any documentation.
This PR closes issue #85

Reviewed. thanks for adding this feature.


Artifact attestation needs id-token: write permission in publishing-docker-images.md

Why:
Following the current version of the documentation (without the id-token: write permission) I am getting the following error message in the attest-build-provenance step: Failed to get ID token: Error message: Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable
the documentation of attest-build-provenance mentions that we also need the id-token: write permission.
Therefore, I suggest to add that to the documentation for publishing-docker-images.md

Closes:
#32933

What's being changed (if available, include any code snippets, screenshots, or gifs):
added id-token: write to the permissions: section of the example yml files.

Source
Preview
Production
What Changed

actions/publishing-packages/publishing-docker-images.md
fpt ghec ghes@ 3.12 3.11 3.10 3.9
fpt ghec ghes@ 3.12 3.11 3.10 3.9
added id-token: write to the permissions: section of the example yml code

packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions.md
fpt ghec ghes@ 3.12 3.11 3.10 3.9
fpt ghec ghes@ 3.12 3.11 3.10 3.9
added id-token: write to the permissions: section of the example yml code

Check off the following:

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

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.

@thawn Thanks so much for opening a PR! I'll get this triaged for review ✨


[JOSS] Installation of jupyer kernel

Re JOSS review https://github.com/openjournals/joss-reviews/issues/6889
It would be helpful to include a step in the installation instructions for making the virtual environment available within jupyter, e.g.,
python -m ipykernel install --user --name=<env_name>

Thanks for the useful feedback, I will get to this as soon as I am able, it shouldn't be too long.

@calebweinreb I have merged PR #586  which addresses this issue. Please feel free to comment or re-open the issue if you have any further feedback.


Allow own attributes

Hi there,
in my project I'm using SVG as part of my templates, and want to optimize them with SVGO, but it removes important attributes.
I'm using knockout to bind behaviour to elements, so I'm using the "data-bind=..." attribute, but this gets removed.
Is it possible to configure a list of attributes, that should not get removed?

There is removeUnknownsAndDefaults which can be disabled, like this:
svgo --disable=removeUnknownsAndDefaults -i <input_file> -o <optimized_file>

Would this disable all removing?
If yes this would just be not a really cool thing, because other attributes should get removed.
I just think about it, maybe a knockout sensitive plugin would make sense.
Is there a possibility to load plugins from npm modules? Then I would write an external plugin, load it via npm in our CI, connect it with grunt (grunt-svgmin maybe?) and could use it this way.

Yes, this plugin is responsible of removing of all unknown elements and attributes, also it removes attributes with default values.
The list of attributes is in plugins/_collections.js. You can add there your own.
Probably, it's a good idea not to remove data-* attributes.

Removing data-bind="..." prevents knockout from working correctly^^
With other frameworks you define this binding-attributes by yourself, just like the names. It is a good way starting them with "data-", but not all people do this. Think about angular or rivets together with SVG. So exluding patterns would be cool, for my case not removing "data-" would be cool as well.
What do you think about that? Or what are your plans about this?

No short-term plans (I just don't have time), but in long-term yes, it should be done.

Big +1!

+1!

v0.5.1 with the fix has been just published.


Prefix v in the URL for CNI plugins.

What this PR does / why we need it:
This prefixes the v in front of the CNI version in the download URL.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #552
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

* Fix the URL for the CNI plugin when upgrading a cluster on Container Linux by CoreOS.

/ok-to-test
/approve

/lgtm

/cherrypick release/v0.9


chore: update changelog

Signed-off-by: Gaius<EMAIL_ADDRESS>
Description

Update changelog.

Related Issue

Motivation and Context

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist:

[x] Code compiles correctly.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Codecov Report

Merging #622 (fd4b194) into main (5ae1888) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #622      +/-   ##
==========================================
- Coverage   38.58%   38.54%   -0.05%
==========================================
  Files          88       88
  Lines        6969     6969
==========================================
- Hits         2689     2686       -3
- Misses       3900     3903       +3
  Partials      380      380

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
38.54% <ø> (-0.05%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

client/daemon/peer/peertask_base.go
33.67% <0.00%> (-0.62%)
:arrow_down:


GUI does not show up when starting heist.

BUG:
Whenever testing my heist, no gui, no health thing, not even objectives appeared, but i could still hear the "dun dwa duuuun" sound of the objective, and still interact with surroundings. How do I fix this?

While in-game (testing) click 0 on your keyboard, that should work.

While in-game (testing) click 0 on your keyboard, that should work.

Okay! I'll try that. Thanks for the help!


[5.4] RedisStore::add()

Isolate concurrent calls to Cache::add() when Redis driver is used, just like Memcached.

@taylorotwell I found it can be important to make LUA scripts as short as possible because Redis may choose to log them depending on the server configs. Should we try shrinking LUA scripts used in RedisQueue a little bit?

Thanks

Your welcome


Parsing of /proc/sys/kernel/core_pattern

I can raise a PR if you think this can be added.

Seems reasonable, go for it!


Integration with Hail

I wonder if you happened to see Hail Query, a framework that for processing variant data in scale. It was used e.g. to build the gnomAD resource. It would be cool to support Hail matrix table in mutyper, or to contribute the mutyper methods to the Hail codebase itself (e.g. as part of https://hail.is/docs/0.2/methods/genetics.html#genetics)
Thanks for this amazing and well-implemented tool!
https://github.com/openjournals/joss-reviews/issues/5227

Thanks for the positive assessment, and for pointing us to Hail—it looks like a very nice framework for computational genomics workflows.
Mutyper is currently built on top of cyvcf2 (for VCF processing) and pyfaidx (for FASTA processing), which work well for CLI streaming and random access with minimal memory requirements. These are both widely used packages, with hundreds of dependent repos or packages (see here and here).
We are open to including Hail interoperability on the roadmap for mutyper, but would likely need contributions from Hail experts for this, as well as an assessment of how this would improve, replace, or augment the current CLI and API based on cyvcf2 and pyfaidx.
Would you find it satisfactory if we leave this issue open with an "enhancement" tag for now?


chore: add nightly testing script to CI

There's not really a way to test this without merging, unfortunately.


URGENT: API broken/server down/no data submits possible

I just discovered that my box stopped working at 02:44 this morning due to a failing data transmission to the sensebox API. After restarting it's still the same. I checked several other boxes, they too don't have any data since last night, so the error must be on the API side.

The geofs Fachschaft server was unavailable this morning too, so there might have been a wider problem in the uni's network that also affected the OSeM?

Working on it

resolved around 2016-04-29 22:50 UTC


chore: bump narwhal version

big bump in narwhal: https://github.com/MystenLabs/narwhal/compare/5ba330d0cefa33ba835ffe56489e6500a2909d8a..88670339ac76ecb8a5d337ed33a1711af0df5386 anything breaking?

The d67e27d33b8515f919f45694660fceb20db626c4 NW commit is not merged to main and so can't be used. As you're updating this branch, you will essentially, fixing failure by failure, reproduce work done in https://github.com/MystenLabs/sui/compare/main...huitseeker:update_narwhal_pointers_2?expand=1

I decided to use the last commit without needing to fix anything, for now just to unblock myself. will send a follow up when narwhal fix lands

@joyqvq Please forcepush to this PR :(

point to commit in this PR: https://github.com/MystenLabs/narwhal/pull/602/commits wait till it lands


Updated some methods with an extra parameter.

Before it was unclear if $flow was passed.

thanks


Moved package information to about.py to avoid dependency issues

This resolves #133 warehouse style.
Happy to add more or remove more from __about__.py, just picked out what seemed like the obvious ones.

This looks solid. Thanks @carsongee for the PR.

@avishalom please check if we can include this in the next release.


Abbreviation Examples in IG

Add examples of how abbreviation will be used to the IG

@dih-cdisc : I created a new paragraph for this. See https://wiki.cdisc.org/display/USDMIGv4/Abbreviations
Is this what you expected and clear?

@BSnoeijerCD Reviewed the text. Have a read. I thought it best to show the abbreviations first and then the use of abbreviations (build it up from the bottom), so I reordered your text.

@BSnoeijerCD Reviewed the text. Have a read. I thought it best to show the abbreviations first and then the use of abbreviations (build it up from the bottom), so I reordered your text.

Thank you. Looks good. I re-entered a cross link (will be replaced by paragraph numbers in final editing) and corrected an error in a tag name that I made.


document FDP in "How it Works"

There is no mention of FDP in how-it-works.md.

Thanks @errordeveloper. There is docs/fastdp.md, but that's more internal maintainer documentation...

Let's please keep this issue focused. -> changing summary.

Let's just take docs/fastdp.md and incorporate/reference that in how-it-works. And then iterate on that.

I have added a couple of topics for this:
What is fast data path?
Configuring fast data path
Encryption and fast data path.
The 'parent topic' is called Configuring Network Performance with Fast Datapath.  I would like to make this its own section.
See the content outline, which I won't publish here.


How is SPLIT_ACTIVE=true yarn dev supposed to work?

Here are my observations of its current behavior:

"original" branch host seems to be overridden in favor of the local dev server (http://localhost:3000) and all resources load
when "challenger" is assigned (verify by checking cookie) all /_next/static/ resources 404
cookie assignment does appear to properly split on weighting

@curiousercreative, Thanks for the question.
If it works correctly, the A/B test distribution will work in the development environment if SPLIT_ACTIVE=true is given.
From the contents of your question, it seems that it is not running properly. Please provide the following information for me to investigate.

next-with-split version
Next.js version
next.config.js

Regards.

What does "work in development environment" mean though? It could be any of the following:

dev server reverse-proxies all traffic (original and canary in my case) for all branches as specified
dev server only reverse-proxies the original branch and serves local app for all variation branches
dev server only reverse-proxies the variation branches (canary in my case) and servers local app for the original branch

next-with-split: 4.1.0
next: 12.0.4
next.config.js (abbreviated)

const withSplit = require('next-with-split')({
  splits: {
    canary: {
      hosts: {
        original: {
          host: 'https://my.domain.tld',
        },
        canary: {
          host: 'https://canary.my.domain.tld',
        },
      },
    },
  },
});
module.exports = withSentryConfig(
  withSplit(withTM(moduleExports)),
  SentryWebpackPluginOptions
);

I understand what you are reporting.
The split behavior of next-with-split A/B tests is always consistent whether the execution environment is the development server or the production server. (You need to specify SPLIT_ACTIVE in the development environment because the splitting is disabled by default, but it makes no difference in the behavior.)
Responding with the three options you provided, No. 1 is correct in some cases, and No. 3 is correct in others.
This library defines original, master, and main as the original branches.
https://github.com/aiji42/next-with-split/blob/main/src/constants.ts
If you set the key of hosts to a string matching these, the distribution will be given isOriginal: true.
https://github.com/aiji42/next-with-split/blob/main/src/make-runtime-config.ts#L27
If a distribution with isOriginal: false is selected, it will be rewritten to the host of the specified domain, but if the distribution has isOriginal: true, it will not be rewritten and will be passed through to the same origin as the request (localhost for development servers).
https://github.com/aiji42/next-with-split/blob/main/src/middleware.ts#L11
With the configuration you provided in next.config.js, accesses assigned to original will automatically be directed to localhost, regardless of the domain you set. So No. 1 is the correct answer in this case. Also, if you set the hosts key to canary1 and canary2, both of them will be isOriginal: false, so both of them will direct access to the domain you set, so No. 3 is the correct answer in this case.

@aiji42 thanks for that explanation. I seem to be reproducing all of that as described. Even so, there still appears to be something wrong as whenever my challenger branch is selected and specified as a remote (not http://localhost:3000) then all of those static resources 404.

@curiousercreative The Challenger branch also needs to install next-with-split and update next.config.js, have you completed those steps?
Please refer to Usage No. 1 and No. 2 in READE

@aiji42 here's some actual code and deploys that reproduce:

Original branch deployed as production to https://next-with-split-demo.vercel.app/
Challenger branch deployed as preview to https://next-with-split-demo-git-canary-curiousercreative.vercel.app/

Thank you for presenting the sample code.
The problem is caused by the fact that the value of each host contains a trailing slash. I removed it and it worked fine.
And please specify the path (this is not relevant for this problem, but it is preferable).
const withSplit = require('next-with-split')({
  splits: {
   canary: {
     path: '/', // Specify the target range of the A/B test. (Regular expressions are also acceptable.)
     hosts: {
       original: 'https://next-with-split-demo.vercel.app', // Remove the trailing slash.
       canary: 'https://next-with-split-demo-git-canary-curiousercreative.vercel.app', // Remove the trailing slash.
     },
   },
 },
});

module.exports = withSplit({
  reactStrictMode: true,
});

I would like to prevent these problems from occurring by updating the configuration values to be validated at server startup.

@curiousercreative
Thank you for presenting the sample code.
The problem is caused by the fact that the value of each host contains a trailing slash. I removed it and it worked fine.
And please specify the path (this is not relevant for this problem, but it is preferable).
const withSplit = require('next-with-split')({
  splits: {
   canary: {
     path: '/', // Specify the target range of the A/B test. (Regular expressions are also acceptable.)
     hosts: {
       original: 'https://next-with-split-demo.vercel.app', // Remove the trailing slash.
       canary: 'https://next-with-split-demo-git-canary-curiousercreative.vercel.app', // Remove the trailing slash.
     },
   },
 },
});

module.exports = withSplit({
  reactStrictMode: true,
});

I would like to prevent these problems from occurring by updating the configuration values to be validated at server startup.

Do you need any other support? If it's OK, I'll close this Issue.

@aiji42 thanks for that feedback. I can confirm that the trailing slash was a problem (and your updated validation does err on server startup!) and the repro steps here work properly in production and dev.

FWIW, it may be helpful for others to see a bare bones repo (with active deploys) of this most basic traffic split. The README is good, but it's expressing a lot more than the boilerplate necessary to build upon.


parse_url fails when given credentials in the URL with '/', '#', or '?'

Technically, this behavior is compliant with RFC-3986 in that the "authority" section should end at the next instance of one of those characters. However, RFC-2617, which specifies the HTTP Basic Auth scheme, does not specifically exclude those characters as valid, which means that there are valid RFC-2617 usernames and passwords which cannot currently be transmitted inside the URL for handling.
This behavior has received an issue filing on pip in the context of an HTTP proxy.
The attached pull request changes behavior such that any authorization information (separated from the rest of the URL by the reserved character '@') is pulled from the URL prior to scanning for the end of the authority section (separated from the rest of the URL by the aforementioned reserved characters). The PR also includes regression tests to ensure that this behavior change stays in place.
Sources:
https://github.com/pypa/pip/issues/3267
http://tools.ietf.org/html/rfc3986#section-3.2
https://tools.ietf.org/html/rfc2617#section-2

The RFC says specifically:
The authority component is preceded by a double slash ("//") and is
terminated by the next slash ("/"), question mark ("?"), or number
sign ("#") character, or by the end of the URI.

In other words, the current behaviour is correct in expecting the authority to be terminated by the first / (or ? or #) it finds after the preceeding //. Am I sympathetic to people trying to use proxy URIs with pip? Absolutely. I think hacking together something that violates the RFC has the potential for nasty surprises later on.

Closing, as it sounds like this is not something that can be parsed out of the URL in a standards-compliant manner.

@haikuginger Thanks for giving it a shot! :)


subject-area rest calls parameter 'SequencingProperty'

Hi,
This is a parameter present in many subject area endpoints and it is the only parameter starting with capital letter in the entire rest API.
@RequestParam(value = "SequencingProperty", required=false) String sequencingProperty
Is it intended or just a typo ?

adding a comment to keep open

@bogdan-sava thanks for spotting this - it was a bug :-)


TypeError: Cannot set property default of # which has only a getter

Describe the bug
Hi!
I tried to update @graphql-mesh/postgraphile to version 0.17 but then I got the following error when running mesh build:
🕸: Cleaning existing artifacts
🕸: Reading Mesh configuration
🕸: Generating Mesh schema
🕸 - GetMesh: Getting subschemas from source handlers
🕸 - Database: Generating the schema
🕸 - Database - PostgreSQL: checking client timeout
🕸 - Database - PostgreSQL: connecting new client
🕸 - Database - PostgreSQL: new client connected
🕸 - Database - PostgreSQL: pulse queue
🕸 - Database - PostgreSQL: no queued requests
TypeError: Cannot set property default of #<Object> which has only a getter
    at _interopNamespace (/Users/nico/Development/Liteflow/nft/node_modules/@graphql-mesh/cli/bin.js:20:22)
    at /Users/nico/Development/Liteflow/nft/node_modules/@graphql-mesh/cli/bin.js:890:85
    at new Promise (<anonymous>)
    at Object.importFn (/Users/nico/Development/Liteflow/nft/node_modules/@graphql-mesh/cli/bin.js:890:44)
    at FsStoreStorageAdapter.write (/Users/nico/Development/Liteflow/nft/node_modules/@graphql-mesh/store/index.js:56:28)
    at async Object.set (/Users/nico/Development/Liteflow/nft/node_modules/@graphql-mesh/store/index.js:167:17)
    at async PostGraphileHandler.getMeshSource (/Users/nico/Development/Liteflow/nft/node_modules/@graphql-mesh/postgraphile/index.js:102:13)
    at async /Users/nico/Development/Liteflow/nft/node_modules/@graphql-mesh/runtime/index.js:84:28
🕸 - Database: Failed to generate schema: Cannot set property default of #<Object> which has only a getter
🕸 - Database: TypeError: Cannot set property default of #<Object> which has only a getter;
 TypeError: Cannot set property default of #<Object> which has only a getter
    at _interopNamespace (/Users/nico/Development/Liteflow/nft/node_modules/@graphql-mesh/cli/bin.js:20:22)
    at /Users/nico/Development/Liteflow/nft/node_modules/@graphql-mesh/cli/bin.js:890:85
    at new Promise (<anonymous>)
    at Object.importFn (/Users/nico/Development/Liteflow/nft/node_modules/@graphql-mesh/cli/bin.js:890:44)
    at FsStoreStorageAdapter.write (/Users/nico/Development/Liteflow/nft/node_modules/@graphql-mesh/store/index.js:56:28)
    at async Object.set (/Users/nico/Development/Liteflow/nft/node_modules/@graphql-mesh/store/index.js:167:17)
    at async PostGraphileHandler.getMeshSource (/Users/nico/Development/Liteflow/nft/node_modules/@graphql-mesh/postgraphile/index.js:102:13)
    at async /Users/nico/Development/Liteflow/nft/node_modules/@graphql-mesh/runtime/index.js:84:28
🕸: Schemas couldn't be generated successfully. Check for the logs by running Mesh with DEBUG=1 environmental variable to get more verbose output.
🕸: { name: "Error", stack: "Error: Schemas couldn't be generated successfully. Check for the logs by running Mesh with DEBUG=1 environmental variable to get more verbose output.\n    at Object.getMesh (/Users/nico/Development/Liteflow/nft/node_modules/@graphql-mesh/runtime/index.js:112:15)\n    at async Object.handler (/Users/nico/Development/Liteflow/nft/node_modules/@graphql-mesh/cli/bin.js:917:53)", message: "Schemas couldn't be generated successfully. Check for the logs by running Mesh with DEBUG=1 environmental variable to get more verbose output." }
npm ERR! Lifecycle script `graphql-codegen` failed with error:
npm ERR! Error: command failed
npm ERR!   in workspace<EMAIL_ADDRESS>npm ERR!   at location: /Users/nico/Development/Liteflow/nft/packages/mesh

I was using version 0.15 for a while, and was able to update to v0.16, but not 0.17 due to the previous error.
To Reproduce
Steps to reproduce the behavior:
npm install<EMAIL_ADDRESS>Build mesh using with the following .meshrc:
sources:
  - name: Database
    handler:
      postgraphile:
        connectionString: postgresql://postgres:password@localhost:5432/postgres

Expected behavior
To build without error.
Environment:

OS: MacOs
@graphql-mesh/cli: 0.43.6
NodeJS: v16.9.1

Cheers

Possible to reproduce on repo example https://github.com/Urigo/graphql-mesh/tree/master/examples/postgres-geodb running mesh:build

@NicolasMahe Did you find any workaround? I am having same issue.

@NicolasMahe Did you find any workaround? I am having same issue.

@ashokkumar88  The workaround is to use @graphql-mesh/postgraphile with v0.16

Thanks @NicolasMahe. It is working fine now with v0.16

I think this is fixed in the latest version. Thanks for reporting this bug.

Hi @ardatan. I have just checked on repo example https://github.com/Urigo/graphql-mesh/tree/master/examples/postgres-geodb with version 0.17.7. yarn mesh:build does not work. Error is the same. What latest version do you mean?


gccgo: multiple definition of  _start

What version of Go are you using (go version)?
$ gccgo --version
gccgo (Ubuntu 6.5.0-2ubuntu1~16.04) 6.5.0 20181026
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Does this issue reproduce with the latest release?
Unsure. The tool was installed from the latest available package in the Ubuntu 16.04 "Xenial" repository.
$  apt list --installed 2>/dev/null | grep gccgo
gccgo/xenial,now 4:6-20160210-1ubuntu1 amd64 [installed]
gccgo-6/xenial,now 6.5.0-2ubuntu1~16.04 amd64 [installed,automatic]

What operating system and processor architecture are you using (go env)?
uname Output
$ uname -srvmpio
Linux 4.15.0-45-generic #48~16.04.1-Ubuntu SMP Tue Jan 29 18:03:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

What did you do?
Problem happens with a simple "Hello World" input:
package "main";

import "fmt";

func main() {
	fmt.Println("Hello World!");
}

Actual compilation goes fine, but fails at the link step
$ gccgo -I$GOPATH/src/ -o test.o -c test.go
$ gccgo -L$GOPATH/pkg/ -o test test.o
test.o: In function `_start':
(.text+0x90): multiple definition of `_start'
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/crt1.o:(.text+0x0): first defined here
test.o: In function `_fini':
(.fini+0x0): multiple definition of `_fini'
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/crti.o:(.fini+0x0): first defined here
test.o: In function `__data_start':
(.data+0x0): multiple definition of `__data_start'
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/crt1.o:(.data+0x0): first defined here
test.o: In function `_init':
(.init+0x0): multiple definition of `_init'
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/crti.o:(.init+0x0): first defined here
test.o: In function `__data_start':
(.data+0x8): multiple definition of `__dso_handle'
/usr/lib/gcc/x86_64-linux-gnu/6/crtbegin.o:(.data+0x0): first defined here
test.o:(.rodata+0x0): multiple definition of `_IO_stdin_used'
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/crt1.o:(.rodata.cst4+0x0): first defined here
/usr/lib/gcc/x86_64-linux-gnu/6/crtend.o:(.tm_clone_table+0x0): multiple definition of `__TMC_END__'
test.o:(.data+0x18): first defined here
/usr/bin/x86_64-linux-gnu-ld: error in test.o(.eh_frame); no .eh_frame_hdr table will be created.
collect2: error: ld returned 1 exit status

... not that I actually think those -I/-L flags are necessary, but also fwiw I've never failed to get a compilation error for non-standard imports, no matter how I manipulate those (even just at the compilation step, not the linking step)
What did you expect to see?
"Hello World" should compile
What did you see instead?
"Hello World" failing to ~compile~ link.

Note that it works fine with --pie at the compile step, but it seems odd to me that a special command line flag is needed to compile "Hello World" - I'd expect to be able to just toss that into the compiler and get something valid out. Go explicitly defines a main package for the entry point, so idk why compiling main including func main () { ... wouldn't define a single entry point.

I tested this both on fresh installs of bionic and xenial (oooold...), and this worked without the problems you describe (no -I or -L required either). Your gccgo version is however newer than the one in xenial (gccgo (Ubuntu 6.0.1-0ubuntu1) 6.0.0 20160414 (experimental) [trunk revision 234994]).
The error message makes it look a bit like you are trying to link an already linked binary. Are you sure you aren't doing something like (note the missing -c on the first line that makes test.o be a ready, linked executable):
 root@455cd9d6b88b:/tmp# gccgo -o test.o test.go
root@455cd9d6b88b:/tmp# gccgo -o test test.o
test.o: In function `_start':
(.text+0x90): multiple definition of `_start'
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/crt1.o:(.text+0x0): first defined here
test.o: In function `_fini':
(.fini+0x0): multiple definition of `_fini'
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/crti.o:(.fini+0x0): first defined here
test.o: In function `__data_start':
(.data+0x0): multiple definition of `__data_start'
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/crt1.o:(.data+0x0): first defined here
test.o: In function `_init':
(.init+0x0): multiple definition of `_init'
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/crti.o:(.init+0x0): first defined here
test.o: In function `__data_start':
(.data+0x8): multiple definition of `__dso_handle'
/usr/lib/gcc/x86_64-linux-gnu/6/crtbegin.o:(.data+0x0): first defined here
test.o:(.rodata+0x0): multiple definition of `_IO_stdin_used'
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/crt1.o:(.rodata.cst4+0x0): first defined here
/usr/lib/gcc/x86_64-linux-gnu/6/crtend.o:(.tm_clone_table+0x0): multiple definition of `__TMC_END__'
test.o:(.data+0x18): first defined here
/usr/bin/ld: error in test.o(.eh_frame); no .eh_frame_hdr table will be created.
collect2: error: ld returned 1 exit status

I can't recreate this.    Please show us the exact commands that you are running.  Thanks.

@ianlancetaylor , I pasted the exact commands OP provided with both the ancient Ubuntu version OP mentioned as well as with the current Ubuntu version (with a fixed test.go). No issues at all. However, multiple_start and _fini sounds like linking several main, so I purposefully tried this and got a very similar error. I'm pretty sure I guessed right.

what?  A man of my staggering intellect couldn't possibly have forgotten -c, it's unthinkable. What, do you think I'm an idiot? That I never even tried that first step again before posting an issue? Rude tbh fam.
@ianlancetaylor that is my code exactly. package "main" does not give me a syntax error. Thanks.


Deployment scripts for setting up a database

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/947
Originally created by @dmor on 2019-09-03 17:27:22

Creating this issue based on @iroussos comment https://gitlab.com/meltano/meltano/issues/927#note_209810623

I think that we should also add a section in your Tutorial for creating a Database (let's call it warehouse like in the examples) and a user (let's also call the user warehouse like in our tutorials).
Those are the same as Steps 3 and 4 in the DigitalOcean Tutorial you provided in your comment. And as long as the user is created as a superuser like in the tutorial, no further step is required.
This database and user are required for using Meltano with Postgres and for properly running dbt.
You can test those by trying to use:
meltano elt tap-carbon-intensity target-postgres --transform run
Without a database and a user properly set, you will not be able to successfully complete that step.

View 9 previous comments from the original issue on GitLab


FlaUI.Core.Capturing.MouseOverlay Error

Hi,
I'm using FlaUI to autmatic tests for WinForms application on Windows Server 2016. When I'm on remote desktop connection with server, run test and minimalize this window, I get error:
Error: Failed applying overlay 'FlaUI.Core.Capturing.MouseOverlay'
System.ArgumentNullException: Value cannot be null.
I would be happy if you could help me to fix this error or create some workaround.

When you minimize an RDP window, the desktop session on the RDP server is actually kind of deactivated. Therefor UI tests using the mouse (or capturing a screenshot with the mouse) won't work correctly.
So solution 1: Make sure that the mouse is absolutely never used in the UI tests.
Solution 2: Keep the window maximized
Solution 3: Do not use RDP, use VNC or something similar which is more flexible regarding this issues.

Thank you very much for such a quick response. I hope third solution works :)

I also switched to VNC for all UI-Test-Agents and have no issues since then.


Animal particles, crop growing, and disappearing item bugs

I am on the modpack of Farming Valley version 0.7.0 with version 5.22 of Harvest Festival. My friend is hosting a server of the same version that we both play on. Recently he left the server running for the night without us playing on it. Over the course of the night around 50 days/nights passed in-game. When we returned, all of our animals had black particle effects on them and we could not milk/sheer the cows and sheep. Our crops also would no longer grow, even if we watered them every day for over 20 days. Currently the season is still spring and we are on day 204. Like other people we also experienced the item deletion bug that is a result of Inventory Tweaks so we will likely disable it to fix the problem.
 You can either heal them instantly with medicine or they should correct themselves within a few days if properly cared for. (I think, unless I made that change in the next version xD). Although that should only really happen if the chunks with the animals in were loaded somehow. Did you turn the crops dying if not watered config on? The default is for that to be off. Otherwise I'm not sure what happened with the crops.

I fixed crops in latest 0.5. Dissappearing has existing issue so closing.


更新徽章

test

评论测试

https://github.com/zhaojuntao/rt-thread/pull/1#issuecomment-468213666

评论测试

This is a test comment from AutoTest.

AutoTest Result:
Test...


Add a Gravitational Force calculating script using Python

Hey @Arghya-Banerjee can you assign this issue to me?

Please tag the admin, I have unassigned myself for you to work on this.

Please tag the admin, I have unassigned myself for you to work on it.

Please tag the admin, I have unassigned myself for you to work on it.

Sure. Thanks

@SuprakashB can you assign this issue to me ?

@SuprakashB can you assign this issue to me ?

@SuprakashB can you please assign me. I can do the pr asap.


1.6.0 release notes

Getting the process started for a 1.6.0 release.
The main question I have is how we want to deal with our compatibility options. There are a number of them that we "should" have turned off in the previous release (i.e. according to our release procedure). However, I consider a feature off by default the same as removed (pre-built packages are unlikely to turn those on just for users who need them).
My preference would be to outright remove the options and code guarded by the options (how many users' code will we actually break?). The other option is to properly add actual deprecation warnings to the removed features and remove the compatibility options. If a user has had a warning about a deprecated feature in a previous release we don't need to feel so bad about removing them quickly.

For reference, the compatibility options we currently have are here: https://github.com/STEllAR-GROUP/hpx/blob/74a5b7935778c344ce3976a0c05438b729415646/CMakeLists.txt#L1599-L1668, and here: https://github.com/STEllAR-GROUP/hpx/blob/74a5b7935778c344ce3976a0c05438b729415646/CMakeLists.txt#L2193-L2257.

By the way, doing deprecations without the CMake options would help avoid situations like what CI shows right now (failed builds...) because we'd have a much smaller space of configurations to test.

By the way, doing deprecations without the CMake options would help avoid situations like what CI shows right now (failed builds...) because we'd have a much smaller space of configurations to test.

FWIW, some of the cmake options you listed above (HPX_WITH_TUPLE_RVALUE_SWAP, HPX_PROGRAM_OPTIONS_WITH_BOOST_PROGRAM_OPTIONS_COMPATIBILITY, etc.) should stay as those give options to the user to adapt to their environment. Not all of the options are deprecation related, I think.

Agreed on HPX_WITH_TUPLE_RVALUE_SWAP, I was a bit overzealous in marking the options. However, don't agree on the Boost program options compatibility. One of the main reasons to copy that over to HPX was so that we could eventually remove at least that particular Boost dependency. Essentially every CMake option with _COMPATIBILITY at the end is due for removal sooner or later.

Agreed on HPX_WITH_TUPLE_RVALUE_SWAP, I was a bit overzealous in marking the options. However, don't agree on the Boost program options compatibility. One of the main reasons to copy that over to HPX was so that we could eventually remove at least that particular Boost dependency. Essentially every CMake option with _COMPATIBILITY at the end is due for removal sooner or later.

The options that have _COMPATIBILITY in them are different by design from options that enable/disable Boost program_options or filesystem, for instance. The compatibility options help people to suppress warnings for a time if they are not ready to update their codes for some reason. The options related to Boost libraries help adapting to the user's environment. For instance, if the user already relies on Boost filesystem, then we want to enable HPX to use the same library to ensure compatibility. I would even argue, that we might not want to remove the Boost related options altogether at any point soon.

Perhaps HPX_FILESYSTEM_WITH_BOOST_FILESYSTEM_COMPATIBILITY is wrongly named in that case. Currently we need this. We cannot remove this without requireing C++17 support. The same is not true for program options. Also, if we use std or Boost filesystem internally should not matter for users. If they wish to use Boost filesystem they are free to do so independent of our decisions. The same applies to program options to some extent. Removing Boost program options support means that users can't pass Boost options descriptions to init, but they can still use it to parse options outside of init.

Merging to have the notes in the 1.6.0-rc1 documentation. Additions and changes are still welcome and encouraged after merging though.

Merging to have the notes in the 1.6.0-rc1 documentation. Additions and changes are still welcome and encouraged after merging though.


degiro exporters only writes 12 transactions

When trying to run the degiro exporters it only exports 12 transactions and then stops:
[nodemon] 2.0.22 [nodemon] to restart at any time, enter rs[nodemon] watching path(s): src\**\* [nodemon] watching extensions: ts,js [nodemon] startingts-node ./src/index.ts degiro Processing file using DeGiro converter Read CSV file C:\Users\User\Downloads\Account.csv. Start processing.. ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4% | ETA 225s | Duration: 18s | 12/273 Processing complete, writing to file.. Wrote data to 'ghostfolio-degiro.json'! [nodemon] clean exit - waiting for changes before restart

I have seen this issue yesterday as well when running the tool myself. Will work on this as soon as I have time!

I have created a branch that processes my test file. Can you check if this solves your issie?

Yahoo request seems to not work anymore
`The following result did not validate witt
[
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooEquity/properties/quoteType/const',
keyword: 'const',
params: { allowedValue: 'EQUITY' },
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooEquity/properties/typeDisp/const',
keyword: 'const',
params: { allowedValue: 'Equity' },
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooOption/properties/quoteType/const',
keyword: 'const',
params: { allowedValue: 'OPTION' },
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooOption/properties/typeDisp/const',
keyword: 'const',
params: { allowedValue: 'Option' },
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooETF/properties/quoteType/const',
keyword: 'const',
params: { allowedValue: 'ETF' },
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooETF/properties/typeDisp/const',
keyword: 'const',
params: { allowedValue: 'ETF' },
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooFund/properties/quoteType/const',
keyword: 'const',
params: { allowedValue: 'MUTUALFUND' },
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooFund/properties/typeDisp/const',
keyword: 'const',
params: { allowedValue: 'Fund' },
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooIndex/properties/quoteType/const',
keyword: 'const',
params: { allowedValue: 'INDEX' },
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooIndex/properties/typeDisp/const',
keyword: 'const',
params: { allowedValue: 'Index' },
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooCurrency/properties/quoteType/const',
keyword: 'const',
params: { allowedValue: 'CURRENCY' },
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooCurrency/properties/typeDisp/const',
keyword: 'const',
params: { allowedValue: 'Currency' },
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooCryptocurrency/properties/quoteType/const',
keyword: 'const',
params: { allowedValue: 'CRYPTOCURRENCY' },
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooCryptocurrency/properties/typeDisp/const',
keyword: 'const',
params: { allowedValue: 'Cryptocurrency' },
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1',
schemaPath: '#/definitions/SearchQuoteNonYahoo/required',
keyword: 'required',
params: { missingProperty: 'name' },
message: "must have required property 'name'",
data: {
exchange: 'NAS',
shortname: 'Columbia Government Money Marke',
quoteType: 'MONEY_MARKET',
symbol: 'IDSXX',
index: 'quotes',
score: 20010,
typeDisp: 'MoneyMarket',
longname: 'Columbia Funds Series Trust II  - Columbia Government Money Market Fund',
exchDisp: 'NASDAQ',
isYahooFinance: true
}
},
{
instancePath: '/quotes/1',
schemaPath: '#/definitions/SearchQuoteNonYahoo/required',
keyword: 'required',
params: { missingProperty: 'permalink' },
message: "must have required property 'permalink'",
data: {
exchange: 'NAS',
shortname: 'Columbia Government Money Marke',
quoteType: 'MONEY_MARKET',
symbol: 'IDSXX',
index: 'quotes',
score: 20010,
typeDisp: 'MoneyMarket',
longname: 'Columbia Funds Series Trust II  - Columbia Government Money Market Fund',
exchDisp: 'NASDAQ',
isYahooFinance: true
}
},
{
instancePath: '/quotes/1/isYahooFinance',
schemaPath: '#/definitions/SearchQuoteNonYahoo/properties/isYahooFinance/const',
keyword: 'const',
params: { allowedValue: false },
message: 'must be equal to constant',
data: true
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooFuture/properties/quoteType/const',
keyword: 'const',
params: { allowedValue: 'FUTURE' },
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooFuture/properties/typeDisp/enum',
keyword: 'enum',
params: { allowedValues: [ 'Future', 'Futures' ] },
message: 'must be equal to one of the allowed values',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1',
schemaPath: '#/properties/quotes/items/anyOf',
keyword: 'anyOf',
params: {},
message: 'must match a schema in anyOf',
data: {
exchange: 'NAS',
shortname: 'Columbia Government Money Marke',
quoteType: 'MONEY_MARKET',
symbol: 'IDSXX',
index: 'quotes',
score: 20010,
typeDisp: 'MoneyMarket',
longname: 'Columbia Funds Series Trust II  - Columbia Government Money Market Fund',
exchDisp: 'NASDAQ',
isYahooFinance: true
}
}
]
This may happen intermittently and you should catch errors appropriately.
However:  1) if this recently started happening on every request for a symbol
that used to work, Yahoo may have changed their API.  2) If this happens on
every request for a symbol you've never used before, but not for other
symbols, you've found an edge-case (OR, we may just be protecting you from
"bad" data sometimes stored for e.g. misspelt symbols on Yahoo's side).
Please see if anyone has reported this previously:
https://github.com/gadicc/node-yahoo-finance2/issues?q=is%3Aissue+Failed validation%3A %23%2Fdefinitions%2FSearcht
or open a new issue (and mention the symbol):  yahoo-finance2 v2.8.0
https://github.com/gadicc/node-yahoo-finance2/issues/new?labels=bug%2C+validation&template=validation.md&title=Failedt
For information on how to turn off the above logging or skip these errors,
see https://github.com/gadicc/node-yahoo-finance2/tree/devel/docs/validation.md.
At the end of the doc, there's also a section on how to
Help Fix Validation Errors
in case you'd like to contribute to the project.  Most of the time, these
fixes are very quick and easy; it's just hard for our small core team to keep up,
so help is always appreciated!
FailedYahooValidationError: Failed Yahoo Schema validation
at validate (C:\temp\Export-To-Ghostfolio\node_modules\yahoo-finance2\dist\cjs\src\lib\v)
at Object. (C:\temp\Export-To-Ghostfolio\node_modules\yahoo-finance2\dist\cjs)
at Generator.next ()
at fulfilled (C:\temp\Export-To-Ghostfolio\node_modules\yahoo-finance2\dist\cjs\src\lib)
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
result: {
explains: [],
count: 7,
quotes: [
[Object], [Object],
[Object], [Object],
[Object], [Object],
[Object]
],
news: [],
nav: [],
lists: [],
researchReports: [],
screenerFieldResults: [],
totalTime: 37,
timeTakenForQuotes: 427,
timeTakenForNews: 0,
timeTakenForAlgowatchlist: 400,
timeTakenForPredefinedScreener: 400,
timeTakenForCrunchbase: 400,
timeTakenForNav: 400,
timeTakenForResearchReports: 0,
timeTakenForScreenerField: 0,
timeTakenForCulturalAssets: 0
},
errors: [
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooEquity/properties/quoteType/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooEquity/properties/typeDisp/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooOption/properties/quoteType/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooOption/properties/typeDisp/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooETF/properties/quoteType/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooETF/properties/typeDisp/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooFund/properties/quoteType/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooFund/properties/typeDisp/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooIndex/properties/quoteType/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooIndex/properties/typeDisp/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooCurrency/properties/quoteType/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooCurrency/properties/typeDisp/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooCryptocurrency/properties/quoteType/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooCryptocurrency/properties/typeDisp/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1',
schemaPath: '#/definitions/SearchQuoteNonYahoo/required',
keyword: 'required',
params: [Object],
message: "must have required property 'name'",
data: [Object]
},
{
instancePath: '/quotes/1',
schemaPath: '#/definitions/SearchQuoteNonYahoo/required',
keyword: 'required',
params: [Object],
message: "must have required property 'permalink'",
data: [Object]
},
{
instancePath: '/quotes/1/isYahooFinance',
schemaPath: '#/definitions/SearchQuoteNonYahoo/properties/isYahooFinance/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: true
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooFuture/properties/quoteType/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooFuture/properties/typeDisp/enum',
keyword: 'enum',
params: [Object],
message: 'must be equal to one of the allowed values',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1',
schemaPath: '#/properties/quotes/items/anyOf',
keyword: 'anyOf',
params: {},
message: 'must match a schema in anyOf',
data: [Object]
}
]
}
C:\temp\Export-To-Ghostfolio\node_modules\yahoo-finance2\dist\cjs\src\lib\validateAndCoerceT4
throw new errors_js_1.FailedYahooValidationError("Failed Yahoo Schema validation", {
^
FailedYahooValidationError: Failed Yahoo Schema validation
at validate (C:\temp\Export-To-Ghostfolio\node_modules\yahoo-finance2\dist\cjs\src\lib\v)
at Object. (C:\temp\Export-To-Ghostfolio\node_modules\yahoo-finance2\dist\cjs)
at Generator.next ()
at fulfilled (C:\temp\Export-To-Ghostfolio\node_modules\yahoo-finance2\dist\cjs\src\lib)
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
result: {
explains: [],
count: 7,
quotes: [
[Object], [Object],
[Object], [Object],
[Object], [Object],
[Object]
],
news: [],
nav: [],
lists: [],
researchReports: [],
screenerFieldResults: [],
totalTime: 37,
timeTakenForQuotes: 427,
timeTakenForNews: 0,
timeTakenForAlgowatchlist: 400,
timeTakenForPredefinedScreener: 400,
timeTakenForCrunchbase: 400,
timeTakenForNav: 400,
timeTakenForResearchReports: 0,
timeTakenForScreenerField: 0,
timeTakenForCulturalAssets: 0
},
errors: [
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooEquity/properties/quoteType/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooEquity/properties/typeDisp/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooOption/properties/quoteType/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooOption/properties/typeDisp/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooETF/properties/quoteType/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooETF/properties/typeDisp/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooFund/properties/quoteType/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooFund/properties/typeDisp/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooIndex/properties/quoteType/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooIndex/properties/typeDisp/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooCurrency/properties/quoteType/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooCurrency/properties/typeDisp/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooCryptocurrency/properties/quoteType/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooCryptocurrency/properties/typeDisp/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1',
schemaPath: '#/definitions/SearchQuoteNonYahoo/required',
keyword: 'required',
params: [Object],
message: "must have required property 'name'",
data: [Object]
},
{
instancePath: '/quotes/1',
schemaPath: '#/definitions/SearchQuoteNonYahoo/required',
keyword: 'required',
params: [Object],
message: "must have required property 'permalink'",
data: [Object]
},
{
instancePath: '/quotes/1/isYahooFinance',
schemaPath: '#/definitions/SearchQuoteNonYahoo/properties/isYahooFinance/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: true
},
{
instancePath: '/quotes/1/quoteType',
schemaPath: '#/definitions/SearchQuoteYahooFuture/properties/quoteType/const',
keyword: 'const',
params: [Object],
message: 'must be equal to constant',
data: 'MONEY_MARKET'
},
{
instancePath: '/quotes/1/typeDisp',
schemaPath: '#/definitions/SearchQuoteYahooFuture/properties/typeDisp/enum',
keyword: 'enum',
params: [Object],
message: 'must be equal to one of the allowed values',
data: 'MoneyMarket'
},
{
instancePath: '/quotes/1',
schemaPath: '#/properties/quotes/items/anyOf',
keyword: 'anyOf',
params: {},
message: 'must match a schema in anyOf',
data: [Object]
}
]
}
[nodemon] app crashed - waiting for file changes before starting...`

I see, I had this before and disabled YF validation but it seems I only did this for the Quote Summary request. I'll add the validation skip to search as well then.

I have added the validation skip to the proposed fix branch here. Can you validate if the issue persists?

Had no errors during the convert task. But the JSON now only has "DIVIDEND" entries and no BUY or SELL entries. The exported CSV but has BUY and SELL entries.

Allright, will look into it later this weekend and check of my example export has the same issue. Will also try a recent export of mine in case the example export is oudated.

Fyi my BUY and SELL entries do not have a @ symbol in the CSV. Since mine is in german its just BUY for example: "Kauf XX zu je XX.XX EUR (DEXXXXXX)"

That could be the root cause. The Dutch export does have that '@'.
Could you send me a file (or lines) of buy/sell in German so I can work with that?

Here you go
Datum,Uhrze,Valutadatum,Produkt,ISIN,Beschreibung,FX,Änderung,,Saldo,,Order-ID 31-08-2023,09:28,31-08-2023,DELIVERY HERO SE,DE000A2E4K43,Währungswechsel (Ausbuchung),1.0460,EUR,-258.40,EUR,0.00,2996c5af-59d6-4b3b-8374-11a0d5439431 31-08-2023,09:28,31-08-2023,DELIVERY HERO SE,DE000A2E4K43,Währungswechsel (Einbuchung),,CHF,247.03,CHF,253.87,2996c5af-59d6-4b3b-8374-11a0d5439431 31-08-2023,09:28,31-08-2023,DELIVERY HERO SE,DE000A2E4K43,DEGIRO Transaktionsgebühren und/oder Fremdkosten,,CHF,-4.71,CHF,6.84,2996c5af-59d6-4b3b-8374-11a0d5439431 31-08-2023,09:28,31-08-2023,DELIVERY HERO SE,DE000A2E4K43,Verkauf 8 zu je 32.3 EUR (DE000A2E4K43),,EUR,258.40,EUR,258.40,2996c5af-59d6-4b3b-8374-11a0d5439431 23-08-2022,15:42,23-08-2022,DELIVERY HERO SE,DE000A2E4K43,Währungswechsel (Einbuchung),1.0353,EUR,380.88,EUR,0.00,aa492ff5-28f7-4830-9700-8f0f6d18cde6 23-08-2022,15:42,23-08-2022,DELIVERY HERO SE,DE000A2E4K43,Währungswechsel (Ausbuchung),,CHF,-367.90,CHF,2227.85,aa492ff5-28f7-4830-9700-8f0f6d18cde6 23-08-2022,15:42,23-08-2022,DELIVERY HERO SE,DE000A2E4K43,DEGIRO Transaktionsgebühren und/oder Fremdkosten,,CHF,-4.25,CHF,2595.75,aa492ff5-28f7-4830-9700-8f0f6d18cde6 23-08-2022,15:42,23-08-2022,DELIVERY HERO SE,DE000A2E4K43,Kauf 8 zu je 47.61 EUR (DE000A2E4K43),,EUR,-380.88,EUR,-380.88,aa492ff5-28f7-4830-9700-8f0f6d18cde6

Thank you, will look into later this weekend

@dascgit I have added some German specific checks and the example you sent me is now processed.

Now I get this output:
Processing file using DeGiro converter Read CSV file C:\Users\User\Downloads\Account.csv. Start processing.. █████████████████████░░░░░░░░░░░░░░░░░░░ 52% | ETA 80s | Duration: 53s | 147/278 C:\git\Export-To-Ghostfolio\src\converters\degiroConverter.ts:185               result.activities[result.activities.length - 1].symbol = security.symbol;                                                                                ^ TypeError: Cannot read properties of null (reading 'symbol')     at DeGiroConverter.<anonymous> (C:\git\Export-To-Ghostfolio\src\converters\degiroConverter.ts:185:81)     at Generator.next (<anonymous>)     at fulfilled (C:\git\Export-To-Ghostfolio\src\converters\degiroConverter.ts:28:58)     at processTicksAndRejections (node:internal/process/task_queues:95:5) [nodemon] app crashed - waiting for file changes before starting...

Will look in to this probably later this week, haven’t had time due to other responsibilities.
I also saw Ghostfolio added a new api for search, might look into that and then remove my own implementation if Ghostfolio works as fast. The current list of issues started when I moved from Ghostfolio search to my own implementation of search because the old Ghostfolio api was extremely slow since 2.x release.

Closed by mistake (by merging to main).
Can you please send me the line that causes issues? This is probably because there was no symbol found on the sell order. But I need to check to be sure.

I have no idea which line or transaction it was to be honest. I have seen the CSV Export from degiro does strange things. For example they split one line into two lines and the second line misses a lot of informations.
16-03-2023,14:23,16-02-2023,BASF SE,DE000BASF111,Währungswechsel (Ausbuchung),1.0154,EUR,-XX.XX,EUR,0.00,17d16616-7634-11ee- ,,,,,,,,,,,b962-0242ac120002
Maybe the symbol that could not be found was "GB00BDVZYZ77" ?

Hi there, I've been running into a similar issue. Hopefully this anonymized data can help elucidate the issue:
getSecurity(): Found 1 matches by ISIN <ISIN_NUMBER_1>
getSecurity(): No initial match found, trying by symbol <SYMBOL_1>
getSecurity(): No match found for symbol <SYMBOL_1>, trying by name <NAME_1>.
        getSymbolsByQuery(): Quote has no symbol at Yahoo Finance undefined. Skipping..
        getSymbolsByQuery(): Quote has no symbol at Yahoo Finance undefined. Skipping..
getSecurity(): Found 1 matches by ISIN <ISIN_NUMBER_1>
getSecurity(): No initial match found, trying by symbol <SYMBOL_1>
getSecurity(): No match found for symbol <SYMBOL_1>, trying by name <NAME_1>.
███████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 28% | ETA 91s | Duration: 47s | 110/384/<path>/Export-4
              result.activities[result.activities.length - 1].symbol = security.symbol;
                                                                                ^
TypeError: Cannot read properties of null (reading 'symbol')
    at DeGiroConverter.<anonymous> (/<path>/Export-To-Ghostfolio/src/converters/degiroConverter)
    at Generator.next (<anonymous>)
    at fulfilled (/<path>/Export-To-Ghostfolio/src/converters/degiroConverter.ts:28:58)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[nodemon] app crashed - waiting for file changes before starting...

The first line in the csv where we encounter that security is a transaction fee labelled as "DEGIRO Transaktionsgebühren und/oder Fremdkosten". That is then followed by the actual purchase, labelled "Kauf AMOUNT zu je PRICE EUR (ISIN)", where we encounter the crash. Both possess the same ISIN.
Looks like we find the security just fine with the ISIN but because this security is listed on TDG under a different symbol than on NASD it struggles to match it to the expected currency in findSymbolMatch. I'm guessing our trouble may come from that unhandled edge case but it's just a shot in the dark.

I have no idea which line or transaction it was to be honest. I have seen the CSV Export from degiro does strange things. For example they split one line into two lines and the second line misses a lot of informations.
`LINE150: 16-03-2023,14:23,16-02-2023,BASF SE,DE000BASF111,Währungswechsel (Ausbuchung),1.0154,EUR,-XX.XX,EUR,0.00,17d16616-7634-11ee-
LINE151: ,,,,,,,,,,,b962-0242ac120002`
Maybe the symbol that could not be found was "GB00BDVZYZ77" ?

@dascgit I have added "Währungswechsel" lines to the skip list, so this should make sure you can continue processing.

Hi there, I've been running into a similar issue. Hopefully this anonymized data can help elucidate the issue:
getSecurity(): Found 1 matches by ISIN <ISIN_NUMBER_1>
getSecurity(): No initial match found, trying by symbol <SYMBOL_1>
getSecurity(): No match found for symbol <SYMBOL_1>, trying by name <NAME_1>.
        getSymbolsByQuery(): Quote has no symbol at Yahoo Finance undefined. Skipping..
        getSymbolsByQuery(): Quote has no symbol at Yahoo Finance undefined. Skipping..
getSecurity(): Found 1 matches by ISIN <ISIN_NUMBER_1>
getSecurity(): No initial match found, trying by symbol <SYMBOL_1>
getSecurity(): No match found for symbol <SYMBOL_1>, trying by name <NAME_1>.
███████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 28% | ETA 91s | Duration: 47s | 110/384/<path>/Export-4
              result.activities[result.activities.length - 1].symbol = security.symbol;
                                                                                ^
TypeError: Cannot read properties of null (reading 'symbol')
    at DeGiroConverter.<anonymous> (/<path>/Export-To-Ghostfolio/src/converters/degiroConverter)
    at Generator.next (<anonymous>)
    at fulfilled (/<path>/Export-To-Ghostfolio/src/converters/degiroConverter.ts:28:58)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[nodemon] app crashed - waiting for file changes before starting...

The first line in the csv where we encounter that security is a transaction fee labelled as "DEGIRO Transaktionsgebühren und/oder Fremdkosten". That is then followed by the actual purchase, labelled "Kauf AMOUNT zu je PRICE EUR (ISIN)", where we encounter the crash. Both possess the same ISIN.
Looks like we find the security just fine with the ISIN but because this security is listed on TDG under a different symbol than on NASD it struggles to match it to the expected currency in findSymbolMatch. I'm guessing our trouble may come from that unhandled edge case but it's just a shot in the dark.

@mlbullett Can you give me the name of the stock/etf that gives you issues? That way I can check wether I get the same issue. I have also added a "prefered exchange" config setting recently. You can set this so a prefered exchange postfix (e.g. .AS for Euronext Amsterdam) and then we pick that one if it is present in the result list.

I have added some checks in this branch for a similar issue someone else gave. Could you check the version in that branch and see if it gives you the same issue, or if that change resolves it?

Cheers, that seems to have solved the issue although now I've run into another issue with US90184L1026 but that's unrelated to this.

It seems that Yahoo Finance does no longer recognize TWTR since it has been taken private by Elon.

Yeah I figured. Shame for record keeping but not the end of the world as the position is resolved. Thanks for the assist in the main issue!


How to load external jquery files.

Am using some external jquery files like jquery jquery.validate.js, charts.js, and user definied animations in my current project.
Each time when I refresh the particular page then only my jquery code is loaded.
Tried to link the files in angular.cli.json and index.html. Still the same problem is arriving.
Can any one help me in this.

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.


feat(build): webpack 4, babel polyfill for async

Assignee Tasks

[x] added unit tests (or none needed)
[x] written relevant docs (or none needed)
[x] referenced any relevant issues (or none exist)

Closes #76, closes #74.
Fresher version of #20, but without actually converting any functions to async.
Removed livereload plugin. Maybe later we can do better via #78.

Is livereload hindering more than helping? If not, wouldn't it make more sense to leave it in until we actually do replace it?

Should have clarified: livereload is currently incompatible with webpack 4.
There’s an issue on the plugin to fix it.
On Tue, Feb 27, 2018 at 08:24 Tom Kelly<EMAIL_ADDRESS>wrote:

Is livereload hindering more than helping? If not, wouldn't it make more
sense to leave it in until we actually do replace it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/FullstackAcademy/boilermaker/pull/77#issuecomment-368871723,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG5S_shY5TU1Bu3PxEvWjUN1OGAQuy-aks5tZAIHgaJpZM4SUSfl
.

--
Gabriel L. Lebec
Instructor / Developer
Fullstack Academy of Code http://fullstackacademy.com/

Ah, typical webpack. This looks fine to me then - merge away.

I also think it looks good. And I like that you got rid of the bower bit too

Yeah, good riddance bower.


feature request: add actual twist  to robot state

In some cases, we need the actual cartesian velocity, but there is no such member in the robot state class.

If you know the joint velocity, you can use the forward kinematics (d-h params) to calculate the Cartesian velocity. Do note however, that the franka d-h convention is flipped - you may eant to rederive it


Allow to add Views with more than one word with kivymd.add_view function

Description of the problem
Currently when creating views via kivymd.add_view, only views with one word, e.g. NotificationScreen, will be added correctly. When you try to add a view with the name NotificationSettingsScreen, all classes in the folders Model, Controller and View will be added. However, it won't be added in the screens.py(and no error / warning is thrown).
Describe the algorithm of actions that leads to the problem
In the file kivymd/tools/patterns/add_view.py (line 158ff) there is a restriction for only allowing one word screens:
if res and len(res) == 2 and res[-1] == "Screen":
                    screens += (
                        "\n    '%s': {"
                        "\n        'model': %s,"
                        "\n        'controller': %s,"
                        "\n    },"
                        % (
                            f"{res[0].lower()} {res[1].lower()}",
                            f'{"".join(res)}Model',
                            f'{"".join(res)}Controller',
                        )
...

Reproducing the problem
First create an kivymd MVC project. Then type in the following in commandline:
> kivymd.add_view MVC . NotificationSettingsScreen

In the end, have a look into the screens.py, the imports are there, but not added in the screens dict.
Screenshots of the problem
Here you can see, that  NotificationSettingsScreen wasn't added to the screens dict in screens.py

Description of Changes
I changed above code to allow multiple words:
if res and len(res) >= 2 and res[-1] == "Screen":
                    screens += (
                        "\n    '%s': {"
                        "\n        'model': %s,"
                        "\n        'controller': %s,"
                        "\n    },"
                        % (
                            f'{" ".join(res).lower()}',
                            f'{"".join(res)}Model',
                            f'{"".join(res)}Controller',
                        )
...

Screenshots of the solution to the problem
Here you can see, that it is now added properly.

Code for testing new changes
> kivymd.add_view MVC . NotificationSettingsScreen

This module needs to be completely rewritten in accordance with the new API version 2.0.0

I understand, although I don't seem to have any issue with using this module using 2.0.x.
I think merging wouldn't be much of a problem though as it's quite the small change and a rewrite of the module will still take some time.


Go to Symbol in File doesn't work.

Environment data

VS Code version: 1.23.1
Extension version (available under the Extensions sidebar): 2018.4.0
OS and version: Windows 7
Python version (& distribution if applicable, e.g. Anaconda): mingw-w64-i686-python3
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A

Actual behavior
Go to Symbol in File doesn't work.
I try trace something:
import jedi

print(jedi.api.names(source=None, path="e:/Downloads/1.py",all_scopes=True)[0].module_path)

python.org python3 output: e:\Downloads\1.py
mingw-w64-i686-python3 output: E:\Downloads\1.py
patch:
diff -urN a/extensions/ms-python.python-2018.4.0/out/client/providers/symbolProvider.js b/extensions/ms-python.python-2018.4.0/out/client/providers/symbolProvider.js
--- a/extensions/ms-python.python-2018.4.0/out/client/providers/symbolProvider.js	2018-05-22 10:28:17.916072100 +0800
+++ b/extensions/ms-python.python-2018.4.0/out/client/providers/symbolProvider.js	2018-05-28 13:05:10.873578100 +0800
@@ -10,13 +10,20 @@
 const telemetry_1 = require("../telemetry");
 const constants_1 = require("../telemetry/constants");
 const proxy = require("./jediProxy");
+const platform = require("os").platform();
 class PythonSymbolProvider {
     constructor(jediFactory) {
         this.jediFactory = jediFactory;
     }
     static parseData(document, data) {
         if (data) {
-            const symbols = data.definitions.filter(sym => sym.fileName === document.fileName);
+            const symbols = data.definitions.filter(sym => {
+                // msys2 fileName drive uppercase.
+                if(platform === "win32")
+                    return sym.fileName.toLowerCase() === document.fileName.toLowerCase()
+                return sym.fileName === document.fileName
+            });
+
             return symbols.map(sym => {
                 const symbol = sym.kind;
                 const range = new vscode.Range(sym.range.startLine, sym.range.startColumn, sym.range.endLine, sym.range.endColumn);

@bstaint Thanks for identifying the root cause, saved a lot of time at our end.

@bstaint if you're willing to sign the CLA we would be happy to give you co-authorship credit on the PR that fixes this. Are you willing to do that?

@brettcannon Sorry.

@bstaint no need to apologize! We still appreciate you diagnosing the issue.


Navigation page on Tabbed page, Tite is not showing in Android

I am using latest version of xamrin forms.
The title is not showing Top/bottom under Tabbed page in Android.

<TabbedPage.Children>

<x:Arguments>
<home:BlinkIDPage IconImageSource="home.png" />
</x:Arguments>

<x:Arguments>
<generaldata:GeneralDataPage IconImageSource="worker_data.png"></generaldata:GeneralDataPage>
</x:Arguments>

</TabbedPage.Children>

Hi @MobilyteApps
Unfortunately we cannot respond to support questions here; these issues are for tracking documentation feedback. Other channels you can use to seek help include Developer Community, the Xamarin Forums, and Stack Overflow.


Instantiate DAOs with initial storage keys

Every DAO has a built in governance controlled key / value store which has a large number of uses, including enabling UI features in the DAO DAO UI.
As a user, I would like to create a DAO with all of the features I need already setup and without having to pass a proposal to enable them. This allows for much quicker setup and better UX.
To enable this, we need to update the dao_dao_core to take a storage_items: Option<Vec<(String, String)>> field, which is used to initialize the key / value store.

It seems this has already been imp implemented in #190

@hard-nett, indeed you're right.


Local ollama service stops responding after ~1 hour - GPU VRAM usage timeout issue

Description:
When using LightRAG with a local ollama service, the responses stop coming in after running for about 1 hour or sometimes less. Upon stopping LightRAG, the ollama service logs the following warning repeatedly:
time=2024-10-20T10:28:14,237+08:00 level=WARN source=sched.go:646 msg="gpu VRAM usage didn't recover within timeout" seconds=5.123168046 model=/root/.ollama/models/blobs/sha256-5ee4f07cdhgbeadbbb293e85803c56gbolbd37ed059d2715fa7bb405f3lcaa time=2024-10-20T10:28:14.488+08:00 level=WARN source=sched.go:646 msg="gpu VRAM usage didn't recover within timeout" seconds=5.373610908 model=/root/.ollama/models/blobs/sha256-5ee4f07cdbgbeadbbb293e85803c569bolbd37ed059d2715faa7bb405f3lcaa6IlA time=2024-10-20T10:28:14.737+08:00 level=WARN source=sched.go:646 msg="gpu VRAM usage didn't recover within timeout" seconds=5.623228477 model=/root/.ollama/models/blobs/sha256-5ee4f07cdbcbeadbbb293e85803c56gb01bd37ed059d2715faa7bb405f3lcaa6
Here's my lightrag_ollama_demo.py:
`import os
from lightrag import LightRAG, QueryParam
from lightrag.llm import ollama_model_complete, ollama_embedding
from lightrag.utils import EmbeddingFunc
WORKING_DIR = "./dickens"
TEXT_FILES_DIR = "/llm/mt"
if not os.path.exists(WORKING_DIR):
os.mkdir(WORKING_DIR)
rag = LightRAG(
working_dir=WORKING_DIR,
llm_model_func=ollama_model_complete,
llm_model_name="qwen2.5:3b-instruct-max-context",
embedding_func=EmbeddingFunc(
embedding_dim=768,
max_token_size=8192,
func=lambda texts: ollama_embedding(texts, embed_model="nomic-embed-text"),
),
)
读取 TEXT_FILES_DIR 目录下所有的 .txt 文件
texts = []
for filename in os.listdir(TEXT_FILES_DIR):
if filename.endswith('.txt'):
file_path = os.path.join(TEXT_FILES_DIR, filename)
with open(file_path, 'r', encoding='utf-8') as file:
texts.append(file.read())
批量插入文本到 LightRAG
rag.insert(texts)
#with open("./pc.txt") as f:
rag.insert(f.read())
Perform naive search
print(
rag.query("What are the top themes in this story?", param=QueryParam(mode="naive"))
)
Perform local search
print(
rag.query("What are the top themes in this story?", param=QueryParam(mode="local"))
)
Perform global search
print(
rag.query("What are the top themes in this story?", param=QueryParam(mode="global"))
)
Perform hybrid search
print(
rag.query("What are the top themes in this story?", param=QueryParam(mode="hybrid"))
)`

We add a demo vram_management_demo.py in examples\, you can try it.

We add a demo vram_management_demo.py in examples\, you can try it.

I thank you very much for your prompt reply, I am currently using deepseek's api, I will try it later!


Update analytics tracking

Update Analytics events and ecommerce tracking so that: 1) Choose page in WordPress is the first step; 2) Pay is the second step; 3) Thanks is the third step; 4) the finish page does make an Ecommerce event

There are a few commits to make this realize when the finish step is happening. This was previously a bug, but is now addressed.

a6cc76d65a04d606bd156243c71134282266c0ce
43f48e366daefad7c7d341b8eee95de056a2ab2e
bfa638dfea5e9c23fb97c3bd30619f2a5411938b
5fd66d3f50ff89a5e4ce899ca76253f143d959b5
9ea1d7e58aa1d2ba899d95c9d0972022fdabd5ee


All your base

Something to auto-close, for now.
Python, Julia, F# all agree difficulty 4. This feels about right.

Hmm, yes - first submitted last April, this was one of the first things I'd done in R for several years. It shows!

I think I made the requested changes in https://github.com/exercism/r/pull/247/commits/6f053f494b1d9664c1aa1df025c1c5450a1118cf. Merging still blocked, so I assume you need to confirm it.


Release v0.0.5

README: updates from second moa hackday
Don't validate AWS Organization List Policies
Validate permissions in the AWS client region
Validate only permissions in the OSD SCP policy document

/lgtm


[readme] make links clickable

Hi there, I was going through the guide and found myself copying and pasting the links into a new tab. Thought turning them into clickable links would make everyone's life a tiny bit easier.
Thanks for open sourcing this! :beers:

Thanks!


MAC Fuses on iMX6UL

Hi,
how could i burn the second MAC addres ? in the yaml file of the imx6ul is only one MAC described?

There is only one fuse for the MAC address. The second one becomes the first one plus 1 but in the end it is up to the driver on how this information is used.

Hello,
no that seams not correct. But I found a solution: changed the yaml like this an it worked fine.
OCOTP_MAC0:
bank: 4
word: 2
fuses:
MAC1_ADDR:
offset: 0
len: 48
MAC1_ADDR[47:16]:
offset: 0
len: 32
OCOTP_MAC1:
bank: 4
word: 3
fuses:
MAC1_ADDR[15:0]:
offset: 0
len: 16
MAC2_ADDR:
offset: 16
len: 48
MAC2_ADDR[47:32]:
offset: 16
len: 16
OCOTP_MAC:
bank: 4
word: 4
fuses:
MAC2_ADDR[31:0]:
offset: 0
len: 32
Von: Andrea Barisani<EMAIL_ADDRESS>Gesendet: Mittwoch, 22. April 2020 10:49
An: f-secure-foundry/crucible<EMAIL_ADDRESS>Cc: Stehle Jochen stj - Theben AG<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Betreff: Re: [f-secure-foundry/crucible] MAC Fuses on iMX6UL (#5)
There is only one fuse for the MAC address. The second one becomes the first one plus 1 but in the end it is up to the driver on how this information is used.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/f-secure-foundry/crucible/issues/5#issuecomment-617643386, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGUYJIJWYERGMASLVRXKFS3RN2VPZANCNFSM4MN4HUTA.

Ok, then I gathered incorrect information. I will address this in the fusemap.

There is evidence to support this in:
https://github.com/u-boot/u-boot/blob/master/arch/arm/mach-imx/mac.c
As well as:
https://wiki.phytec.com/pages/releaseview.action?pageId=158144808#L844e.A2i.MX6UL/ULLBSPReferenceManual-On-ChipOTPController(OCOTP_CTRL)-eFuses
However official information remains nowhere to be seen in the reference manual.
I am happy to add the second fuse mentioning these references, however it seems to me that the bit order (which you suggest according to the phytec link) is not consistent with our current fusemap.
I changed the order in this commit following information from IMX6SDLRM.
I guess the interpretation is up to the specific driver, I will investigate and fix accordingly.

We finally tested this (thanks to @andrejro), fixed in https://github.com/f-secure-foundry/crucible/commit/734a68f3c1d50d7f0914f390f52f358d6669c345
eth0: link/ether 00:04:9f:05:ba:b0
eth1: link/ether 00:04:9f:05:ba:af

# crucible -m IMX6ULL -r 1 -b 16 read MAC1_ADDR
soc:IMX6ULL ref:1 otp:MAC1_ADDR op:read addr:0x88 off:0 len:48 val:0x00049f05baaf
# crucible -m IMX6ULL -r 1 -b 16 read MAC2_ADDR
soc:IMX6ULL ref:1 otp:MAC2_ADDR op:read addr:0x8c off:16 len:48 val:0x00049f05bab0


[explore] show query in modal while query is running

show query in modal while query is running, currently it's empty. useful for long running queries.

query is formed in models.py https://github.com/airbnb/superset/blob/34d0dd9d6e074e41968c39247d66e19fd551c57b/superset/models.py#L1163 and returned along with viz object in viz.py https://github.com/airbnb/superset/blob/34d0dd9d6e074e41968c39247d66e19fd551c57b/superset/viz.py#L170. So to get query before the viz returns we may have to create a new endpoint to return query separately, which I don't think would be necessary since this use case is quite rare?

merged into deprecate_v1


Allow bi-directional topic bridging

Closes #38
Signed-off-by: Rebecca Butler<EMAIL_ADDRESS>

Please add a brief test exercising the new option.

Please add a brief test exercising the new option.

I've added a couple tests in c3e3a3a.


[Suggestion] Add verified status to users

Here a sample to add "verified status" to your scraping
tag_verified = tag_prof_header.find('span', {'class': "ProfileHeaderCard-badges"})
if tag_verified is not None:
     user.verified = True

Thank you for this suggestion @noJ0y
Since this feature has been implemented I will close this thread.


Receive - EIP681 QR and payment link

https://github.com/agocsvince/punk-wallet/assets/1397179/7ce92e96-787f-4c0a-975f-3db2b0cd598e

https://github.com/agocsvince/punk-wallet/pull/2


Logo Change

Describe the feature
a fresh logo design featuring a fitting quotation for the website
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Assigned! @Honey22205
Make sure to attach before & after screenshot in your PR.
Make sure to star the repo before working on it! Happy open-source contributing!

can you please assign this issue to me #415?


Hacktoberfest: contribute to Sandpack Themes

We're open to supporting new Sandpack themes because our key goal is empowering developers to include custom live coding experiences over the web, regardless of your website layout or level of design expertise. That's why we provide plenty of options under @codesandbox/sandpack-themes, and we want to offer even more options. So, how can you contribute to new themes?
Sandpack Theme Builder
Sandpack provides a tool to guide you in creating your custom theme. Start with a dark or light theme, and then add your custom values like primary and secondary colors.
Plus, if you want to give an even more personal touch, you can go to the Advanced tab and set colors for the syntax highlight and other cases.
https://sandpack.codesandbox.io/theme
Publish a theme
At this point, you need to go to the Sandpack repository, fork, and introduce some changes in your pull request. BTW, you can just use CodeSandbox Projects to do that:

Open the Sandpack repository on CodeSandbox Projects;
Create a contribution branch, which will fork the repository for you:

Create a new file in codesandbox/sandpack/sandpack-themes/src folder with following file [theme name].ts
The content of this file must be an export for an object that contains the theme:

import type { SandpackTheme } from "./types";

export const THEME_NAME: SandpackTheme = {
  colors: {
		...
  },

  syntax: {
		...
  },
  font: {
    ...
  },
};

Include your new theme into the index.ts file, that exposes all themes.

Still not clear? Feel free to contact us on Discord or on GitHub.

Hi I would like to give this a try.

Hi @danilowoz I have added a theme and created a PR , please review.

Hi can I also add another theme ?

Sure, @Ananyamadhu08! It's open for contributions

Hi @danilowoz  can I add more themes ?

Hey, sure! Let me know if you need any help 😄

Hey @danilowoz , I've added a dew themes please review. 😄

Hello @danilowoz, I have added some new themes as well please review. :)


using rest in form {...a.x, ...a.y} causes no-dupe-keys

minimal example:
let a;
console.log({...a.x, ...a.y}); // will report no-dupe-keys

Duplicate of #16.


example problem

when I run the example.py with NNR match strategy and pretrained model .I find that there are many mismatch points. Please tell me why this problem occurs and how to solve it.
Thanks a lot!

@jingweixi
Sorry, I found a bug in the example.py, the image input size should be (240, 320), not (320, 240), cause the network was trained under (240, 320) input size.
I updated code, you could try it again, and the result should be better.

thanks！


resize event come back one day

hi
in the week view, at resize event in end date side when i drag event it's come back one day
for example the event in 7-8th and i resize 8th and drop mouse in the 10th the end date of event come back to 9th
whats the problem?how i can solve this problem
please help me

Sorry I don't follow you, can you give me a plunker that reproduces your issue + a clear set of instructions on what to do to replicate. Thanks!

Closing, as can't help without something that reproduces the issue


[CardActions] Allow to accept false as child

Hello, currently it is impossible to do something like this, because system crushes on false result:
<CardActions>
  {pkg.enabled && this.renderButton()}
</CardActions>

@newsiberian That's a good feature. Could you have a look at my comment and squash down the commits?

@oliviertassinari, I faced with problems while squashing commits. Could you give me some tip what to do? I do it for the first time.

I can close this PR and open new clean if you want.

@newsiberian, try: rebase -i HEAD~3. You  can f (fixup) all but the parent commit, and r (reword) that one.

I was unable find a way to do rebase. It always ask me to pull changes from remote repo and at the end I'm accidentally remove these commits. I'll add new PR now

It always ask me to pull changes from remote repo and at the end

git push -f

@mbrookes, thanks :smile:


updated contributing guide and added a django orm resource

gah, I made so many changes to the page today that I can't auto merge. Can you rebase and recommit with the latest changes to make it easier to merge? thanks @mjhea0!

@makaimc done! :)

you and your end of line space removing editor :) ... thanks @mjhea0!


plot_select_structure.py questions

I got plot_select_structure.py to run and produce a plot.
It also produces a file 'selected.traj', but that is a binary file.
If I want to use this for active learning/retraining my NEP, how to add it to
my original .xyz training file?
Also, in the GPUMD paper as in Fig 7 and 8, how to plot Fig 7, and how to see which points represent certain structures as in Fig 8?
Thanks.

You can use ase to read .traj file by from ase.io import read; frames = read('xxx.traj',':'). Or you can save the structures as .xyz by use write('selected.xyz', [a[i] for  i in selected_i]), format='extxyz' to replace write('selected.traj', [a[i] for  i in selected_i])  in plot_select_structure.py


Merge remote-tracking branch 'upstream/stable' into merge_stable

Um, this seems to have broken building master... In the email you mentioned it's not deterministic, but it was working before.

Yep, worked on second try...


http://youmightnotneedjs.com/#color_picker not working under Safari 10.0

A simple solution would be to add a warning about limited browser support and link to CanIUse: http://caniuse.com/#feat=input-color.

It works on Safari 10+ on macOS, but not on iOS as a reference.

Resolved #50


merge windows and linux build scripts, simplify electron build steps

Main thing here is to share build scripts for the Windows and Linux clients; while I was working on it, I was also able to simplify the overall build process.
The key changes are:

specify electron-builder options in package.json, where possible
have electron-builder build from the "top" of the repo rather than electron/build

This let me share most options between Windows and Linux and eliminated a lot of manual file copying, especially www/.
Still a few rough edges but I think it's a huge improvement overall.

@fortuna I don't know of an alternative to the layering with our current build system. Not sure I can think of a better than package_common. This is very close to what we have in the server manager, where it's been working pretty well.


add transaction to save of groups tabs and dialog

Saving dialogs and related things should be in a transaction, and this would fix that.
@miq-bot assign @bdunne
I didn't test it but it fixes the open API issue about this, and it'd be good to have anyway

@d-m-u were callers making 3 separate save calls?  I expected a connected PR to this one showing callers only saving the top-object.

I didn't test it but it fixes the open API issue about this, and it'd be good to have anyway

can you run a cross_repo test with at least API (and probably UI too)?  Are there tests in API that would cover this?


Ability to set delivery date / end of life (retire) date

It would be really nice if you can add dates to an asset to manage the lifecycle of an asset. This makes planning for renewing assets a lot easier.
Maybe a nice extra is a warranty date and/or care pack date.

This seems relevant to #182. We should fold this suggestion into that one.


Release/v0.6.0

Are you a current Fivetran customer?

Fivetran created PR
What change(s) does this PR introduce?

This PR introduces the following changes:

CHANGELOG addition. PR #42
Corrected CTE references within int_jira__issue_assignee_resolution. PR #45
Modified the incremental logic within int_jira__agg_multiselect_history to properly capture latest record. PR #48
Modified the int_jira__issue_calendar_spine model to use the dbt-utils.current_timestamp_in_utc to better capture the current datetime. PR #47
Relevant CHANGELOG and README updates

Does this PR introduce a breaking change?

[ ] Yes (please provide breaking change details below.)
[X] No  (please provide explanation how the change is non breaking below.)

This PR includes changes to incremental logic. As that will result in users needing to --full-refresh it is understood that this PR will result in a breaking change.
Is this PR in response to a previously created Issue

[X] Yes
[ ] No

How did you test the PR changes?

[X] CircleCi
[ ] Other (please provide additional testing details below)

Select which warehouse(s) were used to test the PR

[X] BigQuery
[X] Redshift
[X] Snowflake
[X] Postgres
[ ] Databricks
[ ] Other (provide details below)

Provide an emoji that best describes your current mood

🧩
Feedback
We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.

@RivkiHofman, @jcbmllgn, and @thibonacci this is the latest release branch with all of changes identified by you included.
Prior to release I wanted to leave a window for you to test the all changes and ensure the outcomes are as you expect in the final package output models. I will plan to merge this and release tomorrow. Let me know if you test this out and notice anything that you would like to be addressed before the next release.
Thanks for all your help in these updates 😄


Fix array-ref and array-length references

Fixes array indexing to reference the correct runtime symbol
Fixes array-length reference and adds that to the runtime

It'd be useful for these kinds of changes to have runtime tests where we check that running the scheme gives us a correct result


Out of Box Failure: window is not defined

Hello,
Thank you for creating this resource, it is very educational and really promising!
As I'm trying to learn it, I'm seeing some failures out of the box. For example, if I run the following:
$ npx @crystallize/cli test && cd test && npm install && npm run build

and choose all the default options:
 All right, Next.js it is
 In folder ./test
 Using Crystallize tenant furniture
 In a single language
 With the demo Service API

at this stage:
info  - Collecting page data
[=== ] info  - Generating static pages (0/91)

I get the following errors:
Error occurred prerendering page "/en/[...catalogue]". Read more: https://err.sh/next.js/prerender-error
ReferenceError: window is not defined
    at /Users/rajadain/play/crystallize-nextjs/test/node_modules/imsc/src/main/js/html.js:1725:53
    at Object.<anonymous> (/Users/rajadain/play/crystallize-nextjs/test/node_modules/imsc/src/main/js/html.js:1742:3)
    at Module._compile (node:internal/modules/cjs/loader:1091:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1120:10)
    at Module.load (node:internal/modules/cjs/loader:971:32)
    at Function.Module._load (node:internal/modules/cjs/loader:812:14)
    at Module.require (node:internal/modules/cjs/loader:995:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (/Users/rajadain/play/crystallize-nextjs/test/node_modules/imsc/src/main/js/main.js:29:22)
    at Module._compile (node:internal/modules/cjs/loader:1091:14)

Error occurred prerendering page "/en/shop". Read more: https://err.sh/next.js/prerender-error
ReferenceError: window is not defined
    at /Users/rajadain/play/crystallize-nextjs/test/node_modules/imsc/src/main/js/html.js:1725:53
    at Object.<anonymous> (/Users/rajadain/play/crystallize-nextjs/test/node_modules/imsc/src/main/js/html.js:1742:3)
    at Module._compile (node:internal/modules/cjs/loader:1091:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1120:10)
    at Module.load (node:internal/modules/cjs/loader:971:32)
    at Function.Module._load (node:internal/modules/cjs/loader:812:14)
    at Module.require (node:internal/modules/cjs/loader:995:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (/Users/rajadain/play/crystallize-nextjs/test/node_modules/imsc/src/main/js/main.js:29:22)
    at Module._compile (node:internal/modules/cjs/loader:1091:14)

Error occurred prerendering page "/en/shop/plants". Read more: https://err.sh/next.js/prerender-error
ReferenceError: window is not defined
    at /Users/rajadain/play/crystallize-nextjs/test/node_modules/imsc/src/main/js/html.js:1725:53
    at Object.<anonymous> (/Users/rajadain/play/crystallize-nextjs/test/node_modules/imsc/src/main/js/html.js:1742:3)
    at Module._compile (node:internal/modules/cjs/loader:1091:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1120:10)
    at Module.load (node:internal/modules/cjs/loader:971:32)
    at Function.Module._load (node:internal/modules/cjs/loader:812:14)
    at Module.require (node:internal/modules/cjs/loader:995:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (/Users/rajadain/play/crystallize-nextjs/test/node_modules/imsc/src/main/js/main.js:29:22)
    at Module._compile (node:internal/modules/cjs/loader:1091:14)

> Build error occurred
Error: Export encountered errors on following paths:
	/en/[...catalogue]
	/en/shop
	/en/shop/plants
    at /Users/rajadain/play/crystallize-nextjs/test/node_modules/next/dist/export/index.js:30:1103
    at async /Users/rajadain/play/crystallize-nextjs/test/node_modules/next/dist/build/tracer.js:3:470
    at async /Users/rajadain/play/crystallize-nextjs/test/node_modules/next/dist/build/index.js:39:69
    at async /Users/rajadain/play/crystallize-nextjs/test/node_modules/next/dist/build/tracer.js:3:470
    at async /Users/rajadain/play/crystallize-nextjs/test/node_modules/next/dist/build/index.js:21:731
    at async /Users/rajadain/play/crystallize-nextjs/test/node_modules/next/dist/build/tracer.js:3:470

I'm running macOS Big Sur, node v15.10.0, and npm 7.6.0 in case that helps. The full output log of the above command is here: crystallize-cli-failure.txt
As you can see, I have not made any changes, just running this out of the box, and seeing this failure. Any help is appreciated.

Hi @rajadain and thanks for the error report. Looks like an issue with the lazy loading of the video player. I'll investigate

I turned off the video player to get my instance working

Hi, this should be resolved now as we have released a react-video package that deals with embedding videos from Crystallize: https://www.npmjs.com/package/@crystallize/react-video

Thank you!


how to run code-server on debian armhf?

Description

Related Issues

I deploy debian armhf on Android 8.0 with linuxdeploy.

@weixinya We are still working on getting the arm binaries to work properly. Shouldn't be much longer before we have a proper release for it.

@nol166 Thank you very much!

Should be closed in favor of the ARM issue we already have.

#35 closing


[Question] generate positive only numbers

Hi,
Thanks a lot for this library.
Is there is a way to generate positive number only?
Many thanks,
Marc

Hi Marc,
I'm not sure I get the question right. For example,Sum32() returns an uint32, which is postive. Same goes for Sum64 with uint64.
Can you please further describe what's your having trouble with?
Thanks,
Seb

is it possible to return signed  numbers ?

Well, I'm not sure why I wrote that at the time... ;) Probably because I was looking as some conversion of the uint32 to int32 after some Avro serialization...
Many thanks!