Docker 19.03.13 for arm32v7 build failing

For arm32v7, the current version of Docker on Docker Hub is 19.03.08. Meanwhile, Docker version 19.03.13 is available (See Jenkins).
I think it shouldn't make a huge difference to either use 19.03.08 or 19.03.13, but it's a little bit inconsistent though and it could possibly mean that builds with any other newer version may fail.

Indeed, the failure looks like the official binaries might be no good:
Step 6/12 : RUN set -eux; 		apkArch="$(apk --print-arch)"; 	case "$apkArch" in 		x86_64) dockerArch='x86_64' ;; 		armhf) dockerArch='armel' ;; 		armv7) dockerArch='armhf' ;; 		aarch64) dockerArch='aarch64' ;; 		*) echo >&2 "error: unsupported architecture ($apkArch)"; exit 1 ;;	esac; 		if ! wget -O docker.tgz "https://download.docker.com/linux/static/${DOCKER_CHANNEL}/${dockerArch}/docker-${DOCKER_VERSION}.tgz"; then 		echo >&2 "error: failed to download 'docker-${DOCKER_VERSION}' from '${DOCKER_CHANNEL}' for '${dockerArch}'"; 		exit 1; 	fi; 		tar --extract 		--file docker.tgz 		--strip-components 1 		--directory /usr/local/bin/ 	; 	rm docker.tgz; 		dockerd --version; 	docker --version
 ---> Running in 2003701aeec2
+ apk --print-arch
+ apkArch=armv7
+ dockerArch=armhf
+ wget -O docker.tgz https://download.docker.com/linux/static/stable/armhf/docker-19.03.13.tgz
Connecting to download.docker.com (<IP_ADDRESS>:443)
saving to 'docker.tgz'
docker.tgz           100% |********************************| 53.7M  0:00:00 ETA
'docker.tgz' saved
+ tar --extract --file docker.tgz --strip-components 1 --directory /usr/local/bin/
+ rm docker.tgz
+ dockerd --version
Illegal instruction (core dumped)

:disappointed:

The outdated docker version on arm32v7 also means it is currently not possible to use debian:bullseye on arm32. Any idea on how or when this can be fixed?

The outdated docker version on arm32v7 also means it is currently not possible to use debian:bullseye on arm32. Any idea on how or when this can be fixed?

Unfortunately, this is a problem in the upstream Docker build process that's creating the arm* binaries on https://download.docker.com/linux/static/, so the fix needs to happen there. :disappointed:

Unfortunately, this is a problem in the upstream Docker build process that's creating the arm* binaries on https://download.docker.com/linux/static/, so the fix needs to happen there. :disappointed:

Even more people seem to be affected this problem now. Any idea on who to ping to get this forward?

Even more people seem to be affected this problem now. Any idea on who to ping to get this forward?

@tiborvass @thaJeztah can one of you point me at the script that's building those binaries so I can help look into why they're not working? :pray:
I've been digging in https://github.com/docker/docker-ce-packaging/tree/4865d0386b312294a2a6f8dc5a0ed0bfbfff862c/static, but I'm not sure this is what's actually creating those?  (It's a bit hard to track what's actually responsible here :innocent:)

I just tried building dockerd on an armv7 machine using make setup in the moby repository. The resulting dockerd binary yields a segmentation fault when started.
I then manually installed a development environment on the armv7 host (with debian stretch & go 1.13). I then built the static binary using hack/make.sh from the repo. The resulting dockerd binary does not crash and seems to work.
It looks to me like the docker-based build process is somehow broken on armv7.

@tianon could this be related to statically compiled CGO for arm with version of golang prior to 1.16? (there were a number of compiler/toolchain enhancements that addressed some recent segfault/panics we ran into with k3s on arm).

Is this still broken for arm32 with docker 20.10.7?

arm32v6: still broken
+ bashbrew build docker:20.10.7
...
+ dockerd --version
Illegal instruction (core dumped)

+ bashbrew build docker:19.03.15
...
+ dockerd --version
Segmentation fault (core dumped)

arm32v7: still broken
+ bashbrew build docker:20.10.7
...
+ dockerd --version
Illegal instruction (core dumped)

+ bashbrew build docker:19.03.15
...
+ dockerd --version
Segmentation fault (core dumped)

For those who are interested, I built a docker image which includes an up-to-date armhf version. (The armhf binaries are built manually on an armhf host, which is the only way I could get it working.)
It should be more or less a drop-in replacement for the official docker image and I am planning to add future versions as well.
https://github.com/djmaze/dind-image-with-armhf

Unfortunately, the latest binaries are still failing for me:
armv7:
Step 5/15 : RUN set -eux; 		apkArch="$(apk --print-arch)"; 	case "$apkArch" in 		'x86_64') 			url='https://download.docker.com/linux/static/stable/x86_64/docker-20.10.16.tgz'; 			;; 		'armhf') 	url='https://download.docker.com/linux/static/stable/armel/docker-20.10.16.tgz'; 			;; 		'armv7') 	url='https://download.docker.com/linux/static/stable/armhf/docker-20.10.16.tgz'; 			;; 		'aarch64') 	url='https://download.docker.com/linux/static/stable/aarch64/docker-20.10.16.tgz'; 			;; 		*) echo >&2 "error: unsupported architecture ($apkArch)"; exit 1 ;; 	esac; 		wget -O docker.tgz "$url"; 		tar --extract 		--file docker.tgz 		--strip-components 1 		--directory /usr/local/bin/ 	; 	rm docker.tgz; 		dockerd --version; 	docker --version
 ---> Running in 719af9812fe3
+ apk --print-arch
+ apkArch=armv7
+ url=https://download.docker.com/linux/static/stable/armhf/docker-20.10.16.tgz
+ wget -O docker.tgz https://download.docker.com/linux/static/stable/armhf/docker-20.10.16.tgz
Connecting to download.docker.com (<IP_ADDRESS>:443)
saving to 'docker.tgz'
docker.tgz            66% |*********************           | 38.1M  0:00:00 ETA
docker.tgz           100% |********************************| 57.4M  0:00:00 ETA
'docker.tgz' saved
+ tar --extract --file docker.tgz --strip-components 1 --directory /usr/local/bin/
+ rm docker.tgz
+ dockerd --version
Illegal instruction (core dumped)

armv6:
Step 5/15 : RUN set -eux; 		apkArch="$(apk --print-arch)"; 	case "$apkArch" in 		'x86_64') 			url='https://download.docker.com/linux/static/stable/x86_64/docker-20.10.16.tgz'; 			;; 		'armhf') 	url='https://download.docker.com/linux/static/stable/armel/docker-20.10.16.tgz'; 			;; 		'armv7') 	url='https://download.docker.com/linux/static/stable/armhf/docker-20.10.16.tgz'; 			;; 		'aarch64') 	url='https://download.docker.com/linux/static/stable/aarch64/docker-20.10.16.tgz'; 			;; 		*) echo >&2 "error: unsupported architecture ($apkArch)"; exit 1 ;; 	esac; 		wget -O docker.tgz "$url"; 		tar --extract 		--file docker.tgz 		--strip-components 1 		--directory /usr/local/bin/ 	; 	rm docker.tgz; 		dockerd --version; 	docker --version
 ---> Running in 0f17c3f44c23
+ apk --print-arch
+ apkArch=armhf
+ url=https://download.docker.com/linux/static/stable/armel/docker-20.10.16.tgz
+ wget -O docker.tgz https://download.docker.com/linux/static/stable/armel/docker-20.10.16.tgz
Connecting to download.docker.com (<IP_ADDRESS>:443)
saving to 'docker.tgz'
docker.tgz            44% |**************                  | 25.5M  0:00:01 ETA
docker.tgz           100% |********************************| 57.4M  0:00:00 ETA
'docker.tgz' saved
+ tar --extract --file docker.tgz --strip-components 1 --directory /usr/local/bin/
+ rm docker.tgz
+ dockerd --version
Illegal instruction (core dumped)

Hmm dont get, it it works for me on a native raspberry pi...

 You are totally right, and I executed the systems dockerd :facepalm: sorry again. So... that at least explains why it was working only for me, its still not working Illegal instruction as you said.

Not a problem -- it was worth checking again. :+1:

Any chance we could get this going? Now building a container on RPI Kubernetes cluster is not possible.


ensure a map passed to strict contains no nil values

Increased levels of intolerance.... StrictMap will ensure that a map passed to the strict function contains no nil values.
Example use case: services are often configured at run time using configuration derived from structured data files (edn/yaml). These values are often populated during deployment.  If values are undefined behaviour is not always predictable.  Implementing a nil check ensures a service fails fast when values have been missed.
Interested in feedback on

technical implementation, obvs
function naming/conventions
default behaviour; should nil value check be separated from the current functionality, optional composition, etc.
should 'nil' be a configurable value?

also, hi :)

Interesting PR.
A couple of comments from first glance:

If this were a larger project, folks might object to PRs that aren't targeted. No problem here, but if you upgraded Clojure version and did some other stuff and sometimes that gets PRs rejected.
On that topic, might it not be a better idea to depend on an older Clojure version? Do we now depend on 1.8? I'm a little fuzzy on how this should work, but perhaps libs should indicate the oldest version they support and let consumers override that in their own projects?
Do the semantics you're implementing make sense? For example, it is sometimes valid to put nils in a map, if you intentionally do it.
The change isn't backwards compatible, because if someone is putting nils in a map that would stop working.
Of course, I don't think this has any significant number of users, so breaking backwards compatibility isn't a problem if it doesn't actually break anyone's code.
Idea - what if we supported two different kinds of strict map? An "intolerant" map to use your phrase? That way people could opt in to the new behaviour.

In summary though, I think whatever changes to make it still useful for your use case we should do. My replies are a little bit play-acting as if this were a widely deployed project, but I got the feeling from your PR that kind of feedback would be useful to you.
Also, hi. :-)

Excellent points - precisely the response I was looking for, thanks!

indeed. The concept of a targeted PR makes a lot of sense...
I'll confess to not really considering the impact of updating dependency versions in a library... I guess the usual workflow of ensuring your project is on the latest dependency versions doesn't really apply to libraries. As it happens, an update of midje was necessary to support map equality tests but, as these dependencies would not be imposed upon projects that use the library, this update would 'exempt' from those rules
this did give me pause for thought when I pulled this together as, like you say, assigning nil values to a map is a perfectly valid operation - if not my particular use case. I've added the ability to define a predicate instead of a fixed check for nil values.  This also relates somewhat to the next point...
backwards compatibility. Yep. My bad.
offering both kinds of strict map would be the best solution, in my opinion...

I've pulled together another commit to reflect the advice above - my only real question is whether the or not the solution is 'idiomatically' the best implementation...
;; constructor (implemented)
(strict m)        ; strict map, current behaviour
(strict m pred)   ; less tolerant strict map

vs
;; functional composition
(strict m)    ; strict map, current behaviour
(def nil-safe (partial restriction pred))
(def stricter (comp (nil-safe strict))
(stricter m)  ; less tolerant strict map

the former is simpler, the latter more flexible...
Naturally, there is also the issue of naming... which is hard. Suggestions welcome!

I think I prefer the functional composition style. The reason is, I think we're talking about two different kinds of check here:

One is about usage - if I take a valid map and attempt to get something out of it that it doesn't have, don't break it to me gently.
Another is about schema - does this map have any invalid values e.g. nil anywhere in its structure.

Within the implementation of the functional composition style, you might be able to do something more elegant using recursion. So for example rather than getting all the nodes out and then checking them (btw, check out some), you could recursively construct the stricter map one level at a time.
Thinking about that made me wonder - what are the semantics you want out of nil checking? Should the error occur when you construct the stricter map, or when you try and get the e.g. nil out of it?

...as it happens, I did have an implementation using recursion but this didn't allow for easy identification of the path of a failing value, which I considered useful for the exception. Certainly a recursive check may be a more elegant implementation to simply determine if a nil is present.
As for the semantics...  you're right. I'm not entirely sure where this sits within the 'strictly' ns.  The implementation itself blows up on map construction if a predicate is met but it doesn't enforce this if, say, a nil entry is added to a valid map then retrieved.  Indeed, one way to enforce this would be to implement a ...schema[1] :)
It may be that this isn't the place to implement such a quick and dirty solution to a relatively specific problem?
Excuse the dumping ground for thoughts but it's been an interesting dialogue!
[1] Given the use case, it seemed overkill to define a schema for every service configuration file but...  this could be done using composition of largely shared elements. For example, creating a service configuration schema from fragments defining database, queue or config.  I guess a quick and simple 'blow up on nils' was the first steps towards a more mature solution...


Extension causes high cpu load

Issue Type: Performance
Extension Name: html-preview-vscode
Extension Version: 0.2.5
OS Version: Windows_NT x64 6.1.7601
VSCode version: 1.33.0

:warning: Make sure to attach this file from your home-directory:
:warning:C:\Users\user\tht13.html-preview-vscode-unresponsive.cpuprofile.txt
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Still with performance issues. unchanged.

Still with performance issues. unchanged.

It hasn't been fixed yet

same here

lo mismo me pasa ami


Question: Does tekton track the success/failure of cronjobs triggered by it

Seemingly, tekton does not have any dedicated support for "running" cronjobs. (It can only trigger them apparently but not be responsible for running them periodically per se) (correct me if I am wrong).
The way it looks here - https://github.com/tektoncd/triggers/pull/162 ,
one can setup a "trigger" via tekton for starting the execution of a cronjob but still, the cronjob runs and re-runs as a responsibility of kubernetes (apiVersion: batch/v1beta1).
(Question) I wanted to know whether tekton can keep track of and display (say, on my tekton dashboard) the cronjobs (triggered initially by tekton only) about how many times they succeeded or failed or ran?
For example, say a tekton pipeline of mine triggered a cronjob yesterday and since then, that cronjob ran 30 times of which 20 times it succeeded and 10 times it failed.
So, I just wanted to confirm that does tekton track that info and is it capable of displaying me these stats of the cronjob on my tekton dashboard or not?

@yashvardhan-kukreja
You can leverage custom task to implements it.

@yashvardhan-kukreja
You can leverage custom task to implements it.

one can setup a "trigger" via tekton for starting the execution of a cronjob but still, the cronjob runs and re-runs as a responsibility of kubernetes (apiVersion: batch/v1beta1).

It's the other way around -- you configure a CronJob to call a Trigger at specific intervals, the Trigger then triggers a pipelinerun.

one can setup a "trigger" via tekton for starting the execution of a cronjob but still, the cronjob runs and re-runs as a responsibility of kubernetes (apiVersion: batch/v1beta1).

It's the other way around -- you configure a CronJob to call a Trigger at specific intervals, the Trigger then triggers a pipelinerun.

/kind question

/kind question


IE and Firefox compatible?

Hope you're still around, and supporting this project.  I'm having issues with the placement of my carat in the sliding menu on IE and Firefox.  I've narrowed the problem down to this line
"menu.empty().addClass('sliding-menu');"
In chrome the css attribute 'boxSizing' is no longer exists, because of empty().
However, in Firefox and IE, the boxSizing attribute still exists.
Maybe it's because of the modularization on my own that could be the problem.  I was wondering if you have this compatibility problem on your projects.  As it will determine how I approach the solution.

@minijag Hi. Could you put up a screenshot so I could see what you're seeing? I primarily use Chrome and Safari, and I've never had the issue you're having right now. Will try Firefox and see what's up.

This is two images combined into one, if it wasn't clear.

@minijag This seems like a styling issue. Could possibly be because of your added CSS for the icons on the left, or CSS reset, or some global CSS.
Why don't you try inspecting those icons in Chrome and see what's affecting their styling.
I tried it in Firefox last night, I was unable to reproduce your issue.

Ah, interesting.  No worries.

@minijag Were you able to fix this?

Yes, I removed empty(), like I mentioned in the first comment.  It doesnt duplicate children because the  elements are built from the same ones you emptied, and you can't have duplicate elements in your dom.  So if they exist, they just get moved when you append them again.  It's a little sloppy, but I dont think it will ever cause problems.   Thanks for your help, nice library

I'm glad you got that sorted.
Thank you! I plan on rewriting it soon, to fix other issues, and make it more "next-gen" and optimized, etc.


Ignore text not working

Describe the bug
The feature "ignore text" with a valid regex does not yield the result that all lines containing the regex are ignored to calculate diffs. I am getting change notifications for lines which should be ignored
Version
Exact version in the top right area: v0.39.18
To Reproduce
Steps to reproduce the behavior:

Set ignore text to /\d+[mhd]/
Monitor URL https://padlet.com/ilkapackwitz/Klasse1b (Password protected - please contact me so I can provide)
Changes result to lines containing the above regex (see screenshot below)
Notification gets sent nevertheless (from the notification debug log: 2022/09/08 04:56:19,000 - SENDING - [{"title": "Change in Padlet 3b", "body": "Padlet 3b changed:\r\n---\r\n(changed) \u2022 9h\n(into ) \u2022 12h\n(changed) Ilka Packwitz 9h\n(changed) more_vertical\n(changed) \n(changed) Empty\n(changed) \n(changed) Ilka Packwitz 9h\n(changed) more_vertical\n(changed) \n(changed) Empty\n(changed) \n(changed) Ilka Packwitz 9h\n(changed) more_vertical\n(changed) \n(changed) Empty\n(into ) Ilka Packwitz 12h\n(into ) more_vertical\n(into ) \n(into ) Empty\n(into ) \n(into ) Ilka Packwitz 12h\n(into ) more_vertical\n(into ) \n(into ) Empty\n(into ) \n(into ) Ilka Packwitz 12h\n(into ) more_vertical\n(into ) \n(into ) Empty\n(changed) Ilka Packwitz 3d\n(into ) Ilka Packwitz 4d\n(changed) Ilka Packwitz 13d\n(changed) more_vertical\n(into ) Ilka Packwitz 14d\n(into ) more_vertical\n(removed) PDF\r\n---\r\n")

Expected behavior
Notifications should not occur.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: Windows
Browser Chrome
Version 104.0.5112.102 (Official Build) (64-bit)

Additional Info
Fetching performed via WebDriver Chrome/Javascrip

I see your password there in the export, is that OK?

Yes, it is OK. If you let me know when you had a chance to analyze the issue I will remove the link above...


Microsoft/Bing Satellite Image License

Microsoft has contacted me. They are not sure if they are allowed to grant permission for this project to use the bing satellite images. The Microsoft legal team is reviewing it. I may need to use a different source for the images, or change the code to not cache the tiles.

@jremillard The legal team at Microsoft has reviewed this particular scenario and determined that it is consistent with the current terms of the imagery as it relates to contributing to OSM. You're in good hands collaborating with @drewbo and Mapbox but feel free to use the Bing imagery if it is useful in the areas you're working in.

@jharpster Fantastic!


Schema timestamps macro doesn't appear to be handled properly

I have a very basic MongoDB schema structure, with model (document) "A" having an embeds_many relationship with model (document) "B". Both A and B specify the timestamps macro in their schema definitions. When I insert a new A containing several children B, here's what is persisted to MongoDB:

Collection A is created, with no timestamp fields at all.
The several B children are created within A as expected, and while these are created with inserted_at and updated_at fields, these fields are not properly populated, they are both NULL.

There appear to be two problems:

Top level schemas don't appear to persist timestamp fields at all.
Embedded schemas appear to persist, but do not populate, timestamp fields.

If read through ecto documentation which has compatibility with mongodb_ecto (most recent version is ecto 1.0.7) and it would appear that this should be supported in mongodb_ecto.

I originally tested this against MongoDB version 3.2. I now can confirm that this is also an issue in MongoDB version 2.6.11.

Just wanted to say that we use timestamps and it works properly from beginning on Mongodb 3.2.

....but mongo_ecto doesn't support MongoDB 3.2 yet (AFAIK, it didn't as of a few weeks ago). I was actually on MongoDB 3.2, but had to move back to 2.x because truncate wasn't supported and it crashed all of my unit tests.

I don't know about truncate, but timestamps and general db operations are just fine, we use it on staging. I'm not saying it's fully supported, but no major hickups so far. The only problem we have is replicasets, but it's version independent and there is a workaround.

In my Phoenix web apps (I have several) I am using:
mongodb_ecto 0.1.4
ecto 1.0.7
phoenix_ecto 1.2.0
because this is the newest version of all three which to my knowledge work together. I ran into problems using phoenix_ecto 2.0 with mongo_ecto. If anyone knows of newer versions of the three libraries above which have no incompatibilities with one another, by all means, please let me know.
That said, to date, I never have seen timestamps work at all with any 2.x or 3.x version of MongoDB (I'm using 3.2.4 now). Specifically:

Neither inserted_at nor updated_at fields appear at all in any parent (top-level) MongoDB document inserted for any Phoenix model.
The inserted_at and updated_at fields do appear in MongoDB embedded child documents (models) but their values are always NULL.

Now, I'm not sure if these had to be added to the @required_fields or @optional_fields lists in the model in order to be persisted properly, but if that is supposed to be the case, I'd point out two things:

The model files generated with phoenix.gen.html and phoenix.gen.json automatically declare timestamps, but do not include timestamps in either @required_fields or @optional_fields lists, so if those are supposed to be there, that should probably be considered a bug.
It seems very strange that inserted_at and updated_at fields appear in embedded models, but not in the parent. What's the difference?

At any rate, if anyone could lend some guidance as to whether timestamps are just outright broken, or whether there's something you have to do to get them to work, I'd greatly appreciate it.
Thanks...

One additional note....you can't include timestamps in the @required_fields or @optional_fields lists -- it is illegal -- I just tested it. So that isn't a viable approach -- if someone can lend guidance for how to get these to work, that would be great.
Thanks.

This indeed seems very strange. I will investigate.

Thanks @michalmuskala. If there is anything more I can do or info I can provide to help, let me know.
What I am doing is so vanilla, I'm not sure where to start to debug it further. Create a model using mix phoenix.gen.json and persist to MongoDB, and there you go. If it works anywhere else, I'm wondering if this is an issue of dependency versions or incompatibilities somehow, because I would guess it should normally work right out of the box. That's one reason I mentioned the versions of ecto, phoenix_ecto, and mongodb_ecto above, because that was my biggest challenge in integrating mongodb_ecto, finding the versions of libraries which actually worked with one another, because it appears a fair gap has opened between ecto / phoenix_ecto current versions and what mongodb_ecto supports.
Listing the versions of all three that are considered current relative to this project in the README might be a big help...it would help project configuration right out of the gate -- because the default mix phoenix.new creates a project that is not compatible with the current version of mongodb_ecto.

@brado I tested this and it definitely seems to work correctly. Can you check the changeset just before handing it to the Repo? Does it have values for timestamps in the changes part? If so ecto won't insert  new values and use those you - the user - inserted.
The relevant test is here: https://github.com/michalmuskala/mongodb_ecto/commit/80c3a191d57e2fd2ed583ca886b0c2973ba9da8e

Here's what I do to reproduce this issue:

Created a new Phoenix web app project using: mix phoenix.new bigdog --database mongodb
Changed dependencies in mix.exs to:

    #  {:mongodb_ecto, ">= 0.0.0"},
     {:mongodb_ecto, "~> 0.1.4"},
     # {:phoenix_ecto, "~> 2.0"},
     {:phoenix_ecto, "~> 1.2"},

Generated a new JSON API using mix phoenix.gen.json API.Car cars  make:string model:string year:integer

I made no other code changes, other than to make the id an optional field. here is the generated model definition with that minor change:
defmodule Bigdog.API.Car do
  use Bigdog.Web, :model

  schema "cars" do
    field :make, :string
    field :model, :string
    field :year, :integer

    timestamps
  end

  @required_fields ~w(make model year)
  @optional_fields ~w(id)

  def changeset(model, params \\ :empty) do
    model
    |> cast(params, @required_fields, @optional_fields)
  end
end

Without making any code changes, I tried to insert a JSON doc as an HTTP POST. Here is the Phoenix console output, showing first the parameters received by the controller, second an IO.inspect changset on the create changeset, and finally the MongoDB operation:
[info] POST /api/cars

[debug] Processing by Bigdog.API.CarController.create/2
  Parameters: %{"car" => %{"id" => "5759f1d610e3a41a0b6c78de", "make" => "Honda", "model" => "Pilot", "year" => 2016}}
  Pipelines: [:api]

%Ecto.Changeset{action: nil,
 changes: %{id: "5759f1d610e3a41a0b6c78de", make: "Honda", model: "Pilot",
   year: 2016}, constraints: [], errors: [], filters: %{},
 model: %Bigdog.API.Car{__meta__: #Ecto.Schema.Metadata<:built>, id: nil,
  inserted_at: nil, make: nil, model: nil, updated_at: nil, year: nil},
 optional: [:id], opts: [],
 params: %{"id" => "5759f1d610e3a41a0b6c78de", "make" => "Honda",
   "model" => "Pilot", "year" => 2016}, repo: nil,
 required: [:make, :model, :year],
 types: %{id: :binary_id, inserted_at: Ecto.DateTime, make: :string,
   model: :string, updated_at: Ecto.DateTime, year: :integer}, valid?: true,
 validations: []}

[debug] INSERT coll="cars" document=[_id: #BSON.ObjectId<5759f1d610e3a41a0b6c78de>, make: "Honda", model: "Pilot", year: 2016] [] OK query=0.4ms
[info] Sent 201 in 99ms

Here is the document that results in MongoDB 3.2.4:
{
  "_id": ObjectId("5759f1d610e3a41a0b6c78de"),
  "make": "Honda",
  "model": "Pilot",
  "year": 2016
}

Ideas? Maybe I have assumed wrong, but I have thought that timestamps were supposed to work out of the box with generated code. Is there something I'm supposed to do to get it to work? Please advise....I'm hoping this is something easy I've overlooked....I've been creating Phoenix web app projects and generating models and I have never seen this work.
Thanks....

The issue stems from the fact that you use one of the newer phoenix generators that targets new versions of ecto, and produces some incompatibilities.
The one that you face in here is the fact that ecto switched from use Ecto.Model in 1.0 to use Ecto.Schema in the next versions. The main difference, that is relevant here, is the fact that schema does not include callbacks - and callbacks were used in 1.0 to fill timestamps.
To solve this you can change use Ecto.Schema to use Ecto.Model in web/web.ex.

Yep....that did it. I guess it is a wait until mongodb_ecto for Ecto 2.0 before using Ecto.Schema. It might be good to put some doc in the readme that mongodb_ecto doesn't presently won't work with a vanilla Phoenix project created with mix phoenix.new for the current version of Phoenix. Both mix.exs dependencies and this Ecto.Schema to Ecto.Model in web.ex need to be changed.
Thanks for your help @michalmuskala.


Make it clear that Application Id Scopes and Namespaces apply to all Dapr resources

It should be made clear that  all resources today can be namespaced and all resources other than configuration can be scoped to a set of application IDs. These are the resources https://docs.dapr.io/reference/resource-specs/ and I suggest that this is pulled into each of the articles for each resource.
Configurations are different from other resources because there's only a 1:n relationship between an app and a configuration (an app can only have one configuration) so the app is scoping them by selecting the configuration explicitly

Note: say at the top of each resource spec that "any component/subscription/etc can be restricted to a particular namespace and also restricted access through scopes to any particular set of applications", except for Configurations spec
Also make sure namespace and scope properties are consistent between each spec.


add travis configuration file

Please also enable Travis-CI at https://travis-ci.org/

Thanks (by the way - your blog post helped me to set up Travis on another modules).


fixed font styles

Docs Build status updates of commit 064d1c5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/comfort.md
:white_check_mark:Succeeded
View

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


Tracking back/forward ports

The following issues are missing back or forward ports.

#1655 https://github.com/gravitational/gravity/issues/1655 (@a-palchikov)

[x] 6.1
[x] 7.0
[ ] master

#1092 Gravity status should report status of system pods (@bernardjkim)

[x] 6.1
[x] 7.0
[ ] master

#1611 Set up priority classes for system pods (@UnderGreen)

[ ] 6.1
[ ] 7.0
[ ] master

#1623 Revise RPC credentials handling (@a-palchikov)

[x] 6.1
[x] 7.0
[ ] master

#1595 Timedrift checker shows errors during join (@bernardjkim)

[x] 6.1
[x] 7.0
[ ] master

#1698 Do not allow to launch upgrade if last upgrade plan isn't completed/rolled back (@r0mant)

[ ] 6.1
[ ] 7.0
[ ] master

#1789 Fix issue with chown when only uid is specified (@r0mant)

[ ] 6.1
[ ] 7.0
[ ] master

#1748 Disk checker kicks in even if requirements are not specified (@bernardjkim)

[ ] 5.5
[ ] 6.1
[ ] master

Completed ports:

#1209 Node degraded due to kube-apiserver after upgrade (@a-palchikov)

[x] 6.1
[x] 7.0
[x] master

#1703 CVE-2020-13379 - incorrect access control vulnerability Grafana (@UnderGreen)

[x] 6.1
[x] 7.0
[x] master

#1695 Ops Center Monitoring Console displays "Dashboard not found" (@UnderGreen)

[x] 6.1
[x] 7.0
[x] master


⚠ Bofrost.at has degraded performance

In c6455dd, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1751 ms

Resolved: Bofrost.at performance has improved in 76b9658.


updated rng docstring for init and apply

Updated docstring for Module methods init and apply to show examples of default RNG behavior. For more context, see:

#3668
#3669
#3699
#3698

View the updated docstrings here: init and apply

Feels like we could also improve make_rng's docstring e.g. copy some of the examples / explanations from here.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 59.13%. Comparing base (718aa8c) to head (76f6c46).
Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3765   +/-   ##
=======================================
  Coverage   59.12%   59.13%
=======================================
  Files         101      101
  Lines       12468    12469    +1
=======================================
+ Hits         7372     7373    +1
  Misses       5096     5096

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


picker: modify constants so donweights occur rarely

I'm trying to keep diffs relatively small, just enough to fix a situation with hard-crashed managers.
ping @aaronlehmann @stevvooe

@LK4D4 I have a branch I'm working on to address this. I think we need to change the default observation to be larger than 1.
I'm also going to steal your test.

@stevvooe cool, thank you!

LGTM

Current coverage is 54.99% (diff: 100%)

Merging #1266 into master will increase coverage by 0.07%

@@             master      #1266   diff @@
==========================================
  Files            78         78
  Lines         12418      12403    -15
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           6820       6821     +1
+ Misses         4658       4649     -9
+ Partials        940        933     -7

Powered by Codecov. Last update d2af29d...0302ea0


Problem with :GET. unable to expose data as rdf

I am using Neo4j desktop version 3.5.
I have installed the Neosemantics plugin and :GET /rdf/ping works fine.
I loaded the moviegraph and I am trying to expose the data as RDF using
" :GET /semantic/describe/id?nodeid=60".
When I check the node is existing. But I am unable to get the information in RDF.
The following error pops up:

Thanks.

Hi @shwetank2174 , based on the neo4j.conf file you shared here, it looks like you mounted the extension on /rdf so you'd need to call the describe method on the same URL. Something like:
:GET /rdf/describe/id?nodeid=60
Also, notice that I've pushed some changes that slightly change the structure of the URL, so in the next release (hopefully in the next few days) the describe endpoint would look like this instead:
:GET /rdf/describe/id/60
I'll publish documentation and examples with it.
Hope this helps.
JB.

Thanks.
That resolves the issue.


Installing the Bazel Plugin on the client when using Jetbrains Gateway causes some inconsistent UI

Description of the bug:
If you have a gateway instance with the bBazel plugin active (.ijwb opened and working) and you install the Bazel Plugin into the Client (within Jetbrains client there's 2 places to install plugins, Plugins (On Host) aka the remote server; and Plugins aka the Jetbrains Client); the Bazel menu in the toolbar will not show. Likely because the client doesn't consider itself to be in a Bazel project.
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

Have JB Gateway setup with .ijwb project
Install the Bazel plugin on the Host (But not the client)
Notice that the Bazel toolbar menu shows up
Now install the plugin on the Client
Restart and notice that the Bazel menu does not show up.

Which Intellij IDE are you using? Please provide the specific version.
GoLand 2022.2.2 / #GO-222.3739.57
What programming languages and tools are you using? Please provide specific versions.

No
Any other information, logs, or outputs that you want to share?
Probably super low priority, or even not an issue at all. But maybe we can change the config to disallow installing it JBClient.

Hello @JamyDev, Could you please share the inconsistent UI screen and sample project used to test the above. Thanks!

@sgowroji as I went to try and repro this, it seemed like the plugin isn't available for the client and it was more of an issue on our side. Closing.


Leverage Knative to reduce the footprint of the control plane of tenant

Just a very draft though, have no idea if there is any block issue for it.
I saw there is one further work in the PDF, it said we should
Reducing the cost of running tenant control planes
So I think could we leverage knative to do it, especially for the idle tenant?
@Fei-Guo @charleszheng44 @christopherhein @gyliu513
What do you think?
/kind feature

Can you provide more description about your idea? I don't immediate see how knative can help here.

@Fei-Guo I think @vincent-pli is mentioning the case here https://medium.com/ibm-cloud/using-serverless-model-to-reduce-footprint-for-your-kubernetes-openshift-platform-d06bfbeb65f2 , want to leverage knative to scale some pods to 0 if they are idle.

CAPN components are tricky here. We probably always need a set to be ready even if it is idle because we usually cannot tolerate the cost of restart a whole control plane in terms of latency. In the paper, I was thinking about more on system solution such as enabling host memory swap to allow overcommiting the resources of the host that runs CAPN components. The idea is that multiple VCs may not be busy at the same time so overcommitment may be a good idea to reduce the hardware cost.

Yes, my though is we can wrapper at least api-server of tenant to be a KSVC, then it will scale to 0 when idle.
but if we can not tolerate the code start I think it will not be a choice.
@Fei-Guo @gyliu513

Yeah, cold starts of a Kube APIServer are likely too costly with informer cache priming for all objects, I'm imagining a tenant control plane running 1000's of resources having to start up, fetch the state of the world from etcd and then being able to serve the request would be too much. Interesting idea though and I wonder if there are other use cases that would fit that bill.

Yes, my though is we can wrapper at least api-server of tenant to be a KSVC, then it will scale to 0 when idle.
but if we can not tolerate the cold start I think it will not be a choice.
@Fei-Guo @gyliu513

I agree with @christopherhein. The major concern is latency, for a large cluster, it may take 10 - 20 secs to sync the cache. But if each tenant only create a few resources, then it would be a good idea to scale down the apiserver or even controller-manager to 0

@vincent-pli if this all makes sense can we close this?

Sure, thanks everyone


mysql JSON: where statement should be 'CAST AS JSON' by default

GORM Playground Link

https://github.com/go-gorm/playground/pull/371
Description

use datatypes.JSONMap on mysql.
Tag datatypes.JSONMap `gorm:"column:tag"`

it will generate select sql command of DB.Where(&result).Take(&result) as:
SELECT * FROM `users` WHERE `users`.`id` = 1 AND `users`.`created_at` = '2021-08-27 19:48:50.144' AND `users`.`updated_at` = '2021-08-27 19:48:50.144' AND `users`.`name` = 'jinzhu' AND `users`.`tag` = '{"bool":false,"int_array":[1,2,3]}' AND `users`.`deleted_at` IS NULL AND `users`.`id` = 1 LIMIT 1`

But it  got record not found

Not
`users`.`tag` = '{"bool":false,"int_array":[1,2,3]}'

Expected
`users`.`tag` = CAST('{"bool":false,"int_array":[1,2,3]}' AS JSON)


Move clock_global into clock_z{1,2} to enable HA mode

-- DO NOT MERGE UNTIL https://www.pivotaltracker.com/story/show/136621261 IS RELEASED --
This requires https://www.pivotaltracker.com/story/show/136621261 to be
released and merged into cf-release before it can be merged.
The clock job will hold onto a lock in the CCDB to ensure only one clock
is scheduling jobs at a time, which enables deploying more than one
instance of it.

can it be colocated with CCs then instead of having separate machines?
Sent from my iPhone

On Dec 29, 2016, at 4:58 PM, Luan Santos<EMAIL_ADDRESS>wrote:
-- DO NOT MERGE UNTIL https://www.pivotaltracker.com/story/show/136621261 IS RELEASED --
This requires https://www.pivotaltracker.com/story/show/136621261 to be
released and merged into cf-release before it can be merged.
The clock job will hold onto a lock in the CCDB to ensure only one clock
is scheduling jobs at a time, which enables deploying more than one
instance of it.
You can view, comment on, or merge this pull request online at:
https://github.com/cloudfoundry/cf-release/pull/1134
Commit Summary
Move clock_global into clock_z{1,2} to enable HA mode
File Changes
M spec/fixtures/aws/cf-manifest.yml (21)
M spec/fixtures/bosh-lite/cf-manifest.yml (21)
M spec/fixtures/openstack/cf-manifest.yml (23)
M spec/fixtures/openstack/cf-stub.yml     (4)
M spec/fixtures/vsphere/cf-manifest.yml (21)
M templates/cf-infrastructure-bosh-lite.yml (5)
M templates/cf.yml (15)
Patch Links:
https://github.com/cloudfoundry/cf-release/pull/1134.patch
https://github.com/cloudfoundry/cf-release/pull/1134.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@cppforlife Sure, it's still okay to colocate the CC jobs (api, worker, clock) together.

The story has been released if this could be merged please.
Thanks,
Aakash & Luan

@cppforlife I think I misunderstood the question.
We probably could remove the clock job entirely in favor of colocating them with the API instances, but realistic deploys have many, many more api VMs than we'd need clocks. The approach for having the clock be HA includes maintaining an open transaction to the DB, so that would also increase if colocated.

@dsabeti bump - we intended this to go out with CF-251, can we merge it?

Sure, the PR looks fine to merge. One question though: if clock is HA, does it make sense to co-locate it with the api_* jobs? Would like to avoid increasing the footprint if possible.

After talking with @utako and @luan, they brought up the valid point that it doesn't make sense to scale the clocks with the api (imagine a deployment with dozens of cloud controllers). I'll merge the PR.


#67  converter 추가

Resolved #67

Codecov Report

Merging #76 (a64878a) into main (388d625) will increase coverage by 0.04%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main      #76      +/-   ##
============================================
+ Coverage     11.85%   11.90%   +0.04%
  Complexity        9        9
============================================
  Files            14       14
  Lines           253      252       -1
============================================
  Hits             30       30
+ Misses          223      222       -1

Impacted Files
Coverage Δ

...m/benecia/domain/recruitment/code/WelfareCode.java
0.00% <0.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 388d625...a64878a. Read the comment docs.


A fatal error has been detected by the Java Runtime Environment

Spark link
https://spark.lucko.me/xZXKwfon8u
Stack trace
https://paste.gg/p/anonymous/d77b7fbfa36f475da3aa55afa623a33a
Actions to reproduce (if known)
No response
Purpur version
[17:15:27 INFO]: Current Purpur Version: 1.21.1-2287-07979c3 (MC: 1.21.1)*

You are running the latest version

Agreements

[X] I am running the latest version of Purpur available from https://purpurmc.org/downloads.
[X] I have searched for and ensured there isn't already an open issue regarding this.
[X] I ticked all the boxes without actually reading them
[X] My version of Minecraft is supported by Purpur.

Other
No response


nix/xwayland-hidpi: fix patch

Describe your PR, what does it fix/add?

nix/xwayland-hidpi: update patch

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
Untested. @archer-65 do you wanna test this?
Is it ready for merging, or does it need work?
If tests show it works.

Describe your PR, what does it fix/add?
* nix/xwayland-hidpi: update patch

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
Untested. @archer-65 do you wanna test this?
Is it ready for merging, or does it need work?
If tests show it works.

Done. LGTM

Does this patch fix the mouse cursor size issue?

@yeheng282 no, this only fixes the patch not applying on the newer xwayland version.


Revert "Auto-generated cli documentation update - 2024-03-06 06:04:57"

Summary
Reverts stacklok/minder#2523
Change Type
Mark the type of change your PR introduces:

[x] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 39.699% (+0.03%) from 39.669%
when pulling fe1320db7cd4a7207f4c0e5ab700602acddc95ee on revert-2523-create-pull-request/patch-1709733969
into 5a78abc38d3608b9e77d11042aaaf6eea04f6763 on main.


using HOG method?

any sample of using hog method for tracking and detection?

There should be a sample of the HOG Detector in the openCV download package.
These might help.
Hog Detector
People Detector


Update functionality

Work with the update functionality in SnipeSharp api

Would be nice if the agent updated existing attributes on each run. For example:-
Attempting to create type: SnipeSharp.Endpoints.Models.Location Instance name: Newcastle Already exists in DB
Does not make any change in the Snipe-It Web Interface unfortunately.

Need to give this a try, but not got console access to the host at this very moment...
https://snipe-it.readme.io/docs/asset-location-sync

The update functionality has been added in the latest release, v1.5.0.


Dreo Fan does not show same fan switching mods in Homebridge as it Does in HA.

Describe The Bug:
I am unsure if this is fully a bug with how dreo is advertising the fan modes vs a bug/limitation with Homebridge and Homekit, but basically in Homekit I am unable to view the fan modes or even the fan oscillation settings in HomeKit on the main Fan page. Like how it is in HA.
View in Home Assistant:

View in Homekit:
The fan just shows the speed represented by percentage. Please note the lack of oscillate settings.

I have to go to settings just to see the option to Oscillate:
 and even in the fan settings the fan modes are not there.

These show as separate switching entities.
To Reproduce:

Add Dreo Fan to HA using the Dreo Integration
Using the Homebridge integration in HA, add the fan to your Homebridge.

Expected behavior:
The fan and all it's settings are useable in homekit under the same accessory name.
Logs
I'm not sure what logs you need but please let me know what and how to provide and I will do that.
Plugin Config:
Homebridge is configured using the GUI and as such I am not 100% if I can get the json.
Environment:

Plugin Version:0.7.2
Operating System: HAOS 2024.8.2, this is running a vm within VMWARE on Windows 11 Pro

Also Fan Mode controls not available for Model DR-HTF004S in HomeKit.

Im having the same issue with DR-HPF001S even though it says its supported. I don't even see options for oscillation and custom in settings,

Thanks for testing this with HA. I'd like to add this functionality soon so I'll let you know when I have a build with it working.


Terminal error

Terminal auto generating special characters when after opening new terminal. Please solve this issue.
Version: 1.81.1
Commit: 6c3e3dba23e8fadc360aed75ce363ba185c49794
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: codespaces

Please provide a screenshot or a gif illustrating the problem (attaching images won't work via email, you need to go to github.com). See this wiki page for more general info on how to report actionable terminal issues.
/label info-needed terminal

Terminal auto generating special characters when after opening new terminal. Please solve this issue.
Version: 1.81.1
Commit: https://github.com/microsoft/vscode/commit/6c3e3dba23e8fadc360aed75ce363ba185c49794
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: codespaces

This may be an issue with Python or your script. Also, are you alt+clicking anywhere


About Swift 3.0 ?

will support 2.0 and 3.0??

@Barneybook support for 3.0 is on the way.

The master branch supports 2.2.x and 3.0 on OSX. It supports 3.0 on Linux. All Swift Package Manager support is 3.0 only. By 3.0 I mean the last May 9th snapshot.


Provide a cross-platform format specifier (OSSLzu) for printing size_t

This supports the size_t work to enable proper printing of size_t.
Needed by #1751. Also #1666.

I assume you only target master, right?

Yes, master. If we find we need to backport it in the future we can always do it then.

Pushed - thanks. @dwmw2 this should unblock #1666.

Thanks.

Don't quite understand why it failed, but I note the following warnings in the mingw64 build at https://travis-ci.org/openssl/openssl/jobs/170930841 ;
test/cipher_overhead_test.c: In function 'main':
test/cipher_overhead_test.c:29:20: warning: unknown conversion type character 'l' in format [-Wformat]
test/cipher_overhead_test.c:29:20: warning: unknown conversion type character 'l' in format [-Wformat]
test/cipher_overhead_test.c:29:20: warning: unknown conversion type character 'l' in format [-Wformat]
test/cipher_overhead_test.c:29:20: warning: unknown conversion type character 'l' in format [-Wformat]
test/cipher_overhead_test.c:29:20: warning: too many arguments for format [-Wformat-extra-args]

test/dtls_mtu_test.c: In function 'mtu_test':
test/dtls_mtu_test.c:86:20: warning: unknown conversion type character 'l' in format [-Wformat]
test/dtls_mtu_test.c:86:20: warning: too many arguments for format [-Wformat-extra-args]
test/dtls_mtu_test.c:109:13: warning: unknown conversion type character 'l' in format [-Wformat]
test/dtls_mtu_test.c:109:13: warning: unknown conversion type character 'l' in format [-Wformat]
test/dtls_mtu_test.c:109:13: warning: too many arguments for format [-Wformat-extra-args]
test/dtls_mtu_test.c:120:25: warning: unknown conversion type character 'l' in format [-Wformat]
test/dtls_mtu_test.c:120:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat]
test/dtls_mtu_test.c:120:25: warning: unknown conversion type character 'l' in format [-Wformat]
test/dtls_mtu_test.c:120:25: warning: unknown conversion type character 'l' in format [-Wformat]
test/dtls_mtu_test.c:120:25: warning: too many arguments for format [-Wformat-extra-args]
test/dtls_mtu_test.c:130:25: warning: unknown conversion type character 'l' in format [-Wformat]
test/dtls_mtu_test.c:130:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat]
test/dtls_mtu_test.c:130:25: warning: unknown conversion type character 'l' in format [-Wformat]
test/dtls_mtu_test.c:130:25: warning: unknown conversion type character 'l' in format [-Wformat]
test/dtls_mtu_test.c:130:25: warning: too many arguments for format [-Wformat-extra-args]

Could it be that it was expanded to "llu" and that isn't acceptable on that platform (mingw64)?

Ah, yup, that's it.  For the mingw64 target, one of the bn_ops is SIXTY_FOUR_BIT, which results in PRIu64 being defined as "llu", which OSSLzu copies...

It's curious, though, that no error is generated where PRIu64 is used...

Windows should be using %Lu for PRIu64 shouldn't it?

Windows defines PRIu64 on its own...


Support includeStyles config option

Add includeStyles config option to allow apps for opting out of the shepherd default css

@grodriguez85 this addon has been updated, and you now have to manually include the shepherd.css file, so this PR is not necessary. Thank you for your work though!


Please update the README.md to include more information about the purpose of this repository

README.md and spec folder structure aligned with the SIP and the AIP.
We will be using this structure awaiting possible changes from the DAS Board GIT team.


Typo " @stmt"→" @stmt"

bold with escape characters
https://docs.microsoft.com/en-us/sql/relational-databases/errors-events/mssqlserver-10509-database-engine-error?view=sql-server-ver15

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

Thanks.


[dart2js] Allow to specify headers for EventSource

It would be nice to be able to specify specify header for EventSource.
Now the constructor only accept 2 parameters: url, withCredentials.
It would be nice to add a third parameter headers which will allow to pass custom HTTP headers.
Thanks.

Thanks for the suggestion!
It looks like the EventSource API isn't defined by the Web specification to take in a custom HTTP header. Our intention with dart:html APIs is to generally try and match the Web specification, so I don't see us adding this extra parameter right now.
However, as a workaround, you could use JS interop with @staticInterop. There are some limitations which might not fit your use case exactly, but for now, @staticInterop is our recommended path for interop with native types.


2-touch move is still eventually interpreted as a single-touch touchend, causing unexpected gestures

Fixed; cannot reproduce


CSS Element "element:nth-child(even)" doesn't seem to be recognized

Hi,
it seems that the CSS Pseudoclass element:nth-child() doesn't seem to work. For example tr:nth-child(even)
The CSS formating is just skipped - normal styling to tr is applied without problems.
Im using the latest versions (beta), both for HTMLRenderer and PDFSharp.
Im generating the HTML String (which validates correct) and my CSS also works directly in browsers.
Im doing the following:
TheArtOfDev.HtmlRenderer.PdfSharp.PdfGenerateConfig config = new TheArtOfDev.HtmlRenderer.PdfSharp.PdfGenerateConfig(); 			config.PageOrientation = PdfSharp.PageOrientation.Landscape; 			config.PageSize = PdfSharp.PageSize.A4; 			PdfSharp.Pdf.PdfDocument pdf = TheArtOfDev.HtmlRenderer.PdfSharp.PdfGenerator.GeneratePdf(htmlstring, config); 			pdf.Save(pathtopdf);

Oh, thats wrong!
Just the background color or images dont get rendered... I have no clue why


Add webapps data for PWA compatibility

Add description, shortcut, display mode, icons for installable compatibility.

Thank you!


Avoid using root path on admin UI

I want to discuss this change. If you guys are ok, I'm happy for a PR.
Currently, admin UI on host:8083 use absolute asset path. On some strict environment, I cannot open port 8083, I therefore using Nginx and set it up like this: http://host/influxdb_admin -> <IP_ADDRESS>:8083. However, the asset cannot be loaded because they will be set to host:8083/asset. Note that, port 8083 isn't open to public.
I suggest that we removed that and respect that uri and prepend them to asset path propertly to make above setting work.

+1
I would like to proxy on a nested root path as well.

guys, do you have a plan to introduce this functionality within the next major release 0.9 version?

Could anyone help to solve authentication issue? It goes to  http://IP:8086/cluster_admins rather than http://IP:80/influxdb_web/cluster_admins (we defined /influxdb_web as Nginx custom location)

guys, is there any option to use Nginx as a reverse-proxy for InfluxDB web/api access and avoid using CORS?

not currently. We'll see what we can do for 0.9.0. Out of curiosity, why do
you want to use Nginx as a reverse proxy?
On Tue, Jan 20, 2015 at 1:16 PM, Anatoly Mikhailov<EMAIL_ADDRESS>
wrote:

guys, is there any option to use Nginx as a reverse-proxy for InfluxDB
web/api access and avoid using CORS?
—
Reply to this email directly or view it on GitHub
https://github.com/influxdb/influxdb/issues/1236#issuecomment-70703515.

Nginx is great for having uniform access controls (LDAP integration) and also encapsulating deployment complexity. I make a landing page which links to /graphite, /grafana/, /kibana, and now I'd like to have /influxdb. Nginx in turn hides how all those are services are running.

@pauldix I totally agree with @xrl
Also, we cannot open other port than port 80 bcuz a strict firewall and have to use HAProxy/Nginx then detect the hostname and route into correct backend. It's much more secure than IMHO

yes, @xrl and @kureikain are absolutely right, by some security concern (security audit requires to have 80/443 ports open only for app nodes, for instance), we can keep SSL certificates settings in one place (Nginx configuration), we can load balance between machines to build failover for influxDB web interface and the API. Many many different use cases where reverse-proxy makes sense.

This is a duplicate of https://github.com/influxdb/influxdb-admin/issues/34. I will close that issue in favour of this one.

@porjo, will you merge the commit https://github.com/Sean1e/influxdb/commit/fe0967c6ab5d672ec896a3120cd0ef668e4258ff ?

@mikhailov I'm not sure what you mean (I'm not a maintainer BTW).

+1

Same problem here. I'm using nginx in front of InfluxDB for the same reasons as @xrl This is my current config:
https://github.com/influxdb/influxdb/issues/1205#issuecomment-76965477
This works except for the InfluxDB admin because I can't tell it to use a different root and no username/password.
Another related issue is #1621

Sean1e@fe0967c commit makes static assets URI relative which is an answer, but it seems influxdb will have admin panel as a separate tool now?

+1, is anyone making an effort to fix this? Still having this issue in RC10.

+1

Here is a hacky way that will let you run a reverse proxy through port 80 on apache:
https://gist.github.com/bitdivine/3366f3d21e025cac3b83
This is tested with the latest deb package from the influxdb web site at the time of writing.
By the way, how do you plan to implement support for reverse proxying?  Do you know what the solution is likely to look like?  For example you could do this by setting a prefix in the config file:
[admin]
port   = 8083  <-- the actual port
public_prefix = ':8080/admin/' <-- what is shoved onto the front of links in web pages.
The proxy software is then responsible for removing the prefix.

:+1:

:+1:

Once #2746 is merged, all assets should be using relative paths. I believe that resolves the original issue.
If the reverse-proxy support is still needed, could someone open up a new issue for that requirement?

:+1:


[Ansible::Runner] Add extra ptyhon3 path to PYTHONPATH

Adds an additional path to look in when using python3 on an appliance.
Also does a bit of refactoring to support this better in the furture and avoid path checking with each invocation of Ansible::Runner.  The memoization as part of the refactoring isn't really required if reviewers find it problimatic, though I don't see this changing while an appliance would still be running and loaded.  However, if we think that could potentially be an issue, then that can be removed with little performance impact as a result.
Links

Bandage fix for https://bugzilla.redhat.com/show_bug.cgi?id=1752620

@billfitzgerald0120 was able to test this on an appliance to confirm that it fixes the issue described in the BZ, so I think this is good to go for ivanchuk at the very least!
Thanks again @billfitzgerald0120 for the testing!

@miq-bot assign @Fryguy

@miq-bot add_label ivanchuk/yes, embedded ansible
@Fryguy and/or @agrare can I get a review on this one?  It is being treated as a blocker.

@miq-bot add_label blocker

@NickLaMuro what happens with python packages of two different versions that are both on the PYTHONPATH?

@billfitzgerald0120 tested this on an appliance where it was failing previously, and it works fine after the patch.  Prior to the patch, you would get this error from ansible:
 "msg": "ovirtsdk4 version 4.3.0 or higher is required for this module"

Which is the case since we are using ansible 2.8 on our appliances now.

The ovirtsdk4 package will be there twice with two different versions, which one would e.g. the manageiq-providers-ovirt cluster-upgrade playbook use?

I believe the path should be setup where we are using the ovirtsdk4 that we install first, so that will get the priority.  This is similar to how $PATH (for shell) and $LOAD_PATH in ruby works where the first path is given priority, and in our case, the package for ovirtsdk4 lives in the first location /usr/lib64/..., so it will load the newer version that we install first.

Tested a RHV cluster upgrade, without this patch it failed on the ovirtsdk4 version and with this patch it got past that :+1:

Ivanchuk backport details:
$ git log -1
commit d9cf38b6a5d0d1a65b6801990ff0c5d2a9348cc7
Author: Adam Grare<EMAIL_ADDRESS>Date:   Tue Oct 1 15:07:14 2019 -0400

    Merge pull request #19323 from NickLaMuro/embedded_ansible_MOAR_PYTHON_PATHZ

    [Ansible::Runner] Add extra ptyhon3 path to PYTHONPATH

    (cherry picked from commit 644e5fb5202cbb5ea0dd4ac6b52e306eb3f73df6)

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


How to determine scale_factor and scene_scater in the config file.

Hi,
How to determine scale_factor and scene_scater in the config file.
The original value of scale_factor is 5.0, and the value of scene_center is [0.2, 1.4, 7.1].

Hi, we determine the scale factor by measuring the size of the reconstruction target (i.e., room size) with MeshLab, and set the scene center to the reconstruction center (i.e., a desk).
You can also automatically compute these scale_factor using max distances of two cameras with some empirical scaling factors (e.g., 5), or adopting scene contraction like nerfstudio/mipnerf360 does.

Hi, @ybbbbt
Can you share me the code about how to generate the bbox.json?


ReCaptcha Issue

Hi all,
Finally got this setup (whew that was fun!)
Without ReCaptcha works fine every time like a charm.
With ReCaptcha it sometimes will change users password and sometimes not. Even if you leave all the credentials filled in exactly the same and reverify the Recaptcha, then try again it will go through when the first time it doesnt.
Just wondering if anyone else was experiencing this.  When it doesnt work it just says unable to change password (no error code or anything)

Please try with the latest version and let us know if this is still a problem. Reopen the issue if necessary.


First Android app: Android Basics with Compose

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-first-app?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-1-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-first-app#1
In which task and step of the codelab can this issue be found?
Step 2
Describe the problem
Step 2 is not consistant with the Androidstudio Flamingo on description. On program load for "Greeting Card" the error in the software says "Gradle project sync failed. Basic functionality (e.g. editing, debugging)will not work properly"
Steps to reproduce?
Following Step 2 on the codelab up to this point
In this codelab, you create an Android app with the Empty Activity project template provided by Android Studio.
To create a project in Android Studio:
Double click the Android Studio icon to launch Android Studio.

4853d32c0c91ae24.png
In the Welcome to Android Studio dialog, click New Project.

new project open project and other options
The New Project window opens with a list of templates provided by Android Studio.
935c2d9a4df8b864.png
In Android Studio, a project template is an Android project that provides the blueprint for a certain type of app. Templates create the structure of the project and the files needed for Android Studio to build your project. The template that you choose provides starter code to get you going faster.
Make sure the Phone and Tablet tab is selected.
Click the Empty Activity template to select it as the template for your project. The Empty Activity template is the template to create a simple project that you can use to build a Compose app. It has a single screen and displays the text "Hello Android!".
Click Next. The New Project dialog opens. This has some fields to configure your project.
Configure your project as follows:

The Name field is used to enter the name of your project, for this codelab type "Greeting Card".
Leave the Package name field as is. This is how your files will be organized in the file structure. In this case, the package name will be com.example.greetingcard.
Leave the Save location field as is. It contains the location where all the files related to your project are saved. Take a note of where that is on your computer so that you can find your files.
Select API 24: Android 7.0 (Nougat) from the menu in the Minimum SDK field. Minimum SDK indicates the minimum version of Android that your app can run on.
c860e875eefd68b7.png
Click Finish. This may take a while - this is a great time to get a cup of tea! While Android Studio is setting up, a progress bar and message indicates whether Android Studio is still setting up your project.

it is here the errors are shown and i cannot proceed further
Versions
Android Studio version: 2022.2.1 Patch 2
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

idea.log

From what I could find, I think you need to update your JDK version to 11 or above.
Other thing that you can do is :
build.gradle(project)
plugins {
    id 'com.android.application' version '8.0.0' apply false
    id 'com.android.library' version '8.0.0' apply false
    id 'org.jetbrains.kotlin.android' version '1.8.0' apply false
}

build.gradle(:app)
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    kotlinOptions {
        jvmTarget = '1.8'
    }

Hi @DamionG1
Thank you for writing in with your issue.
We were unable to duplicate your issue.
Have you tried the suggestions provided by the other student?
Please try again with Android Studio Giraffe, which is the latest stable version.
If you are still having a problem and have the time, please create a new issue with all the requested information so we can pass it along to the appropriate team.
Hope you are enjoying the course!
Regards.


How to handle with the Dynamic Scene?

For example, how do you render the move photographer in the last clip of the video?
https://github.com/lfranke/VET/assets/18318646/a6d64e92-c8fa-44c4-8ba9-08c58ef17637

There is no specific handling for that. We took the input (for which there is a dense image coverage) and optimized the scene, that means cleaning the outliers, adding additional point via VET and optimizing point descriptors. I think the reason why this works well in this scene is that we use a rasterizer with alpha blending, as such the view dependent elements can be optimized into multiple points layered inside the spheres. In our experiments, when using or transitioning to just a depth-test point rasterizer this scene type fails.

Thank you for getting back to me. It is an exciting problem worth researching.


docs(readme): add CodeClimate badges to the readme

Add Code Coverage and Maintainability badges for CodeClimate to the README

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Small fixes to D.wfs.ps.2.5D & D.wfs.ps.2.5D.refline

D.wfs.ps.2.5D: swap |\xref-\x_0|+|\x_0-\xs|  to keep the order consistent with D.wfs.ps.2.5D.refline
D.wfs.ps.2.5D.refline: also exchange the second |\x_0-\xs| for d_\text{s}

Hi, thanks.
The first part looks good, but your change to D.wfs.ps.2.5D.refline seems to be wrong as |\x_0-\xs| is not identical to d_\text{s} which is the shortest distance between all secondary sources and the virtual point source position.

That's what you get for just quickly glancing over :)


Prune carnot old block

For this to work with cli app, we need to move carnot/blocks endpoint to storage/blocks, the app at the moment pull latest 500 blocks directly from consensus.

For this to work with cli app, we need to move carnot/blocks endpoint to storage/blocks, the app at the moment pull latest 500 blocks directly from consensus.

Yes, I was aware. There is a block explorer PR that supplies that. But probably needs some updates. That is why I open this as a draft.

I think block explorer is really worth continuing, when it's ready, this change could be done.

@bacv do you think we could use of https://github.com/logos-co/nomos-node/pull/558 better for now? Until the block explorer is ready an integrated?

https://github.com/logos-co/nomos-node/pull/558 would allow the cli app to work (pruning controlled by the client). Even though it's not the final version, it would allow us to use testnet from the master branch (if merged).
On the other hand, we won't need api provided by #558 if we have block explorer and pruning at the consensus level, so it feels bit redundant.

IIRC, there was some discussion about avoiding complicated apis in the node, but we need a way to provide blocks.
Regardless of that, we should not keep block headers forever and this PR does the right thing. Just make sure it does not break the chat app when we merge it

Closing as we removed Carnot


Shell: parsing quotes inside comment inside command substituion

Examples with the bug:
foobar --ok `# '` --bug

foobar --ok `# "` --bug

foobar --ok "`# '`" --bug

foobar --ok $(# ') --bug

Real-life case, the bug report at: https://github.com/koalaman/shellcheck/issues/729 (not the bug reported there itself)

here are the examples rendered live, with the bug in the last one: https://jsfiddle.net/amroamroamro/xkjhf5q9/

Oh, I'm, terribly sorry, twice actually, once for assuming that github uses google-code-prettify (somehow I got it mixed up with what the shellcheck web UI uses) and the secondly for giving you the wrong example. Apparently this is one of those rare cases where $() indeed behave differently from `` and the syntax highlighting is actually spot on when it comes to the last example! I'm terribly sorry for anyone's time I wasted.

no problem. By the way, Stack Overflow does use google/code-prettify.

Yes, that's what I got it mixed up with.


DashCanvas fails gracefully on unknown viewSpecId

A persisted state could ref. an obsolete widget - currently that will throw the model ctor.

Hoist P/R Checklist
Pull request authors: Review and check off the below. Items that do not apply can also be
checked off to indicate they have been considered. If unclear if a step is relevant, please leave
unchecked and note in comments.

[x] Caught up with develop branch as of last change.
[x] Added CHANGELOG entry, or determined not required.
[x] Reviewed for breaking changes, added breaking-change label + CHANGELOG if so.
[x] Updated doc comments / prop-types, or determined not required.
[x] Reviewed and tested on Mobile, or determined not required.
[x] Created Toolbox branch / PR, or determined not required.

If your change is still a WIP, please use the "Create draft pull request" option in the split
button below to indicate it is not ready yet for a final review.

Pull request reviewers: when merging this P/R, please consider using a squash commit to
collapse multiple intermediate commits into a single commit representing the overall feature
change. This helps keep the commit log clean and easy to scan across releases. PRs containing a
single commit should be rebased when possible.

There are two other assertions within addViewInternal() that throw - wasn't sure if they could be encountered when restoring saved state.  The one around allowAdd seemed sus -  especially given this doc comment:
https://github.com/xh/hoist-react/blob/0d7a8d3fc718d6b91c7e85b9ea56bb1396478067/desktop/cmp/dash/DashViewSpec.js#L40

This change looks good to me, and agreed- seems we want to handle these cases better when loading from persisted state.
allowAdd in particular like you mentioned seems like it should only apply to the user trying to manually add a widget, not when loading from a persisted or initial state.


refactor aspnetcore tests (part1)

Splitting up my previous PR (#1846) to prevent conflicts with Raj
I need to work with the ApplicationInsightsExtensionsTests but this class is difficult to understand.
It's actually one file with 3 large tests and two helper classes.
Changes

move helper classes into separate file.

Checklist

[ ] I ran Unit Tests locally.
[ ] CHANGELOG.md updated with one line description of the fix, and a link to the original issue if available.

For significant contributions please make sure you have completed the following items:

[ ] Design discussion issue #
[ ] Changes in public surface reviewed

The PR will trigger build, unit tests, and functional tests automatically. Please follow these instructions to build and test locally.
Notes for authors:

FxCop and other analyzers will fail the build. To see these errors yourself, compile localy using the Release configuration.

Notes for reviewers:

We support comment build triggers

/AzurePipelines run will queue all builds
/AzurePipelines run <pipeline-name> will queue a specific build

@rajkumar-rangaraj i made sure these changes don't conflict with your PR


+$[,wATCH,]full— Baltasar Ebang Engonga Video Original Video Link Baltasar Ebang Engonga Video Viral On Social Media X Trending Now

51 seconds ago Baltasar Ebang Engonga L𝚎aked Video Viral On Social Media. Θ(ＷＡＴＣＨ VIDEO𝕊) Baltasar Ebang Engonga Viral ᴠɪᴅᴇᴏ ʟᴇᴀᴋᴇᴅ Update Files Trending On Social Media X Telegram
L𝚎aked Video Baltasar Ebang Engonga Original Video Viral Video L𝚎aked on X Twitter Telegram
Baltasar Ebang Engonga Dark Video Female Baltasar Ebang Engonga Dark Video Link Viral On Social Media X TikTok Trending Now
Baltasar Ebang Engonga Original Video video took the internet by storm and amazed viewers on various social media platforms. Baltasar Ebang Engonga , a young and talented digital creator, recently became famous thanks to this interesting video.
L𝚎aked Video Baltasar Ebang Engonga Original Video Viral Video L𝚎aked on X Twitter
Baltasar Ebang Engonga Original Video video oficial twitter
L𝚎aked Video Baltasar Ebang Engonga Original Video Viral Video L𝚎aked on X Twitter.
.
.
.
.
.
Baltasar Ebang Engonga's latest video has taken the internet by storm, sparking lively discussions across various social media platforms. The rising digital influencer, known for her captivating content—especially her recent Spiderman-themed video—has experienced a massive surge in popularity. Fans are eagerly awaiting the full version, while audiences flock to Instagram, X (formerly Twitter), and Discord to engage with her latest creation.
As excitement continues to grow, fans are actively sharing their thoughts online, highlighting the crucial role social media plays in propelling creators like Baltasar Ebang Engonga into the spotlight. With her unique style and creative approach, she has made a significant impact on the digital scene, leaving fans excited for what’s to come next. The viral success of her video further underscores the power of social media in boosting visibility and fostering stronger connections between creators and their audiences.
.
..
In the digital age, content spreads at an unprecedented speed. Social media has transformed how we communicate, share, and consume information. From trending topics to viral videos, platforms like Twitter, TikTok, Instagram, and Facebook have become central to modern discourse. Amid this environment, the name "Baltasar Ebang Engonga" has gained significant attention following the leak of a controversial video. The so-called "Baltasar Ebang Engonga Leaked video" became viral, making waves on various social media platforms and sparking a debate on privacy, online safety, and the implications of going viral.
This article aims to delve into the phenomenon of the Baltasar Ebang Engonga Leaked video, examining its origins, how it became viral, and the broader implications of such content in the age of social media virality. It also explores the ethical and legal dimensions surrounding Leaked videos and the influence of digital culture on personal privacy.zxvs.
.
..//

vxvvx


Soft Deletes Meta Issue

Currently, all deletes are good and proper Deletions.
This imposes quite a bit of risk for moderator activities, causes confusion and frustration for maintainers, and blocks us from implementing some important features down the line.
This issue is a "Meta Issue" for tracking progress on soft deletion implementation for models for which it makes sense.
Currently:

[ ] #4440 Projects/Releases/Files

Is this issue okay to use for feedback/input? Otherwise, I'll happily delete and post elsewhere.
Here is a scenario that might cause frustrations in the future, as the pattern might propagate: Bots (like dependabot) + Pipenv.lock + package deletion = :confounded:
This is already happening.
In this scenario, bots create updates (PRs) for Pipenv.lock that are hard for humans to read, they quickly and automatically pass the build, and once they are merged, they're broken -- because the package take a while for a human to delete, and PRs take a while for humans to merge.
There are some ingredients in the deletion that can perhaps be put to use?

Statistics = 0-10 downloads: If (almost) no one ever used the release or project, then fine just delete it. The threshold should of course be defined and adapted over time.
<30 minutes ago: Soft deletion is possible but the number of downloads are visible to the one deleting the release with a big warning.

30 minutes: You cannot delete the package. It's considered "in the wild" and only a malicious package will be marked as deleted.

Marked as deleted: Future pip should be able to raise an exception "This release was deleted by the owner or package index administrators".

Hi @benjaoming, thanks for the feedback. I think that this issue would be resolved by completing https://github.com/pypa/warehouse/issues/5837 and implementing "yanking" as an alternative to performing a deletion (regardless of whether it's a hard delete or a soft delete), as you would still be able to pin to a yanked package without issue.

https://github.com/flipbit03/sqlalchemy-easy-softdelete seems to be a potential option for implementing soft-deletes.

Adding related conversation: https://discuss.python.org/t/stop-allowing-deleting-things-from-pypi/17227
and https://github.com/pypi/warehouse/issues/11841

More xreffing: https://discuss.python.org/t/pep-763-limiting-deletions-on-pypi/69487 and PEP 763 for limiting deletions on PyPI (i.e. moving 100% to yanks/soft deletes).


Systems naming

Thank you @shramee! Btw can we do it with snake_case ? saw recent cairo commit changed every module into snake_case convension


Get-DbaTcpPort with -Detailed parameter can return messy output

Bug Report
When running Get-DbaTcpPort with -Detailed parameter and with more than on instance (one must be the sql2008 (dbatools lab)) will return messy output.
Won't show other instances name. (See screenshot below)
When running only for sql2008 it writes a warning but the output is OK.

General Troubleshooting steps

[x] Verified running latest release of dbatools?
[] Verified errors are not related to permissions?
[x] Can duplicate in new/fresh PowerShell.exe session?

Version Information

Operating System (Name|Version): Win10
PowerShell Version: v5.1
SQL Server (Edition|Version): I don't think SQL Server Edition/Version is relevant in this case

Steps to Reproduce

[x] Attach any screenshots (if possible/allowed)

[x] Attach logs generated by dbatools (Get-DbatoolsLog)

7/23/2017 9:54:03 AM Resolve-DbaNetworkName        Verbose                        Connecting to sql2008
7/23/2017 9:54:03 AM Resolve-DbaNetworkName        Verbose                        IP Address from sql2008 is <IP_ADDRESS>
7/23/2017 9:54:03 AM Resolve-DbaNetworkName        Verbose                        Your PowerShell Version is 5
7/23/2017 9:54:03 AM Resolve-DbaNetworkName        Verbose                        Getting computer information from sql2008
7/23/2017 9:54:03 AM Get-DbaCmObject               Verbose                        Configuration loaded | Cache disabled: False | Bad Credential Cache disabled: False | CimRM disabled: False | CimDCOM disabled: False | Wmi disabled: True | PowerShellRemot...
7/23/2017 9:54:03 AM Get-DbaCmObject               VeryVerbose sql2008            [sql2008] Retrieving Management Information
7/23/2017 9:54:03 AM Get-DbaCmObject               Verbose                        [sql2008] Accessing computer using Cim over WinRM
7/23/2017 9:54:03 AM Get-DbaCmObject               Verbose                        [sql2008] Accessing computer using Cim over WinRM - Success!
7/23/2017 9:54:03 AM Resolve-DbaNetworkName        Verbose                        Resolving sql2008 using .NET.Dns GetHostEntry
7/23/2017 9:54:03 AM Get-DbaTcpPort                Verbose                        Trying with ComputerName (SQL2008)
7/23/2017 9:54:03 AM Resolve-DbaNetworkName        Verbose                        Connecting to SQL2008
7/23/2017 9:54:03 AM Resolve-DbaNetworkName        Verbose                        IP Address from SQL2008 is <IP_ADDRESS>
7/23/2017 9:54:03 AM Resolve-DbaNetworkName        Verbose                        Your PowerShell Version is 5
7/23/2017 9:54:03 AM Resolve-DbaNetworkName        Verbose                        Getting computer information from SQL2008
7/23/2017 9:54:03 AM Get-DbaCmObject               Verbose                        Configuration loaded | Cache disabled: False | Bad Credential Cache disabled: False | CimRM disabled: False | CimDCOM disabled: False | Wmi disabled: True | PowerShellRemot...
7/23/2017 9:54:03 AM Get-DbaCmObject               VeryVerbose sql2008            [sql2008] Retrieving Management Information
7/23/2017 9:54:03 AM Get-DbaCmObject               Verbose                        [sql2008] Accessing computer using Cim over WinRM
7/23/2017 9:54:03 AM Get-DbaCmObject               Verbose                        [sql2008] Accessing computer using Cim over WinRM - Success!
7/23/2017 9:54:03 AM Resolve-DbaNetworkName        Verbose                        Resolving sql2008 using .NET.Dns GetHostEntry
7/23/2017 9:54:03 AM Invoke-ManagedComputerCommand Verbose                        Local connection attempt to SQL2008 failed. Connecting remotely.
7/23/2017 9:54:04 AM Get-DbaTcpPort                Verbose                        Trying with FQDN because ComputerName failed
7/23/2017 9:54:04 AM Resolve-DbaNetworkName        Verbose                        Connecting to sql2008.base.local
7/23/2017 9:54:04 AM Resolve-DbaNetworkName        Verbose                        IP Address from sql2008.base.local is <IP_ADDRESS>
7/23/2017 9:54:04 AM Resolve-DbaNetworkName        Verbose                        Your PowerShell Version is 5
7/23/2017 9:54:04 AM Resolve-DbaNetworkName        Verbose                        Getting computer information from sql2008.base.local
7/23/2017 9:54:04 AM Get-DbaCmObject               Verbose                        Configuration loaded | Cache disabled: False | Bad Credential Cache disabled: False | CimRM disabled: False | CimDCOM disabled: False | Wmi disabled: True | PowerShellRemot...
7/23/2017 9:54:04 AM Get-DbaCmObject               VeryVerbose sql2008.base.local [sql2008.base.local] Retrieving Management Information
7/23/2017 9:54:04 AM Get-DbaCmObject               Verbose                        [sql2008.base.local] Accessing computer using Cim over WinRM
7/23/2017 9:54:04 AM Get-DbaCmObject               Verbose                        [sql2008.base.local] Accessing computer using Cim over WinRM - Success!
7/23/2017 9:54:04 AM Resolve-DbaNetworkName        Verbose                        Resolving sql2008 using .NET.Dns GetHostEntry
7/23/2017 9:54:04 AM Invoke-ManagedComputerCommand Verbose                        Local connection attempt to sql2008.base.local failed. Connecting remotely.
7/23/2017 9:54:05 AM Get-DbaTcpPort                Warning     MSSQLSERVER        Could not get detailed information

[ ] Attach output from PowerShell console (if possible/allowed)

Additional information

Oh cool, i know how to fix


[21] Update URL to https (WIP)

Fixes #21

🎉 @ejhobbs , any chance of merging this change for this year's advent of code?

hi! Thanks for stopping by. The project is very unmaintained at this point, my last commit was ~3 years ago and I'm not sure i've been able to write a line of elixir since...
Anyway, main takeaway: Yes i can merge this, but I've forgotten how to do the other parts (updating hex etc.). If you'd like, I can transfer the ownership of the project and you can keep it going? The code all works, the test suite however is quite broken (I don't remember if it ever worked really).

Thanks for the quick response! Sure, I'd be happy to take over the project 😄

@danielburnley As Edward mentioned there's some failing tests in the repo; but I'll merge your PR and work on fixing the failing tests separately 😄


Fix badly formatted files

What changed?
These changes are auto-generated and keeps getting contaminating some other diffs. Fixing with an independent commit so other PRs wouldn't generate these unrelated changes

Why?

How did you test it?

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 1839ce1c-954a-4fdd-b9b7-53a5b8bbbd72

0 of 0   changed or added relevant lines in 0 files are covered.
166 unchanged lines in 14 files lost coverage.
Overall coverage decreased (-0.02%) to 56.861%

Files with Coverage Reduction
New Missed Lines
%

service/history/execution/mutable_state_task_refresher.go
1
73.82%

common/task/fifoTaskScheduler.go
2
85.57%

common/task/parallelTaskProcessor.go
2
92.75%

common/task/weightedRoundRobinTaskScheduler.go
2
89.12%

service/history/execution/mutable_state_builder.go
2
69.66%

common/cache/lru.go
3
90.73%

service/history/queue/timer_gate.go
3
95.83%

service/history/queue/timer_queue_processor_base.go
4
78.83%

service/history/task/transfer_standby_task_executor.go
4
89.15%

common/persistence/nosql/nosqlplugin/cassandra/workflow.go
6
55.04%

Totals

Change from base Build 629c4e5e-1de8-4da5-9741-295cf99c3672:
-0.02%

Covered Lines:
82280

Relevant Lines:
144705

💛  - Coveralls


Webhooks not working

Hi anchore team,
I wanted to get started with the webhooks but somehow it doesn't work. I used webhook.site as an testing endpoint. But there is no request done by anchore-engine.
This is my webhook config:
webhooks:
#  webhook_user: 'user'
#  webhook_pass: 'pass'
  ssl_verify: False
  notification_retry_timeout: 30
  general:
    url: 'http://webhook.site/f96f3a0b-14fa-4c91-b4b8-a75b8c6d999e/general/<notification_type>'
#  policy_eval:
#    url: 'http://localhost:9090/policy_eval/<userId>'
#    webhook_user: 'mehuser'
#    webhook_pass: 'mehpass'
# special webhook for FATAL service events - system will store in DB if not enabled here
  error_event:
    url: 'http://webhook.site/f96f3a0b-14fa-4c91-b4b8-a75b8c6d999e/error_event/'

In the log I found nothing about a failed request.
All subscriptions are activated and I manually updated an image, pushed it to the registry and added it to the engine to reanalyze it.
Thanks,
Kaitsh

Update:
I was able to trigger the policy_eval webhook. But unfortunately I got the following error
[service:catalog] 2017-12-08 09:00:38+0000 [-] [Thread-3655] [anchore_engine.services.catalog/handle_notifications()] [DEBUG] failed to send notification, storing for retry - exception: failed to post notification to webhook - exception: failed post url=http://webhook.site/87a8cf22-5bd5-4099-b789-31b80656ac54/general/policy_eval

I run the anchore-engine in a docker container. I successfully did a POST curl to verify, the container can connect to the webhook url.

Problem solved. The webhook triggers only on updates. Not initial values.


Fix buffer changes on CompleteDone breaking undo

Save for undo if the CompleteDone event modifies the buffer contents.
Fixes https://github.com/vim/vim/issues/3027.

Looks like patch 8.1.0256 fixed this as well.  It's slightly more efficient, since setting ins_need_undo causes u_savecursor() to be called, which adds a line to the undo sequence.
Still useful to include the patch in this pull request.


How to document repetetive parts of the grammar

In #264 @brauliobz says

Also, there must be a ExpressionNoStructLiteral and a ExpressionStmtExpr that other productions use, but I'm still trying to find a good way to show this without cluttering the grammar.

As  a first idea I would propose that the productions used for these (e.g. ComparisonExpressionNoStructLiteral) are only in the grammar appendix, once that exists, and we just link to them with a note explaining why.

In the reference we aren't constrained by parser generator limitations, so in my opinion we can use high level notation (not available in parser generators) or even prose in some of its productions if it doesn't lead to ambiguities.

Bikeshed note, I'd like to see it be ExpressionExceptStructLiteral and then it'd just be pointing at Expression with the note saying that struct literals aren't allowed.


Escaped quote converted to backtick instead of string end's one

I think setting template-string-converter.convertOutermostQuotes to true will fix that

Thanks for the reply!
Yes, it's fixed it but this is intentional or accidental? 🙂
I mean the escaped ones may be should not count as "real" quotes!?


chore(ci): add github workflow for testing

@Exilz I have tested this github workflow on my fork, and it works. I don't know how well is it integrated to PRs yet, though.

Fantastic ! As for PRs, you can set up checks that may or may not be required to prevent PRs from being merged if tests fail.

Now that I think about it, a couple of CI badges on top of the README would be really nice too 😄

@Exilz We had the same idea!

@Exilz Here you go ;-) dc0599818e236663e9a8b9574da05b4142ac8e9d


make sure that the ACK delay time is always a positive value

Fixes #2059.
On systems without a monotonic clock, this value could become negative, which would cause a uint underflow.

Codecov Report

Merging #2061 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #2061   +/-   ##
=======================================
  Coverage   85.53%   85.53%
=======================================
  Files          99       99
  Lines        7206     7206
=======================================
  Hits         6163     6163
  Misses        762      762
  Partials      281      281

Impacted Files
Coverage Δ

internal/ackhandler/received_packet_tracker.go
79.55% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


makerst: Fix format of [url] links in reST

Moved some logic to make_url in an attempt to reuse it in the parser,
but it proved too complex so I ended up not using it. I kept it as a
separate method nevertheless.

Cherry-picked for 3.1.2.


change from using replaceState to replace

This should take care of the warnings in console when using redux-router.

@originalmoose Thank you, always enjoying these test-passing PRs :smile:


Address the possibility of differing task id variables in different groups

Suppose I try to define a task id config file that looks like this:
{
  "rounds": [
    {
      "round_id": "2021-03-07",
      "model_tasks": [
        {
          "task_ids": {
            "origin_date": {
              "required": ["2022-03-07"],
              "optional": null
            },
            "scenario_id": {
              "required": ["A-2021-03-05", "B-2021-03-05"],
              "optional": null
            },
            "location": {
              "required": null,
              "optional": {"$ref": "#/$defs/task_ids/location/us_all"}
            }
          },
          "output_types": { ... }
        },
        {
          "task_ids": {
            "origin_date": {
              "required": ["2022-03-07"],
              "optional": null
            },
             "scenario_id": {
              "required": ["C-2021-03-05", "D-2021-03-05"],
              "optional": null
            },
            "location": {
              "required": null,
              "optional": {"$ref": "#/$defs/task_ids/location/us_all"}
            }
            "age_group": {
              "required": null,
              "optional": ["0-5", "6-17", "18-65", "65-130"]
            }
          },
          "output_types": { ... }
        }
      ],
      "submissions_due": {
        "start": "2021-03-09",
        "end": "2021-04-09"
      }
    }
  ]
}

The set up is that there are two groups of tasks, one related to scenarios A and B and a second related to scenarios C and D. For scenarios C and D, age_group is relevant, but it is not relevant for scenarios A and B.
My questions are:

Is there any reason to allow this kind of behavior? Or should we enforce that within each round, the same task id variables occur in all task groups?
If we do allow it, what are we expecting to be in submission files? This should be documented.

My preference for now would not be to engineer specifically for the scenario where tasks are different by scenario.
I think we could essentially allow teams to work around this by having, in your example age_group be a set of non-required categories, of which some are relevant to scenarios A and B and one ("all ages" or something like that) is relevant to C and D.

I think heading in a similar direction as @nickreich, but with a different proposal -- what if we engineer so as to explicitly not to allow for a different set of task id variables in different task id groups?  i.e., in an example like this, the hub would be required to add an age_group id variable to the task id group defining settings for scenarios A and B?

Open issue in hubUtils to check programmatically that all unique task_ids are present in all model_task sets within a round

Quick question @nickreich & @elray1 , have we agreed that task_id groups in a given round must share the same task_ids or can we assume that if one is missing it should be:

"all" or
NA

I'm ok with @elray1 's suggestion to enforce that all task_id variables in different task_id groups within the round be identical. Therefore, there is no "inferring" of a missing values of task_ids that are specified in one group but not another.

@annakrystalli  can this issue be closed, or should we open a related issue in hubUtils?

I think it's been addressed but I'll ship to hubUtils to investigate and confirm. 👍


add cupyx.scipy.stats.entropy

This PR adds the scipy.stats function, entropy. This implementation relies on the already existing cupyx.scipy.special.entr and cupyx.scipy.special.rel_entr functions and so should be simple to review.
There is not currently a cupyx.scipy.stats module, so this PR has added it. However, I do not currently have plans to implement other functions within the stats module. This function is used within a scikit-image function we created a CUDA equivalent for in cupyimg. If there is not an interest in having stats functions within CuPy itself, we can just keep this implementation there.
Benchmark with pk input only

shape
GPU time (ms)
CPU time (ms)
acceleration

(256,)
0.045 +/- 0.002
0.019 +/- 0.001
0.420

(512, 512)
0.117 +/- 0.002
5.334 +/- 0.067
45.745

(2048, 4096)
3.266 +/- 0.213
181.113 +/- 1.445
55.447

(192, 192, 192)
1.597 +/- 0.153
162.830 +/- 1.174
101.973

Benchmark with pk and qk inputs

shape
GPU time (ms)
CPU time (ms)
acceleration

(256,)
0.075 +/- 0.009
0.022 +/- 0.003
0.295

(512, 512)
0.162 +/- 0.003
2.807 +/- 0.100
17.349

(2048, 4096)
4.317 +/- 0.266
100.531 +/- 1.208
23.288

(192, 192, 192)
1.985 +/- 0.002
96.379 +/- 0.544
48.560

benchmark script
import numpy
import scipy.stats
import cupy
import cupyx.scipy.stats
from cupyx.time import repeat
print("## Benchmark with pk input only")
print("shape | GPU time (ms) | CPU time (ms) | acceleration")
print("------|---------------|---------------|-------------")
for shape in [(256,), (512, 512), (2048, 4096), (192, 192, 192)]:
pg = cupy.testing.shaped_random(shape, dtype=numpy.float32)
perf_gpu = repeat(cupyx.scipy.stats.entropy, (pg,), n_warmup=20, n_repeat=100)
gpu_times = perf_gpu.gpu_times * 1000
p = cupy.asnumpy(pg)
perf_cpu = repeat(scipy.stats.entropy, (p,), n_warmup=1, n_repeat=20)
cpu_times = perf_cpu.gpu_times * 1000
accel = cpu_times.mean() / gpu_times.mean()
print(f"{shape} | {gpu_times.mean():0.3f} +/- {gpu_times.std():0.3f} | {cpu_times.mean():0.3f} +/- {cpu_times.std():0.3f} | {accel:0.3f}")

print("## Benchmark with pk and qk inputs")
print("shape | GPU time (ms) | CPU time (ms) | acceleration")
print("------|---------------|---------------|-------------")
for shape in [(256,), (512, 512), (2048, 4096), (192, 192, 192)]:
pg = cupy.testing.shaped_random(shape, dtype=numpy.float32)
qg = cupy.testing.shaped_random(shape, dtype=numpy.float32)
perf_gpu = repeat(cupyx.scipy.stats.entropy, (pg, qg), n_warmup=20, n_repeat=100)
gpu_times = perf_gpu.gpu_times * 1000
p = cupy.asnumpy(pg)
q = cupy.asnumpy(qg)
perf_cpu = repeat(scipy.stats.entropy, (p, q), n_warmup=1, n_repeat=20)
cpu_times = perf_cpu.gpu_times * 1000
accel = cpu_times.mean() / gpu_times.mean()
print(f"{shape} | {gpu_times.mean():0.3f} +/- {gpu_times.std():0.3f} | {cpu_times.mean():0.3f} +/- {cpu_times.std():0.3f} | {accel:0.3f}")

pfnCI, test this please.

Thanks for this PR! Yes, we'd like to have cupyx.scipy.stats 👍

Would you change the submodule name cupyx.scipy.stats.distribution to cupyx.scipy.stats._distribution so we indicate it is not intended to expose as public one?

Also nice to have TestEntropyBasic!

I also noticed that I have cupy.asarray calls on qk/pk, but we probably don't want these to avoid unintentional host/device transfer. I will remove them.

Jenkins CI test (for commit f7836e7d1f613749caf2d0606a5d196f46d2716d, target branch master) succeeded!

pfnCI, test this please.

Jenkins CI test (for commit cec146d0d919425b91d32eab08592a9ca6e5a25e, target branch master) succeeded!

pfnCI, test this please.

LGTM! Waiting for CI pass.

Jenkins CI test (for commit 6608b605a0da202beb56dd327d6b75ec27552774, target branch master) succeeded!

Thanks!