Custom Event Emit Type as Open Event

When I try the example with custom events I get:
es.addEventListener("ping", (event) => {             console.log("Received ping with data:", event.data);         });
Property 'data' does not exist on type 'EventSourceEvent | CustomEvent<MyCustomEvents>'.   Property 'data' does not exist on type 'OpenEvent'.ts(2339)

Hello @Tim4497!
Thank you! I'm working on it.

Ran into the same problem. TS does not seem to be able to deduct the type correctly.
One needs to specify
event.type === "ping" && event.data together to make the TS compiler happy.
@binaryminds Any ideas how to solve this?

Please take a look at this PR https://github.com/binaryminds/react-native-sse/pull/29 and let me know if it does resolve this problem.


Remove live shader reload feature

This removes the live-config-reload feature to make the renderer
significantly more concise and maintainable.
As far as I'm aware, this feature was never really used by anyone since
there isn't much of an advantage to recompiling Alacritty yourself just
to make live config reload work.
This feature has also been broken for a long time, since the projection
is updated after the reload without considering the padding. Editing
with standard editors like vim also deletes the file and replaces it,
making it impossible to use them for live config reload.
Closes #1523.
This is mostly a proposal at this point, since there is no need to remove
live shader reload at this point. However I currently do not see much
advantage in keeping this code around.
If anyone is actually using Alacritty with live config reload enabled,
please let me know. I believe @towc is the only person to ever create
a live shader reload related issue. Do you still care about this?

I think it added a certain edge to this project that others just don't have. I still use it, but I can come up with alternatives :)
Thanks for asking for my opinion, it's really nice of you

I personally support the reduction in complexity this allows. I'm not sure how often anyone is tweaking shaders, but I've gotten pretty ok with the compile times for Alacritty anyway myself.

I have live config reloading enabled and it's particularly nice when tuning background opacity. But the issue is a bit unclear on whether it's just about shaders (not sure bg opacity changes those) or the entire config reload feature.

Live config reload is not affected by this and I have absolutely no plan to ever remove that (quite the opposite, I'd rather make more things work with it).
This is only about shader reload.

Hey - your description of this PR makes it sound like it removes live config reloading, entirely, not just shaders - you might want to edit that

Thanks a lot for pointing that out, looks like I've got shader and config reload mixed up a couple of times there.

I've thought about this quite a bit and came to the conclusion that it's just not worth it.
Even removing it completely as proposed in this PR would just remove ~100 lines and there are some things that are very useful that wouldn't be possible in this current form.
The main issue being that this would only allow changing it through compilation. I don't think live reloading is super important but I think that changing the shaders at runtime vs compile time definitely has some benefits.
I still don't think this is used a lot, but I don't want to get rid of it just to get rid of it. If there are some more convincing arguments in the future it would likely make sense to revisit this, but right now I feel like we'd mostly lose something, without directly gaining much.


Ship Patchfox for Google Chrome

This has been outlined originally in the new funding proposal of 2021: %Y2iyBckEhcWvxX6a1+9ELeP6wFYD80QNdhvR50V1C7E=.sha256.
Patchfox already works on Google Chrome. The next step is:

[x] adding it to the Chrome Web Store.

Version 2021.6.1 has been published to the Chrome Web Store


explicitly set _id in as_indexed_json

Is there a way to explicitly set the _id for my index in def as_indexed_json?
The reason I ask is because my id is a composite key of two primary keys, which fails when importing into elasticsearch

Just pass the ID when you create/save?

Hi, any news?

hey, I had to do a work around, as I am seeding the index, and not on create/save. see:
https://github.com/quran/quran.com-api/blob/dev/app/models/content/transliteration.rb#L27
Closing for now.

So, is it possible to define _id in the indexable_json block? I can't access the url above.


update the referencetoc in moniker mapping

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/mapping/monikerMapping.json
: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.


CP-11877: BidrectionalGraph.ContainsEdge Optimization - Re: Issue 11612

From unknown CodePlex user on Thursday, 04 December 2008 17:24:30
Issue 11612  - Closed Today at 11:31 PM  by pelikhan
By design. Source/Target should be in the graph.

if this behavior is BY DESIGN, then just DELETE the function.  Why check to see if it is
present if BY DESIGN it should be in the graph?   Seems redundant.

In order to maintain backwards compatibility just have the function return TRUE and exit.  This would give a
performance gain, due to the lack of iterating..

Form unknown CodePlex user on Thursday, 04 December 2008 23:06:59
The fact that source and target are part of the graph, does not mean there is an edge between them.

Form unknown CodePlex user on Thursday, 04 December 2008 23:50:27
Resolved with changeset 26117.


Fix README link

Fix link broken by https://github.com/reactjs/reselect/pull/107

Coverage remained the same at 100.0% when pulling 089307358f8cb856230ca67efb8916ec5fe3c1c4 on luqmaan:patch-1 into 24a4b358a2d7901f812bdbbc4a9ed0e630363ee9 on reactjs:master.

[Current coverage][cc-pull] is 100%

Merging [#120][cc-pull] into [master][cc-base-branch] will increase coverage by +n/a%

@@           master   #120   diff @@
====================================
  Files           1      1
  Lines          47     47
  Methods         0      0
  Branches        0      0
====================================
  Hits           47     47
  Misses          0      0
  Partials        0      0

[][cc-pull]

Powered by Codecov. Last updated by d89b437
[cc-base-branch]: https://codecov.io/gh/reactjs/reselect/branch/master?src=pr
[cc-pull]: https://codecov.io/gh/reactjs/reselect/pull/120?src=pr

Thank you!


Bump version, update js-binarypack with remove unused check.

Updated dependency js-binarypack to v 0.0.9, and modified build task accordingly.
New js-binarypack removes unused check.

It should resolve issues related to the binary service check: console errors, lack of secure connection support, etc.
Since the manner js-binarypack is now built (i.e. their use of of Browserify) the build task for binaryjs had to be modified as well. I would propose use a similar build for Binaryjs (I would be willing to open a PR later on).

Just wanted to add a +1 to this pull request: as a new binaryjs user, I ran into this console error and was a little concerned. Would be good to banish it.

@bryancatanzaro Thanks for the support. If you use the forked version before the pull request is approved please let me know, specially if you see any bugs. I am very interested in seeing this pull request merged and I would be glad to try to squash some bugs if they appear.

@soleilnoirmedia I'm testing your fork, right now everything looks good - the only difference I notice is that the console error is gone. =)

Beside @ericz and or @michelle who else can approve/merge a pull request? Support for the library seems to have died for some time. It would be good if other users or orgs. would become involved....


feat: hover support for react native windows

Summary
react-native-windows doesn't support onHoverIn/onHoverOut on Pressable thats why I added onMouseEnter/onMouseLeave to the useHover function.
Additionally because Pressable doesn't dispatch the mouse events I added the fallback TouchableHighlight component if the platform is windows.
This way the _hover props also works on windows.
Additionally I also @react-stately/checkbox @react-stately/slider @react-stately/toggle as npm dependencies and added four @ts-ignore to the existing code base because else building would failed.
Changelog

[x] RN-windows _hover support

Test
<Button _hover={{ style: { backgroundColor: "blue" } }}>Test1</Button>

windows:

web:

ios:

Why was this closed?

@Flam3rboy Can you please resolve the conflicts?

done 👍


Migrating from TwilioDevEd to Twilio-samples

Hey team! Is it possible to keep the Git history from the previous repository?


Update README.md

👋 Request from @colindembovsky for deployment received using deploy to test :rocket:


Error when using axistools-maven-plugin

Hi i get the following error when using the axistools-maven-plugin
[ERROR] Failed to execute goal org.codehaus.mojo:axistools-maven-plugin:1.4:wsdl2java (generate-sources-axis) on project XXXX: Execution generate-sources-axis of goal org.codehaus.mojo:axistools-maven-plugin:1.4:wsdl2java failed: A required class was missing while executing org.codehaus.mojo:axistools-maven-plugin:1.4:wsdl2java: Could not initialize class org.codehaus.mojo.axistools.wsdl2java.WSDL2JavaWrapper

My fault: Used wrong java version

no the java version is not the problem. maven build runs normal

Do you have a pointer to a project that reproduce the problem ?

Closing because of missing steps to reproduce. Please feel free to reopen once you provide them.


Backfill missing BoM data

a few gaps at the start of series, monthly:

…and a few days missing in amongst it all:

#184 is related here

closed as dupe of #184


More detail into how Corrupted Depth Image Firmware Issue (DSO-11040 from the latest spec sheet) was fixed

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
D400

Firmware Version
<IP_ADDRESS>

Operating System & Version
Linux (Ubuntu 16)

Kernel Version (Linux Only)
4.15.0-72-lowlatency

Platform
PC

SDK Version
Not sure

Language
Python

Segment
Robot

Issue Description
Issue DSO-11040 from the latest RealSense D-435 spec sheet (https://www.intel.com/content/dam/support/us/en/documents/emerging-technologies/intel-realsense-technology/RealSense-D400-Series-Spec-Update.pdf)
I am curious as to how this problem was resolved as I suspect the bug occurred in one of our deployments running old firmware. On a related note, how can the autoexposure algorithm reduced the exposure levels to below -6?

It turns out that this issue was not resolved, since it emerged on a D415 camera, not D435. Here is a sample depth map that is corrupted, curious to know if this is something that has been seen before:

Hi @ fhenrywells
(1) as to the question about -6 exposure level,
you can refer to
https://github.com/IntelRealSense/librealsense/issues/5493
the -6 refer to the MS logarithmic scale :
Just to explain with given example - the value that you read is 625. If you inspect the Librealsense's exposure control description then you'd find that it reports 0.1msec units, i.e 625=>>62.5 msec, and 62.5 msec corresponds to 1/16 of a seconds, or (-4) using MS logarithmic scale.
-6 =1/64 =0.015625 which corresponding to  1-2 of RGB exposure time
means the exposure time could be  to set to very close to 0
this is helpful under  the environment with very  strong light
(2) the issue DSO-11040 likely not the same issue you have now (D415 bad depth map you post)

Please see if use the latest FW version with latest Librealsense API  can help
the easier way is to download the latest viewer (v2.3x) that use the latest API and also can use it to update the FW
you can run the latest version of viewer to see if the issue still there first.

-how many camera streaming at the same time on the same host?
it looks the resolution you set is the highest  1289x720..
there some limitation on the fps/resolution if you want to stream multi-camera at the same time due to the USB3 bandwidth limitation  that host able to deal with
to check if this matter, you can lower the resolution ex :640x480
as to the limitation, you can found from the white paper, link provided below
https://simplecore.intel.com/realsensehub/wp-content/uploads/sites/63/Multiple_Camera_WhitePaper04.pdf


Hierarchical kernel memory leak

Related to issue #304, creating multiple GPs using the hierarchical kernel leads to memory leakage. Using modified script from previous issue here, I tested garbage collecting for RBF kernels and hierarchical kernels. GC works as expected for RBF but memory usage for hierarchical increases after each iteraction. Any suggestions on how to fix this?
output:
rbf: [75.85546875, 75.8671875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875, 76.48046875]
hierarchical: [75.875, 75.88671875, 77.0703125, 77.96484375, 78.67578125, 79.34375, 80.28125, 80.9921875, 81.67578125, 82.3828125, 83.0703125, 83.78125, 84.2421875, 85.01171875, 85.625, 86.140625, 86.65625, 87.21875, 87.73046875, 88.39453125, 89.0625, 89.51953125, 90.03125, 90.546875, 91.0625, 91.8359375, 92.08984375, 92.86328125, 93.12109375, 93.63671875, 94.13671875, 94.6484375, 95.3046875, 95.5625, 96.078125, 96.59375, 97.109375, 97.6171875, 97.82421875, 98.3359375, 98.8515625, 99.3671875, 99.66796875,<PHONE_NUMBER>5,<PHONE_NUMBER>,<PHONE_NUMBER>5,<PHONE_NUMBER>,<PHONE_NUMBER>5, 102.234375, 102.75, 103.265625,<PHONE_NUMBER>,<PHONE_NUMBER>5,<PHONE_NUMBER>5, 104.734375,<PHONE_NUMBER>,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5, 107.5,<PHONE_NUMBER>5, 108.21875,<PHONE_NUMBER>5, 109.140625,<PHONE_NUMBER>, 109.65625, 110.171875, 110.6875,<PHONE_NUMBER>5, 111.1875,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5, 113.484375,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>,<PHONE_NUMBER>5, 116.515625, 117.03125,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>, 118.15625,<PHONE_NUMBER>,<PHONE_NUMBER>, 119.1875,<PHONE_NUMBER>5,<PHONE_NUMBER>, 120.0,<PHONE_NUMBER>, 120.515625,<PHONE_NUMBER>,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>,<PHONE_NUMBER>, 124.609375,<PHONE_NUMBER>, 125.125,<PHONE_NUMBER>, 125.640625,<PHONE_NUMBER>, 126.15625,<PHONE_NUMBER>5,<PHONE_NUMBER>, 127.171875,<PHONE_NUMBER>5, 127.578125, 128.03125,<PHONE_NUMBER>, 128.546875,<PHONE_NUMBER>, 129.171875,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>,<PHONE_NUMBER>5, 130.546875,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5, 132.859375,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5]

Can you profile the memory usage? For example: https://pypi.python.org/pypi/memory_profiler
Python should not have memory leaks, as long as you run the garbage collector, but some of the Cython code may have left some allocation dangling.

The overall memory footprint for the hierarchical kernel is much larger
than RBF (23.3 MiB vs 0.6 MiB) according to memory_profiler. Also, the
total memory used for the hierarchical kernel appears to scale with the
number of iterations in the loop, but for the RBF it is fixed at 0.6 MiB.
Here's the output for the hierarchical kernel:
Line #    Mem usage    Increment   Line Contents
24     76.5 MiB      0.0 MiB   @profile
25                             def f():
26     99.8 MiB     23.3 MiB       for i in xrange(its):
27
28     99.7 MiB     -0.1 MiB           if hier:
29     99.8 MiB      0.1 MiB               m =

GPy.models.GPRegression(feats,
labels,GPy.kern.Hierarchical(kernels=[GPy.kern.RBF(2), GPy.kern.RBF(2)]))
30                                     else:
31                                         m =
GPy.models.GPRegression(feats, labels)
32
33     99.8 MiB      0.0 MiB           if collect:
34     99.8 MiB      0.0 MiB               gc.collect(2)
And for the RBF kernel:
Line #    Mem usage    Increment   Line Contents
24     76.5 MiB      0.0 MiB   @profile
25                             def f():
26     77.1 MiB      0.6 MiB       for i in xrange(its):
27
28     77.1 MiB      0.0 MiB           if hier:
29                                         m =

GPy.models.GPRegression(feats,
labels,GPy.kern.Hierarchical(kernels=[GPy.kern.RBF(2), GPy.kern.RBF(2)]))
30                                     else:
31     77.1 MiB      0.0 MiB               m =
GPy.models.GPRegression(feats, labels)
32
33     77.1 MiB      0.0 MiB           if collect:
34     77.1 MiB      0.0 MiB               gc.collect(2)
On Mon, Mar 21, 2016 at 8:10 AM, Dapid<EMAIL_ADDRESS>wrote:

Can you profile the memory usage? For example:
https://pypi.python.org/pypi/memory_profiler
Python should not have memory leaks, as long as you run the garbage
collector, but some of the Cython code may have left some allocation
dangling.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/SheffieldML/GPy/issues/341#issuecomment-199244899

@mzwiessele did you get a chance to look at this one (sorry I know you've
been busy with lots of them!)
On Mon, Mar 21, 2016 at 5:43 PM, Peter Tonner<EMAIL_ADDRESS>wrote:

The overall memory footprint for the hierarchical kernel is much larger
than RBF (23.3 MiB vs 0.6 MiB) according to memory_profiler. Also, the
total memory used for the hierarchical kernel appears to scale with the
number of iterations in the loop, but for the RBF it is fixed at 0.6 MiB.
Here's the output for the hierarchical kernel:
Line # Mem usage Increment Line Contents
24 76.5 MiB 0.0 MiB @profile
25 def f():
26 99.8 MiB 23.3 MiB for i in xrange(its):
27
28 99.7 MiB -0.1 MiB if hier:
29 99.8 MiB 0.1 MiB m =
GPy.models.GPRegression(feats,
labels,GPy.kern.Hierarchical(kernels=[GPy.kern.RBF(2), GPy.kern.RBF(2)]))
30 else:
31 m =
GPy.models.GPRegression(feats, labels)
32
33 99.8 MiB 0.0 MiB if collect:
34 99.8 MiB 0.0 MiB gc.collect(2)
And for the RBF kernel:
Line # Mem usage Increment Line Contents
24 76.5 MiB 0.0 MiB @profile
25 def f():
26 77.1 MiB 0.6 MiB for i in xrange(its):
27
28 77.1 MiB 0.0 MiB if hier:
29 m =
GPy.models.GPRegression(feats,
labels,GPy.kern.Hierarchical(kernels=[GPy.kern.RBF(2), GPy.kern.RBF(2)]))
30 else:
31 77.1 MiB 0.0 MiB m =
GPy.models.GPRegression(feats, labels)
32
33 77.1 MiB 0.0 MiB if collect:
34 77.1 MiB 0.0 MiB gc.collect(2)
On Mon, Mar 21, 2016 at 8:10 AM, Dapid<EMAIL_ADDRESS>wrote:

Can you profile the memory usage? For example:
https://pypi.python.org/pypi/memory_profiler
Python should not have memory leaks, as long as you run the garbage
collector, but some of the Cython code may have left some allocation
dangling.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/SheffieldML/GPy/issues/341#issuecomment-199244899

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/SheffieldML/GPy/issues/341#issuecomment-199397124

We did have a look, but there has not been any solutions yet. It is being looked at, though. It will probably take a while to be eradicated, but we will get there : )


Not able to load routes from custom routes file

Laravel Version: 8.5.0
PHP Version: 7.4.10
Database Driver & Version: Mysql & 8

Description:
Not able to load routes from custom routes file. In RouterServiceProvider.php within the $this->routes i am trying to load routes from a different route file. But i am getting 404 not found page. Also i changed the prefix api to apii to check if the changes are reflecting but still the api/* routes are working. I cleared the route cache,config and application cache. But still it is not working.
$this->routes(function () {
            Route::middleware('web')
                ->group(base_path('routes/web.php'));

            Route::prefix('api/v1')
                ->middleware('api')
                ->middleware('api_version:v1')
                ->namespace("{$this->apiNamespace}\V1")
                ->group(base_path('routes/api_v1.php'));

            Route::prefix('api')
                ->middleware('api')
                ->group(base_path('routes/api.php'));

        });

the routes/api_v1.php file contains
<?php

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/

Route::get('test', function () {
    return response()->json(['message'=>'Hello']);
});

I tried to visit the url https://my-app.test/api/v1/test the i got

Steps To Reproduce:

Create a new routes file
Add the new file to $this->routes in the RouteServiceProvider.php file.

Hello,
you have an issue somewhere, we have api.php / apiv2.php and it works fine.

Sorry, it is my mistake. I have an issue with one of my middlewares and the routes not loading from the group.


Install issue

After running the following code from documentation:
> devtools::install_local("C:/immunarch/immunarch.tar.gz", dependencies = T)
I'm receiving the following error:
Skipping 1 packages not available: MonetDBLite
Installing 40 packages: airr, circlize, config, cowplot, dbplyr, dendextend, diptest, dtplyr, ellipse, factoextra, FactoMineR, fastcluster, flashClust, flexmix, forge, fpc, generics, ggpubr, ggrepel, ggsci, ggsignif, GlobalOptions, gridBase, heatmap3, kernlab, leaps, mclust, modeltools, MonetDBLite, polynom, prabclus, r2d3, Rtsne, scatterplot3d, shape, shinythemes, sparklyr, treemap, trimcluster, viridis
Installing packages into ‘C:/Users/rgorsuch/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
Error: (converted from warning) package ‘MonetDBLite’ is not available (for R version 3.5.1)
immunarch is not showing up in my Packages library and the repLoad function is not present when trying to import data.
Thanks to anyone who can provide some insight!
Ryne

Hi, sorry for that, MonetDBLite was removed from the CRAN causing all this issues. We will publish the new version right now without this issue.

Published, please re-install immunarch

Hi, I will close this issue for now, please feel free to re-open if any questions arise.

Hi!
I have downloaded the 0.3.1 version and tried to install it. After running: <devtools::install_local("immunarch.tar.gz", dependencies=T)>
(I have previously set the directory that contains immunarch as the working directory)
I get a very similar error:
Skipping 1 packages not available: MonetDBLite
Installing 95 packages: abind, airr, BH, car, carData, cellranger, circlize, colorspace, config, cowplot, crosstalk, data.table, DBI, dbplyr, dendextend, DEoptimR, diptest, dplyr, dtplyr, ellipse, ellipsis, factoextra, FactoMineR, fastcluster, flashClust, flexmix, forcats, forge, fpc, generics, ggplot2, ggpubr, ggrepel, ggsci, ggsignif, GlobalOptions, gridBase, gridExtra, gtable, haven, heatmap3, hexbin, hms, htmlwidgets, httpuv, kernlab, labeling, later, leaps, lme4, maptools, MatrixModels, mclust, minqa, modeltools, MonetDBLite, munsell, mvtnorm, nloptr, openxlsx, pbkrtest, plogr, plotly, plyr, polynom, prabclus, progress, promises, quantreg, r2d3, RColorBrewer, RcppEigen, readr, readxl, reshape2, rio, robustbase, Rtsne, scales, scatterplot3d, shape, shiny, shinythemes, sourcetools, sp, sparklyr, SparseM, tidyr, tidyselect, treemap, trimcluster, viridis, viridisLite, xtable, zip
Error: (converted from warning) package ‘MonetDBLite’ is not available (for R version 3.6.0)
I appreciate your kind help!
Mara

Hi, sorry for that, updated the package to 0.3.2 and fully removed MonetDBLite, should work now!

I could install it now
Thank you very much!

Glad to hear that!


RuntimeError: cuDNN error: CUDNN_STATUS_NOT_INITIALIZED

hi,guys, it's my first time to install mmdetection, and I do with MMDet_Tutorial.ipynb step by step. However, I got the error, when I try to inference the detector.

I also  try to install mmcv-full with the version 1.4.2 , which in discuss#7017https://github.com/open-mmlab/mmdetection/issues/7017 mentioned, but it doesn't work for me.
Any help is appreciated. Many thanks!

It seems an error of pytorch 1.8.0. You can refer to pytorch issue. Please upgrade your pytorch.

got it, I changed pytorch to 1.9.0, then it works for me. Thanks for the quick reply.


UI does not work in Firefox browser

Affected version
Firefox 52.9.0 (64-bit)
Error
UI won't not load.

How to reproduce

Clone this repo
Run docker-compose up
Run npm run server
In Firefox, navigate to localhost:8080

Works on my machine...

It works for me:
Commit used: https://github.com/aerogear/data-sync-ui/commit/9df8aa5e19e316a7628458e2dc2b8b0343d02995

Did you run npm install before you ran the server?

I've got the service deployed on internal infrastructure and it also does not work either: https://data-sync-ui-datasync-keycloak.apb-testing.skunkhenry.com/

Requires to be connected to RH VPN, since it's deployed to internal infrastructure.

It works for me on https://data-sync-ui-datasync-keycloak.apb-testing.skunkhenry.com/


WIP Feature/jmx surge health

Codecov Report

Merging #84 (c0be21f) into main (03430b6) will decrease coverage by 1.72%.
The diff coverage is 68.87%.

@@            Coverage Diff             @@
##             main      #84      +/-   ##
==========================================
- Coverage   76.34%   74.61%   -1.73%
==========================================
  Files         157      164       +7
  Lines        2993     3211     +218
  Branches       77       81       +4
==========================================
+ Hits         2285     2396     +111
- Misses        708      815     +107

Impacted Files
Coverage Δ

.../surge/internal/kafka/KafkaProducerActorImpl.scala
83.96% <ø> (-0.85%)
:arrow_down:

...ain/scala/surge/javadsl/command/SurgeCommand.scala
0.00% <0.00%> (ø)

...rc/main/scala/surge/javadsl/event/SurgeEvent.scala
0.00% <0.00%> (ø)

...c/main/scala/surge/scaladsl/event/SurgeEvent.scala
0.00% <0.00%> (ø)

...es/common/src/main/scala/surge/health/Health.scala
66.66% <0.00%> (-2.09%)
:arrow_down:

.../main/scala/surge/health/domain/HealthSignal.scala
0.00% <0.00%> (ø)

.../common/src/main/scala/surge/health/jmx/View.scala
0.00% <0.00%> (ø)

.../main/scala/surge/health/windows/WindowEvent.scala
42.85% <0.00%> (-17.15%)
:arrow_down:

...h/windows/stream/WindowingHealthSignalStream.scala
87.50% <ø> (ø)

...a/surge/kafka/KafkaPartitionShardRouterActor.scala
59.85% <0.00%> (-2.19%)
:arrow_down:

... and 39 more

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 03430b6...c0be21f. Read the comment docs.


Choose a balance when connecting to Wise

User story
As a fiscal host admin, I can choose which of my balances on Wise should be connected to my fiscal host, so that I can operate multiple fiscal hosts in different currencies using the same Wise account.
Best solution for this problem
When the button to connect Wise is clicked, a second step allows me to select the balance I want to connect to the host.
Priority rationale
Open Collective Europe would like to operate multiple fiscal hosts accounts with different currencies. This useful because the European Economic Area has 12 currencies. Free movement of goods, persons, services, and capital among the EEA countries makes it possible for a legal entity in a single country to host collectives in all 30 EEA states in any of their currencies. By using Wise, we can hold most of the money in EUR on our bank account and maintain balances in the other 11 currencies to serve collectives outside of the Euro-zone.
Open Collective Sweden will be the first host to do this, starting out as a SEK fiscal host offered by the Open Collective Europe legal entity.

Ping @jfdh

To make it clear:
As a fiscal host admin, I can choose which of my balances on Wise should be connected to my fiscal host, so that I can operate multiple "sub-fiscal hosts" under OC Europe in different currencies using the same Wise account.
@kewitz do you think it would be possible? Happy to discuss this further if you have any questions.

@jfdh I think it is. I can try hacking this without a proper UI if this is blocking OC Europe in any way.


How to avoid long compilation time

PromiseKit version:
Xcode version: 8.3.2

Hi,
I love to use PromiseKit but compilation times can be very long as soon as you chain 4 then in a method. Have you any tricks in order to avoid this compilation extra times?
Regards,
Quentin

I've not personally noticed this.

I've also not seen this. Can you provide more detail? An example would be even better.

Like, a test project that proves it would be good.

I guess this is not directly a PromiseKit. Compilation times go exponential if you chain generic functions that returns Promises.
With this function
    return Promise { fulfill, _ in
        DispatchQueue.main.async {
            fulfill(value)
        }
    }
}```

I wrote 5 promises chains with 1, 2, 3, 4, 5 successive calls.

```func testWith1GenericFunctions() {
    _ = genericPromise("a string").then {
        print($0)
    }
}

func testWith2GenericFunctions() {
    _ = genericPromise("a string").then {
        return genericPromise($0)
        }.then {
            print($0)
    }
}

func testWith3GenericFunctions() {
    _ = genericPromise("a string").then {
        return genericPromise($0)
        }.then {
            return genericPromise($0)
        }.then {
            print($0)
    }
}

func testWith4GenericFunctions() {
    _ = genericPromise("a string").then {
        return genericPromise($0)
        }.then {
            return genericPromise($0)
        }.then {
            return genericPromise($0)
        }.then {
            print($0)
    }
}

func testWith5GenericFunctions() {
    _ = genericPromise("a string").then {
        return genericPromise($0)
        }.then {
            return genericPromise($0)
        }.then {
            return genericPromise($0)
        }.then {
            return genericPromise($0)
        }.then {
            print($0)
    }
}

Compilation times are:

testWith1GenericFunctions: 29 ms
testWith2GenericFunctions: 7 ms
testWith3GenericFunctions: 50 ms
testWith4GenericFunctions: 450 ms
testWith5GenericFunctions: 3276 ms

So I think that there is no bugs in PromiseKit, I just would like to have advice on how to optimise this situations with a readable solution.

Possibly if you specify the return types of the closures it helps?

Indeed, with this function

func testWith5GenericFunctionsWithReturnTypes() {
    _ = genericPromise("a string").then { value -> Promise<String> in
        return genericPromise(value)
        }.then { value -> Promise<String> in
            return genericPromise(value)
        }.then { value -> Promise<String> in
            return genericPromise(value)
        }.then { value -> Promise<String> in
            return genericPromise(value)
        }.then { value -> Void in
            print(value)
    }
}```

Compilation time goes down from 3240ms to 21ms.

Thanks.

Interesting, thanks for bringing this to our attention.

If you will, please report this to http://bugs.swift.org
I cannot, it's quite possible that people at Apple will not listen to me anymore.

I'll try with swift 4 if the problem is still present. But maybe it is unavoidable, genericity has a price.

Obviously I'm not the expert, but my layman's observation is this looks like an O(n) situation. Linear chain.

I find Swift 4 much improves this.


rtic_monotonics 2.0 not in crates.io???

Hi,
Please forgive me if I'm off, just started transitioning into the rtic world.
All the examples point to rtic_monotonics 2.0, but that's not available on crates.io?  Tried with 1.5 but there seems to have been pretty major breaking changes on that end.
Am I missing something?
Rene

Hi!
You are correct, currently rtic-monotonics 2.0 is not yet released to crates.io
When building rtic-monotonics and friends from git master branch you can use the latest syntax, even before it is released
Alternatively, look at the examples prior to #874 : https://github.com/rtic-rs/rtic/tree/e4cc5fd17b8a2df332af0ee25c8bd7092e66afb0 and use the current non-latest-bleeding edge released RTIC :)

Thank you for pointing that out @AfoHT , I'm starting to wrap my head around the current state of affairs...
I'm guessing rtic-monotonics 2.0 hasn't yet been release due to stability/documentation concerns (trust me, I get it, ensuring stability in the embedded world is brutally difficult, and who likes writing documentation?).  What I'm wondering is why not release Alpha/Beta versions?  Like Linus said, "given enough eyeballs, all bugs are shallow".  My thinking is that with Alpha/Beta versions 1) more "eyeballs" will be on the latest code base which is really where you want the Dev efforts to be focused on and 2) crate consumers are made aware of stability concerns.
Seems to me like a low effort effort way to get the code to be easily tested by the community (doing a PoC building rtic-monotonics and friends from git master branch is fine, but doing so with multiple Devs and CI gets very ugly very quickly...  I'm sure you understand).
Food for thought

Just a +1 that I found this very confusing. Also, it seems like there exists
rtic-monotonics on crates.io: version 1.5.0.
rtic-monotonic on crates.io: version 1.0.0.
rtic-monotonics inside the rtic crate: version 2.0.0.
Furthermore, I was confused by the fact that there's
cortex-m-rtic on crates.io: This is version 1.1.4, and contains the message "IMPORTANT: This crate is published as cortex-m-rtic on crates.io but the name of the library is rtic" and has no mention of being deprecated
rtic on crates.io: This is the one we're supposed to be using, I take it?
The examples I found on the web are also mixed in terms of what version of things they point to. And as a minor point, I also noticed that RTIC's documentation refers to defmt-app-template, but that has one clone a repo called "app-template" -- though that appears to be just a redirect to defmt-app-template.
Overall, it was pretty confusing trying to get set up in the RTIC ecosystem. But I think I'm almost at blinky :)

FYI: The stm32f411_rtc_interrupt example is also off, it references a yanked version of rtic that has an rtic-monotonics feature which I'm not seeing in the current code base.

rtic-monotonic seems to be deprecated.
I'm sorry for the confusion, we had a full rtic-monotonics rewrite just a couple of weeks ago. (as @AfoHT pointed out, #874)
The rewrite is now merged and in the progress of being tested further before being released. It will probably happen soon.

FYI: The stm32f411_rtc_interrupt example is also off, it references a yanked version of rtic that has an rtic-monotonics feature which I'm not seeing in the current code base.

Might be worth opening a separate issue for this.


Email local statistics

Every month, an Excel file with current anonymous statistics should be sent via mail to configured recipients.

This function has been added. The periodic trigger will be done by cron. This must be configured manually
once this feature is available in production. The corresponding command is:
python manage.py export_usage_statistics --send-email<EMAIL_ADDRESS>user2.example.org


xp tracker: Toggle compact view on click

Closes #12717
Revived from #13065, which was closed as the author deleted their fork.
Clicking an infobox will toggle its collapsed state. See attached video for behavior.

https://github.com/runelite/runelite/assets/2199511/b9cd6660-8616-4ef2-9395-4291b7ea3b5b

Would it make sense to have a default compact option?

I'd prefer to add it without for the initial implementation. If it ends up being something people want after release we could add it then.


Add topic level ACLs

Awesome! thanks a lot @michaelpearce-gain , appreciate a ton! can you add as well a few test for this new functionality? I only see basic ones for the serdes.
That would be really awesome to have this onboard.

Can you point me to existing tests for acls, i couldnt find.

here you have.
https://github.com/kafka-ops/kafka-topology-builder/blob/master/src/test/java/com/purbon/kafka/topology/AccessControlManagerTest.java
https://github.com/kafka-ops/kafka-topology-builder/blob/master/src/test/java/com/purbon/kafka/topology/integration/AccessControlManagerIT.java

Hi @michaelandrepearce and @michaelpearce-gain I really would like to merge this in, but test are missing for now. Do you mind If I add it and then we can move into merging them?

@purbon feel free, i simply havent had a spare moment still.

Thanks, @michaelandrepearce, I took the time to add some tests and docs here! I will merge!
thanks


Nit: Fix License and Patent links for gh-pages

These links at the bottom of https://facebook.github.io/immutable-js/ were broken since they're relative and https://facebook.github.io/immutable-js/LICENSE and https://facebook.github.io/immutable-js/PATENTS don't exist.
This fixes the issue by using the full link instead of the relative link. I poked around regenerating the hg-pages for you guys, but couldn't find an obvious way to do it so heads up someone will have to regenerate them. =]

Thank you for your pull request.  As you may know, we require contributors to sign our Contributor License Agreement, and we don't seem to have you on file and listed as active anymore.  In order for us to review and merge your code, please email<EMAIL_ADDRESS>with your details so we can update your status.

Thanks!


[DOCS]:[fix comment statement and reformat code]

What is the purpose of the change
fix comment statement and reformat code
Brief changelog
org.apache.dubbo.configcenter.AbstractDynamicConfiguration
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn clean install -DskipTests & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

fix the ci failed pls.


refactor(sozo): fetch writes from events and calculate diff for that + some refactor

fix: #2096
fix: #2079

Summary by CodeRabbit

New Features

Introduced a new function for extracting tags from filenames, enhancing filename parsing capabilities.
Added a new authorization function that consolidates granting and revoking permissions.
Updated migration functions to include additional context and improve clarity during the migration process.

Bug Fixes

Improved error handling in migration processes to ensure proper validation of changes.

Refactor

Streamlined functions to reduce mutability and improve performance by passing parameters by reference.
Simplified logic in various asynchronous functions to enhance code clarity and efficiency.

Documentation

Enhanced documentation for several functions, clarifying parameters and return types to improve user understanding.

Style

Made formatting adjustments across multiple files for consistency and readability.

And fetching each one of the selector info to display the name might be worthy for easier debugging / understanding of the operations

good point, updated it to show more appropriate resource type instead of selector where possible.


docs: add impls (#522)

1. Description

1.1. Checklist

[ ] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[ ] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[ ] I have updated/added tests for ALL new/updated/fixed functionality.
[ ] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[ ] I have updated/added relevant examples in examples.

1.2. Breaking Change

[ ] Yes, this is a breaking change.
[ ] No, this is not a breaking change.

1.3. Related Issues

Codecov Report

Merging #522 (84ed43a) into main (dbcee4e) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #522   +/-   ##
=======================================
  Coverage   68.52%   68.52%
=======================================
  Files         204      204
  Lines        1903     1903
=======================================
  Hits         1304     1304
  Misses        599      599

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


When scrollEnabled=true, tabs don't expand to full width of screen

I'm having an issue where I only have two tabs. When i set scrollEnable=true, it doesn't expand to the full width of the screen.  it keeps it roughly the size of the tab label , and leaves the rest of the tab area empty.
scrollEnable={true}:

scrollEnable={false}:

Code:
import React from 'react';
import { View, Text } from 'react-native';
import { Tabs, MaterialTabBar } from 'react-native-collapsible-tab-view';

import ScheduleScreen from './ScheduleScreen';

export const ScheduleTabs = () => {
    return (
        <Tabs.Container
            headerHeight={100}
            TabBarComponent={(props) => <MaterialTabBar {...props} scrollEnabled />}
        >
            <Tabs.Tab name="article" label="Article">
                <View>
                    <Text>Article Text</Text>
                </View>
            </Tabs.Tab>
            <Tabs.Tab name="albums" label="Albums">
                <View>
                    <Text>Article Text </Text>
                </View>
            </Tabs.Tab>
        </Tabs.Container>
    );
};

If i knew that the tabs would always be set to 2, then i'd always set scrollEnabled={false} but there are times where the tabs could go up to 5 and I would need it to scroll.  Then scrollEnabled={true} does its job.
Am I missing a property?

This is by design. If the tab labels are made to fit the width of the screen then when would they start scrolling?
You could use a condition like scrollEnabled={numTabs > 5}

@andreialecu Ok. I'll play around with that.  Thanks!


Email notification configuration using docker

Bug description
I have defectdojo running under docker, in system settings i have enabled email notification and in notifications i have enabled all type of notifications via email.
The problem is that i can't find where exactly i have to configure my gmail information in the app to then defectdojo could use it for email notifications.
I know it's not a security bug, but in documentation i didn't find a clue. Could you please help me with that ?
Deployment method (select with an X)

[ ] Kubernetes
[X] Docker
[ ] setup.bash / legacy-setup.bash

You would probably either use your host's MTA or a service like SendGrid.
You would configure the information in the setting.py file, around line 488, look for DD_EMAIL_URL. Another way to do it would be to pass that environment variable through your docker-compose to override DD_EMAIL_URL and not touch that file eventually, but both would work.

Stale, closing. Some docs probably needed.

Hey but how to pass the smtp url? In the settings.py there is an url for smtp.     smtp://user@:password@localhost:25
But I have another smtp service like brevo. How to configure this one? If anyone have any idea please let me know. This so urgent.


IGNITE-7993 Striped pool can't be disabled

Restored the capability to disable striped pool

There is going to be implemented a strict thread per partition in the nearest future which will make disabling of striped pool impossible. I am closing this PR. New one PR will be created to update Javadoc.


cannot find function, tuple struct or tuple variant SteamAPI_SteamUGC_v015 in crate sys

I tried to compile the create with Steam SDK 151 but it gives me this
error[E0425]: cannot find function, tuple struct or tuple variant `SteamAPI_SteamUGC_v015` in crate `sys`
     --> C:\Users\fflea\.cargo\registry\src\github.com-1ecc6299db9ec823\steamworks-0.7.0\src\ugc.rs:666:36
      |
666   |                     let ugc = sys::SteamAPI_SteamUGC_v015();
      |                                    ^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `SteamAPI_SteamUGC_v014`
      |
     ::: C:\Users\fflea\CLionProjects\rust_test\target\debug\build\steamworks-sys-1244e4b6e1e8ec01\out/bindings.rs:26893:5
      |
26893 |     pub fn SteamAPI_SteamUGC_v014() -> *mut ISteamUGC;
      |     -------------------------------------------------- similarly named function `SteamAPI_SteamUGC_v014` defined here

Does seem to be an updated function name issue. What should I do? Thank you.

Are you sure you are using v151? When I grep for that function in v150 I get:
rg SteamAPI_SteamUGC_v014 .\steamworks_sdk_150\sdk\
.\steamworks_sdk_150\sdk\public\steam\steam_api_flat.h
649:S_API ISteamUGC *SteamAPI_SteamUGC_v014();

.\steamworks_sdk_150\sdk\public\steam\steam_api.json
9209:          "name_flat": "SteamAPI_SteamUGC_v014"

but in v151 I get:
rg SteamAPI_SteamUGC_v014 .\steamworks_sdk_151\sdk\

which is nothing.

Are you sure you are using v151? When I grep for that function in v150 I get:
rg SteamAPI_SteamUGC_v014 .\steamworks_sdk_150\sdk\
.\steamworks_sdk_150\sdk\public\steam\steam_api_flat.h
649:S_API ISteamUGC *SteamAPI_SteamUGC_v014();

.\steamworks_sdk_150\sdk\public\steam\steam_api.json
9209:          "name_flat": "SteamAPI_SteamUGC_v014"

but in v151 I get:
rg SteamAPI_SteamUGC_v014 .\steamworks_sdk_151\sdk\

which is nothing.
I just downloaded it so I am quite positive.

Isn't the problem seems to be starting within the crate, not my end, as it tried to call SteamAPI_SteamUGC_v015() instead of SteamAPI_SteamUGC_v014(), which actually exists?

The crate tried calling SteamAPI_SteamUGC_v015(), but only found SteamAPI_SteamUGC_v014(). Are you sure you set STEAM_SDK_LOCATION to the new v151 dir and restarted your terminal?

The crate tried calling SteamAPI_SteamUGC_v015(), but only found SteamAPI_SteamUGC_v014(). Are you sure you set STEAM_SDK_LOCATION to the new v151 dir and restarted your terminal?

I even restarted my PC.
Where is this SteamAPI_SteamUGC_v014() located at?
I am checking my STEAM_SDK_LOCATION and yes, it shows SteamAPI_SteamUGC_v015 in files like steam_api.json or steam_api_flat.h.
Not sure if it's a cache problem or something, as I did have 150 installed, but I have already downloaded 151, change environment variable, and even restarted the PC.

Try cleaning your project and rebuild it.

Try cleaning your project and rebuild it.

Oh yeah I tried to delete the entire target folder and it can compile now.
However, the executable does not run
error: process didn't exit successfully: `target\debug\rust_test.exe` (exit code: 0xc0000135, STATUS_DLL_NOT_FOUND)

Do you by any chance know how to deal with this? Thank.

You need to copy the steam_api64.dll into the same folder as your exe. You should be able to find it in target\<release-type>\build\steamworks-sys-<hash>\out.

You need to copy the steam_api64.dll into the same folder as your exe. You should be able to find it in target\<release-type>\build\steamworks-sys-<hash>\out.

I also tried it but now I got it with
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: InitFailed', src\main.rs:7:43

Sorry, I am very new to this 😢

Sorry, I am very new to this 😢

No worries

I also tried it but now I got it with
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: InitFailed', src\main.rs:7:43

That means that the game failed to connect to Steam. If I remember correctly, I think this can occur if there isn't a steam_appid.txt in the current working directory of the app when it isn't launched by Steam. This file just contains the number of your steam app. 480 is an id reserved by Steam for examples and testing, you can use that if you don't have an app id right now. This repository actually uses this file in order to run tests, so you can use that as an example.

Sorry, I am very new to this 😢

No worries

I also tried it but now I got it with
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: InitFailed', src\main.rs:7:43

That means that the game failed to connect to Steam. If I remember correctly, I think this can occur if there isn't a steam_appid.txt in the current working directory of the app when it isn't launched by Steam. This file just contains the number of your steam app. 480 is an id reserved by Steam for examples and testing, you can use that if you don't have an app id right now. This repository actually uses this file in order to run tests, so you can use that as an example.

Wow
Awesome.
Worked like a charm.
Thank you for your time.

No problem


Check: missingValueCodes fully documented

Purpose
This check will look to see if documented missingValueCodes of a file match the codes present in the data.
Components

list of common missing value codes
data file name, in order to:

find the missing value codes documented for the file in the metadata
read in the data to look at values in each column and compare them to common missing value codes/what was documented

also check columns for type mismatches for potential missing value codes that weren't detected from the list of common ones

Result
SUCCESS: if all of the missing value codes found in a file are present in the missingValueCode sections for each applicable column
FAILURE: if there is one or more difference (would be good if it showed the difference: what code and for which columns)
ERROR: on system error or exception in the check code, representing a bug in the check system

This sounds good. It is also often useful to look for type mismatches, which often represent missing value codes that are defined. E.g., in a column of type double with values like 1.2,2.1,3.4,NA,3.4,FAIL,4.5,2.2,POWER,1.1,2.2 the string values probably represent error conditions or missing values.

moved to https://github.com/NCEAS/metadig-checks/issues/452


Version updates

Updating scala and sbt versions. Also moved last bit of ./project/*.scala code out to the build.sbt file per deprecation warnings.
FYI, I did this while popping the hood on this project to compile it for Lift 3.1.

Thanks Joe.


DNSLabel make matchSuffix and stripSuffix case-insensitive

Reuse matchSuffix in stripSuffix DRY
Use eq to compare label after creating same length
Fix #36
Relates to #22

Thanks very much for this - mow merged and new release uploaded to PyPi (0.9.20). Apologies for the delay getting to this.


Resolves: Add native GitHub continuous code security and quality analysis

add codeql-analysis.yml which automatically enables CodeQL code security and quality scanner. It executes on every push commit, PR, manually and every day at 8:00AM UTC. A scan check can be viewed on commits and PRs. All alerts and fix suggestion can be viewed at Security tab -> Code scanning alerts -> CodeQL

Resolves #71

@aleks-ivanov is there any follow up action that needs to be taken after this has been merged? Do I need to setup a github action to execute this workflow or should I expect github to automatically do this?

@aleks-ivanov is there any follow up action that needs to be taken after this has been merged? Do I need to setup a github action to execute this workflow or should I expect github to automatically do this?

Hi @charleszipp
you don't need to do anything and probably you've already seen that it has executed on the merge of this PR (which is essentially a push commit). 🙂


Failed to download Pre-trained diffusion model

Hi, I am very interested about your code but failed to downed 'Pre-trained diffusion model' for many times, could you send it to my email:<PHONE_NUMBER>@qq.com,very thanks.

Hi @ChengxiHAN
Have you tried to download the pre-trained models with the terminal?
For example, you can run the following code in the terminal:
wget https://www.dropbox.com/s/1q9bu7jmeyzxcbn/I190000_E97_gen.pth

and
wget https://www.dropbox.com/s/41out218irscjfl/I190000_E97_opt.pth

Thanks for your reply. Actually, it still failed. Maybe you can upload it to Google Drive or Baidu  Drive or email? Very thanks.

@ChengxiHAN Could you try this google drive link: https://drive.google.com/file/d/1RXWtGdSNCBEAf7nr61uNyZP6HwNl_Zyi/view?usp=sharing

Thanks for your reply. I tried three times and failed three times. It stopped about 50% of the download process. I didn't know the reason. Could you upload them separately?  I will try it again until successful. Very thanks.

@ChengxiHAN Could you try this google drive link: https://drive.google.com/file/d/1RXWtGdSNCBEAf7nr61uNyZP6HwNl_Zyi/view?usp=sharing

Thanks for your reply. I tried three times and failed three times. It stopped about 50% of the download process. I didn't know the reason. Could you upload them separately? I will try it again until successful. Very thanks.

Good news. Just succeeded, thanks, bro!

Nice!


encode and decode URL paramters

What steps will reproduce the problem?
I do not want the URLs to have the values in their original form, so I have to encode all the places where they occur. And when I receive an incoming request, I always have to decoding it.
example id -> hashids.org -> id
Cases when this is needed:

value has sensitive data
I want to make page scanners harder.
value is binary string
value is too long

What is the expected result?
Route::get('/test/{id:\w+}')->encodeParameters(function($parameter, $value) {
  if($parameter != 'id') {
    return $value;
  }
  return base64_encode($value);
})->decodeParameters(function($parameter, $value) {
  if($parameter != 'id') {
    return $value;
  }
  return base64_decode($value);
})....

What do you get instead?
example (yii2):
Url::to('test', ['id' => base64_encode($id)]);   // All places where they occur in the code.

public function run($id) {
  $id = base64_decode($id);  // All places where they occur in the code.
}

Q
A

Version
1.0.0 under development

PHP version
-

Operating system
-

I think that is out of scope or router. Need more opinions. @yiisoft/reviewers?

For me, it is acceptable to have another layer, the important thing is to do the encoding and decoding automatically. (I don't see the full request process yet.)

That could be done with a decorator implementing UrlGeneratorInterface and UrlMatcherInterface. I still think that it's not that common to have it in the one of framework packages out of the box.

The encode is by no means part of it, I see it.
Route::get('/test/{id:\w+}')->proxy(function($request) {
   return $request->set('id', decode($request->get('id')));
})

Could it be an alternative? I could imagine a proxy function for other uses.

That could be done with a decorator implementing UrlGeneratorInterface and UrlMatcherInterface. I still think that it's not that common to have it in the one of framework packages out of the box.

I don't see the new system yet, so I accept what you wrote.


Weird behaviour when adding task with D/ F/ and T/

A deadline task is added, but would it be better for the command to be rejected instead?

Good catch, I agree that the command should be rejected instead.


arg -> arg0 in T::Sig#sig

Motivation

This makes some other change I'm working on easier. I think this change
should have no observable effect otherwise.
Test plan

existing tests

The changes seem good to me, what's the case that it simplifies for you?

I need to add T::Sig#sig to the list of SymbolRef's in SymbolRef.h, which means I need to enter a method symbol for it in GlobalState.cc, which means I need to enter its args, and i don't want to have to add an entry to generate_names.cc for arg, because there is already an entry there that maps core::Names::arg() to "<arg>" instead of "arg".


Android Icon only displays transparent images and does not show any colour

First of all, with iOS, simply including the icon in the res/icons/ios folder and adding "icon": "name" in the init did the job. It works fine and no problem.
For Android: I located the drawables folders: platforms/android/res, and added the icon I want to show with the push notification in every folder. Then I added the code in the init line, but initially got nothing. The only way it worked was with a transparent icon. However, even with the transparent icon, it does not work as supposed to, as the icon turns all white and has a gray background.
What I want is a white background and the icon with its original colour, or being able to show the icon in its original form.
Another strange point is the fact that the nameoftheicon.png does not work with Android, but works with iOS. In the Android case, nameoftheicon is what works.
What do you suggest? Not sure if this is a known issue so don't hesitate to correct me if it is. I'd appreciate however if you would direct me to possible solutions.
This is the code of the init:
pushNotification = PushNotification.init({
"android": { "senderID": GCM_SENDER_ID, "icon": "logo"},
"ios": { "alert": "true", "badge": "false", "sound": "false", "icon": "logo.png" }, "windows": {}
});

@jcus0006 correct, please read:
https://github.com/phonegap/phonegap-plugin-push/blob/v1.6.x/docs/PAYLOAD.md#images

So the only way to show a coloured image with a push is to send it from the backend? No way to do it client side along with the registration? Not sure if Im understanding the concept of the large image correctly.

Hi Team,
@macdonst  Even i have came across this issue, when i used custom icon in the code & add the same icon in the drawables folder. But still, the icon will not appear. Just it shows white rectangular with grey background. But if the same icon is used with transparent BG then it started showing atleast icon instead of white Background.

Can you please help us in this @macdonst

It seems like it is supposed to work like that, for some strange reason @pallaviMN. It seems like the icon is meant to be transparent in its nature. I cannot understand how to use the concept of large image however, which seems to be what we need to show coloured non-transparent images in the notifcation bar. I am not sending notifications from the GCM like the JSON in the link @macdonst  suggested; but rather from Azure backend (testing) or C# using Notification hubs package.

@jcus0006 the new Android UI guidelines as of Android 5 is for the icon shown in a push to only have white and transparent pixels. There is a link to the information on Google in the doc link I sent you.
If you absolutely want to use a colored icon then you'd have to build with an earlier version of Android. I really don't recommend this. You should move forward, not back.
The large icon is a way of personalizing each push.

@pallaviMN what you describe is the way Android push notifications are supposed to work.

Fair enough @macdonst . But how is it 'moving forward' to remove colour from an icon? Personally, and I accept the fact that I am inexperienced in advance, I see it as a step backward rather.
Can you explain how to go about modifying the json sent from GCM for each push?

@jcus0006 by moving forward I mean following the Android style guide. If you don't your app will stick out for the wrong reasons.
How are you sending the data to GCM as you can just follow what is in the docs?

I am registering with the typical code: creating a mobileServiceClient and a pushPlugin init instance. Then Im doing the register: mobileServiceClient.push.gcm.registerTemplate(...)
Then pushing the notification using the notification hubs package in C#.
I'm thinking the JSON that is sent with the registerTemplate has to include the "image" as described in the docs?


Unable to download C/SIDE environment and WinClient using Docker image for NAV2017-CU5

I'm trying to run NAV 2017 cu5 on docker with this command on win10 localhost:
docker run -m 3G -e ACCEPT_EULA=Y -e UseSSL=N -e ClickOnce=Y -e auth=Windows -e username=ivand -e password=<mypassword> -v c:\myfolder:c:\run\my -e LicenseFile=c:\run\my\mylicense.flf navdocker.azurecr.io/dynamics-nav:2017-cu5
When using the ClickOnce link on browser to install client and C/SIDE...

... I get this error:
Application cannot be started. Contact the application vendor.
With this log in details:
`PLATFORM VERSION INFO
	Windows 			: 10.0.15063.0 (Win32NT)
	Common Language Runtime 	: 4.0.30319.42000
	System.Deployment.dll 		: 4.7.2046.0 built by: NET47REL1
	clr.dll 			: 4.7.2115.0 built by: NET47REL1LAST
	dfdll.dll 			: 4.7.2046.0 built by: NET47REL1
	dfshim.dll 			: 10.0.15063.0 (WinBuild.160101.0800)

SOURCES
	Deployment url			: file:///C:/Users/ivand/Desktop/TEMP/Microsoft.Dynamics.Nav.Client.application

IDENTITIES
	Deployment Identity		: 15ed60b1ae92 ClickOnce, Version=10.0.16177.0, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=msil

APPLICATION SUMMARY
	* Installable application.

ERROR SUMMARY
	Below is a summary of the errors, details of these errors are listed later in the log.
	* Activation of C:\Users\ivand\Desktop\TEMP\Microsoft.Dynamics.Nav.Client.application resulted in exception. Following failure messages were detected:
		+ Deployment and application do not have matching security zones.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
	No transaction error was detected.

WARNINGS
	* The manifest for this application does not have a signature. Signature validation will be ignored.

OPERATION PROGRESS STATUS
	* [25.10.2017. 18.22.18] : Activation of C:\Users\ivand\Desktop\TEMP\Microsoft.Dynamics.Nav.Client.application has started.
	* [25.10.2017. 18.22.18] : Processing of deployment manifest has successfully completed.
	* [25.10.2017. 18.22.18] : Installation of the application has started.

ERROR DETAILS
	Following errors were detected during this operation.
	* [25.10.2017. 18.22.18] System.Deployment.Application.InvalidDeploymentException (Zone)
		- Deployment and application do not have matching security zones.
		- Source: System.Deployment
		- Stack trace:
			at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
			at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
			at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
			at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl, Uri& deploymentUri)
			at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
--- End of stack trace from previous location where exception was thrown ---
			at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
			at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
			at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

COMPONENT STORE TRANSACTION DETAILS
	No transaction information is available.

I think we have seen this error on some browsers - could you try with a different browser?

@ivandjordjevic You should try Internet Explorer (preferable) or eventually Edge.

Had the same problem today.  Clicking on the Install button in the ClickOnce Installation page using Chrome downloads the Finsql.application which then fails with the above error when you try and open it.
Clicking on the Install button in the Edge opens the ClickOnce install dialog which allows you to install.

I had the same problem in Chrome but in Edge it is working!

I can confirm that IE works as well. I had problems with Chrome. Thanks for help!


Fastboot does not run with Babel browser polyfill

Trying to run fastboot (master) with the babel-browser-polyfill crashes with:
TypeError: Cannot read property 'prototype' of undefined
    at Object.58../$ (<anonymous>:2132:25)
    at s (<anonymous>:13:255)
    at <anonymous>:13:306
    at Object.93../modules/$ (<anonymous>:3269:1)
    at s (<anonymous>:13:255)
    at <anonymous>:13:306
    at Object.<anonymous> (<anonymous>:21:1)
    at Object.1../tools/protect.js (<anonymous>:33:4)
    at s (<anonymous>:13:255)
    at e (<anonymous>:13:426)

My ember-cli-build.js looks roughly like this:
var EmberApp = require('ember-cli/lib/broccoli/ember-app')

module.exports = function(defaults) {
  var app = new EmberApp(defaults, {
    babel: {
      optional: [ 'es7.asyncFunctions' ]
    }
  })

  app.import('vendor/babel-polyfill.js', { prepend: true })

  return app.toTree()
}

I'm not experienced enough with fastboot and contextify to debug this.

Probably related to #57. I'm assuming based on the name that babel-browser-polyfill relies on browser features that aren't available in Node.

@topaxi Surely there's a version of the Babel polyfill designed to work in Node? Do you know which line you're getting the exception from?

@jameskyle

Any idea @thejameskyle?

@tomdale The only difference between the "node" polyfill and the "browser" one is that the browser one has been compiled with browserify. So it should be working fine.
@topaxi Can you share the code that is causing this error?

I setup a minimal clean repository here: https://github.com/topaxi/fastboot-test
All I did was:
ember new fastboot-test
ember install tildeio/ember-cli-fastboot#master
cp node_modules/ember-cli-babel/node_modules/broccoli-babel-transpiler/node_modules/babel-core/browser-polyfill.js vendor/babel-browser-polyfill.js

And updated the ember-cli-build.js and then ran:
ember fastboot

Which leads to:
version: 1.13.8
Could not find watchman, falling back to NodeWatcher for file system events.
Visit http://www.ember-cli.com/user-guide/#watchman for more info.
Built project successfully. Stored in "fastboot-dist".
DEPRECATION: `ember-cli/lib/errors/silent.js` is deprecated, use `silent-error` instead.
DEPRECATION: `ember-cli/lib/errors/silent.js` is deprecated, use `silent-error` instead.
DEPRECATION: `ember-cli/lib/errors/silent.js` is deprecated, use `silent-error` instead.
Cannot read property 'prototype' of undefined
TypeError: Cannot read property 'prototype' of undefined
    at Object.56../$ (<anonymous>:1906:25)
    at s (<anonymous>:13:255)
    at <anonymous>:13:306
    at Object.91../modules/$ (<anonymous>:3043:1)
    at s (<anonymous>:13:255)
    at <anonymous>:13:306
    at Object.<anonymous> (<anonymous>:109:1)
    at Object.2.core-js/shim (<anonymous>:117:4)
    at s (<anonymous>:13:255)
    at e (<anonymous>:13:426)

Tested using iojs 2.4.0 and nodejs 0.12.4

Could you just like share the code that's causing the error in like a code snippet? I'm on a phone and a whole repo is not very minimal.

I'm not a 100% sure, but I think it is here: https://github.com/topaxi/fastboot-test/blob/master/vendor/babel-browser-polyfill.js#L1894
// ...
},{"./$.def":13}],56:[function(require,module,exports){
'use strict';
var $          = require('./$')
  , isObject   = $.isObject
  , isFunction = $.isFunction
  , NUMBER     = 'Number'
  , $Number    = $.g[NUMBER]
  , Base       = $Number
  , proto      = $Number.prototype; // <- This line right here!
function toPrimitive(it){
  var fn, val;
  if(isFunction(fn = it.valueOf) && !isObject(val = fn.call(it)))return val;
  if(isFunction(fn = it.toString) && !isObject(val = fn.call(it)))return val;
  throw TypeError("Can't convert object to number");
}
// ...

@topaxi Have you had a chance to look into this more?

Gonna close due to inactivity. Please continue the conversation if there are more details.


Add slash to lineRegex

Tailwind v2 added new classes such as w-1/2. This change adds support for
such classes.

Very cool project btw! Looking forward to using it after this annoyance is fixed. What kind of plans do you have for this project?

@toumas I plan to continue maintaining Clomp and push its use in early-stage projects (including my own), as I believe it makes prototyping and developing designs with Tailwind efficient and readable.
I'm looking into adding Vue support and separating the parser from the React-specific code so that Clomp can be used in other frameworks.


adding test_unit.sh to run all unit tests

Adds the script test_unit that resolves all mod.go files and triggers all *test.go tests. This also serves as a starting point for gh actions.
To run just:
./hack/test_unit.sh
This is what you are supposed to see:
==================================
resolving mod files
==================================
downloading mods in ./api
downloading mods in ./examples/iptables-extip
downloading mods in ./examples/pipe-exec
downloading mods in ./examples/print-state
downloading mods in ./examples/userspace-proxier
downloading mods in ./server
downloading mods in ./client
downloading mods in ./backends/iptables
downloading mods in ./backends/ipvs-as-sink
downloading mods in ./backends/nft
downloading mods in ./cmd
==================================
running all tests
==================================
testing ./api/localnetv1
==================================
=== RUN   TestInsertString
--- PASS: TestInsertString (0.00s)
=== RUN   ExampleIPSetAdd
--- PASS: ExampleIPSetAdd (0.00s)
=== RUN   ExampleIPSetDiff
--- PASS: ExampleIPSetDiff (0.00s)
PASS
ok  	sigs.k8s.io/kpng/api/localnetv1	0.005s
==================================
testing ./client
==================================
testing: warning: no tests to run
PASS
ok  	sigs.k8s.io/kpng/client	0.005s
==================================
testing ./client/localsink/fullstate
==================================
=== RUN   TestAddRemoveService
    fullstate_test.go:18: callback received 1 seps:
    fullstate_test.go:20: -  &{Namespace:"test"  Name:"nginx" []}
    fullstate_test.go:18: callback received 0 seps:
--- PASS: TestAddRemoveService (0.00s)
=== RUN   TestLess
--- PASS: TestLess (0.00s)
=== RUN   TestEqual
--- PASS: TestEqual (0.00s)
PASS
ok  	sigs.k8s.io/kpng/client/localsink/fullstate	0.007s
==================================
testing ./client/pkg/diffstore
==================================
=== RUN   ExampleDiffStore
--- PASS: ExampleDiffStore (0.00s)
PASS
ok  	sigs.k8s.io/kpng/client/pkg/diffstore	0.001s
==================================
testing ./client/serviceevents
==================================
=== RUN   Example
--- PASS: Example (0.00s)
PASS
ok  	sigs.k8s.io/kpng/client/serviceevents	0.006s
==================================
testing ./server/pkg/endpoints
==================================
=== RUN   ExampleForNodeWithTopology
--- PASS: ExampleForNodeWithTopology (0.00s)
PASS
ok  	sigs.k8s.io/kpng/server/pkg/endpoints	0.006s
==================================
testing ./server/pkg/proxystore
==================================
=== RUN   Example
--- PASS: Example (0.00s)
PASS
ok  	sigs.k8s.io/kpng/server/pkg/proxystore	0.006s

Thanks, can we glue this into CI tomorrow morning @nehaLohia27 ? would be great to have for the sig-network demo this wk !
/lgtm
/approve


SSL Support

I've read the documentation through several times and can't really figure out how to get the bot to connect to the ircd via SSL.
Is there any SSL support?

I have this in my ircOptions and it works just fine.
                "ircOptions": {
                        "userName": "REDACTED",
                        "realName": "REDACTED",
                        "password": "REDACTED",
                        "port": "6697",
                        "secure": "true",
                        "sasl": "true",
                        "stripColors": "true",
                        "debug": "false",
                        "encoding": null
                },

Ahh! I completely missed that - it's a tiny link for all the ircOptions. Should clarify that a little better.
Thank you!


Update race column to handle different race categories

Overview

Adds fields for nativeAmerican and pacificIslander to demographics chart
Allows for the existing split (with Other) to still be read and displayed

Checklist

[x] Description of PR is in an appropriate section of CHANGELOG.md and grouped with similar changes, if possible

Demo

Notes
I've noticed a few instances where pacificIslander is displayed as 0% - does it make sense to display this instead as "< 1%"?
Testing Instructions

Process the attached geojson for Delaware: ./scripts/manage process-geojson data/input/de.geojson -o data/output/Delaware -n 12,4,4 -x 12,12,12 -d "population:population,white:white,black:black,asian:asian,hispanic:hispanic,native:nativeAmerican,pacific:pacificIslander"
Add it to the database: ./scripts/manage publish-region data/output/Delaware US DE Delaware
Create a new project for Delaware and view it; expect tooltip to be displayed as screenshot above
Create a new project for PA; expect tooltip to be displayed as it was previously

Closes #764

Process the attached geojson for Delaware: ./scripts/manage process-geojson data/input/de.geojson -o data/output/Delaware -n 12,4,4 -x 12,12,12 -d "population:population,white:white,black:black,asian:asian,hispanic:hispanic,native:nativeAmerican,pacific:pacificIslander"

FYI you can simplify that command a bit (you only need to provide key-value pairs if you're renaming): ./scripts/manage process-geojson data/input/de.geojson -o data/output/Delaware -n 12,4,4 -x 12,12,12 -d "population,white,black,asian,hispanic,native:nativeAmerican,pacific:pacificIslander"


fix: Fix playback stuck on initial gap

Fixes #6339

@joeyparrish could you review again?

I double-checked that the test fails with the fix commented out, so it is an effective test.  Thanks!


does tensorrt-llm support arrch64?

Hi,
thanks for the great work!! I'm wondering if it support arrch64?

@tanjatang
Hi, we do provide the experimental aarch64 support, although with less validation for now.
You can try with it by yourself.
When more rigid validation for aarch64 is completed and released, the support matrix will also be updated correspondingly.
Thanks
June

Close this bug because the issue is inactivated. Feel free to ask here if you still have question/issue, we will reopen the issue.


Improve Layout Rendering Performance

Current Situation
Currently, IDOM can render roughly 18 simple components per second.
Proposed Changes
Perform optimizations to improve rendering speeds in order for IDOM to be used in deployment scenarios.
Implementation Details
Analysis
Use Yappi to profile IDOM dispatchers and determine what is taking the most significant amounts of time.
Development
See if optimizations can be performed within Python. If they cannot, consider writing C/C++ code exposed via Python APIs that performs the same functionality as the non-performant parts of IDOM.
It is possible we can use Pyjion on our view dispatchers to provide performance improvements. Pyjion is very early into its development, so there are some limitations which will need consideration. Perhaps by the time we start considering this it will be a possible path forward. However... Pyjion requires dotnet to be installed on the host machine.
Timeframe and Goals
If major changes need to occur, then this should be targeted for somewhere around v3 of IDOM.
Since it is a realistic scenario to use IDOM to render a full webpage, 1000+ requests per second (RPS) is ideal. Here's some performance comparisons to our HTTP counterparts.
Django, the least performant HTTP ASGI framework can serve ~1,500 RPS.
Blacksheep, the most performant ASGI framework can handle ~10,500 RPS.

A quick test of using pyjion.enable within dispatch_single_view has shown performance degradation, likely due to the async with limitations noted in their documentation.

There's definitely a lot of room for improvement. The areas to focus on, probably in this order, are:

Computing JSON patches. Right now this is using a pure Python library that I've come to notice isn't very actively maintained.
Find and optimize the hotspots in rendering VDOM models (see idom/core/layout.py).
Server-side rendering (i.e. serve the initial view as static HTML).

JSON Patch
I tried doing some research, seems like there isn't anything else worthwhile on the python side. This is a promising variant on NPM.
This raises a question of whether it's worth the performance to compute a JSON Patch in Python as opposed to resending the whole JSON content body (and calculating the patch client sided).
Internal Layout
Just during my digging I've already seen a couple of situations that could be migrated to list comprehension, which is significantly faster than python loops.
SSR
Implementing SSR is definitely going to complicate IDOM core. SSR may actually reduce IDOM performance. Everything happening on the client side isn't blocking the WS queue.
This is a big topic to tackle and deserves a discussion on its own.
I'm not even sure where I'd say we add this to the roadmap. Priority of this card depends on long term goals and focus. I'd personally rank it pretty low on the list.
Roadmap
I'd like to work with you on fillling out GH Projects to provide visibility on version goals.
We should also tag up to discuss OSS funding. IDOM is definitely something that I'd be able to pitch.

Yeah, scrap what I said before, we need to profile before doing any work. It's very possible that using JSON patch doesn't provide any significant benefit in the most common use cases.
To the roadmap, yes let's find a time to coordinate that. There's actually a roadmap page in the docs I haven't update in a while.
And for funding, I suppose the question is what it would be for. I'm happy to get reimbursed for the time I already put in, but I don't have more to give, so adding money won't make things go faster. It would be more valuable to find a way to encourage outside contributions, either from yourself or others.

See https://github.com/idom-team/django-idom/issues/31 for a relevant performance issue that will eventually need to be resolved.
I believe it's going to be incredibly important for IDOM to revert back to async components. In the case of Django, users will experience WS performance degradation due to blocking the websocket event loop.

We might get some performance benefit by pushing ReactPy into it's own dedicated backhaul thread (containin an asyncio loop)


After switching from Xina back and forth I got an issue.

After switching from Xina back and forth I got an issue. So if I got anything in /prucursus/Applications of any of the 2 jailbreaks I will get a bootloop. Soo to use Dopamine I had to figure out myself this fix.
1)Dopamine JB, Hard reboot out of bootloop
2) Safe mode xina and using Filza trollstored in order to clean /Applications
3) JB works
4) Some .app are convertable to trollstore by putting them in Payload and creating an archive
5) That is how I use Sileo and it is the only one that works that way, altho it only allows to install tweaks and add only stock repos
6) So I have to get debs somewhere to give them to Sileo to install
7) That is really enoying
Hope there is a solution. I think it is connected to TrollStore somehow idk, sometimes it deletes itself and just bootloops my device until hard reset. When I refresh my packages in Troll bootloop happens everytime but when I hard reset out of it, everything is fine and TrollStore is back working.
Please help me :)
Same issue on Xina, identical.

Do you have Sileo installed through TrollStore? If so, uninstall it.

![Uploading 242648411...]

I had to install them in trollstore because of the problem, I did not have them there before the problem.

Okay, now my device is just bootlooped again after a respring of installing one of the tweaks that create .app

Did you install a package that has an app with the same identifier as an app that you have already installed in TrollStore? This is completely unsupported and there is no way to fix this in the jailbreak.

Opa, I don't know maybe you got some problem with understanding English. I have never ever installed any jailbreak app through a TrollStore this is not my method of use, I had to start doing that in order for at least some apps to work. Do you understand??? If I have .app inside /jb/Application it will break my jb THE SAME HAPPENS WITH XINA TOO, but they have different jb/Application folders.

I'm not stupid, I understand what you're saying, but I can neither reproduce this, nor has anyone else had this issue before, so my suspicion is that you are installing an app that is already installed via TrollStore, making uicache lock up


BloodHound Error!

Describe the bug
I have installed version 5.2.2 of CME, but when executing the smb modules for detection of vulnerabilities like zerologon, petitpotam... crackmapexec it fails and it seems to be an error in the BloodHound component
To Reproduce
Steps to reproduce the behavior:

Go to 'Terminal in Kali Linux'
Click on 'crackmapexec smb IP address -u 'Username' -p 'Password' -M module'
Scroll down to 'results in terminal'
See error

Expected behavior
I am checking the use of the modules on an active directory vulnerable to all possible security flaws in a local environment, the modules should work correctly.
Screenshots

Crackmapexec info

OS: [Kali Linux last release]
Version of CME [e.g. v5.2.2]
Installed from Python Package (https://mpgn.gitbook.io/crackmapexec/getting-started/installation/installation-on-unix).

Additional context
All dependencies are correctly installed

Duplicate of #519


CSS custom property added

Tell me if there are changes

Great, thank you!
@all-contributors please add @NirajGohel for code


Allow GenerateModuleMetadata and GenerateMavenPom to be reproducible

See also #6925.
Regarding module metadata: Declaring all inputs still would make the task never up-to-date as the Build ID is also an input. We could allow options to change this (e.g. make it not an input, so that the build-id of the build that first created the metadata is used).

I think it would be better to remove the build id instead of not making it an input to the generated metadata, as it loses useful meaning at that point. And it is an input because it ends up in the generated metadata, so we shouldn't pretend that it's not.
An alternative approach, possibly better, would be to associate a build id with each of the files referenced in the metadata, to live alongside the other metadata about a file. This will provide useful information (this is the build that produced this jar file, this is the build that produced this metadata artifact, etc) while still allowing all of the things to be cacheable.
Or, we might insert the build id into the metadata only when uploading.
Or, we might allow metadata to be composed from several artifacts. The volatile pieces could then live in a separate artifact that is generated only when uploading.
We should also consider whether it is, in fact, faster to simply always generate the metadata instead of doing an up-to-date check or cache lookup.

Adding "random" "buildId": "jgo7lbj6hvbf3czffw6eaylkni" seems to play bad for https://en.wikipedia.org/wiki/Reproducible_builds :(
So it would be nice if there was a (default?) way to make metadata reproducible.
An interesting case is "build environment". For instance: javac version, javac vendor (for Java projects).
Tool versions might help to validate builds (as even minor javac versions might produce slightly different bytecode)

The buildId is there for a reason: it allows us tracking in which build an artifact was generated. Currently it's not working as intended, because we assume the build which generated the build id is the same which generated the artifacts. This is not the case. In fact, every artifact can be produced by a different build.
There's also the problem that publications in general are a blackbox to Gradle: the POM customization in particular makes it impossible to know what customizations the user is doing. Doesn't mean we can't do better, like being reproducible for some cases.

We should also consider whether it is, in fact, faster to simply always generate the metadata instead of doing an up-to-date check or cache lookup.

I think we should start here, if we do anything.  I really doubt that there's anything to gain by trying to make these tasks up-to-date because the output is trivial compared to the inputs that need to be tracked.  I think the best we could do here is something like where we always generate the contents of the file, compare it to the existing file and mark the task as "up-to-date" if it's the same.

In terms of buildId, many CIs already have a concept of build id, so it would be great to be able to set it, that way, devs can set it to a constant for local builds, and real value on CI.

Suggestion to move forward:

Build ID:  Add an option to opt-out of build ID publishing.
(The ID is not used at the moment, but might be for tracing - e.g. in build scans - in the future. At that point, we can improve this further by revising the idea of tracing the build that actually produced artifacts - https://github.com/gradle/gradle/issues/11717#issuecomment-567384663)
Mark tasks as UP-TO-DATE: Always doing the work, but marking the tasks as UP-TO-DATE if the output has not changed looks like the best/only solution we can do right now - https://github.com/gradle/gradle/issues/11717#issuecomment-567694091.

We're talking a lot about the Gradle Module Metadata file containing a build id (which I think we should remove altogether now), but there's another problem with POM and Ivy modules (possibly GMM too in practice): custom components are basically black boxes. We don't know what the user code is doing. Say you publish adhoc components (using the public API) or custom components using the internal ones (some community plugin do this), we have no way to figure out if this is reproducible or not. In other words, we can't know if two builds would generate the same components given the same inputs. They should, but we don't know.
We could definitely take the optimistic point of view which is that they should be idempotent.

That's why I think, as suggested in several comments above, we should not attempt to make the tasks cacheable and to track all inputs. But we could implement this in a way that we always do the work, but if the result has not change, compared to the previous run, the task is marked as  UP-TO-DATE and the identical output is not written.

As a first step, Gradle 6.4 will allow users to configure the build identifier from the publication, enabling to set it to a constant if desired.
The default will keep using the Gradle generated build id.

After internal discussions, the changed indicated above has been pulled from 6.4. We will work on a better solution for 6.5.

Gradle 6.6 will offer a publication configuration option that disables the inclusion of the buildId in the produced Gradle Module Metadata.
The plan would be to make this behavior the default for 7.0, with the ability to opt-in.

For our project, we'd strongly prefer if there was an option to specify a build id (e.g. if users use CI systems that generate build ids).

@liutikas For that use case, please have a look / comment / upvote #5223 and/or #7987
There is no further plan to make the tasks themselves up-to-date. Having the output be consistent is a good enough result given the complexity of the inputs for these tasks, which are simply not tracked right now in Gradle.
See #13800 for the follow up for Gradle 7.0

I understand the complexity of pom generation as you do not control the full stack, but is the same true for GenerateModuleMetadata? Should this not be a property up to date task with full input and outputs?

This is exactly the same for GenerateModuleMetadata: the problem is not the generation but the model, which is completely open (custom component types are allowed).


fix port rotation for none orientation

Hello!
I have noticed that there is a bug when rotating components that contain ports with orientation=None
The PR seems to fix the issue.
I would like to thank everyone for the effort spent on this library. I have been using to design a superconducting FPGA for my PhD and it has saved me a lot of time and effort. I have also learnt a few things about functional programming along the way. 👍 👍 👍
Please let me know if I can improve the PR.
Kind regards
Calvin

Thank you Calvin for posting the issue and suggesting the fix
releasing 6.1.1 with your fix and a test for it
https://github.com/gdsfactory/gdsfactory/pull/893/files


Remove qiskit-terra dependency in favor of qiskit

There is no need to depend on both qiskit and qiskit-terra. Depending on qiskit is more correct, specially towards a possible transition to coming Qiskit releases.
BTW, Qiskit 0.* is reaching EoL. From https://github.com/Qiskit/qiskit/tree/stable/0.46?tab=readme-ov-file#qiskit:

[!IMPORTANT]
The package qiskit-terra is not going to be updated after August 15th, 2024. Since Qiskit 0.44 (released on July 27th, 2023), the qiskit meta-package only contains qiskit-terra. In Qiskit 1.0 and beyond, the meta-package architecture is removed.
If you are installing or depending on qiskit-terra, consider changing that to qiskit: Either qiskit>=0.x,<1 (if you did not transition to Qiskit 1.0 yet) or qiskit>=0.x,<2 (to also include Qiskit 1.*).
Read more.

Merged. Thanks for the heads up, @1ucian0!


Cranelift test runner should handle booleans of larger types

The test run directive compiles CLIF to machine code using the SingleFunctionCompiler; the trampolines created here are limited in that they only really understand how to handle small booleans: b1 and b8. They should support larger boolean types, both scalar and vector.
The underlying issue here is that Cranelift's load and store do not operate on boolean types so the trampoline must convert them from an equivalent integer type in memory to their boolean type before calling the compiled function (and vice-versa for the return).

And there is even trouble with b8 and b1 as @afonso360 points out here:
Running `C:\Users\Afonso\CLionProjects\wasmtime\target\debug\clif-util.exe test ./test.clif` thread 'worker #0' panicked at 'argument type mismatch: b8 != b1', cranelift\filetests\src\function_runner.rs:200:13 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace FAIL ./test.clif: panicked in worker #0: argument type mismatch: b8 != b1 1 tests Error: 1 failure


support other dev environments

Toran - Do you think this is too restrictive the other way?  This allows environments such as staging, etc.  Should we regex match instead with the word development?

@snewcomer I think I can get behind this. Mostly we want to avoid running this in test/prod like you show here. If someone runs w/ a custom env like you see below this should now work mo' better
ember serve --environment=mirage-development

@snewcomer I just published v0.4.2 w/ this fix :)


Document json_types module

View the current Rust docs here:
https://docs.rs/near-sdk/3.1.0/near_sdk/json_types/index.html

[ ] Expand description (Currently has "Helper types for JSON serialization.") Explain why JSON serialization is needed. Some thoughts… AssemblyScript needs it and we want both languages to interoperate. How an off-chain call will use JSON serialization to transmit data on-chain. How return values are similar (on-chain » off-chain this time).
[ ] Add descriptions for I64, I128, U64, U128 (Include an example of how this breaks, can take this from simple contract here https://github.com/mikedotexe/near-debug-rust-u128)
[ ] Inside ValidAccountId (https://docs.rs/near-sdk/3.1.0/near_sdk/json_types/struct.ValidAccountId.html) expand description and common usages. If you're not familiar, globally search this repo and https://github.com/near/core-contracts for ValidAccountId and see how they're used. Reach out if there are questions.
[ ] Inside Base64VecU8 (https://docs.rs/near-sdk/3.1.0/near_sdk/json_types/struct.Base64VecU8.html) expand description and show usage examples. Again, globally search for it. A reference implementation that comes to mind: https://github.com/Cron-Near/contracts/blob/main/manager/src/lib.rs
[ ] Extra credit for documenting other parts of this module that would benefit developers and might be frequently visited.

In the right sidebar under Epics, click on the link for info on running Rust docs locally and good examples of documentation.

Hm, having looked at the types in question, I doubt many of them make sense in the ideal world. For example, type WrappedBalance = U128; doesn't really make sense.
What I'd expect to see in the sdk is
pub struct Ballance(pub u128);

Similarly, ValidAccountId doesn't make sense -- it should be impossible to represent invalid account id in the first place.
I think these things exist because sdk directly use nearcore types, which come with a historical baggage and from the context of a binary project, where nice API and version compat does not matter.
If I were a king of the world, I'd order to refactor these types away, rather than documenting current (mostly accidental) state. Seems less total work that way.
But it might be the case that it make more sense to document current state as is, rather than spend much more time redesigning.
I just want to raise the issue that, from the perspective of nice Rust APIs (https://rust-lang.github.io/api-guidelines/about.html), the current offering seems rather ungood :-)

Good point @matklad. But probably it will be a breaking change. @mikedotexe @evgenykuzyakov need your opinion here.

@volovyk-s opened https://github.com/near/near-sdk-rs/issues/384 to discuss the underlying issue.

As discussed with Serhii, we're going to hold off on doing work on this issue until next week when there's been a discussion with Austin, Kladov, and Eugene.


Integrating a MLP with BO

Forgive my ignorance (as I am relatively new to this) but I would like to be able to use this codebase to efficient search 'chemical' space (searching vector space learned via an autoencoder), with a target function that is a multi-layer perceptron that returns estimates of a molecular property (built on a different sequential model) that I want to minimize. In this case, then, I have a few questions:

Wouldn't it be best to supply an init_points equal to the number of training data points that I used to train my other MLP, instead of the traditional 2 or 3?

in the example code:

 bo.maximize(init_points=2, n_iter=0, acq='ucb', kappa=5)

Does the bo.maximize refer to the maximizing of the expected y-value of your target function, or does it maximize whatever your acquisition function? In my case, I'd like to minimize the output of the target function.

The init_points method has no connection to the training of your MLP, in fact it doesn't even know (or cares) that the function you're optimizing involves the training of another algorithm. The only reason for it to exist is to prime the Gaussian Process that effectively dictates the parameter search. So much so that one could argue that the only sensible choice for init points is 1.

maximize will attempt to find the parameter combination that maximizes the output of your function, whatever that is. While it is true that we look to maximums of the acquisition function in the process, this is only a proxy optimization to aid with the parameter search.

I hope that helps and sorry for the delay.