Cannot connect with password containing special characters

The following connection string with a password containing a "%" and "("
params = f'DRIVER={{{driver}}};SERVER={server};DATABASE={database};UID={uid};PWD={{{pwd}}};TDS_Version=8.0;Port=1433;'

connection_string = 'mssql+pyodbc:///?odbc_connect=%s' % urllib.parse.quote_plus(params)

comes back with "Login failed for user 'user'"

Are you able to connect directly from pyodbc? e.g.,
cnxn = pyodbc.connect(params)

Hola quiza esto te ayude, esta es mi conexion por medio de ODBC a visual foxpro.
conn = pyodbc.connect('DSN=0015;UID=;;SourceDB=C:\Data\data.DBC;SourceType=DBC;Exclusive=No;BackgroundFetch=Yes;Collate=Machine;Null=No;Deleted=No;')

Hola quiza esto te ayude, esta es mi conexion por medio de ODBC

Translation:
"Hi, maybe this will help you, this is my connection through ODBC ..."

Please read the documentation on connection string escaping: https://github.com/mkleehammer/pyodbc/wiki/Connecting-to-databases
and print out the connection string that is being passed to connect() so that you can verify it is correct.

Hola quiza esto te ayude, esta es mi conexion por medio de ODBC

Translation:
"Hi, maybe this will help you, this is my connection through ODBC ..."

cnxn = pyodbc.connect(params) works. Passing urllib.parse.quote_plus(params) doesn't.
I can see urllib maps "%" to "%25". When I replace the "%" with "%25" in pwd then sqlalchemy works.

I am unable to reproduce your issue. This works fine for me:
import urllib

import sqlalchemy as sa

driver = "FreeTDS"
server = "<IP_ADDRESS>"
database = "master"
uid = "jdmarlin"
pwd = "a%b(c"
params = f'DRIVER={{{driver}}};SERVER={server};DATABASE={database};UID={uid};PWD={{{pwd}}};TDS_Version=8.0;Port=49242;'

connection_string = 'mssql+pyodbc:///?odbc_connect=%s' % urllib.parse.quote_plus(params)

engine = sa.create_engine(connection_string)
with engine.connect() as conn:
    result = conn.scalar(sa.text("SELECT SYSTEM_USER"))
    print(result)  # jdmarlin

In any case, if pyodbc.connect works then this is not a pyodbc issue.

Closed due to inactivity. Feel free to re-open with current information if necessary.

I am unable to reproduce your issue. This works fine for me:
import urllib

import sqlalchemy as sa

driver = "FreeTDS"
server = "<IP_ADDRESS>"
database = "master"
uid = "jdmarlin"
pwd = "a%b(c"
params = f'DRIVER={{{driver}}};SERVER={server};DATABASE={database};UID={uid};PWD={{{pwd}}};TDS_Version=8.0;Port=49242;'

connection_string = 'mssql+pyodbc:///?odbc_connect=%s' % urllib.parse.quote_plus(params)

engine = sa.create_engine(connection_string)
with engine.connect() as conn:
    result = conn.scalar(sa.text("SELECT SYSTEM_USER"))
    print(result)  # jdmarlin

In any case, if pyodbc.connect works then this is not a pyodbc issue.

Have you tried using a password that actually need escaping, such as ,' ? The pwd value you specified below doesn't need to be escaped.  The problem I'm having is with a password that has 2 or more characters that need escaping.
For example: X))m:y^-zxeLPv.cQ+E';7}7~w)7/s<E!U$\ When escaped, this string is: X)\\)m:y^-zxeLPv.cQ+E';7}7~w)7/s<E!U$\
In my case, when I attempt to use that it apparently is not sending the right value to the SQL Server(using PyOdbc).  The same unescaped password works fine with Azure Data Studio and DataGrip.  I can't even define this password as a "raw" string because of the trailing backslash.

@anybodysguest  - There are in fact three levels of escaping that may come into play:
(1) String literal escaping in Python

I can't even define this password as a "raw" string because of the trailing backslash.

That is explained here:
https://docs.python.org/3/faq/design.html#why-can-t-raw-strings-r-strings-end-with-a-backslash
(2) Character escaping in an ODBC connection string
This concerns passwords (or whatever} that begin with a {. In the context of SQLAlchemy, that was discussed (and resolved) here:
https://github.com/sqlalchemy/sqlalchemy/issues/8062
(3) "quote_plus" escaping of a SQLAlchemy connection URL expressed as a string literal
This is required to avoid problems with passwords (or whatever) that contain @ or other characters that can confuse SQLAlchemy's parser when converting a URL string into a URL object.
So …
For SQLAlchemy, the best approach would be to use engine.URL.create() to construct the URL object directly:
from sqlalchemy import create_engine
from sqlalchemy.engine import URL

connection_url = URL.create(
    "mssql+pyodbc",
    username="scott",
    password=r"X)\)m:y^-zxeLPv.cQ+E`';7}7~w)7/s<E!U$" "\\",  # include trailing backslash
    host="<IP_ADDRESS>",
    database="test",
    query=dict(driver="ODBC Driver 17 for SQL Server")
)
engine = create_engine(connection_url)

Similar to @anybodysguest
How do escape this password -> "fdfs{;S'fd,_dj.fsgdfgdf"
I am only using pyodbc (no sqlalchemy)

Similar to @anybodysguest
How do escape this password -> "fdfs{;S'fd,_dj.fsgdfgdf"
I am only using pyodbc (no sqlalchemy)

Answered on Stack Overflow here.

thanks @gordthompson
would be nice to have something within the library itself to help everyone


TypeError: SageMakerConfig.init() missing 1 required positional argument: 'debug'

System Info
- `Accelerate` version: 0.22.0
- Platform: Linux-5.19.0-1026-aws-x86_64-with-glibc2.35
- Python version: 3.10.12
- Numpy version: 1.25.2
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- PyTorch XPU available: False
- PyTorch NPU available: False
- System RAM: 62.13 GB
- GPU type: NVIDIA A10G
- `Accelerate` default config:
        Not found

Information

[ ] The official example scripts
[ ] My own modified scripts

Tasks

[ ] One of the scripts in the examples/ folder of Accelerate or an officially supported no_trainer script in the examples folder of the transformers repo (such as run_no_trainer_glue.py)
[ ] My own task or dataset (give details below)

Reproduction
accelerate config fails for SageMaker with accelerate==0.22.0
Steps to reproduce the behaviour:

pip install -U 'accelerate[sagemaker']
accelerate config
I selected options AWS -> AWS Profile -> Provide IAM Role Name -> No distributed training -> no and left everything else to the default values
Accelerate fails to create and save a SageMakerConfig object

Expected behavior
SageMaker configuration gets created and saved as ~/.cache/huggingface/accelerate/default_config.yaml
This was working in accelerate 0.21.0

Can you install via pip install git+https://github.com/huggingface/accelerate? I believe this was fixed via https://github.com/huggingface/accelerate/pull/1904

It works, thanks and sorry for the duplicate issue!


Fix predicate-pushdown compute

Updates ReadParquet and test_predicate_pushdown to get the correct result after compute.
Future TODO: Currently, the read_parquet engine is not required to perform row-wise filtering to satisfy the filters argument. For the pyarrow engine, you will get row-wise filtering, but the fastparquet and cudf engines don't do this yet. Since the replacement rules result in the removal of the explicit Filter operation, we need to make sure the the partition-wise IO function ensures that row-wise filtering has been applied.

Cool.  Things here seem generally fine to me.
As a heads-up, I'll be mostly unresponsive at least tomorrow and maybe Friday as well.

but the fastparquet and cudf engines don't do this yet

FWIW if this actually becomes a real library then my plan was to use it as an opportunity to reset a lot of things like using fastparquet, and depending on pandas < 2.  If cudf could grow support for filtering that would be nice.
I actually removed the engine keyword from your code with this in mind.  I hadn't though of cudf though.

Since the replacement rules result in the removal of the explicit Filter operation

If you wanted to play with replacement rules you could add back in the engine keyword, and then add in new replacement rules that matched against ReadParquet(filename, columns=a, filters=b, engine="pyarrow") and ReadParquet(filename, columns=a, filters=b, engine="cudf") or just leave off the cudf replacement rules for now and just force engine="pyarrow".  That way you'll know that these rules won't apply when engine is anything else.
Note that if you do do this then you'll need to leave self.engine as a string, and not as an Engine object.
I mention this not because I necessarily want you to do this work (there are probably more important things to sort out) but because I think it might give you a feel for replacement rules, which could be interesting / fun / educational.

FWIW if this actually becomes a real library then my plan was to use it as an opportunity to reset a lot of things like using fastparquet, and depending on pandas < 2. If cudf could grow support for filtering that would be nice.

I actually removed the engine keyword from your code with this in mind. I hadn't though of cudf though.

I mostly agree with this, but will obviously insist on making it as easy as possible to use a cudf backend as early as possible.

Note that if you do do this then you'll need to leave self.engine as a string, and not as an Engine object.

Ah, good point

I mention this not because I necessarily want you to do this work (there are probably more important things to sort out) but because I think it might give you a feel for replacement rules, which could be interesting / fun / educational.

Thanks for sharing these thoughts. It is likely that I will end up playing with rules like this. However, the more-immediate issue is probably that tests unrelated to parquet/predicate_pushdown are still failing in assert_eq. So we probably want to iron out the best way to validate and compare an expression to an expected pandas result.

Fair point.  Maybe we should pull over assert_eq into this library and modify it to our own needs?

Fair point. Maybe we should pull over assert_eq into this library and modify it to our own needs?

I'm open to this

My eyes are back in a decent state. Is this ready for review?

I came down with something yesterday, so haven't pushed on this since last week - You are welcome to review and/or make changes. If I remember correctly, this PR is probably trying to do too many things at once (and pushdown tests are not passing).

Anything further to do here @rjzamora ?

These changes were addressed in #6


Modify getLatestDiscussion() function and playtester ping message

The function getLatestDiscussion() now gets the newest discussion from the  "Draft patch notes" category specifically, and only gets the body of that discussion.
I also changed the playtester ping message, and in my opinion, it now looks better.

This is what is looks like now

@GeckoEidechse any suggestions or things you want changed related to formatting?

Oh, I like this a lot 👀
No suggestions from my side. What I can see in the screenshot looks pretty good ^^


[Snyk] Security upgrade python from 3.10-slim to 3.13.0a4-slim

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

Dockerfile

We recommend upgrading to python:3.13.0a4-slim, as this image has only 45 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

400
Resource Exhaustion SNYK-DEBIAN12-EXPAT-6227597
No Known Exploit

300
Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') SNYK-DEBIAN12-EXPAT-6227603
No Known Exploit

471
Allocation of Resources Without Limits or Throttling SNYK-DEBIAN12-SYSTEMD-6277507
No Known Exploit

471
Allocation of Resources Without Limits or Throttling SNYK-DEBIAN12-SYSTEMD-6277507
No Known Exploit

500
Integer Overflow or Wraparound SNYK-DEBIAN12-ZLIB-6008963
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Allocation of Resources Without Limits or Throttling
🦉 Resource Exhaustion

Closing this as we are not using alpha versions of python. Will upgrade to 3.12 across the board soon


add /languages/:language/lexemes route

Also do this in the Swagger schema

Swagger schema completed.


Add unit tests for cluster log forwarder controller

What type of PR is this?
unit test
What this PR does / Why we need it?
Make sure the controller functions are covered by unit tests
Which Jira/Github issue(s) does this PR fix?
https://issues.redhat.com/browse/OSD-19280
Pre-checks (if applicable)

[x] Validated the changes in a cluster
[x] Included documentation changes with PR

@xiaoyu74 Thanks for the detailed test cov analysis. We will improve the rest of the coverage as an improvement

/lgtm


Pressure, Flow and Volume Calcs

I think it would be a good move to send the calcs for Pressure, Flow, and Volume (PFV) to the Arduino. We will need it for Brian's display, and I really want to do an experiment related to the FDA papers: Set a Vmax parameter in the GUI and close the valve when V>Vmax.
Then 3 numbers flow from the Arduino towards the GUI.  Is there any possibility of straing the Arduino doing this?

@slacrherbst I guess this can be closed as well?

Looks like this is done. Reopen otherwise.


Bot hang scenario.

The bot hangs on the following input:

Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)

At the following check:

Common Try to match (clean)'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' against (\s?(?:[\w-].?,?\s?){2,99}) ((\s?(?:[\w-].?,?\s?){2,99})) +0ms
Common Try to match (lemma)'be there a way to enjoy run outside in this awful toronto cold weather ? ( - 17 celsius with wind chill )' against (\s?(?:[\w-].?,?\s?){2,99}) ((\s?(?:[\w-].?,?\s?){2,99}))

Which is the second last trigger in the script (used as a catchall):
+ *(2-99)
Note, there was already a match in the pre topic that returned a reply, but it then continued the search. Also I am running this with chunking turned off.
Full debug:
Script Message Recieved from '1' +32s Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)
  mquery findOne +32s { id: '1' } { fields: undefined }
  Script IN MessageFactory +1s Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)
  Message Creating message from: +0ms Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)
  Message fullnames +950ms names []
  Message Fetch List +1ms
  Message fullnames +12ms nouns [ 'wind chill' ]
  Message Message +1ms { id: 'pUKqJXSd',
  facts:
   { conceptToList: [Function],
     findParentConcepts: [Function],
     create: [Function],
     db:
      { breadthFirst: [Function: breadthFirst],
        deepFirst: [Function: deepFirst] },
     createUserDB: [Function],
     createUserDBWithData: [Function],
     loadFile: [Function] },
  createdAt: Tue Jan 12 2016 13:31:57 GMT-0500 (EST),
  raw: 'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)',
  original: 'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)',
  props: {},
  clean: 'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)',
  dict:
   { words:
      [ [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object] ] },
  words:
   [ 'Is',
     'there',
     'a',
     'way',
     'to',
     'enjoy',
     'running',
     'outside',
     'in',
     'this',
     'awful',
     'Toronto',
     'cold',
     'weather',
     '?',
     '(',
     '-',
     '17',
     'Celsius',
     'with',
     'wind',
     'chill',
     ')' ],
  cwords:
   [ 'Is',
     'there',
     'a',
     'way',
     'to',
     'enjoy',
     'running',
     'outside',
     'in',
     'this',
     'awful',
     'Toronto',
     'cold',
     'weather',
     '?',
     '(',
     '-',
     '17',
     'Celsius',
     'with',
     'wind',
     'chill',
     ')' ],
  taggedWords:
   [ [ 'Is', 'VBZ' ],
     [ 'there', 'EX' ],
     [ 'a', 'DT' ],
     [ 'way', 'NN' ],
     [ 'to', 'TO' ],
     [ 'enjoy', 'VB' ],
     [ 'running', 'VBG' ],
     [ 'outside', 'IN' ],
     [ 'in', 'IN' ],
     [ 'this', 'DT' ],
     [ 'awful', 'JJ' ],
     [ 'Toronto', 'NNP' ],
     [ 'cold', 'JJ' ],
     [ 'weather', 'NN' ],
     [ '?', '.' ],
     [ '(', '(' ],
     [ '-', ':' ],
     [ '17', 'CD' ],
     [ 'Celsius', 'NNP' ],
     [ 'with', 'IN' ],
     [ 'wind', 'NN' ],
     [ 'chill', 'NN' ],
     [ ')', ')' ] ],
  lemWords:
   [ 'be',
     'there',
     'a',
     'way',
     'to',
     'enjoy',
     'run',
     'outside',
     'in',
     'this',
     'awful',
     'toronto',
     'cold',
     'weather',
     '?',
     '(',
     '-',
     '17',
     'celsius',
     'with',
     'wind',
     'chill',
     ')' ],
  lemString: 'be there a way to enjoy run outside in this awful toronto cold weather ? ( - 17 celsius with wind chill )',
  posString: 'VBZ EX DT NN TO VB VBG IN IN DT JJ NNP JJ NN . ( : CD NNP IN NN NN )',
  qtype: 'NUM:expression',
  qSubType: 'YN',
  isQuestion: true,
  sentiment: 0,
  nouns: [ 'way', 'toronto', 'weather', 'celsius', 'wind', 'chill' ],
  names: [ 'Toronto', 'Celsius' ],
  list: [],
  adjectives: [ 'awful', 'cold' ],
  adverbs: [],
  verbs: [ 'be', 'enjoy', 'run' ],
  pnouns: [],
  pronouns: [],
  compareWords: [],
  numbers: [ '17' ],
  compare: false,
  date: null,
  cNouns: [ 'way', 'weather', 'wind', 'chill' ],
  numericExp: false,
  halfNumericExp: true,
  entities: [ 'way', 'Toronto', 'weather', 'Celsius', 'wind chill' ] }
  User getTopic +0ms random
  mquery find +1s {} { fields: undefined }
  GetReply Topics to check +0ms [ { name: '__pre__', type: 'TOPIC', id: 569544b81fd06e5477bd787b },
  { name: 'random', type: 'TOPIC', id: 569544a91fd06e5477bd780a },
  { name: '__post__', type: 'TOPIC', id: 569544b81fd06e5477bd787e } ]
  mquery findOne +12ms { _id: 569544b81fd06e5477bd787b } { fields: undefined }
  mquery find +4ms { _id: { '$in': [ 569544b81fd06e5477bd787c ] } } { fields: undefined }
  Common Looking back Topic +0ms 569544b81fd06e5477bd787b
  mquery findOne +5ms { _id: 569544b81fd06e5477bd787b } { fields: { gambits: 1 } }
  mquery find +2ms { _id: { '$in': [ 569544b81fd06e5477bd787c ] } } { fields: undefined }
  mquery find +2ms { _id: { '$in': [ 569544b81fd06e5477bd787d ] } } { fields: undefined }
  Common Try to match (clean)'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' against (?:.*?) ((?:.*?)) +8ms
  Common Try to match (lemma)'be there a way to enjoy run outside in this awful toronto cold weather ? ( - 17 celsius with wind chill )' against (?:.*?) ((?:.*?)) +0ms
  Common We have a filter function +0ms ^testState(null)
  Common Filter Function Found +1ms [ '^testState(null)',
  'testState',
  'null',
  index: 0,
  input: '^testState(null)' ]
  Common Calling Plugin Function +0ms testState
  Utils Plugin Testing for: null, against user state: null  +0ms
  Utils Plugin TRUE +1ms
  Common filterReply +1ms true
  Common Match found +0ms { _id: 569544b81fd06e5477bd787c,
  trigger: '(?:.*?)',
  input: '*',
  __v: 1,
  redirect: '',
  replies:
   [ { _id: 569544b81fd06e5477bd787d,
       reply: '^trackEvent(new)^topicRedirect(__onboarding__, __welcome__)',
       parent: '569544b81fd06e5477bd787c',
       __v: 0,
       gambits: [],
       filter: '',
       keep: false,
       id: '1pKpNgpD' } ],
  filter: '^testState(null)',
  qSubType: '',
  qType: '',
  isQuestion: false,
  id: 'Q2Clwsks' } [ 'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)',
  index: 0,
  input: 'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' ]
  mquery findOne +7ms { _id: 569544a91fd06e5477bd780a } { fields: undefined }
  mquery find +1ms { _id:
   { '$in':
      [ 569544a91fd06e5477bd780b,
        569544aa1fd06e5477bd780d,
        569544aa1fd06e5477bd7812,
        569544ab1fd06e5477bd7815,
        569544ab1fd06e5477bd781c,
        569544ad1fd06e5477bd782a,
        569544ad1fd06e5477bd782c,
        569544ad1fd06e5477bd782e,
        569544ad1fd06e5477bd7830,
        569544ae1fd06e5477bd7835,
        569544b11fd06e5477bd7841,
        569544b41fd06e5477bd784e,
        569544b41fd06e5477bd7850,
        569544b41fd06e5477bd7852,
        569544b51fd06e5477bd7858,
        569544b51fd06e5477bd785c ] } } { fields: undefined }
  Common Looking back Topic +11ms 569544a91fd06e5477bd780a
  mquery findOne +8ms { _id: 569544a91fd06e5477bd780a } { fields: { gambits: 1 } }
  mquery find +2ms { _id:
   { '$in':
      [ 569544a91fd06e5477bd780b,
        569544aa1fd06e5477bd780d,
        569544aa1fd06e5477bd7812,
        569544ab1fd06e5477bd7815,
        569544ab1fd06e5477bd781c,
        569544ad1fd06e5477bd782a,
        569544ad1fd06e5477bd782c,
        569544ad1fd06e5477bd782e,
        569544ad1fd06e5477bd7830,
        569544ae1fd06e5477bd7835,
        569544b11fd06e5477bd7841,
        569544b41fd06e5477bd784e,
        569544b41fd06e5477bd7850,
        569544b41fd06e5477bd7852,
        569544b51fd06e5477bd7858,
        569544b51fd06e5477bd785c ] } } { fields: undefined }
  mquery find +7ms { _id: { '$in': [ 569544aa1fd06e5477bd780c ] } } { fields: undefined }
  mquery find +1ms { _id:
   { '$in':
      [ 569544aa1fd06e5477bd780e,
        569544aa1fd06e5477bd780f,
        569544aa1fd06e5477bd7810,
        569544aa1fd06e5477bd7811 ] } } { fields: undefined }
  mquery find +1ms { _id: { '$in': [ 569544aa1fd06e5477bd7813, 569544aa1fd06e5477bd7814 ] } } { fields: undefined }
  mquery find +1ms { _id:
   { '$in':
      [ 569544ab1fd06e5477bd7816,
        569544ab1fd06e5477bd7817,
        569544ab1fd06e5477bd7818,
        569544ab1fd06e5477bd7819,
        569544ab1fd06e5477bd781a,
        569544ab1fd06e5477bd781b ] } } { fields: undefined }
  mquery find +0ms { _id:
   { '$in':
      [ 569544ab1fd06e5477bd781d,
        569544ab1fd06e5477bd781e,
        569544ac1fd06e5477bd781f,
        569544ac1fd06e5477bd7820,
        569544ac1fd06e5477bd7821,
        569544ac1fd06e5477bd7822,
        569544ac1fd06e5477bd7823,
        569544ac1fd06e5477bd7824,
        569544ac1fd06e5477bd7825,
        569544ac1fd06e5477bd7826,
        569544ac1fd06e5477bd7827,
        569544ac1fd06e5477bd7828,
        569544ac1fd06e5477bd7829 ] } } { fields: undefined }
  mquery find +1ms { _id: { '$in': [ 569544ad1fd06e5477bd782b ] } } { fields: undefined }
  mquery find +0ms { _id: { '$in': [ 569544ad1fd06e5477bd782d ] } } { fields: undefined }
  mquery find +1ms { _id: { '$in': [ 569544ad1fd06e5477bd782f ] } } { fields: undefined }
  mquery find +1ms { _id:
   { '$in':
      [ 569544ad1fd06e5477bd7831,
        569544ad1fd06e5477bd7832,
        569544ad1fd06e5477bd7833,
        569544ae1fd06e5477bd7834 ] } } { fields: undefined }
  mquery find +1ms { _id:
   { '$in':
      [ 569544ae1fd06e5477bd7836,
        569544ae1fd06e5477bd7837,
        569544ae1fd06e5477bd7838,
        569544af1fd06e5477bd7839,
        569544af1fd06e5477bd783a,
        569544af1fd06e5477bd783b,
        569544b01fd06e5477bd783c,
        569544b01fd06e5477bd783d,
        569544b01fd06e5477bd783e,
        569544b01fd06e5477bd783f,
        569544b01fd06e5477bd7840 ] } } { fields: undefined }
  mquery find +1ms { _id:
   { '$in':
      [ 569544b11fd06e5477bd7842,
        569544b11fd06e5477bd7843,
        569544b11fd06e5477bd7844,
        569544b11fd06e5477bd7845,
        569544b21fd06e5477bd7846,
        569544b21fd06e5477bd7847,
        569544b21fd06e5477bd7848,
        569544b21fd06e5477bd7849,
        569544b31fd06e5477bd784a,
        569544b31fd06e5477bd784b,
        569544b31fd06e5477bd784c,
        569544b41fd06e5477bd784d ] } } { fields: undefined }
  mquery find +0ms { _id: { '$in': [ 569544b41fd06e5477bd784f ] } } { fields: undefined }
  mquery find +1ms { _id: { '$in': [ 569544b41fd06e5477bd7851 ] } } { fields: undefined }
  mquery find +0ms { _id:
   { '$in':
      [ 569544b41fd06e5477bd7853,
        569544b41fd06e5477bd7854,
        569544b41fd06e5477bd7855,
        569544b41fd06e5477bd7856,
        569544b41fd06e5477bd7857 ] } } { fields: undefined }
  mquery find +1ms { _id:
   { '$in':
      [ 569544b51fd06e5477bd7859,
        569544b51fd06e5477bd785a,
        569544b51fd06e5477bd785b ] } } { fields: undefined }
  mquery find +0ms { _id: { '$in': [ 569544b51fd06e5477bd785d ] } } { fields: undefined }
  Common Try to match (clean)'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' against (\btip\b|\bask\b)\s? ((\btip\b|\bask\b)\s?) +52ms
  Common Try to match (lemma)'be there a way to enjoy run outside in this awful toronto cold weather ? ( - 17 celsius with wind chill )' against (\btip\b|\bask\b)\s? ((\btip\b|\bask\b)\s?) +0ms
  Common Try to match (clean)'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' against answer (answer) +0ms
  Common Try to match (lemma)'be there a way to enjoy run outside in this awful toronto cold weather ? ( - 17 celsius with wind chill )' against answer (answer) +1ms
  Common Try to match (clean)'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' against next (next) +0ms
  Common Try to match (lemma)'be there a way to enjoy run outside in this awful toronto cold weather ? ( - 17 celsius with wind chill )' against next (next) +0ms
  Common Try to match (clean)'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' against __nomore__ (__nomore__) +0ms
  Common Try to match (lemma)'be there a way to enjoy run outside in this awful toronto cold weather ? ( - 17 celsius with wind chill )' against __nomore__ (__nomore__) +0ms
  Common Try to match (clean)'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' against __nextquestion__ (__nextquestion__) +0ms
  Common Try to match (lemma)'be there a way to enjoy run outside in this awful toronto cold weather ? ( - 17 celsius with wind chill )' against __nextquestion__ (__nextquestion__) +0ms
  Common Try to match (clean)'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' against feedback (feedback) +0ms
  Common Try to match (lemma)'be there a way to enjoy run outside in this awful toronto cold weather ? ( - 17 celsius with wind chill )' against feedback (feedback) +0ms
  Common Try to match (clean)'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' against support (support) +0ms
  Common Try to match (lemma)'be there a way to enjoy run outside in this awful toronto cold weather ? ( - 17 celsius with wind chill )' against support (support) +0ms
  Common Try to match (clean)'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' against (\bhow\b|\bhow to\b|\bhow do\b|\bhowto\b|\bhowdo\b|\bcommand\b)\s? ((\bhow\b|\bhow to\b|\bhow do\b|\bhowto\b|\bhowdo\b|\bcommand\b)\s?) +0ms
  Common Try to match (lemma)'be there a way to enjoy run outside in this awful toronto cold weather ? ( - 17 celsius with wind chill )' against (\bhow\b|\bhow to\b|\bhow do\b|\bhowto\b|\bhowdo\b|\bcommand\b)\s? ((\bhow\b|\bhow to\b|\bhow do\b|\bhowto\b|\bhowdo\b|\bcommand\b)\s?) +1ms
  Common Try to match (clean)'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' against (\bask\b|\bhow\b|\bfeedback\b|\bsupport\b|\banswer\b|\bnext\b)\s? *(\b2-99\b)\s? ((\bask\b|\bhow\b|\bfeedback\b|\bsupport\b|\banswer\b|\bnext\b)\s? *(\b2-99\b)\s?) +0ms
  Common Try to match (lemma)'be there a way to enjoy run outside in this awful toronto cold weather ? ( - 17 celsius with wind chill )' against (\bask\b|\bhow\b|\bfeedback\b|\bsupport\b|\banswer\b|\bnext\b)\s? *(\b2-99\b)\s? ((\bask\b|\bhow\b|\bfeedback\b|\bsupport\b|\banswer\b|\bnext\b)\s? *(\b2-99\b)\s?) +0ms
  Common Try to match (clean)'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' against (?:\s*(\S+(:?\s+\S+){0})\s*|\s*)~emohello(?:\s*(\s?(?:[\w-]*\.?\,?\s?){1,5})\s*|\s*) ((?:\s*(\S+(:?\s+\S+){0})\s*|\s*)~emohello(?:\s*(\s?(?:[\w-]*\.?\,?\s?){1,5})\s*|\s*)) +0ms
  Common Try to match (lemma)'be there a way to enjoy run outside in this awful toronto cold weather ? ( - 17 celsius with wind chill )' against (?:\s*(\S+(:?\s+\S+){0})\s*|\s*)~emohello(?:\s*(\s?(?:[\w-]*\.?\,?\s?){1,5})\s*|\s*) ((?:\s*(\S+(:?\s+\S+){0})\s*|\s*)~emohello(?:\s*(\s?(?:[\w-]*\.?\,?\s?){1,5})\s*|\s*)) +0ms
  Common Try to match (clean)'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' against (?:\s*(\s?(?:[\w-]*\.?\,?\s?){1,3})\s*|\s*)~emothanks(?:\s*(\s?(?:[\w-]*\.?\,?\s?){1,3})\s*|\s*) ((?:\s*(\s?(?:[\w-]*\.?\,?\s?){1,3})\s*|\s*)~emothanks(?:\s*(\s?(?:[\w-]*\.?\,?\s?){1,3})\s*|\s*)) +0ms
  Common Try to match (lemma)'be there a way to enjoy run outside in this awful toronto cold weather ? ( - 17 celsius with wind chill )' against (?:\s*(\s?(?:[\w-]*\.?\,?\s?){1,3})\s*|\s*)~emothanks(?:\s*(\s?(?:[\w-]*\.?\,?\s?){1,3})\s*|\s*) ((?:\s*(\s?(?:[\w-]*\.?\,?\s?){1,3})\s*|\s*)~emothanks(?:\s*(\s?(?:[\w-]*\.?\,?\s?){1,3})\s*|\s*)) +0ms
  Common Try to match (clean)'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' against set email(?:.*\s?) (set email(?:.*\s?)) +1ms
  Common Try to match (lemma)'be there a way to enjoy run outside in this awful toronto cold weather ? ( - 17 celsius with wind chill )' against set email(?:.*\s?) (set email(?:.*\s?)) +0ms
  Common Try to match (clean)'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' against set name (\s?(?:[\w-]*\.?\,?\s?){1,6}) (set name (\s?(?:[\w-]*\.?\,?\s?){1,6})) +0ms
  Common Try to match (lemma)'be there a way to enjoy run outside in this awful toronto cold weather ? ( - 17 celsius with wind chill )' against set name (\s?(?:[\w-]*\.?\,?\s?){1,6}) (set name (\s?(?:[\w-]*\.?\,?\s?){1,6})) +0ms
  Common Try to match (clean)'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' against (\S+(:?\s+\S+){0}) ((\S+(:?\s+\S+){0})) +0ms
  Common Try to match (lemma)'be there a way to enjoy run outside in this awful toronto cold weather ? ( - 17 celsius with wind chill )' against (\S+(:?\s+\S+){0}) ((\S+(:?\s+\S+){0})) +0ms
  Common Try to match (clean)'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' against (\s?(?:[\w-]*\.?\,?\s?){2,99}) ((\s?(?:[\w-]*\.?\,?\s?){2,99})) +0ms
  Common Try to match (lemma)'be there a way to enjoy run outside in this awful toronto cold weather ? ( - 17 celsius with wind chill )' against (\s?(?:[\w-]*\.?\,?\s?){2,99}) ((\s?(?:[\w-]*\.?\,?\s?){2,99})) +0ms

This input also produces the same result:

Are compression socks helpful with shin pain? Sharp pain straight up the inside edge of both shins.

As does this one:

Here are the answers that came in:

Have been able to reproduce with both chunking true and false.

Also... have confirmed it can NOT be reproduced against a * catchall trigger, but it CAN be reproduced with a *~99 catchall trigger.

Looks like we have it fixed!
  Regex Reply Parse
  suite (:?(\(?[\w-]+\??\.?\,?\s*\~?\)?){2,99})\s? +0ms
    ✓ Test 'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' '*(2-99)' should be true
  suite (\s?(?:[\w-]*\??\.?\,?\s*\~?\(?\)?){0,99}) +5ms
    ✓ Test 'Is there a way to enjoy running outside in this awful Toronto cold weather? (-17 Celsius with wind chill)' '*~99' should be true


Expressing non-numeric float values

The Go implementation of floating point used by zq (https://golang.org/pkg/math/) includes the concepts of +/- Infinity and NaN. Since ZNG uses this for its underlying storage, it's technically feasible for these non-numeric values to be written/read as ZNG today. However, due to lack of full support all the way into the upper layers of the Zed language, the following gaps remain:

There are no float literals in the Zed language that match the underlying Go constructs (i.e. no way for a user to check if a field contains one of these non-numeric values).
There's no conventions in ZSON for presenting these values. (i.e. no way for data to take a "round trip" from binary ZNG to ZSON presentation and then back to being stored as binary ZNG again).

@nwt this is done right?

This has been done...
% echo '+Inf -Inf NaN' | zq "yield typeof(this)" -
(float64)
(float64)
(float64)


Fix Tag-generator component for new API

Overview
Update logic in Tag-generator component for getting organization and org-tags from new API
Get organization names for auto-complete drop-down of Tag-generator
Get org tags from API

I have created a draft of PR for this issue. I have included tag-generator-spec. The tests are passing on my end. I am not sure if the tests are still flaky.


Update Syn to 0.15.0

The Syn library has been under active development, and the current release is 0.15.0. MinkSelenium2Driver uses 0.0.3 currently.
In 0.15.0 there was a fix for the deprecated which property.
https://github.com/bitovi/syn/issues/180
This affects any sites that are running tests with keyPress events if, for example- they use the latest jQuery 3.6.0 that removed a shim for this property.
https://github.com/jquery/jquery/pull/4765
There was discussion about updating Syn in:

https://github.com/minkphp/MinkSelenium2Driver/issues/279
https://github.com/minkphp/MinkSelenium2Driver/issues/20

The minified js in this PR comes from the v0.15.0 tag of https://github.com/bitovi/syn
I added
options: {
  minify: true
},

to the export command in build.js and ran npm run build to produce dist/global/syn.js
In Selenium2Driver.php updated Syn to syn and updated the trigger function since the order of arguments has changed.

@aik099 #358 was merged, let's close this PR

Closing in favor of #358 .


Invalid Headers Cause Unexpected Crash

If a header name or value is invalid (such as a space at the beginning), it will cause Stumps to crash unexpectedly.

Included in v0.3.2.


Excel,Docs Files Not supported in Base64 Input method

Hi Team,
I try to load the files using the Base64 method. such as below
<DocViewer
documents={[{uri: this.state.FileBase64}]}
pluginRenderers={DocViewerRenderers} config={{header:{  disableHeader: true,
disableFileName:true}}}/>
Its working fine for PDF and Images but not working for Docx,doc,xlsx files.

please help me to fix this issue

The included renderer for Microsoft doc files etc. Only allow for URLs at this time.
You could create a custom renderer if required

From: knaveenstar<EMAIL_ADDRESS>Sent: 24 December 2020 15:51
To: Alcumus/react-doc-viewer<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [Alcumus/react-doc-viewer] Excel,Docs Files Not supported in Base64 Input method (#66)
Hi Team,
I try to load the files using the Base64 method. such as below
<DocViewer
documents={[{uri: this.state.FileBase64}]}
pluginRenderers={DocViewerRenderers} config={{header:{ disableHeader: true,
disableFileName:true}}}/>
Its working fine for PDF and Images but not working for Docx,doc,xlsx files.
[image]https://user-images.githubusercontent.com/30283702/103097616-d838b600-462d-11eb-92e1-2b13d3bb8e97.png
please help me to fix this issue
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/Alcumus/react-doc-viewer/issues/66, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQR5QD2XZQNXB64IUEQVBS3SWNPPHANCNFSM4VIKOP4A.
Registered in England. Registered office: Axys House, Heol Crochendy, Parc Nantgarw, Cardiff, CF15 7TW. Alcumus Group Limited’s company registration number: 09793309
This e-mail (including any attachments) is intended only for the recipient(s) named above. It may contain confidential or privileged information and should not be read, copied or otherwise used or disseminated by any unauthorised person. If you are not the named recipient, please contact the sender and delete the e-mail from your system.
Although Alcumus believes this e-mail and any attachments to be free of any virus or other defect, which may affect your computer, it is the responsibility of the recipient to ensure that it is virus free and Alcumus does not accept any responsibility for any loss or damage arising in any way from its use.
Finally, you should be aware that Alcumus reserves the right and intends to intercept and monitor incoming and outgoing e-mail correspondence, so you should not expect any e-mail communications to be private in nature.

HI Alucumus,
can you please help me create the custom render which supports base64 as input and support for office file such as word,excel and PPT

@knaveenstar Hi,
There are ways to convert DocX to html and possibly pdf.
But there's not really a common way to locally render all ms docs. Each ms document type is very complex on its own and would take A LOT of manual conversion to display in the browser.

HI Alucumus,
can you please help me create the custom render which supports base64 as input and support for office file such as word,excel and PPT

@knaveenstar hi,
do you find any solution for rendering docx, ppt files using base64, i had same scenario for my current work. any suggestions might be useful.
Thanks
Shanthakumar

Docs and excel files not working


CHIPDeviceController.cpp:1418: CHIP Error 0x000000AC

Problem
https://github.com/project-chip/connectedhomeip/runs/4922066894?check_suite_focus=true
2022-01-24 13:39:57.720 ERROR   13:39:57.447 - PAIR OUT  : [1643031597442] [9757:68401] CHIP: [CTL] Device failed to receive the operational certificate Response: 0x01
1120
2022-01-24 13:39:57.720 ERROR   13:39:57.447 - PAIR OUT  : [1643031597442] [9757:68401] CHIP: [TOO] Secure Pairing Failed
1121
2022-01-24 13:39:57.720 ERROR   13:39:57.447 - PAIR OUT  : [1643031597446] [9757:68401] CHIP: [TOO] Pairing Failure: ../../examples/chip-tool/third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1418: CHIP Error 0x000000AC: Internal error
1122
2022-01-24 13:39:57.720 ERROR   13:39:57.447 - PAIR OUT  : [1643031597447] [9757:68401] CHIP: [DMG] ICR moving to [AwaitingDe]
1123
2022-01-24 13:39:57.720 ERROR   13:39:57.447 - PAIR OUT  : [1643031597447] [9757:68397] CHIP: [-] ../../examples/chip-tool/third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1418: CHIP Error 0x000000AC: Internal error at ../../examples/chip-tool/commands/common/CHIPCommand.cpp:59
1124
2022-01-24 13:39:57.721 ERROR   13:39:57.486 - PAIR OUT  : [1643031597447] [9757:68397] CHIP: [TOO] Run command failure: ../../examples/chip-tool/third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1418: CHIP Error 0x000000AC: Internal error
1125

Proposed Solution
Fix

Looks like the device is crashing during processing of AddNOC command
2022-01-24 13:39:57.714 ERROR   13:39:45.453 - APP  ERR  : AddressSanitizer:DEADLYSIGNAL
1072
2022-01-24 13:39:57.714 ERROR   13:39:45.453 - APP  ERR  : =================================================================
1073
2022-01-24 13:39:57.714 ERROR   13:39:45.454 - APP  ERR  : ==9756==ERROR: AddressSanitizer: SEGV on unknown address 0x000125000050 (pc 0x7fff2044a41f bp 0x70000e3d32f0 sp 0x70000e3d3058 T2)

Another:

logs_731128.zip
Adding logs @pan-apple

(Seen 4 tonight)

Fwiw, this is the typical failrure I have been getting on https://github.com/project-chip/connectedhomeip/pull/14342 as well.  Typically the stack under AddNOC ends up in the KVS bits where ASAN then kills things because it doesn't like what's happening.

Another:
https://github.com/project-chip/connectedhomeip/runs/4961578317?check_suite_focus=true

This one seems like a different failure
2022-01-27 04:57:43.917 ERROR   04:57:38.982 - APP  OUT  : [1643259458982] [62509:165733] CHIP: [IN] Sending encrypted msg 0x10e3f8810 with MessageCounter:14836182 to 0x000000000001B669 (1) at monotonic time: 1900277 msec
4422
2022-01-27 04:57:43.917 ERROR   04:57:41.009 - APP  OUT  : [1643259461007] [62509:164977] CHIP: [EM] Failed to Send CHIP MessageCounter:14836182 on exchange 27878r sendCount: 3 max retries: 3

This was identified to be cross talk, and resolved.

This was identified to be cross talk, and resolved.

Hi, I also met the same problem. Can you explain how to solve it? Thank you.


Assign Task - Input not highlighted when we go back from confirm task page to new task page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Start Assign task workflow
Give some name
Click on Next
Click on back arrow in header
Notice the name input is not autofocussed

Expected Result:
Input for Name should be autofocussed
Actual Result:
Not auto focussed
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome
[x] MacOS / Desktop

Version Number: 1.3.55-7
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/26405083-557d-4310-b632-3ffdd87864d4
https://github.com/Expensify/App/assets/78819774/ee0974e5-0014-44d5-9fca-e9506d4717b8
Expensify/Expensify Issue URL:
Issue reported by: @BhuvaneshPatil
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691346531750989
View all open jobs on GitHub

Was able to reproduce this, but I don't think it's a bug. It's in line with how other multi-page flows work in NewDot (see my video to show the VBA setup flow as an example).
https://github.com/Expensify/App/assets/59587260/f3f09435-af74-49fa-a188-fd09114b974e
Closing as not a bug.


[tuify][giti] If user deletes the branch they are on switch them to main/master branch

Currently if a user is on a feature branch and then tries to delete that branch, they get an error.
Change that so if user is on a feature branch and then tries to delete that branch, we switch them to main/master branch and delete the current feature branch. If they don't have a main/master branch for whatever reason, we give them an error saying that they need to switch to another branch to delete current branch. Please come up with a good UX and copy for that.

I merged this issue with #272


[azure sql database] Fail to call azure rest api to get azure sql resources when resources has special characters, e.g., '/' and '%'

When I am trying out this API

when my azure sql schema contains special character '/', it will report
{"error":{"code":"ResourceNotFound","message":"The specified resource '***' was not found."}};
when my azure sql schema contains special character '%', it will report
{
"error": {
"code": "InvalidDoubleEncodedRequestUri",
"message": "The request URI '**/schemas/testpercent%25schema/tables?api-version=2021-02-01-preview' is not valid, because it contains double encoding sequence '%25'."
}
}

Adding Service team to look into this.

@navba-MSFT  any updates here?


Provide a version attribute in the package’s namespace.

Currently (I think) setuptools_scm only defines the version of the package, but this is not retrievable in Python

This was added in https://github.com/neuroinformatics-unit/python-cookiecutter/pull/18


Codepaths to remove in the future

Here are some temporary codepaths we should remove one day:

Our conversion of Js.t (#291, #317)
Attribute and extension point bs.* conversion (#294)
react jsx ppx 3 (#124, #159)
if-let (#12) not that we'll remove it, just that it's pending, so we should be aware of it
if we ever truly stop using some keywords:

to, downto (#327)
with (#329)

Conversion of Pexp_apply("##", arg1, arg2) to Pexp_send


mvn complains  Unknown lifecycle phase ".skip=true" on Windows

Description:
Github action defines the following yaml file. It fails with  Unknown lifecycle phase ".skip=true". You must specify a valid lifecycle phase or a goal in the format ....
This works on Linux.
Task version:
      - name: Set up JDK
        uses: actions/setup-java@v2
        with:
          java-version: 11
          distribution: 'adopt'
      - name:build project
        working-directory: ./foo
        run: |
          mvn -DskipTests=true -Denforcer.skip=true -Prelease clean install

Platform:

[x ] Windows

Runner type:

[x ] Hosted

Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link.
Expected behavior:
mvn run sueccessfully
Actual behavior:
mvn failed with Unknown lifecycle phase ".skip=true". You must specify a valid lifecycle phase or a goal in the format :

Hello @jimma. Thank you for your report. It looks like the root of the issue is not from setup-java action. I run a code without action and could reproduce it. Could you please try to use some variants:

Specify bash shel

      - name:build project
        shell: bash
        working-directory: ./foo
        run: |
          mvn -DskipTests=true -Denforcer.skip=true -Prelease clean install

Could you please try to execute it as: mvn -DskipTests=true -D enforcer.skip=true -Prelease clean install
As I know in powershell and cmd dot has special meaning. Could you please try to execute it as:

mvn -DskipTests=true `-Denforcer`.skip=true -Prelease clean install

You should be able to workaround this with single quotes, e.g. '-Denforcer.skip=true'.

Thanks @dmitry-shibanov @jamezp . it turns out the single quotes '-Denforcer.skip=true' works as @jamezp suggested.


Add OneHotEncoder Ability to collapse infrequent values issue 26

Related Issue
Fixes issue #26
Description

Add UncommonRemover internal transformer to remove infrequent values in a categorical column
Re-format smart transformers to have constructors and document parameters
Add UncommonRemover as a preprocessing step to OneHotEncoder
Add relevant tests

Pull Request Test Coverage Report for Build 129

38 of 38 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 110:
0.0%

Covered Lines:
1070

Relevant Lines:
1070

💛  - Coveralls


Make config.cs a link

To make it easier to find the Config.cs file that is referred to I made it into a link.

sure :) thanks


[Event Hubs Client] September Release Preparation (Core)

Summary
The focus of these changes is to prepare the core Azure.Messaging.EventHubs library for its September release.
Last Upstream Rebase
Saturday, September 5, 10:02am (EDT)

Once committed to this release branch, I'll cherry-pick and merge to master in a separate PR.


[FEATURE REQUEST] Import through PDFs

It would be nice if we could import PDFs into the app for photo additions and stuff.
It helps to transition from my previous PDF scanning app to here.
The only other way to bring PDFs here is to convert it to images, which is tedious.

Duplicate of #138

@Tarek-Hasan @vishalscodes  it is now implemented in latest android version (ios to come later)


gcloud auth?

Good morning...
On a GCP VM, running the script from command line works as expected:
root@hal:/opt/google-compute-snapshot# /opt/google-compute-snapshot/gcloud-snapshot.sh -p hal
[2019-01-28 10:54:36]: Start of google-compute-snapshot
[2019-01-28 10:54:37]: Handling Snapshots for hal
Listed 0 items.
Creating snapshot(s) hal-hal-1548672876...
..............done.
[2019-01-28 10:54:52]: Handling Snapshots for rsyslog-disk
Listed 0 items.
Creating snapshot(s) hal-rsyslog-disk-1548672876...
................................done.
[2019-01-28 10:55:22]: End of google-compute-snapshot

But from a cron job:
51 10 * * * /opt/google-compute-snapshot/gcloud-snapshot.sh -p hal > /opt/google-compute-snapshot/gcloud-snapshot.log

... there's 'no disks':
root@hal:/opt/google-compute-snapshot# cat /opt/google-compute-snapshot/gcloud-snapshot.log
[2019-01-28 10:51:01]: Start of google-compute-snapshot
[ERROR]: No disks were found - please check your script options / account permissions.

I suspected gcloud auth, but that looks correct:
root@hal:/opt/google-compute-snapshot# gcloud auth list
                  Credentialed Accounts
ACTIVE  ACCOUNT
*<EMAIL_ADDRESS>
To set the active account, run:
    $ gcloud config set account `ACCOUNT`

root@hal:/opt/google-compute-snapshot#

Checked path too:
root@hal:/opt/google-compute-snapshot# which gcloud
/snap/bin/gcloud
root@hal:/opt/google-compute-snapshot# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
root@hal:/opt/google-compute-snapshot#

After some testing, it appears that gcloud auth was indeed the issue; when executed from cron, it appears that root's environment isn't picked up, and as such, there's no auth.
A workaround was to change cron line to make use of sudo:
0 1 * * * sudo -u root /opt/google-compute-snapshot/gcloud-snapshot.sh -q -p hal 2>&1 > /opt/google-compute-snapshot/gcloud-snapshot.log

I appreciate that this isn't an issue with your script, but figured the workaround may be useful to others if added to documentation.
Best,
-Lee

Thanks for your feedback @leeblackwell - I'll update the README to include the sudo

Finally got round to it!  Thanks again

@jacksegal I'm not sure the update to the README is correct. @leeblackwell appears to be running the crontab entry from a users crontab. Your readme correctly had "root" at the start of the crontab file, which in /etc/crontab says to run as root. Maybe the update to the readme should be to explain where to put the crontab.
If putting in a users crontab, then you'll want to put it in the root users crontab, and then the correct line is
0 5 * * * /opt/google-compute-snapshot/gcloud-snapshot.sh > /dev/null 2>&1

Which is what @leeblackwell appeared to have.
If putting it in a system crontab (/etc/crontab) then what you had in the readme before is correct.
0 5 * * * root /opt/google-compute-snapshot/gcloud-snapshot.sh > /dev/null 2>&1

Sudo shouldn't be used in a crontab, as often sudo requires a password to work, which won't work in a crontab. You should instead put the cron entry in the correct users crontab to start with, so sudo isn't required.

Hi @leeblackwell
Can you confirm how you are running the cron?
Is it from the system crontab (/etc/crontab)?  Or from a user's crontab (crontab -e)?


"Permission denied" on Google App Engine

I'm getting the exception below when using update_status() on GAE:
TweepError: Failed to send request: ('Connection aborted.', error(13, 'Permission denied'))

I'm so furious about this issue!!!

Is there any more insight into this issue? Would love to create a patch and contribute it if anyone has any further ideas on how to fix it!

Is there any fix for this issue yet so i can run in development?

Kind of hacky, but this seems to be a workaround for now:
import sys
import os

def is_development_server():
   """Use environment variable to test if this is the development
   server.

   """
   return os.environ['APPLICATION_ID'].startswith('dev~')

# See http://stackoverflow.com/a/24066819/500584. The order of all of
# these things matters!
if is_development_server():
   from google.appengine.tools.devappserver2.python import sandbox
   sandbox._WHITE_LIST_C_MODULES += ['_ssl', '_socket']
   import stdlib_socket
   sys.modules['socket'] = stdlib_socket

import tweepy

Mostly this was from this stack overflow answer.
Also, make sure to have this in your app.yaml, see here:
libraries:
- name: ssl
  version: latest

env_variables:
  GAE_USE_SOCKETS_HTTPLIB : '53778008'

Thanks for the workaround!
Seemed promising although doesn't appear work to work:
app.yaml
libraries:
- name: ssl
  version: latest

env_variables:
  GAE_USE_SOCKETS_HTTPLIB : True #Also tried '53778008'

main.py
"""`main` is the top level module for your Flask application."""
import sys
import os
import logging

def is_development_server():
    """Use environment variable to test if this is the development
    server.

    """
    return os.environ['APPLICATION_ID'].startswith('dev~')

# See http://stackoverflow.com/a/24066819/500584. The order of all of
# these things matters!
if is_development_server():
    logging.info("is_development_server: setting up local SSL")

    from google.appengine.tools.devappserver2.python import sandbox
    sandbox._WHITE_LIST_C_MODULES += ['_ssl', '_socket']
    from tweetdebate import jrgrafton_socket
    sys.modules['socket'] = jrgrafton_socket

import tweepy

console logs
INFO     2016-01-12 08:04:20,823 main.py:16] is_development_server: setting up local SSL
INFO     2016-01-12 08:04:20,824 twitter_stream.py:35] start:
INFO     2016-01-12 08:04:20,831 connectionpool.py:758] Starting new HTTPS connection (1): userstream.twitter.com
INFO     2016-01-12 08:04:21,437 module.py:401] [default] Detected file changes:
  /Users/jrgrafton/Documents/tweet-debate/lib/tweepy
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/dist27/threading.py", line 569, in __bootstrap_inner
    self.run()
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/dist27/threading.py", line 522, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/jrgrafton/Documents/tweet-debate/lib/tweepy/streaming.py", line 294, in _run
    raise exception
ConnectionError: ('Connection aborted.', error(13, 'Permission denied'))

Replacing socket.py and updating _WHITE_LIST_C_MODULES as per http://stackoverflow.com/questions/16192916/importerror-no-module-named-ssl-with-dev-appserver-py-from-google-app-engine/34738909#34738909 appeared to work.
Still, unsure as to why monkey patch was not working as expected...

What about this: https://stackoverflow.com/questions/49409783/google-app-engine-permission-denied-for-proxy-tunneling-on-development-server ?
When you've done all the patches but their select will fail on the standard primitive socket objects. How do you patch select or even socket in this kind of situation?

Another simpler solution: with requests toolbelt, requests now works in both production and development:
from requests_toolbelt.adapters import appengine
appengine.monkeypatch()

For more information, see this article.


bfmap.rst out of date

On master the bfmap.rst docs are out of date as it looks like the map interface has changed.
For example, if I follow the docs:
In [24]: bf.map("c = a + b", c=c, a=a, b=b)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-24-107ca22ae66a> in <module>()
----> 1 bf.map("c = a + b", c=c, a=a, b=b)

TypeError: map() got an unexpected keyword argument 'c'

Thanks for pointing this out @ewanbarr. The change was posted in #95 (but the docs weren't updated).
I'll update the docs straight away.

It should be fixed now: http://ledatelescope.github.io/bifrost/bfmap.html.
Let me know if you notice anything else not up-to-date.
Thanks again,
Miles


Issue w/ Settling and Constraints

I'm working on a project with @probityrules and we're running into issues with the physics never settling down.
We are creating structures with constraints and we find when colliding either with static bodies (like the ground) or with non-static bodies (e.g. the balls in the gif) the simulation continually vibrates.

I played a little with the density of the balls since I know sometimes having heavy objects on top of lighter once can cause issues in some physics engines, but it seemed to have no effect.

Can you show me all the settings for all bodies involved?


Remove support for dfdlx:repType/Values from unions

dfdlx:repTypex on simpleTypes references from unions are now ignored. Likewise, dfdlx:repValues and dfdlx:repValueRanges are also ignored. Unions are now only used for combining restrictions from their simple types.
Deprecation/Compatibility:
dfdlx:repType, dfdlx:repValues, and dfdlx:repValueRanges are now ignored if references on xs:simpleTypes that are referenced from xs:unions. Instead, unions should be combined into a single simple type with the combined representation type and values properties.
DAFFODIL-2211

For the record, I've run this PR against the regression suite and had no failures due to this change. Some schemas failed due to the removal of input/outputTypeCalc in commit 17f3fa8a1206f8801ab96a262f2219fb3eb6c72f, but that is expected and those schemas will either be deprecated or fixed.

although I don't know what to look for to check that the PR deletes everything needing to be removed.

Yeah, I mostly did this through code inspection so it's hard to know for sure.
I did find codcov a bit useful since it will show code that has lost coverage even if not changed in the PR. In this case we only had two tests for unions, so I'm less confident we had good coverage in the first place, but codecov did find one small function I had missed.


Not working on uiimageview

It is not working on Imageview. Means when we add zdstickerview to image then we can't able to move . How can i make it work ?

Hello, thank you for letting me know the issue. Let me have one question to get to know of this issue more clearly: the sample application (https://github.com/zedoul/ZDStickerView/blob/master/ZDStickerViewApp/ZDStickerViewApp/ViewController.m) shows that ZDStickerView can control UIImageView object, and I checked it works.
Can you let me know how you create ZDStickerView to reproduce the bug?

Hey Buddy !
Thank you for replay. You are really helpful. Here i have attached demo. In this demo i can not able to move sticker. Thank you again.
http://s000.tinyupload.com/index.php?file_id=07385137336951193147

Hello,
First of all, let's make it sure first that it is NOT a ZDStickerView issue. It is a matter of user interaction flag problem. It is very hard to explain in this issue. It is a pretty basic concept that you can learn from any iOS dev book. Let me give you a hint: check the view as a container, then you can see it is flagged as false, which is supposed be flagged as true.
You want to have a quick solution? then use
[self.view addSubview:userResizableView1]

instead of previous code. Then you will see it works.
You are allowed to ask any question in this board, however, Google or Stackoverflow may be your first stop for any obvious questions.


Foreign key name is to long

Hello,
I am trying to create the foreign key bellow:
ALTER TABLE c1_krimatoglou.haedf_elg_ergon_projectstates_data_power ADD CONSTRAINT haedf_elg_ergon_projectstates_data_power_haedf_elg_power_provider_FK FOREIGN KEY (provider_id) REFERENCES c1_krimatoglou.haedf_elg_power_provider(id) ON DELETE RESTRICT ON UPDATE CASCADE ;
but am getting the error name is to long. I can not find a way to change the name of the key to something else.
What can I do?

Hi,
What database are you using (DB2, Oracle..) and what version?
Is the error coming from the server or from DBeaver?
Can you show us what message/esception you receive?
Thanks
Denis

If this is about Oracle, then identifier limitation is 30 chars. Your problem identifier is haedf_elg_ergon_projectstates_data_power_haedf_elg_power_provider_FK.

@ChristoforosKor you can change foreign key.
Before saving table changes click on FK name (in column Name) and set some other value.


fix(utils): update invalid array function

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


Backup our datasette logs in BigQuery

To periodically backup our BigQuery data we need to create scheduled table snapshots.

This seems to be working but I wasn't able to change the transfer credentials from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>


Cannot read property 'loadChildren' of null

OS:

Windows 10

Versions:

angular-cli: 1.0.0-beta.24
node: 6.9.1
os: win32 x64
@angular/common: 2.4.1
@angular/compiler: 2.4.1
@angular/core: 2.4.1
@angular/forms: 2.4.1
@angular/http: 2.4.1
@angular/platform-browser: 2.4.1
@angular/platform-browser-dynamic: 2.4.1
@angular/router: 3.4.1
@angular/compiler-cli: 2.4.1

Repro steps:
I am Working with the routes in my project, I'm  not using loadChildren for routes or Lazy Loading with modules but always send me this error in javascript console. I don't know if i doing something wrong.
I just need to add RouterModule.forRoot() to make this error happens.
It's like warning or something because nothing critical happens with my app.
The log given by the failure.

Routes file
export default [
    {
        path: '',
        redirectTo: '/login',
        pathMatch: 'full',
    },
    {
        path: 'login',
        component: LoginComponent,
        canActivate: [LoginGuard]
    },
    {
        path: 'password/email',
        component: PasswordEmailComponent,
        canActivate: [LoginGuard]
    },
    {
        path: 'lock',
        component: LockComponent,
        canActivate: [LockGuard]
    },
    {
        path: BACKEND_PREFIX,
        component: MainComponent,
        canActivate: [AuthGuard],
        canActivateChild: [AuthGuard],
        children: [
            {
                path: '',
                component: DashboardComponent,
            },
            {
                path: 'administration',
                component: RouterOutletComponent,
                children: [
                    {
                        path: '',
                        component: EmptyComponent
                    },
                    {
                        path: 'warehouses',
                        component: EmptyComponent
                    },
                    {
                        path: 'users',
                        component: UserListComponent,
                        children: [
                            {
                                path: '',
                                component: RouterOutletComponent
                            },
                            {
                                path: ':id',
                                component: UserModalComponent
                            }
                        ]
                    },
                    {
                        path: 'customers',
                        component: EmptyComponent
                    }
                ]
            },
            {
                path: 'inventories',
                component: RouterOutletComponent,
                children: [
                    {
                        path: '',
                        component: EmptyComponent
                    },
                    {
                        path: 'products',
                        component: EmptyComponent
                    },
                    {
                        path: 'price-lists',
                        component: EmptyComponent
                    },
                    {
                        path: 'stocks',
                        component: EmptyComponent
                    }
                ]
            },
            {
                path: 'movements',
                component: RouterOutletComponent,
                children: [
                    {
                        path: '',
                        component: EmptyComponent
                    },
                    {
                        path: 'sales',
                        component: EmptyComponent
                    }
                ]
            },
            {
                path: 'reports',
                component: EmptyComponent,
            },
            {
                path: 'params',
                component: EmptyComponent,
            },
            {
                path: 'support',
                component: EmptyComponent,
            },
        ]
    },
    {
        path: '**',
        component: PageNotFoundComponent
    }

];

My app.module.ts:
@NgModule({
  declarations: [
    AppComponent,
    LoginComponent,
    PasswordEmailComponent,
    LockComponent,
    MainComponent,
    DashboardComponent,
    EmptyComponent,
    RouterOutletComponent,
    UserListComponent,
    UserModalComponent,
    PageNotFoundComponent,
    MenuComponent,
    TableComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    ReactiveFormsModule,
    HttpModule,
    NgbModule.forRoot(),
    JWBootstrapSwitchModule,
    RouterModule.forRoot(routes),
    ResourceModule.forRoot(),
    ClickOutsideModule,
    Ng2SelectizeModule
  ],
  providers: [
    CookieService,
    OAuthService,
    AuthService,
    {
      provide: OAuthHttp,
      useFactory: HttpFactory,
      deps: [XHRBackend, RequestOptions, OAuthService, Router]
    },
    AuthGuard,
    LoginGuard,
    LockGuard,
    MainService,
    MenuService,
    Location,
    ModelService,
    RoleService
  ],
  bootstrap: [AppComponent]
})
export class AppModule {
}

Thanks @crain for your time

I think i found the solution, I don't not why, but the problem was because I was making the export of the routes with default statement.
Now, I am using the const statement and works for me.
This are my files updated:
Routes:
export const routes:Routes = [
   ***,
]

App Module :

import {routes} from './routes';

@NgModule({
  declarations: [
    AppComponent,
    ***
  ],
  imports: [
    ***,
    RouterModule.forRoot(routes)
  ],
  providers: [
    ***
  ],
  bootstrap: [AppComponent]
})
export class AppModule {
}

Yes, default exports are not supported by the Angular compiler at the moment.

@Meligy Are they supported in Webpack?

@lengk yes of course they are supported in Webpack. But that's different.
In Webpack, you'd use a loader to run the Microsoft TypeScript compiler and deal with the output JavaScript.
In Angular Compiler, it reads the TypeScript itself, and tries use whatever is available of TypeScript compiler APIs usable for extensibility (spoiler: that's not much -- it's not a common use case to wrap the compiler. Common uses are things like just like Webpack loaders do - calling the compiler and consuming results, or calling the language service for errors, autocomplete etc from editors).
In this case, last time I checked, the Angular compiler had issues getting the TypeScript type information (think reflection in .NET or Java) from a default export.

Heya, this problem kinda slipped under the radar. I think it's supposed to work with default exports.

Unfortunately I'm going to close this as duplicate of https://github.com/angular/angular/issues/11402.  This is not an issue in the CLI itself but from Angular. We cannot support it before they do (and I don't think there's any work for us anyway).


User flow for New Personal Applicant Experience

Title of ticket: User flow for New Personal Applicant Experience
Description
Create User Flow for New Proposed Personals Applicant Experience t
Dependencies
Are there any dependencies?
DOD

[x] Create Existing Flow
[x] Add pain points in current experience for applicants
[x] Create First Iteration of New Proposed Flow
[ ]
[ ]

https://miro.com/app/board/o9J_lhBDwsw=/?share_link_id=907734864225


Plugin based on OpenStreetMap code

Hi,
I want to create Umbaco package for Mapbox https://www.mapbox.com/ and want to take your code as a boilerplate for that.
Can I do it?
/Alex

Hi @alex-razv..
You are welcome to use as much as you can 😄


Blocking on async code

Context: The part where the access token is retrieved.
Consider a factory method for constructing the dbcontext.
Reference: https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md#constructors
If you absolutely need it to be blocking, consider
conn.AccessToken = new AzureServiceTokenProvider().GetAccessTokenAsync("https://database.windows.net/").ConfigureAwait(false).GetAwaiter().GetResult()

Reference: https://blog.stephencleary.com/2017/03/aspnetcore-synchronization-context.html
Part: You Don’t Need ConfigureAwait(false), But Still Use It in Libraries

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

ID: 31b0d33c-f88e-d50c-2926-7933940f3b92
Version Independent ID: 4aaef906-f501-6947-5d23-1b704470f09d
Content: Secure SQL Database connection with managed identity - Azure App Service
Content Source: articles/app-service/app-service-web-tutorial-connect-msi.md
Service: app-service-web
GitHub Login: @cephalin
Microsoft Alias: cephalin

@dasiths, Thanks for sharing the context and samples on blocking async code scenario, much appreciated! The tutorial aims to provide key concepts and instructions on how to add manged identity to the sample web app, grant SQL database access to the managed identity, configure Entity Framework to use Azure AD authentication with SQL Database, connect to SQL Database from Visual Studio using Azure AD authentication, but still allow users to learn things beyond the described scenarios and tweak the code based on their requirement. Kindly let us know if you need any further help. Thanks again for leveraging Azure docs feedback channel.

That's all good but at least put some notes (with a link to @davidfowl 's guidance) there to tread carefully as many people just copy paste your example.

@dasiths, Thanks for the response. Your feedback has been shared with the content owner (@cephalin) for further review as well.

@dasiths I've added the suggested clarification. It should be updated sometime today. Thank you.
#please-close

Where are you supposed to write this code?

In the constructor of the dbContext.

Next, you supply the Entity Framework database context with the access token for the SQL Database. In Data\MyDatabaseContext.cs, add the following code inside the curly braces of the empty MyDatabaseContext (DbContextOptions options) constructor:

There have been some discussion here about a possible solution https://github.com/aspnet/EntityFrameworkCore/issues/11928#issuecomment-454853868
The best solution I could come up with includes something like this https://blog.stephencleary.com/2012/08/asynchronous-lazy-initialization.html

The issue referenced above is closed; superceded here: https://github.com/aspnet/EntityFrameworkCore/issues/13261


Matter Button: add 6-button static profile support

Add profile to support 6-button matter button devices. This means 6-button devieces will be supported as MCD rather than parent-child.

test failures are fixed here: https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/pull/1107 and are unrelated

Tested by Alissa and confirmed to have the 6-button device in a single device card here: https://smartthings.atlassian.net/browse/MTR-527?focusedCommentId=1386748. Will follow up with other PRs to address additional changes for the device as needed, but this will at least get it all displayed as one card.


Rejected Auth, ERROR from RPC, and Invalid Scope

Hello, I would like to start by saying that I am likely doing something wrong here so any assistance will be greatly appreciated.
I am receiving the following errors after attempting to connect.

Steps
These are the following steps that I am doing

Set client ID and Secret

Press the discord icon in Macro Deck
Press Authorize in Discord

After doing so I received the errors I mentioned.
As far as I can tell this should be correct bellow.

If you need anything else please let me know, thank you in advance for your assistance.
(Note: this post was edited because it was posted accidentally before completion)

Have you tried deleting your discord application in the developer portal and recreating it following the steps here exactly? https://youtu.be/alSlrnzx-M8

Yes I have, unless I missed something these are the steps I did:

Create an Application
Set a redirect for https://<IP_ADDRESS>
Copy the Client ID and Client Secret
Adjust the config to use the ID and Secret

Is there anything else I need to do?

I have found out the issue! After a long time of testing and trying to get it to work, I went to the documentation for RPC: https://discord.com/developers/docs/topics/rpc#rpc, and it appears that RPC is now in private beta. Luckily I have been a developer for many years and when I used one of my old applications and set it up with the same information it worked first try!


Clearing/Calculating TextFields

When clearing or calculating capacitance for the text fields, it has this instantaneous update that feels clunky. It would be nice to see if there is a way to modify the implementation to make the animation still occur while allowing everything to update properly.

no longer relevant because of #6 and the app-rework


utxonursery: add test coverage

This PR adds test coverage to utxonursery.
In addition to this it fixes a bug where IncubateOutputs doesn't add to the waitgroup and might leave lingering goroutines after nursery is stopped.

@cfromknecht Yes, db field needed to be removed in order to mock the call.


TypeError: cli.init is not a function

Been getting this error when trying to initialize a new project using your template.
  cli.init(root, projectName);
      ^

TypeError: cli.init is not a function
    at run (/opt/homebrew/lib/node_modules/react-native-cli/index.js:302:7)
    at createProject (/opt/homebrew/lib/node_modules/react-native-cli/index.js:249:3)
    at init (/opt/homebrew/lib/node_modules/react-native-cli/index.js:200:5)
    at Object.<anonymous> (/opt/homebrew/lib/node_modules/react-native-cli/index.js:153:7)
    at Module._compile (node:internal/modules/cjs/loader:1233:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Module._load (node:internal/modules/cjs/loader:938:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
    at node:internal/main/run_main_module:23:47```

Hey, I did not update this for quite a while, need to deprecate this. TypeScript is now default in React Native and I read that Kotlin will be as well, and Swift is kinda has no point for AppDelegate anymore, since it contains C++ code from new architecture now.

Thanks for the info.


Is this method applicable to anchor-free model? For example, 3dssd?

Hi,
Is this method applicable to anchor-free model? For example, 3dssd?

Sure, I personally don't like to use anchor-free for point cloud detection, but there is no doubt that my proposed method can be used as well. U should change the parameters encoding scheme if it is applied.

Sure, I personally don't like to use anchor-free for point cloud detection, but there is no doubt that my proposed method can be used as well. U should change the parameters encoding scheme if it is applied.

Thank you for your timely reply!
If I want to add your method to the anchor-free model (3dssd), where should I modify it?
I see that many parts of your code are closely connected with anchor, so can you describe in more detail how I should modify for anchor-free (3dssd)?

There are two parts that connected with anchor, one is to enlarge the positve samples area, another is to encode the predicted and target values. If you want to use anchor-free mthod, u can similarly add more samples to regression, and just remove the anchor parts with any encoding scheme u like. :)

Hello, did you succeed in configuring it on the 3D-SSD?

Hello, did you succeed in configuring it on the 3D-SSD?

Hi,
Is this method applicable to anchor-free model? For example, 3dssd?

Hello, did you succeed in configuring it on the 3D-SSD?


support layering a yaml file over another without having all sections

Coverage decreased (-1.1%) to 97.152% when pulling e66033bd4a679df4d2fefbc3136b52d4ecbed6b6 on jedipi:feature/overwriting-yaml-with-missing-subsections into 05116aebf7f43521c029f1d1754fa4c735b5d31c on staffanm:master.


[SUPPORT] Upsert data with an identical record key and pre-combine field

I am using AWS DMS Change data Capture service to get change data from my database and then using Apache Hudi with AWS glue ETL job to process the change data and create a table in hive. I am using a pre-combine field as a timestamp sent from AWS DMS as when the data was committed (update_ts_dms).
I have few use cases where Insert/Updates and Deletes for the same primary key are having the same timestamp sent from DMS and after change data processing apache hudi is not giving the latest updated data in the table or last added updated row for the same primary key in the table. It is adding any random insert or update in the table. May be due to the same primary key and the same pre-combine field.
is there any suggested solution for such case?
Sample Data:
{ "Op": "I", "update_ts_dms": "2021-07-08 10:47:53", "id": 10125412, "brand_id": 9722520, "type": "EXPLICIT", "created": "2021-07-08 10:47:53", "updated": "2021-07-08 10:47:53" } { "Op": "D", "update_ts_dms": "2021-07-08 10:47:53", "id": 10125412, "brand_id": 9722520, "type": "EXPLICIT", "created": "2021-07-08 10:47:53", "updated": "2021-07-08 10:47:53" }
Environment Description

Hudi version (jar): hudi-spark-bundle_2.11-0.9.0-SNAPSHOT.jar

Spark version : 2.4

Hadoop version : 2.8

Storage : S3

Running on Docker?: no

Thanks for the feedback, i guess this is because our payload does not choose the latest data when the preCombine field are the same. See OverwriteWithLatestAvroPayload.preCombine.

See this PR: https://github.com/apache/hudi/pull/3267

Thank you @danny0405 for the help.
if i understand well,   the  OverwriteWithLatestAvroPayload config is the default and it will render any value set for PRECOMBINE_FIELD_OPT_VAL.
but what will happened if i upsert a dataframe that contains two record with same recordKey & preCombine, will this end-up upserting the latest record in the dataframe ?

I will, but only after this patch for #preCombine method.

Hi @danny0405
do you have estimate time for merging PR: #3267 (weeks, days) ?
Thanks,

Yes, the PR would be merged soon once the CI tests pass.

related to PR https://github.com/apache/hudi/pull/3401

The PR is merged, please verify again if your issue is resolved.

Hello @danny0405,
I'm facing similar issue when extracting Kafka events. When a delete is followed by an insert, usually inside a transaction, sometimes the timestamp field that indicates when the events were processed is the same for both events. When I run my spark job to extract the events, the delete event is taking precedence over the insert.
Would this change fix the described issue and also, do you have an estimate when version 0.9.0 will be released in production?
Thank you

The delete is still problematic for MOR table, because Hudi always writes the DELETE data block after the DATA block, the DELETE block does not record the event time, and the reader always read the DELETE block after, so even a DELETE message has smaller event time than INSERT message, the INSERT message is still deleted.
We have fixed the sequence for COW table though in the 0.9 release.

Hi @danny0405
Apologies for late response, the PR has resolved my issue.
Thanks!

Hi @danny0405,
Thank you for your reply.
I'm using COW for my Kafka/Hudi pipeline described above. I did not clarify that in my first comment. Having that in mind, I assume this change should fix my issue as well, correct?
Also, do you have an estimate for the production release date?
Thank you

Hi @Rap70r , the 0.9.0 has been released so i would just close the issue as resolved, if you have other problems, feel free to reopen it again.

Thank you @danny0405, I have tested and confirmed the issue, I described above, has been resolved for me.


Allow Option to Pass Array of Elements to Maintain Components

From what I am reading in the docs, the Maintain components only allow passing a DOM reference as the context. However, passing an array of elements into tabSequence would be helpful.
Example:
I am using the library in a React project. Whenever, I pass my DOM context into  query.focusable I am returned an array of the all the elements I would expect to receive (in this case, 29). However, whenever I pass that same DOM reference into maintain.tabSequence (or firstTabble even), I am returned only three text fields. Radio buttons, buttons, and other input types (tel, email) are excluded.
I am not sure where the disconnect is yet exactly but being able to pass in the array from query.focusable would alleviate this.
Note:
I am working also with TypeScript so I am importing all the ESM modules.
If this is an unnecessary request due to my own usage mistakes, any references would be greatly appreciated to help get this implemented correctly.
Thank you!

I'm not surprised query.tabsequence() returns less elements than query.focusable. Have a look at What does "focusable" mean? for differentiation of "focusable" and "tabbable".

Radio buttons, buttons, and other input types (tel, email) are excluded.

That sounds rather strange. what's is.tabbable() saying about these elements?

Thank you. I will read further on what focusable means.
I have attached a screenshot of my console log testing. I've redacted some pieces of information.
The first Array(39) is the result of query/focusable
The second Array(3) is the result of query/tabbable on the same context
The following logs are iterating over the focusable array, printing the element and then printing the boolean result from is/tabbable.
The only three fields that are tabbable are the three text input fields.

All elements that have tabindex="-1" are not keyboard focusable. If they receive focus via Tab you are probably running some script. Browsers don't do this.
Which browser is that? Are you using ShadowDOM?

I am running in Chrome. And this is all running in React, the dialog that opens is a dynamic component so to my knowledge it is from the shadowDOM as it's not a static element on the site.
Thank you for clearing up the tab index. I seem to always get -1 and 0 mixed up.

I haven't had any luck yet with the ShadpwDOM methods. But at this point, this issue has far exceeded the scope of an issue and is in full troubleshooting mode. I will go ahead and close this and continue tinkering.
Thank you for the help!


docs: add and document generic security poilicy file to project and cookiecutter

copy of JonasPammer/cookiecutter-pypackage#56 per JonasPammer/cookiecutter-pypackage#55

failing CI was a result of #31 which was fixed by #32 thus the force push to update to master


fzf: 0.50.0 -> 0.51.0

Description of changes

Update to 0.51.0
Modernize package by

moving it to pkgs/by-name
avoiding superfluous use of pname (see #277994 for details)
avoiding with lib; in meta (see #208242 for details)
sorting meta attributes alphabetically

Diff: https://github.com/junegunn/fzf/compare/0.50.0...0.51.0
Changelog: https://github.com/junegunn/fzf/blob/master/CHANGELOG.md#0510

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1612

Thanks for reviewing and merging this so quickly, @nbraud, much appreciated 👍


android 6.0 dont loader disk pic

not load local images

Could you please provide sample code which is not working for you on Android 6.0?

yes xiaomi6.0


new error related to leveldown

Ran build in my Electron project and now getting this error:
Uncaught Error: The module '/Users/username-was-here/Documents/project-name-was-here/build/node_modules/leveldown/build/Release/leveldown.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 53. Please try re-compiling or re-installing
the module (for instance, using npm rebuild ornpm install).
This is the first time I'm seeing this.
Using:
node v6.9.5
npm version 3.10.10
Went back to 0.4.5 and the error went away. Would love to up to a later version.

Hi swampthang!
Good to see you're still using the lib after it's grown so much!  This stack oveflow issue might help:
http://stackoverflow.com/questions/42616008/node-module-version-conflict-when-installing-modules-for-electron
I don't personally have much experience with electron so I'm not sure how much help I can be here.
Best,
Scott

Thanks! Will have a look at that and if I come up with a solution will post here for anyone else that might run across this issue.

Closing this since I haven't had time to explore how to get rid of the versioning mismatch thing. Will come back later and post when i revisit.

As an update, so far, I've tried all of the following:

Had electron-rebuild already installed so ran ./node_modules/.bin/electron-rebuild
rm'd the node_modules folder and ran npm install again.
Updated node.js and npm from 6.9.5 to 6.10.2 and completely rebuilt the entire project
reran electron-rebuild

Still getting the same error.

I've been forced to use an older version because of this issue...
New error related to leveldown
I reopened and commented on my progress/status for it.

Nothing I've been able to try has eliminated the error so far. I went back through the history and found that I was able to go all the way up to version 0.6.93 without encountering the error. 0.7.0 is where it begins to break.

Figured out the problem. As in most Electron projects, I have a root directory containing the electron and other macro node_modules. The working files for my project are in a src folder containing its own node_modules directory. I work in the src folder but have a build folder in the main root directory that mirrors the src folder but is built out from the src folder (I'm using sass and haml so have listeners set up to compile html and css into the build folder).
I had electron-rebuild installed as a dev-dependency in the main root folder but not in the build folder. So I simply cd'd into the build folder and ran npm install --save-dev electron-rebuild to add electron rebuild as a dev dependency in /build/node_modules. Then, after assigning the latest version of nano-sql in /build/package.json & running update --save nano-sql (did this in src as well to retain that on the next pull from my windows box) I ran ./node_modules/.bin/electron-rebuild (from the build directory) and all is well!

Awesome that you found a solution, thanks for sharing!  I plan to use this with Electron in the future so I'm happy you found a resolution!

I'm reopening this to hopefully be able to post a resolution or give someone else a chance to. I've run into an issue with leveldown when I package the app for distribution. The initial error is...
Error: Cannot find module '/Users/swampthang/Documents/kinetic-text-animator/dist/KineticTextAnimator-darwin-x64/KineticTextAnimator.app/Contents/Resources/app/node_modules/leveldown/build/leveldown.node'

final error is...
Error: Module version mismatch. Expected 50, got 53
It's looking for leveldown.node in...
/node_modules/leveldown/build/leveldown.node
but I noticed that file is in...
/node_modules/leveldown/build/Release/leveldown.node
Saw this - https://github.com/rwaldron/johnny-five/issues/1204#issuecomment-245332246 - and tried that solution (though I really don't know what it's doing - scary I know) by doing...
cd `npm ls leveldown --parseable`

and then ran..
HOME=~/.electron-gyp node-gyp rebuild --target=`npm view electron version` --arch=x64 --dist http://atom.io/download/atom-shell
but it didn't fix things. (My node-gyp version is 3.6.0)
Seems like all that needs to happen is to point bindings.js to the right folder.
Was able to get things working in Windows, which is such a switch. Normally everything works in Mac and Windows is a dog-fight.
leveldown-error.log.zip

Got it working finally. But, as is so often the case, my exact set of circumstances may vary from others. Either way, here's what I ended up doing.
Version for electron-packager and electron in package.json were:
"dependencies": {
  "electron-packager": "^7.3.0",
  "electron": "^1.4.15",

Upgraded them to...
"dependencies": {
  "electron-packager": "^8.5.0",
  "electron": "^1.6.6",

also, in deveDependencies:
"devDependencies": {
  "electron-rebuild": "^1.5.7",

in the scripts section I changed the pack command --version CLI to --electron-version because --version is deprecated.
"pack": "electron-packager ./build KineticTextAnimator --platform=darwin --arch=x64 --app-version=1.0.6 --electron-version=1.6.6 --out=dist/ --icon=kinetic_text_animator_icon.ico",

Added the following convenience command to scripts:
"dorebuild": "electron-rebuild --module-dir ./build --version=1.6.6",

I then removed the main node_modules dir and ran npm install to pull in the latest version of Electron. Then, after building out the build folder, I ran npm run pack and it worked.

leveldown is still a problem. If I could use the latest version of Electron I'd be ok but now there's a display bug on Windows in the Chromium version contained in Electron 1.6.6 that's forcing me back to Electron version 1.4.15. Just wanting you to be aware that folks using Electron 1.4.x will have this issue. Not sure what to do about it at this point. What I've tried to date is:

Run rebuild on main node_modules using --version=1.4.15
Run rebuild on the build folder using --version=1.4.15
cd into the leveldown folder in build/node_modules and run: HOME=~/.electron-gyp node-gyp rebuild --target="1.4.15" --arch=x64 --dist http://atom.io/download/atom-shell

The error I get when trying to run the app is:
Uncaught Error: The module 'path-to-app-here/build/node_modules/leveldown/build/Release/leveldown.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 50. This version of Node.js requires NODE_MODULE_VERSION 53. Please try re-compiling or re-installing the module (for instance, using npm rebuild or npm install).
If I run...
HOME=~/.electron-gyp node-gyp rebuild --target=`npm view electron version` --arch=x64 --dist http://atom.io/download/atom-shell

It works but the app then shows to be running Electron 1.6.6 even though I just ran rebuild using 1.4.15. If anyone has a solution it would be greatly appreciated.
One thing to note is I've been able to package the app successfully without the error but the local dev version (running from terminal with npm start) throws the error. It's one or the other. Either the packaged app fails and the local dev version works or visa versa. Haven't figured out how to get both to work using Electron 1.4.15.

So, what I've been able to do consistently is this:
For testing in dev environment (npm start) I have to run:
HOME=~/.electron-gyp node-gyp rebuild --target=`npm view electron version` --arch=x64 --dist http://atom.io/download/atom-shell

After running electron-rebuild on the build directory. Note that npm view electron version returns whatever the current version of electron is it seems. I have "electron": "^1.4.15" in my package.json but npm view electron version returns 1.6.6 (at the time of this post)
When I get ready to package the app, I have to run electron-rebuild on the build folder and then pack the app. But, after doing that, the local dev environment breaks. This is a short-term, albeit cumbersome solution.


Allow Guzzle 7 support

@barryvdh any chances of merging this pull request?

@barryvdh any chances of merging this pull request?

There shouldn't even be a dependency on guzzle actually.

There shouldn't even be a dependency on guzzle actually.

@barryvdh any chances of tagging so I don't have to remember to require omnipay/payfast as dev-master?

Done

Thank you!


Option to disable scroll wheel for cycling through items

Some mice make it too easy to inadvertently scroll through items, so having an option to disable this feature would be nice. Leave it on by default since users expect it, but allow turning it off (save in a cookie? IndexedDB-mounted filesystem of "local preferences"?) if desired by the user, just like https://github.com/stephank/mcdisablewheel/blob/master/README.md

The only code change needed to disable mouse scrolling is not registering the callback:
    glfwSetScrollCallback(g->window, on_scroll);

but, the complication is making this configurable. Could easily be an #ifdef compile option, but some users with different mice would prefer to disable or enable, without recompiling. What kind of local configuration should there be?

Update: since merging https://github.com/satoshinm/NetCraft/commit/4adeef9ad009f642efb76683998a4d64488618cb, no longer simple as disabling the scroll callback since it is also used for orthographic zooming (which works fine on these mice). Instead, check in the new function void _on_scroll_blockselect(double ydelta) {


Video more than 1.5MB not displayed

I have created two videos one of them 1.3MB this ha run and the another one is 4MB not working why? is there any prop I have to set it? the both I have it MP4

Platform? Is onError triggered?


Support for 2fa authentication

I'm trying to set this bot up with my facebook account, however I'm running into an issue with it not being able to handle login with two factor authentication.
Judging from the documentation at https://github.com/Schmavery/facebook-chat-api/blob/master/DOCS.md#login this can be done, but it seems some modification to the current calls will need to be made.
I'm not proficient in JS or the Q module which is being used to call the facebook chat api.
The error specifically from the log is
info Logging in...
ERR! Error in login: login-approval

/home/facebot/node_modules/facebot/node_modules/q/q.js:155
                throw e;
                ^
[object Object]

Authorizing it via the browser does not help to bypass authentication as facebot does not seem to store any cookie (postgresql) so it will be seen as a new browser on every start.

Hi Tjuberg,
Sorry I've been in india for the last month, I'm getting back next week and I'll have a look at this :+1:

Hi,
any updates about 2fa?
Thanks!

no news? :(

Of course I'm using 2FA, I just wanted to open an issue asking how to do it and I'm not the only one...

So it seems that while 2FA is Convenient for Security... it's not as Convenient for Automation or Productivity lmao, What a Bugger!!
#DivineComedy #ProperPerspective #DivineFriendship | 777ADVENTURES


MLHR-1919 #resolve #comment add dimension schema to malhar

@ilooner please review and merge

@brightchen Thanks for doing this move. My only comment is that the package for the classes should state with org.apache.apex.malhar instead of com.datatorrent.lib
That's it. Thanks!

@ilooner Agreed. Can you please pull in the changes and then we do the rename in a separate PR.

@ilooner can this be merged?


Cannot use map(to: ) in Combine

When I use TinyNetworking with combine like the example. I cannot use the map(to:) to map the object.

Mind creating a PR with a fix? 😊

Any update on this?

Working on this.
If it helps try using something like for the moment:

Fixed. Released in v.4.0.1. 🚀


2.0

New 2.0 version with decoupled router and UI functionality (Attention: use with care, some bugs are possible)

Looks pretty interesting. Is the example expected to work with this?

Yes.


Modified LOG to correctly display values

How were being displayed before your fix? What exactly was the problem?

How were being displayed before your fix? What exactly was the problem?

frameNumber and imagerMode are stored as uint8_t in the struct. Uint8_t can't be displayed by LOG, that is why the cast to int is needed.

More specifically, the uint8_t can be displayed but it will be printed as an ASCII character. This is for 'imagerMode'.
The 'frameNumber' is of type uint32_t and it looks as if it can be displayed correctly.
Can you check the sdk/include/frame_definitions.h and look where we overload the << in order to print the metadata? And do the cast to 'unsigned int' for any member that is of type uint_8?