Create highlight.js

Upgrading to Version 10.0
Welcome to version 10.0.  This a major release and therefore will contain breaking changes.
Breaking Changes
Our normal minor releases try to never break anything, holding all breaking changes for major releases. We tried to squeeze in as many as we could this time so that after 10.0 ships we'll be back to quiet sailing for a while before we need to push version 11.  That said, we're very conservative about what we consider a breaking change.
IE, if there it could possibly break things for anyone, it's typically a breaking change.  The fact is a vast majority of users should upgrade and probably not notice any changes at all.
See VERSION_10_BREAKING_CHANGES.md for a comprehensive list of breaking changes, but here is a summary... if you use:
Core highlight.js lib on the client (with no extra CDN languages)
Just keep doing that.

If you're using darkula.css, you'll need to change that to darcula.css
The minified distributable has changed from .pack.js to .min.js, update your name when you update your URL.
If your users have very old browsers, they may no longer be supported (no more IE11, etc.). (We're using ES2015 code now.)
nohighlight or no-highlight are the only two CSS classes that will SKIP highlighting completely.  *text* and *plain* no longer will do this.

Core highlight.js lib on the client (plus additional CDN languages)
Quite a few grammars have been renamed.  Ex: nimrod.js is now nim.js.

Check the renamed grammars to see if you might need to update your links.
Be aware that you can't use version 9 CDN JS files anymore, they aren't compatible.
Plus read the above list of items.

highlight.js on the server (via NPM) and only use the public API
If you're just pulling in the FULL library (require('./highlight.js')) just keep doing that.  You might not need to change anything.

If you're manually loading a smaller set of languages and using registerLanguage make sure you check out all the renamed grammars and dependency changes.
Read the client-side lists above also.

highlight.js on the server (via NPM) with a custom integration
Read the complete breaking changes list carefully.

Read the client-side lists above also.

highlight.js lib on the client, with source directly from our GitHub repo
That will no longer work. The source needs to be built to work properly and cannot be used "raw" unless you've also setup your own build pipeline (rollup, etc.).  Fetch a static build from the CDN, the cdn-release repo or use the new highlightjs-dist NPM package.
highlight.js source code directly from our GitHub repo with a custom integration
All bets are off, since we only try to guarantee stability of our NPM and CDN builds and the public API.  Read all the breaking changes and perhaps skim the commit history.

We're using ES6 modules now.
We're using an entirely new build system.
The source will likely become more and more modular during the 10.0 timeline.

Enjoy and good luck.
As always if you have any questions or issues, jump on the Github Issues.

Changes

Checklist

[ ] Added markup tests, or they don't apply here because...
[ ] Updated the changelog at CHANGES.md

Upgrading to Version 10.0
Welcome to version 10.0.  This a major release and therefore will contain breaking changes.
Breaking Changes
Our normal minor releases try to never break anything, holding all breaking changes for major releases.
We tried to squeeze in as many as we could this time so that after 10.0 ships we'll be back to quiet sailing for a while before we need to push version 11.  That said, we're very conservative about what we consider a breaking change.
IE, if there it could possibly break things for anyone, it's typically a breaking change.  The fact is a vast majority of users should upgrade and probably not notice any changes at all.
See VERSION_10_BREAKING_CHANGES.md for a comprehensive list of breaking changes, but here is a summary... if you use:
Core highlight.js lib on the client (with no extra CDN languages)
Just keep doing that.

If you're using darkula.css, you'll need to change that to darcula.css
The minified distributable has changed from .pack.js to .min.js, update your name when you update your URL.
If your users have very old browsers, they may no longer be supported (no more IE11, etc.). (We're using ES2015 code now.)
nohighlight or no-highlight are the only two CSS classes that will SKIP highlighting completely.  *text* and *plain* no longer will do this.

Core highlight.js lib on the client (plus additional CDN languages)
Quite a few grammars have been renamed.  Ex: nimrod.js is now nim.js.

Check the renamed grammars to see if you might need to update your links.
Be aware that you can't use version 9 CDN JS files anymore, they aren't compatible.
Plus read the above list of items.

highlight.js on the server (via NPM) and only use the public API
If you're just pulling in the FULL library (require('./highlight.js')) just keep doing that.  You might not need to change anything.

If you're manually loading a smaller set of languages and using registerLanguage make sure you check out all the renamed grammars and dependency changes.
Read the client-side lists above also.

highlight.js on the server (via NPM) with a custom integration
Read the complete breaking changes list carefully.

Read the client-side lists above also.

highlight.js lib on the client, with source directly from our GitHub repo
That will no longer work. The source needs to be built to work properly and cannot be used "raw" unless you've also setup your own build pipeline (rollup, etc.).  Fetch a static build from the CDN, the cdn-release repo or use the new highlightjs-dist NPM package.
highlight.js source code directly from our GitHub repo with a custom integration
All bets are off, since we only try to guarantee stability of our NPM and CDN builds and the public API.  Read all the breaking changes and perhaps skim the commit history.

We're using ES6 modules now.
We're using an entirely new build system.
The source will likely become more and more modular during the 10.0 timeline.

Enjoy and good luck.
As always if you have any questions or issues, jump on the Github Issues.


fix: blank screen on airdrop page when no metamask installed

What does this PR do?
Fix the issue when you see a blank screen if Metamsk is not installed!
UI  before fix
Blank screen:

UI after fix:

3 minute late


fix(TreeView): Update styles

What I did

Address the following bugs:

[X] Inverse, hover state is too light and barely visible. The background color needs to be (0, 0, 0, .20) instead of ".05)
[X] Inverse, focus state, the outline needs to be our inverse focus color like on other inputs
[X] Based on feedback from Perkins on other components, we need to hide the actual svgs for icons from screen readers using aria-hidden=true. See https://github.com/cengage/react-magma/issues/1250 for example.
[X] When selection is turned off, we still need a hover state on nodes.

Screenshots:

Checklist

[X] changeset has been added
[X] Pull request description is descriptive
[X] I have made corresponding changes to the documentation
[X] New and existing unit tests pass locally with my changes
[X] I have added tests that prove my fix is effective or that my feature works

How to test

Retest the bugs above on Storybook

Retested changes and everything looks good.


DictTool.php - populateDictionary()

            $dictionary = $dictStore->dictData;
            $newSlang['slang'] = $slang;
            $newSlang['description'] = $definition;
            $newSlang['sample-sentence'] = $example;
            array_push($dictionary, $newSlang);
            return $dictionary;

should be abstracted into another function and then called into populateDictionary()

The comments indicate 5 parameters yet i see only 4 parameters set in the function


[Bug]: The new Valve entities show an 'on' colour state with the entity card in both closed and open states.

Requirements

[X] I checked the troubleshooting section in the README to verify that I have the latest Mushroom version.
[X] I did a search to see if there is a similar issue or if a pull request is open.

Current Behavior

Expected Behavior

Steps To Reproduce
Create a mushroom entity card with one of the new valve switch types, and the card will format as 'on' regardless of the entity state.
Context
YAML state
entity: valve.water_tomatoes_switch
name: Sprinker
layout: horizontal

Environment
- Browser: Chrome
- HA Version: 2024.1.1
- Mushroom: v3.2.3

Anything else?
No response

This was in fact fixed in 3.2.3 - which I had installed but it just downloaded again so closing this.


App State Replication

Proposal for a new feature that allows replication of global app state. May be simplified by the new changes to state management in 0.14?

Can you give some examples of how that would be useful? In general I feel like States should be derived from other stuff that was replicated

While i agree with the notion of deriving state, there are cases where thats not really optimal, for example if we have a server that acts as a lobby of some sort, we might have a state like gamephase (eg think chess where we keep track or whose turn it is or a mario party style game where we might transition from map to minigame etc) while we could express this with resources, events or components, there is a point to be made that there are certain things that are better expressed using state management. Also pretty sure i saw some good arguments on discord for using state before, cant quite remember anymore tho. Its reasonable to argue that it has low priority since as i said, state can easily be expressed in other forms but it would probably still be a neat feature 🤔

I'll add my two cents here:
I have a pretty standard set of states (from example code) , and looking into to replicating state.
Also, I try some substates stuff: https://bevyengine.org/news/bevy-0-14/#computed-states-sub-states
My setup is host-server, but the same would apply to anything (I think):
*The server determines state
*Any state change is authoritative to the server
I use sets that determine if the client logic and server logic is supposed to run (i.e. any player can pause, when the server detects it and replicates it, it should rollback to the tick on the client)
I might be misunderstanding things, but I need something similar to that scenario.
I'm not sure what the options are, this is still new to me, but I'm getting somewhere.
Awesome crate to work with!
Happy do to some work in this if I can understand enough.

Well states are just resources State<S>, and resource replication is supported in lightyear, so I think you should just be able to replicate them using that; I haven't tried it though


Docs for the new bash command

raised PR at https://github.com/pieces-app/documentation/pull/565 that could potentially close this issue .


If the module to build is name as "build", the flit-core may run some mistake exception

the log is blow:
[   27s]     File "/usr/lib/python3.10/site-packages/flit_core/common.py", line 54, in __init__
[   27s]       raise ValueError(
[   27s]   ValueError: Multiple files or folders could be module build: /home/abuild/rpmbuild/BUILD/build-0.10.0/build, /home/abuild/rpmbuild/BUILD/build-0.10.0/src/build

Flit doesn't create a build directory itself - I can clone build and run flit build on it fine. So the general problem here is that if you have a project with a src/X package, then you create an X folder (or X.py file) next to the src/ folder, Flit refuses to build because it doesn't know whether X or src/X is the package you want. Presumably you've hit this on build because some other piece of infrastructure creates a build directory.
This is by design - Flit can do the right thing for 4 different basic layouts automatically:
https://github.com/pypa/flit/blob/b2e3491a2f64dfac6649dce5ee20aecea9a01858/flit_core/flit_core/common.py#L26-L29
But it expects that you'll resolve ambiguities by getting rid of the 'wrong' files and re-running it, which presumably isn't practical in whatever larger build process you're doing. Maybe we need an environment variable or something to tell Flit 'this is the location of the module'.


display: move devices.Display as display.Drawer

This removes the last interface from devices, which was misplaced due to
historical accident. The new package display will also be the location for an
interface for text output only devices.

I redid it again, I decided to reduce the amount of change, keeping the destination rectangle. I increased documentation.


upgrade to version remix version 1.18.1

/claim #15
idk somehow i closed the last pr #161
this one is getting built without any errors.

Hey @scshiv29-dev sorry this bounty issue took so long to resolve – I've paid the bounty now so it should be with you.


Incorrect syntax highlighting in JS with instanceof operator in conditional

VSCode Version: 1.22.2
OS Version: Windows 10 1709
Info
Seems to be an issue with the end regex here: https://github.com/Microsoft/vscode/blob/master/extensions/javascript/syntaxes/JavaScript.tmLanguage.json#L2325-L2338
The appropriate OR clause seems to be included \\|\\| but isn't activating. Maybe there's a syntax error in there somewhere but it's a very hard regex to read.
Steps to Reproduce:

function isDate( input ) {
	return input instanceof Date || Object.prototype.toString.call( input ) === '[object Date]';
}

Desired

function isDate( input ) {
	return ( input instanceof Date ) || Object.prototype.toString.call( input ) === '[object Date]';
}

Should be fixed in VS Code insiders:


Allowed parenthesis bodies for one-line promise-function-async functions

PR checklist

[x] Addresses an existing issue: fixes #4757
[x] New feature, bugfix, or enhancement

[x] Includes tests

~[ ] Documentation update~

Overview of change:
Allows bodies of arrow methods to be any depths of parenthesis.
[bugfix] allowed parenthesis in ignored promise-function-async single-line arrow functions

Will fix ..

This new testNext failure is unrelated. #4812.


Fix: Enable coloring for physically placed mem regions

In default Bao when physically placed memory regions are in a colored VM, they are not colored. This PR enables coloring for physically placed mem regions in the configuration by an additional flag (mem_region.colored). If set to true, a physically placed mem region will be colored according to the vm's colors. If set to false or omitted, the region is not colored.
It might be worth discussing if this should not be the standard behaviour.
Use case:
System memories like on chip memory (OCM on Xilinx ZCU102) to which the access should be cache colored.

I've synced this with the dev branch and change the PR target. Also I've changed the name of the new colored config varaible to clarify this relates to the physical allocation. @gschwaer  If you are okay with it, I'll merge and close.

Hi Jose, sure go ahead. Thank you for including this admittedly niche feature.


Migrate from buffers.pl script to buflist plugin

These commits...

remove buffers.pl from autoload
rename the buffers.conf file to buffers.conf.old to avoid loading it
add a new buflist.conf to mirror the functionality of the old buffers.pl setup
add bar configuration for buflist bar and remove bar configuration for buffers bar

This pull request closes issue #43

does buffers.conf.old still need to exist? We have git history so I don't see a reason why we would have .old files


add test cases for <date|time> <=> <date|time>

I initially went with something like:
set.AddFunction(
	    ScalarFunction({LogicalType::DATE, LogicalType::DATE}, LogicalType::BOOLEAN, BaseRRelopFunctionDate<OP>));

but it actually appears that we get it for free, so I suppose ScalarFunctionSet is able to find the right variant to handle dates.

Not sure what to do with <date> op <time>
They give warnings in R, and different results:
library(duckdb)
#> Loading required package: DBI
library(duckdbrfuns)
time <- as.POSIXct(strptime('2024-02-21 14:00:00', format = '%Y-%m-%d %H:%M:%S', tz = 'UTC'))
date <- as.Date("2024-02-21")

time < date
#> Warning: Incompatible methods ("Ops.POSIXt", "Ops.Date") for "<"
#> [1] FALSE

con <- duckdbrfuns:::con()
in_df <- tibble::tibble(x1 = time, x2 = date + 1)
in_rel <- duckdb:::rel_from_df(con, in_df)
out_rel <- duckdb:::rel_project(
  in_rel,
  list(duckdb:::expr_function(
    "r_base::<",
    list(
      duckdb:::expr_reference("x1"),
      duckdb:::expr_reference("x2")
    )
  ))
)
duckdb:::rel_to_altrep(out_rel)
#>   r_base::<(x1, x2)
#> 1              TRUE

So this probably needs ScalarFunction({LogicalType::DATE, LogicalType::TIME} variants


Fixed: build warnings in the app(#85zrmg3u1)

Related Issues

Closes #69
Short Description and Why It's Useful

Updated: eslint rule to disable no-console rule
Removed: unwanted import for DateTime in save threshold modal
Removed: unwanted paramters defined in the errorHandler

Screenshots of Visual Changes before/after (If There Are Any)

IMPORTANT NOTICE - Remember to add changelog entry
Contribution and Currently Important Rules Acceptance

[x] I read and followed contribution rules

Add the following text in en.json as well.
https://github.com/hotwax/threshold-management/blob/main/src/store/modules/user/actions.ts#L56
https://github.com/hotwax/threshold-management/blob/main/src/store/modules/user/actions.ts#L45


Indicate where non-browser code blocks go

Code blocks not from the browser now look like this:

The tag content comes directly from file= annotations so they're sort of related to our linter. They become transparent on hover to avoid occluding code, but this is pretty rare since we normally have a function header there anyway.
I added a new .output annotation for code blocks that show program output, to label those better.

Is this ready for review?

Yep, forgot to click the button.

Ok, I did a full pass through every code block in the book and there were quite a lot to fix up, but it should now work better.
Along the way I made a few unrelated changes, apologies.

In http.md the headers are stated as "example code" which is not quite right. They are "examples" but not code?

Add a footnote to server.py explaining what we're doing indicating the server vs client code.

Also make it work in the print edition?

We discussed today in meeting and decided to pause this until typesetting starts in earnest so we can sync printed & online book.

Superseded by #1343. The new plan is to go with simpler styling that looks more like the book: gray background and border for examples, otherwise no tag.


Add isort[pyproject] as a dev dependency

Fixes #181

I'm not sure how to test this. Running poetry install; poetry run isort on both this branch and on master didn't seem to do anything different.

This is the upstream commit for the behaviour we need: https://github.com/jdufresne/isort/commit/6dd268c2f9d7127f29ea54e8e9375197e6799c79
I can't recall the exact steps to recreate the issue unfortunately.

isort j5/backends/console/* -rc
/home/dan/.cache/pypoetry/virtualenvs/j5-py3.7/lib/python3.7/site-packages/isort/settings.py:294: UserWarning: Found /home/dan/Code/j5/pyproject.toml but toml package is not installed. To configure isort with /home/dan/Code/j5/pyproject.toml, install with 'isort[pyproject]'.
  "isort with %s, install with 'isort[pyproject]'." % (file_path, file_path)


Error: Configure the path to the PhraseApp client

I just installed the plugin for Android Studio following the installation instructions.
However when trying to create a config file, i get a error saying
"Please configure the path to PhraseApp client in the PhraseApp plugin settings"
However when i navigate to Preferences->Plugins->PhraseApp there's no settings option, and i already installed the PhraseApp CLI Tool (with HomeBrew)

Got a reply from Sönke, and he told me to check the path of PhraseApp Client (Preferences->Tools->PhraseApp).
As soon as i went into Preferences->Tools->PhraseApp i got a pop-up saying "The path for PhraseApp client has been set" (without me doing anything) and afterwards i was able to create the config file for the project. This might be a bug in Android Studio.
Thanks for the help

Hi @IbrahimYildirim, thank you for documenting it :)

Hi! I think it would be nice to document it in the main readme if it is not a bug. But I think it probably would be even nicer display a more friendly error message like:
"Did you installed the PhraseApp client? [link to the tutorial]"
Thank you very much!

I have the same problem, but it's don't want to be fixed by Android Studio.
Here is my settings:
Build #AI-192.7<IP_ADDRESS>41897, built on February 27, 2020
Runtime version: 1.8.0_212-release-1586-b4-5784211 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.2

I installed a client also, and did it before plugin installing.
So what should I do?

Hi @Papashkin, have you set the client under File -> Settings -> Tools -> PhraseApp? Please let me know if there should be still any issue with the client path set

@theSoenke I've just install a plugin, and I can see it in "Tools" on the IDE's bar. But there is no PhraseApp in the way "File -> Settings (Preferences) -> Tools -> PhraseApp".
May be I missed something to do?

@Papashkin Could you send me a screenshot of the tools menu items you have available in the settings?
This is how it should look like:

Nope.
I haven’t  PhraseApp in the "Tools".

Unfortunately I have not been able to reproduce it so far. But I will have another look for the IntelliJ version you are using. For now I would suggest to use the client directly

For future reference: Go to Preferences -> Tools -> Phrase
It should automatically pick the Client path that you probably have already installed in your terminal (or use the path /usr/local/bin/phrase _ on mac). Then click on the setting icon on phrase plugin window, it should now be fine

Hi, I am giving the homebrew path to CLI configuration. But still not able to create a config file and getting error. Here is my path: /opt/homebrew/Cellar/phrase/2.5.2/bin/phrase

Hi @emirhanemmez, do you see any error messages you could send me to look at what might have gone wrong?

Hi @theSoenke,  "Please configure the path to the Phrase client in the Phrase plugin settings."

Which version of the plugin are you using? This error message does not seem to be part of the code. I'm seeing the following error when the path is missing or incorrect to the CLI with the latest version

@theSoenke

@emirhanemmez Could you also send me the version of IntelliJ you're using? The latest plugin release is 5.1.0 and the IntelliJ version might be outside the compatibility range

@theSoenke Sure, Android Studio Electric 2022.1.1 Eel Beta 3.

Hi @emirhanemmez, we have now released version 5.1.1, which should support all recent versions. I hope after updating to the latest plugin will help resolving this


Unable to deploy coreos based kubernetes cluster

Is this a request for help?:

Is this an ISSUE or FEATURE REQUEST? (choose one):
ISSUE
What version of acs-engine?:
v0.13.0

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes 1.9.3
What happened:
INFO[0054] Starting ARM Deployment (xx-xxx-rg-391322912). This will take some time...
INFO[1247] Finished ARM Deployment (xx-xxx-rg-391322912). Error: resources.DeploymentsClient#CreateOrUpdate: Failure sending request: StatusCode=200 -- Original Error: Long running operation terminated with status 'Failed': Code="DeploymentFailed" Message="At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details."
ERRO[1247] {"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"Conflict","message":"{\r\n  \"status\": \"Failed\",\r\n  \"error\": {\r\n    \"code\": \"ResourceDeploymentFailure\",\r\n    \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n    \"details\": [\r\n      {\r\n        \"code\": \"VMExtensionProvisioningError\",\r\n        \"message\": \"VM has reported a failure when processing extension 'cse3'. Error message: \\\"Enable failed: failed to execute command: command terminated with exit status=2\\n[stdout]\\n\\n[stderr]\\n\\\".\"\r\n      }\r\n    ]\r\n  }\r\n}"},{"code":"Conflict","message":"{\r\n  \"status\": \"Failed\",\r\n  \"error\": {\r\n    \"code\": \"ResourceDeploymentFailure\",\r\n    \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n    \"details\": [\r\n      {\r\n        \"code\": \"VMExtensionProvisioningError\",\r\n        \"message\": \"VM has reported a failure when processing extension 'cse2'. Error message: \\\"Enable failed: failed to execute command: command terminated with exit status=2\\n[stdout]\\n\\n[stderr]\\n\\\".\"\r\n      }\r\n    ]\r\n  }\r\n}"},{"code":"Conflict","message":"{\r\n  \"status\": \"Failed\",\r\n  \"error\": {\r\n    \"code\": \"ResourceDeploymentFailure\",\r\n    \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n    \"details\": [\r\n      {\r\n        \"code\": \"VMExtensionProvisioningError\",\r\n        \"message\": \"VM has reported a failure when processing extension 'cse0'. Error message: \\\"Enable failed: failed to execute command: command terminated with exit status=2\\n[stdout]\\n\\n[stderr]\\n\\\".\"\r\n      }\r\n    ]\r\n  }\r\n}"},{"code":"Conflict","message":"{\r\n  \"status\": \"Failed\",\r\n  \"error\": {\r\n    \"code\": \"ResourceDeploymentFailure\",\r\n    \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n    \"details\": [\r\n      {\r\n        \"code\": \"VMExtensionProvisioningError\",\r\n        \"message\": \"VM has reported a failure when processing extension 'cse0'. Error message: \\\"Enable failed: failed to execute command: command terminated with exit status=3\\n[stdout]\\n\\n[stderr]\\n\\\".\"\r\n      }\r\n    ]\r\n  }\r\n}"},{"code":"Conflict","message":"{\r\n  \"status\": \"Failed\",\r\n  \"error\": {\r\n    \"code\": \"ResourceDeploymentFailure\",\r\n    \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n    \"details\": [\r\n      {\r\n        \"code\": \"VMExtensionProvisioningError\",\r\n        \"message\": \"VM has reported a failure when processing extension 'cse1'. Error message: \\\"Enable failed: failed to execute command: command terminated with exit status=2\\n[stdout]\\n\\n[stderr]\\n\\\".\"\r\n      }\r\n    ]\r\n  }\r\n}"}]}}
FATA[1247] resources.DeploymentsClient#CreateOrUpdate: Failure sending request: StatusCode=200 -- Original Error: Long running operation terminated with status 'Failed': Code="DeploymentFailed" Message="At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details."

What you expected to happen:
Successful deployment
How to reproduce it (as minimally and precisely as possible):
{
  "apiVersion": "vlabs",
  "properties": {
    "orchestratorProfile": {
      "orchestratorType": "Kubernetes",
      "orchestratorVersion": "1.9.3",
      "kubernetesConfig": {
        "networkPolicy": "azure",
        "enableRbac": true,
        "apiServerConfig": {
          "--admission-control": "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,ResourceQuota,DenyEscalatingExec,AlwaysPullImages"
        }
      }
    },
    "masterProfile": {
      "count": 1,
      "dnsPrefix": "xx-xxx-xxx",
      "vmSize": "Standard_D2_v2",
      "storageProfile" : "ManagedDisks",
      "distro": "coreos"
    },
    "agentPoolProfiles": [
      {
        "name": "agentpool1",
        "count": 4,
        "vmSize": "Standard_DS2_v2",
        "availabilityProfile": "AvailabilitySet",
        "storageProfile" : "ManagedDisks",
        "distro": "coreos"
      }
    ],
    "linuxProfile": {
      "adminUsername": "admin",
      "ssh": {
        "publicKeys": [
          {
            "keyData": ""
          }
        ]
      }
    },
    "servicePrincipalProfile": {
      "clientId": "",
      "secret": ""
    }
  }
}

Anything else we need to know:
It looks like it is unable to install some kind of extension

I have the same problem. It looks like it fails to create/install Etcd:
from /var/log/azure/cluster-provision.log:
<snip>
executing master node provision operations
+ useradd -U etcd
useradd: user 'etcd' already exists
++ head -c 32 /dev/urandom
++ base64
+ usermod -p atk6Y5SWUN1Xc4Q+toFoYmUAdPMwqF2HrZAxJCSbSTU= etcd
usermod: user 'etcd' does not exist in /etc/passwd
+ passwd -u etcd
passwd: user 'etcd' does not exist in /etc/passwd
+ id etcd
uid=232(etcd) gid=232(etcd) groups=232(etcd)
++ date
++ hostname
<snip>

the content of /etc/passwd
root:x:0:0:root:/root:/bin/bash
core:x:500:500:CoreOS Admin:/home/core:/bin/bash
systemd-coredump:x:997:997:systemd Core Dumper:/:/sbin/nologin
azureuser:x:1000:1000::/home/azureuser:/bin/bash

and there's no /usr/bin/etcd ! It's weird, it says that user etcd exists but there's no trace of it in /etc/passwd.

@richardjortega may know why?

Looks like etcd service is now run by rkt on ContainerLinux:
coreos coreos # more /usr/lib/systemd/system/etcd-member.service
[Unit]
Description=etcd (System Application Container)
Documentation=https://github.com/coreos/etcd
Wants=network-online.target network.target
After=network-online.target
Conflicts=etcd.service
Conflicts=etcd2.service

[Service]
Type=notify
Restart=on-failure
RestartSec=10s
TimeoutStartSec=0
LimitNOFILE=40000

Environment="ETCD_IMAGE_TAG=v3.2.15"
Environment="ETCD_NAME=%m"
Environment="ETCD_USER=etcd"
Environment="ETCD_DATA_DIR=/var/lib/etcd"
Environment="RKT_RUN_ARGS=--uuid-file-save=/var/lib/coreos/etcd-member-wrapper.uuid"

ExecStartPre=/usr/bin/mkdir --parents /var/lib/coreos
ExecStartPre=-/usr/bin/rkt rm --uuid-file=/var/lib/coreos/etcd-member-wrapper.uuid
ExecStart=/usr/lib/coreos/etcd-wrapper $ETCD_OPTS
ExecStop=-/usr/bin/rkt stop --uuid-file=/var/lib/coreos/etcd-member-wrapper.uuid

[Install]
WantedBy=multi-user.target

so the whole script at https://github.com/Azure/acs-engine/blob/master/parts/k8s/kubernetescustomscript.sh needs to be modified to reflect that.

@ams0 Thanks for tracking it down. Since you're down the path already, did you want to test and submit the PR for it?

I have renewed interest in CoreOS, and I tried to create a cluster with master nodes on ubuntu and agent nodes as VMSS with CoreOS. Script fails because in CoreOS nc is called ncat (https://github.com/coreos/bugs/issues/639). The function testOutboundConnection in /opt/azure/containers/provision.sh fails with:
+ for i in '$(seq 1 $retries)'
+ timeout 20 nc -v <IP_ADDRESS> 53
timeout: failed to run command 'nc': No such file or directory

A simple symlink (that won't harm the default installation in Ubuntu) will fix the problem.

@ams0 I recommend you to forget about CoreOS untill they include containerd 1.1 in their image. I've built an ACS-engine environment replica via Ansible using CoreOS as a distro for both master and agents. There are a lot of hidden issues that can be difficult to fix.


healthChecks for Jobs seem to fail

When a kustomization has a health check configured on a Job, the health checks keep failing even when the job has successfully run.
Version Info:
$ flux check
► checking prerequisites
✔ kubectl 1.21.0 >=1.18.0-0
✔ Kubernetes 1.20.4-eks-6b7464 >=1.16.0-0
► checking controllers
✔ helm-controller: deployment ready
► ghcr.io/fluxcd/helm-controller:v0.11.1
✔ kustomize-controller: deployment ready
► ghcr.io/fluxcd/kustomize-controller:v0.13.0
✔ notification-controller: deployment ready
► ghcr.io/fluxcd/notification-controller:v0.15.0
✔ source-controller: deployment ready
► ghcr.io/fluxcd/source-controller:v0.15.2
✔ all checks passed

The reconciliation of these keep showing errors like the below:
Health check timed out for [Job 'default/neo4j-bootstrap-databases', Job 'default/mysql-bootstrap-databases']
The Kustomization in question
---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
  name: backends-configs
  namespace: flux-system
spec:
  interval: 10m0s
  dependsOn:
    - name: backends
  sourceRef:
    kind: GitRepository
    name: flux-system
  path: ./backends-configs/dev
  prune: true
  validation: client
  timeout: 5m
  healthChecks:
    # make sure the neo4j bootstrap is ready
    - apiVersion: v1
      kind: Job
      name: neo4j-bootstrap-databases
      namespace: default
    # make sure the neo4j bootstrap is ready
    - apiVersion: v1
      kind: Job
      name: mysql-bootstrap-databases
      namespace: default
    # make sure the neo4j-backup release is ready
    - apiVersion: helm.toolkit.fluxcd.io/v1beta1
      kind: HelmRelease
      name: neo4j-backup
      namespace: default

And the jobs result status
$ kubectl get jobs
NAME                          COMPLETIONS   DURATION   AGE
mysql-bootstrap-databases     1/1           3s         14h
neo4j-bootstrap-databases     1/1           17s        15h

The jobs themselves just run a particular bash shell script that runs some SQL queries against the mariadb-galera database or the neo4j database to create some users, databases, and set some permissions.
This should be easily reproducible using any form of simple Job that executes a shell script.

Having a look

@makkes the apiVersion is wrong, Kubernetes Jobs are in batch/v1.

Also Kubernetes Jobs are immutable, so the first time the job container image changes it will fail to apply. To reconcile Kubernetes Jobs, as described in docs, the Flux Kustomization spec should contain: force: true.

@stefanprodan what do you think about improving the messaging for such configuration errors?

@makkes the error message comes from kstatus

Maybe kustomize-controller could exctract them from the ResourceStatuses. 🤔 Looking into possibilities.

both fixes above resolve the issue thanks


[#231] hotfixes

Closes #231
Found a few tiny issues after merging this PR: https://github.com/singnet/das-atom-db/pull/230

Closed because it was created from the wrong branch.


Add DB description for the annotations

Currently, the compound and spectral databases annotations do not hold identification info (i.e., database name or source). Adding this would be useful both for the analysis and export of data.

Check the DatabaseMatchInfo and the DatabaseMatchInfoType. It held the information for the removed online databases. maybe we can reuse it.

Steffen added spectral library filename to the entries


Fix/editable date component

Date component was not saving updates due to JS error and then saving incorrect value for label.

Approved. We have an acceptance tests for this already in https://github.com/ministryofjustice/fb-editor/blob/main/acceptance/features/edit_single_question_page_spec.rb#L40
Was it failing before this PR?


external switch is not properly cleaned up on Windows Server 2016

When using internet=$true on Windows Server 2016 host, during cleanup, the adapter is not cleaned up well if physical adapter is wireless (looks like it needs some post-cleanup as the external becomes private and it throws some error).

I was not able to repro on latest builds.


Show which are public or private; set a flag in .env to only show public, show all, or only show public without a login

All complete except for the login part.

All complete except for the login part.

Auth in #44

Auth in #44


Branch coverage threshold too low (currently: 70%; should be at least 80%)

Let's wait until we've updated https://github.com/GoogleChrome/webidl-diff/blob/edc8bfb306f23db486293b5b8f06f8829246d3fe/config/istanbul.yml#L6 before closing.


ERROR: (localhost:2000) failed to read data: timed out when run client_example.py

When run python client_example.py, an issue of failed to read data appears as:
INFO: listening to server localhost:2000
CarlaClient connected
ERROR: (localhost:2000) failed to read data: timed out
CarlaClient connected
ERROR: (localhost:2000) failed to read data: timed out
CarlaClient connected
ERROR: (localhost:2000) failed to read data: timed out
CarlaClient connected
ERROR: (localhost:2000) failed to read data: timed out
What could be the problem?

Try using a different port, it might be that you are connecting to something else.

I am using the port 2000 by default, and I am able to run example.py in PythonAPI. But I couldn't run the sample in PythonClient, showing failed to read data. If example.py could connect to the port 2000, should client_example.py also be able to connect to the same port, right?

Ah ok, I see. PythonClient no longer works with 0.9.0, we are in the middle of a transition to a new API.
PythonClient only works with versions prior to 0.9.0, and PythonAPI only works with 0.9.0 and future versions.
Sorry for the confusion, we are still trying to document all the changes while implementing the new API.

Hi, @nsubiron
when I try to run spawn_npc.py in Carla 0.9.1(and 0.9.3), I got error like this:
`python spawn_npc.py -n 80 -p 3222
destroying 0 actors
done.
Traceback (most recent call last):
File "spawn_npc.py", line 122, in
main()
File "spawn_npc.py", line 68, in main
world = client.get_world()
RuntimeError: rpc::timeout: Timeout of 2000ms while connecting to <IP_ADDRESS>:3222`
I also try the default 2000 port, some other port which I choose randomly, and got the same error.
I try the command: sudo ufw status verbose and then open my port, however, the errors still exist.
`Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
To                         Action      From

2000                       ALLOW IN    Anywhere
2001                       ALLOW IN    Anywhere
2000/tcp                   ALLOW IN    Anywhere
2001/tcp                   ALLOW IN    Anywhere
2000                       ALLOW IN    <IP_ADDRESS>
2001                       ALLOW IN    <IP_ADDRESS>
2000 (v6)                  ALLOW IN    Anywhere (v6)
2001 (v6)                  ALLOW IN    Anywhere (v6)
2000/tcp (v6)              ALLOW IN    Anywhere (v6)
2001/tcp (v6)              ALLOW IN    Anywhere (v6)  `
Could you please help me about that?

I have the same rpc:timeout issue.
I just follow the instructions to build carla 0.9.5 with Ubuntu 18.04.
On one terminal I ran make launch.
On other terminal I ran python spawn_npc.py and have the same error messages.
It seems that the server is not catching the requests. Is there any way to check whether the server is actually listening?

@ydjian have you solved this problem? Thank you

Unfortunately nope

I encountered the similar problem. I am using the mac fork of the carla version and was able to get the simulator working. I am able to scan 2000 and 2001 in my ports but in tutorial.py it just won't connect and timed out. Can someone please help?

It's hard to help without more information. Have you looked at the server log?

I think the server log means that the port <IP_ADDRESS>:2000 is listening and that's what tutorial.py is trying to connect to.
[2019.07.08-18.20.08:391][802]LogNet: GameNetDriver IpNetDriver_6 IpNetDriver listening on port 2000
[2019.07.08-18.20.08:408][802]LogCarla: Error: Can't find player controller!
[2019.07.08-18.20.08:408][802]LogCarlaServer: New episode 'UEDPIE_1_Town03' started
[2019.07.08-18.20.08:408][802]PIE: Play in editor start time for /Game/Carla/Maps/UEDPIE_1_Town03 1.372
[2019.07.08-18.20.08:409][802]LogCarla: == CARLA Settings ==============================================================
[2019.07.08-18.20.08:409][802]LogCarla: Last settings file loaded:
[2019.07.08-18.20.08:409][802]LogCarla: [CARLA/Server]
[2019.07.08-18.20.08:409][802]LogCarla: Networking = Disabled
[2019.07.08-18.20.08:409][802]LogCarla: World Port = 2000
[2019.07.08-18.20.08:409][802]LogCarla: Server Time-out = 10000 ms
[2019.07.08-18.20.08:409][802]LogCarla: Synchronous Mode = Disabled
[2019.07.08-18.20.08:409][802]LogCarla: Send Non-Player Agents Info = Disabled
[2019.07.08-18.20.08:409][802]LogCarla: Rendering = Enabled
[2019.07.08-18.20.08:409][802]LogCarla: [CARLA/LevelSettings]
[2019.07.08-18.20.08:409][802]LogCarla: Player Vehicle        = Default
[2019.07.08-18.20.08:409][802]LogCarla: Number Of Vehicles    = 5
[2019.07.08-18.20.08:409][802]LogCarla: Number Of Pedestrians = 15
[2019.07.08-18.20.08:409][802]LogCarla: Weather Id = -1
[2019.07.08-18.20.08:409][802]LogCarla: Seed Vehicle Spawner = 123456789
[2019.07.08-18.20.08:409][802]LogCarla: Seed Pedestrian Spawner = 123456789
[2019.07.08-18.20.08:409][802]LogCarla: Two-Wheeled Vehicles = Enabled
[2019.07.08-18.20.08:409][802]LogCarla: Found 0 available weather settings.
[2019.07.08-18.20.08:409][802]LogCarla: [CARLA/QualitySettings]
[2019.07.08-18.20.08:409][802]LogCarla: Quality Level = Epic
[2019.07.08-18.20.08:409][802]LogCarla: [CARLA/Sensor]
[2019.07.08-18.20.08:409][802]LogCarla: Semantic Segmentation = Enabled
[2019.07.08-18.20.08:409][802]LogCarla: ================================================================================
[2019.07.08-18.20.08:512][802]LogInit: FAudioDevice initialized.
[2019.07.08-18.20.08:670][802]LogSlate: Updating window title bar state: overlay mode, drag disabled, window buttons hidden, title bar hidden
[2019.07.08-18.20.08:960][802]LogNet: Browse: <IP_ADDRESS>:2000//Game/Carla/Maps/Town03
[2019.07.08-18.20.08:960][802]LogTemp: Display: ParseSettings for GameNetDriver
[2019.07.08-18.20.08:960][802]LogTemp: Display: ParseSettings for IpNetDriver_7
[2019.07.08-18.20.08:960][802]LogTemp: Display: ParseSettings for PendingNetDriver
[2019.07.08-18.20.08:960][802]LogInit: BSD IPv4/6: Socket queue 32768 / 32768
[2019.07.08-18.20.08:963][802]PacketHandlerLog: Loaded PacketHandler component: Engine.EngineHandlerComponentFactory (StatelessConnectHandlerComponent)
[2019.07.08-18.20.08:964][802]LogNet: Game client on port 2000, rate 10000
[2019.07.08-18.20.09:014][802]PIE: Play in editor start time for /Game/Carla/Maps/Town03 1.978
[2019.07.08-18.20.09:029][802]LogBlueprintUserMessages: Late PlayInEditor Detection: Level '/Game/Carla/Maps/Town03.Town03:PersistentLevel' has LevelScriptBlueprint '/Game/Carla/Maps/Town03.Town03:PersistentLevel.Town03' with GeneratedClass '/Game/Carla/Maps/Town03.Town03_C' with ClassGeneratedBy '/Game/Carla/Maps/Town03.Town03:PersistentLevel.Town03'
[2019.07.08-18.20.09:029][802]LogNet: NotifyAcceptingConnection accepted from: <IP_ADDRESS>:57390
[2019.07.08-18.20.09:029][802]LogHandshake: SendConnectChallenge. Timestamp: 0.090009, Cookie:<PHONE_NUMBER>08217001080124033131105163199090226016241167159107
[2019.07.08-18.20.09:039][802]LogHandshake: SendChallengeResponse. Timestamp: 0.090009, Cookie:<PHONE_NUMBER>08217001080124033131105163199090226016241167159107
[2019.07.08-18.20.10:151][803]LogNet: NotifyAcceptingConnection accepted from: <IP_ADDRESS>:57390
[2019.07.08-18.20.10:151][803]LogHandshake: SendChallengeAck. InCookie:<PHONE_NUMBER>08217001080124033131105163199090226016241167159107
[2019.07.08-18.20.10:151][803]LogNet: Server accepting post-challenge connection from: <IP_ADDRESS>:57390
[2019.07.08-18.20.10:154][803]PacketHandlerLog: Loaded PacketHandler component: Engine.EngineHandlerComponentFactory (StatelessConnectHandlerComponent)
[2019.07.08-18.20.10:154][803]LogNet: NotifyAcceptedConnection: Name: Town03, TimeStamp: 07/08/19 11:20:10, [UNetConnection] RemoteAddr: <IP_ADDRESS>:57390, Name: IpConnection_7, Driver: GameNetDriver IpNetDriver_6, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: INVALID
[2019.07.08-18.20.10:154][803]LogNet: AddClientConnection: Added client connection: [UNetConnection] RemoteAddr: <IP_ADDRESS>:57390, Name: IpConnection_7, Driver: GameNetDriver IpNetDriver_6, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: INVALID
[2019.07.08-18.20.10:156][803]LogNet: UPendingNetGame::SendInitialJoin: Sending hello. [UNetConnection] RemoteAddr: <IP_ADDRESS>:2000, Name: IpConnection_6, Driver: PendingNetDriver IpNetDriver_7, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID
[2019.07.08-18.20.10:493][804]LogNet: NotifyAcceptingChannel Control 0 server World /Game/Carla/Maps/UEDPIE_1_Town03.Town03: Accepted
[2019.07.08-18.20.10:493][804]LogNet: Remote platform little endian=1
[2019.07.08-18.20.10:493][804]LogNet: This platform little endian=1
[2019.07.08-18.20.11:281][805]LogNet: Login request: /Game/Carla/Maps/Town03?Name=Franks-MBP-2-9717B6048F488D85206D82A27F657B84 userId: NULL:Franks-MBP-2-9717B6048F488D85206D82A27F657B84 platform: NULL
[2019.07.08-18.20.11:283][805]LogNet: Welcomed by server (Level: /Game/Carla/Maps/UEDPIE_1_Town03, Game: /Game/Carla/Blueprints/Game/TheNewCarlaGameMode.TheNewCarlaGameMode_C)
[2019.07.08-18.20.11:320][805]LogLoad: LoadMap: <IP_ADDRESS>:2000//Game/Carla/Maps/UEDPIE_1_Town03?game=/Game/Carla/Blueprints/Game/TheNewCarlaGameMode.TheNewCarlaGameMode_C
[2019.07.08-18.20.13:163][805]LogMetal: Display: Got a bulk data texture, with 1 mips
[2019.07.08-18.20.13:163][805]LogMetal: Display: Got a bulk data texture, with 1 mips
[2019.07.08-18.20.13:164][805]LogMetal: Display: Got a bulk data texture, with 1 mips
[2019.07.08-18.20.13:164][805]LogAIModule: Creating AISystem for world Town03
[2019.07.08-18.20.13:166][805]LogTemp: Display: ParseSettings for GameNetDriver
[2019.07.08-18.20.13:399][805]LogWorld: Bringing World /Game/Carla/Maps/UEDPIE_2_Town03.Town03 up for play (max tick rate 3) at 2019.07.08-11.20.13
[2019.07.08-18.20.13:434][805]LogWorld: Bringing up level for play took: 0.261007
[2019.07.08-18.20.13:435][805]LogLoad: Took 2.114692 seconds to LoadMap(/Game/Carla/Maps/UEDPIE_1_Town03)
[2019.07.08-18.20.13:527][806]LogNet: Client netspeed is 10000
[2019.07.08-18.20.13:527][806]LogNet: Join request: /Game/Carla/Maps/Town03?Name=Franks-MBP-2-9717B6048F488D85206D82A27F657B84?SplitscreenCount=1
[2019.07.08-18.20.13:528][806]LogOnlineSession: Warning: OSS: No game present to join for session (GameSession)
[2019.07.08-18.20.13:540][806]LogNet: Join succeeded: Franks-MBP-2-9717B60
[2019.07.08-18.20.14:687][808]LogOnlineSession: Warning: OSS: No game present to join for session (GameSession)
[2019.07.08-18.20.28:378][ 31]LogSlate: FSceneViewport::OnFocusLost() reason 0

@ydjian have you solved this problem? Thank you

Still a problem in newer releases 0.9.9

Still a problem in newer releases 0.9.9
@smmmmi Do you experience it on Ubuntu or MacOS?
I've managed to build Carla and PythonAPI on MacOS, the Carla is running, but Python examples cannot connect to the server and fails with the time-out.

I can start Unreal Editor with make launch (or make launch-only), then launch Carla from the editor. I can see, that the UE4Editor process is listening on ports 2000 and 2001. The versions of the server and client can be read and match:
import carla

client = carla.Client(host='<IP_ADDRESS>', port=2000)
server_version = client.get_server_version()
client_version = client.get_client_version()

However, executing an example (e.g., spawn_npc.py) or  trying to load a city with world = client.load_world('Town03') results in a time-out:
    world = client.load_world('Town03')
RuntimeError: time-out of 60000ms while waiting for the simulator,
make sure the simulator is ready and connected to <IP_ADDRESS>:2000

Thanks for the follow up @evdoks I am however on Ubuntu 18 / Python 3.7, but with the same situation here that Carla is running but the examples time out.
I can however manage to run and spawn blueprints using the apt-get installation but I want it to be built from source to access some files which are not there (carla.client or client_example).

Hey guys,
I had the same problem, and changing the client.timeout() was fixing it.
RuntimeError: time-out of 12000ms while waiting for the simulator, make sure the simulator is ready and connected to localhost:2000
So what I did is that I have a time.sleep(5) at the beginning of my code.
import glob
import os
import sys
import random
import math
import time
try:
    sys.path.append(glob.glob('../CARLA_0.9.10/WindowsNoEditor/PythonAPI/carla/dist/carla-*%d.%d-%s.egg' % (
        sys.version_info.major,
        sys.version_info.minor,
        'win-amd64' if os.name == 'nt' else 'linux-x86_64'))[0])
except IndexError:
    pass

try:
    os.startfile(r"C:\Users\slamine\Documents\CARLA_0.9.10\WindowsNoEditor\CarlaUE4.exe")
except IndexError:
    pass

import carla
time.sleep(5)
actor_list = []

try:
    client = carla.Client('localhost', 2000)
    client.set_timeout(10.0)

    world = client.get_world()
    [...]

Tell me what you think about it, and if it fixes your Runtime Error or not.
Have a good day !

Hello could you tell me in which python file you did the modification?

Hey @nimishamanjali ,
This is a python file I created. But you could add time.sleep(5) before carla.Client('localhost', 2000) in any code I guess.
On my code, I also open Carla directly from the script, with the following lines :
try:
    os.startfile(r"C:\Users\slamine\Documents\CARLA_0.9.10\WindowsNoEditor\CarlaUE4.exe")
except IndexError:
    pass

Tell me if you have other questions !

Carla has an timeout checking for the system. I think if your machine computation power is not strong, your machine may need more time to do computation. Unfortunately, if the computation time exceed the timeout time, this problem happens:
try to use :
import carla
client = carla.Client('localhost', 2000)
client.set_timeout(100000.0)
https://carla.readthedocs.io/en/latest/core_world/

I want to give some advices to guys who can't solve this problem by changing the port. ( Although this problem seems to only appear in the low version, as some teaching platforms are still using the low version of Carla as a teaching tool, I think the solution to this problem is still meaningful. )
I am using the version 0.8.4.
If you meet the 'ERROR : (localhost:2000) failed to read data: timed out', you could try to run the 'manual_control.py' in folder '/PythonClient'. Then, if everything goes well, this means there is no problem with the TCP connection, so the problem may be caused by the computer which running slowly. Carla is a big project, it reads huge amounts of data from the simulator, so the prog may briefly be unresponsive while reading data or preparing for an episode (especially when you have a mechanical hard disk). To solve this problem, you just need to open the 'client.py' in folder '/PythonClient/Carla', and change 'timeout' to an appropriate value (I set timeout=150), then your computer has plenty of time to read data and run programs. Hopefully this will be useful :)

Right way to solve my problem.

I had the same issue, and every time I get to this problem I just change the port to 3000, and amazingly, it works well.
just run the carlaUE4 by
CarlaUE4.exe -carla-rpc-port=3000
and in your code change the port to 3000
client = carla.Client('<IP_ADDRESS>',3000)


Add custom resources to export

Hi,
how can I add custom resources like Velocity templates to the exported app?
Greets
Petr

I believe it is camel.jbang.classpathFiles property in application.properties
https://camel.apache.org/manual/camel-jbang.html#_configuring_exporting


cabal build fails.

Cabal failed to resolve dependencies. I'm using version <IP_ADDRESS> of cabal.
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: EwwNotificationDaemon-<IP_ADDRESS> (user goal)
[__1] next goal: base (dependency of EwwNotificationDaemon)
[__1] rejecting: base-<IP_ADDRESS>/installed-<IP_ADDRESS> (conflict:
EwwNotificationDaemon => base^>=<IP_ADDRESS>)
[__1] skipping: base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS> (has the same characteristics that caused the
previous version to fail: excluded by constraint '^>=<IP_ADDRESS>' from
'EwwNotificationDaemon')
[__1] rejecting: base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS> (constraint from non-upgradeable package requires installed
instance)
[__1] fail (backjumping, conflict set: EwwNotificationDaemon, base)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, EwwNotificationDaemon

The dependency management in Haskell, especially Cabal, is pretty bad. I think the problem is that the version constraint for base is too strict and does not work with the latest GHC version. I pushed a quick fix and will migrate to Stack in the future. Let me know if it's working now.

Thanks for helping! The problem is persisting, but it now is also trying to resolve the text dependency.
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: EwwNotificationDaemon-<IP_ADDRESS> (user goal)
[__1] next goal: text (dependency of EwwNotificationDaemon)
[__1] rejecting: text-2.0.2/installed-2.0.2 (conflict: EwwNotificationDaemon
=> text^>=<IP_ADDRESS>)
[__1] skipping: text-2.1, text-2.0.2, text-2.0.1, text-2.0 (has the same
characteristics that caused the previous version to fail: excluded by
constraint '^>=<IP_ADDRESS>' from 'EwwNotificationDaemon')
[__1] trying: text-<IP_ADDRESS>
[__2] next goal: base (dependency of EwwNotificationDaemon)
[__2] rejecting: base-<IP_ADDRESS>/installed-<IP_ADDRESS> (conflict: text =>
ghc-prim>=0.2 && <0.9, base => ghc-prim==0.9.1/installed-0.9.1)
[__2] rejecting: base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS> (constraint from non-upgradeable package requires
installed instance)
[__2] fail (backjumping, conflict set: EwwNotificationDaemon, base, text)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: EwwNotificationDaemon, text, base

Okay, it seems that Cabal is a lost cause. I added the option to build with Stack, check the updated README. I hope this fixes the issue. If not, you can download the prebuilt binary from the Release page for now.


TD3 Demo Implementation + Minor README.md change

Added additional Reinforcement Learning algorithm demonstration for Twin Delayed DDPG
smart_control/notebooks/TD3_Demo.ipynb
Clarified README.md instructions to include the step "activate virtual environment" before running the poetry installation command.

I have just signed the Google CLA.


long-stack-trace zone breaks SourceMaps on stack traces

Looks like the extra line in the stack trace breaks source maps (e.g.  -------------   Elapsed: 4137 ms; At: Mon Mar 06 2017 11:00:38 GMT-0800 (PST)   ------------- ).
This does not work (which is used by long-stack-trace zone)
var e = new Error();
e.stack = `at ErrorComponent.createError (http://localhost:8000/all/playground/src/sourcemap/index.js:21:64) [angular]
    at Object.eval [as handleEvent] (http://localhost:8000/nggen/ExampleModule/ErrorComponent.ngfactory.js:25:26) [angular]
    at handleEvent (http://localhost:8000/all/@angular/core/src/view/view.js:126:41) [angular]
    at callWithDebugContext (http://localhost:8000/all/@angular/core/src/view/services.js:428:25) [angular]
    at Object.debugHandleEvent [as handleEvent] (http://localhost:8000/all/@angular/core/src/view/services.js:134:12) [angular]
    at Object.dispatchEvent (http://localhost:8000/all/@angular/core/src/view/util.js:85:29) [angular]
    at http://localhost:8000/all/@angular/core/src/view/element.js:184:45 [angular]
    at HTMLButtonElement.<anonymous> (http://localhost:8000/all/@angular/platform-browser/src/dom/dom_renderer.js:60:36) [angular]
    at Object.onInvokeTask (http://localhost:8000/all/@angular/core/src/zone/ng_zone.js:230:37) [angular]
    at ZoneDelegate.invokeTask (http://localhost:8000/all/playground/vendor/zone.js:261:40) [angular]
    at Zone.runTask (http://localhost:8000/all/playground/vendor/zone.js:151:47) [<root> => angular]
    at HTMLButtonElement.ZoneTask.invoke (http://localhost:8000/all/playground/vendor/zone.js:332:33) [<root>]
  -------------   Elapsed: 4137 ms; At: Mon Mar 06 2017 11:00:38 GMT-0800 (PST)   -------------
    at getStacktraceWithUncaughtError (http://localhost:8000/all/playground/vendor/long-stack-trace-zone.js:33:12) [angular]
    at new LongStackTrace (http://localhost:8000/all/playground/vendor/long-stack-trace-zone.js:27:22) [angular]
    at Object.onScheduleTask (http://localhost:8000/all/playground/vendor/long-stack-trace-zone.js:83:18) [angular]
`;
console.error(e);

This works:
var e = new Error();
e.stack = `at ErrorComponent.createError (http://localhost:8000/all/playground/src/sourcemap/index.js:21:64) [angular]
    at Object.eval [as handleEvent] (http://localhost:8000/nggen/ExampleModule/ErrorComponent.ngfactory.js:25:26) [angular]
    at handleEvent (http://localhost:8000/all/@angular/core/src/view/view.js:126:41) [angular]
    at callWithDebugContext (http://localhost:8000/all/@angular/core/src/view/services.js:428:25) [angular]
    at Object.debugHandleEvent [as handleEvent] (http://localhost:8000/all/@angular/core/src/view/services.js:134:12) [angular]
    at Object.dispatchEvent (http://localhost:8000/all/@angular/core/src/view/util.js:85:29) [angular]
    at http://localhost:8000/all/@angular/core/src/view/element.js:184:45 [angular]
    at HTMLButtonElement.<anonymous> (http://localhost:8000/all/@angular/platform-browser/src/dom/dom_renderer.js:60:36) [angular]
    at Object.onInvokeTask (http://localhost:8000/all/@angular/core/src/zone/ng_zone.js:230:37) [angular]
    at ZoneDelegate.invokeTask (http://localhost:8000/all/playground/vendor/zone.js:261:40) [angular]
    at BREAK =============== 500 ms elapse  ===== (http://localhost:8000/path:1:2)
    at HTMLButtonElement.ZoneTask.invoke (http://localhost:8000/all/playground/vendor/zone.js:332:33) [<root>]
    at getStacktraceWithUncaughtError (http://localhost:8000/all/playground/vendor/long-stack-trace-zone.js:33:12) [angular]
(http://localhost:8000/all/playground/vendor/zone.js:332:33) [<root>]
`;
console.error(e);

@tbosch , I would like to look into this issue, based on the https://github.com/angular/angular/issues/15185, the source map will not be correct when SyntaxError, so I just modify the html template with some wrong syntax , so I can reproduce? If you can provide a reproduce repository, it will help, thank you.

close for not be able to reproduce.


Issue custom field to get the sum of a custom field of all logged time

Hi,
Will you help me figure how to get the sum of a custom field on the log time.
The sum should be of all time logs made against an Issue and its sub-issues?
Regards,
JP

Hi. I hope this will help.
time_entries_cf_id = 1
result = time_entries.to_a.sum { |te| te.custom_field_value(time_entries_cf_id).to_f }
result += children.to_a.sum { |c| c.time_entries.to_a.sum { |te| te.custom_field_value(time_entries_cf_id).to_f } }
result.round(2)

Hi,
It works! Thank you.
JP


BUG: Provide appropriate enum value to itkCellVisitMacro

Provide appropriate geometry enum value to itkCellVisitMacro in
itk::PolyLineCell.
PR Checklist

[X] No API changes were made (or the changes have been approved)
[X] No major design changes were made (or the changes have been approved)

Hope this is the reason why that lines is not getting covered as opposed to its *Cell peers.

Hope this is the reason why that line is not getting covered as opposed to its *Cell peers.

Looks like this was not enough to get that line covered.


BLE server is detected by nRF tool but not my custom android app.

I am trying to use this for creating a BLE server. In my android phone, I have created an app for scanning the BLE peripheral. Many other peripherals are shown but not this one.

I have the same problem.


[WIP] Trigger security scan, please ignore

Provide a description of what has been changed
Checklist

[x] Please Ignore

Fixes #

Relates to #

/test security


Seemingly incorrect errors, potentially related to C++11

Checklist

[x] Check that you have the GNU C Compiler installed by typing gcc --version into a terminal.
[x] If you don't have the linter package installed, either update to the latest version of linter-gcc or install linter directly with apm install linter.
[x] Ensure that you are using a valid grammar - either C/C++/C++14

Issue (including debugging messages):
When I compile my program with g++ myccfile.cc -std=c++11 -Wall, it works fine (all I get are a few warnings about unused functions). The clang linter shows the same warnings, but nothing else.
linter-gcc, however, shows me a ton of errors. In the .cc file I'm compiling, I'm getting a "No such file or directory" error on my first include (regardless of whether I add it to the include path). It's definitely the right file path because it compiles fine. The first error for the project as a whole is

"#error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.at line 32 col 2 in /usr/include/c++/4.8/bits/c++0x_warning.h".

despite the fact that I have -std=c++11 in my flags. There are also a number of warnings about the fact that I'm using C++11 reserved words (I'm using them for their intended purpose). I'm using the C++14 grammar (using the C++ grammar doesn't fix it).
Here are the debugging messages I get on the console when linter-gcc runs:

linter-gcc: Using configuration page settings
/home/emily/.atom/packages/linter-gcc/lib/utility.js:94 linter-gcc config: {"execPath":"/usr/bin/g++","gccIncludePaths":"./evo/, ./tools/","gccSuppressWarnings":false,"gccDefaultCFlags":"-std=c++11","gccDefaultCppFlags":"-c -std=c++11","gccErrorLimit":0,"gccErrorString":"error","gccWarningString":"warning","gccNoteString":"note"}
2/home/emily/.atom/packages/linter-gcc/lib/utility.js:76 Expanding directories
/home/emily/.atom/packages/linter-gcc/lib/utility.js:146 linter-gcc: /usr/bin/g++ -c -std=c++11 -fmax-errors=0 -I/home/emily/repos/Empirical/evo -I/home/emily/repos/Empirical/tools /tmp/5b9837c7-122b-4820-8092-d54549d3bf68.cpp

More information in case this is hard to duplicate:

My gcc version is 4.8.4 (I've also tried it with 4.9)
I'm running Linux Mint 17 64-bit
The project I'm having this problem with is here. It's largely a pre-processor library, so it's possible that all of the (somewhat convoluted) macros and templates are confusing the linter. This is the specific test file I'm trying to compile.

Thanks so much! This otherwise seems like the best of the atom C++ linters.

I've cloned the repo and it works fine for me. I think it's just a path issue. This is my linter-gcc config:
{
    "execPath": "g++",
    "gccIncludePaths": "./include",
    "gccSuppressWarnings": false,
    "gccDefaultCFlags": "-c -Wall",
    "gccDefaultCppFlags": "-c -Wall -Wextra -Wpedantic -std=c++14 -o /dev/null",
    "gccErrorLimit": -1,
    "gccErrorString": "error",
    "gccWarningString": "warning",
    "gccNoteString": "note"
}

Could you please try using the same config and seeing if it works. The most important option here is gccIncludePaths.

I tried using that config, but I'm still getting the same errors. I updated Atom to the latest version and the number of issues went down from ~250 to 56. Adding "./*" to the include path made the "File not found" error in my .cc file go away, but there are still some other seemingly erroneous "File not found" errors (for instance "tools/vector.h" is never found).

Sorry for the late response.. I've been a bit busy. If you're still having the problem of missing files, could you do the following:

Enable linter-gcc's debugging messages in the configuration page
Open the developer console by pressing Ctrl+Shift+I
Lint a C/C++ file by saving it/using lint on-the-fly.
Report the linter-gcc command that is printed to the console. Also paste the command into the terminal to check the output,

Hello. Have you managed to get the problem fixed? If not, could you please follow the instructions above and report the linter-gcc command?

Hello. Any updates on the errors?

Sorry for the delay in getting back to you - I've been traveling. It looks like it's working now. The update must have fixed it. Thanks!

I now have a similar problem. I have two files, List.h and test.cpp, in the same folder. The linter is reporting, for the test.cpp file, the error "List.h: No such file or directory", though it compiles just fine with g++ through command lines and through gpp-compiler in Atom.
I'm not a very experienced programmer, but I really like Atom and would appreciate to continue using it, but I see these errors might be getting in my way, because they prevent the package from linting the rest of my code, for some reason.
I'd appreciate some help! Thanks.

It seems that disabling linting on-the-fly solves the problem, though I don't have any auto-saving packages (I uninstalled gpp-compiler), as is warned in the setting's description.
Thanks for the help, again.

Adding -I (uppercase i, not lowercase L) to the compile flags tells the compiler where to find the header files and solves the "No such file or directory" problem.


RNCNetInfo.getCurrentState got 3 arguments, expected 2.

Enviornment info :
System:
OS: Windows 10 10.0.17763
CPU: (8) x64 Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz
Memory: 1.06 GB / 7.88 GB
Binaries:
Node: 8.16.1 - C:\Program Files\nodejs\node.EXE
npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
SDKs:
Android SDK:
API Levels: 21, 22, 23, 24, 25, 26, 27, 28, 29
Build Tools: 26.0.2, 28.0.3, 29.0.2
System Images: android-24 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom
IDEs:
Android Studio: Version <IP_ADDRESS> AI-191.8<IP_ADDRESS>10548
npmPackages:
react: ~16.9.0 => 16.9.0
react-native: https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz => 0.61.4
Facing this problem using expo directory.
import {AppState } from 'react-native';
import NetInfo from '@react-native-community/netinfo';
Using this two library

@mattdyoung : I have not used bugsnag-js in current project. I am using it in expo directory.
Above all information mentioned and JS code too attached.

@SanjanaTailor
You've raised this as an issue with bugsnag-js. If you're not using bugsnag-js in your project I don't think there's any issue for the maintainers of bugsnag-js to resolve here.
If you are using bugsnag-js can you provide a reproducible example of the issue bugsnag-js is causing using the latest version v6.5.1.

Please reopen, we need to know what is the correct version of @react-native-community/netinfo that can be used with sdk35 too
@react-native-community/netinfo - expected version range: ~3.2.1 - actual version installed: ^5.5.1

@react-native-community/netinfo - expected version range: ~3.2.1 - actual version installed: 4.6.2

Both crash with RNCNetInfo.getCurrentState got 3 arguments, expected 2..

Hi @lc3t35 - if you have a React Native project, we would recommend using our React Native notifier: https://github.com/bugsnag/bugsnag-react-native
Are you currently using bugsnag-js in your project? what version of bugsnag-js are you using?

I'm using expo sdk35 with "@bugsnag/expo": "6.4.1" for dev and  "bugsnag-react-native": "^2.23.2" for production.

Hey @lc3t35, the bugsnag-react-native library should not be used with Expo apps. Additionally, a fix was released that fixes an issue that sound exactly like this. This was released in v6.5.1 of our bugsnag-js library. Can you please try a version that is at least v6.5.1 to see if the issue persists?

Yes as ejected Expo app, I use bugsnag-react-native ("bugsnag-react-native": "^2.23.6",)
But for staging/dev, I would like to use https://docs.bugsnag.com/platforms/react-native/expo/ too. What do you suggest ?
I had to remove bugsnag-react-native and @bugsnag/expo, so I can work on my project, I can stay stuck ... QA is waiting for updates.... without error catching then...
I expect to update to sdk36 soon, so I'll check again.

@lc3t35 Have you confirmed that you still see this issue with the latest @bugsnag/expo which includes the fix @xander-jones refers to?
https://github.com/bugsnag/bugsnag-js/releases

installing version 3.2.1 worked for me


Slow creation of CAs

It seems the slow (as per v0.50 release notes) kwargs constructor is being used for all CA creation and not just for the CA(...; x=y) syntax.
I'm not sure if this was the result of a recent change or if it has always been like this.
julia> @btime ComponentArray(a=5, b=[1, 2])
  23.316 μs (45 allocations: 2.14 KiB)
ComponentVector{Int64}(a = 5, b = [1, 2])

julia> @code_warntype ComponentArray(a=5, b=[1, 2])
Variables
  #unused#::Core.Compiler.Const(Core.var"#Type##kw"(), false)
  @_2::NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}
  @_3::Type{ComponentArray}
  kwargs...::Base.Iterators.Pairs{Symbol,Any,Tuple{Symbol,Symbol},NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}}

Body::Any
1 ─      (kwargs... = Base.pairs(@_2))
│   %2 = ComponentArrays.:(var"#ComponentArray#13")(kwargs..., @_3)::Any
└──      return %2

Oh yeah, it’s for all keyword constructors. Not sure why I specifically pointed it out there.
As far as fixing the issue, the few things I’ve tried haven’t helped, but I have some other ideas I want to try soon.

That's still an issue, isn't it?
I might want to use the creation of the CAs during the forward pass of the function and hence it needs to be rather efficient.
julia> @code_warntype ComponentArray((;a=1,b=[1,2,3,3]))
MethodInstance for ComponentArray(::NamedTuple{(:a, :b), Tuple{Int64, Vector{Int64}}})
  from ComponentArray(nt::NamedTuple) in ComponentArrays at /home/fxw/.julia/packages/ComponentArrays/mdPcX/src/componentarray.jl:63
Arguments
  #self#::Type{ComponentArray}
  nt::NamedTuple{(:a, :b), Tuple{Int64, Vector{Int64}}}
Body::Any
1 ─ %1 = ComponentArrays.make_carray_args(nt)::Tuple{Any, AbstractAxis}
│   %2 = Core._apply_iterate(Base.iterate, ComponentArrays.ComponentArray, %1)::Any
└──      return %2

julia> @time ComponentArray((;a=1,b=[1,2,3,3]))
  0.000050 seconds (47 allocations: 2.312 KiB)
ComponentVector{Int64}(a = 1, b = [1, 2, 3, 3])

There may be some room for improvement, but this is fundamentally type-unstable operation so it will never be truly fast using this style of constructor. To see this, consider the above example:
julia> ca = ComponentArray(a=1,b=[1,2,3,3])
ComponentVector{Int64}(a = 1, b = [1, 2, 3, 3])

julia> typeof(ca)
ComponentVector{Int64, Vector{Int64}, Tuple{Axis{(a = 1, b = 2:5)}}}

The Axis{(a = 1, b = 2:5)} part of this depends on the length of the b component, which isn't known at compile time. I think there's not really any way around this without making the operation of ComponentArrays slower. But it's possible that there are at least some ways around this to make it a bit faster, even if it's not type unstable. I'm open to suggestions.

For my own curiosity, what benefits are gained by having Axis{(a = 1, b = 2:5)}} instead of Axis{NamedTuple{(:a, :b), Tuple{Int64, UnitRange{Int64}}}}?

Axis{(a = 1, b = 2:5)}} encodes the information about the indexing in the type domain. The other one, which we would have if Axis was a type that held the indexing NamedTuple as a field, would make the property access happen at runtime. Every version of the second one I tried was really slow due to type instability. At some point I should pick it up again and really give it a good effort because it would be pretty nice if we could get it working.

Makes sense. I would've thought const prop could help with the second case, but maybe it balks on the recursion.

Yeah, I really would have thought so too. And who knows, maybe it does these days. I can’t remember the last time I tried it. Maybe around v1.5 or so.


⚠ Jenkins Plugins Artifactory has degraded performance

In 83521bb, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1189 ms

Resolved: Jenkins Plugins Artifactory performance has improved in ceffa1c after 2 hours, 51 minutes.


add /quill-docs/ to links in  gh-pages/index.html

Problem
On http://getquill.io/ links to comparisons give 404.

https://github.com/getquill/quill/blob/master/CASSANDRA.md
https://github.com/getquill/quill/blob/master/SLICK.md

Solution
Fix the urls  to

https://github.com/getquill/quill/blob/master/quill-docs/SLICK.md
https://github.com/getquill/quill/blob/master/quill-docs/CASSANDRA.md

@getquill/maintainers

thanks for the contribution @intracer :+1:

:+1:


Does this always get you the latest snapshot? If not, how?

allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
compile 'com.github.timmolter:XChange:master-SNAPSHOT'
}

That looks like gradle. I'm not familiar with it, so I cannot give you an answer.

It is gradle. Other people may be able to answer so can you reopen it?

If you want the snapshot use
compile 'org.knowm.xchange:xchange-anx:4.2.3-SNAPSHOT'
compile 'org.knowm.xchange:xchange-bitbay:4.2.3-SNAPSHOT'
compile 'org.knowm.xchange:xchange-bitcoinaverage:4.2.3-SNAPSHOT'
...

If you don't want the snapshot just use the version number without -SNAPSHOT.

In case somebody else stumbles upon this, it should be like this:
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile 'com.github.timmolter:XChange:develop-SNAPSHOT'
}


svd2rust: 0.30.2 -> 0.30.3

Description of changes

Release notes: https://github.com/rust-embedded/svd2rust/releases/tag/v0.30.3
diff: https://github.com/rust-embedded/svd2rust/compare/v0.30.2...v0.30.3
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.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.

Succeeded by #269672


Error running new AppleTV project

Is this a bug report?
(yes)

Have you read the Contributing Guidelines?
(yes)
Environment

react-native -v: 0.48.1 (edit by @hramos)
node -v: v6.9.1
npm -v: 3.10.8
yarn --version: 0.24.6

Then, specify:

Target Platform:

AppleTV

Development Operating System:

MacOS Sierra 10.12.6

Build tools:

Xcode 9.0 beta6
Steps to Reproduce

(Write your steps here:)

create new react native project using react-native init
run tvOS as target

Expected Behavior

(Simulator opens)
Actual Behavior

Error: ld: library not found for -lReact-tvOS clang: error: linker command failed with exit code 1 (use -v to see invocation)

Reproducible Demo

https://www.dropbox.com/s/cyg71ggmvunficw/zip.zip?dl=0
To reproduce:

run in Xcode

Update: By creating a project using an older version of React Native the error seems to go away. eg: react-native init --version="0.47.2"

Which version does this repro in? 2.0.1 above is the CLI version.

It looks like I'm running version 2.0.1.

That is the CLI version. The RN version should be something like 0.48 or 0.47.1.

Ah, this repros in version 0.48.1

I see the exact same behavior in RN 0.49.3.  Creating project with 0.47.2 worked.

Same error here, created a brand new project using RN 0.49.3. iOS works fine though.

I'll take a look and see what's going on.

@dabit3 this is now fixed as of PR #16076 .  Please verify and close.

@dlowder-salesforce Having the same issue with brand new RN project scaffolded using 0.50.4 — Running react-native init --version="0.47.2" works fine. Any ideas on which newer versions are capable of running on tvOS?

@dlowder-salesforce
Same issue as @cantyjeffrey - specifying an older version of RN allowed the tvOS app to build properly

Damn, I was hoping I was missing something obvious, @tsaiDavid — well anyway, let me know if there’s any useful info or debugging output I could provide you with to help squash this, @dlowder-salesforce 👍

@dlowder-salesforce @tsaiDavid @cantyjeffrey Yes I also tested it out a few days ago and could not get it to build, but was debugging to make sure I did not do anything wrong, but as of 0.50.4 I was unable to have any luck.

@dabit3 @tsaiDavid @cantyjeffrey I just did
react-native init TestApp --version facebook/react-native#master
and the tvOS target compiles and runs.  So I'm guessing that the fix in #16076 just hasn't made it into any releases yet.  @grabbou @hramos do you know when that fix will show up in the release train?

@hramos we can close this issue


Add Missing CQL Aliases for ABIDE Conformance

Adds several CQL aliases to ensure ABIDE conformance.
Resolves #106.

Picked from the projectathon branch.


Suggestion: one-armed ifs

I find myself writing a lot of code like:
\ifbool{foo}{}{\knorx}
\notbool{barf}{\zork}{}

with one of the branches empty.
What about one-armed versions?
\newcommand*{\whenbool}[1]{%
  \ifcsundef{if#1}
    {\etb@err@nobool{#1}\@gobble}
    {\csname if#1\endcsname
       \expandafter\@firstofone
     \else
       \expandafter\@gobble
     \fi}}
\newcommand*{\whennotbool}[1]{%
  \ifcsundef{if#1}
    {\etb@err@nobool{#1}\@gobble}
    {\csname if#1\endcsname
       \expandafter\@gobble
     \else
       \expandafter\@firstofone
     \fi}}

Note: i chose whennotbool, because unlessbool was already taken.

I understand the thinking (it's what expl3 does), but within the classical 2e framework all conditionals have two branches.

OK :)


JEST_WORKER_ID starts with 0.

🐛 Bug Report
JEST_WORKER_ID starts from 0 instead of 1 specified here:

Note: Each worker has a unique id (index that starts with 1) which is available on process.env.JEST_WORKER_ID

https://github.com/facebook/jest/blob/master/packages/jest-worker/README.md
To Reproduce
Its on a private repo. I have tried reproducing it on a public repo but I couldn't get it to work.
I have two .spec.ts files with the same content:
import knex from "knex";
import { createTestConnection } from "../test-utils/createTestConnection";
import { clearDatabase } from "../test-utils/clearDatabase";

var testConnection: knex;
beforeAll(async (done) => {
  console.log(process.env.JEST_WORKER_ID);
  const connection = await createTestConnection(process.env.JEST_WORKER_ID);
  testConnection = connection;
  done();
});

afterEach(async (done) => {
  await clearDatabase(testConnection);
  done();
});

afterAll((done) => {
  testConnection.destroy(() => {
    done();
  });
});

test("quick maffs", async done => {
  expect(1 + 1).toEqual(2);
  done();
});

0 and 1 is printed.
Expected behavior
1 and 2 to be printed.

Ok turns out I couldn't not reproduce because I was using CRA and react-scripts jest just is a bit behind ("23.6.0",). To reproduce just console.log(JEST_WORKER_ID) in any jest project.

Thanks for reporting, I'll take a look.

The way we instantiate workers now is different.
The original implementation assigned workers in a for loop and assigning id as i + 1.
https://github.com/facebook/jest/pull/5494/files#diff-61ba9f2c3304466545bec864a68f863d
Where as here we now have.
https://github.com/facebook/jest/blob/master/packages/jest-worker/src/base/BaseWorkerPool.ts#L41
I've tested this locally and this only occurs when the tests are ran in parallel.
Running tests in band correctly assigns the id to 1

Yes, I noticed that. This used to work (and still does for runInBand).
I first wanted to convert workerIds everywhere to 1-indexed, but that touches many places and is quite unintuitive. TBH I don't really understand why it was ever 1-indexed (especially given that the 0 is not used for in band runs as suggested in the original PR). I'll now just make process.env.JEST_WORKER_ID be workerId + 1 I guess.


Initial documentation

This PR brings first version of library documentation, ready to be processed by mkdoc.

Thanks, @mtymek! I have edited the content and published it at this time, and also added documentation build automation.


capitalization

Type of issue
Typo
Description
For this part:

Create your application
Using a terminal window, create a directory named classes.

I think classes should be capitalized
Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/tutorials/classes
Content source URL
https://github.com/dotnet/docs/blob/main/docs/csharp/fundamentals/tutorials/classes.md
Document Version Independent Id
823031fe-c8a4-69cd-2b1a-9faacd282aab
Article author
@BillWagner
Metadata

ID: 24c8353f-69e7-9068-9b18-df0198a1b122
Service: dotnet-csharp
Sub-service: fundamentals

Hi @chrisfargen
I've opened a PR to fix this issue.


panic: NewTemplate slice bounds out of range

https://github.com/AlexxIT/go2rtc/releases/tag/v1.6.0


WFLY-18688 Update JBeret to 2.1.3.Final

https://issues.redhat.com/browse/WFLY-18688

@bstansberry Yes sir! I have added the release note and updated the fix version accordingly:

https://issues.redhat.com/browse/WFLY-18688

Thanks @liweinan!


Issue in using enviournment variable - GITHUB_BASE_REF and GITHUB_HEAD_REF

Hi,
We are not able to use environment variable - GITHUB_BASE_REF and GITHUB_HEAD_REF in creating the slot command.
az webapp deployment slot create
We are using -slot along with GITHUB_BASE_REF or GITHUB_HEAD_REF. This is not passing blank value in slot name.
Can you check the issue?
Thanks,
Gaurav

https://gist.github.com/gbohra/c10ce7701e4fcdb2ac708a10727a870d

@gbohra : Is it resolved?

Hey @gbohra , thank you for reporting this issue. We have made a fix to access environment variables with prefix GITHUB_* while executing the script  in the release v1.0.2.
However, the user-defined environment variables will be still inaccessible. We are working on this.

This is resolved and deployed.
Closing this issue. Feel free to re-open for further queries.


merge package from arlac77/npm-package-template

package.json

chore(scripts): cover@#overwrite c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage
chore(engines<EMAIL_ADDRESS>chore(package): add xo from template
chore(package): add nyc from template
docs(package): remove keyword null
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/-test.js,tests/-test.mjs' as in template
chore(package): set $.ava.extensions='js,mjs' as in template

.travis.yml

chore(travis): remove node versions 10.13
chore(travis): add node versions 10.14

Codecov Report

Merging #574 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #574   +/-   ##
======================================
  Coverage    94.4%   94.4%
======================================
  Files           7       7
  Lines        1073    1073
======================================
  Hits         1013    1013
  Misses         60      60

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1fd1c16...39ff4bc. Read the comment docs.

Coverage remained the same at 93.103% when pulling 39ff4bc99ac979e740d7f3d4fa9a628680c4d543 on template-sync-1 into 1fd1c166bcf70c49ba20542432bc3904af302827 on master.


Language-specific guides request

Can we get a guide in .NET?

Thanks for requesting; let me close this as duplicate of https://github.com/docker/docker.github.io/issues/12249


Running tests with rendering fails

At the moment if we run tests without rendering, it fails:
self = PosixPath('/Users/aktech/.papyri/html/p/numpy/1.23.4/api/numpy.html'), name = '/Users/aktech/.papyri/html/p/numpy/1.23.4/api/numpy.html', flags = 16777216, mode = 438

    def _opener(self, name, flags, mode=0o666):
        # A stub for the opener argument to built-in open()
>       return self._accessor.open(self, flags, mode)
E       FileNotFoundError: [Errno 2] No such file or directory: '/Users/aktech/.papyri/html/p/numpy/1.23.4/api/numpy.html'

../../miniconda3/envs/papyri/lib/python3.9/pathlib.py:1120: FileNotFoundError

Thanks !
Right now this is because the test suite assume you have ran 'papyri render' to render al the possible pages ahead of time. We should likely render the page on the fly in the test.

You likely can pull HtmlRenderer from papyri/render.py and call the _route method with RefInfo(module="numpy", version="1.22.4", kind="api", path=None) or something like this.


enhancement of expiry shorcut buttons

@belljohan3 can you mark the selected button (first selected) so that the user will know his selection is active?


Implement communication via Unix domain sockets (UDS)

Depends on https://github.com/reactphp/socket-client/pull/41

This is actually ready, this very likely only requires some tests and documentation :+1:

Functionally, this has been ready for years, for example I've been using with via https://github.com/clue/php-buzz-react#unix-domain-sockets for https://github.com/clue/php-docker-react, but I've never been quite happy with this API.
The question remains: How (whether?) should this be exposed to the API of this project. This project is designed around the concept of URLs for sending HTTP requests either via plaintext TCP/IP or secure TLS sockets. For UDS, we essentially need to do the same thing, but only over UDS sockets.
Docker for example has a single listening socket under unix:///var/run/docker.sock by default. You can send normal HTTP requests to this socket and request information by sending a request such as this:
GET /info HTTP/1.1
Host: localhost

If we were to expose this functionality through our API, what URL should be passed here? Also, do we really want any outside location to be able to redirect to such an URL? Hint: We probably do not want this. Also, should we assume localhost for the Host header here?
As such, it's my understanding that UDS should probably not be enabled by default unless explicitly configured. Instead of breaking the existing API I would suggest using some kind of hostname-to-UDS-mapping so that the HTTP API does not really notice this at all. For example, this would allow the consumer of this package to explicitly map docker.localhost:8888 to unix:///var/run/docker.sock so that the URL http://docker.localhost:8888/info would send the above request with a Host: docker.localhost:8888 header in this case.
What do you think? Any input would be much appreciated! :+1:

libcurl now has a CURLOPT_UNIX_SOCKET_PATH option that can be used to explicitly use a Unix domain socket (UDS) path: https://curl.haxx.se/libcurl/c/CURLOPT_UNIX_SOCKET_PATH.html
Similarly, the curl binary now accepts a --unix-socket option: https://superuser.com/questions/834307/can-curl-send-requests-to-sockets
The php-http/socket-client package a remote_socket option which allows to set a UDS path: http://docs.php-http.org/en/latest/clients/socket-client.html#usage

They all share that UDS support has to be configured explicitly and is not enabled by default. The all also only support a single path, which means that once configured, every request will be sent to the given UDS path.
I think a similar approach would work fine here. As such, I've just filed https://github.com/reactphp/socket/pull/117 which would allow creating an explicit connector instance which can be passed to the Client so that the existing API remains entirely unchanged. Once this PR is in, we only need to update the dependency and add some documentation here :shipit:


Apply fixes from StyleCI

This pull request applies code style fixes from an analysis carried out by StyleCI.

For more information, click here.

Codecov Report

Merging #1 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##             master   #1   +/-   ##
=====================================
  Coverage         0%   0%
  Complexity        8    8
=====================================
  Files             1    1
  Lines            42   42
=====================================
  Misses           42   42

Impacted Files
Coverage Δ
Complexity Δ

src/AmoCrmApiServiceProvider.php
0% <ø> (ø)
8 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e6122ce...93512fd. Read the comment docs.


Add ability to also log to disk

We can use app.getPath('logs') to get the path to the logs directory.
The person that implements this should do some research on how other log solutions do it. Regarding max size, log rotation, etc.

Other logging implementations
Just some references to some logging implementations I found from other languages.

Python:

https://docs.python.org/3.6/library/logging.handlers.html#rotatingfilehandler
https://tutorialedge.net/python/python-logging-best-practices/

Golang:

https://github.com/natefinch/lumberjack -> The standard log package doesn't have log rotation

Swift:

https://docs.swiftybeaver.com/article/10-log-to-file

C++:

(Boost lib): boost-log.sourceforge.net
(spdlog): https://github.com/gabime/spdlog

I didn't find anything wildly consistent between them all - just about the only thing that had really solid standards was system logging for Linux systems, but that's not cross-platform and can be quite intensive.

Here's some more resources I've found (from https://github.com/emaloney/CleanroomLogger):

https://rawgit.com/emaloney/CleanroomLogger/master/Documentation/API/Classes/RotatingLogFileConfiguration.html
https://rawgit.com/emaloney/CleanroomLogger/master/Documentation/API/Classes/FileLogRecorder.html

Electron-log's log rotate issue implemented, direct alternative in Electron ecosystem.
minilog seem quite low activity.
I like the Approach is to pipe to File (and all other WritableStreams)
require('minilog').pipe(fs.createWriteStream('./temp.log'));

I would take a look at winston, which is a very capable, tested and stable logger for Node.js. Some points to consider from this package:

Defining transports, each one managing its own logging features. This way, we could refactor all the native console in its own transport, and the all the file-related in another different one. Also, each transport could implement different methods for main/renderer processes, contributing to #16
Allowing custom log levels: I want to define verbose and debug. Currently only error/warn/info are considered, and there is no way to add new custom levels.

Also, from my own needs, I've check that instantiating a custom logger only create it for main process. I use electron-timber in a custom package of mine, and I would like to instantiate that logger only once (maybe keeping a static reference to it and returning it if that name already exists in the static map) and prefix the messages like custom logger [main] > / custom logger [renderer]. This way, we could get the complete trace not only from the app, but all the other NPM packages used, and they could be disabled with the ignore option.
I think this approach provides greater flexibility, customization and maintenace while keeping the project small enough.
Let me know what you think about this. I'm currently working on #18 (refactor PR) of this package, and I'm going to start working on these features soon.


hey i want to update website link on it

hey i want to update website link on it
Originally posted by @prashantcrypto in https://github.com/solana-labs/token-list/issues/18472#issuecomment-1046763928

merged


Cast error

Getting an error when trying to add connection with this driver:
LINQPad - Error
An eror has occurred:
System.InvalidCastException
Unable to cast object of type "SwaggerContext Driver. DynamicDriver' to type
"LINQPad.Extensibility. DataContext. DataContext Driver'.

Using Linqpad 5.26.01
.NET Framework 4.7

Can you give me a link to or json used when adding connection?

This happens when I click on 'Add connection'. So I was not able to choose
any json file yet.
On Dec 19, 2017 7:26 PM, "seba"<EMAIL_ADDRESS>wrote:

Can you give me a link to or json used when adding connection?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/seba76/SwaggerContextDriver/issues/1#issuecomment-352844780,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHrORZ0uSJy-YmiXrJMvQjSfqtX9mAdAks5tB__QgaJpZM4RGm6E
.

That is just weird. Can you check content of following folder:
c:\Users<YourUser>\AppData\Local\LINQPad\Drivers\DataContext\4.6\SwaggerContextDriver (no-strong-name)
It should have following files:
Connection.png
DotLiquid.dll
FailedConnection.png
header.xml
Newtonsoft.Json.dll
NJsonSchema.dll
NJsonSchema.CodeGeneration.dll
NJsonSchema.CodeGeneration.CSharp.dll
NSwag.CodeGeneration.dll
NSwag.CodeGeneration.CSharp.dll
NSwag.Core.dll
SwaggerContextDriver.dll
SwaggerContextDriver.pdb
Only thing that comes to mind is that some of the files are missing. DinamicDriver class is derived from DynamicDataContextDriver class from LinqPad exe which in turn is derived from DataContextDriver so cast must be valid.

I have re-downloaded the driver and now it seems to work OK.
Closing.


Close all notifications

This is more of a feature request. It would be cool if we had a setting for closing a notification where closing one would close all of them.
For example if I output 7 notifications that do not have a timer on them, and I want to close all notifications at the same time. I display an 8th notification that has text of "Click here to close all" and the setting for closing all notifications.
Or maybe create a setting where you can pass in an action for after closing a notification.
Thoughts?

I was able to achieve this using the following:
this.notifications.info('Click here to close all errors', {
	autoClear: false,
	onClick: () => {
		this.notifications.clearAll();
	}
});

However, clearAll does not trigger the close animations on any of the notifications.


ENOENT: no such file or directory, open 'D:\dev\stdin'

Filename:
fs.js:549
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open 'D:\dev\stdin'
    at Error (native)
    at Object.fs.openSync (fs.js:549:18)
    at Object.prompt (D:\web\resourcerefresher\node_modules\prompt-sync\index.js:37:15)
    at Object.prompt.question (D:\web\resourcerefresher\refresh.js:15:15)
    at getFiles (D:\web\resourcerefresher\refresh.js:25:23)
    at ReadStream.<anonymous> (D:\web\resourcerefresher\refresh.js:7:31)
    at emitOne (events.js:77:13)
    at ReadStream.emit (events.js:169:7)
    at readableAddChunk (_stream_readable.js:146:16)
    at ReadStream.Readable.push (_stream_readable.js:110:10)

Seems to be lacking any windows support.

The latest version published to npm ('3.0.0': '2015-09-01T14:06:16.971Z') doesn't contain this change: https://github.com/0x00A/prompt-sync/commit/9d12c79b62cd2aa65a81bd913f3f8ea3a4f93c9a

just published +<EMAIL_ADDRESS>to github.

Thanks, confirming the new version fixes the react-project issue.

fixed


Transaction sector vocabulary disappears when value should be "99"

Describe the bug
Output is missing transaction_sector_vocabulary when value is "99"
To Reproduce
Steps to reproduce the behavior:

Go to https://iati.cloud/search/transaction?q=(iati_identifier:"XM-DAC-41146-UGA_O_4.2")&fl=transaction_sector_*&wt=xml&rows=5000000
Observe 3 transaction sector codes with only 2 transaction sector vocabularies.

Expected behavior
The last vocabulary is meant to be "99."

Due to fixes some need to be fixed as well.

@luminhan when I run this query on live and test I can't see the transaction details?

@amy-silcock Here is their source-xml file. I can't find any transaction-sector in XM-DAC-41146-UGA_O_4.2. I see that they have updated their data on 2020-08-01. Maybe they that's why.

Thanks Lu Min! I can see the vocab 99. @akmiller01 will also have a look over :)


Remove consumer rejoin to the group's synchronized lock

First, the purpose of the heart-beat thread's maybeLeave is to help "fail-fast", so we do our bust not to block it. And if the consumer thread release lock, and heart-beat thread modifies generation may make it rejoin again, so I think don't nessary to add the synchronized.

Secondly, compare state can help rejoin "fail-fast", delaying take it to get the newly value is better.

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Thanks for the interesting PR @haodanchen. If we focus on point number 1, the main point that you are trying to make is that even though the generationsnapshot is received in the synchronized block, by the time we check for generation reset in hasGenerationReset, there's a chance that the heartbeat thread might clear it. So, the snapshot might already be stale in some sense. I don't have too much expertise on this part of the code, but going by just that logic, it seems like a fair point. @showuon , I see you have written hasGenerationReset method, so your expertise would help for sure.
On a side note, I am also thinking , should we look to use AtomicReference for the generation object instead of synchronized? WDYBT?