Rename Dom.Image to Dom.ImageData, add implementation for Dom.Image

Solves issue: https://github.com/reasonml-community/bs-webapi-incubator/issues/168
There is a backwards compatibility break in naming of the files.

Oh, I didn't realize there is a HTMLImageElement already. I guess proxy module would be a good idea. And I agree ImageData should probably be with canvas stuff. I'll see if I could fix the PR soon.

Will create a new PR from another branch.


fix error in navigationStore.js that appears when Scene's tabIcon is …

…pressed (in a Tabs with 'backToInitial')
Reproduce error:
Try to have a Tabs component with backToInitial, containing children which are Scene or Stack of scenes.
When click on child Scene's tabIcon, it throws an error like: .. length of undefined, cause the Scene doesn't contain any scene.
error
this line
Tested version
v4.0.0-beta.28

?

@MaxInMoon do you mind covering this change with tests or with a sample code in the Example app? I see the issue but I can't really confirm it is related to a bug or to a misconfiguration.


The css effects the bootstrap navbar css

Cannot use navbar style anywhere else as the css overrides it.  ie try adding a bootstrap navbar at the top of the page.
Can you update the CSS so it's standalone?

I tried hard to put de top navbar, but I couldn't. (I'm a beginner in frontend). Where is the CSS that needs to be updated? I see bootstrap npm, I edited site.css, but I can't make it work, I can't figure why.


Update for those not using the command line

Need to also copy over the config.js file in order to upgrade the kit. Without it, npm start won't work

This is great, thanks very much! Could you make all the paths and code bits use backticks (`) instead of quotes?

Many thanks @markbarlow :)


Add referral program capture

Substack signup form does not allow capture of additional information. Need to design a work around.

Design is to

move the referral code storage into the bouncer service and 1-way hash the email addresses
add 2 step signup only if referral code is active. (need a design for this form)

see:

https://github.com/tiki/bouncer/issues/6
#48


Migrate to new API

as you can see shiori most of the API change in next release it can be helpful if we make app ready for that (for example another branch) and merge that after next stable release be ready.

I have test the new API with:
http://<IP_ADDRESS>:8080/swagger/index.html#/Auth/post_api_v1_auth_login
The example response is:
{
"expires": 0,
"session": "string",
"token": "string"
}
But the response for server:
{
"ok": true,
"message": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50Ijp7ImlkIjoyLCJ1c2VybmFtZSI6Ik1lbW5vY2giLCJvd25lciI6dHJ1ZSwiY29uZmlnIjp7IlNob3dJZCI6dHJ1ZSwiTGlzdE1vZGUiOnRydWUsIkhpZGVUaHVtYm5haWwiOnRydWUsIkhpZGVFeGNlcnB0Ijp0cnVlLCJOaWdodE1vZGUiOnRydWUsIktlZXBNZXRhZGF0YSI6dHJ1ZSwiVXNlQXJjaGl2ZSI6dHJ1ZSwiQ3JlYXRlRWJvb2siOnRydWUsIk1ha2VQdWJsaWMiOnRydWV9fSwiZXhwIjoxNzA4MTc5NDUzfQ.7r0kthXyinHuVy_CeLDkXc9IXjJnuwW2DMf9DRJvbsA",
"session": "80f3d504-8db2-4927-81b2-2f3527842f7c",
"expires":<PHONE_NUMBER>
}
}
The structure is different, What is the correct approach? Should I open an issue on Shiori's GitHub?

The structure is always:
{
  "ok": boolean
  "message": variable, shown in docs, or a string in case of error
  "error_params": object(Array[string,string]), only present if `ok` is false with more information about the error
}

The data structure referred in the docs is the one inside message. We should probably make this more prominent in the documentation.

Ok, thanks


SQUID reads a file and produces a .squid file, but does not recognise there is data?

Hi,
Has anyone seen this?

Here is the file
JZ_BR21-05_21120209.32[1].xml.zip


Add relevant STRTA scripts and a README

Not all STRTA scripts will be able to be added at this stage, but add those that are relevant to building and serving the application.

This was included in https://github.com/PublicMapping/district-builder-2/pull/13


PageView telemetry missing duration property when autoTrackPageVisitTime = true

The error I reported in #826, #827 seems to be fixed in 2.0.0-rc.2, but still the duration property is missing on the pageView telemetry items in Application Insights.
This property used to be present on pageView telemetry before we tested upgrading to JS SDK 2.0.0-x, and I expected this property to be present when I have configured the TelemetryClient with autoTrackPageVisitTime = true
PS! I also tried setting the overridePageViewDuration setting to true (even though I am not sure what that implies). It anyway did not make any difference.
We are simply calling the trackPageView method from our SPA, passing name, url, with some custom properties and measurements.

Hey @josundt you will need to add the duration field to properties in trackPageView. I'll add a note of this in the docs.
appInsights.trackPageView({
  name: 'pageview with duration = 00:05:00.000',
  properties: { duration: 300000 }
});

overridePageViewDuration just changes the automatic calculation of the duration field to be the interval between pageLoad and your call to trackPageView. Otherwise, the default behavior is to use the navigator timing API.

In our code, we make a call to trackPageView when the user enters a (SPA) page. At this point we obviously do not know how long the user will stay on the page :-).
I thought the JS SDK automatically updated the duration property of the previously tracked pageView telemetry item when trackPageView is called for the second time or more - within the same user/browser session.
Am I wrong?

autoTrackPageVisitTime tracks the view time of the previous instrumented page for each call to trackPageView, and sends it as a Metric.
If you set overridePageViewDuration: true, this only changes the duration field of your subsequent trackPageView calls to be the time since the page loaded, although the page load time may not be correct for SPA pages. So if you call trackPageView every second, the duration will be increased by 1 second on each call.
Are you just trying to match functionality with 1.0.20 of the SDK?

I work for a company that makes a web software suite consisting of multiple web applications, mainly SPA+AspNetCore+NetCore background services (hosted in AKS).
We are trying to establish a standard for the basic contextual (user/device/environment) standard/custom properties/metrics to be set for AI telemetry across all applications across all telemetry sources (browser/webserver/background-service etc).
To know that I have configured the new 2.x SDK properly, I compare the new 2.x telemetry to the old 1.x to verify that properties are initialized with corresponding values.
I just noticed that the duration property from pageView telemetry was lost after upgrading and wondered why, since there seems to be some built-in features in the SDK to track page view durations, and this seems to have worked out-of-the box in 1.x
I can't find much documentation on this. so would you please be kind and explain how I am supposed to get the duration tracked? As I said earlier, all we are doing from code is calling the trackPageView method when a SPA page navigation occurs with the url/name of the page the user is entering. Do we need to call it again when the user leaves the page?
BTW: I also noticed that the client_Type property was no longer automatically set to "Browser", but I found a way to add a tag to ensure that that property gets set like before. Not sure why this is not default behavior anymore.

Thanks for adding some clarification. I just released 2.0.0-rc3 which fixes the missing duration field. In general, the duration behavior should not have changed at all from 1.x to 2.x, and so the stuff you had working before should behave the same here.
The duration field in trackPageView is defined as the time it took for the page to load (the pageload event is triggered in the user's browser). I'm not sure if the duration you are seeking is how long a user viewed the page. If so, autoTrackPageVisitTime accomplishes this, but sends it as a customMetric to the Azure Portal. This is how this was accomplished in 1.x as well.
There is some info on all of this here:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/javascript#page-view-properties

I had a look at the link you provided and did some more digging. I eventually found that the duration property is intended for measuring the time it takes to load a page (not the time a user stays on a page like I believed earlier).
Page load time measurement is definitely as relevant in SPAs as in traditional web applications. The perceived latency when loading a new view/page is what this duration property should reflect. To the user the latency experience is more or less the same regardless of what technology that's being used.
The technical definition of "page load" might be quite different though:
Page load in a traditional web application:

Loading an HTML document with all assets into the browser window.

Page load time in a typical SPA framework:

JS "router" detects a browser address URL change; then intercepts and maps the new URL to a new "view" through a routing table.
Teardown of the view being left (deactivation/disposal of JS component, detaching DOM elements).
Buildup of the view being entered (initialization/activation of JS component, potentially fetching data from server APIs asynchronously).
Data binding/rendering of the new view (Creating/attaching DOM elements etc).

From the link you provided in your previous comment, where three different possible behaviors for duration measurement was mentioned, only the third of these options really fit a SPA application (measuring and sending duration as argument to trackPageView).
It is highly possible to measure the time spent for the SPA "page load" steps, and I can provide the duration property. So I tested this option but found one more bug:

I set overridePageViewDuration to true
I call

trackPageView({ name, url  }, { duration: timeSpentInMilliseconds })

But I found that the trackPageView method in the Initialization class (@microsoft/applicationinsights-web/src/Initiailization.ts:85) does not forward the second argument to the corresponding method in the ApplicationInsights class.
Current:
(@microsoft/applicationinsights-web/src/Initiailization.ts:85)
    public trackPageView(pageView?: IPageViewTelemetry) {
        const inPv = pageView || {};
        this.appInsights.trackPageView(inPv);
    }

Expected:
    public trackPageView(pageView?: IPageViewTelemetry, customProperties?: ICustomProperties) {
        const inPv = pageView || {};
        this.appInsights.trackPageView(inPv, customProperties);
    }

Can you please fix - everything works

You should use the properties field of IPageViewTelemetry. the customProperties field is deprecated and is not exposed in our API.
https://github.com/Microsoft/ApplicationInsights-JS/blob/d9a2f3cdb23b7f093e1f9bc88638e0fcd375aed4/vNext/AISKU/src/Initialization.ts#L80-L85
trackPageView({ name: "thename", url: "/theurl/", properties: { duration: timeSpentInMilliseconds } });

I tried that - that does not work. The duration property was not set in the telemetry in Application Insights when putting duration in the "properties" object of IPageViewTelemetry.
I also believed that the "properties" object in IPageViewTelemetry needed to be a shallow object with string values only { [key: string]: string }, while "measurements" is a shallow object with numeric values only { [key: string]: number }.
When testing the deprecated customProperties argument it worked.

The requirement for properties to be a string, string map was removed in #819. Properties can now contain objects or strings, etc.
When you specify a duration in the properties field, we remove it from properties and set it in your actual telemetry item instead (in baseData).
appInsights.trackPageView({ name: 'pageview with duration = 00:05:00.000', properties: { duration: 300000 } });

Thanks, you're right. Passing IPageViewTelemetry.properties.duration as number (milliseconds) sets the duration property correctly. I was not aware that "properties" started supporting numeric values and could for some reason not make this work last time I tried.
PS! My current setup with overridePageViewDuration = true and measuring/passing the duration on calls to trackPageView is probably the setup wanted by most Single Page Applications.
The documentation in the link you sent me a couple of comments back could definitely be more clear about this - it could mention that the third option is probably what you want if you're working with a Single Page Application, and it could be more specific about how to pass the duration property when measuring it yourself.
I also found the custom metric with the PageVisitTimes, so now everything is finally clear to me!
Thanks for all your help! :-)


Arrow doesn't match with the editor

Describe your bug here.
This arrow doesn't care. It just goes out

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Nope, apsolutely nothing

If you changed bpm, then it’s gonna do that.
If you changed beats per section, it does that and is a bug.

That arrow said "Im outta here"...

If you changed bpm, then it’s gonna do that. If you changed beats per section, it does that and is a bug.

thats a refrence to my issues thats closed https://github.com/ShadowMario/FNF-PsychEngine/issues/9524


Don't understand behavior of decomposition

I have to decompose a VCF and used the instructions provided for Gemini described here:
http://gemini.readthedocs.io/en/latest/
zless $VCF \
   | sed 's/ID=AD,Number=./ID=AD,Number=R/' \
   | vt decompose -s - \
   | vt normalize -r $REF - \

However, when I dug back into some multiallelic sites I came across this:
Original VCF -
1       4992134 rs35519208      TTATATA T,TTATATATATATATA
decomposed vcf
1       4992134 rs35519208      TTATATA T
1       4992134 rs35519208      T       TTATATATA

Hi @martiliasf,
The progression is as follows:
A. initial variant
1 4992134 rs35519208 TTATATA T,TTATATATATATATA
B. split into biallelics (done by vt decompose)
1 4992134 rs35519208 TTATATA T
1 4992134 rs35519208 TTATATA TTATATATATATATA
C. trim extraneous nucleotides for parsimony and left align. (done by normalize)
1 4992134 rs35519208 TTATATA T
1 4992134 rs35519208 T TTATATATA

Awesome. Thank you so much for the explanation and your patience with a NGS noob.


New package: fatedier.frp version 0.61.0

Pull request has been created with komac v2.6.0 :rocket:

Resolves #185709

Microsoft Reviewers: Open in CodeFlow

@wingetbot run

@wingetbot run

@wingetbot run

@wingetbot run


caddy tls internal not working

Describe the bug
Steps To Reproduce
Steps to reproduce the behavior:

{ config, pkgs, ... }:
{
  services.caddy = {
    enable = true;
    virtualHosts."example.org" = {
      extraConfig = ''
        respond "Hello, world!"
        tls internal
      '';
    };
  };
}

curl -k -i -H "Host: example.org" https://localhost
curl: (35) OpenSSL/3.0.12: error:0A000438:SSL routines::tlsv1 alert internal error

Expected behavior
The command  curl -k -i -H "Host: example.org" https://localhost should return "Hello, world!".
Screenshots
journalctl -u caddy
Nov 26 23:49:42 debian12arm systemd[1]: /nix/store/g5pvwdqa0ccyck8w8gvx60kzgr51zxc1-system-units/caddy.service.d/overrides.conf:22: Unknown key name 'RestartSecs' in section 'Service', ignoring.
Nov 26 23:49:43 debian12arm systemd[1]: Starting Caddy...
Nov 26 23:49:43 debian12arm caddy[18756]: {"level":"info","ts":1701038983.2202404,"msg":"using provided configuration","config_file":"/etc/caddy/caddy_config","config_adapter":"caddyfile"}
Nov 26 23:49:43 debian12arm caddy[18756]: {"level":"info","ts":1701038983.2356768,"msg":"warning: \"certutil\" is not available, install \"certutil\" with \"apt install libnss3-tools\" or \"yum install nss-tools\">
Nov 26 23:49:43 debian12arm caddy[18756]: {"level":"info","ts":1701038983.2357092,"msg":"define JAVA_HOME environment variable to use the Java trust"}
Nov 26 23:49:43 debian12arm caddy[18756]: {"level":"error","ts":1701038983.2357378,"logger":"pki.ca.local","msg":"failed to install root certificate","error":"install is not supported on this system","certificate_>
Nov 26 23:49:43 debian12arm systemd[1]: Started Caddy.

Notify maintainers
cc @fpletz @flokli @andir @Mic92 ?
Metadata
nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-linux"`
 - host os: `Linux 6.1.63, NixOS, 24.05 (Uakari), 24.05.20231124.5a09cb4`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.19.1`
 - channels(root): `"nixos-23.05"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Priorities
Add a :+1: reaction to issues you find important.

It seems like certutil is available via nss.tools
{ config, pkgs, ... }:
{

  environment.systemPackages = with pkgs; [
    nss.tools
  ];

  services.caddy = {
    enable = true;

    # curl localhost -i -H "Host: example.org"
    # reverse_proxy http://<IP_ADDRESS>:8080
    virtualHosts."example.org" = {
      extraConfig = ''
        respond "OK"
        tls internal
      '';
    };
  };

}

but this way caddy still doesn't find it.

OK, what I learned: environment.systemPackage will not make tit available to the service.
I guess the question is whether caddy can work without installing the root cert via caddy trust or not.
For dev testing I really don't care about the cert chain 😔
I opened a help ticket at https://caddy.community/t/tls-internal-not-working/21856

Maybe it's more in the style of nixOS to generate the cert as part of the nix configuration?


🚀 Feature: better docs for backstage-cli config:check

🔖 Feature description
You should add information to the config:check documentation that indicates that --config must be specified once per config file.
🎤 Context
backstage-cli config:check --help prints this option:
--config <path>   Config files to load instead of app-config.yaml (default: [])

This indicated to me that since the default is an empty array, and it said "config files", --config takes an array argument. I was confused when:
backstage-cli config:check --config app-config.yaml app-config.production.yaml
did not merge the configs, and was ready to write the command off as broken.

When writing an issue, I went and read the CLI code -- it turns out the correct invocation was:
backstage-cli config:check --config app-config.yaml --config app-config.production.yaml
In hindsight, this is somewhat obvious. The docs say <path>, not <paths>, and config is loaded when actually running the app with one --config per config. But maybe an extra sentence along the lines of "must be specified once per config file" could've saved the headache. That, or printing an error message when invoked with multiple arguments to --config, instead of just loading the first one.
✌ Possible Implementation
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Two-dash arguments to any CLI arguably always work like this - your example of space separating the config file names, will always be interpreted as --config app-config.yaml as one thing, and then app-config.production.yaml as a second thing (a positional argument to the script, not part of any switch.
We could change the text Config files to load instead of app-config.yaml to add a clarification that you can provide multiple --config flags, but then we'd have to do that for all multi-valued switches on all our CLIs. 🤔

Most of the time, but not always -- for example, I was recently using the cyclonedx cli, which has --input-files as an option to cyclonedx merge, which takes multiple arguments: https://github.com/CycloneDX/cyclonedx-cli#merge-command
I'd be in favor of specifying when flags can be multiple, or erroring on unexpected arguments, but can see how that would be a big ask to change everywhere, for fairly small benefit. Maybe you can close as wontfix and revisit if this ends up confusing other people?

Alright, yeah I think we can close then.


Fix ruby-build upgrade instructions

I get bit by this every time I need to upgrade Ruby. brew upgrade actually upgrades all installed packages, whereas brew install ruby-build will update a singular dependency. This PR updates those instructions so we don't get bit by this.
See https://github.com/orgs/Homebrew/discussions/3126 for more information.

That is not entirely correct. The comments in that Homebrew discussion are misunderstanding how Homebrew works. If you run brew upgrade ruby-build, it will not upgrade every single package you have installed. Instead, the default behavior is to also upgrade any outdated dependencies, and outdated dependencies of those dependencies. So, in some cases, it will feel like it's updating everything.
This is similar behavior to updating gems in a Ruby project. If you run bundle update rails, it will also update any outdated dependencies of Rails that satisfy the versioning rules. This is considered a good thing generally.
If you don't want this behavior, you can set the env var HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK, as explained in the documentation when you run brew upgrade --help:
Unless HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set, brew upgrade or brew
reinstall will be run for outdated dependents and dependents with broken
linkage, respectively.

@monfresh Ohhhhh, TIL something new! Thanks for pointing me to that setting, I appreciate it. 🙏🏾

Thanks @monfresh and @jasonkarns. I would just like to point out that ruby-build Homebrew formula has quite some dependent formulae:
  depends_on "autoconf"
  depends_on "libyaml"
  depends_on "openssl@3"
  depends_on "pkg-config"
  depends_on "readline"

Unfortunately, since many other formulae also depend on these (especially on openssl), an innocent attempt at upgrading ruby-build might set of a whole cascade of upgrades that can take more than half an hour.
In our upgrade instructions, we could potentially advise setting the environment variable:
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=yes brew upgrade ruby-build

but that's a mouthful and I fear that it obscures the actual upgrade command, which is by itself simple and memorable. So for now, I would also vote to not change anything, unless this becomes a big pain point for lots of ruby-build users.


Max registered buffers size in io_uring

I've tried to register a set of buffers by io_uring_register_buffers() but I couldn't register buffers big enough. Either one buffer bigger than 32768 bytes or a few buffers with the total size bigger 32768 lead to the ENOMEM error. I've read the maximum buffer size is 1GB for one buffer.
There is an example:
#include <stdlib.h>
#include <stdio.h>
#include <liburing.h>

#define LEN 4096
#define CNT 9

int main()
{
    struct io_uring ring;
    struct iovec iov[CNT];
    char *buf;
    int res;

    if (io_uring_queue_init(64, &ring, 0) != 0)
        return -1;

    buf = malloc(LEN*CNT);

    for (int i = 0; i < CNT; i++) {
        iov[i].iov_base = buf + (i * LEN);
        iov[i].iov_len = LEN;
    }

    res = io_uring_register_buffers(&ring, iov, CNT);
    printf("%d\n", res);

    io_uring_queue_exit(&ring);

    return 0;
}

If I define CNT as 9, I have ENOMEM error. The same thing with CNT==1 and LEN==65536. What is wrong?
Thank you!

You hit RLIMIT_MEMLOCK. The limit is usually 64KB, but I guess you stumble on 32KB because malloc return not aligned chunk, but registration works with pages, so for each buffer it registers 2 adjacent pages that's twice as much.
Also, if memory is not page aligned it
#include <stdio.h>
#include <sys/resource.h>

int main()
{
    struct rlimit l;

    if (!getrlimit(RLIMIT_MEMLOCK, &l))
        fprintf(stderr, "%i %i\n", (int)l.rlim_max, (int)l.rlim_cur);
    return 0;
}

Thank you for your answer!
Yes, with aligned by 4096 buffer I have 64K limit.
So the only way to have a big buffer or many small buffers is system reconfiguring?

Right, and can be done at runtime, e.g. /etc/security/limits.conf, setrlimit(2) and/or anything you can find about RLIMIT_MEMLOCK.

Thanks a lot!


detect systemd usage

prequal, download-binaries, fix-perms needs a warning
fix-perms isn't so bad if it starts up again.
download-binaries will dead lock.

added a warning message for now


open new tab for printing when print button clicked

How can I open a new tab for printing when print button clicked, something like target="_blank", currently it opens in same tab which causes to loose back my apps navigation.

Operating System: Mac OS 10.12.6
PHP Version: 7.2
Laravel Version: 5.6
Laravel-Datatables Version: "yajra/laravel-datatables": "^1.0"

Maybe try to override the default print button script to open new window instead of change the current location? Here is snippet of print button.
    DataTable.ext.buttons.print = {
        className: 'buttons-print',

        text: function (dt) {
            return  '<i class="fa fa-print"></i> ' + dt.i18n('buttons.print', 'Print');
        },

        action: function (e, dt, button, config) {
            var url = _buildUrl(dt, 'print');
            window.location = url;
        }
    };

Done

Hi I'm sorry for re-opening this issue, I'd try to look everywhere... is there any way to open new tab when clicking the export button using the PHP only?
I'd studied the codes on

vendor/yajra/laravel-datatables-html/src/Html/Button.php
vendor/yajra/laravel-datatables-buttons/src/Services/DataTable.php

And I'd try to change the button tag to anchor tag with target=''_blank" using function tag of previous mentioned, Button.php. It change the tag and everything but when I click the button still redirect to the same page. I think that, there is some js that overrides the behaviour of the anchor tag thats why it didn't work

@afiqhamzah-wisb  Here's snippet on how to create a raw button via html builder. Adjust it to fit your needs:
Button::raw()
  ->text('My Button')
  ->className('btn btn-primary')
  ->action("function() { alert('test'); }"),


Implement skip path option for deploy and wipe commands

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: johanhammar:x: Hammar JohanHammar Johan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


PolylineCollection limited to 16384

Reported on the forum: https://groups.google.com/d/msg/cesium-dev/exLJc20nQpI/6S_Kxs6pBQAJ
When adding large numbers of elements to a polyline collection, only the first 16384 show up.
Here's an example (should make a full circle):
http://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Hello World.html&label=Showcases&gist=758939a9dea1f6f5bf4d14617d55fe6a

I tried to debug that one unsuccessfully until now. However I noticed:

this error in the console when the number of polylines is 20000 for instance: "bound vertex attribute buffers do not have sufficient size for given indices from the bound element array"; this error does not show up for a lower number of polylines (2000 for instance); so the vertex indices and position buffers do not match
when using an even greater number of polylines (100 000 for instance), only the last polylines do not show up, as if only the last polylines' bucket (as they are named in the code) was not displayed but hte others were.

I would greatly appreciate an idea to debug that, specific tools or debug options you might suggest, ...

OK we finally spotted an offset in the polyline indices buckets, a pull request should be submitted soon.

Appears to be fixed

Congratulations on closing the issue! I found these Cesium forum links in the comments above:
https://groups.google.com/d/msg/cesium-dev/exLJc20nQpI/6S_Kxs6pBQAJ
If this issue affects any of these threads, please post a comment like the following:

The issue at https://github.com/AnalyticalGraphicsInc/cesium/issues/5538 has just been closed and may resolve your issue. Look for the change in the next stable release of Cesium or get it now in the master branch on GitHub https://github.com/AnalyticalGraphicsInc/cesium.


Not Working

When i try your plugin give me like this error

You should configure the usage permissions for HTTP，AndroidManifest.xml
<application
        android:usesCleartextTraffic="true"
        ......

or
<application
        android:networkSecurityConfig="@xml/network_security_config"
        ......

At the same time, internet permissions need to be configured
<uses-permission android:name="android.permission.INTERNET" />

Thank you for reply.
You should also add this section to the install notes.


Write tests for components

Right now the components are not tested.

I think this probably isn't worth it since I'm not planning on changing it


[3.x] Don't define NO_EDITOR_SPLASH in export templates

Same as before but for 3.x instead.

Thanks!


Add set dynamics srv

This adds two ros services for:

get pybullet object dynamics
change pybullet object dynamics

Note that we exposed only the dynamic properties that we can both read and write using pybullet.
This was such that the message for getting and changing the parameters would be the same.
If we want to allow the user to get and change different sets of parameters, we have to think about different message system.

I added these changes with @k1631364, so that we can change the parameters online.
We want to extend this to also change the parameters of the robot link.
We can use pybullet to read those provided the robot id and link id.
Do you have any suggestions where you would like this functionality to be placed?
Let's maybe try to get this pull request through and then extend the functionality in another pull request, but you can leave here your thoughts.


Input - Keyboard: Clean up & generalize key handling

In keyboard.ts, there is a giant switch for handling various keycodes. This isn't maintainable to handle new scenarios, and there are several keys that are currently not supported.
Some keys that should be supported:

VolumeUp/VolumeDown
ScrollLock
Delete

I'm not a huge TS/JS guy at all, but what would you use besides a switch to handle the keycodes?

@bert88sta - sorry, this issue wasn't very clear :)
In retrospect the switch really isn't too bad... The bigger problem is that there are a bunch of hardcoded keybindings, like in index.tsx:
        if (key === "<f3>") {
            formatter.formatBuffer()
            return
        }

        if (UI.isPopupMenuOpen()) {
            if (key === "<esc>") {
                UI.hidePopupMenu()
            } else if (key === "<enter>") {
                UI.selectPopupMenuItem(false)
            } else if (key === "<C-v>") {
                UI.selectPopupMenuItem(true)
            } else if (key === "<C-n>") {
                UI.nextPopupMenuItem()
            } else if (key === "<C-p>") {
                UI.previousPopupMenuItem()
            }

            return
        }

So making those configurable is a more pressing issue, since I'm sure my random defaults that work for me aren't for everyone :)
There's some good discussion on this in #20 - I'm going to close this one in favor of that, since that has more details about that problem and potential solutions.


Fix bio truncation in search results

The biography of a person is currently truncated
to the first paragraph if that person is not in
an active role, however this was not being done
for bio text being sent to rummager.
https://trello.com/c/U3bfa2tZ/492-rummager-displaying-full-biography-in-search-results-instead-of-first-paragraph

I like the new function names - easy to parse and understand.
Pity about the logic in the views causing CI to fail :(

@bevanloon I did have the same thought when writing the name of that test.
Both issues should be fixed now.


I think I see an error in the PHPDoc for function sortBy in Collection

I think it's missing a > for the first array definition.
https://github.com/laravel/framework/blob/3f3a57ae87f76aa69d8122acb6d367d03c795fc9/src/Illuminate/Collections/Collection.php#L1324
from
@param  array<array-key, (callable(TValue, TKey): mixed)|array<array-key, string>|(callable(TValue, TKey): mixed)|string  $callback

to
@param  array<array-key, (callable(TValue, TKey): mixed)>|array<array-key, string>|(callable(TValue, TKey): mixed)|string  $callback

Can you send in a pr?

https://github.com/laravel/framework/pull/44262
Did I do it correctly?


.is does not work with relative state name

If you define a child state using the dot notation like this:
$stateProvider.state({ name: 'home', url: '/home', templateUrl: 'home.html'});
$stateProvider.state({ name: 'home.foo', url: '/foo', templateUrl: 'foo.html'});

And then call $state.is('.foo') when the current state is home.foo, undefined is returned. According to the documentation it should return true as the foo is child of home.
http://embed.plnkr.co/mMZH0AvE23iBd52GPzN8/preview

Targeting '.foo' from 'home.foo' means, you're asking for 'home.foo.foo'. Changing it to $state.is('^.foo') makes it work.

@nateabele Your solution does work but it is contrary to the documentation which is either incorrect or if it is correct then this was a bug.
See https://github.com/angular-ui/ui-router/blob/1e46c8d/src/state.js#L1227 and also for $state.includes https://github.com/angular-ui/ui-router/blob/1e46c8d/src/state.js#L1273

The template example doesn't suggest that it's in the same context as the examples above it, but I can see how you could make that inference.

@nateabele Since we agree the documentation can create confusion should it be a bit more explicit or at least reference the relevant documentation that would clear it up?

Sure. PRs welcome. 😄


Fix audit-central-logging.md

Hi PlatSec gang!
Just noticed that in the /docs/audit-central-logging.md file, it states to run the command audit_centrail_logginginstead of audit_central_logging.
(being a bit picky I know)

Jack!! lovely to hear from you, we've fixed this, thanks for bringing it to our attention :).


OnOff OffWithEffect not working

OffWithEffect does not appear to be working. OnWithTimedOff does appear to work.
OffWithEffect needs to coordinate with LevelControl to do the Fade to off.  Maybe some disconnect between your code and the Matter cluster code?  This pointer is not set in the Matter code... OffWithEffectTriggerCommand mOffWithEffectTrigger = nullptr;
I tried:
onoff off-with-effect 0 0 1 1
onoff off-with-effect 0 2 1 1
onoff off-with-effect 1 0 1 1
OnWithRecallGlobalScene is not going to work because scenes aren't implemented.

Somewhere this construct was supposed to be called...
`
OnOffEffect(
chip::EndpointId endpoint, OffWithEffectTriggerCommand offWithEffectTrigger,
chip::app::Clusters::OnOff::OnOffEffectIdentifier effectIdentifier = EMBER_ZCL_ON_OFF_EFFECT_IDENTIFIER_DELAYED_ALL_OFF,
    /*
     * effectVariant's type depends on the effect effectIdentifier so we don't know the type at compile time.
     * Casting to uint8_t for more flexibility since the type can be OnOffDelayedAllOffEffectVariant or
     * OnOffDelayedAllOffEffectVariant
     */
    uint8_t effectVariant = static_cast<uint8_t>(EMBER_ZCL_ON_OFF_DELAYED_ALL_OFF_EFFECT_VARIANT_FADE_TO_OFF_IN_0P8_SECONDS));

`

If you look in the erf32 lighting-app they have implemented this.
Not sure how this works...
OnOffEffect gEffect = {
    chip::EndpointId{ 1 },
    LightMgr().OnTriggerOffWithEffect,
    EMBER_ZCL_ON_OFF_EFFECT_IDENTIFIER_DELAYED_ALL_OFF,
    static_cast<uint8_t>(EMBER_ZCL_ON_OFF_DELAYED_ALL_OFF_EFFECT_VARIANT_FADE_TO_OFF_IN_0P8_SECONDS),
};

That looks like part of the solution, what about...
Table 23. Values of the EffectVariant Field of the OffWithEffect Command
EffectIdentifier Field ValueEffectVariant Field ValueDescription
0x000x00 (default)Fade to off in 0.8 seconds
0x01No fade
0x0250% dim down in 0.8 seconds
then fade to off in 12 seconds
0x01
0x03 to 0xffReserved
0x00 (default)20% dim up in 0.5s then fade to
off in 1 second
0x02 to 0xff
0x01 to 0xffReserved
0x00 to 0xffReserved


I don't want to use GPU, what should I do(┬＿┬)

face_recognition version:1.2.2
Python version:3.6.5
Operating System:Ubuntu16.04

Description
Dear ageigey,
If I don't want to use GPU to speed up the codes, what should I do? I just want to use cpu to run the codes. When I ran my code by  CUDA_VISIBLE_DEVICES="" python xxx.py, I got a error said that "RuntimeError: Error while calling cudaGetDevice(&the_device_id) in file /tmp/pip-install-qhoqkpna/dlib/dlib/cuda/gpu_data.cpp:178. code: 38, reason: no CUDA-capable device is". But if i run my code on Windows, there is no problem though my Windows machine doesn't have a GPU.

Did you compile dlib with CUDA support? Just recompile dlib without CUDA support and it won't ever try to use a GPU.

THX... It worked~


fix updating nodes states

Summary
Based on main
This PR fixes a bug : cloudAI wasnt able to correctly access the state of the nodes (IDLE, ALLOCATED ...)
fixed the parse_sinfo_output function
Test Plan

Test by @amaslenn
CI
Test by @jeffnvidia
2.1 Slurm command generation

$ cloudaix --mode run --system_config_path conf/v0.6/general/system/israel_1.toml --test_scenario_path conf/v0.6/general/test_scenario/llama/llama.toml
Additional Notes

Please fix failing CI pipelines as well.


[BUG?] VS Code server not asking to open local service in browser

Does this issue occur when all extensions are disabled?: Not possible, because it needs the Remote extensions.

VS Code Version:
OS Version:

Steps to Reproduce:

Connect to a remote server with Remote-SSH
Run a Spring Boot app on port 8080
VS Code does not ask me to open the localhost:8080 URL in my browser.

The box I was expecting to pop up, but didn't, should look something like this:
Your application running on port 9000 is available. See all forwarded ports
| Open In Browser |     | Preview in Editor |

When I run other apps, for example the Node.js-based npx serve . to start a web server, that works fine, and VS Code somehow picks it up and asks me if I want to open the app in my browser.
For some reason VS Code just doesn't do this when I run a Spring Boot server.

@trusktr can you share the following:

The value of the setting remote.autoForwardPortsSource
The terminal output of your Spring Boot app

SSH by default sets remote.autoForwardPortsSource to output, meaning that the terminal output is read to determine when to auto forward ports and show the prompt.


BlitzTable documentation page crashes Chrome

https://blitzar.cycraft.co/blitz-table/ -- attempted to view this page repeatedly and it crashes my Chrome tab every time.  Console logs don't give any indication of what's going wrong.
Looking for ways to dynamically render Quasar text inputs, pulldown menus, & inline editable tables and came across the Quasar EasyForm and Quasar EasyTable projects as top candidates of exactly what we're looking for -- it appears those projects are archived with Blitzar as their intended replacement. It would be great to be able to view the  BlitzTable documentation page without it crashing.
Appreciate the effort put into this project so far and hoping the BlitzTable documentation is potentially a quick fix so we can understand the project better.

@anuzis
Here is an example project with Quasar:
https://github.com/CyCraft/blitzar/tree/production/example-projects/quasar
--
I don't know what is the cause of the crash on chrome.
It doesn't happen to me (macOS). Do you have Windows?
Another friend on Windows told me the same thing, it's very odd.

BlitzTable documentation page crashes on:

main desktop running: Linux Mint
Chromebook
Android phone

On my phone the page seems to remain functional until I try to toggle open the menu icon at the upper left.
On my Chromebook the page dies within about 10 seconds while remaining near the top of the page, just scrolling it up/down a few lines while monitoring whether the tab is active.

confirmed BlitzTable documentation page crashes on chrome on windows 10
did not crash when tried opera browser

I have had the same issue on android 11 (Samsung s21 ultra) in both chrome, edge, and Vivaldi.
I also have the issue on my windows 11 computer with chrome, edge, Firefox dev editions, and opera.


Issue with module loading while using Next.js and turbopack

Subject
Installation instructions for Next.js
Description
Hi! Thanks for all the work you put in this library. ❤
I tried to play with Panda as potential replacement for Stitches and by following the installation steps for Next.js I've encountered following blocking issue:
error - [resolve] [project]/app/page.tsx  Error resolving EcmaScript Modules request
  unable to resolve module "@" with subpath "/styled-system/css"

I spend some time digging it up and it seems that fresh Next.js + turbopack project doesn't work well with mjs extension. To make it work I had to add following setting to panda.config.ts
outExtension: 'js',

Here you can reproduce the issue: https://codesandbox.io/p/sandbox/cranky-jang-m2lmns?file=%2Fpackage.json%3A11%2C5
If you don't replace mjs with js you have to remove --turbo from package.json.
Maybe it would be worth to add as a disclaimer. Cheers!

@mantidfly Turbopack is a beta project, we can't take the burden of keeping up with the bugs and frequent changes that will happen till it gets to alpha. But we've documented this config key.
You can also pass it as a flag when initializing panda in your future turbopack projects

It was fixed in Next 14.0.4.


How to use the edited file correctly

Dear developer, I exported the edited txt file using your editor and found that I can't use it for 3DGS rebuild, it always reports an error, can you tell me how to rebuild the edited scene correctly?

Thanks for the message, the downloaded .txt files should be read by the COLMAP script used in 3DGS. Could you please send me your downloaded files so I can fix the error?
Could it perhaps be because you forgot to import the cameras.txt / cameras.bin file when using 3DGS? Thanks!

Thank you very much for getting back to me, and I would appreciate it if you could guide me on the next steps. I exported the txt file manually in colmap, edited it in your editor, downloaded modifiedPoints3D.txt and modifiedimages.txt, renamed and replaced the original txt file, exported the bin file using the command ‘python convert.py -s $FOLDER_PATH ---skip_matching' to output the bin file, and then rebuilt it, and found that the scene is still the same as before editing.
With regard to the cameras.txt file, no changes or replacements were made.

Your tool, if realised successfully, can help me immensely in my studies and research, thank you again!

Hello, thank you for the information. I just recorded a Video on how to use the Pointcloudeditor, hopefully this helps:
Youtube Link

I'm sorry to keep bothering you, I appreciate your videos and the work you put into my problem. I followed every step of the video you posted and had no problems up to the cutoff of your video. But when I trained the edited files, I found that the reconstructed scene was still the original. I checked each document and found that its ply file had not changed, so I manually exported the new ply file, but it reported the following error:(3DGStream) PS F:\GS+\3DGStream1> python train.py -s .\data\test2\ -m output/test7
Optimizing output/test7
Output folder: output/test7 [14/10 20:32:33]
Tensorboard not available: not logging progress [14/10 20:32:33]
Reading camera 53/53 [14/10 20:32:33]
Loading Training Cameras [14/10 20:32:33]
Loading Test Cameras [14/10 20:32:36]
Traceback (most recent call last):
File "train.py", line 219, in
training(lp.extract(args), op.extract(args), pp.extract(args), args.test_iterations, args.save_iterations, args.checkpoint_iterations, args.start_checkpoint, args.debug_from)
File "train.py", line 35, in training
scene = Scene(dataset, gaussians)
File "F:\GS+\3DGStream1\scene_init_.py", line 83, in init
self.gaussians.create_from_pcd(scene_info.point_cloud, self.cameras_extent)
File "F:\GS+\3DGStream1\scene\gaussian_model.py", line 126, in create_from_pcd
fused_point_cloud = torch.tensor(np.asarray(pcd.points)).float().cuda()
AttributeError: 'NoneType' object has no attribute 'points'

As a beginner, my questions may seem extremely naive and I'm sorry to keep bothering you, if you agree I would like to put you in the thank you at the end of my paper!

Hello, sorry for the late reply. Please make sure if you have already trained with the dataset in 3D Gaussian Splatting to delete the created "Points3D.ply" file. If this is not deleted, the modified images.txt & points3D.txt have no influence and are ignored. This file must always be created anew at the beginning of the script using the points3d.txt file.
Unfortunately I couldn't reproduce the error that happened in the training script. The modified files work perfectly for me.
If that doesn't work, it would be nice if you could send me your dataset so that I can test it and, if necessary, fix the error in the code.

Thank you so much for your willingness to continue to reply to my messages, I will send you my file, it's just a simple test file, feel free to change it to any other test pre-training edited object, I'm trying to figure out how I can make the 3DGS train out of the changed scene, and I'd like to see a video walkthrough of you training the file, or manipulating it, in the 3DGS, if that's possible.
test.zip

Hello, attached is a short video in which I go through all the steps with the dataset sent. I hope this solves the problems. Link: https://drive.google.com/file/d/1hednIJ3E7E7RGVn6qpzS2v9ivvpHpsU2/view?usp=sharing

queastion.zip
Thank you for going out of your way to provide guidance, you are a god to me. The problem with my point cloud appeared in the second half and recorded the thing as a video and sent it to you. It's in the zip below and I'm sure your skills will have a great impact on 3DGS technology.


[React] Missing type for "refs.reference"

Describe the bug
I'm not sure if it's bug or desired behaviour. I've noticed that refs.reference is not using generic type passed to useFloating. That generic is being used only in setReference function. At the first glance it looks like refs.reference should also use generic. If setReference sets given generic, I expect, that refs.reference will be that generic's type
To Reproduce
Just take a look at this line of code
Expected behavior
Generic probably should be passed to refs.reference
Context:
None
Additional context
None

This is expected as the generic type narrowing is applied to refs.domReference instead, as refs.reference.current can be a virtual element after using refs.setPositionReference.

Thanks for clarification. The naming is a bit confusing, since setReference sounds like should be connected with reference, and setPositionReference should have positionReference counterpart. May be considered changing this in the future :). Thanks for now

It's due it being better in terms of defaults (the reference by default is both the "events" and "position" reference together) and the fact that @floating-ui/react is a compatible superset of @floating-ui/react-dom, which only deals with positioning.
// In both react-dom and react packages, this sets the position reference.
// In the latter it *also* sets the DOM reference.

// You can see why this would start to become a problem, and why the
// library does it the way it currently does.


readme: Update xtl requirement

(Sorry if this is overly nit-picky; I don't mean to waste anyone's time.)  Master doesn't build any more without xtl 0.3.1, so I updated the README.

Right, I changed the release notes, but not the readme. Good catch.


Not showing ABC tokens acc sum

https://aeternity-blockchain.atlassian.net/browse/SW-1210
If you buy ABC tokens and go back to your wallet to see the ABC token value

-> 22.01.2024 UPDATE
https://github.com/superhero-com/superhero-wallet/assets/119422781/256e456e-f639-454e-89c6-e82d3fd55356

closes as fixed in current develop branch


Merge to dev: update url of submission link in the email content

Backend coverage reportCoverage after merging ches-api into dev will be3.31%
Coverage ReportFileStmtsBranchesFuncsLinesUncovered Linessrc   app.controller.ts100%100%100%100%   app.module.ts0%0%100%0%1, 14, 14, 16, 16–17, 17, 2, 28, 3–7   app.service.ts100%100%100%100%   main.ts0%0%0%0%1, 11–12, 14, 14, 14, 14–15, 2, 23, 25, 3, 31, 33, 33, 33–34, 36, 4, 43, 45, 5, 8src/email   email.module.ts0%100%100%0%1, 11, 2–4src/email/controllers   email.controller.ts0%100%0%0%1, 11, 13, 2–4, 8–9src/email/model   email.entity.ts0%100%100%0%1, 10, 23, 3–4src/email/services   email.service.ts0%0%0%0%1, 10–11, 14, 2, 22, 24, 24, 27, 3, 32–34, 36, 36–37, 37, 37, 4, 41, 47, 47–48, 54, 56, 56–57, 63, 63, 7, 72, 72, 80, 85, 89, 95src/form   form.module.ts0%100%100%0%1, 13, 2–6src/form/controllers   form.controller.ts0%100%0%0%1, 10–11, 13, 15, 18, 2, 20, 23, 25, 28, 32, 38, 4, 40, 43, 45, 6src/form/entities   emailSubmissionLog.entity.ts0%100%100%0%1, 10, 17, 2, 24, 31, 34, 37, 5, 7src/form/services   form.service.ts0%0%0%0%1, 10, 103, 105, 113–114, 119–122, 13, 130, 132, 14, 144–148, 148, 148, 152, 152, 152, 152, 152, 152, 159–160, 160, 162, 162, 162, 166, 170, 172, 178–179, 18, 188, 199, 199, 199, 199, 199, 2, 200, 202–204, 206, 208–210, 213, 22, 223, 227, 234, 236, 246, 252, 265, 267, 267, 267–268, 268, 268–269, 27, 274–275, 277–278, 278, 278, 28, 280, 282–284, 286, 289, 29, 298, 3, 30, 300, 307, 309, 31, 315, 323, 325, 329, 337, 339, 34, 342, 347, 350, 354, 36, 361, 363, 368–369, 37, 377, 38, 380, 385, 39, 392, 394, 394, 394, 394, 394–395, 398, 4, 40, 412, 412–413, 413, 413, 417, 424, 426, 426–427, 427, 427–428, 44, 450, 453, 459, 465, 471, 5, 53, 59, 6, 67–70, 72–73, 76–77, 77–78, 8, 81, 81, 81, 81–82, 88, 92–95src/naturalresourcedist   naturalResourceDist.module.ts0%100%100%0%1, 12, 2–5src/naturalresourcedist/controllers   naturalResourceDist.controller.ts0%100%0%0%1, 10, 12, 2–3, 7–8src/naturalresourcedist/entities   naturalResourceDist.entity.ts0%100%100%0%1, 11, 14, 17, 20, 23, 9src/naturalresourcedist/services   naturalResourceDist.service.ts0%100%0%0%1, 11, 15, 2, 29, 3–4, 8

DEV deployments have completed successfully!
Backend: https://nrog-92-backend.apps.silver.devops.gov.bc.ca/
Frontend: https://nrog-92-frontend.apps.silver.devops.gov.bc.ca/

Your Pull Request code is being promoted!  Please follow the link below.
Main Merge Workflow


Clarify whether one could use instance and instance container together

The registration entries map a type to a location and MUST use one of two predicates:
solid:instance - [...]
solid:instanceContainer - [...]

Can it use both or is it XOR?
It should read either "at least one of" or "exactly one of" to clarify this.

What would be the benefit of restricting it to  one or the other?  I can't think of one but I can see a case where some data was an instance and some a container.  I can also see a case where different apps would have different entry-ways to the data - one using containers, another an index.

I am fine with having both, but would like to clarify the spec on that regard to say "MUST use at least one of two predicates"


Speed up the framework

Instructions
Make the testing framework faster so that Jest timeouts don't need to be so long.
Issue To Be Solved
The testing framework can be quite slow with complex tests (exceeding 10 seconds long).  This can cause discrepancy between local testing and CI runners confusing developers.
(Optional): Suggest A Solution
There are a few ways which emulator performance can potentially be optimized.

Use a WASM version of the flow-emulator.  This would allow direct interfacing with the emulator via Javascript, remove slowdowns related to spawning a new process. (and it would be a cleaner way of operating this library, which is always a plus). Prototyping has shown WASM to be significantly slower than native and this does not appear to be a solution.

Find a better way of deploying FlowManager.  Currently, multiple transactions and scripts are involved in checking if FlowManager is deployed/deploying it at any point of execution which causes some slowdown.  While this would likely have lower latency if the emulator was built through WebAssembly, it is still an inefficient means of completing this task.
Whether through WASM or not, there should be some efficient means of deploying the FlowManager contract invariably when Flow JS Testing starts up (avoiding constantly checking if it has already been deployed).

(Optional): Context
An example of this is on the flow-nft repo.  The tests in this commit https://github.com/onflow/flow-nft/tree/a8674860f8f6cb2c441532a5ff9051d8176fcda8 will pass on a M1 Macbook but fail on the CI runner.  This discrepancy can be somewhat troubling for the end user and potentially hard to debug.
See GH actions log: https://github.com/onflow/flow-nft/runs/7903285241?check_suite_focus=true

Oh I was just gonna create issue on this.
Problem is not the emulator. Recently I ran kitty items tests on my M1 MacBook.
Initially was something like this:
Kitty Items
    ✓ should deploy KittyItems contract (3631 ms)
    ✓ supply should be 0 after contract is deployed (3700 ms)
    ✓ should be able to mint a kitty item (4168 ms)
    ✓ should be able to create a new empty NFT Collection (3918 ms)
    ✓ should not be able to withdraw an NFT that doesn't exist in a collection (4579 ms)
    ✓ should be able to withdraw an NFT and deposit to another accounts collection (4807 ms)

There are some sleeps ( 2 sec for total, 1 second each for emulator start and stop there ) But still the numbers were huge.
I debugged the problem, it is signing the transaction part. If you use new emulator option --skip-tx-validation, and just give some dummy signature ( any hex string with 128 length, 64 byte signature x 2 digits )
Final result is :
 PASS  ./kitty-items.test.js
  Kitty Items
    ✓ should deploy KittyItems contract (504 ms)
    ✓ supply should be 0 after contract is deployed (514 ms)
    ✓ should be able to mint a kitty item (634 ms)
    ✓ should be able to create a new empty NFT Collection (625 ms)
    ✓ should not be able to withdraw an NFT that doesn't exist in a collection (774 ms)
    ✓ should be able to withdraw an NFT and deposit to another accounts collection (796 ms)

with NFT tests: ( after disabling retry on http transport )
 PASS  tests/nft_forwarding_test.test.js (6.329 s)
  NFTForwarding Contract Tests
    ✓ Should forward NFT to designated forwarding recipient (1353 ms)
    ✓ Setup then change forwarding recipient (1236 ms)
    ✓ Setup NFTForwarder then unlink recipient's collection. Forwarding should fail. (1239 ms)
    ✓ Setup NFTForwarder then unlink and restore collection in forwarder's account (1242 ms)

 PASS  tests/nft_test.test.js
  NonFungibleToken Contract Tests
    ✓ Should have properly initialized fields after deployment (659 ms)
    ✓ Should be able to mint a token (746 ms)

Test Suites: 2 passed, 2 total
Tests:       6 passed, 6 total
Snapshots:   0 total
Time:        8.647 s, estimated 9 s


Add more targets to common-lock

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#151  👈
#150
#149
#148
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @illarionov and the rest of your teammates on  Graphite

Merge activity

Jun 24, 9:23 AM EDT: @illarionov started a stack merge that includes this pull request via Graphite.


Face id demo example is unable to recognize my face

Thanks for making a great library with a intuitive api.
The demo "Face ID" is not able to match my face. I have tried on my Phone (Android & samsung s21) and my laptop (chrome, windows 11).
Maybe I have misunderstood the purpose of the demo, but I expect the app to find my name after the second face scan.
It should be pretty easy to reproduce (unless it is a compatibility issue). You can go to https://vladmandic.github.io/human/demo/faceid/index.html and then try to scan you face three times.

i just tried, and it works here
are you able to scan face before timeout (meaning all markers turn green)? and then enter a name label and save it?
after that, it should persist as it gets stored in browser's indexdb. so if you press retry or even close browser and reopen it, once you pass the checks (all checks turn green), it should match it to closest entry in the database.
btw, you may need to store several variations in database for best results matches

Alright. Thanks for the quick response. Maybe the issue is that I am unable to pass all the checks. I think you can close this issue

I'll increase the timeout for checks from 10sec to 30sec for demo anyhow.
Btw, which checks are you having trouble passing?
They are all marked on the right hand side.

Thanks. Blink detected is always red. I think I have a fairly regular face, but maybe not :)

it works pretty reliably on my tests, but if you want to test faceid demo without blink detection,
simply set its value to be true always in
https://github.com/vladmandic/human/blob/2e5ca3b95480c27569c7df74fb28204f535c0247/demo/faceid/index.ts#L141
anyhow, blink is detected if human detects that either eye gets closed and opened again,
but it has to be closed for min 10ms and it has to reopen in less than 800ms
you can change those values at https://github.com/vladmandic/human/blob/2e5ca3b95480c27569c7df74fb28204f535c0247/demo/faceid/index.ts#L40
how human detects blink internally is if ratio of

center of eye inner lid y-coord and
center of wider eye border y coord
is less than 0.2 (20%)
setting it to a higher value (e.g. 0.3) would increase detection sensitivity, but it would be more prone to false positives
(there is no single value that is best for everyone, this is just a value i came up from experimentation)
(see https://github.com/vladmandic/human/blob/2e5ca3b95480c27569c7df74fb28204f535c0247/src/gesture/gesture.ts#L65 for details)

fyi, faceid demo has been updated and it will provide more detailed explanations on what its doing during runtime.

Awesome! It works and it is able recognize my face. Thanks for adding more comments in the demo and here


Support for python 3.4

Hello,
I made a few changes to support python 3.4. The biggest one is copying ExitStack from contexlib in order to replace contextlib.nested().
I haven't tried this code but all tests pass.

Coverage remained the same when pulling 12cdf61804579b08bfb58bb20cee9155c34853c8 on davethecipo:py34 into 6b42af48eaadb20b98299ea091b54174a3ecd12d on Numergy:master.

Sure.

Do you have a preference for the file name?

What condition should be used? Maybe something like this?
try:
from contextlib import ExitStack
except ImportError:
from .NEW_FILE_NAME_HERE import ExitStack

Coverage decreased (-9.42%) when pulling ca41d813ed0007c8ea6743fd6332447b003a2390 on davethecipo:py34 into 6b42af48eaadb20b98299ea091b54174a3ecd12d on Numergy:master.

Coverage remained the same at 95.0% when pulling bdc11423fe8158e43278185bd390b1a38a96e956 on davethecipo:py34 into 6b42af48eaadb20b98299ea091b54174a3ecd12d on Numergy:master.

Coverage remained the same at 95.0% when pulling bdc11423fe8158e43278185bd390b1a38a96e956 on davethecipo:py34 into 6b42af48eaadb20b98299ea091b54174a3ecd12d on Numergy:master.

Hello, now it uses contexter as a replacement, as suggested in the discussion for issue #4. Since I had to revert a few commits, the history looks a little messy. If you want, I can create a new branch and cherry-pick only the last commits, without the reverts.

Awesome !
+1

Hi @davethecipo
Sorry for the late answer.. Merged!
Thanks for your work :+1:
Thanks @jpic for your review :)


Large vectors not supported by MEX library

When I try to run 10^8 fits at size 5x5, I get the following error in Matlab:
Unexpected Standard exception from MEX file.
What() is:vector too long
Error in GpuFit (line 39)
data,...
I suspect this is to do with MEX using 32-bit array indexing by default, even for code which is compiled for 64-bit architectures.  The issue is discussed in the link below.  I think the solution is to compile the MEX code with the "-largeArrayDims" flag.
http://de.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html?requestedDomain=www.mathworks.com
This is an important issue because we can't run large numbers of fits at the moment.

It is not possible to solve this problem on SuperGPU1 since its RAM memory is limited to 8GB.

Regardless of the amount of RAM, it is still possible to add the compiler flag.

You can set a compilation flag using the existing command set_target_properties() by setting the CMake property COMPILE_FLAGS. But as I said before, i don't think that this will solve the problem. Did you try to run the test without the variable data_size in the mex function? Since I'm not able to reproduce the error, it is hard for me to fix this bug.

did you add this to the cmake file?

On Jan 8, 2017, at 12:06 PM, Adrian Przybylski<EMAIL_ADDRESS>wrote:
You can set a compilation flag using the existing command set_target_properties() by setting the CMake property COMPILE_FLAGS. But as I said before, i don't think that this will solve the problem. Did you try to run the test without the variable data_size in the mex function? Since I'm not able to reproduce the error, it is hard for me to fix this bug.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

have you added the flag to the cmake file?

the variable data_size is not related to this bug, since the error message specifically says the problem has to do with the length of a

But as I said before, i don't think that this will solve the problem.

Adrian, why do you think this won't solve the problem? I will just incoporate it in a commit in a few minutes, then Superchromix has to test it and report back. Finally such large number of fits should become a test.

Since the variables mwSize and mwIndex already have the length of 64 bit, the 64 bit API is used. I tried to insert the compiler flag, but it was ignored.  I agree, that we need this test.

I do not understand why it is not possible to insert the compiler flag.
On 09/01/2017 13:01, Adrian Przybylski wrote:

Since the variables mwSize and mwIndex already have the length of 64
bit, the 64 bit API is used. I tried to insert the compiler flag, but it
was ignored. I agree, that we need this test.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/gpufit/GPUfit/issues/7#issuecomment-271268276, or
mute the thread
https://github.com/notifications/unsubscribe-auth/ADb8MZuf7a-83iJYLlZ31mb-EZGq2VQTks5rQiGwgaJpZM4LdFJe.

Just because mwSize and mwIndex are 64-bit types, this does not
necessarily mean that the 64-bit API is used.  Actually, those two data
type are by definition 64-bit.  The compiler flag needs to be set in
order to ensure that the 64-bit API is actually used.
On 09/01/2017 13:01, Adrian Przybylski wrote:

Since the variables mwSize and mwIndex already have the length of 64
bit, the 64 bit API is used. I tried to insert the compiler flag, but it
was ignored. I agree, that we need this test.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/gpufit/GPUfit/issues/7#issuecomment-271268276, or
mute the thread
https://github.com/notifications/unsubscribe-auth/ADb8MZuf7a-83iJYLlZ31mb-EZGq2VQTks5rQiGwgaJpZM4LdFJe.

What is happening with this????

The error occurred because the product of the int variables n_points and n_fits exceeded the maximum int value. The bug is fixed by changing the data types of the variables to std::size_t.


InputNode -> DynamicsProcessor is silent on iOS16, works fine on 14.x and 15.x

Rather odd things I observed:
I have a mic (Input node) -> Mixer -> DynamicsProcessor -> Fader(gain 0) -> Mixer -> main mixer node.
On ios 15 and earlier, this setup works great and I can record output of mic well.
On ios16, this returns silence. If I remove the dynamics node from the chain, things work again (raw mic sound is not silent). But having the dynamics node in the chain and bypassing (or starting) doesn't work and still returns silence.
I have other dynamics nodes connected downstream of things like AppleSampler and that works (sound is coming). when mic is connected, there's no sound on ios 16+.
Also, If I add nodes like high pass filter, low pass filter, reverb etc under the dynamics processor, things are silent. if I take the dynamics node out, the remaining node chain works fine. So it's just dynamics processor that seems to not be happy with mic perhaps?
Oh and another curiosity -- If I substitute Compressor for DynamicsProcessor, it works! but under the covers both are using kAudioUnitSubType_DynamicsProcessor.. so it is likely not an apple bug then?

It's values of expansionRatio > 1.0 that cause the dynamics processor to be silenced. compressor has this at 1 default likely.
Weird, no?
Can someone also explain why dynamics processor and compressor are different objects? is this a convenience things, or something else? And what difference expansion ratio and threshold make on the sound? All very confusing stuff for me. 😬

It also works if the value of expansionRatio is set before connecting to the mixer. if changed later, it causes it to be silenced.

More than likely an Apple bug since it is such a light wrapper to their stuff. You're right that Compressor exists as a convenience.


[BUG] Select type form items don't validate whether there are values

Describe the bug
When making a form with a select type input and static options, there isn't a check to ensure that values are entered for each choice. If these are omitted, the form submission returns an empty result.
Expected behavior

When a select input is used, the form validation should check whether there are values entered for each choice and report an error similar to what happens if a form name is missing.

Yes, this is something I have been postponing. I agree it will be a nice Q0L improvement


Integration of AWS-Organization

Hi,
at first I am totally in love with this, and my colleagues also!
My suggestion is the inclusion of following architecture, a bit analogue to the geoIp:

A new Bucket, "SIEM-Orga-data"
A new lambda exec-role on the management account
A new lambda running on the siem-account, fetching data from the Management-account via 2. and dumping it into the bucket in 1., nicely packaged as json:

GreatparenOu,ParentOu, AccountId
for every OU and accountId the tagging (key and value)

extending the aes-es-siem-loader to take use of the data (eg, via accountid adding the information to the event).

This would help greatly in creating orga-specific reports and dashboards, and by the integration of the tagging it becomes even more dynamic. We for example have tags like contact adresses for technical responsibles, contacts in general, webhooks for alerting etc.
Just imagine having reports based on events with "access_denied", grouped by "contact adress" :-).
Thanks in advance &
Cheers,
Alexander

Thanks for the feedback. Your request is to enrith logs with some rules or logic, right? We can use these ECS fields

https://www.elastic.co/guide/en/ecs/current/ecs-base.html#field-labels
https://www.elastic.co/guide/en/ecs/current/ecs-base.html#field-tags

Hi, exactly!
Regular, either the parent OrganizationUnit or tagging on the accounts itself is used for a lot of aggregation / clusterization (and in our management-accounts also for a lot of reporting already).
Additional, to the cases I have mentioned about regarding reporting per team / context, we additional can use this for an elevated permission-management:
Eg, we integrate in all events the "aws organization parent OU" of the accounts, we then can create roles with document based permission policies.
These roles then are assigne an IAM backend-role, also reflection the OU-name (or a tag-value).
In our Cognito IDP-pools (in our case based on SAMl via AzureAD), we then would assign the IAM-role as the auth-role via a rule based on the Claim.
By this an organisation can build a huge oopensearch-domain for an entire-organisation, offering views for the governance & security teams and also having roles for the teams, automatically filtering only the events belonging to them.
Cheers,
Alexander

Hi,
meanwhile we came a bit further - unfortunately not a state I would propose as a pull-request .. but:
We added another bucket for the orga-metadata (actually we dumped our whole aws organization as a json, the whole tree, from root, OUs, the OU tagging down to the accounts and their tagging).
Then as point of entry we used the enrich-class to add our fields to every event, based on the account-id, like "labels.account_email labels.account_name labels.environment labels.ou_id" .. etc pp.
Worked well. log-aws-cloudtrail has now our orga-data, and after adding another custom mapping template also are searchable.
Didnt worked so well with log-aws-* and log-*.
So we extended the mapping (for every index, with every field of the custom payload set to index:true) .. still our customfields are not searchable in the meta-indexes (log-aws-* and log-*).
Today I have expanded (also a bit dirty) the "transform_to_ecs"-function (and also added mappings to the aws.ini)..
Checked the result via logger and it appears like the tagging is written sucessfully into the ecs-object (as "labels").
I reindexed the indexes in hot- and deleted everything from ultra-warm & cold-storage .. still the new fields are not searchable from log-aws-* and log-* (important to create opensearch-roles with field-permissions, to map them to team-specific-backend-(IAM)-roles, connected to cognito user-pools ..).
I also refreshed the index mappings.
Do you have, please, any hint where also to look?
Thanks in advance &
Cheers,
Alexander
Ps:
A lot of dirtyness resulted out of when "cloud.account.id" is filled. Right now I am running "get_value_and_input_into_ecs_dict" twice, the first time as supposed, the second time as I need "cloud.account.id" for the "orga-lookup" set properly.

Minor update, I discovered that "index.max_docvalue_fields_search" was set a bit to low and therefor limited to much the indexed fields in the index-patterns log-* log-aws-* .. I set it a bit higher and temporarily the fields appeared.

Hi,
finally everything has come together. Every event is enriched with some meta-data from our AWS organizations and stable indexed.
We now have an setup allowing us based on AzureAD-groups => AWS cognito => rule based mapping to AWS IAM roles => usage as "backend roles" in "opensearch role mappings" combined with document-based security, using the "labels.owner" field to specifically limit the acces to documents to the teams they are belonging to, while the cloud- and security governance-teams have access to the whole organization / events from all teams.
Unfortunately the setup is pretty specific (and a bit dirty regarding the implementation in the es-loader), so I cannot deliver a PR right now.
At least this may help someone else as some kind of idea / inspiration how to expand his aes-siem based setup.
Cheers,
Alexander


Literature list

[x] It's probably helpful to add the doi for all of the papers with the :doi: tag.
[x] Maybe we should sort the literature by topics
[x] add a few more references to general reviews and to papers introducing different methods.
[x] The literature list in the HTML documentation is formated badly.
This seems to be a sphinx issue, can we circumvent this?

ee4039880641b2c907de201d9bd38c9b9b548f19 fixed the formatting problem by accident, at least mostly. There is no space after the reference name, but I think that's fine.
It seems like Sphinx interpreted the abbbreviated first names as lists...


Error creating makefile

Linux: Kali Architecture: ARMv6l
Running on raspberry pi zero w
root@kali:/home/seyo/VC4CL# make
[  3%] Built target generate_icd
[ 78%] Built target VC4CL
[ 82%] Linking CXX executable v3d_profile
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to bcm_host_deinit' /usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to bcm_host_init'
/usr/bin/ld: ../src/libVC4CL.so.0.4.9999: undefined reference to `bcm_host_get_peripheral_address'                                                                collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/v3d_profile.dir/build.make:88: tools/v3d_profile] Error 1
make[1]: *** [CMakeFiles/Makefile2:214: tools/CMakeFiles/v3d_profile.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

The Raspberry Pi host libraries are missing on your machine, see https://github.com/doe300/VC4CL/issues/53#issuecomment-457687444.

Okay i haven't been sucessfull yet. I'l try installing raspian on the raspberry, then i should have all the librares.

Successfully installed everything on my pi with Kali. Still get "CL_PLATFORM_NOT_FOUND_KHR" when I'm using hashcat.

Did you run the  program as root?

yes i was loged in as root


Readme Updated + Banner added

Hello dear @amirajoodani :hand:
I just love your course and I learned a lot from it. I just updated and added information about you and designed one simple banner.
Thank you very much for your Amazing Course.
Changes:

Updated README.md file and added contact information and ...
Added one banner file at .github/assets.

hello mehdi .
thank you for your feddback and spend time for repository .
LGTM .


Show Dispute Started By and IDs for Mod

Adds a "started by buyer/seller" to the case view for the moderator, and the peer IDs of the two parties to make things more convenient for the moderator.
Closes #1703

@morebrownies What do you think of this?
We already have <name> is disputing the order:. Would it have been better just to put (buyer) or (seller) after the name rather than changing the heading?
What do you these of these new buyer and seller lines? Do you like that we're just showing peer Id's there?

We already have  is disputing the order:

The request in the ticket was de

I'm closing this since we never came to consensus on it.


App locking with Finger print/Face/Pin

Description of the new feature / enhancement
There is no app availble to lock other apps by entering Pin/Finger print.
Scenario when this would be used?
While opening a whatsap in PC, Outlook in PC or any other sensitive apps in pc
Supporting information
No response

/feedbackhub


Image won't show and only background is seen.

Steps to reproduce
Only works properly on random Manga/Manhua/Manhwa chapters the rest is broken. happens after updating to new version.

Expected behavior
Should show Image and not the background.
Actual behavior
Image won't show even if it shows some parts disappear. it works properly before updating to the new version
Crash logs
No response
Mihon version
0.17.0
Android version
Android
Device
Bluestack samsung s22 ultra
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 0.17.0.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

I'm guessing here, but maybe your emulator has limited resources. Really long/large pages have issues displaying on weaker/older devices, try the following to see if it shows up correctly:

Go to Mihon Settings > Downloads, enable "Split tall images" (this setting is not retroactive, redownload the chapter if it's already downloaded)
Download the chapter
Should load up the long/large pages better

Otherwise, another solution is to switch the reading mode to Paged

Okay I was able to fix it by changing the Resolution I am using  720p and change  to 1080p i guess it doesn't support 720p now.


smoke-test: convert a number of smoke-tests to use LocalSwarm

After looking through the remaining tests left to convert to be forge tests in the smoke-test crate I realized that a number of the tests would probably need to be heavily reworked in order to work in other environments. So in order to enable us to deprecate the existing smoke-test infrastructure (diem-swarm + cli) I've taken the route of converting a these tests to directly use the local forge backend, LocalSwarm, without fully converting them to be forge tests.

These tests don't have output.
/land


Ignore case when checking if site or pool exists

Fixes #242

It looks like the build failure is a result of moving from rubocop 0.35.1 to 0.36


TypeError: defaultSocket is undefined

getting error TypeError: defaultSocket is undefined

after adding socketURL to "http://localhost:3000/" getting following error


Switch to vector-based badges in README

Raster badges are painful on retina displays :sunglasses:

(not sure why the build failed on jruby-1.9). I should have added [skip-ci]to the commit for this readme update.

Oh, many thanks!


BUG Fix regressions in fulltextsearch

Yet another fix to framework to resolve https://github.com/silverstripe/silverstripe-cms/pull/1291

This means that the we're no longer able to search file content with the internal search code. It's a bit moot, because doing so required that there was another system that populated the Content fields, which usually wasn't implemented, but it should probably be noted in the upgrade guide.

@tractorcow I'm going to merge, but can you amend the upgrade guide to note that the File.Content field is no longer available when you get a chance?


AttributeError: 'SearchQuerySet' object has no attribute 'model'

So, actually, I found the problem now.
Any classes that inherit HaystackViewSet requires permission_classes. I added it and it worked, it seemed to never use the default one DEFAULT_PERMISSION_CLASSES set in haystack in the settings file. Even doing permission_classes = () corrects the issue.
traceback:
Traceback (most recent call last):
  File ".../env/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", line 63, in __call__
    return self.application(environ, start_response)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 157, in __call__
    response = self.get_response(request)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/base.py", line 124, in get_response
    response = self._middleware_chain(request)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 43, in inner
    response = response_for_exception(request, exc)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception
    response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 139, in handle_uncaught_exception
    return debug.technical_500_response(request, *exc_info)
  File ".../env/lib/python2.7/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
    six.reraise(exc_type, exc_value, tb)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File ".../env/lib/python2.7/site-packages/django/utils/deprecation.py", line 140, in __call__
    response = self.get_response(request)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 43, in inner
    response = response_for_exception(request, exc)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception
    response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 139, in handle_uncaught_exception
    return debug.technical_500_response(request, *exc_info)
  File ".../env/lib/python2.7/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
    six.reraise(exc_type, exc_value, tb)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File ".../env/lib/python2.7/site-packages/django/utils/deprecation.py", line 140, in __call__
    response = self.get_response(request)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 43, in inner
    response = response_for_exception(request, exc)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception
    response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 139, in handle_uncaught_exception
    return debug.technical_500_response(request, *exc_info)
  File ".../env/lib/python2.7/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
    six.reraise(exc_type, exc_value, tb)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File ".../env/lib/python2.7/site-packages/django/utils/deprecation.py", line 140, in __call__
    response = self.get_response(request)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 43, in inner
    response = response_for_exception(request, exc)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception
    response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 139, in handle_uncaught_exception
    return debug.technical_500_response(request, *exc_info)
  File ".../env/lib/python2.7/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
    six.reraise(exc_type, exc_value, tb)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File ".../env/lib/python2.7/site-packages/django/utils/deprecation.py", line 140, in __call__
    response = self.get_response(request)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 43, in inner
    response = response_for_exception(request, exc)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception
    response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 139, in handle_uncaught_exception
    return debug.technical_500_response(request, *exc_info)
  File ".../env/lib/python2.7/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
    six.reraise(exc_type, exc_value, tb)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File ".../env/lib/python2.7/site-packages/django/utils/deprecation.py", line 140, in __call__
    response = self.get_response(request)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 43, in inner
    response = response_for_exception(request, exc)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception
    response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 139, in handle_uncaught_exception
    return debug.technical_500_response(request, *exc_info)
  File ".../env/lib/python2.7/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
    six.reraise(exc_type, exc_value, tb)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File ".../env/lib/python2.7/site-packages/django/utils/deprecation.py", line 140, in __call__
    response = self.get_response(request)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 43, in inner
    response = response_for_exception(request, exc)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception
    response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 139, in handle_uncaught_exception
    return debug.technical_500_response(request, *exc_info)
  File ".../env/lib/python2.7/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
    six.reraise(exc_type, exc_value, tb)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File ".../env/lib/python2.7/site-packages/django/utils/deprecation.py", line 140, in __call__
    response = self.get_response(request)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 43, in inner
    response = response_for_exception(request, exc)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception
    response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 139, in handle_uncaught_exception
    return debug.technical_500_response(request, *exc_info)
  File ".../env/lib/python2.7/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
    six.reraise(exc_type, exc_value, tb)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File ".../env/lib/python2.7/site-packages/django/utils/deprecation.py", line 140, in __call__
    response = self.get_response(request)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 43, in inner
    response = response_for_exception(request, exc)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception
    response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 139, in handle_uncaught_exception
    return debug.technical_500_response(request, *exc_info)
  File ".../env/lib/python2.7/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
    six.reraise(exc_type, exc_value, tb)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File ".../env/lib/python2.7/site-packages/django/utils/deprecation.py", line 140, in __call__
    response = self.get_response(request)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 43, in inner
    response = response_for_exception(request, exc)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception
    response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 139, in handle_uncaught_exception
    return debug.technical_500_response(request, *exc_info)
  File ".../env/lib/python2.7/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
    six.reraise(exc_type, exc_value, tb)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File ".../env/lib/python2.7/site-packages/django/utils/deprecation.py", line 140, in __call__
    response = self.get_response(request)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 43, in inner
    response = response_for_exception(request, exc)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception
    response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 139, in handle_uncaught_exception
    return debug.technical_500_response(request, *exc_info)
  File ".../env/lib/python2.7/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
    six.reraise(exc_type, exc_value, tb)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File ".../env/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File ".../env/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File ".../env/lib/python2.7/site-packages/rest_framework/viewsets.py", line 90, in view
    return self.dispatch(request, *args, **kwargs)
  File ".../env/lib/python2.7/site-packages/rest_framework/views.py", line 489, in dispatch
    response = self.handle_exception(exc)
  File ".../env/lib/python2.7/site-packages/rest_framework/views.py", line 449, in handle_exception
    self.raise_uncaught_exception(exc)
  File ".../env/lib/python2.7/site-packages/rest_framework/views.py", line 477, in dispatch
    self.initial(request, *args, **kwargs)
  File ".../env/lib/python2.7/site-packages/rest_framework/views.py", line 395, in initial
    self.check_permissions(request)
  File ".../env/lib/python2.7/site-packages/rest_framework/views.py", line 328, in check_permissions
    if not permission.has_permission(request, self):
  File ".../env/lib/python2.7/site-packages/rest_framework/permissions.py", line 142, in has_permission
    perms = self.get_required_permissions(request.method, queryset.model)
AttributeError: 'SearchQuerySet' object has no attribute 'model'

Thanks for the report, I'll have a look at it.

Hi, sorry for nothing happening here. Do you still have issues with this? Can you try using the latest v1.8.1?
I'm not able to reproduce this in the test suite.

Hey, I'll close this for now due to no response.
Please reopen if issue persists.

Hello rhblind, could reproduce this issue using the 1.8.4!
Indeed, it works by using permission_classes = [] or permission_classes = [IsAuthenticated] as mentioned in doc at https://drf-haystack.readthedocs.io/en/latest/08_permissions.html#permissions-label. But it says also there that setting 'permission_classes' is to override a the default rest_framework.permissions.AllowAny permission class!
Perhaps a regression over the release v1.5.0 (https://drf-haystack.readthedocs.io/en/latest/#v1-5-0)?...

Huh, yeah seems like it. Thanks, I'll try to make a fix soonish!

It seems to me like this is only happening when trying to apply DjangoObjectPermissions or any permission class inherited by that. These classes are not supported since the SearchQuerySet does not have a single model attribute.
Can you guys please confirm if this is the issue?

Can confirm that using permission_classes = [DjangoObjectPermissions] trigger the issue!

@trepmag Thanks. That is not supported at the moment, but maybe I'll add some kind of support for it down the road if this is a desired feature.


Add an extra GC roots tracer for coverage_statistics.

This prevents the object's internals from being garbage collected,
as suggested by jdm on #jsapi.
Fixes BGO #742466
endlessm/eos-shell#2264

Looks plausible to me too; @magcius?
Should be attached to https://bugzilla.gnome.org/show_bug.cgi?id=742466


how to edit my own picture

Hello, how to edit my own picture？？and How to get latent？

https://github.com/BillyXYB/TransEditor/issues/3


Do not write system default settings to user settings files.

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

VS Code Version: 1.96
OS Version: Windows 10 19044

Steps to Reproduce:
Do not write system default settings to user settings files.
Hello friends! The new version of VSCode will force system defaults to be written to the user's settings file Open User Settings (JSON), which actually violates the basic principle that user settings take precedence over system defaults, and also causes great confusion to the user settings file. So please write system defaults to other files other than the user settings file Open User Settings (JSON).

For example, in the user settings file setting.json file, the new version of VSCode now forces a lot of this kind of code to be written, and this kind of code is not set or defined by the user himself, so this completely violates the basic principle that user settings take precedence over system defaults, and also causes great confusion to the user settings file. So please write the system defaults to other files other than the user settings file Open User Settings (JSON).
    "accessibility.signalOptions.volume": 70,
    "accessibility.signals.lineHasError": {
        "sound": "auto"
    },
    "accessibility.signals.lineHasWarning": {
        "sound": "off"
    },
    "accessibility.signals.lineHasFoldedArea": {
        "sound": "auto"
    },
    "accessibility.signals.lineHasBreakpoint": {
        "sound": "auto"
    },
    "accessibility.signals.lineHasInlineSuggestion": {
        "sound": "auto"
    },
    "accessibility.signals.terminalQuickFix": {
        "sound": "auto"
    },
    "accessibility.signals.onDebugBreak": {
        "sound": "auto"
    },
    "accessibility.signals.noInlayHints": {
        "sound": "auto"
    },
    "accessibility.signals.taskCompleted": {
        "sound": "auto"
    },
    "accessibility.signals.taskFailed": {
        "sound": "auto"
    },
    "accessibility.signals.terminalBell": {
        "sound": "off"
    },
    "terminal.integrated.enableVisualBell": false,

The above is just a small list of system default settings. There are still a lot of system default settings that are forced to be written to the user settings file Open User Settings (JSON) and mixed with user settings.
In fact, VSCode already provides a system default settings file, see:

Also unable to reproduce. Accessibility signal settings are written individually.

Steps to reproduce:
When VSCode is started every time, these system default settings will be forced to be written into the Open User Settings (JSON) -> settings.json file.

Start VScode;
Observe the changes in the content of the setting.json file;

I suggest that user settings and system default settings should be completely separated first. User settings can only be defined in the Open User Settings (JSON) file, and system default settings can only be written in the Open Default Settings (JSON) file related to system settings.

When I open VS Code, I do not see additional settings being written into my user-level settings file.
Could you clear the additional settings, close VS Code, and launch VS Code again with extensions disabled from the command-line (i.e. with code --disable-extensions) to see whether the issue still occurs for you? If the issue does not occur in that case, please run extension bisect to figure out which extension is causing the issue.
Also, do you have Settings Sync enabled?

Try adding the following code to the settings.json file:
  "terminal.integrated.accessibleViewPreserveCursorPosition": true,
  "accessibility.hideAccessibleView": true,

Still unable to repro after adding those settings and restarting VS Code. Could you try my steps?

Ok, I will try your steps and keep reporting back. . .

Clear the additional settings, close VS Code;

Then start VS Code again with extensions disabled from command line (i.e. use --disable-extensions ) Core --disable-extensions;

See if the problem persists? The problem did not appear in this case;

Please run extension bisect to find out which extension is causing the problem.

I don't have "settings sync" enabled.


Reasons update

The "reason for no current" sensor has new values that needs to be incorporated.
Translations should be added before release.

@tmjo Can you look at the Norwegian translations please?

@tobiasbayer Would you be able to do the new german translations please?

Sure: https://github.com/fondberg/easee_hass/pull/187

@tmjo Can you look at the Norwegian translations please?

Ok, done!


Does this connect to Redis, Encryption in transit ?

We are getting a timeout error when we connect to an instance with Encryption in Transit enabled. We have opened port 6379 the redis port, to be able to connect.

Can you give me some example on how to reproduce your problem? I haven't used encryption.

Closing due to lack of response.


Java Synchronization

Description 📜
I have created a document for Synchronization in Java
Fixes #3180

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] Java_Domain

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Karuna Sharma
I am interested

@thejayeshsoni good work

Thanks @garvitraj


Move http parser tests to be against the abstraction instead of Frame

/cc @pakrym @cesarbs

We should do the multi buffer tests as part of this change.


Rewrite api to typescript and create sharable base class (extract it to @sb-mig/core)

fix: https://github.com/sb-mig/sb-mig/issues/100

deployed to npm