Query slow on Update

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[ ] 2.8
[x] 3.0
[ ] self-compiled devel branch

On this operating system:

[ ] DCOS on

[ ] AWS
[ ] Azure
[ ] own infrastructure

[ ] Linux

[ ] Debian .deb
[x] Ubuntu .deb
[ ] SUSE   .rpm
[ ] RedHat .rpm
[ ] Fedora .rpm
[ ] Gentoo
[ ] docker - official docker library
[ ] other:

[ ] Windows, version:
[ ] MacOS, version:

Slow query only happen when UPDATE in some collection.
My update is simple:
FOR user IN @@collection
FILTER user._key == @key
UPDATE user WITH @patchData IN @@collection

took: 28.593268
Total Rows: ~5000
Total Size: ~33MB
if I try repeat same query:

took: 14.527 s
took: 18.125 s
took: 2.041 s

Last iteration is good.
FOR doc IN @@collection
FILTER doc._key == @key
UPDATE doc WITH {
    stats: {
        comments: doc.stats.comments + 1
    }
}
IN @@collection

took: 27.242827
Total Rows: ~10k
Total Size: ~65MB
I'm not using Transaction.
Another Issue,
I have collection with ~16mil rows, if my SELECT query running slow in that collection, it will make INSERT query in that collection become slow. It like locking.
Btw, I use Ubuntu 14.04 and my memory size >200GB

You should use db._explain() to get an insight of what queries are actualy doing.
Using indices for FILTERs is almost every time the problem.

@dothebart but in my first query, I just use _key for filter, which means it use attributes that already indexed.
this is output from explain.. I use editor query from web UI
Query string:
 FOR user IN @@collection
 FILTER user._key == @key
 UPDATE user WITH @patchData IN @@collection

Execution plan:
 Id   NodeType          Est.   Comment
  1   SingletonNode        1   * ROOT
  5   CalculationNode      1     - LET #5 = { "name" : "asd" }   /* json expression */   /* const assignment */
  7   IndexNode            1     - FOR user IN v1_users   /* primary index scan */
  6   UpdateNode           0       - UPDATE user WITH #5 IN v1_users

Indexes used:
 By   Type      Collection   Unique   Sparse   Selectivity   Fields       Ranges
  7   primary   v1_users     true     false       100.00 %   [ `_key` ]   (user.`_key` == "36955328")

Optimization rules applied:
 Id   RuleName
  1   move-calculations-up
  2   remove-data-modification-out-variables
  3   use-indexes
  4   remove-filter-covered-by-index
  5   remove-unnecessary-calculations-2

Write query options:
 Option                   Value
 ignoreErrors             false
 waitForSync              false
 nullMeansRemove          false
 mergeObjects             true
 ignoreDocumentNotFound   false
 readCompleteInput        true

And I think problem occurs randomly .. now I get same issue with INSERT and UPDATE query in another collection ..
do you think my version has bug so I need to upgrade it?

Sorry I did not come back to you on this one.
The cause of the problem is, that the mmfiles storage engine in arangodb needs a write lock on the collection to update the value.
While read locks are still in place, the write lock for the UPDATE can't be permitted. The write lock queues up for all existing readlocks to clear up, and will once it acquired the write lock update the value.
So if the read pressure is high on a collection, writes will become slower with the MMFiles storage engine.
The rocksdb storage engine available with ArangoDB 3.2 brings the cure to this behaviour.
I will flag this issue apropriately and close it.


Update cookie expiration time

The current cookie expires much too quickly. Make it so that once the cooie expires, an automatic redirect is performed to login, and increase cookie lifetime.

WONTFIX - 0.4 will have different setup.


No nodes responded

I get a No nodes responded error right off the bat in the example project. Any idea @mafintosh

Is there any solution for this error?

@Huddie have u found a solution for this?

This project now has build errors: https://travis-ci.org/github/mafintosh/peer-network

This project now has build errors: https://travis-ci.org/github/mafintosh/peer-network


Refactor TLS and Monitoring

@baluchicken
At this stage of the logging-operator we try to provide as failsafe configuration as possible. Since mTLS is a complex configuration and require deep knowledge of certificates etc we decided to postpone these kind of advanced features (like enable TLS only in 1 component). As we are proposing handling fluentbit and fluentd in CRDs (in usse: #30 ) I think we should return to this question when implementing that behaviour.


Render README.md on PyPI page

Also changes images links to absolute urls.
Should render like this.

Updated some of the links that didn't resolve on PyPI.

Awesome! Thanks Adam :)


Does it make sense to have multiple layers of KAN?

Does this structure makes sense or can the KAN layers be optimised/ replaced with one KAN layer but with a higher grid_size/  spline_order?
self.layers = torch.nn.Sequential(
                                  torch.nn.Linear(input_size, 1024),
                                  torch.nn.ReLU(),
                                  KAN([1024, 2048, 512],  grid_size=5, spline_order=5),
                                  KAN([512,  1024, 256],  grid_size=5, spline_order=9),
                                  KAN([256,   512, 128],  grid_size=10, spline_order=15),
                                  KAN([128,   256, output_size], grid_size=5, spline_order=3)
                                  )

I'm not sure if your problem is so complicated that you need a model of this size. usually, spline order (I guess you're using efficientKAN) should be <=3, otherwise this would lead to optimization issues.


REPO HAS MOVED

It appears that @buaazp is no longer supporting this repo.
Please see:
https://github.com/fasthttp/router

Per https://github.com/fasthttp/router/issues/5#issuecomment-489348729

And please say thank you to @buaazp for producing the first router for fasthttp!

@savsgio Please comment if this is an inaccurate issue, since @buaazp is clearly no longer maintaining. Obviously, this project is dead and they should move to the fork (that apparently was completely rewritten based on your comment on the pull req above).

Hi,
The fasthttp team maintain the official fasthttp/router.
I'm maintaining the router, improve it and fix serveral errors.
At the first, we fork this repository, but @buaazp never answered our invitation, so since few months I decide to take the control and rewrite the complete code and continue added more features, following the fasthttp philosophy.
Now the router it's standalone and not a fork of this repository, so I recommend to use the official router.
Thanks!

Also, @buaazp  are in the license as thanks for their effort.


enable eager segment initialization by default

Don't forget to document the change in the release notes.


Change regex to match relation-types w/o quotes in Link header

PR Summary
Change regex to match relation-types without quotes in Link header.
PR Context
Fixes #11629
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

Please review,
Thank you in advance

@Marusyk Thanks for your contribution.

Thanks for review and help


Broken dependencies in requirements-dev.txt

Pip is currently unable to install the required packages due to a missing version statement in the m2r package

I'm currently in the process of refactoring the codebase in #24, and this issue is already fixed in the new branch. There I'm using dependency pinning with poetry, so stuff like this won't happen in the future.


importing to node-red returns error of data type

Following all steps and model is populated properly but while doing test run it returns error
Error 400 An exception occurred during Scoring with message: Value for field name COLUMN2 with datatype ScalarType(string,true) is incorrect.

Which test where you running? The hard coded test?

No the first one run prediction
Error 400 An exception occurred during Scoring with message: Value for field name COLUMN2 with datatype ScalarType(string,true) is incorrect.

Please elaborate on 'No the first one run prediction' which test exactly.

Please accept apology,
I mean on the first step you run the hardcode test which is where you modify run prediction and provide credentials and select the model created on watson studio project

If you haven't modified the node with the hard-coded test then it will be building a test for the payload as below. All the columns are floating point / decimal numbers. It looks like you have created a model where column2, and I guess all the others, is a string. Check your data, and ensure that the model builder is picking up the columns as numbers and not strings.
msg.payload = {
    "fields" : [
"COLUMN2","COLUMN3","COLUMN4","COLUMN5","COLUMN6","COLUMN7","COLUMN8","COLUMN9","COLUMN10","COLUMN11","COLUMN12","COLUMN13","COLUMN14","COLUMN15","COLUMN16","COLUMN17","COLUMN18","COLUMN19","COLUMN20","COLUMN21","COLUMN22","COLUMN23","COLUMN24","COLUMN25","COLUMN26","COLUMN27","COLUMN28","COLUMN29","COLUMN30","COLUMN31","COLUMN32","COLUMN33","COLUMN34","COLUMN35","COLUMN36","COLUMN37","COLUMN38","COLUMN39","COLUMN40","COLUMN41","COLUMN42","COLUMN43","COLUMN44","COLUMN45","COLUMN46","COLUMN47","COLUMN48","COLUMN49","COLUMN50","COLUMN51","COLUMN52","COLUMN53","COLUMN54","COLUMN55","COLUMN56","COLUMN57","COLUMN58","COLUMN59","COLUMN60","COLUMN61","COLUMN62","COLUMN63","COLUMN64","COLUMN65","COLUMN66","COLUMN67","COLUMN68","COLUMN69","COLUMN70","COLUMN71","COLUMN72","COLUMN73","COLUMN74","COLUMN75","COLUMN76","COLUMN77","COLUMN78","COLUMN79","COLUMN80","COLUMN81","COLUMN82","COLUMN83","COLUMN84","COLUMN85","COLUMN86","COLUMN87","COLUMN88","COLUMN89","COLUMN90","COLUMN91","COLUMN92","COLUMN93","COLUMN94","COLUMN95","COLUMN96","COLUMN97","COLUMN98","COLUMN99","COLUMN100","COLUMN101","COLUMN102","COLUMN103","COLUMN104","COLUMN105","COLUMN106","COLUMN107","COLUMN108","COLUMN109","COLUMN110","COLUMN111","COLUMN112","COLUMN113","COLUMN114","COLUMN115","COLUMN116","COLUMN117","COLUMN118","COLUMN119","COLUMN120","COLUMN121","COLUMN122","COLUMN123","COLUMN124","COLUMN125","COLUMN126","COLUMN127","COLUMN128","COLUMN129","COLUMN130","COLUMN131","COLUMN132","COLUMN133","COLUMN134","COLUMN135","COLUMN136","COLUMN137","COLUMN138","COLUMN139","COLUMN140","COLUMN141","COLUMN142","COLUMN143","COLUMN144","COLUMN145","COLUMN146","COLUMN147","COLUMN148"
        ],
    "values" : [
        [-0.00929208493488077,-0.035302459230510876,-0.004403478001268799,0.032802179348434525,0.018434899429040565,-0.005672276747397097,-0.04627383662350263,-0.02694331455013621,-0.009553308206142478,-0.043363063029443594,-0.056051050490726576,-0.019069298802104714,0.009702578646863455,0.019479792514087397,-0.0380266447736687,-0.03306340261969624,-0.022838377430309365,-0.023136918311751315,-0.026085009515990597,-0.009478672985781991,-0.10251147516513043,0.045937978131880434,-0.01664365414038885,0.00671716983244393,-0.023584729633914243,-0.06291749076389148,-0.07023174235921932,-0.02474157554950181,0.0204127327685935,-0.00910549688397955,0.04519162592827555,-0.05392394671045266,-0.04190767623241408,-0.0743739970892264,-0.04295256931746091,-0.08206142478635668,-0.01526290256371982,0.03563831772213307,-0.11527409784677389,-0.024293764227338883,0.015859984326603724,-0.012837257902003955,-0.06825390901966638,-0.07579206627607568,0.013695562936149569,0.07556816061499422,-0.012613352240922492,-0.03354853155203941,-0.03522782401015039,0.005112512594693436,-0.04119864163898944,-0.022203978057245215,-0.051013173116393626,-0.08127775497257156,0.02309960070157107,-0.022129342836884724,-0.09904093741836772,-0.11766242489830951,-0.1873717207150054,-0.2442064410195171,-0.07280665746165615,-0.021047132141657647,-0.1833787364257193,-0.11385602865992461,0.24831137813934395,0.22032317050416092,0.14598649102511474,-0.04825166996305556,-0.15345001306116357,-0.2046497742284584,-0.0743739970892264,0.18289360749337613,-0.02186811956562302,0.4897189983953428,0.11437847520244804,-0.507183639959697,-0.31003470537746763,-0.05314027689666754,0.20117923648169572,-0.11154233682874949,0.2390192932044632,-0.09415233048475576,-0.1797216106280554,0.20729932455125574,0.2560361234466545,-0.4102324887114229,-0.16151061686009627,0.012016270478038587,0.08041944993842594,-0.1369556293614957,0.15367391872224503,0.25540172407359035,0.05433444042243535,-0.392506623875807,-0.0564988618128895,0.3114527745643169,0.07422472664850543,-0.36022689106989586,-0.18341605403589953,0.027391125872299138,-0.034817330298167706,0.01903198119192447,-0.14426988095682353,0.34537448221815875,0.20927715789080867,-0.26864947568757697,-0.1981938276672762,-0.1455386797029518,0.4133671679665634,0.598313244019853,-0.1708400194051573,-0.5391275142739859,-0.5008023286188752,-0.34731499794753146,-0.210396686196216,-0.2355487554577005,-0.2037914691943128,0.08840541851699817,0.11885658842407733,0.24424375862969736,0.13285069224166884,0.03306340261969624,0.12023734000074635,0.10314587453819457,0.12497667649363735,-0.05000559764152704,-0.07885211031085569,0.05373735865955144,0.17195954771056463,-0.025077434041124006,-0.06900026122327126,-0.07780721722580886,0.018994663581744224,0.0442960032839497,0.3780647087360525,0.3271261708400194,0.00772474530731052,0.0719110348173303,-0.35556218979736537,-0.12952942493562714,-0.004813971713251483,-0.12482740605291637,0.2114042616710826,0.04519162592827555,0.2314065007276934,-0.044072097622868234,0.0954584468410643]
    ]
};
return msg;


Help traditional RPG coders discover the RPG column assistant feature

The column assistant feature is great, but people might not find it or know it exists. I didn't till I asked you.
Suggestion: When user is in an RPG source member, add something like this to the right-click menu:
Prompt........................Shift+F4
That prompt option could trigger the column assistant.

Yes, very good idea. A nice simple change:
			"editor/context": [
				{
					"command": "code-for-ibmi.rpgleColumnAssistant",
					"group": "1_rpgle",
                                         "when": "editorLangId == rpgle"
				}

@briangarland
Maybe we should use the same group name so the convert and this menu item are in the same group?
What do you use?

I'm currently using "group": "1_rpglefree@1".
I'm open to changing mine.

Perhaps 1_rpgle so then we can group them together?

Sounds good.   I've made the change and it will be in 0.0.13 when (already uploading)

@BrianGarland Looking good!


⚠ ClamAV has degraded performance

In e7156d1, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 442 ms

Resolved: ClamAV performance has improved in 19fe25e.


pagination API

Great plugin!
Can we have support for web API's with pagination?
In that case we can loop the url like:
url?page=1
url?page=2
.
.
.
Thanks :)

I created simple web service for this problem. it combines all pages and outputs them in the plugin's desired format.
https://github.com/TheHaskor/GitAPI
:)


MM-17767: Changes for the removal of ExperimentalLdapGroupSync config.

Summary
Changes for the removal of the ExperimentalLdapGroupSync config.
Ticket Link
https://mattermost.atlassian.net/browse/MM-17767
Related Pull Requests

Has server changes: https://github.com/mattermost/mattermost-server/pull/12388

QA can test these after merge (removing test steps required to enable the feature, then verifying the feature as usual, will cover the changes).


ImagesTable: Fix the GCP launch link

This fixes the bug when Launch button got replaced with Image command button even in the Preview.

I think that would be correct! :)
And we'll work on adding the launch commands on our side, when there is no source to launch directly :)


Web console password protection

It would be nice if there was an option to protect web console with basic auth, nothing fancy and really secure - just to stop curious eyes.
I'll work on in, but would love to hear comments from others - how would you see it in the web ui?
My personal rationale: I'm using QLC+ in my company for controlling architectural lighting and web console is great tool for that. More often than not clients put these drivers in the same network that clients can access, that creates a risk that someone might try to be funny and for example changes the IP address or plays with simple desk. I would live it if it made it's way into master, cause I don't really have the time to figure out ARM builds myself.

Such a feature would be great. But still in most cases the user don't want authentication by default so it should be adjustable somewhere - maybe another command-line-parameter?
Maybe it could be done by configuration of the web server (I don't know how the web server is implemented at the moment) to require an authentication.

I though about adding tab in settings that would allow setting of username and password and if they are empty don't require authentication.
I like the idea of overriding credentials from command line, might be useful.

Sorry, but I have no plans in taking an adventure through this.
And by the way, as explained before, features request go through the forum, not here

Implemented by #980 ! :+1:


npm run watch equivalent with SvelteKit

Hi.
Thanks for this very interesting library. I'm having a play with it with Sveltekit. I'd love to work out how to achieve a npm run watch script which would detect changes to GraphQL query instructions in .svelte files, and would run houdini generate and then restart the sveltekit server (or, ideally, somehow inform Vite that the files have changed).
It seems like it'd be simple, and indeed it mostly works with something like chokidar or nodemon, except that because Houdini seems to replace all the files in $houdini, rather than just the files which have changed, the sveltekit server restarts far too often.
I wonder if it's possible to improve the writing of files to only update the changed ones, or if you know of a solution to achieve the same effect?

Hey @georgecrawford!
This is something I'm definitely interested in. Atm running generate replaces the environment file in a way that vite really doesn't like so i frequently have to restart vite while working on the example. It's a big thorn in my side haha.
I think it would be a great improvement to the generation logic to see if the existing file matches what would be written and only update the necessary files - i just haven't gotten to it yet. If you wanted to try to add it, I'd love to review a PR.

I could certainly take a look. Could you point me to the code locations from which the various files are written?

George

On 17 Jun 2021, at 20:56, Alec Aivazis @.***> wrote:

Hey @georgecrawford!
This is something I'm definitely interested in. Atm running generate replaces the environment file in a way that vite really doesn't like so i frequently have to restart vite while working on the example. It's a big thorn in my side haha.
I think it would be a great improvement to the generation logic to see if the existing file matches what would be written and only update the necessary files - i just haven't gotten to it yet. If you wanted to try to add it, I'd love to review a PR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Yea, absolutely! Anything that's generated from the compiler comes from this directory. At the moment, there are three things that are written to disk: the artifacts for the documents found in a project, the type definitions, and the runtime.
Let me know if you need any other guidance. Probably worth mentioning you can always reach out to me on the Svelte discord if you prefer chatting there.

I’m not hugely familiar with lerna or yarn workspaces. Could you list the steps I need to run after cloning the repo to get the example working with the local version of houdini please?

George

On 17 Jun 2021, at 23:25, Alec Aivazis @.***> wrote:

Yea, absolutely! Anything that's generated from the compiler comes from this directory. At the moment, there are three things that are written to disk: the artifacts for the documents found in a project, the type definitions, and the runtime.
Let me know if you need any other guidance. Probably worth mentioning you can always reach out to me on the Svelte discord if you prefer chatting there.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I've got houdini working from the local repo checkout - some combination of yarn and npm install, and npm link. So I'll take a look at only writing changed files now.

@AlecAivazis This approach seems to work well for me. WDYT? https://github.com/AlecAivazis/houdini/pull/97

PR was merged, thanks @AlecAivazis!


gigablah/sphinxphp

Changed Sphinx client API to gigablah Sphinx Search PHP 5.3+ API with PSR compliance due already defined searchd status codes exceptions and cleaned up .gitignore file.

Hi, please resolve conflicts


Fix autodiscovery Opensearch tag

References

Fixes https://github.com/DSpace/dspace-angular/issues/791
Requires https://github.com/DSpace/DSpace/pull/9058

Description
The RSS component injects link tags into the document header. One of them is for autodiscovery and is incorrectly formatted (as explained in the issue).
This PR

changes the value for the href and type attributes of the autodiscovery tag (lines 97-98)
reformats the code to improve readability
makes minor changes to documentation

Instructions for Reviewers
You need to add two variables to the whitelist of exposed variables in the REST API. See DSpace PR 9058.
Open up the main landing page and inspect the html.
Where it said:
<link href="https://sandbox.dspace.org/server/opensearch/search/service" type="application/atom+xml" rel="search" title="Dspace">
it will now read:
<link href="https://sandbox.dspace.org/server/opensearch/service" type="application/opensearchdescription+xml" rel="search" title="Dspace">
For consideration:

According to the spec, the value for the title attribute, which I have left unchanged is currently "Dspace" (and should probably by DSpace, with a capital S?) but " may contain a human-readable plain text string describing the search engine." It would be possible to fetch a value from config such as dspace.name.
I've hardcoded the URL to be environment.rest.baseUrl + '/opensearch/service', I'm not confident this should not be configurable under Opensearch configuration settings

Ah, good catch @J4bbi! Before, my site was adding the incorrect link:
<link href="http://localhost:8080/server/opensearch/search/service" type="application/atom+xml" rel="search" title="Dspace">

After, the link is correct:
<link href="http://localhost:8080/server/opensearch/service" type="application/opensearchdescription+xml" rel="search" title="Dspace">

And I was able to see that Firefox now detects the OpenSearch endpoint and offers to add my repository as a search engine when I type in the URL bar.

Having another look at the config.
the title attribute should probably be set as websvc.opensearch.shortname

I agree. In fact, looking at my DSpace 6 instance, I see that the OpenSearch functionality sets both the short and long names.

I'm converting this to draft as it is apparent that a parallel PR for the backend is required to expose more opensearch configuration variables.
There are also other issues I'll go into in more detail when I have time tomorrow or later in the week.

I think the configuration rest endpoint  is inefficient.
It was created for a single use case, back in 2020. To pass the Google Analytics key to the front end from the backend. By now there are 17 backend configuration variables exposed via the rest end point

You can only get one variable per request at the moment, the findAll is not implemented. You have to make a separate call for each config you want, this creates overhead that puts the webserver to work. I've been looking at the RSS component, which is embedded by the way in every single Pagination component, it makes two requests for metadata properties every single time it's loaded, and will likely need to make three or more if the current approach is used.
Another issue is that this call for the Google Analytics key is being made on every single load of a page because the front end does not know if GA is enabled and needs to ask the backend every single time.

It's not surprising that the new frontend is resource intensive if it is making several requests per page load
Example:
https://sandbox.dspace.org/browse/dateissued, half a sec wasted on GA. There is also another request for a metadata property there, registration.verification.enabled taking 185 ms and 1.1 kb, bandwidth and resources

Solution: have all config in a bundle and check there, no need for separate API call resulting in console error. It could possibly be exposed via /server/api endpoint
it already has:
{
  "dspaceUI" : "https://sandbox.dspace.org/",
  "dspaceName" : "DSpace Sandbox",
  "dspaceServer" : "https://sandbox.dspace.org/server",
  "dspaceVersion" : "DSpace 8.0-SNAPSHOT",
  "type" : "root",
}

why not add
{
  "dspaceUI" : "https://sandbox.dspace.org/",
  "dspaceName" : "DSpace Sandbox",
  "dspaceServer" : "https://sandbox.dspace.org/server",
  "dspaceVersion" : "DSpace 8.0-SNAPSHOT",
  "type" : "root",
  "configuration" : [
    {
       "name": "google.analytics.key",
       "values": [
           "UA-XXXXXX-X"
      ]
   }]
}

If the config is delivered via one call, you would also get rid of the 404 error in the console if GA key is not defined,
this 404 will appear for any repo that doesn't have GA configured

Thanks @J4bbi. I've applied this patch along with https://github.com/DSpace/DSpace/pull/9058, but I still see "DSpace" instead of my site's name in the OpenSearch head tags.
I have verified that the backend correctly exposes websvc.opensearch.shortname with my site name. I tried shift refreshing...

I've now gone away from trying to set variables in the component's outer scope from an inner scope ca22491
Over to using combineLatest, which if I understand correctly combines getting four configuration properties along with pagination search options, to action on all of them at once.
All of the action therefore happens within the scope of that combined subscription as I understand it (L64-100).
I am not certain I am now doing things the right way, now that switchMap is not being used.
I readily admit I don't have a good understanding of how Angular works at this level.
Changes to code behaviour from the earlier version are:

code stops executing if websvc.opensearch.enable is not "true" (L81-83)
code now respect websvc.opensearch.autolink , as to whether a link tag is inserted for autodiscovery
code now respects websvc.opensearch.shortname to be the description of the service for autodiscovery

Potential problems

is the code resilient for low or no latency, what if these configuration settings are commented out completely?
as I do not fully understand switchMap functionality I can not say if the code works as before
I don't fully understand the ondestroy code (L52-57). A when does that happen? Presumably the RSS component will not be toggled on and off? B is it necessary to unsubscribe from all subscriptions? my understanding is that some only live to deliver a single value and then self-unsubscribe? C the code indiscriminately removes all tags with rel='alternate', is that definitely safe? If it is cleaning up after itself, this component ejects 2 or 3 link tags into the header, two of which will have rel='alternate' but the optional third, the autodiscovery tag, has rel='search'.

is the code resilient for low or no latency, what if these configuration settings are commented out completely?

I'd urge you to write tests for those cases in the spec file. If you use observableOf to mock the output of findByPropertyName (or more likely createSuccessfulRemoteDataObject$ since you need a RemoteData, but that uses observableOf internally) it will emit without latency, so you can verify what would happen.

as I do not fully understand switchMap functionality I can not say if the code works as before

A switchMap maps the source to another observable. Every time the source observable changes, it will unsubscribe from the previous mapped observable, and subscribe to the new one.
In this example openSearchUri comes from the source observable, and is used to do another call that results in an observable:  that this.searchConfigurationService.paginatedSearchOption call. So if the source observable were to emit an updated openSearchUri value, switchMap would do a new call using that value, and stop emitting responses from the call using the old URI. That's as a opposed to mergeMap, which would simply keep emitting all values from all previous calls combined. In this case the difference doesn't matter as the source observable will only emit once anyway. But in most cases you're only interested in the most recent data, so you need a switchMap when turning one observable into another. That's probably why the original dev chose it.

I don't fully understand the ondestroy code (L52-57). A when does that happen? Presumably the RSS component will not be toggled on and off?

ngOnDestroy is the cleanup method for a component. It will be executed whenever that component stops being rendered, so in this case probably when you navigate from a page that has an RSS component, to a page that doesn't

B is it necessary to unsubscribe from all subscriptions? my understanding is that some only live to deliver a single value and then self-unsubscribe?

Strictly necessary no, but it's good practice. Because even if an observable will only emit once and then complete, if for some reason it never emits, the subscription remains open, in browser memory, indefinitely

C the code indiscriminately removes all tags with rel='alternate', is that definitely safe? If it is cleaning up after itself, this component ejects 2 or 3 link tags into the header, two of which will have rel='alternate' but the optional third, the autodiscovery tag, has rel='search'.

No, that's not safe. The better solution would be to give the tags added by this component a unique class, that way we can remove only the ones with that class at the end. This is the way ThemeService does it


Body Behavior: 'WorldModelCapsule' object has no attribute 'goal_width'

Expected behavior

The class variable goal_width should be initialized in the WorldModelCapsule.
Current behavior

The class variable goal_width in the WorldModelCapsule is used in the methods get_map_based_opp_goal_left_post_uv() and get_map_based_opp_goal_right_post_uv(). However, this variable is not initialized.
Steps to Reproduce

...
Context (Environment)

[ ] RViz
[ ] Simulator
[ ] Robot
[ ] Local

Possible Solution

Closed by #79


up-to-date README

Hi! Thanks for the very useful software!
The README description was outdated and hard to understand how to use, so I try to update it.

remotedev-server integrated into redux-devtools
remotedev.io is no longer working

I would be happy if you merge it.

LGTM


Can't Access Ledger Wallet with Local copy of MEW

Hi,
I downloaded the latest v3.21.09 version of MEW and I am trying run a local copy to view my  erc-20 tokens on my ledger nano s.
I click on: view wallet info > Ledger Wallet
I then click on the "connect to ledger wallet" button and nothing happens. I have my ledger hooked up with the Ethereum app running and browser support on.  Is there something else I need to be doing?
Thanks

Try this link: https://www.myetherwallet.com/

On Friday, May 4, 2018 at 10:28 PM, nycbrian<EMAIL_ADDRESS>wrote:

Hi,
I downloaded the latest v3.21.09 version of MEW and I am trying run a
local copy to view my erc-20 tokens on my ledger nano s.
I click on: view wallet info > Ledger Wallet
I then click on the "connect to ledger wallet" button and nothing
happens. I have my ledger hooked up with the Ethereum app running and
browser support on. Is there something else I need to be doing?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kvhnuke/etherwallet/issues/1826, or mute the
thread
https://github.com/notifications/unsubscribe-auth/Ak4Xjer-4OBb97eokRINCfg_Z2PN0fJQks5tvGWHgaJpZM4TyvmT.[Ak4XjWiDHSuyT5CnmIPg9aHLkrPalbKsks5tvGWHgaJpZM4TyvmT.gif]

I was hoping to run this off my computer locally on my machine.


User Login/Sign Up toast message for Errors

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
As of now when click on login , I have not created account , it should say account does not exist but it did not respond me.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Adding Toast message for proper logic
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

My self Harsh Upadhye , I have participated in GSOC 23 last year, I have good experience of working on open source projects. Please Assign this to me

I request you to please describe  the problem and solution in details you are providing ........

I want to work on this issue. Can you assign this issue to me under GSSoc'24?
I would add the messages in the toast form using react libraries needed while sign up/login and also for the errors occurred during the signup

@SumitKumar-17 Good to know that you are willing to work on this
@Harshu467 are you working on this problem??

@thestarsahil If assign to me I am happy to work

@Harshu467 Okay Go ahead I am assigning you !
@SumitKumar-17 Can you please raise a new issue for another problem !

Hey @thestarsahil
Can this issue be assigned to me for gssoc '24
Regards,
V Meenakshi Iyer


Improving performance of bedtools jobs for coverage calculation

Hi,
How fast should creating the coverage bed files be after the read mapping stage for a bwa + freebayes pipeline? Say percentage wise of the total workflow.
In my experience this is now taking longer than the mapping stage, and maybe even as long or longer than the mapping + variant calling stages combined. And increasing the the total number of  available of slots that can be used does not help much, or even hurts the  coverage calculation speed.
Are there known things that I can look in to for speeding up this bedtools coverage calculation stage ? Did much change for this bedtools stage in recent bccbio releases?
Maybe lowering the cpu per bedtools job? Or lowering the total amount of cpu for all bedtool jobs?
Any tips for fixing or trouble shooting this performance issue are welcome.
Thanks.

The issue seems to be related to a set of our nodes.

Thanks for reporting the issue, and following up with the system specific details. Although this was related to specific hardware here, we do appreciate the general issue. This set of steps is more IO intensive, so will tend to bottleneck on disk or shared filesystem throughput.
I pushed some changes that will avoid doing the callability calculations on the smaller chromosomes (all of the alternative alleles and extra chromosomes for human), which will hopefully somewhat mitigate the problem by doing less work. Hope this helps some and thanks again for the report.


Create functions to only return property values

Hello,
We are using neat system and we like it, because it is easy, but, there are some issues with it, compared with other grid systems, for example: susy.
Every time, then you want to redeclare column width, you have to use span-columns() include and already added properties like float, display block, margins will be added:
http://prntscr.com/779785

Why display block is added with span-columns include? Float converts item to block anyway.
Read more, here: http://stackoverflow.com/questions/6372021/redundant-css-rules-ie-float-displayblock
Maybe this can be configured from neat config?

Adding functions to neat, to return just a width of columns, would be great, because now I have to override columns width like this and I'm not even sure if this will be supported with next neat version, because it's unofficial:
width: flex-grid(7) + flex-gutter();
If I will use span columns, include will make code too redundant width floats, display blocks and etc. This will be nightmare for someone to inspect and additional KB's to load for end user.

It would be awesome, to make these improvements.
Thank you!

@VaclovasV I am just looking into this. You like it pretty well?
Also to make sure I understand, is flex-grid your custom function names? If so are you using flexbox with this? If so how does that work?

flex-grid is an non documented, internal neat function, which returns width of grid column, it has nothing to do with flexbox :)
You can find it here:
https://github.com/thoughtbot/neat/blob/2875ee28b844e6a4bb3506b909661d9d3a484a82/app/assets/stylesheets/grid/_private.scss
Why it's private? Why people can't get just width of column width?
It would be great, to make them public and make other dimmension as returnable with functions.

ahh gotcha, thanks for the info i appreciate it!
I will be starting a app soon and i am looking to shake up my frameworks. Would you recommend this?

You can choose between susy and neat, you will win in both ways :)
Susy is more advanced, you can have every dimmension returned with function and use it in every css property. Neat is more limited, but it is easier and compiles faster, stacks with bourbon. Compilation time is not a factor, then you are using libsass.
We have a boilerplate, where you can try neat (spriting and some other features are included too):
https://github.com/devbridge/Front-End-Toolkit

That is awesome, thank you!

Months later, I must thank you for FET!

Glad you found those functions useful. For the current version it is fine to use those undocumented internal functions as the code base is quite stable.
Great solution, closing for now.


Is It Limited to 2 Line Displays

Hi,
Just trying this out with a 20x4 display and can only print on two lines.
attempting to use lcd.gotoxy(0, 2); results in:
{System.IndexOutOfRangeException: Index was outside the bounds of the array.
at displayI2C.displayI2C.gotoxy(Byte x, Byte y)
at myapp1.StartupTask.Run(IBackgroundTaskInstance taskInstance)}
Not sure if i've missed something or there's a bug.
Richie

Hmm, I've seen the closed issue on this and also another article, which says the following should work:
byte[] llineaddress = new byte[] { 0x00, 0x40, 0x80, 0xC0 }; //here you can define start address of each line.
displayI2C lcd = new displayI2C(DEVICE_I2C_ADDRESS, I2C_CONTROLLER_NAME, RS, RW, EN, D4, D5, D6, D7, BL, llineaddress);
Unfortunately it still only uses the first two lines, so not sure what to try next

After further research i came to this page: http://www.microchip.com/forums/m102011.aspx
Which led me to try the following, which works:
byte[] llineaddress = new byte[] { 0x00, 0x40, 0x14, 0x54 }; //here you can define start address of each line.
displayI2C lcd = new displayI2C(DEVICE_I2C_ADDRESS, I2C_CONTROLLER_NAME, RS, RW, EN, D4, D5, D6, D7, BL, llineaddress);