add support for tunneling SFTP connections through proxy

Customers frequently need to connect to their trading partner's SFTP server via allow-listed static IP addresses. One workaround that we frequently suggest to customers is to connect through an external proxy server that has a static address (or set of addresses).
In order to support this in bootstrap, we need to support proxy-related options in the SFTP configuration schema. At a minimum, this would be the proxy host and port, but other options may be useful as well.  Some example code for connecting via a Socks v5 proxy can be found here:
https://github.com/theophilusx/ssh2-sftp-client/issues/39#issuecomment-487092190

AWS Transfer Family supports static IP addresses, and AWS Transfer Family will soon allow polling external servers.
We (cloud) could solve this by attaching static IP addresses to our Transfer Family services and retiring the the FTP poller code.

AWS Transfer Family supports static IP addresses

There is no support for static IP addresses for Transfer Family Connectors at this time, and no ETA for when it will be added, which is why adding support for tunneling through a proxy is a proposed workaround for users that require static IPs.


underscores in connection string "Host" field are being replaced by hyphens in subsequent DNS request

Description
Hi, I'm trying to connect to a snowflake DB and the connection fails with the following error:
JDBC driver encountered communication error. Message: Exception encountered for HTTP request: No such host is known (example-name-eu.eu-central-1.privatelink.snowflakecomputing.com).
No such host is known (example-name-eu.eu-central-1.privatelink.snowflakecomputing.com)
No such host is known (example-name-eu.eu-central-1.privatelink.snowflakecomputing.com)
However, the string as entered and displayed in the Host field is:
example_name_eu.eu-central-1.privatelink.snowflakecomputing.com
I have other connection strings in use that are working with an underscore in the host record.  I checked the DNS logs and the hyphenated request is what is being sent from my machine causing a NXDOMAIN and a connection failure.
Originally this happened on community version 7.3.2, I upgraded to 23.3.1 and the behavior persists.  I emptied my AppData content for both versions, but it's still replacing the underscores with hyphens.  Any help would be appreciated.
DBeaver Version
Community Edition 23.3.1
Operating System
Windows 11 Enterprise
Database and driver
Snowflake JDBC 3.14.4
Steps to reproduce

I create a new connection string
I enter the host value example_name.eu-central-1.privatelink.snowflakecomputing.com
I configure the Warehouse, Role, credentials, externalauth for SSO
I hit the test connection button
I am returned an error that DBeaver can not connect to "example-name.eu-central-1.privatelink.snowflakecomputing.com"

Additional context
I have other snowflake connection strings in other regions that have underscores in the hostname.  The only difference I see is that some of these newer connection strings have multiple underscores in them... i.e.
dev_account_eu.eu-central-1.privatelink.snowflakecomputing.com - Doesn't work
dev_account.us-east-1.privatelink.snowflakecomputing.com - Works

Hello @ivzcoleman
I did some digging and found this: https://docs.snowflake.com/en/developer-guide/jdbc/jdbc-parameters#allowunderscoresinhost
So, you need to add a new driver parameter in your connections settings:
allowUnderscoresInHost=true

It worked for me.

that worked for me as well, thank you!

Thanks for the update.
I'm closing the issue then.


How to trace graphql request by using TelemetryHttpClient() ?

I want to trace http request.
I'm using graphql client, so I want to know how to trace it.
https://pub.dev/packages/graphql_flutter

Sorry, I don't know anything about GraphQL and consider it outside the scope of this library. However, I would assume it has the ability to provide a custom Client. You're probably best checking with the GraphQL community.


Banner's Style.

OLD:

NEW:

Maybe I should merge some of these changes into molo-core.

The less stuff outside of molo-core the better.

@hodgestar I made changes template-base.css which, as I understand it, is copied from molo's core into projects.

👍


Add a column for the state of the issue (some could be closed)

Ensure that we sort the issues by the state before adding them to the report.
/cc @lmazuel @mitchdenny

Deploying now.


add starter pack for better cli

now it shows all commands and can show the current version of FFBT
fix #1

I'll rewrite CLI totally soon


SMS Messages Not Received

Has anyone successfully sent an SMS from the DevKit and received it on a phone?
My phone carrier is ATT, and the following:
modem sms send 0 NUMBER "hello world!"

does not work for NUMBER being any form of NNNNNNNNNN, 1NNNNNNNNNN, +1NNNNNNNNNN.  I'm familiar with carrier filtering so it could be that, but was curious as to whether something else is preventing the receipt.

Unfortunately, peer to peer messaging is disabled by default on the plan and not adjustable at this time. I am unsure of any support channel to reach out to for this issue.


Bug: Incorrect order of calling the basic OnEnter and OnExit implementations for pages (occurs after checking for event activity, not before)

Fixed by d437db8 commit

Fixed by d437db8 commit


user.Manager: fix ACL write, read order

This should fix read-only access to topic * being applied before read-write access to topic _PREFIX_* Before this if we have:
ntfy access user "mytopic*" rw
ntfy access user "*" ro

read-only access rule was applied first and user couldn't write to mytopic*
See #914

This PR still does not solve the following case
ntfy access user "mytopic*" rw
ntfy access user "mytopic_read_only*" ro
ntfy access user "*" ro

The user will still be able to write into mytopic_read_onlyXXX
Maybe query should be something like that
selectTopicPermsQuery = `
  SELECT read, write
  FROM user_access a
  JOIN user u ON u.id = a.user_id
  WHERE (u.user = ? OR u.user = ?) AND ? LIKE a.topic ESCAPE '\'
  ORDER BY u.user DESC, LENGTH(a.topic) DESC, a.write DESC
`

For each user, we should test in order THE_LONGEST_RULE->WRITE_PERMISSION

Can you add a bunch of unit tests to check these cases? I don't want to just yolo merge this.

I don't know how fast the SQLIte.LENGTH  function is, maybe it's reasonable to create a topic_length field in access table.

I would like to apologize for not addressing this earlier. I am looking at your solution now, and I'm trying to understand the root cause. Thank you for the tests and all the work. It is much appreciated!!


I think hyper-search should be included with the program itself

It's one of those features that really should be a given in any program, and while I'm glad the plugin exists, I can't think of a reason someone wouldn't want to install it

I don't have it installed and it's easy to install if you want it. What's the benefit of including it?

Related to #3075?

it is now


feat: perform md5 integrity checks

A small download test seemed to show no significant adverse performance impact from this computation.
One important ease-of-use consideration is how to process strings that are ingested. Do we require strict binary input to CloudFiles or can we assume strings are utf8? If strings are not utf8 a simple remedy for the end user is to encode their strings to binary before sending it into CF. However, python27 is more tricky as strings and bytes are the same so not as easily detected. We could simply disable this check for py27 or drop support.
Should we allow disabling the md5 checks? If a problem with them develops it might make it easier for users to work around those problems.

The problem motivating this PR is that sometimes in cloudvolume when using fill_missing, erroneous black tiles appear. This is most likely caused by a server returning a success (200) response with a missing body. An md5 check could help if the metadata is not corrupted at the same time as the data. In most object storage systems, metadata is stored separately from data, so there is a chance we might detect some kinds of failures.

Skip md5 checks for range reads and composite downloads.
I haven't figured out how to detect composite downloads for s3.

Experiment with a composite object:
with only download_as_string:
blob.component_count
>>> None
blob.md5_hash
>>> None
blob.etag
>>> None

With get_blob:
blob.component_count
>>> 3
blob.etag
>>> CNP9to3NlOsCEAE=
from cloudfiles.lib import md5
md5(content)
>>> gD660sBzjs3iiz7frBjubw==

The etag is something that's not an md5 for composite objects.


[TEVA-2403] Fix invalid copy link

Jira ticket
https://dfedigital.atlassian.net/browse/TEVA-2403
Changes in this PR

Use the correct path instead of the incorrect path

Review app deployed to https://teaching-vacancies-review-pr-3339.london.cloudapps.digital


Ed25519 accepting invalid signatures

According to this blog post, the OpenSSL Ed25519 implementation is accepting signatures that aren't valid.
The explanation given is:

These implementations use the unbatched verification equation, and do not check that A is canonically encoded. However, because they recompute R’, encode it to Rprime_bytes, and check that R_bytes = Rprime_bytes, they do check that
R is canonically encoded, but only by accident. The visualization reflects this in the fact that there are no valid signatures in the lower 6 rows corresponding to non-canonical encodings of R.

I am not entirely sure this is a defect: we are compliant with the original ref10 implementation, as many other libraries, that predates the changes in specs done successively to accommodate the use cases (mostly related to crypto currencies) that brought stricter requirements for the consensus problem and the changed threat model.
OpenSSL is not well suited for those applications, as it does not support batch verification, so my expectation is that it does not really affect our users or potential users.
The blog suggests "backward compatible" criteria, but it is a bit misleading as to adhere to that we would start rejecting some corner cases that we currently treat as valid, which would be a change in behavior and it's not entirely clear what are the gains for the set of use cases possible in OpenSSL.
That being said, it's not like having the same behavior everywhere would be a negative thing, but changing this behavior should be a concerted effort, across most implementations and regulators, which should start by cleaning up the mess of active specs that use different criteria, leave implementors the choice between incompatible behaviors, and in general using the same name "Ed25519" for things that behave slightly differently depending on the catered use case.
Unfortunately the blog solution of adding yet another spec, specific to the project, doesn't seem to go toward a concerted solution!
Other projects listed in the blog seems to be either forking a special-purpose subproject to cater to the consensus use cases, or in general avoiding the problem of being interoperable with other projects (or even with other versions of the same project).
TL;DR: fixing this without coordination with other major implementations and without gathering enough momentum among regulators and users to actually address the root of the problem (i.e., the mess of incompatible specs), there is little to gain and an uncomfortable risk level into "fixing" this in OpenSSL in isolation.

@t-j-h the problem is that it's not just 2 options!
As the blog post highlights there is a number of items that each require a choice of being strict or "forgiving" (and again the forgiving version is not just "for compatibility" but was the one intentionally argued for in the original design of the algorithm).
If there was a unified vision on what should be the "strict" standard, then yes, we could have a solution like the one you suggest, where we have the option between a "compatibility" variant and a "strict" variant, and decide which one is default and which one is opt-in in 1.1.1 and 3.0, but we need to reach that point in coordination with the other players otherwise this just becomes a mess were we need to have "compat0", "compat1", "compat2", etc. options (and no standardized naming to let informed people decide among them!)....

This context indicates to me that we should have an option for handling this one way or the other way and what you are arguing about is what the default value of that option should be - which is separate from being able to support both approaches.

Interestingly for some reason I see @t-j-h comment after the @romen 's reaction to it. Some spacetime continuum error? :grin:

It seems no such momentum was ever, or is likely to be generated to change this
Marking as inactive, to be closed at the end of the 3.4 dev cycle, barring further input


Generic KQL Module

A generic module that accepts KQL query + entities as an input executes the query against Log analytics or M365 advanced Hunt API and returns result count and result count per entity.
Will include some placeholder syntax that will be replaced at runtime by the module.  For example if you put {UPN} into the module call it will be replaced by the module at runtime with the data from the enriched entities.

@piaudonn thoughts?

Like a wrapper for KQL? Interresting.
I like the idea. that would be interresting to have examples of situations when to use it. Maybe when custom tables are involved? Or scenario with Defender tables? If the scenarios are already known, then we can have an "actual" module for it.
But anyways, I am in :) I don't find current ways to query LA or Defender table super ergonomic today.

Exactly if the scenarios are common enough we'll just build it into a module but for more custom stuff then we have this KQL module.   That will still make things easier but allow for custom logic to be easily incorporated into our framework

@piaudonn if you get a chance take a look at https://github.com/briandelmsft/SentinelAutomationModules/tree/kql_module/Modules/KQLModule
There's instructions on how to use the entity data to build your query in the readme... so far only the Sentinel query is setup so don't try to M365.  I wanted to get some thoughts from you on how it works before I added that to it.


feat : load pdf

load pdf query

added the load pdf changes to lark parser and executor statements files.
remaining part is to add the LoadPDFExecutor in the load_executor.py where we will be adding the logic to extract the text items from pdf and store in table

I assume this is WIP, as the PDF executor is missing. Also, you can consider adding a test case to load PDF. Thanks!

From the below image we can see that the pdf is been added to the eva and it has been throwing error at the executor because as of now we haven’t provided any executor. The PDFexecutor is in progress and will be developed soon

Hello Team,
I had push the latest changes , with a notebook at tutorials/load_pdf_test.ipynb from which we can test it for now till the test cases are written

Hello Team ,
added the test case to location integration_tests/test_load__pdf_executor/LoadExecutorTest/test_load_pdfs :
where in the test case provided the assert statement of checking the number of columns from the table and the number of pdf loaded in the table

Command Query LOAD PDF "path_pdf" from table_name;

Hello Team,
@jarulraj  @gaurav274
update the changes to load pdf query with pdf table schema in page level and add the corresponding test case related to it.
Could you please review my PR, as all the changes have been integrated

Hello Team ,
added the fix for getting the pdf data based on paragraph and added the corresponding test case related to it.

subsumed in #769


[Feature Request] Exposing Filters with Custom Names

Hello!
Currently, in our project, I'm exploring the possibility of exposing filters with names different from the original model's field names.
Let's say, we have a model defined as follows:
class MyModel(BaseModel):
    id: Mapped[int]
    external_username: Mapped[str]

We can create a filter like this:
class MyFilter(Filter):
    external_username__ilike: Optional[str] = None

This allows us to use the filter endpoint as https://example.com/?external_username__ilike=test. However, there are cases where we would prefer to expose the filter with a different, more user-friendly name, such as username__ilike.
I haven't found any existing mechanism in the documentation or source code to achieve this. Having the ability to expose filters with custom names would be highly beneficial for our project.
While a workaround could involve renaming fields in the model using aliases for the real database column names, this approach has limitations. It requires extensive changes throughout the codebase and doesn't support defining multiple filters with different field names for use in various parts of the application.
Thank you for your help!

I managed to get it to work by doing:
from fastapi import Query

class MyFilter(Filter):
    external_username__ilike: Optional[str] = Query(default=None, alias="username__ilike")

@mcleantom I did a quick test and the Query doesn't seem to do anything except changing the name in swagger (if you set username__ilike, nothing is filtered...). I think I have a way to do it though, stay tuned for a PR.

Hi! Any news on this?


Can we generate/retrieve the token programatically?

Can we generate/retrieve the token programatically, may be by creating an discord app and using
https://discord.com/developers/docs/topics/oauth2
Or
https://discordjs.guide/oauth2/#a-quick-example
Thanks

I stopped paying for my MidJourney account, so I cannot proceed with any development for now.
If you'd like to offer me a month of MidJourney, I can integrate a new OAuth and update the project. Alternatively, you could allow me to use an existing account. Up until now, I had borrowed my wife's account to build the library.

Sure. Let me know how I can offer that. Can I send by Paypal or sponsor here? I am ok to pay $30 Standard Plan. Please let me know. Thanks


ToLocaleDateString () method returns an incorrect date for a leap-year

https://deck.net/91ab38f1dc624a7a331bfd346e1b04ff
and work well with regular year https://deck.net/63a2239628a40f1d1d7c753e026a1c0b

Your samples appear to return the correct result for me. I get the following results with the two samples:
https://deck.net/91ab38f1dc624a7a331bfd346e1b04ff
2/2/1991
3/3/1991``

https://deck.net/63a2239628a40f1d1d7c753e026a1c0b

```02/02/1991
2/2/1991
3/3/1992

What are the expected results?

The ToLocaleDateString Method should not be available on a DateTime object, only a JavaScript Date object. We're going to have to fix that.

Got this on Win10 machine with settings: RU locale/region/culture, GMT+4.
And have some strange with Date on same machine.

Hm... Edge on badWin10 machine works fine...

 The problem was in time zones and the change of time for summer / winter (although it is described everywhere, but in our region it is not applied, however it is included in the time zone), thanks for attention. https://en.wikipedia.org/wiki/Samara_Time

Closing this issue as ToLocaleDateString is not a member of the DateTime object.


Garmin Connect respiration sensor errors

The problem

Garmin Connect errors out on various respiration values for me, see logs below. I don't have anything referencing these values in my config.
config $ grep -ri respiration /config/.storage /config/*yaml
config $

Environment

Home Assistant release with the issue: 0.105.2
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Integration causing this issue:
Link to integration documentation on our website:

Problem-relevant configuration.yaml

Traceback/Error logs

2020-02-09 20:16:00 ERROR (MainThread) [homeassistant.components.sensor] garmin_connect: Error on device update!
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 304, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/garmin_connect/sensor.py", line 173, in async_update
    self._state = data[self._type]
KeyError: 'latestRespirationTimeGMT'
2020-02-09 20:16:00 ERROR (MainThread) [homeassistant.components.sensor] garmin_connect: Error on device update!
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 304, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/garmin_connect/sensor.py", line 173, in async_update
    self._state = data[self._type]
KeyError: 'highestRespirationValue'
2020-02-09 20:16:00 ERROR (MainThread) [homeassistant.components.sensor] garmin_connect: Error on device update!
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 304, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/garmin_connect/sensor.py", line 173, in async_update
    self._state = data[self._type]
KeyError: 'lowestRespirationValue'
2020-02-09 20:16:00 ERROR (MainThread) [homeassistant.components.sensor] garmin_connect: Error on device update!
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 304, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/garmin_connect/sensor.py", line 173, in async_update
    self._state = data[self._type]
KeyError: 'latestRespirationValue'

Additional information

This is fixed in the dev branch, I guess will be in 0.105.3 or later.
Can't you find the respiration entities under integrations Garmin Connect?
Then disable them there in the meantime.

There are no enabled or disabled entities with the word respiration in their name or entity id below the garmin connect integration.

At least the KeyErrors should be catched in dev, will have a look why the code still seem to want to update them, it may be a bug.

@scop
I cannot reproduce it, if I disable all respiration type sensors,
So this returns nothing in Jinja template sandbox:
{% for state in states.sensor -%}
{% if 'Respiration' in state.name %}
{{ state.name }} = {{state.state_with_unit}}
{% endif %}
{%- endfor %}

They aren't updated, the sensor update routine is returned before the json with missing fields is parsed.

sensor.async_setup_entry calls async_add_entities with update_before_add argument set to True -- maybe that causes an update to fire on the first add and i.e. enabled is set to False for it only afterwards and thus prevents only future updates. I seem to see these errors only once on startup.
Wouldn't it make sense to mark entities whose data is not available as unavailable instead of/in addition to just catching and logging the exceptions?
Might also be cleaner to gracefully check for the availability and Noneness of wanted data first instead of repeatedly checking for truthy and handling exceptions. Will submit a PR to illustrate.


[WIP] Implement Bool.rtruediv()

Implemented rtruediv

@SrishtiSengupta
Hmm, this seems to include all the commits in #209 as well, not just those that are Bool related, as per the PR title.
If this PR is just meant to implement rtruediv, could you just have a2d9614 on this branch? Otherwise, if it's meant to include other Bool methods (I see you have truediv implemented), could you just get all those commits onto this branch?
If you need some guidance on doing that, it would be easier to ping someone on Slack or Gitter than to do it here :)

This is looking good! A couple of comments, but it's pretty close to mergable. :)

There should be some sort of test for this new method. Adding new behavior without adding a test as well is a red flag.

@SrishtiSengupta any update on a test for this?

@goanpeca Oh dear! I completely lost track of this after my summer of code ended. I'll try to get this done over the next few weeks.

Thanks for your contribution! However, this test case is currently passing in master, so I'm going to go ahead and close this PR.


Take persistence object, add caching wrapper

Glom the persistence functions into a single object with simple method names like add, remove, and load.
Add caching.
@jwolski @jmccarthy14 @Raynos @markyen

addresses literally all of my comments on last diff, you're phenom


Release 1.0.0

First package release! :partying_face: :partying_face:
We are glad to announce our first release version 1.0.0.
With this version you will be able to generate your own RELEASE-NOTES.md and share it with your users to give them a deep insight of what's in your latest release :rocket: !!
Configuration
We support .yml and .json formats with these options

Options
Default
Description

token
GITHUB_TOKEN
Authorization token. This will allow rng to access your repo!

repo
GITHUB_REPOSITORY
Repository name with user/repo format

out
'.'
Base path where RELEASE-NOTES will be generated

name
RELEASE-NOTES
Output file name

labels
[ 'release-note' ]
Only PRs with these labels will be used in generation process

split
false
If true one file will be generated per iteration, and will be stored under a release_notes folder in out directory

publish
false
If true the output file will be commited to repo

message
chore: update RELEASE-NOTES
Commit message

branch
main
Branch where output will be uploaded

title
RELEASE NOTES
Title used in output markdown

decoration
Decoration object
Icon decoration for each issue type

CLI
:computer: You can use RNG in command-line with rng!
// rng --help

Comandos:
  bin.js generate  Generates Release Note markdown                  [alias: gen]
  bin.js publish   Pubish Release Note in your repo                 [alias: pub]

Opciones:
  --version  Muestra número de versión                                [booleano]
  --help     Muestra ayuda                                            [booleano]

There are two available commands generate and publish.
Generate
// rng generate --help

Generates Release Note markdown

Opciones:
      --version        Muestra número de versión                      [booleano]
      --help           Muestra ayuda                                  [booleano]
  -c, --configuration  Configuration file path            [cadena de caracteres]
  -o, --output, --out  Output path                        [cadena de caracteres]
  -n, --name           Output file name                   [cadena de caracteres]
  -a, --auth           Manual creadentials input                      [booleano]
  -r, --repo           Repo in format user/repo           [cadena de caracteres]
  -m, --message        Commit message                     [cadena de caracteres]
  -p, --publish        Publish output to your repo                    [booleano]
  -v, --verbose        Makes the script verbose                       [booleano]
  -i, --interactive    Executes interactive version of the script     [booleano]

Publish
// rng publish --help

Pubish Release Note in your repo

Opciones:
      --version        Muestra número de versión                      [booleano]
      --help           Muestra ayuda                                  [booleano]
  -c, --configuration  Configuration file path            [cadena de caracteres]
  -a, --auth           Manual creadentials input                      [booleano]
  -r, --repo           Repo in format user/repo           [cadena de caracteres]
  -m, --message        Commit message                     [cadena de caracteres]
  -p, --publish        Publish output to your repo                    [booleano]
  -v, --verbose        Makes the script verbose                       [booleano]
  -i, --interactive    Executes interactive version of the script     [booleano]

For more info take a look at our DOCS

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

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


ÄÖÜ german umlauts wrong sorting

Example:
Multiple query objects are ordered by name asc
Current sorting implementation

Arzt
Arbeit
Bus
Zeit
Ärzte

Correct sorting

Ärzte
Arzt
Arbeit
Bus
Zeit

According to Wikipedia, the german umlauts can be interpreted for sorting like this:

Ä = Ae
Ö = Oe
Ü = Ue
a = ae
ö = oe
ü = ue

It should be noted that speakers of various languages will have a different preference.
Finland and sweden use WXYZÅÄÖ, so umlauts are placed at the end of the alphabet.


clustermesh: add support for max-connected-clusters

The flag 'max-connected-clusters' is a cilium-agent option that allows the user to extend the number of clusters that can be connected in a Clustermesh. This changes the maximum ClusterID that can be used, and thus cilium-cli will now validate according to the agent's configuration.
Additionally, all clusters in a Clustermesh must be configured with the same 'max-connected-clusters', and this is now validated on connection.
Associated PR introducing max-connected-clusters  option: https://github.com/cilium/cilium/pull/27520

thanks @derailed !
@jrajahalme I forgot to link the associated cilium/cilium PR: https://github.com/cilium/cilium/pull/27520
TLDR: the 8-bit field can be configured to 9-bit via the new flag. This cilium-cli PR is to support configuring this flag and allow validation for clustermesh connect for clusters using a non-default configuration.

converting this and the associated Cilium PR back into a draft for now until https://github.com/cilium/cilium/pull/27823 is merged. I don't anticipate any changes to the flag itself, but will hold for now

putting this back into review alongside https://github.com/cilium/cilium/pull/27520

@thorn3r needs a rebase, buddy :-(


App erroneously gives the all-clear

Avoid duplicates

[X] Bug is not mentioned in the FAQ
[X] Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[X] Bug is not already reported in another issue

Describe the bug
App gives all-clear with a pop-up notification ("low risk"!) way too early ("9 days since last encounter") and in contrast to in-app information ("increased risk"). (for details, see ## Additional context)
Expected behaviour
Either no pop-up and the risk information counting up towards 14 days before the risk level decreases again.
Or a different (lower) risk level after the pop-up message (and then, perhaps, some clarification about the numbers; why an increased risk encounter supposedly 9 days ago was not important any longer)
Steps to reproduce the issue
No, idea, sorry. I did not think about bug reporting when I received the message.
Technical details

Mobile device: Motorola G7 Power
Android version: 10

Possible Fix
(see ## Expected behaviour)
Additional context
I received a push message notifying me of an increased risk warning (my first one) Saturday morning. After opening the app, I noticed it was due to 1 exposure 8 days earlier ("8 days since the last encounter"). The next day, I checked the app and was welcomed with a popup message telling me that it had been 14 days or more since my last risk exposure (high risk? I do not recall the exact wording). The app informed me that the risk was low again. Unless I had symptoms, then I should go see a doctor. In the app, however, the risk state has not changed (still red and increased).

Internal Tracking ID: EXPOSUREAPP-3900

Hello @J-0e ,
Thanks for the bug report. We have added your report to our internal Jira (ticket ID: EXPOSUREAPP-3900) and forwarded your information to the developers. The behaviour is now investigated. We will report back on Github in this issue, once we have more information.
Regards,
CH

Corona-Warn-App Open Source Team

For documentation purposes: This issue relates to https://github.com/corona-warn-app/cwa-app-android/issues/1582
Regards,
DS

Corona-Warn-App Open Source Team

I got the same message today, see screenshot. At first, the warning message behind the prompt was green (presumably low risk) and changed to red while the prompt was active.
Concerning reproduction: when I closed the prompt, the app was busy with the daily update.

We aware of this error because the ENF of Google returns for a short time an empty result this will be fixed in the v.1.8 in the beginning of december

Hey @J-0e , this should be fixed in the latest update to CWA version 1.9. Please notify us, if you see this kind of message again. Thanks.
CH

Corona-Warn-App Open Source Team


Fix Windows OS compatibility with concurrent access to temp files

Description: to avoid permission denied during concurrent access to temp files (Windows OS), I replaced NamedTemporaryFile with TemporaryDirectory.
Issue: N/A
Dependencies: None
Tag maintainer: 🤷♀
Twitter handle: henginator

Hi, thanks for your comment, i answered your remark


Committing files generated by beforeBump task

beforeBump runs a build script in my library which generates 3 files.  However, the 3 files are not being added to my commit.  Is this expected behavior?
This is my config:
release: {
            options: {
                file: 'bower.json',
                additionalFiles: ['package.json'],
                beforeBump: ['build'],
                npm: false,
                npmtag: false
            }
}

hmmm... looks like this was intentional?
    function add(){
      var files = config.files.join(' ');
      grunt.log.ok('files:' + files);
      return run('git add ' + files, ' staged ' + files);
    }

Any reason we wouldn't want to do a git add . --all?
Should there be an addAll config option?

:+1: There no point to change your files before Release or bump if you are not commiting it.

+1

Or maybe alter the "add" command syntax to allow a list of files to be added... it would be even more intuitive. What's the point of the current "add" command? To add to the repository the package-lock or the changelog if they never existed before? How often does it happen?

I have a similar case where my build script needs to change some files. These files need to be committed also.


API support?

Does gogs have an API? I would like to be able to do things like

Create a release
Create/list/close issues
Comment on issues

The reason for this is: When i do updates to a website and sync from beta to live, I do a file-modified comparison and overwrite those files, It would be handy if at that time, I could also tick what issues are fixed in this sync, as that would allow me to create a release and close the issues too (automagically).
I realize this is quite a specific case - but it may also have benefits for other people to be able to do things with the API.

When it is the same like GitHub. You can add the issue number in to the commit message. So the commit should be linked with the issue.
git commit -m "#2100 comment"

Thanks for the speedy reply - sure, I do this now
But i have written an integration script which compares my beta and live files, i would like to extend it to automatically close issues that i select - and create a new release of that code for the release tab

There is an basic API (https://github.com/gogits/gogs/tree/develop/routers/api/v1) and there is also currently a pr pending (#2039) to add more features.

Thanks your feedback!
And @fanningert @hhenkel , but I think this is basically duplicated to https://github.com/gogits/gogs/issues/1692 , please follow on that one.


Let rec annotations on the result type: scoping is busted

(*--build-config
    options:--admit_fsi FStar.Set --verify_module Test;
    other-files:ext.fst set.fsi heap.fst st.fst all.fst
--*)
module Test
type t : int -> Type
let rec f (x:int) : t x =  //the x in the annotation is out of scope (mistakenly)
  admit()

there's a workaround, which is to use a val declaration instead.

Working in the latest master


Update README.md

just a small update for Linux users
in windows \ is used for path
also i did include a Linux path too

Thanks! :)


Term frequency - exponential decay

This is my throw at trying to implement the speedup as suggested in #959 .
One question: in term_frequency.get_match_count, I decided to replace es.scroll by es.search, as - for as far as I understood the code - there were  never more than 5'000 documents fetched and I'm not sure scroll speeds up retrieval in that case, especially since we only need ids and no source data. OR was this solved with scroll in order to allow complete data analysis here?
I solved the estimation with sklearn's auc function (which estimates the Area under the Curve using the trapezoidal rule), not sure how crude the estimate from this is. Alternatively, one could fit a curve along the points and then sum all y coordinates along this estimated curve, as suggested - with the potential problem that the fitting algorithm may not always converge.

Almost forgot:

The manual page should be updated accordingly, as well as the warning text about sampling in the barchart and history components.
Since this introduces a more sophisticated method of sampling, the actual sample size can probably go down. But you can also leave that for a later change if you want to compare results first.

One question: in term_frequency.get_match_count, I decided to replace es.scroll by es.search, as - for as far as I understood the code - there were never more than 5'000 documents fetched and I'm not sure scroll speeds up retrieval in that case, especially since we only need ids and no source data. OR was this solved with scroll in order to allow complete data analysis here?

I think it was changed to scroll at a time when the term frequency graph analysed all the data. Indeed, as long as the document limit is less than 10.000, you can also use search.

Correction on this: the full data download uses the same function, and that is why es.scroll is used.
There should be a unit tests on the large mock corpus that will fail based on this change (provided you have an elasticsearch server) - if not, could you add one?

After a fair amount of experimentation & bugfixes, I realized that the estimates are way off. This is because there is not actual an exponential decay in the number of matches per document - rather, the number of matches tend to fluctuate between [1, 3] in most cases for a typical corpus, nor will documents appear ordered from many too few matches. This is because relevance does a TF-IDF weighting, so longer documents will be penalized and may appear much lower in the ranked list. In consequence, the earlier approach - taking a certain number of documents as sample and assume all other documents to contain the search term at least once - probably comes much closer to the true number.
Query "people" in parliament-canada, sampling approach:

Query "people" in parliament-canada, estimate approach:

Will open a new PR which just adds some improvements to the current (sample based) implementation:

we should make sure there is no sort part in the queryModel (i.e., we want to sort by relevance, not by date, which is the default for the parliament corpora)
make sure we don't request the whole shebang of data in the search query, but only document ids
decrease sample size


Display current visible layers status

Signed-off-by: Junqiu Lei<EMAIL_ADDRESS>Description
Display current visible layer information on the layer control panel.

When the layer zoom range in current zoom level, its layer icon will be colorful, else it will be text color.
When the layer zoom range is out of current zoom level, move mouse to layer name, the tooltip will show it's out of zoom range.

Demo
https://user-images.githubusercontent.com/90288540/211118787-b7532b72-ebd9-4cb5-a9f1-079fa69631a7.mov
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Should we make the Layer text name also Bold for active layers?

Should we make the Layer text name also Bold for active layers?

I tried to make active layers name bold, but looks not much consistent in the list. In order to be easier to distinguish by the icon. I changed the inactive layer icon color to be totally greyed.
Only grey out inactive layer icon:

Grey out inactive layer icon and bold active layer name:

Can we also update the show/hide "eye" icon to properly display visible/invisible current status?

Can we also update the show/hide "eye" icon to properly display visible/invisible current status?

Hi @kgcreative , the "eye" icon button was designed to control layer visible status to maplibre for this layer. If we also update the eye icon status based on whether layer range is in current zoom level or not, it might make the eye icon status changed wired.


Use "play-circle" icon in preroll

Use
https://lucide.dev/icons/play-circle
instead of

@LukasKalbertodt, is this for you to look into or UPV?

I think ideally it should be fixed in https://github.com/polimediaupv/paella-skins so the UPV would need to be involved for sure.

https://github.com/polimediaupv/paella-skins/issues/5


sap.sap_operations collection content

Closing this PR for the following reasons:

PR is a copy/paste without any integration

to existing Ansible Collection sap_libs for low-level Ansible Modules
to existing Ansible Roles within this Ansible Collection
it is not acceptable to "dump" code and other community members are expected to test/integrate

PR has no description of contents
PR has no waiver of GPL License from the rogue duplicate named sap_operations Ansible Collection. All code within SLL-OSI is Apache to facilitate business re-use, with a code-to-product strategy using standardised Community First approach; e.g. upstream > midstream (e.g. fork repo in 'redhat-sap' for productisation amendments) > downstream
PR review comments provided on same day as PR, were never addressed
PR has been waiting over a year for the above activities and there is clear lack of community spirit / unwillingness to collaborate


Projectiles can pass through ship blocks

projectiles can pass through ship blocks and deal damage to entities behind.

Having same issue.

Old issue, closed. This should be fixed already.


The Resource Group view doesn't auto refresh after executing "Sign in to Azure..."

Environment: VSCode.dev
Regression: Not a regression
Repro Steps:

Install the Resource Group extension.
Navigate to Resource Group view -> Click "Sign in to Azure..." -> Select an account.
Check whether the subscriptions show in the Resource Group view.

Expect:
The subscriptions show in the Resource Group view.
Actual:
The Resource Group view doesn't auto refresh.
More Info:
This issue also reproduces after executing "Sign Out/Select Subscription" command.

This should be fixed by #606.


Update teams-store-validation-guidelines.md

Acrolinx Scorecards
We do not currently enforce a minimum score for content merged to the default branch. This will change in the future.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/deploy-and-publish/appsource/prepare/teams-store-validation-guidelines.md
87
74
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit b14d754:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/deploy-and-publish/appsource/prepare/teams-store-validation-guidelines.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Specify a different field to select relations into

Is your feature request related to a problem? Please describe.
I'd like to have type consistency on fields corresponding to foreign keys.  Currently I can sometimes expect an object with just its primary key filled, or an object corresponding to the related object, depending on if I have selected the related model.  This can make it difficult to reason about the data in downstream functions.
Describe the solution you'd like
I'd like to be able to define virtual ForeignKey relationships on directly related columns.  For example, defining:
chart_id: int = ormar.Integer(nullable=False)
chart: Optional[Chart] = ormar.ForeignKey(Chart, name='chart_id', virtual=True)
would create a foreign key constraint on chart_id, and define a new field for the related object called 'chart'.
Then, when querying the model, if I were to call Model.objects.select_related('chart').get_or_none(), I'd expect to have both 'chart_id' and 'chart' available to me.

That can be simply achieved with name of the FK and property
import asyncio
from typing import Optional

import databases
import ormar
import sqlalchemy

database = databases.Database("sqlite:///db.sqlite")
metadata = sqlalchemy.MetaData()

config = ormar.OrmarConfig(
        database=database,
        metadata=metadata,
    )

class Chart(ormar.Model):
    ormar_config = config.copy()

    id: int = ormar.Integer(primary_key=True)
    name: str = ormar.String(max_length=200)

class Dashboard(ormar.Model):
    ormar_config = config.copy()

    id: int = ormar.Integer(primary_key=True)
    name: str = ormar.String(max_length=200)
    chart: Optional[Chart] = ormar.ForeignKey(Chart, name="chart_id")

    @property
    def chart_id(self):
        return self.chart.pk

config.engine = sqlalchemy.create_engine(config.database.url._url)
config.metadata.create_all(config.engine)

async def check():
    chart = await Chart.objects.create(name="chart 1")
    dash = await Dashboard.objects.create(name="dash1", chart=chart)
    assert dash.chart.name == "chart 1"
    assert dash.chart_id == chart.pk

asyncio.run(check())

config.metadata.drop_all(config.engine)

Related model will be loaded into chart, in db it will be chart_id and chart_id is a property on model too.


Bin Sort [Python]

There is no implementation of bin sort in Python.
Description - https://en.wikipedia.org/wiki/Bucket_sort

Do you want to work on this? @sirfoga

yeah .. i'm already coding some of it


Release notes - missing  versions (9.5.0 and more current)

release notes do not contain any input since 9.4.0
https://flywaydb.org/documentation/learnmore/releaseNotes
however they are present at
https://documentation.red-gate.com/fd/release-notes-for-flyway-engine-179732572.html
even flyway cli stdout points to flywaydb.org where that particular version is not present
Upgrade to Flyway 9.7.0: https://rd.gt/2X0gakb

The links should now point to documentation.red-gate.com - flywaydb.org has been deprecated so version numbers on that site won't be kept up to date


client.login(token); error

I'm not sure at all why this is happening. The other day, the code was working fine. I checked to see if my bot's token key changed (which it did and I did replace) but the error persists. I also remade a token and nothing changed.
I added a .catch() to it and it seems that the discord server isn't liking me. The node.js error is "Bad request."
I looked through what the catch error sent me and I found this:
error:
      { Error: cannot POST /api/auth/login (400)
          at Response.toError (C:\ndjs\Discord\node_modules\superagent\lib\node\response.js:106:13)
          at Response.setStatusProperties (C:\ndjs\Discord\node_modules\superagent\lib\node\response.js:183:12)
          at new Response (C:\ndjs\Discord\node_modules\superagent\lib\node\response.js:42:8)
          at IncomingMessage.<anonymous> (C:\ndjs\Discord\node_modules\superagent\lib\node\index.js:918:22)
          at emitNone (events.js:91:20)
          at IncomingMessage.emit (events.js:185:7)
          at endReadableNT (_stream_readable.js:974:12)
          at _combinedTickCallback (internal/process/next_tick.js:74:11)
          at process._tickCallback (internal/process/next_tick.js:98:9)
        status: 400,
        text: '{"email": ["Not a well formed email address."], "password": ["This field is required."]}',
        method: 'POST',
        path: '/api/auth/login' }

And here's the code that calls the thing.  Or is this not my fault? Help is greatly appreciated.
EDIT: Pretty sure I'm using 7.0.0. Just ran npm install --save again. Nothing changed.

Of course. I just checked the lastest version and it's 10.0.1. Not sure were I got 7.0.0 from. Wow. Gg. Of course login won't accept the token.


Can the IIndex generics be swapped?

I commented on your blog post but appreciate this is the correct place to post such a question.
Can the T / TKey be swapped? From using Dictionary's, most .Net developers are likely to assume TKey first.

This is solved with the merged PR, isn't it?

Absolutely. I tend to let owner close (I completely forget). :laughing:

:+1:


about the definition of semantic entropy

"Sorry to disturb,  I am a little confused about  the code for computing semantic entropy did not include a probability mass?"
source code:
entropy = - torch.sum(aggregated_log_likelihoods, dim=0) / torch.tensor(aggregated_log_likelihoods.shape[0])
Thanks!

Hi Wangyifei0047,
Thanks for your question. I am happy to discuss.
I am not sure if I fully understand your question. But let me kick start the discussion. We implemented the semantic entropy according to Equation.4 in this work: semantic entropy.
That being said, we did include the probability mass, named as aggregated_log_likelihoods. These are probability masses for individual semantic clusters.
Does this make sense to you? Feel free to post further discussions or questions.


[revolution-theme] favorites page

Issues related to the theme will go his repository
https://github.com/you-space/revolution/issues


feat: add Workflows API methods

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

Project coverage is 52.38%. Comparing base (fe77385) to head (c67db91).

Files
Patch %
Lines

crowdin/model/workflows.go
0.00%
7 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #46      +/-   ##
==========================================
+ Coverage   51.90%   52.38%   +0.49%
==========================================
  Files          58       60       +2
  Lines        2721     2755      +34
==========================================
+ Hits         1412     1443      +31
- Misses       1239     1244       +5
+ Partials       70       68       -2

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


OpenVPN Server Client Settings cannot be deactivated and saved

After activating of VPN -> OpenVPN -> Servers  [Client Settings]
Option: DNS Default Domain
Option: DNS Servers
and after enter somesettings it´s not possible to
a) clear the fields
b) deactivate the settings
After saving these changes the old values / checked options are retained.
A change of the field content is saved normally.
Version: OPNsense 21.1-amd64

I see the same problem in 21.1.3. Which additional information can I provide to help debug this?

The problem is that the text fields for DNS Default Domain, DNS Servers, NTP Servers and perhaps others are not cleared when the option box is unticked. This causes the !empty checks for the options in src/www/vpn_openvpn_server.php and src/www/vpn_openvpn_csc.php to return true and the entries are written into the server config.
Workaround:
Clear the domain name / DNS server / NTP server text fields before unchecking the box, then the config gets written correctly.


Commiting large transaction results in ConnectionLoss

Expected Behavior
Committing a large transaction should succeed, or at least provide a descriptive error (max size?)
Actual Behavior
Committing a large transaction fails with a kazoo.exceptions.ConnectionLoss:
  File "/var/home/joshua/Projects/pvc/api-daemon/pvcapid/helper.py", line 151, in restore_cluster
    results = zk_transaction.commit()
  File "/usr/lib/python3/dist-packages/kazoo/client.py", line 1563, in commit
    return self.commit_async().get()
  File "/usr/lib/python3/dist-packages/kazoo/handlers/utils.py", line 79, in get
    raise self._exception
kazoo.exceptions.ConnectionLoss

Snippet to Reproduce the Problem
Consider an example Python dict (loaded from JSON) like the following:
mydict = {
    "key1": "Some quite long string",
    "key2": "Some quite long string",
    [etc.]
}

Such that the total number of keys is >=~3200 and the JSON representation of this on-disk is >928935 bytes but <=932093 bytes - I was tweaking this in fairly coarse steps using 3 layers of keys, but the counts are accurate.
Now, we craft the following code:
zk_conn = kazoo.client.KazooClient(hosts='localhost')
zk_conn.start()
transaction = zk_conn.transaction()
for key in mydict:
    print(key)
    data = mydict[key]
    transaction.create(key, str(data).encode('utf8'))
print('committing')
transaction.commit()

With 3237 identical keys, each containing 254 characters of text, totaling 928935 bytes in JSON representation, the commit succeeds:
/key2/child93/subchild7
3235
/key2/child93/subchild8
3236
/key2/child93/subchild9
3237
committing

With 3248 identical keys, each containing the same text, totaling 932093 bytes in JSON, the commit fails with the timeout:
/key2/child94/subchild7
3246
/key2/child94/subchild8
3247
/key2/child94/subchild9
3248
committing
Connection dropped: socket connection broken
Transition to CONNECTING
[2020-11-24 02:07:24,845] ERROR in app: Exception on /api/v1/restore [POST]
Traceback (most recent call last):
[...]
  File "/usr/lib/python3/dist-packages/kazoo/client.py", line 1563, in commit
    return self.commit_async().get()
  File "/usr/lib/python3/dist-packages/kazoo/handlers/utils.py", line 79, in get
    raise self._exception
kazoo.exceptions.ConnectionLoss

My original test which triggered this was a significantly larger dataset, about 5.2MB of JSON representation. My example was able to hit the limit with far less.
I suspect we're hitting some sort of single-transaction limit in the client side, given that nothing appears in the server Debug log, but cannot be certain. If this is a hard limit, I didn't see it in the documentation, and if not it seems like a bug.
Logs with logging in DEBUG mode
No logs are present on the Zookeeper server side when this fails; the ConnectionLoss seems to indicate the connection never proceeds properly.
Specifications

Kazoo version: 2.5.0-1 via Debian Buster packages
Result of pip list command: N/A
Zookeeper version: 3.4.13-2 via Debian Buster packages
Zookeeper configuration: basic test with single instance, no clustering, no authentication
Python version: 3.7.3
OS: Debian GNU/Linux 10.x "Buster"

I did some more digging and it seems like I'm hitting a Zookeeper limit, rather than anything wrong in the code here. The final commit data is just over 1,000,000 bytes with by bad example, and just under with my good example, which makes me suspect this is a limit imposed by Zookeeper, and not a bug in Kazoo. Keeping this open until I know for certain so I can document this for future reference.

Hello,
May this be related to jute.maxBuffer param for Zookeeper, which would be, server-side, 4MB in your version?
I guess this issue may help.

Good find, thanks! It seems like whatever limit I'm hitting, it's at a request_size of just over 1024*1024 (bytes I presume), so I'm wondering if this got defaulted to 1MB somehow in the Debian package build. I'll try experimenting with this option. Worst case, since it seems like this only happens (at least with my sample set) for create transaction tasks and not set_data tasks, I can also work around it there, but I prefer the whole thing to be atomic.
For reference, before anyone thinks I'm too crazy, the purpose here is to backup and restore a Zookeeper-using program's data. The restore is where the trouble here lies, since I'm trying to take the whole backup and restore it in a single atomic action. I don' think I necessarily have to do this, and could do the writes one-at-a-time if needed, but I like the idea of it being transactional a little more.

It does seem like setting that worked. Double-checking the docs the default was actually 0xfffff, or 10241024, so it matched up exactly. Increasing it to 161024*1024 (0xffffff) seems to have done the trick. Weird that it considers this a single znode, despite me creating many znodes, but I'm not going to question it too deeply. Thanks!

The reason why is zookeeper stores in the znode both it's data AND it's
metadata (type, owner, permissions and list of child znodes).
I think this accounts for the difference from 1MB you were seeing.
Cheers
On Tue, Nov 24, 2020, 11:06 Joshua M. Boniface<EMAIL_ADDRESS>wrote:

Closed #630 https://github.com/python-zk/kazoo/issues/630.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/python-zk/kazoo/issues/630#event-4033913090, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIFTHVWOZRXHEDGNEGUW7LSRPRYZANCNFSM4UAPWH4A
.

@ceache Interesting, I've never hit the issue when creating the znodes in the first place - it was only this specific situation where I was restoring what is effectively a large set of keys (and all their children) in a single shot. Referencing the context, a whole cluster restore: creating each individual entry, even a few children deep, never seemed to cause an issue, just this big restore, and only when creating them as new znodes. Could the limit have been on the / root znode, and just never hit because I was adding children slowly rather than all at once?


[hotkey] not possible to create hotkey for [mod, +]

Trying to implement zoom behaviour in a app, and want to use standard keybindings:
CMD + 0 -- zoom to 100%
CMD + - -- zoom out
CMD + + -- zoom in

I cannot create one for zooming in because of the lack of "+".

Seconded, the absence of some chars is frustrating. For me it's the '?' char I cannot bind to.


[stable/sonarqube] sonarproperties cannot contain json needed for auth.oicd plugin

Describe the bug
After sonarproperties was changed to a map, I cannot configure my OICD plugin via the helm chart.
The configmap used to be able to contain json, but cannot anymore:
Version of Helm and Kubernetes:
$ helm version
Client: &version.Version{SemVer:"v2.13.1", GitCommit:"618447cbf203d147601b4b9bd7f8c37a5d39fbb4", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.13.1", GitCommit:"618447cbf203d147601b4b9bd7f8c37a5d39fbb4", GitTreeState:"clean"}

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.3", GitCommit:"5e53fd6bc17c0dec8434817e69b04a25d8ae0ff0", GitTreeState:"clean", BuildDate:"2019-06-07T09:55:27Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"12+", GitVersion:"v1.12.6-eks-d69f1b", GitCommit:"d69f1bf3669bf00b7f4a758e978e0e7a1e3a68f7", GitTreeState:"clean", BuildDate:"2019-02-28T20:26:10Z", GoVersion:"go1.10.8", Compiler:"gc", Platform:"linux/amd64"}

Which chart:
stable/sonarqube
What happened:
With the following values in my helmchart:
sonarProperties: |
   sonar.auth.oidc.providerConfiguration: { "issuer": "https://idp.domain.com",     "authorization_endpoint": "https://idp.domain.com/auth",     "token_endpoint": "https://idp.domain.com/token",     "jwks_uri": "https://idp.domain.com/keys",     "response_types_supported": [       "code"     ],     "subject_types_supported": [       "public"     ],     "id_token_signing_alg_values_supported": [       "RS256"     ],     "scopes_supported": [       "openid",       "email",       "groups",       "profile",       "offline_access"     ],     "token_endpoint_auth_methods_supported": [       "client_secret_basic"     ],     "claims_supported": [       "aud",       "email",       "email_verified",       "exp",       "iat",       "iss",       "locale",       "name",       "sub"     ] }

The configmap now contains:
Notice the map[] golang types being serialized.
  sonar.properties: |
    ... snip
      sonar.auth.oidc.providerConfiguration=map[response_types_supported:[code] scopes_supported:[openid email groups profile offline_access] token_endpoint:https://idp.domain.com/token token_endpoint_auth_methods_supported:[client_secret_basic] authorization_endpoint:https://idp.domain.com/auth claims_supported:[aud email email_verified exp iat iss locale name sub] id_token_signing_alg_values_supported:[RS256] jwks_uri:https://idp.domain.com/keys issuer:https://idp.domain.com subject_types_supported:[public]]
... snip

What you expected to happen:
The config map should look like this.
   sonar.properties: |
        .... snip
       sonar.auth.oidc.providerConfiguration: { "issuer": "https://idp.domain.com",     "authorization_endpoint": "https://idp.domain.com/auth",     "token_endpoint": "https://idp.domain.com/token",     "jwks_uri": "https://idp.domain.com/keys",     "response_types_supported": [       "code"     ],     "subject_types_supported": [       "public"     ],     "id_token_signing_alg_values_supported": [       "RS256"     ],     "scopes_supported": [       "openid",       "email",       "groups",       "profile",       "offline_access"     ],     "token_endpoint_auth_methods_supported": [       "client_secret_basic"     ],     "claims_supported": [       "aud",       "email",       "email_verified",       "exp",       "iat",       "iss",       "locale",       "name",       "sub"     ] }
... snip

Anything else we need to know:
If the sonar-auth-oidc-plugin was a little bit more clever, this wouldn't be an issue. I'll also report a bug with them.

I configured this successfully by this way:
sonar.auth.oidc.providerConfiguration: '{"issuer":"https://idp.domain.com","authorization_endpoint":"https://idp.domain.com/auth","token_endpoint":"https://idp.domain.com/token","jwks_uri":"https://idp.domain.com/keys","response_types_supported":["code"],"subject_types_supported":["public"],"id_token_signing_alg_values_supported":["RS256"],"scopes_supported":["openid","email","groups","profile","offline_access"],"token_endpoint_auth_methods_supported":["client_secret_basic"],"claims_supported":["aud","email","email_verified","exp","iat","iss","locale","name","sub"]}'


fix(error handling): Improved error handling

:tada: This PR is included in version 1.5.12 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


[Discussion] Split UI entirely off of main NetSparkle project

@cjmurph has made a proposal that even more UI code be split off into their own projects. His code is here: https://github.com/cjmurph/NetSparkle/tree/seperate-ui Regardless of the outcome of this discussion, I want to thank him for the time and effort he's put into this. (I'm also sorry for the wait!)
The proposal is essentially that the UI projects respond to NetSparkle's event handlers rather than implementing a UI Factory. This cleans up the main NetSparkle project from dealing with all the intricacies of being compatible with both WinForms and WPF. However, it sort of results in a lot of duplicated ideas/code between the NetSparkleForms and NetSparkleWPF projects.
Personally, I like the idea of cleaning up the main NetSparkle project. I cringe a bit with all the threading and other weirdness. cjmurph also did some valuable work on splitting out WPF code to ViewModels as well as some other valuable refactoring work that we could / should bring in regardless. However, I think that this proposal adds potential increased complexity to creating a custom UI, and I don't prefer to keep up the duplicated code/ideas between the two UI projects. In addition, I think the current way the UI is setup, while blah in some regards, might be easier for forward compatibility -- you can just keep using the same UI factory and get compile-time warnings/errors when things change rather than "oops I didn't implement a new event that's necessary".
I would like to personally propose not making the overall change and just keep the status quo, but I'd like to also submit that we have a sample project that only hooks into events and not the UI Factory to demonstrate how users can do that. That sample project could show everything in the same window just as a proof of concept on how to hook into events.
I am open to other sides of the issue! Please let me know if you have other thoughts.

There was way too much duplication in my quick scratch up between the UI projects. I was cringing while doing it. It's by no means an optimal solution.
I still think it's an idea worth pursuing, hopefully someone smarter than me can offer a better solution :).

I am still open to doing this eventually, but I want to leave it off the table for 2.0, which is taking me enough time to get ready as it is without more refactoring due to my limited free time. I've changed the milestone to a tentative '3.x' accordingly.


[ERROR:flutter/shell/platform/windows/flutter_windows_view.cc(603)] Reached unreachable code.

Steps to reproduce

flutter create --platforms=windows demo4
flutter run -d windows
resizing the window.
program crashed

Expected results
program not crashed.
Actual results
program crashed
Code sample
Just use flutter default example
Screenshots or Video
https://github.com/flutter/flutter/assets/40336192/b42d84c3-0797-429e-bef4-9950dc2248ea
Logs
flutter run -d windows
Launching lib\main.dart on Windows in debug mode...
Building Windows application...                                     5.4s
✓  Built build\windows\x64\runner\Debug\demo4.exe.
Syncing files to device Windows...                                  33ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

A Dart VM Service on Windows is available at: http://<IP_ADDRESS>:4634/j4gJP0JqOVs=/
The Flutter DevTools debugger and profiler on Windows is available at:
http://<IP_ADDRESS>:9100?uri=http://<IP_ADDRESS>:4634/j4gJP0JqOVs=/
[ERROR:flutter/shell/platform/windows/flutter_windows_view.cc(603)] Reached unreachable code.
Lost connection to device.

Flutter Doctor output
Doctor output
[✓] Flutter (Channel master, 3.19.0-8.0.pre.47, on Microsoft Windows [Version 10.0.22631.3007], locale en-US)
    • Flutter version 3.19.0-8.0.pre.47 on channel master at D:\Programs\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 46bbf4029a (11 hours ago), 2024-01-18 20:09:13 -0500
    • Engine revision 90be25d8aa
    • Dart version 3.4.0 (build 3.4.0-24.0.dev)
    • DevTools version 2.31.0

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at C:\Users\Ares\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: D:\Programs\JetBrains\Toolbox\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Enterprise 2022 17.8.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Enterprise
    • Visual Studio Enterprise 2022 version 17.8.34408.163
    • Windows 10 SDK version 10.0.22621.0

[✓] Android Studio (version 2023.1)
    • Android Studio at D:\Programs\JetBrains\Toolbox\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.3)
    • IntelliJ at D:\Programs\JetBrains\Toolbox\IntelliJ IDEA Ultimate
    • Flutter plugin version 77.0.1
    • Dart plugin version 233.13135.65

[!] Proxy Configuration
    • HTTP_PROXY is set
    ! NO_PROXY is not set

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.3007]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 119.0.6045.124
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 120.0.2210.133

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Extra info
OS Name             : Microsoft Windows 11 Pro
OS Version          : 10.0.22631 N/A Build 22631

Thanks for reporting this! I was able to reproduce this by resizing the window nonstop until the app crashes. The root cause is https://github.com/flutter/engine/pull/49872, it incorrectly asserts a code path is unreachable.

@TENX-S This should be fixed on the latest master. Feel free to ping me if you have any follow-up concerns or questions! Thanks again for reporting this issue :)


vendor:publish gives "Can't locate path"

Everytime I try to publish the files to the frontend I get the following errors.

Can't locate path: </var/www/html/laravel/vendor/jorenvanhocht/blogify/src/../Views/mails/resetpassword.blade.php

I am using Laravel 5.1
halnex@ubuntu:/var/www/html/laravel$ sudo php artisan vendor:publish
Can't locate path: </var/www/html/laravel/vendor/jorenvanhocht/tracert/src/../config>
Copied Directory [/vendor/jorenvanhocht/blogify/config] To [/config/blogify]
Copied Directory [/vendor/jorenvanhocht/blogify/public/assets] To [/public/assets/blogify]
Copied Directory [/vendor/jorenvanhocht/blogify/public/ckeditor] To [/public/ckeditor]
Copied Directory [/vendor/jorenvanhocht/blogify/public/datetimepicker] To [/public/datetimepicker]
Can't locate path: </var/www/html/laravel/vendor/jorenvanhocht/blogify/src/../Views/admin/auth/passwordreset/>
Can't locate path: </var/www/html/laravel/vendor/jorenvanhocht/blogify/src/../Views/mails/resetpassword.blade.php>
Publishing complete for tag []!

Going to http://localhost/laravel/public/admin/ works just fine, I am able to login and add new blog posts, even though it seems some javascript is not working. For example you can't add a category or tag while writing the article.
But going to http://localhost/laravel/public/blog/ gives this error

ReflectionException in Container.php line 736: Class App\Http\Controllers\BlogController does not exist

I fixt it in my last commit. It was a capital typo in the service provider. You should be all good again. But make sure to require the new release that I'm going to make in a few minutes.

You can pull in the new package, just run composer require jorenvanhocht/blogify 1.1-RC


home page label change

I just noticed that the LDS PDI home page has "TBRC Public Data Interface". TBRC needs to be replaced with BDRC here and in following sentence: "This resource provides direct data access to the TBRC Library"

Done !


The action text in Arabic doesn't have a padding because it is rtl text

I am using the date time picker in my app, and the main language of the app is Arabic. When the locale of the date time picker is set to LocaleType.ar you can see that it doesn't have padding to make a space between it and the device sides

.

I have been using an old version of this plugin, and in the newer version, directional edge insets have been used to solve the issue. If you face a similar problem: just update the plugin.


Issue formatter

Template
Please write your blade template that occurs issues.
Context (Environment)

write your environment

Description

Any other informations

Closed by #372


Admin Login

Describe the bug
The admin login portal is not working fix that.
To Reproduce
Steps to reproduce the behavior:

Go to https://penetrate-me.herokuapp.com/
Admin Login
Input username : admin , password : 1234
See error

Expected behavior
It should log you in our app.

@3xpl0itk1t  can you assign this issue to me 😃

Sure @bur-bur All the best ;)


Unable to add multiple subscriptions

There is currently no way to add additional subscriptions. ListTopicSubscriptionResponse::topic(...) is hard coded to a vector of one subscription: https://docs.rs/dapr/0.9.0/src/dapr/appcallback.rs.html#42
Originally posted by @NickLarsenNZ in https://github.com/dapr/rust-sdk/issues/80#issuecomment-1264086724

Other SDKs seem to be able to do it (I have seen it in action with .Net), for example dapr/python-sdk:
https://github.com/dapr/python-sdk/blob/1aab2cb1e06b32899183a285eab5c975408d05b2/ext/dapr-ext-grpc/dapr/ext/grpc/app.py#L137-L140

Actually, it looks like I can if I avoid using the topic method, and instead build the struct from scratch like so:
    async fn list_topic_subscriptions(
        &self,
        _request: Request<()>,
    ) -> Result<Response<ListTopicSubscriptionsResponse>, Status> {
        // This commented out section only allows a single subscription
        // let list_subscriptions =
        //     ListTopicSubscriptionsResponse::topic(self.pubsub_name.clone(), self.topic.clone());
        let empty_metadata = None;

        let list_subscriptions = ListTopicSubscriptionsResponse {
            subscriptions: vec![
                TopicSubscription::new("pubsub".to_owned(), "a".to_owned(), empty_metadata.clone()),
                TopicSubscription::new("pubsub".to_owned(), "b".to_owned(), empty_metadata.clone()),
            ],
        };

        Ok(Response::new(list_subscriptions))
    }

It does appear to silently fail if you create two instances of the Dapr AppCallbackServers, like this which I had originally tried:
    Server::builder()
        .trace_fn(|_| tracing::info_span!("tonic server"))
        .add_service(AppCallbackServer::new(job_runner::JobRunner::new(
            pubsub.as_str(),
            topic.as_str(),
        )))
        .add_service(AppCallbackServer::new(job_runner::JobRunner::new(
            pubsub.as_str(),
            "another.topic",
        )))
        .serve(addr)
        .await?;

https://github.com/dapr/rust-sdk/pull/87#issuecomment-1684854260
I think this can be addressed for now with the above merged. Let me know any thoughts otherwise :)


IP-2183: Make criticalcss timeout configurable and pass it to nodejs criticalcss call

@exodusanto @kalfheim waiting for your feedback.


openaiapichatgpt: Initial Pull Request - Version 1.0.0

Please ensure your pull request (PR) adheres to the following guidelines:

Please refer to our contributing documentation for any questions on submitting a pull request, link: Contribution Guide

Pull Request Checklist
Please check if your PR fulfills the following requirements:

[ y ] Testing of all the changes has been performed (for bug fixes / features)
[ n/a ] The manual_readme_content.md has been reviewed and added / updated if needed (for bug fixes / features)
[ y ] Use the following format for the PR description: <App Name>: <PR Type> - <PR Description>
[ y ] Provide release notes as part of the PR submission which describe high level points about the changes for the upcoming GA release.
[ y ] Verify all checks are passing.
[ y ] Do NOT use the next branch of the forked repo. Create separate feature branch for raising the PR.
[ y ] Do NOT submit updates to dependencies unless it fixes an issue.

Pull Request Type
Please check the type of change your PR introduces:

[ y ] New App
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation
[ ] Other (please describe):

Security Considerations (REQUIRED)

[ n/a ] If you are exposing any endpoints using a REST handler,
please document them in the manual_readme_content.md.
[ y ] If this is a new connector or you are adding new actions

[ ] Please document in the manual_readme_content.md all methods (eg, OAuth) used to authenticate
with the service that the connector is integrating with.
[ ] If any actions are unable to run on SOAR Cloud, please document this in the manual_readme_content.md.

[ n ] Are you introducing any new cryptography modules? If yes, please elaborate their purpose:
[ n ] Are you are accessing the file system? If yes, please verify that you are only accessing paths returned through
the Vault API.
[ n ] Are you are marking code to be ignored by Semgrep with nosemgrep?
If yes, please provide justification in an additional comment next to the ignored code.

Release Notes (REQUIRED)

Provide release notes as part of the PR submission which describe high level points about the changes for the upcoming GA release.

Initial Release:  Version 1.0.0
Supported Actions:
get completion
get embeddings
get chat completion
get edits
test connectivity
What is the current behavior? (OPTIONAL)

Describe the current behavior that you are modifying.

What is the new behavior? (OPTIONAL)

Describe the behavior or changes that are being added by this PR.

Other information (OPTIONAL)

Any other information that is important to this PR such as screenshots of how the component looks before and after the change.

Pay close attention to (OPTIONAL)

Any specific code change or test case points which must be addressed/reviewed at the time of GA release.

Screenshots (if relevant)

Thanks for contributing!

@bentleymi I have made changes as per our coding standards, few of the queries I need to ask,

Would it be fine if we change min_phantom_version to 6.0.2 in the app's json file as per our standard best practice?
This app uses openai and numpy libraries, could you please provide me library version you are using for this app? so that we can add those versions in the app's requirement.txt file?

Hi @bentleymi,
Currently, our legal team is checking the feasibility of this app as this is an AI tool we are implementing as part of the integration.
I will let you know as soon as I get an update.

Hi @bentleymi ,
This app is in review with the legal team for the dependencies, and we will proceed once we get the confirmation.

Closing this PR for now. We will keep you updated if there are any changes.

@bentleymi , due to some security reasons, our legal team is not allowing this submission for now, once we get some updates regarding this app we will let you know

Checking to see if there are any updates?  TIA!


Export exemplar characters

Exemplar characters are the characters the language is "known for", i.e. characters usually (if not always) found in the written form of the language.

Hey @tigrish, have you been able to take a look at this?

Oh no, totally missed this one sorry!


Update Learn.md Resolved #1300

Related Issue
None
Description
Removed the unnecessary code block in learn.md file , resolved issue #1300
Type of PR

[X] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes]

Checklist:

[X] I have performed a self-review of my code
[X] I have read and followed the Contribution Guidelines.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have commented my code, particularly in hard-to-understand areas.

Additional context:
[Include any additional information or context that might be helpful for reviewers.]

Direct PR Not Allowed

@khushi-joshi-05 will see this PR!

@khushi-joshi-05 please review my pull request and merge it #1301


Hide old env versions

 As a user, I would like to see only the latest versions of an environment, hiding (by default) older version from the main environment list.


add echo example with automatic parsing of function id, hash, cape token

Adds a script that automatically parses Cape function id, function hash, and token to deploy and run the echo example. Next PR will update the ReadMe to reflect that the user can just run python3 deploy_run_echo.py without needing to set environment variables for function id etc.

superceded by #57


Feature Request: Full Screen on Maximize

This is a minor user interface annoyance. The standard behavior on mac os is that the green "maximize / full screen" button takes you directly into full screen view.

However, on OB clicking the green button simply expands the window without taking you to full screen. You have to go to View -> Toggle Full Screen to do that.
This deviates from standard mac behavior and may be a minor annoyance to new users, as it was for me.

This was closed by #905


No Unix commands?

Hello,
I removed completely my old Cmder install and downloaded the latest version. Now I have no Unix commands such as git ls or ssh available to me. I just copy over files from the archive then run them and I get this behavior. I've confirmed there are no handles or running processes still using those files as well when I copy.

Unix commands come from git for windows. This can either be installed on your machine and included in your path, or is included as part of the 'cmder full' package.
If you do not have git installed on your machine,  It may be that you have replaced your older version with 'cmder mini' (a version which does NOT include git and the accompanying tools). I would check again which version you downloaded.

I made sure to download the full version.

I have Git for Windows installed as well but I figured Cmder was supposed to use the msysgit tools that it is distributed with. When I echo %PATH% within cmder, I don't see the msysgit directory listed.

Do you have Git installed in some non-default location? It's normally found in C:\Program Files (x86)\Git or similar.
Cmder should check for an existing msysgit directory, and add it to the path if found.
If for some reason that check isn't happening, you could try to add it to your path manually.

Ok well I added the msysgit bin directory to my PATH manually and I guess that works. But also, cmder used to know that '~' corresponded to my user directory. Now when I do cd ~, it tells me The system cannot find the path specified. Am I crazy or did this used to work?

I think the problem is that git for windows 2.5 does not add unix commands to the path:
λ path
PATH=C:\Users\...\Dropbox\Programme\cmder\bin;C:\Program Files\Git\bin;C:\Program Files\Git\share\vim\vim74;[...];C:\Program Files\Git\cmd;[...];

λ dir "C:\Program Files\Git\bin"
17.08.2015  15:19            32.256 bash.exe
17.08.2015  15:18           139.776 git.exe
17.08.2015  15:19            32.256 sh.exe

λ dir "C:\Program Files\Git\cmd"
17.08.2015  15:18           139.776 git-gui.exe
17.08.2015  15:18           139.776 git.exe
17.08.2015  15:18           139.776 gitk.exe
25.08.2015  12:07             3.031 start-ssh-agent.cmd

I installed the "make git available in cmd" version.

On my installation I needed to change this line to make it work:
https://github.com/cmderdev/cmder/blob/development/vendor/init.bat#L83
- set "PATH=%PATH%;%GIT_INSTALL_ROOT%\usr\bin;%GIT_INSTALL_ROOT%\usr\share\vim\vim74"
+ set "PATH=%PATH%;%GIT_INSTALL_ROOT%\bin;%GIT_INSTALL_ROOT%\usr\bin;%GIT_INSTALL_ROOT%\usr\share\vim\vim74"

λ git --version
git version 1.9.5.msysgit.0

bc is not working for my cmder....it says bc is not recognised as internal or external command. what to do ??

What is bc?

Basic calculator...
On Apr 8, 2018 17:27, "Dax T Games"<EMAIL_ADDRESS>wrote:
What is bc?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cmderdev/cmder/issues/610#issuecomment-379544552, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AkaIxRmAuGb1lNaCwCnO-4kWOU0lANG1ks5tmfsCgaJpZM4FxtqQ
.

Did you try any other commands.  I doubt 'bc' is a part of git-for-windows.
On April 8, 2018 8:04:26 AM kavyarangaiah<EMAIL_ADDRESS>wrote:
Basic calculator...
On Apr 8, 2018 17:27, "Dax T Games"<EMAIL_ADDRESS>wrote:
What is bc?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cmderdev/cmder/issues/610#issuecomment-379544552, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AkaIxRmAuGb1lNaCwCnO-4kWOU0lANG1ks5tmfsCgaJpZM4FxtqQ
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Other than bc, what else I can try?? Please suggest me.....
On Apr 8, 2018 21:25, "Dax T Games"<EMAIL_ADDRESS>wrote:

Did you try any other commands. I doubt 'bc' is a part of git-for-windows.
On April 8, 2018 8:04:26 AM kavyarangaiah<EMAIL_ADDRESS>wrote:
Basic calculator...
On Apr 8, 2018 17:27, "Dax T Games"<EMAIL_ADDRESS>wrote:
What is bc?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cmderdev/cmder/issues/610#issuecomment-379544552, or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/AkaIxRmAuGb1lNaCwCnO-
4kWOU0lANG1ks5tmfsCgaJpZM4FxtqQ>
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cmderdev/cmder/issues/610#issuecomment-379560720, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AkaIxVQsMrJX1f47ibqiZn69JtcWXtD1ks5tmjMBgaJpZM4FxtqQ
.

bc is not part of cmder, end of story :)

Okkk.. Thanks
On Apr 9, 2018 01:02, wrote:

O
On Apr 9, 2018 01:01, "Benjamin Staneck"<EMAIL_ADDRESS>wrote:

bc is not part of cmder, end of story :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cmderdev/cmder/issues/610#issuecomment-379575897,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkaIxcleNZktUIlI5cCCoiY2MBOxegFcks5tmmV9gaJpZM4FxtqQ
.


Show more episodes

Dramas that have about 100 episodes only shows episodes from 100 to 71 or the first 30 episodes from last

@pachax001, Thanks for noticing it. I've fixed the code to load all episodes. Please refer my latest release v2.8.
Please let me know if you still face any issues.


Added option to select ul or ol list

I think everything is ok

👍

Thanks! It's merged and published to NPM as v0.2.3: https://www.npmjs.com/package/markdown-it-table-of-contents

Thank you


Mention in ReadMe that this auto-disables translates…

It also asymmetrically sets translates... = false only on the left side of an (in)equality. This should be documented as well.

Updated in 2.0.0


Hugo Logo

Hugo static site generator
Site: http://gohugo.io
Logo: Several versions of the logo available here. hugo-logo-wide.svg is the most recognisable https://github.com/gohugoio/hugoDocs/tree/master/themes/gohugoioTheme/layouts/partials/svg

what we shld do??


Using ng2-nvd3 in ionic2 causes android build to fail...ionic serve works however

npm-debug.txt
I am trying to use ng2-nvd3 in my ionic 2-rc1 app to show donut charts. The app works in browser mode (ionic serve) however fails to compile when building for android.
I have narrowed it down to one place - in home.html of the app created using the tabs template, if I include the following line to show the pie chart, the error happens. If I remove this line, there is no error  while compiling for android, but then there wont be a chart either!
 `
  <nvd3 [options]="donutOptions" [data]="donutData"></nvd3>
`

Here is the error -
node.js 6.7.0 (x64)
npm 3.10.8
[13:56:28]  Error: Error at C:/Users/SrinivasaG/Documents/MobileDev/IonicApps/V2
/rnapp2/.tmp/pages/home/home.ngfactory.ts:262:40
[13:56:28]  Supplied parameters do not match any signature of call target.
[13:56:28]  ngc failed
[13:56:28]  ionic-app-script task: "build"
[13:56:28]  Error: Error
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\SrinivasaG\AppD
ata\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "build" "--color"
npm ERR! node v6.7.0
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! ionic-hello-world@ build: ionic-app-scripts build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ionic-hello-world@ build script 'ionic-app-scripts build'
.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ionic-hello-world pac
kage,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ionic-app-scripts build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ionic-hello-world
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls ionic-hello-world
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\SrinivasaG\Documents\MobileDev\IonicApps\V2\rnapp2\npm-deb
ug.log
Caught exception:
undefined
Mind letting us know? https://github.com/driftyco/ionic-cli/issues

Some more debugging shows the error to be in home.ngfacatory.ts at line 587 which reads like if ((changes !== (null as any))) { this._nvD3_56_4.ngOnChanges(changes); }.  The error thrown is [ts] Supplied parameters do not match any signature of call target.

On further debugging, I realized that the nvd3 ng2 port is probably out of date. The signature of the ngOnChanges function was missing the args. So added it. Unfortunately it means I have to change the downloaded library code but that works! Closing it now.


Update aws-java-sdk-lambda, ... to 1.12.625

About this PR
📦 Updates

com.amazonaws:aws-java-sdk-lambda
com.amazonaws:aws-java-sdk-secretsmanager

from 1.12.621 to 1.12.625
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.amazonaws" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #72.


Response Templating is not working for me...response is not as transformed as expected.

made a stub as mentioned below:
public void stub(){
stubFor(get(urlEqualTo("/another/Endpoint/123?name=abc")).
willReturn(aResponse()
.withStatus(200)
.withBody("{"name": "$(name)"}")
.withTransformers("body-transformer")));
}
passing below details in Rule and Test
@Rule
public WireMockRule wiremockRule = new WireMockRule(8844);

@Test
public void anything() throws Exception{
    System.setProperty("user.dir", "C:\\Users\\kavita\\.m2\\repository\\com\\github\\tomakehurst\\wiremock-standalone\\2.5.1");

    Process p = Runtime.getRuntime().exec("java -cp \"wiremock-body-transformer-1.1.4.jar;wiremock-standalone-2.5.1.jar\" com.github.tomakehurst.wiremock.standalone.WireMockServerRunner --verbose --extensions com.opentable.extension.BodyTransformer");

after calling the stub here i am getting the response as mentioned below not as i expected:

{"name": "$(name)"}
note: i am using java 1.7 and jars as mentioned above.
Kindly tell if need any correction.

Looks like you're attempting to use Open Table's extension rather than the built in one, so I can't help you I'm afraid. Suggest you open a ticket on their project.

i am simply want to implement response templating and not sure what do you mean by "Open Table's extension" here.
can you give me one working example(code)to implement response templating?
it would really help me as i am just a beginner.

--extensions com.opentable.extension.BodyTransformer - that's Opentable's extension, not WireMock's

that i already used as mentioned above in my query:
java -cp "wiremock-body-transformer-1.1.4.jar;wiremock-standalone-2.5.1.jar" com.github.tomakehurst.wiremock.standalone.WireMockServerRunner --verbose --extensions com.opentable.extension.BodyTransformer

below is the code i am using and its not working
public class RspTemplating  {
public void makestub() {
/*
stubFor(get(urlEqualTo("/another/Endpoint/123?name=kavi")).
willReturn(aResponse()
.withStatus(200)
.withBody("{"name": "$(name)"}")
.withTransformers("body-transformer")));
*/
stubFor(post(urlEqualTo("/another/Endpoint"))
               .withRequestBody(equalToJson("{\n" +
                       "    \"foo\": {\n" +
                       "        \"bar\": \"opentable\"\n" +
                       "    }\n" +
                       "}"))
        .willReturn(aResponse()
                .withStatus(200)
                .withBody("{\n" +
                        "    \"fooname\": {\n" +
                        "        \"bar\": $(bar)\n" +
                        "    }\n" +
                        "}")
                .withTransformers("body-transformer")));

/* Response response= given().
when().contentType("application/json").
get("http://localhost:8055/another/Endpoint/123?name=kavi").
then().log().all().statusCode(200).
extract().response();*/
Response response1= given().
        when().log().all().contentType("application/json").body("{\n" +
        "    \"foo\": {\n" +
        "        \"bar\": \"opentable\"\n" +
        "    }\n" +
        "}").
        post("http://localhost:8035/another/Endpoint").
        then().log().all().statusCode(200).
        extract().response();

}
// WireMockServer wm1 = new WireMockServer(WireMockConfiguration.options());
@Rule
public WireMockRule wiremockRule = new WireMockRule(8035);
public WireMockRule wm = new WireMockRule(WireMockConfiguration.options().extensions(new ResponseTemplateTransformer(true)));

/* public interface WiremockExtension {
    ResponseDefinition filter(Request request, ResponseDefinition responseDefinition);
    String getName();
    boolean isGlobal();
}*/

@Test
public void anything() throws Exception{
   // wm1.start();
   System.setProperty("user.dir", "C:\\Users\\kavita\\.m2\\repository\\com\\github\\tomakehurst\\wiremock-standalone\\2.5.1");
   Process p = Runtime.getRuntime().exec("java -cp \"wiremock-body-transformer-1.1.4.jar:wiremock-standalone-2.5.1.jar\"  --verbose --extensions com.opentable.extension.BodyTransformer");
    makestub();

   // wm1.stop();
}
}

Suggest you have a thorough read of this: http://wiremock.org/docs/response-templating/


Submit App for Review

We would like to submit both iOS and Android version of the app for review but hold them back for manual release so that we can complete the review process and early as possible.

[x] Submit for iTunes review
[x] Submit for Google Play review.

Need to deal with #427 as part of the Google Play release.

Done on Jul 15th at 3:50pm

Updates required:
Google Play
As per this video we need "prominent disclosure" for why the app is accessing the camera:

[ ] Add prominent disclosure screen to Android indicating why the camera is being used and what the data will be used for;
[ ] Add prominent disclosure to privacy policy.

Apple iTunes

[ ] Update the look of the iOS screen shots so they look like iOS devices, specifically the device frame and status bar need to acutely match the look and feel of a real device.

Both apps are ready for release. Only outstanding issue addressed in ticket #434. Moving this issue to done.


Not displaying appropriate error message .

Steps to reproduce:

Open command prompt
Hit command cucumber -f html -o result.html or cucumber --format html --out result.html outside cucumber project directory.
Getting error ->  No such file or directory - ûf. Please create a ûf directory to get started. (Errno::ENOENT) .

H:\>cucumber -f html -o result.html

No such file or directory - ûf. Please create a ûf directory to get started. (Errno::ENOENT)

Note: Hit command cucumber outside cucumber project directory this will give Error -> No such file or directory - features. Please create a features directory to get started. (Errno::ENOENT). This error message gives appropriate idea about what went wrong.

H:>cucumber

No such file or directory - features. Please create a features directory to get started. (Errno::ENOENT)

I can't reproduce this.
Please can you tell us a bit more about your context? Are you on Windows? Which version? Which version of Ruby and Cucumber are you using?

I think I have an idea why its going wrong. The dash character is not the actual - but the û character that cucumber reports.
From a CLI perspective this changes the -f parameter to an argument and cucumbers first argument is the folder containing the feature files.
The solution is to write a normal dash.
Google searching shows pages like:
http://stackoverflow.com/questions/5970935/using-en-dash-in-an-input-file-to-a-batch-file

Thanks @osteenbergen - very helpful. I'm going to close this issue.