Fixed documents.listen call location in lsp-sample

Due to the findings here https://github.com/microsoft/vscode-languageserver-node/issues/625, I am proposing a change in the location of the
documents.listen(connection);

call in lsp-sample. This change reflects the call's location in the lsp-multi-server-sample implementation, as neither connection.onDidChangeTextDocument, connection.onDidCloseTextDocument, nor connection.onDidOpenTextDocument are being run when a notification is sent when such call is located at the end of the file.

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

@afonsojramos thanks for the PR.
Actually this is not the right fix. The connection only offers handlers, not events. The reason for this is that requests need to return a response and therefore multiple events will not work. Moving the line documents.listen(connection); up will make your code work but will break the document manger. I will close the PR and will add a comment to the document manager explaining this.


Add missing deploy:writable entries

Q
A

Bug fix?
Yes

New feature?
No

BC breaks?
No

Deprecations?
No

Fixed tickets
#1661

Fixed missing deploy:writable entries in recipes

Awesome!


 backend independent NDArray ser/derser

https://github.com/deeplearning4j/deeplearning4j/issues/1676

I am closing this and reopening a cleaner pr

Oops. Wrong PR.


Unite "join" equality comparison syntax with expression syntax, informing the user where it's limited

When coming up with the example Zed in https://github.com/brimdata/zed/issues/2715#issuecomment-846649422, I was thrown at first by how the portion that's establishing the pairing of columns that establish a successful join (join on uid=uid ...) currently uses a single = (e.g. as of Zed commit 7adbb36) rather than ==. To me as a user, it appears to be expressing a test for equality, and other recent Zed language changes have == as the equality testing operator in other contexts such as expressions.
In terms of implementation, @mccanne pointed out that the way it's been using = was in some ways a reflection of it not being the same kind of equality test as appears elsewhere in the language (e.g. you can’t join on arbitrary boolean expressions). Specifically, he explained that join can be efficient if this equality comparison is implemented as a "merge join" or a "hash join", but if we tried to support everything that's possible currently via Zed expressions, there's corner cases such as comparing to regexps that would require comparing the cross product across columns, which is technically feasible but will be prohibitively expensive when there's lots of data to join. That said, @nwt did some research to compare our limitations with that of SQL and it looked to him like they do allow these arbitrary expressions, so that gives us more to think about.
In a group discussion, the main take-away is that we intend to do more research on the compare-to-SQL front. Beyond that, there did seem to be consensus that we unite the syntax as best we can (e.g. move to using == in join) and if there's permutations we can't support yet (such as the expensive cross product) we could inform the user they're not supported.

Regarding the limitation:

...you can’t join on arbitrary boolean expressions...

At the time I didn't seek details as to some of the other specifics about what things wouldn't work. However, I just stumbled across another example that I think would potentially be confusing to a user at first, and perhaps a burden if it remained as a limitation and users had to be aware & adapt to it. Therefore I'll log it here, as I think it might make a case to widen the scope of this issue beyond just the syntax change to == and on to actually bringing some/all of the same behaviors from "regular" boolean expressions into this comparison in join, depending on if the changes could be feasibly implemented.
Repro is with Zed commit ff3d2e2. The tl;dr is that it comes down to values of different types (specifically string and bstring in this case) being treated as non-equal even when their underlying values appear to be the same.
To start with a base case, with a regular test for equality between string and bstring values, it does what I expect:
$ zq -Z stringy.zson
{
    foo: "hello",
    bar: "hello" (bstring)
} (=0)

$ zq -z 'foo==bar' stringy.zson
{foo:"hello",bar:"hello" (bstring)} (=0)

Now consider this join. This one works because the field called bar is a bstring in both files.
$ zq -Z right.zson
{
    bar: "hello" (bstring),
    decoration: "LookAtMe!"
} (=0)

$ cat simple.zed
from (
  file stringy.zson => sort bar;
  file right.zson => sort bar;
) | left join on bar=bar decoration

$ zq -Z -I simple.zed
{
    foo: "hello",
    bar: "hello" (bstring),
    decoration: "LookAtMe!"
} (=0)

However, if I change the type of bar in right.zson to a regular string, now the join fails.
$ zq -Z right.zson
{
    bar: "hello",
    decoration: "LookAtMe!"
}

$ zq -Z -I simple.zed
{
    foo: "hello",
    bar: "hello" (bstring)
} (=0)

As a user, the only way I can see to work around this currently is to cast the bar value in one of the inputs so the types line up. Once I got hip to the reason the clause in the join was failing, this is not a super difficult workaround to put in place, and in a pinch we could clearly document it and hope users lock it into their workflow. However, my concern is that users might spend a lot of time frustrated thinking it was some other mistake on their part (e.g. values not quite lining up in some other way, some other problem in the multi-line Zed, etc.)

The Zed docs published in #2836 cited this issue as a current limitation. When this issue is addressed, the docs should be updated.

@mattnibs and I recently bumped into a specific use case that would have benefitted from what's described here. The Geolocation data from MaxMind is bucketed by CIDR block, e.g.:
$ zq -Z 'head 1' GeoLite2-City-Blocks-IPv4.csv
{
    network: "<IP_ADDRESS>/24",
    geoname_id: 2077456.,
    registered_country_geoname_id: 2077456.,
    represented_country_geoname_id: null,
    is_anonymous_proxy: 0.,
    is_satellite_provider: 0.,
    postal_code: null,
    latitude: -33.494,
    longitude: 143.2104,
    accuracy_radius: 1000.
}

Meanwhile, a user's network security data they'd want to map to locations will likely be based on individual IP address. Therefore it would be beneficial to be able to use "truthy functions" (e.g., ones that return booleans, such as cidr_match() in this case) in the join expression so the user could map a single IP to the location for its matching CIDR block.


Add getExamplesByKinds to file client

Pull Request Test Coverage Report for Build 189

28 of 28 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 83.031%

Totals

Change from base Build 188:
0.3%

Covered Lines:
1140

Relevant Lines:
1324

💛  - Coveralls


bazel: branch cc_configure from bazel repo to support libstdc++/libgc…

…c static linking.
We import cc_configure.bzl from https://github.com/bazelbuild/bazel at d6fec93 in this patch.
This allows us to workaround https://github.com/bazelbuild/bazel/issues/2840 (see the header comment for further details).

If possible can you split this into two PRs:

Just to add the raw file from upstream and hook it up.
To actually make the modifications.

It will be easier to review, and easier to rebase if we have to merge upstream later.

Now rebased on top of #787.

Yeah, if compiler isn't g++ in the path.
On Tue, Apr 18, 2017 at 6:41 PM Matt Klein<EMAIL_ADDRESS>wrote:

@mattklein123 commented on this pull request.
In bazel/cc_configure.bzl
https://github.com/lyft/envoy/pull/782#discussion_r112081556:

@@ -387,18 +395,18 @@ def _get_system_root(repository_ctx):

def _find_cc(repository_ctx):
"""Find the C++ compiler."""

cc_name = "gcc"
if "CC" in repository_ctx.os.environ:
cc_name = repository_ctx.os.environ["CC"].strip()

cc_name = "g++"
if "CXX" in repository_ctx.os.environ:

So we need to make sure we set CXX now?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lyft/envoy/pull/782#pullrequestreview-33369599, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKaLv8mz-xKCU2x5rI-OdnhUJedcBpmiks5rxTwugaJpZM4NAi6m
.


Hero Image redesign

[ ] random one of the 3 hero images
[ ] text content to not overlap with the hero - text, search field in bottom left corner.
[ ] background of 'MEHR FRAUEN AUF DIE BÜHNEN!' white
[ ] hero image needs to be part of central container (so it maintains a fixed width)
[ ] on mobile, search content moves on top, first thing below header. hero is central below the search, so they also don't overlap
[ ] consider removing action button "search" and just using enter key. does that work for everyone / is it accessible?
[ ] placeholder "Name oder Thema" goes into the search field as actual placeholder
[ ] find space for the claim "Finde Rednerinnen, Referentinnen & Moderatorinnen für Deine Konferenz:" -> e.g. lighter colored and smaller between the H1 and the search field

@athomschke this is all done, right?


Fix testable executables once more

A previous problem here was fixed in #6723, this new fix is attempting to resolve issues where macros are used transitively by a product that a test is depending on. It seems to me that those transitively available macros should not be statically linked into tests and in fact doing so can cause various issues such as linker errors on non-Darwin platforms.
It does feel like eventually we need to get away from computeDependencies(of:) being a computation on the entire package graph and instead let each package produce separate products which we can then just use transitively, but that is a much bigger change to SwiftPM's build system.
rdar://115071012

@swift-ci please test

@swift-ci please test package compatibility

There's one failure in package compatibility, in swift-foundation. It doesn't look related:
/Users/ec2-user/jenkins/workspace/swift-package-manager-source-compat-suite-PR-macos/swift-source-compat-suite/project_cache/swift-foundation/Sources/FoundationEssentials/UUID.swift:15:16: error: package import can only be used from a module with a package name; set it with the compiler flag -package-name
package import _CShims // uuid.h
               ^
/Users/ec2-user/jenkins/workspace/swift-package-manager-source-compat-suite-PR-macos/swift-source-compat-suite/project_cache/swift-foundation/Sources/FoundationEssentials/_FoundationInternals/LockedState.swift:17:16: error: package import can only be used from a module with a package name; set it with the compiler flag -package-name
package import os
               ^
error: fatalError

The failure is actually already known in baseline, so it's definitely unrelated. So this can be merged.


Objection usage with dataloader

Hey, I'm trying to make dataloader work with Objection.
The simple example is user - permissions (one to many).
// tables
// users: id, name
// permissions: id, userId, title

// models
class User extends Model {
  static tableName = 'users'

  static relationMappings = {
    permissions: {
      relation: Model.HasManyRelation,
      modelClass: `${__dirname}/permission`,
      join: {
        from: 'users.id',
        to: 'permissions.userId'
      }
    }
  }
}

class Permission extends Model {
  static tableName = 'permissions'

  static relationMappings = {
    user: {
      relation: Model.BelongsToOneRelation,
      modelClass: `${__dirname}/user`,
      join: {
        from: 'permissions.userId',
        to: 'users.id'
      }
    }
  }
}

In graphql I have a permissions field which I can load as user.$relatedQuery('permissions'), but this would create N+1 queries. Instead, I want to use dataloader, so that the resolver is (here I have user model and I pass user.id to dataloader):
const resolvers = {
  User: {
    permissions: (user) => {
      return permissionLoader.load(user.id)
    }
  },
  Query: {
    users: () => User.query()
  }
}

The dataloader expects an array of users (I can pass user models or user ids) and expects to return an array of users with permissions array (as in example above).
const permissionLoader = new DataLoader(users => {
  // users is [2, 3, 4]
  return Promise.resolve([
    [{ title: 'first user permission 1' }],
    [{ title: 'second user permission 1' }],
    [{ title: 'third user permission 1' }, { title: 'third user permission 2' }]
  ])
})

What's the best way to provide the same result using objection. Something similar to this, or using Permission model, or map results after receiving, or something else ?
const userPermissions = await User.query().whereIn('id', [2, 3]).eager('permissions')

Since I already have all users, I need only 1 select to permissions table.

Or maybe if I pass user model instead of user.id, I can use loadRelated and map after:
const resolvers = {
  User: {
    permissions: (user) => {
      return permissionLoader.load(user)
    }
  },
  ...rest
}

const permissionLoader = new DataLoader(users => {
  // users is an array of user models
  return User.loadRelated(users, 'permissions').then(users => {
    return users.map(user => user.permissions)
  })
})

This one works but I'm not sure if this is the best way.

loadRelated is probably the best option here.

@koskimas thank you! :)

How could I apply limit and offset (pagination) for each user permissions? Should I execute separate queries?

@rosendi I'd advise you to make a simple working example where you fetch users by ids and their paginated permissions.
If you'll have it working it'll be possible to use with dataloader since it just gives you user ids and you'll have to return correct permissions (using eager join or loadRelated and maybe modifiers).


feat(alerting): add alerting support for jetbrains space

Summary

Adds JetBrains Space chat channels as an alerting option.
Pretty directly translated from the Slack provider, if there's a better example to follow for new alerting providers let me know.
Checklist

[X] Tested and/or added tests to validate that the changes work as intended, if applicable.
[X] Updated documentation in README.md, if applicable.

Codecov Report
Attention: Patch coverage is 94.11765% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 80.80%. Comparing base (08742e4) to head (fbbb6f0).
Report is 8 commits behind head on master.

Files
Patch %
Lines

alerting/provider/jetbrainsspace/space.go
94.02%
2 Missing and 2 partials :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #713      +/-   ##
==========================================
+ Coverage   78.62%   80.80%   +2.17%
==========================================
  Files          58       59       +1
  Lines        4759     4080     -679
==========================================
- Hits         3742     3297     -445
+ Misses        831      593     -238
- Partials      186      190       +4

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


Add prometheus metrics exporter endpoint

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
/lifecycle stale

/remove-lifecycle stale

The pr linked in the issue contains the service monitor which on deployment
exposes the metrics of the application to be scraped by prothemeus of the cluster.

Servicemonitor: https://github.com/operate-first/peribolos-as-a-service/blob/main/manifests/base/controller/servicemonitor.yaml
Service: https://github.com/operate-first/peribolos-as-a-service/blob/main/manifests/base/controller/service.yaml

closing this issue
as the metrics exporter of the application was fullfiled.
thanks.


Tour widget with backdrop is blocking anchor element on (actual) mobile device

The tour widget popup selector is blocking elements on mobile device. It works perfect in regular web mode and even in the web mobile simulator. However, when I test on the actual device (not the simulator) the positioning isn't right (particularly in landscape mode when scrolling up or down, but also in portrait). I can't figure out the exact steps to reproduce, but it seems scrolling makes it worse. And if I zoom in/out the browser on my device a few times it seems to fix it.
Angular version: 13.3.0
NGX UI Tour (ngx-ui-tour-md-menu) version: 8.1.2

Positioning is handled by mat-menu when you use ngx-ui-tour-md-menu. Not much this library can do to fix this.
Anyway, have you tried disablePageScrolling step config which prevents the user from being able to scroll while the tour is active?

Using disablePageScrolling works surprisingly well at resolving the issue. Initially I didn't think to use it, but it ended up working quite nicely. Thank you for the help and quick response!

You are welcome. Remember to star the library if you like it :)

Starred 👍🏼
I may have spoke a bit too soon. It definitely fixed the issue for portrait mode. I think where the issues are persisting is when in landscape mode and there is very small vertical height to work with. Essentially the browser bar is forced open on disablePageScrolling and in landscape leaves hardly any wiggle room for the tour widget and that's when the odd clipping and jittering behaviour starts when the tour is highlighting elements at the bottom of the page.
On the bright side it's less common for users to be in landscape and get to the very bottom of the responsive page in the tour so those are positives.

Closing since this library doesn't control mat-menu positioning and can't fix it.


Mongodb

Background
MongoDB detections
API Key created
External user invited
Test

do you mind putting test output in pr description?

do you mind putting test output in pr description?

added


Would you like have toSVG and toSVGPath methods?

I had to code something to do this for work in the interest of contributing back to open source project, I can provide a pull request for it if you like.
Not every feature of DXF works but hey its a start :).

Having SVG functions would be amazing.
If you can supply the functions I can add some functional tests for those in the form of static HTML
On Friday, 24 April 2015 at 04:30, Liam Mitchell wrote:

I had to code something to do this for work in the interest of contributing back to open source project, I can provide a pull request for it if you like.
Not every feature of DXF works but hey its a start :).
—
Reply to this email directly or view it on GitHub (https://github.com/bjnortier/dxf/issues/6).


Add support for accessory files hosted on s3.

reading loads the entire file into memory,

Good points here!  I've already changed the AWS region to be an environment variable.

Thanks Toktam. The current tests work now. You might want to recheck the s3 support, as I'm pretty sure some changes broke it.
The CI build is failing because of a missing import a some minor things -- I recommend running pre-commit to see those error, and to auto-format.
eg:
pip install pre-commit
pre-commit install
pre-commit run -a

Thanks Jeremy.  I've fixed the pending issue.  All the workflows have passed so please approve

Thanks Toktam. The current tests work now. You might want to recheck the s3 support, as I'm pretty sure some changes broke it.
The CI build is failing because of a missing import and some minor things -- I recommend running pre-commit to see those errors, and to auto-format.
eg:
pip install pre-commit
pre-commit install
pre-commit run -a

Thanks Toktam. The current tests work now. You might want to recheck the s3 support, as I'm pretty sure some changes broke it.
The CI build is failing because of a missing import and some minor things -- I recommend running pre-commit to see those errors, and to auto-format.
eg:
pip install pre-commit
pre-commit install
pre-commit run -a

Thanks Jeremy.  I fixed the pending issue and it's looking good:

All the workflows are also passing.


setup.settings.general.single_frequency_adaptive_solution.adaptive_frequency setter doesn't take value

🔍 Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

🐞 Description of the bug

setup.settings.general.single_frequency_adaptive_solution.adaptive_frequency = "1GΗz"
Property accept the value but using the getter does not show the updated value.
📝 Steps to reproduce
NA
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
No response
🐍 Which Python version are you using?
3.10
📦 Installed packages
NA

I think this issue can be extended to all HfssSimulationSetup sub classes setters

@svandenb-dev For the changes made to the single_frequency_adaptive_solution to be stored in the sim setup object, you must set the single_frequency_adaptive_solution property with the SingleFrequencyAdaptiveSolution that has had the changes applied to it. For example, to change the adaptive_frequency property, you do this:
sfs = setup.settings.general.single_frequency_adaptive_solution
sfs.adaptive_frequency = "1GΗz"
setup.settings.general.single_frequency_adaptive_solution = sfs

[like]  Simon Vandenbrouck reacted to your message:

From: drewm102 @.>
Sent: Monday, October 14, 2024 9:25:42 PM
To: ansys/pyedb-core @.>
Cc: Simon Vandenbrouck @.>; Mention @.>
Subject: Re: [ansys/pyedb-core] setup.settings.general.single_frequency_adaptive_solution.adaptive_frequency setter doesn't take value (Issue #440)
[External Sender]
@svandenb-devhttps://github.com/svandenb-dev For the changes made to the single_frequency_adaptive_solution to be stored in the sim setup object, you must set the single_frequency_adaptive_solution property with the SingleFrequencyAdaptiveSolution that has had the changes applied to it. For example, to change the adaptive_frequency property, you do this:
sfs = setup.settings.general.single_frequency_adaptive_solution
sfs.adaptive_frequency = "1GΗz"
setup.settings.general.single_frequency_adaptive_solution = sfs
—
Reply to this email directly, view it on GitHubhttps://github.com/ansys/pyedb-core/issues/440#issuecomment-2412368857, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AR4E73ZQMUKA26ZDK5H2YKTZ3QZFNAVCNFSM6AAAAABP2QMPBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJSGM3DQOBVG4.
You are receiving this because you were mentioned.Message ID: @.***>


RetainingFragmentLceViewState and fragment recreation

Hi !
I've been using your RetainingFragmentLceViewState and it works great on device rotation.
But I have a problem when the fragment is recreating because of low ram or long stay in background:

Turn on "Don't keep activities" in developer options
create a 2 activity app, the first one having a fragment using a RetainingFragmentLceViewState.
start activity 1, from there start the activity 2.
press the back button, the activity one is getting recreated, the view state also and it don't care about its previous state. However, everything which is saved without using the view state (views, Icicle) are getting saved and reapplied in the view.

I'm using the 1.1 version of your mvp framework

Hi,
yes this is the "desired" behaviour.
RetainingFragments (at least in Mosby) can not survive recreation: as you have already noticed correctly viewstate and presenter gets recreated. However, everything else you put into a bundle like Icicile gets restored because it has been stored persistently into the Bundle.
Your problem is that you have mixed up two concepts:
EITHER

put everything into the bundle by not using "RetainingFragment" (so the viewstate will be saved into the bundle as well, but presenter will canceled and restart requests after orientation change)

OR

if you use retaining fragment there is no need to use Icicle. Simply use fields directly as the will survive orientation changes. By doing so this fields will "loose" their value on activity recreation as well as ViewState and Presenter. So after activity recreation you are in the same "new" state for all components (all fields are reseted and presenter and viewstate as well).

Problem is that in the second case, if the fragment, viewstate and presenter are recreated and empty of past values, the views are still recreated by the system with their previous state...
Then is the cleanest way to deal with it to call a cleaner function to set the initial state of each component ?

In that case your viewstate is null and therefore the presenter starts to reload. In that case the loading view gets display, then the contentview with the loaded value.
So yes, the android widgets have restored there previous value, but they are not visible, right? Or probably LCEFragment is not the right thing for your needs?
Could you post some code? Then I should be able to give you a concrete advice?
Usually a clean up method is not neede, because you should set the android ui widgets in showLoading(), showContent() and showError(). However, if you really think a clean up method is needed, then you should override onNewViewStateInstance() which is called if no viewstate to restore has been found.

Basically I have a common lce list.
Under this list I have a panel where I have some filters controls (like some 3 states buttons, and spinner)
When the activity is recreated, the fragment and presenter restart but the filters controls keep their previous selection.
The problem is that the data loaded at initialization don't pay attention of the selected controls.

I see. That sounds like the filter controls should be part of the view state as well. I guess you filter the list by reloading data in background matching the filter criteria, don't you? If doing so you can enhance an existing LCE viewstate.
have a look here:
http://hannesdorfmann.com/android/mosby-playbook/
Tip 15 and Tip 17 describes how to make a custom viewstate. However, you still have to reset the filer control to it's initial state in onNewViewStateInstance().


Add eslint check for undefined variables

I am planning on separating out some less used functions (i.e. stack alignment) out of the core viewer and creating separate girder plugins for the features.


exists() crashing when checking element that came from ElementsCollection.find()

Recently upgraded from Selenide 3.7 to 4.2.1 and noticed that a bunch of my tests started failing. We do a lot of things like below:
SelenideElement s = someElementsCollection.find(Condition.text(textgoeshere));
return s.exists();

I am finding that the second line works if the element exists, but will crash if it is not found. I know that the find method used to be implemented as 'return someElementsCollection.filter(Condition).get(0)`, but was changed at some point.
We can change all of our finds to just use the filter method, but this will take a bit of work. Is there any way to get the old functionality back and have it work properly with exists()?

We are working on this error.

Great, thank you. Is there an ETA by any chance?

@jaymagpantay @juliaviluhina pull request #466 has been merged. We will release it tonight.

@jaymagpantay @juliaviluhina Selenide 4.3 has been released. Can you try if it solves your problem?

@asolntsev @juliaviluhina Thank you! We will try the fix early next week and will let you know.


Error setting up entry Xmrig Main PC for xmrig

Logger: homeassistant.config_entries
Source: custom_components/xmrig/summary_controller.py:33
Integration: XMRIG (documentation, issues)
First occurred: 18:07:53 (1 occurrences)
Last logged: 18:07:53
Error setting up entry Xmrig Main PC for xmrig
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 335, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/xmrig/init.py", line 44, in async_setup_entry
controller = SummaryController(hass, config_entry)
File "/config/custom_components/xmrig/summary_controller.py", line 33, in init
self._token: str = config_entry.data[CONF_TOKEN]
KeyError: 'token'

Ok, this integration is not taking null tokens


az datafactory integration-runtime list error  I don't have a D Drive

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az datafactory integration-runtime list Extension Name: datafactory. Version: 0.7.0.
Errors:
The command failed with an unexpected error. Here is the traceback:
cannot import name 'DeserializationError' from 'azure.core.exceptions' (C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\core\exceptions.pyc)
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 657, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 691, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 328, in __call__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 112, in handler
  File "C:\Users\User\.azure\cliextensions\datafactory\azext_datafactory\generated\_client_factory.py", line 24, in cf_integration_runtime
    return cf_datafactory_cl(cli_ctx).integration_runtimes
  File "C:\Users\User\.azure\cliextensions\datafactory\azext_datafactory\generated\_client_factory.py", line 14, in cf_datafactory_cl
    from azext_datafactory.vendored_sdks.datafactory import DataFactoryManagementClient
  File "C:\Users\User\.azure\cliextensions\datafactory\azext_datafactory\vendored_sdks\datafactory\__init__.py", line 9, in <module>
    from ._data_factory_management_client import DataFactoryManagementClient
  File "C:\Users\User\.azure\cliextensions\datafactory\azext_datafactory\vendored_sdks\datafactory\_data_factory_management_client.py", line 15, in <module>
    from . import models
  File "C:\Users\User\.azure\cliextensions\datafactory\azext_datafactory\vendored_sdks\datafactory\models\__init__.py", line 9, in <module>
    from ._models_py3 import AccessPolicyResponse
  File "C:\Users\User\.azure\cliextensions\datafactory\azext_datafactory\vendored_sdks\datafactory\models\_models_py3.py", line 14, in <module>
    from .. import _serialization
  File "C:\Users\User\.azure\cliextensions\datafactory\azext_datafactory\vendored_sdks\datafactory\_serialization.py", line 51, in <module>
    from azure.core.exceptions import DeserializationError, SerializationError, raise_with_traceback
ImportError: cannot import name 'DeserializationError' from 'azure.core.exceptions' (C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\core\exceptions.pyc)

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az datafactory integration-runtime list --factory-name {} --resource-group {}

Expected Behavior
Environment Summary
Windows-10-10.0.22000-SP0
Python 3.8.9
Installer: MSI

azure-cli 2.30.0 *

Extensions:
datafactory 0.7.0

Additional Context

Thank you for opening this issue, we will look into it.

@reinerra I am not able to reproduce this issue.

Can you try upgrading your Azure CLI version

@reinerra Please let us know if you are still having issues.

@reinerra We will now proceed to close this thread as we haven't heard back. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Add utility script to create service principal

We wait for @lizzha update prior to merging.

@juhlee-microsoft  I've addressed the comments


CSS not included in dynamic pages (200.html) when statically generating/hosting. (3.6.0)

Environment

Operating System: Windows_NT
Node Version:     v16.15.0
Nuxt Version:     3.6.0
Nitro Version:    2.5.1
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      app, ssr, vite, nitro, css, plugins, components, dev, vue, modules, sourcemap, build, dir, typescript
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS>()
Build Modules:    -

Reproduction
npx nuxi@latest init nuxt-repro-bad-200
cd nuxt-repro-bad-200
npm install

I also ran initalization of Firebase Static Hosting to be able to deploy to a server. It will redirect to the 200.html. The firebase.json file is as follows.
{
  "hosting": {
    "public": ".output/public",
    "ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
    "trailingSlash": false,
    "rewrites": [
      {
        "source": "**",
        "destination": "/200.html"
      }
    ]
  }
}

Next, make two pages, one that is statically generated and one that is skipped.
<template>

    I am statically generated at build time.

</template>

<template>

    I am dynamically generated by the client.

</template>

<template>

  <NuxtPage/>
</template>

Add a css file that defines the 'big-red-box' class.
/* assets/styles/main.css */
.big-red-box {
  padding: 2rem;
  background: red;
  color: white;
}

Setup the config to 1) static generate 2) include the css 3) skip dynamic from generating
// nuxt.config.ts
export default defineNuxtConfig({
  ssr: true, // Static generation
  css: ['~/assets/styles/main.css'], // Include the css file
  nitro: { prerender: { ignore: ['/dynamic'] } }, // Skip the dynamic page from generation
})

Include the workaround for the 200.html misdirection bug.
// plugins/path.client.ts
export default defineNuxtPlugin({
  order: -25,
  setup(nuxtApp) {
    delete nuxtApp.payload.path
  },
})

Finally, build and deploy
npm run generate
firebase hosting:channgel:deploy bad-200

Describe the bug
Going to the two pages show that the one that was dynamically generated does not have the required CSS while the statically generated page does.

Additional context
This also affects included css from plugins such as Vuetify.
Logs
No response

Would you provide a reproduction? 🙏

I'm not really sure how to do that... I just uploaded all the code to this repo. Of course, you need to find somewhere to put the code once you deploy... If you want to see my deployed version (on Firebase Hosting) you can check out the two links:

https://dev-phojo-app--bad-200-xqhmdfxp.web.app/pregen
https://dev-phojo-app--bad-200-xqhmdfxp.web.app/dynamic/

I'm having the same issue with 3.6. My SCSS file is not included in dynamic routes (ssr: false)

Having same problem with vuetify on build, have to set experimental.inlineSSRStyles: false in nuxt.config

there is also https://github.com/nuxt-modules/i18n/issues/2177 which may be related


Dataset removal in v3.0.0-beta5 stacked bar chart does not redraw correctly

I have two codepens showing creating a simple stacked bar chart and then removing one of the datasets dynamically.
Here's the Chart.js 2.9.4 version:
https://codepen.io/rhbourdeau/pen/zYBLeQm
And here's the Chart.js 3.0.0-beta5 version:
https://codepen.io/rhbourdeau/pen/bGejzQB
Expected Behavior
In both examples I have three datasets cht.data.datasets[0], cht.data.datasets[1], cht.data.datasets[2] that are added.
I then attempt to redraw the chart without cht.data.datasets[1].
In both examples I do this by setting
cht.data.datasets[1] = [];
After doing this I call chart.update()
The correct resulting stacked bar chart should result.
Current Behavior
In v.2.9.4 this has worked correctly.
In v.3.0.0-beta5 the stacked blocks for dataset[1] are just erased from view without rebuilding the stacks. The deleted middle dataset leaves blocks in the stack floating.
Alternatively I can splice out the datasets and that works in both examples.
Steps to Reproduce
Codepens included above.
I referenced this CDN for v3 https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.0.0-beta.5/chart.js
and this CDN for v2 https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.min.js
Context
My current code works with 2.9.4 and I am attempting to migrate to v3 so that I may also utilize the newer build of the annotations plugin.
Environment
Using Edge and Chrome latest versions.

Chart.js version: specified above
Browser name and version:

It looks like you are doing it a bit wrong in that pen: cht.data.datasets[1] = [];, which replaces the dataset object at index 1 with an empty array.
If you want to replace the data and not remove the dataset, you should be doing cht.data.datasets[1].data = [];. That however gives the same result, so the bug is real.
The splice method is correct if you want to remove the dataset completely.


full test flow for subscribeInvoices

Atm subscribeInvoices method test is very trivial:

subscribe to invoices
create new invoice
check that notification contains correct invoice (which has been just created)

But subscribeInvoices method is very important and will be used to receive payments notifications, so we need to introduce more complex test cases as well, something like:

subscribe to invoices
create new invoice
check notification
settle invoice
check notification

Invoice settlement test requires a lot of new functionality:

First of all, it requires ability to open channels. It's nice to have it as RPC method
Ability to open channels implies mining (it's easy in regtest mode which we are using). Mining is not an RPC method, and required only for test purposes. There is a list of bitcoin client libraries for Haskell, maybe some of them might be used: http://hackage.haskell.org/packages/search?terms=bitcoin . If none of them can operate on regtest mode to mine blocks, we can just use JSON API of bitcoin node itself.
Ability to settle invoices (another new RPC method)

done 🎉


Extension issue

Issue Type: Bug
Extension Name: python
Extension Version: 2021.9.1191016588
OS Version: Windows_NT x64 10.0.19043
VS Code version: 1.60.0

:warning: We have written the needed data into your clipboard. Please paste! :warning:

I think to troubleshoot this one, we really need a profile that shows the activation. I'm pretty sure VS Code does so, but maybe not. Was one included?

Closing old issue. If this is still a problem, please reopen with the information requested. thanks


"Failed to decode data"

Any image from any source gives me "Failed to decode data". This comes from screenshotted images, pasted images, drag and dropped images, and files from file selectors. I've tried other languages (default in English, but also German).

Frog use to work until recently. This must've been due to a recent upgrade.
I have Frog installed from Flathub, and I tried trashing all user data and uninstalling + reinstalling Frog too.
I'm on Fedora 40 beta. Frog used to work perfectly, and I love the app.

Running Frog from the command line gives me this:
$ flatpak run com.github.tenderowl.frog

** (python:2): WARNING **: 12:40:57.273: expected enumeration type void, but got PyGLibOptionArg instead
2024-04-16 12:40:57.277 | DEBUG    | frog.widgets.language_popover:__init__:69 - active-language
2024-04-16 12:40:57.294 | DEBUG    | frog.language_manager:active_language:208 - Active language set to <LanguageItem: English, eng>
/app/lib/python3.11/site-packages/frog/window.py:84: Warning: g_variant_type_checked_: assertion 'g_variant_type_string_is_valid (type_string)' failed
  self.install_action("window.share", "provider", self._on_share)
/app/lib/python3.11/site-packages/frog/window.py:84: Warning: g_variant_type_copy: assertion 'g_variant_type_check (type)' failed
  self.install_action("window.share", "provider", self._on_share)
2024-04-16 12:41:05.110 | DEBUG    | frog.main:on_settings_changed:145 - SETTINGS: %s changed
2024-04-16 12:41:08.068 | DEBUG    | frog.services.screenshot_service:decode_image:115 - Remove source set to False
2024-04-16 12:41:08.068 | DEBUG    | frog.services.screenshot_service:decode_image:117 - Decoding with eng+eng language.
2024-04-16 12:41:08.068 | DEBUG    | frog.services.screenshot_service:decode_image:140 - ERROR:

(All the DEBUG lines at the end are from after the app launches and I try to do something.)

I have the exact same error. Looking at the PyGObject docs, it seems that the problem is that the install_action method is not recognizing "provider" as a valid type in the following line:
self.install_action("window.share", "provider", self._on_share)

Update: that only happens when taking a screenshot! Pasting and opening an image work fine.


installation-ide.adoc: mill.bsp.BSP/install

Instructions to run mill.bsp.BSP/install. Without it, IntelliJ won't pick up the BSP model -- it won't show it as one of the possible ways how to import the project.

I havent needed to do this for a clean checkout for maybe a year now

do you have a repro i can look at where running this command is necessary?

When you open the project as just a mere directory, IntelliJ doesn't prompt you to import -- regardless of whether with BSP or Maven or anything. You just see this and nothing happens.
scala-mill-experiment.zip

The issue seems to be that IntelliJ uses the presence a ./mill bootstrap script in order to detect it as a Mill build. After adding such a bootstrap script the intellij auto import seems to work

We can probably send a patch upstream to intellij-scala to make it a bit more flexible. In the meantime, this command may be useful to fix some of the misbehaviors I've seen when intellij gets into a bad state. Let me try to reproduce them to see

presence [of] a ./mill bootstrap script in order to detect it as a Mill build

Would you say it is more robust to rather detect Mill via detecting

build.mill or
build.mill.scala or
mill.scala
(did I forget any other case?)

@sideeffffect should be these cases

./mill
./build.mill
./build.mill.scala

We may not need this PR if this gets merged

https://github.com/JetBrains/intellij-scala/pull/674

Superseded by #3989


10875h版本  可以写入正常写入三码，但亮度没有变化，还是非常低

No suitable signature - Security Violation

最新版本 2020.10.23

更新到15.7版本 可以写入正常写入三码，但亮度没有变化，还是非常低

更新到15.7版本 可以写入正常写入三码，但亮度没有变化，还是非常低
你要描述你的操作步骤，好帮你判断。
我是全新安装的15.7，预先已经弄好了三码，然后执行安装后，再把EFI文件夹复制进去分区，没有出现亮度的问题

我的机器是 10875 2020版本

使用EFI进入系统，此时亮度低
GenSMBIOS生成三码,ProperTree写入三码
重启发现三码已经成功注入， 此时亮度还是低

I use open core config from this repo. For me helped to replace SSDT-PNLF.aml from this repo to files from Brightness_CFL.zip. Also note that brightness value is low by default and need to be increased in settings

@EugeneSnikhovskiy
What is the configuration of your y9000x?

@carsonlius I have model with i7-10750h + fullHD screen. But as I know SSDT-PNLF.aml is for older processors than 9 gen. For cofee lake and more new gen we need to use SSDT-PNLFCFL.aml. Where CFL name postfix is Cofee lake

@EugeneSnikhovskiy
how to set ?
I use open core config from this repo and my screen is fullHD. For me helped to replace SSDT-PNLF.aml from this repo to files from Brightness_CFL.zip. Also note that brightness value is low by default and need to be increased in settings

@carsonlius

You need to add SSDT-PNLFCFL.aml file to efi/oc/acpi folder
Then open config.plist file from efi/oc folder with open core configurator
Navigate to ACPI tab
Find line with SSDT-PNLF.aml and remove enabled checkbox
Add new line with SSDT-PNLFCFL.aml (click on plus icon and fill path as SSDT-PNLFCFL.aml and comment as SSDT-PNLFCFL and turn on enabled checkbox)
Save config (file => save)

@EugeneSnikhovskiy
It works!
thanks a  lot

@carsonlius great to hear it :)
But there are one more bug.
For now if you want to use second display with "usb-c to hdmi" adapter it will work. But when you when you turn on notebook with plugged in hdmi - you will see black internal screen and worked external. If you go to sleep mode and than wake up - all screens will works. Or you can eject hdmi before turn on notebook and plug in after system load. And all displays will work correctly.
With old SSDT-PNLF.aml this bug is not exist, but brightness is broken. Unfortunately I don't know how to fix it. If you also need second monitor and you find solution, please let me know.

@EugeneSnikhovskiy
if i find a solution，i will tell you


Munster Technological University domain: mtu.ie

New Domain for Munster Technological University. Merging of CIT and ITTralee colleges. Old domains still active. MTU.ie is new  (as of September 2021) domain for Lecturers and Researchers and will eventually replace cit.ie and ittralee.ie at some point in the future. Website for merged college: www.mtu.ie. Old websites: www.cit.ie and www.ittralee.ie

@conchubharoluasa Pull request merged. Thank you!


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/OPS-E2E-PPE/docs-archive-test

Docs Build status updates of commit 8e55e67:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Archive_master_2019-09-26-02-50-48 has been deleted or has been force pushed: fatal: Couldn't find remote ref Archive_master_2019-09-26-02-50-48

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


module not working on 0.8.7

fvtt 0.8.7
module 0.1.2
no other modules enabled.
The option to choose pronouns is not shown in the player menu when it is enabled in the module.
There seems to be an error thrown when the renderPlayList is hooked:
VM22912:8 TypeError: Cannot read property 'id' of undefined
    at renderPlayerList (player-pronouns.js:174)
    at Function._call (eval at <anonymous> (libWrapper-error_listeners.js:56), <anonymous>:4:14)
    at Function.call (foundry.js:179)
    at PlayerList._render (foundry.js:2097)

Thanks, will quickly see if I can get it fixed

@dirusulixes Fix has been released as 0.1.3. Please let me know if you are still getting that error on the console. I wasn't able to replicate it, but I added a defensive check to it.
The player config menu now shows the pronouns again.


feat: support dat files with more than one rom per entry.

This solution adds all roms to the list. It's not ideal if all someone is after is a distinct complete collection, but better than not being able to process certain data files.

Hi, it's been a while since I worked on this project.
Yes, the current situation with multiple roms is junky. I remember I did it to exit error to be on the safe side and not let any false positives, etc. 😅
I wish I had written some unit tests. Your code looks fine. Thanks for the contrib.
So in the case a user does BUILD , engine encounters multiple roms, then for each file in the entry it would try to create the same filename e.g. game.zip but it checks that file exists and would skip or overwrite depending on flag.
This is ok,, but I think that the user should be notified that such thing occurred, else they are going to think that their newly built romset is fine (but some files are missing!)
Perhaps a warning message and skip building the multiple roms entries would be safer.
Also, are there many no-intro romsets with multiple roms out there? I am only aware of the PSP/PSN where just some entries just have lots of files.


Rework docstring for LogHook.

This commit removes a reference to a now missing struct and replaces
it with information about how KeepLog and Loghook interact.

Thanks!


Tools with array responses not parsed

Hi @StephenHodgson ,
FYI I get an error in the code below for tools returning an array (even just a string array).
ArgumentException: Object of type 'Newtonsoft.Json.Linq.JArray' cannot be converted to type 'System.String[]'.

https://github.com/RageAgainstThePixel/com.openai.unity/blob/11ca590ac2ad81873d2e4b234a6ac92bb29f94d1/OpenAI/Packages/com.openai.unity/Runtime/Common/Function.cs#L429C17-L429C18
I added the following, which seems to fix it:
                    else if (value is JArray jarray)
                    {
                        invokeArgs[i] = jarray.ToObject(parameter.ParameterType, JsonSerializer.Create(OpenAIClient.JsonSerializationOptions));
                    }
                    else if (value is JObject json)
                    ...

@Bodekaer can you give me repro tools to test with?


shinyuieditor installation error

when I tried to install shinyuieditor using remotes::install_github("rstudio/shinyuieditor");
I got the following error message:

installing source package 'shinyuieditor' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in gregexec(text = ui_fn_names_namespaced, pattern = "(\w+)::(\w+)") :
could not find function "gregexec"
Error: unable to load R code in package 'shinyuieditor'
Execution halted

This should be the same cause as https://github.com/rstudio/shinyuieditor/issues/62. Can you make sure that your R version is 3.6+ and you have installed the latest version of the package with remotes::install_github("rstudio/shinyuieditor")?

I'm having the same issue.
RStudio Workbench 1.4.1717-3
R 3.6.3
Fresh shinyuieditor install
As per other threads on similar issue, tried remotes::install_github("rstudio/shinyuieditor@development") and remotes::install_github("rstudio/shinyuieditor@more_portable_regex") but neither found.
Error:
* installing *source* package ‘shinyuieditor’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in gregexec(text = ui_fn_names_namespaced, pattern = "(\\w+)::(\\w+)") :
  could not find function "gregexec"
Error: unable to load R code in package ‘shinyuieditor’
Execution halted
ERROR: lazy loading failed for package ‘shinyuieditor’
* removing ‘/usr/local/lib/R/site-library/shinyuieditor’
Warning message:
In i.p(...) :
  installation of package ‘/tmp/Rtmp822PI9/file13b2054de29498/shinyuieditor_0.1.0.tar.gz’ had non-zero exit status

I upgraded to R 4.2.1. No change.
I upgraded RStudio Workbench to the latest and this is what resolved the issue for me (after reinstalling 'R6' as prompted)

Interesting! The gregexec issue should have gone away with the latest version because I no longer use the function.
@lleeyyaann , are you still having this install issue?

Hi Nick: i am currently on vacation, will test once i am back. Thx.
Yan
On Fri, Aug 12, 2022 at 10:38 AM Nick Strayer @.***>
wrote:

Interesting! The gregexec issue should have gone away with the latest
version because I no longer use the function.
@lleeyyaann https://github.com/lleeyyaann , are you still having this
install issue?
—
Reply to this email directly, view it on GitHub
https://github.com/rstudio/shinyuieditor/issues/68#issuecomment-1213357945,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUYASAEP72VQGQ5B2XERWQTVY2D3DANCNFSM55UF4DWQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

In my case, Windows, the installer thinks both gridlayout and shinyuieditor are "in use." They are NOT loaded during R startup.  Manually deleting their respective directories in the file explorer solves the problem.
* installing *source* package 'shinyuieditor' ...
ERROR: cannot remove earlier installation, is it in use?

Hi Nick: i checked my system, consistent with Mark, i am using R 3.6.3,
fresh shinyuieditor installation. I changed to R4.0.3, still have the same
issue.
Thx.
On Fri, Aug 12, 2022 at 4:18 PM Art Steinmetz @.***>
wrote:

In my case, Windows, the installer thinks both gridlayout and
shinyuieditor are "in use." They are NOT loaded during R startup. Manually
deleting their respective directories in the file explorer solves the
problem.

installing source package 'shinyuieditor' ...
ERROR: cannot remove earlier installation, is it in use?

—
Reply to this email directly, view it on GitHub
https://github.com/rstudio/shinyuieditor/issues/68#issuecomment-1213481499,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUYASACTC4MBV7C7XC3YIVLVY2WQHANCNFSM55UF4DWQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hmm - are you both installing with remotes::install_github('rstudio/shinyuieditor')?
I wonder if this is due to the version of the package not incrementing after the change as its in dev. Normally the commit being the same is all that's checked for changes but maybe it's different on windows.

I did use that install string on Ubuntu 20.4 LTS. As stated, it was the
upgrade of both RWorkbench and R, plus reinstalling all apps in the
shared library  that fixed it for me.
Worth trying would be reinstalling all apps after upgrading R only, I
didn't try it in that order
On Tue, 16 Aug 2022, 3:24 am Nick Strayer, @.***> wrote:

Hmm - are you both installing with
remotes::install_github('rstudio/shinyuieditor')?
I wonder if this is due to the version of the package not incrementing
after the change as its in dev. Normally the commit being the same is all
that's checked for changes but maybe it's different on windows.
—
Reply to this email directly, view it on GitHub
https://github.com/rstudio/shinyuieditor/issues/68#issuecomment-1215149581,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWAC3ZY6JMTCE6EGOYF4453VZJOKJANCNFSM55UF4DWQ
.
You are receiving this because you commented.Message ID:
@.***>

Running into this issue as well

I believe this is where the issues stems from: ui_fn_info.R

I was able to fix this issue here: https://github.com/rstudio/shinyuieditor/issues/68

Nice!! Thanks for the update. 🙌

Nick: works for me now, thanks!!!!
On Thu, Sep 1, 2022 at 11:07 AM Matt Dancho @.***>
wrote:

Nice!! Thanks for the update. 🙌
—
Reply to this email directly, view it on GitHub
https://github.com/rstudio/shinyuieditor/issues/68#issuecomment-1234412907,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUYASADY47TIIIVRZEILT3DV4DBETANCNFSM55UF4DWQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


PLACES_API_ACCESS_NOT_CONFIGURED

I'm trying out the PlaceComplete example.
Getting - Error getting autocomplete prediction API call: Status{statusCode=PLACES_API_ACCESS_NOT_CONFIGURED, resolution=null}
What might cause this?
Thank you!

I am facing same problem.

checkout solution --> http://stackoverflow.com/questions/30434238/place-picker-automatically-close-after-launch

Cool..Thanks.

how to connect places api

I have recently implemented in one of my projects. Exatly where your logging.For any query you can contact me<EMAIL_ADDRESS>

Error contacting API: Status{statusCode=PLACES_API_INVALID_APP,resolution=null}
This Error is coming only Two phones , can anybody help me how to resolved this error, otherPhone is Going gud

mnjkm,

Enable the Google Places API for Android in developers console and check on the credentials page that your key is still present.
it worked for me

I Enable the Google Places API for Android in developers console, and i can see that the calls are coming through on the graph with HTTP Status of 200, so they are successful, but the modal still automatically closes...

I am facing the same issue here... Everything is configured as required in google docs.
"com.google.android.gms.ui E/Places: Place Picker closing due to PLACES_API_ACCESS_NOT_CONFIGURED"

I am facing the same issue PLACES api access not configured.Anyone can have the answer ?

@bilawalsharif @rafaelmaia8384 I was using react-native-google-places when i was facing that issue. I tried everything and searched for days but didn't find any answer or solution that worked... So I gave up and switched to react-native-places-autocomplete and that seems to be working fine.
If you're using react native, then perhaps you might wanna try that.

Thnx Dear,
I am using Android nkt react.I just switch gmail account to new account and
generate new API key not its working fine.
On Thu, Mar 7, 2019, 3:54 PM Abraham Itule<EMAIL_ADDRESS>wrote:

@bilawalsharif https://github.com/bilawalsharif @rafaelmaia8384
https://github.com/rafaelmaia8384 I was using react-native-google-places
https://github.com/tolu360/react-native-google-places when i was facing
that issue. I tried everything and searched for days but didn't find any
answer or solution that worked... So I gave up and switched to
react-native-places-autocomplete
https://github.com/FaridSafi/react-native-google-places-autocomplete
and that seems to be working fine.
If you're using react native, then perhaps you might wanna try that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/googlesamples/android-play-places/issues/29#issuecomment-470480677,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZnwTQoJn8yEirbkCnQXcx7OBYNvVfJtks5vUO_zgaJpZM4GzMLl
.

places_api_access_not_configured error is not solve any idea plz share
in react-native android app

You just re-create API key from any other gmail account it will work.
On Tue, Mar 12, 2019 at 4:52 AM codal-mpawar<EMAIL_ADDRESS>wrote:

places_api_access_not_configured error is not solve any idea plz share
in react-native android app
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/googlesamples/android-play-places/issues/29#issuecomment-471969147,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZnwTY2V41-oPAluLf1G6VTCwk6UGOryks5vV5UIgaJpZM4GzMLl
.

I am using Android Studio 3.3.2. I have an Google Maps SDK API for Android then I enable the Google Places API Android in developers console and I have just re-create new API key (Google Places API) from my other gmail account.I tried both 2 API key for my project. I can see map is work but when I'm trying out the PlaceComplete that the calls are coming through on the graph with HTTP Status of 200, so they are successful, but the modal still automatically closes...and has got an error "Status{statusCode=PLACES_API_ACCESS_NOT_CONFIGURED, resolution=null}"
I used 2 way: PlaceAutocompleteFragment with PlaceSelectionListener and used laceAutocomplete.IntentBuilder also facing same issue.

i have the same issue any one please help

https://developers.google.com/places/android-sdk/start
use this
implementation 'com.google.android.libraries.places:places:1.0.0'

anyone has resolved then please ping me i am also facing the same issue and got stuck.

I am facing the same issue. Please help me out

1: Check and enable the Google Places API for Android in developers console
2. In build.grandle add: implementation 'com.google.android.libraries.places:places:1.0.0'
3. In AndroidManifesst.xml add:      <meta-data             android:name="com.google.android.geo.API_KEY"             android:value="YOUR API KEY" />
3.In Activity java file must code:  if (!Places.isInitialized()) {             Places.initialize(getApplicationContext(), "YOUR API KEY"");         }

i have same issue plis help me for fixing it

AndroidManifesst.xml add
    <uses-permission android:name="android.permission.INTERNET" />  <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />  <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <application ......     <meta-data          android:name="com.google.android.geo.API_KEY" android:value="YOUR API KEY" />  </application>

build.grandle add:
implementation 'com.google.android.libraries.places:places:1.0.0'

my java code: PlaceGoogleMapActivity
`import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.OnMapReadyCallback;
import com.google.android.gms.maps.SupportMapFragment;
import com.google.android.libraries.places.api.Places;
import com.google.android.libraries.places.api.model.Place;
import com.google.android.libraries.places.widget.Autocomplete;
import com.google.android.libraries.places.widget.AutocompleteActivity;
import com.google.android.libraries.places.widget.model.AutocompleteActivityMode;

public class MainActivity extends FragmentActivity implements OnMapReadyCallback {
private GoogleMap mMap;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    if (!Places.isInitialized()) {
        Places.initialize(getApplicationContext(), "YOUR API KEY");
    }
    TextView txtPlace = (TextView) findViewById(R.id.txt_place);
    //Call AutocompleteFragment use intent
    txtPlace .setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            CallAutocompleteFragment(1);
        }
    });
}

@Override
public void onMapReady(GoogleMap googleMap) {
    // do something
       mMap = googleMap;
        LatLng fixedLocation = new LatLng(21.007142,<PHONE_NUMBER>);
        mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(fixedLocation, 15));
    }

private void CallAutocompleteFragment(int AUTOCOMPLETE_REQUEST_CODE) {

    List<Place.Field> fields = Arrays.asList(Place.Field.ID, Place.Field.NAME, Place.Field.LAT_LNG, Place.Field.ADDRESS);
    Intent intent = new Autocomplete.IntentBuilder(AutocompleteActivityMode.FULLSCREEN, fields).setCountry("VN").build(this);
     startActivityForResult(intent, AUTOCOMPLETE_REQUEST_CODE);
}

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (requestCode == 1) {
        if (resultCode == RESULT_OK) {
            Place place = Autocomplete.getPlaceFromIntent(data);
            origin_id  = place.getId();
            origin_add = place.getAddress();
            origin_name= place.getName();
            txtPlace .setText(place.getName());
            LatLng location = place.getLatLng();
            if (location != null) {
                createMarker(location);
            } else {
                Toast.makeText(this, "location is null",Toast.LENGTH_SHORT).show();
            }
        } else if (resultCode == AutocompleteActivity.RESULT_ERROR) {
            // TODO: Handle the error.
            Status status = Autocomplete.getStatusFromIntent(data);
            Log.i("TAG", status.getStatusMessage());
        } else if (resultCode == RESULT_CANCELED) {
            // The user canceled the operation.
        }
  }

private void createMarker(LatLng latLng){
    if (mMap == null) {
        return;
    }
    MarkerOptions mOptions = new MarkerOptions().position(latLng);
    mOptions.icon(BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.HUE_RED));
    mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(latLng, 15));
    mMap.addMarker(mOptions);
}

}
If you use:      <fragment         android:id="@+id/place_autocomplete_fragment"         android:name="com.google.android.gms.location.places.ui.PlaceAutocompleteFragment"         android:layout_width="match_parent"         android:layout_height="wrap_content"         /> in layout  you can code: public class MainActivity extends FragmentActivity  implements OnMapReadyCallback, PlaceSelectionListener {
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    if (!Places.isInitialized()) {
        Places.initialize(getApplicationContext(), "YOUR API KEY");
    }

    PlaceAutocompleteFragment autocompleteFragment =
            (PlaceAutocompleteFragment) getFragmentManager().findFragmentById(
                    R.id.place_autocomplete_fragment);
    autocompleteFragment.setOnPlaceSelectedListener(this);
}
// Callback when Map allready
@Override
public void onMapReady(GoogleMap googleMap) {
    // do something
}
// Callback when you click to item
@Override
public void onPlaceSelected(Place place) {
    // remove old marker when add new marker
    if (marker != null) marker.remove();
    LatLng myLatLng = place.getLatLng();
    marker = googleMap.addMarker(
            new MarkerOptions().position(myLatLng).title(String.valueOf(place.getName())));
    googleMap.animateCamera(CameraUpdateFactory.newLatLng(myLatLng));
}
@Override
public void onError(Status status) {
    // do something
}

}
`

@ @mandadimuralidharreddy @karansoni725 @mandadimuralidharreddy @umesh0492 @karansoni725

you may use old account or make new account for maps
On Sat, Jun 1, 2019 at 12:44 AM Raju Shingadiya<EMAIL_ADDRESS>wrote:

@ @mandadimuralidharreddy https://github.com/mandadimuralidharreddy
@karansoni725 https://github.com/karansoni725 @mandadimuralidharreddy
https://github.com/mandadimuralidharreddy @umesh0492
https://github.com/umesh0492 @karansoni725
https://github.com/karansoni725
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/googlesamples/android-play-places/issues/29?email_source=notifications&email_token=AGM7ATKJI3YUL5MXJPU5CMLPYISGDA5CNFSM4BWMYLS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWW3DFY#issuecomment-497922455,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGM7ATMNG7V5DMY7TOZSKWTPYISGDANCNFSM4BWMYLSQ
.

This sample has been deprecated/archived (check README for more information on newer samples related to this technology).
As recommended by GitHub, we are closing all issues and pull requests.


Fix main.js globals

Set updateActiveColor() to use internal references with this in main.js

should be fixed by feature/display-prefs branch


Does not propagate changes to the repository input

I just saw an issue where the imageDigest didn't change after an image was uploaded to a recreated repository (this is pulumi destroy & pulumi up). The pulumi stack contained no references to the old ECR registry except in the image's imageDigest output. Weirdly enough, the name contained the right URL.

Fixed for real in v0.1.3. I was able to repro this with the sample program in https://github.com/benesch/pulumi-docker-buildkit/tree/master/examples/aws-python, and verified that v0.1.3 always correctly chooses the RepoDigest from the correct repo.


Vm cleanup

Here is a small pr to make the cpp code cleaner. I made a macro FACTOR_FOR_EACH to make iteration nicer. I also added some functions to io.cpp so that if you run factor -i=/tmp it doesn't crash.

Updated the pr. The FACTOR_FOR_EACH is fixed so now end() is only called once. I also changed the raw_fread/safe_fread combo back to returning a size_t. It returns 0 on error.

Looks pretty good to me, @erg?

Looks good.
On Thu, Jun 4, 2015 at 11:05 PM, John Benediktsson<EMAIL_ADDRESS>
wrote:

Looks pretty good to me, @erg https://github.com/erg?
—
Reply to this email directly or view it on GitHub
https://github.com/slavapestov/factor/pull/1334#issuecomment-109172366.

Merged, thanks!!


Tumblr Embedded/Inline Photos Are Not Ripped

Is this supposed to happen? #143 I've seen this problem mentioned here as well. My only suggestion is to prevent inline/ebedded images smaller than 50x50 to be ripped from tumblr.
As well, is there a custom rule that can be set up so audio posts are scraped too?

#143 I've seen this problem mentioned here as well. My only suggestion is to prevent inline/ebedded images smaller than 50x50 to be ripped from tumblr.

Can you provide examples? And justification for why this is important?

http://axiomaticglacier.tumblr.com/ for example, a lot of images are inlined. Generally blogs that have text between images presented vertically are inlining the images. As in #143 you mention a concern it would pull useless/common images like emoticons or avatars, I suggest specficially larger than 100x100 or 50x50 to prevent that.
Audio posts I'm asking about for completion's sake since videos get ripped. The format is always mp3 from what I've seen.

Why does it still say examples needed? A direct link to a page here: http://axiomaticglacier.tumblr.com/post/129250707721


Use original logrus

Use sirupsen/logrus instead of Vend fork
Why?
Originally, the logrus fork has been created because of this issue: https://github.com/Sirupsen/logrus/issues/377.
But a fix has been merged since some time.
After having a lot of dependencies issues in another library (see https://github.com/vend/db/pull/32), we thought about removing vend/logrus little by little. I'm starting with this repo because it's often because of it that we have this a dependency to vend/logrus.
Concerning this PR

While updating the dependency, I have also updated the go version to the last one.
The tests are not working without the flag -gcflags=-l which disable inlining. This is because we are checking the order of the stack trace (see difference between first and second commit of this PR).

I detected that because the tests where always passing with the debugger (dlv test -- -test.v) and never with go test.
Here are the stack trace packages in the function calcSkipStackFrames which removes stack frames related to log:
# WITH -gcflags=-l
github.com/vend/logrus-bugsnag (*bugsnagHook).Fire
github.com/vend/logrus-bugsnag/vendor/github.com/sirupsen/logrus LevelHooks.Fire
github.com/vend/logrus-bugsnag/vendor/github.com/sirupsen/logrus (*Entry).fireHooks
github.com/vend/logrus-bugsnag/vendor/github.com/sirupsen/logrus Entry.log
github.com/vend/logrus-bugsnag/vendor/github.com/sirupsen/logrus (*Entry).Log
github.com/vend/logrus-bugsnag/vendor/github.com/sirupsen/logrus (*Entry).Error
github.com/vend/logrus-bugsnag TestNoticeReceived
testing tRunner # first package without 'logrus-bugsnag', previous one is the top

# WITHOUT -gcflags=-l
github.com/vend/logrus-bugsnag (*bugsnagHook).Fire
github.com/vend/logrus-bugsnag/vendor/github.com/sirupsen/logrus LevelHooks.Fire
github.com/vend/logrus-bugsnag/vendor/github.com/sirupsen/logrus (*Entry).fireHooks
github.com/vend/logrus-bugsnag/vendor/github.com/sirupsen/logrus Entry.log
github.com/vend/logrus-bugsnag/vendor/github.com/sirupsen/logrus (*Entry).Log
github.com/vend/logrus-bugsnag TestNoticeReceived
github.com/vend/logrus-bugsnag/vendor/github.com/sirupsen/logrus (*Entry).Error
testing tRunner # first package without 'logrus-bugsnag', previous one is the top

So we could either:

remove the tests about the stack frame which are not very relevant if they depend on the compiler optimisations,

consider that the test is important because it allows to test the calcSkipStackFrames function.

But because bugsnag is going to be removed progressively, I don't think that future tests are going to be added here. So I just choose the easiest method and added the flags in travis...

FYI Cardinal is using this branch of vend/log which uses a branch of vend/logrus that had a current (at the time) merge of master from sirupson/logrus. It's been doing it for quite some time now, which makes me confident in our ability to get on mainline logrus 🤙
https://github.com/vend/log/pull/31


[UI] Source update not working for several source types

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
While testing https://github.com/epinio/ui/issues/171 on latest epinio-dev, I noticed update source was not working for images, files, folders, git url. It seemed to work only for github and gitlab.
The button was unreachable and it threw several TypeError cannot read properties of undefined:

Expected Behavior
It should work and error should not appear
Steps To Reproduce
No response
Environment
- OS:
- Architecture:
- Epinio Version:
- Cluster:
  - Provider:
  - Options:
  - Kubernetes Version:

Logs
No response
Anything else?
No response

This issue seems fixed in latest epinio-dev.
Closing issue


Fix build errors on AVX2+ hosts with -march=native.

third_party/eigen3/unsupported/Eigen/CXX/FixedPoint and third_party/eigen3/unsupported/Eigen/CXX/Tensor use different paths to reach into unsupported/Eigen/CXX/src/Tensor. The former's paths cause the build errors documented in #6558. This commit removes the includes from third_party/eigen3/unsupported/Eigen/CXX/FixedPoint pointing into third_party/eigen3/unsupported/Eigen/CXX/FixedPoint, because they do not appear to be necessary.
@benoitsteiner @rmlarsen The includes were added in #6323 -- do you happen to remember why they're there?
/cc @drpngx If this PR is accepted, #6723 should be closed.

Can one of the admins verify this patch?

Jenkins, test this please.

(I asked because I don't have access to all the platforms)

Jenkins, test this please.
Please ignore the estimator_test errors.

@drpngx Thank you very much!

I believe these were added prematurely. I think Benoit is looking to add fixed point matrix-matrix multiplies in the future that need thread pool support. But you can remove them in the meantime.

@tensorflow-jenkins test this, please

need merge 1e4d6f1c32be198a682518f1afce03c017c0aa11 into r1.0 branch.


[mappings] Conjure menu names not defined

Consider adding names to the  which-key menus for conjure.
With a Clojure file open, pressing  shows a which-key with conjure sub-menus.  Each menu has a text description prefix rather than a word or brief sentence describing the commands under each menu

Each command has a description, its only their parent menus that do not have a description.

Consider adding descriptive names, for example something like this (at least for the clojure client)

c connect
e evaluate
g go
l log
r refresh
s repl session
t test
v view

It seems that fnl/conjure/mapping.fnl sets the description for each command.
I could not find code that sets the names of the sub-menus or related issues.  Apologies if I've raised a duplicate issue.

Hm not sure how you add names for submenus, I guess that's another API call for which-key specifically? I only know how to set desc on each mapping, not the keys that lead up to the mapping, I suspect there is a specific thing that needs to be done to inform which-key of these intermediate keys, I don't define g as an explicit prefix for example, there just might be two commands that use g in their sequence, so you end up with an ambiguous sub-menu in which-key.
I'll take a look, thanks for raising it!

Which-key version 3 was released about a week ago and this has an add function that may make it easier to add sub-menu names
In theory it should be as simple as providing the key mapping and name text for each sub-menu

Hm I don't think I can do this 🤔 say Conjure uses the <prefix>e... prefix for some eval related things, but then another plugin also uses <prefix>ejy and then the user adds a custom one under <prefix>epo. That means I can't just say "hey, everything under <prefix>e will be to do with Conjure's eval and nothing else".
I think the which-key API is really there for people to use in dotfiles when they know what will be under a particular part of the tree, Conjure can't guarantee that though. Are there examples of other plugins that do this?
Because the only example I can think of / see in my setup (based on AstroNvim) are the menus that AstroNvim sets up with the knowledge of which plugins are loaded and under which configured mappings. So I think this is more of a user space thing and I think Conjure would be overstepping it's boundaries if it started to meddle with users which key configs.
It'll also be really difficult to do, if the user remaps some of the mappings I then need to somehow detect groups of mappings and label the appropriately. I could maybe say "I will set up which key labels of groups if you don't change any mappings", but that feels a little lacklustre.
So although I like the idea of this on the surface, I think it becomes a bit too difficult and has too many potential downsides to pull off. I think the better approach would be a wiki page that shows the which-key config you'd need to label the groups provided you left them as defaults that people could copy into their config if they wanted to. We can assume that if a user is very invested in which-key they already have a section of their dotfiles dedicated to labelling their custom mappings and groups for all of the plugins they use.
So thank you for this idea, it was interesting to explore, but I think it's just not the place to implement it.

ℹ Adding configuration under the after/ftplugin/ directory will load that configuration each time the relevant filetype is set in the current buffer.
Adding the which-key sub-menu names via a after/ftplugin/clojure.lua file only shows those menu names when a Clojure filetype is the current buffer.
Including which-key and adding the names using the group key provides the menu names in the Practicalli Astro configuration (built on AstroNvim 4).
-- Configure loaded after clojure filetype set in current buffer

local whichkey = require "which-key"

return {
  {
    "folke/which-key.nvim",
    -- Load Conjure Groups only for Clojure filetypes
    whichkey.add {
      -- Conjure sub-menus
      { "<LocalLeader>c", group = "Connect" },
      { "<LocalLeader>e", group = "Evaluate" },
      { "<LocalLeader>ec", group = "Comment" },
      { "<LocalLeader>g", group = "Go" },
      { "<LocalLeader>l", group = "Log" },
      { "<LocalLeader>r", group = "Refresh" },
      { "<LocalLeader>s", group = "Session" },
      { "<LocalLeader>t", group = "Test" },
      { "<LocalLeader>v", group = "Values" },
    },
  },
}


Describe how to use this in editors/IDEs

As soon as I figure out myself..

Just use Visual Studio Code


Searchable combo box

Finally got a properly working searchable combo box (already tried it when I did the advanced generator). These combo boxes filter their drop down contents based on text typed there. Just click on the combo box and start typing.
Added to:

Class filter in build list.
Attribute and Pseudo Attribute selection in the advanced generator tab.
Base item selection in item crafting window. Also added an "Any" base item group and type so the base item can be selected without selecting group and type first.

I want to add unique crafting next and I think unique selection would be pretty hard with a normal combo box, so this is kinda necessary.
Also, I reran the base item and gem loaders, which somewhat blows up the diff.

I've tested it a bit and found the following issues:

In Craft Window when item Group is selected (first combo box), search stops working.

This one I got on all filters. If you open a combo box list and scroll it down, filter textbox can't get focus. Instead of that, it scrolls list up on each click as an up arrow does.

On both combo boxes in the Generator tab if I start typing then hover mouse over drop down contents and continue typing, combo boxes close themselves. It occurs because of focus loss too.

P.S. As this is my first appearance on the repository, I’d like to say thank you to all participants for sharing and supporting this project and wish good luck at further development. Cheers!

Thanks for checking it out and for the nice words!

Fixed
I couldn't find a way to fix it. I don't even know what causes this behaviour, at least none of the mouse event handlers the combo box has access to.
Can't reproduce this. ("click box -> type -> hover an item -> type" works as expected)

Someone else wants to check this out? If not, I'll merge it in a few days, it's nothing major anyway.

Hey, I can get to it in a couple days. Holiday season is a bit difficult to
get to stuff.
On Dec 26, 2016 1:33 PM, "brather1ng"<EMAIL_ADDRESS>wrote:

Someone else wants to check this out? If not, I'll merge it in a few days,
it's nothing major anyway.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/EmmittJ/PoESkillTree/pull/423#issuecomment-269243183,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHIbbUtQTaKk-6K10KZEIl4iC9pNL5UVks5rMDK4gaJpZM4LKEde
.

No worries, I don't think it necessarily needs to be checked out, it's nothing big. Was only asking if someone already planned to look into it. So no problem if you don't find the time.

So, this looks awesome. They work as expected, or at least as far as I can
tell.
On Dec 27, 2016 6:41 AM, "brather1ng"<EMAIL_ADDRESS>wrote:
No worries, I don't think it necessarily needs to be checked out, it's
nothing big. Was only asking if someone already planned to look into it. So
no problem if you don't find the time.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/EmmittJ/PoESkillTree/pull/423#issuecomment-269334333,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHIbbUtzRbrPuLlETTxOsAeQJh-dXuiCks5rMSN9gaJpZM4LKEde
.

Thanks!


Typeaheads internal "wrapper" css

I've had to patch to change 'display: inline-block' to 'display:block' for my page in the css.wrapper markup. The inline-block, behaves as it is supposed to, in taking a minimal width approach to the target input element. In applications where the existing markup through bootstrap and other css is to fill the width, applying the current wrapper breaks the layout - well shortens it anyway.
Perhaps this could be surfaced as an option like the hint ?
Regards
Rob

Yep this stuff got overhauled in v0.11 and I'll be documenting it in the coming days.


bump falcosidekick dependency version

Signed-off-by: Kaizhe Huang<EMAIL_ADDRESS>
What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

If this PR will release a new chart version please make sure to also uncomment the following line:

/kind chart-release

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area falco-chart

/area falco-exporter-chart

/area falcosidekick-chart

What this PR does / why we need it:
Falcosidekick version has been updated in #261
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Checklist

[ ] Chart Version bumped
[ ] Variables are documented in the README.md
[ ] CHANGELOG.md updated

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Kaizhe
To complete the pull request process, please assign bencer after the PR has been reviewed.
You can assign the PR to them by writing /assign @bencer in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

falco/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Issif, Kaizhe
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

falco/OWNERS [Issif]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 2395814c06705c1ab18fc7efc2ab87c7d250b332


Extension issue

Issue Type: Bug
Extension Name: github
Extension Version: 0.0.1
OS Version: Windows_NT x64 10.0.19043
VS Code version: 1.68.1

:warning: We have written the needed data into your clipboard. Please paste! :warning:

⚠ We have written the needed data into your clipboard. Please paste! ⚠

/needsMoreInfo

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Docs for Kubernetes Setup

I already have a working installation of Kube Stack Prometheus (includes Prometheus, Grafana, Alertmanager, lots of exporters as one bundle).  I recently migrated my UniFi Network Application (controller) to Kubernetes and wanted a nice dashboard and found this project.  Within a few hours I was able to convert the Docker instructions to Kubernetes manifest files.
My use case, is just Unpoller running with Prometheus plugin enabled, everything else is disabled.  The only thing I had to add was a PodMonitor which makes the Unpoller exporter discoverable to Prometheus.  Hopefully the steps below help someone.
First Item is a secret which holds the Unifi ID & Password credentials (values here should be base64 encoded). These will be exposed as environment variables to the Unpoller container.
---
apiVersion: v1
kind: Secret
metadata:
  labels:
    app: unpoller
    app.kubernetes.io/instance: unpoller
    app.kubernetes.io/name: unpoller
  name: unpoller-secrettype: Opaque
data:
  unifi-user: cmVkY2FjdGVk
  unifi-pass: YWxzby1yZWRjYWN0ZWQ=

Next a configMap which holds the contents of the up.conf file and will be mounted in the container in /etc/unifi-poller directory. The url is the internal Kubernetes DNS name to my Unfi Controller container.  You would need to adjust to whatever you named your container.
---
apiVersion: v1
kind: ConfigMap
metadata:
  labels:
    app: unpoller
    app.kubernetes.io/instance: unpoller
    app.kubernetes.io/name: unpoller
  name: unpoller-config-file
data:
  up.conf: |
    # See Github example page for more details.
    # https://github.com/unpoller/unpoller/blob/master/examples/up.conf.example

    [poller]
      debug = false
      quiet = false
      plugins = []

    [prometheus]
      disable = false
      http_listen = "<IP_ADDRESS>:9130"

    [influxdb]
      disable = true

    # Loki is disabled with no URL
    [loki]
      url = ""

    [datadog]
      disable = true

    [webserver]
      enable = false
      port   = 37288
      html_path     = "/usr/lib/unifi-poller/web"

    [unifi]
      dynamic = false

    [unifi.defaults]
      url =  "https://unifi-controller:8443"
      sites = ["all"]

Next is a deployment file, which links everything together.  Instructs where to mount the secret and ConfigMap, defines the image and version of the container, which port to expose, how many copies of unpoller to run, etc.  Since I'm only using the Unpoller Prometheus plugin I only defined that port and named that port metrics.
---
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: unpoller
    app.kubernetes.io/instance: unpoller
    app.kubernetes.io/name: unpoller
  name: unpoller
spec:
  replicas: 1
  selector:
    matchLabels:
      app: unpoller
      app.kubernetes.io/instance: unpoller
      app.kubernetes.io/name: unpoller
  template:
    metadata:
      labels:
        app: unpoller
        app.kubernetes.io/instance: unpoller
        app.kubernetes.io/name: unpoller
    spec:
      affinity:
        podAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
          - labelSelector:
              matchExpressions:
              - key: app
                operator: In
                values:
                - unifi-controller
            topologyKey: "kubernetes.io/hostname"

      containers:
      - name: unpoller
        image: golift/unifi-poller:2.1.3
        ports:
        - name: metrics
          containerPort: 9130
          protocol: TCP
        env:
        - name: UP_UNIFI_DEFAULT_USER
          valueFrom:
            secretKeyRef:
              name: unpoller-secret
              key: unifi-user
        - name: UP_UNIFI_DEFAULT_PASS
          valueFrom:
            secretKeyRef:
              name: unpoller-secret
              key: unifi-pass
        volumeMounts:
        - mountPath: /etc/unifi-poller
          name: unpoller-config
      volumes:
      - configMap:
          name: unpoller-config-file
        name: unpoller-config

I also added a podAffinity section above instructing Kubernetes to run this container on the same node (hostname) where the Unifi Controller software is running, where ever that is, this will follow. If that is not started, then this won't start.  It is looking for a label app with value unifi-controller, if you name yours something else then adjust as needed.  By using pod affinity to keep the two applications next to each other, it keeps all the polling chatter local to reduce network traffic.
Lastly is a PodMonitor which is what Prometheus will look for.   While the unpoller deployment I placed in the unifi namespace where the Unifi Controller is also placed, I put this podmonitor in the monitoring namespace where Prometheus is located.
The installation of Prometheus I have will automatically discover any pod or service monitor with a label release: kube-stack-prometheus thus no configuration is needed.  This is not universal, if you used a different Prometheus package it likely is looking for a different label, adjust as needed if unpoller metrics are not seen within Prometheus after a few seconds.   This podmonitor will scrape data off the metrics port named in the deployment and will use URI path /metrics.
---
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
  labels:
    app: unpoller
    app.kubernetes.io/instance: unpoller
    app.kubernetes.io/name: unpoller
    name: unpoller-prometheus-podmonitor
    release: kube-stack-prometheus
  name: unpoller-prometheus-podmonitor
  namespace: monitoring
spec:
  selector:
    matchLabels:
      app.kubernetes.io/name: unpoller
  namespaceSelector:
    matchNames:
    - unifi
  podMetricsEndpoints:
  - port: metrics
    path: /metrics

FYI - As to the number and content of labels, they were auto-generated by Kustomize.  If you were to write labels manually, you probably would use more meaningful descriptions. But these work fine.
Ideally this would also have a service account defined and associated RBAC roles limiting what that service account could do.  I haven't gotten around to that yet.
Unpoller and Unifi Contoller running side by side in same namespace:
$ kubectl get pods -n unifi -o wide
NAME                               READY   STATUS    RESTARTS   AGE   IP            NODE
unifi-controller-76758cfcf-mlfct   1/1     Running   0          8d    <IP_ADDRESS>   k3s01
unpoller-5dbb8857f5-56zks          1/1     Running   0          16h   <IP_ADDRESS>    k3s01

And the pod monitoring running:
$ kubectl get podmonitor -n monitoring
NAME                             AGE
unpoller-prometheus-podmonitor   16h

And if you want to test if metrics are being pulled by Unpoller and made available easy to test, just point to the IP address assigned to the Unpoller container:
$ curl  http://<IP_ADDRESS>:9130/metrics

# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 4.7439e-05
go_gc_duration_seconds{quantile="0.25"} 6.4822e-05
go_gc_duration_seconds{quantile="0.5"} 7.5783e-05
go_gc_duration_seconds{quantile="0.75"} 0.00010628
go_gc_duration_seconds{quantile="1"} 0.000329951
go_gc_duration_seconds_sum 0.542228114
go_gc_duration_seconds_count 5420
# HELP go_goroutines Number of goroutines that currently exist.
# TYPE go_goroutines gauge
go_goroutines 12
# HELP go_info Information about the Go environment.
# TYPE go_info gauge
go_info{version="go1.16.3"} 1
# HELP go_memstats_alloc_bytes Number of bytes allocated and still in use.
# TYPE go_memstats_alloc_bytes gauge

(Hundreds of lines removed from output for brevity).
All of the dashboards documented work just fine in Grafana.
If someone has defined reasonable alerts for Alertmanager based on these metrics that would be handy.

Why not just make a helm chart instead of setting up manifests?

hey! I already made a helm chart for this. Should I do a PR so it stays upstream (your repo)? the only thing a bit "complicated" (not crazy) is the release process of the chart.
I also have integration with GrafanaOperator so it automatically imports the charts into the cluster.

Yeah feel free to make a PR!

@platinummonkey  here you have the PR: https://github.com/unpoller/unpoller/pull/708


readme quick-reply buttons documentation fix

Thank you.

Coverage remained the same at 88.478% when pulling f19743ecdc3ffe01a302c65e99d4b386e24abe35 on fr1sk:master into c225df08fe9099db3b7f7302d75baacc2c5da61f on conbus:master.

@anton-nayshtut you welcome :)


Add .card-default that sets white background-color

Add an option for users who want a plain, white background for cards, instead of inheriting the background [having a transparent background – Ed.].
See issue #18153.

Already in v4-dev: https://github.com/twbs/bootstrap/blob/v4-dev/scss/_card.scss#L9.


Add PrintfArg instances for Text (strict and lazy).

Hi,
I would like to add instances for PrintfArg, I need them and that seems quite useful to have it directly in the library.
I'm not sure if those instances should be guarded behind a conditional checking on GHC version?
Let me know what you think
Thanks in advance

Nice, thanks!


Support Sphinx-based examples

Inspired by @karlnapf https://github.com/karlnapf/shogun_manual

Fix the issue with width of containers
Put all target languages in one place rather than having them hard-coded in multiple files
Integrate meta-example generation. Rather than having the different listings in the repository explicit. Only the *.sg files should remain
Clean up directory structure in a scallable way.
Integrate in CMake process in a feature banch
Tune visuals and high-level structure of manual
Document the sphinx plugin to allow others to understand/maintain
Write README on how to put content

@karlnapf current status

30409a71019c3a5b2247f994ff8208c8804b58fa merged that into feature branch feature/sphinxdoc

Great!
Some intermediate things that I noticed:

the example files should not be named "knn.sg.py" but rather "knn.py"
The example code should not be in the sphinx folder, but rather in the global examples folder
Parsing and generating the examples should not happen within python sphinx. I would prefer if cmake would generate examples in target languages, and then sphinx just loads the files. Then we also can replace the current set of examples with the meta examples, and dont have two set of them, there will be lots of overlap otherwise. We then also work towards replacing the old API examples when we work on the documentation. Thoughts?

@sorig check it out and let us know if you have feedback. Might also be nice for your writeup

All done, just need to merge now


Refactor how configs work

Simplify use of StructureConfig classes by moving Driver config to top level.
Make it easier to configure custom Task Memory without needing Config classes.
Remove task_memory config from Config classes.

📚 Documentation preview 📚: https://griptape--765.org.readthedocs.build//765/

it would be nice if you could elaborate on the decision to remove task_memory from the config classes.

Originally they were added here to make configuring Task Memory easier. Though in reality it didn't really make it much easier and just over-complicated the Config classes. Instead, this PR makes it easier to configure Task Memory without the need of a Config class. More details on how to do this will come in https://github.com/griptape-ai/griptape/pull/757


⚠ SceneTime has degraded performance

In 3432261, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1426 ms

Resolved: SceneTime performance has improved in 9b62505 after 9 minutes.


Auto-accept on scroll or click

Hi, I really like your script and I'm using it on https://turbolab.it/ .
Could you please add a two options to accept (i.e.: auto-click on the "ok" button) when the user scrolls or he/she clicks anywhere but the "more info" link? this, AFAIK, is the current law in Italy.
Thanks!

Cookie Consent v2 doesn't currently offer this functionality. We're trying to keep it lightweight to keep loading times low.
We might add support for it in a future version, if there's enough demand for it.


GLOBALTRUST 2020 CA distrust

Mozilla recently announced that they intend to implement an "active distrust" for a trust anchor in the Mozilla root program. In this enforcement model the trust anchor isn't removed entirely, but instead only considered trusted for certificates issued before a drop-dead date:

In light of ECM’s persistent issues, we will be setting “Distrust After” dates for websites and email trust bits associated with ECM’s GLOBALTRUST 2020 root CA, effective June 30, 2024.

We'll need to think about whether we want to do anything special for this CA in this repo. We don't presently have the capability to implement a matching active distrust (see https://github.com/rustls/webpki/issues/259 for discussion of how to implement this). If we take that option off of the table what remains are:

do nothing - wait until mozilla removes the root entirely. This would be subpar in the sense that we allow an underperforming root to continue to pose a risk for longer.
remove it now - this will break certificates issued before June 30th that would otherwise continue working in Mozilla Firefox/NSS. If we want to go this route it would be prudent to try and cook up a Censys query to see how many unexpired EE certs chain to this root. I suspect it's not very many (?). We'll also need to update our codegen tooling to allow this.
remove it after June 30th + $LONGEST_ALLOWED_EE_LIFETIME - (presumably this is when mozilla will remove the root themselves, so may be equivalent to option 1)

I'm in favor of ditching it early (both before and after reading the discussion in the webpki issue).

If we want to go this route it would be prudent to try and cook up a Censys query to see how many unexpired EE certs chain to this root. I suspect it's not very many (?)

From Ctz on the other ticket:

According to https://crt.sh/cert-populations (they are listed as "e-commerce monitoring GmbH") this is 137 unexpired certificates.

I think that's waiting on NSS to land the change (phabricator PR).

The NSS change landed Friday. I pinged the CCADB folks and the distrust after date was updated this morning:
$> curl \
  --location https://ccadb-public.secure.force.com/mozilla/IncludedCACertificateReportPEMCSV 2>/dev/null | \
     csvtool namedcol "Common Name or Certificate Name,Distrust for TLS After Date" - |\
        grep -v ",$"
Common Name or Certificate Name,Distrust for TLS After Date
GLOBALTRUST 2020,2024.06.30

Opened https://github.com/rustls/webpki-roots/pull/74


GoTo Definitions for JSF beans in EL expressions in xhtml files

I'm looking into adding support for GoToDefinition for JSF bean references in xhtml files. Is that something that you would be interested in adding to this extenson?

Hello, sorry for being so distant, I took some time off. Yes, that's something I consider important. I had done some research on it, but at that time, I couldn't get it to work.