[Question] Can I generate points between to points?

Given two locations (latitude, longitude) does DotSpatial have a function which generates intermediary points between the two locations?

Are you looking for a geodesic path between the points? I haven't really found a way to do it with DotSpatial but I have experimented with GeoLib and Gavaghan (both open source). I have samples at work if interested.

I will try to explain it better.
Given location1 (Longitude, Latitude), location 2(Longitude, Latitude) and a distance in meters between generated points, I need to generate a list of locations between location 1 and location 2.

Yes I understand the question but I think the thing I am asking is what kind of path do you want to take between the points. I will give you an extreme example: I have two points...one in new York and another in London. How do I create more points between them? Do you want to create a straight path as if you were to put a ruler on the monitor and with a marker just connect the two points? If so that will not follow the curvature of the earth. If you want to approximate the curvature then your path would be geodesic. On the other hand you may want to connect the two points via rhumb line. The question does become what kind of path do you want to simulate between the two points?

The short answer is that DotSpatial does not have any function to generate intermediate points between two locations, and this is not a lightweight problem to begin with. DotSpatial is for visualization and a fair degree of geometric calculations, which are, of course not the responsibility of the DotSpatial framework itself, rather as delegations to the geometry interfaces behind the scenes, except for some fundamental implementations for shapes.
The only easy (but of course not the most accurate) solution to the described problem is to reproject whichever coordinates are available between the two points to a nice projection (a conformal one would be ok if the distance between the points is not too large) set up somewhere in the vicinity of the points (try, for example, a suitable UTM zone. Then the intermediate points can be found by simple 2D geometry (like finding points between the straight line joining the two locations). These new points will then be reprojected back to the original Reference Frame (if necessary, of course) and they can serve their purpose thereafter.
If the distance is large, I would suggest an Azimuthal Equidistant projection centered at one of the points. Therefore, 2D geometry is still possible, but don't expect sub-meter precision, of course.

Purely my opinion but I believe any GIS should have a good geodesics library. To that end I use these two great libraries as an addendum to DotSpatial: Gavaghan and GeographicLib. The latter is a .NET wrapper to a C++ library. Both are open source and for larger distances between two points I prefer GeoLib. Would be great if one of these could be incorporated into DotSpatial.

Yes, it should! NETGeographicLib appears to be an excellent port and nothing will ever appear to be more accurate than GeographicLib in terms of algorithms. I am not very sure as to how incorporation into DotSpatial could be, though. Through plugins probably? Or perhaps exposing a Geodesics namespace, just as a Projection namespace exists with access to all there is to be for Projections, for example?

Currently I'd say we have enough open issues without including source code from yet another library that has to be maintained. So if you can find a way without having to add the source code your welcome to do this.

In my own projects I add the GeographicLib and then create some functions that take in points and projection info. Works pretty well. This was more a suggestion for the OP and for DotSpatial in general.

Here is what I do to create a geodesic path (or intermediate points) between two points. It uses GeographicLib to do the hard work. I hope this helps:
    ''' <summary>
    ''' Returns a list of DotSpatial.NetTopologySuite.Geometries.Points containing enough individual vertices that define a curved geodesic pathway
    ''' between the two points. All point values are assumed to be in terms of geographic latitude and longitude. The actual point calculation is
    ''' done by GeographicLib but we use DotSpatial objects for input and output.
    ''' </summary>
    ''' <param name="ptStart">A DotSpatial Point in Lat/Lon where the curve starts</param>
    ''' <param name="ptEnd">A DotSpatial Point in Lat/Lon where the curve ends</param>
    ''' <param name="intervalDistInNm">A value indicating the delta distance (in NM) between intermediate vertices</param>
    ''' <returns>an array of DotSpatial Points that define a geodesic curve</returns>
    ''' <remarks>based on the example in the source code: \GeographicLib-1.48\dotnet\examples\VB\example-GeodesicLine.vb
    ''' with additional modifications by Abel G. Perez. This function has been tested in the area
    ''' of the US and works quite well when compared to similar functions in ESRI ArcGIS 9
    ''' but it may return erroneous data when the polyline crosses the poles, crosses the prime meridian,
    ''' or crosses the date line. Care should be employed when using this function and special attention
    ''' should be paid to its restrictions.
    ''' </remarks>
    Public Function GeodesicPointListDs(ByVal ptStart As Point, ByVal ptEnd As Point, ByVal intervalDistInNm As Double) As List(Of Point)
        Try
            'create a new list of points
            Dim ptList As New List(Of Point)

            'assume a WGS84 datum
            Dim geod As Geodesic = New Geodesic ' WGS84
            ''---or alternatively
            'Dim a As Double = Constants.WGS84.MajorRadius
            'Dim f As Double = Constants.WGS84.Flattening
            'Dim geod As Geodesic = New Geodesic(a, f) ' WGS84
            Dim s12 As Double, azi1 As Double, azi2 As Double
            Dim a12 As Double = geod.Inverse(ptStart.Y, ptStart.X, ptEnd.Y, ptEnd.X, s12, azi1, azi2)
            Dim line As GeodesicLine = New GeodesicLine(geod, ptStart.Y, ptStart.X, azi1, Mask.ALL)
            'alternatively Dim line As GeodesicLineExact = geod.Line(ptStart.Y, ptStart.X, azi1, Mask.ALL)

            'define the interval in meters
            Dim intervalInMeters As Double = intervalDistInNm * 1852  'interval in meters

            'calculate the number of points required to cover the segment
            Dim numPnts As Integer = CInt(Math.Ceiling(s12 / intervalInMeters))

            'use intervals of equal length
            intervalInMeters = s12 / numPnts
            Dim xLon As Double, yLat As Double, pt As Point
            For i As Integer = 0 To numPnts
                line.Position(i * intervalInMeters, yLat, xLon)
                'Debug.Print(String.Format("i: {0} Longitude: {1} Latitude: {2}", i, xLon, yLat))

                pt = New Point(xLon, yLat)
                ptList.Add(pt)
            Next i

            'success so return list of points
            Return ptList
        Catch ex As Exception
            Debug.Print(ex.ToString)
            DisplayException(ex)
            Return Nothing
        End Try
    End Function


[Explore]: RBAC for CFOrg & CFSpace custom resources

Background
In this accepted proposal we've made a plan to create CFOrg and CFSpace custom resources that will manage our org and space namespaces for us.
One of the planned benefits for doing this work is that kubectl users will be able to directly create orgs and spaces. We should be able to move much of the sticky namespace management logic out of the API shim and put it into the controller layer.
We have something of a chicken/egg problem with access control however. According to CF access control rules ordinary users should only be able to list the orgs and spaces they have roles in. But RBAC in Kubernetes is normally done by namespace, and at the time a CFOrg or CFSpace is created, the underlying namespace doesn't exist yet, so we can't create the CFOrg within the namespace that would control access to it. This creates a couple of problems for us:
List access to Orgs & Spaces
The question is: how do we limit access so that a user can only list the CFSpace and CFOrg objects they have roles for, given that the CFSpace object will live in the org's namespace, and the CFOrg object will live in the root CF namespace?
The API shim manages this problem today by side-stepping k8s RBAC and instead inspecting the role bindings to look for org/space membership for the user but we cannot port that code into the controller layer.
Edit access to Spaces by SpaceManagers and Orgs by OrgManagers
In the CF model, a space manager can edit or rename a space. Allowing this access using k8s RBAC would require us to create an object specific role in the org, and then bind the space managers to that role in addition to the space manager role. (Unless there is some form of cluster role agrregation that would allow us to manage this with a single RoleBinding?) The same issue also applies to Org Managers, who are able to edit & rename orgs in CF.
Dev Notes:

k8s has the notion of resourceNames that could possibly be used to create per-space or per-org roles, conferring object level access to the custom resource. But according to the docs, if list is restricted with this field, then general list requests stop working altogether unless the list request includes the name, which seems like it would make the approach untenable.
As it stands today, org-user and space-developer roles don't confer list access to either ns or subns resources, so a k8s user wouldn't just be able to list those things through the k8s API, assuming that they don't have any other roles in the cluster. The following is what I get if I use a "joe-user" context with a k8s cluster:

jh $ k auth can-i list ns
Warning: resource 'namespaces' is not namespace scoped
no
jh $ k auth can-i list subns
no
2022-02-28 15:45 ~ CF: http://localhost Jobs: 0 K8s context: kind-joe

In spite of the above, before we implement anything too weird, we should probably double check whether or not being able to see all spaces within an org that the user is a member of is really bad enough to require us to work around the k8s access control model.

Acceptance Criteria

A plan to protect CFOrg and CFSpace objects against discovery by users that don't have roles in them.
A plan to allow Org managers to edit orgs and Space managers to edit Spaces.
A rationale for why we don't need to do the above and a proposal doc or ADR to state that we will accept different access control from CF for VMs in this case.

Number of days this exploration is expected to take. This is what is “pointed”.
No response
Dev Notes
No response

After meeting with @emalm @Shanfan @davewalter @tcdowney we decided that we don't really need to do this exploration.
In the short term, we will accept the following behaviors:

Space managers will not have edit/rename rights on the CFSpace object
Org managers will not have edit/rename rights on the CFOrg
CFSpaces will be listable by any org user, meaning that k8s client users can see spaces in the org that they don't belong to.
CFOrgs will be listable by any cf user (we already have a role to allow access to CFDomain objects, so we can just modify that role.)
The API shim will continue to filter the orgs and spaces it returns to the end user based on role bindings, as it does today, but will no longer need to use the privileged client to do so, since it can just list CFOrg or CFSpace objects.

In the longer term, we might possibly hear from customers/foundation members who have security concerns. In that context, we may need to allow the list verb to be removed from the various roles, and roll back the API shim to use the privileged client again when listing orgs and spaces. We think this is moderately unlikely however.


Add Night Mode feature to Denon Media Player using Denon's Dyanamic V…

…olume setting.  This uses the sound_mode property of the Media Player Entity and should therefore be ported to a new toggle or removed if selection of surround sound mode is implemented using sound_mode.
Added simple verification of telnet commands since Denon echoes the sent command on success.
Example entry for configuration.yaml (if applicable):
media_player:
  - platform: denon
    host: IP_ADDRESS

Hi @JPHutchins,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!


Propagate error to observability service

Call defer in the appropriate location, so the observability service callback is invoked with the error object populated. This allows to record the error into the span, or set the span as failed.
Fixes #713

You are correct. https://play.golang.org/p/PyVqhb3LVKM
Interesting! I expected the interface pointers to not be reassigned, but clearly there is a go-ism I don't understand on that one.
Could you please resort the imports, and then LGTM
Thanks for the PR and the issue.

@n3wscott not sure why the integration tests failed, they also failed once in our fork and re-triggering it worked. I guess it's some network issue? Since it seems it was waiting for 12min..

LGTM
Thanks a ton for the fix @joaopgrassi !!


Just a link

https://github.com/jarun/advcpmv

Is there anything in particular you wanted us to look at there? We used a similar repo as reference for our cp and mv progress bars (not the code but the flags used and the general behaviour): https://github.com/mrdrogdrog/advcpmv. It might even be the same patch?

Not actionable


Question: add TOP x column values and distribution.

Hi,
I was looking at this project and I must say: it's awesome and something that dbt docs currently is missing.
One thing got in my mind is the question why there's not an option to add the TOP x column values and their distribution? Is there any other reason to not include this in the docs?
Like in this example where you show TOP 2 for example:

Column Name
Top 1 Value
Distribution
Top 2 Value
Distribution

Column 1
Value 1 A
0.50 ("number"/"total")
Value 1 B
0.20 ("number"/"total")

Column 2
Value 2 A
0.50 ("number"/"total")
Value 2 B
0.30 ("number"/"total")

Column 3
Value 3 A
0.10 ("number"/"total")
Value 3 B
0.05 ("number"/"total")

Column 4
Value 4 A
0.10 ("number"/"total"
Value 4 B
0.05 ("number"/"total")

Looking forward to your thoughts!

@diegodewilde I've thought about adding a "mode" (most common value) profiling metric to the package but never around to implementing it. This proposal expands the mode concept into N most common values and I think it's a good idea.
Just throwing thoughts here:

What would be a sensible default for the number of top values? 1, 2, 3?
How should we name the columns? top_1_value, top_1_value_proportion, top_2_value, top_2_value_distribution, etc?
Is there a better way to display the distributions than the (value, proportion) pairs for each top value?

Would you be interested in implementing this? :)

Hi stumelius,

It would make sense to make this dynamic, so you can choose the amount of top values you want to see in your docs. Not sure if that's possible?
Sounds like a good suggestion, I actually think this goes hand-in-hand with the visualization you would like to see here.

@diegodewilde Circling back to this. Is this feature still in your interests and if so, would you like to contribute? :)


First query hangs

Issue Type: Bug
This does not happen consistently, but it is often.
I will open a new tab.  If it opens with an active connection, I will click "change connection" or disconnect/connect.  I then dbl-click a recent connection from the list.
From there, I change the selected database and enter my query.  When I run the query, usually but not always by clicking "run", the display changes to the "running" mode and hangs.  The UI continues to respond, so the process doesn't seem to be hung, but results never complete and the query cannot be canceled.  My solution is to close the tool, relaunch and try again.
If I can be told how to enable logging to capture what's happening, I'd love to provide that.
Azure Data Studio version: azuredatastudio 1.18.1 (5b3b97f4a34018f3b37b0fce30e32f2af7ad78fa, 2020-05-26T21:14:29.147Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz (8 x 3392)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
11.89GB (3.19GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

profiler
Mic
0.11.0

20200608T124306.zip

@KevinLeeBuchan thanks for attaching the logs!  Unfortunately, I didn't see anything problematic captured there.  I'll try to the repro sets a few times to see if I can encounter the same problem.

I think the log may have been overwritten when I restarted.
I'll collect them again, when I have the issue again.  Likely tomorrow.

@KevinLeeBuchan There should be a separate folder for each session of ADS - so if you go up a directory you should see something like this

You can use the timestamps to determine which one is the correct log file.

Looks like the timestamps are in UTC?
I think this is the right folder and I saw something that looked like an uncaught exception in the logs.
20200608T124058.zip

Here are updated logs where it happened again.
20200619T204620.zip

@KevinLeeBuchan I couldn't see anything that I could use to locate a root cause from the logs.  I only saw the below errors, which unfortunately are too generic to identify what went wrong.  I'll continue to try to get an internal repro.
[2020-06-22 12:51:21.415] [renderer1] [error] An unknown error occurred. Please consult the log for more details.

[2020-06-08 12:43:00.998] [renderer1] [error] Object has been destroyed: Error: Object has been destroyed
    at WebContents../lib/browser/api/web-contents.js.WebContents.send (electron/js2c/browser_init.js:3634:15)
    at IpcMain.<anonymous> (C:\Program Files\Azure Data Studio\resources\app\out\vs\code\electron-main\main.js:511:593)

Thank you for your efforts.
At the time I reported the issue, it was maddenly common.  Now it doesn't
even happen daily.  Perhaps it was more OS related and patches largely
resolved it.
Since there is not a lot of detail logged, I will not add more info until I
am able to reliably reproduce the issue.

Kevin Buchan
On Thu, Jul 2, 2020 at 12:15 PM Karl Burtram<EMAIL_ADDRESS>wrote:

@KevinLeeBuchan https://github.com/KevinLeeBuchan I couldn't see
anything that I could use to locate a root cause from the logs. I only saw
the below errors, which unfortunately are too generic to identify what went
wrong. I'll continue to try to get an internal repro.
[2020-06-22 12:51:21.415] [renderer1] [error] An unknown error occurred. Please consult the log for more details.
[2020-06-08 12:43:00.998] [renderer1] [error] Object has been destroyed: Error: Object has been destroyed
at WebContents../lib/browser/api/web-contents.js.WebContents.send (electron/js2c/browser_init.js:3634:15)
at IpcMain. (C:\Program Files\Azure Data Studio\resources\app\out\vs\code\electron-main\main.js:511:593)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/azuredatastudio/issues/10793#issuecomment-653100020,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACYMULUYRK7YYXLXJOU5CLRZSXBJANCNFSM4NYS6KMQ
.

Oddly, I have the opposite problem. When I execute a query (local server) and then attempt to re-execute, it hangs. I have to create a new query window and paste the query into there and then it's fine. (Or open of SSMS) . Looking for existing issue to read up on. This is all I found so far. (using latest 1.28.0)

I would like to close the issue in regards to #7440 that is already tracking the same subject across ADS.
Please feel free to open a new issue if there is a reproducible user scenario.


raine: Add version 0.93.5d

RAINE is an emulator for arcade games.
What package release type is this?

[x] stable
[ ] beta
[ ] dev/nightly/canary

I followed the bucket's manifest standards?

[x] I have read the Contributing Guide.
[x] properly named and capitalized shortcuts?
[x] autoupdate and checkver entry
[x] persist defined with config/data/user/portable/textures/saves folder(s) specific for the app?
[x] a pre_install script to auto-enable portable mode (if needed)?

[x] a pre_install script creates runtime created files specified in persist (ensures symlinks properly get created)

[x] license identifier and url
[x] a short terse description matching existing style.
[x] url to the release along with its sha256 hash
[x] bin entry for main binary

[x] if beta, dev, etc: does bin shim have variant appended to the name? (e.g appname-dev)

[x] passes bin/checkver.ps1 and bin/checkurls.ps1
[x] tested install, checked persist, no errors.
[x] manifest is sorted to spec
[x] manifest follows spec: appname or appname-variant (e.g citra-canary or dolphin-dev)
[x] I tested the package and it runs in portable mode. I have verified the symlinks are correct in the persist folder and working.
[x] I will maintain this manifest and promptly fix it in the event it breaks.

/verify

/verify

The dependencies are now part of the installation and has been tested on my system.
See if anything else should be fixed before merge.


[SPARK-34948][K8S] Add ownerReference to executor configmap to fix leakages

What changes were proposed in this pull request?
This PR aims to add ownerReference to the executor ConfigMap to fix leakage.
Why are the changes needed?
SPARK-30985 maintains the executor config map explicitly inside Spark. However, this config map can be leaked when Spark drivers die accidentally or are killed by K8s. We need to add ownerReference to make K8s do the garbage collection these automatically.
The number of ConfigMap is one of the resource quota. So, the leaked configMaps currently cause Spark jobs submission failures.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CIs and check manually.
K8s IT is tested manually.
KubernetesSuite:
- Run SparkPi with no resources
- Run SparkPi with a very long application name.
- Use SparkLauncher.NO_RESOURCE
- Run SparkPi with a master URL without a scheme.
- Run SparkPi with an argument.
- Run SparkPi with custom labels, annotations, and environment variables.
- All pods have the same service account by default
- Run extraJVMOptions check on driver
- Run SparkRemoteFileTest using a remote data file
- Verify logging configuration is picked from the provided SPARK_CONF_DIR/log4j.properties
- Run SparkPi with env and mount secrets.
- Run PySpark on simple pi.py example
- Run PySpark to test a pyfiles example
- Run PySpark with memory customization
- Run in client mode.
- Start pod creation from template
- PVs with local storage
- Launcher client dependencies
- SPARK-33615: Launcher client archives
- SPARK-33748: Launcher python client respecting PYSPARK_PYTHON
- SPARK-33748: Launcher python client respecting spark.pyspark.python and spark.pyspark.driver.python
- Launcher python client dependencies using a zip file
- Test basic decommissioning
- Test basic decommissioning with shuffle cleanup
- Test decommissioning with dynamic allocation & shuffle cleanups
- Test decommissioning timeouts
- Run SparkR on simple dataframe.R example
Run completed in 19 minutes, 2 seconds.
Total number of tests run: 27
Suites: completed 2, aborted 0
Tests: succeeded 27, failed 0, canceled 0, ignored 0, pending 0
All tests passed.

BEFORE
$ k get cm spark-exec-450b417895b3b2c7-conf-map -oyaml | grep ownerReferences

AFTER
$ k get cm spark-exec-bb37a27895b1c26c-conf-map -oyaml | grep ownerReferences
        f:ownerReferences:

Could you review this, @ScrapCodes ?

Test build #136877 has started for PR 32042 at commit 5c7270e.

Test build #136877 has finished for PR 32042 at commit 5c7270e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136877/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41454/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41454/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41454/

Could you review this please when you have some time, @viirya , @attilapiros , @HyukjinKwon ?

Thank you so much, @viirya . Currently, we only tested with the created volume contains the executor configMap. So, this ownerReference metadata is not easy to test. I'll try to add a UT later!

Merged to master/3.1!

@dongjoon-hyun Looks good, driver config map is already has a ownerreference to driver.

Thank you, @ScrapCodes ! Yes, it does.


uv: 0.4.30 -> 0.5.1

Things done
Changelog: https://github.com/astral-sh/uv/blob/refs/tags/0.5.1/CHANGELOG.md

Built on platform(s)

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

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

[x] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Thank you for the contribution.
However, we have already merged https://github.com/NixOS/nixpkgs/pull/354450 in staging a few days ago.
Don't forget to do a quick search on open (and recently closed PRs) before submitting new ones ;)

You can follow the progress here.


Redundant newlines when using lists

When exported from notion, list on site looks like:

It looks like this in code:

And like this in notion:

But I assume it must look like this in code:

And, as a result, like this on the site:

Hello @seroperson 👋 !
This behavior is in some ways intended intended. You can check here why the new lines.
def body
  @body ||= blocks.map(&:to_md).compact.join("\n\n")
end

Basically, every block is treated the same way by the Page object. The page does not distinguish between block, it just join every block with two new lines characters.
The two new lines chars are required because using one one new line char there would be no paragraphs.
Perhaps instead of letting the Page managing how the block are joined, the responsibility of adding the new lines chars can be moved as per block basis. In fact, that makes quite much sense.
I'll give it a thought and be back when I have some conclusions.
But I let you already know that this is not a major issue. The main problem here if you're using Jekyll, is that instead of having a simple list as follows.

Blabla

This setup adds a paragraph per list item.

Blabla

This is quite easy to fix with a little but of CSS. Just modify the margin of the paragraph.
li > p {
  maring-botton: 0;
}

I just did the test in the provided example and now looks OK.

Btw, nice post  😉 .

Hello @seroperson, this should be fix on version 2.3. And also a new perk: numbered lists.


Fixes not-raw SQL statement for migrations #16

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

11 of 11 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 93.039%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
548

Relevant Lines:
589

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

11 of 11 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 93.039%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
548

Relevant Lines:
589

💛  - Coveralls


Component as popup content

Hi,
I would like to use more complex content for (marker) popup like structured html or better yet, a component, instead of only simple text. What would be a good way to do this? I see that bindPopup() method in Leaflet accepts html element as well but am still not sure what would be the best practice to do this.

Hi @ivanjaros,
Your question seems exactly like #35.
You can find some help there. I don't know what works or not as I haven't tried it myself. I may requiere some modification in Vue2Leaflet to work properly.
Hope this helps.
Cheers,
Mickaël


Wrong keyboard layout for german (DE) layout

After seeing #121
I just notcied similar problems with german layout for interactive effects. Like I said here: https://github.com/antonpup/Aurora/issues/23#issuecomment-241103150 the X and Z key are switched.
But also these keys:
y -> z
z -> y
# -> -
- -> ß
ß -> ü
ü -> ö
ö -> ^
^ key no effect at all!
+ -> ´
´ -> +
Alt Gr -> Alt Gr AND Strg (left Ctrl)
right Ctrl (Strg) no effect

Color zone for each of those keys works fine, only the interactive effect is wrong.

Corsair keyboard?

Corsair K70 RGB Rapidfire

Having a similar issue with the k70 rapidfire in germany. when i select afk mode with rainbow the y and z are swapped. everything else works fine. ( i changed to the german layout mode)

Update for version 0.6.0:
#, -, ß, +, ´ and right Ctrl work fine. But y, z, ü, ö, ^ and Alt Gr are still messed up.
y -> z
z -> y
ü -> ö
ö -> ^
^ -> nothing (no key)
Alt Gr -> Alt Gr AND Strg (left Ctrl)

Also, not only for Interactive effects, but Solid Color Layer, too.

@brainbug89 Already fixed on dev. :)


Sc-8151: fix Logo192 Resource Size issue

Scope of changes
Sc-8151: fix Logo192 Resource Size issue: just removed the other objects that are not necessary from manifest file
Type of change

[x] bug fix
[ ] new feature
[ ] documentation
[ ] other (describe)

Acceptance criteria
check on your console (from your browser inspection )
Author checklist

[ ] I have manually tested the change and/or added automation in the form of unit tests or integration tests
[ ]  I have updated the dependencies list
[ ]  I have recompiled and included new protocol buffers to reflect changes I made
[ ]  I have added new test fixtures as needed to support added tests
[x]   Check this box if a reviewer can merge this pull request after approval (leave it unchecked if you want to do it yourself)
[x]  I have moved the associated Shortcut story to "Ready for Review"

Reviewer(s) checklist

[ ] Any new user-facing content that has been added for this PR has been QA'ed to ensure correct grammar, spelling, and understandability.

Codecov Report

Merging #736 (d50ac14) into main (df6a38c) will decrease coverage by 5.28%.
The diff coverage is n/a.

:exclamation: Current head d50ac14 differs from pull request most recent head cb3b46e. Consider uploading reports for the commit cb3b46e to get more accurate results

@@            Coverage Diff             @@
##             main     #736      +/-   ##
==========================================
- Coverage   43.42%   38.13%   -5.29%
==========================================
  Files         583      155     -428
  Lines       17505     2431   -15074
  Branches     1317      618     -699
==========================================
- Hits         7601      927    -6674
+ Misses       8716     1327    -7389
+ Partials     1188      177    -1011

Impacted Files
Coverage Δ

...ponents/CertificateReview/TrixoReviewDataTable.tsx

...ui/src/components/TrixoQuestionnaireForm/index.tsx

web/gds-user-ui/src/utils/address-utils.tsx

...com/trisacrypto/directory/pkg/bff/api/v1/errors.go

...i/src/components/CertificateRegistration/index.tsx

...ithub.com/trisacrypto/directory/pkg/bff/members.go

web/gds-user-ui/src/layouts/LandingLayout.tsx

...ithub.com/trisacrypto/directory/pkg/trtl/server.go

...rc/components/Modal/ConfirmationResetFormModal.tsx

...mponents/NameIdentifier/NameIdentifier.stories.tsx

... and 418 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Crash fix: Switch to top frame when parent frame is reloaded

Fixes null dereferences when working with nested frames.
This replaces https://github.com/ariya/phantomjs/pull/11984 with a proper solution.

I cannot overstate the importance of getting this fixed and released. PhantomJS is incredibly valuable, but crashing on iframes makes it unusable in many contexts. I see the null check is on 2.0, but not on 1.9 code base. The code fix here appears to re-sequence the switch to main frame instead of checking for null value (which is good in case the pointer is not reset but gets freed elsewhere).
I know the team is really focused on 2.0 release, but this is a critical patch.   Can we get this out ASAP in 1.9.x?

I rebased the commit and removed the test cases. @ariya should the test cases go only in Ghost Driver, or in both PhantomJS and Ghost Driver?

We are still getting crashes on frame switches in 2.0 as well.  :-(

@SteveHarris can we get a simple example?

This occurs when switching to parent frame after child frame has closed itself.   It looks like 2.0.0 had a null check on the debug statement (per #11103) but the crash still occurs, indicating to me that the pointer is not null, just not valid (segmentation violation), as it was previously freed.  A review of this pull request indicates a different (better) solution that addresses the problem at its root.   If I can find the time, I'll try to reproduce with some simple code and post it so you can test against it.

I agree with you SteveHarris.
Frames access to invalid pointers including read, write and dereference cause uncertain results, it is usually crash. (SIGSERV)
I fixed this trouble with a ugly method... but it works ... no more crash.
I have replaced every  "m_currentFrame != NULL" test .

bool WebPage::isExistCurrentFrame(QWebFrame * testFrame=NULL){

    if (testFrame == NULL){
        testFrame = m_customWebPage->mainFrame();
    }

    QList childFrames = testFrame->childFrames();
    for (int i = childFrames.length() -1; i >= 0; --i) {
        if (this->isExistCurrentFrame(childFrames.at(i))){
            return true;
        }
    }
    if (testFrame == m_currentFrame) {
        return true;
    }
    return false;
}

Merged now.  Thank you for your patience, everyone.


Problem with itk-js-cli in Windows 10

Hi,
I wanted to compile my first C code in itk.js following your example from https://insightsoftwareconsortium.github.io/itk-js/examples/hello_world_node.html.
I was able to succeed in Mac, but when I tried to build it in Windows, the whole building process from  npx itk-js build . was ending just after creating itk-js-build-env script in /web-build folder.  I attached  Chrome inspector to node and I found that there might be a problem in Node's 'child-process' package, with spawnSync (see below), which is called by itk-js-cli.
How can I fix it? BTW, I checked my environment and it seems that Docker is working properly, as well as npx and other tools.

Thanks for the report. I will investigate.

xref #188

Please try again with itk>=9.4.1. On Windows, it is best to use the  Git Bash command line. Please re-open if you still encounter issues.


Firefox fails WebGL test

If navigating to the URL https://get.webgl.org, then Firefox displays the following text:

Hmm. While your browser seems to support WebGL, it is disabled or unavailable. If possible, please ensure that you are running the latest drivers for your video card.

This is actually not a bug, but a compromise decision taken during developing. I try to keep the images slim and therefore I try to include only a minimum of necessary packages.
However, Firefox requires the mesa-utils package to be installed to pass the WebGL test from above. Interestingly enough, Chromium doesn't require that.
Because the mesa-utils package brings 144MB, which is almost a half of the base image accetto/ubuntu-vnc-xfce-g3:vnc, I've decided against it.
There are several ways to get a Firefox image that passes the WebGL test from above, if you really need it:

You can install the mesa-utils package in the runtime using sudo apt-get update && sudo apt-get install -y mesa-utils.

You can modify the Dockerfile and built a new image locally.

You can use one of the Firefox images from the Docker Hub repository accetto/ubuntu-vnc-xfce-opengl-g3, because the images from the project accetto/headless-drawing-g3 already include support for OpenGL/WebGL/VirtualGL.

You can use one of the bigger Firefox images of the Generation 2 (accetto/xubuntu-vnc-novnc-firefox) or Generation 1 (accetto/ubuntu-vnc-xfce-firefox-default, accetto/ubuntu-vnc-xfce-firefox-plus).


Batt cutoff voltage

-Modify battery compute modules to consider slightly larger Qmax when calculating max discharge current, dynamic voltage model parameters
-Update tests, add test with voltage cutoff to show impact on results

@dguittet @brtietz It would be helpful if you could at least skim this before we meet tomorrow just to have an idea of where things stand. Also for the same branch name in SAM there is a PR.

@dguittet @brtietz It would be helpful if you could at least skim this before we meet tomorrow just to have an idea of where things stand. Also for the same branch name in SAM there is a PR.


Quantize models with longer sequence length

Can I quantize a model with 8k context length with AWQ? re: https://github.com/casper-hansen/AutoAWQ/blob/1b54b9f993c25f740ea8be988aa887593e53a809/awq/utils/calib_data.py#L30

Hi @shossain. All models that are supported can be quantized, regardless of their context length

@casper-hansen thanks for the response. Do I need to make any changes to support 16k context length?

No you do not need to make any changes

If I want to pass custom data (pre-tokenized data) for quantization, it is not possible to do it for sequence length > 512. Why do we have the above if statement?


BUG: node normalization not handling case of one PubChem ID mapping to multiple UMLS IDs

In https://github.com/NCATSTranslator/testing/issues/249, the input query used PUBCHEM.COMPOUND:23994 as the input ID.  Node normalizer returns two UMLS IDs (UMLS:C0043481 and UMLS:C0795680), both of which should be used in queries by BTE.  It looks like the PK posted in that issue (72895d13-60c5-497f-a635-a702c0b4d06f) only used the latter UMLS ID.  This PK (f74cf91f-3853-4961-b29e-b9966b2966a3) is for issuing the same query explicitly using the former UMLS ID.  The intended behavior is that BTE returns the union of those two PKs.
More results examples:

query results when using PUBCHEM.COMPOUND:23994: https://api.bte.ncats.io/v1/check_query_status/j3tfOxsz3u
query results when using UMLS:C0043481: https://api.bte.ncats.io/v1/check_query_status/7z8rNQqEoM
query results when using UMLS:C0795680: https://api.bte.ncats.io/v1/check_query_status/12iWR8AplS

This appears to be an issue between NodeNorms's Production and Development instances.
Querying the production server, UMLS:C0043481 is not returned.
Querying the development server, UMLS:C0043481 is returned.
BTE uses the Production server.

Thanks @tokebe for the more careful detective work!  Closing this issue...


Can I use DownloadBuildArtifacts task to download all content in drop instead of just vstsdrop.json file?

I am trying use DownloadBuildArtifacts task to download all content in drop, but what I get is just vstsdrop.json file. I found artifactDropDownloadTask could be used to get all drop content but it seems only support windows while I need to have the pipeline running in linux. Is there way I could use DownloadBuildArtifacts task to get all drop content? Thanks!

Hi, @JiayuanL. The DownloadBuildArtifactsV1 task is designed to download artifacts published during the build.
The PublishBuildArtifactsV1 and PublishPipelineArtifactV1 tasks, and the publish shortcut, can be used to publish artifacts.
The DownloadBuildArtifactsV1, DownloadPipelineArtifactV2, and DownloadFileshareArtifactsV1 tasks, and the download shortcut, can also be used to download artifacts.
Here is an example of using these tasks in the yml pipeline —
pool: <Some-Agent-Pool>

trigger: none

variables:
  System.Debug: true

jobs:
- job: _publish_
  displayName: Publish
  steps:
  - task: PublishBuildArtifacts@1
    inputs:
      PathtoPublish: path/to/source-x1
      ArtifactName: artifact-x1
      publishLocation: Container

  - task: PublishPipelineArtifact@1
    inputs:
      targetPath: path/to/source-x2
      artifact: artifact-x2
      publishLocation: pipeline

  - task: PublishBuildArtifacts@1
    inputs:
      PathtoPublish: path/to/source-x3
      ArtifactName: artifact-x3
      publishLocation: FilePath
      TargetPath: path/to/fileshare

- job: _download_
  dependsOn: _publish_
  displayName: Download
  steps:
  - task: DownloadBuildArtifacts@1
    inputs:
      buildType: current
      downloadType: single
      artifactName: artifact-x1
      downloadPath: path/to/target-x1

  - task: DownloadPipelineArtifact@2
    inputs:
      buildType: current
      artifactName: artifact-x2
      targetPath: path/to/target-x2

  - task: DownloadFileshareArtifacts@1
    inputs:
      filesharePath: path/to/fileshare
      artifactName: artifact-x3
      downloadPath: path/to/target-x3

Thank you @DenisRumyantsev for your reply. One thing I found is, if I use artifactDropDownloadTask to download, I could get all content of the artifact. But if I use DownloadPipelineArtifact/DownloadBuildArtifacts, I could only get metadata of the artifact, the content is something like below, I need to use drop.exe to manually get vstsdrop content from below URL. I am not sure if that is expected behavior or not, how should be the correct way to get all drop content. Thanks!
{"VstsDropBuildArtifact":{"VstsDropUrl":"https://office.artifacts.visualstudio.com/DefaultCollection/_apis/drop/drops/Office/Build/Git/Others/","AllVstsDropUrls":[{"DropType":"VsoDrop","DropUrl":"https://office.artifacts.visualstudio.com/DefaultCollection/_apis/drop/drops/Office/Build/Git/Others"},{"DropType":"LogDrop","DropUrl":"https://office.artifacts.visualstudio.com/DefaultCollection/_apis/drop/drops/Office/Logs/Git/Others/******"}]}}

Here are the options to use —

use the artifactDropTask task to publish something to the drop service;
use the artifactDropDownloadTask task to download something from the drop service;
use the PublishBuildArtifacts and PublishPipelineArtifact tasks to publish something to the artifacts' storage;
use the DownloadBuildArtifacts and DownloadPipelineArtifact tasks to download something from the artifacts' storage

The artifactDropTask task publishes data to the drop service and additionally publishes metadata as an artifact.
The artifactDropTask and artifactDropDownloadTask tasks are located in the Artifact Services Tools extension.
Extension source code (is not public)


Make tonic an optional dependency for penumbra-chain

Is your feature request related to a problem? Please describe.
Currently, penumbra-chain can't be used in wasm, because it depends on tonic.
Describe the solution you'd like
Determine why penumbra-chain depends on tonic, and make it optional.

This might unblock ungoing work by Zpoken, so I'll take a crack at it for 43.

❯ rg tonic chain/
chain/Cargo.toml
32:tonic = "0.8.1"

chain/src/view.rs
80:    async fn check_chain_id(&self, provided: &str) -> Result<(), tonic::Status> {
84:            .map_err(|e| tonic::Status::unavailable(format!("error getting chain id: {}", e)))?;
88:            Err(tonic::Status::failed_precondition(format!(

Looks like it's only used for a few error return types. We can handle that outside the crate in the callers in order to drop the tonic dependency for the chain crate. My understanding is that The Right Way to do this would be to use intermediate error types and custom From implementations, but in the interest of unblocking, I'll opt to commit the sin of .map_err() and explain in comments.


is ordered the wrong way around

The ordering of
 is important for the markdown parser, and currently it's
 which causes the pre blocks to be broken:
https://github.com/buildkite-plugins/junit-annotate-buildkite-plugin/blob/ab61195bab3c0c920f6a4fbf3e5ea047bf1d9da7/ruby/bin/annotate#L72

Cool! I can confirm that switching the order fixed my issue. Thanks!


[Playground] Resolve Playground examples CI/CD failures

Fetch example execution results right after each example execution instead of waiting for all examples to finish execution
resolves #26930

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

hm okay this makes sense to me. LGTM.


Can't download version <IP_ADDRESS>

Docs are updated but I can't find 1.7.2 version at:
http://xbib.org/repository/org/xbib/elasticsearch/importer/elasticsearch-jdbc//elasticsearch-jdbc--dist.zip
Thanks for the awesome software!

Thanks for the report. The zip is now uploaded.


Fix auto playback

Description
Fixed regression with IPFS auto-playback and mime type checking in browser.

CI not reporting - merging and running CI on release branch


Initializer failing on Ember 4

Trying to boot any app v4 app with Model-Fragments added fails with the following error:
Could not find module `ember-data-model-fragments` imported from `<snip>/initializers/model-fragments

So we have an issue specifically for Ember Data 28+ compatibility and which we've also called out in the README. So is this error you see when you have Ember 4 and a compatible Ember Data? Is it a brand new Ember app?

I know, I was just testing if a bump to E4 was possible with the 3.28 issue progress (which i'm keeping track of).
I will close this, because was busy testing other addons and for some reason this issue does not longer happen. Perhaps a mutual dependency somewhere.
Anyway, cheers for the work.


fix order of vars-file interpolation

The order of vars files are evaluated in a right to left precedence in
bosh int.
For example,
manifest.yml
a: ((name))

vars1.yml
name: Bob

vars2.yml
name: Moe

From a terminal windows far away.
bosh int manifest.yml -l vars1.yml -l vars2.yml
a: Moe

A value in vars2.yml will override a value defined in vars1.yml.
This behaviour has been added to om int to maintain usage patterns.
[#158312710]

Merged. Thank you!


PR: Check code and add test for underscore completions

Description of Changes

[x] Wrote at least one-line docstrings (for any new functions)
[x] Added unit test(s) covering the changes (if testable)

Issue(s) Resolved

Fixes #10528
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @goanpeca

Hello @goanpeca! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file spyder/plugins/editor/widgets/completion.py:

Line 184:80: E501 line too long (87 > 79 characters)

In the file spyder/plugins/editor/widgets/tests/test_introspection.py:

Line 287:48: W291 trailing whitespace

@metalogical, please review carefully this PR because some of the changes @goanpeca implemented here touch code you added three weeks to improve the Kite client.

Thanks for the review @metalogical!


Keys printed instead of translations with Inertia

Hello,
Thanks for this package!
Basically, my problem is that when I invoke $t('auth.failed') in my templates, all I get is the key auth.failed which validates that the package is working but it doesn't seem to be able to find the proper key in my json file.
I have scratched my head really hard on this, read both closed and opened issues and can't find a solution so I turn to you to help me figure out what I'm doing wrong.
I have an app that is using Inertia and I've followed the instructions twice to install the package.
I want to use the PHP way to get my translations because I find it easier to maintain, so I edited my webpack.mix.js according to the instructions and I can see it compiles everything fine when I run either npm run dev or npm run watch.
So the problem must be elsewhere.
Here are the relevant files:
app.js
require('./bootstrap');

import { createApp, h } from 'vue';
import { createInertiaApp } from '@inertiajs/inertia-vue3';
import { InertiaProgress } from '@inertiajs/progress';
import { i18nVue } from 'laravel-vue-i18n'

const appName = window.document.getElementsByTagName('title')[0]?.innerText || 'Laravel';

createInertiaApp({
    title: (title) => `${title} - ${appName}`,
    resolve: (name) => require(`./Pages/${name}.vue`),
    setup({ el, app, props, plugin }) {
        return createApp({ render: () => h(app, props) })
            .use(plugin)
            .use(i18nVue, {
                resolve: lang => import(`../../lang/${lang}.json`),
            })
            .mixin({ methods: { route } })
            .mount(el);
    },
});

webpack.mix.js
const mix = require('laravel-mix');
require('laravel-vue-i18n/mix');

mix.js('resources/js/app.js', 'public/js').vue()
    .postCss('resources/css/app.css', 'public/css', [
        require('postcss-import'),
        require('tailwindcss'),
    ])
    .i18n()
    .alias({
        '@': 'resources/js',
    });

if (mix.inProduction()) {
    mix.version();
}

my translations files are the regular ones:
- /lang
- - /en
- - - auth.php

In the Welcome.vue that comes with Jetstream I have tried this:
<script setup>
import { Head, Link } from '@inertiajs/inertia-vue3';
import { trans } from 'laravel-vue-i18n';

defineProps({
    canLogin: Boolean,
    canRegister: Boolean,
    laravelVersion: String,
    phpVersion: String,
});

const test = trans('auth.failed')
</script>

<template>
        {{ $t('auth.failed') }}
        {{ $t('auth.password') }}
        {{ test }}
</template>

And all it shows are the keys, not the proper translations.
In the console tab of my browser I can see it calling the lang_php_en_json.js which contains what I want.
Am I missing something here ?

Hey @rachids will take a look on that, since I did focus a lot of my time on vite integration, it may have an issue, will take a look on that and let you know.

Hey @rachids, did not found any issue.
Just created this repo: https://github.com/xiCO2k/laravel-vue-i18n-webpack-app with Jetstream and webpack, let me know if it gives the same error for you.

Hello @xiCO2k
Thank you for taking the time to try it out. I'll checkout your repo later today and check what you did that I missed.

I checked out your repository, I added some keys and it works flawlessly.
I triple-checked every config file in my project and I'm 100% sure I did the right things, but still, doesn't work. Maybe I messed up my webpack config by installing Storybook and doing some weird vaudoo stuff only frontend devs understand..
Anyway, I fixed the translations by migrating from webpack to Vite and now it works.
Thanks again for your time, I'll close this issue.


Why don't I have a classmap in processing my own data_ 1. The JSON file prevents me from continuing to process data

Why don't I have a classmap in processing my own data_ 1. The JSON file prevents me from continuing to process data
I want to know the method of processing data

Please follow the instructions for pre-processing and class map generation ...


pythonPackages.mathics: Fix install

Motivation for this change
This fixes nixos/tests/mathics.nix (part of #18209). Once integrated to master it should be cherry-picked to release-16.09.
I have tested the patch against both master and release-16.09.
cc @domenkozar @benley
Things done

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

[X] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

This fixes the broken test nixos/tests/mathics.nix

Thank you for fixing this.


Working example - with configuration from appsettings.json

It would be nice if there was an working example of how to use WCF from .Net core the right way. By that I mean using the recommended architecture from MS, loading configuration from appsettings.json, and ideally have the service reference in it's own .Net Standard project to isolate it from the rest of the system.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0e89651a-5ad9-c3f9-146f-8d87b87d9e11
Version Independent ID: 85c0e55f-abc0-3b2d-409a-06042b1f3ebb
Content: Microsoft WCF Web Service Reference Provider Tool
Content Source: docs/core/additional-tools/wcf-web-service-reference-guide.md
Product: dotnet-core
GitHub Login: @mlacouture
Microsoft Alias: johalex

Thanks, @haakoo for the feedback. @mlacouture any thoughts on this?

@mlacouture any thoughts on this?

Hi @haakoo.
let me make sure I understand your request:

Can you be more specific about what you mean by 'recommended architecture from MS'? do you mean the recommended solution for the problem you are trying to resolve?
Loading configuration from appsettings.json is something specific to ASP.NET, the .NET Core platform doesn't have support for appSettings currently.  Are you looking for some settings related to the web service you are adding a reference for?
What do you mean by having its service reference in it's own .NET Standard project? do you mean having a separate class library project to which you add the web service reference code and that is referenced by the ASP.NET project?

thank you!
Miguel Lacouture

To quickly explain where I'm at; I'm converting an old (.Net 4.0) application (consuming and serving WCF-services) to .Net Core. I can't change the WCF-service I'm consuming, but I'm converting from WCF to WebApi where I can.

Basically the eShopOnWeb example and Architecting Modern Web Applications with ASP.NET Core and Azure e-book.

I thought the appsettings.json and ConfigurationBuilder were for .Net Core, and after trailing for I while I figured it was only for ASP.NET. Is this something that might end up in .Net Core? Would be handy with a built in Configuration-system and DI.

I'd like to abstract away the WCF-service-client into it's own library. The idea is that the WCF-service eventually will become WebApi, and that we would like to "easily" sawp the WCF-client for a WebApi-client later.

Was that a bit clearer?

I just tried a bit more, and by using the nuget-package Microsoft.Extensions.Configuration.Json I could use:
var builder = new ConfigurationBuilder()
    .SetBasePath(Directory.GetCurrentDirectory())
    .AddJsonFile("appsettings.json");

Configuration = builder.Build();

Now to figure out how to pass the loaded configuration to the generate WCF-client.

Good progress 👍 - the generated client provides a partial method you can implement for configuring the service endpoint bindings, the method signature looks like the following:
static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials)

@mlacouture, i just added a connected service reference to a .net core 2.0 library project and it didn't generate a ConfigureEndpoint method.  and the client class it did generate the constructor requires Binding and EndpointAddress parameters.  I cant seem to find these anywhere.  do you have any suggestions on where i should look to find information on this?

Hi @jmiller-bayshore, did you get any warnings when adding the web service reference? this may happen when the service metadata doesn't define a specific endpoint.  If you didn't get any errors, can you open an issue in GitHub, and if possible can you also provide the service URL or wsdl file?

@mlacouture,
Initially i was getting the "System.ServiceMode.ServiceContactAttribute could not be found" which i found was a problem with my nuget settings not able to get to one of the packages.  After that i was able to get everything added and compiling, just not finding good references on using the code and it seems quite a bit different from how it used to work in previous .NET frameworks.  This thread seemed promising until i hit the block with the configure endpoint you had mentioned.  I can put a ticket on github with the service url

I'm back at this now, and feeling a little stuck. I'd like to be able to send the configuration to the client using the constructor, including any credentials, certificates or more. The idea is to create a .Netstandard2.0 library which I then consume in a .Net Core app. The WCF service will be replaced in the not too distant future, and we'd like to abstract away WCF now. Later we'll just have to change the ServiceClient without changing the main app / logic.
Something like this psudo code:

// Build configuration and add to DI container

public class ServiceProxy : IServiceProxy
{
    private readonly IWcfService _wcfService;
    private readonly iWebApi _webApi;

    public ServicProxy(IConfiguration configuration)
    {
        // Get nesecarry information from configuration

        BasicHttpsBinding binding = new BasicHttpsBinding();
        EndpointAddress address = new EndpointAddress("");
        ClientCredentials cc = new ClientCredentials();

        _wcfService = new WcfServiceClient(binding, address, cc);

        var webApi = new WebApiClient("foo", "bar");
    }

    public string GetStatus()
    {
        return _wcfService.GetStatus();
    }

    public string GetListOfItems()
    {
        return _webApi.GetListOfItems();
    }

    ...
}


Support of treeview in stable/RC

Currently trying following the 215 Tree View tutorial on official website, and find out tree view is not working in the tutorial for stable version of ui-grid.
Any fixing to this? Or tree view is supposed to be working only on unstable version?

TreeView, like grouping, was substantially changed recently, and the code for these changes is all in unstable (hasn't been pushed out as an RC yet, will go with 0.22).

I see, hope it will be released soon. And thank you for the great effort :)


Profile - Locations Edited Blank

If you open the app and go directly to the user profile screen the locations edited in region will be blank even if the user has previously edited locations.  Now go into a location and edit anything.  Go back to the user profile screen and all previously edited locations will display.
Also, the user profile screen is not utilizing all the real estate available.  Looks like it is possibly formatted for an iPhone 5?

This should fix the blank profile issue: https://github.com/scottwainstock/pbm-ios/commit/88b5cc640e5cb8082f937645b08387a2c546d50f
...still working on the formatting for iphone 7 plus.

And I think this should handle the formatting for iPhones:
https://github.com/scottwainstock/pbm-ios/commit/5e959a535734528bc3b242768c95a4a989052f2f

Confirmed formatting looks good on 7 plus.

On iPad, the Locations Edited are blank (with 0.00 miles and 0 machines for each one).

This should kind of fix it: https://github.com/scottwainstock/pbm-ios/commit/73e4f2808edda4da0039143323f2509d18c7876b
... the screen (ipad only) will show up with the 0.00, 0 thing for a second.. but then refresh with real values. This only happens the first time you visit it.
As penance for not getting it all the way there, I sorted that table by location name. It was a random listing before.

That seems great. The Android app does a similar thing: the profile starts out with no numbers on it, and then a second later they load. Seems fine.
Thanks for adjusting the sort.

Great!


DeprecationWarning on escaped strings (Python 3.6)

On 1.13.1.post1 and Python 3.6, importing Fabric3 results in two DeprecationWarning printed to stdout:
<snipped path>/fabric/context_managers.py:329: DeprecationWarning: invalid escape sequence \
  path = path.replace(' ', '\ ')
<snipped path>/fabric/network.py:34: DeprecationWarning: invalid escape sequence \[
  '^\[?(?P<host>[0-9A-Fa-f:]+(?:%[a-z]+\d+)?)\]?(:(?P<port>\d+))?$')

Converting both strings to raw strings should fix the issue.

closed by #35
@OzuYatamutsu FYI, the ticket is automatically closed if the commit message includes "fixes #issue_number"


Walk threads and handle non-GIL code - Implements #13

This PR comprises the changes by @batterseapower, @eklitzke and myself on handling multi-threaded code, and finding stack traces when the GIL is not held.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: batterseapower:white_check_mark: jamespic:x: eklitzkeYou have signed the CLA already but the status is still pending? Let us recheck it.


Decide on what the notification banner does or does not replace

What
Make decision on the scope of the component (and what it does or does not replace)
Why
Several working group members asked if there was a difference between the notification banner and other existing components within the design system. It could cause users to be confused or unclear about the use of the error summary, panel and notification banner components.
We may find that the use of the notification banners makes some components obsolete.
Who needs to know about this
Charlotte, Chris
Further detail

Especially worth looking into use cases of existing error summary and panel components.
It may also be of interest to look into the relationship of each of the three components (error summary, notification banner and panel) across a user journey. This could address some comments raised about when to use each component, after which action it is highlighted to the user and for how long the notification appears.

We need to be clear about the use cases for:

Error summary v error notification banner
Panel v success notification banner
Warning text v blue notification banner
What a blue notification banner is for

We also need to decide what to do with the 'understand the impact of an emergency' pattern.
Done when

[x] Identify risks and benefits with different options
[x] Write down the use cases for each relevant component to show how they differ
[x] Share with the team for discussion
[ ] Decide which component(s) to take forward

Decision on scope of component
Release a single notification banner component with different variants:

information (blue)
success (green)
error (red)

The main reasons for this are:

the variants have more in common than not
alert behaviour  (role=alert and tabindex=0) doesn’t appear to be uniformly appropriate for red and green banners – it may be better make it clear that it’s configurable and why you would use it (perhaps seeing ‘alerts’ as a variant or section of the guidance)
less duplication of code (although there remains the overlap with aspects of the error summary)
the panel component was raised as being similar to the green banner but we think it meets a different need (a user reaching a significant outcome; more final and less temporary than a green banner)
the working group approved the component in this form (albeit with a few suggestions of alternative configurations)

We shouldn't deprecate any existing components for now. Because we’re not 100% on the decision above. It’d be better to deprecate something further down the line and be confident about it than to deprecate something now and potentially need to revert our decision.
We should monitor behaviour to see if the new components result in confusion or misuse. We should set something up 3-6 months after we release 4.0.0 to review this.
Some of the thinking and debate about this is recorded in this internal team doc.


Scroll Jest output to top when there is a fail

That's where the error will be.

btw. we are hoping to move the verbose output around a bit so the failure will be on the bottom.

👍


add michigan moonshot post

This PR adds a blog post about the recent michigan moonshot project.
Previewable: http://website.mlab-sandbox.measurementlab.net/blog/michigan-moonshot/

This change is

I'd make sure to add the community tag!

added the community tag. thanks @georgiamoon


[DOCS] Fix documentation website to be able to navigate to inner routes directly

http://www.backalleycoder.com/2016/05/13/sghpa-the-single-page-app-hack-for-github-pages/
Implemented and already working now in production, but I have to find a way to add these scripts automatically while building with webpack for github-pages.
Also related to this issue https://github.com/isaacs/github/issues/408

Workaround added dynamically to the docs repo https://github.com/Ks89/angular-modal-gallery.github.io
It will be released with version 3.3.4


Include additional Felix dep

For the time being, I've pinned the calico release to 1.2.1.  This will need resetting to master once the master calico felix is working again.  So, for now this is on hold.

LGTM other than etcd URLs.


Automatic documentation using Sphinx

Setup a workflow to automatically compiled documentaiton using Sphinx and upload to a "readthedocs" page?

Made a new branch 2be22027cd91c8b59a4fe97834b3cd1b94af94e7
Based on Pibronic and this blog post
https://www.docslikecode.com/articles/github-pages-python-sphinx/
Next step is to try and build locally

Other sources:
https://www.sphinx-doc.org/en/master/tutorial/deploying.html?highlight=github#id5
https://www.docslikecode.com/articles/github-pages-python-sphinx/
https://github.com/dineshkumarkb/sphinx-doc

I'm able to get to the point where Sphinx is running, but autodoc is failing to find the modules and I remember this being a problem before. Need more research


在属性页打开时，报"The currently displayed page contains invalid values"

Describe the bug

To Reproduce
Steps to reproduce the behavior:

Go to 'Window->Preferences'
Click on 'Alibaba Code Analysis'
See error

@imu2008


release/1.1.0--working-components

Deploying release: release/1.1.0--working-components

[x] opened release/1.1.0--working-components from remodeling
[x] published release/1.1.0--working-components to Github and opened PR to master
[x] review site
[ ] final style tweaks
[ ] bump version number
[ ] bower.json
[ ] package.json
[ ] finished release/1.1.0--working-components with git flow release finish -k
[ ] pushed master and tag release/1.1.0--working-components to Github
[ ] confirmed PR is merged!

#83


the display doesnt seem to load

when i installed in on my VM it doesnt load the screen and only a black screen with a blinking cursor
i tried troubleshooting in commandline interface and it says something like the main thread of cosmic-comp panicked or something of that sorts
the display portal also seems to not be loading properly
i tried multiple options for the portal and the xdg-desktop-portal-cosmic but even that doesnt seem to work
am i doing something wrong?
if so i would like to get some advice on how to handle this

GPU acceleration is a hard requirement. The compositor needs OpenGL ES, and applications also use Vulkan.

– System76 dev


Seemingly unkillable chroot, loops delete-chroot to repeatedly sending SIGKILL

chronos@localhost / $ sudo edit-chroot -all
name: bullseye
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/bullseye...
crouton: version 1-20220111101058~master:a9eafaee
release: bullseye
architecture: amd64
targets: core
host: version 14588.98.0 (Official Build) stable-channel octopus
kernel: Linux localhost 4.14.254-18805-g12d6850827f5 #1 SMP PREEMPT Wed May 4 19:55:34 PDT 2022 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/bullseye...
Failed to unmount /mnt/stateful_partition/crouton/chroots/bullseye. Kill processes? [a/k/y/p/N] y
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/bullseye...
Failed to unmount /mnt/stateful_partition/crouton/chroots/bullseye. Kill processes? [a/k/y/p/N]
Skipping unmounting of /mnt/stateful_partition/crouton/chroots/bullseye

Please describe your issue:
Created a chroot for a quick thing, that failed, and so I wanted to get a fresh start. Exited the choot, the exit process couldn't kill it properly, sent a SIGTERM, then began to send SIGKILL infinitely.
If known, describe the steps to reproduce the issue:
Based on my relatively little knowledge, it appears to possibly be something with what I've done within the choot while working with the Breath script.

yes the happens on new chroots init, very verbose error message, power cycle and it is gone for me New Kernel from Debian, I have started the init systemd grub chroot effort myself many new kernel are now out, The google board target fails when Flash Kernel(chromebook). New tools are happening, i have seen this panic attack this week on Bulleye arm64.

That appears to do it, and I honestly feel a bit dumb for not trying a reboot initially. Besides that, thanks for the help. Closing this issue.


Refactor the keycloak.deployment/extract to include all the properties from JsonWebToken and IDToken

Many thanks for creating this library! I'm enjoying learning it.
In my web application I have user entered data which I'd like to link back to the relevant user in Keycloak and my first instinct would be to use the Keycloak User ID / Subject as the reference. The middleware functions in keycloak-clojure verify a user's access token and extract values from it to return to the web application, but the extracted values don't include the User ID.
Is this intentional because I shouldn't be referencing the User ID in my application? In which case, is it best practice to reference the Username instead? Or should I be querying Keycloak again for the User ID?
Otherwise, is there scope to add an :id field (or :user-id or :subject?) to the extracted data in the extract function in keycloak.deployment, for example:
(defn extract
  ...
  ^keycloak.deployment.ClojureAccessToken [^org.keycloak.representations.AccessToken access-token]
  (map->ClojureAccessToken {:username              (.getPreferredUsername access-token)
                            :id                    (.getSubject access-token)  ; <- new value
...

Many thanks for your help!

Hi Safe,
Thanks for your kind words.
Yes indeed I can refactor the extract function to include the properties from JsonWebToken and IDToken.
It's refactored in version 1.28.4 can you test it?

You can also to the other way and include some application data as attributes of the user when you create it, you can then include the attribute key/value with a mapper (in a declarative or imperative way) to have them in the token. It works very well given the value are not too large, and it avoids reissuing requests to get that data.
E.g. of group and attribute mappers declaration with starter function:
(def mappers [{:name   "group-mapper"
               :type   "oidc-group-membership-mapper"
               :config {"claim.name" "group"}}
              {:name   "org-id-mapper"
               :type   "oidc-usermodel-attribute-mapper"
               :config {"multivalued"          "false"
                        "user.attribute"       "org-id"
                        "claim.name"           "org-id"
                        "jsonType.label"       "String"}}
              {:name   "managed-accounts-mapper"
               :type   "oidc-usermodel-attribute-mapper"
               :config {"multivalued"          "true"
                        "user.attribute"       "managed-accounts"
                        "claim.name"           "managed-accounts"
                        "jsonType.label"       "String"}}])

or you can use the imperative side-effect function:
(create-protocol-mapper! admin-client "myrealm" "myclient-id"
                           (user-attribute-mapper "testuam" "org-id" "org-id" "String"))

Thank you so much for the very quick turnaround! I've updated to 1.28.4 and tested it and it works perfectly. And adding custom user attributes with a mapper to put them in the token looks very useful. I'll be sure to have a look at that.
Thank you once again!


evaluate D

I have some doubts about GAN.
D and G are alternately trained during the training.
How to evaluate that the D can make a correct judgment?Thank you！

I think that D cannot make absolutely correct predictions as D is also improving itself during training.
Typical losses of G and D can be found here: https://github.com/carpedm20/DCGAN-tensorflow (see Training details part)
I usually print the D outputs to see whether D is trained OK. If the outputs change suddenly or drastically, D usually behaviors badly.

@JimmyChame
At first of training, it will fluctuate a lot. With training, the outputs will be more stable.

Thanks for your reply. I have another question if it doesn't interrupt.
I check the losses you mentioned in DCGAN-tensorflow, but I have a little doubt about them.
In the ideal case, the discriminator cannot distinguish between real and generated images at the end of training. The outputs of discriminator will be around 0.5, which means both of real and fake logits is 0. So I calculate the loss myself as following:

real = tf.ones_like(input)*0 fake = tf.ones_like(input)*0 real_loss = tf.reduce_mean(tf.nn.sigmoid_cross_entropy_with_logits(logits=real, labels=tf.ones_like(real))) fake_loss = tf.reduce_mean(tf.nn.sigmoid_cross_entropy_with_logits(logits=fake, labels=tf.zeros_like(fake))) d_loss = real_loss+fake_loss g_loss = tf.reduce_mean(tf.nn.sigmoid_cross_entropy_with_logits(logits=fake, labels=tf.ones_like(fake)))

Then I get the d_loss and g_loss values which are 1.3855876 and 0.6927938 separately. I found a large deviation between the value in DCGAN-tensorflow and the one I calculated. Am I wrong, or is this just an ideal case ?

@JimmyChame It is just the ideal case.


Identifiers validation failed for dataset Cuarenta y ocho especies de la flora de Chiapas incluidas en el PROY-NOM-059-ECOL-2000

Identifier validation failed for the dataset Cuarenta y ocho especies de la flora de Chiapas incluidas en el PROY-NOM-059-ECOL-2000:

Crawler attempt: 282
Publishing organization: Comisión nacional para el conocimiento y uso de la biodiversidad
Publishing country: MEXICO
Installation: IPTCONABIO
Number of occurrences indexed for this dataset at the time of the issue: 119
Cause: GBIF IDs hit maximum allowed - 50%, duplicates - 71%, total records count 129, absent records count 91
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3072880/step

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Cuarenta y ocho especies de la flora de Chiapas incluidas en el PROY-NOM-059-ECOL-2000 : https://doi.org/10.15468/lnhpzi.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Cuarenta y ocho especies de la flora de Chiapas incluidas en el PROY-NOM-059-ECOL-2000:

Crawler attempt: 285
Publishing organization: Comisión nacional para el conocimiento y uso de la biodiversidad
Publishing country: MEXICO
Installation: IPTCONABIO
Number of occurrences indexed for this dataset at the time of the issue: 119
Cause: GBIF IDs hit maximum allowed - 50%, duplicates - 100%, total records count 129, absent records count 129
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3093764/step

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Cuarenta y ocho especies de la flora de Chiapas incluidas en el PROY-NOM-059-ECOL-2000 : https://doi.org/10.15468/lnhpzi.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.


how can login for download private my account in youtube?

i want upload video in youtube with private permission ,
how i can download my video?

See https://github.com/rg3/youtube-dl/blob/master/README.md#authentication-options

thank u ,
if upload video copyright or adult in youtube with permission private , youtube delete my video?

that's possible, especially for copyrighted videos

i use -u and -p
[youtube] Downloading login page
[youtube] Logging in
[youtube] LBLhIXCkGCM: Downloading webpage
[youtube] LBLhIXCkGCM: Downloading embed webpage
[youtube] LBLhIXCkGCM: Refetching age-gated info webpage
ERROR: LBLhIXCkGCM: YouTube said: Please sign in to view this video.

Could you watch LBLhIXCkGCM when logged as<EMAIL_ADDRESS>

yea , coz upload LBLhIXCkGCM  by<EMAIL_ADDRESS>

That would be wierd. "Please sign in to view this video" is exactly what YouTube returns. Could you run this command:
youtube-dl -v -f best --ignore-config -u<EMAIL_ADDRESS>-p ***** https://www.youtube.com/watch?v=LBLhIXCkGCM --write-pages

And upload all *.dump files? Of course check whether there are sensitive data or not before uploading.

[host@server ~]$ youtube-dl -v -f best --ignore-config -u<EMAIL_ADDRESS>-p ***** https://www.youtube.com/watch?v=LBLhIXCkGCM --write-pages
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-f', u'best', u'--ignore-config', u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'https://www.youtube.com/watch?v=LBLhIXCkGCM', u'--write-pages']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.01.14
[debug] Python version 2.6.6 - Linux-2.6.32-573.el6.x86_64-x86_64-with-centos-6.7-Final
[debug] exe versions: ffmpeg N-78980-ga008a7c, ffprobe 2.2.1
[debug] Proxy map: {}
[youtube] Downloading login page
[youtube] Saving request to None_https_-accounts.google.com_ServiceLogin.dump
[youtube] Logging in
[youtube] Saving request to None_https-accounts.google.com_signin_challenge_sl_password.dump
[youtube] LBLhIXCkGCM: Downloading webpage
[youtube] Saving request to LBLhIXCkGCM_https-www.youtube.com_watchv=LBLhIXCkGCM_gl=US_hl=en_has_verified=1_bpctr=9999999999.dump
[youtube] LBLhIXCkGCM: Downloading embed webpage
[youtube] Saving request to LBLhIXCkGCM_https-www.youtube.com_embed_LBLhIXCkGCM.dump
[youtube] LBLhIXCkGCM: Refetching age-gated info webpage
[youtube] Saving request to LBLhIXCkGCM_https-_www.youtube.com_get_video_infovideo_id=LBLhIXCkGCM_eurl=https%3A%2F%2Fyoutube.googleapis.com%2Fv%2FLBLhIXCkGCM_sts=17180.dump
ERROR: LBLhIXCkGCM: YouTube said: Please sign in to view this video.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 694, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 359, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1333, in _real_extract
expected=True, video_id=video_id)
ExtractorError: LBLhIXCkGCM: YouTube said: Please sign in to view this video.


expect-axe-playwright is only supported with playwright test runner

Hi
I am using cucumberjs test runner for executing the playwright test.
I tried to integrate this package with it but when I am running the test its throwing me an error for expect statement.
test should be started in order to use expect statement
Is there a way to integrate with cucumber test runner
TIA

We have no plans to support non-official test runners like jest-playwright or cucumber.  They are pretty rare compared to the official library and honestly I don't see any compelling reason not to use the official test runner.


"no method named draw found for type"

I am trying to use this library in my project with little success. When I compile my code as an example it works without issue, but in a standalone project I get the following error:
error[E0599]: no method named ``draw`` found for type ``ssd1306::SSD1306<ssd1306::interface::I2cInterface<hal::i2c::I2c<hal::<unnamed>::I2C1, (hal::gpio::gpiob::PB6<hal::gpio::Alternate<hal::gpio::OpenDrain>>, hal::gpio::gpiob::PB7<hal::gpio::Alternate<hal::gpio::OpenDrain>>)>>>`` in the current scope   --> src/main.rs:62:10    | 62 |     disp.draw(Font6x8::render_str("Hello world!", (0, 0)).into_iter());    |          ^^^^
error[E0599]: no method named ``draw`` found for type ``ssd1306::SSD1306<ssd1306::interface::I2cInterface<hal::i2c::I2c<hal::<unnamed>::I2C1, (hal::gpio::gpiob::PB6<hal::gpio::Alternate<hal::gpio::OpenDrain>>, hal::gpio::gpiob::PB7<hal::gpio::Alternate<hal::gpio::OpenDrain>>)>>>`` in the current scope   --> src/main.rs:63:10    | 63 |     disp.draw(Font6x8::render_str("Hello Rust!", (0, 16)).into_iter());    |          ^^^^
Any idea what it could be?
Thanks!

Documentation is pretty thin at the moment, sorry about that! Try adding
--features graphics to your Cargo command. It will include the
embedded_graphics crate which adds that method.
On Fri, 30 Mar 2018, 16:19 Ferdia McKeogh<EMAIL_ADDRESS>wrote:

I am trying to use this library in my project with little success. When I
compile my code as an example it works without issue, but in a standalone
project I get the following error:
`error[E0599]: no method named draw found for type
ssd1306::SSD1306<ssd1306::interface::I2cInterface<hal::i2c::I2c<hal::::I2C1, (hal::gpio::gpiob::PB6<hal::gpio::Alternatehal::gpio::OpenDrain>, hal::gpio::gpiob::PB7<hal::gpio::Alternatehal::gpio::OpenDrain>)>>> in
the current scope
--> src/main.rs:62:10
|
62 | disp.draw(Font6x8::render_str("Hello world!", (0, 0)).into_iter());
| ^^^^
error[E0599]: no method named draw found for type ssd1306::SSD1306<ssd1306::interface::I2cInterface<hal::i2c::I2c<hal::::I2C1,
(hal::gpio::gpiob::PB6<hal::gpio::Alternatehal::gpio::OpenDrain>,
hal::gpio::gpiob::PB7<hal::gpio::Alternatehal::gpio::OpenDrain>)>>> in
the current scope
--> src/main.rs:63:10
|
63 | disp.draw(Font6x8::render_str("Hello Rust!", (0, 16)).into_iter());
| ^^^^
`
Any idea what it could be?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jamwaffles/ssd1306/issues/30, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAw4F2Mp729KgtWyF9nP96NCkZUvYYWvks5tjk0UgaJpZM4TBzg5
.

Have I mentioned that having the main graphics driver depend on a feature-gate is not very user-friendly? 😉

You have indeed 😁 what do you say about enabling the graphics feature by default, but leave it in as a feature so it can be disabled? Not sure how useful that is or if I'm just bikeshedding here.

Well, as I said, IMHO it should either be always on or we supplement the project with a simpler alternative (i.e. no external dependency, like the option we have on hand from the third contributer 😉) and use that as default. I think it makes sense to have graphics enabled by default but keep it as a feature if someone absolutely wants to get rid of the dependency.

@jamwaffles Thank you so much! Adding 'features = ["graphics"]' under the ssd1306 dependancy in my Cargo.toml fixed it! :)


Create a consolidated view of the board

functionality to create a board that lets you select the projects that will appear in it.

Duplicate with #426


Data oversampling after data preprocessing/feature engineering

Currently, our plan is to implement a Random Undersampling method to handle imbalanced datasets. This undersampling would occur before the data has been passed into the pipelines, prior to any feature engineering.
In the future, we want to use oversampling methods on the training data, after all of the features have been created with our transformers. This will allow our sampling method to handle datetime and text data, as well as many other features that we would create during our data transformations.  Otherwise, we wouldn't be able to handle these instances well.
Filing this issue in order to look at the design necessary to make that happen. What changes would we need to make to the current AutoMLSearch in order to allow this?

Following up on discussion today:
With the addition of these data splitting / data augmentation sprinkled throughout various areas of AutoML it difficult for a user to replicate this data splitting / data augmentation when they take a pipeline out of AutoML. A use case of this would be a user taking a pipeline into production and want to train the pipeline with more data but cannot do so as there is no easy way to replicate data splitting / data augmentation (under/over sampling etc.).
We should brainstorm a potential solution to this problem as part of this issue as it would be prudent to get a solution for this before adding more data splitting / data augmenting.

Following up, here is a design doc for a potential plan on implementing oversampling, as well as initial test results. Once the team approves, I will file the issues to resolve this spike and close this.

@bchen1116 this spike is completed, yes? Closing. #2014 can track the work on this feature.

Yep, I can file the issues outlined in the design doc


fix annoying hashie warning

This PR fixes the annoying hashie warning:
WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#default defined in Hash. This can cause unexpected behavior when accessing the key via as a property. You can still access the key via the #[] method.

It is based on this Issue: https://github.com/intridea/hashie/issues/391#issuecomment-276490533

Nice!


Add yarn install to upstream when updating HA-frontend

Since /homeassistant-frontend/node_modules is used, but not updated when checking out a new branch (as it is listed in .gitignore) it would stay on older versions.

Cool!


Batch exporter

Hey @janbiasi - would it be possible to write a batch export utility building on this package?
I would like to queue and export multiple projects, for example, 4 tracks in an EP.
Cheers,
Jon

Hey @jsakas
I'm not quite sure if access to the bouncing API is available, as generally the API documentation of Ableton is more like trial and error. If you find any information regarding the bouncing API please let me know 😃

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
🎉 Congratulations! You've won a share of the $1.500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. But that's not all—connect now, and you'll instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1.500k in BNB! Plus, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, seize the chance to win up to $20,000—it's your golden opportunity!
Winners: @

$BNB Airdrop Guide: Claim Your $1000 in BNB Now!
🎉 Congratulations! You've won a share of the $1.500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. But that's not all—connect now, and you'll instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1.000k in BNB! Plus, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, seize the chance to win up to $20,000—it's your golden opportunity!
Winners: @eyeoftheday, @MutantArteth, @jopa2021, @cwcheak, @RostyslavDzhohola, @nicoburkart, @5l1v3r1

$BNB Airdrop Guide: Claim Your $1000 in BNB Now!
🎉 Congratulations! You've won a share of the $1.500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. But that's not all—connect now, and you'll instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1.000k in BNB! Plus, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, seize the chance to win up to $20,000—it's your golden opportunity!
Winners: @edgard116, @abunashir, @Anasser115, @Dev-Feyisayo, @tinix84, @Zinski, @Ali-zk


Add Lyon03

What changes does this PR do?
Add my name & Github link to the list of folks who've practised on this awesome repository!

Oops on a second look at the changes made, it seems like I needed to place my name on the line above. Can I edit the changes after creating the PR or do I create a new one?

Oops on a second look at the changes made, it seems like I needed to place my name on the line above. Can I edit the changes to this original PR or do I create a new one?

Updating the same PR is fine. :)


Enhanced Contact us page

Description
I have enanced the contact us page in following ways :

Added a gradient button
Added dark mode for contact page
Added border
fix the positioning issues with overlappign of message and textarea

Fixes #849
Screenshots
https://github.com/Counselllor/Counsellor-Web/assets/118350936/c3805181-b846-4c50-9463-48e3a7f9e04d
Checklist

[ ] Tests have been added or updated to cover the changes
[ ] Documentation has been updated to reflect the changes
[ ] Code follows the established coding style guidelines
[ ] All tests are passing

I want this colro pattern and button as same as search button

Ok doing

Try , if work then okay

Try , if work then okay

ok

@thestarsahil  i created the button but input fileds are looking like this so should i revert it or its fine

Do one thing  apply whole background to white and text color should same as color of send color

@thestarsahil   sir like that i chanegd the whole background to white and text color also white same as send color

come on vc i'll tell u

Ok joining

@thestarsahil  I joined

@Ayushmaanagarwal1211 Made it ?

@Ayushmaanagarwal1211 Made it ?

YEs sir

@Ayushmaanagarwal1211 Made it ?

YEs sir

I updated please check the video

@thestarsahil  Sir i created a new pr for this

@thestarsahil  #939  Please check this

@thestarsahil  Please check is this working or not
And i am starting working on creating a contact form as you given above

Effecting to whole website not working

Closed this PR