This website is not responsive . I want to work on it to make it responsive . Navigation bar is also not attractive I want to  work on it.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

I am interested to work on this issue under GSSoC 2023 as a contributor


Copying, then cutting pastes the cut line, not the copied text

VSCode Version: 1.51.0
OS Version: macOS Catalina 10.15.6

Steps to Reproduce:

Copy some text with cmd-c
Delete a line with cmd-x
Try pasting your text with cmd-v - you paste the deleted line

Does this issue occur when all extensions are disabled?: Yes

That's.. how cut works.


python27Packages.diff-match-patch: 20181111 -> 20200713

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python2.7-diff-match-patch/versions.
meta.description for python27Packages.diff-match-patch is: "Diff, Match and Patch libraries for Plain Text"
meta.homepage for python27Packages.diff-match-patch is: "https://github.com/diff-match-patch-python/diff-match-patch"
meta.changelog for python27Packages.diff-match-patch is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 20200713 with grep in /nix/store/r51g30h55kvs09vwgn5xyaigg418lp2d-python2.7-diff-match-patch-20200713

directory tree listing: https://gist.github.com/956a430f3afc50d5cefbd524e9930301

du listing: https://gist.github.com/e319b8da91d511b3c2a52eb78125a3d3

Rebuild report (if merged into master) (click to expand)

21 total rebuild path(s)

6 package rebuild(s)

6 x86_64-linux rebuild(s)
6 i686-linux rebuild(s)
3 x86_64-darwin rebuild(s)
6 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python27Packages.diff-match-patch
python37Packages.diff-match-patch
python37Packages.spyder
python38Packages.diff-match-patch
python38Packages.spyder
spyder

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/r51g30h55kvs09vwgn5xyaigg418lp2d-python2.7-diff-match-patch-20200713 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python27Packages.diff-match-patch https://github.com/r-ryantm/nixpkgs/archive/e8722925d51debf76153f87e94c0cb2c78d52b33.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/r51g30h55kvs09vwgn5xyaigg418lp2d-python2.7-diff-match-patch-20200713
ls -la /nix/store/r51g30h55kvs09vwgn5xyaigg418lp2d-python2.7-diff-match-patch-20200713/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

2 packages failed to build:

python37Packages.spyder
spyder (python38Packages.spyder)

3 packages built:

python27Packages.diff-match-patch
python37Packages.diff-match-patch
python38Packages.diff-match-patch

Maintainer pings

Superseded.


⚠ Anthelion has degraded performance

In c61db2c, Anthelion ($ATH) experienced degraded performance:

HTTP code: 200
Response time: 4240 ms

Resolved: Anthelion performance has improved in 3d813b4 after 410 days, 18 hours, 5 minutes.


Support for WASI 0.2?

Hi, I just wanted to know if wasmer-go currently supports WASI 0.2 or is there any active development work going on?

Hey WASI 0.2 is not currently being supported in Wasmer.
WASI 0.2 has a breaking change regarding WebAssembly modules generated, and they depend in WebAssembly Component model, which none of the browsers currently support.
Is likely Wasmer will support the component model if/when browsers do


added detail to reduce the number of calls before resubmitting

Docs Build status updates of commit aa0cd4d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Advertising/hotel-service/throttle-requests.md
:white_check_mark:Succeeded

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


Unused Cmd Msg

Same as: https://github.com/elm-community/elm-datepicker/issues/80
Do you mind if I make a PR to update this?

That would be awesome.
Should probably look through the other issues on the old repo as well.


Remove DOIT to stop use of doitlibtool

The doitlibtool script has been depreciated and removing the DOIT line in the configure.ac turns it off and uses libtool instead.  Works in OS X but more importantly works now in Yocto as a recipe to add the library to a new system

Merged into mainline. Thanks!

Finally finally I got all my Yocto ducks in  a row and got your library and a C compiler on the BeagleBone image.  I had built a modified version of your tutorial program on OX X.  Cut and pasted that into a file on the BBB and it built and ran just like the original.
Thanks for your help and if anyone wants it this is the recipe for libmill on yocto.
-----------------------------------------------------
Header Meta data
SUMMARY = "Co-routine & Network Library"
DESCRIPTION = "Easy network use and co-routine operation"
AUTHOR = "Martin Sustrik"
HOMEPAGE = "https://libmill.org"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=6d82245bd22227ca739abaf3dcd3b80d"
PR = "1.0"
-----------------------------------------------------
Source data
My fork
SRCREV = "419f4eb0b9aa9298ccbf434f24464ec292469951"
SRC_URI = "git://github.com/sustrik/libmill.git;protocol=https"
inherit autotools gettext
S = "${WORKDIR}/git"
Thanks again for a really nice tool.
—jim schimpf

On 28 Oct, 2015, at 1:16, sustrik<EMAIL_ADDRESS>wrote:
Merged into mainline. Thanks!
—
Reply to this email directly or view it on GitHub https://github.com/sustrik/libmill/pull/118#issuecomment-151727356.

Nice!
Would it make sense to include the recipe in libmill package?
Martin
On 2015-11-01 10:06, jschimpf-pandora wrote:

Finally finally I got all my Yocto ducks in  a row and got your
library and a C compiler on the BeagleBone image.  I had built a
modified version of your tutorial program on OX X.  Cut and pasted
that into a file on the BBB and it built and ran just like the
original.
Thanks for your help and if anyone wants it this is the recipe for
libmill on yocto.
-----------------------------------------------------
Header Meta data
SUMMARY = "Co-routine & Network Library"
DESCRIPTION = "Easy network use and co-routine operation"
AUTHOR = "Martin Sustrik"
HOMEPAGE = "https://libmill.org"
LICENSE = "MIT"
LIC_FILES_CHKSUM =
"file://COPYING;md5=6d82245bd22227ca739abaf3dcd3b80d"
PR = "1.0"
-----------------------------------------------------
Source data
My fork
SRCREV = "419f4eb0b9aa9298ccbf434f24464ec292469951"
SRC_URI = "git://github.com/sustrik/libmill.git;protocol=https"
inherit autotools gettext
S = "${WORKDIR}/git"
Thanks again for a really nice tool.
—jim schimpf

On 28 Oct, 2015, at 1:16, sustrik<EMAIL_ADDRESS>wrote:
Merged into mainline. Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/sustrik/libmill/pull/118#issuecomment-151727356.

Reply to this email directly or view it on GitHub:
https://github.com/sustrik/libmill/pull/118#issuecomment-152808242

Not sure where to put it (Yocto_recipe directory ?) but libmill is made for the embedded world and Yocto makes it easy to get into a distribution. You are free to put it where you wish.
Thanks for writing.
—jim_schimpf

On 2 Nov, 2015, at 1:44, sustrik<EMAIL_ADDRESS>wrote:
Nice!
Would it make sense to include the recipe in libmill package?
Martin
On 2015-11-01 10:06, jschimpf-pandora wrote:

Finally finally I got all my Yocto ducks in a row and got your
library and a C compiler on the BeagleBone image. I had built a
modified version of your tutorial program on OX X. Cut and pasted
that into a file on the BBB and it built and ran just like the
original.
Thanks for your help and if anyone wants it this is the recipe for
libmill on yocto.
-----------------------------------------------------
Header Meta data
SUMMARY = "Co-routine & Network Library"
DESCRIPTION = "Easy network use and co-routine operation"
AUTHOR = "Martin Sustrik"
HOMEPAGE = "https://libmill.org"
LICENSE = "MIT"
LIC_FILES_CHKSUM =
"file://COPYING;md5=6d82245bd22227ca739abaf3dcd3b80d"
PR = "1.0"
-----------------------------------------------------
Source data
My fork
SRCREV = "419f4eb0b9aa9298ccbf434f24464ec292469951"
SRC_URI = "git://github.com/sustrik/libmill.git;protocol=https"
inherit autotools gettext
S = "${WORKDIR}/git"
Thanks again for a really nice tool.
—jim schimpf

On 28 Oct, 2015, at 1:16, sustrik<EMAIL_ADDRESS>wrote:
Merged into mainline. Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/sustrik/libmill/pull/118#issuecomment-151727356.

Reply to this email directly or view it on GitHub:
https://github.com/sustrik/libmill/pull/118#issuecomment-152808242

—
Reply to this email directly or view it on GitHub https://github.com/sustrik/libmill/pull/118#issuecomment-152932105.


WIP: Pool streams on the Http2Connection

Pool Http2Stream objects based on the MaxConnectionsPerStream configuration.

This builds on top of https://github.com/aspnet/AspNetCore/pull/6119
cc @sebastienros @benaadams

Will revisit when #6119 is in


Roll Flutter Engine from 63845d96054b to cf962bac355a (1 revision)

https://github.com/flutter/engine/compare/63845d96054b...cf962bac355a
2022-06-10<EMAIL_ADDRESS>Roll Skia from d840bd77e6bd to 0a1ed2795d54 (1 revision) (flutter/engine#33958)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


API deactivate user

Make sure there are no assignments when deactivating a user through the API.

Was already done.
https://github.com/ucdavis/Peaks/blob/master/Keas.Mvc/Controllers/Api/PeopleAdminController.cs#L104-L124


This is new issue

https://github.com/shaikhAhmedRaza/hms_new/blob/d4acaea48576be18076c082236c37168db63afd9/src/app/app.module.ts#L24

Some comment


Use stdout instead of stderr in backend

Thanks for the PR. We think writing to stderr is preferable. It's a debugging/log message rather than a program output.

Yes, I agree. But, for example, we use python scripts with Keras and launch the script via crontab. When the script generates errors crontab sends notifications. And now we get the error message with "Using TensorFlow backend."
Do not you think it's a bit strange?


x/build/maintner: new empty milestones are not detected

A new milestone with no issues does not show up in the corpus.
(Also, don't mind me while I use this issue to prime the corpus.)

I ran into what I suspect to be a related issue while doing #26949.
A newly added GitHub repository with zero issues does not show up in the corpus. As soon as I created the first Pull Request (which counts as an issue), the repository showed up.
(Thanks @FiloSottile for reporting this issue; if I hadn't seen it, it would've been harder for me to debug what went wrong.)

After going through the latest Go release, I think this is indeed a bug. If a new, empty milestone is not picked up by the corpus, then the new milestone for the next release will be ignored. The current code will then require that some random issue is added to this future milestone in order to be picked up and allow the release to proceed. I also used this issue to prime the corpus as @FiloSottile did, but that feels like a bit of a hack.

This issue is is needs decision state. By now, I think the decision is we should fix this issue if we find a safe way to incorporate explicit milestone creation/deletion events into the maintner data model, have an efficient way of extracting these events from the GitHub API, and ensure it won't increase rate of data written significantly (it should not). This is likely blocked on a resolution to #37603, and ideally addressed while taking into account the many other maintner issues.
I'll move it to needs investigation, since a decision is no longer blocking progress here.


Fixing a small, but significant, bug with MOON.

PR Type
Fix
Short Description
Fixing a small bug in the MOON implementation in line with Sana's fix. Adding some tests to ensure the fix is properly functioning.
Tests Added
Some tests to make sure the loss calculations etc. function as expected given the change.

Changes seems good to me, Thanks for applying changes.


optimize Skip whole row group in the parquet lazy read situation if data has been filtered out.

Proposed changes
Problem summary
Close #19038
We found qt_q11 in regression test test_external_catalog_hive is very slow.
The result is only one record, so other data should be filtered out in the parquet lazy read situation.
Then we found currently the parquet reader read many records because we can only skip parquet page. But in order to skip parquet page, currently we need to read page header, then it will caused prefetch data. Therefore, prefetch data in this case may be not good.
So there are two issues:

Skip whole row group in this case.
Prefetching data in this case may be not good, need to improve it.

This PR resolve issues 1.
Test result:
Before opt:
mysql> select l_quantity from test_external_catalog_hive.tpch_1000_parquet.lineitem where l_orderkey = 599614241 and l_partkey = 59018738 and l_suppkey = 1518744 limit 2;
+------------+
| l_quantity |
+------------+
|      16.00 |
+------------+
1 row in set (2 min 27.55 sec)

After opt:
mysql> select l_quantity from test_external_catalog_hive.tpch_1000_parquet.lineitem where l_orderkey = 599614241 and l_partkey = 59018738 and l_suppkey = 1518744 limit 2;
+------------+
| l_quantity |
+------------+
|      16.00 |
+------------+
1 row in set (41.95 sec)

Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

LGTM

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.78 seconds
stream load tsv:          424 seconds loaded<PHONE_NUMBER>9 Bytes, about 168 MB/s
stream load json:         24 seconds loaded<PHONE_NUMBER> Bytes, about 93 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230425070905_clickbench_pr_134625.html


Creation of three new ADRs for paragon

tl;dr -

Arch team will take "ownership" of Paragon.  (this is more an offer of coordination than anything else)
We use Bootstrap.
We will start using Reactstrap.

All three are obviously proposals - exact details are up for discussion.  None of this is expected to be controversial or ruffle any feathers - if it does, let's talk!  I must not have talked to you about it yet.
I intend to bring this up for discussion at the next Fedx meeting to solicit feedback.

Coverage remained the same at 99.072% when pulling b042053ccdf89a2b2c0683f11769a9b13183f749 on djoy/ownership_and_bootstrappy_adrs into bbb7b0cab612a248a4c592745176a23acf81d3cf on master.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Feature request: Add new arguments assist

struct TypeA;
struct TypeB;

fn foo(a: TypeA, b: TypeB) {
    sub1(a, b);
    sub2(a, b);
    //   ^ User requests "Add new arguments" assist in parameter list
}

fn sub1(a: TypeA, b: TypeB) {

}

fn sub2() {

}

Rust analyzer would change sub2 to the following:
fn sub2(a: TypeA, b: TypeB) {

}

This assist would only be available if there are new arguments that can be added at the end of the parameter list of the function signature. For example, if sub2 already had parameter a, only b would be added.

Duplicate of #6499.

I don't think this is exactly the same, because this assist would be invoked at the call site, not at the definition site

We need to find a good UX, preferably within the LSP limitations. It might be an assist invoked on the caller or callee side, but we won't make two of them. Feel free to post your thoughts in the other issue, though.

I don't see the problem with having 2.
For the assist at definition site, the arguments would be provided by the user.
For the assist at the call site, the arguments would be inferred from the call.
They are 2 different assists useful in 2 different contexts.
Can you give a rationale on why we couldn't have 2?
But I'll post these thoughts on the other issue as well.

Since they're doing almost the same thing, I think it makes sense to discuss both in the same issue.


Lightweight module system - configuration manager

This is yet another attempt to bring basic modularity to Zend\Expressive. Compared to my previous idea (using full ModuleManager from ZF2), this one is far simpler and comes with no overhead. I made an assumption that most common use case for a module is to add configuration that can be merged with other configs.
Why bother? I've seen a few discussions about modules for Expressive around, but with no conclusion. On the other hand, anytime I'm trying to write something more complex with Expressive, I run into the same problem ("how to do modules") over and over again.
In this approach each package can be shipped with "config provider" - a class that looks like this:
namespace App;

class ApplicationConfig implements ConfigProviderInterface
{
    public function getConfig()
    {
        return [
            'routes' => [
                [
                    'name' => 'home',
                    'path' => '/',
                    'middleware' => \App\Action\HomePageAction::class,
                    'allowed_methods' => ['GET'],
                ],
                [
                    'name' => 'api.ping',
                    'path' => '/api/ping',
                    'middleware' => \App\Action\PingAction::class,
                    'allowed_methods' => ['GET'],
                ],
            ],
        ];
    }
}

I created a new class (ConfigLoader) to order to aggregate and merge configuration. It is able to load PHP files (basically acts as config/config.php file in current version) and config provider classes. You create by it passing list of files as the first argument and list of config classes as the second:
// new config/config.php
$configManager = new ConfigLoader(
    Glob::glob('config/autoload/{{,*.}global,{,*.}local}.php', Glob::GLOB_BRACE),
    [
        ApplicationConfig::class,
	BlogConfig::class,
	SomeOtherConfig::class,
    ]
);

After object is created you can get merged config:
$config = $configManager->getMergedConfig();
return $config;

This mimics ZF2 system - you can "composer install" module and add its config class to the list. It comes with no overhead - configuration from config classes can be cached on production environment, in which case whole system requires adding only one class to bootstrap process.
In order to make it easier to understand, I submitted this code as a PR to skeleton application. If this is accepted (or at least there will be somebody interested in using it), I will ship it as a separate package.
So, what do you guys think about this?

ping @weierophinney @xtreamwayz

@mtymek — I really like this idea. It's not dissimilar to the ModuleManager, which means it also lends itself well to an idea I have with that: a Composer post-install script that would auto-add one or more config classes to the list.
I do think this can and should be done as a separate package, which we can then have the skeleton use as a dependency. That package could also contain the class implementing the post-install script, which would ensure that any project that has it as a dependency would be able to trigger it when adding new packages.
Also: this can be a post-1.0 feature, as far as I'm concerned; i.e., you can work on it now, but it shouldn't delay the 1.0 stable release. Users can then update their applications to add the capabilities once the package is stable.
How would you like to proceed at this point?

Happy to see that you like it, and fully agree that it shouldn't delay Expressive v1.0.
I can put this code in a separate repo, polish it and initiate new discussion under Expressive repository (so that it will be visible by more people). After it is reviewed by community, you can fork it under Zend Framework organization, just as it happened with skeleton app. Sounds good?

@mtymek Perfect! We can even keep discussion here, as this will be the package that integrates it, and, well, you've already created an issue. :wink:

Nice one! Keep on going @mtymek

@mtymek Could you update the description, or post a follow-up, showing the current state of your proposal and its architecture? You're doing some nice things on it, and it would be good for those following this issue to see what's happened. :smile:

I'll submit new pull request to this library (with usage instruction) later today.

I created a new PR, replacing this one: #31.


Added CloudFormation, deleted Cloudwatch from table

Description of changes:
Added CloudFormation and AWS CDK to EKS-A/EKS comparison table. Removed CloudWatch.

/hold
for approval from @vipin-mohan

/unhold
This is ready to merge, when someone is available to okay it.


Add doc command to generate documentation via underlying scaladoc

Is your feature request related to a problem? Please describe.
It would be really nice to be able to generate documentation without having to switch to sbt or install the scala binaries manually.
Describe the solution you'd like
Let scala-cli doc . generate documentation for the code in the current dir, for example written to a dir named doc or similar.
Additional context
This would mean that scala-cli needs to install and call scaladoc. There are also various options to scaladoc that somehow should be possible to control from scala-cli doc

Hi @bjornregnell, scala-cli is able to generate scaladoc (javadoc) jars however this is a part of publishing so it is still experimental and we do not publicize it that much.
scala-cli package --doc -o docs.jar .

This will create javadoc (scaladoc) jar in docs.jar. Is that sufficient for now? In long term, we will create a doc command but we are also thinking about integration with mdoc or static sites in scaladoc 3.x or similar tool so doc can be used to generate microsite for a library.

Aha, good to know @romanowski ! Although mdoc integration sounds nice, ordinary scaladoc generation seems like a feature of more "hygienic" nature, so one option is to release that basic capability first through scala-cli doc and later extend it with more cool stuff, i.e. let scala-cli doc delegate to scala-cli package --doc for as a start, if relevant.

Is that sufficient for now?

The current scaladoc generates a static site, and that is how I used it with my students last year (the have one lab where the should provide docs with their hand-in). Is scala-cli  package --doc currently able to generate a static site as well, with the index.html and all that js stuff, perhaps after unpacking the jar?

Hi @bjornregnell,
Yes, the currently generated doc jar contains a static site as well, just unpacking the jar and you can see HTML files.
lwronski$ scala-cli package Hello.scala --doc
lwronski$ unzip Hello.jar -d doc
lwronski$ ls doc
META-INF		_empty_.html		favicon.ico		hljs			index.html		scaladoc.version	styles
_empty_			docs			fonts			images			inkuire-db.json		scripts			webfonts

So one easy fix for now is that the scala-cli package --doc commant could give a hint on how to unpack the jar to get the site with some helpful message printed? People might be used to the sbt doc behavior where the site is not jarred but available uncompressed in target, and it is perhaps not obvious that the jar contains the static site...

I agree, that there should be a user-friendly option for generating documentation.
Instead of giving hint how to extract the jar, it wants to add a new flag/command that will generate the documentation
I'm trying to do it in #991


Check for places to use fast URI serialisation (like HistoryService)

When profiling the "[renderer] restore editor view state" you will notice that ~10ms are spend in the history service comparing the current input with old input. The time is spend in handleEditorEventInHistory which is busy retrieving data from storage, building URIs and comparing them against other URIs. The code uses URI.parse and URI.toString which have many safe guards and checks and are consequently not super-fast. However, when you can trust URI, like in this case as they are generated/stored/retrieved from use you should use URI.toJSON and URI.revive or better and easier marshalling#stringify/parse which are drop in replacements (and used by workers/ext-host communication)

CPU-20170106T103803.cpuprofile.zip

Ok, I was not aware of that. I think there may even be more places where URIs are ending up in local storage.

@jrieken there are two things around URI.toJSON() and URI.revive() that are unclear to me:
URI.toJSON()
When I have a file URI and I call URI.toJSON(), the resulting JSON is very verbose, specifically it looks like this:
{
	"scheme": "file",
	"authority": "",
	"path": "/Users/bpasero/Documents/ticino-playground/Position.ts",
	"fsPath": "/Users/bpasero/Documents/ticino-playground/Position.ts",
	"query": "",
	"fragment": "",
	"external": "file:///Users/bpasero/Documents/ticino-playground/Position.ts",
	"$mid": 1
}

Since I am persisting resources, I would favour shorter data. First of all, why do we not just leave out the values for authority, query and fragment if they are empty values.
Then, there is duplication in path, fsPath and external. So overall it would increase the data that travels between processes from a simple single string, to 3 times that size. I wonder if I am not better off using URI.file() and just storing URI.fsPath in local storage?
URI.revive()
This method is still calling URI._validate() which seems odd since I created the URI from a call to toJSON(), so I would like to avoid the extra validation happening if possible.

Since revive is a public method I still need check for data correctness, also it's not slow, doesn't do any allocations just a few checks.
Wrt toJSON the whole point of it is to be verbose such that the data doesn't need to be generated again. It's basically a dump of the whole internal state of URI, everything is duplicated/contained in external but that's the point. We can think about leaving out empty strings, but not about stuff like fsPath vs path vs external.


Clarify collection bindings

C++/CX Vector was linking to the wrong place, and the table did not mention builtin C++/WinRT methods. I was also confused about Platform::Collections::Vector and added some clarifying text to the table.
Thanks!

@MikeJacobs, can you review this PR? Thanks.

@citelao : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks, @citelao! It's safe for you to delete your working branch now.

Thanks!


Build zmq binaries for the new Mac ARM Processor

Slowly Mac ARM processor will be the default on most macs.
Today zmq binaries are avaialble for Mac ARM.
We should consider build them or alternatives (upgrade or the like.
Else we're going to end up using Jupyter all over again for most macs.
This isn't an issue, but we decided to go with zmq do to a number of benefits.
Last build of this package was over a year ago https://github.com/zeromq/zeromq.js

Closing in favor of https://github.com/microsoft/vscode-jupyter/issues/5206


Fix ResourceWarning 'unclosed file' if LockException is raised

Fixes ResourceWarning 'unclosed file' if LockException is raised
The following warning is raised:
ResourceWarning: unclosed file
Object allocated at (most recent call last):
File "portalocker\utils.py", lineno 174
return open(self.filename, self.mode, **self.file_open_kwargs)

Coverage remained the same at 100.0% when pulling de9a7c468ca5be601cce4d5f271861bb3c2c1959 on ahauan4:ahauan4-fix-ressource-warning-unclosed-file into a306f61c1f882c1bd15c061c0942a0486b8d6392 on WoLpH:develop.

Good fix, thank you!


use RSC 2021.11.0

Hold merge until 2021.11.0 is published.

Will need to reconcile version updates with https://github.com/rstudio/helm/pull/77

Ready to merge after https://github.com/rstudio/rstudio-docker-products/pull/232 is live.


Strange Behavior With Chinese Fonts

Bug Report
Description of the problem
PDFKit has a strange behavior when uses a chinese font, and use certain chinese characters.
Details:

When inserts the first string ("冷冻去骨牛肉 / Frozen Boneless Beef / Carne Bovina sin Hueso Congelada"), this displays fine.
But when inserts some characters (like "产品名"), the texts which inserted next only shows a few characters.
Some normal characters such two-dots ":" doesn't rendered by PDFKit.

Code sample
I made a project with a extensive documentation of the problem:
https://github.com/Dr-NULL/Issues-PDFKit
Your environment

pdfkit version: 0.10.0
Node version: 10.16.3
Operating System: Windows 10 x64 bits

dcto.font(join(__dirname, "somewhere/fonts/苹方黑体-准-简.ttf"));

May be your font load error or do not support Chinese, i tried and it worked
see https://github.com/Dr-NULL/Issues-PDFKit/pull/1

I was testing some fonts, specifically with Google Fonts (.OTF) and two open source fonts (Ping Fang and Founder Type Hei Ti). My observations are as follows:

PDFKit has problems with OTF files.
PDFKit normally works with TTF fonts.

I made some changes to the Issues-PDFKit repository. I added more fonts in the "./source" folder and added them to the "./src/global.ts" file. To test the other sources you just need to change the property called on line 14 of the "index.ts" file to another one inside the Global.Path.Fonts module.
Finally, I attach a preview of how PDFKit renders some of the funetes tested in the attached screenshots.

Finally that report give me some doubts:

¿Really PDFKit has OTF files support and definitedly this is a bug?¿Or PDFKit hasn't ificial OTF files support?
In the case if OTF files aren't officially supported, ¿Do you have contemplated add OTF files full support?

Some OTF bugs were fixed recently.
Please create a self contained example, with font using https://repl.it/@blikblum/minimal-pdfkit so we can look at it

The problem still occurs with OTF fonts. The example code is HERE. When you run the project, that create 2 PDF files. One file is created with a OTF Font (fails), and the another PDF is created with a TTF Font (working).

I confirm a bug exists but is not necessarily related with OTF format.
I tested with PingFang otf and ttf formats and both works fine
Testing with noto sans otf shows the bug. I could not find a noto sans ttf version and the online converters do not properly work with this font.

Some Chinese fonts apparently use obscure features. Someone sent me a Chinese TTF font that most font web sites can't successfully manipulate. And some browsers can't display it correctly, seems there are some special flags that some tools & browsers don't handle properly, but that are the basis for sharing strokes among glyphs which can make a Chinese font significantly smaller.

This specific font works in other web tools.
I already identified a bug in fontkit, looking into it

Fixed a bug that affect noto sans otf font at https://github.com/foliojs/fontkit/pull/207. Hopefully will fix this.

Thanks for all @blikblum , but I can't access to the last changes applied into the lib. I assume that I'll waiting for test these changes to the master branch when the push request will done.

The problem continues, I tryed with updating PDFKit, the last version that NPM downloads is 0.10.0 and this is the result with NotoSansSC.otf:

...and with PingFang.ttf:

The most strange part is if I try to print the pdf with OTF broken font using SumatraPDF (by console), returns the following error:

The fix is not released yet


feat(easysetup): added an optional thing-policy-name flag for device provisioning

Issue #, if available:
#1015
Description of changes:
Have added the --thing-name-policy to the installer argument options. This argument has a default value of GreengrassV2IoTThingPolicy and is passed by parameter to the createThing method. No changes have been made to the process of creating or attaching policies. Updated appropriate README and help message.
Why is this change necessary:
Addresses the feature request in Issue #1015 for providing a policy name to apply to the provisinoed IoT Thing.
How was this change tested:
Unit tests run. Manually provisioned inside an ubuntu vm and on a raspberry pi, testing for creation of custom named resource and correctly attaching an existing policy.
Any additional information or context required to review the change:
Checklist:

[x] Updated the README if applicable
[x] Updated or added new unit tests
[ ] Updated or added new integration tests
[ ] Updated or added new end-to-end tests
[ ] If your code makes a remote network call, it was tested with a proxy
[x] You confirm that the change is backwards compatible

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you very much Brodie for the contribution. We'll review in the following days.
Please edit the commit message(s) to conform to commitlint so that the tests can pass.

Thank you very much again for your contribution. This change will be included in an upcoming release but we cannot guarantee a date at this time.


Add Matomo for analytics

This commit adds back Matomo for analytics.
The instance is hosted by the Open Knowledge Foundation so
we can consider it privacy-consious.
I also made sure to add the line
_paq.push(['disableCookies']);

which disables setting a cookie on the users browser. This does
not allow us to track users across sesssions, what we mostly care
about though is the overall impressions - i.e. which pages do
people look at and when. We do not care about individual behaviour
at all.

This is fine for me, maybe this should also only count visits on codefor.de, but not for localhost, dev.codefor.de or the netlify branch previews.

@ubergesundheit I moved it right to the bottom of the footer, good call.
I think matomo itself will actually make sure to only analyse the traffic from the canonical domain. Additionally, I think that very little traffic will be coming from localhost and/or the deploy previews so I would leave it as is to reduce complexity. Is that fine with you?

Yeah, all in all very good.. I'm approving but I shouldn't be the one making this call. We don't really have clearly defined ownership of the website.. pinging @joliyea @robbi5 @wagnerpeer

Yeah, all in all very good.. I'm approving but I shouldn't be the one making this call. We don't really have clearly defined ownership of the website.. pinging @joliyea @robbi5 @wagnerpeer

This is an excellent point. Maybe we should have a video call at some point to discuss how we want to maintain the website?

One thing that just came to my mind: The data privacy page should mention that we're counting page views (if it isn't already).

Maybe we should have a video call at some point to discuss how we want to maintain the website?

Very nice idea.
For this PR, Idk if this is feasible for you to wait any longer. I'll give my approval right now so you can decide yourself when you want to merge this.


Next link not found on last page error

While i use infinity scroll, i want to see Page number.
page=1 , page=2 and so on..
Thats why i removed history option:
  $grid.infiniteScroll({
            path: '.pagination__next',
            append: '.blog_item',
            prefill: false,
            loadOnScroll: false,
            button: '.load_more',
            outlayer: iso,
            status: '.scroller-status',
            hideNav: '.pagination',
            /*history: true,*/
  });

But if i refresh last page, i get error:
Bad InfiniteScroll path option. Next link not found: .pagination__next
How i can remove this error?
Thanks

This error is working as intended. It is there to help users who set path to an element selector, but are missing the element on their page. The bad side effect is that it appears on last page.
Add a 👍  reaction to this issue if you would like to this edge case resolved. Do not add +1 comments — They will be deleted.

But if i get this error, pagination numbers appear.
And button: .load_more is visible even im on last page.
Anyway.. thanks for information.

Sorry.. found bug in my own code.
Thanks for help.


Questions on uploading local images using API

Hi there,
Thanks so much for this awesome tool! I am working on a multi-modal reasoning problem in which each task contains both image and text. I would like to use the Label Studio API to programmatically create tasks. The image field was set up as the following:
  <Image name="image" value="$image"/>

The label studio server was hosted on a Linux machine (port 8080). I have started up a server on the same machine to serve local files (port 8888), following this guidline.
I have the following Python code creating new tasks:
url = "http://localhost:8080/api/projects/xxx/import"
authorization_token = {"Authorization": "Token xxxx", 'Content-Type': 'application/json'}
data_dict = {"image":"http://localhost:8888/000.png", "text":"some text", "meta":"some meta"}
r = requests.post(url, headers=authorization_token, data=json.dumps(data_dict))

While I am able to create the task, the image won't display:

It seems that the server was not able to access the image. However, I was able to add the image using exactly the same url:

In addition, if I replace the image url with some public image url (e.g. https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Haematopus_finschi_-Point_Chevalier.jpg/1280px-Haematopus_finschi-_Point_Chevalier.jpg), the API worked and I can see the image on Label Studio.
I am wondering which step I did wrong. Any help is greatly appreciated!
Best,
Artie

@seyiqi Hi!
In first case your browser tries to open the image and there is a CORS issue, because your server with this image can't send it by its security settings (see more about this here - https://labelstud.io/guide/storage.html#Troubleshoot-CORS-and-access-problems).
In the second case the Label Studio Backend downloads this image and your server can send it, because it's not a browser.
So, you should configure your server with images correctly.

Hi @makseq ,
Thanks so much for your help. I appreciate it if you could take a look at my server setting and provide some insights. The image server is hosted on the same machine as Label Studio using the following commands:
npm install http-server -g
http-server -p 8888 --cors

I think the cors is on. This is a screenshot on the server's side:

On the Label Studio side, I see the following error on the console:

I understand that there is something wrong that forbids Label Studio to access the image server but I am not sure exactly what went wrong. I really appreciate it if you could provide some guidance on how to troubleshoot this issue!
Best,
Artie

I'm not familiar with npm http-server, but your can google something like "npm http-server enable cors":
https://stackoverflow.com/questions/63297822/enable-cors-for-local-http-server

Thanks, @makseq . One last question. Is there a way to refer to a local file using the Label Studio import API rather than refer to an URL? Eg:
url = "http://localhost:8080/api/projects/xxx/import"
authorization_token = {"Authorization": "Token xxxx", 'Content-Type': 'application/json'}
data_dict = {"image":"/some/local/path.png", "text":"some text", "meta":"some meta"}
r = requests.post(url, headers=authorization_token, data=json.dumps(data_dict))

You have to setup the Local Storage and then you can use links like
{  "image": "/data/local-files/?d=dataset1/1.jpg" }

https://labelstud.io/guide/storage.html#Local-storage


Attaching file results in a zero sized file

Meta -
OS:  Linux/Mac OSX 10.11.6
Selenium Version:
2.53.1 standalone, 2.53.1 grid (docker images), 3 (beta)
Browser:
Chrome
Browser Version:
52.0.2743.116 (64-bit)
Expected Behavior -
file is filled with a non zero sized file, correct file
Actual Behavior -
File is attached with correct name, type, size
Steps preface
Created a GIST with all files.
https://gist.github.com/bizmate/7559b5b91b615f65f95d77c4f876b007

Behat runs the selenium SendKeys with firefox/chrome. In the details of the GIST you can see the

page used/ just a simple page with a file input
description of all the setup in behat and also a description of what selenium drivers and versions used. We usually use docker containers to run selenium and also tried a standalone version to see the page running.
selenium.log shows at the end that Mink is sending the keys with 0 length
requests to selenium show the local path to file but I am not sure if this is enough, see the last request with file /v3/features/assets/wrongCoverArt.jpg

Steps to reproduce -
1 - attach a file to the page
2 - the page should have a correct File object in the file input, with non zero sized value and also trigger the change event on the file element
I hope the description is comprehensive. If I have skipped something pls let me know. I understand this might be a chrome driver / selenium problem so I am trying to clarify where the bug/problem is

IS this the same issue? https://github.com/minkphp/MinkSelenium2Driver/issues/187

For anyone stepping into this problem, solution with selenium remote web driver is to Zip and encode the file before sending it as detailed here
https://github.com/minkphp/MinkSelenium2Driver/issues/187#issuecomment-112106857
The above is just a workaround, in my opinion selenium2driver package should be able to handle this transparently


E8 - ACSC Windows Hardening Guidelines configuration policy prevents other scripts from being deployed via InTune

E8 - ACSC Windows Hardening Guidelines configuration policy setting Windows Components > Windows PowerShell > Execution Policy (Device) is set to "Allow only signed scripts".
This prevents the other provided scripts (https://github.com/microsoft/Intune-ACSC-Windows-Hardening-Guidelines/blob/main/docs/Policies configured via registry.md) from being deployed via Intune > Devices > Windows > Scripts and Remediations > Platform Scripts, as the execution policy set at the device level cannot be overridden.
All scripts show status "failed" with error code 65000.
PowerShell operational logs and IntuneManagementExtension logs show entries similar to the following when these scripts have attempted installation, indicating that they fail due to not being digitally signed.
CommandInvocation(Out-String): "Out-String"
CommandInvocation(Out-Default): "Out-Default"
ParameterBinding(Out-Default): name="Transcript"; value="True"
ParameterBinding(Out-String): name="InputObject"; value="File C:\ProgramData\CentraStage\AEMAgent\Temp\d02e8717-f177-4dd6-9c4f-417f515ca37f.ps1 cannot be loaded. The file C:\ProgramData\CentraStage\AEMAgent\Temp\d02e8717-f177-4dd6-9c4f-417f515ca37f.ps1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170."
ParameterBinding(Out-Default): name="InputObject"; value="& : File C:\ProgramData\CentraStage\AEMAgent\Temp\d02e8717-f177-4dd6-9c4f-417f515ca37f.ps1 cannot be loaded. The file
C:\ProgramData\CentraStage\AEMAgent\Temp\d02e8717-f177-4dd6-9c4f-417f515ca37f.ps1 is not digitally signed. You cannot
run this script on the current system. For more information about running scripts and setting execution policy, see
about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:3
+ & 'C:\ProgramData\CentraStage\AEMAgent\Temp\d02e8717-f177-4dd6-9c4f-4 ...
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess
"

Context:
        Severity = Informational
        Host Name = Default Host
        Host Version = 5.1.22621.4391
        Host ID = f2cb8dd5-4e2f-48ee-bf59-a1c60695baed
        Host Application = powershell -executionpolicy bypass -InputFormat None & 'C:\ProgramData\CentraStage\AEMAgent\Temp\d02e8717-f177-4dd6-9c4f-417f515ca37f.ps1'
        Engine Version = 5.1.22621.4391
        Runspace ID = 0bb067c3-1de5-4bfb-ad7b-7fc9b85db66c
        Pipeline ID = 1
        Command Name = Out-String
        Command Type = Cmdlet
        Script Name =
        Command Path =
        Sequence Number = 72
        User = WORKGROUP\SYSTEM
        Connected User =
        Shell ID = Microsoft.PowerShell

User Data:

Hi @ljfoster97, thank you for raising this issue. The scripts provided in this repository are unsigned and organisations will need to sign these scripts themselves.
While testing these scripts, organisations could modify the execution policy to something such as bypass which would allow the execution of these scripts to verify the behavior.


2.10.1 Release Notes

Documentation
Check the box below or label this PR directly.
Need to update docs?

[ ] doc-required
(Your PR needs to update docs and you will update later)

[ ] doc-not-needed
(Please explain why)

[x] doc
(Your PR contains doc changes)

[ ] doc-complete
(Docs have been already added)

@momo-jun
could you please review this PR from the technical writing perspective? Thank you!

@Jason918 Yes, I'm using gh command to get all the commits and move them to a section. Hmmm, but still have some PR titles not follow the standard, so also need to change them manually. But it's much more efficient than before.


Fix formating of code block

There was a blank line that broke the code block.
When using the "Copy" function, only the part up to this blank line was copied.

@PatAltimore - can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Hi @Ahirrea , Thanks for the fix!
Thanks,
Pat
#sign-off


Suggestion: using Prettier

Hi,
I've been having fun contributing to this great project lately, thanks for being open to new contributors. But what have bothered me a bit is the code formatting. ESLint rules tend to have a lot of if/else-statements, and there are so many ways to break them into new lines. I am used to have prettier running in my other projects, and not thinking about the formatting has been really nice. It may not seem like a big deal, but it would be really nice not needing to reason about if I am following the correct code style.
Is Prettier something we could consider for this project? For instance running it as a pre-commit hook?

No thanks. If prettier ever becomes compatible with the airbnb config, I'd support using it, but until then, eslint is the only way I think a project should be formatted.
Separately, git hooks are not an enforcement mechanism, and can never be relied on in a repo.


Denormalize table columns

To handle positional searches, which are part of a GA4GH variants query, the reference name, start, and end positions from at least one reference should be available. The columns where these data are currently stored are named like Genomic_Coordinate_hg38 and appear as 1:123123.
Splitting these genomic coordinates into columns like Hg_38_Start, Hg_38_End, would allow GA4GH queries to be more easily satisfied. The same should be said for reference_bases and alternate_bases. Since the current coordinate column only provides the existing start, creating the end position (0-based exclusive) can be created from the length of the alternate bases.
https://github.com/BD2KGenomics/ga4gh-integration/issues/20

Joe, could you add these new columns to the database on beta?  They don't need to be added to the display.  Come find me if you need any clarification on deriving the content.

To check if I'm following...
Given Genomic_Coordinate_hg38:  chr13:g.32388063:C>T
I have Hg_38_Start: chr13:g.32388063 and Hg_38_End: chr13:g.32388064.
If I have Genomic_Coordinate_hg38:  chr13:g.32388063:C>TTT, I would have
Hg_38_Start: chr13:g.32388063 and Hg_38_End: chr13:g.32388066.
Look right?

We should be careful to note if coordinates are open or closed. Both for GA4GH and for us. May make us 1 base off if we're not careful.

Excellent point!  The coordinates we have now are copen coordinates.  For
example, for the variant chr17:g.43127866:GAC>G (representing the deletion
of the AC), the A begins at genomic position 43127866 and the C begins
at 43127867.
The base beginning at genomic position 43127868 is an A, which is not
involved in this deletion.  I've verified this against the UCSC Genome
Browser, for which the first base in the chromosome begins at Coordinate 0.
On Thu, Jul 21, 2016 at 2:42 PM, maryjgoldman<EMAIL_ADDRESS>wrote:

We should be careful to note if coordinates are open or closed. Both for
GA4GH and for us. May make us 1 base off if we're not careful.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BD2KGenomics/brca-website/issues/120#issuecomment-234393150,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABoqh_0amqk8Y2vULS-bCG0t5IhkmHLsks5qX-fBgaJpZM4JIXeZ
.

Scratch that point!  David S and I just verified that the coordinate is 1-base.

It's a good point for us though, we need to subtract 1 to properly serve queries.

Alright, I'm trying to get this straight mentally.
For insertions and deletions, genomic nomenclature include the preceding
base (GAC>G), so the Start coordinate is the coordinate of the A base, not
the G? And the start coordinate is therefore the coordinate listed in the
genomic nomenclature, +1?
For substitutions, there is no preceding base, so the coordinate listed is
the same as the Start coordinate.
And we want an exclusive end, which would point to the nucleotide past the
last one in our original sequence (the position after C in GAC>G)?
I've added the columns for start and end positions Hg_38_Start and
Hg_38_End (and so forth for previous assemblies), but I think I'm going to
need someone to walk me through an approach to populate the data from the
genomic nomeclature entries.
On Thu, Jul 21, 2016 at 3:46 PM, David Steinberg<EMAIL_ADDRESS>wrote:

It's a good point for us though, we need to subtract 1 to properly serve
queries.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/BD2KGenomics/brca-website/issues/120#issuecomment-234406926,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFULxpT1vgkp3mAdilH9Tws5_-EcIAwfks5qX_a-gaJpZM4JIXeZ
.

Sadly,that's correct.  The  genomic coordinate in the HGVS string (which is what that strange notation is) refers to the start of the first base in the reference string, in a 1-based numbering system by which the first base in the genome is in Position 1.
When there's a single-base substitution, the number given refers to that single base, in 1-based numbering.  When there's not a single-base substitution, it's actually pretty nonstandard what will happen.  I suspect the best thing is for us to give you a new input file with the start and end positions, as they're easier to compute with our python libraries.

Hi @strbean, thanks for starting this! The idea was to have columns like this:
Genomic_Coordinate_hg38: chr13:g.32388063:C>T becomes three columns:
hg38_reference_name: chr13, hg38_start: 32388062, hg38_end: 32388063. Note I have subtracted one from the position so the start positions are in the GA4GH counting mode. However, we will happily apply a transformation if you choose to store in a 1-based regime.
Having these three columns for each reference allows us to serve the variants in separate variant sets, mapped to each.


Org owner does not see org-wide CLA setup on first sigin

URL to the linked Repo/Org: https://github.com/unicode-org
Steps to reproduce the problem:

org owner goes to https://cla-assistant.io/
logs in via GitHub
sees the org's repositories with linked CLA but does not see the org-wide CLA setup
another org owner does see the org-wide CLA setup

What is the expected result?
https://github.com/orgs/unicode-org/people/markusicu should see the org-wide CLA setup on https://cla-assistant.io/
What happens instead?
https://github.com/orgs/unicode-org/people/srl295 sees the org-wide setup but markusicu does not.

Could you check the issue #499 , please. Let us know if the proposed solution doesn't help.

@KharitonOff looking at https://github.com/cla-assistant/cla-assistant/issues/479#issuecomment-527124724 i do not have "Want to link an org" in my view:

here is my dashboard view for what it's worth

Thanks Steven for trying this out. Zurück zu Anton...

Sorry guys for late response. As this issue was closed I loosed track of it...
From the issue description I understand that @srl295 sees the linked org as expected (because he has already clicked on "Want to link an org" in the UI and granted CLA assistant greater auth sope) but @markusicu doesn't see the linked org when he logs into CLA assistant.
Now the question is whether @markusicu has also clicked on "Want to link an org" link in the UI in order to grant CLA assistant permission for accessing his org ownership data?

Now the question is whether @markusicu has also clicked on "Want to link an org" link in the UI in order to grant CLA assistant permission for accessing his org ownership data?

I was just going to respond that there is no "Want to link an org" link on the page. Instead I went fishing and got it to work. This is extremely unintuitive.
I had the CLA assistant come up completely empty (because we have removed the repo-specific links).
I clicked "Configure CLA" even though I didn't want to add anything new.
Next to "Choose an org or a repo" there was a link with something similar to but not quite "Want to link an org".
I didn't want to add anything, but based on the earlier comment I clicked there, and then CLA assistant asked for access permissions.
Now I can see the org-wide link!
So I am unstuck, thanks!
However, this is very hidden. Worse, now that I have granted sufficient access, the link on the secondary page is gone, so I can't even show the next person what to do.
Please add a link or button right on the main CLA assistant page asking for permissions even just to show existing links.

Please add a link or button right on the main CLA assistant page asking for permissions even just to show existing links.

This is a valid point! Thanks for the suggestion!

We're seeing a similar issue — within an organization, the home page shows different statuses of individually set up repos depending on who views them — properly reporting only for the person who set up the repo, not others. Here are screenshots from two people at the same time:

We're seeing a similar issue — within an organization, the home page shows different statuses of individually set up repos depending on who views them — properly reporting only for the person who set up the repo, not others. Here are screenshots from two people at the same time:

Unfortunately this is still an issue.

Summary for someone looking into this
The problem is that by default a user only sees repository based CLA-setups and first requires (through a bit hidden button) give CLA-assistant permission to access organization resources. Only then the user is able to see the organization wide CLA-setups and this is quite confusing if you as an organization owner log in and don't see it.
I think we could either make it more prominent directly in the middle or look at a way to show them as grayed out. Even as a member you can see that CLA-assistant is setup for what repositories, but you're not able to see more critical information (e.g. signature list) before granting CLA-assistant more permissions to verify your affiliation and permissions.

Still an issue.

Just make linked organizations always visible with an empty list and a button link an organization.


Feature request: (automatic) refresh

I often work with csv's that get updated while I have them open in TableTool. Now I must close the window and reopen it to see the most recent version, which can be cumbersome if the location of the file is somewhere far away on a server. It would be nice to see the updates come through in the app automatically or through a Refresh button.
No Objectiv-C experience here, so I'm afraid I can't add this myself, but I think it would be a good idea.
Keep up the good work!

If the file is changed by an app that uses the file coordination APIs (like Apple's TextEdit), TableTool does automatically update -- you don't even need to explicitly save the file! Unfortunately most apps don't use the (relatively new) file coordination APIs.
It would certainly be a good idea to have TableTool watch the file system. However, I'm not sure if that would work for network drives.
A refresh button would be a lot easier to implement.

So nice to learn how stuff works through a feature request. Thanks!

As far as I know, my app TableFlip work with network drives -- @mclaeysb shoot me an e-mail for the link if you want to try, I don't want to add product placements on GitHub :)
The presentedItemDidChange callback works well. In Swift:
override func presentedItemDidChange() {

    guard fileContentsDidChange() else { return }

    guard isDocumentEdited else {
        dispatch_async_main { self.reloadFromFile() }
        return
    }

    dispatch_async_main { self.showReloadDialog() }
}

/// - returns: true if the contents did change, not just the metadata.
fileprivate func fileContentsDidChange() -> Bool {
    guard let fileModificationDate = fileModificationDateOnDisk()
        else { return false }

    return fileModificationDate > canonicalModificationDate
}

fileprivate func fileModificationDateOnDisk() -> Date? {

    guard let fileURL = self.fileURL else { return nil }

    let fileManager = FileManager.default
    return fileManager.fileModificationDate(fileURL: fileURL)
}

I had to keep track of the last load or save operation using a timestamp to make this work, but detecting changes then worked fine.

@DivineDominion Awesome, thanks for the tips! And feel free to mention your own app; I have absolutely no problem product placement if it comes with useful information like this 👍
So, just to make sure I understand: at the moment Table Tool refreshes automatically whenever another NSDocument based app writes changes. This behavior came for free with NSDocument. But with your method I could detect changes even from other apps (eg. like TextMate) or network things? Sounds great! I'll have to try this at some point.

Yes, this is put on top of the macOS-provided document behavior. I haven't yet caused any conflicts (TextEdit and TableFlip work fine together) and when you implement a "which version wins?" alert, the flow is just fine. TableFlip has a trial, so you can see if you like what happens. :)
Will be interesting to see if you come up with something even better I could put back into my app :)

Any update on this? :)

At present, this is not an issue with TableTool -- we have implemented the behavior correctly. So I will close here.

FYI: You can "Save" the document in Table Tool, receive a warning that the document has changed on the disk, and "Revert" to that version. This has the same effect as a "Refresh", albeit in a roundabout way.


[RFC] eBPF offload cosideration

Hi,
Me and @rg0now have been investigating on boosting pion/turn performance with eBPF. As a first step, we implemented an eBPF/XDP offload for UDP channel bindings. This way, pion/turn can offload the channel data processing to the kernel. Below we present our implementation details,  early results and call for a discussion to consider eBPF offload in pion/turn.
Implementation details
How does it work?
The XDP offload handles ChannelData messages only. The userspace TURN server is responsible for all the other functionality from building channels to handle requests and etc. The offload mechanisms are activated after a successful channel binding, in the method Allocation.AddChannelBind. The userspace TURN server sends peer and client info (5-tuples and channel id) to the XDP program via an eBPF map. From that point the XDP program can detect channel data coming from both the peer or the client. When a channel binding gets removed the corresponding data will be deleted from the eBPF maps and thus there will be no offload for that channel.
Changes to pion/turn
New: We introduce a new internal offload package, which manages offload mechanisms. Currently, there are two implementations: the XDPOffload and DummyOffload for testing purposes.
Changed: The kernel offload complicates lifecycle management since the eBPF/XDP offload outlives TURN server objects. This calls for new public methods in package turn to manage the offload engine's lifetime: InitOffload starts the offload engine (e.g., loads the XDP program and creates eBPF maps) and ShutdownOffload removes the offload engine.  Note that these methods should be called by the application as shown in the server_test.go benchmark.
But after everything is set up, managing channel binding offload is done in Allocation.AddChannelBind and Allocation.DeleteChannelBind with no change in their usage.
eBPF/XDP details
The XDP program consist of a program that describes the packet processing logic to be executed when the network interface receives a packet. The XDP program also has eBPF maps to communicate with the user space TURN server.
The XDP offload uses these 3 eBPF maps to keep track of connections and to store statistics:

name
key
value
function

turn_server_downstream_map
peer 5-tuple
client 5-tuple + channel-id
match peer -> client traffic

turn_server_upstream_map
client 5-tuple + channel-id
peer 5-tuple
match client -> peer traffic

turn_server_stats_map
5-tuple + channel id
stats (#pkts, #bytes)
traffic statistics per connection (5-tuple and channel-id)

The XDP program receives all packets as they arrive to the network interface. It filters IPv4/UDP packets (caveat: VLAN and other tunneling options are not supported), and checks whether the packets belong to any channel binding (i.e., checks the 5-tuple and channel-id). If there is a match, the program does the ChannelData handling: updates 5-tuple, and adds or removes the ChannelData header, as well as updates statistics, and finally redirects the packet to the corresponding network interface. Other non channel data packets are passed to the network stack for further processing (e.g., channel refresh messages and other STUN/TURN traffic goes to user space TURN server).
Results
CPU profiling
Prior results are promising. The CPU profiling with the benchmark (#298) shows that the server.ReadLoop() that took 47.9 sec before, runs for 0.96 sec with the XDP offload.
Flame graph w/o the offload:

Flame graph w/ XDP offload:

Microbenchmark with simple-server
Measurements with iperf, turncat (our in-house TURN proxy), and the simple-server example show outstanding (150x!) delay reduction and significant (6x) bandwidth boost.
Measurement setup

iperf-client, turncat, simple-server, and iperf-server communicate via the localhost
measure steady-state (channel binding done) over 50 sec
3 pion/turn versions:

single: single-threaded simple-server
multi: 4-thread simple-multithreaded server (#295)
xdp: simple server with XDP offload

results based on 3 consecutive runs

Delay results

avg[ms]
simple
multi
xdp

avg
3.944
4.311
0.033

min
3.760
0.473
0.023

median
3.914
4.571
0.027

max
4.184
5.419
0.074

Bandwidth results

Note iperf stalls at ~220k pps, we assume 1+ mpps with a powerful load generator

[pps]
simple
multi
xdp

avg
36493
96152
227378

min
35241
91856
222567

median
36617
96843
227783

max
37545
99455
233559

Discussion

XDP offload is straightforward for UDP connections, but is cumbersome for TLS and TLS. eBPF ecosystem has other options: tc and sockmap can be potential alternatives with a reasonable complexity-performance trade-off.

Yet we need to coordinate the different offload mechanisms for different connections.
In addition, offload mechanisms introduce new lifecycle management scale: mechanisms overlive TURN server objects.

The eBPF objects needs to be built and distributed, and this makes the build process more complex.

New dependencies: cilium/ebpf.
Build process gets more complex: eBPF objs are built via go generate; how to integrate it with the current build process; e.g., add a Makefile?

Thanks @rg0now ! Made some edit in the OP. WDYT?

I'm not sure about the UDP checksum issue: what's the status now? We should not try to upstream the code until we find out how to generate correct checksums


unable to build with lzf filter

I have been using this for a very new project of my own uvdata-rust which requires the lzf feature. I know this feature and so I've been having to declare the repository directly as a dependency.
I have not been able to pin down what commit this changed in since I have working cache of hdf5-rust, but the crate is no longer building with lzf enabled.
(base) matthew@bahamut [10:38:12] [~/tmp]
-> % git clone https://github.com/aldanor/hdf5-rust
Cloning into 'hdf5-rust'...
remote: Enumerating objects: 7357, done.
remote: Counting objects: 100% (965/965), done.
remote: Compressing objects: 100% (420/420), done.
remote: Total 7357 (delta 641), reused 808 (delta 529), pack-reused 6392
Receiving objects: 100% (7357/7357), 1.58 MiB | 1.85 MiB/s, done.

(base) matthew@bahamut [10:38:27] [~/tmp/hdf5-rust] [master]
-> % cargo build --features=lzf
    Updating crates.io index
   Compiling cfg-if v1.0.0
   Compiling memchr v2.4.1
   Compiling autocfg v1.0.1
   Compiling libc v0.2.104
   Compiling regex-syntax v0.6.25
   Compiling pkg-config v0.3.20
   Compiling proc-macro2 v1.0.30
   Compiling unicode-xid v0.2.2
   Compiling cc v1.0.71
   Compiling syn v1.0.80
   Compiling parking_lot_core v0.8.5
   Compiling hdf5-types v0.7.1 (/home/matthew/tmp/hdf5-rust/hdf5-types)
   Compiling smallvec v1.7.0
   Compiling rawpointer v0.2.1
   Compiling scopeguard v1.1.0
   Compiling hdf5 v0.7.1 (/home/matthew/tmp/hdf5-rust)
   Compiling ascii v1.0.0
   Compiling bitflags v1.3.2
   Compiling lazy_static v1.4.0
   Compiling libloading v0.7.1
   Compiling instant v0.1.12
   Compiling matrixmultiply v0.3.1
   Compiling lock_api v0.4.5
   Compiling num-traits v0.2.14
   Compiling num-integer v0.1.44
   Compiling aho-corasick v0.7.18
   Compiling quote v1.0.10
   Compiling errno v0.2.7
   Compiling lzf-sys v0.1.0
   Compiling parking_lot v0.11.2
   Compiling num-complex v0.4.0
   Compiling regex v1.5.4
   Compiling ndarray v0.15.3
   Compiling hdf5-sys v0.7.1 (/home/matthew/tmp/hdf5-rust/hdf5-sys)
   Compiling hdf5-derive v0.7.1 (/home/matthew/tmp/hdf5-rust/hdf5-derive)
warning: unused import: `H5E_CANTREGISTER`
  --> src/hl/filters/lzf.rs:10:36
   |
10 | use crate::globals::{H5E_CALLBACK, H5E_CANTREGISTER, H5E_PLIST};
   |                                    ^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

error[E0599]: no method named `is_err_code` found for type `i32` in the current scope
   --> src/hl/filters/lzf.rs:32:16
    |
32  |         if ret.is_err_code() {
    |                ^^^^^^^^^^^ method not found in `i32`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `H5ErrorCode` defines an item `is_err_code`, perhaps you need to implement it
   --> src/error.rs:273:1
    |
273 | pub trait H5ErrorCode: Copy {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0599`.
warning: `hdf5` (lib) generated 1 warning
error: could not compile `hdf5` due to previous error; 1 warning emitted

Thank you for reporting this issue! This was not tested in CI, and #177 accidentally broke this code. See #177 for the fix


[transaction input checker] Fix batch rules

Some checks were not performed in batch for certain transaction kinds

I thought we are going to first remove Batch?

@gdanezis and other folks raised concerns of doing that since it is used for benchmarks?
It doesn't matter too much as I found I could easily just disallow it from Batch. And when looking at the code for doing that, I found that the rules for Batch are busted :)

This is not very obvious but those payment transactions can not actually show up in Batch, so it's not needed to recurse in it. But this doesn't hurt, I guess.

This is not very obvious but those payment transactions can not actually show up in Batch, so it's not needed to recurse in it. But this doesn't hurt, I guess.

I suppose it's not really necessary in the current setup for these validity checks + batch. It just felt sort of conceptually wrong. Not needed though, and since Batch will die at some
point, happy to not land it if thats what we decide


Desired output directories from echoflow_open_raw

The flow echoflow_open_raw will generate the following directories:

in datastore.yml we add an argument to specify where the .raw files are saved to
the raw-converted zarr files will be saved to {working_directory}/{flow_name}/{subgroup_txt_filename} (i.e. 1 folder per subgroup txt file)

flow_name default is echoflow_open_raw

When multiple subgroup txt files are in the input, they will be passed as a zip file.
#30 is a temporary patch.

Closed in #45


[aws-lambda-cpp] add new port

 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.:x: marcomagdy sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

I just released v0.1.0 so I'll update this PR shortly

@Rastaban any chance getting this merged soon?

bump

Sorry for the delay, I am running tests with it now and will report back the results.

It fails to build on windows using MSVC because the compiler does not recognize the -Wextra switch, but it looks like aws-lambda-cpp does not officially support MSVC so this is probably expected.


PlatformDeviceId.getDeviceId changes with the app release

Hello,
I supposed that PlatformDeviceId is a static ID connected to the device only. But strangely, I saw it changing after I installed an upgraded version of my apk app.
I was looking for an ID that depends on the hardware only, not randomly created.
Therefore, I would ask, is this working as intended?
Thanks.

Please note that on Android 8 and above, the Android ID is not unique per device, but also per signing key the app was built with:
On Android 8.0 (API level 26) and higher versions of the platform, a 64-bit number (expressed as a hexadecimal string), unique to each combination of app-signing key, user, and device.
The value may change if a factory reset is performed on the device or if an APK signing key changes.


chore(package): update npm-template-sync to version 8.5.44

Pull Request Test Coverage Report for Build 2284

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.509%

Totals

Change from base Build 2282:
0.0%

Covered Lines:
361

Relevant Lines:
375

💛  - Coveralls


Snapshot release

Would it be possible to publish the snapshot version somewhere, or release a new version with the latest improvements? Thanks!

AFAIK, the version 0.5.8 contains all latest improvements.

we try to release asap.


Added share button (#216)

Added share button into "More info" menu.
It uses native navigator api.
From issue #216

Nice, I like using this browser api, however, it doesn't seem to be supported to well on pc. Can you add a fallback which simply copies the link to the clipboard if the navigator.share isn't available.
And maybe also change the text to share this route or something, or maybe share with an icon next to it?


Compilation error when min/max macros are defined

Is your feature request related to a problem? Please describe.
Some headers (notably Windows.h) define the macros min and max, which causes compilation errors if you use functions like std::min() or std::numeric_limits<int>::max(). Trying to compile
#include <Windows.h>
#include "unordered_dense.h"

int main() {
  ankerl::unordered_dense::map<int, int> abc;
  return 0;
}

results in several errors:

Describe the solution you'd like
Should be able to compile even if min/max are defined as macros. You can get around this by #undefing min/max before including unordered_dense.h, but I think a much better solution is wrap any calls to functions named min/max in parentheses. This is what they do in Abseil: https://github.com/abseil/abseil-cpp/blob/1ae9b71c474628d60eb251a3f62967fe64151bb2/absl/random/internal/pool_urbg.h#L96
For example:
[[nodiscard]] static constexpr auto calc_num_buckets(uint8_t shifts) -> size_t {
    return (std::min)(max_bucket_count(), size_t{1} << (64U - shifts));
}

will successfully compile even if min/max are defined.

You can use #define NOMINMAX before including Windows.h

Ah, I see you already have a PR ready, thanks!

You can use #define NOMINMAX before including Windows.h

Good to know, but in my case I have no idea where Windows.h is even included.. so I decided to fix it here instead.


Automatically generate config file

Whenever the program is first run, a default config should be generated. This should look like the following:
{
  "os": "<the-users-os>",
  "data-dir": "<the-users-home-directory>/.gdvm/data",
  "versions-dir": "<the-users-home-directory>/.gdvm/versions",
  "use-dir": "<the-users-home-directory>/.gdvm/use",
}

this had been implemented but is now functioning properly


Dialogflow Integration with Google Maps in Python/Flask

To brief in about my problem
i want to trigger the" actions on google helper intents" from my code webhook / flask application.
Few more details:
->am using python and i have used heroku virtual environment for deploying the app
i have tried to import googlemaps and call geolocate method but it is expecting atleaset one attribute and i am unable to figure out what is the input parameter
Thanks in advance any help is appreciated
Originally posted by @nuronics in https://github.com/dialogflow/dialogflow-fulfillment-nodejs/issues/9#issuecomment-421467106

Did you find any solution to this? Please share.


Element Should (Not) Contain is case sensitive in Python but not in Java

As of version 3.1 they made the Element Should Contain and the Element Should Not Contain case sensitive in the Python version of the SeleniumLibrary.
In de Java version, these keywords are still case insensitive.
This case sensitivity issue has been changed on multiple keywords in Python, see also:
https://github.com/robotframework/SeleniumLibrary/pull/1043
Can these keywords be brought in line with the Python version? If needed I could probably do this myself and put in a pull request.

I just created a pull request which fixes this in all places related to the merge from the python library:
#76

The Pull Request should be ready now. Any idea when this would be availlable in the dependency from maven central? Having it available there means I can actually use it in my build pipeline

I think you need it with Selenium 3 already? I planned to move to Selenium 4 with next release, but Selenium 4 itself has only Alpha release.

Yeah, I currently have a testcase which needs it, so that would be with selenium 3

Released as <IP_ADDRESS>5, should be available soon in Maven Central.


Fix integration tests

Delete the local repo copy path between integration tests. If we do not do this, the local copy of a repo created in one test will persist in later tests, which can cause tests to break (see https://drone.gitea.io/go-gitea/gitea/2502/9, which failed because of a leftover local copy of a repo created in git_test.go)

LGTM

LGTM. Sorry for introducing it.

Codecov Report

Merging #3141 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3141      +/-   ##
==========================================
+ Coverage   34.83%   34.84%   +0.01%
==========================================
  Files         275      275
  Lines       40028    40030       +2
==========================================
+ Hits        13945    13950       +5
+ Misses      24085    24084       -1
+ Partials     1998     1996       -2

Impacted Files
Coverage Δ

models/repo.go
41.36% <100%> (-0.12%)
:arrow_down:

models/repo_branch.go
58.73% <0%> (+0.79%)
:arrow_up:

models/repo_indexer.go
50.97% <0%> (+1.45%)
:arrow_up:

models/repo_list.go
67.18% <0%> (+1.56%)
:arrow_up:

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 41d6afe...10c679d. Read the comment docs.

fixed #3128


Update ApiSubscriber.tpl

fixed bug:
[06-Oct-2017 17:09:22 Europe/Berlin] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to VcuMallCustom\Subscriber\ApiSubscriber::construct() must be an instance of Shopware\Recovery\Common\DependencyInjection\ContainerInterface, instance of ShopwareProduction602a9ba0973c35efc40cfde7016f5e701ae3ad61ProjectContainer given, called in /Users/hoist/sites/shopware/var/cache/production____REVISION_/proxies/ShopwareProduction602a9ba0973c35efc40cfde7016f5e701ae3ad61ProjectContainer.php on line 2879 and defined in /Users/hoist/sites/shopware/custom/plugins/VcuMallCustom/Subscriber/ApiSubscriber.php:18
Stack trace:
#0 /Users/hoist/sites/shopware/var/cache/production____REVISION___/proxies/ShopwareProduction602a9ba0973c35efc40cfde7016f5e701ae3ad61ProjectContainer.php(2879): VcuMallCustom\Subscriber\ApiSubscriber->__construct(Object(ShopwareProduction602a9ba0973c35efc40cfde7016f5e701ae3ad61ProjectContainer))
#1 /Users/hoist/sites/shopware/vendor/symfony/dependency-injection/Container.php(304): ShopwareProduction602a9ba0973c35efc40cfde7016f5e701ae3ad61ProjectContain in /Users/hoist/sites/shopware/custom/plugins/VcuMallCustom/Subscriber/ApiSubscriber.php on line 18

thanks again @hoist1999 :+1:


TS/JS Auto save updated imports after some file has move/rename

This PR fixes #148901
This is a somewhat temporary fix since it just changes the behavior of the TS/JS extension, not the underlying mechanisms of workspace edits.

@jrieken Could you please review this?

Actually we don't explicitly open documents (by the extension, I mean), but calling the workspace applyEdit does so, and then we save the documents.
However, I get your point. Let's close the PR. If you have the idea on how to proceed with the workspace edit API, I'd be glad to help with the implementation.

Closing as superseded by 77309b33d49efe586cc8a55f72bea64a01cd9f12


Getting slower during long time development

Godot version:
Version 3.1
OS/device including version:
MacOS Version 10.14.6 / Mac mini
Issue description:
Godot editor getting slower during the development.
It is fine at first time, but after long time development, it's become really slow.
Both editor and game runtime will become slow.
Re-open it doesn't solved this problem.
I try create a new project and move all dependencies to new one.
And the slow problem solved, it's work fine when create a new one.
So I guess maybe some favorite open too much,
cause memory issue when the editor opening.

Sorry, but this is simply too vague. Just to be clear you may be on to something. But you need to justify it more. You claim a memory leak, so can you show proof of the leak? Do you have an example project? Can you be more exact in time frames?

This is a project I currently work on:
SpaceShooter
I try to reproduce the previous problem I seem,
Because it's work fine now, I need to take some time to try it out.

Might be related to how editor cache is stored so that reading it from disk may become slower over time. Reading Favorites from disk may decrease performance, also you might be experiencing something similar to #27333.

This is fairly vague and in https://github.com/godotengine/godot/issues/33960#issuecomment-559578601 @KayacChang couldn't reproduce the issue anymore (and the linked project is deleted), so closing.


Add links between similar words

Goal
Instead of contracted nodes, there are links between words that look like they belong together.
French examples:
ignoriez: {'ignore', 'ignorer', 'ignoriez'}
illuminé: {'illuminé', 'illuminés'}
image: {'images', 'image'}

Motivation: build GNN
Tasks

[ ] use the link contraction metric to add weighted links without contracting nodes.

Closed because completion on time is not realistic


Selecting PageBase object in admin produces an error

this one

why is this visible in admin?

No idea. It might be because my local db setup is... a bit hacked together

this was definitely because of my hacky local setup, closing!


Use VS drop to build .Externals packages

Description
Test platform gets some of it's binaries from VisualStudio build via a deprecated mechanism. The source of binaries migrated to cloud drops.

[x] Research how cloud drops work and how to access them programatically
[x] Research how to get a subset of the drop limited to what we need
[x] Research what parts of the drop are needed for the various packages
[ ] Solution proposal & prototype

Once that is done, we should:

[ ] Modify the build to use the cloud drops
[ ] Release Externals in automated way

🔥 problems:

[ ] some files are not present in the drop anymore
[ ] some files need to be grabbed via VS nuget feed, and the version sync there is difficult

/cc @singhsarab

dupe #2193


templates(cloudflare-pages): add cf (IncomingRequestCfProperties) to context

Testing Strategy:
Opened a terminal window and ran:

Ran create-remix from the updated template locally:

pnpm dlx<EMAIL_ADDRESS>my-remix-app --template file:///src/remix/templates/cloudflare-pages
cd my-remix-app
pnpm run dev

Verified that the Remix dev server started up.
Opened another terminal window, verifying GET / 200 OK appeared in the logs upon the following:

http http://localhost:8788

Then added a loader to the /app/routes/_index.tsx:

export const loader = async ({ context }) => {
  console.log(JSON.stringify(context, null, 2));
  return null;
}

And run the dev server again in one window, and the http command in another:

pnpm run dev

http http://localhost:8788

Verified that the context.cf object appeared in the logs.
Finally, deployed to Cloudflare Pages, and verified the same.

@smcstewart thank you friend! Can you update to make the changes to the new Cloudflare + Vite integration?


bad results

Could you help me ?

I think the model expects aligned images.
I'm not sure if the model is overfitted on FFHQ or it needs very high-resolution images as input (1024x1024) but apart from images from FFHQ (the model trained on these images), all the reconstructions were quite poor when I tried other datasets. Plus the additional steps make it worse, the network tries to reduce the pixel loss but the face doesn't look human anymore.[](url

)

Ok, I got it, thanx a lot, best wishes for you

All the results posted above are unaligned and are therefore out of distribution to what the StyleGAN generator can generate. Please align all your faces before passing them to the encoder.

I'm not sure if the model is overfitted on FFHQ or it needs very high-resolution images as input (1024x1024) but apart from images from FFHQ (the model trained on these images), all the reconstructions were quite poor when I tried other datasets.

I think this conclusion is a bit misleading. The model is not overfitted to FFHQ since it also achieves very good reconstructions on images from other datasets (e.g., CelebA-HQ) and images in the wild (e.g., the images shown in the repo here.
The input also does not need to be high resolution (1024x1024). The encoder itself was trained on 256x256 images from FFHQ so there is not need for inputs to be at such a high resolution. In fact, the inputs can be 256x256 while the outputs will be 1024x1024, so in some cases, the encoder can actually improve the resolution of the input image.
All this is to say that when working on faces and StyleGAN2, l the inputs must be aligned before passing them to the encoder.

I  rotated the picture and get a good result, pretty job !  Speaking from  my  experience,  I think the photo's length-width ratio plays a pretty important role.


Error running react-native run-android

My app was working fine. It still works running through android studio.
If android studio is not used, react-native run-android produces this error:
(node:1808) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined
(node:1808) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
NOTE: I also had the same error on Linux, I posted to StackOverFlow with no success: http://stackoverflow.com/questions/41698161/unable-to-run-app-on-android-device-linux-ubuntu

React Native version: 0.40.0 and 0.39.2
Platform: Android: Nexus 5 (AVD - API 23) and Samsung S4 (Real device - API 21)
Operating System: macOS Sierra 10.12.2

Hello,
I have the same problem and I fix it with chmod +x android/gradlew
Bye !

Yes that fixed it thank you so much


How to specify certain options are required?

I'd like, for example, for two or more specific options to be required, and for that to appear as a detail in the help output in case any of the required options are not present. Is there an API to tell options to be required?

It didn't seem to be documented, but after looking at the code I realized there is a required options
Example:
cli
  .string('-o, --one <value>', {
    description: `Option one.`,
    required: true,
  })
  .string('-t, --two <value>', {
    description: `Option two`,
    required: true,
  })
  .version('-v, --version')
  .help('-h, --help')
  .showHelpByDefault()
  .parseAndExit()
  .then(opts => { /* ... your app's logic ... */ })
  .catch(e => {
    console.error(e)
    process.exit(1)
  })

And example output when any required option is not set:
❯ ./example.js --blah                                                                                ✹
Usage: publish [options]

Options:
  -o, --one <value>  Option one.                                                 [required] [string]
  -t, --two <value>  Option two.                                                 [required] [string]
  -v, --version      Show version number                               [commands: version] [boolean]
  -h, --help         Show help                                            [commands: help] [boolean]

Missing required argument: o or one
Missing required argument: t or two

Yes, apologies, there is a lot of documentation that is still lacking.
Yes, the required configuration property is for this purpose.
You could also consider using positionals with optional flags, like below. Each positional defined in angle brackets (e.g. <x>) is required by default.
require('sywac')
  .positional('[-o|--one] <one-value> [-t|--two] <two-value>', {
    paramsDesc: [
      'Option one',
      'Option two'
    ]
  })
  .version('-v, --version')
  .help('-h, --help')
  .parseAndExit()

Does this answer your question? Are we ok to close this issue?

Closing this for now. Would be happy to revisit if there are any more questions.


Add ONNX and ORT support for Falcon

This one was more painful than it should have been because:

Transformers without position_ids is bugged (repeat_interleave fails)
Transormers implementation reformats the KV cache directly in the model, which is new: https://github.com/huggingface/transformers/pull/26199
Optimum ORT has a rather bad support of MQA. Especially, the shape computation for IO Binding is very ugly with a lot of controlflow, expensive calls to normalized_config - this should be refactored with inheritance to avoid any controlflow at all.
ORT does not support bool input to Trilu op https://github.com/microsoft/onnxruntime/issues/16189

Remaining issue: I think repeat_interleave ONNX export inserts Loop in the ONNX, which we may want to avoid.

Fixes https://github.com/huggingface/optimum/issues/1172


Add gencerts command

Add a new command line command to automatically generate an ssl certificate.
The command also has an option to automatically set up ssl in the config file.

Coverage decreased (-0.2%) to 27.352% when pulling 0b2914e9ba4258fd38b3918a043a82ab57455822 on gencerts into 8722bf6f8b27ca89fa598800380108e1584fddfd on master.

Coverage increased (+0.01%) to 27.516% when pulling 0b2914e9ba4258fd38b3918a043a82ab57455822 on gencerts into 8722bf6f8b27ca89fa598800380108e1584fddfd on master.

Coverage decreased (-0.2%) to 27.335% when pulling 577a40983b642112ca085f06fb8b262770edf366 on gencerts into 8722bf6f8b27ca89fa598800380108e1584fddfd on master.

Can't get the client to accept the generated certs.


npm packages in Plugins

The make watch-storefront command cannot find npm packages that are imported in my custom plugin.
If i run bin/build-storefront.sh my Plugin build is successfull.
How do I import npm packages with "dockware/dev"?
How to reproduce the issue

Create a custom SW6 Plugin
Go to "CustomPlugin/src/Resources/app/storefront" and run npm init
Install some NPM package e.g. npm install mapbox-gl --save
Create a "webpack.config.js" in "CustomPlugin/src/Resources/app/storefront/build" and add the following lines

// eslint-disable-next-line func-names
module.exports = function (params) {
    return {
        resolve: {
            modules: [
                `${params.basePath}Resources/app/storefront/node_modules`
            ]
        }
    };
};

Create a "src/main.js" file inside your storefront folder and import the installed npm package.

Import mapboxgl from 'mapbox-gl';

If you use the default way with "https://github.com/shopware/development" you can "build" and "watch" the storefront without problems. Is Dockware ignoring the webpack.config.js in the Plugin directory and how can I use npm packages with dockware/dev?

Hope someone can help here 💙💜

Hi
ok interesting.
thanks for pointing out this problem 👍
we'll look into it
cheers
christian

hey there
i've changed it to use the ./bin/watch-storefront.js script
so the official shopware script
i have to admit i haven't had time to create a custom js setup like yours
but i had to change the command anyway,
so could you give it a try with dockware/dev:<IP_ADDRESS> ?
if its still not working just let me know
in that case i think there might be a problem with the storefront watcher of shopware itself
...so that it might work in another way compared to the builder
thanks
Christian


Certificate error when installing via wget

Difference between raw.github.com and www.github.com
➜  gitrepos git:(master) ✗ sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
--2016-03-19 11:04:27--  https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh
Resolving raw.github.com... <IP_ADDRESS>
Connecting to raw.github.com|<IP_ADDRESS>|:443... connected.
ERROR: cannot verify raw.github.com's certificate, issued by /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA':   Unable to locally verify the issuer's authority. ERROR: certificate common name www.github.com' doesn't match requested host name raw.github.com'. To connect to raw.github.com insecurely, use --no-check-certificate'.

Try sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" instead. I've updated the README file.


Tweak logstash module docs

Hope I didn't get too heavy-handed, but I tried to polish some of the docs and descriptions a little.

Sorry.  I didn't merge this before I converted all of the docs over to Gitbook.   I have manually merged these changes in commit d28ff7b ( and gave you props in the message ), which will be deployed when I push 1.2.1.

No worries Jon, thanks for pulling in the (essential) changes!


Master.java:49-50: Implement PreparedCql to avoid cql...

The puzzle 36-3f1b2d61 from #36 has to be resolved:
https://github.com/eo-cqrs/cmig/blob/5459001566593b5150a23f605abdfcbed554a7e9/src/main/java/io/github/eocqrs/cmig/Master.java#L49-L50
The puzzle was created by @h1alexbel on 26-Jan-24.
Estimate: 60 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@0pdd thank you for reporting this. I'll assign someone to take care of it soon.

@0pdd thank you for reporting this. I'll assign someone to take care of it soon.

I see you're talking to me, but I can't reply since I'm not a chat bot.

@h1alexbel Don't forget to close this ticket before the deadline (2024-02-05T14:59:15). You are past the first half of the allowed period.

@h1alexbel Looks like you've missed the task deadline (2024-02-05T14:59:15). You are now resigned from this task.
Please stop working on it, you will not be paid. I will assign it to someone else soon.

@l3r8yJ this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2024-02-15T15:29:20.205525.
Estimation here is 60 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.

@l3r8yJ Don't forget to close this ticket before the deadline (2024-02-15T15:29:20). You are past the first half of the allowed period.

@l3r8yJ Looks like you've missed the task deadline (2024-02-15T15:29:20). You are now resigned from this task.
Please stop working on it, you will not be paid. I will assign it to someone else soon.

@h1alexbel I couldn't find any assignee for this task. This is either because there are no contributors with role DEV available or because the project does not have enough funds.
Please, make sure there is at least one available contributor with the required role and the project can afford to pay them.


Clear e filter World Log

be able to clear the worlds downtime log, and filter them

What kind of filters are you wanting? By User that did it? By downtime type? As far as clearing the Downtime log, this is already achievable via the console, and I'm not sure I want to allow deletion by an easier method. What use case are you thinking of for deleting being an easy thing to do?

Filters by:

Downtime Type
Concluded/Not concluded

I understand the concern with the logs.
however when I'm testing downtime as a GM the log is full of test rubbish.
maybe a button to reset the log (clean for start) on the GM settings screen

Would you want this on a per actor basis, or global?

per actor I believe that just filtering by type and by clonclusion is enough, to remove the log for testing purposes, just remove it from the actors, and for the "official" actors it is good to have the complete record.
the global ones are more problematic because it fills of garbge very fast.

Completed with https://github.com/Ethck/Ethck-s-Downtime-Tracking/commit/7a7b61fad19aa462b300e28ef8a25ee5e90dfaab. Please see Commands in the examples to clear old data.


[improvement](jdbc catalog) Make the session time zone affect reading JDBC external tables

Proposed changes
Issue Number: close #xxx
When we use jdbc catalog to read the time type with time zone information from the external table, we should uniformly convert the read time into Doris' own time zone.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall