text:
Log per session/user

NLog version: 4.5.6
Platform:  .Net 4.5 / Mono 4
Current NLog config (xml or C#, if relevant)
Is it possible to log per session/user? I mean to log data to different files by session or userId.
Thank you

No idea how your application works but maybe you can do something like this:
var userLogger = LogManager.GetLogger(userId + "_" sessionId);
userLogger.Info("Hello World");

Then you can configure your file-target like this:
<?xml version="1.0" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <targets>
        <target name="userFile" xsi:type="File" fileName="${basedir}/${logger}.txt" />
    </targets>

    <rules>
        <logger name="*" minlevel="Debug" writeTo="userFile" />
    </rules>
</nlog>

Another option is to use the ${aspnet-sessionid},
e.g. file per session:
<?xml version="1.0" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <targets>
        <target name="f" xsi:type="File" fileName="${basedir}//session-${aspnet-sessionid}.txt" />
    </targets>

    <rules>
        <logger name="*" minlevel="Debug" writeTo="f" />
    </rules>
</nlog>

Thank you.
Will try.

@snakefoot this seems to work:
var userLogger = LogManager.GetLogger(userId + "_" sessionId);
userLogger.Info("Hello World");

But my application uses 3 different logger:
       public static Logger Logger1 = LogManager.GetLogger("Log1");
       public static Logger Logger2 = LogManager.GetLogger("Log2");
       public static Logger Logger3 = LogManager.GetLogger("Log3");

configured by the .config file:
  <rules>
    <logger name="Log1" minlevel="Info" writeTo="log1" />
    <logger name="Log2" minlevel="Info" writeTo="log2" />
    <logger name="Log3" minlevel="Info" writeTo="log3" />
  </rules>

How can I use  ${logger} placeholder ?

Think you need to explain what you want. You say that you want log file for each userid and sessionid
Then suddenly you are restricted to only 3 loggers and 3 targets. You can also push the userid and sessionid using MDLC. And add it to the Filename-layout. See also https://github.com/NLog/NLog/wiki/MDLC-Layout-Renderer
Sent from my Sony Xperia
---- Gerardo wrote ----
Reopened #2955https://github.com/NLog/NLog/issues/2955.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/NLog/NLog/issues/2955#event-1911975593, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AK-fnHgsysnT7LxlAqwifvAtUj_8Iwq7ks5umGZMgaJpZM4XTTOq.

authors: 304NotModified JTrotta snakefoot

repo: NLog/NLog


text:
TargetWithContext: support for IRawValue

Making use of IRawValue-interface

Thanks!

source: gharchive/pull-request

license_type: permissive

license_source: bigquery


text:
google collab bug affecting nwis_client and _restclient. Throws RuntimeError: This event loop is already running

In google collab instantiating a RestClient ( this is implicitly done by nwis_client.IVDataService ) will cause a RuntimeError: This event loop is already running in google collab.  This issue is well documented in the jupyter notebook repo. In that thread, a work around using nest_asyncio was mentioned as shown below. The problem and a solution to this issue as shown below.
Reproduce Problem
!pip install hydrotools.nwis_client

from hydrotools import nwis_client

client = nwis_client.IVDataService()

---------------------------------------------------------------------------

RuntimeError                              Traceback (most recent call last)

<ipython-input-10-d37c2bf4ee70> in <module>()
----> 1 service = nwis_client.IVDataService()

4 frames

/usr/lib/python3.7/asyncio/base_events.py in _check_runnung(self)
    521     def _check_runnung(self):
    522         if self.is_running():
--> 523             raise RuntimeError('This event loop is already running')
    524         if events._get_running_loop() is not None:
    525             raise RuntimeError(

RuntimeError: This event loop is already running

Solution
!pip install hydrotools.nwis_client

import nest_asyncio
nest_asyncio.apply()

from hydrotools import nwis_client
client = nwis_client.IVDataService()

IMO I think the best way to get around this is to try catch where the error propagates from and then try to import nest_asyncio and call nest_asyncio.apply(). If nest_asyncio is not installed, throw a ModuleNotFoundError refing this issue and noting to install nest_asyncio. Given that this is such an edge case and nest_asyncio is required by nbclient which is required by nbconvert which is required by jupyter notebook, it is unlikely that a user will ever not have nest_asyncio installed and run into this issue. Before I open a PR to resolve this, I'd like to hear your thoughts @jarq6c.

Can we make the try/catch specific enough that it only catches this edge case?

I believe so, here is a generic example:
def raise_exception():
    raise Exception("test")

def test_catch():
    try:
        raise_exception()
    except Exception as e:
        if str(e) != "test":
            raise e
        print("caught specific error")

if __name__ == "__main__":
    test_catch()

>>> caught specific error

Now down the line if the error message changes this will break, but it is the only alternative I can think of off the top of my head although admittedly it is a little frail.

I reproduced the exception using the bellow snippet:
from hydrotools import nwis_client
import asyncio

async def main():
    await asyncio.sleep(0.01)

    service = nwis_client.IVDataService(enable_cache=False)
    return service.get(sites="01646500")

if __name__ == "__main__":
    loop = asyncio.get_event_loop()
    loop.run_until_complete(main()

Traceback (most recent call last):
  File "nwis_client_loop_already_created_bug.py", line 14, in <module>
    loop.run_until_complete(main())
  File "~/miniconda3/envs/et/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "nwis_client_loop_already_created_bug.py", line 8, in main
    service = nwis_client.IVDataService(enable_cache=False)
  File "~/evaluation_tools_fork/python/nwis_client/hydrotools/nwis_client/iv.py", line 91, in __init__
    self._restclient = RestClient(
  File "~/evaluation_tools_fork/python/_restclient/hydrotools/_restclient/_restclient.py", line 109, in __init__
    self._session = self._add_to_loop(
  File "~/evaluation_tools_fork/python/_restclient/hydrotools/_restclient/async_helpers.py", line 22, in _add_to_loop
    return self._loop.run_until_complete(coro)
  File "~/miniconda3/envs/et/lib/python3.8/asyncio/base_events.py", line 592, in run_until_complete
    self._check_running()
  File "~/miniconda3/envs/et/lib/python3.8/asyncio/base_events.py", line 552, in _check_running
    raise RuntimeError('This event loop is already running')
RuntimeError: This event loop is already running
Exception ignored in: <function RestClient.__del__ at 0x1118ffc10>
Traceback (most recent call last):
  File "~/evaluation_tools_fork/python/_restclient/hydrotools/_restclient/_restclient.py", line 297, in __del__
  File "~/evaluation_tools_fork/python/_restclient/hydrotools/_restclient/_restclient.py", line 291, in close
AttributeError: 'RestClient' object has no attribute '_session'
sys:1: RuntimeWarning: coroutine 'AsyncToSerialHelper._wrap_func_in_coro.<locals>.wr' was never awaited

source: gharchive/issue

repo: NOAA-OWP/hydrotools

license_source: github-api


text:
time shifted when multiple time plots overlaid on 2D plots

Reported by ansley b manke on 10 Jan 2017 19:53 UTC
This showed up on SOCAT Correlation viewer plots, parameter as a function of time, when the time range is short.
These plots are drawn as PLOT/VS overlays on a blank 2D time-parameter plot, as the time data may be for multiple platforms and so might not define a monotonic time axis. The plot style is a dashed gray line showing time, overlaid with symbols. An example screenshot is attached.
This simple script also shows it.
yes? define axis/t=15-jun-1970:16-jun-1970:60/t0=1-jan-1970/units=seconds  tax
yes? def axis/y=-2:2:0.2 yaxis
yes? let tt = t[shade/pal=white/nokey y[gy=yaxis](gt=tax]

yes?) + t[gt=tax]

yes? ! Second plot shifted in time
yes? plot/over/color=red  cos(tt/3000)
yes? plot/over/color=blue cos(tt/3000)+0.5

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/2495

Comment by ansley.b.manke on 10 Jan 2017 20:46 UTC
This is fixed in ppl/plot/pltit.F, and the routines taxis4.F and tayis4.F

Comment by ansley.b.manke on 10 Jan 2017 22:59 UTC
The fix is merged to the PyFerret branch.

Attachment from ansley.b.manke on 10 Jan 2017 19:55 UTC
The example SOCAT lpot
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_2495_GIT_1767/socat_2495.jpg

Attachment from ansley.b.manke on 10 Jan 2017 19:55 UTC
The plot from the example script
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_2495_GIT_1767/bug2495.gif

repo: NOAA-PMEL/Ferret

license: Unlicense


text:
control over precision of STAT output

Reported by ansley b manke on 28 Feb 2017 18:54 UTC
We have SET LIST/PREC= and LIST/PREC=
It would be nice to have STAT/PREC=
Also perhaps apply the precision from SET LIST/PREC= to the STAT command, which would be overridden by a STAT/PREC= setting.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/2512

Comment by ansley.b.manke on 27 Mar 2017 21:59 UTC
This is fixed.  I did not apply the setting from SET LIST/PREC= as it seemed inconsistent with the defaults that the STAT command uses, so only the new STAT/PRECISION= is implemented.


text:
Saved Scenario in 1.7.0b - can't open in 1.6.1

Hi guys,
I assume there is new functionality in 1.7.0b, I saved a scenario in this client by accident (thought I was in 1.6.1) and now can't see it in the 1.6.1 release client.
Is there a way to convert it back to being compatible with 1.6.1? If not will this 1.7.0b scenario be compatible with 2.0 when it is released?

https://github.com/NPBruce/valkyrie/wiki/QuestIniQuest
Try to set format=8 inside the quest.ini. Be aware of the changes in quest format 9 https://github.com/NPBruce/valkyrie/wiki/QuestFormat

If you are using the added traits or investigator attacks it won't work.
Otherwise you will have to remove all references to $end (you can do this in the editor or manually) and then manually edit quest.ini and change the format to 8.

I had saved it previoulsly in 1.7.0b and it was still visible. I think I saved it after playing around with the sorting functions.
I am not using the added traits or investigator attacks.
I am not near finishing this, so not worried if it will work in the next release? Am I right in thinking a 1.7.0b scenario will work in the next release of Valkyrie (2.0 now I believe)?

Yes it will work in future versions.

authors: NPBruce redwolf2 scrubbless

repo: NPBruce/valkyrie


text:
Solaris utilities: temporary onboarding

Data_to_tiles transition
In order to facilitate the transition from hdf5 samples to plain .tif (imagery) and .geojson (ground truth) samples (aka tiles), some utilities from the solaris library must be temporarily onboarded.
Once solaris v0.5 is out, some PRs will be made to the main solaris repo in order to merge GDL's needs with the state of solaris at that point.
Why temporarily onboard, then remove?
Note those of you wondering why we shouldn't just use solaris as it is now and adapt once it's updated:
Since solaris was previously considered as dead, the onborading and modification of solaris to meet GDL's needs had already advanced with many hours of bugfixing and adapting. Therefore, it will be easier to add the relevant solaris utilities to GDL directly, make PRs to ensure a seamless transition, then remove those utilities from GDL's repo.

The GDL team has decided to wait for solaris to release v0.5.0 and skip this temporary onboarding.
Meanwhile, a branch with the solaris material and tiling to .tifs and .geojson is on my fork: 215-solaris-tiling2

repo: NRCan/geo-deep-learning

license: MIT


text:
Navigation: 'Connect with Us' Opens in a New Page.

To enhance user experience, consider redirecting the "Connect with us" link to open in a new page.
It is necessary to open this page in a new tab:

@pradeeptosarkar

go ahead @the-shivam-gupta

authors: pradeeptosarkar the-shivam-gupta

repo: NSCC-BPIT/NSCC-BPIT-Website


text:
File is not created when using run myconfig.json

I have just saved the config file from nswagstudio and try to run it from command line.

nswag run myconfig.json
NSwag NPM CLI
NSwag command line tool for .NET 4.6+, toolchain v10.6.6324.32485 (NJsonSchema v8.33.6323.36213) (x64)
Visit http://NSwag.org for more information.
NSwag bin directory: C:\Users\Me\AppData\Roaming\nvm\v7.9.0\node_modules\nswag\bin\binaries\full

Executing file 'myconfig.json'...
Done.
Duration: 00:00:00.465226

no file being produced.
however I set "output": "test.ts
here is my config:
{
  "swaggerGenerator": {
    "jsonSchemaToSwagger": {
      "name": "test",
      "schema": "{\r\n  \"$schema\": \"http://json-schema.org/draft-04/schema#\",\r\n  \"type\": \"object\",\r\n  \"properties\": {\r\n    \"listing\": {\r\n      \"type\": \"array\",\r\n      \"items\": {\r\n        \"type\": \"object\",\r\n        \"properties\": {\r\n          \"id\": {\r\n            \"type\": \"number\"\r\n          },\r\n          \"type\": {\r\n            \"type\": \"string\"\r\n          },\r\n          \"guests\": {\r\n            \"type\": \"string\"\r\n          },\r\n          \"location\": {\r\n            \"type\": \"string\"\r\n          },\r\n          \"propertyType\": {\r\n            \"type\": \"string\"\r\n          },\r\n          \"placeType\": {\r\n            \"type\": \"string\"\r\n          },\r\n          \"priceType\": {\r\n            \"type\": \"string\"\r\n          },\r\n          \"price\": {\r\n            \"type\": \"string\"\r\n          },\r\n          \"minStay\": {\r\n            \"type\": \"string\"\r\n          },\r\n          \"maxStay\": {\r\n            \"type\": \"string\"\r\n          }\r\n        }\r\n      }\r\n    }\r\n  }\r\n}",
      "output": "test.ts"
    }
  },
  "codeGenerators": {
    "swaggerToTypeScriptClient": {
      "className": "{controller}Client",
      "moduleName": "",
      "namespace": "",
      "typeScriptVersion": 2.0,
      "template": "Angular",
      "promiseType": "Promise",
      "dateTimeType": "MomentJS",
      "nullValue": "Null",
      "generateClientClasses": true,
      "generateClientInterfaces": false,
      "generateOptionalParameters": false,
      "wrapDtoExceptions": false,
      "useTransformOptionsMethod": false,
      "useTransformResultMethod": false,
      "generateDtoTypes": true,
      "operationGenerationMode": "MultipleClientsFromOperationId",
      "markOptionalProperties": true,
      "generateCloneMethod": false,
      "typeStyle": "Class",
      "generateDefaultValues": true,
      "excludedTypeNames": [],
      "handleReferences": false,
      "generateConstructorInterface": true,
      "importRequiredTypes": true,
      "baseUrlTokenName": "API_BASE_URL",
      "output": null
    }
  }
}

By running same config in nswagstudio all just works.

Define the output of the code generator (last prop in your json)

ahh I c, messed up with jsonSchemaToSwagger output.
How would you specify jsonSchemaToSwagger schema as a file name?

ahh I c, messed up with jsonSchemaToSwagger output.
How would you specify jsonSchemaToSwagger schema as a file name?
Currently I've got that:
"jsonSchemaToSwagger": {
      "name": "test",
      "schema": "{\r\n  \"$schema\": \"http://json-schema.org/draft-04/schema#\",\r\n  \"type\": \"object\",\r\n  \"properties\": {\r\n    \"listing\": {\r\n      \"type\": \"array\",\r\n      \"items\": {\r\n        \"type\": \"object\",\r\n        \"properties\": {\r\n          \"id\": {\r\n            \"type\": \"number\"\r\n          },\r\n          \"type\": {\r\n            \"type\": \"string\"\r\n          },\r\n          \"guests\": {\r\n            \"type\": \"string\"\r\n          },\r\n          \"location\": {\r\n            \"type\": \"string\"\r\n          },\r\n          \"propertyType\": {\r\n            \"type\": \"string\"\r\n          },\r\n          \"placeType\": {\r\n            \"type\": \"string\"\r\n          },\r\n          \"priceType\": {\r\n            \"type\": \"string\"\r\n          },\r\n          \"price\": {\r\n            \"type\": \"string\"\r\n          },\r\n          \"minStay\": {\r\n            \"type\": \"string\"\r\n          },\r\n          \"maxStay\": {\r\n            \"type\": \"string\"\r\n          }\r\n        }\r\n      }\r\n    }\r\n  }\r\n}",
      "output": null
    }

but want something like:
"jsonSchemaToSwagger": {
      "name": "test",
      "schema": "schema.json",
      "output": null
    }

UPDATE:
just tried nswag run myconfig.json /input:schema.json by removing jsonSchemaToSwagger from my myconfig.json, seams to be working but the file size like more than 1k lines, in case of nswagstudio got just 400 line file.

authors: kuncevic rsuter

repo: NSwag/NSwag

license: mit


text:
Missing argument 'numpy_state' in Set_inits()

Error message below when running trachoma_fitting.R. I think the amis integration package is based on an older version of the trachoma code, Set_inits() function now requires argument numpy_state

source("trachoma_fitting.R")
Error in py_call_impl(callable, call_args$unnamed, call_args$named) :
TypeError: Set_inits() missing 1 required positional argument: 'numpy_state'
Run reticulate::py_last_error() for details.
reticulate::py_last_error()

── Python Exception Message ───────────────────────────────────────────────────────────────────────────
Traceback (most recent call last):
File "/Users/u2176058/Documents/trachoma-endgame/trachoma-amis-integration/trachoma_amis/amis_integration.py", line 103, in build_transmission_model
) = setup(initial_infect_frac)
File "/Users/u2176058/Documents/trachoma-endgame/trachoma-amis-integration/trachoma_amis/amis_integration.py", line 50, in setup
vals = Set_inits(parameters, demog, sim_params)
TypeError: Set_inits() missing 1 required positional argument: 'numpy_state'
── R Traceback ────────────────────────────────────────────────────────────────────────────────────────
▆

├─base::source("trachoma_fitting.R")
│ ├─base::withVisible(eval(ei, envir))
│ └─base::eval(ei, envir)
│   └─base::eval(ei, envir)
└─amis_int_mod$build_transmission_model(...) at trachoma_fitting.R:30:1
└─reticulate:::py_call_impl(callable, call_args$unnamed, call_args$named)

That's right, this is based on version 1.0.0 (the latest tag) of the trachoma model

Thanks Thibault - I rolled back to v1.0.0 (noting required downgrading NumPy from 2.0.1 to 1.26.4 and adding version tag to trachoma package in pyproject.toml). But now getting the error below.
p.s. sorry for the many questions - I saw that you were going to look at the integration later this week so I can stop here until you've had a chance to do this
Exception type IndexError was raised during the execution of the model:

── Python Exception Message ─────────────────────────────────────────────────────────────────────────────────
Traceback (most recent call last):
  File "/Users/u2176058/Documents/trachoma-endgame/trachoma-amis-integration/trachoma_amis/amis_integration.py", line 114, in run_trachoma
    results = Parallel(n_jobs=num_cores)(
  File "/Users/u2176058/Documents/trachoma-endgame/trachoma-venv/lib/python3.10/site-packages/joblib/parallel.py", line 1918, in __call__
    return output if self.return_generator else list(output)
  File "/Users/u2176058/Documents/trachoma-endgame/trachoma-venv/lib/python3.10/site-packages/joblib/parallel.py", line 1847, in _get_sequential_output
    res = func(*args, **kwargs)
  File "/Users/u2176058/Documents/trachoma-endgame/trachoma-venv/lib/python3.10/site-packages/trachoma/trachoma_functions.py", line 1184, in run_single_simulation
    results = sim_Ind_MDA_Include_Survey(params=params, Tx_mat = Tx_mat,
  File "/Users/u2176058/Documents/trachoma-endgame/trachoma-venv/lib/python3.10/site-packages/trachoma/trachoma_functions.py", line 919, in sim_Ind_MDA_Include_Survey
    vals = stepF_fixed(vals=vals, params=params, demog=demog, bet=betas[i])
  File "/Users/u2176058/Documents/trachoma-endgame/trachoma-venv/lib/python3.10/site-packages/trachoma/trachoma_functions.py", line 155, in stepF_fixed
    lambda_step = 1 - np.exp(- getlambdaStep(params=params, Age=vals['Age'], bact_load=vals['bact_load'],
  File "/Users/u2176058/Documents/trachoma-endgame/trachoma-venv/lib/python3.10/site-packages/trachoma/trachoma_functions.py", line 310, in getlambdaStep
    returned[vaccinated] = (1 - prob_reduction[vaccinated]) * returned[vaccinated]
IndexError: arrays used as indices must be of integer (or boolean) type

── R Traceback ──────────────────────────────────────────────────────────────────────────────────────────────
    ▆
 1. └─AMISforInfectiousDiseases::amis(...)
 2.   └─global transmission_model(seeds = 1:n_samples, param, n_tims) at evandrokonzen-AMISforInfectiousDiseases-dev-55f99ef/R/AMIS.R:270:5
 3.     ├─base::tryCatch(...)
 4.     │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
 5.     │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
 6.     │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
 7.     └─reticulate (local) model_func(seeds, params, n_tims)
 8.       └─reticulate:::py_call_impl(callable, call_args$unnamed, call_args$named)
Error in value[[3L]](cond) :
  list(AMISforInfectiousDiseases::amis(prevalence_map, function(seeds, params, n_tims) {
    tryCatch(expr = {
        model_func(seeds, params, n_tims)
    }, error = error_function)
}, prior), transmission_model(seeds = 1:n_samples, param, n_tims), tryCatch(expr = {
    model_func(seeds, params, n_tims)
}, error = error_function), tryCatchList(expr, classes, parentenv, handlers), tryCatchOne(expr, names, parentenv, handlers[[1]]), doTryCatch(return(expr), name, parentenv, handler), model_func(seeds, params, n_tims), py_call_impl(callable, call_args$unnamed, call_args$named))c(0, 1, 2, 3, 4, 5, 2, 7)c(TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE)c("AMISforInfectiousDiseases", NA, "base", "base", "base", "base", "reticulate", "reticulate")c("::", "global", "::", "local", "local", "local", "local", ":::")list(AMISforInfectiousDiseases::amis(prevalence_map, function(seeds, params, n_tims) {
    tryCatch(expr = {
        model_func(seeds, params, n_tims)
    }, error = error_func

Yes, I'm getting this one as well and I don't have a fix for it at the moment. It looks like vaccination isn't setup correctly in amis_integration.py. I'm not going to be able to get a close look to this before friday I'm afraid.

authors: RaihaTuiTaura tlestang


text:
does the last release (DP) of isaac_ros_visual_slam still support galactic or just Humble?

Hello!
I started using the isaac_ros_visual_slam package around 2 months ago, before the latest release that supports Humble. My application still uses ROS2 Galactic at its core and so, the release I used at the time (v0.9.3-ea3) has been working well for me. Since then I didn't have time to check whether the latest stable release also supports Galactic, and in the documentation, there is no mention of this. So, does it support it or not?
Thank you!

Isaac ROS EA3 supported only ROS2 Foxy but could in theory have worked fine on Galactic with minor modifications. Isaac ROS DP packages, however, takes advantage of new features in ROS2 Humble and wouldn't be able to run on an earlier release.

authors: geoporus-karelics hemalshahNV


text:
Support for inference on LMDB

A (small) step towards support for non-image data: this makes it possible to perform inference on any 3D blob. Blobs may not be "proper" images (e.g. because they don't have a standard number of channels).
close #619
close #630
A new field and a new button were added to allow inference on LMDB database:

Results are shown as follows (using DB key instead of image path):

Progress

[x] Add "Test DB" form to generic model show page
[x] Create new route
[x] Update inference job to take in a path to a database
[x] Update inference tool to parse an LMDB database
[x] Add tests

Tests added in latest commit.

I am interested in using Digits with my Multispectral images (4 image channels).  Since most multispectral images can be output as a separate 8 bit grayscale images (one for each channel), I was wondering if we could get Digits to accept each  multispectral images as separate channels images for both training and classification. For example the file-list could contain the image name, channel number and category.
Image1.jpg c1 1
Image1.jpg c2 1
Image1.jpg c3 1
Image1.jpg c4 1
Image2.jpg c1 1
Image2.jpg c2 1
Image2.jpg c3 1
Image2.jpg c4 1
Image3.jpg c1 2
Image3.jpg c2 2
Image3.jpg c3 2
Image3.jpg c4 2

Hi @ajcampisi DIGITS does not support the format you propose out of the box. Are you saying that each image channel - taken in isolation - is sufficient to classify the image? In that case why don't you convert the 4-channel image to grayscale with:
convert <input> -colorspace Gray <output>

and then feed those grayscale images to DIGITS?

Hi Greg,
Thanks for the reply.  No unfortunately it is not sufficient an individual channel image to be used for classification.  All four channels images need to be feed into the network as four separate network inputs and the combined image data from all four network channels can then be used by the network for both classification and training.

authors: ajcampisi gheinrich

repo: NVIDIA/DIGITS


text:
Fix pre-norm weight conversion for nmt

For nmt model, if it uses pre-norm architecture, then it will have final layernorm. (Ref: fairseq encoder init, forward and fairseq decoder init, forward).
We don't need to modify the rest of the script since fairseq will use the original final_layer_norm before ffn despite they call it final_layer_norm. (Ref: https://github.com/facebookresearch/fairseq/blob/main/fairseq/modules/transformer_layer.py#L212)

hi @Pzzzzz5142 ， thanks for your contribution, this PR has been merged and will upstream to main branch next week,

repo: NVIDIA/TensorRT-LLM


text:
Graphcast

Earth-2 MIP Pull Request
Description
Add deepmind's graphcast model.
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.
[x] The CHANGELOG.md is up to date with these changes.
[ ] An issue is linked to this pull request.

Dependencies
Added:

graphcast (Apache 2)
gcsfs, https://github.com/fsspec/gcsfs, (BSD-3)
jax, https://github.com/google/jax (Apache 2)

Updates:

modulus. requires version of modulus after https://github.com/NVIDIA/modulus/pull/194 merges

/blossom-ci

/blossom-ci

/blossom-ci

/blossom-ci

/blossom-ci


text:
installtion on geforce 2080ti

Hi, just wonder is it possible to install this lib on a 2080ti cluster? Thanks

Hi @dexhunter ,
This library requires a hardware feature, which is available on Tesla and Quadro class GPUs. So, it would not work on your GeForce.

Hi @dexhunter ,
This library requires a hardware feature, which is available on Tesla and Quadro class GPUs. So, it would not work on your GeForce.

ok thanks

authors: dexhunter pakmarkthub

repo: NVIDIA/gdrcopy


text:
[FEA] CAE metrics

Modulus Pull Request
Description
Adding useful metrics for CAE domain. The integrals are new additions while others are moved into package from individual examples.
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.
[x] The CHANGELOG.md is up to date with these changes.
[x] An issue is linked to this pull request.

Dependencies

/blossom-ci

/blossom-ci

/blossom-ci

/blossom-ci

/blossom-ci

/blossom-ci

/blossom-ci

/blossom-ci

/blossom-ci

/blossom-ci

repo: NVIDIA/modulus


text:
How to configure for running outside of Docker container? (undefined symbol: _ZN2cv8fastFreeEPv)

I am developing an application based upon the code in this repository and in order to easily debug my code using PyCharm I am running outside of the provided Docker container. I am seeing the same error as is described in issue #15:
Traceback (most recent call last):
  File "/home/james/miniconda3/envs/pytorch_retinanet/bin/retinanet", line 6, in <module>
    from retinanet.main import main
  File "/home/james/miniconda3/envs/pytorch_retinanet/lib/python3.7/site-packages/retinanet/main.py", line 10, in <module>
    from retinanet import infer, train, utils
  File "/home/james/miniconda3/envs/pytorch_retinanet/lib/python3.7/site-packages/retinanet/infer.py", line 13, in <module>
    from .model import Model
  File "/home/james/miniconda3/envs/pytorch_retinanet/lib/python3.7/site-packages/retinanet/model.py", line 8, in <module>
    from ._C import Engine
ImportError: /home/james/miniconda3/envs/pytorch_retinanet/lib/python3.7/site-packages/retinanet/_C.so: undefined symbol: _ZN2cv8fastFreeEPv

Can anyone advise as to how I can workaround this issue? My plan is to run my code within the provided container once it has been developed, but in the meantime using the container is problematic since it limits my ability to develop my code using PyCharm (although maybe that's easier to accomplish than fixing this issue). I have tried installing PyCharm into the Docker container with no success so far.  :(
BTW, in case it helps explain why I'm trying this: I want to use the model to perform inference on video streams rather than on a collection of images as is shown in the inference example. I'm cobbling together an application that loads a fine-tuned version of this project's model and performs inference on video frame images. Target platform is a Jetson Nano.

Since nvidia-docker is not supported on Jetson Nano this appears to be a show stopper for inference using this project's code on that platform. Or am I missing something obvious? Maybe the workaround is to convert the model to a TensorRT engine and then inference using this approach?

Yes, containers are not currently available on the Jetson platforms. Also, not all of the project's dependencies are readily available for Jetson. This makes installing the full project on Jetson difficult, so an alternative workflow is needed. Thankfully, the Jetpack SDK contains the basic dependencies that are needed to create/run TRT engines on Jetson like CUDA/cuDNN/TensorRT.
Check out the instructions for creating a TensorRT engine from your model and deploying into a deepstream application here. We include instructions that have worked well on Jetson Xavier. Alternatively, you can use the generated TRT engine in your own custom application to perform inference. A basic example of this is provided here.
I will mention that deploying on Jetson Nano may not yield great performance, as its Maxwell generation GPU architecture does not support fast FP16/INT8 like the Volta GPU included with Jetson Xavier. Also, support for DeepStream on Jetson Nano is still not available yet, it is expected Q2 2019.

Thanks for the guidance and clarification, @pkashinkunti, very helpful!

#64 Compiled outside of the container

I had installed in in Ubuntu 16.04 outer docker not use Conda
Install opencv-3.4.0
python3 -m pip install opencv-python
python3 -m pip install opencv-contrib-python
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev
sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev
sudo apt-get install libxvidcore-dev libx264-dev
sudo apt-get install libgtk-3-dev
sudo apt-get install libatlas-base-dev gfortran pylint
sudo apt-get install python3.5-dev
wget -c https://github.com/opencv/opencv/archive/3.4.0.zip
unzip 3.4.0.zip
cd opencv-3.4.0/
wget https://github.com/opencv/opencv_contrib/archive/3.4.0.zip -O opencv_contrib-3.4.0.zip
unzip opencv_contrib-3.4.0.zip
cd opencv-3.4.0
mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local -D OPENCV_EXTRA_MODULES_PATH= ../../opencv_contrib-3.4.0/modules -D OPENCV_GENERATE_PKGCONFIG=ON ..
make -j 32
sudo make install
sudo ldconfig
Instal pytorch
python3 -m pip install torch torchvision
Install cocoapi
git clone https://github.com/philferriere/cocoapi
cd cocoapi/PythonAPI/
python3 setup.py install
Install nvidia-dali
python3 -m pip install --extra-index-url https://developer.download.nvidia.com/compute/redist/cuda/10.0 nvidia-dali
upgrade numpy to 1.11.0
python3 -m pip install --upgrade pip
sudo apt-get remove --auto-remove python-numpy
python3 -m pip install -U numpy==1.17.2
Install retinanet-examples
cd retinanet-examples
python3 setup.py clean --all install
CUDA_VISIBLE_DEVICES=0 retinanet infer retinanet_rn50fpn/retinanet_rn50fpn.pth --images ../../coco/val2017/ --annotations ../../coco/annotations/instances_val2017.json --size=2
Loading model from retinanet_rn50fpn.pth...
model: RetinaNet
backbone: ResNet50FPN
classes: 80, anchors: 9
Preparing dataset...
loader: pytorch
resize: 800, max: 1333
backend: pytorch
device: 1 gpu
batch: 2, precision: mixed
Running inference...
[ 914/5000] 0.131s/2-batch (fw: 0.130s), 15.2 im/s
[1814/5000] 0.133s/2-batch (fw: 0.133s), 15.0 im/s
[2726/5000] 0.132s/2-batch (fw: 0.131s), 15.2 im/s
[3632/5000] 0.133s/2-batch (fw: 0.132s), 15.1 im/s
[4526/5000] 0.134s/2-batch (fw: 0.134s), 14.9 im/s
[5000/5000] 0.132s/2-batch (fw: 0.132s), 15.1 im/s
Gathering results...
Writing detections.json...
Evaluating model...
Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.359
Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=100 ] = 0.551
Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=100 ] = 0.387
Average Precision (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.204
Average Precision (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.403
Average Precision (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.473
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 1 ] = 0.309
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 10 ] = 0.494
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.523
Average Recall (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.333
Average Recall (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.578
Average Recall (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.675

authors: azuryl goktug97 monocongo pkashinkunti

repo: NVIDIA/retinanet-examples


text:
enable sanitizer in Arm64 build [skip ci]

Close #1388

According to my test with the latest code, there's no failure to enable the sanitizer on Arm64 build.
So, just to enable it in the build script.

build

build

build

skip ci as no arm CI for pre-merge currently

build

authors: GaryShen2008 jlowe pxLi

repo: NVIDIA/spark-rapids-jni


text:
[submodule-sync] bot-submodule-sync-branch-22.04 to branch-22.04 [skip ci] [bot]

submodule-sync to create a PR keeping thirdparty/cudf up-to-date.
HEAD commit SHA: d3f44794419b2cd457a790c6475f1ba84ba64050, cudf commit SHA: https://github.com/rapidsai/cudf/commit/dcac052bd90c53865203ccda1ae4829da9d5db1f
This PR will be auto-merged if test passed. If failed, it will remain open until test pass or manually fix.

HEAD commit SHA: d3f44794419b2cd457a790c6475f1ba84ba64050, CUDF commit SHA: https://github.com/rapidsai/cudf/commit/dcac052bd90c53865203ccda1ae4829da9d5db1f
Test passed: True

SUCCESS - auto-merge


text:
[FEA] Generate updated supported CSV files from plugin repo

Fixes https://github.com/NVIDIA/spark-rapids-tools/issues/846
spark-rapids repo added CSV files generation per Apache Spark version under spark-rapids/tools/generated_files.
This PR syncs with the plugin and updated the existing CSV files under spark-rapids-tools/core/src/main/resources. The new files are generated using the python script included in this PR. The high-level approach is to take the union of the CSV files across all spark versions, which is explained in more detail in the python file.
Follow up:

This PR introduces new Execs. We need to add new parsers
Automate this process by setting up a regular Jenkins job
File an issue in the plugin repo to remove the stale files

Thanks @nartal1!

Dependencies for this script(pandas) has to be specified?
I added some comments in the script for dependencies. My original intention was to include this script for review/future development reference. Do we need to specifically specify them in a file like requirements.txt?

What would be the function of jenkins job i.e this python script will update the supported*.csv files and create a new PR?
The jenkins job would likely have the following process:

Use the python script in this PR to generate the union of the CSV files from the spark-rapids repo
Compare the current union files with the existing files in tools repo
Update tools repo and file an automated PR for review

It will be nice if the new python script accepts an input to override the data pulled from the plugin. For example we can have a config files in json format to describe some sort of explicit overriding we need to do do on the tools side.

Thanks @amahussein! I updated the python script to accept a configs file which overrides the final output. The default configs file contains the PromotePrecision information. Next step is to make this configs file optional.

What does CO mean in the supported CSV files?
CC: @amahussein @mattahrens

What does CO mean in the supported CSV files?

CO in this context means Configured Off specifically for read formats. If the readformat is off by default in the plugin, it's marked as CO. Here Avro and Json are off by default, so we end up adding CO for these read formats.
Code where CO is assigned: link
val readOps = types.map { t =>
          if (!formatEnabled) {
            // indicate configured off by default
            "CO"
          } else {
            read.support(t).text
          }
        }

JSON  and AVRO formats disabled by default.
I think we can consider these same as "NS" as we have CollectLimitExec(disabled by default).

Thanks @amahussein!

Can we have the generated files sorted alphabetically similar to what the plugin sources have?

I looked into the generated files in plugin repo. They are not sorted alphabetically either. If we need to follow the order strictly, I will spend more time on it. Now the order is generally the same, with few exceptions.

It is hard to tell if the new change overrides any manual change we did in those files. For example, if I haven't call out promote_precision, we would not see it. Is there another diff that can show us the change done to each operator?  possible work around is to maintain the order of the columns so that the Diff won't be bogus.

For the manual changes done in the tools side, they are currently not tracked (we can use the configs file override_supported_confugs.json to do it). I believe so far promote_precision is the only one from previous Jenkins job messages.
The current bogus diff is due to two new columns DAYTIME and YEARMONTH. If we remove these columns and compare with the old CSV files in plugin again, we see that:
in supportedDataSource.csv:
no difference
in supportedExecs.csv:
@@ -17 +17 @@
-AQEShuffleReadExec,S,None,Input/Output,S,S,S,S,S,S,S,S,PS,S,S,S,S,NS,PS,PS,PS,NS
+CustomShuffleReaderExec,S,None,Input/Output,S,S,S,S,S,S,S,S,PS,S,S,S,S,NS,PS,PS,PS,NS
@@ -24,4 +23,0 @@
-WriteFilesExec,S,None,Input/Output,S,S,S,S,S,S,S,S,PS,S,S,S,S,S,PS,PS,PS,S
-AppendDataExecV1,S,None,Input/Output,S,S,S,S,S,S,S,S,PS,S,S,NS,S,NS,PS,PS,PS,NS
-AtomicCreateTableAsSelectExec,S,None,Input/Output,S,S,S,S,S,S,S,S,PS,S,S,NS,S,NS,PS,PS,PS,NS
-AtomicReplaceTableAsSelectExec,S,None,Input/Output,S,S,S,S,S,S,S,S,PS,S,S,NS,S,NS,PS,PS,PS,NS
@@ -29 +24,0 @@
-OverwriteByExpressionExecV1,S,None,Input/Output,S,S,S,S,S,S,S,S,PS,S,S,NS,S,NS,PS,PS,PS,NS
@@ -52 +46,0 @@
-PythonMapInArrowExec,S,None,Input/Output,S,S,S,S,S,S,S,S,PS,S,NS,NS,NS,NS,PS,NS,PS,NS
@@ -56 +49,0 @@
-WindowGroupLimitExec,S,None,Input/Output,S,S,S,S,S,S,S,S,PS,S,S,S,NS,NS,PS,PS,PS,NS
@@ -58 +50,0 @@
-CustomShuffleReaderExec,S,None,Input/Output,S,S,S,S,S,S,S,S,PS,S,S,S,S,NS,PS,PS,PS,NS

in supportedExprs.csv:
@@ -112,3 +111,0 @@
-BloomFilterMightContain,S, ,None,project,lhs,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,S,S,NA,NA,NA,NA,NA
-BloomFilterMightContain,S, ,None,project,rhs,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA
-BloomFilterMightContain,S, ,None,project,result,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
@@ -124,2 +121,2 @@
-CheckOverflowInTableInsert,S, ,None,project,input,S,S,S,S,S,S,S,S,PS,S,S,S,S,S,PS,PS,PS,S
-CheckOverflowInTableInsert,S, ,None,project,result,S,S,S,S,S,S,S,S,PS,S,S,S,S,S,PS,PS,PS,S
+CheckOverflow,S, ,None,project,input,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA
+CheckOverflow,S, ,None,project,result,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA
@@ -159,3 +156,3 @@
-DateAdd,S,`date_add`; `dateadd`,None,project,startDate,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
-DateAdd,S,`date_add`; `dateadd`,None,project,days,NA,S,S,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
-DateAdd,S,`date_add`; `dateadd`,None,project,result,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
+DateAdd,S,`date_add`,None,project,startDate,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
+DateAdd,S,`date_add`,None,project,days,NA,S,S,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
+DateAdd,S,`date_add`,None,project,result,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
@@ -165,3 +162,3 @@
-DateDiff,S,`date_diff`; `datediff`,None,project,lhs,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
-DateDiff,S,`date_diff`; `datediff`,None,project,rhs,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
-DateDiff,S,`date_diff`; `datediff`,None,project,result,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
+DateDiff,S,`datediff`,None,project,lhs,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
+DateDiff,S,`datediff`,None,project,rhs,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
+DateDiff,S,`datediff`,None,project,result,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
@@ -185,6 +181,0 @@
-DivideDTInterval,S, ,None,project,lhs,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
-DivideDTInterval,S, ,None,project,rhs,NA,S,S,S,S,S,S,NA,NA,NA,NS,NA,NA,NA,NA,NA,NA,NA
-DivideDTInterval,S, ,None,project,result,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
-DivideYMInterval,S, ,None,project,lhs,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
-DivideYMInterval,S, ,None,project,rhs,NA,S,S,S,S,S,S,NA,NA,NA,NS,NA,NA,NA,NA,NA,NA,NA
-DivideYMInterval,S, ,None,project,result,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
@@ -196,2 +186,0 @@
-Empty2Null,S, ,None,project,input,NA,NA,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA
-Empty2Null,S, ,None,project,result,NA,NA,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA
@@ -300,2 +288,0 @@
-KnownNullable,S, ,None,project,input,S,S,S,S,S,S,S,S,PS,S,S,S,S,S,PS,PS,PS,S
-KnownNullable,S, ,None,project,result,S,S,S,S,S,S,S,S,PS,S,S,S,S,S,PS,PS,PS,S
@@ -317,2 +304,2 @@
-Length,S,`char_length`; `character_length`; `len`; `length`,None,project,input,NA,NA,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NS,NA,NA,NA,NA,NA
-Length,S,`char_length`; `character_length`; `len`; `length`,None,project,result,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
+Length,S,`char_length`; `character_length`; `length`,None,project,input,NA,NA,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NS,NA,NA,NA,NA,NA
+Length,S,`char_length`; `character_length`; `length`,None,project,result,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
@@ -379,6 +365,0 @@
-MultiplyDTInterval,S, ,None,project,lhs,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
-MultiplyDTInterval,S, ,None,project,rhs,NA,S,S,S,S,S,S,NA,NA,NA,NS,NA,NA,NA,NA,NA,NA,NA
-MultiplyDTInterval,S, ,None,project,result,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
-MultiplyYMInterval,S, ,None,project,lhs,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
-MultiplyYMInterval,S, ,None,project,rhs,NA,S,S,S,S,S,S,NA,NA,NA,NS,NA,NA,NA,NA,NA,NA,NA
-MultiplyYMInterval,S, ,None,project,result,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
@@ -425,8 +406,2 @@
-PythonUDAF,S, ,None,aggregation,param,S,S,S,S,S,S,S,S,PS,S,NS,NS,NS,NS,PS,NS,PS,NS
-PythonUDAF,S, ,None,aggregation,result,S,S,S,S,S,S,S,S,PS,S,NS,NS,NS,NA,PS,NS,PS,NA
-PythonUDAF,S, ,None,reduction,param,S,S,S,S,S,S,S,S,PS,S,NS,NS,NS,NS,PS,NS,PS,NS
-PythonUDAF,S, ,None,reduction,result,S,S,S,S,S,S,S,S,PS,S,NS,NS,NS,NA,PS,NS,PS,NA
-PythonUDAF,S, ,None,window,param,S,S,S,S,S,S,S,S,PS,S,NS,NS,NS,NS,PS,NS,PS,NS
-PythonUDAF,S, ,None,window,result,S,S,S,S,S,S,S,S,PS,S,NS,NS,NS,NA,PS,NS,PS,NA
-PythonUDAF,S, ,None,project,param,S,S,S,S,S,S,S,S,PS,S,NS,NS,NS,NS,PS,NS,PS,NS
-PythonUDAF,S, ,None,project,result,S,S,S,S,S,S,S,S,PS,S,NS,NS,NS,NA,PS,NS,PS,NA
+PromotePrecision,S, ,None,project,input,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA
+PromotePrecision,S, ,None,project,result,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA
@@ -443,3 +418,3 @@
-RLike,S,`regexp_like`; `regexp`; `rlike`,None,project,str,NA,NA,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA
-RLike,S,`regexp_like`; `regexp`; `rlike`,None,project,regexp,NA,NA,NA,NA,NA,NA,NA,NA,NA,PS,NA,NA,NA,NA,NA,NA,NA,NA
-RLike,S,`regexp_like`; `regexp`; `rlike`,None,project,result,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
+RLike,S,`rlike`,None,project,str,NA,NA,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA
+RLike,S,`rlike`,None,project,regexp,NA,NA,NA,NA,NA,NA,NA,NA,NA,PS,NA,NA,NA,NA,NA,NA,NA,NA
+RLike,S,`rlike`,None,project,result,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
@@ -479,6 +453,0 @@
-RoundCeil,S, ,None,project,value,NA,S,S,S,S,PS,PS,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA
-RoundCeil,S, ,None,project,scale,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
-RoundCeil,S, ,None,project,result,NA,S,S,S,S,S,S,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA
-RoundFloor,S, ,None,project,value,NA,S,S,S,S,PS,PS,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA
-RoundFloor,S, ,None,project,scale,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
-RoundFloor,S, ,None,project,result,NA,S,S,S,S,S,S,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA
@@ -647 +616 @@
-XxHash64,S,`xxhash64`,None,project,input,S,S,S,S,S,S,S,S,PS,S,S,S,NS,NS,NS,NS,NS,NS
+XxHash64,S,`xxhash64`,None,project,input,S,S,S,S,S,NS,NS,S,PS,S,S,S,NS,NS,NS,NS,NS,NS
@@ -668 +637 @@
-Average,S,`avg`; `mean`,None,aggregation,input,NA,S,S,S,S,S,S,NA,NA,NA,S,S,NA,NS,NA,NA,NA,NA
+Average,S,`avg`; `mean`,None,aggregation,input,NA,S,S,S,S,S,S,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA
@@ -670 +639 @@
-Average,S,`avg`; `mean`,None,reduction,input,NA,S,S,S,S,S,S,NA,NA,NA,S,S,NA,NS,NA,NA,NA,NA
+Average,S,`avg`; `mean`,None,reduction,input,NA,S,S,S,S,S,S,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA
@@ -672 +641 @@
-Average,S,`avg`; `mean`,None,window,input,NA,S,S,S,S,S,S,NA,NA,NA,S,S,NA,NS,NA,NA,NA,NA
+Average,S,`avg`; `mean`,None,window,input,NA,S,S,S,S,S,S,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA
@@ -674,10 +643,6 @@
-BloomFilterAggregate,S, ,None,reduction,child,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
-BloomFilterAggregate,S, ,None,reduction,estimatedItems,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
-BloomFilterAggregate,S, ,None,reduction,numBits,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
-BloomFilterAggregate,S, ,None,reduction,result,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA
-CollectList,S,`array_agg`; `collect_list`,None,aggregation,input,S,S,S,S,S,S,S,S,PS,S,S,S,S,NS,PS,PS,PS,NS
-CollectList,S,`array_agg`; `collect_list`,None,aggregation,result,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,PS,NA,NA,NA
-CollectList,S,`array_agg`; `collect_list`,None,reduction,input,S,S,S,S,S,S,S,S,PS,S,S,S,S,NS,PS,PS,PS,NS
-CollectList,S,`array_agg`; `collect_list`,None,reduction,result,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,PS,NA,NA,NA
-CollectList,S,`array_agg`; `collect_list`,None,window,input,S,S,S,S,S,S,S,S,PS,S,S,S,S,NS,PS,PS,PS,NS
-CollectList,S,`array_agg`; `collect_list`,None,window,result,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,PS,NA,NA,NA
+CollectList,S,`collect_list`,None,aggregation,input,S,S,S,S,S,S,S,S,PS,S,S,S,S,NS,PS,PS,PS,NS
+CollectList,S,`collect_list`,None,aggregation,result,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,PS,NA,NA,NA
+CollectList,S,`collect_list`,None,reduction,input,S,S,S,S,S,S,S,S,PS,S,S,S,S,NS,PS,PS,PS,NS
+CollectList,S,`collect_list`,None,reduction,result,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,PS,NA,NA,NA
+CollectList,S,`collect_list`,None,window,input,S,S,S,S,S,S,S,S,PS,S,S,S,S,NS,PS,PS,PS,NS
+CollectList,S,`collect_list`,None,window,result,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,PS,NA,NA,NA
@@ -766,2 +730,0 @@
-InSubqueryExec,S, ,None,project,input,S,S,S,S,S,S,S,S,PS,S,S,S,NS,NS,NS,NA,NS,NS
-InSubqueryExec,S, ,None,project,result,S,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA
@@ -773,4 +735,0 @@
-CheckOverflow,S, ,None,project,input,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA
-CheckOverflow,S, ,None,project,result,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA
-PromotePrecision,S,`promote_precision`,None,project,input,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA
-PromotePrecision,S,`promote_precision`,None,project,result,NA,NA,NA,NA,NA,NA,NA,NA,NA,NA,S,NA,NA,NA,NA,NA,NA,NA

The diff may still look bogus, but if we look closely, we can see the difference is mainly due to:

new execs and expressions
longer SQL func values (date_add; dateadd vs date_add)

There are new rows introduced here, but we have not done any audit to assess the handling of the new operators. Especially for Execs and some of the UDF expressions added in exprs.csv

For the new Execs and Expressions, I should file follow up PRs to add the support.

repo: NVIDIA/spark-rapids-tools


text:
[BUG] GpuRegExpReplaceWithBackref with empty string input produces incorrect result on GPU in Spark 3.1.1

Describe the bug
There is a difference in behavior between Spark 3.1.1 and 3.3.2 when evaluating a regexp_replace against an empty string, but we do not currently respect this difference when running on GPU.
Spark 3.1.1 CPU
scala> spark.conf.set("spark.rapids.sql.enabled", "false")

scala> spark.sql("select REGEXP_REPLACE('', '.*$', 'PROD', 1)").show()
+------------------------------+
|regexp_replace(, .*$, PROD, 1)|
+------------------------------+
|                              |
+------------------------------+

Spark 3.3.2 CPU
scala> spark.conf.set("spark.rapids.sql.enabled", "false")

scala> spark.sql("select REGEXP_REPLACE('', '.*$', 'PROD', 1)").show()
+------------------------------+
|regexp_replace(, .*$, PROD, 1)|
+------------------------------+
|                          PROD|
+------------------------------+

The current GPU behavior is consistent with Spark 3.3.2.
Steps/Code to reproduce bug
See above.
Expected behavior
We should produce the same result as CPU on all Spark versions.
Environment details (please complete the following information)
Local workstation
Additional context

This was fixed in https://github.com/NVIDIA/spark-rapids/pull/8433

repo: NVIDIA/spark-rapids


text:
Actuation model like Mujoco

Hi,
Is it possible to apply forces to a gear like actuation model for a rigid body Model simulation? I'd like to actuate gears at joints similarly to how you can do it via ctrl in Mujoco. I noticed the actuators are included in the nv_humanoid.xml example, but I'm not sure how they are used.
Thanks for your help!

@eric-heiden should be able to help.

Hi @areiner222,
We currently do not have support for the actuation models as they are in Mujoco. At the moment, all joint torques (all controllable degrees of freedom, irrespective of the definition in the Mujoco file) can be set in Model.joint_act which applies these controls defined in generalized coordinates as body forces directly. You could implement you own actuation model based on this, or directly work in maximal coordinates by applying linear and angular forces to the state.body_f array at every simulation step.

authors: areiner222 eric-heiden mmacklin

repo: NVIDIA/warp


text:
[Runtime Bug]: Max Payne 1 Fire Glitch

Describe the bug
Fire is drawn through character models.
Windows 11 27695
i9 13900kf @5.8ghz all cores
NVIDIA RTX 4090 | 560.94
How do you reproduce the bug?
Stand infront of the fireplace.
What is the expected behavior?
Fire not rendered through characters body.
Version
0.5.4
Logs
[00:51:56.589] info:  No default config found for: C:\Program Files (x86)\Steam\steamapps\common\Max Payne\maxpayne.exe
[00:51:56.589] info:  Trying to open config file: C:\Program Files (x86)\Steam\steamapps\common\Max Payne.trex\bridge.conf
[00:51:56.589] info:  ==================
[00:51:56.589] info:  NVIDIA RTX Remix Bridge Client
[00:51:56.589] info:  ==================
[00:51:56.589] info:  Version: remix-0.5.4+2d8aa921
[00:51:56.589] info:  Loaded d3d9.dll from C:\Program Files (x86)\Steam\steamapps\common\Max Payne\maxpayne.exe
[00:51:56.591] warn:  Injected DirectInput8Create proc detected!
[00:51:56.745] info:  DirectInput8 hook attached.
[00:51:56.745] warn:  Injected DirectInputCreate proc detected!
[00:51:56.751] info:  DirectInput hook attached.
[00:51:56.751] info:  Initializing new shared memory object.
[00:51:56.753] info:  Initializing new shared memory object.
[00:51:56.753] info:  Initializing new shared memory object.
[00:51:56.787] info:  Initializing new shared memory object.
[00:51:56.816] info:  Launching server with GUID 5d5b6344-17b9-4974-b8ec-0482a2a1d2a0
[00:51:56.822] info:  Process set as DPI aware
[00:51:56.822] info:  Sending SYN command, waiting for ACK from server...
[00:51:57.103] info:  Ack received! Handshake completed! Telling server to continue waiting for commands...
[00:52:33.056] warn:  Window extent != backbuffer extent in fullscreen mode. Forcing window extent to backbuffer size (3840x2160).
[00:52:33.056] info:  Creating a NON thread-safe D3D9 device.
[00:52:35.239] info:  Message channel UWM_REMIX_BRIDGE_REGISTER_THREADPROC_MSG handshake complete.
[00:52:36.135] info:  DirectInput keyboard acquired
[00:52:36.135] info:  DirectInput mouse acquired
[00:52:36.656] info:  Remix UI deactivated.
[00:52:36.656] info:  Remix UI deactivated.
[00:52:39.844] info:  DirectInput keyboard unacquired
[00:52:39.844] info:  DirectInput keyboard acquired
[00:52:41.954] warn:  Non-exclusive DirectInput keyboard message skipped.
[01:08:07.581] info:  DirectInput keyboard unacquired
[01:08:07.581] info:  DirectInput mouse unacquired
[01:08:07.607] info:  Client window became inactive, disabling timeouts for bridge client...
[01:08:07.623] info:  About to unload bridge client.
[01:08:07.623] info:  Sending Terminate command to server...
[01:08:09.436] info:  Server notified that it has cleanly terminated. Cleaning up.
[01:08:09.583] info:  Most recent Device Queue commands sent from Client
[01:08:09.583] info:  Command sent: Terminate
[01:08:09.583] info:  Command sent: IDirect3DDevice9Ex_Destroy
[01:08:09.583] info:  Command sent: IDirect3DSurface9_Destroy
[01:08:09.583] info:  Command sent: IDirect3DIndexBuffer9_Destroy
[01:08:09.583] info:  Command sent: IDirect3DVertexBuffer9_Destroy
[01:08:09.583] info:  Command sent: IDirect3DSurface9_Destroy
[01:08:09.583] info:  Command sent: Bridge_UnlinkResource
[01:08:09.583] info:  Command sent: IDirect3DSwapChain9_Destroy
[01:08:09.583] info:  Command sent: IDirect3DDevice9Ex_SetTexture
[01:08:09.583] info:  Command sent: IDirect3DDevice9Ex_SetTexture
[01:08:09.583] info:  Most recent Device Queue commands received by Server
[01:08:09.583] info:  Command received: Terminate
[01:08:09.583] info:  Command received: IDirect3DDevice9Ex_Destroy
[01:08:09.583] info:  Command received: IDirect3DSurface9_Destroy
[01:08:09.583] info:  Command received: IDirect3DIndexBuffer9_Destroy
[01:08:09.583] info:  Command received: IDirect3DVertexBuffer9_Destroy
[01:08:09.583] info:  Command received: IDirect3DSurface9_Destroy
[01:08:09.583] info:  Command received: Bridge_UnlinkResource
[01:08:09.583] info:  Command received: IDirect3DSwapChain9_Destroy
[01:08:09.583] info:  Command received: IDirect3DDevice9Ex_SetTexture
[01:08:09.583] info:  Command received: IDirect3DDevice9Ex_SetTexture
[01:08:09.583] info:  Most recent Module Queue commands sent from Client
[01:08:09.583] info:  Command sent: IDirect3D9Ex_Destroy
[01:08:09.583] info:  Command sent: IDirect3D9Ex_CreateDevice
[01:08:09.583] info:  Command sent: IDirect3D9Ex_CheckDeviceMultiSampleType
[01:08:09.583] info:  Command sent: IDirect3D9Ex_CheckDeviceMultiSampleType
[01:08:09.583] info:  Command sent: IDirect3D9Ex_Destroy
[01:08:09.583] info:  Most recent Module Queue commands received by Server
[01:08:09.583] info:  Command received: IDirect3D9Ex_Destroy
[01:08:09.583] info:  Command received: IDirect3D9Ex_CreateDevice
[01:08:09.583] info:  Command received: IDirect3D9Ex_CheckDeviceMultiSampleType
[01:08:09.583] info:  Command received: IDirect3D9Ex_CheckDeviceMultiSampleType
[01:08:09.583] info:  Command received: IDirect3D9Ex_Destroy
[01:08:09.583] info:  Shutdown cleanup successful, exiting now!
[01:08:09.583] info:  DirectInput8 hook detached.
[01:08:09.583] info:  DirectInput hook detached.
[01:08:09.586] info:  [Uptime]: 972s
Crash dumps
No response
Media
https://youtu.be/8kMHJklvjzE?si=ued_KLd0JxuaZzSj

@shoober420 Hi shoober! This happens due to improperly tagged textures. You have probably something tagged as UI that shouldn't be.
My advice to you, which also goes for the white texture problem: Reset your Remix settings, and properly tag the UI textures again. Particle effects like fire, rain, snow, etc should be tagged as Particle. And blood stains, blood splatters, dirt decals, bullet holes, wall graffiti, etc should be tagged as Decal.
Also keep in mind that the aiming reticle doesn't currently work in this game when using Remix, so better just disable that, it's the plain white square texture.

repo: NVIDIAGameWorks/rtx-remix


text:
Fvk pff tweaks

Closes #179, #180
For 179, there was a bug that I'd introduced - hadn't realized that object types in pandas could be mixed types. So in the data dictionary, if a variable was present for 2010, 2020 it was interpreted correctly but for the couple cases where the year was 2020 it was interpreted as a float and converted to NaN by .str.split(", ") rather an array of years.
For 180, figured just keep it minimal - replace column names exactly rather than any sort of regex or trimming whitespace, just in case anything down the road requires anything different
Successful build - I've manually QA'd outputs. Made small fix to commit 2 this morning and tested changes locally

@fvankrieken just confirming that the metadata changes are intentional? Everything else looks good

They are, they've been re-generated. I might just remove them from git actually - before they were both and input to us and to AE's work, now we're just generating them and uploading to DO so it doesn't make a ton of sense to check into the repo

@alexrichey since the rest of the files in those folders are sort of archived from when we used them as inputs, I've reverted the checked-in metadata files for decennial to those versions (should we ever go back to pulling from an API) and the new generated ones are just pushed to S3 without checkin now
Successful job here, outputs have been qa'd
https://github.com/NYCPlanning/data-engineering/actions/runs/6002251634

repo: NYCPlanning/data-engineering


text:
Broken metadata

A recent change in the format of the journal field in original -- which had been a string but is now a dictionary in some cases:
{'id': 'jour.1041807', 'title': 'Justice Quarterly'}

be mindful that changes in format have consequences in terms of troubleshooting and lost time elsewhere
if the original metadata doesn't stay consistent, we'll be forced to ignore it which is a big waste of labor and time

stuff like this is happening because our focus with linkages has been so far, on title and dataset primarily - we'll make sure to start checking for consistency in all fields now.

Right, that attention to detail must all change rapidly now, given the schedule for the next several months and the fact that we're integrating a much larger volume metadata from API calls plus more entities into the graph.

This particular error has been resolved if you want to close and @JasonZhangzy1757 is searching for and updating other instances.

Thank you

repo: NYU-CI/RCPublications


text:
Performance on ScanNet

Thanks for your opening source the nice project.
I run attMPTI on the two dataset using the hyper-parameters according to the paper. I can get the reported performance of the paper on S3DIS but fail on ScanNet. Concretly, in 2-way-1shot task on both split-0 and split-1 of ScanNet , i set n_prototypes=100, knn_neighbor=200, Gausian_sigma=5. The meanIoU i get are 39.5% and 37.6% on split-0 and split-1 respectively, which are about 3% dropped from the paper. I have also tried Gausian_sigma=1 but the result changes slightly.
Do you have these problems  when you conducting the experiments on ScanNet? Or do you know how i can fix these problems?

Hi,
The different performance might be due to two reasons: 1) insufficient pre-training; 2) sample bias when randomly sampling testing set.
Since ScanNet contains more examples than S3DIS, we did a longer pre-training on ScanNet (150 epochs).
You may want to try: 1) pre-train longer; 2) re-generate test set.
I can also send you my testing set on 2-way 1-shot setting if needed.

Thank you! I will have a try.

Hi,
The different performance might be due to two reasons: 1) insufficient pre-training; 2) sample bias when randomly sampling testing set.
Since ScanNet contains more examples than S3DIS, we did a longer pre-training on ScanNet (150 epochs).
You may want to try: 1) pre-train longer; 2) re-generate test set.
I can also send you my testing set on 2-way 1-shot setting if needed.

Hello! I run attMPTI on the S3DIS-S1-N2-K5 task with the paper's hyper parameters. The mIoU is about 61%, which is 6% lower than that in the paper. I have tried longer pre-training and regenerating the test set, but the improvement is inapparent. Is that the S3DIS-S1-N2-K5 task needs other particular tricks?

Hi, it seems you use different parameters for different dataset and few-shot setting that you did not mention in the paper. And you only provide one set of parameters for S3DIS-N2-K1 in the codebase.  Can you provide your parameters on other settings (i.e., S3DIS-N2-K5, Scannet-N2-K1, Scannet-N2-K5)? Thank you very much!

authors: 1170801121 Na-Z lailvlong

repo: Na-Z/attMPTI


text:
Updated README.md to include object compare

In reference to https://github.com/NagRock/ts-mockito/issues/93 on verifying calls with objects

What do you think about separate section in readme.md about matchers?

Yeah I could create a separate section. I'm not too familiar with it but I can start something.

Added a new section. Let me know if there is any other changes needed. Thanks

Codecov Report

Merging #94 into master will increase coverage by 0.31%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #94      +/-   ##
==========================================
+ Coverage   94.58%   94.89%   +0.31%
==========================================
  Files          35       34       -1
  Lines         609      607       -2
  Branches       69       69
==========================================
  Hits          576      576
+ Misses         24       22       -2
  Partials        9        9

Impacted Files
Coverage Δ

src/stub/MethodStub.ts

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 93d6625...996b81f. Read the comment docs.

@NagRock I just started using this library yesterday so i'm a newbie but wondering about PR's like this which pass all tests and were introduced over a year ago. Is this library still being supported? Just a bit worried I may have gotten to the party too late 😆

Good to merge!

Merge when?

authors: NagRock alexanderfokau codecov-io designxtek henrikra ksnyde

repo: NagRock/ts-mockito


text:
False Negative on Conventional PR?

Overview
I'm using Conventional PR to prevent commits with bad messages to be merged to the main branch. I'm using the default conventional commit pattern
^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\-\.]+\))?(!)?: ([\w ])+([\s\S]*)
However, it seems commit messages like test commit is still considered to be valid. It seems like the conventional PR doesn't filter commit messages correctly.
Expected Behavior
The pull request should be considered as invalid, since test commit does not conform the regex.
Actual Behavior
The pull request is considered as valid.

Thanks for filing an issue!
The pattern you submitted seems fine, can you post the action workflow file here?

Sure, here you go
name: Check PR semantics

on:
  pull_request_target:

jobs:
  cpr:
    runs-on: ubuntu-latest
    steps:
      - name: Check PR semantics
        uses: Namchee/conventional-pr@latest
        with:
          access_token: ${{ secrets.ACCESS_TOKEN }}
          title_pattern: ^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\-\.]+\))?(!)?: ([\w ])+([\s\S]*)

/add-knowledge

Still writing results it seems. Moreover, there's an unknown @[object Object] there
[
  {
    "issue_number": 38,
    "title": "False Negative on Conventional PR?",
    "problem": "Overview\n\nI'm using Conventional PR to prevent commits with bad messages to be merged to the main branch. I'm using the default conventional commit pattern\n\n^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\\\\(\\[\\w\\\\-\\\\.]+\\\\))?(!)?: (\\[\\w ])+(\\[\\s\\S]\\*)\n\nHowever, it seems commit messages like test commit is still considered to be valid. It seems like the conventional PR doesn't filter commit messages correctly.\n\nExpected Behavior\n\nThe pull request should be considered as invalid, since test commit does not conform the regex.\n\nActual Behavior\n\nThe pull request is considered as valid.",
    "solution": "@[object Object]: It seems that the conventional PR is not filtering commit messages correctly. One possible solution is to modify the regular expression pattern to include a check for the minimum length of the commit message. This can be done by adding `{2,}` after `([\\w ])+` in the regular expression. This will ensure that the commit message contains at least two characters."
  }
]

repo: Namchee/duplikat


text:
🛑 Namide is down

In f312781, Namide (https://namide.com/en) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Namide is back up in 9108810 after 5 minutes.

repo: Namide/upptime


text:
ViewNotFoundException even know the views are in the build output

Exception: Nancy.RequestExecutionException: Oh noes! ---> Nancy.ViewEngines.ViewNotFoundException: Unable to locate view 'Search/Index'
The problem is that the output folder actually contains the standard Views/Search/Index.cshtml.
This does not happen when running locally (through Visual Studio). It happens when running it from the build output.
Any ideas?

Is this a self-hosted application?

Correct, You can see how I am starting the application here:
https://github.com/tidusjar/RequestPlex/blob/master/RequestPlex.UI/Program.cs
using (WebApp.Start<Startup>(uri))
{
    Console.WriteLine($"Request Plex is running on {uri}");
    Console.WriteLine("Press any key to exit");
    Console.ReadLine();
}

Yeah but what Nancy hosting adapter are you using? I'm guessing it's something with the root path that's not functioning correctly. Are you using any of the Nancy.Hosting.* packages?

@tidusjar Since your module is called SearchModule, I suspect you could just do return View["Index"]? Can you post the list of locations Nancy tried to search?

@thecodejunkie I am not using any Nancy.Hosting.* packages, but I am using Microsoft.Owin.Hosting.
@khellang I am not 100% sure (New to Nancy).
My Views folder structure is the following:
Views
---- Search
     ---- Index
---- Home etc

Here is the whole stacktrace:
Nancy.RequestExecutionException: Oh noes! ---> Nancy.ViewEngines.ViewNotFoundException: Unable to locate view 'Search/Index'
Currently available view engine extensions: sshtml,html,htm
Locations inspected: views/Search/Search/Index-en-US,views/Search/Search/Index,Search/Search/Index-en-US,Search/Search/Index,views/Search/Index-en-US,views/Search/Index,Search/Index-en-US,Search/Index
Root path: C:\Program Files\Request Plex\Release\
If you were expecting raw data back, make sure you set the 'Accept'-header of the request to correct format, for example 'application/json'
   at Nancy.ViewEngines.DefaultViewFactory.GetRenderedView(String viewName, Object model, ViewLocationContext viewLocationContext)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3)
   at Nancy.ViewEngines.DefaultViewFactory.RenderView(String viewName, Object model, ViewLocationContext viewLocationContext)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3)
   at Nancy.Responses.Negotiation.ViewProcessor.Process(MediaRange requestedMediaRange, Object model, NancyContext context)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3)
   at Nancy.Responses.Negotiation.DefaultResponseNegotiator.NegotiateResponse(IEnumerable`1 compatibleHeaders, NegotiationContext negotiationContext, NancyContext context)
   at Nancy.Responses.Negotiation.DefaultResponseNegotiator.CreateResponse(IList`1 compatibleHeaders, NegotiationContext negotiationContext, NancyContext context)
   at Nancy.Responses.Negotiation.DefaultResponseNegotiator.NegotiateResponse(Object routeResult, NancyContext context)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)
   at Nancy.Routing.DefaultRouteInvoker.<>c__DisplayClassa.b__6(Task`1 completedTask)
   --- End of inner exception stack trace ---
   at Nancy.NancyEngine.InvokeOnErrorHook(NancyContext context, ErrorPipeline pipeline, Exception ex)

You have something whacky going on because it's looking in Search/Search - can you post the module?

You haven't installed the razor view engine package.

Currently available view engine extensions: sshtml,html,htm
^^ that's just the built in SSVE view engine, you need to install Nancy.ViewEngines.Razor in order to use Razor (cshtml) views.

He hast he package installed, might be a case of the .net linker removing the reference (deferred loading)
try putting
var foo = typeof(RazorViewEngine) anywhere in your code, before you actual start up Nancy. That will give us an indication if that's the problem

@grumpydev Strange, If I copy my build output manually over to the server it all works. But If I use the build output from the CI build it doesn't (Nancy.ViewEngines.Razor.dll is present there).

Anything to do with requireReinstallation="true" being all over the packages. file?

Is the CI build copying the MS Razor DLL too? Sounds like something is trying to be "clever" in what it deploys depending on what it thinks you need :)

Yeah... You can see what it copies over here: https://ci.appveyor.com/project/tidusjar/requestplex

Found the problem, I'm hoping you guys can explain. Inside my bin (output) folder I have the following
Debug (folder)
Release (folder)
Nancy.ViewEngines.Razor.BuildProviders.dll
Nancy.ViewEngines.Razor.dll
I copied the two dll's above onto the server and replaced what was existing and it now works.

Found it. The Nancy.ViewEngines.Razor.dll was 'blocked' I had to right click -> Properties -> unblock. It now works... I wonder why windows was blocking it.
Thank you for the assistance anyway :+1:

Ah, it will block it if you have a ZIP file you've downloaded from the internet, and if you extract without unblocking the ZIP it will block all the DLLs which then .net won't load :)
Interesting project btw :)

Ah that's why!
Thanks! It should be a replacement for the Original Plex Requests. I'm quite new to Nancy so I'm probably not doing things 100% correctly. I will be revisiting the documentation soon :)

@tidusjar one thing you can change in your modules is call :base() on them. It will let you pass in a module path and all routes, which are declared in the same module` will be relative to that. So no need to do
Get["/search"]
Get["/search/foo"]
Get["/search/bar"]

they will simply be
Get["/"]
Get["/foo"]
Get["/bar"]

https://github.com/NancyFx/Nancy/wiki/Exploring-the-nancy-module#using-modules-to-create-a-root-for-your-routes

What are your static files? All HTML files?
HTML files are considered Views so you could do a directory browse to create an in-memory list of files in the folder. Then do a single route like:
Get["/statics/{file}"]...

This uses the _.file value to look up if its a file from the directory (so that users don't attempt to navigate to files by passing in ../web.config and if it's ok then just doing
return View[(string)_.file];

@thecodejunkie Thanks! I discovered that yesterday, handy!
@phillip-haydon My static files are .cshtml,.js and .css. Do you have some sort of example I could look at?

.cshtml or .html? If they are razor files I would assume you want to process them before returning them...
For .js and .css can't they just come from ./content folder which is already a folder that nancy ignores and serves as static content?

@phillip-haydon I'm using .cshtml so they are all razor files. And yes all of my .js and .css are in the /content folder.
So what are you suggesting? I'm a bit lost now.

Sorry @tidusjar I'm getting confused between issues being raised. Mixed this ticket with another one just raised an hour ago that I replied to.

authors: grumpydev khellang phillip-haydon thecodejunkie tidusjar

repo: NancyFx/Nancy


text:
Download from tags list error

Prerequisites

[Y] Did you read FAQ section?
[Y] Did you test with the latest releases or commit ?

Description
Version 20200824
I choose "7. Download from tags list", it will report error after config.
Version 20200726 does NOT have this problem, so I roll back to 20200726.
[LOG]
===log from screen===
Input: 7
Tags list filename [tags.txt]: 0.txt
Use Wildcard[y/n]: y
Oldest first[y/n]: n
Bookmark Count:
Start Page (default=1):
End Page (default=0, 0 for no limit):
Start Date [YYYY-MM-DD]:
End Date [YYYY-MM-DD]:
Reading: 0.txt
Reading D:\pixiv\tag downloader\config.ini ...
Configuration loaded.
Error at process_tags() at page 1: (<class 'AttributeError'>, AttributeError("'list' object has no attribute 'startswith'"), <traceback object at 0x0B972E28>)
Error at process_tags_list(): (<class 'AttributeError'>, AttributeError("'list' object has no attribute 'startswith'"), <traceback object at 0x0B979208>)
Traceback (most recent call last):
File "PixivUtil2.py", line 1555, in main
File "PixivUtil2.py", line 1259, in main_loop
File "PixivUtil2.py", line 942, in menu_download_from_tags_list
File "PixivUtil2.py", line 184, in process_tags_list
File "PixivTagsHandler.pyc", line 48, in process_tags
File "PixivHelper.pyc", line 992, in decode_tags
AttributeError: 'list' object has no attribute 'startswith'
press enter to exit.
===end log from screen===
==log from file===
2020-08-27 14:21:30,241 - PixivUtil20200824 - INFO - Premium User: False.
2020-08-27 14:21:30,241 - PixivUtil20200824 - INFO - Locale =
2020-08-27 14:21:32,222 - PixivUtil20200824 - INFO - Taglist mode (7).
2020-08-27 14:21:40,597 - PixivUtil20200824 - ERROR - Error at process_tags() at page 1: (<class 'AttributeError'>, AttributeError("'list' object has no attribute 'startswith'"), <traceback object at 0x0B972E28>)
2020-08-27 14:21:40,597 - PixivUtil20200824 - ERROR - Traceback (most recent call last):
File "PixivTagsHandler.pyc", line 48, in process_tags
File "PixivHelper.pyc", line 992, in decode_tags
AttributeError: 'list' object has no attribute 'startswith'
2020-08-27 14:21:40,600 - PixivUtil20200824 - ERROR - Error at process_tags_list(): (<class 'AttributeError'>, AttributeError("'list' object has no attribute 'startswith'"), <traceback object at 0x0B979208>)
2020-08-27 14:21:40,600 - PixivUtil20200824 - ERROR - Traceback (most recent call last):
File "PixivUtil2.py", line 184, in process_tags_list
File "PixivTagsHandler.pyc", line 48, in process_tags
File "PixivHelper.pyc", line 992, in decode_tags
AttributeError: 'list' object has no attribute 'startswith'
2020-08-27 14:21:40,605 - PixivUtil20200824 - ERROR - Unknown Error: 'list' object has no attribute 'startswith'
Traceback (most recent call last):
File "PixivUtil2.py", line 1555, in main
File "PixivUtil2.py", line 1259, in main_loop
File "PixivUtil2.py", line 942, in menu_download_from_tags_list
File "PixivUtil2.py", line 184, in process_tags_list
File "PixivTagsHandler.pyc", line 48, in process_tags
File "PixivHelper.pyc", line 992, in decode_tags
AttributeError: 'list' object has no attribute 'startswith'
===end log from file===

yep, got typo when migrating....

can try: https://github.com/Nandaka/PixivUtil2/releases/tag/v20200827-beta1

okay, will do, thank you so much.

v20200827-beta1 is okay, thank you so much.

authors: Nandaka forrenren


text:
Can not push to Github

When I try to push my next js code to Github it fails.

fixed
Deleted files that are too large, such as node_modules files.


text:
Please expand the README

A bit more information would be appreciated in the README:

is it necessary to have Rust and/or Silicon already installed?
does this offer a command (eg. :Silicon) - or how to use the plugin?
where is the default path the image is saved?

While I appreciate having a video, it should not replace documenting your work in the README. For me, the video controls cover the command in the command prompt, making it basically unreadable.

Yes you need silicon to be installed, you can directly install binary and skip installing rust toolchain.
Sadly, there's no :Silicon currently but is planned.
I've posted the commands in reddit post.

Generate images of selected snippet.

require("silicon").visualise(false,false)

Generate images of whole buffer with the selected snippet being highlighted by lighter background.

require("silicon").visualise(true,false)

Copy the image of snippet to clipboard. (Only xclip is supported for Linux, Mac and windows are also supported)

require("silicon").visualise(false,true)

PS: First argument tells whether to show whole buffer content and second tells whether to copy to clipboard.

Fixed with https://github.com/NarutoXY/silicon.lua/commit/e1902924d3600a7b1131a75efc7a638c7d7e1d39

authors: NarutoXY zeitchef


text:
[2pt] Create navigation

Create navigation menu that allows users to open all of the pages you created.

Pull request for this task

repo: NataliaPoletaeva/recipes


text:
Descrete plugin not filling blank spaces to the left to autofill

I have the Discrete plugin working fine, the only thing is there seems to be some blank spaces to the left of some items. see pic attached… I know my line was Online during this time but not sure how to have Discrete fill that in with the Online color of green ?? I found a setting in options called “Expand ‘from’ query” and set it to like 15 secs that didn’t work so i set it to 86400 (24hrs) still didn’t change. so scratching my head on how to workaround this ?

i know it’s because Discrete just doesn’t know :slight_smile: what happen before that time but i know it was Online and should be green… see additional pics attached showing what’s in my database table and the query from Grafana for Discrete to use…

here is my query in Grafana
SELECT
  $__timeEpoch(line_datetime),
  case
        when line_status = 'OFFLINE' then 0
        when line_status = 'ONLINE' then 1
    end as value,
  line_name as metric
FROM
   line_status_24hrs
WHERE
  $__timeFilter(line_datetime)
ORDER BY
  line_name ASC

We seem to have the same issue, but using Influx as a datasource.
The 'Expand from query' does not seem to be picked up anymore from grafana 7.1.x.  It works fine in Grafana 7.0.x.
The query inspector shows that the from date is the unaltered one, as chosen in the datetime picker.

I uninstalled 7.2.0 and put on 7.0.6 the expand from query did not work for me with my query i used above, i'm using MS SQL

The option expand 'from' query option does not work for me either.
But you can workaround this problem with a slight modification to your query.
InfluxDB example:
SELECT "value" FROM "table WHERE  time >= ${__from}ms - 24h AND time <= ${__to}ms

time >= ${__from}ms - 24h will look 24 hours in the past
Queries for other datasources may differ

Any news on this? Expand "from" query still seems to be broken.

authors: herbit modularTaco thanosazlin yves-bourgeois

repo: NatelEnergy/grafana-discrete-panel


text:
show in legend  text from value mappings

How show in legend  text from value mappings?
I set up a value mapping, but not the text but the value is displayed in the legend. How to fix?

Only one value displays text-this is null
Thanks

on the "Mappings" tab

However, this method still has problems. For example, before choosing Conversion-none, the display looks like this:

But after the conversion-none is selected, it is displayed as follows，

it was necessary to select in Numeric Conversion-none

Thanks! This is very helpful and unintuitive in the same time.


text:
Question about "Best to use"

Hi!
First, sorry if it's not the place to post a question but I didn't find the correct one.
In the section "How best to use for your project" says:

Create a new framework for your application in src/client/app/frameworks to build your codebase out. Say your app is called AwesomeApp, then create awesomeapp.framework and start building out all your components and services in there. Create other frameworks as you see fit to organize.

I did all the steps until this one. I don't know how to start my project based on the framework I added.
Regards

Hi @yanqui92 fair question. The How best to use guideline is really just a suggested guideline so you are free to do whatever suits your project, but if using the suggestion for instance you could have:
src/client/app/frameworks/awesomeapp.framework/index.ts which would export all your components and services like so:
// components
export * from './components/home/home.component';
export * from './components/contact/contact.component';

// services
export * from './services/awesome.service';
// etc.

Then your other files can reference that. So for example, your src/client/main.web.ts file could bootstrap your home component (for instance) like so:
import {HomeComponent} from './app/frameworks/awesomeapp.framework/';
...
bootstrap(HomeComponent, BOOTSTRAP_PROVIDERS)
.catch((err:any) => console.error(err));

And using services would work much the same way throughout your project. That answer things for you?


text:
database version number

Hey, If I ship new database within the app, how can I increment it's version so if it already exists, current get deleted and new comes in?

We are also facing the same concern.

The easiest way to do this; would be to open the existing database; get its version number; check to see if it is older; then if it is older; close the db; copy the new db over...

do you have any sample for incremental updates implementation?

Thanks Nathan. Should have realized that without asking.
Anyone seeking this do it like this:
After instantiating new database connection like documentation says:
new sqliteModule(databaseName, function (err, dbConnection) {....
/* Check current version /
database.version(function (error, version) {
if (version < CONSTANTNEWVERSIONNUMBER) {
/ Delete old database */
sqliteModule.deleteDatabase(databaseName);
if (!sqliteModule.exists(databaseName)) {
sqliteModule.copyDatabase(databaseName);
this.afterDBUpdate (); // to handle version incrementation and new connection.
}
...
SqliteViewModel.prototype.afterDBUpdate = function () {
new sqliteModule(databaseName, function (err, dbConnection) {
database = dbConnection;
database.version(CONSTANTNEWVERSIONNUMBER); // Sets new version number
});
};

authors: NathanaelA sarvagayatri sivamamidi-REISys terhoraj

repo: NathanaelA/nativescript-sqlite


text:
Resurrection of 'Modify the Soak Tests for ADOT JS Downstream'

Description
I accidentally messed up #1, so I made this PR to keep a paper trail of the differences.

Closing because this is just to show the differences.

repo: NathanielRN/aws-otel-js


text:
Autoupdate

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I like to keep my ghidra up to date
Describe the solution you'd like
A clear and concise description of what you want to happen.
I would like to (a) notify of new versions, and (b) have an option to automatically download and upgrade ghidra.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
If the team is open to such functionality, i would like to try to make a contribution

(a) is already provided by Github. In the repo, click the down arrow on the "watch" icon and choose "custom".

a) @astrelsky's recommendation is best...GitHub should do a sufficient job in notifying you about new releases
b) We have no plans on supporting this.

authors: astrelsky ryanmkurtz zglozman

repo: NationalSecurityAgency/ghidra


text:
Remove useless printf.

Update Supported PHP version to 7.1

opencc_close應該交由使用者去負責處理，而且Global把od存起來，無法在同一個Script中處理繁轉簡和簡轉繁的動作，尤其fpm等php完結後module並不會shutdown，所有php pool都無法再open另一個config


text:
Add match page

The page will include a form that has the same fields from the Match object.

Partially resolved with #7.


text:
RPC unavailable on Local Diag --> Unable to Reboot nor to Purge Data

Describe the bug
I have been monitoring a couple of miners for many days:
Behaviour: Switching status between 100% Sync and RPC unavailable on Local Diag continuously.
Rebooting: Unable to reboot.
Purge Data: Unable to Purge Data (see error Loop below)
Killing service 'upnp sha256:059223cdbf528c09361826a200e6baa8d4234ad6a9076c5a088d25f9255d53ff'
Failed to kill service 'upnp sha256:059223cdbf528c09361826a200e6baa8d4234ad6a9076c5a088d25f9255d53ff' due to '(HTTP code 409) unexpected - You cannot remove a running container 8af61954afd2aed9fe7e7215db68ff0c3465249ebff625210226dbd84f4c78ae. Stop the container before attempting removal or force remove '

Killing service 'upnp sha256:059223cdbf528c09361826a200e6baa8d4234ad6a9076c5a088d25f9255d53ff'
Failed to kill service 'upnp sha256:059223cdbf528c09361826a200e6baa8d4234ad6a9076c5a088d25f9255d53ff' due to '(HTTP code 409) unexpected - You cannot remove a running container 8af61954afd2aed9fe7e7215db68ff0c3465249ebff625210226dbd84f4c78ae. Stop the container before attempting removal or force remove '

Killing service 'upnp sha256:059223cdbf528c09361826a200e6baa8d4234ad6a9076c5a088d25f9255d53ff'
Failed to kill service 'upnp sha256:059223cdbf528c09361826a200e6baa8d4234ad6a9076c5a088d25f9255d53ff' due to '(HTTP code 409) unexpected - You cannot remove a running container 8af61954afd2aed9fe7e7215db68ff0c3465249ebff625210226dbd84f4c78ae. Stop the container before attempting removal or force remove '

e.g.:
https://dashboard.balena-cloud.com/devices/9a99fc079d4be877ab23278c86b3247f/summary

@fouad-semaan you can fix this using:
balena-engine container ls

Then get the container ID for the container with the issue... Then you can run...
balena-engine container rm -f 97db54d01814

Where 97db54d01814 is the container ID you copied from above.
This will force kill the container

IIRC @KevinWassermann94 already documented this 409 issue somewhere with the fix?

This is possibly a duplicate of #266

Yes this is partially duplicated regarding error 409 and Kevin has already executed the commands above on that miner.
The remaining issue is the RPC unavailable. It still showing up and each time in different aspect.
e.g. the storage of this one has surpassed 24GB so I decided to purge it. After the purge, it had the RPC until I rebooted it.
https://dashboard.balena-cloud.com/devices/6d746d247172b7c7f47603213e390c29/summary

It will always show that RPC issue for a while until the miner container has loaded and has ingested the latest snapshot

authors: fouad-semaan shawaj

repo: NebraLtd/helium-miner-software


text:
Omen weekly kit missing items (Atlas)

Omen weekly kit is missing XL exp candies, super repel, golden lenses, and golden hourglasses.

also mod note refunded

Fixed, thanks for the report.

repo: NebulaMC-GG/Bugs-and-Issues


text:
[Feature] Bug explanation

Describe the bug
/ss and /socialspy on disables socialspy no matter what
To Reproduce
Steps to reproduce the behavior:

run /ss or /scoialspy on
look at chat

Expected behavior
Should enable social spy not disable it
Username:
_Conj
Server name (all applicable):
All

This has been fixed, closing

authors: chefburne iamcjmxv


text:
Add "Pause Uploads" button

Right now if you're uploading a file, especially on a slow connection, it's going to take a while and you might need to stop uploading.  I don't see if the current client supports pausing, I don't know what will happen if I close the program and whether or not it will resume or i'll have to start over, etc.
Please add a "Pause Uploads" button that lets you shut down your computer or just use your bandwidth in another way without losing your upload or download progress.

Uploads will resume if you close and reopen the client, but I agree that that behavior is not obvious to the user. Currently there is no support for pausing and resuming an individual upload (other than closing the program). This is a feature that I need to implement on the backend.

authors: AdamBLevine lukechampine

repo: NebulousLabs/Sia-UI


text:
🛑 Becpl Angular UI is down

In a0efe73, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in 07f5d82 after 5 minutes.

repo: NehalDamania/becpl-uptime


text:
🛑 Becpl Angular UI is down

In a99837e, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in ac1439b after 5 minutes.


text:
🛑 Becpl Angular UI is down

In 2c689af, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in 20f8a7b after 6 minutes.


text:
🛑 Becpl Angular UI is down

In 6e4ce77, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in 75a42f7 after 5 minutes.


text:
🛑 Becpl Angular UI is down

In ad0a625, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in 475bf97 after 7 minutes.


text:
🛑 Becpl Angular UI is down

In 24c8b61, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in 3b06e62 after 5 minutes.


text:
🛑 Becpl Angular UI is down

In 6089f7b, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in c5a155c after 5 minutes.


text:
🛑 Becpl Angular UI is down

In e1aa6c3, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in 93b68bd after 42 minutes.


text:
🛑 Becpl Angular UI is down

In 8346401, Becpl Angular UI ($BECPL_ANGULAR_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Becpl Angular UI is back up in 4ecfdfe after 8 minutes.


text:
AlgebraicSimplification simplification

Change Multiply and Add to use simple node comparisons instead of the pattern matcher. With my test model BERT Large Squad the pass used to take 32,335ms and now takes 250ms or 130X faster.

I see the error ```/home/dockuser/ngraph/src/ngraph/pass/algebraic_simplification.cpp:67:39: error: unused function 'get_broadcast_label' [-Werror,-Wunused-function]

repo: NervanaSystems/ngraph


text:
class file for rx.Observable not found when creating hello-world

I am getting the "class file for rx.Observable not found" error when trying to compile after following the instructions in, [1].
Need to add  rxjava dependency to resolve the build issue. Better to add this information to the README.
       <dependency>             <groupId>io.reactivex</groupId>             <artifactId>rxjava</artifactId>             <version>1.1.2</version> </dependency>
[1]. https://github.com/Netflix/Hystrix/blob/master/README.md

Can you more explicit about which instructions you were following?
When I set up a new Gradle project and added the single line:
 compile group: 'com.netflix.hystrix', name: 'hystrix-core', version: '1.5.1'

, I was able to start an application with Hystrix working.
See the project at: https://github.com/mattrjacobs/minimal-hystrix

Sorry @mattrjacobs  for not providing the project.
I just created maven project and tried to run from IDE and it complains giving the below error.
Error:(21, 8) java: cannot access rx.Observable
class file for rx.Observable not found
Here is the github project I've used to test. [1].
[1]. https://github.com/arunasujith/hystrix-test

Ah, I think I see what's happening.  There was an issue with the build process for 1.4.0-1.4.19 that didn't mark dependencies properly.  If you use the most recent versions of the 1.4.x or 1.5.x series (1.4.25/1.5.1), you shouldn't need to include rxjava (or any other Hystrix dependency) explicitly.
This was issue #730

authors: arunasujith mattrjacobs

repo: Netflix/Hystrix


text:
EtcdConfigurationSource doesn't support "update" action

If I add callback to existing in etcd property and change value using PUT command callback is not called. Callback is called only if I create new key ("set" command). To support property updates "update" command should be also implemented.

V1 is deprecated and won't be maintained anymore.

authors: dborovikov rgallardo-netflix

repo: Netflix/archaius


text:
A couple of security issues found in "central-account" Terraform

I ran Cloudrail against the central-account, and it found a couple of interesting things:
Rule: Ensure no used security groups allow ingress from 0.0.0.0/0 or ::/0 to port 22 (SSH)
 - 1 Resources Exposed:
-----------------------------------------------
   - Exposed Resource: [module.server.aws_instance.this[0]] (.terraform/modules/server/main.tf:5)
     Violating Resource: [aws_security_group.external]  (security_group.tf:1)

     Evidence:
         Internet
             | Subnet module.network.aws_subnet.public[0] has Internet Gateway
             | Instance module.server.aws_instance.this[0] is on module.network.aws_subnet.public[0]
             | Subnet routes traffic from instance to Internet Gateway
             | Subnet uses NACL nacl-pseudo-7b63af1c-0465-416e-8fc5-67230d1c9c17 which allows port 22
             | Instance uses Security Group ['aws_security_group.external']
             | Security Group allows port 22
         Instance

-----------------------------------------------
Rule: Ensure IMDSv2 is used and IMDSv1 is disabled
 - 1 Resources Exposed:
-----------------------------------------------
   - Exposed Resource: [module.server.aws_instance.this[0]] (.terraform/modules/server/main.tf:5)
     Violating Resource: [module.server.aws_instance.this[0]]  (.terraform/modules/server/main.tf:5)

     Evidence:
             | The EC2 module.server.aws_instance.this[0] is allowing IMDSv1

-----------------------------------------------
Rule: Ensure VPC Endpoint for S3 is enabled in all route tables in use in a VPC
 - 1 Resources Exposed:
-----------------------------------------------
   - Exposed Resource: [module.network.aws_vpc.this[0]] (.terraform/modules/network/main.tf:24)
     Violating Resource: [module.network.aws_route_table.public[0]]  (.terraform/modules/network/main.tf:101)

     Evidence:
             | The VPC module.network.aws_vpc.this[0] has a S3 Endpoint Gateway, but module.network.aws_subnet.public[0] uses module.network.aws_route_table.public[0], which does not have a route to the endpoint gateway

-----------------------------------------------
Rule: Ensure VPC Endpoint for DYNAMODB is enabled in all route tables in use in a VPC
 - 1 Resources Exposed:
-----------------------------------------------
   - Exposed Resource: [module.network.aws_vpc.this[0]] (.terraform/modules/network/main.tf:24)
     Violating Resource: [module.network.aws_route_table.public[0]]  (.terraform/modules/network/main.tf:101)

     Evidence:
             | The VPC module.network.aws_vpc.this[0] has a DYNAMODB Endpoint Gateway, but module.network.aws_subnet.public[0] uses module.network.aws_route_table.public[0], which does not have a route to the endpoint gateway

The first one about the 0.0.0.0: it's true that @kmcquade and @castrapel mentioned in the examples NOT to use 0.0.0.0, but maybe we should have the example set to the private subnet by default, to avoid mistakes?
The second one is a limitation of the module used to create the server, I opened a ticket for it. However, having a server that is publicly accessible without IMDSv2 can cause problems (especially with a web server).
The following have to do with how the VPC module is being used. You're asking for S3 and DynamoDB VPC endpoints, but not actually using them.

I understand this is an example for people to adopt and adapt, but I think it may be a good idea to update the template. Happy to do it if you give the thumbs up.

Hi @yi2020, thank you for pointing these out. Please feel free to fork this repository and update the template. We're not heavy users of Terraform at Netflix, since we have our own internal templating engines and CI/CD pipelines that predate Terraform.  We really appreciate the report.

On it.

repo: Netflix/consoleme


text:
Fix producer metric reporting non-published version

On each cycle that is run, a toVersion is computed.
The currentVersion metric of the producer is updated on each cycle to the above version. I find that misleading because when there is NO state change, there will be no new version published but the metric will still be updated, pointing to a non-existent version.
If I understood correctly, the producer's readState will be null when there is no state change so I removed the else branch in which the version update happened.
Also added a gradle setting to build the subprojects in parallel.
Use-case for this metric: we want to add an alert for consumers that are out-of-sync with the producer for a given amount of time. For that we look at the consumer's reported version and at the producer's version.

ping @toolbear @rpalcolea @akhaku

Closing this in favor of https://github.com/Netflix/hollow/pull/459

repo: Netflix/hollow