fix(cluster): autopipeline when keyPrefix is used

Previously the building of pipelines ignored the key prefix.
It was possible that two keys, foo and bar, might be set into
the same pipeline. However, after being prefixed by a configured
"keyPrefix" value, they may no longer belong to the same
pipeline.
This led to the error:
"All keys in the pipeline should belong to the same slots
allocation group"
Amended version of https://github.com/luin/ioredis/pull/1335/files - see comments on that PR
This may fix #1264 and #1248.

Keys will hash to different nodes and, therefore, wouldnt allow them to be used inside the same pipeline or am I missing something?

Keys will hash to different nodes and, therefore, wouldnt allow them to be used inside the same pipeline or am I missing something?

I'm not quite sure what you mean. If there are 6 different keys and 5 different nodes, at least two of the keys will go to the same node because of https://en.wikipedia.org/wiki/Pigeonhole_principle
The issue is that when a cluster was used, we need to use the prefixed key (prefixed + args[0]) to compute the destination node, not the unprefixed key (args[0])

https://github.com/invertase/cluster-key-slot/blob/62a7bce30c668f83c89f331943e882d2c92899c0/lib/index.js#L147 in this case, there's 16384 possible values from 0 to 0x3FFF and there would be collisions if there were more than 16384 keys, and even with a few hundred keys there are likely to be false positive hash collisions due to https://en.wikipedia.org/wiki/Birthday_problem

An example of the failure seen running this without the patch. With this patch, it succeeds
const IORedis = require('./built');
const process = require('process');
async function main() {
    // Using instructions from https://redis.io/topics/cluster-tutorial
    // redis-cli --cluster create <IP_ADDRESS>:7000 <IP_ADDRESS>:7001 <IP_ADDRESS>:7002 --cluster-replicas 0
    const redis = new IORedis.Cluster([{ host: '<IP_ADDRESS>', port:7000 }], { keyPrefix: 'test:', enableAutoPipelining: true });
    const requests = [];
    for (let i = 0; i < 10; i++) {
        requests.push(redis.get(`k${i}`));
    }
    const results = await Promise.all(requests);
    console.log(results);
    process.exit(0);
}
main();

(node:25595) UnhandledPromiseRejectionWarning: Error: All keys in the pipeline should belong to the same slots allocation group
    at Pipeline.exec (/path/to/ioredis/built/pipeline.js:255:29)
    at Immediate.executeAutoPipeline (/path/to/ioredis/built/autoPipelining.js:35:14)
    at processImmediate (internal/timers.js:463:21)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:25595) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:25595) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

finally realized this is only related to auto pipelining, change makes sense to me

This is ready for another look

@luin this LGTM, what do you think?

My changes since the last review are minor:

Fixed remaining lint errors, including for prefix.
Updated package-lock.json because I'd accidentally used an npm registry mirror globally

@luin this LGTM, what do you think?

LGTM! Thanks @TysonAndre


[style]: Add a custom scroll bar

What's the style idea?
Change the basic scroll bar to a custom stylish scroll bar.
Add screenshots
Add screenshots
Code of Conduct

[X] I agree to follow this project's Code of Conduct

can you share any design @harshit-002

@himanshu1221

@himanshu1221

Looks revant to mee assigning you @harshit-002


Using an Azure Cognitive Search from another resource group, but same subscription

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

any chat

Any log messages given by the failure

2023-06-28T20:18:48.919204349Z ERROR:root:Exception in /chat
2023-06-28T20:18:48.919276950Z Traceback (most recent call last):
2023-06-28T20:18:48.919283850Z   File "/tmp/8db78141f8ae78f/app.py", line 116, in chat
2023-06-28T20:18:48.919288350Z     r = impl.run(request.json["history"], request.json.get("overrides") or {})
2023-06-28T20:18:48.919292750Z   File "/tmp/8db78141f8ae78f/approaches/chatreadretrieveread.py", line 87, in run
2023-06-28T20:18:48.919311150Z     results = [doc[self.sourcepage_field] + ": " + nonewlines(doc[self.content_field]) for doc in r]
2023-06-28T20:18:48.919316150Z   File "/tmp/8db78141f8ae78f/approaches/chatreadretrieveread.py", line 87, in
2023-06-28T20:18:48.919320850Z     results = [doc[self.sourcepage_field] + ": " + nonewlines(doc[self.content_field]) for doc in r]
2023-06-28T20:18:48.919324850Z   File "/tmp/8db78141f8ae78f/antenv/lib/python3.10/site-packages/azure/search/documents/_paging.py", line 54, in next
2023-06-28T20:18:48.919346750Z     return next(self._page_iterator)
2023-06-28T20:18:48.919350650Z   File "/tmp/8db78141f8ae78f/antenv/lib/python3.10/site-packages/azure/core/paging.py", line 76, in next
2023-06-28T20:18:48.919354350Z     self._response = self._get_next(self.continuation_token)
2023-06-28T20:18:48.919357850Z   File "/tmp/8db78141f8ae78f/antenv/lib/python3.10/site-packages/azure/search/documents/_paging.py", line 114, in _get_next_cb
2023-06-28T20:18:48.919361650Z     return self._client.documents.search_post(
2023-06-28T20:18:48.919365050Z   File "/tmp/8db78141f8ae78f/antenv/lib/python3.10/site-packages/azure/core/tracing/decorator.py", line 76, in wrapper_use_tracer
2023-06-28T20:18:48.919368750Z     return func(*args, **kwargs)
2023-06-28T20:18:48.919372250Z   File "/tmp/8db78141f8ae78f/antenv/lib/python3.10/site-packages/azure/search/documents/_generated/operations/_documents_operations.py", line 782, in search_post
2023-06-28T20:18:48.919375950Z     raise HttpResponseError(response=response, model=error)
2023-06-28T20:18:48.919379550Z azure.core.exceptions.HttpResponseError: Operation returned an invalid status 'Forbidden'

Expected/desired behavior

chat works

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
MacOS Ventura

azd version?

run azd version and copy paste here.
azd version 1.0.2

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

Update: I tried to add the backend web app to the search service through IAM, but still get this error
023-06-28T23:58:59.994670383Z ERROR:root:Exception in /chat
2023-06-28T23:58:59.994719483Z Traceback (most recent call last):
2023-06-28T23:58:59.994724883Z   File "/tmp/8db78301cf265df/app.py", line 116, in chat
2023-06-28T23:58:59.994728583Z     r = impl.run(request.json["history"], request.json.get("overrides") or {})
2023-06-28T23:58:59.994732483Z   File "/tmp/8db78301cf265df/approaches/chatreadretrieveread.py", line 87, in run
2023-06-28T23:58:59.994735983Z     results = [doc[self.sourcepage_field] + ": " + nonewlines(doc[self.content_field]) for doc in r]
2023-06-28T23:58:59.994739683Z   File "/tmp/8db78301cf265df/approaches/chatreadretrieveread.py", line 87, in
2023-06-28T23:58:59.994743383Z     results = [doc[self.sourcepage_field] + ": " + nonewlines(doc[self.content_field]) for doc in r]
2023-06-28T23:58:59.994746583Z   File "/tmp/8db78301cf265df/antenv/lib/python3.10/site-packages/azure/search/documents/_paging.py", line 54, in next
2023-06-28T23:58:59.994749783Z     return next(self._page_iterator)
2023-06-28T23:58:59.994752983Z   File "/tmp/8db78301cf265df/antenv/lib/python3.10/site-packages/azure/core/paging.py", line 76, in next
2023-06-28T23:58:59.994756183Z     self._response = self._get_next(self.continuation_token)
2023-06-28T23:58:59.994759383Z   File "/tmp/8db78301cf265df/antenv/lib/python3.10/site-packages/azure/search/documents/_paging.py", line 114, in _get_next_cb
2023-06-28T23:58:59.994762683Z     return self._client.documents.search_post(
2023-06-28T23:58:59.994774583Z   File "/tmp/8db78301cf265df/antenv/lib/python3.10/site-packages/azure/core/tracing/decorator.py", line 76, in wrapper_use_tracer
2023-06-28T23:58:59.994778283Z     return func(*args, **kwargs)
2023-06-28T23:58:59.994781383Z   File "/tmp/8db78301cf265df/antenv/lib/python3.10/site-packages/azure/search/documents/_generated/operations/_documents_operations.py", line 782, in search_post
2023-06-28T23:58:59.994784783Z     raise HttpResponseError(response=response, model=error)
2023-06-28T23:58:59.994788183Z azure.core.exceptions.HttpResponseError: Operation returned an invalid status 'Forbidden'

Hi,
I am also facing the same problem

I think one aspect is to make sure you store the documents in a storage blob, but what if you store Json, do you need to change this code in the app.py file?

I have added a specific section to the readme about using a search service from another resource group. It should work fine (per the tests I've done) but if you're getting forbidden errors, please make sure the roles are also set up appropriately for the app service to access the search service.

Closing this issue, but please comment or open a new issue if you believe there's an open issue.


change how background sync works

previously we were relying on the os-dependent syscall.SysProcAttr to detach the ultralist sync call from the parent.
However, the windows-specific SysProcAttr struct does not include Setpgid and Pgid attributes, and therefore I could not compile ultralist for windows.
This is now solved using the os-agnostic os.StartProcess, followed by the Release command.
closes #154

I need help validating that this will work on windows, darwin, etc.  I have validated that it works fine with linux.

I had the problem on #154 , I can confirm that it starts at least, but I don't use the sync function so I can't verify that that works


Add prompttools + presentation touch ups

@TevinWang updated the things except the links to lancedb. Let me know if this is good to merge


perf: use teamsfx auth provider for graph toolkit sample

Thats looks absolutely fine to me here! I will be merging the @microsoft/mgt-teamsfx-provider package so you can use our next version package to get rid of your local package!
npm i<EMAIL_ADDRESS>

Great, thank you @sebastienlevert  !


Fix: SmartObject is in nette/utils 2.4.0

SmartObject is in nette/utils 2.4.0 (https://github.com/nette/utils/releases/tag/v2.4.0). It is not in version 2.3.10 so that require is not enough.

@Spilky Uups, thank you!


What is Expected?
https://community.chocolatey.org/packages/stevedore has latest version of 0.6.1. However, if one queries latest version via chocolatey.org API then they get unrelated data
How Did You Get This To Happen? (Steps to Reproduce)
Open https://www.chocolatey.org/api/v2/Packages()?%24filter=Id+eq+%27stevedore%27+and+IsLatestVersion+eq+true
Expected: you get info about stevedore version 0.6.1.
Actual: you're redirected to some other random package (often, it is either notepadplusplus, openjdk or 7zip).
Downstream issue: https://github.com/badges/shields/issues/7931
https://img.shields.io/chocolatey/v/stevedore

Output Log
$ curl -I "https://www.chocolatey.org/api/v2/Packages()?%24filter=Id+eq+%27stevedore%27+and+IsLatestVersion+eq+true"
HTTP/2 301
date: Wed, 11 May 2022 12:58:16 GMT
content-type: text/html
location: https://chocolatey.org/api/v2/Packages()?$filter=(tolower(Id)%20eq%20'notepadplusplus')%20and%20IsLatestVersion&includePrerelease=false&$top=100&includeAllVersions=false
x-github-request-id: 6B0A:3AD6:333709:350E53:627BA4F7
accept-ranges: bytes
via: 1.1 varnish
age: 3569
x-served-by: cache-hhn4058-HHN
x-cache: HIT
x-cache-hits: 2
x-timer: S1652273897.637157,VS0,VE0
vary: Accept-Encoding
x-fastly-request-id: 708c1e7113f70f2d7df9c0515b0a8169138ff579
cf-cache-status: DYNAMIC
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
strict-transport-security: max-age=12960000
x-content-type-options: nosniff
server: cloudflare
cf-ray: 709b15cddda7900a-FRA

The only supported method of querying the Chocolatey Community Repository is using Chocolatey CLI or Chocolatey.Lib

I doubt either of these is suitable for https://shields.io/
@calebcartwright I'm not sure how to proceed from here.

Just to follow-up, your query works for me and another member of the team. So regardless of it not being supported, the issue doesn't look to be at Chocolatey's side.
HTTP/1.1 301 Moved Permanently
Date: Wed, 11 May 2022 15:13:07 GMT
Content-Type: text/html
Connection: keep-alive
location: https://chocolatey.org/api/v2/Packages()?%24filter=Id+eq+%27stevedore%27+and+IsLatestVersion+eq+true
x-github-request-id: A962:3F0D:1E658A:31AE76:627BD132
accept-ranges: bytes
via: 1.1 varnish
age: 337
x-served-by: cache-lcy19220-LCY
x-cache: HIT
x-cache-hits: 1
x-timer: S1652281988.547203,VS0,VE1
vary: Accept-Encoding
x-fastly-request-id: ed19992be4ea87439cd654eeb03b1d20a52566e5
CF-Cache-Status: DYNAMIC
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Strict-Transport-Security: max-age=12960000
X-Content-Type-Options: nosniff
Server: cloudflare
CF-RAY: 709bdb55e8c2067e-LHR

Does it make any difference if you use community.chocolatey.org instead of chocolatey.org (chocolatey.org is no longer the Chocolatey Community Repository).

We're a bit bifurcated across two different issues now but will respond to a few items here:

Just to follow-up, your query works for me and another member of the team. So regardless of it not being supported, the issue doesn't look to be at Chocolatey's side

We'd noted the same on our end, with the redirects working for those in certain geos while issuing a bad redirect for requests originating from other geos. I'm still readily able to consistently reproduce the bad redirect behavior (from the US), while my colleague in the UK is getting a good redirect. That still sounds like an issue on the Chocolatey side to me.

The only supported method of querying the Chocolatey Community Repository is using Chocolatey CLI or Chocolatey.Lib. Direct queries against the website are not guaranteed to work.

Hmm. I can understand this in terms of what the chocolatey team recommends/is willing to support/etc., but I'd have to assume that the distributed executable and sdk are both still reliant on the same backend API, no?
From the Shields side, we integrate with a large number of backends via their APIs, and have been using the Chocolatey API (which I believe is the standard NuGet API?) successfully for quite some time. The current redirect issue is a fairly new phenomenon, but if you have concerns with us consuming the API in general then please let us know so we can react accordingly, including dropping our support for Chocolatey badges if need be, as we want to ensure we're being good citizens/consumers too!

We'd noted the same on our end, with the redirects working for those in certain geos while issuing a bad redirect for requests originating from other geos.

Interestingly, I'm observing both good and bad behavior from the same machine in Frankfurt.
Good
$ curl -I 'https://www.chocolatey.org/api/v2/Packages()?%24filter=Id+eq+%27stevedore%27+and+IsLatestVersion+eq+true'
HTTP/2 301
date: Wed, 11 May 2022 15:42:56 GMT
content-type: text/html
location: https://chocolatey.org/api/v2/Packages()?%24filter=Id+eq+%27stevedore%27+and+IsLatestVersion+eq+true
x-github-request-id: 2E2C:AEA2:85947E:898A65:627BD97D
accept-ranges: bytes
via: 1.1 varnish
age: 3
x-served-by: cache-hhn4072-HHN
x-cache: HIT
x-cache-hits: 1
x-timer: S1652283777.631065,VS0,VE1
vary: Accept-Encoding
x-fastly-request-id: 6280d2046e891d445c817cb47774ef1c72dc44cf
cf-cache-status: DYNAMIC
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
strict-transport-security: max-age=12960000
x-content-type-options: nosniff
server: cloudflare
cf-ray: 709c0703c9d36949-FRA

Bad (just a second later!)
$ curl -I 'https://www.chocolatey.org/api/v2/Packages()?%24filter=Id+eq+%27stevedore%27+and+IsLatestVersion+eq+true'
HTTP/2 301
date: Wed, 11 May 2022 15:42:57 GMT
content-type: text/html
location: https://chocolatey.org/api/v2/Packages()?$filter=(tolower(Id)%20eq%20'jq')%20and%20IsLatestVersion&includePrerelease=false&$top=100&includeAllVersions=false
x-github-request-id: 3B0C:9B58:12E46A:151D53:627BD153
accept-ranges: bytes
via: 1.1 varnish
age: 2094
x-served-by: cache-fra19179-FRA
x-cache: HIT
x-cache-hits: 1
x-timer: S1652283778.701284,VS0,VE1
vary: Accept-Encoding
x-fastly-request-id: 9b9a9ef23e5b4090fbdd1f2030f8da1e08218c53
cf-cache-status: DYNAMIC
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
strict-transport-security: max-age=12960000
x-content-type-options: nosniff
server: cloudflare
cf-ray: 709c070a7a59917a-FRA

Wild guess: could this be related to HTTP/2? I noticed that both @calebcartwright and me use HTTP/2, but @pauby uses HTTP/1.1

The issues are not the consumption of the API but with the direct queries to oData. We reserve the right to change or break behaviour in the Chocolatey API.
The Chocolatey Community Repository is intended to be queried and used by Chocolatey CLI and Chocolatey.Lib. If you're using it another way, we can't support that. Your queries may work now, but YMMV in future.

I'm going to go ahead and close this issue as you're unblocked. However, we can always open it again if need be.


redis.info() returns a RESP bulk string instead of a parsed data

Hello!
Thank you for this great library!
However, the redis.info() method returns a RESP bulk string instead of a parsed data. This is very inconvenient for the library users because they need to manually parse this string somehow and the TypeScript declarations are missing for this data as well. I think that the purpose of the library is to abstract away this low-level parsing details.
The internal library code will also benefit from this because you already have an ad-hoc code that parses this info data.
Thanks!

Hey @slavafomin 👋,
Returning parsed data would introduce a breaking change, which I don't believe is worthwhile since parsing it on the client side is relatively simple. Does it make sense to you?


Fixing Header in top in shop section.

Issue Reference
Fixing Header in top in shop section.

@amit-webkul
Checked and Found that the header issues has been fixed and working fine now, please check the video below.
Video
https://github.com/bagisto/bagisto/assets/92721837/dfc67cb9-e24e-46a0-b2d0-0d1d3d5105af


Wayland Native Support

Thank you very much for posting this repository.
It's been on my 'would be nice, but don't have time' list for years. Glad to see you've got it working!
I recognize this may be intended as a proof of concept project; however, was hoping to run this in a native Wayland environment. Unfortunately, though latency looks good in your vid, TK doesn't appear to support Wayland.
What steps would be needed to integrate an alternative canvas that can run on Wayland? Happy to test and/or get some work started if you might have some tips on where to start bzw. the python script

Well, thanks for your interest! To be honest, I've never used Wayland before, and sooner or later switched all my systems to X11 (nvidia drivers, xfce, forced hdmi resolution in xorg.conf, ...) because as a user I could never be bothered by the differences, so this is quite new to me
The actual canvas is handled by a class Sketchpad, inherited from tk.Canvas in https://github.com/s12wu/OnlineHTR/blob/main/src/data/acquisition.py#L132.
What it does is draw dots on mouse events and store (x, y, time) tuples into the global_strokes list we later pass to predict()
global_strokes = [
  [(x, y, t), (x, y, t), (x, y, t), ...], # first stroke between pen down and up
  [(x, y, t), (x, y, t), (x, y, t), ...], # second stroke
  # ...
]

So any canvas widget we can get these coordinates from could be used.
At the moment the predict() function still gets passed a tkinter text widget (prediction_field) into which it writes the recognized text, but this can easily be removed - it is already returning the text as a string either way.
inkpad.py obviously needs to be rewritten, but the detection stuff should be just fine.

Just to be sure, a GTK3/4 ui would do the job?

So I tried to recreate the tkinter UI in gtk4: https://github.com/s12wu/inkput/blob/gtk/gtk_ui.py
Jus the drawing part, no recognition is implemented there.
However, I couldn't figure out how to make the window stay in the foreground and not get focus, since there is no override redirect that can be used. That makes it unusable, at least under GNOME.


Added the Simplified Chinese translation

Thank you so much for your contribution @j1wu.
Merging.
Can I reach out to you in-case there are any changes that needs to be done here or to review changes by other contributors?

Thank you Roshan for providing such a nice opportunity for me to be able to contribute :)


fix: [Performance] Improvements in Columnview

The columnview takes some time to load when number of items increases. As the number of items increases the time to load increase.
Description
We have tried to decrease the loading time for columview. Below are the changes are we introducing :
a) Avoid the re-execution of code in case the property value already set.
b) Avoid memory leak in case the element is constructed but never added in DOM and weakmap in resize observer. The related change would be : https://github.com/adobe/coral-spectrum/pull/185/files#diff-e1ff43dbdd4c750dc77c24168dc5abbff2b7c89a1d0c9662fdb8100b2d916838R848 and https://github.com/adobe/coral-spectrum/pull/185/files#diff-878f0bc86b366d31023935e26fe2a5979cfd2c339121a36dbe3ee390472a0f87R112
c) Avoid layout shift in case of columnview : https://github.com/adobe/coral-spectrum/pull/185/files#diff-dc5fc2190dfe5d4f7fea0520edcebaabe866c940be8d5fafde3b8fbe794137b7R1137
d) In chrome avoid unnecessary creation of composite layer for columnview checkbox : https://github.com/adobe/coral-spectrum/pull/185/files#diff-409834132731d532cd858238b664760b22474ed40ffad964cf763a2b8d2c6db1R153
Related Issue
Adobe internal  : https://jira.corp.adobe.com/browse/GRANITE-35536 , https://jira.corp.adobe.com/browse/GRANITE-35535 and https://jira.corp.adobe.com/browse/GRANITE-35548
Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.

Hi @majornista ,
Please review the PR and also please check this change :  instead of adding the accessibilityState as first child, would it be fine if we simply append it : https://github.com/adobe/coral-spectrum/pull/185/files#diff-dc5fc2190dfe5d4f7fea0520edcebaabe866c940be8d5fafde3b8fbe794137b7R1137


how to compile a riot-tag with external style sheet

Can you please give an example of how to compile a riot-tag with external style sheet?

We recommend you compile the tags and the styles separately. So that you can use your favourite build tools for your css (e.g. postcss):
# compile tags
riot --ext tag.html modules/ dist/tags.js

# compile css separately, for example with postcss
postcss --use autoprefixer-o dist/tags.css modules/**/*.css

And load that css in separately as well:
<!-- in dist/index.html -->
<html>
<head>
  <link rel="stylesheet" href="./tags.css">
</head>
<body>
  <my-root-tag>initial content</my-root-tag>
  <script src="./tags.js"></script>
</body>
</html>

We're basically doing the same in this todo-app example but without a css pre-compile step.
Hope that answers your question.

Some additional clarification: your folder structure would be something like this
dist
    tags.css
    tags.js
    index.html
src
    modules
        app
            app.tag.html
            app.css
            README.md
        nav-menu
            nav-menu.tag.html
            nav-menu.css
            README.md

All css (modules/**/*.css, which means modules/app/app.css and modules/nav-menu/nav-menu.css in this example) gets compiled into dist/tags.css. The dist folder is built by your build process. Hope this helps

Thank you for these very detailed examples, now it is clear how it suppose to work ;-)
I still have one concern though... how is the CSS-namespace managed properly?
(e.g. two different riot-tags have different styles for <h1>?)

Concerning name spacing / scoping of your styles to a tag: Styles we only want applied to elements within a riot tag, we prefix with that tag, e.g. my-tag h1 or if BEM my-tag__title (see Use tag as style scope). But styles we simply want applied to everything on the page, we might place in a modules/app/app.css or modules/core/core.css and just scope them directly to the selector, e.g. h1 { font-size: 2rem; }. If you are using a css processor which supports imports you could even declare your dependencies. So inside modules/my-tag/my-tag.css you could put @import "../core/core.css" etc.


WIP: OSX style textbox keyboard shortcuts.

This template is not intended to be prescriptive, but to help us review pull requests it would be useful if you included as much of the following information as possible:

What does the pull request do?
It adds OSX style textbox key gestures, for example on OSX the copy command will be CMD + C, not Control + C.

What is the current behavior?
Windows style gestures on all platforms.

What is the updated/expected behavior with this PR?
Mac users will now feel at home :)

This needs a bit more thought, since we don't want to pollute our controls with platform specific code.

It's probably better to create some kind of PlatformHotKeysConfiguration and register it from windowing platfrom. Special input mask seems like a hack.

class PlatformHotkeysConfiguration
{
      public InputModifier CommandInputModifier = InputModifiers.Control;
      public KeyGesture CopyCommand = new KeyGesture(){InputModifiers=InputModifiers.Control, Key =  Keys.C};
}


Add binary-mode versions of file handle utilities

These are the additions discussed in #51, and the last of my new ideas at the moment.

Alright, I uploaded the recent changes to Hackage


React Native in privileged processes

Environment
  React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
      Memory: 7.65 GB / 32.00 GB
      Shell: 5.5.1 - /usr/local/bin/zsh
    Binaries:
      Node: 10.8.0 - ~/.asdf/shims/node
      Yarn: 1.12.3 - /usr/local/bin/yarn
      npm: 6.2.0 - ~/.asdf/shims/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
      Android SDK:
        Build Tools: 23.0.1, 25.0.1, 26.0.3, 27.0.3, 28.0.2, 28.0.3
        API Levels: 23, 25, 26, 28
    IDEs:
      Android Studio: 3.1 AI-173.4907809
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.4.1 => 16.4.1
      react-native: 0.56.0 => 0.56.0
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-git-upgrade: 0.2.7

Description
Hi There! I checked stack overflow but this is a weird one!
I'm currently developing a system app for Android that will run React Native on the view layer. However, when adding:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    android:sharedUserId="android.uid.system" <-- this line
    xmlns:tools="http://schemas.android.com/tools">

To the AndroidManifest.xml, I see the following error (on react-native run-android):
java.lang.UnsupportedOperationException: For security reasons, WebView is not allowed in privileged processes

~When I build the app as a release, the error doesn't show, so I'm guessing the WebView it's talking about is some type of developer tool.~
Scratch that - it appears to happen for debug and release builds.
Is there a way around this when developing a system app with React Native? Can I disable this tool?
Reproducible Demo

Obtain the Platform keys for an Android AOSP Image
Add the above line to the AndroidManifest.xml
Setup Gradle to sign the debug build with the Platform keys, and ensure you're running the app on a device with the Android AOSP Image installed (that the platform keys correspond to)
run react-native run-android

Well, I think when https://github.com/react-native-community/discussions-and-proposals/pull/3 will be implemented and then WebView core component will be removed you will be allowed to use stock RN code. Until that you only option is fork RN code and remove all references to WebView manually (AFAIK).


Convert stamps to nokogiri

Generate XML using Nokogiri
Also, stamps.com actually managed to update their SSL implementation, so we no longer require SSLv3.

Seems sane. :shipit:


How easy to use image root without ../../../home/1.jpg, I want to home / 1.jpg

How easy to use image root without ../../../home/1.jpg, I want to home / 1.jpg

@janjon you need to add 1.jpg's path to webpack's module_directories then use it like so ~1.jpg.

@janjon @elektronik2k5 Please don't use the modules_directories option for this. resolve.root is better for this purpose. module_directories will traverse all folders up to / similar like node does with node_modules.


sidecar toolbar SVGs aren't themed

stuck at a fixed fill of #525252

ah, this only affects toolbar button svgs with a wrapped carbon tooltip


fixed a typo xrange() -> range()

xrange() is deprecated in Python 3.x. consider using range() instead.

looks reasonable to me!


Font Spacing/Rendering issue on Yosemite

Compared with native terminal MacVim renders fonts very poorly on os x 10.9

Screenshot is of terminal on the left and macvim on the right
Font is Anonymous Pro, but the effect is visible for all fonts.

Specifically: text is jammed too tightly (spacing seems off), this is I think
due partially to poor anti-aliasing, but its also just an issue with characters
being spaced too close together (see second screenshot with larger fonts)

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 1 Jan 2015 at 12:42
Attachments:

[Screen Shot 2014-12-31 at 4.37.28 PM.png](https://storage.googleapis.com/google-code-attachments/macvim/issue-522/comment-0/Screen Shot 2014-12-31 at 4.37.28 PM.png)
[Screen Shot 2014-12-31 at 4.40.25 PM.png](https://storage.googleapis.com/google-code-attachments/macvim/issue-522/comment-0/Screen Shot 2014-12-31 at 4.40.25 PM.png)

This issue was moved to macvim-dev/macvim#21


Update CONTRIBUTING.md

Adding prettier and eslint information

Codecov Report

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

@@           Coverage Diff           @@
##           master      #86   +/-   ##
=======================================
  Coverage   96.55%   96.55%
=======================================
  Files           4        4
  Lines         116      116
  Branches       24       24
=======================================
  Hits          112      112
  Misses          4        4

Continue to review full report at Codecov.

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


Copy relevant prototype code over to the main repo

Drop helloworld, sql, and testing_data_files folders as those were just for testing/examples
Drop python/main.py, python/requirements.in, and python/requirements.txt. These were just for testing with cloud functions.
Copy README over, minus some cloud function details
Update .github/workflows to match prototype
Remove terraform setup for cloud functions and BQ testing tables.

Can we put files that are specific to a service in the owning service directory? For instance all the _to_bq.py code can live in the run_gcs_to_bq directory right? Similar to Jennie's comment, I think we can move util.py to the top level directory and use the ingestion directory for resources shared between services.

I think there are some good reasons to keep almost all python code in the python/ folder. It simplifies refactoring/reusing code, which especially given the micro-services approach we've taken I think is really valuable. Eg, you can spin up a new service and immediately start reusing code without any extra work, you can refactor code to share between two services without moving/restructuring files and deps, etc. This is loosely modeled after Google's "monorepo" strategy, but instead of it being a "monorepo" it's a "monofolder" where all python code is under one directory. Also worth noting that this setup doesn't preclude splitting out packages within the python/ folder. Eg you could have:
python/
  -> gcs_to_bq/
  -> upload_to_gcs/
  // for shared ingestion logic
  -> ingestion/

I just started with everything in ingestion/ because I wasn't sure which things belonged where and it was easier to start with this, but I do think it likely makes sense to split this up at some point.

Do we still need to keep the python/ingestion directory structure now that we've removed cloud functions? What's stopping us from bumping ingestion to a top level directory?

It could definitely go at the top-level. I do somewhat prefer this setup for a few reasons, though I'm less opinionated on this piece:

Easy to add or split up packages without polluting the root-level. For example, it's easy to distinguish at the root level which directories are entry points for cloud run services, whereas business logic is under python/
Less boilerplate for the Dockerfile - you can just copy the whole python directory over instead of doing once per package. This is a minor point though since you have to modify the Dockerfile to install packages anyway.

Lmk what you all think or if I'm missing some reason it makes sense to do this differently.

Lmk what you all think or if I'm missing some reason it makes sense to do this differently.

If this structure will set us up for extensibility, lgtm.

Do we still need to keep the python/ingestion directory structure now that we've removed cloud functions? What's stopping us from bumping ingestion to a top level directory?

It could definitely go at the top-level. I do somewhat prefer this setup for a few reasons, though I'm less opinionated on this piece:

Easy to add or split up packages without polluting the root-level. For example, it's easy to distinguish at the root level which directories are entry points for cloud run services, whereas business logic is under python/
Less boilerplate for the Dockerfile - you can just copy the whole python directory over instead of doing once per package. This is a minor point though since you have to modify the Dockerfile to install packages anyway.

Lmk what you all think or if I'm missing some reason it makes sense to do this differently.

The main reason I see for moving up a level would be that the current setup requires all services to import all libraries from every file even if they don't need them. It could be that it's not a big deal, but importing large libraries like pandas, etc. could cause unnecessary bloat in the image files. When I was testing, my cloud run images were hitting upwards of 200MB.
I think it's okay to table this for now and come back to it if it becomes a problem.

The main reason I see for moving up a level would be that the current setup requires all services to import all libraries from every file even if they don't need them. It could be that it's not a big deal, but importing large libraries like pandas, etc. could cause unnecessary bloat in the image files. When I was testing, my cloud run images were hitting upwards of 200MB.

As far as having ingestion at the root level vs inside the python directory, that shouldn't make a difference. The reason they're bloated is because I moved all the ingestion code into one package python/ingestion. I do think it makes sense to split that up, but I think the way it was split earlier wasn't allowing for shared logic so I think a little more work needs to happen there. Eg have an ingestion package that has shared logic, a data_processing package that just has the pandas code, etc. Also as a side note, copying the whole python/ folder in the Dockerfile just copies our code, doesn't actually install the deps, so I think that's fairly harmless.
I filed https://github.com/SatcherInstitute/health-equity-tracker/issues/48 for this

Fixed linter issues and resolved comments, take a look and let me know if there are any more changes I should make. Thanks!


(CVL-599) Remove package-manager logic

We previously were trying to determine the python package manager in two places, here and within the python-orb. To keep consistent, remove the package manager code from here and just use the logic in the python orb.
See: https://github.com/CircleCI-Public/python-orb/pull/116
This cannot be merged until the python-orb changes are merged.
Tested this with a dev version of the python orb and generated configs from a python project.

Closing in favor of a deeper dive into supporting setuptools


fix(mae-consumer): fix regression on base64 encoding

Pull request #5827 introduced a regression by removing coreutils from the mae-consumer Dockerfile (coreutils was added in #3723). This broke the base64 call in the startup script s.th. the Elasticsearch auth header will not be correctly set when username and password are provided.
To make sure that the startup script fails on these errors in the future, set -euo pipefail which lets the bash script fail on errors and unset variables. Also refactor the startup script to make it more stable and readable.

Thank you for this PR @codesorcery, this was an oversight on my part! Weird that during testing this was not caught... The smoke tests don't seem to be passing. Are you able to take a look?

Hey @pedro93 , found some small mistakes within my changes. Shouldn't really have anything to do with the failing smoke tests, but let's see if this already fixes the tests.


Put minimal POC Referral Handler Service on fixed IP

AC needs a fixed IP address to connect to the Referral Handler Service.

From @svalluripalli : Usually how we do things is - APIM -> Azure App Service (Private endpoint) so only your APIM is public and Azure App Service is internal private endpoint.


PAMP-triggered immunity

PAMP- triggered immunity (PTI) usually first line of defence

Upon association with PAMPs, the pattern-recognition receptors activate a downstream mitogen-activated protein kinase signaling cascade that culminates in transcriptional activation and generation of the innate immune responses.
For PTI
I find . GO:0002221 pattern recognition receptor signaling pathway
Any series of molecular signals generated as a consequence of a pattern recognition receptor (PRR) binding to one of its physiological ligands. PRRs bind pathogen-associated molecular pattern (PAMPs), structures conserved among microbial species, or damage-associated molecular pattern (DAMPs), endogenous molecules released from damaged cells. PMID:15199967
so NTR could be a child of GO:0002221
NTR PAMP-triggered immunity signalling pathway
Any series of molecular signals generated as a consequence of a pattern recognition receptor (PRR) binding to one of its physiological ligands to activate a plant innate immune response. PAMP-triggered immunity PRRs bind pathogen-associated molecular pattern (PAMPs), structures conserved among microbial species.
exact synonym PTI signalling
~I would also be happy for this to be a synonym. BUT I'm a bit concerned about the mention of damage-associated molecular pattern (DAMPs) because these AFAIK are not innate immune response, they are inflammatory response. I really think these should be split.~
the DAMPs are also regulating the immune response via  damage detection
Note that I could also use:
GO:0035420 MAPK cascade involved in innate immune response (0 annotations)
it might be best to get rid of this ?

@pgaudet  I think we. should to this becasue the plant reannotation for  "resistance -gene independence"
will require this new immune process linked  PRR signalling term

[Term]
id: GO:0140426
name: PAMP-triggered immunity signalling pathway
namespace: biological_process
def: "Any series of molecular signals generated as a consequence of a pattern recognition receptor (PRR) binding to one of its physiological ligands to activate a plant innate immune response. PAMP-triggered immunity PRRs bind pathogen-associated molecular pattern (PAMPs), structures conserved among microbial species." [PMID:25744358]
comment: Created new term, see https://github.com/geneontology/go-ontology/issues/18588.
synonym: "MAMP-triggered immunity signalling" EXACT []
synonym: "pathogen-associated molecular pattern signalling" EXACT []
synonym: "PTI signalling" EXACT []
is_a: GO:0002221 ! pattern recognition receptor signaling pathway
is_a: GO:0002758 ! innate immune response-activating signal transduction
created_by: pg
creation_date: 2020-02-11T11:08:57Z


Permission error

When running the program twice from the gui (win 10), I get a permission error:
PermissionError: [Errno 13] Permission denied: 'backup.pkl'
Steps to reproduce the behavior:

install GHEtool gui (win 10)
run GHetool gui
click on 'Calculate current scenario' -> results shown fine
click on 'Calculate current scenario' again (no additional actions) -> crash, application closes (see screenshot in attachment)

Hi honeypottt,
We are working on this issue. It should be fixed in the new GUI version. For now you can try to run the programm in admin mode.
With best regards
tblanke

Hi honeypottt,
We are working on this issue. It should be fixed in the new GUI version. For now you can try to run the programm in admin mode.
With best regards tblanke

Can confirm admin mode works. Thanks

Should be fixed in the new gui, already available in branch v2.1.0, which is going to be released soon.


Improve Ux experience

•It would be nice if there’s a section on the user profile where the user can see connected wallet.
•Also a User should be able to switch wallets too.

The wallet only used during sending the transaction, and the connected account can be switched by changing the account on the connected wallet. Connected wallet can be switched by just simply reloading.

The wallet only used during sending the transaction, and the connected account can be switched by changing the account on the connected wallet. Connected wallet can be switched by just simply reloading.

But reloading takes one back to login page sir


The minimum of 1 damage loses its type

I used: [[/r 0[fire]]]

I wrote up: https://github.com/foundryvtt/pf2e/pull/7091 - it handles this case, but I noticed a command of [[/r 0[fire]+0[cold]]] loses its typing for the roll, so still applies 1 damage despite immunity/resist.


Make property readonly when possible

Not sure what is required of me in this PR. Should the lines marked as "incorrectly refactored" be reverted? Or what am I approving here?


Bot not playing any audio, silent-failure (no error)

I am running the https://github.com/serenity-rs/songbird/tree/a85a1f08e15541eed9ea026423d9ed6697f390ec/examples/serenity/voice example.
The bot doesn't play anything when I run ~join then ~play <url>

Before Edit:
I am trying to use songbird with a poise bot I am working on, but it doesn't play any audio when I call the following:
let source = songbird::ytdl(url).await.unwrap();

let (call, _) = songbird::get(context)
    .await
    .unwrap()
    .join(guild_id, channel_id)
    .await;

call.lock().await.play_source(source);

songbird is registered using the following:
poise::Framework::builder()
    ...
    .client_settings(|client| client.register_songbird())
    ...

serenity is using the following features: rustls_backend, client, gateway, model, builder, voice, cache

Environment
Rust version: 1.65.0
Serenity version: 0.11.5
Songbird version: 0.3.0
FFMPEG version: 2022-11-28
youtube-dl version: 2021.12.17

I think your issue must lie somewhere on your system; going back to songbird v0.3 and using the builtin example works without issues for me (same youtube-dl version, only difference is I have an older ffmpeg). Do you see anything indicative if you set up a log subscriber and configure RUST_LOG=error?

going back to songbird v0.3
isn't v0.3.0 the latest?

INFO  WS heartbeat duration 13750ms.
INFO  Event state for track 1 added
INFO  Firing End for [0]
INFO  Event state for track 0 of 1 removed.

These messages follow each other instantly.

Dec 10 12:40:04.590  INFO runner: songbird::driver::tasks::events: Event state for track 1 added
Dec 10 12:40:06.772  INFO runner: songbird::events::store: Firing End for [0]
Dec 10 12:40:06.772  INFO runner: songbird::driver::tasks::events: Event state for track 0 of 1 removed.

Note the timestamps. these follow each other almost instantly. and no audio plays.

What's basically happening here, from what I can see, is that:

The process chain to download/convert a track is happening without issue (or you'd fail before the .play_source). Main takeaway is that ffmpeg, youtube-dl are on the path.
The track is set to play, then the mixer reads 0 audio bytes (indicating that ffmpeg or youtube-dl have sent an end-of-file). The track is then discarded because it has either finished or hit an error.

If you could try out the process chain manually, that might be more helpful? E.g., unpacking this code a bit:
youtube-dl --print-json -f webm[abr>0]/bestaudio/best -R infinite --no-playlist --ignore-config --no-warnings "YOUR_URL_HERE" -o test.1
ffmpeg -i test.1 -f s16le -ac 2 -ar 48000 -acodec pcmf32le - > test.2

I've updated my local ffmpeg and I'm getting no issues, so that's not it. Can you tell me if you get any errors from the above?

Not getting any errors. (youtube-dl prints a very long json string, but I don't think there are any errors in it.)
I took a look at both the files. test.1 plays without any problems using VLC, while test.2 is 0 bytes, is my ffmpeg broken?

It seems it was broken. after reinstalling the latest version of ffmpeg it now works.


Recipes for identifying unreachable repos in POMs and removing them

Same as previous PR except

converted the Kotlin tests to Java
merged with main

I'm going to close this for now, we can revisit when you have more time @smehta23


updated files from Achatina plugin cpu-only

Signed-off-by: Roger<EMAIL_ADDRESS>

updated files directly from achatina

I have updated this repo changed all DOCKERHUB_ID to DOCKER_HUB_ID with an initialization to the variable.


Fix documentation link

The current link in the README.md points to an old version of the site. I believe you want https://elba.github.io/elba/ :)

Thanks for the heads up!


Moving a scene in file browser breaks an instance of it in current edited scene

Godot 3.0.4
Windows 10 64 bits
Repro steps:

Create scene A with stuff in it and save it
Save a part of that scene as scene B (right-click, "save branch as scene")
In the file browser, move scene B into another folder
Save scene A again: you get this error

I think this should not happen. The scene was moved, but it shouldn't prevent saving the current scene properly.
Close scene A and open it again: notice the instance turned back into a normal branch, which isn't intented either.

Note: when I first got this bug in my project it happened without the error popup.

Still valid in 3.2.4 beta3


Conflict in target extension causes dependency fighting

I have two problems:

I've forgotten how to tell chomp how to compile both svelte (.svelte) and typescript (.ts) to javascript (.js)
When I naively ran chomp build using the below chompfile, chomp tried installing swc multiple times

version = 0.1
extensions = ['chomp@0.1:swc', 'chomp@0.1:svelte']

[env]
PACKAGE_MANAGER = "pnpm"

[template-options.npm]
auto-install = true

[[task]]
name = 'build'
deps = ['build:typescript', 'build:svelte']

[[task]]
name = 'build:typescript'
template = 'swc'
target = 'lib/#.js'
deps = ['src/#.ts']

[[task]]
name = 'build:svelte'
template = 'svelte'
target = 'lib/#.js'
deps = ['src/#.svelte']

Here is the output:
devDependencies:
+ @swc/cli 0.1.55
+ @swc/core 1.2.155
+ mkdirp 1.0.4
Downloading<EMAIL_ADDRESS>21.9 MB/21.9 MB, done
Downloading<EMAIL_ADDRESS>20.7 MB/20.7 MB, done
Downloading<EMAIL_ADDRESS>19.2 MB/20.7 MB
  lib/main.js invalidated by node_modules/@swc/core
Downloading<EMAIL_ADDRESS>20.1 MB/20.7 MB
Downloading<EMAIL_ADDRESS>20.7 MB/20.7 MB, done
Progress: resolved 38, reused 24, downloaded 3, added 3, done
  lib/App.js invalidated by node_modules/svelte
🞂 lib/App.js
node:internal/errors:464
    ErrorCaptureStackTrace(err);
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received null
    at writeFile (node:internal/fs/promises:760:5)
    at file:///home/duane/Relm/art-studio/[cm]:21:9 {
  code: 'ERR_INVALID_ARG_TYPE'
}
x lib/App.js [90.167254ms]
x :build:svelte
x :build
Unable to complete all tasks.

I think this is similar to #33
$ chomp --version
Chomp 0.1.12

Thanks for posting, fixed in https://github.com/guybedford/chomp-extensions/commit/7ab888bea622fd2be9845c8e05ba6ad8de62ee29.


About dataset zerowaste, how can i get it ?

Dear dbash,
I am studying for a master's degree. I need your data for my studies and theses. I have submitted a request on the page
https://zenodo.org/record/5717490#.Yd1W2f5ByUk
Hope you can share with me the dataset I use for training the garbage problem
Thank you very much,
Xuan Tr

Since we haven't yet published the paper, the dataset is distributed by request only. You should request access on Zenodo using the email address associated with an academic institution.

Hi Dina,
I'm Ritesh, final year undergrad student from IIT Madras. I have submitted a request on zenodo for the access of the dataset using my institute email address. Can you please accept my request?. This will be of great help in my research.
Regards,
Ritesh B


Add a sandbox mode where taken photo are not saved into library

When sandbox mode is enabled, user can take photos that will not be saved in his library for privacy reasons.
I've added a new datasource called SandboxPhotosCollectionViewDataSource to the composed datasource.
The taken photo is holded in memory as an UIImage and so to manage the two types PHAsset and UIImage I had to edit the closures (selection, deselection, done, cancel) with a AnyObject type instead of PHAsset type.
I have also created a global variable bs_selectedObjects containing the selected items (PHAsset and/or UIImage) used to retrieve the correct selection number across different datasources.
I decided to kept the original selection array by datasource in case some tasks has to be performed on the datasource's items.
bs_selectedObjects is the addition of selections from PhotosCollectionViewDataSource and selectionImages from SandboxPhotosCollectionViewDataSource

Nice! You did it :+1:
I'll try go through the diff sometime this week.

Yes 👍🏼, I'm interested in receiving your feedback

Le 23 févr. 2016 à 15:01, Joakim Gyllström<EMAIL_ADDRESS>a écrit :
Nice! You did it
I'll try go through the diff sometime this week.
—
Reply to this email directly or view it on GitHub.

Thanks for your patience, took a bit longer than promised for me to get back to you :o
I really like this feature, and it should probably be the default behavior.
I'm not a fan of closures and selections being AnyObject. Could we perhaps have UIImage and PHAsset implement a common protocol with functionality for getting size, image, etc?

:+1: Yes this is a cleaner solution that using AnyObject Class.
I will refactor my code in this way and let you know about :)


Question: Is there a good way to output one file with correct order of classes when using cross-project compilation ?

I am using cross-project compilation output to one file with internal module.
I want output file written correct order of classes(dependended class first), so I am using "/// <reference...".
When reference other projet's ts file by "/// <reference...", I let path include other project's folder like "../../otherproject/ts-output/foo.ts"(long, tedious, depend on project name...).
Coud you tell me better way if exists ?
Thanks in advance.

The way we use cross-project compilation is that we generate one output (file or directory of files) per project (versus one across projects). Perhaps if you want a single output file it would make more sense to just put everything in a single project as well?

Thank you for reply.
I have three eclipse projects. One for utility (say util project), other two are web application respectively(say app1 and app2 project).
App1 and app2 depends util project, and deploy to different ap server. So I want one output across projects for app1 and app2 respectively.
By the way, my problem is caused by module aliasing using import sentence(import sentence called at load time, so correct order of classes is necessary). When I remove import sentence(directly specifiy module name in functions), my problem is gone(no need correct order of classes).

The way we've been handling a design like this is to compile per-project JavaScript and definition files and then have our web app load all the necessary JavaScript files (and have the downstream projects reference the definition files using the cross-project support).

I see... but, I think compile per-project cannot output two project's JavaScript in one webapp folder. So need to copy JavaScript manually when depended project updated. Is this correct ?

That's correct - each project can only build to a location within the project. We solve this by symlinking the built files into the web server.

That's nice. Because when I update depended project, depending project don't regenerate JavaScript. But your solution using symlinking, updating depended project reflect immediately(more productive).

Exactly :)


KerrGeoOrbit produces error messages at Schwarzschild ISCO

KerrGeoOrbit produces errors relating to a divide by zero when run at the Schwarzschild ISCO:
KerrGeoOrbit[0, 6.0`32, 0, 1]

This appears to be coming from line 54 of KerrGeoFourVelocity.m. At the ISCO three of the roots are equal so we encounter a divide by zero.

Interestingly no issue is error is encountered when using machine precision, i.e., KerrGeoOrbit[0, 6.0, 0, 1] as the roots are not found to be equal to within machine precision.
This difference in behavior means it is probably difficult to detect when we're on the ISCO/ISSO. Maybe best to check if the roots are equal and then in that case run a different piece of code to get the right result.

To stamp out errors like these, I think it would be a good idea to implement a more modular structure for some of the internal functions, the same way i did for the OrbitalFrequencies subpackage. Currently, we have many pieces of code that are repeated many time in different function (e.g. to determine the roots of the radial equations). Currently, when we fix an error in some edge case, this does not propagate to the other pieces of code.

I agree with Maarten's suggestion. It seems like the same problem is cropping up in several places for the same reason (repeated roots of the radial equation), and there's probably a fairly straightforward limit that can be taken and used in all cases.


error  for test_rnnet.py : AssertionError:

thank you very much , google shows you are only source of simple python hesian free rnn example
It would be great to use your code , but
I use
pytest.version
'2.5.2'
but have error  for test_rnnet.py
File "C:\Sander\deep ML\Hessian_Free\hessianfree-master_Mar3\hessianfree\tests\test_rnnet.py", line 234, in
pytest.main("-x -v --tb=native test_rnnet.py")
File "C:\Anaconda\Lib\site-packages_pytest\config.py", line 20, in main
return config.hook.pytest_cmdline_main(config=config)
File "C:\Anaconda\Lib\site-packages_pytest\core.py", line 377, in call
return self._docall(methods, kwargs)
File "C:\Anaconda\Lib\site-packages_pytest\core.py", line 388, in _docall
res = mc.execute()
File "C:\Anaconda\Lib\site-packages_pytest\core.py", line 289, in execute
res = method(**kwargs)
File "C:\Anaconda\Lib\site-packages_pytest\main.py", line 112, in pytest_cmdline_main
return wrap_session(config, _main)
File "C:\Anaconda\Lib\site-packages_pytest\main.py", line 77, in wrap_session
config.do_configure()
File "C:\Anaconda\Lib\site-packages_pytest\config.py", line 608, in do_configure
self.hook.pytest_configure(config=self)
File "C:\Anaconda\Lib\site-packages_pytest\core.py", line 377, in call
return self.docall(methods, kwargs)
File "C:\Anaconda\Lib\site-packages_pytest\core.py", line 388, in docall
res = mc.execute()
File "C:\Anaconda\Lib\site-packages_pytest\core.py", line 289, in execute
res = method(**kwargs)
File "C:\Anaconda\Lib\site-packages_pytest\assertion_init.py", line 56, in pytest_configure
warn_about_missing_assertion(mode)
File "C:\Anaconda\Lib\site-packages_pytest\assertion_init.py", line 113, in warn_about_missing_assertion
assert False
File "C:\Anaconda\Lib\site-packages_pytest\assertion\reinterpret.py", line 40, in init
self.msg = reinterpret(source, f, should_fail=True)
File "C:\Anaconda\Lib\site-packages_pytest\assertion\newinterpret.py", line 49, in interpret
visitor.visit(mod)
File "C:\Anaconda\Lib\ast.py", line 241, in visit
return visitor(node)
File "C:\Anaconda\Lib\site-packages_pytest\assertion\newinterpret.py", line 144, in visit_Module
self.visit(stmt)
File "C:\Anaconda\Lib\ast.py", line 241, in visit
return visitor(node)
File "C:\Anaconda\Lib\site-packages_pytest\assertion\newinterpret.py", line 314, in visit_Assert
raise BuiltinAssertionError
AssertionError:

It looks like I made some changes that required later pytest versions without updating the requirements, sorry about that.  Does it work with a pytest version >= 2.7?

ok
I will check
On Thu, Mar 3, 2016 at 12:02 PM, Daniel Rasmussen<EMAIL_ADDRESS>wrote:

It looks like I made some changes that required later pytest versions
without updating the requirements, sorry about that. Does it work with a
pytest version >= 2.7?
—
Reply to this email directly or view it on GitHub
https://github.com/drasmuss/hessianfree/issues/8#issuecomment-191860251.


Unable to stream cloudwatch logs

Suddenly the plugin is no longer able to stream logs from cloudwatch
awsCodeBuild credentialsType: 'keys', awsAccessKey: "${awsAccessKey}", awsSecretKey: "${awsSecretKey}",
        projectName: project, region: 'us-east-1', exceptionFailureMode: 'DISABLED',
        cwlStreamingDisabled: 'False', sourceControlType: 'project', sourceTypeOverride: 'BITBUCKET', sourceVersion: gitReference, downloadArtifacts: 'false'

I tried to invoke the get-event cloudwatch API manually using the aws cli (aws logs get-log-events) just to make sure that the permissions are setup correctly, and it worked but the plugin itself can't stream logs.
also another thing I noticed is that the plugin is not able to stop an in-progress build in codebuild when I abort the jenkins build

The same issue:
Jenkins: 2.314
AWS CodeBuild: 0.53

Downgrade aws-java-sdk to version 1.12.68 fixed the problem
https://plugins.jenkins.io/aws-java-sdk/

Thanks for the heads up. I've reverted the change introduced in 0.53 and will release 0.54 today.

Downgrade aws-java-sdk plugin to version 1.12.68 fixed the problem
https://plugins.jenkins.io/aws-java-sdk/

Yes, it works only when downgrading, thank you

I just released version 0.55 which has a direct dependency on version 1.12.80 of the aws-java-sdk plugin. Should be available in a few hours.


Add AES to this repo

We can use AES to do encryption.
https://github.com/kokke/tiny-AES-c.git

We need to include this file in cee-utils, and write one example that can encode a text message.


Vulnerability roundup 109: tightvnc-1.3.10: 1 advisory [9.8]

search, files

[ ] CVE-2021-42785 CVSSv3=9.8 (nixos-21.05, nixos-21.11, nixos-unstable)

CVE details
CVE-2021-42785
Buffer Overflow vulnerability in tvnviewer.exe of TightVNC Viewer allows a remote attacker to execute arbitrary instructions via a crafted FramebufferUpdate packet from a VNC server.

Scanned versions: nixos-21.05: 3b422991781; nixos-21.11: 573095944e7; nixos-unstable: b0bf5f888d3.

I'm thinking we're going to have to just mark this as vulnerable - upstream don't maintain the open source 1.3 branch anymore, instead there's a windows-only proprietary 2.x version.

I agree, @risicle, and just opened a pull request implementing your suggestion.

alternatives to tightvnc

tigervnc
turbovnc
novnc - html
teamviewer - heavy, commercial (closed source?)

tigervnc looks like a worthy replacement, and we should remove tightvnc from nixpkgs


Signature doesn't match CLI

Trying to broadcast a transaction (signed with sig), but getting an error: unauthorized: signature verification failed; verify correct account sequence and chain-id. The same transaction signed in CLI is successfully broadcasted.
Unsigned tx:
{
  "type": "cosmos-sdk/StdTx",
  "value": {
    "msg": [
      {
        "type": "dither/CreatePost",
        "value": {
          "creator": "cosmos18cd5t4msvp2lpuvh99rwglrmjrrw9qx5h3f3gz",
          "body": "bar",
          "likes": null,
          "channel_id": "5c124f63-4116-4aed-996b-b4519a339480"
        }
      }
    ],
    "fee": {
      "amount": [],
      "gas": "200000"
    },
    "signatures": null,
    "memo": ""
  }
}

Mnemonic:
supreme enter index swallow path achieve annual picnic quantum reason theme wisdom

Meta:
{
  "account_number": 6,
  "chain_id": "dither",
  "sequence": 2
}

Signed in browser with sig:
{
  "type": "cosmos-sdk/StdTx",
  "value": {
    "msg": [
      {
        "type": "dither/CreatePost",
        "value": {
          "creator": "cosmos18cd5t4msvp2lpuvh99rwglrmjrrw9qx5h3f3gz",
          "body": "bar",
          "likes": null,
          "channel_id": "5c124f63-4116-4aed-996b-b4519a339480"
        }
      }
    ],
    "fee": {
      "amount": [],
      "gas": "200000"
    },
    "signatures": null,
    "memo": ""
  },
  "signatures": [
    {
      "signature": "pJWf30gurONZIt4B23d95HCyz9h/zV2xn7N0AFhXz74XHsVIenCPes3RPXu07vIH+eoPEOkC45Tf53TM1YHiDQ==",
      "pub_key": {
        "type": "tendermint/PubKeySecp256k1",
        "value": "A5lfll1RiMbiBRmCkuP5PjehJez6Lymko3/nohbZCYGs"
      }
    }
  ]
}

Signed in CLI (https://github.com/fadeev/dither-test):
{
  "type": "cosmos-sdk/StdTx",
  "value": {
    "msg": [
      {
        "type": "dither/CreatePost",
        "value": {
          "creator": "cosmos18cd5t4msvp2lpuvh99rwglrmjrrw9qx5h3f3gz",
          "body": "bar",
          "likes": null,
          "channel_id": "5c124f63-4116-4aed-996b-b4519a339480"
        }
      }
    ],
    "fee": {
      "amount": [],
      "gas": "200000"
    },
    "signatures": [
      {
        "pub_key": {
          "type": "tendermint/PubKeySecp256k1",
          "value": "A5lfll1RiMbiBRmCkuP5PjehJez6Lymko3/nohbZCYGs"
        },
        "signature": "R9NPW638MvYi21rL6k2GS4x6cG+hNeiAdTgFxOsNo7FFJKoO246laCOpLRfe3V5yp+0SYibTSl+36QbAthbuug=="
      }
    ],
    "memo": ""
  }
}

Basically, signed tx from sig should be the same as tx signed by the CLI, because the latter one can be broadcasted succesfully.
cc @jordansexton
Related:
https://github.com/cosmos/cosmos-sdk/issues/5875
https://github.com/cosmos/cosmos-sdk/issues/5674

Fixed by 0f7cbe4ca3459c8f422431ef0668e6439da35f46 and 37fa37e2b7d8da32b6628c644f1edf2bb2189a12.

This issue was confirmed due to the canonicalization omitting empty properties (in this case, "likes": null) within the message to sign.
This behavior was followed from the implementation of https://github.com/luniehq/cosmos-api/blob/327499bee146b930b77d877d922c1df9dc541881/src/signature.js#L52-L71 but is not precisely what the SDK does.
This has been fixed and a test has been added.


Release notes for 3.4.2

See https://github.com/eclipse/rdf4j/milestone/59

Possible upgrade note needed related to #2489

Add Ali Haidar to contributors.


Feature Request: Global Query Filters

The ability to write some filter logic in the setting page, which is then applied to all dataview queries throughout your vault. For instance one could ignore all files by tag or in a specific folder. This could be useful for:

Permanently removing useless files that you always filter out anyways
Temporarily removing sensitive files in your results when showing off your data to someone, without changing each and every search.

Could show a warning when showing 0 results, if the global filters are set, in the same "You got no results" page.
I would take a crack at this myself, but I am to damn busy. Thanks for the great add-on, mate.

Added to the feature request backlog!

I'd also greatly appreciate this! The main benefit I see here is the ability to ignore a templates folder, which is a concept present in a lot of other plugins (for example periodic notes or the core template plugin), which often have to contain the relevant tags to be useful.

Obsidian has since added an ignore folder. Can anyone check if dataview uses that setting?

It doesn't appear to. I still have to filter out my template folder from dataview queries.


Use poll_capacity in Flush to avoid infinite buffering

https://github.com/tower-rs/tower-h2/blob/26453f5f0afe2928b47af38713f880ecf27fa85f/src/flush.rs#L41-L67

Closed by #26


Add validation for 'select' components

Summary
Select components don't currently support validation. Need to investigate whether they should.
💬 Description
Select boxes might not need validation as a preferable pattern would to be avoid allowing the user to select an incorrect option from a select box by excluding that option from the available list.
However, there are times where validation may be useful if for example a combination of inputs causes the validation error and therefore may need to show that it is an invalid selection on the select box. Similarly, there might be a need to show a warning message given a particular selected option.
💰 Use value
This provides more flexibility into the component functionality to allow more use cases to be catered for.
Additional info
If we decide to include validation, the same validation pattern as used for text fields should be used.
Consider this for all types of select - single select, multi-select, searchable-select.

Won't do for now


removed a critique setting as it had an old package name

A critique rule gave errors as it did not know of the refactoring.
This fixes that.

Ah yes I fixed it. I thought that I already integrated it.


Hotfix/no return data

Description
Fix localhost:8001/ds_server/top_x_list not delivering data to the client. Remove debugging console logs, and zombie code.
Type of change
Please delete options that are not relevant.

[ x] Bug fix (non-breaking change which fixes an issue)

Good job on cleaning the code up and removing the console logs

Thank you Scott


ddev solrctl command error

Hi, I get an error when trying to run the ddev solrctl apply command:

ddev version v1.23.1
TYPO3 CMS 11.5.32 (Application Context: Development/DDEV) - PHP 8.1.28
apache-solr-for-typo3/solr  11.5.3
my config file:
config: "app/web/typo3conf/ext/solr/Resources/Private/Solr/solr.xml"
configsets:
 - name: "ext_solr_11_5_0"
   path: "app/web/typo3conf/ext/solr/Resources/Private/Solr/configsets/ext_solr_11_5_0"
   cores:
     - name: "core_en"
       schema: "english/schema.xml"
     - name: "core_de"
       schema: "german/schema.xml"
     - name: "core_ar"
       schema: "arabic/schema.xml"
     - name: "core_bg"
       schema: "bulgarian/schema.xml"
     - name: "core_cs"
       schema: "czech/schema.xml"
     - name: "core_da"
       schema: "danish/schema.xml"
     - name: "core_el"
       schema: "greek/schema.xml"
     - name: "core_es"
       schema: "spanish/schema.xml"
     - name: "core_fi"
       schema: "finnish/schema.xml"
     - name: "core_fr"
       schema: "french/schema.xml"
     - name: "core_hu"
       schema: "hungarian/schema.xml"
     - name: "core_id"
       schema: "indonesian/schema.xml"
     - name: "core_it"
       schema: "italian/schema.xml"
     - name: "core_ja"
       schema: "japanese/schema.xml"
     - name: "core_ko"
       schema: "korean/schema.xml"
     - name: "core_lv"
       schema: "latvia/schema.xml"
     - name: "core_nl"
       schema: "dutch/schema.xml"
     - name: "core_no"
       schema: "norwegian/schema.xml"
     - name: "core_pl"
       schema: "polish/schema.xml"
     - name: "core_pt"
       schema: "portuguese/schema.xml"
     - name: "core_ro"
       schema: "romanian/schema.xml"
     - name: "core_rs"
       schema: "serbian/schema.xml"
     - name: "core_ru"
       schema: "russian/schema.xml"
     - name: "core_tr"
       schema: "turkish/schema.xml"
     - name: "core_uk"
       schema: "ukrainian/schema.xml"
     - name: "core_zh"
       schema: "chinese/schema.xml"

System Version: macOS 12.7.5 (21H1222)

Looks like it maybe should be
    if [ "$status" = "0" ]; then
        echo "✅  Core '$name' created"
    elif [ "$status" = "500"  ]; then
        error_core=$(echo "$response" | yqd '.error.msg')
        echo "ℹ  $error_core"
    else

Original:
https://github.com/ddev/ddev-typo3-solr/blob/main/commands/host/solrctl#L38C1-L47
Maybe you can try it out and fix it with a PR @maks-oleksyuk ?

@rfay, similar solution you suggested works to fix the issue above, thanks. But I found another one, it seems that the ddev solrctl wipe command does not completely remove all configurations and the following error occurs:

This is usually fixed by completely deleting the container and creating a new one, but it is still a bug I think. If this can also be fixed quickly I could add it to the issue request (or create a new one for that?)(I will create a request as soon as I have some time to do so)
Also, I noticed that the configuration files require permissions, locally I have granted 777, what is the correct permission to web/typo3conf/ext/solr/Resources/Private/Solr/? (It would be great to have this somewhere in the README in case someone else has the same error as me)

Created a request #5 to solve the problem

Also, I noticed that the configuration files require permissions, locally I have granted 777, what is the correct permission to web/typo3conf/ext/solr/Resources/Private/Solr/? (It would be great to have this somewhere in the README in case someone else has the same error as me)

I never changed the permissions or had any issues with permissions so fair. I usually use ddev composer req apache-solr-for-typo3/solr to install the TYPO3 Solr extension.
Feel free to open another issue if this problem still exists for you

But I found another one, it seems that the ddev solrctl wipe command does not completely remove all configurations and the following error occurs:

@maks-oleksyuk just to be sure, i tried to wipe the config (ddev solrctl wipe) and waited a few seconds (~15sec) and recreated the cores (ddev solrctl apply). This worked for me.
Can you confirm this behavior?
There is already a note in the readme:

After running wipe, it may take a few seconds until files are synced which may cause issues when running apply straight after wipe.

Hope this helps.

I experienced a similar error like the submitter:

This happened after a restart of the ddev project. Before the restart I added the add-on by running ddev add-on get typo3-solr which successfully installed the add-on.
I then copied the configset from the TYPO3 extension apache-solr-for-typo3 manually before I learned about the command solrcrtl apply :-)
The cores were successfully installed. I then wanted to test the setup beyond restarting which resulted in the error you see above.
I think the error occurs when the script wait_for_solr is executed: https://github.com/ddev/ddev-typo3-solr/blob/main/commands/host/solrctl#L13
I also tried running ddev solrctl wipe and waited a few seconds, like @ochorocho mentioned, but it didn't work for me.
I will keep you informed when I find out something new.


Minimal Sample

I am fairly new to x11 and am having trouble getting your library going.
Could you make a one-file example that simply creates a windows and perhaps adds a couple ui elements?  That would help me a lot!
Thanks for your work!

No, i'm sorry that is beyond the scope of this project.


pokemon catcher interface for https://github.com/AHAAAAAAA/PokemonGo-Map

Short Description:
This PR has a whole new worker to interface with https://github.com/AHAAAAAAA/PokemonGo-Map and go after rare pokemons (specified in the configs by id) found in the map.
When it is working it stops the move_to_fort worker because the pokemons have a limited lifetime and the bot cannot run the other worker simultaneously.
Fixes:

No fixes, just a new  feature

Fixing the conflicts which I didn't notice but broke it all!

Don't merge, rebase

max_travel_time  seems to be seconds. So the needed_speed is in distance_unit / seconds.
So I guess 30 cannot be the default value.

Also, I think such mechanism should check pokemon cp / iv to make sure we don't run for a pokemon that we are going to release.

Yes, you're right!
30 m/s was what I was using in the tests which is 108 km/h it is a bit fast but on the other hand really rare pokemons tend to spawn far away if you let the task define the needed speed you take ages to reach the desired pokemon and cannot move to forts at the same time.
So it's kind of a difficult choice!

Nice point! Going to add that when I can.
For now let's assume you'll only use this for VIP pokemons in your config!

We could configure the minimum and maximum speed.
Bot would try to reach the pokemon at the necessary speed to catch it (with a buffer for capture). If that speed is less than the minimum in config, use the minimum. If that speed is greater than the maximum, consider you cannot reach that pokemon in time.

That is exactly what is happening the speed in the config is the minimum speed. The maximum is the 120 km/h which is tested by the pokemongo-webspoof guys!
But no harm in making the max configurable too! 😄

On detail is that we do not check the speed in get_nearest_pokemon. So we  might return an encounter that is not reachable. That would be good to filter out all encounter not reachable at max speed.

Right! important point!
Better than filter out one for each run of the worker

@GNSPS please, also use a task config, like the IncubateEgg task does. We do not add config like that anymore, it's being deprecated.

Is this ~same to #1992 ?

There is other pull requests to take into account:
https://github.com/PokemonGoF/PokemonGo-Bot/pull/1992
https://github.com/PokemonGoF/PokemonGo-Bot/pull/1887

I thought about #1992 but that way you can't connect to an external server and this way you can

@GNSPS you redid the whole work just to be able to connect to an external server? This is easy to implement there.

@GNSPS also, tasks don't store state in self.bot, they store state in themselves now.

No! I didn't see #1992, I was just saying I thought of that method and it wasn't as effective!
Gonçalo

Sent from my mobile,
please excuse brevity & typos

On 01/08/2016, at 15:32, Douglas Camata<EMAIL_ADDRESS>wrote:
@GNSPS you redid the whole work just to be able to connect to an external server? This is easy to implement there.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@GNSPS it's the same, i forgot to update the description to reflect the change that it now parses the spawns from /raw_data of PokemonGo-Map ;)

Ok! ;)
Closing this now!


Unable to bind route parameters

@pavankoppineni opened this here: https://github.com/dotnet/core/issues/1099#issuecomment-347278404
Issue Title
Unable to bind route parameters
General
I am not able to bind route parameters or query parameters to an action and am getting following error.
Could not load file or assembly 'System.ComponentModel.TypeConverter, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
For my project, I am using 'System.ComponentModel.TypeConverter, Version=<IP_ADDRESS>' and .Net Core 1.1.

Please share the list of your project dependencies and versions. These types of issues are often caused by dependency mismatches.
/cc: @rynowak


seccomp: sync some changes with Docker/Moby's profile

seccomp: allow add preadv2 and pwritev2 syscalls (equivalent of https://github.com/moby/moby/pull/31620)
seccomp: allow adjtimex get time operation (equivalent of https://github.com/moby/moby/pull/33403)
Enabled adjtimex in the default profile without requiring CAP_SYS_TIME privilege. The kernel will check CAP_SYS_TIME and won't allow setting the time.

Fixes: Getting the system time with ntptime returns an error in an unprivileged container

seccomp: allow syscall membarrier (equivalent of https://github.com/moby/moby/pull/40731)
Add the membarrier syscall to the default seccomp profile.
It is for example used in the implementation of dlopen() in
the musl libc of Alpine images.

@AkihiroSuda @justincormack ptal

Seeing some more diffs; let me have a quick look at those

@AkihiroSuda added more commits (and updated description) PTAL

LGTM


How to downgrade GLIBC_2.16 to GLIBC_2.14 using Flutter channel stable

我现在在使用v1.9.1+hotfix，没有问题
因为一些原因，我必须使用GLIBC_2.14编译
今天，我在升级flutter的时候，出现如下问题
有没有不升级GLIBC的办法？

I'm using v1.9.1+hotfix.6 now.It is ok in my environment.
And for some reason,I should use GLIBC_2.14 to build my app.
today,I upgradle my flutter sdk with 'flutter upgrade',I got
is There any way for me to use flutter without update GLIBC?

Hi @lengzds
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Change banner img metadata

Hello i want to ask how to change banner metadata on index?
banner on index :

banner on other page :

This my code :
const siteMetadata = {
  title: 'Fiqry choerudin',
  author: 'Fiqry choerudin',
  headerTitle: '',
  description:
    'I was born in 1999. Being programmer since college in University. working as Frontend Developer. love making open source projects on Github.',
  language: 'en-us',
  siteUrl: 'https://fiqrychoerudin.dev/',
  siteRepo: 'https://github.com/fiqryq/Fiqrychoerudin.dev',
  siteLogo: '/public/static/images/avatar.png',
  image: '/static/images/avatar.png',
  socialBanner: '/static/images/social-banner.png',
  email<EMAIL_ADDRESS>  github: 'https://github.com/fiqryq',
  twitter: 'https://twitter.com/fiqryq_',
  facebook: 'https://facebook.com/fiqryq',
  youtube: 'https://youtube.com',
  linkedin: 'https://www.linkedin.com/fiqrychoerudin',
  locale: 'en-US',
  },
}

You can customise the PageSEO component - https://github.com/timlrx/tailwind-nextjs-starter-blog/blob/master/pages/index.js#L21

i have already customise PageSEO but still same
index page :

about page :

it is working in another page but not index

I just checked your site using twitter post validator and it looks fine:

Probably just an old image that was cache. Nice job on the website 👍

You can customise the PageSEO component - https://github.com/timlrx/tailwind-nextjs-starter-blog/blob/master/pages/index.js#L21

What i have to customised to get the blog images embedded?


Changes made in the .js and .css file in aboutus page

I've created a new javascript file and CSS file for the aboutus page. So kindly merge my request.

@RakeshB216, Please attach screenshots in the PR and make sure that the "About Us" page matches the overall design and theme of the other pages for consistency. Previously, I accepted a PR from someone who worked on the "About Us" page, but now I'd like it to be aligned with the theme of the rest of the site.

@RakeshB216  I am closing this PR as there is no response from your side.


@ shortcut not working in css files

Version
3.0.0-rc.12
Node and OS info
npm 6.3.0 / node 10.7.0
Steps to reproduce
folder structure:
src
    assets
         arrow-right.svg

    styles
        main.less

    App.vue

What is expected?
No error
What is actually happening?

Failed to compile.

./src/App.vue?vue&type=style&index=0&lang=less& (./node_modules/css-loader??ref--10-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/lib??ref--10-oneOf-1-2!./node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=style&index=0&lang=less&) Module not found: Error: Can't resolve<EMAIL_ADDRESS>in '/Users/reneeschke/projects/myproject/src'

// main.less located in /src/styles
.foo {
    background-image: url(../assets/arrow-right.svg); // working
}

.bar {
    background-image: url(@/assets/arrow-right.svg); // NOT working
}

whereas @ works in a vue-component (App.vue or any other component, located no matter where)
<img<EMAIL_ADDRESS>/>

CSS urls need to be prefixed with ~ to be considered a module request.

Wow, that was a quick reply– Thank you.
It works great, I didn't know about that– is this somewhere in the docs? If not, I recommend adding this :)

It's in css-loader's documentation: https://github.com/webpack-contrib/css-loader#url
Couldn't hurt to have an example in vue-cli's docs though...


rmf_traffic_schedule keeps dying

Hi, I'm trying to implement RMF to my own ROS2 simulation.
I am using as a template the office_launch.xml from rmf_demos_gz, and I've removed the simulation part because the one I have is already working with the slotcar plugin.
I am isolating the common.launch.xml from the office launch, but I keep getting the following error:
[ERROR] [rmf_traffic_schedule-1]: process has died [pid 1591262, exit code 127, cmd '/opt/ros/galactic/lib/rmf_traffic_ros2/rmf_traffic_schedule --ros-args -r __node:=rmf_traffic_schedule_primary --params-file /tmp/launch_params_8s6mnztv'].
Do I need the other two launches (adapter and robot_state_aggregator) for it to work? I can see that it doesn't take extra parameters so I'm stuck on where the error could be.
The integration documentation is very complicated to follow, so please let me know if there is an example of an adaptation of RMF into a simulation, as I haven't found any

The most common cause of this kind of spurious immediate crash is that you have nodes that were compiled with outdated ROS2 message definitions. They're transmitting messages that are broken from the point of view of the schedule node and causing rclcpp to crash.
You'll need to double-check the hygiene of your RMF build environment. If you're building RMF from source in a colcon workspace, I recommend deleting the build and install directories and rebuilding from scratch.
If you've installed a binary distro of RMF like ros-[foxy|galactic]-rmf-* then I recommend using sudo apt-get remove ros-<distro>-rmf-* to get rid of those before rebuilding. The message definitions of RMF that are tied to those ROS2 distros are not compatible with the latest version of RMF and are likely to cause this kind of crashing.

Thank you, I removed the binary install and I've been trying to build from source following the instructions. But rmf_traffic_ros2 is not compiling due to a libyaml-cpp issue, which I have no idea about. (https://github.com/open-rmf/rmf/issues/146). Have you seen that error before?

Closing since the issue seems to be resolved.


File extension in "manifest_href"

Minor documentation nit...
It would seem to be reasonable for an implementation to have the 'manifest_href' of a Sender refer to the relevant IS-05 Connection API endpoint?
However, APIs: Server Side Implementation Notes > Node API Senders: Use with RTP says:

When using RTP for a sender, the 'manifest_href' must be an HTTP-accessible reference to an SDP file. As-per RFC 4566, SDP files advertised via web services should use a MIME type of 'application/sdp' and a file extension of '.sdp'. [my emphasis]

On the other hand, the IS-05 Connection API /transportfile endpoint is understandably extension-less (to leave the door open for other transport file formats).
RFC 4566 actually seems to only have a single mention of a file extension, Section 8.1 The "application/sdp" Media Type, which says:

File extension(s): The extension ".sdp" is commonly used.

Since the Media Type in a web services context is more relevant than the file extension, I suggest dropping the reference to file extension in the IS-04 documentation, or explicitly allowing the extension-less case.

I think I agree there. As the referenced RFC doesn't mandate this we probably shouldn't either, although use of the correct MIME type is probably still a good idea. I'll sort out a PR.
The question is whether this would affect anyone's existing implementation, and if so whether that's a major concern. Hopefully this will come out as part of the PR review process.

+1 to this. If some implementations rely on the extension, best to identify that as a possible issue at this stage


fix #193

upgraded dependency alexa-remote2 version to 3.7.1

@MariusLang https://github.com/cakebake/node-red-contrib-alexa-remote-cakebaked/issues/1


Wild Pokemon wrong gender in spreads

The gender of wild pokemon spreads sometimes is wrong
You can see it here
Here instead there is the wrong gender and wrong encounter slot. These are the encoutner slots i get in  this specific spot:
1 Trumbeak
2 Mudsdale
3 Fearow
4 Fearow
5 Cottonee
6 Tauros
7 Miltank
8 Cottonee
9 Cottonee
10 Cottonee
I can't bettle Gumshoos/Raticate using honey. Standard walking instead yes. Pls check it and let me know!
I'm in Poni Plains
P.S. I've almost finished the Correction/NPCs table values!

make sure you are at the correct grass area and not using cute charm ability as party leader.

I've not got cute charm ability. As i told you i can encounter Gumshoos/Raticate only walking but notì when  i use honey. I'm in the spot of Mudsdale, it happens only there...

I am busy these days. I will try when I have time

Ok, let me know!

According to [here] (https://pastebin.com/ih5SMYe0) and what you said, the first slot should break into two halfs, the first half is for Raticate/Gumshoos, the second half will be trumbeak

Try the last commits

It works! :D Did you also figured out the gender error?

Should be fixed in https://github.com/wwwwwwzx/SMEncounterRNGTool/commit/9397eebaac7b8fcc2cd3e6a881f3a664505084cb

This is for gender or for nature?

Actually it's fixing gender. Nature is before gender, the problem is wild pokemon, unlike stationary pokemon, will also use another random number for nature even it has been synchronized.

You can double check under this condition: the frame with sync? = "O" and when this two version give different gender prediction.

I found my thoughts was incorrect, do you use synchronize as a leader?

No, i don't. What happened?

Well, it's just the party leader issue, the default setting before is assuming you always have a synchronize party leader.

Did you solved it anyway?

solved. just try with different party leader to check if it's correct

Do you mean that when there is the "O", if my leader hasn't got the synch, gender can be different?

Yes, that's it. It still needs random number for nature, and gender will be the next.

Perfect. I'll continue making tests with Synch leader then :)
P.S I love Wild Encounter Setting and EnterBag Time option! I need now to change all value in my table xD

Does with EnterBag Time option aloow us to find correct spread also without considering 6 x (# of NPCs + 1)?

Yes, it's just doing that. (it will be correct even when each frames advancement step is not NPCs +1)

That's fantastic! Anyway i finished the table, the only missing thing is Route 17. How can i test it? The frame advance +3 and then +1 everytime.

That's a really strange place. The frames flow in a different way. Have to modify the whole time calculation system.

I'm going to test all the spots again from the beginning and see if all the value you put are correct! In that way i can also look at the naure/gender. Let me know for route 17

Thanks a lot. I manually input all slots info so there should be lots of mistake.

I'm closing this


Do you provide a Helm chart?

General Question
To help new users to play around with StarRocks.

@didip I'm not very familiar with the Helm. I can survey it and discuss with my colleagues.

Here https://github.com/StarRocks/helm-charts @didip


Go CI!

Oops didn't expect all these commits go to next branch. Have no idea why didn't use squash


HAWQ-509. Change pg_stat_activity definition, only returns one record…

Change pg_stat_activity definition, only returns one record for one query.

+1


Bugs with Terraform

Ansible version (ansible --version): 1.9.4
Python version (python --version): 2.7.5
Git commit hash or branch:  I do not know.
Cloud Environment: Openstack 8
Terraform version (terraform version):v0.6.16

Hello, I am very new to all this openstack stuff. I have been trying to deploy Mantl however in the process, Terraform has been giving me lots of issues.
Upon deploying Terraform with 'terraform apply' it goes all the way until it hits this error:
Error applying plan:
10 error(s) occurred:

openstack_compute_floatingip_v2.floating-ip.1: Error creating Floating IP: Expected HTTP response code [200] when accessing [POST http://<IP_ADDRESS>:8774/v2/3ca1ba55610c4dc0b320e076f000a5df/os-floating-ips], but got 404 instead
{"itemNotFound": {"message": "Floating ip pool not found.", "code": 404}}
openstack_compute_floatingip_v2.floating-ip.0: Error creating Floating IP: Expected HTTP response code [200] when accessing [POST http://<IP_ADDRESS>:8774/v2/3ca1ba55610c4dc0b320e076f000a5df/os-floating-ips], but got 404 instead
{"itemNotFound": {"message": "Floating ip pool not found.", "code": 404}}
openstack_compute_floatingip_v2.floating-ip.2: Error creating Floating IP: Expected HTTP response code [200] when accessing [POST http://<IP_ADDRESS>:8774/v2/3ca1ba55610c4dc0b320e076f000a5df/os-floating-ips], but got 404 instead
{"itemNotFound": {"message": "Floating ip pool not found.", "code": 404}}
openstack_compute_floatingip_v2.floating-ip.1: Error creating Floating IP: Expected HTTP response code [200] when accessing [POST http://<IP_ADDRESS>:8774/v2/3ca1ba55610c4dc0b320e076f000a5df/os-floating-ips], but got 404 instead
{"itemNotFound": {"message": "Floating ip pool not found.", "code": 404}}
openstack_compute_floatingip_v2.floating-ip.0: Error creating Floating IP: Expected HTTP response code [200] when accessing [POST http://<IP_ADDRESS>:8774/v2/3ca1ba55610c4dc0b320e076f000a5df/os-floating-ips], but got 404 instead
{"itemNotFound": {"message": "Floating ip pool not found.", "code": 404}}
openstack_compute_floatingip_v2.floating-ip.1: Error creating Floating IP: Expected HTTP response code [200] when accessing [POST http://<IP_ADDRESS>:8774/v2/3ca1ba55610c4dc0b320e076f000a5df/os-floating-ips], but got 404 instead
{"itemNotFound": {"message": "Floating ip pool not found.", "code": 404}}
openstack_compute_floatingip_v2.floating-ip.0: Error creating Floating IP: Expected HTTP response code [200] when accessing [POST http://<IP_ADDRESS>:8774/v2/3ca1ba55610c4dc0b320e076f000a5df/os-floating-ips], but got 404 instead
{"itemNotFound": {"message": "Floating ip pool not found.", "code": 404}}
openstack_compute_floatingip_v2.floating-ip.1: Error creating Floating IP: Expected HTTP response code [200] when accessing [POST http://<IP_ADDRESS>:8774/v2/3ca1ba55610c4dc0b320e076f000a5df/os-floating-ips], but got 404 instead
{"itemNotFound": {"message": "Floating ip pool not found.", "code": 404}}
openstack_compute_floatingip_v2.floating-ip.0: Error creating Floating IP: Expected HTTP response code [200] when accessing [POST http://<IP_ADDRESS>:8774/v2/3ca1ba55610c4dc0b320e076f000a5df/os-floating-ips], but got 404 instead
{"itemNotFound": {"message": "Floating ip pool not found.", "code": 404}}
openstack_compute_floatingip_v2.floating-ip.2: Error creating Floating IP: Expected HTTP response code [200] when accessing [POST http://<IP_ADDRESS>:8774/v2/3ca1ba55610c4dc0b320e076f000a5df/os-floating-ips], but got 404 instead
{"itemNotFound": {"message": "Floating ip pool not found.", "code": 404}}

Now with that I have tried to edit the file in /root/mantl/terraform/openstack/floating-ip/main.tf to change out the 'compute' portions with 'network' portions due to a suggestion that Neutron is what is needed.
However I get the 'not supported' messages over and over.
Errors:

openstack_network_floatingip_v2.floating-ip #0: Provider doesn't support resource: openstack_network_floatingip_v2
openstack_network_floatingip_v2.floating-ip #0: Provider doesn't support resource: openstack_network_floatingip_v2
openstack_network_floatingip_v2.floating-ip #1: Provider doesn't support resource: openstack_network_floatingip_v2
openstack_network_floatingip_v2.floating-ip #2: Provider doesn't support resource: openstack_network_floatingip_v2
openstack_network_floatingip_v2.floating-ip #0: Provider doesn't support resource: openstack_network_floatingip_v2
openstack_network_floatingip_v2.floating-ip #0: Provider doesn't support resource: openstack_network_floatingip_v2
openstack_network_floatingip_v2.floating-ip #1: Provider doesn't support resource: openstack_network_floatingip_v2
openstack_network_floatingip_v2.floating-ip #1: Provider doesn't support resource: openstack_network_floatingip_v2
openstack_network_floatingip_v2.floating-ip #1: Provider doesn't support resource: openstack_network_floatingip_v2
openstack_network_floatingip_v2.floating-ip #2: Provider doesn't support resource: openstack_network_floatingip_v2

I will paste my openstack-modules-sample.tf: http://pastebin.com/UYxEHM1u
I think that nova is messing up the entire thing because it seems that there are no floating IP pools created when running terraform apply.
Please help, I have no idea what I am doing wrong. Thank you!

Ok so I have a fix that allowed everything to work and fix this bug... I need someone to verify this is a fix so I can push it upstream...
So the first thing I did was change the modules-sample.tf variable floating_ip_pool { default = "subnet-external" } to variable floating_ip_pool { default = "external" } because it wasnt able to use the subnet.
Next I changed the file in terraform/openstack/hosts-floating/main.tf so that instead of "openstack_compute_floatingip_v2, it was...
resource "openstack_networking_floatingip_v2" "ms-control-floatip" {
pool       = "${ var.floating_pool }"
count      = "${ var.control_count }"
depends_on = [ "openstack_networking_router_v2.ms-router",
"openstack_networking_network_v2.ms-network",
"openstack_networking_router_interface_v2.ms-router-interface" ]
}
resource "openstack_networking_floatingip_v2" "ms-worker-floatip" {
pool       = "${ var.floating_pool }"
count      = "${ var.worker_count }"
depends_on = [ "openstack_networking_router_v2.ms-router",
"openstack_networking_network_v2.ms-network",
"openstack_networking_router_interface_v2.ms-router-interface" ]
}
resource "openstack_networking_floatingip_v2" "ms-kubeworker-floatip" {
pool       = "${ var.floating_pool }"
count      = "${ var.kubeworker_count }"
depends_on = [ "openstack_networking_router_v2.ms-router",
"openstack_networking_network_v2.ms-network",
"openstack_networking_router_interface_v2.ms-router-interface" ]
}
resource "openstack_networking_floatingip_v2" "ms-edge-floatip" {
pool       = "${var.floating_pool}"
count      = "${var.edge_count}"
depends_on = [ "openstack_networking_router_v2.ms-router",
"openstack_networking_network_v2.ms-network",
"openstack_networking_router_interface_v2.ms-router-interface" ]
}
Lastly because of hardware constraints I switched the amount of control, kubeworker, worker, and edge count to all 1.
I also went onto horizion>admin>defaults and adjusted my resources from there so that all this would fit.

Hi @edshea4 ,  Terraform doesn't create the floating-ip pool. The normal use case is that the openstack administrator will create the floating IP pool and the end user just consume it.
In this case you are installing Mantl on Openstack as end user. So you can just do "# nova floating-ip-pool-list " and use any of the available pool name in "variable floating_ip_pool".
If you don't have any pool , Admin (or any user with admin role) need to create the floating IP pool for you. Still Terraform won't / shouldn't create floating IP pool.

@edshea4 Glad you got it working! We don't recommend running a single control node, it is highly unstable. Looks like your configuration changes are environment dependent, so there's not a big need to make a pull request (unless I'm missing something).

thanks @bingoarunprasath. The suggestion here is that there should be an option for floating-ip's to be  handled by Neutron in OpenStack as part of Mantl.
@siddharthist i agree, let's keep aside the environment changes as they as they are not related to the core of the discussion. The main issue that I understand is as follows -
The Mantl Floating IP module [1] is using Nova Compute Floating IP [2] resource for instances. This assumes that Nova-Network is running as part of the OpenStack deployment and the floating IP requests are hence sent to the Nova service. Nova-Network is legacy networking and Neutron (OpenStack Networking service), which is a core OpenStack service handles network resources including Floating IP's. So, IMO Mantl Floating IP module should be using Networking Floating IP resource [3] from Terraform.
[1] https://github.com/CiscoCloud/mantl/blob/master/terraform/openstack/floating-ip/main.tf
[2] https://www.terraform.io/docs/providers/openstack/r/compute_floatingip_v2.html
[3] https://www.terraform.io/docs/providers/openstack/r/networking_floatingip_v2.html
cc: @edshea4

Thanks for the clarification @rohitagarwalla, the issue linked above tracks that suggestion.