Exception not handled for EventListener on boot.

In 1.x it is very common to extend the dispatcher and add our own listeners, but if a Listener requires a dependency and that dependency throws an exception, it will not be handled.
An example.
We add a HostToDaoListener, this listener requires db in it constructor, except the db service cannot connect to the database and so it throws an exception.
This exceptions is just dumped to the screen, would have assumed the exception_handler would have intercepted it, and shown the pretty screen.
Should we wrap the boot process in a try/catch block? And call the exception handler?

The same issue is present if i use SecurityServiceProvider and a custom users provider that requires a database connection, and that database is down, then ill get a whitepage (on prod because of php settings) and the ugly uncaught exception directly from php.
I cant see a way to fix this easily, as that would require using finishRequest and handleException on HttpKernel which is private.

Currently i am doing this in my Application
<?php

class Application extends \Flint\Application {
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        if (!$catch) {
            return parent::handle($request, $type, $catch);
        }

        // We are starting the request, but boot might fail, so we have to do something
        // similiar to `HttpKernel::handleException` in order to provide a good user
        // experience. More information at:
        //
        //     https://github.com/silexphp/Silex/issues/1229
        try {
            parent::handle($request, $type, $catch);
        } catch (\Exception $e) {
            $method = new \ReflectionMethod($this['kernel'], 'handleException');
            $method->setAccessible(true);

            return $method->invoke($this['kernel'], $e, $request, $type);
        }
    }
}

I don't think this can be included in Silex. For the handleException to work correctly, the exception listeners must be registered, but wrapping the boot() method with it means that we don't know where the exception is thrown.
The best thing to do is to register an error/exception handler early on (as done in Symfony).

Thats okay, just think we need to think about this.
Actually i would assume the core services is wired correctly, and therefor the handler/listener is setup correctly to handle an exception happening in the boot method.

Closing as assuming that everything is correct is probably not good enough.


Add SMI support to pigpio.

Hi,
In the past couple of days I've been trying to use the Secondary Memory Interface to drive multiple stepper motors, reworking the code given for neopixels. I don't have a working example using DMA and PWM-paced SMI asserting DREQ... yet.
The SMI mode (ALT1) allows to use 8-9-16-18 pins in parallel and adjust the pulses with 4ns precision; with DMA, PWM and using the DREQ, preloading the data in memory, would allow to produce up to 18 pulse trains, perfectly in sync, perfect timing, zero cpu use.
I was searching for code creating a memory mapped device in linux filesystem and I've found servoblaster, so I remembered the credits on pigpio and after a second look at pigpio I realized that pigpio is already doing most of the job. So probably my time could be better spent in re-basing the code upon pigpio internals instead of some custom code, in order to help other users as well.
I've zero RPi experience and zero pigpio experience; I've just started to read pigpio code. So any tip would be appreciated.

Greetings,
Yes with pigpio you can generate many DMA controlled PWM outputs.  The first consideration is the accuracy required by your application:  The timing on the pigpio PWM outputs is closer to 4 microseconds.  Also note that pigpio uses GPIO numbering based on the Broadcom specification which do not correspond to the actual pin locations on the GPIO connector on the RPi.
Good luck.

Yes with pigpio you can generate many DMA controlled PWM outputs. The first consideration is the accuracy required by your application: The timing on the pigpio PWM outputs is closer to 4 microseconds.

I don't have a numeric accuracy in mind.
My target is to generate 250k pulses (2us high, 2us low) per second (or 500k time frames per second), on 16 pins; but I need to feed the fifo from some other peripheral (usb or wifi); and I'm afraid of having jitter because of the cpu is busy in receiving the data. A few uS of jitter each mS might be ok as well, as long as I can correct the error every now and then. Can I do 250 kHz jitter free/corrected, using current code or I need to enable the SMI?
In the case of SMI, the approach used in many projects is to insert a delay control block after each data control block, ie: after each pulse, the dma sends dummy data to PWM FIFO, the PWM delays the new data block to get the exact timing of the next pulse. The rawWaveXXX functions seems to be the proper hook to get a similar behaviour. Is it correct?

Edit: I should also note that you can probably find a lot of help on the raspberrypi.org forum. pigpio is a collection of APIs that others have used to provide libraries that control stepper motors and such. Those are the folks who can probably best help you

I wrote here to figure out whether adding SMI support to pigpio would be of interest or ... just one of my dumb ideas. I didn't get how to make a real time controller out of an rpi yet. Bare metal projects have limited peripheral support, and linux projects are mostly not-realtime; when the projects required strict timing (ex: radio/sound projects) they went for DMA+PWM/PCM. But those worked on a limited amount of pins; I need 16 pins.
Thanks for all the tips. I'll write a similar message on rpi forums to see If someone can add some valuable help!

My target is to generate 250k pulses (2us high, 2us low) per second (or 500k time frames per second)

The maximum update rate for DMA driving GPIO on pigpio is 1MHz so 500KHz is the maximum frequency one can generate.

A few uS of jitter each mS might be ok as well, as long as I can correct the error every now and then. Can I do 250 kHz jitter free/corrected, using current code or I need to enable the SMI?

I don't know how to correct for jitter without adding external hardware and resampling but then you might as well use an external PWM generator chip.

I wrote here to figure out whether adding SMI support to pigpio would be of interest or ... just one of my dumb ideas.

Not dumb.  I've read the link you mentioned a while back and would love to experiment with SMI and pigpio but just never had the time.

The rawWaveXXX functions seems to be the proper hook to get a similar behaviour. Is it correct?

I don't know/have never used.  You will need to ask the developer @joan2937 .  If not here, Joan is usually responsive to questions about pigpio on the rpi forum.

My target is to generate 250k pulses (2us high, 2us low) per second (or 500k time frames per second)

The maximum update rate for DMA driving GPIO on pigpio is 1MHz so 500KHz is the maximum frequency one can generate.

Nice. What about the DMA uncached memory (mailbox) maximum size? Can I use large amounts (ex: 256MB) or there is some kind of addressing limit? I'm asking to know the maximum buffer size.

A few uS of jitter each mS might be ok as well, as long as I can correct the error every now and then. Can I do 250 kHz jitter free/corrected, using current code or I need to enable the SMI?

I don't know how to correct for jitter without adding external hardware and resampling but then you might as well use an external PWM generator chip.

Indeed the RPis 0-4 have 2 more cores in the VC4, called VPUs, and 12 QPUs ... is it possible to use them somehow? In mailbox.h there are an execute_code() and execute_qpu(). But I couldn't figure out how to use those to run a callback or something similar.

I wrote here to figure out whether adding SMI support to pigpio would be of interest or ... just one of my dumb ideas.

Not dumb. I've read the link you mentioned a while back and would love to experiment with SMI and pigpio but just never had the time.

The rawWaveXXX functions seems to be the proper hook to get a similar behaviour. Is it correct?

I don't know/have never used. You will need to ask the developer @joan2937 . If not here, Joan is usually responsive to questions about pigpio on the rpi forum.

Good questions for the forum - ie, I don't know.  Unless something has changed, the VC4 was never a public spec so your own your own there.

Unless something has changed, the VC4 was never a public spec so your own your own there.

Everywhere is written that Broadcom released the VC4 docs in 2014, but I couldn't find it anymore.
GCC didn't include VC4 support, and now is stuck at gcc6 (or 7, can't remember); and nobody put together all the bits&bytes to make something like avr-libc for AVR. And all the reverse engineering efforts existing before the docs release ... disappeared.
The chip producer has gone open source but the community (!!!) didn't take advantage of that? Mystery.

Good questions for the forum - ie, I don't know.

Here I go a bit off-topic, about the forums in general. Feel free to ignore the rant.
To tell you the truth I'm a bit skeptical about those vendor forums. They tend to ... waste time. Let's say this way.
Take as an example the one I wrote yesterday cut&paste&gluing some of the sentences I wrote here a few hours before:

there's active moderation/censorship: my message had to be approved. ie: it isn't a safe environment. There might be the need of moderation as those forums are targeted by any kind of w-w-shit. But usually that's just an excuse for the vendor to drive the communities in its own direction, whether is business or an educational institution.

the first reply it's a kind of "life lesson" nobody asked for, without any kind of advice, help, tech detail. And ... it even doesn't look to be the real author, as browsing some of his previous 1587 messages... well... he never wrote so crappy messages. It looks like he smoked a ton of crack between his previous messages and the one in my thread. Or, it isn't him. And this takes us to the third point.

Those entities usually have (or allocate) little resources to manage the forums. This doesn't allow a proper moderation and even the basic security: avoid injections, mitm, identity theft and more in general manipulation of their users. Git-based tools like github offer superior security because they add git hashing on top of large, automatic, copy-on-write filesystems and related devops. Whatever off-side track manipulation can be detected easier.

Developers oriented envs are way more effective. Because we tend to focus on topic. A bit of kindness "hello", "regards", "cheers", a couple of jokes to raise some smiles, but most of the message is on topic. It makes our time better spent.

Maybe it is just my case, but my experience have been pretty negative in the past 10-15 years.
take care


fix fix test_hive_serde_prop

Proposed changes
fellow https://github.com/apache/doris/pull/42200
Null values in text tables are now correctly recognized now.

run buildall

run buildall

be same with hive result：
hive> select * from test_open_csv_default_prop;
OK
1       John Doe        28      50000.75        TRUE    2022-01-15      2023-10-21 14:30:00     4.5     Senior Developer
2       Jane,Smith                              2020-05-20                      "Project Manager"
Time taken: 0.053 seconds, Fetched: 2 row(s)
hive> select * from serde_test7;
OK
1       NULL
2       |||
3       aaa
4       "null"
Time taken: 0.05 seconds, Fetched: 4 row(s)


Manually reload heat asset list

Fixes: #1562

Looks good in that the heat asset attributes no longer get overwritten by changing the sources.
For me the "Rescale" button isn't updating the heat asset list table. The backend action is completing and refreshing the page does show the new values. The returned JS does seem to include a line to do this ($(".primary-table").html(...)), but doesn't have any effect for me; I think the JavaScript isn't being executed?

The code did got executed but there was a intermediary form submit that caused the code after that submit not to be executed (I have no idea why, probably because you bounce of the page somewhow?). I edited it and it should now work.


regenerated test-cases

Hey, I regenerated the test-cases because of the newly added test-cases in the problem specification
Details:

https://github.com/exercism/problem-specifications/pull/2056
https://github.com/exercism/problem-specifications/issues/2054

Hey, I used GO111MODULE=off go run exercises/practice/luhn/.meta/gen.go to generate it. I have used it again, but tests.toml hasn't changed. I have also tried deleting the local problem-specifications but using remotes ones also did not change anything.

When should myself to the contributors in config.json? Also when regenerating the test-cases?

Hey, I used GO111MODULE=off go run exercises/practice/luhn/.meta/gen.go to generate it. I have used it again, but tests.toml hasn't changed. I have also tried deleting the local problem-specifications but using the remote one also did not change anything. EDIT: I will regenerate everything using configlet

My bad, it is configlet that should generate that file indeed. I haven't run this workflow in a while and I was under the (wrong) impression that the tests generators that should generate this test case, but it not. It is indeed configlet. So if you use configlet to update the file metadata (the .toml) file and then run the test generator, the test generator should use the .toml file to create the tests. That should work.

When should myself to the contributors in config.json? Also when regenerating the test-cases?

You can!

Hey, I know used the following commands:
configlet sync --tests include -u -e luhn
GO111MODULE=off go run exercises/practice/luhn/.meta/gen.go

This part should maybe be updated: https://github.com/exercism/go#generating-test-cases

This part should maybe be updated: https://github.com/exercism/go#generating-test-cases

@eklatzer Yes, we should update that part :)


Mu 13

Please, review this PR, it includes task MU-14, "MU-14: Integrate Playwright repo with GitHub Actions", I hope for your feedback.

I'll be taking a look at this once the other PR is merged.

I have already merged the previous OR, I hope for your feedback to see what I should do. Thanks.

Please, review this commit, I've fixed the observations of POM in Playwright.

Please, review this commit, I need to know what more I should do or how to focus it.

Please review for Merge. Thanks.

Please, review this PR and sorry for the multiple commits, I was testing Github actions.

Please review this PR one more time, if it's just not good, just reject it....Thanks.


SASS files don't get mapped

Since i have to process SASS files to CSS for my Angular2 app, i created the following task:
gulp.task('create:styles', function(cb) {
    return gulp.src('src/app/**/*.scss')
	             .pipe(sourcemap.init())
	             .pipe(sass().on('error', sass.logError))
	             .pipe(sourcemap.write())
	             .pipe(gulp.dest(paths.dist + '/app/'));
	});

As you can see i'm using sourcemaps plugin to map source files of styles.
Do you know why i can't see the source files (.scss) in the inspection tools of browsers? What's wrong with sourcemaps plugin?

Same problem here :|

The problem depends on Angular core code. I think it has been fixed a couple of days ago: https://github.com/angular/angular/commit/bc6d1c87a644402c2cdb9d6630bfe957eda1dc26

I don't use Angular.
As soon I can, I'll be back to this thread with a simple configuration in order to you see if I have something wrong.
Regards

Hi there. Me again.
I am not able to make it work this simple gulpfile.js
var gulp = require('gulp');
var sass = require('gulp-sass');
var sourcemaps = require('gulp-sourcemaps');

gulp.task('default', function() {
  gulp.src('src/**/*.scss')
  .pipe(sourcemaps.init())
  .pipe(sass())
  .pipe(sourcemaps.write('.'))
  .pipe(gulp.dest('.'));
});

Basically, this does not generate the sourcefile in any place. The rest works as I expect.
What am I doing wrong?
I'd appreciate any help.
Thanks

Hi again. I think I've found my problem.
First, my gulpfile.js was wrong. This is the corrected version:
var gulp = require('gulp');
var sass = require('gulp-sass');
var sourcemaps = require('gulp-sourcemaps');

gulp.task('default', function() {
  gulp.src('src/**/*.scss')
  .pipe(sourcemaps.init('.'))
  .pipe(sass())
  .pipe(sourcemaps.write('.'))
  .pipe(gulp.dest('.'));
});

Second, I had to active in my Firefox browser in developer options this one:

I was dealing with this issue for days. I hope it helps someone else.
Best regards

Here, on Chromium 52.0.2743.116 still not work:

I have no .scss file in the source folder...


unbound: ACL should generate for full WAN IPv6 prefix

Since there is a reload missing when LAN tracker gets a dedicated subnet it would be easier to extend to the real prefix so there doesn't need to be a reload.

This might be easier, but creates a security issue. It results in unbound responding to queries from clients on all tracking LAN interfaces, even if only specific network interfaces are selected on services_unbound.php. Also, the calculated prefix length is applied to IP Aliases, too.

backed out the main change, you're right

Sorry if this is not sufficient related, but with 20.7.3 I still got the problem of being denied DNS requests via IPv6 because of ACL update problems after a reconnect with updated IPs (forced daily by my bad provider 1&1 or previously a cron job). LAN is tracking WAN for an IPv6 subnet. The list on /services_unbound_acls.php contains the correct, updated IPv6 networks, but /var/unbound/access_lists.conf keeps the old entries until I restart unbound manually.

Hi @fichtner,
I sometimes run into this problem too. I receive a new prefix every night and on the next day queries are "Refused" (Reply code 5). But the ACL file (/var/unbound/access_lists.conf) contains the correct prefixe for each track interface.
However, If I restart, two lines are removed, e.g.:
access-control: 2001:12e1:d73b:9200:20d:b9ff:fe57:7758/64 allow
access-control: fd00::20d:b9ff:fe57:7758/64 allow

The first line is a address with the prefix from the day before.
Maybe the file is updated correctly (except the two lines) but not loaded by Unbound?
Thanks!


I18n Spanish: Dashboards

What are we trying to do?
This ticket is part of the DARIA translation effort. The goal is to implement all our text in both English and Spanish through the i18n* process.
This ticket is for the dashboard views.
Code link:
app/views/dashboards/*
This may not be a good intro i18n ticket
The current English text should be moved to config/locales/en.yml,
and new Spanish text should be added to config/locales/es.yml.
Google translate is perfectly acceptable!
PRs will be reviewed by a fluent CM to correct any weirdness.
How could we solve this issue?
Steps
For each view

find each instance of displayed text on the view
<%= f.date_field :appointment_date, label: 'Appointment date', autocomplete: 'off', help: "Approx gestation at appt: #{patient.last_menstrual_period_at_appt}" %>
replace it with a call to i18n t function with a unique identifier based on the file path & field
<%= f.date_field :appointment_date, label: t('patient.dashboard.appt_date'), autocomplete: 'off', help: t('patient.dashboard.approx_gestation', gest: patient.last_menstrual_period_at_appt) %>
add a config entry for each language with that identifier as the key, and the language line as the value.
en.yml:patient:
  dashboard:
    approx_gestation: 'Approx gestation at appt: %{gest}'
    appt_date: Appointment date

es.yml:patient:
  dashboard:
    approx_gestation: 'Aprox la gestación en la cita: %{gest}'
    appt_date: Día de la cita

Completed View Example
For an example of a completed view translation, see the footer view i18n PR.
Formatting in the YAML files
Each view should have a it's own section. If you see the same key being used across Some commonly used values can go under a shared secton. app/views/patients/_patient_dashboard.html.erb keys go under patient: -> dashboard:.
Finalizing with i18n-tasks
After you finish all the keys, you should run the i18n checker before committing! This sorts the keys in a standard way and checks for missing keys.
i18n-tasks normalize
i18n-tasks health - address any issues this highlights!
More info on using i18n-tasks
* 'i18n' is shorthand for 'Internationalization'. More info on i18n in Rails
Part of #1382

Most of this is handled in #1592 and #1593 but there's some partial stuff we can't do with URL params, so I think we can call this okay for now.

#1600 leaves just the tooltips left.


XmlPath getList with explicit type doesn't convert members when result really is a list

From<EMAIL_ADDRESS>on September 27, 2011 14:49:20
E.g.
<some>
<thing id="1">ikk
<thing id="2">ikk2
<thing id="3">ikk3
</some>
List ids = from(xml).getList(some.thing.@id, int.class);
ids contains a list of Strings and not ints!
Original issue: http://code.google.com/p/rest-assured/issues/detail?id=106

From<EMAIL_ADDRESS>on September 30, 2011 23:40:56
Status: Fixed


fix: fix network api error when proposal do not exist

Summary

When loading an invalid proposal like this http://localhost:8080/#/sep:0xb58B05A1c8263441Bd74454544fD66CE25D300AD/proposal/58sdfdsdsff
The page is crashing with
TypeError: Cannot read properties of null (reading 'metadata')

This PR ensures proposal object exist before any handling
How to test

Go to http://localhost:8080/#/sep:0xb58B05A1c8263441Bd74454544fD66CE25D300AD/proposal/58sdfdsdsff
There's no more error in the console (page still stuck on loading state, but out-of-scope of this PR)

There's no more error in the console (page still stuck on loading state, but out-of-scope of this PR)

I feel like we should not hide the error in the console (it will keep us wondering why it is in a loading state), instead show an error like "Proposal not find" or "Error loading proposal"

There's no more error in the console (page still stuck on loading state, but out-of-scope of this PR)

I feel like we should not hide the error in the console (it will keep us wondering why it is in a loading state), instead show an error like "Proposal not find" or "Error loading proposal"

Proposal not find is a UI issue, and will be in another pr


feature request: vm.$watch should return a Promise

I understand this would be a big breaking change but it would be useful in a promise-heavy project to be have vm.$watch return a promise instead of a function to cancel the watcher.

An Observable would fit better than a Promise (which is supposed to resolve only once, but it's not standardized yet.

An Observable makes much more sense, and in that case you probably want something like vue-rx.`
And - as you said, it's a breaking change, but I don't see returning a Promise being that useful to warrant the change.


Random Intensity transforms for test-time augmentation

Hi,
Test-time augmentation is a helpful tool to use but it seems that currently only spatial transformations are included for TTA. Intensity transformations such as Random contrast are not invertible transforms and thus cannot be used in current TTA implementation. Is there a way that I can use intensity transforms as TTA? Thanks.

Hi @rijobro ,
Could you please help share some comments about the TTA plan here?
Thank in advance.

Hi @han-liu we certainly have it on our agenda to extend invertible transforms to include more than just spatial ones.
Which intensity transform in particular are you using? Perhaps I can make this one invertible to be used as an example for future intensity transforms.

I guess invertible transforms don't have to be necessarilly mathematically invertible. We just need to define a suitable pseudo-inverse for it.
The example of adding Gaussian noise on the image intensities is interesting to consider. We could either make it an invertible transform by storing the noise added at test-time or just forget about the noise values and consider that the pseudo-inverse is the identity mapping. In any case, if TTA with Gaussian noise on the image intensities is to be used for segmentation purposes, the noise values are irrelevant (just a nuisance paraneters) for the segmentation output. In this case the pseudo-inverse to be applied to the network output is the identity.
Do we already handle different specialisation of the inverse transformation based on the type of network output?
In terms of really non-invertible transforms (those where storing the parameters is not enough to revert it up to numerical issues), I don't have a realistic example in mind. However, I guess that considering an image intensity change transform whereby we take the absolute value of the input intensity is a sufficient test case. In this scenario, we might want to have no defined inverse if the network is an auto-encoder but consider an identity pseudo-inverse if the network output is a segmentation map.
By the way, this raise the question of what to do for networks which are note image-in-image-out, e.g. classifiers. There as well, we might need to specialise the definition of inverse.
So in short, we should probably include some knowledge of the codomain and whether the transform acts of the input domain and output codomain in an equivariant fashion.


Discussion: Adjust determination zone of bullets

I just played taisei, then I found,
in taisei/touhou project, the determination zone of the bullets is only the center,
while in touhosu, it is the whole of the bullet.

Now in touhosu, some maps are very diffcult to FC...

Fixed in latest release.


deadlock on Close()

Ryan found a deadlock in his testing -- turns out that we can hang hard waiting for Close() to complete.

The issue is that the logic in the socket linger code is incorrect -- specifically a break statement was intended to break a for loop, but only breaks the select statement.


⚠ Samsung has degraded performance

In 118c490, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3246 ms

Resolved: Samsung performance has improved in ab14ca9.


docker login should never register a new account or implicitly assume dockerhub

Currently whenever I type in docker login and forget about passing a URL of my private repository, it will default to dockerhub. Even worse, if I type in a non-existing user details, a new account will be registered for me. Unless there are some factors that I do not unterstand yet, this seems like a serious security issue.
Imagine a deployment script which performs a docker login $repoUrl and repoUrl somehow ends up empty. Or a distracted employee who types in only docker login without a repository URL. Private-registry specific username/password/email is fed to docker login and a new dockerhub account is created. This is completely unintended behavior, and there are multiple problems with that:

it is too easy to send trusted credentials to a third party service (dockerhub)
even though the account needs an activation, and image name usually contains a repository URL, I can imagine a corner case (in current or some future docker/dockerhub version) in which the actual docker push sends some or all of my private layers a public repository. It's not like docker has no critical issues every now and then.

Especially dangerous corner case is a person who has the same credentials for docker registry and private repository as no account activation is needed.
The implicit registration could be solved by a separate command like docker register.
Implicit choice of dockerhub could be solved by simply requiring user to type in the repository URL. Okay, this is a little less convenient, but gives much more confidence when working with docker. If it is a big pain then why not allow user to create a .dockerpass file in their home with default credentials and repository (similar to postgresql with it's .pgpass) - then at least user could have a chance to explicitly express desire to even use dockerhub.

Hi!
If you are reporting a new issue, PLEASE make sure that does not have any duplicates already open.
We would like to take this time to remind you of the information we need to debug the problem you are seeing. This is an automated response so if this ticket is not about a bug, do not fret.
If you fail to provide this information within 7 days, we will close this because we cannot debug your issue. We can reopen whenever the information is provided.
Thank you.
Please see:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues
Description of problem:

`docker version`:

`docker info`:

`uname -a`:

Environment details (AWS, VirtualBox, physical, etc.):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual Results:

Expected Results:

Additional info:

#ENEEDMOREINFO

This is a feature not a bug

Of course we all know it, the problem is that it's implementation creates a security risk. As I mentioned - it's too easy to misuse it and the potential consequences are very serious.

The workaround I use at the moment is to block docker registry in /etc/hosts like this:
<IP_ADDRESS> docker.io

However it's not the best one as I cannot download public images from dockerhub anymore.

I agree that trying to register a new account from the same endpoint as a regular login is a bad idea. I also wonder how many users have actually used this feature (or even know it existed). IMO, this feature should just be removed, and output a regular error.
I noticed a similar discussion taking place here https://github.com/docker/distribution/issues/308.
ping @ewindisch @diogomonica @NathanMcCauley for an opinion from a security perspective (also see the linked https://github.com/docker/distribution/issues/308 discussion)

I'm pretty sure this is fixed. We even removed the requirement of the email recently #20565. Closing as fixed.


ENT-7423: Added implementation for iptables custom promise policy command

Testing of the module was done as follows:
iptables -F && iptables -P INPUT ACCEPT
iptables -L
#Chain INPUT (policy ACCEPT)
#target     prot opt source               destination
#
#Chain FORWARD (policy DROP)
#target     prot opt source               destination
#
#Chain OUTPUT (policy ACCEPT)
#target     prot opt source               destination

cf-agent -KI test.cf
#R: --- aggressive_policy ---
#    info: Setting policy of chain 'INPUT' in table 'filter' to 'DROP'
#    info: Setting policy of chain 'INPUT' in table 'filter' to 'DROP'
#    info: Setting policy of chain 'INPUT' in table 'filter' to 'DROP'

iptables -L
#Chain INPUT (policy DROP)
#target     prot opt source               destination
#
#Chain FORWARD (policy ACCEPT)
#target     prot opt source               destination
#
#Chain OUTPUT (policy ACCEPT)
#target     prot opt source               destination

Ticket: ENT-7423

For validation testing the above policy was tweaked as follows:
bundle agent aggressive_policy
{
  iptables:
      "aggressive_policy"
        command => "policy",
        chain => "INPUT",
        protocol => "tcp",  # denied in policy
        source => "<IP_ADDRESS>",  # denied in policy
        target => "DROP";

  reports:
      "--- ${this.bundle} ---";
}

Output:
R: --- aggressive_policy ---
   error: Attributes {'protocol', 'source'} are invalid for command 'policy' for iptables promise with promiser 'aggressive_policy' (test.cf:16)
   error: Attributes {'protocol', 'source'} are invalid for command 'policy' for iptables promise with promiser 'aggressive_policy' (test.cf:16)
   error: Attributes {'protocol', 'source'} are invalid for command 'policy' for iptables promise with promiser 'aggressive_policy' (test.cf:16)

For command validation one further test was performed with:
bundle agent aggressive_policy
{
  iptables:
      "aggressive_policy"
        command => "not_a_command",
        chain => "INPUT",
        target => "DROP";

  reports:
      "--- ${this.bundle} ---";
}

Output:
R: --- aggressive_policy ---
   error: Attribute value 'not_a_command' is not valid. Available values are: ('policy',) for iptables promise with promiser 'aggressive_policy' (test.cf:16)
   error: Attribute value 'not_a_command' is not valid. Available values are: ('policy',) for iptables promise with promiser 'aggressive_policy' (test.cf:16)
   error: Attribute value 'not_a_command' is not valid. Available values are: ('policy',) for iptables promise with promiser 'aggressive_policy' (test.cf:16)


⚠ Jenkins Plugins Artifactory has degraded performance

In 6529aec, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1347 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 1b73779 after 12 minutes.


Border

border-x, and border-y not working.
Ment to do the same as border-x-1, and border-y-1, but should be there for consistency.
https://warp-ds.github.io/css-docs/border-width

@AnnaRybkina do you know if this issue can be closed?

@AnnaRybkina do you know if this issue can be closed?

I think we need to add those new to the docs and then we can close it. I'll add them now


Add option to define custom brackets for units in plots

[x] Tests added
[x] User visible changes (including notable bug fixes) are documented in whats-new.rst
[ ] New functions/methods are listed in api.rst

We encountered the issue that we should plot units as (unit) instead of [unit].
This PR enables us to do exactly this, easier to change this at the source ;)
I think setting this as a global option is the correct approach, but feel free to propose alternatives :)

yeah I'm not sure we should do this. Is there a more matplotlib-native way through pint perhaps?

I have simplified this approach, now you define directly the format string instead of the brackets.
Much simpler and more flexible.
If you decide to scrap this, also fine by me :)

Is the current approach still too specific? I'm fine with closing this.

I'm also inclined to avoid more global options. Our general suggestion in this case is to simply fix up the plot after. I also wonder if there's a way to control formatting by passing pint arrays through.


IIS deployment is not working

Hi,
I created new application in .Net core and Angular JS. I did on click publish to IIS server, it is not working.
I am getting the below mentioned error.
project structure

My deployment folder

Raw error detail:
System.AggregateException: One or more errors occurred. (One or more errors occurred. (The NPM script 'start' exited without indicating that the Angular CLI was listening for requests. The error output was: npm ERR! Error: ENOENT, open 'D:\EQ\UI\node_modules\start\package.json'
npm ERR!  { [Error: ENOENT, open 'D:\EQ\UI\node_modules\start\package.json']
)) ---> System.AggregateException: One or more errors occurred. (The NPM script 'start' exited without indicating that the Angular CLI was listening for requests. The error output was: npm ERR! Error: ENOENT, open 'D:\EQ\UI\node_modules\start\package.json'
npm ERR!  { [Error: ENOENT, open 'D:\EQ\UI\node_modules\start\package.json']
) ---> System.InvalidOperationException: The NPM script 'start' exited without indicating that the Angular CLI was listening for requests. The error output was: npm ERR! Error: ENOENT, open 'D:\EQ\UI\node_modules\start\package.json'
npm ERR!  { [Error: ENOENT, open 'D:\EQ\UI\node_modules\start\package.json']
---> System.IO.EndOfStreamException: Attempted to read past the end of the stream.
at Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliMiddleware.StartAngularCliServerAsync(String sourcePath, String npmScriptName, ILogger logger)
--- End of inner exception stack trace ---
at Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliMiddleware.StartAngularCliServerAsync(String sourcePath, String npmScriptName, ILogger logger)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)    at Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliMiddleware.<>c.<Attach>b__2_0(Task1 task)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown ---    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)
at Microsoft.AspNetCore.SpaServices.Extensions.Util.TaskTimeoutExtensions.WithTimeout[T](Task1 task, TimeSpan timeoutDelay, String message)    at Microsoft.AspNetCore.SpaServices.Extensions.Proxy.SpaProxy.PerformProxyRequest(HttpContext context, HttpClient httpClient, Task1 baseUriTask, CancellationToken applicationStoppingToken, Boolean proxy404s)
at Microsoft.AspNetCore.Builder.SpaProxyingExtensions.<>c__DisplayClass2_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
at Flex.EQ.UI.Startup.<>c__DisplayClass5_0.<b__0>d.MoveNext() in C:\TFSCorp\MPDM Tracker\Dev\Client\Flex.EQ.UI\Startup.cs:line 91
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
---> (Inner Exception #0) System.AggregateException: One or more errors occurred. (The NPM script 'start' exited without indicating that the Angular CLI was listening for requests. The error output was: npm ERR! Error: ENOENT, open 'D:\EQ\UI\node_modules\start\package.json'
npm ERR!  { [Error: ENOENT, open 'D:\EQ\UI\node_modules\start\package.json']
) ---> System.InvalidOperationException: The NPM script 'start' exited without indicating that the Angular CLI was listening for requests. The error output was: npm ERR! Error: ENOENT, open 'D:\EQ\UI\node_modules\start\package.json'
npm ERR!  { [Error: ENOENT, open 'D:\EQ\UI\node_modules\start\package.json']
---> System.IO.EndOfStreamException: Attempted to read past the end of the stream.
at Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliMiddleware.StartAngularCliServerAsync(String sourcePath, String npmScriptName, ILogger logger)
--- End of inner exception stack trace ---
at Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliMiddleware.StartAngularCliServerAsync(String sourcePath, String npmScriptName, ILogger logger)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)    at Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliMiddleware.<>c.<Attach>b__2_0(Task1 task)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
---> (Inner Exception #0) System.InvalidOperationException: The NPM script 'start' exited without indicating that the Angular CLI was listening for requests. The error output was: npm ERR! Error: ENOENT, open 'D:\EQ\UI\node_modules\start\package.json'
npm ERR!  { [Error: ENOENT, open 'D:\EQ\UI\node_modules\start\package.json']
---> System.IO.EndOfStreamException: Attempted to read past the end of the stream.
at Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliMiddleware.StartAngularCliServerAsync(String sourcePath, String npmScriptName, ILogger logger)
--- End of inner exception stack trace ---
at Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliMiddleware.StartAngularCliServerAsync(String sourcePath, String npmScriptName, ILogger logger)<---
<---

I got the same issue ? did we find ant solution ?

I am also facing the same. Please post the solution if you got this solved.

SAME ISSUE :(

Hello Guys,
I spent dew days behind this and finally got solved. Since i am a newbie to angular this helped to learn many thins. :).
So my problem was actually the root path of Spafiles was different on Startup class.
services.AddSpaStaticFiles(configuration =>             {                 configuration.RootPath = "ClientApp/dist/ClientApp";             });
First you need to check the out path in your angular.jsonj file
"outputPath": "dist/ClientApp",
and put the same in Startup class static file root path.
And mainly about the error, actually this error message is nothing related to our actuall error message. While deploying our application to a server already the all npm/ng build activities are done and VS will copy those file to the server.
But if we have enabled the asp.net core environment as development mode in server then the following code will get executed in startup class.
if (env.IsDevelopment())                 {                     spa.UseAngularCliServer(npmScript: "start");                 }
which shouldn't happen in server. So if you guys are deploying this application in development mode to server, try to comment out this line, then only you will get to know the actual error.
So .net is actually using this npm start(ng serve) to run the application in your local machine

https://stackoverflow.com/questions/52724294/how-to-solve-the-npm-script-start-exited-without-indicating-that-the-angular-c
i posted here today .. but no one reply my error.. please check


DOCK-2477: Accept pairs of internal hyphens/underscores in entry names

Description
This PR changes the webservice to allow two consecutive internal hyphens/underscores in Entry names.  Runs of three or more hyphens or underscores are still rejected, because we probably don't want entry names like foo___________bar.
Whilst changing the responsible regular expression, I converted all of the quantifiers to be possessive, because there's no need for backtracking during matching.  https://docs.oracle.com/javase/tutorial/essential/regex/quant.html
This will slightly improve performance and reduce the chance that the regexp could be used for a DOS attack.
The message that describes the requirements for an entry name (ENTRY_NAME_REGEX_MESSAGE) covers both the old and new criteria, so it doesn't need to change.
Review Instructions
Register a valid entry with a name that contains two consecutive internal hyphens/underscores, and confirm the entry was successfully registered.
Issue
https://ucsc-cgl.atlassian.net/browse/DOCK-2477
Security and Privacy
No concerns.

[x] Security and Privacy assessed

e.g. Does this change...

Any user data we collect, or data location?
Access control, authentication or authorization?
Encryption features?

Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that you pass the basic style checks and unit tests by running mvn clean install
[x] Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
[x] Follow the existing JPA patterns for queries, using named parameters, to avoid SQL injection
[x] If you are changing dependencies, check the Snyk status check or the dashboard to ensure you are not introducing new high/critical vulnerabilities
[x] Assume that inputs to the API can be malicious, and sanitize and/or check for Denial of Service type values, e.g., massive sizes
[x] Do not serve user-uploaded binary images through the Dockstore API
[x] Ensure that endpoints that only allow privileged access enforce that with the @RolesAllowed annotation
[x] Do not create cookies, although this may change in the future
[x] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.

Runs of three or more hyphens or underscores are still rejected

I feel like I know the next issue in this chain :grin:


Include localisation headers

This will pass x-site-country and x-site-language in to both a template and an html fragment.
See tes/resources#5032

lgtm - thanks

Published with version 2.1.28


No adapter specified in my SvelteKit Project

Describe the bug
My project runs perfectly when I run it in dev mode "npm run dev".
But when I build it, it gets this error:
No adapter specified
I run "npm run preview" and run the build mode in my localhost:3000 and everything happens perfectly, I can access my app normally, with no errors in the console.
There are no errors, just No adapter specified that's the strange thing.
Reproduction
Attempting this in another project, can't reproduce this currently,
Attempted to reproduce this however was unable.
Logs
There are no errors in the consoles, only:

`No adapter specified
See https://kit.svelte.dev/docs/adapters to learn how to configure your app to run on the platform of your choosing`

System Info
System:
    OS: Windows 10 10.0.19044
    CPU: (8) x64 Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
    Memory: 8.44 GB / 15.86 GB
  Binaries:
    Node: 17.2.0 - C:\Program Files\nodejs\node.EXE
    npm: 8.1.4 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (104.0.1293.63)
    Internet Explorer: 11.0.19041.1566
  npmPackages:
    @babel/runtime: ^7.18.9 => 7.18.9
    @sveltejs/adapter-auto: next => 1.0.0-next.17
    @sveltejs/kit: next => 1.0.0-next.267
    @tinymce/tinymce-svelte: ^1.0.0 => 1.0.0
    firebase: ^9.8.1 => 9.8.1
    instantsearch.js: ^4.44.0 => 4.44.0
    leaflet: ^1.7.1 => 1.7.1
    prettier: ^2.5.1 => 2.5.1
    prettier-plugin-svelte: ^2.5.0 => 2.6.0
    svelte: ^3.44.0 => 3.48.0
    svelte-loading-spinners: ^0.1.7 => 0.1.7
    svelte-slidy: ^2.8.7 => 2.8.7
    typesense-instantsearch-adapter: ^2.4.1 => 2.4.1
    uuid: ^8.3.2 => 8.3.2

Severity
serious, but I can work around it
Additional Information
No response

The error almost certainly is that you don't have an adapter specified in svelte.config.js. Not having an adapter won't stop dev from working. It won't even actually stop build from working - it's just that the build will then only work with preview and not as a proper standalone app.

I surmise the "you can close this" comments on #2598 were referring to this issue.

yes, sorry.


181 Make list, list group, and list item Paper

[ ] leading/trailing adornment changed to leading/trailing slots
[ ] List text prop removed and given the default slot
[ ] Nested content given the "sublist" prop name


Removed projects and repositories should be disappeared after some time

Currently, removed projects and repositories are not removed, but just renamed with having the suffix of .removed.
We need to provide a way to remove them permanently when N(configurable, can be 0) days has passed.

Duplicate of #47


PermissionError: [WinError 5]

I have an error in Windows when running  litgpt download --repo_id microsoft/phi-2
The error may be in os.remove(path)

try:
               os.remove(path)
               os.rename(conv_path, path)
           except:
               break
               pass

Thanks for reporting! Unfortunately, I don't have a windows machine to test it, but we need to investigate ... Maybe @carmocca  can help here as I think he has a non-mac computer.

I use Linux. @Magniveo What's the error you get exactly? Are you able to reproduce the issue in a script that only runs those lines? Do you have proper permissions in that directory?

The error PermissionError: [WinError 5] persists, even after attempting to solve it with administrative privileges.

Does
import shutil
shutil.rmtree(safetensor_path)

work?
Nope, there's another error
File "C:\Python312\Lib\shutil.py", line 621, in _rmtree_unsafe
with os.scandir(path) as scandir_it:
NotADirectoryError: [WinError 267]

My bad. I thought rmtree worked for files

I use Linux.

Ah my bad, I thought you might have a dual boot or WSL setup. Now I know :)

I can confirm this error (windows 10 machine without WSL).
PermissionError: [WinError 5] Access is denied: 'checkpoints\\microsoft\\phi-2\\model-00001-of-00002.safetensors'
the error happens for other LLM's as well.
commenting out line 104 of download.py does the trick.
whole error:
command run:  litgpt download microsoft/phi-2
PS C:\Data\code\litGPT> litgpt download microsoft/phi-2
repo_id: microsoft/phi-2
Setting HF_HUB_ENABLE_HF_TRANSFER=1
C:\Data\apps\v_envs\py310_gpt\lib\site-packages\huggingface_hub\file_download.py:1132: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
  warnings.warn(
C:\Data\apps\v_envs\py310_gpt\lib\site-packages\huggingface_hub\file_download.py:1194: UserWarning: `local_dir_use_symlinks` parameter is deprecated and will be ignored. The process to download files to a local folder has been updated and do not rely on symlinks anymore. You only need to pass a destination folder as`local_dir`.
For more details, check out https://huggingface.co/docs/huggingface_hub/main/en/guides/download#download-files-to-local-folder.
  warnings.warn(
Converting .safetensor files to PyTorch binaries (.bin)
checkpoints\microsoft\phi-2\model-00001-of-00002.safetensors --> checkpoints\microsoft\phi-2\model-00001-of-00002.bin
Traceback (most recent call last):
  File "C:\Program Files\Python-3102\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Program Files\Python-3102\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Data\apps\v_envs\py310_gpt\Scripts\litgpt.exe\__main__.py", line 7, in <module>
    sys.exit(main())
  File "C:\Data\apps\v_envs\py310_gpt\lib\site-packages\litgpt\__main__.py", line 57, in main
    CLI(parser_data)
  File "C:\Data\apps\v_envs\py310_gpt\lib\site-packages\jsonargparse\_cli.py", line 119, in CLI
    return _run_component(component, init.get(subcommand))
  File "C:\Data\apps\v_envs\py310_gpt\lib\site-packages\jsonargparse\_cli.py", line 196, in _run_component
    return component(**cfg)
  File "C:\Data\apps\v_envs\py310_gpt\lib\site-packages\litgpt\scripts\download.py", line 104, in download_from_hub
    os.remove(safetensor_path)
PermissionError: [WinError 5] Access is denied: 'checkpoints\\microsoft\\phi-2\\model-00001-of-00002.safetensors'

Windows is odd.
What makes it a bit more "spicy" is that, apparently, none of the maintainers have Windows machine.
Debugging it via CI is sub-optimal, to say at least.
So far I've tried manually change permission to the least restrictive (777) but it didn't help.
I guess the best option for right now is to catch this error and print a message saying that a user has to delete .safetensor file manually to save some disk space.
What do you think @rasbt?

Windows is odd.

Yes I know, but my current company machine only has windows (without WSL activated unfortunately)
your suggestion to print an message sounds helpful for the user to me.
Thanks!

Thanks for investigating @Hungryarie, this level of information is really appreciated!
@Andrei-Aksionov I agree, let's catch this and print a message (done via #1507 )
(PS: I can't really test it, but I wonder if
file_path = Path('your_file.txt')
file_path.unlink()

could work (not sure how it differs under the hood, whether it just calls os.remove or does something additionally)

I have already tried it :)
And it didn't work.
I'll create a PR a bit later.


No .log file if running in debug and build from source

What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
alacritty 0.14.0
yazi --debug output
Yazi
    Version: 0.4.3 (2770e025 1980-01-01)
    Debug  : true
    Triple : x86_64-unknown-linux-gnu (linux-x86_64)
    Rustc  : 1.83.0 (90b35a62 2024-11-26)

Ya
    Version: 0.3.3 (Nixpkgs 2024-09-04)

Emulator
    Brand.from_env      : Some(Alacritty)
    Emulator.detect     : Emulator { kind: Left(Alacritty), light: false, cell_size: None }
    Emulator.detect_full: Ok(Emulator { kind: Right(Unknown { kgp: false, sixel: false }), light: false, cell_size: None })

Adapter
    Adapter.matches: Chafa

Desktop
    XDG_SESSION_TYPE           : Some("wayland")
    WAYLAND_DISPLAY            : Some("wayland-0")
    DISPLAY                    : Some(":0")
    SWAYSOCK                   : None
    HYPRLAND_INSTANCE_SIGNATURE: None
    WAYFIRE_SOCKET             : None

SSH
    shared.in_ssh_connection: false

WSL
    WSL: false

NVIM
    NVIM          : false
    Neovim version: 0.10.2

Variables
    SHELL           : Some("/nix/store/f33kh08pa7pmy4kvsmsibda46sh46s66-bash-interactive-5.2p37/bin/bash")
    EDITOR          : Some("nvim")
    VISUAL          : None
    YAZI_FILE_ONE   : None
    YAZI_CONFIG_HOME: None
    YAZI_ZOXIDE_OPTS: None
    FZF_DEFAULT_OPTS: None

Text Opener
    default     : Some(Opener { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
    block-create: Some(Opener { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
    block-rename: Some(Opener { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })

Multiplexers
    TMUX               : 0
    tmux version       : tmux 3.5a
    tmux build flags   : enable-sixel=Unknown
    ZELLIJ_SESSION_NAME: None
    Zellij version     : No such file or directory (os error 2)

Dependencies
    file          : 5.45
    ueberzugpp    : 2.9.6
    ffmpeg/ffprobe: No such file or directory (os error 2) / No such file or directory (os error 2)
    pdftoppm      : No such file or directory (os error 2)
    magick        : No such file or directory (os error 2)
    fzf           : 0.56.2
    fd/fdfind     : No such file or directory (os error 2) / No such file or directory (os error 2)
    rg            : No such file or directory (os error 2)
    chafa         : No such file or directory (os error 2)
    zoxide        : No such file or directory (os error 2)
    7z/7zz        : No such file or directory (os error 2) / No such file or directory (os error 2)
    jq            : No such file or directory (os error 2)

Clipboard
    wl-copy/paste: No such file or directory (os error 2) / No such file or directory (os error 2)
    xclip        : No such file or directory (os error 2)
    xsel         : No such file or directory (os error 2)

Describe the bug
I am using alacritty and wanted to debug why images are not shown. After following the instructions on how to debug Überzug++. I cloned the repo and build it from source with cargo build --locked and ran it with ./target/release/yazi. Sadly the log file is not created in this mode. Maybe this is not a bug more a feature request.
Minimal reproducer
git clone https://github.com/sxyazi/yazi.git
cd yazi
cargo build --locked
./target/release/yazi
Anything else?
No response
Checklist

[X] I tried the latest nightly build, and the issue is still reproducible
[X] I updated the debug information (yazi --debug) input box to the nightly that I tried
[X] I can reproduce it after disabling all custom configs/plugins (mv ~/.config/yazi ~/.config/yazi-backup)

Have you set the YAZI_LOG environment variable? https://yazi-rs.github.io/docs/plugins/overview#logging

Yep, thats my bad. Sorry!
But I am still not getting any logs for Ueberzug++. Only for PDF.
ERROR yazi_scheduler::prework::prework: Returned 0 when running preloader pdf with

Adapter.matches: Chafa

This is because Yazi is using Chafa instead of Ueberzug++, since Ueberzug++ only supports Sway, Hyprland, and Wayfire, and you're not on any of those:

SWAYSOCK                   : None

HYPRLAND_INSTANCE_SIGNATURE: None
WAYFIRE_SOCKET             : None

See https://yazi-rs.github.io/docs/image-preview#protocol

@sxyazi And thanks for the quick and awesome replies! Awesome project!


flow unittesting should cover all possible combinations/configurations

Otherwise we run into downstream problems where some unexpected combination of layer tree options results in an error.
This would be vastly simplified if we could simplify the complexity of the structs used for e.g. preroll/paint.
/cc @flar

Triage: Is this is a call for fuzz-testing with flow? That seems like a reasonable ask.

xref https://github.com/flutter/flutter/issues/134760

We should work on https://github.com/flutter/flutter/issues/134759 first.

Marking this P3 to clarify its priority relative to simplifying flow over all.

Are there any approaches we could take to improve rendering test coverage that aren't blocked on https://github.com/flutter/flutter/issues/134760 ?

I think we need a couple of different combinatorial tests.
One that focuses on the Canvas API, whether from ui.Canvas or DlCanvas or both.
And another that focuses on engine layers.
Fuzz-testing is part of it, but we don't really even test the regular bells and whistles completely, so they could be viewed as separate issues (test functionality first and then add fuzz testing of bounds and limits later).
In either case, simplifying flow only really affects the layer-based combinatorial testing. The *Canvas combinatorials can happen independently and without really any prerequisites. dl_rendering_unittests.cc is a potential harness to use on the latter - I think it is close - but it currently only tests that DLs are well-formed and consistent with SkPictures.

Here's what I'm thinking we should do, and I'm wondering if folks see any issues with this approach:

Ensure that the scenario tests for both iOS and Android can be wired up to SkiaGold.
Write the combinatorial tests that @flar is describing against ui.Canvas to run as part of the scenario tests.
Use SkiaGold to validate the results.

That would make sure that the tests are written against the public API, which users actually see, and run against Impeller rather than Skia. If it turns out that there is too much churn in the goldens, we can isolate and modify the culprit tests to be more stable.
Thoughts?

One thing that could reduce the number of goldens is to have the tests in a grid form to reduce at least one axis from the combinatorial matrix. The question is if a grid of NxM tests compresses as well or maybe better than N*M individual images?
So, for example, if we are testing ColorFilter then we have a grid of all rendering ops each rendered with a CF, next golden is all of those ops with a different CF or an ImageFilter. The grid could also be "rendering ops across, various transforms down" (consolidating 2 axes in each test) depending on how large of an image we can manage in the engine.
We might also have some isolated tests to test, say, really complex paths or large blurs etc., but those wouldn't have to be combinatorial.

Axes of the combinatorial matrix would include:

filled

stroked with

a couple of widths
all 3 caps
all 3 joins

with/without ColorFilter, ImageFilter, MaskFilter

with colors, gradients, other ColorSource

all of that under various transforms

all of that under various clips

a saveLayer suite with:

various ImageFilters and alphas on the Paint
content that is within, clipped by, or outside the bounds

Much of this is already metered out by dl_rendering_tests.cc, but it is more "one attribute at a time" than "several attributes at a time". For example, the transforms are not combined with various CF/IF/etc. It records with a transform and validates the DL and then it records with a bunch of transforms, then it records with a bunch of clips, then ...

Something I've done in the past for benchmarks might be useful here.
Basically I had a program that could work in either interactive or batch mode. It had all of the various configuration options to specify any combination of state/attributes and rendering primitives and the UI allowed you to configure those - enabling multiple options and multiple rendering ops, etc. You could then run a benchmark composed of those operations (and this could be extended to a golden image generation/comparison mode as well) and/or save the configuration for further testing. For CI testing a QA engineer ran the UI, selected a wide variety of options, and saved the configuration and that became a script to run it in batch mode during our QA (or CI) cycles.
This could let us tailor a sparser matrix, or a concatenation of matrices of various sparseness, for CI testing and perhaps have a more thorough matrix that we ran occasionally just to double check. We might want to populate the matrix differently if we are using for both golden testing and benchmarking.
Either way, the tool would also be available for more focused internal testing while working on the engine.
One stumbling block I see here is that it would likely live in the engine which means that having it depend on Flutter for its UI creates a chicken and egg issue. It is similar to Playground except that it is more of Playground plus a test case generator than just a visualization backend for an existing test case. The UI tools used by Playground for adjusting the options in the test cases could be used without a dependency on Flutter, but it would be hard to do an "end-to-end" test through ui.Canvas that way.

From the discussion spurred by this thread, https://github.com/flutter/flutter/issues/135693 tracks creating a test harness that allows us to one of what this issue seeks to do many of.


NamingService management not support spring.cloud.nacos.discovery.group ?

Configuration management support spring.cloud.nacos.config.group , but NamingService management not support spring.cloud.nacos.discovery.group ?
I do not find group in NacosDiscoveryProperties .
Is this a bug or feature?
thanks.

It will be supported in 2.1.1.RELEASE version and welcome to contribute it.

It will be supported in 2.1.1.RELEASE version and welcome to contribute it.

Exciting!


source code contains CSS=[Object Object]

@lpatiny
because we use emotion js library https://emotion.sh/docs/introduction for styling things in our project.

You need there is a bug in emotion ? You can fill a ticket ?
Because in other projects using this library this does not happen.

By the way did you import emotion in that file ? Because CSS property should have been replaced.

I fix this problem.


Access form's innerRef by form ref

[ ] I want to submit a bug
[x] I want to submit a feature

What
I am suggesting to add a possibility to access the form's inner ref by using the form's ref.
Why
To prevent code repetition. This is how you would do that now, in case you need to access ref and innerRef at the same time:
<Form ref={ ... } innerRef={ ... } />

How
<Form ref={ form => this.form } />

// Get innerRef
this.form.innerRef;

Keynotes

Explicit innerRef prop stays intact

Merged.
Released under 0.19.12. Closing.


noble stateChange not auto poweredOn when inject USB bluetooth!

Hi
I have a problem. When running example enter-exit.js:
noble.on('stateChange', function(state) {
if (state === 'poweredOn') {
console.log(noble);
console.log('start');
noble.startScanning([], true);
} else {
console.log('STOP');
noble.stopScanning();
}
});

if reject USB bluetooth then noble stateChange fire noble.stopScanning() is good.
But when i inject USB again then NoBle not Fire poweredOn, so "noble.startScanning([], true);" not run again.

Can anyone help me fix problem.

@tinamore noble does not have support to power up the adapter.
After inserting your USB adapter you can run: sudo hciconfig hci0 up to power it up.


@callback gets called 2x times on initial load

Hi. I need to do some ajax requests on change and I tried using the @callback but it gets fired 2 times on initial load of the slider. Is this a normal behaviour or something with me is triggering the change?

thank you for your issue. this is a bug, and I've been in @2.2.4 version fix it.

Great job! Just tested ;)

@NightCatSama Hey I noticed a strange issue. Callback event gets called only after I do a click on the line. If I only drag the handles @callback never gets called.

I drag the handles is calling the @callback,  so tell me what is your configuration.
this is my conf:
<vue-slider
      v-model="val"
      :lazy="true"
      @callback="cb"
></vue-slider>

Pretty much the same. My val  is actually a computed property with a get and set to be able to use it with Vuex but that is not the issue. On first init, on Firefox, if I ONLY drag the handled, I never get a callback emitted. If I click on the line after that drags generate callbacks. I will try to do a fiddle in a few minutes.

Oop. Yes, this is a bug, you are very helpful.I will in the next version.
Thank you.

Fix the bug in the version @2.2.5.
Thank you again for your time to help me solve this problem.


[GAPRINDASHVILI]BZ#1514080-Update pf dep, bugfixes resolve dropdown calculation error

https://bugzilla.redhat.com/show_bug.cgi?id=1514080

@AllenBW Can I just backport https://github.com/ManageIQ/manageiq-ui-service/pull/1287 ?

@simaishi oh yah know, i was thinking not, because there might be a lockfile conflict... but maybe so.... could give it a try, if it works then i'll close this if not, then yay !


z-wave power strip connection weak

Monitor:

23:36 | Cannot start Z-Wave binding: Error: Binding with name 'zway' already exists
21:24 | Connection lost to Z-Wave device ID: 2
21:23 | Connection lost to Z-Wave device ID: 2
21:21 | Connection lost to Z-Wave device ID: 2
21:20 | Connection lost to Z-Wave device ID: 2
21:20 | Connection lost to Z-Wave device ID: 2
21:10 | Z-Wave device ID is back to life: 2

I had to reboot RaspberryPi2 in order for the connection to recover.
This product: Aeotec by Aeon Labs DSC11 Smart Power Strip Z-Wave Power Sockets

It still does lose connection regularly. Sometimes it remains disconnected for several minutes, which is bad.
17:12 | Z-Wave device ID is back to life: 2
17:12 | Z-Wave device ID is back to life: 2
17:11 | Z-Wave device ID is back to life: 2
17:11 | Z-Wave device ID is back to life: 2
17:11 | Z-Wave device ID is back to life: 2
17:11 | Z-Wave device ID is back to life: 2
17:11 | Connection lost to Z-Wave device ID: 2
17:01 | Connection lost to Z-Wave device ID: 2
17:00 | Z-Wave device ID is back to life: 2
16:52 | Z-Wave device ID is back to life: 2
16:52 | Z-Wave device ID is back to life: 2
16:52 | Z-Wave device ID is back to life: 2
16:51 | Connection lost to Z-Wave device ID: 2
16:51 | Z-Wave device ID is back to life: 2
16:51 | Z-Wave device ID is back to life: 2
16:40 | Z-Wave device ID is back to life: 2
16:40 | Z-Wave device ID is back to life: 2
16:31 | Z-Wave device ID is back to life: 2
16:31 | Z-Wave device ID is back to life: 2
16:31 | Z-Wave device ID is back to life: 2
16:30 | Z-Wave device ID is back to life: 2
16:30 | Z-Wave device ID is back to life: 2
16:22 | Z-Wave device ID is back to life: 2
16:22 | Z-Wave device ID is back to life: 2
16:21 | Connection lost to Z-Wave device ID: 2
16:21 | Z-Wave device ID is back to life: 2
16:20 | Z-Wave device ID is back to life: 2
16:11 | Connection lost to Z-Wave device ID: 2
16:10 | Z-Wave device ID is back to life: 2
16:10 | Z-Wave device ID is back to life: 2
16:10 | Z-Wave device ID is back to life: 2
16:01 | Z-Wave device ID is back to life: 2
16:01 | Z-Wave device ID is back to life: 2
16:00 | Z-Wave device ID is back to life: 2
16:00 | Z-Wave device ID is back to life: 2
15:50 | Z-Wave device ID is back to life: 2
15:50 | Z-Wave device ID is back to life: 2
15:42 | Z-Wave device ID is back to life: 2
15:42 | Z-Wave device ID is back to life: 2
15:42 | Z-Wave device ID is back to life: 2
15:41 | Connection lost to Z-Wave device ID: 2
15:41 | Connection lost to Z-Wave device ID: 2
15:32 | Z-Wave device ID is back to life: 2
15:31 | Connection lost to Z-Wave device ID: 2
15:30 | Z-Wave device ID is back to life: 2
15:30 | Z-Wave device ID is back to life: 2
15:22 | Connection lost to Z-Wave device ID: 2
15:21 | Connection lost to Z-Wave device ID: 2
15:20 | Z-Wave device ID is back to life: 2
15:20 | Z-Wave device ID is back to life: 2

Not sure if it's related though, often it takes time for an operation on the web console takes effect. Sometimes just for a few seconds, sometimes for a few minutes.
Product: Aeotec by Aeon Labs DSC11 Smart Power Strip Z-Wave Power Sockets.

This product: Aeotec by Aeon Labs DSC11 Smart Power Strip Z-Wave Power Sockets

This product: Aeotec by Aeon Labs DSC11 Smart Power Strip Z-Wave Power Sockets

As commented in https://github.com/130s/hut_10sqft/issues/338#issuecomment-565785233, this same device still looks problematic. Reviews on amazon.com doesn't look bad and I haven't found anyone complaining the same issue.

"Expert GUI" of z-wave webapp http://130s-rpi2.local:8083/expert/#/configuration/interview/3 shows that the problematic Z-Wave device shows different info than another device that works fine.

Ok device no.1: Z-Wave module.
SDK version	6.51.06

Ok device no.2: Another power strip (single slot)
Application version	1.3
SDK version	6.51.06

Problematic one
SDK version	4.55.00

It also keeps switching the status Wireless Activity from The device works properly to either Device seems to be dead or simply Device is dead.

On http://noo-rpi2.local:8083/expert/#/configuration/interview/2 Interview never reaches 100% even when Wireless Activity is "The device works properly".

Ditching z-way #417. This will be resumed with a new Z-wave controller.

Cont'd to https://github.com/130s/hut_10sqft/issues/616


DOCS : Readme updated for better understanding of how to accept ownership

Subject: README Enhancements for Issue #194 - functions-hardhat-starter-kit
Hi Team,
I've implemented improvements in the README to address the concerns raised in Issue #194. Your feedback on the changes is greatly appreciated.
Summary of Updates:

Enhanced Importance of SECOND_PRIVATE_KEY:

Emphasized the significance of SECOND_PRIVATE_KEY in the README for better understanding and utilization.

Added Requisite Message for 'functions-sub-transfer':

Included a clear and concise message on how to effectively use 'functions-sub-transfer' for seamless integration.

Please take a moment to review these modifications and let me know if any further clarification or adjustments are required.
Best regards,
Viraj Patva

@KuphJr @zeuslawyer please review , I am unable to add reviewer


Exec tachikoma update<PHONE_NUMBER>1920

:hamster::hamster::hamster:   Strategy none
Powered by Interval Pull Request as a Service - Tachikoma.io Announcement: 2015-06-28 Updated permissions - Tachikoma.io

Coverage decreased (-0.009%) to 99.695% when pulling fb9436b238c6ff3f9b9e7fe848e74343f07bfd3c on pazjacket:tachikoma/update-20160609151920 into 77a776d257a2436999eb722afb99b372b7aa9f95 on hoshinotsuyoshi:master.


2588-expand-valueset-regex-include-not-working

When expanding a ValueSet using a regex filtering operation on a concept property, matching concepts are not picked up
To Reproduce
Expand a ValueSet including a compose like the following:
...
"compose": {
"include": [
{
"system": "",
"filter": [
{
"property": "<some-existing-property>",
"op": "regex",
"value": "<some-valid-regexp-on-defined-property>"
}
]
}
]
},
...
Expected behavior
Regex matching property should be part of the ValueSet expansion
Environment (please complete the following information):
HAPI FHIR 5.6.0 (Raccoon)

Fix merged to master by: https://github.com/hapifhir/hapi-fhir/pull/3410


Can not run the evaluation function successful

2022-09-22 09:36:49,204   INFO  Total samples for Waymo dataset: 39987
2022-09-22 09:36:52,147   INFO  ==> Loading parameters from checkpoint ../output/waymo_models/pv_rcnn_plusplus_resnet_d1/default/ckpt/checkpoint_epoch_30.pth to GPU
2022-09-22 09:36:52,486   INFO  ==> Checkpoint trained from version: pcdet+0.5.2+0000000
2022-09-22 09:36:52,521   INFO  ==> Done (loaded 507/507)
2022-09-22 09:36:52,539   INFO  *************** EPOCH 30 EVALUATION *****************
eval: 100%|█| 9997/9997 [54:32<00:00,  3.05it/s, recall_0.3=(514650, 515247) / 1
2022-09-22 10:31:25,011   INFO  *************** Performance of EPOCH 30 *****************
2022-09-22 10:31:25,012   INFO  Generate label finished(sec_per_example: 0.0818 second).
2022-09-22 10:31:25,012   INFO  recall_roi_0.3: 0.285802
2022-09-22 10:31:25,012   INFO  recall_rcnn_0.3: 0.286134
2022-09-22 10:31:25,012   INFO  recall_roi_0.5: 0.244660
2022-09-22 10:31:25,012   INFO  recall_rcnn_0.5: 0.248518
2022-09-22 10:31:25,012   INFO  recall_roi_0.7: 0.122996
2022-09-22 10:31:25,012   INFO  recall_rcnn_0.7: 0.135234
2022-09-22 10:31:25,041   INFO  Average predicted number of objects(39987 samples): 15.276
2022-09-22 10:31:28.316264: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Start the waymo evaluation...
Number: (pd, 610836) VS. (gt, 1630510)
Level 1: 1377451, Level2: 253059)
WARNING:tensorflow:From /opt/anaconda3/lib/python3.8/contextlib.py:83: TensorFlowTestCase.test_session (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version.
Instructions for updating:
Use self.session() or self.cached_session() instead.
2022-09-22 10:31:33.802913: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2022-09-22 10:31:33.803183: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcuda.so.1
2022-09-22 10:31:33.805971: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1746] Found device 0 with properties:
pciBusID: 0000:41:00.0 name: GeForce RTX 3090 computeCapability: 8.6
coreClock: 1.695GHz coreCount: 82 deviceMemorySize: 23.70GiB deviceMemoryBandwidth: 871.81GiB/s
2022-09-22 10:31:33.806008: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
2022-09-22 10:31:33.819510: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcublas.so.11
2022-09-22 10:31:33.819556: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcublasLt.so.11
2022-09-22 10:31:33.825136: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcufft.so.10
2022-09-22 10:31:33.825918: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcurand.so.10
2022-09-22 10:31:33.826491: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcusolver.so.11
2022-09-22 10:31:33.829262: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcusparse.so.11
2022-09-22 10:31:33.829413: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudnn.so.8
2022-09-22 10:31:33.831694: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1888] Adding visible gpu devices: 0
2022-09-22 10:31:33.836754: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set
2022-09-22 10:31:33.837813: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1746] Found device 0 with properties:
pciBusID: 0000:41:00.0 name: GeForce RTX 3090 computeCapability: 8.6
coreClock: 1.695GHz coreCount: 82 deviceMemorySize: 23.70GiB deviceMemoryBandwidth: 871.81GiB/s
2022-09-22 10:31:33.837856: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
2022-09-22 10:31:33.837884: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcublas.so.11
2022-09-22 10:31:33.837907: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcublasLt.so.11
2022-09-22 10:31:33.837927: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcufft.so.10
2022-09-22 10:31:33.837948: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcurand.so.10
2022-09-22 10:31:33.837968: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcusolver.so.11
2022-09-22 10:31:33.837992: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcusparse.so.11
2022-09-22 10:31:33.838012: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudnn.so.8
2022-09-22 10:31:33.839832: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1888] Adding visible gpu devices: 0
2022-09-22 10:31:33.840110: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
2022-09-22 10:31:34.135476: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1287] Device interconnect StreamExecutor with strength 1 edge matrix:
2022-09-22 10:31:34.135556: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1293]      0
2022-09-22 10:31:34.135579: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1306] 0:   N
2022-09-22 10:31:34.139247: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1390 MB memory) -> physical GPU (device: 0, name: GeForce RTX 3090, pci bus id: 0000:41:00.0, compute capability: 8.6)
2022-09-22 10:31:34.147956: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:196] None of the MLIR optimization passes are enabled (registered 0 passes)
2022-09-22 10:31:34.152004: I tensorflow/core/platform/profile_utils/cpu_utils.cc:112] CPU Frequency:<PHONE_NUMBER> Hz
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0922 10:31:34.384816 3230355 detection_metrics_ops.cc:157] Computing detection metrics for 610836 predicted boxes.
I0922 10:31:34.384877 3230355 detection_metrics_ops.cc:159] Parsing prediction [610836,7][610836]
I0922 10:31:34.574628 3230355 detection_metrics_ops.cc:168] Parsing ground truth [1630510,9][1630510]
2022-09-22 10:31:34.575550: F waymo_open_dataset/metrics/ops/utils.cc:92] Incorrect number of box DOF 9
test.sh: line 2: 3215304 Aborted                 (core dumped) python test.py --cfg_file cfgs/waymo_models/pv_rcnn_plusplus_resnet_d1.yaml --batch_size 4 --ckpt ../output/waymo_models/pv_rcnn_plusplus_resnet_d1/default/ckpt/checkpoint_epoch_30.pth

Hi, you should use 7-dim gt_boxes (without speed) for evaluation. The error log "Incorrect number of box DOF 9" means your gt_boxes is 9-dim (with speed).

Hi, where can I change the pred_bbox to pred_bbox[:, :7]? @Cedarch

Line 64 and 71 in OpenPCDet/pcdet/datasets/waymo/waymo_eval.py

Thank you. I have finished the evaluattion, but the results are very bad (model: PV-RCNN++ ResNet):
OBJECT_TYPE_TYPE_VEHICLE_LEVEL_1/AP: 0.0436
OBJECT_TYPE_TYPE_VEHICLE_LEVEL_1/APH: 0.0422
OBJECT_TYPE_TYPE_VEHICLE_LEVEL_2/AP: 0.0373
OBJECT_TYPE_TYPE_VEHICLE_LEVEL_2/APH: 0.0361
OBJECT_TYPE_TYPE_PEDESTRIAN_LEVEL_1/AP: 0.0626
OBJECT_TYPE_TYPE_PEDESTRIAN_LEVEL_1/APH: 0.0540
OBJECT_TYPE_TYPE_PEDESTRIAN_LEVEL_2/AP: 0.0520
OBJECT_TYPE_TYPE_PEDESTRIAN_LEVEL_2/APH: 0.0448
OBJECT_TYPE_TYPE_SIGN_LEVEL_1/AP: 0.0000
OBJECT_TYPE_TYPE_SIGN_LEVEL_1/APH: 0.0000
OBJECT_TYPE_TYPE_SIGN_LEVEL_2/AP: 0.0000
OBJECT_TYPE_TYPE_SIGN_LEVEL_2/APH: 0.0000
OBJECT_TYPE_TYPE_CYCLIST_LEVEL_1/AP: 0.3464
OBJECT_TYPE_TYPE_CYCLIST_LEVEL_1/APH: 0.3387
OBJECT_TYPE_TYPE_CYCLIST_LEVEL_2/AP: 0.3337
OBJECT_TYPE_TYPE_CYCLIST_LEVEL_2/APH: 0.3264
I am not clear why this happens.
@Cedarch


MLFlow Code Changes

ML Flow used to track parameters & metrics generated from housing price prediction code.
Command used to launch ML Flow Server
mlflow server --backend-store-uri mlruns/ --default-artifact-root mlruns/ --host <IP_ADDRESS> --port 5000
Screenshot of ML Flow UI

This has to be raised in our existing repo.


Store ePubs and PDFs in media storage

Adds a syncer that stores PDFs, ePubs and zip files in media storage (Azure storage, S3, etc.). Media storage is set by DEFAULT_FILE_STORAGE although the syncer ignores this if the setting is backed by the local filesystem (which is the Django default).
This should allow us to move ~1-2TB of PDFs/ePubs/zips off to blob storage rather than being on the local webs. The download links now check if the item is in storage and fall back to checking disk. This will allow us to deploy the change without moving all the files. When a build for a pre-existing version happens, the result PDF/ePub/zip will be copied to media storage and then deleted off the local web.
Overall, this concept where some build artifacts are stored in storage and others aren't is a bit weird (rather than being all on storage or all on web) but given that's what we want I'm not sure what the alternative is.
Testing this is somewhat challenging and I'm open to suggestions on making that part of this better.
Not yet implemented

[ ] Sending this sync command to only a single web as opposed to all of them. I don't really know how best to do this.

Putting things on the web queue will make them happen on one random web, putting them on web0xwill make them happen on a specific web, and using the broadcast function will make them happen on all webs (eg queue on web0[1-3])

Part of the issue is that some of the copying needs to happen on all webs (HTML, etc.) while some should only happen on a single web. I hate to handle things with special cases but maybe PDFs/ePubs need to be a separate task.

Looks like we likely have an issue deleting the existing PDF/epub files. I don't believe we updated this logic:
https://github.com/rtfd/readthedocs.org/blob/b500528541ccd0cead927c03547487edcfa2c1da/readthedocs/projects/tasks.py#L910-L924

Looks like we likely have an issue deleting the existing PDF/epub files. I don't believe we updated this logic:

I can try to take a look at that. I don't think it will be that big of a deal.

I can try to take a look at that. I don't think it will be that big of a deal.

The tricky thing is the split logic between doing it across all webs or just a single one. I think perhaps moving it into the move_files function with a delete argument is the easiest way to make it work.

I believe this is mostly ready to go. I think it would be 💯 to get it shipped this week.

Looks like we likely have an issue deleting the existing PDF/epub files. I don't believe we updated this logic:

Just so I'm 100% clear on this, this code is taken when a new build occurs and the user has disabled PDF/ePub building? So we want to delete the PDF/ePub so it isn't old, correct?

Just so I'm 100% clear on this, this code is taken when a new build occurs and the user has disabled PDF/ePub building? So we want to delete the PDF/ePub so it isn't old, correct?

Yep. When users turn off epub/pdf on their builds, we should stop serving the old ones, otherwise they get out of date really quickly and confuse users.

My only thought is if we want to comingle the build output container with internal cold storage JSON with the media files. I wonder if we should create another class in ext and use that in prod? So that we can give it it's own container?

I think media having its own container is good. I merged it.

As the author, I can't approve my own PR but I tested your changes and they work for me as well. I did a build with PDFs/ePubs, saw them in blob storage, turned off PDFs/ePubs, ran a build and saw that those files were deleted.
One thing about this PR is that there is a lot of extra logic to selectively write to blob storage (PDFs, ePubs, but not HTML) and some extra logic to delete files that should be deleted (we should run the delete from 1 web not all to avoid unnecessary duplication). I suspect that this whole process would be simpler we just wrote all build output to blob storage and didn't have these special cases. I'm looking forward to those enhancements.

One thing about this PR is that there is a lot of extra logic to selectively write to blob storage (PDFs, ePubs, but not HTML) and some extra logic to delete files that should be deleted (we should run the delete from 1 web not all to avoid unnecessary duplication). I suspect that this whole process would be simpler we just wrote all build output to blob storage and didn't have these special cases. I'm looking forward to those enhancements.

Agreed. It would be pretty trivial to just sync everything for now, but keep all of it syncing to the webs, if we wanted. That way the HTML & JSON is there when we're ready for it.

Merging this, and we can iterate on it once we have more experience w/ it in prod.


Request to expose tasks append method

Hi,
Wouldn't it be a good idea to expose a method to append tasks to the _tasks list?
Usecase:
I want the periodic background tasks to start only after some startup logic is done.
So currently I am calling the following after my startup logic is finished:
        tasks._tasks.append(quart_tasks.extension._PeriodicTask(
            timedelta(minutes=5), None, refresh))

It would be neat to have tasks.append(), tasks.delete() methods for easier usage!
Thanks!

Yep I think that is a good idea, 528638b0deb72134bcad252293be81941d71801c. Not sure about deletion though


Uncaught TypeError: Cannot read property 'path' of undefined

Open any file
Command-S to save
JSLint errors appear
Click on an error...

Atom Version: 0.181.0
System: Mac OS X 10.9.5
Thrown From: jslint package, v1.2.0
Stack Trace
Uncaught TypeError: Cannot read property 'path' of undefined
At /Users/haydenbleasel/.atom/packages/jslint/node_modules/atom-message-panel/lib/LineMessageView.js:51

TypeError: Cannot read property 'path' of undefined
    at LineMessageView.goToLine (/Users/haydenbleasel/.atom/packages/jslint/node_modules/atom-message-panel/lib/LineMessageView.js:51:58)
    at HTMLPreElement.<anonymous> (/Users/haydenbleasel/.atom/packages/jslint/node_modules/atom-message-panel/node_modules/space-pen/lib/space-pen.js:214:36)
    at HTMLPreElement.jQuery.event.dispatch (/Users/haydenbleasel/.atom/packages/jslint/node_modules/atom-message-panel/node_modules/space-pen/vendor/jquery.js:4676:9)
    at HTMLPreElement.elemData.handle (/Users/haydenbleasel/.atom/packages/jslint/node_modules/atom-message-panel/node_modules/space-pen/vendor/jquery.js:4360:46)

Commands
     -0:43.1 core:move-down (atom-text-editor.editor)
  2x -0:42.9 core:move-right (atom-text-editor.editor)
     -0:36.5 core:save (atom-text-editor.editor)
     -0:34.1 core:copy (atom-text-editor.editor)
     -0:22.2 find-and-replace:show (atom-text-editor.editor)
     -0:19.5 editor:consolidate-selections (atom-text-editor.editor.mini)
     -0:19.5 core:cancel (atom-text-editor.editor.mini)
     -0:18.7 core:paste (atom-text-editor.editor)
     -0:18.3 core:save (atom-text-editor.editor)
     -0:08.1 fuzzy-finder:toggle-file-finder (ul.list-inline.tab-bar.inset-panel)
     -0:07.4 core:backspace (atom-text-editor.editor.mini)
     -0:06.8 core:confirm (atom-text-editor.editor.mini)
     -0:05.7 fuzzy-finder:toggle-file-finder (atom-text-editor.editor)
  3x -0:04.4 core:backspace (atom-text-editor.editor.mini)
     -0:03.4 core:confirm (atom-text-editor.editor.mini)
     -0:01.2 core:save (atom-text-editor.editor)

Config
{
  "core": {},
  "jslint": {}
}

Installed Packages
# User
atom-spotify, v1.2.0
autocomplete-plus, v2.1.6
compare-files, v0.4.1
editorconfig, v0.3.0
emmet, v2.3.3
jslint, v1.2.0
jsonlint, v1.0.1
language-batch, v0.3.2
language-jade, v0.3.0

# Dev
No dev packages

this was a problem in ATM at it has been fixed..
you have to uninstall and reinstall the package to solve the problem... sry


Board identity support for MPFS / Saluki

Implement MPFS version API.
Add support for PX4GUID which is generated from
PX4_SOC_ARCH_ID_MPFS and device serial number.
Read HW version from GPIO pins.

This is an initial PR.. e.g. GPIO pins not yet defined.


FIX - The "Scheduled" type of events have ever-spinning blue circle icon next to it

Fixes #814
@rhtyd cc @svenvogel

@blueorangutan package

@GabrielBrascher a Jenkins job has been kicked to build primate packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian :heavy_check_mark:archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/822 (JID-3623)


API changes to allow user control over error FILE/LINE blaming

Fixes #714.

Hi.
Should the duk_error macro use DUK_FILE_MACRO and DUK_LINE_MACRO instead of __FILE__ and __LINE__?
Regards,
Mauro.

@mxmauro It should - they weren't originally available for the public header and thus this leftover. I'll fix it, thanks!

Fix is in #897.

Cool :)


Can't install the latest version v1.9.0 with yarn

Yarn throws the following errors and fail to add package.
<EMAIL_ADDRESS>Request failed "502 Bad Gateway"
<EMAIL_ADDRESS>Request failed "502 Bad Gateway"
Version 1.8.0 works fine.

I can't reproduce it... It is surprising because next-translate-routes is not related to swc-android-arm64...
Can you provide a minimal reproduction?


Fonts not loading on published site

The published site does not appear to be using the custom fonts. The link to the site in page source is working bit the site is not displaying them.

Curious if this bug is related to issue 21

Same problem on Firefox for Windows and Chrome for Android

Fixed by replacing http protocol with https in link that loaded GoogleFonts from its CDN. See: https://stackoverflow.com/questions/39992606/importing-google-api-fonts-not-applying-in-github-pages


[Github] Some template improvements

Provide a description of the new feature / enhancement
Some suggestions for improving our templates, that would make our life hopefully easier.
Bug template

Add field for Windows version. (We removed it. But there are again and again situations where we need this information.)
Add not that people should use English if possible, because we are an international community.

Feature suggestion

Add not that people should use English if possible, because we are an international community.
Add 👍 note to template.

Translation issue

Add not that people should use English (except on affected phrases) if possible, because we are an international community.

Maybe add on all templates a checkbox "I've searched for existing issues with the same problem/suggestion"

Maybe add on all templates a checkbox "I've searched for existing issues with the same problem/suggestion"

Better as a comment.

@crutkas
Is it possible to allow blank issues ONLY to the core team/triagers? Don't want to have looging in on my pc every time. 😐

Language: I'd rather have people write in whatever they feel comfortable with and we translate it.  Blocking on English isn't a good idea.  I'd rather find a translator / machine translate if needed.
Blank issue: What do you mean here?  What is an example when this would be needed (there are workarounds)
With YML templates, can't add 👍 easily.  I tried a hack but didn't seem to really work well.
WinVer: Zip file gives us that from report bug.

@crutkas

Language: Sometimes translation is not so easy and I mean only a hint that it would be nice tob have it in english.
I often have some ideas when my computer isn't running. The problem I have is that the mobile app doesn't support yml temples. So I need to boot up my computer or login to github with the browser on my phone to create an issue.
No problem. Then it is as is.
If we need to know Windows version we have to request the report zip. (And on some issues this doesn't make sense. Example: Why is my os version unsupported?) And the zip file needs to be downloaded and extracted only to see the Windows version. (That needs time and doesn't works well on mobile phone.)

I really love being customer obsessed.
Language: I don't want to block on English and we will get a higher quality interaction.  I don't want to shut down conversations due a fear their English isn't where they think it needs to be for a proper conversation.
OS: We have a way to easily fetch OS and the amount of time people put it in before was very low.
Triaging: If you are pulling OS version or need to look at the zip, chances are you need to reproduce the bug which means no matter what you have to
Blank issue: enabled, unblocks phone for now.


Update calico-app to latest version

Open PR https://github.com/giantswarm/calico-app/pull/13

closing as we are using cillium now


Enhancement Request - parameters for admin user and pass

First of all many thanks to the author Joshua Roskos @kc9wwh for this script.
This script was brought to my attention by JAMF support when I hit a problem trying to automate rotating FileVault recovery keys. As Joshua will be aware the problem is that the jamfmanagement account initially has no secure token and hence when it tries to rotate and re-escrow the FileVault key it goes wrong.
With this script and some smart groups to ensure things run at the right stages I can now -

Have a policy to enforce FileVault encryption and escrow the original recovery key - since this is done using the user account it has a secure token
With this script the jamfmanagement is given a secure token which it as mentioned initially does not have
A third policy then uses the jamfmanagement account to rotate the FileVault recovery key on a regular basis and since now the jamfmanagement account has a token this now works properly

Now getting back to my proposed enhancement. This script in its current form puts up a dialog asking the logged in user to provide their password and the presumption is that the current logged in user is an admin user and has a secure token.
In my case all my JAMF enrolled Macs also have a local admin account for which the password is randomised per Mac and stored as an extension attribute in the JSS. It should therefore be possible to pass as additional parameters to a modified version of this script the local admin username and password so that the
sysadminctl -secureTokenOn  -password  (interactive || -adminUser  -adminPassword )
command can be run automatically and invisibly to the logged in user without needing to ask the user for their password.
Yes this involves sending the local admin password over the wire but I have a policy which is regularly changing this to a new random one for each Mac - just like I have one re-randomising the jamfmanagement password.
Could therefore the author consider adding the ability to this script to accept two additional parameters which if provided mean it can run automatically and invisibly as described, and if not provided it runs in the current manner.

FYI - here is the script I use to populate an extension attribute to list whether the jamfmanagement account has or does not have a secure token. I then use this as part of a smart group to determine which machines need to run this script.
#!/bin/sh
accountToken=`sysadminctl -secureTokenStatus jamfmanagement 2>&1 | awk '{print $7}'`
echo "<result>$accountToken</result>"
exit


Update TypeScript to v4.7

Change-type: patch-amend
Signed-off-by: Thodoris Greasidis<EMAIL_ADDRESS>
Resolves: #
HQ:
See:
Depends-on:
Change-type: major|minor|patch

Contributor checklist

[ ] Includes tests
[ ] Includes typings
[ ] Includes updated documentation
[ ] Includes updated build output

@balena-ci I self-certify!


Fix GitHub-15: Fixes race condition between rule sets and security rule

@kyongkim-illumio we have fixed the bug 15.

@kyongkim-illumio Can you please merge this PR?


More accurate Mei freeze logic

I added mei's old freeze with everything from the wiki.

Can you:

Summarize the freeze logic according to the Wiki
How your code works

Also can you refactor your code to match the styling guideline (like using snake_case for variable names)?


Change charging current from the car side

Is your feature request related to a problem? Please describe.
Possibility to start/stop charging, or adjust current intake from the car side.
Describe the solution you'd like
Possibility to change charging power from HA, Ie. Start/Stop/ in amperes/how ever is stated :)
I'm not owning VW ID family car yet, but im thinking solutions for my home load balancing solutions. I dont even know if this is possible...  I might have other appliances on at the same time like. Sauna (8kW), Stove (2-4kW?) etc. Now i can measure my home electric usage. It should be quite straight forward to change maximum output to the car if that is changeable from VW side.

You can already start/stop the charging.
And VW only has the option to 'reduce' charge speed it will charge at 50% of it's max charging power.

Ah, Good to know because it wasn't stated in the fronpage,  only "Start climatization in your Volkswagen ID car." as stated as button and others in sensor.


Typo: Mobile builds are not "avaialble" for Xamarin.

Description

Steps to reproduce

Try to create a Build for a Xamarin app, see the typo in the message.

typo: https://github.com/aerogear/origin-web-console/blob/aerogear-mcp/app/views/browse/mobile-clients.html#L117

https://github.com/aerogear/origin-web-console/pull/93

Closed via https://github.com/aerogear/origin-web-console/pull/93


Feature/uwp jenkins support

@gwyddion39 @egorpushkin PTAL. This creates a new Configuration for the EnRouteApi.UWP project that builds against a referenced dll, instead of the project ref. That dll is placed in the right place by the Jenkins job, and then this configuration is called when building EnRouteApi.UWP.

LGTM


when NUM_OF_CLASSES=2,loss doesn't work?

loss = tf.reduce_mean((tf.nn.sparse_softmax_cross_entropy_with_logits(logits=logits,
labels=tf.squeeze(annotation, squeeze_dims=[3]),
name="entropy")))
when classes is 2,I try train it ,But the loss is not normal,How can adapt it??

Hi,
What do you mean by not normal? Can you elaborate it or could you show me the loss graph?

I think  tf.nn.sparse_softmax_cross_entropy_with_logits can't be used  when num_classes is 2.
loss = tf.reduce_mean((tf.nn.sparse_softmax_cross_entropy_with_logits(logits=logits,
labels=tf.squeeze(annotation, squeeze_dims=[3]),
name="entropy")))

According to the doc of tensorflow, tf.nn.sparse_softmax_cross_entropy_with_logits should work fine when dealt with the 2-class case. Can you double check the size of your arguments? And what's the error information?
https://www.tensorflow.org/versions/r0.12/api_docs/python/nn/classification


meetings should end on server side when no speaking events have been recorded for a while

fixed! by 4e4afbf0d5a8c628afa075fa333b78ea7d562092