Simplify handling services in ingress

What does this PR do?
Removes unnecessary code when handling ingresses. closes #5322
Motivation

I was not able to expose apiserver, because it's endpoint was pointing to the local host
More

[ ] Added/updated tests
[ ] Added/updated documentation

Additional Notes
As discussed in the issue, probably other solution should be applied.

Unfortunately, we cannot resort to Services directly for routing purposes for reasons outlined at https://github.com/containous/traefik/issues/5322#issuecomment-529246628.

Once again thx for extensive clarification.


[github] Category Order by parent_id rather than level

There is some issues I found with the reliability of the column "level" in Magento 1.9.4
After doing a test import I got a lot of errors for "Entity: category, sourceId: -
Parent entity for "category: 47" child not found." for categories and then products for those categories didn't import.
The issue is that the column level for some categories was the same for the parent and child category and if the child category was imported first you got this error.
So instead, I have ordered by the parent_id so the child category is imported after the parent to avoid this error.

[public] Shopware automated response: This issue is linked to the internal issue: MIG-767
[created from MIG-767, comment 497209]


JavaScript optional chaining operator “?.” causes syntax highlighting to mess up

I noticed twice now that whenever I use the optional chaining operator, the syntax highlighting turns all the JS code (inside a script tag) blue. It eventually fixes itself after a bunch more lines of code, but I’m not sure what exactly causes it to fix itself. Attached is a screenshot of where the messed up syntax highlighting starts after using ?.

Gave it a look but no luck tmLanguage files are like fine art, still considering a switch to tree sitter colouring

This potentially might be fix.
This is very lightly tested.
I found that adding ":" next to the use of the ?. operator fixed the parsing which lead me to looking at the ternary parser.
These are changes to the syntaxes/cfml.tmLanguage.json file

Testing:
Before:

After:

I can push a PR with the change

Negative look ahead? Looks good. Yes please submit a PR

@burncitiesburn trouble with the PR ? I can push this change if you're unable to

Fixed in v0.6.30


Not working after gradle updated to 8.0.0

String obfuscate not working after I updated my studio to flamingo, So please update the lib according to it.

Same here. Is there any solution?

same here - there doesn't appear to be a solution

this library is not maintained anymore

does not work on gradle plugin 8.2.2
Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin 'io.michaelrocks.paranoid'.
Caused by: com.android.builder.errors.EvalIssueException: API 'android.registerTransform' is removed.

Use lsposed/lsparanoid

Thanks a lot @giacomoferretti


Non-Critical question  / error report?   "Operation not supported    os error 45" on

Dear Kornelski:
Thanks so much for sharing your fine utility,  I find it extremely useful.
I'm pretty sure that my issue is MACOS related, and have spent the last two weeks trying to figure out why.
Please spend no time on this, I just hoped that you might have a quick thought.  I know the folder structure is mighty deep.
Out of tens of thousands of files, I get an occasional spate of this error...Operation not supported (os error 45)
It appears that the OS is reporting a problem hard linking with what appears to be a temporary file used by Dupe-Krill
(Congratulations on the XKCD reference BTW...)  XKCD-221 - about random numbers.
unable to hardlink
/Volumes/M-Backup/RunningBackup 01-01-2022/Documents/Classified/Personal/Farm/Realtor - Paperwork/Signed by Andrew/Scans From Andrew/Light/Disclosure Statement_ Seller's Disclosure Alternatives -  Strandjord.pdf
/Volumes/M-Backup/RunningBackup 01-01-2022/Documents/Classified/Personal/Farm/Realtor - Paperwork/Scans From Andrew/Light/.tmp-dupe-e1iIQcBFn5pC4MUSm-xkcd-221 due to Operation not supported (os error 45)
/Volumes/M-Backup/RunningBackup 01-01-2022/Documents/Classified/Personal/Farm/Realtor - Paperwork/Scans From Andrew/Light/Disclosure Statement_ Seller's Disclosure Alternatives -  Strandjord.pdf: Operation not supported (os error 45)
What I have.
MacOS 10.14.6, Dupe_Krill  1.4.5 (Jan 3 and previous versions).   EXFAT on external SSD.
I have a duplicate branch of "Scans from Andrew/Light"  in folder "Signed by Andrew" and, in the parent folder of both "Realtor - Paperwork/".

EXFAT

That's probably the cause. I don't think FAT supports hardlinks at all.

  DUH!
I have closed my question on Github.
I had wondered how Apple was able to “fake” hard links on EXFAT, and the answer that IT CAN’T really helps!!!
Not a whole lot on MAC and EXFAT on the google either….
The use of Dupe-Krill makes it really easy to get “point in time” snapshots of my entire drive’s folder structure and data, while using only two source drives worth of space.
(Rysnc to a master folder with today’s date.  Later, make a new folder with a new date,  rsync to that one,   Then Dupe-Krill.  Repeat often.
Thank you for making the utility available.
Eric.

On Jan 9, 2022, at 6:43 AM, Kornel @.***> wrote:
EXFAT
That's probably the cause. I don't think FAT supports hardlinks at all.
—
Reply to this email directly, view it on GitHub https://github.com/kornelski/dupe-krill/issues/14#issuecomment-1008290678, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS25NSBWWA5ONOWERWWVRUDUVF7GLANCNFSM5LQEPO7A.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.

  DUH!
I had wondered how Apple was able to “fake” hard links on EXFAT, and the answer that IT CAN’T really helps!!!
Not a whole lot on MAC and EXFAT on the google either….
The use of Dupe-Krill makes it really easy to get “point in time” snapshots of my entire drive’s folder structure, while using only one source drives worth of space.
(Rysnc to a master folder with today’s date.  Later, make a new folder with a new date,  rsync to that one,   Then Dupe-Krill.  Repeat often.
Thank you for making the utility available.
Eric.

On Jan 9, 2022, at 6:43 AM, Kornel @.***> wrote:
EXFAT
That's probably the cause. I don't think FAT supports hardlinks at all.
—
Reply to this email directly, view it on GitHub https://github.com/kornelski/dupe-krill/issues/14#issuecomment-1008290678, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS25NSBWWA5ONOWERWWVRUDUVF7GLANCNFSM5LQEPO7A.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.


Glyphs deletes UFO data on save

A design team found that the hinting code in UFO/data/ containing ttx dumps and saved as a custom parameter I think is tossed by Glyphs on saving. Investigate.

do you have some sample data?

Here: test.zip
TSI3 gets lost in 2.4.4, but it doesn't happen in 2.5.1.

The current version is keeping all the data. There are two issues in the file. It uses CRLF line endings and has some empty background entries. Glyphs is omitting them.

Closing for now as a possible Hex/Base64 encoding issue that seems to have been resolved.


cmd/gc: lost many comments during c2go translation

Many comments have been lost. For example, compare the Node type just prior to merge:
https://github.com/golang/go/blob/bceb18e4989aee4971fa1de6bb9f5ba7410d5219/src/cmd/gc/go.h#L247
After merge:
https://github.com/golang/go/blob/master/src/cmd/internal/gc/go.go#L148
It's not just types. For example, there are missing const/enum comments in swt.go:
Before: https://github.com/golang/go/blob/bceb18e4989aee4971fa1de6bb9f5ba7410d5219/src/cmd/gc/swt.c#L16
After: https://github.com/golang/go/blob/master/src/cmd/internal/gc/swt.go#L17
@rsc

Another example, which I tried to point out in the review.
Before: https://github.com/golang/go/blob/8c195bdf120ea86ddda42df89df7bfba80afdf10/src/cmd/gc/typecheck.c#L496
After: https://github.com/golang/go/blob/b59dd94f331677d28250b51729d5bc888fe4cef0/src/cmd/internal/gc/typecheck.go#L496

Fixed by https://go-review.googlesource.com/#/c/6899/


Downgrade elasticsearch-py version due to incompatibility issues

Signed-off-by: Raul Sevilla<EMAIL_ADDRESS>Description
It seems like elasticsearch-py is not supporting anymore ES "forks" like the AWS one starting from the version 7.14
Some context:
https://github.com/elastic/elasticsearch-py/blob/master/docs/guide/release-notes.asciidoc#7140-2021-08-02
https://github.com/elastic/elasticsearch-py/issues/1639#issuecomment-883319286
Fixes
Fixes ES indexing in all workloads
>>><EMAIL_ADDRESS>>>> es.ping()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.6/site-packages/elasticsearch/client/utils.py", line 168, in _wrapped
    return func(*args, params=params, headers=headers, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/elasticsearch/client/__init__.py", line 282, in ping
    "HEAD", "/", params=params, headers=headers
  File "/usr/local/lib/python3.6/site-packages/elasticsearch/transport.py", line 413, in perform_request
    _ProductChecker.raise_error(self._verified_elasticsearch)
  File "/usr/local/lib/python3.6/site-packages/elasticsearch/transport.py", line 630, in raise_error
    raise UnsupportedProductError(message)
elasticsearch.exceptions.UnsupportedProductError: The client noticed that the server is not a supported distribution of Elasticsearch

!!!  Couldn't read commit file !!!


[WebToolsE2E][Aspire] When running the Aspire Starter application using https and clicking the endpoint localhost:xxxx, the launch URL of the apiservice is localhost:xxxx instead of https://localhost:xxxx.

INSTALL STEPS

Clean machine: Win11 x64 23h2 ENU

Install VS 17.10 Preview 3 FB

Web Workload
Includes Aspire 8.0.0-preview.5.24201.12
Includes SDK 8.0.300-preview.24203.14 and runtime 8.0.2
Apply the "dotnet-tools" feed for Aspire 8.0 P5

REPRO STEPS

New Project > .NET Aspire Starter Application > .NET 8.0

Build the solution and run with https

On the Dashboard, open the apiservice endpoint "http://localhost:xxxx/weatherforecast"

ACTUAL
The launch URL is localhost:xxxx not https://localhost:xxxx

Note:

Doesn't repro with the webfrontend project of .NET Aspire Starter Application
Doesn't repro with ASP.NET Core Web API template

EXPECTED
The launch URL is always https://localhost:xxxx when run with https

@v-elenafeng I believe this is the issue you're calling out - if you try to navigate to http://localhost:xxxx/weatherforecast, it doesn't automatically re-direct you to the corresponding https address https://localhost:xxxx/weatherforecast. I believe this is the same behavior in other ASP.NET Core API or web apps without aspire too. Can you confirm?
Note: I believe if you navigate to the root of the apiservice http://localhost:xxxx, then it will re-direct successfully to https://localhost:xxxx.

@DamianEdwards @davidfowl does this need to be fixed in the template for Preview 6?

I think so yeah

During security review it was remarked by @blowdart that the API project shouldn't have HTTPS redirect enabled, but indeed the usual API templates do have it. I'm OK with adding it to the API project in the Aspire Starter template unless there's a forcing security related reason to exclude it.

The reason why I don't want redirection in API projects is that API projects should only listen on HTTPs - if an authenticated HTTP request is made, it's too late to redirect at that point, the token may have been captured. (That old attack on twitter via open wifi networks was like this).
Yes, it's unlikely but sending auth over http is forbidden by our standards.
The right fix, in my eyes, would be to remove it from the normal templates 😈

That would break on linux automatically. That's outside of the scope of aspire at this point. If we want to make a change like that, we should discuss making it to asp.net core in general and we should deal with the fallout.

It doesn't seem like any change here is within scope for Aspire GA at this point. Move this to 8.1?

Moving out of 8.1 as I don't think there's anything actionable in Aspire here still.


/tmp/smarts directory owner cause other user to run smarts error

there are multi user in one machine, they all want to run smarts with python agent.py scenario_path
but after one user success run smarts, the other one run will meet below problem:
Traceback (most recent call last):
  File "/usr/share/sumo/tools/traci/main.py", line 115, in connect
    conn = Connection(host, port, proc)
  File "/usr/share/sumo/tools/traci/connection.py", line 51, in __init__
    self._socket.connect((host, port))
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/zhengang/828_release_smarts_virtual_map/share/object_model/config/smarts_config/agents/rl_single_agent_client0.py", line 134, in <module>
    seed=args.seed,
  File "agents/rl_single_agent_client0.py", line 113, in main
    observations = env.reset()
  File "SMARTS/smarts/env/hiway_env.py", line 179, in reset
    env_observations = self._smarts.reset(scenario)
  File "SMARTS/smarts/core/smarts.py", line 270, in reset
    self.setup(scenario)
  File "SMARTS/smarts/core/smarts.py", line 318, in setup
    provider_state = self._setup_providers(self._scenario)
  File "SMARTS/smarts/core/smarts.py", line 600, in _setup_providers
    provider_state.merge(provider.setup(scenario))
  File "SMARTS/smarts/core/sumo_traffic_simulation.py", line 231, in setup
    self._initialize_traci_conn()
  File "SMARTS/smarts/core/sumo_traffic_simulation.py", line 142, in _initialize_traci_conn
    waitBetweenRetries=0.5,
  File "/usr/share/sumo/tools/traci/main.py", line 121, in connect
    raise TraCIException("TraCI server already finished")
traci.exceptions.TraCIException: TraCI server already finished

then I find that
/tmp | grep smarts

the path /tmp/smarts belong to the first smarts run user, when chown -R   {other_user} /tmp/smarts and chgrp -R   {other_user} /tmp/smarts , the specify other user could run smarts success, the first user will meet same probllem.

change the all log_dir path to the current user home directory

@charleschen6 Thanks for reporting this.
@Gamenot This could be a problem if researchers are sharing a machine.

We should make use of mkdtemp() here

We should make use of mkdtemp() here

Good point.


Npmjs.org and GitHub 2.3.0 release packages checksum differs

Npmjs.org and GitHub 2.3.0 release packages checksum differs.
Our firewall virus scanner started flagging for https://registry.npmjs.org/clipboardy/-/clipboardy-2.3.0.tgz  clipboard_i686.exe on May 31th:

Checked the checksum:
$ wget -O github_clipboardy-2.3.0.tgz https://github.com/sindresorhus/clipboardy/archive/refs/tags/v2.3.0.tar.gz
$ wget -O npmjsorg_clipboardy-2.3.0.tgz https://registry.npmjs.org/clipboardy/-/clipboardy-2.3.0.tgz
$ sha256sum npmjsorg_clipboardy-2.3.0.tgz
9e80e29dabb1ee5690905227970d3e3be4cf6330b542cc0571e4cd1a2bf279f4  npmjsorg_clipboardy-2.3.0.tgz
$ sha256sum github_clipboardy-2.3.0.tgz
4712cf7cfaa04ac65d1e0529ea0e67a02de210ffdbfe01af39390c18cd882aab  github_clipboardy-2.3.0.tgz

The archive between npm and GitHub is not guaranteed to match. They don't use the exact same archive.

As for the virus alert. That is a false-positive. You will have to report that to your anti-virus vendor.


通过compile "com.facebook.react:react-native:0+"获取到的是react-native-0.20.1，为什么获取不到你们最新的版本（react-native DirectX）？

1、通过compile "com.facebook.react:react-native:0+"获取到的是react-native-0.20.1，为什么获取不到你们最新的版本（react-native DirectX）？

react-native only publish on npm, so you can reference newest library in node_modules, like this:
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.3.1'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        mavenLocal()
        jcenter()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$projectDir/../../node_modules/react-native/android"
        }
    }
}

And please ask question on StackOverflow.

@cpunion
我的配置如下：
`buildscript {
repositories {
jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:2.1.2'
}

}
allprojects {
repositories {
jcenter()
mavenLocal()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$projectDir/../../node_modules/react-native/android"
}
}
}`

I created a project and compile with below steps:
react-native init TestVer
cd TestVer/android
./gradlew assembleDebug

Then run find . -iname "*.jar" | grep react-native, the output is:
./app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.27.2/jars/classes.jar
./app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.27.2/jars/libs/infer-annotations-1.5.jar

It's the newest react-native libraries.
You can generate a new project, and check what is different.

@cpunion I wonder weather you can speak Chinese or not. If you can, why do you answer the question in English.

@cpunion thanks for helping others any way, good job

@cpunion
compile "com.facebook.react:react-native:0.27.2"

@cpunion  @MingLanCheng
create a react project:
react-native init AwesomeProject
cd AwesomeProject
react-native run-android

Log The following：

@github-lisong
你设置了自己的包依赖库是吧，不是官方的这库。你的库地址
http://jcenter.bintray.com/com/facebook/react/react-native/
最新的版本就是给你下载的0.20.1，没有更新到官方最新的版本，所以你怎么下也都是这个版。
个人猜测原因在这里

你们两个的配置文件有点区别，他的搜索本身仓库在先，你的网络下载在先。

他的机子安装有官方最新版，而你的老去那个没有更新的地址下载老版。
以下是网上找到的更新本地RN的方法，希望有所帮助：
http://blog.csdn.net/wagnteng/article/details/50549869
建议修改配置文件如他那样，搜索本地仓库在前，更新本地版本。

@MingLanCheng
非常感谢你！
你提供的思路，我都尝试过。
http://blog.csdn.net/wagnteng/article/details/50549869这文章，我之前已看到过，并且按他的思路去做，然而，我还是没有更新到最新的库。

这种问题跑这来开 issue 合适吗？

If you think you have to create an issue to solve the problem, please try to describe it in English so that the others can help you and will help the others who come into the same problem
I've noticed that you also created another issue, beware that here is not QQ group or bbs,
be helpful please, try to find answer on StackOverflow

@facebook-github-bot stack-overflow

Hey @github-lisong and thanks for posting this! @charpeni tells me this issue looks like a question that would be best asked on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only. Will close this as this is really a question that should be asked on SO.

@nihgwu
你好，我这这里提问题，碍着你嘛事了？合不合适，你算老几，我都懒得理你，FUCK！

@github-lisong shame of you

@charpeni so the ISSUE_TEMPLATE is useless for those guys 😂

@nihgwu It sounds like.

你们这帮喜欢装逼的货，我无语死了，只会欺负国人，也没见你们有什么大的能耐，还不是一天用着老外的东西，有能耐得用在刀刃上，呵呵。

@github-lisong 别张口骂人行吗，二逼。我一个一个问题回答你
1，你提个问题在这里，并没有得罪我们什么，就是觉得丢脸
2，有疑问在这里提本身并没有什么大错，但是谦虚谨慎一点不好吗？别人善意提醒你一下看一下issue template，你看你自己什么态度？
3，我们不喜欢装逼，不欺负国人，别为你自己的傻逼行为开脱行吗？
4，至于最后一句话，我都懒着跟你扯扯，还呵呵？我呵呵你一脸。

卧槽，我怎么在github上玩出了百度贴吧的感觉？

https://github.com/zhongjie-chen/rn_rank 来波福利

Well..


Invalid Solution

The zelcashd looses its connections with following errors:

2018-03-04 21:58:27 initial getheaders (1367) to peer=3 (startheight:24956)
2018-03-04 21:58:27 sending: getheaders (741 bytes) peer=3
2018-03-04 21:58:28 received: headers (238081 bytes) peer=3
2018-03-04 21:58:28 Invalid solution: invalid collision length between StepRows
2018-03-04 21:58:28 X[i]   = 0effd40c45c6091e0a0b1bbc03da7703ce780f97b00954890d9d8e018b8c
2018-03-04 21:58:28 X[i+1] = 0e09ad07853d06dafc003b9d0766470bea100104ef0f3ff60f9fa803ef72
2018-03-04 21:58:28 ERROR: CheckEquihashSolution(): invalid solution
2018-03-04 21:58:28 ERROR: CheckBlockHeader(): Equihash solution invalid
2018-03-04 21:58:28 Misbehaving: <IP_ADDRESS>:16125 (0 -> 100) BAN THRESHOLD EXCEEDED
2018-03-04 21:58:28 ERROR: invalid header received
2018-03-04 21:58:28 ProcessMessages(headers, 238081 bytes) FAILED peer=3
2018-03-04 21:58:28 disconnecting peer=3

It eventually passes this invalid solution and syncs. Pool operators have reported the same issue at newly found blocks and their node needs to be restarted in order to run (pool to mine) correctly

not observed in 2.0.0. Fixed


drive: Queries per 100 seconds per user

Just a question, what is it for the rclone project? It defaults to 1,000 requests/100s per user, so 10 requests per sec.
Currently minSleep in the drive implementation is set to 10 ms which implies that the quota for users is 10,000/100s (10x as many as a fresh project has). Is that correct or could it be why so many people are hit with soft bans for exceeding user quota?

So if this theory is correct it would be trivial to increase minSleep to 100ms and never get rate limited on a user basis. I'll be testing this over the weekend.

So it could be that @ncw has requested a rate increase for QPS hence the lower minSleep = 10 but for people using there own client id then this is too high and could be why people are getting API bans rather than download bans on syncing.
I've requested a rate increase on my own ID to see if it gets applied as this could be an alternate solution.
We could introduce a check to see if rclone config is using own client id and then change to the higher minSleep = 100

If I look at my project ID quotas.  For the past 30 days the highest I had was 365 queries per 100 seconds.

I have been increased to 100QPS.
i've increased your per-user limit to 100 to match your global QPS. This will help with read operations. Kindly update your user-limit to the update value to make sure it reflects on your project.

There is also a hard limit for write operations (create, update, delete) that is lower than your allowed QPS. And the hard limit for operations is something that cannot be lifted. If you haven't done so already, please consider implementing exponential backoff for error retries.

Queries per 100 seconds per user	10,000
Queries per 100 seconds	10,000

I've not no errors based on that.
rlcone size gcd-crypt: --checkers=40 -v
Total objects: 7414
Total size: 16645.706 GBytes<PHONE_NUMBER>2742 Bytes)
2017/05/05 14:54:32 Go routines at exit 202
real	0m23.627s
user	0m2.016s
sys	0m0.424s
3 low level retry errors
rlcone size gcd-crypt: --checkers=99 -v
Total objects: 7414
Total size: 16645.706 GBytes<PHONE_NUMBER>2742 Bytes)
2017/05/05 14:57:40 Go routines at exit 202
real	0m21.005s
user	0m2.008s
sys	0m0.504s

You mind telling me what you told them to get it increased?  I'd like to test it.

@azgul  wrote:

Just a question, what is it for the rclone project? It defaults to 1,000 requests/100s per user, so 10 requests per sec.

That is a long term average, but yes that is correct.
Rclone is set to Queries per 100 seconds per user	1,000 so 10 per second as you said.

Currently minSleep in the drive implementation is set to 10 ms which implies that the quota for users is 10,000/100s (10x as many as a fresh project has). Is that correct or could it be why so many people are hit with soft bans for exceeding user quota?

It is a possibility.  I set the quotas based on people doing file transfers which use less transactions per second.  The theory being you need a burst during the directory comparisons then not a lot during the actual file transfers.

So if this theory is correct it would be trivial to increase minSleep to 100ms and never get rate limited on a user basis. I'll be testing this over the weekend.

Worth a try!
@jaketame wrote

So it could be that @ncw has requested a rate increase for QPS hence the lower minSleep = 10 but for people using there own client id then this is too high and could be why people are getting API bans rather than download bans on syncing.

rclone has 1200 QPS now I think.  It is quite easy to get them to raise the limit to 100 QPS, above that it harder!

Tested it with minSleep 100ms and I got download quota ban after around 12h of having it mounted. I guess due to the uncached nature of rclone that hits the drive API in a manner that wouldn't happen if it was cached. Since it wasn't visible in the API dashboard, it must be because whatever accessed the files must have used the download url to get file information.
So in other words: didn't get API quota ban, but download quota ban.


Analogbd example

manually merged the examples.json, but it's just going to get regenerated ten more times before I'm done with these merges anyway..

manually merged the examples.json, but it's just going to get regenerated ten more times before I'm done with these merges anyway..


OCM-10677 | feat: Adding extra validation to verify user is logged in

Adding more fields to OCM-10677

/cherrypick release_1.2.48


Satisfy ci/jenkins/bin/clang-format.sh

This has changes from make autopep8 and dos2unix.

Marking this for 9.1.x since the PR that this applies formatting to is marked for 9.1.x:
https://github.com/apache/trafficserver/pull/7911

Cherry-picked to v9.1.x branch.


rustfmt does not respect brace_style when formatting imports

With:
hard_tabs = true
braces_style = "AlwaysNextLine"
control_brace_style = "AlwaysNextLine"
group_imports = "StdExternalCrate"
imports_granularity = "One"
imports_indent = "Block"
imports_layout = "Vertical"
indent_style = "Block"
newline_style = "Unix"
trailing_comma = "Vertical"

Current output:
use {
	colored::{
		ColoredString,
		Colorize,
	},
	std::{
		cmp::Ordering,
		fmt::{
			Display,
			Formatter,
		},
		io::{
			Read,
			Write,
		},
		ops::{
			ControlFlow,
			RangeInclusive,
		},
		result::Result,
	},
};

Expected output:
use
{
	colored::
	{
		ColoredString,
		Colorize,
	},
	std::
	{
		cmp::Ordering,
		fmt::
		{
			Display,
			Formatter,
		},
		io::
		{
			Read,
			Write,
		},
		ops::
		{
			ControlFlow,
			RangeInclusive,
		},
		result::Result,
	},
};

Probably controversial, but having braces on the same line makes 0 sense with "AlwaysNextLine"

Is this a feature request?
I don't think the brace_style config option was intended to be used with imports. The  docs only give examples for functions, enums, and structs.


Update dependency 'opn' to 'open'

As stated in https://www.npmjs.com/package/opn, the opn package is deprecated and should be replaced with 'open'.
This PR replaces and updates the dependency.

currently dont have the time to follow up, sorry


China's population has multiple numbers

When I scroll to China and while I am inside China's box, it shows a lot of different numbers of population when there should only be one number referring to China's population.
Screen Recording:
(URL : https://www.dropbox.com/s/bsty0kfhu9l8qrr/20210111_133818~2.mp4?dl=0)
This issue in depicted in the video from 0:09 to the end.
Sorry for the multiple issue creations. At first I wrote this issue in the same together with #47 but as they are not refered to the same problem I thought it was better to separate them.
I have experimented a lot with your app and I'm also trying to contribute with the grid layout for one of previous comments and I came up with this issue as well as #47 . Hope these help to make some improvement !

@cmilousi always happy to have contributions to the project.
on the multiple numbers issue, i think, it would be a good idea to highlight the selected item in the sample. from the screen record, what i can make out is that as you move the fast scroller the adapter moves the selected item too.

@cmilousi always happy to have contributions to the project.
on the multiple numbers issue, i think, it would be a good idea to highlight the selected item in the sample. from the screen record, what i can make out is that as you move the fast scroller the adapter moves the selected item too.

i think we should first update the example and highlight the selected element, use the callbacks provided here

i think we should first update the example and highlight the selected element, use the callbacks provided here

@shahsurajk to be more specific at 0:14 you can see that as I scroll but still remain in China the population goes from
1.3B -> 1.0B -> 278.4M -> 237.6M -> 170.1M -> 156.5M -> 146.9M -> 129.2M -> 126.7M and at 111.5M it switches to India.
Also , sorry I didnt quite catch where should I use these callbacks?

@shahsurajk to be more specific at 0:14 you can see that as I scroll but still remain in China the population goes from
1.3B -> 1.0B -> 278.4M -> 237.6M -> 170.1M -> 156.5M -> 146.9M -> 129.2M -> 126.7M and at 111.5M it switches to India.
Also , sorry I didnt quite catch where should I use these callbacks?


No logs after updating to 0.1.dev5

After updating to 0.1.dev5 no logs are being written to debug.log

config folder changed from .sparecoin to .spare-coin. Check if your .spare-coin/mainnet/config/config.yaml has log_level to INFO

please check .spare-blockchain , we moved our config files to new location

@root-spare thanks!


fix: radix config name

:tada: This PR is included in version 1.0.30 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Make artillery frustum culling work vertically

UE's LODCollector trait has a bug where it only calculates frustum on left and right of screen but not top and bottom. Our ScreensizeLODCollector trait fixes this. We should migrate to this trait in DA_MassArtilleryBase and update the VisibleLODDistance values in the visualization trait so they're appropriate. We don't have an ISM yet for artillery so it can always be an actor until it's a very tiny screensize (e.g. a few pixels on screen). Make sure to test when zooming in as well.

Duplicate of https://github.com/HaywireInteractive/OnAllFronts-Public/issues/702


GH1547: Fix issue with parsing escaped curly braces in FormatParser

This addresses the issues described in GH-1547 regarding escaping curlies.
As detailed in the original issue, testing this fix uncovered an additional bug (inconsistency with string.Format implementation)

The one thing that I think this exposes is a bug in the LiteralToken that is being returned for escaped curlies
Information("{{}} {0}", 123); outputs "{{}} 123"
@DixonDs is right in that this should probably output {} 123 to be consistent with expectations, namely the implementation of string.Format. I have adjusted the parser to return a single '{' or '}' in those cases and updated the tests to match.

@kcamp your changes have been merged, thanks for your contribution 👍


Latest release missing key Classes

Hello, I noticed that the latest jar on the maven repo doesn't contain all of the classes used and referenced in the documentation.
E.g., to test, d/l the jar: http://central.maven.org/maven2/com/google/cloud/google-cloud-language/1.17.0/google-cloud-language-1.17.0.jar. Extract it, and I see this:
~/Downloads/com/google/cloud/language$ ll -R v1
total 40
-rw-r--r--  1 j  staff    23K Feb 20 10:51 LanguageServiceClient.java
-rw-r--r--  1 j  staff   9.4K Feb 20 10:51 LanguageServiceSettings.java
-rw-r--r--  1 j  staff   1.3K Feb 20 10:51 package-info.java
drwxr-xr-x  5 j  staff   160B Feb 13 16:40 stub/

v1/stub:
total 36
-rw-r--r--  1 j  staff    12K Feb 20 10:51 GrpcLanguageServiceStub.java
-rw-r--r--  1 j  staff   3.0K Feb 20 10:51 LanguageServiceStub.java
-rw-r--r--  1 j  staff    17K Feb 20 10:51 LanguageServiceStubSettings.java

It's missing key classes like Document.

I believe this is working as intended. The package google-cloud-language only contains the client. However, it imports package proto-google-cloud-language-v1 which contains the classes like Document.
I think this should answer your question, so I'll close this for now. If you have other questions, please feel free to reopen.


switch from qutex to async-mutex

This drops dependency on futures-preview and futures-0.1 crates
The only caveat is the executor usage in kill

Hey there!
Thank's a lot for your pull request :)
I'll have a look at it tomorrow if you don't mind :)

Looks great, thanks a lot! We'll release soon :) :tada:


build: add .d.ts

I'm fine to add index.d.ts, but don't think worth to add types to source, and the deps.

@fisker If we add types to source, and the deps. It would have better IDE support. But if you feel bad, we can remove the type in source. See the update.

Thank you! I'll merge when I have time to release.

Released as v3.1.0 https://github.com/prettier/parse-srcset/releases/tag/v3.1.0


Webots scripts

We should make scripts for the robots in webots. The scripts are found here. Needs a new folder called webots. Our current set up will run scripts in the docker folder, so use that for making them but move them to webots when you commit them.
Currently the get up doesn't seem to be able to lift the robot up, but there is video evidence that the robot can indeed lift itself up!! Either the script needs fixing up or we're missing something somewhere else.
You can use the webots_keyboard role to run scripts. See here for commands.

#499 and #510 create and improve upon the scripts. I believe there is an issue with velocity for scripts. If we fix this, they'll need to be re-tuned. Kicks could be better. They don't move the ball very far, and they need to make it from outside of the goals to inside the net if we want to ever have a chance of getting a goal.

Done.


[PE-D][Tester B] Invalid prefixes accepted in Find Command

Executing the find command find r/a z/c d/b n/alex

Command is executed and shows Alex. However the command is not supposed to be executed as the prefixes are invalid.

Labels: severity.Medium type.FunctionalityBug
original: MuhdMusab/ped#3

Although not specified, should not allow for invalid prefixes, and should throw an error.


chore: update .gitignore to ignore compiled PDFs

Is there a reason to not ignore compiled PDFs?

Not really, I pushed a demo PDF file when this repo was created for convenience... I just add it now to the releases.


Add example showing the loading of a cubemap asset

Ideally, we should show loading of both prefiltered and unprefiltered cubemaps.

Yes this would be very helpful. I am trying to get the following to work but I only get a back background.
app.assets.loadFromUrl("/dds/space.dds", "cubemap", function (err, asset) {
    app.scene.skybox = asset.resource;
});

If I don't assign it I can see the camera clear color. So I believe there is something wrong with loading the faces.

We now have this:
https://github.com/playcanvas/engine/blob/master/examples/graphics/material-physical.html#L48
So I'm closing for now.


Add git precommit autoformatting for go, ts, sol

Format go, typescript, and solidity code automatically upon precommit

using pretty-quick to leverage our existing Prettier setup for all of the formatting within the bridge module
using gofmt and manual insertion of git objects into the index for all golang stuff. This is what took most of the research and experimentation, to make things work with partially staged files.
made a git config command run on a couple of different initialization commands, to make sure that the git hooks are installed for each different kind of developer (golang, solidity, etc)

Got the following error trying to run ./scripts/main.sh init
./scripts/main.sh: line 144: ./scripts/base-scripts/init-githooks.sh: Permission denied


Create Base File Structure and Build App Services (2pt)

Generate project structure
Create all API Services with Axios

Linked to PR:


Nsmerger

This should be the first complete version of the nsmerger implementation. Additional changes from master include (but are probably not limited to) the interpolation of metallicities, new nsmerger_bdys parameter, some bug fixes, and a python notebook test suite.

All this looks good, but there seems to be conflicts.. Do you know what those it mean?

As far as I know it means there are commits in master which edit the same lines as some of the commits in nsmerger. So I think I have to go through such conflicts line by line and choose which ones to keep...


Build a bracket system

Challonge is small brain so building a bracket system that runs entirely within Discord (perhaps using embeds) would be less terrible to use

I'm doing some research on this, it seems some people have used a binary tree to represent a bracket. I'm trying to find a C# library first so we don't have to reinvent the wheel.

I'm thinking it might be a lot easier to just use Challonge, at least in the short term.
I made a very simple bracket system that constructs a bracket for any amount of players, but I haven't found an elegant way to actually change that bracket once it is made.
Challonge already has an API, and we get a pretty view of the bracket that is easily shareable without any work on our part. Spamming network requests to the API shouldn't be a big deal since I think it's going to be spaced out as people vote on a pin anyways. And we would likely also need to use a database to efficiently store the bracket data.
We could try to design it in such a way that the bot is bracket system agnostic, and later we can design one and drop it in.

The issue with Challonge is that the entrants have to be Challonge users.   If you try creating a new bracket, you are only allowed to input users. I don't believe the Challonge API will work for us.

You can input arbitrary strings as their usernames, I've already tried it with the beginnings of the wrapper thingy I've made and it works. For instance, this tournament has been created and interfaced with entirely through the API. The creation, the adding of the participants, the reporting of the scores, and none of them are actual Challonge accounts besides myself (to be clear you don't have to add yourself, I just did it to test and for fun).


Abelpz bible ref navigation

Describe what your pull request addresses

[ ]

Test Instructions

[ ]

@abelpz Can this PR linked be linked to an issue?

This is now part of another PR #191


Can you set cloud role instance via configuiration file

Hello,
For Application Insights Status monitor is it possible to set Cloud Roles Instance or any other properties for that matter at runtime since code is not instrumented to modify those values.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 83dd1058-3012-a275-1252-87eee4a56e26
Version Independent ID: 1e90c53b-caad-1fd7-0197-4aa55b304639
Content: ApplicationInsights.config reference - Azure | Microsoft Docs
Content Source: articles/application-insights/app-insights-configuration-with-applicationinsights-config.md
Service: application-insights
GitHub Login: @OlegAnaniev-MSFT
Microsoft Alias: mbullwin

@artisticcheese We are checking and will get back to you.

#in-process

There is no built in capability to accomplish any fine tune data collection parameters in run time. You'd need to enable Application Insights SDK from Visual Studio or any other development environment


New menu item: Refine > Permute Isotope Modifications

This change adds a menu item to the Refine menu: Permute Isotope Modifications

Users can choose which isotope modification to apply, and whether to do "Simple" (only the number of modified residues matters) or "Complete" (they want all combinations of labeled and unlabeled residues so they get 2^N precursors)

Here is what it looks like when they did "Simple" on a peptide with 8 leucines in it.

We might want to look into making the Edit Modifications dialog faster when there are a lot of label types.

Does that last window scroll horizontally? What does the complex permutation look like for that peptide? :stuck_out_tongue:

Does that last window scroll horizontally? What does the complex permutation look like for that peptide? 😛

Yes, that window gets a scrollbar if it has too many columns. The complex permutation results in that form having 128 columns of combo boxes. It actually takes a few minutes for that form to come up once you have that many Isotope Label Types in your document. This is because every one of those combo boxes is a Window that needs to be created.
In the future, I was going to propose a fix to make that window come up faster. That fix would either involve somehow making it so that the combo boxes do not get constructed until they are needed, or making that entire thing into a DataGridView.


Use AWS API instead of CLI

Using the AWS go SDK (https://docs.aws.amazon.com/sdk-for-go/api/service/sts/) would make assume-role a self-contained binary instead of depending on the aws CLI.  Not urgent, the CLI is easy to installl; mostly interested if there's any reason why you prefer using the CLI instead of the SDK.

I swear I had a good reason for shelling out when I originally built this, but now I don't remember what the reason was. Anyways, hitting the STS API directly would definitely be better so that this can be self-contained. PR's welcome!


bug: CORS

Type: bug
Ionic Version: 1.x
Platform: desktop browser
from ionic info...
Cordova CLI: 6.1.1
Gulp version:  CLI version 3.9.1
Gulp local:
Ionic Framework Version: 1.3.1
Ionic CLI Version: 1.7.15
Ionic App Lib Version: 0.7.2
OS: Windows 8.1
Node Version: v0.12.2
I am NOT a novice coder which I am stating because I am asking for a comprehensive answer which does not include ANY of the steps I've tried so far.
From app.js to getUser.php to apache to the browser, I have tried the following; each of which results in the same error "GET http://localhost:8080/database/getUser.php net::ERR_CONNECTION_REFUSED   ionic.bundle.js:25000" written to the console...
PS this app is the ionic tab starter.
In app.js
CONFIG SECTION (Partial/relevant code listed)
app.config(['
$stateProvider', '$urlRouterProvider', '$httpProvider',
function ($stateProvider, $urlRouterProvider, $httpProvider) {
'use strict';
$httpProvider.defaults.useXDomain = true;
delete $httpProvider.defaults.headers.common['X-Requested-With'];
...the rest of config not listed for brevity
app.controller('DashCtrl', function ($http, $scope) {'use strict';
$scope.user = {email<EMAIL_ADDRESS>password: 'locutus'};
$scope.login = function (user) {
$http.get('http://localhost:8080/database/getUser.php',{
'email': user.email, 'password': user.password,
'contentType': 'application/json; charset=utf-8',
'dataType': 'json'})
.then(function (response) {console.log(response);});}; //$scope.login
}); //DashCtrl
getUser.php
select("person",array('emailaddress'=>$_POST['email'], 'password'=>$_POST['password']));
$json = json_encode( $rows,JSON_NUMERIC_CHECK );
echo "$json";
?>

config.xml added the following lines...
...

On APACHE in httpd-vhosts.confg (partial listing)
...
<VirtualHost :80>
DocumentRoot "c:/xampp/htdocs/neighborfood"
ServerName localhost.neighborfood
ServerAlias .localhost.neighborfood
<Directory "c:/xampp/htdocs/neighborfood">
Header always set Access-Control-Allow-Origin ""
RewriteCond %{REQUEST_METHOD} OPTIONS
RewriteRule ^(.)$ blank.php [QSA,L]
RewriteRule ^(.)$ $1 [R=200,L]
Header always set Access-Control-Allow-Origin ""
Order allow,deny
Allow from <IP_ADDRESS>
Allow from all

in httpd.conf

SetEnvIf Origin "http://localhost:8100/#/tab/dash$" AccessControlAllowOrigin=$0$1
Header Set Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin
Header Set Access-Control-Allow-Credentials "true"
Header Set Access-Control-Allow-Methods "GET, POST, OPTIONS"
Header Set Access-Control-Allow-Headers "origin, content-type, accept, X-Requested-With"
Header always unset Expires

in .htaccess
Header always set Access-Control-Allow-Origin "*"
ADDITIONALLY, I have also downloaded and installed the Chrome plug-in for CORS which shows green when active and red when inactive.
Regardless of all of the above, nothing has worked.  This has already cost me more than two and a half weeks of development.  The only thing I have found and not tried is a proxy solution which I have not yet tried because I don't understand how it works.  Please, please, please do not reiterate any of the solutions listed around the net as I have tried an awful lot of them and am looking for a solution which actually works.
My app without ionic works perfectly.  I am on a Windows 7 machine with all the up-to-date browsers.
What is Ionic going to do to prevent this CORS issue which seems to be plaguing a lot of developers?
What solution exists which actually works?
P.S.  I have also tried running Chrome from the CLI using c:\path_to_chrome\chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security
If I can't use the $http service or jquery ajax or raw/vanilla ajax, then ionic is therefore useless to me.
PLEASE HELP!!!!!!

Hi @droiddavid 😄 ,
Thanks for submitting an issue to Ionic.  It sounds like the issue you're experiencing is on your server.  It doesn't seem like an issue with the framework itself.  My recommendation is to make sure you're setting the CORS header if that is what the server is expecting.
A good place to ask for help troubleshooting issues would be the Ionic community forum or stackoverflow.
Please let me know if there is anything with the framework we can help you out with.  Thanks for using Ionic and contributing!
Thanks,
Dan

Again, I have set everything on the server, repeatedly and I do not have this issue when I am not using ionic.  I have perused and searched the forums and tried each of the solutions offered to no satisfaction.  At this point, the only issue is ionic.  If I put ionic away and go back to raw angular, my application works.  In other words, the forums have been no help what-so-ever.  Is there ANYTHING

If you can make a very simple example demonstrating the problem, we can look into it.  We are not going to be able to spin up your server, though.  Ionic uses Angular 1.5.3, so the http module should just work.  We are not doing anything to it, etc.

Hello,
can you check origin header you are sending?
Maybe related to my problem : http://stackoverflow.com/questions/39324750/ionic-native-app-is-sending-header-originfile-which-causes-problems


Readme needs proper formatting and contetn

Clean up the readme file to be properly formatted and add some content.

Committed change


Cannot upload symbols for Crashlytics

[REQUIRED] Step 1: Describe your environment

Xcode version: 13.1
Firebase SDK version: 8.9.1
Installation method: CocoaPods
Firebase Component: Crashlytics
Target platform(s): iOS

[REQUIRED] Step 2: Describe the problem
When trying to upload symbols as part of my project, I get the following error:
File no longer exists at (null)
Steps to reproduce:
I have added the GoogleService-Info.plist to the project. I have then added a run-script build phase with
"${PODS_ROOT}/FirebaseCrashlytics/run"
"${PODS_ROOT}/FirebaseCrashlytics/upload-symbols" -gsp "${PROJECT_DIR}/${PROJECT_NAME}/GoogleService-Info.plist" -p ios "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"

If I run upload-symbols with the --debug flag I get this output:
upload-symbols 3.9 build 28

Arguments:
Debug mode enabled
Google App ID: 1:966119265531:ios:debbab51630033a7
Platform: ios
DSYM Paths: ["/Users/kemal/Library/Developer/Xcode/DerivedData/JBKids-dhlisyvsnhmaqzerhebhvnqwehmm/Build/Products/Debug-iphonesimulator/JBKids.app.dSYM"]

Inspecting next path: /Users/kemal/Library/Developer/Xcode/DerivedData/JBKids-dhlisyvsnhmaqzerhebhvnqwehmm/Build/Products/Debug-iphonesimulator/JBKids.app.dSYM
Found dSYM at path: /Users/kemal/Library/Developer/Xcode/DerivedData/JBKids-dhlisyvsnhmaqzerhebhvnqwehmm/Build/Products/Debug-iphonesimulator/JBKids.app.dSYM
Begin processing dSYM at (null)
error: Could not complete submission of dSYM at /Users/kemal/Library/Developer/Xcode/DerivedData/JBKids-dhlisyvsnhmaqzerhebhvnqwehmm/Build/Products/Debug-iphonesimulator/JBKids.app.dSYM: Error Domain=com.crashlytics.mac.error-domain.process-dsym Code=2 "File no longer exists at (null)" UserInfo={NSLocalizedFailureReason=File no longer exists at (null)}

As you can see, it seems to find the dSYM file at the correct location, but when it tries to process it something goes wrong.

Thanks for reporting, @KemalPajevic. This could be related to the way the run script build phase was configured. Could you confirm if you have tried the steps here specifically in number 4?

Thanks for reporting, @KemalPajevic. This could be related to the way the run script build phase was configured. Could you confirm if you have tried the steps here specifically in number 4?

With my current setup I am not able to get to step 4 (forcing a crash) at all, since the scrip fails at build time.

Sorry for the confusion, @KemalPajevic. It means on step 3, number 4:

c. In the script field (located under the Shell label), add the following run script.This script processes your project's dSYM files and uploads the files to Crashlytics.

"${BUILD_DIR%/Build/*}/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/run"

d. In the Input Files section, add the paths for the following files.

Add the path to your project's dSYM files

This enables Crashlytics to process dSYMs for large apps more quickly.

${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}

Add the path to your project's built Info.plist file

This enables Crashlytics to associate an app version with the dSYMs.

$(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)

Ah, sorry I misunderstood. Yes, I have tried this, and if I do I do not get any build errors, but I also do not seem to receive any symbol fies, at least from our build server. That's why I think I need to use upload-symbols as described here.

No worries, @KemalPajevic. Based on the error message you provided, it looks like a config-related issue. To isolate, could you confirm if it's working fine when uploading the dSYMs manually?


Apply never-fail autodeployment option to Runtime Bundle

Refer to https://github.com/Activiti/Activiti/issues/2315

@salaboy @igdianov
This pr apply never-fail autodeployment option to Runtime Bundle.
Please review this pr.


Exporting/viewing stack configuration replaces "expose" with "ports"

Rancher	v0.39.0
Cattle	v0.95.0
User Interface	v0.52.0
Rancher Compose	beta/latest

Here is the YAML file I'm using to create a stack:
test:
  restart: always
  tty: true
  image: ubuntu:14.04.3
  stdin_open: true
  expose:
  - 3000/tcp

And here is the YAML file I'm getting when I'm trying to export/view stack:
test:
  restart: always
  ports:
  - 3000/tcp
  tty: true
  image: ubuntu:14.04.3
  stdin_open: true

As you can see, "expose" part has been replaced with "ports", which is a huge deal as importing/creating a stack 2nd time might lead to port conflicts and difficult to debug issue i.e. load balancer not being created and staying in "activating" mode forever, etc.

Looks like a rancher-compose issue - "ports" is being sent in the request instead of "expose":
{
    "scale": 1,
    "launchConfig": {
        "imageUuid": "docker:ubuntu:14.04.3",
        "logConfig": {},
        "networkMode": "managed",
        "ports": [
            "3000/tcp"
        ],
        "restartPolicy": {
            "name": "always"
        },
        "stdinOpen": true,
        "tty": true,
        "privileged": false,
        "publishAllPorts": false,
        "readOnly": false,
        "startOnCreate": true
    }
}

@alena1108 @xaka I'm fixing this now in rancher-compose but just want to point out that we don't actually support expose.  So passing anything in the expose field is basically ignored by Rancher.

Tested with rancher-compose version - rancher-compose-v0.4.1-rc2 and rancher-server built from master on oct 8.
When expose is used in docker-compose.yml  , rancher-compose will ignore this.
docker-compose.yml  used to create the service:
testexpose:
  restart: always
  tty: true
  image: ubuntu:14.04.3
  stdin_open: true
  expose:
  - 3000/tcp

expose gets ignored now and no ports will be exposed.
generated config ( from rancher-server)
testexpose:
  restart: always
  tty: true
  image: ubuntu:14.04.3
  stdin_open: true

To expose ports from rancher-compose , we should use  ports , example:
ports:

8999:80/tcp


Add the instructions to install the snap

Thanks @elopio 👍

So would I need to publish new releases? Or --edge would just mean it's using the latest version?
Still a bit unsure about how to publish an official release

Thanks for the merge @DenisCarriere !
Every time your master branch changes, build.snapcraft.io will build a new snap and release it to the edge channel.
To simplify the packaging tasks, I prefer to use git annotated tags (which is a good practice anyway IMO). With that, you can set version: git in the snapcraft.yaml. And the next time you make a release tag in github, that version will land properly identified in edge. If you want that version to be visible on user searches, and to go to all your stable users, you use the snapcraft release to put it in the stable channel.
We hang in https://rocket.ubuntu.com and https://forum.snapcraft.io, in case you have more questions or need a hand with something.
pura vida.

@elopio Sweet I just published the latest release v1.25.0 to the stable channel.
Feel free to send over any documentation on how to use it.
$ snap find geocoder
Name      Version  Developer      Notes  Summary
geocoder  1.25.0   deniscarriere  -      Geocoder is a simple and consistent geocoding library.

👍 Perfect stuff! As long as you keep making sure the docs are updated I'm good with that 👍
This was quite useful 😄
https://snapcraft.io/docs/build-snaps/publish

:D I've just proposed #268.

❤ Awesome, thanks! Have a good night (or day)


Replace customStatusColor prop from Terra Alert

Feature Request
Similar to: https://github.com/cerner/terra-core/issues/1999
CustomStatusColor is an untheme-able color prop and should be relplaced with a color class.
@ Mentions

Planning to hold off on this change until around the end of Q2/beginning of Q3 to minimize major version bumps in the Terra UI ecosystem.

We will want to do something very similar to this: https://github.com/cerner/terra-core/pull/2211


Cloud Manager Deployment failure with latest AEM CS version

Required Information

[ v2023.1.10675.20230113T110236Z-220900] AEM Version
[ v5.3.2] ACS AEM Commons Version: _____
[Yes ] Reproducible on Latest? yes/no

Expected Behavior
Cloud Manager Deployment Should be successful
Actual Behavior
We get the below error during the Build Image Step.
25.01.2023 05:27:35.596 INFO [Apache Sling Repository Startup Thread #1] org.apache.jackrabbit.vault.packaging.impl.ActivityLog adobe/consulting:acs-aem-commons-content:5.3.2-cp2fm-converted: EXTRACT
25.01.2023 05:27:45.867 INFO [Apache Sling Repository Startup Thread #1] org.apache.jackrabbit.vault.packaging.impl.ActivityLog com.tccc.dam:tccc-dam.ui.apps:1.0.38-SNAPSHOT-cp2fm-converted: EXTRACT
25.01.2023 05:27:45.882 INFO [Apache Sling Repository Startup Thread #1] org.apache.jackrabbit.vault.packaging.impl.ActivityLog com.tccc.dam:tccc-dam.ui.config:1.0.38-SNAPSHOT-cp2fm-converted: EXTRACT
25.01.2023 05:27:45.883 ERROR [Apache Sling Repository Startup Thread #1] com.adobe.granite.repository.impl.SlingRepositoryManager Exception in a SlingRepositoryInitializer, SlingRepository service registration aborted
java.lang.IllegalStateException: Excecutionplan execution contained errors - cannot complete repository initialization.
at org.apache.sling.jcr.packageinit.impl.ExecutionPlanRepoInitializer.processRepository(ExecutionPlanRepoInitializer.java:168)
at org.apache.sling.jcr.base.AbstractSlingRepositoryManager.executeRepositoryInitializers(AbstractSlingRepositoryManager.java:627)
at org.apache.sling.jcr.base.AbstractSlingRepositoryManager.initializeAndRegisterRepositoryService(AbstractSlingRepositoryManager.java:575)
at org.apache.sling.jcr.base.AbstractSlingRepositoryManager.access$300(AbstractSlingRepositoryManager.java:96)
at org.apache.sling.jcr.base.AbstractSlingRepositoryManager$4.run(AbstractSlingRepositoryManager.java:544)
Suppressed: java.io.IOException: javax.jcr.nodetype.ConstraintViolationException: OakConstraint0025: /apps/settings/dam[[nt:folder, rep:AccessControllable]]: Unexpected child node search found in a new node
at org.apache.jackrabbit.vault.packaging.registry.impl.FSPackageRegistry.installPackage(FSPackageRegistry.java:642)
Please describe briefly the actual behavior, i.e. when I do X, Z happens.

The latest release 5.5.2 installs just fine to me.

The /apps/settings/dam node path from acs-commons is of type nt:folder.  We have another embedd dependency in our code which also overlayed /apps/settings/dam(cq:Page) with an nt:unstructured node inside it.
As the cloud manager deployment pipeline runs with latest AEM CS version(2023.1.10912.20230130T173736Z), I think there is a conflict happening during the "Build Image" step, which use "nt:folder" type to create /apps/settings/dam and the "nt:unstructured" node can not be added inside "nt"folder". This causes the failure in "Build Image" step.
Is it possible to make the "/apps/settings/dam" node of type "cq:Page" in acs-commons which should ideally fix this issue ?

Also, fyi that the issue is not reproducible with local SDK. It happens only when AEM Cloud Service deployment happens through Cloud Manager.

Is there a node at /libs/settings/dam? If so, what node type?
What package is creating it as cq:Page?

Yes, /libs/settings/dam is of type cq:Page.
We are using a 3rd party embedd dependency package with some customization on Assets Admin Search Rail for a adding a new Facet.


Util.deepCopy() question

Hi Farooq,
I really love jsondb.io !!!
I did some experimentation: I commented out the deep copying code in the Util.java class:
protected static Object deepCopy(Object fromBean) {
//    ByteArrayOutputStream bos = new ByteArrayOutputStream();
//    XMLEncoder out = new XMLEncoder(bos);
//    out.writeObject(fromBean);
//    out.close();
//
//    ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
//    XMLDecoder in = new XMLDecoder(bis, null, null, JsonDBTemplate.class.getClassLoader());
//    Object toBean = in.readObject();
//    in.close();
//    return toBean;
return fromBean;
}
Then I ran my application and it seems that there was no negative impact and after calling the JsonDBTemplate constructor for the first time, all other db calls where extremely fast!
My questions are:

What is the benefit (or considerations) for doing the deep copying?
NOT doing the deep copying - what problems may it cause, if any?
I would like to gain more insight into when the json data files are loaded into memory:  when calling the JsonDBTemplate constructor for the first time, does it load ALL the json data files into memory to cache the collections up-front?

Again, I love your DB and I look forward to hear your answers!

Hi Joel,

Deep copying was done so that the objects in memory would be disconnected from the objects returned by the various query method.
Not doing deep copy has one side effect, once you have queried and obtained object(s) from the JsonDB you can then change the contents of that object and those changes would also be done in the JsonDB memory, this would not be issue normally, however, it might cause subtle bugs especially in case of the update methods. You might end up assuming that I have changed the object and it is all done however the change will not be written to the files.
Data files can be loaded in 2 ways. a) at the time of constructor invocation everything in data folder is loaded up front. b) you can invoke reload() method to load a particular collection again on demand.  You can also register for event listners (though they don't work on mac) and reload based on events received when underlying data files change

Thanks

I do not plan to change this behaviour at the moment. In future if time permits i can try and make it configurable, until then i am going to mark it wont fix


Let the docs specify that the output type should be 'Exe'.

While it may seem obvious, the docs (at least as far as I can tell) do not currently mention that the output type of the generated .NET Core application should be set to Console Application (as opposed to Class Library). This will cause error messages on build such as:
The command "dotnet path/to/dll generator crds --out path/to/config/crds --format Yaml" exited with code -2147450749
or
The command "dotnet path/to/dll generator docker --out path/to/Dockerfile --dotnet-tag latest --solution-dir path/to/sln  --target-file DllName.dll --project-path path/to/csproj" exited with code -2147450749.
Just leaving this here, as it took me about twenty minutes figuring out why stuff wasn't building, even though I had followed the Getting Started section of the docs.
The fix is, ofcourse, to simply add <OutputType>Exe</OutputType> to your .csproj..
Other than that, thanks a lot for the SDK!

Whoops 🙈
This is a good point!
I guess the starting point of a custom operator should be an asp.net web application. This sets the output type automatically.
I think I need to document both.


[DO NOT MERGE] Elizs add row

These changes are stale (made over 8 months ago), so I'm deleting the corresponding branch. Creating this PR and then immediately closing (so that the elizs-add-row branch can be deleted now, but restored in the future if needed).

Docs Build status updates of commit 5a72fe3:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch elizs-add-row has been deleted or has been force pushed: fatal: Couldn't find remote ref elizs-add-row

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


ID field won't show in a Saved View

@nikantonelli - If I have the ID field displayed and create a Saved View, when I recall that view, the ID field is no longer displayed.  I then tried selecting the view, explicitly adding the ID field back into display, and updating the view:  same result -- no ID field displayed.

The code for the saved views and state saving/restoring are part of the standard "Custom Grid" app rather than changes I made. I'm not sure why this is happening. Maybe I need to check for updates in the original code. We had a similar issue with custom apps creating pseudo fields on the fly and not being remembered when you changed view, only on the very first rendering of the page. It might be related.


Unique Index

Use case: We have customers who use primary keys and unique key constraints in their Postgres schemas, but we just support primary keys.
Feature description: Add unique to our constraints. Unsupported features

This is one of the trade-offs of a distributed system. Unique constraints would require some form of synchronization across shards and would have a major impact on performance.
It's unlikely that we'll provide unique constraints any time soon, if at all.

You could just create a field that's just a summation of whichever fields you consider unique and just make it a part of the primary key....we do this for various customers and it works quite well


RC3s for 21.08, 22.2.4 and 23.0.1

Signed-off-by: John Molakvoæ<EMAIL_ADDRESS>

This branch is out-of-date with the base branch
Merge the latest changes from master into this branch.
😬


simple override using constructor options

Hey, I just made a Pull Request!
Simple override of default properties via constructor. Does not support additional fields.
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)

Tugboat has finished building the preview for this pull request!
Link:

https://pr4344-mfa6teh2bi6xts6fnmmoatso3vrp9sby.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/6018441c353bbbef869cc519


NetApp OnTapp Update Support

Good Afternoon,
The latest version of Netapp Ontap is 9.12.1p5. Does Splunk SC4S support the latest version? We just want to proactively prepared prior to the upgrade to prevent loss in data ingestion.
Thanks,
Shaunice Yearwood

Hi @techsystems-unix , thank you for reporting this. In your attached pcap file I can see mostly sshd events (https://www.strongdm.com/blog/view-ssh-logs) . We cannot classify them as Netapp OnTap based on the message format, but they can be still classified in the required way for example based on host or netmask.
Can you please send NetApp OnTap events to test message-based filtering for this vendor?

Closing the issue due to no response for more than 10 days; please refer to this thread in a new issue or request reopening in case of follow-up.


Creating SlidePanelManager

Summary
This an implementation of a DisclosureManager using a SlidePanel as the rendering control. This won't build until the DisclosureManager is merged :(

This looks pretty good. 👍

Functional verification completed. The slide panel examples display and function correctly with the exception of a known CSS issue with squish behavior. Interestingly, in IE the squish behavior does work, but only for the Tiny and Small breakpoints.

Tested: PR #60
Reviewed:

Follows previous UX defined design implementation for initial release

Verified by @neilpfeiffer, Ready for Release.

Pass

UX Review


Experienced a lot of crashes

We have experienced a lot of crashes in the chart. I have attached a screenshot of the log.
Could you rectify/assist us with this

@makedonsky94 can you please take a look?

@makedonsky94 - Any ETA for this. Its very bad user experience

@makedonsky94 Please have a look at the line number in the below screenshot where the crash is happening.

Hi! We are working on this. At the moment we could not say what causing the crash. It would be helpful if you provide more details on your case

Hi we are facing this crash onSeriesCreated on the below code
api.setData(data.list.map { it as LineData })

Do you have logs for that crash? I mean can you determine what happening in the code before the crash? Do you recreate the series and then set the data? Or is it happening right after the initialization of chart?

java.lang.IllegalStateException: Value is null
at com.tradingview.lightweightcharts.runtime.controller.WebMessageController.onMessage(WebMessageController.kt:124)
at com.tradingview.lightweightcharts.runtime.WebMessageChannel$1.onMessage(WebMessageChannel.kt:26)
at androidx.webkit.internal.WebMessagePortImpl$1.onMessage(WebMessagePortImpl.java:111)
at nk.a(chromium-Monochrome.aab-stable-410410173:3)
at hR2.handleMessage(chromium-Monochrome.aab-stable-410410173:6)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6762)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: java.lang.IllegalStateException
at dalvik.system.VMStack.getThreadStackTrace(Native Method)
at java.lang.Thread.getStackTrace(Thread.java:1538)
at com.tradingview.lightweightcharts.runtime.controller.WebMessageController.callBridgeFunction(WebMessageController.kt:56)
at com.tradingview.lightweightcharts.runtime.controller.WebMessageController.callBridgeFunction$default(WebMessageController.kt:48)
at com.tradingview.lightweightcharts.runtime.controller.WebMessageController.callFunction(WebMessageController.kt:22)
at com.tradingview.lightweightcharts.api.delegates.SeriesApiDelegate.setData(SeriesApiDelegate.kt:37)
at com.moneycontrol.handheld.fragments.StockDetailRevampFragment$createSeriesWithData$2.invoke(StockDetailRevampFragment.kt:2462)
at com.moneycontrol.handheld.fragments.StockDetailRevampFragment$createSeriesWithData$2.invoke(StockDetailRevampFragment.kt:111)
at com.tradingview.lightweightcharts.api.delegates.ChartApiDelegate$addAreaSeries$1.invoke(ChartApiDelegate.kt:71)
at com.tradingview.lightweightcharts.api.delegates.ChartApiDelegate$addAreaSeries$1.invoke(ChartApiDelegate.kt:26)
at com.tradingview.lightweightcharts.runtime.controller.WebMessageController$BufferElement.invoke(WebMessageController.kt:155)
at com.tradingview.lightweightcharts.runtime.controller.WebMessageController.onMessage(WebMessageController.kt:104)
at com.tradingview.lightweightcharts.runtime.WebMessageChannel$1.onMessage(WebMessageChannel.kt:26)
at androidx.webkit.internal.WebMessagePortImpl$1.onMessage(WebMessagePortImpl.java:111)

I suppose that you can send an empty date value in bar data which leads to crash.
What we can do at the moment:

add verification of datetime input
add stacktrace from javascript backend for better understanding of crashes.

We are working on the new version of library so you will see that changes in the nearest update.

When should we expect the update ??

We expect releasing of the library this month. If you want to fix this crash right now, please consider to make your own checks for correctness of bar data

At 3.5 we've improved crash logs. I guess that will make much easier to find an issue in your code. Pleases make an update of library version in the project and send us a new crashlog

okay sure.

@makedonsky94 Please have a look at the cash log below
Caused by: java.lang.IllegalStateException: Error: Value is null
at jsCode.ensureNotNull(file:///android_asset/com/tradingview/lightweightcharts/scripts/app/main.js:299)
at jsCode.TimeScale._private__doFixLeftEdge(file:///android_asset/com/tradingview/lightweightcharts/scripts/app/main.js:3509)
at jsCode.TimeScale._internal_setBaseIndex(file:///android_asset/com/tradingview/lightweightcharts/scripts/app/main.js:3165)
at jsCode.ChartModel._internal_updateTimeScale(file:///android_asset/com/tradingview/lightweightcharts/scripts/app/main.js:7102)
at jsCode.ChartApi._private__sendUpdateToChart(file:///android_asset/com/tradingview/lightweightcharts/scripts/app/main.js:10936)
at jsCode.ChartApi._internal_applyNewData(file:///android_asset/com/tradingview/lightweightcharts/scripts/app/main.js:10898)
at jsCode.SeriesApi.setData(file:///android_asset/com/tradingview/lightweightcharts/scripts/app/main.js:10329)
at jsCode.SeriesFunctionManager.findSeries(file:///android_asset/com/tradingview/lightweightcharts/scripts/app/main.js:11349)
at jsCode.Object.functionRef(file:///android_asset/com/tradingview/lightweightcharts/scripts/app/main.js:11251)

@supriyakhankarnw18 is there any way how we can reproduce it locally either with your app? The error is really strange and I'm just wonder how it might happen.

@timocov there is one scenario our QA found while performing stress testing, so here the crash occurs.
We are attaching the video reference for the same, please look into it.
https://user-images.githubusercontent.com/70312717/129885011-2edbb6fb-2b73-4ecb-95f1-1f4c79305a96.mp4
https://user-images.githubusercontent.com/70312717/129885042-5e4af1cc-1821-4603-9494-0189a983c817.mp4
We are sure that this kind of scenario may not be performed at the user level, but we are able to get a similar crash from the users in Crashylatics logs that are unable to track/reproduce at our end.

@supriyakhankarnw18 if you can reproduce it locally somehow, is it possible to log all actions you do with lightweight-charts so we can try to reproduce them locally by using your steps? I mean, you can log every API call with all arguments so we can replicate all steps ourselves

@timocov after every API call we are calling this below method to set the data and load the chart
private fun createSeriesWithData(
data: Data,
priceScale: PriceScaleId,
chartApi: ChartApi,
onSeriesCreated: (SeriesApi) -> Unit) {
    try {
        when (data.type) {
            SeriesDataType.AREA -> {
                if (data.direction == 1) {
                    chartApi.addAreaSeries(
                            options = AreaSeriesOptions(
                                    lineColor = Color.argb(255, 76, 175, 80).toIntColor(),
                                    topColor = Color.argb(143, 76, 175, 80).toIntColor(),
                                    bottomColor = Color.argb(10, 76, 175, 80).toIntColor(),
                                    lineWidth = LineWidth.TWO
                            ),
                            onSeriesCreated = { api ->
                                api.setData(data.list.map { it as LineData })
                                chartApi.timeScale.fitContent()
                                val options = PriceLineOptions(
                                        lineWidth = LineWidth.TWO,
                                        lineStyle = LineStyle.SOLID,
                                        axisLabelVisible = true
                                )
                                onSeriesCreated(api)
                            }
                    )
                } else {
                    chartApi.addAreaSeries(
                            options = AreaSeriesOptions(
                                    priceScaleId = priceScale,
                                    lineColor = Color.rgb(227, 81, 90).toIntColor(),
                                    topColor = Color.argb(143, 227, 81, 90).toIntColor(),
                                    bottomColor = Color.argb(10, 227, 81, 90).toIntColor(),
                                    lineWidth = LineWidth.TWO
                            ),
                            onSeriesCreated = { api ->
                                api.setData(data.list.map { it as LineData })
                                chartApi.timeScale.fitContent()
                                val options = PriceLineOptions(
                                        lineWidth = LineWidth.ONE,
                                        lineStyle = LineStyle.SOLID,
                                        axisLabelVisible = true
                                )
                                onSeriesCreated(api)
                            }
                    )
                }
            }

            SeriesDataType.CANDLESTICK -> {
                if (Utility.isDarkTheme(requireContext())) {
                    chartApi.addCandlestickSeries(
                            options = CandlestickSeriesOptions(
                                    upColor = Color.parseColor("#95CD4F").toIntColor(),
                                    borderUpColor = Color.parseColor("#95CD4F").toIntColor(),
                                    wickUpColor = Color.parseColor("#95CD4F").toIntColor(),
                                    downColor = Color.parseColor("#D6524F").toIntColor(),
                                    borderDownColor = Color.parseColor("#D6524F").toIntColor(),
                                    wickDownColor = Color.parseColor("#D6524F").toIntColor()
                            ),
                            onSeriesCreated = { api ->
                                api.setData(data.list)
                                chartApi.timeScale.fitContent()
                                onSeriesCreated(api)
                            }
                    )
                } else {
                    chartApi.addCandlestickSeries(
                            options = CandlestickSeriesOptions(
                                    upColor = Color.parseColor("#26a69a").toIntColor(),
                                    borderUpColor = Color.parseColor("#26a69a").toIntColor(),
                                    wickUpColor = Color.parseColor("#26a69a").toIntColor(),
                                    downColor = Color.parseColor("#ef5350").toIntColor(),
                                    borderDownColor = Color.parseColor("#ef5350").toIntColor(),
                                    wickDownColor = Color.parseColor("#ef5350").toIntColor()
                            ),
                            onSeriesCreated = { api ->
                                api.setData(data.list)
                                chartApi.timeScale.fitContent()
                                onSeriesCreated(api)
                            }
                    )
                }
            }
        }
    } catch (e: Exception) {
        e.printStackTrace()
    }
}

have shared the line on which we are getting crash

https://github.com/tradingview/lightweight-charts-android/issues/51#issuecomment-889131792

It seems like a Threading issue inside the library

I'm just curious what can you do (even in multi-threaded/async environment) with lightweight-charts so it will fail like this. The error you shown in https://github.com/tradingview/lightweight-charts-android/issues/51#issuecomment-895200029 is really strange and looking in the code of lightweight-charts I cannot even image the case why it might happen (let's say you have an array, and you just checked whether it is empty or not, and after that you take the first element but it doesn't exist).

@timocov  These are some more logs from Crashlytics

Ok, it seems that I figured out why this happened. For some reason the size of the container for lightweight-charts is 0x0 what leads for this error. We'll fix it from our side, but as workaround you can always provide positive size of the chart by providing the size explicitly via options.
Please track https://github.com/tradingview/lightweight-charts/issues/821 for the fix. I'm going to close this issue.


Revise Documentation (Query Types)

Documentation changes have been postponed.
However, there is still a need for changes introduced by #20 to be properly documented.
This should include a description about different execution paths (CQL -> FHIR Server, Structured Query -> Flare -> FHIR Server).

Resolved by #34


Correct test questions

Previous facts / familiar
Lmitant / for migraine and also cephalea
The whole head / holocraneal

Done in commit 72d75f3.


asking for password

Hi, I ran the script @ AWS
[ec2-user@ip-172-31-13-26 ~]$ eggo-cluster provision --region us-east-1 --launch
Stack 'bdg-eggo' already exists. Reusing.
Creating launcher instance.
Waiting for instance to enter 'running' state.....................
Instance is now in 'running' state. Waited 334 seconds.
[<IP_ADDRESS>] Executing task 'install_director_client'
[<IP_ADDRESS>] sudo: wget http://archive.cloudera.com/director/redhat/6/x86_64/
[<IP_ADDRESS>] Login password for 'ec2-user':
Sorry, you can't enter an empty password. Please try again.
[<IP_ADDRESS>] Login password for 'ec2-user':
[<IP_ADDRESS>] Login password for 'ec2-user':
[<IP_ADDRESS>] Login password for 'ec2-user':
[<IP_ADDRESS>] Login password for 'ec2-user':
This user has no password
I tried to set one - and same problem -it is not accepted
greetings
Jerry

Ok, this is stupid on my part, but I should get rid of the default for the stack-name.  You should also add a --stack-name my-stack option to the command.

Also, do you have an EC2 key pair set up?

Hi again,
I setup an EC2 instance and installed eggo. Then I set my ENV and copied the pem file to the local dir, setting mod to 600. (s pics). Finally I started this command:
eggo-cluster provision --region us-east-1 –stack-name eggo --launcher-instance-type m3.medium --availability-zone us-east-1a -n 4
The cloud Formation stack runs w/o error and the instance starts successfully. Then the password problem shows up.
any idea what's wrong with my settings ?
thanks a lot in advance
-Jerry

it works, when the instance that starts the "eggo-cluster"cmd is in the same region as the target box - using another Region leads to the Password prompt


Minor fixes for SwiftIfConfig

While integrating this further in the compiler, found a few issues to be fixed here:

IfConfigRegionState.evaluate() needs to return syntaxErrorsAllowed, too
Version parsing needs to deal with weird malformed versions like ...
#if _compiler_version(>=6.0) is supported syntax, so handle it

@swift-ci please test


fix tool icon on deactivate

@csmoore Please review and merge

I had not noticed an issue with this since I made the changes in #176 - but it probably can't hurt


ModifierReverse causes characters to become clear in Gauge

Description
When gauge cells reach the label they (both gauge cells and label) become totally transparent

How to reproduce

Create a gauge with any style
Set percentage to >48%

Additional

Shells:

fish
zsh
bash

Color scheme:

sweet-mars
breeze
linux-dark

Terminal emulators

Terminator
Alacritty
Konsole
Yakuake

Same behavior everywhere
Possible solution
I figured out that these lines produce such behavior:
if labelXCoordinate+i+1 <= self.Inner.Min.X+barWidth {
       style = NewStyle(self.BarColor, ColorClear, ModifierReverse)
}

Removing ModifierReverse makes it normal (normal assuming we have already the wrong color calculation)
Removing ModifierReverse and swapping remaining parameters seems to almost fix the issue:
if labelXCoordinate+i+1 <= self.Inner.Min.X+barWidth {
       style = NewStyle(ColorClear, self.BarColor)
}

Label color is obviously not getting reversed, so a bad color combination will result in an unreadable label. However, I haven't dig into the mathematics behind reverse color calculation and I cannot assume it's a 100% ModifierReverse issue.

Change line 52 of gauge.go to
style.Bg = self.BarColor

this seems to give the desired result. I was unable to find a bit modifier that did what was expected.


Stackdriver not parsing Python print statement as jsonPayload

When trying to create a structured log in a Python Cloud Function, Stackdriver is not parsing as jsonPayload but as textPayload.
Use the provided example to see:
https://cloud.google.com/functions/docs/monitoring/logging#writing_structured_logs

Hi @mitchellsuter, thank you for the bug report.
I've verified the sample works with Python 3.8 but does not work in Python 3.7.
For your Python 3.7 functions, you should use plain strings or the client library. You might also consider upgrading to Python 3.8.
If you are using Python 3.8 and you are encountering this problem, please reopen the issue with further details.

@grayside Confirming that upgrading to Python 3.8 works.


Add 32-bit x86 Support for Nanoserver

I'd like to be able to run 32-bit Windows applications in a container.
Right now there's a 20x size gap between nanoserver (which can only run 64-bit applications) and servercore (which supports WOW64).
It would be useful to have a 32-bit x86 only version of nanoserver (if that's possible to run on a 64-bit kernel) or a version of nanoserver that has WOW64 support added.

@grochoge  we haven't seen many people asking this. To help us prioritize, can you share more details on the use cases?

Hi @grochoge, we are currently investigating this issue. For internal reference, the ADO tracking number is 37314246.

hi - any news about x86 version of nano?

Joining in - we, too, have the scenario mentioned above. We need to run legacy processes (in this case, a SIP for Authenticode Signing that Microsoft provides in an x86 version only) in containers and would like to use the much smaller nanoserver images (or something built on them that includes WOW64).

I would like this too, in order to run nginx, which is only released for Windows in 32-bit.

Thanks. What other 32-bit apps that folks wanted to run on Nano Server container?

Hi, by general in some industries like HVAC it is very common that component manufacturers for water heaters, coolers, fans etc provide their calculation libraries in form of dll's. Usually those companies do not have strong it departments (pun intended ;)) and they provide dlls targeted only for x86. In my professional life I saw plain dll's and also COM libraries written in VB, C++, Delphi even PowerBasic. It is very beneficial to have some interop layer written in .NET 6 on top of them and make windows container connect through some message bus (as some of them are able to calculate only one calculation in parallel) and multiply those containers with some load balancing. But right now only available solution is windows core container which is ~5GB in size - too large for simple worker container ;)

@AdaskoTheBeAsT Interesting!  What is the scale/size? Do you use any orchestrator like K8s?

many years ago I made such systems where such dll's were "hidden" by web apis hosted on IIS on same server - when I got back to such architecture after years I saw potential for improvements to modernize that architecture - nowadays natural direction is to do slim containers which can be instantiated on demand etc - I am not expert in kubernetes (but planning to extend my knowledge) - I thought that not only in HVAC but also other less rich industries it can be common problem - legacy systems etc which can be hidden by small facade located on slim windows container

Being able to run run the official nginx for windows inside a nano container would be amazing.

@SamCotroneo-Wymac There is windows 64bit instance of nginx in official nginx page.
But Like was mention: nanoserver with x86 support will make our life easier.

@romandolinsky I don't want to derail this issue too much, but what makes you say that there's a 64-bit Windows build of nginx on the official site?
If I go to the downloads page, and download "nginx/Windows-1.23.1", the only exe in the zip file is "nginx.exe", which you can see is 32-bit with a hex-editor (or otherwise).

Sorry for my mistake but source which I use in past was not official.

I have a use case for x86 on Nanoserver: hosting a vulnerable x86 Windows binary in a Docker container with a small footprint for CTF competitions. The smaller footprint in theory makes learning Windows security accessible to a broader audience than if we were to require participants to have more storage readily available. I was able to get my binary working by using Process Monitor to figure out what DLLs were missing and then copy them into the appropriate locations in Nanoserver during the Docker build process. But that's a messy, host-specific workaround. Definitely would like to see this feature!

In my company we have a lot of legacy code which relies on windows based 32bit software to be built and maintained, which cannot be easily changed, not least due to very strict admission requirements. As we are currently trying to upgrade our build servers, we want to switch to using containers as well, but want them to be as small as possible, as huge containers slow down the build processes. And to be honest, the gap in size between server core and nano server is ridiculous (if I may say so), if there are no intermediate stages available. A customizable version of the nanoserver (including 32bit support) would therefore be highly appreciated, just as it is possible with all those linux images out there. It would be great if you could make this possible, one way or the other!

Still interested in this!

So am I!

We're also interested in this.

Slightly offtopic: It might be worth reconsidering the fact, that today we still have to use a 32-bit installer to install VC Redist runtimes on 64 bit platforms. Having e.g. a 64 bit installer for vcredist could save a lot of time for many people trying to install the runtime in a nano-based container and only getting exit code<PHONE_NUMBER> as a result.

Thanks. What other 32-bit apps that folks wanted to run on Nano Server container?

I have some .NET code that specifically uses x86 native code. Being able to test and deploy this on the much smaller nano image would be very helpful!

How come the issue is closed by providing a 64-bit exe version of a 32-bit one, when the issue clearly says add x86 support to nano image?
A legacy piece of software few MB in size doesn't need the 5 GB+ servercore image!

Here another request for 32bits enabled nano image.
We're using legacy simulation software written in Fortran. Compiling the source to 64 bits resulted in abnormal and unreliable results.
For now we're using the 32 bits executable (10mb; command line) with a very large image.

I'd like to add another reason to the one I mentioned almost a year ago, and which is still the most important issue for me. But recently I tried to use the nano server for something else, where we probably only need programs which all do exist in 64bit versions. However, what stopped me in my tracks this time was that some of them only come with an installer package that is 32bit based. That does seem contradictory at first, but is more common than I'd like.
So even when trying to only use 64bit versions, not being able to install them directly because of the 32 bit installers make things cumbersome again. And yes, of course there are workarounds, but I've got better things to do than trying to figure these out while maintaining our intended of-the-shelf approach with as little adjustment as possible, which is hindered by it. So my workaround for now is to stick to the oversized server core images after all.

@deverouxmartin-msft  FYI.

@akarshm why is these task close and complet ??
Are you providing requested functionalities?
Can you provide links with solutions ?
In which major release we can expect solutions

+1
Please reopen this issue as its not resolved.

Ideally, there should be some apt-get install path that gradually increases functionality from a stripped-down nanoserver up to a full-blown windows image, so people can install stuff they need.


WASM support

I'm looking at using tide as a replacement for my current portable web server which can be embedded in different compile targets, one of those being WASM.  Currently, tide fails to compile due to APIs incompatible with WASM like file system access and task:::spawn.  I created a fork and have refactored code or excluded modules which cause complication failures with cfg_if  Perhaps, there's a better solution.  I also created a simple demo repo which consumes my branch. Let me know what I can do to contribute and help!  Thanks!

I'd be keen to see how this might support native Rust Cloudflare Workers.

@maxcountryman
This works pretty well inside a Rust Cloudflare worker. I wrote a blog post about it.


Update helpful-material.html

added git and GitHub resources links to Helpful-material.html

awesome


Add generic features (kenmerken) to opportunities, measures, indicators (gelegenheden, barrieres, indicatoren)

Add features also to settings page.

Not needed for now.


Unable to set ThreatDetectionPolicy on SQL Database

I am using latest version of @pulumi/azure-nextgen v0.5.1 and trying to set the DatabaseArgs like this:
    const defaultArgs: azure.sql.v20200801preview.DatabaseArgs = {
        databaseName,
        location: locationName,
        resourceGroupName: groupName,
        serverName,
        threatDetectionPolicy: {
            state: "Enabled"
        }
    };

However threatDetectionPolicy is not exposed and I cannot find a way to set it. It is supported in @pulumi/azure. Do I have to access some other API to do this or is it just not supported at this moment?
EDIT: Here is the sample from Microsoft for the ARM template that accepts this setting https://github.com/Azure/azure-quickstart-templates/blob/master/201-sql-threat-detection-db-policy-multiple-databases/azuredeploy.json#L85

Yeah, it looks like the API shape of securityAlertPolicies requires some manual intervention to map it to Pulumi API, so it's missing right now. It will be a separate resource when we expose it.

Thank you for the quick response @mikhailshilkov . Not going to hold you to it but any idea of timescale to get it in? Just trying to decide if I should use @pulumi/azure for the SQL templates.

I have it working locally, it seems. I'll run the tests and ship it, if so.

The DatabaseSecurityAlertPolicy resource will be released in 0.6.0


change number of element / hide elements (launch blocking!)

For this to work, the element_literal block needs to also change, to dynamically only offer elements that exist


Closing file causes atom-beautify to crash

Description
Hold ctrl-s for a few seconds then wait a few seconds then close the file and you get a stack trace. Notice after you hold ctrl-s for a few seconds clicking around in the file and editing it becomes very slow.
The 1.7.x saving update may be related. See #924
Atom Version: 1.7.2
System: Microsoft Windows 10 Pro
Thrown From: atom-beautify package, v0.29.6
Stack Trace
Uncaught TypeError: Cannot read property 'setScrollTop' of null
At C:\Users\Ed\AppData\Local\atom\app-1.7.2\resources\app.asar\src\text-editor-element.js:372

TypeError: Cannot read property 'setScrollTop' of null
    at atom-text-editor.TextEditorElement.setScrollTop (C:\Users\Ed\AppData\Local\atom\app-1.7.2\resources\app.asar\src\text-editor-element.js:372:28)
    at setScrollTop (file:///C:/Users/Ed/.atom/packages/atom-beautify/src/beautify.coffee:35:8)
    at file:///C:/Users/Ed/.atom/packages/atom-beautify/src/beautify.coffee:131:13

Commands
     -2:25.1.0 core:close (atom-text-editor.editor.is-focused)
     -2:24.7.0 settings-view:open (div.pane-item.native-key-bindings.about)
     -0:44.9.0 golang:updatelinters (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -0:25 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -0:14.6.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:14.6.0 snippets:expand (atom-text-editor.editor.is-focused)
     -0:14.6.0 editor:indent (atom-text-editor.editor.is-focused)
 10x -0:13.9.0 core:save (atom-text-editor.editor.is-focused)
     -0:04.6.0 core:close (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "disabledPackages": [
      "autoclose-html"
    ]
  },
  "atom-beautify": {
    "apex": {},
    "arduino": {},
    "c": {},
    "cfml": {},
    "coffeescript": {},
    "cpp": {
      "beautify_on_save": true
    },
    "cs": {},
    "css": {
      "beautify_on_save": true,
      "preserve_newlines": true
    },
    "d": {},
    "ejs": {},
    "erb": {},
    "fortran": {},
    "general": {
      "analytics": false
    },
    "gherkin": {},
    "go": {},
    "handlebars": {},
    "html": {
      "beautify_on_save": true
    },
    "jade": {},
    "java": {},
    "js": {
      "beautify_on_save": true,
      "end_with_comma": true
    },
    "json": {
      "beautify_on_save": true
    },
    "jsx": {},
    "latex": {},
    "less": {},
    "marko": {},
    "mustache": {},
    "objectivec": {},
    "pawn": {},
    "perl": {},
    "php": {},
    "python": {},
    "riot": {},
    "ruby": {},
    "rust": {
      "beautify_on_save": true
    },
    "sass": {
      "beautify_on_save": true
    },
    "scss": {
      "beautify_on_save": true
    },
    "spacebars": {},
    "sql": {},
    "svg": {},
    "swig": {},
    "tss": {},
    "twig": {},
    "typescript": {},
    "vala": {},
    "visualforce": {},
    "xml": {},
    "xtemplate": {}
  }
}

Installed Packages
# User
atom-beautify, v0.29.6
autocomplete-go, v1.0.6
builder-go, v1.0.0
environment, v1.2.0
go-config, v1.1.4
go-get, v1.0.3
go-plus, v4.1.0
gofmt, v1.1.6
gometalinter-linter, v1.1.0
gorename, v1.0.2
linter, v1.11.4
navigator-godef, v1.0.3
tester-go, v1.0.4

# Dev
No dev packages

This is a disadvantage of the new Beautify On Save implementation that was required to fix #924. Basically, the TextEditor instance must still be alive throughout the beautification process, such that the text/code can be retrieved, beautified, and then finally saved.
So my official recommendation is to simply wait for beautification to complete, if you want to use Atom >= 1.7.x and Atom-Beautify's beautify on save functionality.
If anyone would like to take a shot at improving the beautify on save, take a look at the applicable code: https://github.com/Glavin001/atom-beautify/blob/master/src/beautify.coffee#L485-L534

Notice after you hold ctrl-s for a few seconds clicking around in the file and editing it becomes very slow.

Wait a minute. Why are you holding ctrl-s and not just pressing it once? Doesn't that repeatedly save?
The current implementation will beautify on every save, so it makes sense the editor becomes slow if you are saving it repeatedly and unnecessarily.

If you accidentally hold it too long it makes the editor super slow for a long time. You end up having to have to close the file.


Support for 2019.4.15f1

my game uses version 2019.4.15f1.
when I use uabea to modify the assetbundle file, the game no longer recognizes the file

See #97, #73


Edit.OpenFile vs File.OpenFile

It's not obvious how Edit.OpenFile and File.OpenFile are different, so add a note.
Note that Edit.OpenFile is currently broken in VS2019, but set to be fixed in 16.2:
https://developercommunity.visualstudio.com/content/problem/535917/shift-ctrl-g-is-mapped-to-editopenfile-but-isnt-wo.html

@angusgraham : Thanks for your contribution! The author, @gewarren, has been notified to review your proposed change.