laradock_nginx_1 exited with code 2

Info:

Docker version ($ docker --version):  Docker version 18.09.0, build 4d60db4
Laradock commit ($ git rev-parse HEAD):  d8c36ab86007f04293d380bcf8325cb70c76fdd0
System info (Mac, PC, Linux):  PC
System info disto/version:  Windows 10  Pro (1803, 17134.407)

Issue:
Y:\vhosts\laradock>docker-compose up nginx
WARNING: The PHP_FPM_INSTALL_TOKENIZER variable is not set. Defaulting to a blank string.
laradock_workspace_1 is up-to-date
Starting laradock_docker-in-docker_1 ... done
Starting laradock_php-fpm_1          ... done
Starting laradock_nginx_1            ... done
Attaching to laradock_nginx_1
nginx_1                | /opt/startup.sh: line 2: $'\r': command not found
nginx_1                | /opt/startup.sh: line 10: syntax error: unexpected end of file
laradock_nginx_1 exited with code 2
https://stackoverflow.com/questions/53356394/cant-get-nginx-to-run-under-docker-environment-on-windows-for-unknown-reason
convert laradock\nginx\startup.sh file's windows style line endings to linux style line endings solve the problem

Expected behavior:
nginx start

Reproduce:
install docker on windows 10

i have the same problem! Normal file format after switching from DOS to UNIX.
You can close the issue.

this is a correct answers.

convert laradock\nginx\startup.sh file's windows style line endings to linux style line endings solve the problem

I am having the exact same issue.
If this is solution

convert laradock\nginx\startup.sh file's windows style line endings to linux style line endings solve the problem

How do you do it? Please explain.

I was able to resolve this issue by opening  laradock\nginx\startup.sh with Notepad++ and changing the EOL setting there. Any more elegant solution?

open vim nginx/startup.sh
:set fileformat=unix
:w startup.sh
docker-compose up --build nginx
docker-compose restart
docker-compose ps

Shouldn't the fixed file be committed?


Spec results reported twice?

Hi,
Loving guard and guard-rspec, but I've come across an issue which I'm not sure how to resolve (I'm sure it is something wrong in my configuration but not sure how to proceed):
When I run my specs, I get the following output:
$ guard
Guard is now watching at '/mycomputer/myproject'
Guard::RSpec is running, with RSpec 2!
Running all specs
......

Finished in 0.06 seconds
3 examples, 0 failures

Finished in 0.06 seconds
3 examples, 0 failures```

For some reason, it appears to be running twice. My guardfile is as follows:
group 'specs' do
  guard 'rspec', :notification => false, :version => 2 do
    watch('spec/spec_helper.rb')                        { "spec" }
    watch(%r{^spec/.+_spec\.rb})
    watch(%r{^app/(.+)\.rb})                            { |m| "spec/#{m[1]}_spec.rb" }
    watch(%r{spec/factories/(.+)\.rb})                  { "spec" }
  end
end

group 'wips' do
  guard 'cucumber', :notification => false, :cli => "--require features --profile=wip" do
    watch(%r{app/views/.+})                             { 'features' }
    watch(%r{^features\/(.*).feature})
    watch(%r{features/support/.+})                      { 'features' }
    watch(%r{features/step_definitions/(.+)_steps\.rb}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' }
  end
end

Can anyone shed any light on this problem? I think it's me... but just incase...
Kind Regards
Gav

I am having this same issue, listing the failed results twice, using the guard line:
guard 'rspec', :bundler => true, :version => 2, :cli => "--color --format=documentation" do

If I remove the :cli options it does not list results twice.
Since this issue has been closed, I updated to the latest 0.5.10 version assuming it would have been fixed.  Sadly, it has not.
My preference is documentation formatting.  Passing the :cli option seems to cause a problem so I tried setting the options in the RSpec.configure do |config| line which again duplicated results (displaying four times).  It seems that .rspec file is ignored.
Is there any way to set the formatter to 'documentation' without displaying results twice?  Please let me know if you need any additional info.

We use :cli => "--color -f doc" and it works pretty well. Which version RSpec are you using?

RSpec: 2.7.1
It's not a version issue though.  If you specify '--format progress' and '--format=documentation' it will list results twice.  The problem is that the code expects the format option to be specified in only two ways:

-f format_name
--format format_name

Another, perfectly legal, way to specify formatters is:
--format=format_name
Notice the '=' sign.  If that happens the code will ignore the specified formatter and add the default '--format progress' to the options.  The fix that I posted takes into account the '=' sign.
Cheers,
--
Chris Blackburn
Midwire Technologies, LLC
<EMAIL_ADDRESS>913.738.4082
On Dec 29, 2011, at 4:33 PM, Thibaud Guillaume-Gentil wrote:

We use :cli => "--color -f doc" and it works pretty well. Which version RSpec are you using?

Reply to this email directly or view it on GitHub:
https://github.com/guard/guard-rspec/issues/20#issuecomment-3305902

got around this issue with something like this
  # Guardfile
  group :test do
    guard :rspec, cmd: 'bundle exec rspec -fd' do
      watch_rspec
    end
  end

  # spec_helper.rb
  unless ENV['GUARD_RSPEC_RESULTS_FILE']
    config.formatter = :progress
  end


CUDA arch (8.6) installation

Is there an existing issue for this?

[X] I have searched the existing issues

Have you followed all the steps in the FAQ?

[X] I have tried the steps in the FAQ.

Current Behavior
I am using 3090Ti for installing torchsparse, I wonder if this repo is compatible with arch 86.
Error Line
ValueError: Unknown CUDA arch (8.6) or GPU not supported
Environment
- GCC:7.5.0
- NVCC:10.2
- PyTorch:1.6.0
- PyTorch CUDA: 10.2

Full Error Log

Error Log
[PUT YOUR ERROR LOG HERE]

How did you solve it? Had the same problem with 3090. Environment is identical to yours.


fix: DM noise warning

Issue #, if available:
Description of changes:
The DM simulator would always output the warning that there was no noise in the circuit (even when there is). This seems to be because when we get the types from the circuit instructions they are all prefixed with "braket.". I've removed the prefix.
Testing done:
Tested with noisy circuit to verify the warning message is no longer output.
Merge Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.
General

[ ] I have read the CONTRIBUTING doc
[ ] I used the commit message format described in CONTRIBUTING
[ ] I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

[ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[ ] I have checked that my tests are not configured for a specific region or account (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Sorry, will this break things for pure Julia users? Could we make the check an || (or)?

Sorry, will this break things for pure Julia users? Could we make the check an || (or)?

If it doesn't find "braket." it should just be a no-op, right?

Yes, but you can also get rid of the repeated replace. https://docs.julialang.org/en/v1/base/strings/#Base.replace-Tuple{IO, AbstractString, Vararg{Pair}} Multiple patterns are supported in one call.

Yes, but you can also get rid of the repeated replace. https://docs.julialang.org/en/v1/base/strings/#Base.replace-Tuple{IO,%20AbstractString,%20Vararg{Pair}} Multiple patterns are supported in one call.

Oh, you're right! I was afraid I would need to use a regex.


[tw] localize Application Programming Interface (API) for Traditional Chinese

Localize Application Programming Interface (API) for Traditional Chinese
https://glossary.cncf.io/application-programming-interface/

Thanks!


⚠ SpeakUpConference.com has degraded performance

In 3fe2fd8, SpeakUpConference.com (https://www.speakupconference.com) experienced degraded performance:

HTTP code: 200
Response time: 14644 ms

Resolved: SpeakUpConference.com performance has improved in dbc265d after 18 minutes.


Fix README.md

The incorrect port number for localhost.

The current README should be correct. Port 5000 is used, not port 5005


macOS replace files  path

$ /Library/Application/Support/BOINC/Data/skins/Default

awesome, thank you. :)


config file error "Error: insufficient sockets. worker=0 sockets=1 cps's cc=37500"

Error occurs in my conf file, what it means ?
[root@localhost] dperf -c client-nat.conf
Error: insufficient sockets. worker=0 sockets=1 cps's cc=37500

[root@localhost] cat client-nat.conf
# ====== vxlan client ================
mode            client
cpu             32-47
tx_burst        128
launch_num      16
payload_size    1
socket_mem      3072,3072
duration        10m
cps             300k
#port           pci             addr       gateway
port            0000:02:00.0    <IP_ADDRESS>  <IP_ADDRESS>

#vxlan          vni             inner-smac          inner-dmac          vtep-local  num vtep-remote num
vxlan           1000            bc:16:95:44:f9:3d   bc:16:95:45:00:b7   <IP_ADDRESS>   16   <IP_ADDRESS>   1

#               addr_start      num
client          <IP_ADDRESS>       1
#               addr_start      num
server          <IP_ADDRESS>         16
#               port_start      num
listen          80              1

your target "cps  300k" is so high, but your ip addresses and ports is not enough.
please try:
1.
cps 10k
or

listen          80              100

fixed thanks

fixed thanks

unfortunatelly, this problem still exists.

fixed thanks

unfortunatelly, this problem still exists.

it works now !


Change X-Frame-Options header

Or is that out of scope for this project?

Django core has your back: https://docs.djangoproject.com/en/1.10/ref/clickjacking/ . Hope that helps.


Update contributing documentation to document new website deployment strategy

Follow up of https://github.com/openmicroscopy/www.openmicroscopy.org/pull/239 and https://github.com/openmicroscopy/prod-playbooks/pull/88, this updates the contributing pages to document the new process for releasing a new version of the website.

https://github.com/openmicroscopy/ome-documentation/pull/1887/files#diff-9c7106eb597fe922382de0c1b8097d67R12

These sites can be built and tested by installing a local copy of Jekyll

The Gemfile was removed in https://github.com/openmicroscopy/www.openmicroscopy.org/pull/239 so does this still work or should you use the docker image instead?

In local testing I would remove the Gemfile because I didn't have what it wanted and things seemed to work fine so I'm glad to see the back of it.

Merging for 5.4.7 since it describes the new way to deploy the website


parameters.xml sort parameters by name, sort enums by value

This should reduce churn in the QGC, devguide, and user guide automated commits.
@hamishwillee

This fixes a few annoying things in QGC as well.


removed tenacity from deps

#510

@gmogr somehow test output was not copied to Github again. Could you take a look, please?


Don't disable default-features of sc-service in node-template

We need to keep the features enabled to have rocksdb enabled as db
backend.
Fixes: https://github.com/paritytech/substrate/issues/5858

CC @JoshOrndorff


Support multiple service ports

Feature Request
Is your feature request related to a problem?
A few ppl have asked me how to set two service endpoints with the Operator.  Currently we only allow 1.
Describe the solution you'd like
We should allow for an array of service ports / names.

We need to consider how this would affect service binding


springcloud gateway整合nacos读取不到配置文件

version：springcloud Hoxton.SR9 + spring-cloud-alibaba-dependencies 2.2.6.RELEASE
question:  use nacos to manage gateway routing information,but it does not work,when gateway server started, unable to read configuration

the following image shows the configuration of bootstrap. yml

the following image shows the configuration in nacos

You can refer to https://github.com/alibaba/spring-cloud-alibaba/blob/2022.x/spring-cloud-alibaba-examples/nacos-example/nacos-config-example/readme-zh.md. It seems that you do not set the spring.config.import field in bootstrap.yml?

You can refer to https://github.com/alibaba/spring-cloud-alibaba/blob/2022.x/spring-cloud-alibaba-examples/nacos-example/nacos-config-example/readme-zh.md. It seems that you do not set the spring.config.import field in bootstrap.yml?

nacos version in spring-cloud-alibaba-dependencies 2.2.6.RELEASE is 1.4.2

please refer to https://github.com/alibaba/spring-cloud-alibaba/blob/2.2.x/spring-cloud-alibaba-examples/nacos-example/nacos-config-example/readme-zh.md.  It only supports properties, yaml is not supported. I just turned it to properties configuration, and it works!

Configuration in nacos is as below:
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone=GMT+8
spring.cloud.gateway.routes[0].id=base
spring.cloud.gateway.routes[0].uri=lb://base
spring.cloud.gateway.routes[0].predicates[0]=Path=/base/**


Feature request: Wavebird support

There's plenty of GameCube Wavebird controllers for sale on various websites, however, a number of them don't come with the required receiver. This makes them undesirable to most people.
I know Wavebird controllers don't use the Bluetooth protocol, but it's a wonderful device that I'd love to be able to use on multiple devices, as well as a GameCube of course.

Simply impossible in the context of this project.


Fix Test Metric "Notebook CPU Usage" On ODS Prometheus

Signed-off-by: Jorge Garcia Oncins<EMAIL_ADDRESS>

Successfully tested here: https://opendatascience-jenkins-csb-rhods.apps.ocp-c1.prod.psi.redhat.com/job/rhods-ci-pr-test/1427


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 430 ms

Resolved: ClamAV performance has improved in 12e043f.


fe code setup issue

Describe the bug
Local setup and start single report failed.
To Reproduce
Steps to reproduce the behavior:

Setup environment:

node --version
v14.18.1

Execute command

yarn
yarn run start:single

See error

index.js:19 Uncaught RangeError: Invalid time value
    at DateTimeFormat.formatToParts (<anonymous>)
    at partsTimeZone (index.js:19:1)
    at tzIntlTimeZoneName (index.js:15:1)
    at Object.z (index.js:100:1)
    at index.js:344:1
    at Array.reduce (<anonymous>)
    at format (index.js:337:1)
    at formatInTimeZone (index.js:41:1)
    at formatReportTime (formatters.tsx:20:1)
    at SRTablesListPage (SRTablesListPage.tsx:27:1)
react-dom.development.js:18687 The above error occurred in the <SRTablesListPage> component:

    at SRTablesListPage (http://localhost:3002/static/js/bundle.js:3435:5)
    at component
    at Route (http://localhost:3002/static/js/bundle.js:356378:5)
    at Switch (http://localhost:3002/static/js/bundle.js:356432:5)
    at Router (http://localhost:3002/static/js/bundle.js:356364:69)
    at Suspense
    at AppSingle
    at App
    at EnvironmentProvider (http://localhost:3002/static/js/bundle.js:26937:24)
    at ColorModeProvider (http://localhost:3002/static/js/bundle.js:15589:21)
    at ThemeProvider (http://localhost:3002/static/js/bundle.js:44696:64)
    at ThemeProvider (http://localhost:3002/static/js/bundle.js:32475:27)
    at ChakraProvider (http://localhost:3002/static/js/bundle.js:26228:24)
    at ChakraProvider (http://localhost:3002/static/js/bundle.js:27649:23)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.
logCapturedError @ react-dom.development.js:18687
react-dom.development.js:26923 Uncaught RangeError: Invalid time value
    at DateTimeFormat.formatToParts (<anonymous>)
    at partsTimeZone (index.js:19:1)
    at tzIntlTimeZoneName (index.js:15:1)
    at Object.z (index.js:100:1)
    at index.js:344:1
    at Array.reduce (<anonymous>)
    at format (index.js:337:1)
    at formatInTimeZone (index.js:41:1)
    at formatReportTime (formatters.tsx:20:1)
    at SRTablesListPage (SRTablesListPage.tsx:27:1)

While in terminal everything looks successful.
Compiled successfully!

You can now view piperider-report in the browser.

  Local:            http://localhost:3002
  On Your Network:  http://<IP_ADDRESS>:3002

Note that the development build is not optimized.
To create a production build, use yarn build.

webpack compiled successfully
Files successfully emitted, waiting for typecheck results...
Issues checking in progress...
No issues found.

Expected behavior
Setup run successfully and can serve report locally
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: macOS
Python Version 3.7.10
Piperider Version 0.8.0-dev

Additional context
I've followed README.md in static reports folder to init,  generated single and comparison report with some sample datasets.

Hi chenxuanrong,
Based on the provided information, the issue appears to be in the generated run.json file, specifically the format of a datetime.
Would you be able to provide us with either your run.json file or, if this contains sensitive information, an anonymized sample of your source data so we can try to recreate the issue?
Also, if you use the same data source in the latest stable release, do you have the same issue?

Thanks,
Chenxuan

Hey @chenxuanrong,
I wasn't able to reproduce the issue during serve, following your steps.
https://www.loom.com/share/b3b6e3aee0514dbdb46dd765b4436134
Would like to investigate further, but need to be able to reproduce it on my end to better help identify the cause.
Couple things to help us along narrowing down the issue:

Could you perhaps check that you are on the latest of main branch?
What is your browser version/info?
What is your system OS?
Does this only happen for single reports? and not comparison report?

Hi @chenxuanrong,
We have managed to reproduce the issue.
Before running npm run start:single, please run compare-reports with the debug flag:
piperider compare-reports --debug
This creates a file comparisons/latest/comparison_data.json, which isn't actually required for single report, but when missing causes an error before the server is created.
Thanks for pointing us to this issue. We'll be updating the readme with the additional info soon.
Please let us know if this resolves the problem.
Dave

Thanks @DaveFlynn  and @jonycfu for the prompt reply.
I'm now able to set up locally.


Feature Request - Commands to streamline management of multiple push targets.

Feature Request - Commands to streamline management of multiple push targets.
Describe the solution you'd like
There have been a few similar proposals (#349 is one of them). I'd categorize this as a "nice-to-have", where we could have options to store, track and switch between multiple push targets (ie. scriptIds) via a switch/branching mechanism similar to how git branch functions. Likely requires a number of new commands. Something along the lines of:

Command
Description

clasp target [TARGET-NAME] [SCRIPT-ID]
Creates a new push target

clasp target switch [TARGET-NAME]
Switches to named target.

clasp target list
Lists targets.

clasp target delete [TARGET-NAME]
Deletes named target.

clasp target
Displays the name of the current target.

And .clasp.json may have the following configuration:
   {
       ...,
       "targets":[
           {
               "name":"(default)", // automatically created when project is 1st created or cloned
               "scriptId":"xxxxxxxxxxxxxxxxxxxxxxxxxx"
           },
           {
               "name":"[TARGET-NAME]",
               "scriptId":"yyyyyyyyyyyyyyyyyyyyyyyy"
           },
           {...}
       ],
       "currentTarget":"(default)",
       ...
   }

Describe alternatives you've considered
Currently, we can leverage the clasp settings command to set the scriptId key in .clasp.json. But there is no history of prior push targets. Ideally, push targets (ie. scriptIds) would be stored in clasp.json as previously proposed in #349.

@grant could you please advise on how the .claspignore file should be located?
Current code does not give a clear idea of the intended process:
export const DOTFILE = {
  /**
   * Reads DOT.IGNORE.PATH to get a glob pattern of ignored paths.
   * @return {Promise<string[]>} A list of file glob patterns
   */
  IGNORE: () => {
    // TODO: there seems to be a logic error in how `.claspignore` is resolved
    const projectPath = findUp.sync(DOT.PROJECT.PATH);
    const ignoreDirectory = path.join(projectPath ? path.dirname(projectPath) : DOT.PROJECT.DIR);
    return new Promise<string[]>((resolve, reject) => {
      if (
        fs.existsSync(ignoreDirectory) // TODO: is ignoreDirectory really needed?
        && fs.existsSync(DOT.IGNORE.PATH)
      ) {
        const buffer = stripBom(fs.readFileSync(DOT.IGNORE.PATH, { encoding: 'utf8' }));
        resolve(splitLines(buffer).filter((name: string) => name));
      } else {
        resolve(['**/**', '!appsscript.json', '!*.js', '!*.ts']);
      }
    });
  },

Unless I am missing something, it can be summarized as "look for .claspignore in CWD. If not present, use built-in default"

Should be next to the .clasp.json


Refactor: Emissions Import Module Part 2

Update the emissions parent records to build a summary list of injection records:

[ ] Long Term Fuel Flow
[ ] Sorbent Trap
[ ] NSPS4T Summary

Since this data is a little hard to find I've compiled a list of all oris codes and reporting periods with these data types:
Refactoring Data Import Payload Pt2.xlsx


Add link to CI on readme

On https://github.com/cloudfoundry/uaa and https://github.com/cloudfoundry/uaa-release readmes can we put in the link to CI please?

Hi @drnic we currently do not have a publicly visible pipeline to show uaa-release running our CATs and IDATS tests.
We have an upcoming epic where we can discuss making some of our pipelines publicly visible.


When release the "fast" code?

Hi,
Your FAST paper is really amazing! I wish try it on my own tasks, when release the "fast" code?
Looking forward your reply! Thanks!

waiting FAST release

@whai362
Waiting FAST Release...


Error when DB only has 1 resource added to it via the .add module

Hello,
I had to issue this error on embedchain during the inference that arises when there is only one resource added to the chromadb. Below is the attached screenshot to the error on streamlit app of embedchain that I created.

I would merge my PR #63 first, maybe that helps, then we should investigate this.

My last reply was non-sense, but it works for me with 1 resource.
from dotenv import load_dotenv
load_dotenv()

from embedchain import App

naval_chat_bot = App()

# Embed Local Resources
naval_chat_bot.add_local("qna_pair", ("Who is Naval Ravikant?", "Naval Ravikant is an Indian-American entrepreneur and investor."))

print(naval_chat_bot.query('Can you tell me who Naval Ravikant is?'))

From my experience, the issue is more likely that your database was deleted, take a look at my comment on #98.

It turns out, the embedding finds the nearest vector, no matter how far it is. So even if you just have one 1 resource and you ask a completely different question, that resource is still the closest vector and is returned.
@taranjeet this will be interesting for you too, because these questions keep popping up.
Here's an example:
naval_chat_bot.add_local("qna_pair", ("Who is Naval Ravikant?", "Naval Ravikant is an Indian-American entrepreneur and investor."))

print(naval_chat_bot.dry_run("What was SalehAhmad1's issue about?"))
print(naval_chat_bot.query("What was SalehAhmad1's issue about?"))

Obviously, the database has no answer for the query. But it still returns the following:
Use the following pieces of context to answer the query at the end. If you don't know the answer, just say that you don't know, don't try to make up an answer.
        Q: Who is Naval Ravikant?
A: Naval Ravikant is an Indian-American entrepreneur and investor.
        Query: What was SalehAhmad1's issue about?
        Helpful Answer:

I don't know.

So yes, it finds the response as the nearest vector even if the distance is infinite.

All the tests the community have run since then let us suspect that the database was empty at the time you ran this. Unless you can confirm that it's not (using the count method) or a script that starts with a reset, I will close this issue for being non-reproducible.


AMP-42587 update segment plugin to use segment 4.1+

Upgrade segment version
Need to change the module name since the change introduced in 4.1.0

Good catch @justin-fiedler let me update for Carthage framework as well, didn't install it earlier since we normally just use Cocoapod


Invalid argument(s): DEVICETOKEN is not a valid CallState.

Issue Summary
Fatal Exception: FlutterError
Invalid argument(s): DEVICETOKEN is not a valid CallState.
0
twilio_voice_method_channel.dart - Line 430
MethodChannelTwilioVoice.parseCallEvent + 430
1
twilio_voice_method_channel.dart - Line 32
MethodChannelTwilioVoice.callEventsListener.<fn> + 32

Steps to Reproduce
Looking at the source, apparently this implies that the String "DEVICETOKEN" was passed as the parameter to parseCallEvent.  parseCallEvent seems to handle a String starting with "DEVICETOKEN|" but does not handle just the String DEVICETOKEN:
  @override
  CallEvent parseCallEvent(String state) {
    if (state.startsWith("DEVICETOKEN|")) {
      var token = state.split('|')[1];
      if (deviceTokenChanged != null) {
        deviceTokenChanged!(token);
      }
      return CallEvent.log;
    } else ....

Maybe a simple fix?  But I'm not sure of the root cause or why this would be unexpected.  Maybe it means that the device token became null?

Hi @jd-bus
Great catch, thanks for posting this issue. I'll investigate but clearly it's not meant to be the case. I'll address it in this next update.


Set minimum version 2.0 to responders

On environment that uses just bundler to manage gems and has installed an old
version of responders (prior 2.0.0) that old version will be installed ,
but Devise will raise errors trying to call methods there exists only on
responders 2.0+
It solves #3685

Unfortunately we cannot do this because Responders 2.0.0 is Rails 4.2. Maybe we could release a new Devise version with Rails 4.2 only support, in preparation to Rails 5, but we will need to decide that before moving on.

On Responders Readme for versions 2.0.0 .. 2.0.x says it is Rails 3.2+ compatible.
Is it wrong? If don't, I think it would be ok fix responders version to '~> 2.0.2'

Nevermind, I read the Changelog, and there really says that 2.0.x is rails 4.2 compatible only :(


Install issue

Originally had Bosch Thermostat installed and working.
Upgraded HA, integration stopped working.
Removed Bosch Thermostat integration.
Reinstalled via HACS
Trying to add back into HA, I get the error:

This integration does not support configuration via the UI. If you followed this link from the Home Assistant website, make sure you run the latest version of Home Assistant.

Logs show:

2022-03-15 09:15:18 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.bosch.config_flow
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 572, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 589, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 972, in _find_and_load_unlocked
File "", line 228, in _call_with_frames_removed
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/config/custom_components/bosch/init.py", line 9, in
from bosch_thermostat_client.const import (
File "/usr/local/lib/python3.9/site-packages/bosch_thermostat_client/init.py", line 10, in
from .gateway import gateway_chooser
File "/usr/local/lib/python3.9/site-packages/bosch_thermostat_client/gateway/init.py", line 1, in
from .ivt import IVTGateway
File "/usr/local/lib/python3.9/site-packages/bosch_thermostat_client/gateway/ivt.py", line 18, in
from bosch_thermostat_client.connectors import connector_ivt_chooser
File "/usr/local/lib/python3.9/site-packages/bosch_thermostat_client/connectors/init.py", line 2, in
from .ivt import IVTXMPPConnector
File "/usr/local/lib/python3.9/site-packages/bosch_thermostat_client/connectors/ivt.py", line 2, in
import aioxmpp
File "/usr/local/lib/python3.9/site-packages/aioxmpp/init.py", line 101, in
from .errors import (  # NOQA
File "/usr/local/lib/python3.9/site-packages/aioxmpp/errors.py", line 538, in
class UserError(Exception):
File "/usr/local/lib/python3.9/site-packages/aioxmpp/errors.py", line 559, in UserError
DEFAULT_FORMATTER = i18n.LocalizingFormatter()
File "/usr/local/lib/python3.9/site-packages/aioxmpp/i18n.py", line 108, in init
self.tzinfo = tzinfo if tzinfo is not None else tzlocal.get_localzone()
File "/usr/local/lib/python3.9/site-packages/tzlocal/unix.py", line 203, in get_localzone
_cache_tz = _get_localzone()
File "/usr/local/lib/python3.9/site-packages/tzlocal/unix.py", line 161, in _get_localzone
tzenv = utils._tz_from_env()
File "/usr/local/lib/python3.9/site-packages/tzlocal/utils.py", line 122, in _tz_from_env
raise ZoneInfoNotFoundError(
tzlocal.utils.ZoneInfoNotFoundError: 'tzlocal() does not support non-zoneinfo timezones like %s. \nPlease use a timezone in the form of Continent/City'
2022-03-15 09:15:18 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration bosch: Exception importing custom_components.bosch.config_flow
Any idea what's causing it and how I can resolve?
Thanks

i'm facing the same problem. any progress on this issue?

Got it, i have wrong timezone set in my docker container. Netherlands/Amsterdam instead of Europe/Amsterdam. All works fine now.

yes, XMPP needs to have proper timezone set up.


Update PHP 8.0 container to latest version

Any chance we can get an updated image for PHP 8.0?
It is currently stuck at 8.0.7, and the latest is 8.0.13. It also looks like the image that gets pulled down was last built 5 months ago.
devilbox/php-fpm                   8.0-work-0.127     549abc72a14c   5 months ago    2.94GB

Id you want a compatible version 8.0 with latest release available, consider to have a look on my project : https://github.com/llaville/docker-php-toolbox.
A new docker image with PHP 8.1 will also be available in next hours.

After 4 months to work on this project, I'm proud to announce a final version https://github.com/llaville/docker-php-toolbox/releases/tag/1.0.0, Devilbox architecture compatible, for all users who want an alternative to Docker images outdated.

What does it mean that this project will never receive updates on docker php images ?

@alikon I can't speak in place of @cytopia. I just would like announce that an alternative that work pretty fine with the devilbox is available. You have choice to build your own image (with extensions and tools) without to wait


Removed addon/utils/all.js and refactor where used

Closes softlayer/sl-ember-components#1395

Reviewed 12 of 12 files at r1.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

tests/unit/components/sl-button-test.js, line 8 [r1] (raw file):
Why wouldn't this be import warn?

tests/unit/components/sl-tab-panel-test.js, line 3 [r1] (raw file):
Why wouldn't this be import warn?

Comments from the review on Reviewable.io

Review status: all files reviewed at latest revision, 2 unresolved discussions.

tests/unit/components/sl-button-test.js, line 8 [r1] (raw file):
In this case, we want an object with a method on it so that we can spy on the warn() call for testing.

tests/unit/components/sl-tab-panel-test.js, line 3 [r1] (raw file):
In this case, we want an object with a method on it so that we can spy on the warn() call for testing.

Comments from the review on Reviewable.io


unrar-free: add setupHook

Description of changes
This adds a setupHook to unrar-free which is parallel to the one in unrar. This enables the unpackPhase to automatically use unrar-free to unpack RAR files.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg eval


Maven multi-module project doesn't correctly open modules

Hi there,
Since recent update to new version of an extension, the incorrect behavior was noticed when importing multi-module Maven project. When importing the "parent" project, the child modules are not getting resolved as Java projects in "Java Projects" pane. Also, when selecting the "pom.xml" file shown under any of the child "module", the parent's "pom.xml" is opened instead in the editor. The "explorer" view shows the structure correctly.
The POM structure of both "parent" and child modules, was re-checked several times and the same works well in other editors. When importing child modules alone, one by one or both together, they open as expected. The problem is noted only when importing "parent" POM with "modules" inside it.
Environment:
Project Manager for Java version: v0.22.0
VS Code version: v1.78.2

Could you provide a sample project and reproduce steps?

Sure. Please find attached the multi-module project that has that issue. Also below is the snapshot how it looks like in VS Code when tried to be loaded.
mvn-multimodule-test.tar.gz

Is that because of the typo? endpoints not endpionts

I used to face this issue once with the following environment.
OS: Windows 11 Home Single Language 22H2
VS Code version 1.78.2
Extension Pack for Java version 0.25.11
Project Manager for Java version 0.22.0
I have tried to Refresh, Clean Workspace  ,  close the VSCode and re-open many times but nothing help. The Java Project View still display only some maven modules and some of them were not be displayed.
Then I start from scratch by opening the empty VSCode, then choosing File --> Add Folder to Workspace...
At this time the Java Project View  is able to display all my maven module properly.
IMHO, there may be something in the mist with File --> Open Folder that block the Java Project View so that it is not able to list all maven sub module in the project hierarchy.

@jdneo I apologizes, noticed the typo late. Attached is the corrected version. However, same behavior once typo is fixed. The same project opens correctly in Eclipse IDE though.
@charleech Thank you for suggested steps, I tried those, but no success.
One more observation, is when I create similar hierarchy "from scratch", using Maven archetypes or manually, and importing it using the same steps as problematic project, the former ones opens correctly, without any issues.
An attached archive is similar to the real project, and was copy-pasted as is just with replacement of Java files and artifact names in the POM. The structure is the same.
mvn-multimodule-test.tar.gz

Thank you for the update. I can reproduce this issue on my side. I will debug into the extension to see what happens later.

With update 0.23 this problem still persists,
when you have a workspace with two or more java project folders added
and these projects has a parent project.

The problem still happens!

Hi @jdneo,
did you have a chance to work on the problem? It is really impossible to work with true multi-maven project with VSCode and requires to find different workarounds.

Sorry for the late reply. I looked into it today and find the root cause is the same as https://github.com/microsoft/vscode-java-dependency/issues/788.
I can confirm that after applying the change proposed by @fvclaus. The issue is addressed for the attached project.
I'll ask @fvclaus if he is willing to raise a PR for that since he is the one finds out the root cause.

Thanks, @jdneo!
I checked the description of linked issue and it seems indeed the problem. Looking forward when it is going to be part of  the next VSCode update.

I will keep an eye on this and try to make at least a pre-release for the fix.

Hi @jdneo,
With a recent update of VSCode it seems like some issues were resolved, at least I can load some modules but with only one level depth. When hierarchy goes to 3 levels then behaviour is the same as outlined in this issue and the linked ones. I understand that referred items are still open and it would be great if tests will cover different depth levels of projects with some reasonable number 5-10.

The solution provided in #791 should handle those cases. It's working in progress now please stay in tune.

Sorry it's a little bit late since the issue is reported.  Users should receive the update notification after couple hours.


Ignore class-const in NoRelativeFilePathRule

I think class constants should be allowed to contain any relative paths
refs https://github.com/rectorphp/rector-src/pull/3649#discussion_r1174623040

This would disable the point of this rule.
What about constants that use absolute path?
class SomeRectorSet
{
	pulblic const DEADCODE = __DIR__ . '/../sets/dead-code.php';
}


Doesn't work in python3.8

Doesn't run on python3.8
The type hint list[str] isn't valid in py3.8. Change to list
https://github.com/AharonSambol/PrettyPrintTree/blob/c4d6e00b3b505f9b775e6207d8096f3038de274b/PrettyPrint/Utils/NodeFormatter.py#L15
Traceback (most recent call last):
  File "productcode.py", line 371, in <module>
    print_tree()
  File "productcode.py", line 295, in print_tree
    from PrettyPrint import PrettyPrintTree
  File "/home/pquevedo/dev/fw-thor/scripts/deploy/env3.8/lib/python3.8/site-packages/PrettyPrint/__init__.py", line 1, in <module>
    from .PrintTree import PrettyPrintTree
  File "/home/pquevedo/dev/fw-thor/scripts/deploy/env3.8/lib/python3.8/site-packages/PrettyPrint/PrintTree/__init__.py", line 1, in <module>
    from .TreePrinter import PrettyPrintTree
  File "/home/pquevedo/dev/fw-thor/scripts/deploy/env3.8/lib/python3.8/site-packages/PrettyPrint/PrintTree/TreePrinter.py", line 4, in <module>
    from PrettyPrint.PrintTree.TreeFormatter import TreeFormatter
  File "/home/pquevedo/dev/fw-thor/scripts/deploy/env3.8/lib/python3.8/site-packages/PrettyPrint/PrintTree/TreeFormatter.py", line 3, in <module>
    from PrettyPrint.PrintTree.HorizontalTree import join_vertically, add_parent as add_parent_left
  File "/home/pquevedo/dev/fw-thor/scripts/deploy/env3.8/lib/python3.8/site-packages/PrettyPrint/PrintTree/HorizontalTree.py", line 1, in <module>
    from PrettyPrint.Utils.NodeFormatter import NodeFormatter
  File "/home/pquevedo/dev/fw-thor/scripts/deploy/env3.8/lib/python3.8/site-packages/PrettyPrint/Utils/NodeFormatter.py", line 5, in <module>
    class NodeFormatter:
  File "/home/pquevedo/dev/fw-thor/scripts/deploy/env3.8/lib/python3.8/site-packages/PrettyPrint/Utils/NodeFormatter.py", line 15, in NodeFormatter
    lines: list[str], *, height: int, width: int,
TypeError: 'type' object is not subscriptable

Oops, thanks for pointing that out, it should be fixed in the new version (2.0.1)


Why using torch.multinomial in probs select

Hello, I find you using torch.multinomial in choosing the cbet_probs indices. I'm confused about this, torch.multinomial is sampled with  probability distribution. Why not using the max probs one as indices?
cbet_probs = torch.softmax(cbet_logits, dim=-1)
NT, G, choices = cbet_probs.shape
sampled_centers = einops.rearrange(
    torch.multinomial(cbet_probs.view(-1, choices), num_samples=1),
    "(NT G) 1 -> NT G",
    NT=NT,
)

Hi @hellollw! One of the goals of VQ-BeT is to learn a multi-modal policy that has coverage of all possible demonstrated behavior, and not just the highest probability ones. That's why we sample from the possible actions rather than just picking the max probability action bin.


ESMValTool Tutorial: recipe_python extract_location preprocessor: GeocoderInsufficientPrivileges Error

Hi All,
I am preparing for an Introduction to ESMValTool workshop and I came across an error while trying to run the recipe_python.
The extract_location preprocessor returns an error and the recipe fails:
"""
Traceback (most recent call last):
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/geopy/geocoders/base.py", line 368, in _call_geocoder
    result = self.adapter.get_json(url, timeout=timeout, headers=req_headers)
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/geopy/adapters.py", line 447, in get_json
    resp = self._request(url, timeout=timeout, headers=headers)
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/geopy/adapters.py", line 475, in _request
    raise AdapterHTTPError(
geopy.adapters.AdapterHTTPError: Non-successful status code 403

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/esmvalcore/_task.py", line 816, in _run_task
    output_files = task.run()
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/esmvalcore/_task.py", line 264, in run
    self.output_files = self._run(input_files)
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/esmvalcore/preprocessor/__init__.py", line 670, in _run
    product.apply(step, self.debug)
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/esmvalcore/preprocessor/__init__.py", line 470, in apply
    self.cubes = preprocess(self.cubes, step,
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/esmvalcore/preprocessor/__init__.py", line 379, in preprocess
    result.append(_run_preproc_function(function, item, settings,
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/esmvalcore/preprocessor/__init__.py", line 328, in _run_preproc_function
    return function(items, **kwargs)
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/esmvalcore/preprocessor/_regrid.py", line 377, in extract_location
    geolocation = geolocator.geocode(location)
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/geopy/geocoders/nominatim.py", line 297, in geocode
    return self._call_geocoder(url, callback, timeout=timeout)
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/geopy/geocoders/base.py", line 388, in _call_geocoder
    res = self._adapter_error_handler(error)
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/geopy/geocoders/base.py", line 411, in _adapter_error_handler
    raise exc_cls(str(error)) from error
geopy.exc.GeocoderInsufficientPrivileges: Non-successful status code 403
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/esmvalcore/_main.py", line 524, in run
    fire.Fire(ESMValTool())
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/fire/core.py", line 475, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/esmvalcore/_main.py", line 411, in run
    self._run(recipe, session)
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/esmvalcore/_main.py", line 453, in _run
    process_recipe(recipe_file=recipe, session=session)
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/esmvalcore/_main.py", line 125, in process_recipe
    recipe.run()
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/esmvalcore/_recipe/recipe.py", line 1294, in run
    self.tasks.run(max_parallel_tasks=self.session['max_parallel_tasks'])
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/esmvalcore/_task.py", line 738, in run
    self._run_parallel(address, max_parallel_tasks)
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/esmvalcore/_task.py", line 782, in _run_parallel
    _copy_results(task, running[task])
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/site-packages/esmvalcore/_task.py", line 805, in _copy_results
    task.output_files, task.products = future.get()
  File "/g/data/xp65/public/apps/med_conda/envs/access-med-0.1/lib/python3.10/multiprocessing/pool.py", line 774, in get
    raise self._value
geopy.exc.GeocoderInsufficientPrivileges: Non-successful status code 403

main_log_debug.txt
I am attaching the main_log_debug.txt
Any help is appreciated as the tutorial day is fast approaching.
@bouweandela @remi-kazeroni ?

I am using geopy v2.3.0


Fix SystemStackError raised when diffing a recursive Enumerable object

This patch fixes SystemStackError raised when diffing an Enumerable object whose #each includes the object itself:
array = ['something']
array << array
expect(array).to eq([])

     Failure/Error:
       expect(array).to eq([])
     SystemStackError:
       stack level too deep

LGTM

#856 needs to be merged to fix the build.


Focus styles removed from list items.

Issue Description
Browser default focus styling was removed from list items, and no focus style was introduced for the terra default theme. Not sure this was intentional.
It appears this line is the issue:
https://github.com/cerner/terra-core/blob/master/packages/terra-list/src/List.scss#L65
If this was intentional we are lacking the box-shadow for focus that ux has set for other components, also the code to enable and disable the focus based on keyboard entry and mouse click.
Issue Type

[ ] New Feature
[ ] Enhancement
[x] Bug
[ ] Other

@neilpfeiffer Can we use the focus styles from button and input for this?

This issue is being worked on alongside #1320 and #1321


Expose shape enablement

See also:

https://github.com/knausj85/knausj_talon/pull/607
https://github.com/pokey/command-server/pull/8
https://github.com/pokey/cursorless-talon/pull/83

Closing for now, as this is a bit longer term


API Docs for 0.2.0

Description
Generated against 0.2.0 - will add some scripts (maybe a Buildkite build) to generate docs against head of develop to allow us to update these efficiently.
So much unnecessary whitespace - will need to track that down 🤷♂
First commit is likely the one you want to look at.
Tests
improbadoc serve ./docs --experimentz="{\"experiments\":[{\"experiment_name\":\"docs_table_of_contents_v2\",\"conditional\":{\"bool\":{\"enabled\":true}}}]}"

Documentation
N/A
Primary reviewers
If your change will take a long time to review, you can name at most two primary reviewers who are ultimately responsible for reviewing this request. @ mention them.

This will need to be updated to the latest code version once develop is frozen

Will open another PR with updated docs


Add zoom and fps configuration. Improve documentation. Check GMS status.

@rebuy-de/it-mobile

:+1:

:+1:


Feature: Enable URL Key Specification

We are sending keys like android_url from the server, so we want to make it possible to retrieve them.
https://github.com/mirzemehdi/KMPNotifier/blob/fe729de97830240ef2a1799959c15e13de53c25d/kmpnotifier/src/androidMain/kotlin/com/mmk/kmpnotifier/notification/AndroidNotifier.kt#L75

@sonatard can you please elaborate more what is the issue, couldn't get it?

Our code is as follows. Since the key for retrieving urlData is different, we believe that using KMPNotifier results in the inability to retrieve urlData.
override fun onMessageReceived(remoteMessage: RemoteMessage) {
    val urlData = remoteMessage.data["android_open_url"]

https://github.com/mirzemehdi/KMPNotifier/blob/55b91898845eac05f1fc59cd6cc32fcc547c4a19/kmpnotifier/src/commonMain/kotlin/com/mmk/kmpnotifier/notification/Notifier.kt#L11
https://github.com/mirzemehdi/KMPNotifier/blob/fe729de97830240ef2a1799959c15e13de53c25d/kmpnotifier/src/androidMain/kotlin/com/mmk/kmpnotifier/notification/AndroidNotifier.kt#L75

So basically the request is to use a custom key for the URL :)

So in your case, below should work, just add this to your initialization part

Notifier.KEY_URL= "android_open_url"

This is now available in 1.4.0 version


Elegant example error: DataViz can't read acceptance SDDS results

In the set of example Elegant simulations, acceptance/fodoScan1/run.ele produces SDDS files that can't be read by the DataViz tab. The error "Empty SDDS File" comes from the SDDSreshape() function and is caused by the data having a different arrangement than previous files. This might have something to do with the fodoScan1 simulation being a scan, which means that multiple simulations are run with varying FODO parameters.
Input Simulation Files:
fodoScan1.zip
Error-causing Output Files:
fodoScan1_results.zip

Commenting out the empty sdds file exception and importing the fodo scan sdds files reults in tuple index out of range error.

I noticed that, too. I think the tuples represent the results from multiple simulations. The way the acceptance simulations work is that one or more beamline element parameters are varied and an Elegant simulation is run for each one. In this case, (relevant files here), an alignment parameter is varied so that (probably) the number of particles lost can be tracked.
In any case, we're getting errors because the data is in a different arrangement than we usually expect.


Update for #5648

Updating the feature flag URL to the Preview portal.
#5648

Than you for the approval & merge @v-spadarthi & @NikTripathi .


How to draw the diagram?

Hi @adamiaonr, I am interested in your project's diagram. What applications do you use for this diagram?
Thanks

Thank you so much.


Re-check the Testnet and Custom tag of the token on the Configure token screen

Descrie the task
Re-check and confirm the Testnet and Custom tag of the token on the Configure tokens screen
Actual:

The custom token of the Testnet network => Show "Testnet" tag

Reproduce with custom token below:

MFG: 0xb161b2da48de283ec22bafbc36e5551c892629a2 (Moonbase)
MFR: 0xd7d798825f4e0bc340f6ee38282f2a0455226a87 (Moonbase)
AVAT: 0x03065E84748a9e4a1AEbef15AC89da1Cdf18B202 (Astar-EVM)
PANX: 5DGHdeY4SXsZ2w8RZrgXXJwHXXe2Qg8LCnUoDTr3tnBnu2BC (Aleph Zero Testnet)

Expect:

Custom token (Testnet or Mainnet)  => Show "Custom" tag

This information follow up token's  chain

This information updated by chain


Update DEPS: effcee, re2, googletest

Your change seems unrelated to a fuzzer test. @afd and @paulthomson is this a known issue?

I will take a look.

When I checkout @dneto0's branch and run it locally the tests pass.  Thus this is probably due to the tests employing randomization - although we use fixed seeds, there could still be differences across platforms.
@dneto0: #2874 included a fix for a bug in the fuzzer I found earlier this week; I think that probably wasn't in by the time the CI ran for this PR - could you rebase against master and try again?  It might have been that bug manifesting.

@afd Looks like the change was in.

Thus this is probably due to the tests employing randomization - although we use fixed seeds, there could still be differences across platforms.

Uh, yeah.  Sounds quite plausible.  Things like conformance tests use their own copy of some "standard" open source random number generator exactly for their reproducibility.
E.g. as I recall OpenCL conformance uses a mersenne twister  PRNG.

OK, @dneto0 - please rebase w.r.t. master and try again - the problematic tests won't run during CI now.


TensorQTL module update note

The tensorQTL cis for each gene will generate an error and break the pipeline if all the norminal result generated is nan, which will inturn delete all the output file from the norminal result. Now with them served as a seperate step, this will no longer happens.

New Input:
Molecular_pheno_list: a table with 2 col: "#chr" and "dir", as the output generated from molecular_pheno reformmating
genotype_list : a table with 2 col: "#chr" and "dir", each row is the plink file from 1 chr, as the output from GWAS_QC
Output:
1 column file each row is the sumstat generated for each chrom.
Output can be merged into a sumstat list for downstream analysis.


Typescript extends does not make static properties from base available in the child object

This is not for native objects but for JS ones. So I have the following:
class Base {
   public static test = [1, 2, 3];
}
class Child extends Base {}
console.log(Child.test);

From what I see this is because the TS extend function here: https://github.com/NativeScript/ios-runtime/blob/master/src/NativeScript/__extends.js#L4 is not updated to the new one which also copies static properties:
var __extends = (this && this.__extends) || (function () {
    var extendStatics = Object.setPrototypeOf ||
        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();

Android runtime related issue: https://github.com/NativeScript/android-runtime/issues/783

@PeterStaev - I cannot reproduce this with the latest version of NativeScript. The snippet above works as expected both in a Android and a iOS application. Can you share more detailed instructions for reproducing the problem?

@ginev I've just tested this on iOS and it indeed works as expected with latest TNS 👍


Juno upstream defaults for agent health

Our old values were not working so well in juno

This is problematic with uCARP failover, with a 75 second hold timer we wouldn't know the agents are down yet.

Fair enough, dropping.


Invalid representation payload while sending property of object array

With the current master branch (commit: c3ecd6e9b50bd4139d9178636df94525199ba24a), resource property of array type causing repPayloadToObject: Invalid representation payload error at the receiving end.
For example, the rgb_led.js server hosts a resource with properties rgbValue and range, which are array of integers, to represent a RGB color resource, but sending that property causes errors at the receiving end. The errorHandler of the receiver(client) indicates it's repPayloadToObject: Invalid representation payloaderror.

[Server]
function getProperties() {
var properties = {
...
rgbValue: [ 0, 0, 0],
...
}
function retrieveHandler(request) {
res.properties =  getProperties();
request.respond(res);
}
[Client]
...
function errorHandler(error) {
debuglog('Server responded with error', error.message);
}
client.on('error', errorHandler);
client.on('resourceFound', function(res) {
...
res.on('error', errorHandler);
});

@gabrielschulhof thank you for looking into this, I verified the code at f4a83a1a, both coaps and value array properties are function well. Would you like to push the 1.3.0-3 label to this commit as the last before bumping to 1.3.1?

Thanks for reminding me!
I now pushed the tag, and I also released the first version to support
coaps. It's based on<EMAIL_ADDRESS>Unfortunately I was unable to get
it to work on Windows and OSX, but at least on Linux coaps access and
server provisioning using the provided sample provisioningclient works.
On Tue, Dec 12, 2017 at 12:17 AM, Tonny Tzeng<EMAIL_ADDRESS>wrote:

@gabrielschulhof https://github.com/gabrielschulhof thank you for
looking into this, I verified the code at f4a83a1a
https://github.com/otcshare/iotivity-node/commit/f4a83a1ac18bc688aaa085e6dde7da797047f365,
both coaps and value array properties are function well. Would you like to
push the 1.3.0-3 label to this commit as the last before bumping to 1.3.1?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/otcshare/iotivity-node/issues/160#issuecomment-350947945,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA7k0WyNTBW93w3ylJ6Ej_kzlZJhug0tks5s_gxfgaJpZM4Q5QiK
.


Add MsSQL workload as demo app in this repo

MsSQL is present as a workload in agnosticd. Make a copy here...

Duplicate of #5


Not working with current version of svelte-kit

I tried to make this work with 1.0.0-next.324 but no success.

I finally figure out issues myself https://github.com/Kiho/svelte-adapter-aspcore but I doubt about performance of solution.

I've applied a temp fix, there are few problems still need fixing.


Enable bundler caching for travis

Would be interested to know why bundler cache hasn't been enabled on Travis. Thank you.

This project was created in 2014. Cacheing was added to Travis in December 2013, but only for private repositories; it wasn't until 2016 that this feature became available for public, non-containerised repos like this.
Also, given the speed of running tests, (I'd normally just run them all locally instead of relying on CI!), and how often the project gets updated these days, it's hardly been a priority for me to change the config 😉
But thanks for pointing this out; I'll merge the improvement 🥳


[SPARK-6851] [SQL] function least/greatest follow up

This is a follow up of remaining comments from #6851

Merged build triggered.

Merged build started.

Test build #37186 has started for   PR 7387 at commit 8362966.

Test build #37186 has finished for   PR 7387 at commit 8362966.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Least(children: Seq[Expression]) extends Expression
case class Greatest(children: Seq[Expression]) extends Expression

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #37195 has started for   PR 7387 at commit e8c2e09.

Test build #37195 has finished for   PR 7387 at commit e8c2e09.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Least(children: Seq[Expression]) extends Expression
case class Greatest(children: Seq[Expression]) extends Expression

Merged build finished. Test FAILed.

retest this please.

Merged build triggered.

Merged build started.

Test build #10 has started for   PR 7387 at commit e8c2e09.

Merged build triggered.

Merged build started.

Test build #37201 has started for   PR 7387 at commit e8c2e09.

Merged build triggered.

Merged build started.

Test build #37216 has started for   PR 7387 at commit 6163e62.

Test build #10 has finished for   PR 7387 at commit e8c2e09.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test build #37201 has finished for   PR 7387 at commit e8c2e09.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Least(children: Seq[Expression]) extends Expression
case class Greatest(children: Seq[Expression]) extends Expression

Merged build finished. Test PASSed.

Thanks - merging this.

Test build #37216 has finished for   PR 7387 at commit 6163e62.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Least(children: Seq[Expression]) extends Expression
case class Greatest(children: Seq[Expression]) extends Expression

Merged build finished. Test PASSed.

@adrian-wang can you close this ticket? I believe it has been merged already but github is having issue with pr closure.


Right app name and right app icon are mutually exclusive

Description
When I nativefy a website, say https://linkedin.com :

if I specify the name "LinkedIn" with the '--name' parameter, I get a generic Electron icon ;
if I drop the parameter, site icon is correctly inferred but then the name of the app is the full title, eg LinkedIn Log In or Sign In
I've tried with Twitter and Wordpress and got the same result.

Steps to reproduce issue
Normal "nativefication" process ;)
Details

Are you nativefying a public website? Yes
Feature request? Have you looked at nativefier --help to see if an existing option could fit your needs? Yes, no related entry
Full nativefier command used to build your app: first nativefier --name "LinkedIn" "https://www.linkedin.com"then nativefier "https://www.linkedin.com
Version of Nativefier (run nativefier --version): v7.4.1
Version of node.js (run node --version): v8.4.0
OS: macOS Sierra 10.12.6

@princejosuah thanks for the feedback. Does manually passing an icon with --icon /path/to/linkedin-icon.png work around the issue?

Hey! Sorry, didn't get the Github notification on time.
I finally converted the png in icns and passed it directly, and now it works great!
Thanks a bunch. This issue can be marked as solved and closed.

Hey! Sorry, didn't get the Github notification on time.
I finally converted the png in icns and passed it directly, and now it works great!
Thanks a bunch. This issue can be marked as solved and closed.


Getting error for sending a confirmation email

I'm getting an error when i sent a testing email then i will get an error
![image](https://github.com/answerdev/answer/assets/132640849/7703756f-adc8-41cb-a772-655fd3715ca2)

I am using mailjet platform as a  smtp server.

@garg20garg I have met this issue and found that it is caused by a misconfiguration of the SMTP port. You can try to change the port, or you can tell me what SMTP service you are using, if the same maybe I can give you more information.

I am using mailjet platform as a smtp


Get user verification view to work

Currently, even when the verification link is valid and not-expired, it shows the user the 'invalid or expired' token view.

Should look into verify Controller (verify.controller.client.js)

Fixed


Ethernet packets delayed or even lost

Describe the issue
If the ethernet frame handler callback has not yet finished processing a frame event when it should be called for the next received frame, SIL Kit does not retry to call the frame handler - not until another frame will be sent by a participant.
If the participant sends another frame, the frame handler will be called for each of the missing frames (which are therefore delayed).
But if the participant does not send another frame, the handler won't be called again, which results in packet loss.
To Reproduce
(Precondition: sil-kit-registry.exe must be running on the same host, using the default URI)

compile the attached example files
run receiver.exe (will wait until the 6 packets from sender have been received)
run sender.exe
On my system, the problem occured in most cases. It results in the receiver only dumping the first few packets, and then hanging because the frame handler won't be called again for the frames which are still on the way.
so cancel receiver.exe by pressing Ctrl+C
uncomment the Sleep(500) in reiceiver.c:37
compile again
run receiver.exe
run sender.exe
Now all 6 frames should be received and dumped, and the receiver terminates with the message "all packets received :-)"

Expected behavior
As it is not guaranteed that another participant will send further frames in order to have the frame handler called also for the missing frames, I would expect that the dispatcher thread of SIL Kit retries to deliver the frames.
The dispatcher thread should be able to know when the frame handler can be called again, because the frame handler will return at some time from the previous call.
Screenshots
not applicable
Your Environment (please complete the following information):

OS version and platform: Windows 10 22H2, 64 bit
Compiler version: MSVC 2017 14.16.27023 64 bit, didn't use CMake
SIL Kit Version: https://github.com/vectorgrp/sil-kit/releases/download/sil-kit%2Fv4.0.24/SilKit-4.0.24-Win-x86_64-VS2017.zip
Please include a description of the SIL Kit participants, including which
controllers are created and the configuration applied to them: 2 participants (1 sender, 1 receiver), both have an ethernet controller on the same network, unsynchronized simulation

Additional context
Example source files attached.
receiver.c
sender.c

Hello @ttmapr, first of all, thank you for your message! We have a public holiday coming up, and will come back to you in the beginning of next week.

Hello @ttmapr, I am very sorry for the delay!
The issue you experience is that you are tearing down the participant before it had time to send the frames to other participants.
This can be solved, by using the current version of SIL Kit and utilizing the lifecycle service to ensure that the process doesn't end too early.
Since code says more than a thousand words, I have adapted your examples (and added a CMake script for my own convenience), the full code is attached to this post.
Please note, that instead of volatile variables, the synchronization should really use the platform specific mutex / condition variable implementation. Since MSVC does not support the C11 standard threads.h header, this has been implemented here with a busy loop - which I wouldn't recommend in practice.
Sender
static SilKit_EthernetController *controller_ptr = NULL;
static volatile int lifecycle_started = 0;

void lifecycle_comready_handler(void *context, SilKit_LifecycleService *lifecycle_service_ptr) {
  printf("communication ready\n");
  check_return_code(SilKit_EthernetController_Activate(controller_ptr));
}

void lifecycle_starting_handler(void *context, SilKit_LifecycleService *lifecycle_service_ptr) {
  printf("starting\n");
  lifecycle_started = 1;
}

static void send_frame(size_t size, const uint8_t *data) {
    SilKit_EthernetFrame frame;
    frame.structHeader.version = SK_ID_MAKE(Ethernet, SilKit_EthernetFrame);
    frame.raw.data = data;
    frame.raw.size = size;
    if (0 != SilKit_EthernetController_SendFrame(controller_ptr, &frame, NULL)) {
        printf("failed to send frame\n");
    }
}

static void frame_tx_handler(void* context, SilKit_EthernetController* controller, SilKit_EthernetFrameTransmitEvent* frameTransmitEvent) {
    if (frameTransmitEvent->status != SilKit_EthernetTransmitStatus_Transmitted) {
        printf("frame could not be sent: status=%d\n", frameTransmitEvent->status);
    }
}

int main(int argc, char **argv) {
    // load the participant configuration
    SilKit_ParticipantConfiguration *participant_config_ptr;
    check_return_code(SilKit_ParticipantConfiguration_FromString(&participant_config_ptr, "Description: receiver"));

    // create the participant
    SilKit_Participant *participant_ptr;
    check_return_code(SilKit_Participant_Create(&participant_ptr, participant_config_ptr, "ethernet_sender", "silkit://localhost:8500"));

    // create and setup the lifecycle and it's callbacks
    SilKit_LifecycleService *lifecycle_service_ptr;
    SilKit_LifecycleConfiguration lifecycle_configuration;
    SilKit_Struct_Init(SilKit_LifecycleConfiguration, lifecycle_configuration);
    lifecycle_configuration.operationMode = SilKit_OperationMode_Autonomous;
    check_return_code(SilKit_LifecycleService_Create(&lifecycle_service_ptr, participant_ptr, &lifecycle_configuration));
    check_return_code(SilKit_LifecycleService_SetCommunicationReadyHandler(lifecycle_service_ptr, NULL, lifecycle_comready_handler));
    check_return_code(SilKit_LifecycleService_SetStartingHandler(lifecycle_service_ptr, NULL, lifecycle_starting_handler));

    // create and setup the ethernet controller and it's callbacks
    check_return_code(SilKit_EthernetController_Create(&controller_ptr, participant_ptr, "send ctrl", "network"));
    SilKit_HandlerId frame_tx_handler_id;
    check_return_code(SilKit_EthernetController_AddFrameTransmitHandler(controller_ptr, NULL, &frame_tx_handler, 0xffffffff, &frame_tx_handler_id));

    // signal the lifecycle service to start, we still have to wait for the starting callback
    check_return_code(SilKit_LifecycleService_StartLifecycle(lifecycle_service_ptr));

    // wait for the starting callback
    while (!lifecycle_started) {}

    // now send all frames
    send_frame(14, (uint8_t *)"\x00\x16\x81\x00\x00\x01\x00\x16\x81\x00\x00\x02\x12\x34");
    send_frame(14, (uint8_t *)"\x00\x16\x81\x00\x00\x01\x00\x16\x81\x00\x00\x02\x23\x45");
    send_frame(14, (uint8_t *)"\x00\x16\x81\x00\x00\x01\x00\x16\x81\x00\x00\x02\x34\x56");
    send_frame(14, (uint8_t *)"\x00\x16\x81\x00\x00\x01\x00\x16\x81\x00\x00\x02\x45\x67");
    send_frame(14, (uint8_t *)"\x00\x16\x81\x00\x00\x01\x00\x16\x81\x00\x00\x02\x56\x78");
    send_frame(14, (uint8_t *)"\x00\x16\x81\x00\x00\x01\x00\x16\x81\x00\x00\x02\x67\x89");
    printf("all packets sent\n");

    // signal the lifecycle service to stop
    check_return_code(SilKit_LifecycleService_Stop(lifecycle_service_ptr, "done"));

    // wait for the lifecycle to complete
    SilKit_ParticipantState participant_state;
    check_return_code(SilKit_LifecycleService_WaitForLifecycleToComplete(lifecycle_service_ptr, &participant_state));
    printf("final participant state: %" PRIu16 "\n", participant_state);

    check_return_code(SilKit_Participant_Destroy(participant_ptr));

    return 0;
}

Receiver
static SilKit_EthernetController *controller_ptr = NULL;
static volatile uint64_t num_packets_received = 0;
static volatile int lifecycle_started = 0;

void lifecycle_comready_handler(void *context, SilKit_LifecycleService *lifecycle_service_ptr) {
    printf("communication ready\n");
    check_return_code(SilKit_EthernetController_Activate(controller_ptr));
}

void lifecycle_starting_handler(void *context, SilKit_LifecycleService *lifecycle_service_ptr) {
  printf("starting\n");
  lifecycle_started = 1;
}

void frame_handler(void *context, SilKit_EthernetController *controller, SilKit_EthernetFrameEvent* frameEvent) {
    printf("packet received having %zd bytes:", frameEvent->ethernetFrame->raw.size);
    for (size_t i = 0; i < frameEvent->ethernetFrame->raw.size; ++i) {
        printf(" %02x", frameEvent->ethernetFrame->raw.data[i]);
    }
    printf("\n");
    ++num_packets_received;
}

int main(int argc, char **argv) {
    // load the participant configuration
    SilKit_ParticipantConfiguration *participant_config_ptr;
    check_return_code(SilKit_ParticipantConfiguration_FromString(&participant_config_ptr, "Description: receiver"));

    // create the participant
    SilKit_Participant *participant_ptr;
    check_return_code(SilKit_Participant_Create(&participant_ptr, participant_config_ptr, "ethernet_receiver", "silkit://localhost:8500"));

    // create and setup the lifecycle and it's callbacks
    SilKit_LifecycleService *lifecycle_service_ptr;
    SilKit_LifecycleConfiguration lifecycle_configuration;
    SilKit_Struct_Init(SilKit_LifecycleConfiguration, lifecycle_configuration);
    lifecycle_configuration.operationMode = SilKit_OperationMode_Autonomous;
    check_return_code(SilKit_LifecycleService_Create(&lifecycle_service_ptr, participant_ptr, &lifecycle_configuration));
    check_return_code(SilKit_LifecycleService_SetCommunicationReadyHandler(lifecycle_service_ptr, NULL, lifecycle_comready_handler));
    check_return_code(SilKit_LifecycleService_SetStartingHandler(lifecycle_service_ptr, NULL, lifecycle_starting_handler));

    // create and setup the ethernet controller and it's callbacks
    check_return_code(SilKit_EthernetController_Create(&controller_ptr, participant_ptr, "recv ctrl", "network"));
    SilKit_HandlerId frame_handler_id;
    check_return_code(SilKit_EthernetController_AddFrameHandler(controller_ptr, NULL, &frame_handler, SilKit_Direction_Receive, &frame_handler_id));

    // signal the lifecycle service to start, we still have to wait for the starting callback
    check_return_code(SilKit_LifecycleService_StartLifecycle(lifecycle_service_ptr));

    // wait for the starting callback
    while (!lifecycle_started) {}

    // wait until all frames have been received
    while (num_packets_received < 6) {}
    printf("all packets received :-)\n");

    // signal the lifecycle service to stop
    check_return_code(SilKit_LifecycleService_Stop(lifecycle_service_ptr, "done"));

    // wait for the lifecycle to complete
    SilKit_ParticipantState participant_state;
    check_return_code(SilKit_LifecycleService_WaitForLifecycleToComplete(lifecycle_service_ptr, &participant_state));
    printf("final participant state: %" PRIu16 "\n", participant_state);

    check_return_code(SilKit_Participant_Destroy(participant_ptr));

    return 0;
}

sil-kit_github_issue-8.zip


Clean up for release

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (28fac6e) to head (9380917).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #12   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines          272       272
=========================================
  Hits           272       272

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


How translate placeholder text

Hello,
I am trying to translate placeholder text like this
<nit-advanced-searchbox ng-model="searchParams.content" placeholder="{{'order.home.searchLabel' | translate}}"></nit-advanced-searchbox>

but it doesn't work. How can I do this?
Thank you for your help.

This will be fixed in Version 2.0


live server

Type: Bug
Live server is not working
i am click on "Go Live " but not run
VS Code version: Code 1.77.3 (704ed70d4fd1c6bd6342c436f1ede30d1cff4710, 2023-04-12T09:16:02.548Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: Yes

Hi @prabhatsuman7250 This issue appears to be a support question specific to the extension which is best addressed by the extension owner.  I recommend visiting the extension page on https://marketplace.visualstudio.com/ and posting a question there. Let me know if I can help you with anything else.


[Improve]: Allow for remote WordPress plugin installs

Describe the Feature:
Allow for the CI to parse the composer.json file and update and install WordPress plugins to be controlled by the CLI instead of forcing a deployment via composer and rsync.

Worked a bit on the deployment process where we left off on our dev workshop day.  The good news.

I was able to get it so setting the flag skip_composer will not run composer update on the wp-content folder when the project is deployed. And will merely copy whatever plugins are actually part of the repo in the plugins directory
I was able to get parse the plugins list from composer.json

Challenges. I have not been able to loop through the plugin list and run the SSH command to actually remotely install the plugins. This could be a few things
GitHub Actions use a feature called “matrix” this is basically a loop for all intents and purposes. The matrix I think has to be an array but what we get returned from the json is an object. So this might be one blocker.
Another blocker could be me incorrectly setting the “outputs”. An output is a way to pass data from one job, or step in a job to other parts of the workflow. So I may either be outputting the data incorrectly or inputting the data incorrectly for the next job that tries to install the plugins
I wont be able to toy with it again til next week but if any one has any :linchpinblue: house keeping time. That’s where it’s left off. I was testing on staging for a client but it may make sense to use one of our other non client related workflows unless it makes sense based on what your task is.
All of my work is here https://github.com/linchpin/actions/tree/feature/maybe-skip-composer

Closed by #34


Open file feature

The open file feature removes the need to specify the type of file you want to open, simplifying the menu from this

to this

use CSV sniffer to determine dialect https://www.npmjs.com/package/csv-sniffer

How far could we take this...

Open File... (opens local .csv, .tsv. .xlsx, .zip, .json files)
Open URL... (opens local .csv, .tsv. .xlsx, .zip, .json files at a URL)


CICE calendar issues in ESM1.5 simulations

Payu's handling of the cice calendar is a bit confusing, especially around leap years. It would be good to clarify how the calendar is  controlled, and whether we should make any changes. I'll note down here what I've understood so far - please add any clarifications, or ideas that you have!
What I've had the most trouble understanding is the inconsistencies between the cice_in.nml and input_ice.nml configuration files, and the way that cice.py  and  access.py in payu handle them during the setup stage.
cice.py:
cice.py starts by setting the experiment initialisation date and calendar type using control-dir/ice/cice_in.nml:
https://github.com/payu-org/payu/blob/ef55e93fe23fcde19024479c0dc4112dcdf6603f/payu/models/cice.py#L159-L165
With the current version of cice_in.nml in the esm1.5 configs, this sets it to a 365 day calendar:
&setup_nml
    days_per_year  = 365
  , year_init      = 0001

It then reads istep0 and npt  from restart-dir/cice_in.nml to calculate the amount of time already simulated since the initialisation date:
https://github.com/payu-org/payu/blob/ef55e93fe23fcde19024479c0dc4112dcdf6603f/payu/models/cice.py#L211-L215
and uses the result to set the new simulation's starting date. This start date, plus the runtime specified in the config.yaml file, are used to calculate the new simulation's run duration (in seconds, using a 365 day calendar).
https://github.com/payu-org/payu/blob/ef55e93fe23fcde19024479c0dc4112dcdf6603f/payu/models/cice.py#L227-L240
Finally it writes the number of time steps corresponding to this duration to npt in work-dir/ice/cice_in.nml:
https://github.com/payu-org/payu/blob/ef55e93fe23fcde19024479c0dc4112dcdf6603f/payu/models/cice.py#L242-L245
Because of the 365 day calendar setting, cice.py always sets npt to 8760. E.g. for a four year simulation starting at year 101, the values produced are:
output000/ice/cice_in.nml:    npt = 8760.0
output001/ice/cice_in.nml:    npt = 8760.0
output002/ice/cice_in.nml:    npt = 8760.0
output003/ice/cice_in.nml:    npt = 8760.0

access.py
access.py repeats similar calculations using input_ice.nml.
It first reads the calendar type and experiment initialisation date from control-dir/ice/input_ice.nml, which sets caltype = 1,  corresponding (I think?) to a proleptic gregorian calendar.
Using the runtime0 and runtime values in restart-dir/ice/input_ice.nml, it calculates the start date of the new simulation
https://github.com/payu-org/payu/blob/ef55e93fe23fcde19024479c0dc4112dcdf6603f/payu/models/access.py#L138-L143
and then the run duration of the new simulation using the config.yaml settings:
https://github.com/payu-org/payu/blob/ef55e93fe23fcde19024479c0dc4112dcdf6603f/payu/models/access.py#L150-L157
all using the proleptic gregorian calendar.
The previous simulation length, new start date, and new simulation length are then written to work-dir/ice/input_ice.nml:
https://github.com/payu-org/payu/blob/ef55e93fe23fcde19024479c0dc4112dcdf6603f/payu/models/access.py#L161-L164
which takes leap years into account:
output000/ice/input_ice.nml:    runtime = 31536000
output001/ice/input_ice.nml:    runtime = 31536000
output002/ice/input_ice.nml:    runtime = 31536000
output003/ice/input_ice.nml:    runtime = 31622400

Along with the different calculations, the versions of cice_in.nml and input_ice.nml in the initial pre-industrial restarts in /g/data/vk83/experiments/inputs/access-esm1p5/pre-industrial/restart/ice don't match up
cice_in.nml
----------------
&setup_nml
istep0=0,
npt=0,

input_ice.nml
----------------
&coupling
runtime0=3155673600
runtime=0

and so cice.py does its calendar calculations using a start date of 0001-01-01, while access.py uses 0101-01-01. This doesn't seem to cause issues as cice.py uses the 365 day calendar anyway and doesn't write the calculated start date anywhere. We could edit cice_in.nml  to have the correct prior run length, though that might make it more confusing as istep0 would have to be set according to a 365 day calendar, and wouldn't line up with runtime0's value which uses the proleptic Gregorian calendar.

With these inconsistencies, it would be great to understand which information the cice model is actually using during simulations.
From a quick look at the cice code, I thought it might be using npt to control the duration.
In year 104, the model stops writing to the ice.diag.d file after 365 days with diagfreq set to 1 in cice_in.nml:
istep1:     35035    idate:   1041230    sec:     68400
istep1:     35036    idate:   1041230    sec:     72000
istep1:     35037    idate:   1041230    sec:     75600
istep1:     35038    idate:   1041230    sec:     79200
istep1:     35039    idate:   1041230    sec:     82800
istep1:     35040    idate:   1041231    sec:         0

however hourly model output is saved right up to the end of the year:
ncdump -t -v time iceh_01h.0104-12.nc
...
    "0104-12-31 10:58:7.500000", "0104-12-31 12",
    "0104-12-31 13:01:52.500000", "0104-12-31 13:58:7.500000",
    "0104-12-31 15", "0104-12-31 16:01:52.500000",
    "0104-12-31 16:58:7.500000", "0104-12-31 18",
    "0104-12-31 19:01:52.500000", "0104-12-31 19:58:7.500000",
    "0104-12-31 21", "0104-12-31 22:01:52.500000",
    "0104-12-31 22:58:7.500000", "0105-01-01" ;

and so it does appear to find the correct 366 run length somewhere.

I think I have a better idea now of how Cice uses the conflicting cice_in.nml' and input_ice.nml` namelists produced by payu.
Cice only uses the stop_now condition, which is controlled by the value of npt, for non-ACCESS simulations:
https://github.com/ACCESS-NRI/cice4/blob/e7549ebd2044690a432cc67c1317c81cb194b750/drivers/access-cm/CICE_RunMod.F90#L334C1-L344C42
      timeLoop: do

         call ice_step

         istep  = istep  + 1    ! update time step counters
         istep1 = istep1 + 1
         time = time + dt       ! determine the time and date
         call calendar(time)    ! at the end of the timestep

         if (stop_now >= 1) exit timeLoop

For ACCESS simulations, I think it uses the coupling information to control the length of the ice time loop instead.
https://github.com/ACCESS-NRI/cice4/blob/e7549ebd2044690a432cc67c1317c81cb194b750/drivers/access-cm/CICE_RunMod.F90#L135-L331
#ifdef AusCOM
      time_sec = 0
      ...
      DO icpl_ai = 1, num_cpl_ai   !begin A <==> I coupling iterations

      Do icpl_io = 1, num_cpl_io   !begin I <==> O coupling iterations
      ...
        do itap = 1, num_ice_io   ! cice time loop within each i<=>o cpl interval
      ...
           call ice_step

so for ESM1.5, the number of ice timesteps should be num_cpl_ai * num_cpl_io * num_ice_io, and these values appear to be calculated from the input_ice.nml namelist – in particular using the runtime variable set by payu's access.py
https://github.com/ACCESS-NRI/cice4/blob/e7549ebd2044690a432cc67c1317c81cb194b750/drivers/access-cm/cpl_parameters.F90#L194-L196
num_cpl_ai = runtime/dt_cpl_ai
num_cpl_io = dt_cpl_ai/dt_cpl_io
num_ice_io = dt_cpl_io/dt_cice

E.g. we'll have the total number of cice timesteps as num_cpl_ai * num_cpl_io * num_ice_io = runtime/dt_cice, and so modifying npt in cice_in.nml  (as in the above comment) won't affect the simulation length, but modifying runtime in input_ice.nml will.

There's still the question of why the ice_diag.d logs stop getting lines like istep1:     35040    idate:   1041231    sec:         0 written to it after npt time steps.  These lines are written in the calendar subroutine, but only when the stop_now condition is false
https://github.com/ACCESS-NRI/cice4/blob/e7549ebd2044690a432cc67c1317c81cb194b750/source/ice_calendar.F90#L379-L384
      if (my_task == master_task .and. mod(istep,diagfreq) == 0 &
                                 .and. stop_now /= 1) then
        write(nu_diag,*) ' '
        write(nu_diag,'(a7,i10,4x,a6,i10,4x,a4,i10)') &
             'istep1:', istep1, 'idate:', idate, 'sec:', sec
      endif

so although the simulation length is controlled by runtime, npt controls how long these lines are written for.

Closing this issue following #484


Don't instrument any test code for coverage

This makes the coverage number more accurate by ignoring anything under a test directory - which includes many non-test.js files that provide other test-specific functionality.
Coverage without change (includes test classes)

Coverage with change (excludes test classes)

Thank you!


Compiling on Ubuntu "Xenial" fails

Having trouble compiling EmulationStation on Raspberry Pi Ubuntu Xenial:
libboost-*-dev required libraries are installed, so this doesn't quite make sense.
[  3%] Built target pugixml
[  3%] Built target nanosvg
[  5%] Built target sqlite3
[ 74%] Built target es-core
[ 75%] Linking CXX executable ../emulationstation
CMakeFiles/emulationstation.dir/src/GamelistDB.cpp.o: nella funzione "populate_recursive(boost::filesystem::path const&, std::vector<std::string, std::allocator<std::string> > const&, boost::filesystem::path const&, SystemData const*, sqlite3*, sqlite3_stmt*)":
GamelistDB.cpp:(.text+0x1530): riferimento non definito a "boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry const&, std::string&)"
GamelistDB.cpp:(.text+0x156c): riferimento non definito a "boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry const&, std::string&)"
GamelistDB.cpp:(.text+0x159a): riferimento non definito a "boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry const&, std::string&)"
CMakeFiles/emulationstation.dir/src/main.cpp.o: nella funzione "main":
main.cpp:(.text.startup+0x30): riferimento non definito a "boost::locale::generator::generate(std::string const&) const"
../libes-core.a(ThemeData.cpp.o): nella funzione "ThemeData::getThemeSets()":
ThemeData.cpp:(.text+0x688): riferimento non definito a "boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry const&, std::string&)"
ThemeData.cpp:(.text+0x6b0): riferimento non definito a "boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry const&, std::string&)"
collect2: error: ld returned 1 exit status
es-app/CMakeFiles/emulationstation.dir/build.make:911: set di istruzioni per l'obiettivo "emulationstation" non riuscito
make[2]: *** [emulationstation] Errore 1
CMakeFiles/Makefile2:334: set di istruzioni per l'obiettivo "es-app/CMakeFiles/emulationstation.dir/all" non riuscito
make[1]: *** [es-app/CMakeFiles/emulationstation.dir/all] Errore 2
Makefile:149: set di istruzioni per l'obiettivo "all" non riuscito
make: *** [all] Errore 2

GamelistDB, one of the files that gives error of missing -lboost_*, does not get linked in the auto generated linking command:
/usr/bin/g++-4.7    -std=c++11 -Wno-attributes -O3   -O3 CMakeFiles/emulationstation.dir/src/FileData.cpp.o CMakeFiles/emulationstation.dir/src/main.cpp.o CMakeFiles/emulationstation.dir/src/MameNameMap.cpp.o CMakeFiles/emulationstation.dir/src/MetaData.cpp.o CMakeFiles/emulationstation.dir/src/PlatformId.cpp.o CMakeFiles/emulationstation.dir/src/SystemData.cpp.o CMakeFiles/emulationstation.dir/src/SystemManager.cpp.o CMakeFiles/emulationstation.dir/src/VolumeControl.cpp.o CMakeFiles/emulationstation.dir/src/GamelistDB.cpp.o CMakeFiles/emulationstation.dir/src/components/AsyncReqComponent.cpp.o CMakeFiles/emulationstation.dir/src/components/RatingComponent.cpp.o CMakeFiles/emulationstation.dir/src/components/ScraperSearchComponent.cpp.o CMakeFiles/emulationstation.dir/src/guis/GuiMetaDataEd.cpp.o CMakeFiles/emulationstation.dir/src/guis/GuiGameScraper.cpp.o CMakeFiles/emulationstation.dir/src/guis/GuiGamelistOptions.cpp.o CMakeFiles/emulationstation.dir/src/guis/GuiMenu.cpp.o CMakeFiles/emulationstation.dir/src/guis/GuiSettings.cpp.o CMakeFiles/emulationstation.dir/src/guis/GuiScraperMulti.cpp.o CMakeFiles/emulationstation.dir/src/guis/GuiScraperStart.cpp.o CMakeFiles/emulationstation.dir/src/scrapers/ROMHasher.cpp.o CMakeFiles/emulationstation.dir/src/scrapers/Scraper.cpp.o CMakeFiles/emulationstation.dir/src/scrapers/GamesDBScraper.cpp.o CMakeFiles/emulationstation.dir/src/scrapers/GamesDBShaScraper.cpp.o CMakeFiles/emulationstation.dir/src/scrapers/TheArchiveScraper.cpp.o CMakeFiles/emulationstation.dir/src/views/gamelist/BasicGameListView.cpp.o CMakeFiles/emulationstation.dir/src/views/gamelist/DetailedGameListView.cpp.o CMakeFiles/emulationstation.dir/src/views/gamelist/IGameListView.cpp.o CMakeFiles/emulationstation.dir/src/views/gamelist/ISimpleGameListView.cpp.o CMakeFiles/emulationstation.dir/src/views/gamelist/GridGameListView.cpp.o CMakeFiles/emulationstation.dir/src/views/SystemView.cpp.o CMakeFiles/emulationstation.dir/src/views/ViewController.cpp.o  -o CMakeFiles/CMakeRelink.dir/emulationstation  -L/opt/vc/lib  -L/usr/lib/gcc/arm-linux-gnueabihf/5 -rdynamic -lboost_system -lboost_filesystem -lboost_date_time -lboost_locale /usr/local/lib/libfreetype.so -lfreeimage /usr/local/lib/libSDL2main.a /usr/local/lib/libSDL2.so -lpthread -lcurl ../libpugixml.a ../libnanosvg.a ../libsqlite3.a -lasound -lbcm_host -lEGL /opt/vc/lib/libGLESv1_CM.so -lSM -lICE -lX11 -lXext ../libes-core.a -lboost_system -lboost_filesystem -lboost_date_time -lboost_locale /usr/local/lib/libfreetype.so -lfreeimage /usr/local/lib/libSDL2main.a /usr/local/lib/libSDL2.so -lpthread -lcurl ../libpugixml.a ../libnanosvg.a ../libsqlite3.a -ldl -lasound -lbcm_host -lEGL /opt/vc/lib/libGLESv1_CM.so -lSM -lICE -lX11 -lXext

I am encountering the same problem too.  Its complaining about the boost library reference being used i this project. Not sure how to fix :(

I found an alternative. You can check out the last known working release (v.1.0.2):
do make clean first!
via tags (https://github.com/Aloshi/EmulationStation/tags):
// Fetch tags
git fetch --tags
// List tags
git tag -l
// check out v1.0.2
git checkout tags/v1.0.2
after this you need to make sure that you are using SDL NOT SDL2 in your make. I would recommend using cmake-gui to configure the environment.

This helped. But I also found out that the experimental GL driver was
causing issues so disabling it was a correct move.
Il 07 ago 2017 00:00, "joxtraex"<EMAIL_ADDRESS>ha scritto:

I found an alternative. You can check out the last known working release
(v.1.0.2):
do make clean first!
via tags (https://github.com/Aloshi/EmulationStation/tags):
// Fetch tags
git fetch --tags
// List tags
git tag -l
// check out v1.0.2
git checkout tags/v1.0.2
after this you need to make sure that you are using SDL NOT SDL2 in
your make. I would recommend using cmake-gui to configure the environment.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Aloshi/EmulationStation/issues/698#issuecomment-320535652,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXIpyYx05_sTMAlnyBWzFTexYJKWf0xks5sVjd7gaJpZM4OmerU
.


A bug in transfusion_head.py code, in case that pc_range is rectangle

Hello@chenshi3
When I use the bevfusion model which integrated into this project, I find that when setting the pc_range to rectangle, then the model training process does not converge well. After examination, I found a bug in the "OpenPCDet/pcdet/models/dense_heads /transfusion_head.py" file. The specific errors is on line 119-121 as follows:
    x_size = self.grid_size[0] // self.feature_map_stride
    y_size = self.grid_size[1] // self.feature_map_stride
    self.bev_pos = self.create_2D_grid(x_size, y_size)

those codes setting the coordinate order of x and y incorrectly. When the pc_range is a square, this situation will not produce an error, but when it is a rectangle, it will be exposed. the correct code should be as forllows:
    x_size = self.grid_size[0] // self.feature_map_stride
    y_size = self.grid_size[1] // self.feature_map_stride
    self.bev_pos = self.create_2D_grid(y_size, x_size)     # set the y_size to first, and x_size to second

I hope the author pays attention to this issue and conducts verification. Thank you！

This is indeed and exists also in mmdet3d!! Applying the revision solves the training problem in the custom dataset.
Thanks very much for the report!


[Duplicate of #6673]  Getting Started With Debugging In Android Using Chucker

Article checklist
Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

This closes #5579

Hello @Dawe-7 , I have created a duplicate PR as requested.

Thanks for the heads up @Dawe-7, I shall do that on my next article.

Great article @Hepatrique.
Thank you for the review @Dawe-7.


Adding more ETW fields to the event

Adding EventName, ActivityId and RelatedActivityId

Thanks. And for this useful library as well :)

I have updated the NuGet package 0.9.2. Perhaps add log detail level? But I don't think that's neccessary.

Do you mean a string representation of the event level? I don't think it's necessary either.


Why does v1 not compute the dev env anymore?

I was surprised that this is the case, as I found it quite congruent in the past for this CI action to figure out deps and install them (e.g. from tea.yml). Now everything must be made explicit via the + param, which introduces a duplication of dependency declarations if the repo already has a tea.yml for local development. Are there plans to reintroduce this functionality, or maybe implement a param like dev: true to essentially make it opt-in?

There will be a separate action to do this. For now use v0.


PLAT-77999: Added a Heading component, updated Divider to reference it

Enact-DCO-1.0-Signed-off-by: Blake Stephens<EMAIL_ADDRESS>Checklist

[x] I have read and understand the contribution guide
[x] A CHANGELOG entry is included
[x] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
Divider is too #basic.
Resolution
Added a Heading component with new sizing and spacing features, updated Divider to reference it.
Additional Considerations
Also fixed a little code in the colors files.

We don't actually have to keep Divider. It just seemed kind to our users to let it linger around a little longer. I'm completely content with removing it; I hadn't originally realized that was an option.
I'm not in favor of numbers for the sizes. We can talk offline if you'd like to discuss this issue in more detail.

As an "opinionated" library, I think we have a greater responsibility to enforce a particular experience and eliminate unnecessary decisions where possible. I lack the background on this particular case to recommend keeping or removing Divider but want to be sure that's clear to authors how and when each should be used. Given the current documentation, that isn't clear to me so removing an option would help clarify but that might not be appropriate if there are specific use cases in which Divider should be used for consistency.