Searchbar is not working

I have cloned the Doc Template shared in Github and I have noticed that it is not working. When I write to search for something the application does not show anything other than the first page (Introduction, etc...)
However, in the demo version deployed in Vercel it does work.
Can someone help me solve this problem?

The search function searches only if all the pages are compiled, which is not the case when you're running the development server, but explains why it works on Vercel. If you build your application locally and boot it with npm run start rather than npm run dev, you'll see it working locally too.

The search function searches only if all the pages are compiled, which is not the case when you're running the development server, and explains why it works on Vercel.
If you build your application locally and boot it with npm run start rather than npm run dev, you'll see it working locally too.

Did not work for me.
I have around 80 pages, specific documentation with different methods.
Search finds some previously created pages, but does not see new ones.
Yet I see SSG works fine and I've HTML/JS chunks in .next/server/pages folder.

It seems that for some reason no data being passed into chunks/nextra-data-en-US.json` for new pages.
Any idea why that could happen?
Pages on SSG are fully populated with content.

Did not work for me. I have around 80 pages, specific documentation with different methods. Search finds some previously created pages, but does not see new ones. Yet I see SSG works fine and I've HTML/JS chunks in .next/server/pages folder.

One thing you could consider trying is removing the node_modules & .next folders and re-run npm i before building and starting. Might be something related to cache. I have automated this process by creating a pre-build script (TS + esno).

Looks like pure on-page Markdown content is being parsed and okay for search and nextra-data.
However I have .tsx components rendered on the whole page, and they seem to be omitted by search/nextra data json.


Overviewer readme update

Updated the docs to include instructions on setting up Overviewer; this includes much of the same README language as pull request #160 except:

it includes a link to a script in the README that the user can run in order to patch Overviewer
I removed the wording on creating a mscs.defaults file if one wasn't already created, as #166 satisfies this
fixed some typos

@zanix I'm not sure if I incorporated all of your comments from the last pull request into this one; I apologize if I haven't--please update it as you see fit

@Roflicide ok, I will try to take a look this weekend.

This looks good. Thanks. I want to take a closer look at it again later this weekend though.

I think you got all my comments from the other PR. Hopefully I can review this PR entirely tomorrow.

I had a chance to look over this again, and I like the changes.  I'll wait for @Zanix to give comments before accepting this change.  It would be nice to get my pull request (#166) in first since the wording here assumes that it is already in.

Finally had a chance to review, I think it looks good. @sandain I agree with getting that other PR in first.


should change URL

Prerequisites

[ ] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
[Description of the issue]
In file atom/apm/package.json line 6, there are URL, "https://github.com/atom/atom.git".
But if we go to that site, the  URL changes to "https://github.com/atom/atom". Maybe the url has changed.
So we should change URL to it.
Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expect to happen]
Actual behavior: [What actually happens]
URL changes to "https://github.com/atom/atom
Reproduces how often: [What percentage of the time does it reproduce?]
now, every time.

The actual URL for getting a Git repository from GitHub is https://github.com/user/repo.git.  The URL where the repository is on the GitHub website is https://github.com/user/repo.
However, you are able to clone a repository with the URL without the .git and if you visit the URL with the .git in the browser it redirects to the one without it - you can use the .git and the URL without .git for both visiting a project on the GitHub website and retrieve a repository.
Bottom line - you can use both URL's. In the package.json file you should officially specify the URL with .git - that is because that URL should point directly towards a repository. When you visit it with a web browser, though, GitHub redirects you towards the project page (the URL without .git) - but that is just a convenience feature.

Thank you @mpboom for the detailed explanation :sparkles:.


MI - Configuration Catalog

This Epic is to track the doc issues for documenting the toml config parameters. See the attached issues for the progress of each toml section.

Completed during the EI 7.0.0 release cycle.


Fix tests

Looks like there was a minor hash discrepancy in the tests.

Current coverage is 95.41% (diff: 100%)

Merging #93 into master will increase coverage by 19.84%

@@             master        #93   diff @@
==========================================
  Files             2          2
  Lines           131        131
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits             99        125    +26
+ Misses           32          6    -26
  Partials          0          0

Powered by Codecov. Last update fb78af4...9f216ad

hey thanks @bcomnes :smile_cat:


Catalog app refactoring

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #1585
Description

Rename questionnaire files in catalog app so that they are prefixed by [component|layout|behavior]
Move the boolean choice widget before the single choice widget

Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?
Type
Code health
Screenshots (if applicable)
Checklist

[x] I have read and acknowledged the Code of conduct.
[x] I have read the Contributing page.
[x] I have signed the Google Individual CLA, or I am covered by my company's Corporate CLA.
[x] I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach.
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the style guide of this project.
[x] I have run ./gradlew check and ./gradlew connectedCheck to test my changes locally.
[x] I have built and run the demo app(s) to verify my change fixes the issue and/or does not break the demo app(s).

Execution failed for task ':spotlessKotlinCheck'.
Can you please Run './gradlew :spotlessApply' to fix these violations.


Compare with original OpenSCM file

Something seem to have gone missing
1,3c1
< Source,https://www.ghgprotocol.org/sites/default/files/ghgp/Global-Warming-Potential-Values%20%28Feb%2016%202016%29_1.pdf,https://www.ghgprotocol.org/sites/default/files/ghgp/Global-Warming-Potential-Values%20%28Feb%2016%202016%29_1.pdf,https://www.ghgprotocol.org/sites/default/files/ghgp/Global-Warming-Potential-Values%20%28Feb%2016%202016%29_1.pdf,"AR5CCFGWP100 are AR5 100 year GWPs with climate carbon cycle feedbacks: https://www.ipcc.ch/site/assets/uploads/2018/07/WGI_AR5.Chap_.8_SM.pdf, Table 8.SM.16 and https://www.ipcc.ch/site/assets/uploads/2018/02/WG1AR5_Chapter08_FINAL.pdf , Table 8.7 (page 714)."
< OpenSCMMetricName,SARGWP100,AR4GWP100,AR5GWP100,AR5CCFGWP100
< OpenSCM species,,,,
---
> Species,SARGWP100,AR4GWP100,AR5GWP100,AR5CCFGWP100
86c84
< HFE365mcf3,,,1,1
---
> HFE365mcf3,,,,1

I was just about to open the same issue...

Thanks for checking! :-)
Should be fixed now (https://github.com/openclimatedata/globalwarmingpotentials/commit/f29a889762d391fdf5dd8b1eb7c35275e8d65f13):
wget https://raw.githubusercontent.com/openscm/openscm-units/master/src/openscm_units/data/metric_conversions.csv

diff metric_conversions.csv globalwarmingpotentials.csv
1,3c1
< Source,https://www.ghgprotocol.org/sites/default/files/ghgp/Global-Warming-Potential-Values%20%28Feb%2016%202016%29_1.pdf,https://www.ghgprotocol.org/sites/default/files/ghgp/Global-Warming-Potential-Values%20%28Feb%2016%202016%29_1.pdf,https://www.ghgprotocol.org/sites/default/files/ghgp/Global-Warming-Potential-Values%20%28Feb%2016%202016%29_1.pdf,"AR5CCFGWP100 are AR5 100 year GWPs with climate carbon cycle feedbacks: https://www.ipcc.ch/site/assets/uploads/2018/07/WGI_AR5.Chap_.8_SM.pdf, Table 8.SM.16 and https://www.ipcc.ch/site/assets/uploads/2018/02/WG1AR5_Chapter08_FINAL.pdf , Table 8.7 (page 714)."
< OpenSCMMetricName,SARGWP100,AR4GWP100,AR5GWP100,AR5CCFGWP100
< OpenSCM species,,,,
---
> Species,SARGWP100,AR4GWP100,AR5GWP100,AR5CCFGWP100


Update key.go

This method generated wrong address from public_key.

I found a bug on converting the public key to address. It's not very critical. You can merge this change later.
Better use crypto methods to use curve functionality.

This was working around the fact Tendermint used go-wire to compute addresses and I guess avoiding depending on it. This change makes sense. Could you fix the tests?
I think you probably just need to make fix to fix goimports issues and signoff for DCO with git commit -s --amend

@silasdavis. Please check it again. Thanks.


[Suggestion] Add support for Azure Blueprint artifacts

Blueprint artifacts contain full ARM templates (just nested in a JSON property), but the language server does not seem to work with these files.

Thanks @david-jarman - we will put this on the backlog and prioritize where it makes sense.

Blueprint Artifacts support would be awesome. Definitely needed. We are moving most of our templates to using Blueprints-as-code, and this is a missing feature.

@david-jarman / @HexagonSam we are going to close this in lieu of the upcoming template spec tech.
For information on tempalte specs, check out this video.


Unable to restrict the domain name of forward proxy

0. Before Your ASK

Try to find an answer by reading a FAQ.

Ⅰ. Issue Description
server {

   listen 3002;
   server_name sms.tencentcloudapi.com;

   # dns resolver used by forward proxying
   resolver <IP_ADDRESS>;

   # forward proxy for CONNECT request
   proxy_connect;
   proxy_connect_allow 443 80;
   proxy_connect_connect_timeout 10s;
   proxy_connect_read_timeout 10s;
   proxy_connect_send_timeout 10s;

   # forward proxy for non-CONNECT request
   location / {
       proxy_pass $scheme://sms.tencentcloudapi.com$request_uri;
       # proxy_set_header Host sms.tencentcloudapi.com;
   }
}

Ⅱ. Describe what happened
Ⅲ. Describe what you expected to happen
Proxies can be restricted normally
Ⅳ. How to reproduce it (as minimally and precisely as possible)

V. Anything else we need to know?
None
VI. Environment:
Nginx 1.19.2

Proxies can be restricted normally

It is as expected that proxied data  cannot be restricted via domain name. Note that we have no method to parse the proxied data in CONNECT tunnel.
Many people have asked why or how to parse, hijack, and intercept proxy data. This is practically impossible to achieve.
Because the proxied data can theoretically be in any forml; in fact, the vast majority of data is ssl encrypted.

The only data you can parse is the CONNECT request before the CONNECT tunnel is established.
You can check this request as following( note that I dont test the script, just for reference.

set $found "";

if ($request_method = "CONNECT") {
  set $found "1"
}

if ($connect_host = "xx.com") {
   set $found "2";
}

if ($found = "12") {
   return 403;
}

nginx 服务器只允许特定地址访问
map $host $tls_proxy_allow_url_flag {
default 0;
~^([\w|-]+?).googlesource.com$ 1;
~^([\w|-]+?).googleapis.com$ 1;
~^chrome-infra-packages.appspot.com$ 1;
}
例子
server {
if ( $tls_proxy_allow_url_flag != 1) {
      return 403 '{"status":"403","result":"no allow","message":"403"}';
}

}

Think it resolved. Feel free to reopen it if you still have same issue.
Open a new issue if you have any other problem.


PSAvoidAssignmentToAutomaticVariable Should detect auto-vars as function parameters

I did this recently and needed about 30 minutes to find my bug:
function Demo
{
    Param (
    [string] $input
    )
}

You can pass everything to this parameter, no warning, no error and $input is always $null !
See here, too:   https://github.com/PowerShell/PSScriptAnalyzer/issues/712 "New Rule Suggestion: AvoidReuseOfAutomaticVariables"

@madmidi in PSScriptAnalyzer 1.17.1 there is already a new rule PSAvoidAssignmentToAutomaticVariable that catches assignments against the automatic variables listed here
It was decided to first start only with the read-only automatic variables because they would always result in a runtime error. Others need to be carefully considered since sometimes assignment can be by design for some of the automatic variables. I am relatively sure that we could add $input to this list though. :-)
Thanks for the feedback

it's not about $input, but about auto vars in function parameters !

@madmidi A function parameter with a read-only automatic variable such as $error does warn, as I said, the $input variable is just not yet part of the list of variables to warn against:
function Demo
{
    Param (
    [string] $error
    )
}

Invoke-ScriptAnalyzer C:\Users\cberg\Desktop\a.ps1

RuleName                            Severity     ScriptName Line  Message
--------                            --------     ---------- ----  -------
PSAvoidAssignmentToAutomaticVariabl Error        a.ps1      4     The Variable 'error' cannot be assigned since it is a
e                                                                 readonly automatic variable that is built into PowerShell,
                                                                  please use a different name.

I did the exact same thing last night. Half an hour of my life wasted, but I suppose at least I know about $input now.
 They should have a differentiator in naming or syntax.

Should be fixed by https://github.com/PowerShell/PSScriptAnalyzer/commit/5d529a3215f8cbdaab3112f38f92310940b256f2


Small performance tweak

pruneSchema amortized time performance improvement: (N: No columns) From O(N^2) to O(N)

+1

:+1:


OpenAPI Documentation

Structure the code such that OpenAPI documentation can be generated from it.

relevant pr: https://github.com/os-climate/osc-geo-h3grid-srv/pull/3

closed as relevant PR has been merged: https://github.com/os-climate/osc-geo-h3grid-srv/pull/3


Halo man,I need some help!

while i make a Post_agent,i got a error.
It seems in the ruby?I never use ruby,so i need some help!😢
by the way, i use the docker for mac,so,i  don't know where to find .env file(the first time for docker and ruby...Zzz)
Here are the error:

Exception during check. request timed out: /app/vendor/bundle/ruby/2.4.0/gems/typhoeus-0.6.9/lib/typhoeus/adapters/faraday.rb:92:in block in request' /app/vendor/bundle/ruby/2.4.0/gems/typhoeus-0.6.9/lib/typhoeus/request/callbacks.rb:129:in block in execute_callbacks'
/app/vendor/bundle/ruby/2.4.0/gems/typhoeus-0.6.9/lib/typhoeus/request/callbacks.rb:128:in map' /app/vendor/bundle/ruby/2.4.0/gems/typhoeus-0.6.9/lib/typhoeus/request/callbacks.rb:128:in execute_callbacks'
/app/vendor/bundle/ruby/2.4.0/gems/typhoeus-0.6.9/lib/typhoeus/request/operations.rb:35:in finish' /app/vendor/bundle/ruby/2.4.0/gems/typhoeus-0.6.9/lib/typhoeus/easy_factory.rb:105:in block in set_callback'
/app/vendor/bundle/ruby/2.4.0/gems/ethon-0.7.1/lib/ethon/easy/response_callbacks.rb:65:in block in complete' /app/vendor/bundle/ruby/2.4.0/gems/ethon-0.7.1/lib/ethon/easy/response_callbacks.rb:65:in each'
/app/vendor/bundle/ruby/2.4.0/gems/ethon-0.7.1/lib/ethon/easy/response_callbacks.rb:65:in complete' /app/vendor/bundle/ruby/2.4.0/gems/ethon-0.7.1/lib/ethon/easy/operations.rb:25:in perform'
/app/vendor/bundle/ruby/2.4.0/gems/typhoeus-0.6.9/lib/typhoeus/request/operations.rb:16:in run' /app/vendor/bundle/ruby/2.4.0/gems/typhoeus-0.6.9/lib/typhoeus/request/cacheable.rb:18:in run'
/app/vendor/bundle/ruby/2.4.0/gems/typhoeus-0.6.9/lib/typhoeus/request/block_connection.rb:31:in run' /app/vendor/bundle/ruby/2.4.0/gems/typhoeus-0.6.9/lib/typhoeus/request/stubbable.rb:23:in run'
/app/vendor/bundle/ruby/2.4.0/gems/typhoeus-0.6.9/lib/typhoeus/request/before.rb:26:in run' /app/vendor/bundle/ruby/2.4.0/gems/typhoeus-0.6.9/lib/typhoeus/adapters/faraday.rb:68:in perform_request'
/app/vendor/bundle/ruby/2.4.0/gems/typhoeus-0.6.9/lib/typhoeus/adapters/faraday.rb:58:in call' /app/vendor/bundle/ruby/2.4.0/bundler/gems/faraday_middleware-59088da02940/lib/faraday_middleware/gzip.rb:24:in call'
/app/vendor/bundle/ruby/2.4.0/gems/faraday-0.12.1/lib/faraday/request/url_encoded.rb:15:in call' /app/vendor/bundle/ruby/2.4.0/gems/faraday-0.12.1/lib/faraday/request/multipart.rb:15:in call'
/app/vendor/bundle/ruby/2.4.0/bundler/gems/faraday_middleware-59088da02940/lib/faraday_middleware/response/follow_redirects.rb:78:in perform_with_redirection' /app/vendor/bundle/ruby/2.4.0/bundler/gems/faraday_middleware-59088da02940/lib/faraday_middleware/response/follow_redirects.rb:66:in call'
/app/app/concerns/web_request_concern.rb:26:in call' /app/vendor/bundle/ruby/2.4.0/gems/faraday-0.12.1/lib/faraday/rack_builder.rb:139:in build_response'
/app/vendor/bundle/ruby/2.4.0/gems/faraday-0.12.1/lib/faraday/connection.rb:386:in run_request' /app/app/models/agents/post_agent.rb:218:in handle'
/app/app/models/agents/post_agent.rb:156:in check' /app/app/jobs/agent_check_job.rb:7:in perform'
/app/vendor/bundle/ruby/2.4.0/gems/activejob-5.1.1/lib/active_job/execution.rb:37:in block in perform_now' /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/callbacks.rb:108:in block in run_callbacks'
/app/vendor/bundle/ruby/2.4.0/gems/i18n-0.8.1/lib/i18n.rb:257:in with_locale' /app/vendor/bundle/ruby/2.4.0/gems/activejob-5.1.1/lib/active_job/translation.rb:7:in block (2 levels) in module:Translation'
/app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/callbacks.rb:117:in instance_exec' /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/callbacks.rb:117:in block in run_callbacks'
/app/vendor/bundle/ruby/2.4.0/gems/activejob-5.1.1/lib/active_job/logging.rb:24:in block (4 levels) in <module:Logging>' /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/notifications.rb:166:in block in instrument'
/app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/notifications/instrumenter.rb:21:in instrument' /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/notifications.rb:166:in instrument'
/app/vendor/bundle/ruby/2.4.0/gems/activejob-5.1.1/lib/active_job/logging.rb:23:in block (3 levels) in <module:Logging>' /app/vendor/bundle/ruby/2.4.0/gems/activejob-5.1.1/lib/active_job/logging.rb:44:in block in tag_logger'
/app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/tagged_logging.rb:69:in block in tagged' /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/tagged_logging.rb:26:in tagged'
/app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/tagged_logging.rb:69:in tagged' /app/vendor/bundle/ruby/2.4.0/gems/activejob-5.1.1/lib/active_job/logging.rb:44:in tag_logger'
/app/vendor/bundle/ruby/2.4.0/gems/activejob-5.1.1/lib/active_job/logging.rb:20:in block (2 levels) in <module:Logging>' /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/callbacks.rb:117:in instance_exec'
/app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/callbacks.rb:117:in block in run_callbacks' /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/callbacks.rb:135:in run_callbacks'
/app/vendor/bundle/ruby/2.4.0/gems/activejob-5.1.1/lib/active_job/execution.rb:33:in perform_now' /app/vendor/bundle/ruby/2.4.0/gems/activejob-5.1.1/lib/active_job/execution.rb:22:in block in execute'
/app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/callbacks.rb:108:in block in run_callbacks' /app/vendor/bundle/ruby/2.4.0/gems/activejob-5.1.1/lib/active_job/railtie.rb:26:in block (4 levels) in class:Railtie'
/app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/execution_wrapper.rb:85:in wrap' /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/reloader.rb:68:in block in wrap'
/app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/execution_wrapper.rb:85:in wrap' /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/reloader.rb:67:in wrap'
/app/vendor/bundle/ruby/2.4.0/gems/activejob-5.1.1/lib/active_job/railtie.rb:25:in block (3 levels) in <class:Railtie>' /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/callbacks.rb:117:in instance_exec'
/app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/callbacks.rb:117:in block in run_callbacks' /app/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.1/lib/active_support/callbacks.rb:135:in run_callbacks'
/app/vendor/bundle/ruby/2.4.0/gems/activejob-5.1.1/lib/active_job/execution.rb:20:in execute' /app/vendor/bundle/ruby/2.4.0/gems/activejob-5.1.1/lib/active_job/queue_adapters/delayed_job_adapter.rb:36:in perform'
/app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/backend/base.rb:81:in block in invoke_job' /app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/lifecycle.rb:61:in block in initialize'
/app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/lifecycle.rb:66:in execute' /app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/lifecycle.rb:40:in run_callbacks'
/app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/backend/base.rb:78:in invoke_job' /app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/worker.rb:230:in block (2 levels) in run'
/usr/lib/ruby/2.4.0/timeout.rb:93:in block in timeout' /usr/lib/ruby/2.4.0/timeout.rb:103:in timeout'
/app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/worker.rb:230:in block in run' /usr/lib/ruby/2.4.0/benchmark.rb:308:in realtime'
/app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/worker.rb:229:in run' /app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/worker.rb:312:in block in reserve_and_run_one_job'
/app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/lifecycle.rb:61:in block in initialize' /app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/lifecycle.rb:66:in execute'
/app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/lifecycle.rb:40:in run_callbacks' /app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/worker.rb:312:in reserve_and_run_one_job'
/app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/worker.rb:213:in block in work_off' /app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/worker.rb:212:in times'
/app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/worker.rb:212:in work_off' /app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/worker.rb:175:in block (4 levels) in start'
/usr/lib/ruby/2.4.0/benchmark.rb:308:in realtime' /app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/worker.rb:174:in block (3 levels) in start'
/app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/lifecycle.rb:61:in block in initialize' /app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/lifecycle.rb:66:in execute'
/app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/lifecycle.rb:40:in run_callbacks' /app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/worker.rb:173:in block (2 levels) in start'
/app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/worker.rb:172:in loop' /app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/worker.rb:172:in block in start'
/app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/plugins/clear_locks.rb:7:in block (2 levels) in <class:ClearLocks>' /app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/lifecycle.rb:79:in block (2 levels) in add'
/app/vendor/bundle/ruby/2.4.0/bundler/gems/delayed_job-ec16c569ff0a/lib/delayed/lifecycle.rb:61:in `block in initialize'
/app/vendor/bundle

Hi @kejour,
the error means that the request timed out, i.e. it took too long to finish. It could either be caused by a slow website or a network issue.
You can pass any option of the .env file either as environment variable or use the --env-file flag to pass the variables from an external .env file.


Use existing API Gateway API when adding Lambda Api Trigger

Is it possible to add an ApiTrigger event or resource (to a Lambda Function) that adds a new endpoint to an existing API Gateway API?
Rather than having to create a new API whenever I deploy a single function, I would like to be able to create a new resource in an existing API that serves as a lambda trigger.

I'm a little late to write this reply, but the thing you want to do is possible. I don't know if you have a single template for your lambda functions or you create a new one for every function you deploy, but the idea is the same either way: have your API gateway and lambda permissions in a separate template from your lambda functions.
The SAM properties of an API gateway resource allow you to define the structure of your API gateway using OpenAPI, which I think gives you more control. Among many other things, OpenAPI allows you to integrate lambda as the backend for your API methods. Once you do that, you need to provide your API Gateway with permission to call your lambda functions. You do that by using the AWS::Lambda::Permission resource from CloudFormation.
The advantage of this approach is everytime you create a new Lambda function you can integrate it to your existing API gateway instead of letting SAM create a new one. All you have to do is add the path, method and integration to your API Gateway template as well as a new permission for the new lambda function. The disadvantage that resources that SAM creates implicitly such as the lambda permissions and API configuration must be configured explicitly by you.
If you are still interested in an answer I hope this helps.


ntsmEval -a flag filters pairs in PCA projection mode

Hi Justin,
ntsm is a very neat tool!  It's nice to see something faster and lighter than even somalier and works across sequencing platforms.
I was recently testing ntsm (commit 3308a45) out on some Illumina HGDP data (from Bergström et al. 2020 Science) and noticed something a bit wonky:
When the -a flag is set and PCA projection mode is enabled with -n [path to centering file] -p [path to rotation matrix], ntsmEval outputs only a subset of the pairs that it should. Specifically, it seems as though the output pairs are those with the lowest scores (the parent-offspring pairs in my limited tests).
The -a flag works as intended if -n and -p are omitted, and setting -s to rather large values (e.g. 1000.0) in PCA projection mode doesn't seem to recover any of the missing pairs even though the scores without PCA projection are far less (i.e. < 3).
The smallest test I was able to run to reproduce this problem uses HGDP00490, HGDP00661, and HGDP00662. HGDP00490 and HGDP00662 are parent-offspring, while any pairs with HGDP00661 are unrelated -- this can be confirmed with somalier on the BAMs and KING on the variant calls.

Specify -p (--pca) to enable faster comparisons.
sample1	sample2	score	same	dist	relate	ibs0	ibs2	homConcord	het1	het2	sharedHet	hom1	hom2	sharedHom	n	cov1	cov2	errorRate1	errorRate2	miss1	miss2	allHom1	allHom2	allHet1allHet2
counts/HGDP00490_counts.txt	counts/HGDP00661_counts.txt	2.428160	-1	0.045859	4852	58387	0.554270	26734	28101	10930	69480	68113	47457	96214	32.937437	48.058357	-0.001015	0.001587	52	53	69497	68132	26738	28102
counts/HGDP00490_counts.txt	counts/HGDP00662_counts.txt	1.192728	-1	0.498989	29	69519	0.807026	26738	26706	13384	69486	69518	56135	96224	32.937437	35.598170	-0.001015	-0.002111	52	48	69497	69533	26738	26706
counts/HGDP00661_counts.txt	counts/HGDP00662_counts.txt	2.554406	-1	0.024455	5083	57968	0.542949	28101	26702	10819	68115	69514	47149	96216	48.058357	35.598170	0.001587	-0.002111	53	48	68132	69533	28102	26706
Time: 0.223604 s Memory: 26368 kbytes

(The counts files were generated with ntsmCount -t 4 -s ${NTSMSITES} [FASTQs] > [sample ID]_counts.txt run via a small Nextflow pipeline.)
In case it helps for reproducing the issue, I've attached a small table with the relevant FASTQ URLs, file sizes, MD5 checksums, and renamed FASTQs by HGDP sample ID.
ntsm_HGDP_PCAall_test_samples.txt
Hopefully there's a simple fix for this. I took a glance through the source, but didn't see any obvious culprit.
Best regards,
Patrick Reilly

Hi Patrick,
Thanks for the report. Actually, I had no idea for a moment why this would be happening initially. I looked into it and remembered that the -a flag wouldn't work using the PCA heuristic by design, but seeing as I even forgot why this was happening I think I should probably clarify this behaviour in the documentation. In addition I should perhaps also make clear that for a small number of samples (<100), using the PCA heuristic is unnecessary.
In essence, the PCA heuristic does not bother with pairs it deems too distant in PCA space. When -a is specified, it may only return pairs it even bothered to evaluate at all in PCA space. The -a command will not result in any extra computation rather it will report results it would have discarded as not being similar given our main similarity metric. Without the PCA heuristic, all-to-all comparisons are made regardless. HGDP00490 and HGDP00662 were sufficiently similar in PCA space to be considered for a more comprehensive evaluation, even if deemed dissimilar in the end. HGDP00490 was not seen as similar via PCA and was not even considered and thus was not in the output.
If you really wanted it for some reason (maybe for the Euclidean distance value in PCA space in 20 PCs, i.e. the dist value) you'd have to set the PCA heuristic to actually not function properly. That is by specifying -a with the thresholds for missing percent of elements allowed set to 0 (using options -1 0 -2 0) meaning it would consider everything unfit to even run the heuristic on and default to full evaluation for all possible pairs.
I hope that makes sense.

Hi Justin,
That totally makes sense!  In some of the larger tests I had run, the PCA heuristic only output 1st degree comparisons, so that fits with your explanation.  And it makes sense when the primary design goal is detecting sample swaps.
It would definitely be worth clarifying this in the documentation.  Something that, at least in my opinion, would be helpful would be to distinguish the use of ntsm for sample swap detection versus relatedness inference, since the latter is demonstrated in Figures 9 and 10 of your preprint.  Relatedness inference is a super useful feature, even without the sub-quadratic runtime of the PCA mode.  Somalier was already a big jump in efficiency compared to needing VCFs for KING, so ntsm makes the process even more efficient, especially considering the reasonable performance with low depth that you showed.
Anyways, thanks for the clarification!  That solves my question, so I'll close the issue.
Best regards,
Patrick Reilly


Add null check for log match group

tested in Grinder_TKG/1879 and with CRIU change: Grinder/32412


MSID: 102274 Version: 1 DOI: 10.1101/2<IP_ADDRESS>0520

MSID: 102274
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>0520
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=102274
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>0520

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/102274v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>0520
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/102274/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

Hi @acollings, are you happy to move forward with both convincing and compelling, or would you like the tweak the Assessment for this one?

Thanks @fred-atherden I've edited this and one of the reviews, and the author response (for various reasons) :-)

OK - thanks!


USHIFT-1773: Add router scoped tests

Which issue(s) this PR addresses:

Closes #

/test microshift-metal-tests

/test microshift-metal-tests

/hold

/unhold

/lgtm


Require activities for Campaign class

This requires the Campaign class to be initialized with a list of activities. Tests and the ImageMagik example have been updated accordingly. Closes issue #175 .

@tskluzac This needs to be reviewed.

I'm going to go ahead and merge this to avoid conflicts with another branch I'm working on.


Add MAL id to APIv1 anime responses

This change adds the MAL id to the hash returned by present_anime in api_v1.rb.
There are many services today that integrate with MAL. In many cases this is likely done by keeping some kind of mapping between the MAL id and the local id of anime entries, much like Hummingbird does. Including the MAL id when using Hummingbird's API would make it easier to extend these services to integrate with Hummingbird.

Note that API v1 has an undocumented include_mal_id parameter, although it's limited to /libraries endpoint.
In addition, API v2 supports lookup by MAL ID (e.g. myanimelist:1). As far as I'm aware, you can make bulk requests as well (e.g. 1,2,3,4,5).

Ah, I missed that part. I guess with this change the MAL id is duplicated: once in the root of the hash, and once in the "anime" subhash. Considering that include_mal_id is undocumented, and doesn't seem to be used anywhere else in the codebase, simply removing the parameter and relying on present_watchlist (and in turn present_anime) to include the MAL id seems like the better option, as far as consistency is concerned (as mal_id cannot be included in the root of the hash in cases where the response includes more than one anime). Is there a reason in particular that you'd prefer to keep it optional? Given that it's JSON we're talking about, the addition of a single key/value pair shouldn't affect clients as far as I can tell.
Being able to request a single anime using the MAL id with API v2 might be useful in some instances, but would not be very helpful in the case where you want to map e.g. a Hummingbird user's "currently watching" list onto MAL ids.

We used to have this but I believe it was consciously removed because, quite simply, we don't want to expose API users to the horrors of MAL-to-Hummingbird mappings.  Some shows don't have equivalents, and our databases will not forever line up.
Like, we want to make it easy to switch things to use Hummingbird but it's kind of a double-edged blade if it enables people to continue using MAL IDs internally.

Well, as long as a service supports both MAL and Hummingbird it's going to need some kind of mapping between the two, and pragmatically speaking, as long as Hummingbird already knows that mapping it would be better if it shared this information rather than having every service reimplement the same mapping. In the case where a Hummingbird entry doesn't have a MAL equivalent, simply returning null for the MAL id would suffice in my opinion (with a warning regarding this in the documentation, of course), serving as a signal that the entry in question needs to be specially handled.

@BeholdMyGlory I've been wanting to make a service to map multiple sites for a while now, Have not made any progress on it yet but I might try to get hummingbird to mal mappings implemented tomorrow or sometime later this week.
https://github.com/Epictek/AnimeID (no commits yet)

I think a number of people already have such an ID map, for the vast majority of the database. We could use those as a seed, or get the most recent one from Hummingbird. However, there are more troublesome things to do:

The list must be kept up to date. It's possible, but there's no clean way to automate this process.
If we were to do this, it'd be more meaningful to include other popular services (AniDB, AniList, Anime News Network, Anime-Planet) as well, not just Hummingbird and MyAnimeList.
Not all entries line up one-for-one. What to do when an ID corresponds to multiple IDs at another service? How to handle similar inconsistencies?

I'd like to add that keeping the database up-to-date is not limited to adding new entries. Taking MAL as an example, recent entries are sometimes invalidated due to various reasons. Some of them end up being merged. When their database guidelines get updated, relevant changes go back to older entries as well. For MAL, one could probably simplify the process by creating a new user account, adding every anime to its list, and then tracking that list via malappinfo.php. But that's just MAL; I don't know if other services could benefit from a similar approach.

I dunno if that actually even matters. I'm pretty sure we never change the MAL IDs and we seem to be fine.  It's probably such a small problem that you can fix them as they come up.  I'm assuming that's how all the current individual mapping systems work.

Like, we want to make it easy to switch things to use Hummingbird but it's kind of a double-edged blade if it enables people to continue using MAL IDs internally.

I don't think this is a position we can take while 90% of the industry is still using MAL. It's not realistic to expect developers working with MAL currently to drop it and ask all of their users to move to HB.  When we're the industry leader, we can start dictating things like that, but forcing non-compatibility with MAL now seems very preemptive.

It's not realistic to expect developers working with MAL currently to drop it and ask all of their users to move to HB.  When we're the industry leader, we can start dictating things like that, but forcing non-compatibility with MAL now seems very preemptive.

I'm mostly worried that we're gonna have all hell pulling that rug out from under developers when it comes time.  At the very least I want to put a big red flag in the docs advising developers not to key on MAL ID.
For now though, I'll give in and merge this :+1:

:+1:

@NuckChorris Before merging, though, we need to decide what to do about the include_mal_id parameter and the related duplicate mal_id. Are you OK with my idea to just remove include_mal_id since it's undocumented?

I still lean toward making it optional via include_mal_id parameter, if it's not going to complicate things in the codebase. Otherwise we end up either having duplicate mal_ids or breaking backward compatibility.

Are you OK with my idea to just remove include_mal_id since it's undocumented?

Please don't remove anything from API v1, even if it's undocumented. It might break existing applications.

  So I guess it's here to stay.
@erengy I don't see a reason to make it optional, it's a single field.  include_genres is similarly strange.  And anyways I give exactly zero shits about APIv1's code quality nowadays, it's a wretched section of the codebase and the sooner we get better APIv2 coverage, the happier I'll be.

I personally don't think there would be any point to making it optional, as the only instance where the entry would be duplicated is in /libraries/{id}, and even that is only when the user explicitly issues a request using an undocument parameter---not a big deal, in other words.
Additionally, the behaviour of an include_mal_id parameter would be inconsistent: with /libraries/{id} (or any request that only returns a single anime entry?) the MAL id would be included in the root of the returned hash, while for other responses it would included in the anime subhash(es).

Now that I think about it, we can't really avoid having duplicate mal_ids even if we make it optional, which was my entire concern.
All right, then. :+1:

Aight mergening

Just an update, this is now live.


Add script to alphabetically order and properly stylize project lists

While sorting the c++ list, I noticed the letter O is missing from the table of contents at the top of the file. I also checked a few other language files including Python and it seems to be missing there too, so I assume it was just left out of the original 'template' format by mistake. I commented about this in issue #101, but you might want to open a new issue for adding the letter O to any TOC's which are missing it.
I also noticed that some of the project titles were not bolded. For the sake of consistency, perhaps another issue should be opened to go over the list and ensure all project titles are bolded.
Given these discoveries, I would like to see if I can write a script which when run, will automatically sort the projects listed, and will also ensure style properties (bolding, line spacing, etc) are consistent throughout the lists.
Can I please get the go ahead to work on this?

I also discovered a broken (image) link in the file I sorted, so perhaps the script can also check and log any broken links.

just noticed this script here by @klebervirgilio. Would it be alright if I add the features mentioned above to this script?

update: will attempt to get this done over the next couple of days.


activities pagination broken

Fixed, config error with the baseUri being given to pagination module, was missing https:// so it was stripping the domain altogether.


fix(exthost): Signature Help - hook up documentation of parameters / signature

This change wires up the documentation properties for the ParameterInformation and Signature information coming from the extension host, and updates the test case so that we're actually sending some signature info and validating it comes through.

Sorry this was late coming in, @zbaylin !


Security vulnerability - patch

Per CVE-2022-0235, see:
https://github.com/advisories/GHSA-r683-j2x4-v87g
This is a request to patch the node-fetch module to at least version 2.6.7.
Both audit fix and audit fix --force don't seem to work, regardless of npm stating it will fix the vulnerabilities.
With kindest regards,
Bradley Methorst.

I have been facing the same issue as well

@justadudewhohacks Any chance this could be merged? Audit fix is not doing anything to patch the vulnerability.


Changing default directory for both  ALDownloader and ALDownloaderBatcher

Where can we define the default directory? I couldn't find anything related to this in the documentation.

Setting the directory path is only supported here.
https://github.com/jackleemeta/al_downloader_flutter/blob/fe0e97cc35ea61ce9b5e3e98e8a605ffe9db1480/lib/src/ALDownloader.dart#L56


Circular import

I can't run code because of AttributeError.

I did solve this problem by running download.py itself but i don't think it should work this way.

this is because you saved your program as bing.py, when downloader,py tries to import the bing module it imports your module instead causing a circular import. If you change the name of your program to something else it should work normally


Ascii characters causing errors on compile

As requested, opening this in another issue.
Our gulpfile currently runs the following tasks, we're in the process if cleaning this up, and I'm going to do some testing on a fresh file as the one we've got does have a heck of a lot going on.
https://gist.github.com/rmwebs/be558374e7a7bd1ca0a6
The error output by sublime-gulp:
gulp-ruby-sass stderr: Error: Invalid US-ASCII character "\xE2"

The line it references: (it's a big ascii graphic at the top of a scss file that compiles fine on command line
/*╤═══╤═════╤═══╤══▒▓▓█████▓██▓▓█▓▓▓▒▒▒▓▓▓▒═══╤═════╤═══╤═════╤═══╤═════╤═══╤══╗````

Sorry for the delay.
I'm having a tough time running the gulp-ruby-sass with sublime gulp!, so, two questions:

Are you still having problems with this?
Did you configure something in particular to run your gulpfile ? (I'm having problems getting sublime recognize the Sass gem)

I have a few new features that I want to tackle and because this seems to be a specific problem it might take me some time, but I'll try to fix this! :)


Support flush API for IPVS service

We vendor libnetwork's ipvs library into kubernetes and want a batch API for flushing IPVS services.
Do we have any plan to support the flush API for IPVS service? Without the Flush API, currently we delete services one by one, which is inefficient.

@mrjana @mavenugo @dhilipkumars @allencloud Any thoughts?

@m1093782566 Yes. We did add the ipvsCmdFlush constant for supporting this functionality. But I guess its missed in the library. Thanks for the PR. I will review and provide feedback.

I am going to close this issue since the related PR got merged. Thanks all.


Support shell out/err splitting and exit codes

adb is getting support for differentiating stdout and stderr streams, and process exit codes.
Implementation:
https://github.com/android/platform_system_core/blob/ac50d0cc5789d8462fcd2d9f6cb225e0edf9a12f/adb/shell_service.h
https://github.com/android/platform_system_core/blob/ac50d0cc5789d8462fcd2d9f6cb225e0edf9a12f/adb/shell_service.cpp
Usage: https://github.com/android/platform_system_core/blob/ac50d0cc5789d8462fcd2d9f6cb225e0edf9a12f/adb/commandline.cpp#L291
RunCommand should still be supported for combined stdin/stdout streams, but there should be an API like exec.Cmd. The old mode is called "PTY" mode, and RunCommand should probably use that. The new mode is called "protocol" mode, and multiplexes out/err streams over a single connection with a simple protocol that sends packets with stream ID headers.
The exit code is sent as a single raw byte on the kIdExit stream.

For now, I use this way
func (c *Device) RunCommand(cmd string, args ...string) (string, error) {
	exArgs := append(args, ";", "echo", ":$?")
	outStr, err := c.commandOutput(cmd, exArgs...)
	if err != nil {
		return outStr, err
	}
	idx := strings.LastIndexByte(outStr, ':')
	if idx == -1 {
		return outStr, fmt.Errorf("adb shell error, parse exit code failed")
	}
	exitCode, _ := strconv.Atoi(strings.TrimSpace(outStr[idx+1:]))
	if exitCode != 0 {
		err = ShellExitError{strings.Join(args, " "), exitCode}
	}
	outStr = strings.Replace(outStr[0:idx], "\r\n", "\n", -1)
	return outStr, err
}

even through a little wired


ValueError when creating new fermentation profiles.

When creating a new fermentation profile an error is thrown:
ValueError at /fermentation_profile/10/edit/
max() arg is an empty sequence

The code is:
max_ttl_string = max([x.ttl_to_string() for x in point_set], key=len)

I have not had time to look into it, but a guess is that max() gets an empty
list as there is no points yet in the fermentation profile.

Yep, your pull should have fixed this. Closing.


ImprovementDistilledObjects.java:58-60: Replace new B(new...

The puzzle 157-167c598a from #157 has to be resolved:
https://github.com/objectionary/jeo-maven-plugin/blob/59486edab1fd88228051f0dd5edb2964d632119a/src/main/java/org/eolang/jeo/improvement/ImprovementDistilledObjects.java#L58-L60
The puzzle was created by @rultor on 17-Oct-23.
Estimate: 90 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@0pdd 5 puzzles #174, #175, #176, #177, #178 are still not solved.

@0pdd 4 puzzles #174, #175, #176, #177 are still not solved; solved: #178.

@0pdd 4 puzzles #174, #175, #177, #186 are still not solved; solved: #176, #178.

@0pdd 5 puzzles #175, #177, #186, #192, #193 are still not solved; solved: #174, #176, #178.

@0pdd 5 puzzles #175, #177, #186, #192, #196 are still not solved; solved: #174, #176, #178, #193.

@0pdd 4 puzzles #177, #186, #192, #196 are still not solved; solved: #174, #175, #176, #178, #193.

@0pdd 2 puzzles #177, #196 are still not solved; solved: #174, #175, #176, #178, #186, #192, #193.

@0pdd the puzzle #177 is still not solved; solved: #174, #175, #176, #178, #186, #192, #193, #196.


DOES PELOTON PSQL SUPPORT PREPARE STATEMENT?

I write a test for psql:
" create table foo(a int); PREPARE f (int) AS INSERT INTO foo VALUES($1);"
When I input "EXECUTE f(1);" the terminal shows "The prepared statement does not exist"
So, peloton psql doesn't support prepare statement? I just want to make sure.

Because I find that in packet_manager, some function has been written to support prepare statement

It's because when peloton receives a Prepare statement, it does not parse out the statement name correctly (https://github.com/cmu-db/peloton/blob/master/src/network/protocol_handler.cpp#L373) The fault is in my previous PR.. I will fix it soon

I think the test case need cover more codes. I am also wondering when we run travis, we run "bash ../script/testing/psql/psql_test.sh". However we only run a test file basic1.sql, "TEST_SCRIPT="../script/testing/dml/basic1.sql"(psql_test.sh line:22). My question is we have many psql test file, why we only run basic1.sql.


Fixed Login Problem

#6  Even if user_name and user_password contains '@' symbol this will not lead the following error.
{ name: 'MongoError', message: 'getaddrinfo ENOTFOUND' }

See comments in #6. Non-URI encoded username and password are not supported in mongodb connection strings, the correct way is to put '%40' instead of '@'. On the other hand, I don't think muri does decodeURIComponent() on username and password, so you're welcome to put in a PR for that :)


Pillbox Won't Load

since the most recent version(s) of Bob74 I cannot get Pillbox to load.
The building exterior model that I want loads at least for the up top portion with the cut outs for the destroyed version, which is what I want up top, with an intact version down below if possible.
However the actual interior won't load either up top or down below.
Is something wrong here?
-- -- Pillbox hospital: 307.1680, -590.807, 43.280
-- exports('GetPillboxHospitalObject', function()
    -- return PillboxHospital
-- end)

-- PillboxHospital = {
    -- ipl = "rc12b_destroyed",

    -- Enable = function(state)
        -- EnableIpl(PillboxHospital.ipl, state)
    -- end
-- }

-- Pillbox hospital: 307.1680, -590.807, 43.280
exports('GetPillboxHospitalObject', function()
    return PillboxHospital
end)

PillboxHospital = {
    default = 'rc12b_default',
    fixed = 'rc12b_fixed',
    destroyed = 'rc12b_destroyed', -- Destroyed and hospital interior need to be loaded at the same time
    hospitalinterior = 'rc12b_hospitalinterior',

    Enable = function(ipl, state)
        EnableIpl(ipl, state)
    end,

    Clear = function()
        PillboxHospital.Clear()
		--PillboxHospital.Enable(PillboxHospital.default, false)
        --PillboxHospital.Enable(PillboxHospital.fixed, false)
        PillboxHospital.Enable(PillboxHospital.destroyed, false)
        PillboxHospital.Enable(PillboxHospital.hospitalinterior, false)
    end,

    LoadDefault = function()
        --PillboxHospital.Clear()
        -- [DEFAULT HOSPITAL]
        -- PillboxHospital.Enable(PillboxHospital.default, true)
        -- [FIXED HOSPITAL]
        --PillboxHospital.Enable(PillboxHospital.fixed, true)
        -- [DESTROYED HOSPITAL]
        PillboxHospital.Enable(PillboxHospital.destroyed, true)
        PillboxHospital.Enable(PillboxHospital.hospitalinterior, true)
    end,
}

It seems like you are using a fork of bob74_ipl, since this code does not exist in the current version.

Whoops. I'll give the default code a try.


New Feature: Allow image upload

Is your feature request related to a problem? Please describe.
Today it is not possible to easily upload an image.
Describe the solution you'd like
Have a feature to upload images.

Implemented in https://github.com/pytition/Pytition/commit/789f7cb13b20adafc20be3ae59dda49c6bab9590
But we still need to provide an easy way to upload a "Twitter image" in the social network tab.
(for the record, this image is used to generate the opengraph tag with the picture)


[REG2.066a] Issue 13180 - AA get returns const(char[]) instead of string

https://issues.dlang.org/show_bug.cgi?id=13180
It's a corner case between enhancement 12290 and improved top-const removing which implemented in #3763.

This pull request introduced a regression:
https://issues.dlang.org/show_bug.cgi?id=14886


[Feature Request] Added solution in C++ language

🚀 Feature Request
I want to add a solution in C++
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Example: "I'm frustrated when..."
The solution provided here is Python.
Describe the solution you'd like
A clear and concise description of what you want to happen.
I want to work on this to make the solution in C++
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.

Would you like to work on this feature?

[x] Yes

@ajay-dhangar Thank you sir the provided task is already done please review it and merge it.


Switch to Pydantic v2

This is an issue to track pydantic-related updates in fractal-tasks-core dependencies, and to discuss strategies for a future v1->v2 migration. Note that this can happen at multiple levels, e.g. we could migrate the dev tools first and the models later. TBD.
First update:

As of the (upcoming) napari 0.4.19 release, it should be possible to install pydantic v2 in the same environment (see https://github.com/napari/napari/pull/6358 or https://github.com/napari/napari/issues/6350).

This issue was explored in #737. Porting the code base to Pydantic V2 was mostly successful (and it mainly consists in updating validators), but we were not satisfied with the new use of anyOf for Optional arguments/attributes.
This is a common issue, and possible workarounds exist (e.g. https://github.com/fractal-analytics-platform/fractal-tasks-core/pull/737#issuecomment-2098323095, or the recent activity in https://github.com/pydantic/pydantic/issues/7161).
We could give it a second try, by adopting one of those workarounds and checking how the outcome looks both in fractal-tasks-core and in other existing packages (ref #757), while keeping an eye on possibly more standard solutions in Pydantic.

Closed with https://github.com/fractal-analytics-platform/fractal-tasks-core/pull/793


Clarify the SSH usage

At some place in the tutorial it could be great to add more informations on which ssh keys do we have to use. (Dokku / Git / Connexion...)

Thanks @julienstroheker! Closed via 7226a0b


Possible NPE in Grid.updatePinnedSummaryRowData()

Apparently ag-Grid allows putting undefined data in pinned rows, and we are not checking for nil in the logic which preserves any pinned row data set by the application when we update the summary row data.

Resolved in #1304


Events from non-web threads should not have web request metadata

I have just reviewed example Rollbar events originating from a non-web job worker thread. The payload had unrelated http headers, browser type, etc. These events should not contain information related to web requests, unless supplemental code (i.e. user/custom code) identified the related web request and added the metadata.

Test comment


[EDMTP-167] Added design dialog and Component annotation for MVC pattern

Can one of the admins verify this patch?

recheckcla

recheckcla

I have read the CLA Document and I hereby sign the CLA

I have read the CLA Document and I hereby sign the CLA

recheckcla

recheckcla


Fix documentation (projects guide) regarding adding a git dependency

Summary
This is a trivial, one line documentation change that fixes the following documentation bug.
The current documentation suggests this for adding a git dependency
# Add a git dependency

uv add requests --git https://github.com/psf/requests

Executing what is suggested with uv version 0.4.18 results in this error message
uv add requests --git https://github.com/psf/requests
error: unexpected argument '--git' found

The working approach is to add the git depency like this:
uv add git+https://github.com/psf/requests

Test Plan
I manually tested the command suggested currently in the guide against my change.

Thx!


Fix Example Code

what

Fixed a typo with shield_advanced_policies
Bumped the vpc module version

why

This example is broken and is causing tests to fail in other PRs

references

#28
closes #18
closes #21
closes #24
closes #20

/terratest

/terratest

/terratest

/terratest

/terratest


ARCH-917 - Creating the initial action

This action is meant to encapsulate whether a supplied tag is reachable from the default branch.

It did occur to me while working with this code to wonder what if I wanted to use a SHA instead?

You would just put the sha in the ref field.


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 442 ms

Resolved: ClamAV performance has improved in 75da800.


Note regarding binary-identical requirement of state-reproducibility tests

This is more a point of reference rather than an issue, but I wanted to make note of it on this repo in case other have this too.
With the state-reproducibility tests, clap-validator validates that the blobs of binary data from your state save()/load() are identical, byte-for-byte. This is actually an additional requirement that a plugin needs to take account of. So long as the plugin reliably interprets the blobs correctly that is enough. But the additional binary-identical requirement that clap-validator enforces is a reasonable addition for better testing ability.
In my case, my plugin is storing little-endian binary data. A C++ struct like this example struct { u8 a; u32 b; } was being binary copied (memcpy) into the state blob. But there's an an important consideration here: there are 3 bytes of padding between the u8 a and u32 b. These 3 bytes are not necessarily zero; it depends on how the struct is initialised (detailed in the C++ standard [dcl.init]). In my case, these unused padding bytes happened to be different and so the state-reproducibility tests were failing. This was an unusual one to track down. The solution for me is more care regarding how binary data is stored - a worthwhile change to make for other reasons too.

There should eventually also be an extension or something that you can use to disable specific tests for a plugin, especially more pedantic ones like this (in addition to explicitly filtering them out on the command line invocation like you can now). I think this lint is still pretty important because more often than not this test failing is the result of a bug, but I can also understand that not every plugin wants to or can satisfy this requirement.
I'll close this issue since it's not actionable, but thanks for posting this!

Agreed, a filter to separate tests would be great as you suggest. One filter level for things that 100% of clap plugins should pass. And another level for pedantic tests that are very useful for catching bugs but might add small additional requirements to a plugin - like state-reproducibility.


compatbility with  phono3py-kaccum  is broken when using winger option

Dear developers,
In the development version of phono3py- when using "--wigner" option compatibility with phono3py-kaccum is broken because 'mode_kappa' is no longer printed.
Thanks and Best Regards
Alex kent

I will close this issue because of the reason above.


HBASE-25570 On largish cluster, "CleanerChore: Could not delete dir..…

…." makes master log unreadable
Turn down the amount we log. If you want to see the full exception
enable TRACE-level logging.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 42s
Docker mode activated.

Address the helpful @shahrs87 feedback.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 16s
Docker mode activated.


Add version file and update readme to reflect new process

ping @wtrocki

ping @psturc - you can verify this by pushing change to osm3. Instruction is in readme.


merge: 20231022

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 6 committers have signed the CLA.:white_check_mark: mrdrivingduck:x: david-rowley:x: macdice:x: michaelpq:x: anarazel:x: hlinnakaYou have signed the CLA already but the status is still pending? Let us recheck it.


NFT Sales Frontend

will start around Aug 1st

Close this issue because it is already being tracked in https://github.com/ergo-pad/ergopad-api/issues/407?


Use NDEBUG to detect debug build

Debug feature only works on MSVC. To support other compilers, we need to check NDEBUG is not defined on the debug build.

Thank you for this contribution. I agree with you - it's better to rely on NDEBUG macro rather than _DEBUG. I fixed this in a slightly different way than you proposed.


Checksum failure

Hey there,
I'm receiving a checksum mismatch when installing appmetrics. This occurs with both 1.1.0 and 1.1.2:
11:40:21 npm ERR! Expected: e48f9c9404025477e7ee3c6060edcfa86b6b8cb7
11:40:21 npm ERR! Actual:   2ae9f04d025393865ce1c31e98fde705d0934c1c
AFAIK, npm generates these SHA-1 hashes based upon the generated tarball upon publishing, but interestingly I can't reproduce this with any other module. Is my understanding of the checksum mechanism correct?
Thanks,
James

can you do npm cache clear, and try again? sometimes npm tarballs get damaged on download, and checksum mismatches occur.

Sure, I'll try tomorrow and let you know!

Hi,
We've tried this to no avail.
Cheers,
James

Works like a charm. Thanks! :)


Make SubscriptionRequest an observer

Added nullability support in https://github.com/edvinerikson/relay-subscriptions/pull/14/commits/6d0eef9937dd37c6b7b4261af7dcfee40b780896 though.


Added support for macOS/Linux

Added pragmas in display.cpp for OS detection

Uses fopen instead of fopen_s for macOS & Linux

Makefile changed to support clang (macOS)

Removed unsupported compiler/linker flags for clang

Also a better place for those OS_WINDOWS, OS_MACOS and OS_LINUX macros would probably be ./src/macros.h
Thank you a lot in advance! I can merge this and do the further changes I want myself if you wish to not edit your pull request any more.

The double OS check for the warning flags were my slip up.
However the second is because uname is assumed to not exist on Windows and $(OS) didn't work on Mac/Linux. It's one of those Makefile buggers :(

Added a few bits and pieces to Makefile for make init, since it didn't work as expected. I don't know wether Windows doesn't care about forward/backward slash in directory paths, but POSIX does not like it.
If this could be simplified, e.g. just using forward slash (/) that would be better, but I don't know how Windows would behave in such a case.


RUMM-2137 Datadog singleton

What does this PR do?
Create the DatadogCore:SDKCore class which (for now) contains the implementation of the Datadog singleton. This is step 1/? of our SDKv2 migration.
Next step is to make each Feature a non singleton too, which registers against the DatadogCore instance.

Codecov Report

Merging #918 (15999c9) into feature/sdkv2 (7588259) will decrease coverage by 0.16%.
The diff coverage is 86.27%.

@@                Coverage Diff                @@
##           feature/sdkv2     #918      +/-   ##
=================================================
- Coverage          83.04%   82.88%   -0.16%
=================================================
  Files                267      270       +3
  Lines               9050     9071      +21
  Branches            1454     1453       -1
=================================================
+ Hits                7515     7518       +3
- Misses              1139     1154      +15
- Partials             396      399       +3

Impacted Files
Coverage Δ

...g/android/v2/api/SDKFeatureStorageConfiguration.kt
0.00% <0.00%> (ø)

...og/android/v2/api/SDKFeatureUploadConfiguration.kt
0.00% <0.00%> (ø)

...oid/src/main/kotlin/com/datadog/android/Datadog.kt
72.73% <87.50%> (-9.73%)
:arrow_down:

.../kotlin/com/datadog/android/v2/core/DatadogCore.kt
87.80% <87.80%> (ø)

...n/com/datadog/android/core/internal/CoreFeature.kt
93.39% <100.00%> (+0.03%)
:arrow_up:

...atadog/android/core/internal/utils/RuntimeUtils.kt
100.00% <100.00%> (ø)

...og/android/log/internal/logger/LogcatLogHandler.kt
77.27% <100.00%> (-18.08%)
:arrow_down:

...lin/com/datadog/android/rum/internal/RumFeature.kt
91.75% <100.00%> (+0.09%)
:arrow_up:

...droid/rum/internal/domain/scope/RumSessionScope.kt
94.20% <100.00%> (ø)

...android/log/internal/logger/TelemetryLogHandler.kt
75.00% <0.00%> (-25.00%)
:arrow_down:

... and 14 more


fix: Changing props of button instead of replacing button

Closes #7053
Fixes Issue

Instead of replacing the playground page submit button, changing button props (ex: text, onClick, primary)
Cannot read properties of undefined (reading 'filter') on UserPage.js file line no 17
Cannot read properties of undefined (reading 'map') on UserProfile.js file line no 50

Changes proposed
- delete actualJson.testimonials;
+ actualJson.testimonials = actualJson.testimonials || [];
+ actualJson.socials = actualJson.socials || [];

...

-         {!formatComplete && (
-           <Button text="Format" onClick={handleFormatJson} primary={false} />
-          )}
-          {formatComplete && !validateComplete && (
-            <Button
-              text="Validate"
-              onClick={handleValidateJson}
-              primary={false}
-            />
-          )}
-          {formatComplete && validateComplete && (
-            <Button text="Preview" onClick={handlePreview} primary={true} />
-          )}
+          <Button
+            {...(!formatComplete
+              ? { text: "Format", onClick: handleFormatJson, primary: false }
+              : formatComplete && !validateComplete
+              ? {
+                  text: "Validate",
+                  onClick: handleValidateJson,
+                  primary: false,
+                }
+              : formatComplete && validateComplete
+              ? { text: "Preview", onClick: handlePreview, primary: true }
+              : { text: "", disable: true })}
+          />

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Note to reviewers
Point numbers 2 and 3 from the above fixes issue listing are not part of the issue, but I saw this error while working on this issue and pressed preview without adding testimonials and socials in json then it break the website.
Let me know if something has to change or if those changes have to go on a separate issue.

Thank you for the contribution 👍
Although these changes do work, it is very difficult to read the code like this.
I suggest moving the conditions to a function, something like this...
diff --git a/pages/playground.js b/pages/playground.js
index 4ad83f7c..316fd4e2 100644
--- a/pages/playground.js
+++ b/pages/playground.js
@@ -30,6 +30,26 @@ export default function Playground() {
   const [previewModalData, setPreviewModalData] = useState();
   const [showNotification, setShowNotification] = useState(false);

+  const buttonProps = () => {
+    if (!formatComplete) {
+      return { text: "Format", onClick: handleFormatJson, primary: false };
+    }
+
+    if (formatComplete && !validateComplete) {
+      return {
+        text: "Validate",
+        onClick: handleValidateJson,
+        primary: false,
+      };
+    }
+
+    if (formatComplete && validateComplete) {
+      return { text: "Preview", onClick: handlePreview, primary: true };
+    }
+
+    return { text: "", disable: true };
+  };
+
   const handleValidateJson = () => {
     try {
       JSON.parse(profileJson);
@@ -141,19 +161,7 @@ export default function Playground() {
           }}
         />
         <div className="flex flex-row justify-end mb-3 gap-2">
-          <Button
-            {...(!formatComplete
-              ? { text: "Format", onClick: handleFormatJson, primary: false }
-              : formatComplete && !validateComplete
-              ? {
-                  text: "Validate",
-                  onClick: handleValidateJson,
-                  primary: false,
-                }
-              : formatComplete && validateComplete
-              ? { text: "Preview", onClick: handlePreview, primary: true }
-              : { text: "", disable: true })}
-          />
+          <Button {...buttonProps()} />
         </div>

         <Modal

Made changes and commit as you suggest


Add d3 dependency to bower.json

Bower is most useful when dependencies are defined, this adds the d3 dependency (just like in package.json) to the bower.json file.

Thank you very much.


Add new tool: Protoship Codegen

Added line in the tools section:
🔧 Protoship Codegen - Code generator that creates Tailwind CSS based HTML & CSS from Sketch designs.

Thanks @jasim!


[Enhancement]: Validating The Input fields and Removing Increment/Decrement Icon

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Game enhancement - Validate the input fields , Remove Increment/Decrement icon , Add Reset button beside start button

Describe the solution you'd like
Solution steps - 1) if values are not within the range , we can disable the start button or give an alert to give input values .
2)Remove the default increment/decrement in the input field to make UI look better
3)We can add Reset values button beside start , if user wants to reset all the input values in homepage
Select program in which you are contributing
Other
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

I want to work on this issue, please assign it to me under Gssoc'24.

So i have mentioned the fixes and enhancements to be done above - Please assign this  issue to me under GSsoc'24 and add relevant label as well

@Abhay152002  Please raise any other issue, i'll assign you
If you have any doubt you can directly send message on our discord (https://discord.gg/rZb46cCMmK), we have created seprate chennals for all projects...
Thank you :)


Replacing obsolete 'usbdevice' option

QEMU emulator version 3.1.0 (Debian 1:3.1+dfsg-8+deb10u2) throws the below error (Please see issue #210 for details)

2019-09-19 22:21:23,064: vrnetlab INFO STDERR: qemu-system-x86_64: -usbdevice disk:format=raw:/vmx/metadata-usb-re.img: '-usbdevice' is deprecated, please use '-device usb-...' instead
qemu-system-x86_64: -usbdevice disk:format=raw:/vmx/metadata-usb-re.img: could not add USB device 'disk:format=raw:/vmx/metadata-usb-re.img'
2019-09-19 22:21:23,066: vrnetlab INFO Unable to connect to qemu monitor (port 4000), retrying in a second (attempt 1)

The commit fix that issue by replacing obsolete options with the newer one.
c839819

@plajjan This is too low-level for me, can you take a look?

Basic problem is we need to be able to reproduce this result / problem. We need a CI environment! Quite badly!!!!

I have had the same problem and was able to fix it with a similar change. I can confirm it is due to the -usbdevice option being deprecated since QEMU version 2.10.0, as you can see here: https://qemu.weilnetz.de/doc/qemu-doc.html#Deprecated-features

Can confirm this is still an issue. Any chance to merge this given that 3 people have reported running into it?

Have not tested. Patch looks reasonable so I'll trust it works. Hurts not to be able to test but with no CI that's just the situation we are in. Merging.


migrate timestamp fields to timestamptz

with some time on my hands I started on  #1067 with the migration to timezone aware datetime fields.
In general I believe it's a good idea to be explicit about timezones also on the database level.
As we see, it simplifies quite some code :)
I'm happy to apply any changes needed (the column defaults actually don't have to be changed, since NOW() and CURRENT TIMESTAMP already are timezone aware)
Tests work locally, not sure what else needs to be tested.

@jyn514 @Nemo157 not sure who does deploy this,
while working on another issue I ran into a panic in rustwide_builder caused by this change, seems like that part is not covered with tests.
I'll build a quick fix for that

first I have to check if that's related to me running the builder in the web container

forget what I said, likely my mistake. The web Dockerfile copies the local release build to the container, which likely was outdated.
Just building and checking


Fix select form bug

Aims to resolve issues #33033 and #33061
Select forms seemed to have an issue where the text was being cut off, especially when the text was larger.
A line in scss/forms/_floating-labels.scss that assigned the select forms a fixed height seemed to be causing the problem, so it was removed.
The issue seems to be resolved.

Removing the height isn't an option, sorry. It's required to size everything appropriately.

Ok, thank you for your feedback. I'll continue working on this issue. Would it be best if I open a new pull request with the new fixes?


Blank View on SIBR-Viewer after Training is Complete

I trained my model completely but when I try to run it on SIBR Viewer it shows blank screen. I tried this for both hypernerf and Dnerf dataset. Have tried multiple solutions but none of them worked
Command I used: ./SIBR_viewers/install/bin/SIBR_remoteGaussian_app --port 6017

我完全训练了我的模型，但当我尝试在 SIBR Viewer 上运行它时，它显示空白屏幕。我尝试了 hypernerf 和 Dnerf 数据集。尝试了多种解决方案，但都没有奏效 我使用的命令：./SIBR_viewers/install/bin/SIBR_remoteGaussian_app --port 6017

Hello, I have the same problem as you. Have you solved it? Thank you.

Hello, I have the same problem as you. Have you solved it? Thank you.
The same problem as you. Have you solved it? Thank you.


Feature: Support inspec

Issue Type

Feature request
Support for inspec it is faster and can perform CIS scans

Why closed? I woul'd like a inspec support.

Not something going to implement.  Molecule is fairly opinionated.

Tracking by #1072.


Seriously ? Why blocking cdn.jsdelivr.net with master/hosts

cdn.jsdelivr.net is not accessible anymore from
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

Yes, indeed! I thought I was going mad - half of the web-pages stopped working, including Stackoverlow.

If this affected you please report the npm package as malware. If npm allows this behavior they become complicit in the abuse of their platform, and jsdelivr legitimately becomes an ad server worth blocking.

As others have said, this is fixed two days ago.
Closing.


[BUG] Bulk acknowledge alerts only works for first 10 alerts in a trigger

Describe the bug
On alerts by triggers page, when acknowledging alerts from 1 trigger it only applies to the first 10 alerts.
To Reproduce
Steps to reproduce the behavior:

Create a bucket-level monitor with 10+ alerts in 1 trigger. (Try using  sample ecommerce data with count of documents below 10000 over the past 3 days)
Click on Alerts tab
Select the trigger with more than 10+ alerts.
Click the "Acknowledge" button.
Should see that "Active" column only decreased by 10, and "Acknowledged" column only adds 10.

Expected behavior
All alerts within the trigger should be acknowledge. If error occurs, should show an error notification.
Screenshots
N/A
Host/Environment (please complete the following information):

OS: [e.g. iOS]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Closing this issue as it was resolved with this PR.


Change import method for knex, to get more typing

Before I imported Knex as they do in the tutorial with
pg = require('knex')({<db_config>})

However, this way of doing it, meant that the type was not derived for the pg object, so you couldn't see what methods and properties was available on it. This new way, we get that information.

LGTM 🎲


Clang Format Config File

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Super-linter does not able to consider clang-format style files
Expected Behavior
Clang-Format can be consider style file.
Anything else?
No response

Hi @umitbuyukulcay !
I think we might need more information about your use case. What are you trying to achieve? Can you also add an example?
Thanks!

I mean, clang-format uses llvm format style as default. On the other hand, clang-format has -style flag to let us to determine rules for formating styles. I want to use my own style and wanna check it with clang-format without based on llvm. It could be better to add give config to clang-format with ".clang-format" file. documentation in  here
thanks.

I think this is a fair request. Adding it to the backlog.
I'll happily review a PR for this.


Declared module version unnecessarily high

Howdy!  Thanks for your work on this!
I was looking at using your library, but specifying version 1.23 in the go.mod is still a bit too new for my infrastructure.
As far as I can tell, the library doesn't use any new features introduced in 1.23, and can safely be declared to a lower version.  The version specified in the file is "The minimum version of Go required by the current module.", so you can safely use go 1.23 to build a module that declares itself as something lower like 1.19.
Am I reading the source wrong, or would it be possible to lower the module's go version?

You're right, can you make a pull request to reduce the minimum version ?


管理员无法登陆

ubuntu系统，运行docker后，登录管理账号后，跳转页面，显示如下内容：
The change you wanted was rejected.
Maybe you tried to change something you didn't have access to.
If you are the application owner check the logs for more information.

看看是不是这个问题 https://github.com/pluosi/app-host/issues/26


Add @astrojs/image integration template to astro.new

In astro.new there is no integration template for the image integration. As it is an integration of withastro this would make it easier for improvements on the image integration.

Thanks for this comment! I'm going to make sure @tony-sull sees this, and he can consider whether he thinks an image template is appropriate, or maybe instead adding the image component to some of our existing templates like the blog or basics.
I do know that we probably wouldn't choose to include this integration quite yet, at least not until it reaches v1, as there is still active development and more changes to come. Maintaining a template with this integration would be tricky right now, and we do want to make sure that any template we provide is stable enough to be a good experience for people testing it out!
As this is not a Docs issue, I'm going to close this issue here, but Tony will be on top of promoting the heck out of the integration once we think it's ready for prime time! And, I'm sure that includes making its way into a template on astro.new! 😄


setting custom attributes

It seems that when setting custom attributes with the options menu, that only the first one is detected and used. For example using the string
skip-front-matter=1 attributeA=1
it respects the skip-front-matter, but attributeA is not set
and using the string
attributeA=1 skip-front-matter=1
do sets attributeA but ignores the skip-front-matter attribute.
Can anyone confirm this issue?

Hello @wva154
Yes I can reproduce this issue, good catch :+1:
I think the space between attributes is ignored.
Document
= Test

{attribute-a}

{attribute-b}

Custom attributes
attribute-a=a attribute-b=b

Result

customAttributes must be split by space:
if (customAttributes) {
  attributes.push(customAttributes.split(' '));
}

https://github.com/asciidoctor/asciidoctor-chrome-extension/blob/master/app/js/renderer.js#L137

It's actually a bit more complex than that, though that certainly works for all but the edge cases. See https://github.com/asciidoctor/asciidoctor/blob/v1.5.4/lib/asciidoctor.rb#L1285-L1294

Indeed this a bit moooooore complex.
I will pass attributes as a String and let "Asciidoctor core" handles the edge cases :wink:

Same issue here since upgrading the extension :/

@Mogztter and @M3lkior, I think the problem is that the custom attributes are getting pushed onto the array as a single entry. In other words, the array looks like this:
[
  'showtitle',
  'icons=font@',
  ...
  'outfilesuffix=.adoc',
  'skip-front-matter=1 attributeA=1''
]

So the Asciidoctor API sees the value of the skip-front-matter attribute as 1 attributeA=1.
I had this same problem in the Jekyll AsciiDoc plugin, so I implemented full attribute parsing. That logic will eventually make its way into the Asciidoctor API. Until then, here it is:
https://github.com/asciidoctor/jekyll-asciidoc/blob/671a17747b21017642d8475e959979cadf13ac46/lib/jekyll-asciidoc/converter.rb#L239-L271
The only difference is that since the input is a text field, you'll need to also add the space escape logic that can be found here:
https://github.com/asciidoctor/asciidoctor/blob/v1.5.4/lib/asciidoctor.rb#L1285-L1294
If you'd like to work upstream instead to introduce this API, I'd be open to working with you on that. See https://github.com/asciidoctor/asciidoctor/issues/1084

@mojavelinux For now I think I will pass all attributes as a single String. That way Asciidoctor will handle the space escape logic, see #134

@Mogztter Yes, that will also solve the issue.

Hi guys, since the current version in the chrome web store does not include this fix, could you please publish a new one with it? It took me a while to understand why the custom attributes did not work (unless I entered only one) until I found this issue :) Thanks!

Hi @akosma,
Sorry about that, my attention was focused on Asciidoctor.js.
I will try to find the time this week to publish the new version on the Chrome Web Store :sparkles:

Now that is fantastic! :) thank you so much, for all the effort. This whole family of projects is helping me a lot!

You're welcome, I'm glad to know that you like it :wink:
I've just published a new version (<IP_ADDRESS>), it should be available soon:
https://github.com/asciidoctor/asciidoctor-chrome-extension/releases/tag/v<IP_ADDRESS>

Wohoooo! :) thanks


PWA

As a user I would like the site to load even if I don't have connectivity to the internet.

Resolved via PR  https://github.com/jfehrman/decision_json_editor/pull/24.


Typo (lecture 1, slide 29/43)

https://github.com/CEVE-421-521/ceve-421-521.github.io/blob/e1da5671903933c4ca1a732ea606fef58041d422/lectures/01-intro-class-topic.qmd#L270C1-L270C18
The word "examps" in this line should be corrected to "exams"

I am having trouble finding how to make a pull request for this...

Great, fixed it! +1


Unload all modules loaded during the test

these module can still hold references to fake modules
modules already loaded at test start are not affected
see #501 and #427

@jmcgeheeiv - please have a look. This shall fix the mentioned problems, but I would like to have a second opinion on probable problems/side effects this could cause.

Well, now I've done it. I changed a comment and now it fails a test. Comments?

Well, now I've done it. I changed a comment and now it fails a test. Comments?

You made an error in your correction: Dereference all force all modules, so the spell checker found that 😛
It may also have to do with the PEP8 finding that a line is too long...
I recently (while handling #500) activated the flake8 test (put here by a contributor) so that is fails the build if it has warnings. This is a bit over the top, and I can deactivate it again - it was more of an experiment anyway.

Thanks!


fix(ci): release using ttl.sh image

What this PR does / why we need it:

ttl.sh image is ending up in the release metadata
"proxy.replicated.com/anonymous/ttl.sh/replicated/ec-utils@sha256:ce82b0dd0b8816d87d26d4ebec0f95cdca964a5e092739903150943a9621aa47"

Which issue(s) this PR fixes:

Does this PR require a test?

Does this PR require a release note?

Does this PR require documentation?

Merging as this only affects release ci


Fix removing "branches/" prefix from "upstream_ref"

In case upstream_ref contains a branch name (and thus it is supposed to start with branches/), then properly use removeprefix() to drop the branches/ prefix.
lstrip() literally removes all the characters specified in the parameter string from the beginning of the string until any other character is found, so upstream_ref=sample-* will be turned into upstream_ref=ample-* (note the missing "s", as it is in branches/).
TODO:

[ ] Write new tests or update the old ones to cover new functionality.
[ ] Update doc-strings where appropriate.
[ ] Update or write new documentation in packit/packit.dev.
[ ] ‹fill in›

Fixes
Related to
Merge before/after
RELEASE NOTES BEGIN
Packit now properly respects "upstream_ref" for tags that start with "a", "b", "c", "e", "n", "r", "s".
RELEASE NOTES END

Let's merge this, I'll think about an unit test for the _expand_git_ref() method, it seems to be a bit tricky to write (that's probably why it doesn't exist in the first place).


android cannot open the libdevolay-natives

What I've discovered so far:
If you add -lstdc++ to this line in the build script:
https://github.com/WalkerKnapp/devolay/blob/e62ab166ba644559f737c3e9959d18d21205fe2e/devolay-natives/build.gradle.kts#L79
and copy the libc++_shared.so file of the respective Android architecture (this file is included in the ndk) into the jni directory, you can get past this issue. I think you can then leave out the "-static-libstdc++" option, because with the option mentioned above we use dynamic linking instead of static linking.
However, I'm now encountering a different problem where I'm stuck. When calling Devolay.loadLibraries(), it eventually leads to this call:
https://github.com/WalkerKnapp/devolay/blob/e62ab166ba644559f737c3e9959d18d21205fe2e/devolay-java/src/main/java/me/walkerknapp/devolay/Devolay.java#L156
This call returns -1, which results in the error message: The NDI™ SDK libraries were not found.
The libndi.so file is definitely bundled in the APK, but for some reason, it seems that it cannot be loaded.
Does anyone have any ideas on how to resolve this?


all: Parameterize the checkpoint frequency

It used to be hardcoded to 64 (which is what normal Stellar Core).
However, when using ARTIFICIALLY_ACCELERATE_TIME_FOR_TESTING in integration tests, the frequency is reduced to 8.
Followup to #3264

PTAL


adds basic CTGAN to reprosyn

uses the alan-turing-institute fork, which has some edited dependencies so that ctgan can be installed alongside other packages, but is many commits behind the original https://github.com/sdv-dev/CTGAN. Will make an issue and link to here.

added a simple syntactic accuracy check.

added to cli.

added example into notebook.

Looks good to me :)


Add meandered resistores and resistor w/ superconducting interconnect

I do not see the images in your version of the documentation. You might need to run the generate-api script?


SPOI-9032 Added sample application for Inner Join

@bhupeshchawda @chinmaykolhatkar Please review and merge.

Can you add into this example showcasing join operator with static and dynamic partition?

Added the join operator with static partition in application. Operator doesn't have any specific logic regarding the dynamic partition. Also, I need to check whether the Managed state supports dynamic partition or not as well as the join operator.

@chaithu14 One last comment I've added.
Also please rebase ur branch with latest from master. I'll merge it once done.

Re-based the branch and updated.


[AMBARI-24582] - Ambari Alert - HiveServer2 Process - False negative in Certain Scenarios

What changes were proposed in this pull request?
The Hive Alert & Hive Service Check both share the same logic from hive_check which attempts to execute something similar to:
beeline -u '%s' %s -e ';' 2>&1| awk '{print}' | grep -i -e 'Connection refused' -e 'Invalid URL'"

This type of negative condition checking misses a lot of failures, such as permission problems and SSL/JKS problems. Instead, we should change this to a positive check.

Add the -n option to specify the hive user since the hive warehouse inode is protected. This option is ignored for Kerberos
Change the grep to look for positive conditions

Connecting to jdbc:hive2://c7403.ambari.apache.org:10000/;transportMode=binary
Connected to: Apache Hive (version <IP_ADDRESS>.0.0.0-1553)
Driver: Hive JDBC (version <IP_ADDRESS>.0.0.0-1553)
Transaction isolation: TRANSACTION_REPEATABLE_READ
Beeline version <IP_ADDRESS>.0.0.0-1553 by Apache Hive
Closing: 0: jdbc:hive2://c7403.ambari.apache.org:10000/;transportMode=binary

How was this patch tested?
Manual testing on both Kerberized and non-Kerberized clusters and unit tests updated.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3812/
Test PASSed.


Icon request: Minehub.de

URL of the site or app (required): https://minehub.de/
Logo resources for the icon (optional, but recommended): https://minehub.de/static/web/img/logo/MHUB.svg

Here you go!
https://github.com/aegis-icons/aegis-icons/blob/master/SVG/Minehub.de.svg
❓ How to add icon(s) to Aegis?


[stable/mongodb] Validate 'mongodbDatabase' and 'mongodbUsername' parameters

Signed-off-by: juan131<EMAIL_ADDRESS>What this PR does / why we need it:
When an user wants to create a custom database/user during the 1st initialization, both 'mongodbDatabase' and 'mongodbUsername' parameters must be provided. This PR adds a validation for that.
Which issue this PR fixes

fixes https://github.com/helm/charts/issues/15895

Checklist

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/chart])

/lgtm
/ok-to-test


Console Spam

Hai im getting alot of console spam from the plugin anything I can do about it?
10.02 19:39:45 [Server] Server thread/INFO [STDOUT]: [com.gmail.trentech.stackban.EventListener:onDropItemEvent:206]: DROP
That x10 every second or so.
Thanks for the plugin.

OH hey that's a good thing. That means an event that wasn't implemented in Sponge is now working. Also means I need to update it to fix the spam. Thanks for the report

Any ETA on the update? Or is it possible to get a small (hotfix)? I assume its basically only a few lines of code that need changing.

Could we get an update for this. Its really annoying

update?

I believe he fixed this here: https://github.com/trentech/StackBan/commit/b831166002c114ae54b4b04305a96a2132dcb48a
And you can get the new file here: https://github.com/trentech/StackBan/releases/tag/0.3.0

Yeah this has been resolved

@trentech Quick question: does StackBan-v0.3.0 work on a 1.10.2 SpongeForge server?

I believe I built the release on API 5.2.0 although I don't remember anything really changing between 5.2.0 and 7.0.0 so it should work regardless

Well, the name of the file (stackban-6.1.0-0.3.0.jar) does contain "6.1.0." So that'll work on a 5.2.0 server?

Like I said I don't think anything changed API wise so yes it should work

Great, thanks!

And which version of ProjectCore should I be using on my 5.2.0 server?

Technically they're both the same but as to avoid comments about not having a version for 5.2.0 I created a build for both 6.x and 5.x. Doesn't really matter which one you use but it's always good practice to match 6.1.0 to 6.1.0 in case anything ever does change between versions

Alright, thank you!


Make lsp backend configurable

Is your feature request related to a problem? Please describe.
当用户配置了 lsp 类型为 clangd 时，生成特定的 compile_commands.json
Describe the solution you'd like
加个配置
Describe alternatives you've considered
No response
Additional context
No response

可以来个 pr

https://github.com/xmake-io/xmake-vscode/pull/245


Package request: ripsecrets

Project description
A command-line tool to prevent committing secret keys into your source code. It has a few features that distinguish it from other secret scanning tools.
Metadata

homepage URL: https://github.com/sirwart/ripsecrets
source URL: https://github.com/sirwart/ripsecrets
license: mit
platforms: linux, darwin

#254163


exercise 1_7 update

@ledell I added to exercise 1.7 these 2 lines...
credit_train
credit_test

...as it wasn't code available to generate an output. Tests are not running, so an output is needed. Please, check if my interpretation is correct. Probably some formating to credit_train and credit_test tables is necessary to a better display in the tutorial.
I think this is the same situation of exercise 2.11. Remember that modifications to code should be done in the exercises and it respective solution files.
I can do the changes, let me know.


Update RailsVersions.md with recent Rails versions

Updating with recent Rails versions.
[ci skip]

Thanks for updating this! :heart:
Can you also add Rails 4.2 with rspec-rails 3.1? That's when we officially started supporting it.

Done. Thanks!

Thanks again! :smile_cat:


Changed Zephyr code base causes compilation errors (z_impl_clock_gettime)

Issue template

Hardware description: STM32H743ZI
RTOS: First noticed on Zephyr 3.5.99
Installation type:
Version or commit hash: iron

Steps to reproduce the issue
Dear micro-ROS maintainers,
Due to a recent change in Zephyr code it is no longer possible to successfully compile micro-ROS using the latest Zephyr code.
The notified problem is:  " in function uxr_nanos': undefined reference to z_impl_clock_gettime' "
The Zephyr developers have removed the `z_impl_clock_gettime' function and replaced it by the clock_gettime function. As far as I can tell this seems to only be a change in name with similar functionality, but you can better check that yourself as well.
The change happened in commit 95a22b1 in the lib/posix/clock.c file.
https://github.com/zephyrproject-rtos/zephyr/commit/95a22b12174621aeba8ca3e0e61f7c66f03202bf#diff-d6e991eb8b553cb6e536ec823096cee7c24036762da9876a91884d9eefcd1160
Proposed solution
As far as I can see this function is only used in the micro-ROS Micro-XRCE-DDS-Client/src/c/util/time.c file (https://github.com/eProsima/Micro-XRCE-DDS-Client/blob/master/src/c/util/time.c)
As a temporary fix I could use a wrapper in my main file for the new function name and could get my code compiling again.
int z_impl_clock_gettime(clockid_t clock_id, struct timespec *ts){
return clock_gettime(clock_id, ts);
}
It would however be nice to have this change incorporated in the general micro-ROS code.
I hope to have provided sufficient information.
Kind regards

Latest supported version is v3.1.0 as you can see in the readme.
Please feel free to create a PR with a proposed solution.

I created a PR with a proposed solution: https://github.com/eProsima/Micro-XRCE-DDS-Client/pull/378

Closing this as https://github.com/eProsima/Micro-XRCE-DDS-Client/pull/378 was merged.
BTW @danielallstar are you using 3.5.99 seamlessly with this repo? Can we add support to this version without any major problems? Would you mind reporting if there are any other changes required to add official support to this version?

@danielallstar could you propose a solution for that? micro-ROS transport setter offers a "user argument" so maybe we can use it to define at the app level the USART used