Ingest 2020 Best Sample

a new sample of 348 infrared parallaxes of L0-T8 dwarfs (244 not in Gaia DR2) from UKIRT.
https://docs.google.com/spreadsheets/d/1i98ft8g5mzPp2DNno0kcz4B9nzMxdpyz5UquAVhz-U8/edit#gid=1469954551

The 348 parallaxes (and proper motions) from UKIRT can be found in the *_UKIRT columns of the UltracoolSheet (which Kelle linked to above).  Currently, that's columns DQ-DW.
I hope that UltracoolSheet can be helpful for ingesting lots of data into SIMPLE.  I would be happy to be a resource in that regard.  It has photometry, absolute astrometry (J2000 and current epoch), proper motions, parallaxes, multiplicity, spectroscopic classifications, lots of other things.

@ebhort27 is gonna work on this next!

[ ] sources, discovery ref
[ ] spectral types
[ ] proper motions
[ ] parallaxes

We're not planning on ingesting any of the photometry at the moment and will add Gaia, 2MASS, WISE photometry systematically as part of #140.

Question: @kilohoku , for objects that have a Gaia detection, is it worth our time to ingest yours and the literature proper motion and parallaxes? or should we just ingest literature astrometry if Gaia detection is NULL?

@kelle @ebhort27 If there's a Gaia parallax and proper motion, you could ignore my UKIRT measurements -- Gaia is more precise in all cases.  But there is a surprisingly large number of literature measurements that are more precise than Gaia (I count 46 of them), and at a glance those come from reliable sources (mostly Hipparcos, Sahlmann et al., Dahn et al.), so I would consider keeping the literature values.

@kilohoku , Regarding columns K & L, ra_J2000_formula and dec_J2000_formula: Were those positions calculated to be at specific epoch? Also 2000?

They were calculated to be at both epoch 2000.0 and equinox 2000.0.
Note that we are using the coordinates calculated and quoted by the surveys we reference (column M).  We are not calculating them ourselves.  Coordinates based on Gaia, PS1, and UKIDSS should be quite accurate.  Coordinates based on AllWISE are not accurate for high-proper motion objects.  This is something we intend to fix in an UltracoolSheet update.

Started a new issue to focus on the UKIDSS photometry. #360

The Best2020 sample has been ingested.
Individual new issues can be opened for Ultracool Sheet v2.0 ingests.


Add None as a supported unit

Rhino sometimes has "None" as its unit system. Dynamo is unitless.
We should add support for this natively in our unit converter, I'd suggest whenever converting to or from Noneunit, leave units as they are.

Fix was merged in #154. Forgot to link them


Problem with the dlib

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: Version: 1.77.3 (user setup)
OS Version: Windows NT 100.22624

Steps to Reproduce:
Unable to install the library face_recognition and dlib. It is showing errors as shown below:

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


Update package.json

Closes freecodecamp/curriculum#16 and freecodecamp/freecodecamp#17605 where the sample code was not indented and incomplete links all of which is due to installation of older version of @freecodecamp/curriculum, ie v1.0.4 .
Package.json and yarn.lock have been updated to use the recent version, ie '^1.1.3' .

Thanks for the PR. This will land in https://github.com/freeCodeCamp/learn/pull/190/files


EMA12/26 crossing not always detected

It seems EMA12/26 crossing detection is not always operating. Suspicion is that the candlestick detection is interfering with the evaluation.
Example where it works:
2021-06-03 16:45:00 | ETH-USD | 900 | Close: 2833.32 | v EMA12/26: 2810.27 < 2810.34 v | ^ MACD: -0.08 > -4.1 ^ | ^ OBV: 40654.179 (0.35%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-06-03 16:48:02 | ETH-USD | 900 | Current Price: 2833.32
2021-06-03 16:50:04 | ETH-USD | 900 | Current Price: 2833.32
2021-06-03 16:52:04 | ETH-USD | 900 | Current Price: 2826.91
2021-06-03 16:54:06 | ETH-USD | 900 | Current Price: 2835.54
2021-06-03 16:56:07 | ETH-USD | 900 | Current Price: 2834.75
2021-06-03 16:58:08 | ETH-USD | 900 | Current Price: 2830.17
2021-06-03 17:00:08 | ETH-USD | 900 | Current Price: 2835.68
2021-06-03 17:02:11 | ETH-USD | 900 | Current Price: 2828.46
2021-06-03 17:00:00 | ETH-USD | 900 | Close: 2826.7 | *^ EMA12/26: 2812.69 > 2811.5 ^* | ^ MACD: 1.19 > -3.05 ^ | v OBV: 48334.616 (-1.08%) v | ERI: sell | WAIT | Last Action: SELL

Where it does not:
2021-06-03 21:00:00 | ETH-USD | 900 | Close: 2819.31 | v EMA12/26: 2808.76 < 2809.48 v | ^ MACD: -0.72 > -2.23 ^ | v OBV: 5240.2622 (-0.44%) v | ERI: sell | WAIT | Last Action: SELL
2021-06-03 21:02:17 | ETH-USD | 900 | Current Price: 2819.31
2021-06-03 21:04:20 | ETH-USD | 900 | Current Price: 2824.04
2021-06-03 21:06:22 | ETH-USD | 900 | Current Price: 2836.41
2021-06-03 21:08:21 | ETH-USD | 900 | Current Price: 2843.12
2021-06-03 21:10:22 | ETH-USD | 900 | Current Price: 2838.27
2021-06-03 21:12:24 | ETH-USD | 900 | Current Price: 2837.11
2021-06-03 21:14:24 | ETH-USD | 900 | Current Price: 2836.44
2021-06-03 21:16:26 | ETH-USD | 900 | Current Price: 2837.47
* Candlestick Detected: Shooting Star ("Weak - Reversal - Bearish Pattern - Down")

* Candlestick Detected: Inverted Hammer ("Weak - Continuation - Bullish Pattern - Up")

2021-06-03 21:15:00 | ETH-USD | 900 | Close: 2835.55 | ^ EMA12/26: 2814.95 > 2812.5 ^ | ^ MACD: 2.45 > -1.1 ^ | ^ OBV: 12378.557 (2.1%) ^ | ERI: sell | WAIT | Last Action: SELL

debug log
06/03/2021 09:00:19 PM - DEBUG: 2021-06-03 21:00:00 | ETH-USD | 900 | Close: 2819.31 | v EMA12/26: 2808.76 < 2809.48 v | ^ MACD: -0.72 > -2.23 ^ | v OBV: 5240.2622 (-0.44%) v | ERI: sell | WAIT | Last Action: SELL
06/03/2021 09:18:28 PM - DEBUG: * Candlestick Detected: Shooting Star ("Weak - Reversal - Bearish Pattern - Down")
06/03/2021 09:18:28 PM - DEBUG: * Candlestick Detected: Inverted Hammer ("Weak - Continuation - Bullish Pattern - Up")
06/03/2021 09:18:28 PM - DEBUG: 2021-06-03 21:15:00 | ETH-USD | 900 | Close: 2835.55 | ^ EMA12/26: 2814.95 > 2812.5 ^ | ^ MACD: 2.45 > -1.1 ^ | ^ OBV: 12378.557 (2.1%) ^ | ERI: sell | WAIT | Last Action: SELL

Same here, I have seen no action from the bot, missing good opportunities when EMA12 and 26 cross in either direction...

@antonp01 and @davidtmiles, have you disabled the bull only option? "disablebullonly"? By default the bot won't trade in a bear market. You need to disable that check to trade now during the market crash.

Yes it was (youll notice there isn't a BEAR or BULL indicator in the log, like this)
python3 pycryptobot.py --disableprofitbankupperpcnt --autorestart
2021-06-16 20:00:00 | ETH-USD (BULL) | 3600 | Close: 2406.9500 |  v EMA12/26: 2440.4262 < 2476.3695 v  | v MACD: -35.9433 < -30.1546 v | ^ OBV: -136317.2219 (4.8800%) ^ | ERI: sell | WAIT | Last Action: SELL

python3 pycryptobot.py --disableprofitbankupperpcnt --autorestart --disablebullonly
2021-06-16 20:00:00 | ETH-USD | 3600 | Close: 2407.1800 |  v EMA12/26: 2440.6293 < 2476.4673 v  | v MACD: -35.8380 < -30.1335 v | ^ OBV: -136668.3540 (5.1500%) ^ | ERI: sell | WAIT | Last Action: SELL

Also it's interesting that you don't see the ^ ^ indicators on the EMA crossing, suggesting its something with the data. I've put some debug in so that if it happens again we can get the values.

Same here, can confirm that some EMA12/EMA26 crossing are not detected.  Last one I noticed was last night at BTC-GBP on CBPro, at around 20:30 UTC.
Using version v2.47.2.

It would appear so
2021-08-10 12:46:59 INFO     2021-08-10 19:45:00 | ETH-USD | 900 | Close: 3138.3500 | v EMA12/26: 3121.7944 < 3122.0288 v | ^ MACD: -0.2344 > -6.1829 ^ | ^ OBV: -13231.9695 (0.9600%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-08-10 12:46:59 INFO     Seasonal ARIMA model predicts the closing price will be 3137.97 at 2021-08-10 20:30:00 (delta: -0.38)
2021-08-10 12:48:01 INFO     2021-08-10 19:47:59 | ETH-USD | 900 | Current Price: 3136.55
2021-08-10 12:49:03 INFO     2021-08-10 19:49:01 | ETH-USD | 900 | Current Price: 3137.0
2021-08-10 12:50:05 INFO     2021-08-10 19:50:03 | ETH-USD | 900 | Current Price: 3137.0
2021-08-10 12:51:08 INFO     2021-08-10 19:51:07 | ETH-USD | 900 | Current Price: 3139.6
2021-08-10 12:52:10 INFO     2021-08-10 19:52:09 | ETH-USD | 900 | Current Price: 3141.54
2021-08-10 12:53:13 INFO     2021-08-10 19:53:12 | ETH-USD | 900 | Current Price: 3142.98
2021-08-10 12:54:15 INFO     2021-08-10 19:54:15 | ETH-USD | 900 | Current Price: 3141.08
2021-08-10 12:55:17 INFO     2021-08-10 19:55:16 | ETH-USD | 900 | Current Price: 3138.96
2021-08-10 12:56:19 INFO     2021-08-10 19:56:18 | ETH-USD | 900 | Current Price: 3144.69
2021-08-10 12:57:22 INFO     2021-08-10 19:57:21 | ETH-USD | 900 | Current Price: 3146.4
2021-08-10 12:58:24 INFO     2021-08-10 19:58:22 | ETH-USD | 900 | Current Price: 3145.32
2021-08-10 12:59:26 INFO     2021-08-10 19:59:25 | ETH-USD | 900 | Current Price: 3141.15
2021-08-10 13:00:28 INFO     2021-08-10 20:00:26 | ETH-USD | 900 | Current Price: 3146.38
2021-08-10 13:01:31 INFO     * Candlestick Detected: Inverted Hammer ("Weak - Continuation - Bullish Pattern - Up")
2021-08-10 13:01:31 INFO     2021-08-10 20:00:00 | ETH-USD | 900 | Close: 3148.0000 | ^ EMA12/26: 3126.4533 > 3124.2996 ^ | ^ MACD: 2.1537 > -4.4184 ^ | v OBV: -2771.1370 (-9.9300%) v | ERI: buy | WAIT | Last Action: SELL
2021-08-10 13:01:31 INFO     Seasonal ARIMA model predicts the closing price will be 3141.62 at 2021-08-10 20:45:00 (delta: -6.38)

working ex:
2021-08-09 16:02:35 INFO     2021-08-09 23:00:00 | ETH-USD | 900 | Close: 3147.6000 | v EMA12/26: 3121.3667 < 3123.0760 v | ^ MACD: -1.7094 > -4.3578 ^ | ^ OBV: 2682.4575 (10.7500%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-08-09 16:18:08 INFO     2021-08-09 23:15:00 | ETH-USD | 900 | Close: 3174.3500 | *^ EMA12/26: 3131.9608 > 3128.1564 ^* | ^ MACD: 3.8044 > -2.4962 ^ | v OBV: -1904.5746 (-38.3800%) v | ERI: buy | WAIT | Last Action: SELL

others:
2021-08-10 00:48:41 INFO     2021-08-10 07:45:00 | ETH-USD | 900 | Close: 3128.2500 | v EMA12/26: 3120.2945 < 3121.1514 v | ^ MACD: -0.8569 > -2.5906 ^ | ^ OBV: -26445.9534 (1.3300%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-08-10 01:04:13 INFO     2021-08-10 08:00:00 | ETH-USD | 900 | Close: 3144.0600 | ^ EMA12/26: 3125.8586 > 3123.8629 ^ | ^ MACD: 1.9957 > -1.4660 ^ | ^ OBV: -26048.4228 (0.9800%) ^ | ERI: sell | WAIT | Last Action: SELL

2021-08-10 08:18:36 INFO     2021-08-10 15:15:00 | ETH-USD | 900 | Close: 3140.0600 | ^ EMA12/26: 3150.4546 > 3148.4728 ^ | v MACD: 1.9817 < 5.8000 v | ^ OBV: -38278.5629 (1.2200%) ^ | ERI: buy | WAIT | Last Action: SELL
2021-08-10 08:34:11 INFO     2021-08-10 15:30:00 | ETH-USD | 900 | Close: 3108.5100 | v EMA12/26: 3139.8457 < 3143.3642 v | v MACD: -3.5186 < 3.6179 v | ^ OBV: -38782.6159 (10.3300%) ^ | ERI: sell | WAIT | Last Action: SELL

2021-08-09 04:02:51 INFO     2021-08-09 11:00:00 | ETH-USD | 3600 | Close: 3105.6000 | v EMA12/26: 3012.4514 < 3014.3487 v | ^ MACD: -1.8973 > -19.9919 ^ | ^ OBV:<PHONE_NUMBER> (0.2500%) ^ | ERI: sell | WAIT | Last Action: SELL
2021-08-09 04:24:41 INFO     2021-08-09 11:15:00 | ETH-USD | 900 | Close: 3135.8200 | ^ EMA12/26: 3061.5503 > 3016.9525 ^ | ^ MACD: 44.5977 > 27.9681 ^ | v OBV: 37762.7562 (-2.9901%) v | ERI: sell | WAIT | Last Action: SELL

FWIW, I cannot see an example of where all conditions were satisfied (eg, SELL or BUY).


Preload harvester-upgrade image with master build version tag

In a master ISO build, the loaded upgrade image tag is:
docker.io/rancher/harvester-upgrade:master-head

But because the result ISO has a commit hash version like ebde990-dirty, during an upgrade the image harvester-upgrade:ebde990-dirty is not found.
# cat /etc/harvester-release.yaml
harvester: ebde990-dirty
harvesterChart: 0.0.0-dev
os: Harvester 9f07d38-dirty
kubernetes: v1.21.7+rke2r1
rancher: v2.6.3-harvester1
monitoringChart: 100.0.0+up16.6.0

The PR tag harvester-upgrade:master-head to harvester-upgrade:<version> and save the new image in the result ISO.

cc @TachunLin We'll need this in to test upgrade from v1.0.0 to master ISO.

Is the build-bundle script designed to be executed individually, such as make build-bundle? If so then we have to move the git clone part up to before the source ${SCRIPTS_DIR}/version-harvester ${TOP_DIR}/../harvester, or harvester repository won't exist.

@johnliu55tw Thanks, good catch!


uaac command not working getting gem error on Ubuntu 14.04

/opt/cisco/vms-installer/tools/cf-admin/lib/ruby/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /opt/cisco/vms-installer/tools in PATH, mode 040777
/opt/cisco/vms-installer/tools/cf-admin/lib/vendor/ruby/2.1.0/bin/uaac:22:in <main>': undefined methodactivate_bin_path' for Gem:Module (NoMethodError)

+1 seeing the same issues on a Ubuntu

I'm seeing this as well.

I also have this issue (MacOS 10.11.6) with 6.17.0 and 6.16.1.
Release 6.15.0 and below work for me.


[Question] ElasticSearch suggester

To implement ElasticSearch autocomplete I need to copy some field to "suggest" field.
For example I have { name: "Arnold"} and I need to put inside mongo { name: "Arnold", suggest: { input: "Arnold"} }
Can I somehow make this "suggest" field using mongo-connector?

There isn't any feature like that in mongo-connector right now. The
documents sent to Elasticsearch look essentially the same as they do in
MongoDB, so you'll either need to change the documents mongo-side or modify
elastic_doc_manager.py to suit your needs.
On Mon, Sep 28, 2015 at 2:55 PM, speciose<EMAIL_ADDRESS>wrote:

To implement ElasticSearch autocomplete I need to copy some field to
"suggest" field.
For example I have { name: "Arnold"} and I need to put inside mongo {
name: "Arnold", suggest: { input: "Arnold"} }
Can I somehow make this "suggest" field using mongo-connector?
—
Reply to this email directly or view it on GitHub
https://github.com/mongodb-labs/mongo-connector/issues/327.

@llvtt is this feature in the latest release(2.5.1)? If not, do you have plan to add this feature?
And, what do you mean by change the documents mongo-side?
Please forgive me that I know little about both mongo-connector and elaticsearch.

There is no feature to accomplish this in 2.5.1. "change the documents mongo-side" means to update all the { name: "Arnold"} documents in MongoDB to { name: "Arnold", suggest: { input: "Arnold"} } and mongo-connector will sync the updated documents.
It might also be possible to do thi  with an Elasticsearch ingest node processor that automatically adds the suggest : { input: "<name>"} field. I think this could be done with a Painless script, see https://www.elastic.co/guide/en/elasticsearch/reference/5.3/script-processor.html
https://www.elastic.co/guide/en/elasticsearch/reference/5.3/modules-scripting-painless.html
Something like this may work:
{
  "script": {
    "lang": "painless",
    "inline": "ctx.suggest = ['input': ctx.name]"
  }
}


RenderToolbox with Octave

RenderToolbox might work with Octave in place of Matlab. This would make it possible to use RenderToolbox with all open-source software.
So far, we have not tested RenderToolbox with Octave.
Most of RenderToolbox is plain m-functions, so these should work with Octave.  The tricky spots might be:

mex-functions
system commands and environment variables

Any updates on Octave compatibility? I saw a note in the code that a "catch" was made to accomodate a function not present in octave.


rect is not a supported tagName inside file-upload

Other svg elements are included such as svg, circle, g, path, etc. But not rect

OoOoO. A PR for this would be very welcome!

Just opened a PR for it here: https://github.com/tim-evans/ember-file-upload/pull/182

It’s released! I don’t have much time now to do release notes, but you’ll be thanked ❤


Mexico CURP might need minor corrections

Taken from: https://en.wikipedia.org/wiki/Unique_Population_Registry_Code
If any step in the above procedure leads to the letter "Ñ" appearing anywhere in the CURP, the "Ñ" is replaced by an "X".
A one-letter gender indicator (H for male (hombre in Spanish), M for female (mujer in Spanish), or X for non-binary); [1]
However, I can't seem to find official documentation for this.

Ok, how about the non-binary X?

Similar statements would apply.  Since the CURP is the encoding of these fields as long as it was originally encoded correctly there should be no issue with validating the CURP.
That said, reviewing the code getGender() will return the wrong gender for 'X'.


something missing?

I followed your instructions twice and cannot get this working.  I can get the "how to get started" page to show up, but when I run a command from slack, it fails.
2016-06-24T18:59:29.486489+00:00 app[web.1]: [ea221ab4-8f5e-47d7-bf8f-151635fc4192] Completed 500 Internal Server Error in 5ms (ActiveRecord: 3.4ms)
2016-06-24T18:59:29.488014+00:00 app[web.1]: [ea221ab4-8f5e-47d7-bf8f-151635fc4192]
2016-06-24T18:59:29.488061+00:00 app[web.1]: [ea221ab4-8f5e-47d7-bf8f-151635fc4192] ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR:  relation "teams" does not exist
2016-06-24T18:59:29.488063+00:00 app[web.1]: LINE 7:                WHERE a.attrelid = '"teams"'::regclass
2016-06-24T18:59:29.488064+00:00 app[web.1]:                                           ^
2016-06-24T18:59:29.488065+00:00 app[web.1]: :               SELECT a.attname, format_type(a.atttypid, a.atttypmod),
2016-06-24T18:59:29.488065+00:00 app[web.1]:                      pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod,
2016-06-24T18:59:29.488066+00:00 app[web.1]:              (SELECT c.collname FROM pg_collation c, pg_type t
2016-06-24T18:59:29.488067+00:00 app[web.1]:                WHERE c.oid = a.attcollation AND t.oid = a.atttypid AND a.attcollation <> t.typcollation)
2016-06-24T18:59:29.488067+00:00 app[web.1]:                 FROM pg_attribute a LEFT JOIN pg_attrdef d
2016-06-24T18:59:29.488068+00:00 app[web.1]:                   ON a.attrelid = d.adrelid AND a.attnum = d.adnum
2016-06-24T18:59:29.488073+00:00 app[web.1]:                WHERE a.attrelid = '"teams"'::regclass
2016-06-24T18:59:29.488074+00:00 app[web.1]:                  AND a.attnum > 0 AND NOT a.attisdropped
2016-06-24T18:59:29.488074+00:00 app[web.1]:                ORDER BY a.attnum
2016-06-24T18:59:29.488075+00:00 app[web.1]: ):
2016-06-24T18:59:29.488078+00:00 app[web.1]: [ea221ab4-8f5e-47d7-bf8f-151635fc4192]```

It seems my errors are around active record and table not found.  Postgres gets added, but there is no mention of creating any tables.

I feel like there are some configuration and setup steps missing.  (namely, `git push heroku master`).

Sorry to hear you are having troubles @Skeyelab
Good catch - you are right, I failed to include two essential steps ( I swear i had already edited the Readme with these ).
git push heroku
heroku run rake db:migrate

Did you migrate after pushing?

@Skeyelab
Awesome glad you got it working (I've updated the Readme too now)
Yeah having a way to see upcoming tracks would be useful. I'll put that on the todo list.


Added duplicate dependencies validation

Reason

More strict validation of added dependencies

Contents

Added changelog entry
Added check for duplicates in validation stage
Added test

I saw that https://github.com/yonaskolb/XcodeGen/pull/1187 tried to introduce this feature, but got abandoned
So, I also want to see that feature and made the similar validation, but a bit more optimized for example got rid of unnecessary iterations over all targets. Also, considered all the comments that were left there.

@yonaskolb @aleksproger
I would like to make this optional as option to pass to xcodegen command. it is kind of breaking change since validaiton rule is changed very much and I confirmed some project cannot be generated.


ImagePdfParser module causes Langroid import error

Describe the bug
An error raised when importing langroid library. It is because the module Image from PIL package has been import incorrectly.
To Reproduce
Steps to reproduce the behavior:

import langroid as lr
See the error

Expected behavior
The error TypeError: Tuple[t0, t1, ...]: each t must be a type. Got <module 'PIL.Image' from ....
Desktop:

Chip: Apple M2
OS: macOS
Version: 14.2.1 (23C71)
Langroid: 0.1.222
Python: 3.10.14

This is because you’re using Python 3.10.
Langroid requires 3.11 as it says in the README

@pchalasani is there a reason why it is
python = ">=3.9.1,<3.12"

in pyproject.toml ?
Fell in the same trap as @nathnx as poetry did not complain during the installation.


Resource: Alerts

New Alert Resource (closes #278)
You can deploy alerts related to your application by using the alert method. Each alert takes a name and a list of conditions. Notification channels
can be added to the alerts.notification_channel key in config.json or explicity in the alert. The base AlertCondition class allows you to
fully customize your alert based on the fields privided by the GCP Alert Resource
If you do not need a fully customized alert you can use the built in classes for MetricCondition, LogMatchCondition, and CustomMetricCondition. These come with
defaults in terms of duration and aggregations, but can be overriden as needed. The CustomMetricCondition creates a custom metric based on the filter provided and then
creates an alert using that metric.
from goblet.resources.alerts import MetricCondition,LogMatchCondition,CustomMetricCondition
app = Goblet()

# Example Metric Alert for the cloudfunctin metric execution_count with a threshold of 10
app.alert("metric",conditions=[MetricCondition("test", metric="cloudfunctions.googleapis.com/function/execution_count", value=10)])

# Example Log Match metric that will trigger an incendent off of any Error logs
app.alert("error",conditions=[LogMatchCondition("error", "severity>=ERROR")])

# Example Metric Alert that creates a custom metric for severe errors with http code in the 500's and creates an alert with a threshold of 10
app.alert("custom",conditions=[CustomMetricCondition("custom", metric_filter='severity=(ERROR OR CRITICAL OR ALERT OR EMERGENCY) httpRequest.status=(500 OR 501 OR 502 OR 503 OR 504)', value=10)])

Codecov Report
Base: 88.59% // Head: 88.49% // Decreases project coverage by -0.09% :warning:

Coverage data is based on head (ce6d3d3) compared to base (c9d01a4).
Patch coverage: 85.83% of modified lines in pull request are covered.

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #297      +/-   ##
==========================================
- Coverage   88.59%   88.49%   -0.10%
==========================================
  Files          46       48       +2
  Lines        3709     3939     +230
==========================================
+ Hits         3286     3486     +200
- Misses        423      453      +30

Impacted Files
Coverage Δ

goblet/infrastructures/infrastructure.py
72.72% <50.00%> (-8.53%)
:arrow_down:

goblet/decorators.py
84.95% <52.94%> (-1.29%)
:arrow_down:

goblet/infrastructures/alerts.py
84.02% <84.02%> (ø)

goblet/__version__.py
100.00% <100.00%> (ø)

goblet/backends/backend.py
84.68% <100.00%> (+0.28%)
:arrow_up:

goblet/backends/cloudfunctionv1.py
96.22% <100.00%> (+0.14%)
:arrow_up:

goblet/backends/cloudfunctionv2.py
91.07% <100.00%> (+0.33%)
:arrow_up:

goblet/backends/cloudrun.py
90.29% <100.00%> (+0.19%)
:arrow_up:

goblet/client.py
89.61% <100.00%> (+0.42%)
:arrow_up:

goblet/tests/test_alerts.py
100.00% <100.00%> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


GH-2, GH-6: Add capability to pull parent data

Addresses GH-2 and Gh-6

Pull Request Test Coverage Report for Build 37

62 of 65 (95.38%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-3.9%) to 96.053%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/pom-parser/pom-parser.js
62
65
95.38%

Totals

Change from base Build 22:
-3.9%

Covered Lines:
85

Relevant Lines:
88

💛  - Coveralls


Add sanitization option to username in login and registration serializers

It's a common pattern to store usernames and/or email addresses in a database for example in lower cases. Once username is stored in lower cases then incoming username in POST data should be lowered as well in order to compare them properly.
The only questions here is about good practices. Should it be possible to sanitize username in serializers or should it be done in user model and in Django authentication backend?

Sanitization is certainly not in scope of our simple REST implementation of common authentication actions. Therefore I believe that until DRF provides explicit support for sanitizers it should not be our focus to do that.


Use constants in search service for Lucene field names

@ryuyu has already done great work in the catalog2lucene and db2lucene to use constant for lucene field names. We should use these constant in the search service as well, which consumes the Lucene index.
We should also consider moving away from the IDictionary<string, string> of properties toward a C# class with string properties. This would be a great improvement to the maintenance of db2lucene and catalog2lucene.

We have a new search service...


Data is not coming inside product dashboard,however it is populating inside the deploy widget

I am facing issues while fetching the data inside the product dashboard. The data for commit,build,deploy(QA,PROD,Dev) is not coming at all. I am able to fetch the data for deployment under Deploy widget but that too is also not coming properly.
Please suggest how the data will populate inside the product dashboard.
I have attached the snapshot for the configurations.
Here the data is coming as a blank for code,commit and other environments.

Please suggest, I want the data inside the product dashboard.

Issue resolved by debugging.

@thedevopsguru  what seemed to be the issue, i am also facing the same issue. In my case m not getting data in DEV ,STAG, PROD environments.however commit section has data

@thedevopsguru @shardulsrivastava  I am seeing similar issue. It would have been better if you mentioned how you resolved the issue.

@thedevopsguru @shardulsrivastava and @syedsfayaz I am facing same issue, just Commit holds data on Product dashboard, did you guys have Build and all the following environments filled up? If yes, what you done to have it working?
I do appreciate any direction.


fix: set Api.data on promise resolution

Description
Set the api.data as soon as promise is resolved to avoid race condition.
PR fixes following issue(s)
Fixes #23052
Type of change

Bug fix (non-breaking change which fixes an issue)

Testing
How Has This Been Tested?
Test Plan
Issues raised during DP testing
Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test sha=064a6ad

/ok-to-test sha=0a9878c


Title buttons use wrong theme until mouseover

Unmaximized window:

Without mouseover:

With mouseover:

Could be a dupe of #90

Also have this issue,
when i restart the extension it becomes normal


fix: spelling check

file: src/types/store.ts
line: 38
description: change word ‘distinquishable’ to 'distinguishable'
Thanks for the PR!
To better assist you, please select the type of PR you want to create.
Click the "Preview" tab above, and click on the link for the PR type:

:bug: Bug fix or new feature
:memo: Documentation Fix
:book: New/Updated Documentation Content

Thanqs! :)


Javascript links in online documentation not functional

I copy pasted the script tags in the getting started page located at https://demos.creative-tim.com/material-kit/docs/2.0/getting-started/introduction.html
Buggy script tags:

When I inserted them into my code, the css kept breaking. I looked at your template file and found the correct tags tags set up, and now it is working.
correct script tags:

Hello @GianniniCharles,
Thank you for your interest in working with our products, this issue is solved in the latest version (v2.0.4).
All the best,
Stefan


Helper pings do not work if message_id if non-empty

Reproduction Steps
Use /helper and provide a message ID.
Expected Results
The subject helpers should be pinged.
Actual Results
There is no ping and no error.
Checklist

[X] I have searched open issues for duplicates.
[X] I have made sure that this issue is valid.

Additional Context
No response

This has been fixed in 58f3cd7


NIFI-11464 Improvements for importing nested versioned flows

Introduce FlowSnapshotContainer to return root snapshot + children
Introduce ControllerServiceResolver to extract logic from service facade
Update resolution logic to correctly consider all services in the hierarchy
Merge additional parameter contexts and parameter providers from child to parent
Add unit test for controller service resolver

Summary
NIFI-11464
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[X] Apache NiFi Jira issue created

Pull Request Tracking

[X] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[X] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[X] Pull Request based on current revision of the main branch
[X] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[X] Build completed using mvn clean install -P contrib-check

[X] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

I'm going to merge based on the two approvals, thanks!


ACS AEM Commons 4.0.0 Release

ACS Commons 4.0.0 will be a breaking release.

ACS Commons 4.0.0 supported AEM versions: _________

The following features have breaking changes
... List breaking changes by feature here ...

Breaking feature template:
Feature name:
Impact of breaking change:
How to align to the change:

[ ] Requires documentation

@badvision , @joerghoh , @heervisscher - can you jot down what is breaking in 4.0.0 using the template above?

New contributions need to use OSGI annotations, the support for the SCR annotations has been removed.
org.apache.sling.commons.json package can no longer be used in acs-aem-commons; com.google.gson should be used as replacement (proper package imports already available)

#1568 - Removal of all deprecated classes and methods in ACS Commons
Conversion to GSON instead of deprecated Sling JSON library
#1555 - Updated dependencies to 6.3 bundle versions

Classes impacted by the changed OSGi property-names  (because hyphens are not supported in OSGi R6)
ErrorPageHandlerImpl
HealthCheckStatusEmailer
MonthlyExpiresHeaderFilter
WeeklyExpiresHeaderFilter
GroupHttpCacheConfigExtension
HttpCacheConfigImpl
ResourceTypeHttpCacheConfigExtension
HttpCacheEngineImpl
NamedTransformImageServlet
ResizeImageTransformerImpl
EnsureOakIndex
DispatcherFlusherServlet
DispatcherFlushRulesImpl
JcrPackageReplicationStatusEventHandler
EnsureGroup
DelegatingServletFactoryImpl
AemEnvironmentIndicatorFilter
AuthorUIHelperImpl
ComponentErrorHandlerImpl
CQIncludePropertyNamespaceServlet
WCMViewsFilter
WCMViewsServlet
WorkflowInstanceRemoverScheduler

I added this too in the CHANGELOG.md


Revert "Unpack stream_id_vec bindings"

In our benchmarks, we encountered a problem where the library sent requests unevenly to the cluster. We tried to fix this issue with #97 which helped spread the requests a bit better across shards, but the distribution was still uneven. Only after we applied https://github.com/scylladb/scylla-rust-driver/pull/454 to the driver and then ran the benchmark with the library without #97 applied we got an even distribution. Therefore, #97 should be reverted.

@Ponewor could you send the revert?


nixos/public-inbox: init

Motivation for this change
I’ve been using this for months now, and it works great. And several other people have expressed interest in my module, so here it is. :)
This module encapsulates pretty much all of public-inbox's
functionality.  While there are a lot of options, they're only exposed
for things that either I think have a high chance of being something a
large proportion of users need to set, or if the module needs to do
some special setup to accomodate them.  All other public-inbox
configuration can be set through the `config' options.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @catern

Note: public-inbox does not currently build on master. #77574 will fix this.

Great work @alyssais, thanks!
One remaining fix though, setting ˋmda.spamCheck == nullˋ does not work as expected because ˋpublicinboxmda.spamcheckˋ will be discarded by ˋconfigToListˋ. Note that in order to properly disable spamcheck in the final config, one has to set ˋpublicinboxmda.spamcheckˋ to something (eg. "none") to make public-inbox-mda work; it does not work to simply set the option to an empty string: public-inbox-mda still searches and fails to find ˋspamcˋ.
Also, it would be great to expose ˋenvironmentˋ as a config option for people like me who want to use rspamd instead of spamassassin and may therefore prefer to pipe rspamc into public-inbox-mda from a script in a ˋservices.postfix.masterConfig.rspamdˋ.
Instead of passing by the ˋ~public-inbox/.forwardˋ.
And it would be even greater to expose config options using the ˋsettingsˋ scheme of https://github.com/NixOS/rfcs/pull/42 (as done for example in the ˋsanoidˋ module). What do you think?

We should add something like install -D -p ${configFile} $out/.public-inbox/config in home to use admin command without setting PI_CONFIG, like: curl -L http://example.org/lists/archives/$name/$msgid/raw | sudo -u public-inbox public-inbox-learn rm.

closing in favor of https://github.com/NixOS/nixpkgs/pull/104457


Signup form

The sign-up form needs asterisks for required fields. If all fields are required, it'll be great if the form says it.

Fixed in front-end-refactor


How to install without admin rights

How can I install the boot2docker windows installer without admin rights?

How about not needing admin rights once it is installed?  When I init the docker VM it asks for admin credentials twice.
My work laptop is locked down such that I don't have admin credentials.

Looks like the same as #78

agreed - #78 it is (slightly more info there)
I'm not at all sure there is a way to create a virtual machine without admin rights somewhere along the line, but i also don't recal if vmware made me do it.


Captive Wi-Fi app

If you have only one Wi-Fi available in the list when you use captive Wi-Fi to set up HomeSpan, 99/100 it is failing to select. you need to type SSID rather than selecting.
You can't get this issue when you have more than one Wi-Fi available in the list.

I checked this by ensuring I only have a single SSID available and it works fine.  I see that SSID show up in the selection box and select it with no issues.
Note the AP is coded to work on Safari from an iPhone.  Are you accessing it with a different browser or platform?

I checked this by ensuring I only have a single SSID available and it works fine.  I see that SSID show up in the selection box and select it with no issues.
Note the AP is coded to work on Safari from an iPhone.  Are you accessing it with a different browser or platform?

I use iPhone to set up the esp32

Sorry, i'm not sure what the issue might be as i can't reproduce the error.

When you access the AP on your iPhone, a copy of the HTML should also be printed on the Serial Monitor during the session.   Can you copy that HTML text and post it here so I can take a look.   Note you will need to set the Log Level=2 for HomeSpan to output this level of detail.

What was the conclusion - were you able to get this working?

When you access the AP on your iPhone, a copy of the HTML should also be printed on the Serial Monitor during the session.   Can you copy that HTML text and post it here so I can take a look.   Note you will need to set the Log Level=2 for HomeSpan to output this level of detail.

I tried this option, nothing came on the serial monitor until the esp32 try to connect to the network after I entered SSID and password

What was the conclusion - were you able to get this working?

80/100 failed and 20/100 working


no instance of overloaded function "std::getline" matches the argument list

Will enter details at a later time.

argument types are: (std::__1::stringstream, std::__1::string, char)

sstream for issue #1 resolved this


Initial setup is long.

You could probably use PKCE: https://tools.ietf.org/html/rfc7636
Then the user will not have to get and store the secret key and they'll still be able to get a refresh token.
Another plus is that you will get to see usage metrics in your dashboard.

Do you know if this still applies if each user needs to set up their own oauth client with its own ID/secrets?
AFAICT it's not a viable option anymore to maintain a single shared client ID everyone can use due to Google's usage limits and security restrictions. In that model the Cloud Console setup has to be manual instructions AFAIK, and the one bit of somewhat annoying copy-paste is copying over client-id/client-secret after creating auth client & token, but I'm not following if PKCE offers a way to streamline just that step.

Closing as infeasible.
If anyone has details on how we could actually use PKCE in practice or other ways to streamline setup, please follow up here or in some other issue.


Strikethrough prop for Text component

Issue Description
There have been some designs from UX that include strikethroughs. We weren't sure what Terra's recommendation for this is, whether to wrap the Text component with an HTML tag or to use custom CSS. Given that there are other props to style the text component, it might be a nice addition.
This could also grow for the other text-decoration properties, based on Terra's desired direction.
Issue Type

[X] New Feature
[x] Enhancement
[ ] Bug
[ ] Other

Expected Behavior
There should be a way to configure strikethrough.
Current Behavior
There is no way to configure strikethrough

Closing as not needed after discussion with @dv297 - functionality provided with terra-clinical-item-display for the case that is needed.


[BUG] Fix Home Ui [ Right Section ]

Description
Fix the alignment of the home page . [Right side section]
Screenshots

Any additional information?
No response
What browser are you seeing the problem on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

please assign me this issue i can sovle this

As per the guidelines, please assign this task to me .


Marks values are rounded up

Hi, so I'm adding my marks and subArcs values dynamically, basically some math is done to create one default mark as a value and then split the range equally to create at least 3 equal zones.
Marks:

subArcs:

Im working with values up to 1 so im multiplying all of them * 100.
And this is what i get:

Check the zones, the 3 zones after 0.2 should be equal, but the gap is 0.3, 0.2, 0.3 and its not split evenly.
My issue is that the values are rounded to the nearest. Its suppost to be 0.46 but its 0.5 mark, 0.73 but its 0.7, and its messing up the equal zones.
Any way the value rounding can be skipped? I checked the value format function but it doesn't work on this.

Hello, sorry for the late response.
I added a maxDecimalDigits property to both marks labels and value label.
please try the new version 1.1.11 and let me know if this works for u :)


[Enhancement]: Make play & have fun text clearly visible

Is your enhancement request related to a problem? Please describe.➕
Make play & have fun text clearly visible by adding background color white and text color to black
Describe the solution you'd like
I will make the paragraph background white and it's text color black with some border radius like this:

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @MisterMickey !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @MisterMickey ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Record button appears to execute the node twice

Notice a simple program

File test.txt didn't exist before clicking on the record button.
Once enabled this is the contents of the file:
testtest

suggesting that the node was executed twice.

The scenario is as follows:

triggering the record button kicks of a full compilation and then execution
GUI sends the attachVisualization request for .write

Re 1: that's all as expected
Re 2: Attaching a visualization also may trigger an execution. So that's also kind of expected.

@hubertp does GUI attach visualization even if there is no visualization shown under the node?

@hubertp does GUI attach visualization even if there is no visualization shown under the node (like in the screenshot)?

Yes.

@4e6 suggested that this could be an opportunity to provide a proper support for record button rather than via this Standard.Base.Runtime.with_enabled_context Standard.Base.Runtime.Context.Output prefix hack.
Therefore rather than triggering it via a text edit (and later attaching a visualization), GUI would send a request to execute a particular node with a specific execution environment. This would also fix https://github.com/enso-org/enso/issues/10719

@hubertp does GUI attach visualization even if there is no visualization shown under the node (like in the screenshot)?

Yes.

Then I think there is some GUI issue too. We should not attach viz on the entire write node - only on it's this argument, to get widget dynamic configs (maybe we try to get default viz? But I think we should do that only when it's visible anyway).

Ok, I know what happens on GUI side: when record button is pressed and code changed, we invalidate information about method call. Without method call, we actually don't know how to ask about widgets, so we set our visualization config to null what is then interpreted as request to detach the visualization.
I'm not sure if there is an easy and still sound way to fix that... Maybe we could update visualization. Or just wait for new recording API (without code changes), so there will be no code change and thus no visualization reattachment.

Or just wait for new recording API (without code changes), so there will be no code change and thus no visualization reattachment.

@farmaazon After a length discussion we decided against that.

And visualization update also does not fix the problem. But I assumed #10785 fixes the original issue of double-writes?

It seems to work according to @jdunkerley


#217 fix position_ids

see #217

we need to test this further , initial experiments with this change is giving weird policy loss


Fix to always recompiling shaders

We managed to stop cmake from always recompiling the shaders. Now it only recompiles when any shader source file is changed or during clean builds.
The changes are:
Move generated shader headers out of the glob recurse so it stops rebuilding because it sees the previous compile changed the files.
Manually include IncludeAllShaders.h as a source file.
Tell CMake that the add_custom_command produces IncludeAllShaders.h.
Tell CMake that the add_custom_command depends on the shader sources so it reruns on shader changes.
I tried to make a pullrequest but i can't make it build on my machine without all the other changes we have made so i'll just link the commit here and you can merge it in yourself. https://github.com/exuvo/Vulkan2DRenderer/commit/a86522aac3845663af555f7ae642f105afa0edd1 https://github.com/exuvo/Vulkan2DRenderer/commit/e36319d721b4e19715c4347cd078708494a68dbd

Unfortunately this makes the shader compiler tool run every time on VS for some reason. I'm okay with shaders being outside of the Source folder but I might add a special case for VS in CMakeLists.txt going back to the original behavior.
VS is being rather weird about this, at this point I'm pretty sure it's a limitation but I'll see if I can figure something out.

Wow thats wierd for us it is the opposite. Your version runs all the time for us and the linked changes makes it only run when needed. You did clean the build directory before testing the CMake change right?
My IDE is eclipse on linux and my buddy is using Visual Studio Code natively on linux so i thought it would behave the same as normal Visual Studio.

Yeah I tried clean build too, I spent way too many hours trying to get that to work so I'll leave a different path for VS for now and try it again later.


Migrate front from cra to vite

used this as a reference:
https://www.freecodecamp.org/news/how-to-migrate-from-create-react-app-to-vite/

 migrate create react app to vite for v2 frontend


fix: unwrap completion exception in AbortMultipartUpload and inside multipart putObject

Issue #, if available: https://github.com/aws/amazon-s3-encryption-client-java/issues/165
Description of changes: Unwraps completion exception thrown from AbortMultipartUpload in the default client, and in the uploadPart calls within "high-level" multipart putObject.
The latter is not tested, because the API surface does not allow for (convenient) testing.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Check any applicable:

[ ] Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.

Passing CI in my fork: https://github.com/justplaz/amazon-s3-encryption-client-java/actions/runs/5394156397

Passing CI in this repo: https://github.com/aws/amazon-s3-encryption-client-java/actions/runs/5395477614

closing this PR, I will re-open directly from the repo, as CI just won't work when run from forks.


Tiles improperly aligned in embedded IPython notebooks

This might be related to Issue #2

Closed by #9


[Story] Look into admission webhook as alternative to ClusterCryostat

It would be nice for Cryostat 3.0 if we could combine the Cryostat and ClusterCryostat APIs. One possibility is keeping the namespaced Cryostat CRD and using a validating admission webhook:
https://sdk.operatorframework.io/docs/building-operators/golang/webhook/#1-validating-admission-webhook
We could add a targetNamespaces field to the Cryostat instance. If possible, the webhook would use the user info the AdmissionRequest to do an authorization check against the target namespaces (e.g. can user X create a Cryostat in namespaces Y, Z).
There would still be potential for role binding name conflicts to account for as we already deal with between the ClusterCryostat and Cryostat APIs.

Consider also using the webhook to check for any potential naming conflicts across target namespaces.

Another possibility to avoid name conflicts is to use GenerateName on some initial resource, maybe the lock ConfigMap, and store the resulting name in the CR. Then use that generated name consistently for all other objects owned by that CR.

Yet another possibility is to not rely on the names of objects but to use labels or annotations to indicate which CR owns them, and then use a List instead of Get operation.


C Example build fails due to multiple unresolved external symbols on Windows

Example failed run on windows-2022 GitHub-hosted runner -- logs and workflow file:
https://github.com/kuzudb/kuzu/actions/runs/6126525914/job/16630687428
There does not seem to be any evidence of this build ever succeeding on a Windows machine.
Edit:
Example failed run on windows-2019 GitHub-hosted runner -- logs and workflow file:
https://github.com/kuzudb/kuzu/actions/runs/6164803404/job/16731315902

Fixed


Guid on how to use Postgres (or any other) extension with ADBC

There is an issue similar to this https://github.com/apache/arrow-adbc/issues/546 that talks about geo extension and how one can use it with ADBC.
My general question is around the guides for using Postgres Extensions? How one should enable them and is there any easy way to work with them from the client? I use Scala.
In particular, I was wondering what are the steps to work with pgvector. It introduces vector data type and also new expressions (functions, aggregators, etc.)

@lidavidm thanks David. It would have been great to at least bring the Java lib up to speed with c++ and have binary outputs. Then I can convert the output myself.


allowJs does not compile JavaScript files

Issue

I want to configure allowJs to be true in my tsconfig and allow ts-jest to transform it in my transform map by using:
{
  "jest": {
    "transform": {
      ".(ts|tsx|js)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
    }
  }
}

Expected behavior

My JavaScript tests will be transformed with TypeScript.

Let me know if you want a reproduction, but it looks like the fix would simply be including js here: https://github.com/kulshekhar/ts-jest/blob/e539f77e5bfb45f006860fef3fb5fb26f7b52279/src/preprocessor.ts#L35

Yes, if allowJs is set, that check should allow the js extension. I'm marking this as a bug. Thanks for reporting this!

@calebmer I've published a new version. Could you please check if the fix works for you

Thank you @kulshekhar!

If anyone comes across this, now the configuration would be like
  transform: {
    '.(ts|tsx|js)': 'ts-jest',
  },


mtd command needs work to run properly on pixracer

failure to lock the SPI bus in rwtest causes corruption of parameters

Was this ever fixed?

I would say that's now covered with more detail in #5188.


Field Selectors

Is there a way to make it work with le logs kind ?
For exemple :
 kubectl logs -n <namespace> <pod_name> --field-selector status.phase=Running

When I try this while the pod is between Terminating && Running (2 pods), I get an error message :
error: container bind9-5755cbf67-vxjmt is not valid for pod bind9-5755cbf67-gpgmm
To reproduce, you must have previously deployed <deployment>.yaml
kubectl delete -f <deployment>.yaml

Followed by
kubectl apply -f <deployment>.yaml

Then try to get logs  now vi kubectl ...

This feels like a request for support.
However, GitHub is not the right place for support requests.
If you are looking for help, check Server Fault.
You can also post your question on the Kubernetes Slack or the Discuss Kubernetes forum.

If you want to suggest an improvement to kubectl, visit https://github.com/kubernetes/kubectl/issues/new/choose

/kind support

@Martin-Luther  This is a support issue try to reach out to the community forum or on slack channel.
For now I am closing the issue.
Keeps Contributing to the community with the bug, feature request etc.
Thanks for your contribution.

/close not-planned


cookies or headers bug

I've been trying to do a basic test with cookies with no luck. Here is my code
@app.Route ('/cookies')
cookie ()
{
    var cookie = app.request.headers['cookie'];
    app.response = app.response.change(headers: {'set-cookie':'ID=2; Path=/; HttpOnly'});
    return cookie;
}

The browser doesn't receive the Set-Cookie header. However, it works if you return a shelf.Response with its headers set
@app.Route ('/cookies')
cookie ()
{
    var cookie = app.request.headers['cookie'];
    return new shelf.Response.ok (cookie, headers: {'set-cookie':'ID=2; Path=/; HttpOnly'});
}

@luizmineo
Tried digging in the source code to fix the problem. My hypothesis is that the shelf.Response modified in the route is not being used because if the response of a route is NOT a shelf.Response a new shelf.Response is created using the output value from the route's function, but doesn't carry the headers set during the routes execution.
Redstone is a little hard to understand since I don't know shelf. Couldn't find the actual line where the route's function is executed. I'll need a basic intro to start contributing with actual code.

This is the expected behavior. Shelf messages (request and response) are immutable, and the change() method always creates a new instance.
v0.6 has a better library layout, which are easier to understand. I suggest that you explore this version instead of the current code base.


Developer documentation for Android SDK

@sherenewso2 @gomathyk will help on reviewing final content.

Refer https://github.com/wso2/docs-is/blob/new_restructure/en/docs/quick-starts/android.md


How to export the estimate in 3d without the method kt.write_asc_grid()

Hi, I'm testing pykrige for a week now and I have the following question: How to export the estimate in 3d without the method kt.write_asc_grid()
In 2D I have no problem, but in 3D this method (kt.write_asc_grid ()) is not implemented.
This is part of my code:
Variogram:
ok3d = OrdinaryKriging3D(x,y,z,val,variogram_model='spherical', nlags=10, enable_plotting=True, verbose=True)
Grid Set:
gridx= np.linspace(0,410, num=41, endpoint=False)
gridy= np.linspace(0,610, num=61, endpoint=False)
gridz= np.linspace(0,150, num=15, endpoint=False)
zg, yg, xg = np.meshgrid(gridz, gridy, gridx, indexing='ij')
Kriging and variance:
k3d, ss3d = ok3d.execute('grid', gridx, gridy, gridz)
Thank a lot!.

Solved!.


[NavigationExperimental] how to disable animation on reset route

When Resetting the routes on NavigationExperimental with more then one route the navigator animates to the second route. How do I prevent this? I just want the second scene to be displayed.
For example:
resetRoutesTo([ {key: 'GroupsIndex', title: "Groups"},  {key: 'QuestionsIndex'} ])
with this reducer.
    case RESET_ROUTES_TO:
      return NavigationStateUtils.reset(state,action.routes)

it still animates.

Can you reproduce this on rnplay.org? Please provide a link.

@mkonicek Somehow its not working in rnplay, but here is a short example:
https://rnplay.org/apps/q85Y1A
I want to reset the route to [Master,Detail] and Detail animates from the right. How can I prevent the animation?

Thanks! cc @ericvicenti who wrote AnimationExperimental.

@skevy, any thoughts on how to handle disabling of animations?
My first thought is that we should add a prop like enableAnimation to NavigationCardStack, which will configure the animation to look instant. We can eventually offer nicer ways of changing this other than the prop.

I'm also having this issue, I'm using NavigationStateUtils.reset to switch between nav tabs and I find there is a lag between when I press the tab and when the view is rendered, I'm assuming its because its running an animation before it renders?

I also having this bug when I have for example 3 routes in state and then I have this reset action my reducer:
case RESET_ROUTES:
      return NavigationStateUtils.reset(state, [action.route]);

After this animates old routes out. I would also like to disable animation or do normal push animation but without these old animations to pop out :/

Navigation Experimental has been deprecated in favor of the react-navigation library.

Heads up for those migrating from navigation experimental to react-navigation the same problem exists there.


Can't scroll down on page

When scrollin down, page returns automatically to top
cast: http://imgur.com/SD0iaVv
Ubuntu 16.04
Chrome Version 57.0.2987.133 (64-bit)

It will jump for me using Mist @develop:

It used to happen with me, but not anymore, is it still happening?

@alexvandesande Yes, but it doesn't happen under every circumstance. On this page: https://registrar.ens.domains/#ooooooooooooooooooooooooooooo if the window has a very short height, or just slightly below the full height. It works fine. Somewhere in the middle it doesn't work.


[QUESTION]: How to remove default menu from config file?

I was creating a menu with subitems extracted from the database.
I was implemented the method EventServiceProvider , adding code at boot.
I need clean the previous menu, I don´t know how to remove it.
I deleted the item menu from my config.adminlte but it continuos appears.
Thanks for your help
I was creating a menu with subitems extracted from the database.
I was implemented the method EventServiceProvider , adding code at boot.
I need clean the previous menu, I don´t know how to remove it.
I deleted the item menu from my config.adminlte but it continuos appears.
Thanks for your help

Hi @profesorapatriciafigueroa , Probably you have cached the Laravel configuration files on the past...
Read next link for more details:
https://dev.to/kenfai/laravel-artisan-cache-commands-explained-41e1
So, you may try next command on your Laravel application root folder:
php artisan config:clear

Hola Diego, Ya corri ese comando y nada :(

@profesorapatriciafigueroa Do not remove the menu configuration option from the config/adminlte.php file. If you do that, the menu config will fallback to the one available on the package, at vendor/jeroennoten/laravel-adminlte/config/adminlte.php. Just define the menu as an empty array:
'menu' => [],

Closed because no feedback, reopen in case you need more help...


bug: vim.schedule error when opening a TeX file

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.10.0 Build type: Release
Operating system/version
MacOS 14.5
Describe the bug
When opening a tex file right now, I get an error saying, regardless of whether the TeX extra is enabled or not:
Error executing vim.schedule lua callback: .../neovim/0.10.0/share/nvim/runtime/lua/vim/lsp/client.lua:786: Invalid 'data': Cannot convert given Lua table stack traceback:         [C]: in function 'nvim_exec_autocmds'         .../neovim/0.10.0/share/nvim/runtime/lua/vim/lsp/client.lua:786: in function <.../neovim/0.10.0/share/nvim/runtime/lua/vim/lsp/client.lua:785>
I tried fixing it by going to that file but I don't know this framework.
Steps To Reproduce

create a test.tex file with some template TeX code
open this with lazyVim
observe error

Expected Behavior
No error
Repro
No response

I'm going to need some more info here, since it works fine for me

You don't need to configure anything if you enable the xtra.
Optional just means that that part of the extra will be enabled if the plugin for which it is optional for is present.

Just enable the extra and remove all your text config.
Closing


[Strings and Characters]文言の修正

https://github.com/stzn/the-swift-programming-language-jp/issues/52


V3 : eliminate circular dependencies

Expected Behavior
Modules / functions reference(import) specific functionality instead of using indexes.
Actual Behavior
When running the build for modeling, the following error is published by rollup.
(!) Circular dependency
src/primitives/index.js -> src/primitives/torus.js -> src/operations/extrusions/index.js -> src/operations/extrusions/extrudeRectangular.js -> src/operations/extrusions/extrudeRectangularPath2.js -> src/operations/expansions/index.js -> src/operations/expansions/expand.js -> src/operations/expansions/expandGeom3.js -> src/operations/expansions/expandShell.js -> src/primitives/index.js

Steps to Reproduce the Problem

cd to modeling directory
pnpm run build

Specifications

Version: V3
Platform: All
Environment: All

In general, imports of named functions should be importing from a file, not from an index. This eliminates extra imports, and circular dependencies.
In general, import directly from files if possible. Don't use indexes.


Rhmap  16781

JIRA
https://issues.jboss.org/browse/RHMAP-16781
Changes

Update digger android-sdk image
set image pull policy to Always (as we are using latest tag)
Allow for copying the sample.cfg file to the Android Sdk pod in the case of OpenShift 3.3 and 3.4 where oc cp is not available

ping @matskiv  for review
Verification Steps

Delete the android-sdk deployment-config on osm1
Run

ansible-playbook -i osm1-inventory-file sample-build-playbook.yml --ask-vault-pass -e "project_name=aerogear-digger" --tags=login,android-sdk

The sample config file generated should be copied to /opt/tools/ dir with the correct contents and the androidctl sync command should complete successfuly.
This should also be verified against an environment with OpenShift 3.4 installed if possible

@laurafitzgerald Why did you decide to add conditions and use oc cp for 3.5+ instead of using oc exec .. for all versions ?

Using oc exec for all options is also an option.
My thinkins was that we are better off avoiding using system tools where possible.
The oc cp command does the job only using oc.
Over time we will be dropping earlier versions of OpenShift so will be able to use'oc cp going forward which means that we can eventually phase out the use of the more complicated oc exec statement
I also investigated ways to get the version without using grep and awk but unfortunately didn't come up with a cleaner way.
I am happy to go with either approach.

I think if we use just oc exec now, playbook would look cleaner. And changing it to oc cp will be pretty easy once we actually drop support for older OCP.
But I understand your thinking and I am ok with keeping it the way its implemented now.

@wei-lee @matskiv changes made as requested.

@wei-lee yes changes made so this is now ready for verification. Steps are provided in the initial comment.

verified the change against OSM4. The config file is copied to the pods and the file permission is updated.


This command is implicitly deprecated because command group 'group deployment' is deprecated and will be removed in a future release. Use 'deployment group' instead.

C:\Users\dbomgardner\Nexus Technologies Inc\Azure RM Templates\ntier-windows>azbb -s 80314534-8a20-4ecc-988a-f7ea09a45070 -g DanB -l westus2 -p n-tier-windows.json --deploy
parameters written to C:\Users\dbomgardner\Nexus Technologies Inc\Azure RM Templates\ntier-windows\n-tier-windows-output-01.json
parameters written to C:\Users\dbomgardner\Nexus Technologies Inc\Azure RM Templates\ntier-windows\n-tier-windows-output-02.json
parameters written to C:\Users\dbomgardner\Nexus Technologies Inc\Azure RM Templates\ntier-windows\n-tier-windows-output-03.json
parameters written to C:\Users\dbomgardner\Nexus Technologies Inc\Azure RM Templates\ntier-windows\n-tier-windows-output-04.json
parameters written to C:\Users\dbomgardner\Nexus Technologies Inc\Azure RM Templates\ntier-windows\n-tier-windows-output-05.json
parameters written to C:\Users\dbomgardner\Nexus Technologies Inc\Azure RM Templates\ntier-windows\n-tier-windows-output-06.json
parameters written to C:\Users\dbomgardner\Nexus Technologies Inc\Azure RM Templates\ntier-windows\n-tier-windows-output-07.json
parameters written to C:\Users\dbomgardner\Nexus Technologies Inc\Azure RM Templates\ntier-windows\n-tier-windows-output-08.json
parameters written to C:\Users\dbomgardner\Nexus Technologies Inc\Azure RM Templates\ntier-windows\n-tier-windows-output-09.json
This command is implicitly deprecated because command group 'group deployment' is deprecated and will be removed in a future release. Use 'deployment group' instead.
Unable to parse parameter: @C:\Users\dbomgardner\Nexus
error: error executing az
status: 1
arguments: group deployment create --name bb-01-vnet --subscription 80314534-8a20-4ecc-988a-f7ea09a45e70 --resource-group DanB --template-uri https://raw.githubusercontent.com/mspnp/template-building-blocks/v2.2.0/templates/buildingBlocks/virtualNetworks/virtualNetworks.json --parameters @C:\Users\dbomgardner\Nexus Technologies Inc\Azure RM Templates\ntier-windows\n-tier-windows-output-01.json

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

ID: 8c00d25f-b981-29e3-bd64-865fda0b0d33
Version Independent ID: 36bcc6f0-0fa4-df9c-cff5-4fdfb3460432
Content: Windows N-tier application on Azure - Azure Architecture Center
Content Source: docs/reference-architectures/n-tier/n-tier-sql-server.md
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @doodlemania2
Microsoft Alias: pnp

Hello @db0mz, Thank for reaching out. Can you please let me know the exact document where you found the issue mentioned above?

This was script output from the command associated with the n-tier-windows deployment using azbb
azbb -s 80314534-8a20-4ecc-988a-f7ea09a45070 -g DanB -l westus2 -p n-tier-windows.json --deploy

I'm trying to deploy the architecture here using the "Deploy this architecture"
https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/n-tier/n-tier-sql-server#deploy-the-solution

Thank you @db0mz . We have assigned this issue to the author to review further and take the next course of action.

Many thanks!

so is there a way to track if this gets resolved?

It appears this was resolved in early 2021, please re-open with additional details if help is still needed.


feat: run Docker image analysis

Summary
Add the CDS Docker dive action to perform
image analysis.

You win this round GH actions.


[AutoDiff] Fix undiagnosed active modify accessor applications.

Semantically, yielded addresses of modify accessor applications can be viewed
as projections into inout arguments.
Activity analysis should reflect this assumption: yielded addresses should
propagate variedness and usefulness to inout arguments of modify accessor
applications.
Now, previously undetected active modify accessor applications are diagnosed.
Resolves TF-1115.
TF-1080 tracks modify accessor differentiation support.

Example modify accessor application:
array[index] = x

// function_ref Array.subscript.modify
%fn = function_ref @$sSayxSiciM :
    $@yield_once @convention(method) <τ_0_0> (Int, @inout Array<τ_0_0>) -> @yields @inout τ_0_0
(%elt_addr, %token) = begin_apply %fn<Float>(%index, %array) :
    $@yield_once @convention(method) <τ_0_0> (Int, @inout Array<τ_0_0>) -> @yields @inout τ_0_0
store %x to [trivial] %elt_addr : $*Float

If %array is active, %x should also be active.
Before this patch, active %array did not always imply active %x.

TF-1115 example (undiagnosed active modify accessor application):
@differentiable
func TF_1115(x: Float) -> Float {
    var array: [Float] = [0]
    array[0] = x
    return array[0]
}
print(valueWithGradient(at: 4, in: TF_1115))

Before:
$ swift tf-1115.swift
# No error, but incorrect zero derivative.
(value: 4.0, gradient: 0.0)

After:
$ swift tf-1115.swift
tf-1115.swift:1:2: error: function is not differentiable
@differentiable
~^~~~~~~~~~~~~~
tf-1115.swift:2:6: note: when differentiating this function definition
func TF_1115(x: Float) -> Float {
     ^
tf-1115.swift:4:14: note: differentiation of coroutine calls is not yet supported
    array[0] = x
             ^

Note: the assumption that yielded addresses are always a projection into
the inout argument is a safe over-approximation but not always true.
In practice, this should be fine for now.
Example:
var global: Float = 1
extension Float {
  var projection: Float {
    get { self }
    // This `modify` accessor yields a global variable, not a projection from `self`.
    // Diagnosing active applications is nonetheless a safe over-approximation.
    _modify { yield &global }
  }
}
@differentiable
func TF_1115_modifyNonSelfProjection(x: Float) -> Float {
  var result: Float = 0
  // Assignment below calls `Float.projection.modify`.
  result.projection = x
  return result
}

$ swift modify.swift
modify.swift:10:2: error: function is not differentiable
@differentiable
~^~~~~~~~~~~~~~
modify.swift:11:6: note: when differentiating this function definition
func TF_1115_modifyNonSelfProjection(x: Float) -> Float {
     ^
modify.swift:14:21: note: differentiation of coroutine calls is not yet supported
  result.projection = x
                    ^

@swift-ci Please clean test tensorflow

@swift-ci Please clean test tensorflow


cmd/go2go: unhelpful error message with generic map key type

For this test case:
package p

type Set[type T] map[T]bool

var V Set[func()]

the type checker reports
foo.go2:3:22: invalid map key type T

This is accurate but cryptic.  It would be better if the error message said something like map key type T does not have comparable constraint.
CC @griesemer

Fixed by https://golang.org/cl/247258.


Categorical data

Thank you for sharing the implementation. How to use the algorithms if we have categorical (nominal) variables in our data? Do we need to encode them first?

yes, categorical fields should be encoded first


openrc-run: Fixing command_user in start-stop-daemon

As mentionned in man openrc-run.8,

“If the daemon does not support changing to a different user id, you can use this to change the user id, and optionally group id, before start-stop-daemon(8) or supervise-daemon(8) launches the daemon.”

We use --user, not --chuid, so this fix is not correct.

Up. From the man page, command_user should also interpret group/gid. But --user does not.

I will check this out and reply later, but if this is an issue, the fix
would be to make sure --user works correctly and not switch to --chuid.
On 5/29/2019 12:06 PM, Issam Maghni wrote:

Up. From the man page, |command_user| should also interpret group/gid.
But |--user| does not.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/OpenRC/openrc/pull/255?email_source=notifications&email_token=AAAPWY6IJBYKHLKYFG7O7I3PX2ZYPA5CNFSM4GE5FWB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWP774Y#issuecomment-497025011,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAPWY5LUH6MQXECONABI63PX2ZYPANCNFSM4GE5FWBQ.