About ListItem object

I was about to complete the 3 variants of the ListItem object: 1, 2 and 3 lines are the basic variants, icons and avatars are ancillary.
I started with the idea to have 3 QString and adapt height and geometry based on the number of text lines set.
Then I played with the idea of a AbstractLineItem with base methods/data  from which derive Divider and ListItem1, ListItem2 and ListItem3.
I then played with the idea of switching from a completely "ownerdrawn" widget, to a widget made with a layout and composed by different widgets. It would be easier to later implement advanced and interactive features like menus, expanders, etc. What do you think would be better? With ownerdrawn we have complete control on how to paint the widget, with layout we should double check everything...
Comparing material-ui and material.io I found discrepancies in what it is possible to implement. One is the possibility to have left and right icons: the specs don't have them listed, no measures... there is only one picture (look at Ali Connors picture, with left telephone icon and right quote icon).

I then played with the idea of switching from a completely "ownerdrawn" widget, to a widget made with a layout and composed by different widgets. It would be easier to later implement advanced and interactive features like menus, expanders, etc. What do you think would be better? With ownerdrawn we have complete control on how to paint the widget, with layout we should double check everything...

Without having looked at the code or anything, I think the layout-based approach sounds preferable. If you have some code, and don't want mess around with git too much, you can just send it to my email as a tarball or something.

Comparing material-ui and material.io I found discrepancies in what it is possible to implement.

I am not sure I understand, but I have been looking at the App Bar component recently, and maybe what I am struggling with there is something similar. I don't want to bloat the API with a bunch of settings and configuration options, but the approach I think I'll take is to make the component really basic, and then add different standard layouts that a user can use as, sort-of, templates to achieve the finished App Bar with menus and other stuff. I think I completely misunderstood your question however, :laughing:. Sorry!


Use f64 for screen projection calculations (fixes #63)

Contrary to my original plan, I used the geo_types::Point for representing screen coordinates instead of pulling in yet another crate. Also simplifies the change overall.

Nice!


Move MarkupContent structure in the rendering package

After working on issue #477, #636 and #635, I think that it makes sense to move the MarkupContent structure and its associated utility functions in the rendering package.

closing as PR was merged.


go vet: uintptr is a pointer type, so the fmt verb "%p" should apply without errors.

What version of Go are you using (go version)?

$ go version
go version go1.18.3 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env

What did you do?
A minimal reproducable case:
func TestVerb(t *testing.T){
	p := uintptr(4) // chosen by fair roll of a die. Guaranteed to be random.
	t.Logf("%p", p)
}

What did you expect to see?
No errors.
What did you see instead?
./machine_test.go:7:2: (*testing.common).Logf format %p has arg p of wrong type uintptr

This is caused by go vet (specifically it's due to the use of golang.org/x/tools/go/analysis/passes/printf - the matchArg function doesn't recognize uintptr as a pointer type)
Not sure where to file this as this involves the go command (i.e. go test and go vet causes this) but the root cause is in the tools library.

uintptr is a numeric type, not a pointer type.

% go doc builtin.uintptr
package builtin // import "builtin"

type uintptr uintptr
    uintptr is an integer type that is large enough to hold the bit pattern of
    any pointer.


Remove ANDROID define

Consistent with its counterpart for other OSs and also fixes GDNative build error on Android.
Seems not to be used anywhere, so it's safe to change.
UPDATE:
It's also discouraged by Google to rely on it. In case someone needs to check, use __ANDROID__ instead, provided by the very same compiler.

Updated according to the comments.
I've also checked that __ANDROID__ is indeed defined by the compiler because of the *-none-linux-androideabi setting.


Fix error when displaying 404 for archived news

Errors are related to "missing" favicons in azure archived folder. These are requested automatically by devices or browsers, and we do not want to add them. It is unknown why the 404s are going to azure, instead of next.
A solution for this issue can be ignoring the errors and the alerts from Dynatrace, so that we don't have our slack alerts channel flooded with non relevant errors.

https://equinor.service-now.com/now/nav/ui/classic/params/target/sc_req_item.do%3Fsys_id%3D9376400f9716b150993f3077f053af4c


Simplify some code

I found some code to simplify when using IDEA to inspect the code, so I submit a PR here.

thanks!

Codecov Report

Merging #1810 (4102a32) into master (5154e6f) will decrease coverage by 0.28%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1810      +/-   ##
============================================
- Coverage     63.18%   62.89%   -0.29%
+ Complexity     2466     2459       -7
============================================
  Files           487      487
  Lines         10633    10633
  Branches       1066     1066
============================================
- Hits           6718     6688      -30
- Misses         3386     3423      +37
+ Partials        529      522       -7

Impacted Files
Coverage Δ

...ext/path/handler/ContextPathPluginDataHandler.java
10.00% <100.00%> (ø)

...ugin/hystrix/handler/HystrixPluginDataHandler.java
54.54% <100.00%> (ø)

...ponse/handler/ModifyResponsePluginDataHandler.java
100.00% <100.00%> (ø)

...elimiter/handler/RateLimiterPluginDataHandler.java
69.69% <100.00%> (-1.52%)
:arrow_down:

...in/redirect/handler/RedirectPluginDataHandler.java
10.00% <100.00%> (ø)

...u/plugin/request/handler/RequestPluginHandler.java
100.00% <100.00%> (ø)

...ugin/resilience4j/handler/Resilience4JHandler.java
7.14% <100.00%> (ø)

...ugin/rewrite/handler/RewritePluginDataHandler.java
10.00% <100.00%> (ø)

...henyu/plugin/waf/handler/WafPluginDataHandler.java
100.00% <100.00%> (ø)

...enyu/client/tars/TarsServiceBeanPostProcessor.java
35.13% <0.00%> (-22.98%)
:arrow_down:

... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5154e6f...4102a32. Read the comment docs.


Multiplying an unsigned zero produces a signed zero

Steps to reproduce:
const Long = require('long');
const x = Long.UZERO.mul(10);

Expected behaviour:
x.unsigned === true

Actual behaviour:
x.unsigned === false

This seems to be caused by the check for zero that unconditionally returns ZERO, without consulting self.unsigned:
https://github.com/dcodeIO/long.js/blob/9448e61647f884144da26e5c13b503d586ad644b/src/long.js#L864-L866

Yeah, should return this


[FEATURE] Report Button

Description
so idk how to do it but i have a idea have a config as report webhook
and if someone reports a image the image link will be sended to the webhook in that discord channel with thumbnail delete link , view link
problem with this method
this way people can spam report and fill the webhook so idk any other good way

Using smtp is a better idea

for smtp u first need smtp but for webhook u need nothing everyone has that for easy and free

I'll plan a Report feature for 0.15.0 but using the upcoming Admin Dashboard instead of a webhook (or also support webhooks in addition to the dashboard)


podman: includes missing edk2-aarch64-code.fd on aarch64-darwin

Motivation for this change
Podman on aarch64-darwin needs the edk2-aarch64-code.fd file to create the vm with qemu. This pr patches the getEdk2CodeFd function to find the edk2-aarch64-code.fd file under $out/share/qemu.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Not carrying patches has been discussed previously. Thanks anyway for the PR.

@zowoq Ok. So is there another solution/approach to this problem?

Sorry, I responded to your comment on my issue in the upstream repo but I must have accidentally cleared this notification at the same time.

So is there another solution/approach to this problem?

That we want to have in the nixpkgs repo today, no.
A few points:

This isn't a nixpkgs specific issue, it is a "not homebrew" issue.
It has been broken for nixpkgs users since upstream first added podman machine a year ago and AFAIK I was the first person to tell upstream about it a few weeks ago.
podman machine works on linux as well so I assume this needs to be fixed in other places besides options_darwin_arm64 and the patch would also need to be applied on aarch64-linux. (applying it unconditionally would be better to avoid breakage, may actually be necessary if upstream supports aarch64 vm on x86_64?)
Adding qemu to the podman closure is exactly what we're trying to avoid by using the wrapper. We could patch it in via the wrapper but podman machine/qemu can get into a broken state anyway which why qemu isn't already included in the wrapper.
I very strongly believe that if we add this patch we'll end up carrying some variation of it indefinitely.
Carrying a patch invites more patches. Currently I have seven podman patches for darwin/linux that I could make a case for adding here, all of which could (and should) be fixed upstream.
podman is just one tool, buildah, cri-o, skopeo and others are all fast moving projects built on the same libraries and share the same config. Quite often a change to one should also be applied to the others to either fix the same problem or just to avoid causing different behaviour. (not relevant for this change at the moment but carrying a patch for one does add overhead for the other tools)

So while I appreciate that you're trying to fix what seems a relatively simple problem, long term maintainability is a significant concern.


Rename Meltano Extract components

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/31
Originally created by @mbergeron on 2018-06-12 14:23:21

We should change the packages name so we can start publishing them.
I suggest:

meltano-extract-common for the shared modules
meltano-extract-<source> for a specific data source

We shall start versioning at 0.1.0-dev0 for all components, or we could map our milestone in there (0.4.0-dev0) for the current version.
/cc @jschatz1 @iroussos @zamai

View 11 previous comments from the original issue on GitLab


People losing temp commands after relogin

So, I have an issue, I want to add permissions to people temporarily, like 30 days or something, but when I use " pex user Producting timed add essentials.kits.dealer 86400" they get the kit at first, but if the user relogs, they lose access to it again.

pex 1.x is no longer supported, pex 2.x will allow timed permissions to be given persistently though.


Alluxio/alluxio [SMALLFIX]Replace anonymous type with lambda

finish the update in core/client/fs/src/main/java/alluxio/client/RetryHandlingMetaMasterClient.java
of retryRPC  function

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/17483/
Test PASSed.


Hackathon Submission

Spencer Taylor
Omar Contreras
Sergii Garkusha

Thank you team! We're going to start reviewing shortly. See you at 10!

I forgot to add the Presentation Link. Here it is
https://docs.google.com/presentation/d/1yc9iYRotHUS3xPbXTSpE6iIBjv79djrgj5RB4UW79xs/edit?usp=sharing


Cannot install on OS X

Hi,
I'm trying to install on OS X 10.14.6 and the numpy build fails with:
  _configtest.c:1:10: fatal error: 'endian.h' file not found
I found this SO answer and followed the instructions to no avail.
Then I tried commenting out numpy from requirements.txt but then scipy failed to build.
Any help would be appreciated,
Pete

Actually I got python -m openne --help working by creating an environment.yml file with the packages from requirements.txt. I'll see if this actually runs.

OK, the sample command:
python -m src.openne --method node2vec --label-file data/blogCatalog/bc_labels.txt --input data/blogCatalog/bc_adjlist.txt --graph-format adjlist --output vec_all.txt --q 0.25 --p 0.25
is running.
Let me know if you want me to raise a PR to add the environment.yml.

Hi sming!
Thanks for your question and you are always welcome to raise a PR.


Added rspec tests for types and splunk_config and other bugfixes

Added rspec tests for splunk types
Added rspec tests for splunk_config
Bugfix: splunk_input file_path not being set
Bugfix: calling provider file_path method from a variable

@crayfishx Did https://github.com/voxpupuli/puppet-splunk/pull/53/commits/bead52a8543589584c3ff5f862c13874965653ce break the module?

@alexjfisher Im not entirely sure - but calling  Puppet::Type.type(:foo).provider(:ini_file).file_path = didn't work when I was writing the rspec tests, but does work when it is assigned to a variable - which is a bit odd - either way it reads better and is more understandable as a variable assignment to make it clear that we're calling a class method in the provider.

@crayfishx I'd prefer a nice Fira Mono, possibly italicized..


Bugfix floating vehicles when Parking AI disabled

fixed floating vehicles if ParkingAI disabled
if parkingAI is disabled, mod use vanilla code but preserve parking restrictions

Latest build of this PR is available here
Closes #846

@kianzarrin wanna test it or I can merge it? I spent numerous hours to find the cause, Biffa is using this version for about 2 weeks(branded as Preview) 😅

I don't understand the problem or the code. there is a long list of comments in the issue. can you please explain in summary why the cars were floating?
and what does your code do? it seems to do more than just calling vanilla parking. is this a hackish fix? does this mean TMPE realistic parking algorithm is bypassed? do the buildings get red if there is not enough parking nearby? what should I expect in the test result?

Quick summary where was the bug.
When ParkingAI was disabled and Cim was about to park his vehicle, he was still using custom ParkingAI logic to search for parking spot which usually involve additional PF calls (few times wider range of search).
Disabled ParkingAI also meant that all code responsible for triggering additional path finds was inactive.
Additionally vehicle which gets Parking flag(parking spot found and vehicle is at the last position of his path to destination) has ability to drift in straight line to parking spot (commercial/residetial building parking spot) - regular vanilla behaviour.
So it is just vanilla parking search with TM:PE Parking restrictions support.
Building colors are based on statistics from TM:PE ParkingAI (found/not found) - won't work when ParkingAI is off, obviously.


Feature Request: Apple Maps Pane Zoom In/Out (+/-) Functionality

Since the switch to Apple Maps, the functionality to zoom in and out on the map is limited to pinching/un-pinching… or for those without trackpad/touch input functionality, double-clicking/option+double-clicking.
For the latter method, it's easy to not click fast enough to register a double-click, and drop a pin where it is not expected.
Could the +/- buttons be added to the Apple Maps pane for ease of use, such as in this screenshot?

Thank you so much for a wonderfully helpful tool!

Yes, that can be done.  It will be part of the next release and is already checked in to the newmaps branch.


Logger proxy should be in separate repository

This library contains a proxy allowing us to provide a PSR LoggerInterface and route its output to Yii's logger.
This should be in the core or a separate library, it is a useful tool with and without symfony mailer.
I'm happy to create a PR if you can create a new repo, or to create a PR for the Yii2 core, but I think that's feature frozen. Of course I could make this in my own repository as well but it would be better if it lives in yiisoft.

https://github.com/samdark/yii2-psr-log-target?

But this is actually the other way around right? It exposes a PSR3 Logger and sends it to Yii.

Is it useful for more cases than the Symfony mailer?

Any library that supports logging via PSR could have their logs routed to the yii log dispatcher.

OK. Do you need a repository? If so, how to name it?

Any name is fine. Maybe simliar to your yii2-psr-log-target but then yii2-psr-log-source?

https://github.com/yiisoft/yii2-psr-log-source

I cannot fork it because it's empty.

Created a file.

Yes, implementing it in this library is now mostly a one-liner, but I have a question.
The implementation looks like this:
$defaultFactories = Transport::getDefaultFactories(null, null, new Logger(Yii::getLogger()));

This would take a reference to the Logger, however if someone calls Yii::setLogger at any time this logger won't be updated to use the new logger. This is of course mutability issue that we have a lot in Yii2. For a library however we should probably support this mutability..
See https://github.com/yiisoft/yii2-psr-log-source/pull/8 for an implementation.


gitlab: check last backup

In GitLab by @markuslf on Feb 20, 2020, 09:46

https://docs.gitlab.com/ee/api/
https://docs.gitlab.com/ee/api/version.html
https://packages.gitlab.com/app/gitlab/gitlab-ce/search?dist=el%2F7&page=4
https://packagecloud.io/docs/api

No need to check on latest gitlab version.

Using file-age is good.


🐞 ENTRYPOINT/CMD data lost during Dagger image build

What is the issue?
The default entrypoint/cmd of a base image is lost when that image is used in a Dagger image build process.
Log output
No response
Steps to reproduce
Running standard PHP image:
$ docker run  php:8.1-apache
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
[Sat Sep 17 06:11:06.065706 2022] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.54 (Debian) PHP/8.1.9 configured -- resuming normal operations
[Sat Sep 17 06:11:06.065751 2022] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'

Building new image based on above image, making no changes, pushing it to registry and running it:
query {
  core {
    image(ref: "php:8.1-apache") {
      pushImage(ref:"xxx/testrepo:latest")
    }
  }
}

$ docker run  xxx/testrepo
docker: Error response from daemon: No command specified.
See 'docker run --help'.

Dagger version
cloak devel (97205d987) linux/amd64
OS version
Linux  5.15.0-47-generic #51-Ubuntu SMP

I think what you're looking for is Container.from/publish instead of Image/push, though I don't know how much of any is available right now https://github.com/dagger/dagger/blob/cloak/core/schema/container.graphqls
it would look roughly like:
query {
  core {
    container {
      from(address: "php:8.1-apache") {
        publish(address: "xxx/testrepo:latest")
      }
    }
  }
}

@sipsma @aluzzardi can you review, prioritize, and assign to the best person? This is blocking @vikram-dagger for docs.
Thanks!

I'll take a look at this quickly, I think it's pretty straightforward, should just build off of what @vito did the other day but now add cmd/entrypoint and image push support too.

@vikram-dagger Just merged a fix into cloak that should fix this; I included a test case for the exact image you were using. Let me know if you run into any other issues like this though.


There's no OTP expiration timer and functionality

Is your suggestion related to an experience ? Please describe.
When logging in users with OTP (as an identity provider) there's no expiry timer displayed on the code verification screen.
Describe the improvement
Please add an OTP expiration countdown and set OTP expiration time
Additional context
Tested with 5.11.0 Beta 3

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Angular 17 release

What's missing for the release of v7?

Marked PRs with the v7 label https://github.com/swisspost/design-system/pulls?q=is%3Apr+is%3Aopen+label%3Av7


Bugfix: Fix TZ3000_abrsvsou dimmer

The dimmer value has two bugs:

Homey flows works much better with a 0-1 base, and according to the docs it should not be minus. Thus you can detect plus/minus depending on the direction turned.
The dim reported from the device is 250 per half-turn (as in 500 per one rotation). So the value should be divided by 500.
NOTE: The device is speed-sensitive. A full rotation is max 500 when turning it very fast and minimum 25 if going slow... 100 is the "normal speed"

Thanks @slicke, good catch! :)


Added null check to prevent exception masking when BeginTransaction throws

This is intended to prevent the following exception when session.BeginTransaction() fails:
System.NullReferenceException: Object reference not set to an instance of an object.
    at MassTransit.NHibernateIntegration.Saga.NHibernateSagaRepositoryContextFactory`1.Send[T](ConsumeContext`1 context, IPipe`1 next)
    at MassTransit.Saga.Pipeline.Filters.CorrelatedSagaFilter`2.GreenPipes.IFilter<MassTransit.ConsumeContext<TMessage>>.Send(ConsumeContext`1 context, IPipe`1 next)
    at MassTransit.Saga.Pipeline.Filters.CorrelatedSagaFilter`2.GreenPipes.IFilter<MassTransit.ConsumeContext<TMessage>>.Send(ConsumeContext`1 context, IPipe`1 next)
    at MassTransit.Pipeline.Filters.InMemoryOutboxFilter`2.Send(TContext context, IPipe`1 next)
    at MassTransit.Pipeline.Filters.InMemoryOutboxFilter`2.Send(TContext context, IPipe`1 next)
    at GreenPipes.Filters.RetryFilter`1.GreenPipes.IFilter<TContext>.Send(TContext context, IPipe`1 next)
    at GreenPipes.Filters.RetryFilter`1.GreenPipes.IFilter<TContext>.Send(TContext context, IPipe`1 next)
    at GreenPipes.Filters.TeeFilter`1.<>c__DisplayClass5_0.<<Send>g__SendAsync|1>d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at GreenPipes.Filters.OutputPipeFilter`2.SendToOutput(IPipe`1 next, TOutput pipeContext)
    at GreenPipes.Filters.OutputPipeFilter`2.SendToOutput(IPipe`1 next, TOutput pipeContext)
    at GreenPipes.Filters.DynamicFilter`1.<>c__DisplayClass10_0.<<Send>g__SendAsync|0>d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at MassTransit.Pipeline.Filters.DeserializeFilter.Send(ReceiveContext context, IPipe`1 next)
    at GreenPipes.Filters.RescueFilter`2.GreenPipes.IFilter<TContext>.Send(TContext context, IPipe`1 next)

Merged.

This PR fixed the Send method but now I face the same problem in the SendQuery method.
How do you want to handle this? should I create a new PR? do you want to fix it yourself and force push it?

You can submit another PR, I'll pull it in later tonight.


use select2 on $ not window

Use select2 from jQuery instead of window
Fix is compatible with prior version of select2

It seems select 2 version 4 no longer attaches Select2 to window according to
https://github.com/select2/select2/blob/master/dist/js/select2.js#L5677
vs
https://github.com/select2/select2/blob/3.4.8/select2.js#L3431

good point, changed to jQuery


nicotine-plus: migrate to gtk4

Description of changes
https://github.com/NixOS/nixpkgs/pull/287866#issuecomment-1963054880
Also moved to by-name, so that the merge bot now works.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 294593 run on aarch64-linux 1

2 packages built:

nicotine-plus
nicotine-plus.dist


Real time logs/stats of unit test execution on VSTS console

Hello,
I have similar requirement as issue  #3492 , doesn't matter if test is failed or passed. I want to see my logs in real time which I am logging with either:
System.Diagnostics.Trace.WriteLine("Trace writeline");
or
Console.WriteLine(message);
My tests are integration tests where a good amount of data is cross-checked. So I want to provide a custom summary of what all type of data has been cross-verified.
Please help.

Hi,
Currently this feature is not available. Please add post your suggestion here and we will add it to our backlog https://visualstudio.uservoice.com/forums/330519-team-services


Very slow when writing time-dependent data.

I have data saved as binary. And I want to read this data and print it on a time course chart. The chart is having a hard time writing 20,000 data at the same time. The data size I have to write is 6,500,000. Is there a mistake I made? I would be glad if you inform me. My code is as follows. The point where the code is waiting Graphic.Render (); command.
`            DateTime time = DateTime.Now;
        var readByte =  File.ReadAllBytes(fileName);

        double[] conDoubleData = readByte.Select(n => { return Convert.ToDouble(n); }).ToArray();

        double[] xAxisTime = new double[conDoubleData.Length];

        for (int i = 0; i < xAxisTime.Length; i++)
        {
            time = time.AddMilliseconds(5);
            xAxisTime[i] = time.ToOADate();
        }

        Graphic.plt.PlotScatter(xAxisTime, conDoubleData, color, markerSize: 1);
        Graphic.plt.AxisAuto();
        Graphic.Render();`

Hi @saklanmazozgur, your mistake is using the scatter plot instead of the signal plot. Since all your data points are evenly spaced (by 5 milliseconds), you can take advantage of the signal plot. This will let you easily display datasets with tens of millions of points. Note that the signal plot takes a sample rate and an x offset instead of an array of X positions.
I find dates in C# to be extremely frustrating to work with. Keep in mind that these two values must be double, not DateTime, so you must use DateTime.ToOADate() to do the conversion. Your X offset will be startDateTime.ToOADate().
Sample rate will be the number of data points per day. DateTime.ToOADate() represents days as a floating point number, where each day spans 1.0 units (I didn't invent this standard). If your samples are 5 ms apart, your sample rate will be the number of samples per day. This will be 24*60*60*1000/5, or 17280000 samples per day.
Hope it helps!
Scott


drivers: CAN: Add bus-state API

This PR adds three new functions to the actual CAN API.

can_get_state
can_register_state_change_isr
can_recover

can_get_state can be used to get the actual RX-, TX-error-count and state.
can_register_state_change_isr registers an ISR callback when the bus-state changes.
can_recover can be used to recover from the bus-off state. This function is only available when automatic recovery is turned off.

ping @nixward

Looks good to me, but can't test it right now because I got my board wired up for something else right now. I hope you had a chance to run it on the link board :-)

@karstenkoenig tested on link-board-can. I was shortening CANH to GND, as @maxvankessel mentioned, to check recovery and error counters.


Fixing #3708 - AddColumn fix for H2 version 1.4.200

Impact

[x] Bug fix (non-breaking change which fixes expected existing functionality)
[ ] Enhancement/New feature (adds functionality without impacting existing logic)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
Fixes the AddColumn functionality with H2 version 1.4.200 which no longer works in version 4.19.0.
The current code is always throwing "Cannot add a primary key column" error for the H2 Version 1, however this should only happen when the isPrimaryKey constraint is given.
Fixes #3708

Introduced by PR https://github.com/liquibase/liquibase/pull/3372

we need this. please approve this.


Zabbix agent cannot be stopped, started, reloaded from web interface

After installing and configuring the zabbix plugin connection attempts are rejected:
root@zabbix:~# zabbix_get -s <IP_ADDRESS> -k agent.ping zabbix_get [2925]: Check access restrictions in Zabbix agent configuration
This is due to zabbix not reloading the configuration after saving and applying in the web interface. Also on the Dashboard it is not possible to actually stop and start the service despite the buttons being shown.
It is possible however to restart it from the shell, which immediately applies the configured changes:

@thunfischbrot Thanks for your report! Which version of OPNsense and of os-zabbix-agent are you running?

I apologize for this omission, should have mentioned that they are all up-to-date:
FreeBSD 11.1-RELEASE-p6  6621d681e(stable/18.1) OPNsense 18.1.2-efa2c4f74 [18.1.1-a5575d7bd] LibreSSL 2.6.4 (amd64) Plugins os-arp-scan-1.1 os-iperf-1.0 os-wol-1.0_1 os-zabbix-agent-1.2

FWIW, try to update. 18.1.2 had a buggy service handling and you want to double check on 18.1.2_2.

On 9. Feb 2018, at 09:54, thunfischbrot<EMAIL_ADDRESS>wrote:
I apologize for this omission, should have mentioned that they are all up-to-date:
FreeBSD 11.1-RELEASE-p6 6621d681e(stable/18.1) OPNsense 18.1.2-efa2c4f74 [18.1.1-a5575d7bd] LibreSSL 2.6.4 (amd64) Plugins os-arp-scan-1.1 os-iperf-1.0 os-wol-1.0_1 os-zabbix-agent-1.2
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Just upgraded, still the same behaviour.
User-Agent Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0 FreeBSD 11.1-RELEASE-p6  6621d681e(stable/18.1) OPNsense 18.1.2_2-43d2878aa [18.1.2-efa2c4f74] LibreSSL 2.6.4 (amd64) Plugins os-arp-scan-1.1 os-iperf-1.0 os-wol-1.0_1 os-zabbix-agent-1.2

Hello, it's same with OPNsense 18.1.5-amd64 FreeBSD 11.1-RELEASE-p8 LibreSSL 2.6.4
I have to disable and re-enable the agent to restart it from the web interface

Found and fixed, thanks for the video!


(ss/j)trVAE -> (ss/j)iVAE

Codecov Report

Merging #36 (42a533f) into main (b518b4b) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #36   +/-   ##
=======================================
  Coverage   87.50%   87.50%
=======================================
  Files          24       24
  Lines        1624     1624
=======================================
  Hits         1421     1421
  Misses        203      203

Flag
Coverage Δ

unittests
87.50% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pyroved/models/base.py
94.79% <ø> (ø)

pyroved/models/__init__.py
100.00% <100.00%> (ø)

pyroved/models/ivae.py
93.24% <100.00%> (ø)

pyroved/models/jivae.py
84.69% <100.00%> (ø)

pyroved/models/ssivae.py
88.80% <100.00%> (ø)

tests/test_models.py
94.83% <100.00%> (ø)

tests/test_trainers.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b518b4b...42a533f. Read the comment docs.


Logging and UpnpLib Handle

The log code in in upnpdebug relies on global state.
Should it also be moved to the UpnpLib handle?
I think it may be worth renaming it from upnpdebug to something like upnplog as its a more accurate name.

Sure.


Tree: add expand-on-click-node prop.

Please makes sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow Element's Contributing Guide.
[x] Make sure you are merging your commits to dev branch.
[x] Rebase before creating a PR to keep commit history clear.
[x] Add some descriptions and refer relative issues for you PR.

closed #1526, #1708

冲突了

@Leopoldthecoder done.

请问这个问题解决了么，我看现在还是点击 节点内容，也展开了子节点

expand-on-click-node这属性加了好像没有用 点击内容还是会展开子节点


Updates linter

Changes

Fixes linter errors.
Adds autofix option to lint gulp task.

Testing

gulp lint and gulp lint --fix should work.
gulp run build && gulp test should still pass.

@ans I believe your testing steps should read npm run build && npm test.

@anselmbradford I believe your testing steps should read npm run build && npm test.

Sir, you are correct!


Adds GATv2 layer

Adds GATv2 layer from https://arxiv.org/abs/2105.14491
fixes typo in GATConv

IDK if its worth introducing a new abstact type for the two GAT layers as some of the functions are identical.
Could replicate the results from Figure 1 in the paper regarding the attention scores:
GATConv Layer

GATv2 Layer

note the difference is that here we have self-loops required, which results in the 1st alpha score not being 0 for all queries.

Would you mind adding some tests?

@abieler Thank you for contribution. I will merge this first then fix the tests.


Added a warning to Isa.assay for a bug, linked to the preview of ARC Commander v0.5.0

Thank you for contributing to the DataPLANT Knowledge Base :rocket:
Please make sure that

[x] your pull request has a good title,
[x] you add a short description below to summarize your changes,
[x] the contents and images you add, are allowed to be shared publicly and - if applicable - reference the source properly,
[x] you read the contribution guide,
[x] you tested your changes locally

If you are unsure, you can also label your PR as draft.
Description
This PR is related to https://github.com/nfdi4plants/arcCommander/issues/206. As users will usually use the current release and I think frustration due to bugs should be avoided in particular when a solution is available, a warning, the context and a link to a preview version of ARC Commander v0.5.0 was added to the isa.assay section.

ARC Commander v0.5.0 has been released which solves the problem for which guidance was provided in this PR.


[HP LaserJet M1536] Test page printed, but the job still can be cancelled

Hi Till,
I've tried ps-printer-app in SNAP in the meanwhile and a successful print job has a Cancel button available, which looks like it is still printing. Additionally, it shows only 0 pages printed.
I've hit several other issues, I will file them separately.

Hi Till,
I haven't got into it yet - I'll reopen the issue if I have the issue again.


vala_0_56: 0.56.9 → 0.56.13

https://gitlab.gnome.org/GNOME/vala/-/compare/0.56.9...0.56.13
Description of changes
Picked from gnome branch
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

@ofborg build pantheon.granite7


Add option to add target="_blank" when parsing links

Would be nice to have an option that adds target="_blank" on parsed links.

Hey @SekibOmazic.
This "option" makes more sense as an extension rather than something embeded on core.

Hey @SekibOmazic.
This "option" makes more sense as an extension rather than something embeded on core.

It will be nice to support feature to convert
[adjustable](http://google.com "Giiidd"){:target="_blank"}

Adding extra syntax to the link element is not a good idea as it diverts  from the markdown spec and breks compatibility.
However, there are 2 easy ways to add this to links:
Using embeded html
fiddle
some text with a link google

Create an extension
fiddle
showdown.extension('targetlink', function() {
  return [{
    type: 'lang',
    regex: /\[((?:\[[^\]]*]|[^\[\]])*)]\([ \t]*<?(.*?(?:\(.*?\).*?)?)>?[ \t]*((['"])(.*?)\4[ \t]*)?\)\{\:target=(["'])(.*)\6}/g,
    replace: function(wholematch, linkText, url, a, b, title, c, target) {

      var result = '' + linkText + '';
      return result;
    }
  }];
});


Quality of life and other (somewhat major) updates for AirGradient Outdoor and DIY Pro

Outdoor / Open Air
Detailed discussion about these changes is also documented at https://forum.airgradient.com/t/outdoor-monitor-esphome-configuration/823, including a sample lovelace card used to display the information

Proper/robust support for on-device calculation of both AQI (24h) and NowCast (12h), including reporting "minutes remaining until available" to Home Assistant.
Changes around a few icons to line up with what seems to be the most popular options in the Home Assistant communit forum.

I fail the challenge from @KarolKozlowski to get the AQI calculations to persist across reboots. However, the main reason for this is that I've learned the persistent flash storage on these devices is only good for about 10k writes, which means it would basically wear out after 416 days. I'd be curious to work on getting these calculations integrated into upstream home assistant rather than a bunch of disparate scripts. It feels like something they'd want to have included. That would also be easier to do proper "midnight to midnight" AQI calculations, too.
DIY Pro:

Spent way too much time looking for a better font and screen layouts.

Ubuntu is by far the best-looking font at all sizes, and being a google font also means nothing for the user to manually download.
Updated layout is much more readable, especially from a distance.

Update icons to be consistent with AirGradient Open Air config
Include sgp4x platform for VOC and NOx, commented out by default
Ability to display temperatures in C and F
Clean up formatting
Document why formaldehyde sensor is commented out
Add home assistant encryption key (via !secret)

Now also includes state_class updates from the PR @mhlas7 submitted against my repo.


Incorrect result of saved coverage report

Symptom:
@haolingdong-msft found the printed coverage report is broken as

See coverage file here.
Root cause:
This a random issue so there is a guess of how this happen. We save coverage data for every request by await writeFile. Take a look at the comments from writeFile:

It is unsafe to use fsPromises.writeFile() multiple times on the same file without waiting for the promise to be settled.

A potential issue happens like:

request1 and request2 are accepted by cadl-ranch.
request1 finishes and "await writeFile with coverage data1", then it is suspended.
request2 finishes and "await writeFile with coverage data2", then it is suspended.
"await writeFile with coverage data2" finishes first, we save coverage data 2.
"await writeFile with coverage data1" finishes  later and we save coverage data 1, which is not correct.

This is the issue we might face. For the specific broken issue @haolingdong-msft met, maybe somehow "coverage data2" is longer than "coverage data1", and the "coverage data1" just replace the data in the buffer (which already has "coverage data2"). Then the json brokes.
Anyway, we might need to reconsider the implementation of saving the coverage report. Make it sync (which costs) or save file only once at the end.

This is our CI that meets this problem: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1877589&view=logs&j=ca395085-040a-526b-2ce8-bdc85f692774&t=3763df9f-aac5-5292-209f-31e3fd069cd1
This is the published coverage report: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1877589&view=artifacts&pathAsName=false&type=publishedArtifacts
You will see the coverage json file was broken and check-coverage fails at parseJSON

hhm, could also just wait until the previous write is done before starting a new one.
The problem with writing at the end is: when is the end? The server being the one writing the coverage it's hard to know. Could do it when asked to shutdown but that would not work if the process get forced killed(Would be something to note that you have to make sure to not do when using the test server)

Ok endedup setting a few hooks to make sure it is written on exit. If it doesn't work let me know and how you are killing the processs so we can find a solution.
Maybe can also provide a /.admin/save-coverage endpoint to manually force write.

Thanks @timotheeguerin for the quick fix! Personally, I think providing a  /.admin/save-coverage endpoint to manually force write is more straightforward. Because as a customer, I need to first realize I have to kill the process, before I can save the coverage file. Secondly, If I want to kill the process in CI, I need to first find the process ID running cadl-ranch serve, and then kill the process, it's a bit complex.

I guess I talked to Izzy today about it and python had a different workflow where the fix I made worked well.
What do you think about having a cadl-ranch server start and cadl-ranch server stop command that automatically start the process in the background.
Can always also do the admin endpoint with yet another command cadl-ranch server save-coverage

Thanks Tim for the quick response. Having cadl-ranch server stop works.
Does it mean we still provide --coverageFile when start the server, and use the ``stop` command to stop the server and the file will be saved?

@timotheeguerin are you saying we could only start one instance of cadl-ranch in one machine? Otherwise, which one is cadl-ranch server stop going to stop?

Are you running multiple instance of the test server on the same machine at once? How are you using it?

Correct. We would run test in parellel and we start cadl-ranch by such command

You could see two instances of cadl ranch are started at port 64683 and 64686 separately.

Why are you not starting a single instance if you are running test on parallel with on the same machine?

Why are you not starting a single instance if you are running test on parallel with on the same machine?

We could. It just costs and has low priority. So I don't want to do this currently. But that is a good idea and we could do that in the future.

And then if you are doing this wouldn’t this be the original cause of the corrupted file? 2 process trying to write together?

No, we .net haven't face this issue currently. It is Jave facing this and Java only start one process.
Actually my point is: we could start two instances of cadl ranch, so theoretically cadl-ranch server stop doesn't which one to stop?

I am not proposing replacing the current serve. I am suggesting to add start and stop command as an alternative. The way I would see this is by allowing the port to be passed in the stop command which I guess you must know.

Hi @timotheeguerin, may I know when could start and stop command be available, because currently our CI pipeline is pending on this stop command to stop the server and save the coverage file on exit (currently our pipeline can't save and publish coverage file)?

I can get that done today.

Hi @timotheeguerin, thanks for the quick fix. I saw your pull request, but I found the command cadl-ranch server stop command is not recognized in cadl-ranch cli.
$ npx cadl-ranch server stop
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
cadl-ranch <command>

Commands:
  cadl-ranch validate-scenarios <scenarios  Compile and validate all the Cadl sc
  Path>                                     enarios.
  cadl-ranch generate-scenarios-summary <s  Compile and validate all the Cadl sc
  cenariosPath>                             enarios.
  cadl-ranch serve <scenariosPath>          Serve the mock api at the given path
                                            s.
  cadl-ranch check-coverage <scenariosPath  Serve the mock api at the given path
  >                                         s.
  cadl-ranch validate-mock-apis <scenarios  Validate mock apis have all the scen
  Path>                                     arios specified
  cadl-ranch upload-manifest <scenariosPat  Upload the scenario manifest. DO NOT
  h>                                         CALL in generator.
  cadl-ranch upload-coverage                Upload the coverage report.
Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]
  --debug    Output debug log messages.               [boolean] [default: false]
Unknown arguments: server, stop

I checked the release of cadl ranch: https://github.com/Azure/cadl-ranch/actions/workflows/release.yml, finding the release for ‘Start and stop server commands’ failed. Not sure if this is reason of the command failure. Please kindly take a look. Thanks.

yeah seems like the publish pipeline didn't create the PR bumping the versions, should be publihsed now.


Partial Write

evt__tls__op failed to deal with partial write of evt__send_pending, which makes the whole library unusable.

Can you elaborate or some test case to reproduce?

Can you elaborate or some test case to reproduce?

        case EVT_TLS_OP_WRITE: {
            assert( sz > 0 && "number of bytes to write should be positive");
            r = SSL_write(conn->ssl, buf, sz);
            if ( 0 == r) goto handle_shutdown;
            bytes = evt__send_pending(conn);
            if ( r > 0 && conn->write_cb) {
                conn->write_cb(conn, r);
            }
            break;
        }

evt__tls__op does not use return value bytes, i.e. the API doesn't keep track of how much data has been actually sent, which become conn->writer's responsibility. At its best, the API is very awkward to use.


Get TravisCI instance of Kube

installing Kube with a script will also help developers to do local testing.
Signed-off-by: Madhu Rajanna<EMAIL_ADDRESS>

logs  from Travis CI
* Verifying: apiserver proxy etcd scheduler controller dns
* Done! kubectl is now configured to use "minikube"
Kubernetes master is running at https://<IP_ADDRESS>:8443
KubeDNS is running at https://<IP_ADDRESS>:8443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
The command "sudo scripts/minikube.sh up" exited with 0.
27.87s$ scripts/minikube.sh cephcsi
copying the cephcsi images
canary: Pulling from cephcsi/rbdplugin
Digest: sha256:39497387b4f08f463731e3478ef0353f377a285d94ca16774d9fd83eda7a1e97
Status: Downloaded newer image for quay.io/cephcsi/rbdplugin:canary
canary: Pulling from cephcsi/cephfsplugin
Digest: sha256:3d3bf2646b81d0a7363eefc43f6e30a9b0bb9c84810725450d6696786bf8bb70
Status: Downloaded newer image for quay.io/cephcsi/cephfsplugin:canary
The command "scripts/minikube.sh cephcsi" exited with 0.
7.73s$ scripts/minikube.sh k8s-sidecar
copying the kubernetes sidecar images
v1.0.1: Pulling from k8scsi/csi-attacher
Status: Downloaded newer image for quay.io/k8scsi/csi-attacher:v1.0.1
v1.0.1: Pulling from k8scsi/csi-snapshotter
Status: Downloaded newer image for quay.io/k8scsi/csi-snapshotter:v1.0.1
v1.0.1: Pulling from k8scsi/csi-provisioner
Status: Downloaded newer image for quay.io/k8scsi/csi-provisioner:v1.0.1
v1.0.2: Pulling from k8scsi/csi-node-driver-registrar
Status: Downloaded newer image for quay.io/k8scsi/csi-node-driver-registrar:v1.0.2
The command "scripts/minikube.sh k8s-sidecar" exited with 0.
0.01s$ sudo chown -R travis: $HOME/.minikube /usr/local/bin/kubectl
The command "sudo chown -R travis: $HOME/.minikube /usr/local/bin/kubectl" exited with 0.
$ scripts/test-rook.sh
namespace/rook-ceph created
customresourcedefinition.apiextensions.k8s.io/cephclusters.ceph.rook.io created
customresourcedefinition.apiextensions.k8s.io/cephfilesystems.ceph.rook.io created
customresourcedefinition.apiextensions.k8s.io/cephnfses.ceph.rook.io created
customresourcedefinition.apiextensions.k8s.io/cephobjectstores.ceph.rook.io created
customresourcedefinition.apiextensions.k8s.io/cephobjectstoreusers.ceph.rook.io created
customresourcedefinition.apiextensions.k8s.io/cephblockpools.ceph.rook.io created
customresourcedefinition.apiextensions.k8s.io/volumes.rook.io created
clusterrole.rbac.authorization.k8s.io/rook-ceph-cluster-mgmt created
clusterrole.rbac.authorization.k8s.io/rook-ceph-cluster-mgmt-rules created
role.rbac.authorization.k8s.io/rook-ceph-system created
clusterrole.rbac.authorization.k8s.io/rook-ceph-global created
clusterrole.rbac.authorization.k8s.io/rook-ceph-global-rules created
clusterrole.rbac.authorization.k8s.io/rook-ceph-mgr-cluster created
clusterrole.rbac.authorization.k8s.io/rook-ceph-mgr-cluster-rules created
serviceaccount/rook-ceph-system created
rolebinding.rbac.authorization.k8s.io/rook-ceph-system created
clusterrolebinding.rbac.authorization.k8s.io/rook-ceph-global created
serviceaccount/rook-ceph-osd created
serviceaccount/rook-ceph-mgr created
role.rbac.authorization.k8s.io/rook-ceph-osd created
clusterrole.rbac.authorization.k8s.io/rook-ceph-mgr-system created
clusterrole.rbac.authorization.k8s.io/rook-ceph-mgr-system-rules created
role.rbac.authorization.k8s.io/rook-ceph-mgr created
rolebinding.rbac.authorization.k8s.io/rook-ceph-cluster-mgmt created
rolebinding.rbac.authorization.k8s.io/rook-ceph-osd created
rolebinding.rbac.authorization.k8s.io/rook-ceph-mgr created
rolebinding.rbac.authorization.k8s.io/rook-ceph-mgr-system created
clusterrolebinding.rbac.authorization.k8s.io/rook-ceph-mgr-cluster created
deployment.apps/rook-ceph-operator created
cephcluster.ceph.rook.io/rook-ceph created
deployment.apps/rook-ceph-tools created
...
NAME                                       COMPLETIONS   DURATION   AGE
job.batch/rook-ceph-osd-prepare-minikube   1/1           9s         19s
NAME                                       READY   STATUS      RESTARTS   AGE
pod/rook-ceph-agent-vlrlt                  1/1     Running     0          85s
pod/rook-ceph-mgr-a-6b98f87665-5lj5k       1/1     Running     0          50s
pod/rook-ceph-mon-a-855ff849c8-6tgpl       1/1     Running     0          65s
pod/rook-ceph-operator-8bc78b546-8twqm     1/1     Running     0          111s
pod/rook-ceph-osd-0-54f65f59b8-45lqz       1/1     Running     0          16s
pod/rook-ceph-osd-prepare-minikube-llkcc   0/2     Completed   0          24s
pod/rook-ceph-tools-76c7d559b6-7s895       1/1     Running     0          110s
pod/rook-discover-fbnl6                    1/1     Running     0          85s
NAME                              TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)             AGE
service/rook-ceph-mgr             ClusterIP   <IP_ADDRESS>   <none>        9283/TCP            24s
service/rook-ceph-mgr-dashboard   ClusterIP   <IP_ADDRESS>    <none>        8443/TCP            24s
service/rook-ceph-mon-a           ClusterIP   <IP_ADDRESS>   <none>        6789/TCP,3300/TCP   67s
NAME                             DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
daemonset.apps/rook-ceph-agent   1         1         1       1            1           <none>          85s
daemonset.apps/rook-discover     1         1         1       1            1           <none>          85s
NAME                                 READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/rook-ceph-mgr-a      1/1     1            1           50s
deployment.apps/rook-ceph-mon-a      1/1     1            1           65s
deployment.apps/rook-ceph-operator   1/1     1            1           111s
deployment.apps/rook-ceph-osd-0      1/1     1            1           16s
deployment.apps/rook-ceph-tools      1/1     1            1           110s
NAME                                           DESIRED   CURRENT   READY   AGE
replicaset.apps/rook-ceph-mgr-a-6b98f87665     1         1         1       50s
replicaset.apps/rook-ceph-mon-a-855ff849c8     1         1         1       65s
replicaset.apps/rook-ceph-operator-8bc78b546   1         1         1       111s
replicaset.apps/rook-ceph-osd-0-54f65f59b8     1         1         1       16s
replicaset.apps/rook-ceph-tools-76c7d559b6     1         1         1       110s

complete logs at https://travis-ci.org/ceph/ceph-csi/jobs/535673700

@humblec  @ShyamsundarR PTAL

@Madhu-1 is this replacing #325

@Madhu-1 is this replacing #325

yes humble, this PR will replace #325 and will be more helpful for the local development testing also

yes humble, this PR will replace #325 and will be more helpful for the local development testing also

:). hmmm. let me see.

@humblec PTAL

@ShyamsundarR any further comments on this ?

@humblec PTAL

Lets get this in, Sure,  other improvements can be done as a followup


Not saving second time around

from vidstab import VidStab, layer_overlay, layer_blend
import cv2
import os

# init vid stabilizer
stabilizer = VidStab()

INPUT_FILE_PATH = ".../image_%06d.jpg"
OUT_FILE_PATH = ".../test1_%06d.jpg"
OUT_FILE_PATH_2 = ".../test2_%06d.jpg"

stabilizer.stabilize(input_path=INPUT_FILE_PATH,
                     output_path=OUT_FILE_PATH,
                     border_type='black',
                     border_size= 'auto')

#I realize I can use apply_transform here, just doing this to highlight issue.
stabilizer.stabilize(input_path=INPUT_FILE_PATH,
                     output_path=OUT_FILE_PATH_2,
                     border_type='black',
                     border_size= 'auto', use_stored_transforms=True)

plant_ordered.zip
The second time we run stabilize we get no output.
I was trying to apply second transform onto another dataset, but am doing on the same just to check it's not an issue with my data.
Installed using pip, running on Ubuntu 18

Notes on issue
The video writer isn't being reset if the same instance is used multiple times.  This should be reset either on entering / exiting stabilize process.
Contained reproducible example:
The resulting output videos are 'stable_1.avi' & 'stable_3.avi' (no output for 'stable_2.avi')
import tempfile
from vidstab import VidStab
import vidstab.download_videos as dl

TMP_DIR = tempfile.TemporaryDirectory()
VID_PATH = f'{TMP_DIR.name}/test_video.mp4'

dl.download_ostrich_video(VID_PATH)

stabilizer = VidStab()
stabilizer.stabilize(VID_PATH, 'stable_1.avi')
stabilizer.stabilize(VID_PATH, 'stable_2.avi')

# Reset writer
stabilizer.writer = None
stabilizer.stabilize(VID_PATH, 'stable_3.avi')


Disable for zsh files

When I open a ZSH file it show the message:

ShellCheck only supports sh/bash/dash/ksh scripts. Sorry! [SC1071]shellcheck(1071)

And for file without the shebang, it show:

Tips depend on target shell and yours is unknown. Add a shebang. [SC2148]shellcheck(2148)

IMHO, if the file has the extension zsh the plugin should be disabled.

Thanks for your suggestion, I'll ignore .zsh files by default then.
For now, you can configure it through "shellcheck.ignorePatterns":
{
    "shellcheck.exclude": {
          "**/*.zsh": true
    }
}


The user-provided path does not exist.

im getting below error on on-start.sh script
The user-provided path /home/ec2-user/SageMaker/BACKUP_COMPLETE does not exist.

i followed this and it works.
Using Notepad++ to change end of line characters (CRLF to LF)
Click on Search > Replace (or Ctrl + H)
Find what: \r\n.
Replace with: \n.
Search Mode: select Extended.
Replace All.


Angular should not disable Webpack's import.meta.url parsing by default

Command
build
Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
Actually, Angular should just make up its h*cking mind (see #24616).
Currently, its mysterious and ephemeral built-in webpack configuration disables module.parser.javascript.url, so assets imported with new URL(..., import.meta.url) do not get packaged by default.
Okay, that's fine, if you're into that kind of thing, but at the same time it keeps module.parser.java.importmeta enabled, leading webpack to output entirely useless file:// URLs instead of doing any packaging.
End result is that you just can't use any ES6 module (such as anything compiled with Emscripten's EXPORT_ES6 option) that tries to load some possibly really important asset, like, say, a WebAssembly file.    If you do what is suggested in https://github.com/angular/angular-cli/issues/22351 and try to use the assets option, the actually generated code will not reference this asset because import.meta.url got rewritten to some path on your build filesystem.
But if you then disable module.parser.java.importmeta manually in a custom webpack config, then you end up with import.meta.url in the output code, which utterly breaks testing with karma (since karma does not do ES6 modules, because that's like not groovy, man) and of course also any possibility of targeting a non-ES6-aware browser.
This is the opposite of webpack's perfectly good and sane defaults.  A reasonable workaround is to create a custom webpack config which enables module.parser.java.url, like this:
module.exports = {
  module: {
    parser: {
      javascript: {
        url: true,
      },
    },
  },
};

Minimal Reproduction
From an Angular app, try to load an ES6 module (like https://www.npmjs.com/package/soundswallower?activeTab=explore) that has an accompanying WASM file, or any kind of asset that is loaded with new URL(..., import.meta.url).  The relevant code output by Emscripten is:
 wasmBinaryFile = new URL("soundswallower.web.wasm", import.meta.url).href;

Exception or Error
No response
Your Environment
Angular CLI: 15.1.2
Node: 18.12.1
Package Manager: npm 9.1.3
OS: linux x64

Angular: 15.1.1
... animations, cdk, common, compiler, compiler-cli, core, forms
... localize, material, platform-browser
... platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1501.2
@angular-devkit/build-angular   15.1.2
@angular-devkit/core            15.1.2
@angular-devkit/schematics      15.1.2
@angular/cli                    15.1.2
@schematics/angular             15.1.2
rxjs                            7.5.7
typescript                      4.8.4
webpack                         5.75.0

Anything else relevant?
No response

Karma ES6 support
Karma supports ES6 as long as the browser supports. The problem you are experiencing appears to be a bug on our end which will be addressed via https://github.com/angular/angular-cli/pull/24620
module.parser.javascript.importMeta
Setting this option to false breaks Angular CLI features such as support for web-workers. Unfortunately Webpack is unable to parse these when this is option is disabled. This still seems to be a problem in Webpack that you cannot use import.meta without compromising / breaking other features.
module.parser.javascript.url
We discussed this a couple of month ago. Ultimately, the team decided that we should not keep this enabled as users would this Webpack specific features (asset modules) and make it harder for them to eventually transition away especially since in many cases this was used as a way to fingerprint resources

The Angular CLI also offers the possibility to use the Esbuild which supports ESM fully (which is still experimental and only support ng build) instead of a Webpack based builder. See: https://blog.angular.io/angular-v15-is-now-available-df7be7f2f4c8
If you wish to enable/disable one of these above mentioned Webpack specific features, a custom Webpack configuration would be mandatory.

Thank you for the really detailed response!  This problem basically ate my entire day, so I really appreciate the explanation.
But in particular if using esbuild will solve the problem, I will gladly use esbuild, and suffer the 60% speedup in compile time.
If a custom webpack config is what's necessary, and esbuild is the future anyway, then this is an acceptable solution.

Another suggestion - since (if I'm not mistaken) Angular does allow webpack to bundle workers accessed via import.meta.url, it would be a good idea to extend this special case to WASM files, since they are not really "assets" but actually integral parts of the applicadtion's code.

While Webpack can bundle web workers when using import.meta.url even though url parsing is disabled. It does not offer the same possibility for WASM files.

Closing as per above.


[Chapter 13.2.2] Why not including RabbitMQ in the computation of the readiness state

After reviewing the code in Listing 13.10, I examined the application.yml file within the Dispatcher Service. I didn't come across the management.endpoint.health.group.readiness.include property. I was under the impression that this property should be present and include rabbitmq in the computation of the readiness state. Shouldn't this be the case?

@ongiant that decision is up to the specific case. By default, the readiness endpoint only takes into account the capability of the Spring Boot application to process requests. Based on the specific application requirements, you might want to include additional components to the computation of the readiness endpoint. For example, Edge Service cannot really process any HTTP request if the integration with Redis doesn't work, so in the book we include "Redis" to the readiness health group. The result is that Kubernetes doesn't forward traffic to an instance of Edge Service for which the Redis integration is not working until it's up again.
In the case of Dispatcher Service, the application doesn't process HTTP requests. Since there's no traffic forwarded via Kubernetes (all requests comes from the RabbitMQ queues), we didn't include RabbitMQ in the computation of the health group because we don't need Kubernetes to do anything if some of the instances of Dispatcher Service cannot momentarily call RabbitMQ. The application will self-heal by itself once RabbitMQ become available again.

If you have more questions, feel free to comment on this issue or open a new one. Thank you!


Allow SSL verification to be skipped

Some installs of Ruby don't accept Github's SSL certificate. Adding a --skip-verification flag would allow users to create projects in those environments. Currently, those installs die with OpenSSL::SSL::SSLError while trying to download files from Github. We can't just HTTP URLs for these, because Github redirects all non-HTTPS traffic.

I don't think this is needed any more since we're not hitting github anywhere now since we killed trouting. Reopen if we do need it.


Test: Egress to world with L7 policy

Test to make sure that egress to L7 and DNS-proxy is working correctly.

This change is

test-me-please

Coverage decreased (-0.02%) to 42.62% when pulling b0e0ca8367a39a34b9d0608ff3226b8a9c98619e on eloycoto:EgressL7World into f2dc3771f868848cf9a07290f9df0454a970128b on cilium:master.

test-me-please

test-me-please

@ianvernon only changes the test now, the poller changed was deleted :-)


Custom-plugin: other Precompilers

Hi! Creator of http://vinspee.me/style-guide-guide here.
I'm really interested in using fabricator for my next project. I'm one of the strange (and growing) among us that doesn't use Sass — I use a custom PostCSS build. I have a gulp task for it that works great. I'd love the option to override the default fabricator styles task with my own - is that possible?
Thanks! The new site looks great.

Yup. Sure is. You would just modify the gulpfile.js to use the new task and change the toolkit.scss file extension to whatever PostCSS likes.
This is why I use the folder name styles instead of scss or sass - it makes swapping a little easier.
I will make sure to document this customization in the new docs.

Awesome - it would be cool to have this as a configuration option in the generator. Thanks!
On Mon, Apr 6, 2015 at 9:33 AM, Luke Askew<EMAIL_ADDRESS>wrote:

Yup. Sure is. You would just modify the gulpfile.js to use the new task and change the toolkit.scss file extension to whatever PostCSS likes.
This is why I use the folder name styles instead of scss or sass - it makes swapping a little easier.
I will make sure to document this customization in the new docs.
Reply to this email directly or view it on GitHub:
https://github.com/fbrctr/fabricator/issues/108#issuecomment-90066303

Noted. I'm not familiar with PostCSS. Once the generator is updated to 1.0 (later this week), a PR for that feature would be welcomed.

Will do! Thanks.
On Mon, Apr 6, 2015 at 9:37 AM, Luke Askew<EMAIL_ADDRESS>wrote:

Noted. I'm not familiar with PostCSS. Once the generator is updated to 1.0 (later this week), a PR for that feature would be welcomed.
Reply to this email directly or view it on GitHub:
https://github.com/fbrctr/fabricator/issues/108#issuecomment-90068597

Hey @VinSpee the generator has been updated, but I'm not totally sure how to integrate this type of configuration since fabricator is just included as a submodule. Open to ideas.
https://github.com/fbrctr/generator-fabricator


New menu error

ErrorException in VoyagerBreadController.php line 45:
Undefined variable: dataTypeContent
I created a new menu under admin, and then after click the new menu this came out. Thanks in advance

@lukzpogi make sure you already created the BREAD at database page, and input URL menu match with the BREAD slug that you've created.
Say you've created products BREAD  and has slug named products, then in menu you could input /admin/products as menu URL to access the page.


x/pkgsite:

What is the URL of the page with the issue?
What is your user agent?

Screenshot

What did you do?
client1, err := goftp.DialConfig(config, machines.Machines[macindex].IpAddress)
above global pointer client1 wasn't accessible at both if...else statement
What did you expect to see?
we expect the global pointer client1 to be available at all places with in a go file.
What did you see instead?
The global pointer vlient1 was only accessible on else part of the code and not on if part.
logic of program - create connection n if part, in the next loop iteration in the else part use that client1 to read remote dir contents.

Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions


Require https for KeyStore gateway / KeyProvider arg

https://github.com/oasislabs/oasis-client/blob/afd2e12d3a25b6b50d1997fa3bbc76a3073fe17c/packages/service/src/rpc.ts#L87
In case users typo, we should check here or in KeyStore's ctor at https://github.com/oasislabs/oasis-client/blob/afd2e12d3a25b6b50d1997fa3bbc76a3073fe17c/packages/confidential/src/key-store.ts#L21 that the public keys are fetched over https.  (For testing/debugging purposes, we may want to have a special ctor interface that drops this check and must never be used in production.)
This check is important because if keystore is not fetching over https, then the client could be tricked -- via a MITM -- into submitting a confidential transaction w/o encrypting the payload.
For good defense in depth:  We should also ensure that we have a separate web service endpoint for submitting/proposing confidential transactions w/ an IP that is distinct from that for non-confidential transactions, so that the http port 80 version of the confidential transaction endpoint will definitely cause the client to abend, so that a client-side configuration error is unlikely to go unnoticed / get persisted.
From https://github.com/oasislabs/oasis-client/blob/master/packages/service/src/service.ts I cannot tell if gateway can ever be different from defaultOasisGateway.  If not, then this is lower priority until the ability for clients to pick gateways is implemented.  Grepping through this repo, I don't see connect from
https://github.com/oasislabs/oasis-client/blob/afd2e12d3a25b6b50d1997fa3bbc76a3073fe17c/packages/service/src/oasis-gateway.ts#L82 actually used other than from test code.

HTTP is fine for the purposes of key validation, but in production we'd still want HTTPS in so that we can ensure we're talking to the trusted gateway, which in practice is the one responsible for relaying keys from the key manager since @oasislabs/client connections aren't directly to the key manager.

Scoping this issue to ensure we use a

separate web service endpoint for submitting/proposing confidential transactions w/ an IP that is distinct from that for non-confidential transactions

HTTPS validation will be done as part of https://github.com/oasislabs/oasis.js/issues/125.


SRTM lookups now work across integer lat/lon lines

In this PR:

SRTM is no longer explicitly configurable as a datasource.  Instead it's the global fallback any time that none of the explicitly configured datasources cover the area we need.
SRTM is downloaded as 1x1 degree tiles, breaking on integer lines of latitude & longitude because that seems to be the most robust.
If an input file spans more than one of those files, rasterio.merge is used to combine them
Also some minor documentation housekeeping

Tagging Anchorage (14,121 paths, spans across -150 longitude) takes 1m30s on my machine.
Work for the rest of this week, unless @dabreegster thinks these no longer make sense:

Parallelising lookups
Turning CONTRIBUTING.md into a usable document

Possible later steps:

Do we still need to figure out a workaround for bridges?  Probably better to discuss this offline; may depend on how raster data looks for Seattle.

After opening this PR I investigated an apparent free lunch I was getting, and it was of course no such thing.  Closing to fix the bug; will reopen when fixed.

Sorry for the slow response, few more things came up. I'll try and get the SRTM data validated soon and see how the bridges turn out -- but it might be Tues or Wed now. Your plan for the rest of the week looks good, regardless!

LGTM code-wise. I'm rebuilding my local Docker container and running the import to compare contours, SRTM, and LIDAR.


Have an option to use Windows truststore

From my understanding, libcurl allows the use of Windows trustore with this option : CURLSSLOPT_NATIVE_CA
https://curl.se/libcurl/c/CURLOPT_SSL_OPTIONS.html
It would be a very welcomed addition if we could have an additional parameter to enable this.
Unless there is another way to do it ?

Excellent idea. I'll put it on the todo list 👍🏻

Implemented in v<IP_ADDRESS>
It's worth mentioning that the new option is active by default. By default, both the built-in cacert.pem and Windows CA store are used for SSL validation.
You're free to disable either of them by using /CACERT none and/or /CASTORE false


Dynmically sort/order results from query raises error

I'd like to be able to SQL order a collection of results by an associated column (just like any other ActiveRecord::Relation). The search results are presented in a table where the user can sort/filter dynamically, so maintaining the default rank sort is not a priority.
I'd like to be able to do something like this:
class Unicorn
   has_many :rainbows

   pg_search_scope :search_by_awesomeness,
     :against => [:awesomeness],
     :associated_against => {:rainbow => [:color]}
end

class Rainbow
   belongs_to :unicorn
end

Unicorns.search_by_awesomeness("off the charts").order("rainbow.color")

However, when I try to chain a order onto a result collection I get the following error:
PG::UndefinedTable: ERROR:  missing FROM-clause entry for table "rainbow"

I've tried including and joining the associated table, both before and after the query, but no dice.
I saw the semi-solution of defining a tie-breaker :order_within_Rank as in https://github.com/Casecommons/pg_search/issues/22, but this won't work for me as I need to be able to dynamically sort the results.
Any ideas?

This issue shouldn't be closed just because reorder works if you are ordering by a model's fields.
It still doesn't work when you try to order by its associations. .references() doesn't solve it for .includes(). Apparently, pg_search_scope is generating a query, which for some reason doesn't chain well with complex queries in rails.

Also facing the same issue

Same issue just cropped up for me. Ordering by an association just doesn't work with includes, which is what the popular bullet gem requests for eager loading.

Doesn't work with includes for me too.

Having this problem as well

This ticket should be reopened as the problem still happens when trying to order by an association.


[WIP] Simplified antimeridian wrapping

This branch was failing with a linking error for me locally too, I wanted to test whether a clean build on another machine would fix it :\
Looks like the iOS build script isn't correctly piping build errors into the output - I'll look into that too.


Add pypi publish automation

I'll need to do some testing on this against test pypi before merging and using it in a release


Complete README.md for beginners

File: https://github.com/amfoss/vidyaratna/blob/master/beginners/README.md

Mention about the club
What do we do?
Why should you join?
Other important topics
Complete the assignments(0-7) to get an interview.

I think this we can shift this issue to amfoss/Praveshan since we are not using this repo for the purpose of the tasks. :smiley:


Add the onClosed event to searchBar

This PR is related to adding the onClosed callback method to searchBar and this is related to issue

@ArcticZeroo Were you able to test it? If you are little busy, I can try to create a test repo using this change. Is that okay?

@dineshba You can if you'd like, I will probably have a bit of time this weekend to do so if you don't get a chance

Hi @ArcticZeroo Added one commit for onClosed callback example. Please have a look. I think you have to clone my repo and run the app and see the console log.

All set! Sorry for the delay in testing it 🙂


⚠ SceneTime has degraded performance

In 9f78c5d, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1693 ms

Resolved: SceneTime performance has improved in d32c989 after 6 minutes.


Create Input sizes

OVERVIEW
Create Input sizes.
WHERE SHOULD THE REVIEWER START?
/src/elements/Input.js
HOW CAN THIS BE MANUALLY TESTED?
yarn styleguide
ANY NEW DEPENDENCIES ADDED?
List any new dependencies added.

[x] Does it work in IE >= 11?
[ ] Does it work in other browsers?

SCREENSHOTS (if applicable)

CHECKLIST
Be sure all items are ✅ before submitting a PR for review.

[x] Verify the linters and tests pass: yarn review
[x] Verify you bumped the lib version according to Semantic Versioning Standards
[x] Verify you updated the CHANGELOG
[x] Verify this branch is rebased with the latest master

Please update the Typescript types for the Input component.


Prevent removing classes that were on the original select

This plugin removes the whole "select" and replaces it with plain "input" and removes all classes and attributes from it. Would be nice, to at least keep other attributes

I would prefer not removing "select" at all. This "feature" makes me mad and I have to use another library now because there is no easy option to use it with my Symfony forms. It is a shame because the plugin works well.

This plugin removes the whole "select" and replaces it with plain "input" and removes all classes and attributes from it. Would be nice, to at least keep other attributes

@FluffyDiscord I will keep the classes of select element in the future release

I would prefer not removing "select" at all. This "feature" makes me mad and I have to use another library now because there is no easy option to use it with my Symfony forms. It is a shame because the plugin works well.

I created this plugin as an alternative to native select element. The idea of this plugin is improving performance by removing unwanted DOM elements.

@FluffyDiscord I have updated the code to keep the class names of the native select element.
This feature is available in the release v1.0.25


Release 0.19 Linux 32bit is a 64bit version

The binaries for Linux 32bit
https://github.com/elm/compiler/releases/download/0.19.0/binaries-for-linux.tar.gz
are a 64bit version
Try this on the executable:
file elm
elm: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, with debug_info, not stripped
SSCCE

Elm: 0.19
Browser: --
Operating System: Ubuntu 18.04 32bit

Additional Details
None

Where does it say 32bits?

Ok, then there are 2 version for Linux 64bit with different names?
binaries-for-linux.tar.gz
and
binary-for-linux-64-bit.gz
?

You're right, this is not clear, and there is the same ambiguity for windows and mac:
https://github.com/elm/compiler/releases/

The .tar.gz version exists for old versions of the npm installer. The latest release only has the .gz files.
We do not currently plan to do official builds for 32-bit architectures. What is the usage scenario? That information can help us weigh the benefits and may change the prioritization decision.

Tracking in https://github.com/elm/compiler/issues/2007.
Still would really like to know the usage scenario for the 32-bit computer. Is it an old computer? Is it a special kind of device? Etc.

I would use a 32-bit linux version at home, for trying out elm. Having had some troubles with haskell & cabal a long time ago building from source is not something i look forward to.
This is a low priority for me at the moment.

@jteg68 You actually did not tell why this would require a 32-bit binary

Is it an old computer? Is it a special kind of device? Etc.

An old computer at home is my use case for an Elm 32-bit binary. Actually, while working at home, I like to relax with an old Linux laptop.

I have an old computer in the cloud and would also appreciate a 32-bit binary. Or, better still, an installation process that doesn't rely on curling binaries.

@MarkDBlackwell, @tasuki , what 32bit Linux distribution and version do you use?
@tasuki What do you mean about the installation process? Downloading a single binary is as simple as it can get. You can also use the npm package or the nix package if you want.

The 32bit Linux distribution and version I use is Debian 10.3 (Buster).

@MarkDBlackwell You can give a try at the i386 binaries built on Debian 10 Buster with Docker here:
https://gist.github.com/rlefevre/8fcf368d9951137e9e810c06c111bba1
Please reports issues only in the gist, those are completely unofficial.

I am using an Alpine Linux emulator on my iPad, and I want to easily install Elm on it, but it doesn't have 64 bit emulation. I also wish it was possible to just apk add elm.


Documentation improvements

Minor suggested documentation improvements:

Indicate that ONLY draw.io online can use the required plugin svgdata.js. The desktop version will load it but not use it, no longer supported.
In the getting started section include a link to the example and more explanation for the compound feature (ex. how it uses multiple objets)
Explicitely state that multiple metrics cannot be defined for a cell
Explicitely state that you cannot define multiple cell rules with the same name
Simple validation method for images: Maybe suggest users cut and paste their image into a browser web developer console inspect and provide a screenshot of what is expected. Just to confirm they have valid object ids!

I just checked the first bullet because that would have been really sad. On windows I pulled in the latest draw.io app version v24.7.8. I removed the svgdata plugin. I added the svgdata plugin. I edited an svg and the saved svg displays fine.
All I can think is you didn't restart draw.io after adding the plugin. It works fine and if anything the online version is now more closely resembling the desktop version wrt how the plugins work.

Hmm. Strange. Maybe it is because I am not admin (corporate laptop), maybe something is not registering correctly. I did restart it. It caused me quite a bit of grief, maybe indicate in the docs that when starting a new diagram, check that the objects are displayed. I tried different versions on my windows 10 desktop.

I've added a feature exploration section. compound drive is now documented there. There's also a troubleshooting faq section that can grow over time.
https://github.com/andymchugh/andrewbmchugh-flow-panel/tree/main/src#feature-exploration


FAQ link (linked from search engine) 404s

Reported by @apopiak
This link (https://polkadot.js.org/api/start/FAQ.html) 404s, but it's one of the top results when searching for "polkadot.js.org troubleshooting". Maybe missing a redirect to https://polkadot.js.org/docs/api/FAQ?

can this be pushed to a redirect on the DNS side .. ?

Added a gh-pages 404, it now redirects.

thanks @jacogr


add ability to include domains on /v3/routes and /v3/routes/:guid

Currently to get the raw domain name for a route and whether or not it is internal requires a separate call to /v3/domains/:guid. When listing all of the routes in a CF this ends up being a lot of API calls. This change allows domains to be included in the response payloads of /v3/routes and /v3/routes/:guid.
See issue: https://github.com/cloudfoundry/cloud_controller_ng/issues/1470
Second try of PR: https://github.com/cloudfoundry/cloud_controller_ng/pull/1476

[x] I have reviewed the contributing guide

[x] I have viewed, signed, and submitted the Contributor License Agreement

[x] I have made this pull request to the master branch

[x] I have run all the unit tests using bundle exec rake

[ ] I have run CF Acceptance Tests

I have not run CATS, but I have run bake successfully and tried this out on a bosh-lite.

Example responses:
cf curl /v3/routes?include=domain

{
   "pagination": {
      "total_results": 1,
      "total_pages": 1,
      "first": {
         "href": "https://api.sand-snarl.capi.land/v3/routes?include=domain&page=1&per_page=50"
      },
      "last": {
         "href": "https://api.sand-snarl.capi.land/v3/routes?include=domain&page=1&per_page=50"
      },
      "next": null,
      "previous": null
   },
   "resources": [
      {
         "guid": "dc3b0d6f-c011-4717-980e-fc7b79d4d4b8",
         "created_at": "2019-11-25T20:37:06Z",
         "updated_at": "2019-11-25T20:37:06Z",
         "host": "s",
         "path": "",
         "url": "s.sand-snarl.capi.land",
         "metadata": {
            "labels": {},
            "annotations": {}
         },
         "relationships": {
            "space": {
               "data": {
                  "guid": "ba3b7a83-6a9b-4e80-96f9-bc9e5f7915bc"
               }
            },
            "domain": {
               "data": {
                  "guid": "182c2f13-bf6e-4786-a7c6-da80ff6e645e"
               }
            }
         },
         "links": {
            "self": {
               "href": "https://api.sand-snarl.capi.land/v3/routes/dc3b0d6f-c011-4717-980e-fc7b79d4d4b8"
            },
            "space": {
               "href": "https://api.sand-snarl.capi.land/v3/spaces/ba3b7a83-6a9b-4e80-96f9-bc9e5f7915bc"
            },
            "destinations": {
               "href": "https://api.sand-snarl.capi.land/v3/routes/dc3b0d6f-c011-4717-980e-fc7b79d4d4b8/destinations"
            },
            "domain": {
               "href": "https://api.sand-snarl.capi.land/v3/domains/182c2f13-bf6e-4786-a7c6-da80ff6e645e"
            }
         }
      }
   ],
   "included": {
      "domains": [
         {
            "guid": "182c2f13-bf6e-4786-a7c6-da80ff6e645e",
            "created_at": "2019-11-21T18:40:29Z",
            "updated_at": "2019-11-21T18:40:29Z",
            "name": "sand-snarl.capi.land",
            "internal": false,
            "metadata": {
               "labels": {},
               "annotations": {}
            },
            "relationships": {
               "organization": {
                  "data": null
               },
               "shared_organizations": {
                  "data": []
               }
            },
            "links": {
               "self": {
                  "href": "https://api.sand-snarl.capi.land/v3/domains/182c2f13-bf6e-4786-a7c6-da80ff6e645e"
               },
               "route_reservations": {
                  "href": "https://api.sand-snarl.capi.land/v3/domains/182c2f13-bf6e-4786-a7c6-da80ff6e645e/route_reservations"
               }
            }
         }
      ]
   }
}

cf curl /v3/routes/dc3b0d6f-c011-4717-980e-fc7b79d4d4b8?include=domain

{
   "guid": "dc3b0d6f-c011-4717-980e-fc7b79d4d4b8",
   "created_at": "2019-11-25T20:37:06Z",
   "updated_at": "2019-11-25T20:37:06Z",
   "host": "s",
   "path": "",
   "url": "s.sand-snarl.capi.land",
   "metadata": {
      "labels": {},
      "annotations": {}
   },
   "relationships": {
      "space": {
         "data": {
            "guid": "ba3b7a83-6a9b-4e80-96f9-bc9e5f7915bc"
         }
      },
      "domain": {
         "data": {
            "guid": "182c2f13-bf6e-4786-a7c6-da80ff6e645e"
         }
      }
   },
   "links": {
      "self": {
         "href": "https://api.sand-snarl.capi.land/v3/routes/dc3b0d6f-c011-4717-980e-fc7b79d4d4b8"
      },
      "space": {
         "href": "https://api.sand-snarl.capi.land/v3/spaces/ba3b7a83-6a9b-4e80-96f9-bc9e5f7915bc"
      },
      "destinations": {
         "href": "https://api.sand-snarl.capi.land/v3/routes/dc3b0d6f-c011-4717-980e-fc7b79d4d4b8/destinations"
      },
      "domain": {
         "href": "https://api.sand-snarl.capi.land/v3/domains/182c2f13-bf6e-4786-a7c6-da80ff6e645e"
      }
   },
   "included": {
      "domains": [
         {
            "guid": "182c2f13-bf6e-4786-a7c6-da80ff6e645e",
            "created_at": "2019-11-21T18:40:29Z",
            "updated_at": "2019-11-21T18:40:29Z",
            "name": "sand-snarl.capi.land",
            "internal": false,
            "metadata": {
               "labels": {},
               "annotations": {}
            },
            "relationships": {
               "organization": {
                  "data": null
               },
               "shared_organizations": {
                  "data": []
               }
            },
            "links": {
               "self": {
                  "href": "https://api.sand-snarl.capi.land/v3/domains/182c2f13-bf6e-4786-a7c6-da80ff6e645e"
               },
               "route_reservations": {
                  "href": "https://api.sand-snarl.capi.land/v3/domains/182c2f13-bf6e-4786-a7c6-da80ff6e645e/route_reservations"
               }
            }
         }
      ]
   }
}

cc/ @Gerg @ewrenn8

There may be some flakiness in one of these tests when running against MySQL around ordering. I'll take a look at it tomorrow.

@cwlbraa @sethboyles @ewrenn8
Check out that green Travis build! 😲

There is also this section of the docs: https://v3-apidocs.cloudfoundry.org/version/release-candidate/#resources-with-includes

There is also this section of the docs: https://v3-apidocs.cloudfoundry.org/version/release-candidate/#resources-with-includes

Thanks @Gerg, I'll be back again tomorrow. 👨💻

@Gerg
https://github.com/cloudfoundry/cloud_controller_ng/pull/1503/commits/98c6780d78a848f5a8827403860a753a43505099
Also rebased this branch on master.

Pls merge


Unable to get or update public network access for dps

@azure/arm-deviceprovisioningservices
2.2.1
Unable to update public network access for dps.
Most likely, it is just a typing issue where IotDpsPropertiesDescription does not expose the publicNetworkAccess property.
For example, @azure/arm-iothub exposes this in IotHubProperties
See: https://github.com/Azure/azure-sdk-for-js/blob/af0330bea57b9c724641b2a333d019e1c2be9210/sdk/iothub/arm-iothub/src/models/index.ts#L816

@utsavized Could you try the latest release<EMAIL_ADDRESS>and see if it can resolve this issue ?

close it as resolved.


Warn 'Invalid cookie header' when used gitea repo for config server

Gitea version (or commit ref): 1.10.0
Git version: <IP_ADDRESS>
Operating system: Linux RHEL7
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
When I use a gitea repo for spring cloud config server, There comes too many warn logs
about the Invalid cookie header and keep coming up.
WARN 7764 --- [nio-8888-exec-1] o.a.h.c.protocol.ResponseProcessCookies  : Invalid cookie header: "Set-Cookie: _csrf=xCfr5yFPsDUg9_On8A-8jG3UmsY6MTU3MDc2MDgyNDk2NzQ5MjY0NA; Path=/; Expires=Sat, 12 Oct 2019 02:27:04 GMT; HttpOnly". Invalid 'expires' attribute: Sat, 12 Oct 2019 02:27:04 GMT
I used to think that it was something else due to other components of my project. But when I change the repo source of config server from gitea repo to other git repo, it works.
Probably similar to this question :
https://discourse.gitea.io/t/gitea-over-http-attempts-to-set-cookie-error/917
Screenshots

May be your problem is related to this?
https://github.com/gradle/gradle/issues/1596#issuecomment-305180645
Note: the project is unrelated, just the problem is the same.

@guillep2k Yep,it's the same problem about httpclient standard or sth.but I don't think it's the same cause and I don't get any help or solution from that question actually.

The comment I linked to before was pointing to a "known" bug in Apache.
If in your case it really is a bug in Apache, then nothing can be done in Gitea. The solution would be simply to upgrade Apache to a newer version.


extlinux-conf-builder: expose and use base builder command, allow a custom FDT to be specified

Some bootloaders might not properly detect the model.
If the specific model is known by configuration, provide a way to
explicitly point to a specific dtb in the extlinux.conf.
This adds hardware.deviceTree.name, uses it from the generic-extlinux-compatible module, and exposes the builder command generated there as a read-only NixOS option, which is now used by the sd-image-*.nix files - allowing us to get rid of all the additional imports there, too.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @NixOS/exotic-platform-maintainers

I realized this currently only fixes half of the problem - while one would now be able to pass this to the exlinux builder, the generic-extlinux-compatible is in charge of invoking the builder on the next configuration switch - and it doesn't know about the custom fdt specified, so it'd remove that option again, which is most likely not what we want.
I added the necessary option as hardware.deviceTree.name, use it from the generic-extlinux-compatible module, and expose the builder command generated there as a read-only NixOS option, which is now used by the sd-image-*.nix files - allowing us to get rid of all the additional imports there, too.

I pushed an updated version, containing some drive-by fixes, the refactor, and the addition of the fdt option, please take another look :-)

This now should also work - I successfully switched configurations and built cross sd images with this module. PTAL.

I....totally don't know about this stuff. But maybe the other @NixOS/exotic-platform-maintainers do and can review instead (I see you already CCed).

Okay, let's merge this :-)


Some classes aren't working

When applying to links:
td-n { text-decoration:none; } /* for hover state */

Pseudo-classes too:
.c-green\:h:hover { color: red; }
.c-green\:f:focus { color: red; }

Hey @cbgabe thanks for the report.
To use td-n on hover you need to create a new class td-n:h and set a hover pseudo class to it:
.td-n\:h:hover { text-decoration: none; }

When using those classes, don't forget to use td:h in the HTML too.
Example


Possible issue with service accounts

Library uses ldap3 built in AD integration.  We have a service account that the username and password doesn't work.  All real staff users do work.  Need to figure out what makes these service accounts different and how to get them to work.  NOTE: it seems using straight LDAP with a bind user does work; only the AD integration where a username/password is checked directly does not.

This may just be LDAP permissions somehow.  Putting this ticket so I don't forget to look into it when I get time.


[5313] Cancel bulk recommendations

Context
https://trello.com/c/MilbsSwB/5313-m-bulk-qts-cancelling-the-process
Changes proposed in this pull request

New cancel page with cancel button and link back to previous page (See screenshot)
Add link to cancel from summary, fix errors and the check page
Feature tests for cancelling

Guidance to review

Go through the bulk recommend flow and click on the cancel link from the:

summary page
check page (bare bones atm)
fix-errors

Check that you can cancel and are returned to the start of the journey
Check that you can abort cancelling and return to the previous page (either summary, check of fix-errors)

Important business

[ ] ~Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?~
[ ] ~Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?~
[ ] ~Do we need to send any updates to DQT as part of the work in this PR?~
[ ] ~Does this PR need an ADR?~

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

 [M] Bulk QTS: Cancelling the process

looks good to me! :)


First pass of ini to toml conversion

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

https://www.loom.com/share/f26f694dc56447849315c9c2f232009e?sid=407df406-635b-41d1-a1f7-76306c7fe274


https://developer.mozilla.org/ru/docs/Learn/Что_такое_веб_сервер

Request type

[] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x ] Correction or update
On page
https://developer.mozilla.org/ru/docs/Learn/Что_такое_веб_сервер
with russian language
link https://developer.mozilla.org/en-US/docs/Learn/page_vs_site_vs_server_vs_search_engine
follow to english page
It must be corrected to
https://developer.mozilla.org/ru/docs/Learn/Common_questions/Pages_sites_servers_and_search_engines

Apologies, but we don't have the bandwidth to maintain translations.

But you have target page translation. It is used to see the same language
page on source and link-targed page.
пн, 28 сент. 2020 г. в 17:27, Chris Mills<EMAIL_ADDRESS>
Closed #3639 https://github.com/mdn/sprints/issues/3639.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mdn/sprints/issues/3639#event-3814837765, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKDMUUUEXAWKQOAHG5MVBTTSICMMDANCNFSM4QOPXXCQ
.


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

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


Download Data button doesn't work for Celebrities and Moderation

When I click on the Download Data button on the Analyze->Celebrites and Analyze->Moderation pages, the download file contains data that looks like this reapeating many times:
[object` Object],[object Object],[object Object],[object Object],

This has been fixed in the new front-end repo, here:
https://github.com/awslabs/aws-media-insights/pull/3