[BUG] Inadequate Default Priority Design in PrioritizedSampler

This issue comes from the original issue #2205.
Current Implementation and Issues
The current implementation maintains _max_priority, which represents the maximum priority of all samples historically, not just the current buffer. Early in RL training, outliers can cause _max_priority to remain high, making it unrepresentative. Additionally, _max_priority is initialized to 1, while most RL algorithms use Bellman error as priority, which can often be much smaller (close to 0). Consequently, _max_priority may never be updated. New samples are thus given a priority of 1, which essentially means their PER weight is close to 0. This means they are sampled immediately but contribute little to the weighted loss, reducing sample efficiency.
Proposed Solution
Maintain a _neg_min_tree = MinSegmentTree() to track the maximum priority in the current buffer. With this, and add self._upper_priority = 1, part of PrioritizedSampler methods can be updated as follows:
def default_priority(self, storage):
    max_priority = min(-self._neg_min_tree.query(0, len(storage)), self._upper_priority)
    if max_priority == 0:
        return self._upper_priority**self._alpha
    return (max_priority + self._eps) ** self._alpha

def mark_update(self, index, storage):
    self._neg_min_tree[index] = 0  # update negmintree before querying it in default_priority
    self.update_priority(index, self.default_priority(storage))

@torch.no_grad()
def _add_or_extend(self, index, storage):
    self._neg_min_tree[index] = 0  # update negmintree before querying it in default_priority
    priority = self.default_priority(storage)

    # ....codes in mid...

    self._sum_tree[index] = priority
    self._min_tree[index] = priority

@torch.no_grad()
def update_priority(self, index, priority):

    priority = torch.as_tensor(priority, device=torch.device("cpu")).detach()
    index = torch.as_tensor(index, dtype=torch.long, device=torch.device("cpu"))

    #...codes in mid...

    priority = torch.pow(priority + self._eps, self._alpha).clamp_max(
        self._upper_priority
    )
    self._sum_tree[index] = priority
    self._min_tree[index] = priority
    self._neg_min_tree[index] = -priority

This change implies that the default_priority function will need to take storage as an additional parameter, and eventually affecting several methods like Sampler(ABC).extend(), Sampler(ABC).add(), and Sampler(ABC).mark_update(), but I believe this is reasonable, akin to how Sampler.sample() already takes storage as a parameter.
Additional Context
See discussion in the original issue #2205.
Checklist

[x] I have checked that there is no similar issue in the repo (required)
[x] I have read the documentation (required)
[x] I have provided a minimal working example to reproduce the bug (required)

@vmoens I found that #2215 does not actually work well :O
#2215 may erases the previous max_priority when sampler.add() and sampler.extend(), but the max priority within the buffer can decrease with update_priority(). For example, let’s consider a buffer with three samples:
index: [0,1,2]
priority: [3,2,4]
max_priority_within_buffer: 4
↓
update_priority(index=2, priority=1)
↓
index: [0,1,2]
priority: [3,2,1]
max_priority_within_buffer: 3
So, it seems that the only way is to compute max_priority on the fly, using something like the negative min tree approach I proposed in #2205. For time consumption concerns, the tree structure can perform queries and inserts in O(log N), like the min_tree already did.

Hmm in this case I think we can just add a check in update_priority for the provided index against the one recorded in max_priority no?
I don't get why we need to compute it on the fly if we have access to the index?

I think we cannot determine what the new max priority will be after erasing the old max priority.

I think we cannot determine what the new max priority will be after erasing the old max priority.

Oh yeah but not every time the buffer is written!
Just when you update the priority and the index matches the one of the current max.
So I think the logic should be: cache the max. If the extend / update_priority index matches the index of the current max, erase that cache. Next time it's accessed, rescan the whole tree to find the current max.

wow this seems like a feasible solution, I agree


Cannot read property 'filename' of undefined

Hi, I'm using v7.3.0, and encountering an error "Cannot read property 'filename' of undefined" - it looks like it's related to the epicfail check for 'require.main!.filename' in the create function. The Node docs say that when the entry point is not a CommonJS module, require.main is undefined -- and the entry point of my app is a module, not cjs.
Is there any way around this issue?
I went back to v7.1.0 and everything works. But there's been some nice additions since then, and I'd love to use the latest version.
Thanks!

This might be relevant?
https://github.com/blueconic/node-oom-heapdump/issues/3#issuecomment-360537384

... checking if require.main is null and if so, use process.cwd (https://nodejs.org/api/process.html#process_process_cwd)? Or just use https://www.npmjs.com/package/require-main-filename?

Should the value be passed into the create function from cli.js rather than commonJS being presumed?
Then, developers can choose to pass either require.main.filename or import.meta.url depending on whether they are using commonJS or ES modules.


SendDocument request implemented

New request for send document

Your PR has been manually merged as there were some errors to fix, but overall everything was working as intended. You can find your commit here: https://github.com/telegram-rs/telegram-bot/commit/64b19562e34b9b41791c8df24e5f6cb71e52d494


Trashschedule 0.0.11

RE-CHECK!

Automated adapter checker
ioBroker.trashschedule

:thumbsup: No errors found
Add comment "RE-CHECK!" to start check anew


Feature request: skip unregistered anchors

We would like to define view-specific tours where in some cases there is an empty list with an info text (e.g. "There are no list items, yet.") and in other cases there are actual list items. I would like to set up a tourAnchor on the empty-list-info and one on the first actual list entry. When I register both, I have the problem that the tour stops at the first unsuccessfully registered anchor (which exists in any case because the two anchors can't exist at the same time). It would be nice to have a configuration option for the tour service which let's you automatically skip unregistered anchors instead of stopping the tour. I know that the hasNext() method won't work on that items properly anymore, but that is not a problem.

That sounds like a good feature.  Would you like to try your hand at a PR?  This would be a change to the TourService inside of ngx-tour-core.  I can help give you direction if you need it.
Another option (without the need for a PR) is to call tourService.initialize(..) multiple times.  Whenever the state of your app changes such that the steps should change, you can call tourService.initialize() again with the new steps.

Another hacky option is overriding the showStep method as below
this.tourService['showStep'] = function (step): void {
  const anchor = this.anchors[step && step.anchorId];
  if (!anchor) {
    console.warn('Can\'t attach to unregistered anchor with id ' + step.anchorId);
    // this.end();
    this.next();
    return;
  }
  anchor.showTourStep(step);
  this.stepShow$.next(step);
};

Ended up using this
this.tourService['register'] = function (anchorId, anchor): void {
            if (this.anchors[anchorId]) {
                //throw new Error('anchorId ' + anchorId + ' already registered!');
            }
            this.anchors[anchorId] = anchor;
            this.anchorRegister$.next(anchorId);
        };


Use /etc/openvpn/server instead of /etc/openvpn

Some distros like Centos and Fedora use a different directory for server and client configuration. It is cleaner if we do the same for all distros.

There is currently two types of distros:

the ones that use /etc/openvpn
the ones that use /etc/openvpn/server

We currently patch the unit of the second type to work the like the first type. What would we gain from doing it the other way around?

OpenVPN only distribute systemd unit files of the second type.
The unit files of the first type are essentially deprecated.

We gain cleaner directories and separation between client configuration files and server ones.
It's already bad that we don't use /etc/openvpn/server in supported distros and instead of adding a case for these distros isn't better to use this directory for all?


fix(PageAllocator): fix deadlock case

Deadlock happens when malloc and stack handler page fault
gets called one after another. Malloc holds onto the lock
and when stack handler page fault tries to allocate
for the stack, the lock is not available. Fix for now
is to read some data from the next page to preemptively
cause stack handler page fault first.

@BetsyRT r+

:pushpin: Commit 90aa5dd has been approved by dschatzberg

:hourglass: Testing commit 90aa5dd with merge 5e1f721...

:sunny: Test successful - runtests
Approved by=dschatzberg
Pushing 5e1f721ce7400d0bba39d40d422b54f7b7bcb2b9 to master...


PyPI update

PyPI is still on version 0.2.2, I nearly screwed up my Python installation because I assumed 0.3 was deployed to it already. Could you please update it?

Apologies for the inconvenience. We're working on it. The build pipeline has some issues. Will update you as soon as it's done.

@ImportTaste hey we just updated it and you can use 0.3 now. Will close the Issue now


Loading data and filtering - performance issues with > 10K list entries

I have a table with 15K rows in a mysql database; I can query the table directorly with mysql and get a response in  ~.4 ms, while a GET call to the strongloop API to fetch the elements in the list takes ~4 seconds (either with curl or a browser).
A similar table with 1.5 K rows has perfectly acceptable performance.
Similarly, the filter for the list is almost unusable with this much data; I get stutters and pauses entering every character. (This is more understandable - and might be fixable with something like a sleep or delay so that filtering doesn't begin until the user stops typing into the input box - it's really just a user perception issue.)
Do you have any tips for managing large lists of data without sacrificing performance? I'd be happy to implement some sort of lazy loading or row streaming, but I'm not sure where to begin hacking, or if anyone has tried a list with this much data before.

ended up rolling my own solution. closing.


Fix clipboard when text/filename contains non-ASCII characters

broken by #314. This is compatible with the fix introduced in #314.
To use non-ASCII text/filename in clipboard, chansrv needs to be run
with LC_CTYPE=*.UTF-8 because the behaviour of mbstowcs(3) function
called in chansrv depends on LC_CTYPE[1].  However #314 made
LC_CTYPE=C in chansrv context.  Even if LANG and LC_* are set in
.bashrc, /etc/profile, /etc/locale.conf or something like that,
it doesn't affect in chansrv context because chansrv doesn't source
any of them unlike sesman.
So do not set LC_CTYPE to blank or "C" in g_init() in order to get
g_mbstowcs and g_wcstombs to work properly with non-ASCII UTF-8
characters in any context.
Setting LC_CTYPE to *.UTF-8 doesn't obstruct applying system
language in RHEL [2].
[1] Linux man page says:
The behavior of mbstowcs() depends on the LC_CTYPE category of
the current locale.
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1290820

Fixed commit message s/#317/#314/g.

Bug description
Can't copy&paste text/file via clipboard when text/filename contains non-ASCII UTF-8 characters.
Environment
$ rpm -qa|grep xrdp
xorg-x11-drv-xrdp-0.9.0.gita0add6c+fix_utf8_clipboard-1.el7.centos.x86_64
xrdp-0.9.0.gitf4f23b0+devel-1.el7.centos.x86_64

I'm using mstsc.exe of Windows 10 at this time but client doesn't matter.
How reproducible
Always for non-ASCII UTF-8 characters, never for ASCII characters.
Procedure for reproducing
Install latest devel branch f4f23b0a7d893c871092dcb2f53f733d3909e370  by RH-Matic.
$ ./X11RDP-RH-Matic.sh --branch devel --with-xorg-driver --nox11rdp

Install Xfce4 and Firefox at this time.
Set system desktop environment and locale.
# echo PREFERRED=$(which startxfce4) > /etc/sysconfig/desktop
# echo LANG=ja_JP.UTF-8" > /etc/locale.conf"

Run xrdp and sesman in foreground.
# xrdp -ns
# xrdp-sesman -ns

Connect to xrdp and open www.asahi.com in Firefox.
Copy some Japanese string to clipboard.   As same result as for other languages for example Chinese or Russian.
Paste copied text into notepad.exe.
See the log dumped in sesman terminal. It says "bad string".
[2522346826]: CLIPBOARD  clipboard_send_data_response_for_text: 819 : ERROR: clipboard_send_data_response_for_text: bad string

See sesman/chansrv/clipboard.c around line 815.
    num_chars = g_mbstowcs(0, data, 0);
    if (num_chars < 0)
    {
        log_error("clipboard_send_data_response_for_text: "
             "bad string");
        num_chars = 0;
    }

"bad string" is dumped as g_mbstowcs() returns negative value. See Linux man page of mbstowcs(3) to know when mbstowcs() returns negative value.
How to fix
See the first comment and commit.

@proski @itamarjp
It turned out that g_setenv("LANG", "en_US.UTF-8", 1); was actually added on purpose.  Removing it in #314 caused another bug.  I made a fix with keeping respecting system language.

Looks good to me.

Any objections to merge?

+1


Enable to run the program by sending the cookie and the URL as arguments

This PR allows to download the videos by specifying the cookie content and the URL in the program arguments instead of editing example.py manually.
It also simplifies the use of the Docker image, allowing to run :
docker-compose run --rm ssdl <cookie> <URL>
instead of editing example.py manually and then running:
docker-compose run --rm ssdl python example.py

Nice, thanks!


static-this triggered for this function parameter

Bug Report

TSLint version: 5.16.0
TypeScript version:  3.4.5
Running TSLint via: gulp-tslint

TypeScript code being linted
export class Fail {
        public static method(): unknown {
            const test = function (this: string) {
                return this === 'that'; // here
            };

            return test;
        }
    }

with tslint.json configuration:
{
"rules":{
"static-this": true
}
}

Actual behavior
static-this           Use the parent class name instead of `this` when in a `static` context.

Expected behavior
no linting errors

💀 It's time! 💀
TSLint is deprecated and no longer accepting pull requests other than security fixes. See #4534. ☠
We recommend you instead use typescript-eslint to lint your TypeScript code with ESLint. ✅
👋 It was a pleasure open sourcing with you!

🤖 Beep boop! 👉  TSLint is deprecated 👈 (#4534)  and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋


non-ascii character in README prevents installation

Line 227 of the README reads:
⚠ GDAL>=3 is not yet supported by rasterio
Installation fails due to the non-ascii character:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 7166: ordinal not in range(128)

@avanetten I cannot reproduce this.
Does this happen with source and with pypi package ?

@avanetten I've removed the whole sentence in https://github.com/cogeotiff/rio-cogeo/commit/d08e985d799e6e97ef62e0d5815c657c427c3202 (because rasterio>=1.0.25 now support gdal3) but I still need to understand if I need to release a new version (in pypi)

I know for a fact it happens with the pypi package I can test with the source

Actually after testing I received this error though it says it is a click error it seems to be related
`Command failed: rio cogeo create "/opt/app/raw_uploads/kEgfgI/ffrData/Gulf_Coast_Depth_July                           _13.tif" "/opt/app/raw_uploads/kEgfgI/FLOOD_DEPTH_16888_converted/raster_calc.ti                           f" --web-optimized
Traceback (most recent call last):
File "/usr/local/bin/rio", line 11, in
sys.exit(main_group())
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 696, in main
_verify_python3_env()
File "/usr/local/lib/python3.6/dist-packages/click/_unicodefun.py", line 124, in _verify_python3_env
' mitigation steps.' + extra
RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment. Consult                            https://click.palletsprojects.com/en/7.x/python3/ for mitigation steps.
This system supports the C.UTF-8 locale which is recommended.
You might be able to resolve your issue by exporting the
following environment variables:
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
`

So following what the error message states
export LC_ALL=C.UTF-8
export LANG=C.UTF-8

does alow the pypi package to build

Excellent thanks for your feedback @bmulcahy. I'll wait until tomorrow if @avanetten wants to answer and set this issue resolved then

No problem. I am having issues with the latest GDAL -cog output not handling max float values as No data correctly(I believe it is related to vrt) and this for some reason has no issues.

@bmulcahy feel free to open another issue with more details if you need


Project does not export when the project is named without the underscore ( _ ) symbol in Ubuntu and with underscore in Windows and Mac OS

This behavior occurs  in the Audio and OBS flavor
The project name after the underscore ( _ ) does not appear in the editor window

#merged


Implements new schema

This adds a new, simpler json schema for envoy versions.
Ex.
    {
      "latestVersion": "1.18.3",
      "versions": {
        "1.14.6": {
          "releaseDate": "2021-04-16",
          "tarballs": {
            "darwin/amd64": "https://getenvoy.io/versions/1.14.6/envoy-1.14.6-darwin-x86_64.tar.gz",
            "linux/amd64": "https://getenvoy.io/versions/1.14.6/envoy-1.14.6-linux-x86_64.tar.gz"
          }
        },
        "1.18.3": {
          "releaseDate": "2021-05-11",
          "tarballs": {
            "darwin/amd64": "https://getenvoy.io/versions/1.18.3/envoy-1.18.3-darwin-x86_64.tar.gz",
            "linux/amd64": "https://getenvoy.io/versions/1.18.3/envoy-1.18.3-linux-x86_64.tar.gz",
          }
        }
      }
    }

validate with json-schema compliant tools (such as most IDEs)
supports arm64 (not built here or published yet as we have no Envoy binary to test with)
supports non-standard version lists via $ENVOY_VERSIONS_URL
simplifies main code by avoiding trees of pointers we had before in *manifest.Manifest
guarantees "latest version" is coherent.
untangles package hierarchy a bit

NOTE: after check-in, we need to mount site/envoy_versions.json on https://www.getenvoy.io/ and fix the default URL
Fixes #231

thanks for all the help, this project is starting to polish!


Docker 1.8 compatibility

Fixes #1287

I've tested 6060451 with the Docker platfrom guide and it LGTM.


Move ScmCredential up from EmbeddedAnsible to EmbeddedAutomationManager

With other AutomationManagers having ConfigurationScriptSources/Repositories we need to allow for ScmCredentials at the EmbeddedAutomationManager.
This PR has 2 commits, one moving the CRUD logic up from EmbeddedAnsible::Credential up to EmbeddedAutomationManager::Authentication so we can create creds from the API and the second moves the guts of EmbeddedAnsible::ScmCredential up to EmbeddedAutomationManager::ScmCredential
Dependents:

https://github.com/ManageIQ/manageiq-providers-workflows/pull/24

https://github.com/ManageIQ/manageiq/issues/22311

Backported to petrosian in commit fc435757b8cab915ad36b563d7c88b921f4c879b.
commit fc435757b8cab915ad36b563d7c88b921f4c879b
Author: Keenan Brock<EMAIL_ADDRESS>Date:   Tue Jun 6 13:10:46 2023 -0400

    Merge pull request #22549 from agrare/embedded_automation_manager_scm_credentials

    Move ScmCredential up from EmbeddedAnsible to EmbeddedAutomationManager

    (cherry picked from commit a0e9eb32b33d50e32eaeb5002dc92b3e92ba1bef)


implement Estonian identity verification

While considering evolving our corporate structure, we learned about Estonia's next-gen national identity implementation (and now I'm an e-Resident! :). They have a much cleaner solution to national identity verification than the current ugly hackish kludge of cross-checking passports through identity wholesalers (https://github.com/gratipay/gratipay.com/issues/2449). It's still early days for this, but it seems not unlikely to be the future—Kaspar reported at OuiShare Fest that he knows of "five countries who are copying this at the moment."
I want to verify my identity on Gratipay using my Estonian e-Resident smart card!

Nice. If we have a link how to legally receive funds from Gratipay LLC. in Estonia (pay taxes etc.) - that would help a lot to get more users from this country.


Expand panel border color

Hello there!
I'm very pleased with your ExpandCollapsePanel! It's great =)
Is there any way we can change panel border color?
Thanks

Hello, NavCore!
Yeah, sure! Though there is no such property provided right away for Panel (or for ExpandCollapsePanel), it might be quite easily done, please take a look on http://stackoverflow.com/a/28105725 or https://vicky4147.wordpress.com/2007/03/04/how-to-draw-a-custom-border-around-a-form-or-control/. Feel free to write me a note or reopen the issue if you have any problems implementing it, i would try to help.

Thanks, that works like a charm ;) cheers

Thanks.


No more cheatcoins

All cheatcoins are replaced by xdag

Diff for some file in GUI wallet was not shown because github detects them as binary files.
The reason is the files have UTF-16 encoding. If you open some of these file in github - you can see message

I converted encoding in these files to UTF-8, so no problems should be in further PRs.


Esp8266 longterm certificate

Hello @gguuss,
I'm playing with an ESP8266 (nodemcu v1),
Here are some changes i made to be able to connect with the ESP8266 to google's lts domain and to get it working with the latest stable ESP arduino core 2.5.2.

I signed it!

Thank you so much for this PR, I'll test it on my hardware and will merge after verifying it works for me!


md-select default value

Bug, feature request, or proposal:
When using formBuilder default value passed to formBuilder does not show as selected in md-select.
What is the expected behavior?
If I select value in formBuilder its name and value should appear as selected option of md-select.
What is the current behavior?
Placeholder is displayed instead.
What are the steps to reproduce?
typescript:
this.editForm = this.formBuilder.group({                             projectId: [this.task.project._id]                           });
or:
this.editForm = this.formBuilder.group({                             projectId: new FormControl({value: this.task.project._id}, Validators.required)                           });
html:
<form  layout="column" [formGroup]="editForm" (ngSubmit)="saveTask(task)"><md-select formControlName="projectId" name="project" placeholder="{{'FORM.PROJECT' | translate }}"><md-option *ngFor="let project of projects | async" [value]="project._id">{{project.name}}</md-option></md-select><select formControlName="projectId" name="project"><option *ngFor="let project of projects | async" [value]="project._id">{{project.name}}</option></select></form>
standard html works, md does't
What is the use-case or motivation for changing an existing behavior?
Edit forms.  Lets have a class with 20 attributes each of them can be changed using one form. You don't want to refill all these attributes if you want to change just one.
Which versions of Angular, Material, OS, browsers are affected?
Angular 2.2.1
Material 2.0.0-beta.1
WIN 10 Vivaldi Firefox tested (but probably all affected)
Is there anything else we should know?

Was about to raise a similar issue regarding the default value on md-select. The following does not set the default value of the select either: -
<md-select placeholder="Year" [(ngModel)]="selectedYear.Key" (change)="onYearSelect()">            <md-option *ngFor="let year of (yearsByCourse$|async)" [value]="year.Key">                             {{ year.Description }}             </md-option> </md-select>
When selectedYear.Key : -
this.selectedYear = { Key: '000116', Description: '16/17', CalendarYear: 2016 };
Works fine on a normal . Maybe raise this as seperate issue?

Somehow my code now works (we made mayor backend changes). So my issue bay be caused by angular 2 meteor I use and not material problem. If I find out something new I write a comment here.

@Tytam Given that your code now works, I'm going to close this for now. Feel free to open a new issue if you run into anything else.
@asbcoder It sounds like you may have run into https://github.com/angular/material2/issues/2497, which was fixed in https://github.com/angular/material2/pull/2499. It's in master, but not yet released. If you're still having problems after the next release, please open an issue.

Hmmm... In my case, it has nothing to do with #2497 (options initialized after the model).
But what's even stranger is that, out of 2 selects, one automatically shows the first value as selected and the other one shows the placeholder text. I can't explain it.
This is what I have in my component:
filters.component.ts:
ngOnInit() {
    let sortBy = 'date_uploaded-desc';
    let perPage = '20';

    this.filterForm = new FormGroup({
        'sortBy': new FormControl(sortBy),
        'perPage': new FormControl(perPage)
    });
}

filters.component.html:
<form class="filters"
    [formGroup]="filterForm">
        <md-select placeholder="Sort by"
            formControlName="sortBy">
                <md-option [value]="'views-desc'">Views</md-option>
                <md-option [value]="'status-desc'">Status</md-option>
                <md-option [value]="'date_published-desc'">Date Published</md-option>
                <md-option [value]="'date_uploaded-desc'">Date Uploaded</md-option>
        </md-select>

        <md-select placeholder="Show"
            formControlName="perPage">
                <md-option [value]="'10'">10</md-option>
                <md-option [value]="'20'">20</md-option>
                <md-option [value]="'30'">30</md-option>
        </md-select>
</form>

When the component is initialized, the perPage select shows the first option (10) and the sortBy select shows the placeholder text Sort by...
@angular/material - 2.0.0-beta.3
@angular/* - 4.1.0-rc.0
So, I understand this will be solved with the next release...

Please open this issue, I am having the same issue now. The default value does not show up, it shows the placeholder instead.

I've run into this before with numbers and it was because our types misaligned. Worth making sure your types are correct if one runs into this.

Facing same issue in following --
<md-select
placeholder="Choose your country"
[(ngModel)]="selectedCountries"
multiple searchable
class="infoRow2 input-container" >

<input
mdInput
ngClass="{{companyTheme+'_themeInput'}}"
[(ngModel)]="poiModule.countryFilterKey"
type="search"
placeholder="Search Country">

        <md-option
          ngClass="{{companyTheme+'_themeSelectOption'}}"
          *ngFor="let country of countryOptions | filter: {'name':countryFilterKey} "
          [value]="country"
          (click)="updateCountries(country)">
          {{ country.name }}
        </md-option>
      </md-select>

default value --
selectedCountries = [
{'code': 'JA', 'name': 'Japan', 'center': [36.204824,138.252924]},
{'code': 'US', 'name': 'United States', 'center': [37.2566274, -95.712891]}
];


Integration with remark.js - tutorial added

Though you'd need a heads up. Your library is doing wonders inside remark.js presentations. The recipe is here: https://github.com/gnab/remark/wiki/Adding-graphs-via-Mermaid

I've been also trying to have multiple graphs/sequence diagrams per slideshow - so far no encouraging results (I suspect id autonaming issues).

See issues reported in #360. Do you experience similar?


updating dependencies and resolving babel conflicts

Fix: #22
Updated Node and Other dependencies with ncu
mix of Babel 6 and Babel 7 packages, which is causing the dependency conflict. Specifically, babel-preset-env, babel-preset-react, and babel-preset-stage-0 and @babel/preset-es2015
Replaced babel-preset-env, babel-preset-react, babel-preset-stage-0, and @babel/preset-es2015 with their Babel 7 equivalents.
Updated Babel config file: babel.config.js

Not sure if this would work.. @ckcherry23 @ashutosh1919

@CuriousCoder00 Deploy preview failed? Please look into it: https://app.netlify.com/sites/awesome-loaders/deploys/66a6b4822250828b78ad5382


CLI no longer supports cancellation (Ctrl-C)

🐞 Bug report
Command (mark with an x)

[ ] new
[ ] build
[x] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?
Yes
Description
Angular CLI no longer respects Ctrl-C
🔬 Minimal Reproduction
In any angular project, run ng serve and then Ctrl-C when you see "Compiling  : es2015 as esm2015". The command keeps running in the background, and echoes to the console continue.
🔥 Exception or Error
N/A
🌍 Your Environment

Angular CLI: 9.0.4
Node: 12.13.0
OS: darwin x64

Angular: 9.0.4
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router
Ivy Workspace: Yes

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.900.4
@angular-devkit/build-angular     0.900.4
@angular-devkit/build-optimizer   0.900.4
@angular-devkit/build-webpack     0.900.4
@angular-devkit/core              9.0.4
@angular-devkit/schematics        9.0.4
@angular/cdk                      9.1.0
@ngtools/webpack                  9.0.4
@nguniversal/builders             9.0.1
@nguniversal/common               9.0.1
@nguniversal/express-engine       9.0.1
@schematics/angular               9.0.4
@schematics/update                0.900.4
rxjs                              6.5.4
typescript                        3.7.5
webpack                           4.41.2

I've also reproduced this on a linux machine
Anything else relevant?
Presumably related to https://github.com/bazelbuild/bazel/issues/614, but a solution put forward there (Ctrl-C 3 times kills the bazel process) does not work.
The workaround if you need to kill the process is to find the process id (I use ps | grep ng), kill it, and delete the lockfile at node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__

Thanks for this bug report. It is an issue with the ngcc compiler, so I am transferring this to the framework repository.


Can not ssh in to WSL with private key, password only

I have an ssh server running in WSL.
I have double, tripple and quadrupled checked that my ~/.ssh/authorized_keys files contains the right public key yet the server still:
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: RSA SHA256:ctSD5cXl52PDrDX9pR4W71L+CH/nawtduvVpC7UYYPw rsa-key-20170604
debug1: Authentications that can continue: publickey
debug1: Offering public key: RSA SHA256:+SUMGssGF7JpEHk6tGsFb0gmPzMqZm6CdZTq2aa0jkg rsa-key-20151104
debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/user/.ssh/id_rsa
debug1: Trying private key: /home/user/.ssh/id_dsa
debug1: Trying private key: /home/user/.ssh/id_ecdsa
debug1: Trying private key: /home/user/.ssh/id_ed25519
debug1: No more authentication methods to try.
user@localhost: Permission denied (publickey).

I have absolutely confirmed the my key is correct - I directly copied the file from a gateway server that is required for me to connect to (with my key) in order to be able to iniate an ssh connection with wsl.
If I enable password authentication and I use my password and get in just fine. I don't want to see passwords though.
What the heck?

Looks like my issue was file permissions on either ~/.ssh or ~/.ssh/authorized_keys.
Fix: sudo chmod u+xr,go-rwx ~/.ssh


fix: breaking orders of retry statuscodes

Signed-off-by: bitliu<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Fixes: #31
Ⅱ. Does this pull request fix one issue?

Fixes: #31

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

cc @SpecialYang


WIP: Two point curve

add parameter for hover thrust level and map throttle center stick to it
also reduce ALTCTL deadband

Spedix 250 ALTCTL test flight, baro only: http://logs.uaventure.com/view/Yy8wBp5wvBiNvxRFKKnTu
video: https://drive.google.com/open?id=0Bw3digSMQXDucWdKNWRWSEhRRWM
log: http://logs.uaventure.com/view/Yy8wBp5wvBiNvxRFKKnTu
plot:

@kd0aij @LorenzMeier Can we bring this in? I think this is really important for user experience.

@tumbili check comments on #3449, it's not there yet I think

@LorenzMeier new parameters added and test flown on FMUv4

@kd0aij What is the default a user can expect? Will it just work all?

The ALTCTL deadband will be the same as before with the default params.
BUT the default hover throttle setting of 0.5 (which replaces the previous manual.z integrator reset value) will result in a short transient on switching into ALTCTL if the vehicle hovers at a significantly different thrust level. This hasn't been a problem in testing, though. On the plus side, if the user sets the hover throttle parameter to the correct hover thrust level, transitions are smoother.

Ok. I might need to fly this to understand it.

I tested this changing the MPC_THR_HOVER parameter on my overpowered quad and it definitely helped, it eliminated the fall I was experiencing from switching into ATLCTL. I noticed however that when I got MPC_THR_HOVER to about the right percentage, I would end up and the lower limit of the deadband, this is probably just me needing to tweak it further though.
This feature would definitely benefit from some kind of module on the qgc side. E.g. like in open pilot where there is a plot of the throttle curve.

I expect that with MPC_THR_HOVER set correctly, you will be hovering at center stick, which is also the center of the deadband. Maybe you should increase it a little bit?

You might also check for steady-state error in the ALTCTL loop. Not sure if the right info is in the log to do that though.

Yep I just had to tweak the value a little bit http://logs.uaventure.com/view/UWa6xKmheBjvPbpYvxVi65
I guess I could tweak it further but I should be ok for now.
Thanks for the PR!

Great! Thanks for the feedback and the log.

@LorenzMeier I'd like to get this into master soon. With default parameter values, behavior should not change at all.

@kd0aij Just test flew this on master, feels pretty good if you make the dead zones small.
Do we still need the MPC_HOLD_Z_DZ: https://github.com/PX4/Firmware/blob/master/src/modules/mc_pos_control/mc_pos_control_main.cpp#L806 ? We could now just check if the input is 0 there I think.

I just set MPC_HOLD_Z_DZ to zero for my flight testing. That code does appear to be completely redundant to the deadband set by alt_ctl_dz though, so it should probably be deleted.

@kd0aij Could you do that step before we merge it?

flight test: http://logs.uaventure.com/view/3BK6Nc3JghZqgWbTCSZDXa
altitude control felt good with alt_ctl_dz = .02
No surges and precise response flying circuits in the backyard. Wind was gusting.

0 velocity does not necessarily prevent it from driving, yes. @kd0aij Can you take the comments from @AndreasAntener into account?

I'll do that. But if you look at my flight logs, you'll see that local_pos.z is by no means accurate enough for me to test it with the S250. Would be interesting to determine whether the local vz is actually better over the short term for manual control of altitude.

Glad I didn't delete the parameter yet. Max speed climb and descent was fine with the 250s with the hold_dz parameter set to zero. Very decisive stop and hold of altitude at bottom of descent with no oscillation.
Shall I revert the last 2 commits, or do you want to flight test it first?

You can remove the last 2 commits and add a new one that

removes the parameter MPC_HOLD_Z_DZ
and changes the condition where it was used to fabsf(req_vel_sp(2)) < FLT_EPSILON

Can you describe how the UI should look like - a simple slider defining where hover throttle is?

@kd0aij thanks for the updates, looks good!

@AndreasAntener Sorry it took 3 attempts to make me to realize that hold_max was a different parameter and that code was not "completely redundant".
@LorenzMeier Yes, a simple slider (ranging from thr_min to thr_max) for MPC_THR_HOVER would work. My personal preference would be a single floating point scalar input field, since I estimate the value from flight logs. Might even be able to automatically suggest a value, using the logic that used to init the altctl throttle on transition from manual.

@kd0aij See my comment in the code. Would like to merge this soon!

@tumbili Did my response above address your comment adequately?

@kd0aij Cool, thanks for the explanation. Good to merge then from your side? I reviewed and it looks good to me?

Good to merge :+1:

Replaced by #3788


Enhancement: Disable Xdebug as early as possible

This PR

[x] disables Xdebug as early as possible to speed up builds

Thank you, @Jan0707!


issue #46 Integrate adobe analytics

Fix #46
Test URLs:

Before: https://main--24life--hlxsites.hlx.page/
After: https://46-integrate-analytics--24life--hlxsites.hlx.page/

Could see the N/W calls for adobedtm scripts getting called, the moment we click on anything on the page, as shown below -

Hence we should be good with the loading of these scripts for any kind of activity on the page and "Clicking" on an element is one of them. However final confirmation will be from the customer whether they are getting required statistics at their end from Adobe Launch.


Release version discrepancy

Here on GitHub the newest release is 28.5, but the package.json contained in it says 29.5.

Duh, this looks like a typo. I have just "released" v0.29.5 that brings both in sync. Sorry.


Error while trying to get token after v0.6 update

After the v0.6.0 update on the server, when trying to get a token from any entity the server fails with the error
netauthd.rpc2: Error Issuing Token: entity=rina capabilities=[] service=netauth error="a required key is not available"

Rolling back to v0.5.0 fixes the issue. Client is on v0.6.0 and most configurations are the same as the ones on the docs.

The key filenames were made more generic in 0.6 to support future key-loading mechanisms such as DNS TXT records.  Rename your keys to be rsa-public.tokenkey and rsa-private.tokenkey and it will work.
Yes, this should be documented, I'll add it to the release patch notes.


Included additional timeslot in schedule

Following conversation today, added additional timeslots in the schedule:
Day 1 16:30 - gives time for Node Managers to introduce themselves, recap of day 1, looking forward to day 2 etc.
Day 2 16:30 - recap of workshop, continuining the conversation, show of hands who wants to participate in day 3.

let me check locally then ill merge
Thanks @timvdstap


Azure database status is 'Online' when its 'Paused'

The changes in this PR are primarily to bring attention to the issue at hand.
The core problem appears to be related to Azure Status handling. I have a database 'TestDB' set with an auto-pause delay for testing different statuses. In the SQL Databases section, the status is shown as 'Paused'

However, when querying the same database in Azure Resource Graph Explorer, the status is returned as 'Online', which is also the status reflected in my application. This discrepancy indicates some inconsistencies in how the status is being reported.

UPD: after a while (like 6-8 hours) status polled as paused

@oslake
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

What is this edit supposed to do? It looks like you're striking out the current heading, which is not an appropriate change.

What is this edit supposed to do? It looks like you're striking out the current heading, which is not an appropriate change.

Please check the PR description
The changes in this PR are primarily to bring attention to the issue at hand

We have the Feedback option if all you want to do is draw attention to an issue.
However, since you went to the effort of opening a PR, it would be more useful to us if you provide an edit that describes the behaviour you experienced, as if you were reading the article yourself.
As currently written, I can only close the pull request, and I’d like to give you the opportunity to improve it before I do that.
Thank you for your understanding.

However, since you went to the effort of opening a PR, it would be more useful to us if you provide an edit that describes the behaviour you experienced, as if you were reading the article yourself.

The reason I made this minor change is that I couldn’t find any up-to-date documentation regarding status handling or auto-pause delay that addresses the necessary details. I'd be happy to make adjustments if you could provide me with a link to the relevant documentation. The only resource I found is deprecated:
doc

Please submit this as feedback on the article then. I suspect this is a product issue, not a documentation issue.

Please submit this as feedback on the article then. I suspect this is a product issue, not a documentation issue.

submitted feedback: https://github.com/Azure/azure-sdk-for-net/issues/46478
closing PR.


Testing strategy, some thoughts

We need a strategy for testing.
There are 4 models (OLS, logistic regression, poisson regression, negative binomial) and in each case there is 1 possibility which is a frequentist model and then there can be multiple pathways for Bayesian priors.
Okay, let's start at the simplest place, for the simple OLS frequentist case, we will just run all the 11 tests that are under development in the NISTtests package.
For the 3 other frequentist models, we should make atleast four test cases which are run in R and that gives us numerical values for parameter estimates which should be good to 8 places.
And then that leaves the Bayesian estimation. Imagine that for each of the four models, we write four distinct Bayesian priors. This gives 16 cases. For each of these, we write these using R-stan with 100k steps in the MCMC with ample burn-in. Once this is done we should endup getting answers that match to 3 or 4 places. We will manually copy out the parameter estimates from the R-stan and these become the Julia test cases.
Putting together all this, we get (11+(4 x 3)) + (4 x 4) = 39 test cases.

Frequentist Test
All the tests from GLM.jl should be adopted here for CRRao.jl.

Models
Completion

Linear Regression

Logistic Regression

Poisson Regression

NegBinom Regression

Bayesian Test

Models
Gauss Prior
Ridge Prior
Laplace Prior
T Prior
Cauchy Prior
G-prior

Linear Regression

Logistic Regression

Poisson Regression

NegBinom Regression

Bayesian Test
The purpose of Bayesian MCMC-based inference is to simulate from the posterior distribution.
Suppose we want to simulate from linear regression with Gaussian prior.

We implement the model in stan and simulate 10000 samples using rstan or pystan, and save it as csv file

We implement the same model in Turing and simulate 10000 sample using CRRao and Turing.

Run Kolmogorov-Smirnov test between CRRao sample and rstan. If the test fail to reject - that means CRRao is doing correct job

@ajaynshah @mousum-github


no shader icons

glsl icons are shown as standard text files.

/needsMoreInfo

/needsMoreInfo

/needsMoreInfo

I dunno how to describe it, maybe an image is a better description. here is an extract from the explorer tab

as you can notic there are no standard icon for openGL glsl shader files.

The icons come from https://github.com/jesseweed/seti-ui. Please file the request there (or make a PR if you have an icon for glsl)


[image_picker] Image rotates 90 degrees on iOS 14 with "Select Photos" access

The image_picker package is really struggling with iOS 14 photos under "Select Photos".  There is another issue here > https://github.com/flutter/flutter/issues/77281
However, today I noticed that it will also rotate images on iOS 14 90 degrees if they have chosen Select Photos access.
So more information:
When using this package on iOS 14:  On first request, when a user is prompted for photo access and chooses "Select Photos" they then get presented with their photo library where they select a photo.  BUT - this was the OS selection window for which photos they are granting access to.  They will then get another photo selection window to select the photo for this Image_Picker.  If they select the photo that they selected from the OS for "Select Photos" access then everything will be fine.  However, if they select a different photo, which they are able to do, then it will still work, it will just rotate it 90 degrees for some reason.
Anyways, seems like this wasn't really worked through for this package when iOS added the new photo permission as there is a lot of odd behavior in this path.
EDIT: additional info - Seems to be photos taken with the camera on the device.  Screenshots or downloaded images don't seem to rotate, BUT once again if you change the access to All Photos, then the photos aren't rotated.

@m-j-g
Tried the scenario using latest stable on iOS simulator (14.3) but the image returned as-is after selecting select photos permission, as below:
https://user-images.githubusercontent.com/67046386/114821593-6c49ab80-9dde-11eb-8142-fa4c0e78c620.mov
code sample used: image_picker plugin repo.

 flutter doctor -v

[✓] Flutter (Channel stable, 2.0.4, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
    • Flutter version 2.0.4 at /Users/dhs/documents/fluttersdk/flutter
    • Framework revision b1395592de (13 days ago), 2021-04-01 14:25:01 -0700
    • Engine revision 2dce47073a
    • Dart version 2.12.2

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.55.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.20.0

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 89.0.4389.128

! Doctor found issues in 1 category.

After doing a lot of reading and finding a lot of search results on this topic.  It's certain types of image formats that are taken with the iPhone, and then uploaded to firebase.  I think its more of the piece of the puzzle of when it gets uploaded to firebase.  Anyways, I'll close this as I can't figure out exactly what is causing the issue.  It's a combination of variables - and like I said, if I change it to All Photos access every photo type works.  Certain photos rotate when "Select Photos" is done.  There are plenty of search results out there on stack overflow with people that understand the situation better than me.

Couple things, set a max width and max height.    Here's a video using the image_picker example app:
https://user-images.githubusercontent.com/10711395/114882421-8dec6800-9dc9-11eb-93f8-4985efeced88.mov

@m-j-g
Thanks for the details. I tried on physical device too, but getting a different issue wherein the picture is inverted. Same behavior on simulator as well, and it's a bit strange that yesterday when I tried, it worked properly per my previous comment, and is reproducible even without specifying the dimensions.
Maybe there are two different issues here.

Upon selecting select photos permission and selecting a picture and then a different picture, the latest selected picture shows up properly (per my earlier verification), but if we select the same picture, then it shows up as inverted, as below:

https://user-images.githubusercontent.com/67046386/114984877-c8303500-9eaf-11eb-8c18-da49d82e493e.mov

The one you reported in which the image is rotated 90 degrees and not inverted (which I wasn't able to replicate)

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.4, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
    • Flutter version 2.0.4 at /Users/dhs/documents/fluttersdk/flutter
    • Framework revision b1395592de (7 days ago), 2021-04-01 14:25:01 -0700
    • Engine revision 2dce47073a
    • Dart version 2.12.2

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.55.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.20.0

[✓] Connected device (3 available)
	  • SM A260G (mobile)            • 5200763ebcfa861f • android-arm    • Android
      8.1.0 (API 27)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 14.4.1
    • macOS (desktop)           • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 89.0.4389.114

! Doctor found issues in 1 category.

Interesting. Yeah, in my case I’ve narrowed it down to the combination of the large image size that you get from taking a picture with the real camera and reducing the height/width, and selecting “select photos”
if I don’t reduce the size with height /width it will be normal, if I use small pictures from the internet it will be normal, or if I select all photos access it will be normal.


Crash/Data Corruption with TEMP tables containing toasted value

When a column of a temp table requires out-of-line storage. Inserting data in that temp table causes the data corruption/crash.
CREATE TEMP TABLE src (f1 text) using pg_tde;
INSERT INTO src
   SELECT string_agg(random()::text,'') from generate_series(1,10000);
SELECT * from src;

Concerns non-TEMP tables as well


Update cloud-import-a-project-by-git-url.md

Updating docs after experiencing customer using keys generated outside of dbt Cloud.
Description & motivation
A customer had used a public key from a keypair generated outside of dbt Cloud and present the support team with the SSH Key ID to be used which resulted in a permission denied error (and rightfully so). Just updating the docs to remind that we should be using the key that dbt Cloud generates and only this key.
Pre-release docs
Is this change related to an unreleased version of dbt?

[ ] Yes: please

update the base branch to next
add Changelog components: <Changelog>[New/Changed] in v0.x.0</Changelog>
add links to the "New and changed documentation" section of the latest Migration Guide

[x] No: please ensure the base branch is current
[ ] Unsure: we'll let you know!

hey @jeremyyeo thanks for opening this PR and for your patience here! made a teeny tweak and will merge this for you. :D


[EUWE] Fix exception when assigning actions to policy

:only_path => true is the default for url_for and fixes the exception identified in the BZ.
@miq-bot add_labels bug, ui, blocker
https://bugzilla.redhat.com/show_bug.cgi?id=1491576

looks good

@bmclaughlin @h-kataria is this not an issue in master and fine branches?

@simaishi yes, this is only an issue on EUWE, that was introduced with a backport of another PR

Travis failure is unrelated, merging.


Updated the lifecycle statement

Changed from 15 months to 18 months of support through May 2022.

https://github.com/dotnet/core/blob/main/release-notes/README.md


[Impeller] DRM/ Partial Repaint for Impeller

On the Metal and Vulkan backends of Impeller, the process for enabling DRM is fairly straightforward, though there are a few Impeller specific implementation changes and some required benchmarking.
To start with, the damage rect will be fully computed before Impeller has started the frame workload. Flow will inform Impeller of this damage rect indirectly by first applying a clip to the canvas: https://github.com/flutter/engine/blob/main/flow/compositor_context.cc#L153-L169
For Impeller, we should device a better technique of sending the clip rect that lets us actually reduce surface sizes. Additionally, sending the ClipRect and then clearing will force more work from impeller than vice versa.
Now, the expectation is that the texture we acquire from the metal layer will be rendered into with a load instead of a clear so that the older content persists. However, in Impeller we use this texture as the resolve texture for the root multisample render pass. It does not seem like we can use a resolve texture without implicitly clearing it. See WrapCurrentMetalLayerDrawable in surface_mtl.mm.
If so, we may need to use a different texture for the resolve texture and the blit that texture (according to the damage) rect into the actual metal layer's texture. This would be marginally more expensive, so we'd need to benchmark. We could perform this operation conditionally based on whether or not the damage rect was sufficiently large.
FYI @knopp

IIRC before partial repaint (and impeller) the actual metal surface was only requested in submit callback. In submit callback you should be able to access SubmitInfo, which contains both frame_damage (part of front buffer that needs to be recomposed) as well as buffer_damage, which is part of the frame that will be written to.
The reason why for partial repaint the metal surface is requested in AcquireFrame is that we need to know, which of the three different drawables used by CAMetalLayer we're gonna get. This affects existing_damage which must be taken into account when computing dirty region. The existing_damage basically means the area where the current drawable lags behind the front buffer.
We need to track this per drawable. Metal does this weird thing that it sometimes keeps flipping between only two of the drawables for dozens of frames meaning that third drawable gets quite out of sync.
So at very least for the non-impeller path, while the metal drawable gets requested in acquire frame, it is not actually used until submit (at which point we know the buffer_damage).

Making good progress here: https://github.com/flutter/engine/pull/40959, though clip rect seems to be slightly off. I think I'm probably make a small mistake somewhere. Don't know why the frame count claims to be lower, but I added some additional short circuiting that might be tickling that a bit.
Testing on the blinking cursor in flutter gallery
Without Patch (Impeller)

With Patch (Impeller)

Skia

ahh, the issue is a bug in our blit pass...that can be fixed


change tracing default to otlp

jaeger now recommends using plain otlp so we should change our default config to the otlp endpoint localhost:4317.
For that we need to

[x] introduce otlp traces to reva: https://github.com/cs3org/reva/pull/3496
[x] introduce otlp traces to ocis: https://github.com/owncloud/ocis/pull/5132

to enable otlp tracing we can thens configure:
                "OCIS_TRACING_ENABLED":"true",
                "OCIS_TRACING_TYPE":"otlp",
                "OCIS_TRACING_ENDPOINT":"localhost:4317", // accept OpenTelemetry Protocol (OTLP) over gRPC, if enabled

Then we can go further:

[ ] pass down context to get spans for aquiring file locks in decomposedfs https://github.com/cs3org/reva/pull/3809
[ ] properly annotate server and client traces https://github.com/owncloud/ocis/pull/6471
[ ] https://github.com/owncloud/ocis/issues/5801
[ ] annotate spans with http / grpc return codes
[ ] make traces cross services, eg. https://github.com/owncloud/ocis/issues/6350
[ ] trace uploads through datagateway https://github.com/cs3org/reva/pull/3887
[ ] https://github.com/owncloud/ocis/pull/5114
[ ] pass trace id in events
[ ] https://github.com/owncloud/ocis/issues/4177

I recommend using signoz to check the insights and metrics that can be deduced from the traces.
Further reading: https://opentelemetry.io/docs/concepts/instrumenting-library/

So, after a lot of debugging and discussions, we decided to redo the tracing setup following these notes:

One tracer span per service, not bothering with subspans yet.
One tracing package (in ocis-pkg?) that is the ONLY way to init a tracer.

Need to get tracer via New or similar function, no package global tracer to import at all.
In the New method you set all tracing configurables, like batching, sampling and what not.

tracing package also supplies config struct for tracing
For each service, tracer is configured at service init.
Implement own sampler where we can control if a certain trace gets sampled.

Sampler should check context for "should sample" param.
Sampler is percentage sampler for the rest.

Each service creates ONE tracer and their own grpc/http client.

If service already creates own client, needs propagation added.

Add WithTracer to reva

@ainmosni Thanks for the proposal.
I think we are pretty much aligned on the general approach. We should always put ourselves in the POV of our support engineers.
Examples

We have a public link in production which fails only in 1 out of 100 times
We get a request ID from the end user via his client log (Desktop, mobile or HAR from th browser)

New tasks

[ ] reva uses a lot of global tracers and we should inject it everywhere
[ ] sampling should be configurable


add support for edit and delete operations

DELETE /url/:id for delete
PUT/PATCH /url/:id for edit

@shay123g  I'll take it oke?

Go ahead

PR is open here https://github.com/mini-services/miniurl/issues/106

Closed in #191


fix: update to eye v10.19.9

fix: update to eye v10.19.9

:tada: This issue has been resolved in version 16.21.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v16.21.1

Your semantic-release bot :package::rocket:


Check why the components are not loading when the site is hosted and provide a solution

@siddhi-244 I have raised a PR for this. Can you kindly review that?

@siddhi-244 I have raised a PR for this. Can you kindly review that?

Sure !


Add Request to Sendable

Sendable represents types of DAP messages that can be sent via JSON RPC, so it would be nice if we add Request in here, since dap-rs supports client-side code.

The problem is that Sendable derives Serialize by default and Deserialize if client feature is on, and Request does vice versa. Either Request (and thus every other type) must derive 'Serialize' by default or we must include Request variant in client feature, which looks pretty confusing because essentially Request is a sendable message


Question: difference between static or dynamic aspects?

Is there a way in gUFO to express that an gufo:Aspect is static or dynamic, equivalent to typing Objects as (sub)kind, phase or role?
For example: ShirtSize is a static aspect of a Shirt, while PersonLength is a dynamic aspect of a Person.

Hi @HuibertDeVries, it is possible to specialize all types of kinds using subkind, phase, role, etc. The modification was introduced in this paper here. The existing types of kinds are: functional complex kind, quantity, quality, collective, mode, and relator.

It is important not to conflate the rigidity of aspect types with the immutability of aspects. What Pedro Paulo is referring to is the fact that the endurant type taxonomy can be applied to aspect types too (just like it is applied to object types). So you could have phases of aspects. For example, a relational aspect like an Enrollment in a university could go through phases: ActiveEnrollment, InactiveEnrollment. But gUFO has no means to distinguish mutable and immutable aspects (like qualities in the examples you proposed: ShirtSize and PersonLength).

Hi @pedropaulofb and @jpalmeida, thanks for your answers, now it is clear to me!


Support reading default gems from $HOME/.default-gems file

This is a proposal to make the support of default gems to be more consistent.
As current status:

asdf-ruby using $HOME/.default-gems
rvm-ruby using default/global gemsets in multiple locations:

~/.rvm/gemsets/ree/1.8.7/p2010.02/global.gems
~/.rvm/gemsets/ree/1.8.7/p2010.02/default.gems
~/.rvm/gemsets/ree/1.8.7/global.gems
~/.rvm/gemsets/ree/1.8.7/default.gems
~/.rvm/gemsets/ree/global.gems
~/.rvm/gemsets/ree/default.gems
~/.rvm/gemsets/global.gems
~/.rvm/gemsets/default.gems

rbenv-default-gems using $(rbenv root)/default-gems

Just like .ruby-version, shall we have a consistent place for default gems setting?

And support https://wiki.archlinux.org/title/XDG_Base_Directory  so the default gems config  chould be in ~/config/rbenv/default-gems  (XDG_CONFIG_HOME). and the rbenv could install in XDG_DATA_HOME


Change version variable to v1.6

Change version number in _config.yml from v1.5.1 to v1.6

This change is

Looks like the version is tagged as v1.6.0 (see https://github.com/kubernetes/kubernetes/tree/v1.6.0/docs/), so I'm changing the variable to match that.


Explicitly state what the conversation.wait() method returns

Are you able to fix CI?

Note that from the Files changed tab, you can add several suggestions to a batch and commit them in bulk in a single commit.

Thank you all for the reviews!

And you, for the PQ!

Will get translated to Spanish in https://github.com/grammyjs/website/pull/582.

Let me sync the changes to ID

What changes?


Remove references to unsupported MiqExpression ruby operator

Purpose or Intent
Support for the ruby operator was removed in 9e5ba7dcf4443eab7f028a699a2f43cee9e18175. This revision removes all references to it. Continued use of the ruby operator will now default to raising an error as with any unsupported operator.
@miq-bot add-label core, technical debt
@miq-bot assign @gtanzillo
:scissors: :fire: :scissors:

👍 LGTM


Fixed wing flight log review

@tumbili @priseborough Would be great if you could have a look at this log where EKF resets. Looking at it I'd say its something funky with the mag, but please come to your own conclusion.
http://review.px4.io/plot_app?log=7c3a1c3f-29b7-42ae-bff5-d4a38cefe271

The EKF delta velocity bias estimates and IMU end of flight accel measurement indicates that this was primarily caused by accel bias errors that were greater than the ekf could handle. The  baro temperature is below 1.5 degC during flight and slowly warming, so a hypothesis is that the vehicle is being operated at a temperature that is significantly lower to the the one used to perform the accel cal and this has caused the large offset.
bias estimates:

accel data:


Hugo Redirect Database/Registry/Solution (exploration)

Placeholder for the issues discussed on 7/12/2023 regarding scaling challenges with managing redirects in hugo.
https://pulumi.slack.com/archives/C85BS3LJZ/p1689196373279059
@cnunciato raised a great issue !
"For me, the meta-point here is that we really need a better way to handle redirects -- we've been pragmatic and done what we had to do to get the job done up to now, but what we have now is a bit of a mess and needs a proper solution. Part of the reason deployments take as long as they do now is that we spent ~40-45 minutes making 301s for all the pages we've moved around over the years."


JSDoc comments for Position

While working on https://github.com/SetProtocol/index-ui/pull/422 I
would've liked to see JSDoc comments for Position. I found docs on
https://docs.tokensets.com/contracts/core-contracts/set-token#getpositions
so I added them inline so devs can't see them while using types from
this package.
If reviewers approve of a change like this, I can add doc
comments to other types in this package. I would fetch docs from
https://docs.tokensets.com/contracts but open to other ideas.

Am going to merge this one - if you'd like to pursue improving the TS docs please feel free.


nmap-parse: init at 0-unstable-2022-09-26

Description of changes
Command line nmap XML parser
https://github.com/jonny1102/nmap-parse
Related to https://github.com/NixOS/nixpkgs/issues/81418

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 286170 run on x86_64-linux 1

1 package built:

nmap-parse


correct minor memory leak in 3rd party library

This PR corrects a memory leak present in the multipart_parser library.
As it so happens, the library made the same fix in early June, before we recognized the issue. That commit is here: https://github.com/AndsonYe/MultipartEncoder/commit/6e92871892657075f2399deeef60c1a63ac6b263

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Does it make sense for us to submodule this rather than vendor it so that we don't need to manage bug fixes?

This is the first (and only) bug fix in 4 years. I don't think we should expect another.


[bug] Rule file without 'message' property breaks LSP

A minimal rule file consisting of just an id, language, and rule should be supported.
However, rules without message will break the LSP
id: no-console-rule
language: Javascript
rule:
  pattern: console.log($$$)

🙁 Actual behavior
sg scan works fine
LSP stops working. Doesn't log any errors even with changes in https://github.com/ast-grep/ast-grep/pull/968.
🙂 Expected behavior
LSP should continue publishing diagnostics and code actions when a rule file has a missing message

I've determined that the LSP server is not responsible for this bug.
If we publish a Diagnostic with message: "" to the LSP client, the LSP client is unhappy enough that it will not display any diagnostics at all. At least this is the case with vscode. We can still solve the problem from the LSP server by making sure our diagnostics get published with a nonempty message string.


Dev branch

Enumerables project
The Enumerables project was created in dev-branch. In this project, I implement my own version of Ruby’s enumerable methods.

Hi @chinweokwu !!

You can merge your branch and submit the project completion form. :clap:
Happy coding 🤓
--Maria Reyes


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 249 ms

Resolved: ClamAV performance has improved in d1bbd96 after 5 minutes.


chore: update to latest orb vdr

Signed-off-by: Firas Qutishat<EMAIL_ADDRESS>

Codecov Report

Merging #5 (a4f2c49) into main (9127aca) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #5   +/-   ##
=======================================
  Coverage   85.13%   85.13%
=======================================
  Files           9        9
  Lines         296      296
=======================================
  Hits          252      252
  Misses         27       27
  Partials       17       17

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 9127aca...a4f2c49. Read the comment docs.


Receive Push Notifications for Significant Price changes

Feature Request:
Fixed or preferably user manageable alerts from the mobile app for significant price changes in assets in that user’s portfolio.
Delta does this now and it is a very useful feature, even more so if you let the users set the thresholds for these alerts.

Thanks for your feature request.
I don't think we are likely to implement this feature right now because our app is not much a price tracker. I would recommend the use of such apps like Delta / any bitcoin tracker for this use-case for the time being.
Push notifications as also requested for when receiving assets ( #730 ) but it's also a tricky topic especially for privacy reason.


[iOS][Bug] - fix crash on performance logger

Summary
Fix Issue https://github.com/facebook/react-native/issues/24820
It's caused by _labelsForTags and RCTPLTag being out of sync, the crash might only be one of the issues that this bug was causing.
Changelog
[iOS] [Fixed] - fix crash on performance logger
Test Plan

Launch iOS simulator
Enable performance monitor
Tap on performance monitor

It should not crash

@zhigang1992 could you make the change that was suggested by @zhongwuzw?

All the unused flags are now removed except RCTPLJSCWrapperOpenLibrary. Which was added in https://github.com/facebook/react-native/commit/abe0b349bcdb59155445889d9615c13294a37c91 Should I remove that as well?

All the unused flags are now removed except RCTPLJSCWrapperOpenLibrary. Which was added in abe0b34 Should I remove that as well?

We can keep it, don't break RCTPLTag enum.


GEONEAR issues

Funcionamiento Esperado
Profeco prices per geo location
Funcionamiento Actual
{"error":"error processing query: ns=buda.profeco.preciosTree: GEONEAR  field=key maxdist=100 isNearSphere=0\nSort: {}\nProj: {}\n planner returned error: unable to find index for $geoNear query"}
Reproducir el Problema
Just load this in your web browser(or GET request)
https://api.datos.gob.mx/v1/profeco.precios?key=[near:-115.434131,32.626594]

1.- Is there any other way of contact, besides raising bugs/issues?
2.- I'd like to suggest improving documentation for this APIs as I find pretty much high level, a bit more of detail would be pretty much appreciated.
3.- When it comes to this API usage, may I use it just like that(I'm planing to build iOS app),
What I mean is this, is there any previous registration required?, if so, do you have documentation?
(keys, access tokens, etc...)
Thanks


Tests/aoc

Added the tests/aoc/ directory.
Haven't got a good way to run them as tests yet.
I've just been doing manually doing this:
cargo run
   (0!:10) <'./tests/aoc/aoc2022day01.ijs'
[]
   s1
[1, 0, 0, 0,
, 2, 0, 0, 0,
, 3, 0, 0, 0,
,
, 4, 0, 0, 0,
,
, 5, 0, 0, 0,
, 6, 0, 0, 0,
,
, 7, 0, 0, 0,
, 8, 0, 0, 0,
, 9, 0, 0, 0,
,
, 1, 0, 0, 0, 0,
]
   d1p1
31900
   d1p2
35200

TODO: aoc2022day02.ijs currently fails due to dyadic e. and i. not supporting rank 2+ arguments.


decrypt Buffer direct

var buf = Buffer.from(cipher.decrypt("string ..", 256, iv));
I already have Buffer encrypt with C# need to decrypt it
must add method for direct buffer decrypt not String

I don't understand your question. I suppose you are asking about how to decrypt Buffer data.
You can use Buffer directly on this library.
> key = 'abcdefghijklmnop'                                                                                'abcdefghijklmnop'
> cipher = new Rijndael(key, 'ecb')

> enc
<Buffer 2a ac cd 80 83 ee 04 81 bc 15 38 f6 b1 23 a1 75 3f cb da 61 2d 4a 31 e5 5b d1 61 36 f1 fd 93 c4>
> dec = cipher.decrypt(enc, 256)
[
  48, 49, 50, 51, 52, 53, 54, 55, 56,
  57,  0,  0,  0,  0,  0,  0,  0,  0,
   0,  0,  0,  0,  0,  0,  0,  0,  0,
   0,  0,  0,  0,  0
]

sorry your example not work
first i need cbc mode
next its give wrong result of  decrypt
i edit the rijndael-block.js
edit the decrypt and encrypt method for get direct buffer not a string
don't need to convert its to array because it's already array
const ciphertext = Utils.toArray(_ciphertext);


Module security

Issue #, if available:
Description of changes:
Hi Paul,
This pull request is related to a blog post that Arnaud and myself prepared for FS granular access via Lake Formation.
Here is the workdocs:
https://amazon.awsapps.com/workdocs/index.html#/document/1a58cdc94586aa0dc3d5bed8927791ab1847e935005e9d10b03e9369b88d5296
There is a new folder 09-module-security containing two notebooks, some additional images inside images folder and we also updated the main README file.
Please have a look and let us know. We plan to publish the blog post this week and we wait for the notebooks to be published on github.
Thanks in advance.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Testing completed = successful; after all changes applied, I will approve.


Debug falling async tests

From https://github.com/teohhanhui/callbag-rs/pull/1#issue-1091682936:

[x] Some tests failing on Linux:

https://github.com/teohhanhui/callbag-rs/runs/4661124395?check_suite_focus=true#step:4:304

The failures seem to be intermittent, so this looks like a race condition. Hopefully it's just a problem with the test.
Unable to reproduce on my machine.
FIXED: faee6415aa13060e5fef89dd4a5889d50e3ce4ff

[ ] Some tests failing on macOS:

https://github.com/teohhanhui/callbag-rs/runs/4676226803?check_suite_focus=true#step:6:137
https://github.com/teohhanhui/callbag-rs/runs/4676226803?check_suite_focus=true#step:6:243
https://github.com/teohhanhui/callbag-rs/runs/4712691284?check_suite_focus=true#step:6:190

Unable to reproduce on my machine (don't have a Mac).

I've noticed that the timers seem to be way off (firing too late) on Mac.
Looking at the timestamps for it_errors_sink_and_unsubscribe_from_inner_when_outer_throws log entries:
Actual results (macOS)

0.000ms: source_outer receives Message::Handshake(_)
0.407ms: sink receives Message::Handshake(_)
339.449ms: source_outer emits "a", the first source_inner is emitted, and the first source_inner receives Message::Handshake(_)
340.022ms: the first source_inner receives Message::Pull (this does nothing)
455.904ms: the first source_inner emits 1, and the sink receives Message::Data("a1")
462.201ms: source_outer emits "b", the second source_inner is emitted, and the first source_inner receives Message::Terminate
462.250ms: the second source_inner receives Message::Handshake(_)
462.330ms: the second source_inner receives Message::Pull (this does nothing)
596.826ms: the second source_inner emits 1, and the sink receives Message::Data("b1")

Fail because the sink is expecting Message::Data("a2")
Expected results (Linux)

0.000ms: source_outer receives Message::Handshake(_)
0.132ms: sink receives Message::Handshake(_)
231.047ms: source_outer emits "a", the first source_inner is emitted, and the first source_inner receives Message::Handshake(_)
231.234ms: the first source_inner receives Message::Pull (this does nothing)
332.101ms: the first source_inner emits 1, and the sink receives Message::Data("a1")
432.759ms: the first source_inner emits 2, and the sink receives Message::Data("a2")
460.938ms: source_outer emits "b", the second source_inner is emitted, and the first source_inner receives Message::Terminate
461.026ms: the second source_inner receives Message::Handshake(_)
461.172ms: the second source_inner receives Message::Pull (this does nothing)
561.708ms: the second source_inner emits 1, and the sink receives Message::Data("b1")
662.322ms: the second source_inner emits 2, and the sink receives Message::Data("b2")
690.811ms: the second source_inner receives Message::Terminate
690.880ms: sink receives Message::Error("42")

Success
What's going on?
If I understand correctly, this may be due to the macOS runner on GitHub Actions having 3 CPU cores instead of 2 for the Linux and Windows runners.
There is some serious resource contention going on. It's probably not the CPU, but stdout (for the test output).
Possible workarounds / solutions

Don't write test output to stdout when the tests are running, i.e. don't pass --nocapture to libtest.
This makes it very hard to debug failing tests though... (--show-output doesn't really work properly - it might associate output with the wrong test for some reason)

Pass --test-threads=1 to libtest.
We'll be less likely to catch race conditions this way? :disappointed:


Unable to Add Playlist keeps spinning, no way to cancel or to see what is happening (or if anything even is happening)

Describe the bug
Infinite loop when adding the M3U playlist via URL
Server (please complete the following information):

Debian 12 (Bookworm) on Proxmox
Intel 64 Bit
Threadfin Version and Build 1.0.26

To Reproduce
Steps to reproduce the behavior:

Click on playlist
Click on new
enter name and server URL - http://akontv.xyz/get.php?username=MYUSERNAME&password=MYPASSWORD&output=ts&type=m3u_plus
See error

Expected behavior
Assuming completion of the playlist creation (this is my first time using)
The URL I put above resolves in browsers and downloads the M3U and also works in M3U4U and other similar services

By the way, the same thing happens when I try to load the playlist from a local file. The file works fine in VLC and Kodi without any issues.
2024/04/18 14:15:34 [Threadfin] Open:                   /home/threadfin/iptv.m3u
2024/04/18 14:15:34 [Threadfin] Check File:             /home/threadfin/iptv.m3u
2024/04/18 14:15:34 [Threadfin] [ERROR] Invalid M3U file, an extended M3U file is required. () - EC: 0
2024/04/18 14:15:34 [Threadfin] Download:               http://hd-max.org:8080/Y217qk7DEZ/6Sf1ZPoPd1/3463
2024/04/18 14:15:36 [Threadfin] Check File:             http://hd-max.org:8080/Y217qk7DEZ/6Sf1ZPoPd1/3463
2024/04/18 14:15:37 [Threadfin] [ERROR] Invalid M3U file, an extended M3U file is required. () - EC: 0
2024/04/18 14:15:37 [Threadfin] All streams:            0
2024/04/18 14:15:37 [Threadfin] Active streams:         0
2024/04/18 14:15:37 [Threadfin] Filter:                 0
2024/04/18 14:15:37 [Threadfin] [ERROR] writev tcp <IP_ADDRESS>:34400-><IP_ADDRESS>:36798: writev: broken pipe (Unknown error / warning (1022)) - EC: 1022

I worked out my issue, the setup instructions said to use
1cpu
512mb ram
2GB hdd
I went to 2 cpu 4gb ram and 2GB hdd and then instantly had success

I am having the same issue. Getting a dial tcp i/o timeout though.

Ok so what fixed it for me was a few things.

Being patient
Assigning more resources than suggested in the setup guide, at least initially because until I set 2 CPUs and at least 4gb RAM it essentially kept dying trying to set up. Once set up though it uses next to no resources so I’m not sure if it’ll have gotten there after like 4hrs or something without being touched in any way but I’ll never know.
Being patient some more, even with all the added resources I noticed that if I watched proxmox’s resources I would see the point where threadfin was done processing whatever it was doing, because the UI seems like it is in a death spiral and nothing doing, if trying to click anything because that process finishes I think that’s where there error generates, because doing it the way I just said I realised there was no “process complete” message, but seeing that there was nothing processing and then refreshing to the main page, it was obvious it finished what it was doing.

I know these aren’t major ‘workarounds’ but worth noting because you might’ve been expecting wha to was expecting and then ended up in the same boat.

Changing resource allocation for initial config resolved my issue.


Various documentation fixes

This PR contains some small suggestions to improve the clarity and consistency of the documentation (and some typo fixes). Please let me know if there is anything else that should be done/rendered locally from these files before pushing, that I may have missed.

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

Comparison is base (0fa2895) 100.00% compared to head (4dd81b0) 100.00%.

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

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

Looks great to me, Thanks Charlotte!
The only thing I am not sure is which convention we want to stick to when it comes to '.zarr', as this is the file extension of the OME-Zarr produced by fractal (and we do not have .zarrs, but multiple .zarr files).
What do you think?

Yeah, not sure - one option could be to put the .zarr in  fixed-width case and then add the s, i.e. .zarrs (I've sometimes done this when referring to data.frames etc.)


Issue with k8s.io/docs/tutorials/hello-minikube/

This is a...

[ ] Feature Request
[x ] Bug Report

Problem:
--port option is placed on wrong command in tutorials
Proposed Solution:
move it to the correct command
Page to Update:
https://kubernetes.io/...

Repost


Make citable

As a reader of the guide I would like to be able to cite this guide using a DOI.
The following steps need to be done

[x] Zenodo-GH integration switched on
[x] Add .zenodo.json
[ ] Create GH release
[x] Add CITATION.cff
[ ] Add Zenodo badge to README.md

https://github.com/NLESC-JCER/cpp2wasm/pull/41

Release v0.1.0 has been made see https://zenodo.org/record/3876113 .


brick_0_28 fails because of wrong vty dependency

Issue description
I have a package that depends on brick_0_28. brick_0_28, however, fails to build because of the following error:
Setup: Encountered missing dependencies:
vty >=5.18.1

There seems to be vty_5_18_1, but it's not used in the derivation for brick_0_28.
Steps to reproduce
Installing brick_0_28 should suffice.
Technical details

System: 18.03pre117327.3fe7cddc30 (Impala)
Nix version: nix-env (Nix) 1.11.15
Nixpkgs version: "18.03pre118082.00e56fbbee"
Sandboxing enabled: false

There is no brick_0_28 anymore, only brick_0_53, and this one builds just fine.


Support Material3 version 1.3.0-Beta01

Hi
Please update material3 to version 1.3.0-Beta01.
material3-1.3.0-Beta01

Modifier.clickable(interactionSource = interactionSource,
indication = rememberRipple(color = Color.Blue.copy(alpha = backgroundAlpha))) {
//^ deprecated error, compilation fail
}
you can force override androidMain.dependencies.implementation(libs.compose.material3) to 1.3.0-beta01,
but other components will give errors, For example, the beyondBoundsPageCount property of HorizontalPager will be lost, but everything is fine in the compiler, and only an error occurs during runtime.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Have posts include clickable tags?

Hi,
When I look at my list of posts, from the home page, they have a title, the author, the publish date, and then the tag associated with that post.
Could I make a style change so that the associated tag could be clickable and link to all posts with associated tag?  See this:
https://dl.dropboxusercontent.com/u/5473387/bj-tags.jpg
Brian

@braimee  Fixed. :+1:

Hey thanks!  Sorry for the probably obvious question, but which file contains this change?

Here inside loop.hbs file. :)


Improve connector operations and error&logging

Description
The connector was updated to the Azure service messaging bus latest version - 7.13.1
Fixes # (https://github.com/wso2-enterprise/choreo/issues/17916)
One line release note:

Improvements on enabling/disabling logs & functions

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
All connector functions were tested with Azure service bus account and verified.
Test Configuration:

Ballerina Version: Swan Lake 2201.3.1
Operating System: Ubuntu
Java SDK: 11

Checklist:
Security checks

[x] Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines?
[X] Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets?

@SanduDS
Released 3.0.1 to dev https://dev-central.ballerina.io/ballerinax/asb/3.0.1 with this improvement

@SanduDS released to staging and prod too
https://staging-central.ballerina.io/ballerinax/asb/3.0.1
https://central.ballerina.io/ballerinax/asb/3.0.1


CPU cost heavily

Thanks for sharing this nice library. I found the sample app costs heavily in cpu when downloading.

@ibosong Thanks for using Fetch. I noticed that you are using the Parallel Downloader. The Parallel Downloader opens/creates the specified amount of connections(default I believe is 3-6) on different threads to download parts of the file in parallel resulting in a faster file download. This is per download. With that comes the cost of using more memory and cpu. So if you have 2 downloads going at the same time that could be very costly.
The Sequential Downloader only opens one connection and uses one thread per download to download a file. So the resource usage will be much lower.
Hope this helps.


number of channels in same set should be identical  is too strict , how to modify the source code ?

Describe the issue:
i'm tring to prune channels by  SlimPruner , but is does't support my module in torch
the structure is a stacked Hourglass ,
i checked src from nni, i found it encounter error in ChannelMaskConflict.fixmax()

the network does't follow a batchnormal after conv all the time , and the channel  count will be changed after conv in the inherit,
moreover ,  the shortcut will lead to  find more predecessors . so the channel can't be same all the time .
therefore ,  i want to know how to modify the source code to adapt my network ?
the  stacked Hourglass network

Environment: MAC os

NNI version: 2.5
Training service local
Python version:3.75
PyTorch/TensorFlow version: torch 1.9.1
Is conda/virtualenv/venv used?: venv
Is running in Docker?: NO

Log message:

nnimanager.log: number of channels in same set should be identical
dispatcher.log:
nnictl stdout and stderr:

How to reproduce it?:

hello, have you solved this problem?


Typo in label

Quick one:
https://discord.com/channels/404106811252408320/748320367176581200/1098338756358049862

I'm helping!
https://github.com/helium/network-explorer/pull/33

Closed by #33


Tweet Scraping Functions

Also, as mentioned in the CONTRIBUTING.mdfile, please create a branch in your origin and raise a PR from there to upstream:master. You can do this from next time onwards

Works! Merging. I'm opening some other issues referencing this PR. Feel free to work on those!


Create a RoleBinding from the Operator

Maybe I'm missing smth obvious but I have not found RoleBinding in types. The installation of an application that my Operator handles implies creation of a service account and a RoleBinding (to give either admin or edit rights for that SA in a target namespace) that the application will use then.

@shawn-hurley yes, thanks, worked perfectly well with Deployment and other resources in apps/v1
A pointer to RoleBinding and Route will be greatly appreciated though! :)

@eivantsov You should be able to create a RoleBinding object using the sdk client, similar to how you would create any other core k8s resource like Deployment or Pod:
import rbacv1 "k8s.io/api/rbac/v1"
...
roleBinding := &rbacv1.RoleBinding{
    TypeMeta: metav1.TypeMeta{
			APIVersion: "rbac.authorization.k8s.io/v1",
			Kind:       "RoleBinding",
		},
		...
}

sdk.Create(roleBinding)

And lets use #477 to cover how to add 3rd party resources like Route the sdk scheme.

Closing for now. Feel free to reopen this if you still have issues creating a RoleBinding via the client.

@hasbro17 thanks for your help.
I figured it out with deployments and routes. With RoleBinding, however I face the following issue:
time="2018-09-18T18:07:36Z" level=error msg="failed to create Che roleBinding : the server could not find the requested resource"

My function:
func createRoleBinding(cr *v1alpha1.App) *rbac.RoleBinding {
	labels := map[string]string{"app": "che"}
	return &rbac.RoleBinding{
		TypeMeta: metav1.TypeMeta{
			Kind:       "RoleBinding",
			APIVersion: rbac.SchemeGroupVersion.String(),
		},
		ObjectMeta: metav1.ObjectMeta{
			Name:      "che",
			Namespace: cr.Namespace,
			Labels:    labels,
		},
		Subjects: []rbac.Subject{
			{
				Kind: "ServiceAccount",
				Name: "che",
			},
		},
		RoleRef: rbac.RoleRef{
			Name: "edit",
		},
	}
}

In my rbac.yaml:
- apiGroups:
  - "*"
  resources:
  - "*"

@hasbro17 @shawn-hurley thanks for your help. I was able to create all objects the operator required.


Fix broken loudspeaker/clipboard icon in admin view

Previously, no icon would display in admin/wagtailsvg/svg/

Minor refactor


mattorch.load with multi threading.

Hi,
I am using mattorch.load to read ".mat" data files saved using "-v7.3" in matlab. It is working fine with "-nDonkeys 0 or 1". However when I run it with "-nDonkeys 2 or more " it gives segmentation fault (core dump) and sometimes it throws bus error (core dump).
Thank you in advance.

the matlab C lib is probably not thread-safe or reentrant, you'll have to check that.

How do I check this? I am using this library.
https://github.com/clementfarabet/lua---mattorch/blob/master/mattorch.c
Is there any way to verify, if this supports multi-threading.
Thanks


certificate issue Update scala.bzl

Hi,
Thanks for the contribution! I'd really prefer not applying this fix as this can open a security issue IMHO . I've reached out via twitter to Lightbend (https://twitter.com/ittaiz/status/1010588645689053185) to try and see if they can help us resolve the matter.
@dslomov is there an automated way of getting our dependencies to be mirrored via the google infra?

That said, I don’t see the http risk given we have a sha256. What is your concern @ittaiz?

The sha256 is a good point but I’m not sure it solves it.
I’ve reached out to a few sec people I trust to hear if there’s an exploit
or not.
On Sat, 23 Jun 2018 at 22:00 P. Oscar Boykin<EMAIL_ADDRESS>wrote:

That said, I don’t see the http risk given we have a sha256. What is your
concern @ittaiz https://github.com/ittaiz?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/pull/533#issuecomment-399701292,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIF7ve5lavsl-tAChL6uNlQZ6o-fbkks5t_pBmgaJpZM4U03yi
.

I have used updated sha value from my commit on your repository. My builds are going fine.
using http instead of https for http://downloads.lightbend.com is security flow on lightbend not with bazel.
Actully bazel team should maintined jar in their local nexus for external dependencies, not project team depends on bazel project. What do you say ?

merging. intellij seems unrelated as Oscar noted

I am sorry, but I don't use IntelliJ. I encountered this on my local and then to travis build machine.

No worries. It’s not related to your change.
Thanks for the contribution!
On Sun, 24 Jun 2018 at 15:56 GIT<EMAIL_ADDRESS>wrote:

I am sorry, but I don't use IntelliJ. I encountered this on my local and
then to travis build machine.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/pull/533#issuecomment-399754686,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIFzzcSlH5J0j1PrR_A3mhw0sa-gt2ks5t_4yKgaJpZM4U03yi
.


Publisher solution list gateways that is not using the same currency

Branch: development
Commit: 3b1949b5529c42dc08b795511cd74493fc6f6940
Environment: mainnet
Only tfgw-prod-05.gateway.tf is supporting FreeTFT, but I found all of them.

Also in threebot chatflow

Verified
commit: b9b7bc5b8cb6d26e5ba3f4c7300b4e1d440eb0d0


Fix #38904 - XMLParser/_parse_comment - detect the end of comment

Bugsquad edit: Fixes #38904.

Won't this break on nested comments, which the previous code explicitly aimed to handle with count?
Like <!-- This is the comment syntax: <!-- Comment -->, easy, no? -->.

Superseded by #39753.


404 page does not align correctly

404.html does not left align properly on the small screen layout the same way index.html does.


[a58 bug] Azure OpenAI global variables passed via "--env-file" doesn't work correctly

Describe the bug
When we pass the global variables via a file which is then passed as python -m langflow run --env-file /path/to/.env command doesn't work and gives the following error:
ValueError: Error building vertex Azure OpenAI Embeddings: Could not connect to AzureOpenAIEmbeddings API.

Browser and Version
n/a
To Reproduce
Steps to reproduce the behavior:

Choose the pre-built Vector Store RAG collection
Replace Open AI embedding/model to Azure OpenAI equivalents
Try to play and you should see errors.

FWIW, if you manually enter the Azure OpenAI values on the component, this works.
Screenshots
n/a
Additional context
n/a

Fixed by https://github.com/langflow-ai/langflow/pull/2336


Feature: Node replacement with withKlass example

Description
This PR adds an editor example that uses Lexical's node replacement feature to the /examples directory in the repo. The plan is to make a stackblitz sandbox out of this for the node replacement doc.
Related to #6398
Test plan
Before

No example demonstrating the node replacement feature was present in the /examples directory.

After

A functional example demonstrating node replacement is available in the /examples directory.

Are you planning to continue working on this PR, or should it be closed?

Are you planning to continue working on this PR, or should it be closed?

Hi, yes I plan to continue. Got stuck over some lint errors but I’ll get back to it this week.


Issue with webpack2

OS?
macOs Sierra
Versions.
angular-cli: 1.0.0-beta.21
node: 7.1.0
os: darwin x64

I guess the bug comes from webpack2 that now understands import/export. I have a shared folder with a lot of services, and I import them inside my app.module.ts:
app/shared/logger/logger.ts:
export enum Level { OFF = 0, ERROR = 1, WARN = 2, INFO = 3, DEBUG = 4, LOG = 5 }

app/shared/logger/index.ts:
export * from './logger.service';
export * from './level';

app/shared/index.ts
export * from './logger';
// ... other services

app/app.module.ts:
import {
  // ... other services
  LoggerService,
  Level
} from './shared';

console.log(Level); // undefined

If I change the last line to console.log(Level, require('./shared').Level); they both get printed

Is there an index.ts in the animation directory?

Indeed, I added it to the post

the only thing that's exported is 'reflow'.

I fixed all code examples sorry

Does it only happen with the enum?  I remember reading about an issue regarding exports and enums but don't remember where I saw it.

It's with everything I export with * somehow

Weird thing: if I console.log(module.exports) inside app/shared/logger/index.ts, and I get this:
https://i.imgur.com/wSDmsle.png

I wonder if this is related to ngc as well. Needs some investigation.

I'm not using ngc or I did nothing to do so. Maybe that is related to typescript handling of export * ?

Closing as outdated, please let me know if you still experience this error. Might also be related to https://github.com/angular/angular-cli/issues/2741.


Using gulp-strip-debug with gulp-sourcemaps

Hi,
I tried using gulp-strip-debug with gulp-sourcemaps and apparently they don't play well together.
Do you have any plans on making it compatible?
Thank you :)

I would welcome a pull request, but not really something I have time to implement right now. Would need to be implemented in strip-debug first.
https://github.com/sindresorhus/strip-debug/issues/11

Thank you for the fast reply. I'm not yet proficient with this in order to help unfortunately.
I'm still using it for production: I need the gulp-strip-debug but not the sourcemaps for that :)