How to build jar with dependencies?

For the release...
$ java -jar licenseListPublisher-2.1.12-jar-with-dependencies.jar
Usage: java -jar spdx-tools-jar-with-dependencies.jar <function> <parameters>
LicenseRDFAGenerator - Generates license data
LicensListPublisher - Publishes license list to git data repository

...but built from source (with mvn clean install, as the README says):
$ java -jar target/licenseListPublisher-2.1.13-SNAPSHOT.jar
no main manifest attribute, in target/licenseListPublisher-2.1.13-SNAPSHOT.jar

...or specify main on command line...
$ CLASSPATH=target/licenseListPublisher-2.1.13-SNAPSHOT.jar java org.spdx.licenselistpublisher.Main
Usage: java -jar spdx-tools-jar-with-dependencies.jar <function> <parameters>
LicenseRDFAGenerator - Generates license data
LicensListPublisher - Publishes license list to git data repository

...great, but...
$ CLASSPATH=target/licenseListPublisher-2.1.13-SNAPSHOT.jar java org.spdx.licenselistpublisher.Main LicenseRDFAGenerator
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lang3/ArrayUtils
	at org.spdx.licenselistpublisher.Main.main(Main.java:23)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.ArrayUtils
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 1 more

Ah, dependencies aren't included in the jar built with mvn clean install. How does one build with dependencies? I see https://github.com/spdx/LicenseListPublisher/blob/02ea7d9ef77dc9a2b8cfc262dac52d6bed76b21b/pom.xml#L260 which looks tantalizing but I know almost nothing about Maven and haven't figured out the correct invocation.

mvn clean install should work.
My guess is something got messed up when I split this repository away from the spdx/tools repo.
I'll take a look and see if I can figure a fix.

@mlinksva Check to see if the mvn clean install created a jar file ending with -jar-with-dependencies.jar in addition to the standard jar file.  The licenseListPublisher-[version]-jar-with-dependencies.jar  file should be executable.
If you don't find the jar file with dependencies, could you upload the output of your maven build?
I just verified the maven build worked on my local system.

Only two jar files:
$ find . -name \*.jar
./target/licenseListPublisher-2.1.13-SNAPSHOT.jar
./target/licenseListPublisher-2.1.13-SNAPSHOT-sources.jar

I do get an error during mvn clean install that I should've reported. I must've overlooked it as it seemed to be about generating docs. 😊 Anyway, the output:
$ mvn clean install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.spdx:licenseListPublisher:jar:2.1.13-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-javadoc-plugin @ line 236, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-shade-plugin is missing. @ line 255, column 13
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] -------------------< org.spdx:licenseListPublisher >--------------------
[INFO] Building License List Publisher 2.1.13-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ licenseListPublisher ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ licenseListPublisher ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 119 resources to resources
[INFO] Copying 3 resources to META-INF
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ licenseListPublisher ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 26 source files to /Users/mlinksva/G/LicenseListPublisher/target/classes
[ERROR] /Users/mlinksva/G/LicenseListPublisher/src/org/spdx/licenselistpublisher/licensegenerator/LicenseHtmlFormatWriter.java:[49,45] unmappable character for encoding UTF8
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ licenseListPublisher ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO] Copying 191 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ licenseListPublisher ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 3 source files to /Users/mlinksva/G/LicenseListPublisher/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ licenseListPublisher ---
[INFO] Surefire report directory: /Users/mlinksva/G/LicenseListPublisher/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.spdx.licenselistpublisher.TestMarkdownTable
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'log4j2.debug' to show Log4j2 internal initialization logging.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.564 sec
Running org.spdx.licensexml.LicenseXmlDocumentTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.103 sec

Results :

Tests run: 7, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] >>> spdx-maven-plugin:0.4.0:createSPDX (build-spdx) > verify @ licenseListPublisher >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ licenseListPublisher ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 119 resources to resources
[INFO] Copying 3 resources to META-INF
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ licenseListPublisher ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 26 source files to /Users/mlinksva/G/LicenseListPublisher/target/classes
[ERROR] /Users/mlinksva/G/LicenseListPublisher/src/org/spdx/licenselistpublisher/licensegenerator/LicenseHtmlFormatWriter.java:[49,45] unmappable character for encoding UTF8
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ licenseListPublisher ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO] Copying 191 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ licenseListPublisher ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ licenseListPublisher ---
[INFO] Skipping execution of surefire because it has already been run for this configuration
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ licenseListPublisher ---
[INFO] Building jar: /Users/mlinksva/G/LicenseListPublisher/target/licenseListPublisher-2.1.13-SNAPSHOT.jar
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ licenseListPublisher ---
[INFO] Building jar: /Users/mlinksva/G/LicenseListPublisher/target/licenseListPublisher-2.1.13-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-javadoc-plugin:2.9:jar (attach-javadocs) @ licenseListPublisher ---
[WARNING] Source files encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO]
1 error
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.194 s
[INFO] Finished at: 2018-08-21T07:48:07-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9:jar (attach-javadocs) on project licenseListPublisher: MavenReportException: Error while creating archive:
[ERROR] Exit code: 1 - /Users/mlinksva/G/LicenseListPublisher/src/org/spdx/licenselistpublisher/licensegenerator/LicenseHtmlFormatWriter.java:49: error: unmappable character for encoding UTF-8
[ERROR] 		INVALID_FILENAME_CHARS.add('�');
[ERROR] 		                            ^
[ERROR]
[ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/bin/javadoc @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in '/Users/mlinksva/G/LicenseListPublisher/target/apidocs' dir.
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

And the full mvn -e -X clean install output, too long for an issue comment: https://gist.github.com/mlinksva/9c43e7c6e63d12145cad4bdca29bbf0f

@mlinksva It looks like it is dying generating JavaDocs due to an invalid character.  I also noted some warnings that may be related.
I'll see if I can duplicate the problem locally - it may take me a couple days before I get time to research it.  In the mean time, you could try commenting out the 2 JavaDoc plugin definitions at https://github.com/spdx/LicenseListPublisher/blob/07099dd08cf75234deee75045d964899127cb16e/pom.xml#L228.  The first one should be removed which I can take care of when I try to duplicate the problem.

Removing the two maven-javadoc-plugin entries does indeed allow the build to continue and produce ./target/licenseListPublisher-2.1.13-SNAPSHOT-jar-with-dependencies.jar which works as expected.


Duplicated entries in api response

Hi,
I just played around with the API and got duplicated entries there.
#!/usr/bin/env python3
import requests

base_url = "https://url/index.php?"
login = ""
password = ""

columns = [
    "reportdata.serial_number",
    "diskreport.encrypted",
    "security.gatekeeper",
]

# authenticate and get a session cookie
auth_url = f"{base_url}/auth/login"
query_url = f"{base_url}/datatables/data"
session = requests.Session()
auth_request = session.post(auth_url, data={"login": login, "password": password})

if auth_request.status_code != 200:
    print("Invalid url!")
    raise SystemExit

headers = {"x-csrf-token": session.cookies["CSRF-TOKEN"]}
def generate_query():
    q = {f"columns[{i}][name]": c for i, c in enumerate(columns)}
    return q

query_data = session.post(query_url, data=generate_query(), headers=headers)
query_json = query_data.json()
print(query_json)

000 = {list: 3} ['C02V6XXXXXX', '1', 'Active']
001 = {list: 3} ['C02V6XXXXXX', '1', 'Active']
002 = {list: 3} ['C02XFXXXXXX', '1', 'Active']
003 = {list: 3} ['C02XFXXXXXX', '1', 'Active']
.....

This only happen when I am using diskreport.encrypted.

diskreport is a multi-entry table as it is recording data for all partitions. If you only want the boot volume in the results, you can add a where clause to the query. The decoding of the where clause is done here: https://github.com/munkireport/munkireport-php/blob/master/app/lib/munkireport/Tablequery.php#L116-L133. We should add some explanation on the wiki on how to use that.


Combine vaccine suppquals with parent domains for consistency with all the other admiral packages

All the suppxx_vaccine suppqual datasets should be combined with their parent domains, in line with this update to admiralvaccine:
https://github.com/pharmaverse/admiralvaccine/issues/246
FYI @ahasoplakus @manciniedoardo

@rossfarrugia , oh, is this a general rule?
We have also suppqual datasets for onco but they are not combined here. If combining them is necessary, it is done in the vignette using metatools. Therefore metatools is not a dependency but listed in Suggests: only.
There are more suppqual datasets available, e.g., suppae, suppdm, ... It seems that they are separate and not combined.
Or did I misunderstood the issue?

Ah OK am I mistaken then here @bms63 & @manciniedoardo? I thought we only ever used {metatools} in our E2E Examples (https://github.com/pharmaverse/examples) and we kept this purposefully separate from {admiral} packages.
@ahasoplakus did actually offer the option of moving {metatools} to Suggests: only in {admiralvaccine} so maybe thats a less painful fix.
However note that there are breaking changes for combine_supp() in latest {metatools} release, so we still need to likely check and make updates for this if we keep it.

oh that is unfortunate on the breaking changes for combine_supp().
i like the admiralonco method - sounds like admiralvaccines should just adopt that?

Fine for me if all agree!

oh that is unfortunate on the breaking changes for combine_supp().

The breaking change is:

Breaking change: combine_supp() requires that the QNAM columns are not in the source dataset

This seems a quite unusual scenario to me. Thus I would not expect that we need to update on our side.

@bundfussr as FYI the reason this first came to my attention is that @millerg23 mentioned that {metatools} latest CRAN submission had failed due to it breaking {admiralvaccine}

@bundfussr as FYI the reason this first came to my attention is that @millerg23 mentioned that {metatools} latest CRAN submission had failed due to it breaking {admiralvaccine}

Hm, if this is the reason for breaking {admiralvaccine} I wonder if the vaccine SDTMs are correct. I think the supp dataset should only provide variables which are not already in the parent domain.


Update Explorer Help & Documentation drop down to be consistent with portal

Jason reported being thrown off by the Help & Documentation section being different in Explorer vs Portal. This ticket captures the work to update Help & Documentation drop down to better match Portal and provide more clarity in how to Contact Us:
UX
Figma
Actions to do on Explorer:

Add Email Us with email address used in "Contact" in portal to the drop down
Move Terms of Service and Privacy Policy to main drop down
Remove icons from drop down

cc @signechambers1 for product questions, @hthomas-czi for design questions

Thank you Harley!!

@hthomas-czi we're going to prioritize this since a bug popped up in explorer, can you update the figma link? it is broken.


async/await is not compiled to es5 on development env

We are developing webapps for QT which has chrome 49 (very old version), which does not support object spread or async/await syntax.
When run yarn start the CRA (with typescript) seems not compiling code to es5 (which is configured in tsconfig.json), the *.js still contains async {...state} all kinds of syntax. But when do yarn build everything seems fine, async is compiled to __await correctly.
My question is how to enable the complete compilation in development mode?
Is it this line: https://github.com/facebook/create-react-app/blob/99040755eb06c8634173db7f6a46d9d5c36699cd/packages/babel-preset-react-app/dependencies.js#L138 ?

use customize-cra + babelrc would just do.


Question - Return raw data instead of writing to file

In my android app I'm sendind the raw bytes of a h264 stream from a camera to a c++ function (via jni)
and decoding it using DecodeFrame2.
In the android example of this project it reads a file and outputs the result to another file. Instead of output to a .yuv file I need to return the yuv bytes back to java via JNI. Is it possible?
After calling pDecoder->DecodeFrame2 (h264Buf, h264BufLen, pData, &sDstBufInfo); what should i do with the pData to get the bytes?
Thanks!

The "pData" stores the YUV wise pixel data with width/height/stride information in sDstBufInfo. You can surely get the bytes through them. A good example can be seen in codec/console/dec/src/h264dec.cpp on the function "Process". It by defaults (given file) stores the buffer into file.


Keep out copper zones

Hello there. I am using the switch from jlcpcb (the one that's part of the basic parts), which has a copper keep out zone, which is a bit weird I admit.
Now the round tracks when applying the plugin are all over the front-lawn of the push button and DRC is not happy.

You have a few options, the easiest is just to manually correct the problem, or in your case you could probably just ignore the error. You can split tracks before rounding, and this will limit their radius. The rounded tracks will always pass through the midpoint of the original tracks.
As mentioned in #6 there are limitations in the KiCad python API that mean the plugin is blind to DRC errors, so this isn't something that can be easily fixed.

Thanks for the heads up


make continuation response from server, following client->server PING

… (yes, not PONG), work; .Net's System.ServiceModel.WebSockets.WebSocket client will by default send a PING to the server every 50 seconds
A Pull Request to fix this: https://github.com/TooTallNate/Java-WebSocket/pull/383
Absent this pull request, the following exception will be thrown upon the server continuation frame:
2016/05/17 08:32:01.951,E,Thread-0,WebSocketHandler.java(113) [Main.onError],onError
org.java_websocket.exceptions.InvalidFrameException: bad rsv 1
        at org.java_websocket.drafts.Draft_10.translateSingleFrame(Draft_10.java:309) ~[Java-WebSocket-1.3.0.jar:na]
        at org.java_websocket.drafts.Draft_10.translateFrame(Draft_10.java:286) ~[Java-WebSocket-1.3.0.jar:na]
        at org.java_websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:312) [Java-WebSocket-1.3.0.jar:na]
        at org.java_websocket.WebSocketImpl.decode(WebSocketImpl.java:157) [Java-WebSocket-1.3.0.jar:na]
        at org.java_websocket.client.WebSocketClient.interruptableRun(WebSocketClient.java:230) [Java-WebSocket-1.3.0.jar:na]
        at org.java_websocket.client.WebSocketClient.run(WebSocketClient.java:188) [Java-WebSocket-1.3.0.jar:na]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91]

I'm not sure if this is conforming to WebSocket standards, but this is what (one of the many) official MS WebSocket client implementation does by default: sending PINGs to the server.
Attached are screenshots of the 3 TCP frames that make up such a client initiated heartbeat exchange

hey @twoi,
I went through the spec and at chapter 11.8 all the opcodes are specified!
But it could be that there is a bug that the opcode continuation is not correctly dealt with
Greetings
marci4

Thanks @marci4 for looking into this. Yes, so Continuation is one of the specified opcodes (opcode = 0). However the RFC you referenced does not define a scenario like the one System.ServiceModel.WebSockets.WebSocket has implemented.
I wonder why MS did that - was it perhaps part of an older version of a spec? Because you'd think when implementing a standard protocol, you'd do so for interoperability.
But according to the spec,

Upon receipt of a Ping frame, an endpoint MUST send a Pong frame in response
There is no such thing as a standalone, even empty (Payload Len: 0) CONTINUATION frame with the FIN bit clear.

As to the second point, although other uses are no specifically excluded, the purpose of CONTINUATION frames is to allow fragmentation of frames. The defined opcodes and FIN bit values for fragmented frames:
   o  An unfragmented message consists of a single frame with the FIN
      bit set (Section 5.2) and an opcode other than 0.

   o  A fragmented message consists of a single frame with the FIN bit
      clear and an opcode other than 0, followed by zero or more frames
      with the FIN bit clear and the opcode set to 0, and terminated by
      a single frame with the FIN bit set and an opcode of 0.

So what System.ServiceModel.WebSockets.WebSocket is doing in effect is sending a (empty payload) middle-fragment of a fragmented message in response to a PING from the client.
This contravenes the spec, but enabling this by default is not doing any harm, other than NOT throwing an exception in this case that other websocket implementations do not produce.
However, after reading the spec, understanding what CONTINUATION is all about, and looking again at the Java-WebSocket code, adding a new OpCode.CONTINUATION (in addition to the existing Opcode.CONTINUOUS with the same byte value) and  an onWebsocketContinuation() method to the WebSocketClient etc does not look like the right thing to do.
Allowing/Ignoring the MS style CONTINUATION frame should be integrated with the existing handling of the CONTINUOUS opcode. If and when requests/pressure from clients comes again, I'd be willing to look into this again, as they have to cope with our MS server implementation. Then I'd come up with something that integrates better into the existing code base.
For the time being, rejecting my PR will be the right thing to do. This issue however could still stay open

@marci4 I'm not involved in that project any more, and so unfortunately I currently have no easy way to test the latest version.
So I won't cry if you close this issue :)

Thank your feedback!
Since no one else seems to have this issue and you are fine with it, I will close it!
If however anyone has the same problem, feel free to reopen this!
Best regards,
marci4


[tlul] Add integrity checkers and generators for memory usage

This PR does the following

optional command integrity checker for adapter sram
optional response and data integrity generators to adapter sram
update ram_scr to change behavior based on integrity indication.  When an integrity error happens, there are 3 defenses

tlul adapter sram should error back
the sramble nonce becomes reversed
the request to the memory itself should be silenced

connect integrity failure alerts to sram controllers

I'd appreciate if you could combine these three commits into one before merging, since the tree won't build in between them.

And maybe you also could copy the information you have in this PR description
When an integrity error happens, there are 3 defenses

    tlul adapter sram should error back
    the sramble nonce becomes reversed
    the request to the memory itself should be silenced

into the header of the sram scr primitive as small piece of documentation.

yeah i should actually just update the sram controller documentation.
Let me wait to see if others are okay with the changes I made, then I will
go update the documentation / comments.
On Thu, Mar 4, 2021 at 1:01 PM Philipp Wagner<EMAIL_ADDRESS>wrote:

And maybe you also could copy the information you have in this PR
description
When an integrity error happens, there are 3 defenses
tlul adapter sram should error back
the sramble nonce becomes reversed
the request to the memory itself should be silenced

into the header of the sram scr primitive as small piece of documentation.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/pull/5440#issuecomment-790938192,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSQXXUGUUHVYP2JUED3TB7YJNANCNFSM4YQHJOIA
.


No styles generated when referencing functional components in another functional component

Hey,
first of all, great plugin! Works wonderfully besides the problem in the title.
I've seen the entry in the readme, but for me no styles are being generated at all, even when the build command is run.

Thanks, glad it is working (for the most part 😀)
I'm away at the moment so will have a look next week when I'm back in the office.
Off the top of my head, I think that the import chain might be incorrectly looking up. I didn't consider this use case unfortunately.

The current way the Stencil compiler works makes this non-fixable.
In the assumption that:
Main Component imports FC1 which imports FC2
MC -> FC1 -> FC2

Stencil builds MC, then FC1, then MC Stylesheet, then lastly FC2.
We use the MC stylesheet to inject the styles from FC1, but because FC2 is done last, the stylesheet cannot be updated as it has been processed already. The compilation all happens in parallel as well, so the stylesheet vs FC2 being processed is somewhat non-deterministic. You also don't know that FC2 is coming so can't delay the process until something arrives.
I have fiddled with the compilation process, but so far there doesn't seem to be a way of getting Stencil to respect the import order.
I'll make a note in the readme file, but, unfortunately won't be able to fix this bug.


Custom Endpoint output fails to identify Big-IP hostname

Environment

Telemetry Streaming Version: 1.15 and 1.14
BIG-IP Version: 15.1.x and 13.1.x

Summary
TS Output generated by Custom Endpoint configuration does not identify the Big-IP hostname in the exported metrics. A workaround exists and should be added to the custom endpoints documentation page to avoid confusion: https://clouddocs.f5.com/products/extensions/f5-telemetry-streaming/latest/custom-endpoints.html
Steps To Reproduce
Steps to reproduce the behavior:

Submit the following declaration:

{
    "class": "Telemetry",
    "My_System": {
        "class": "Telemetry_System",
        "systemPoller": {
            "interval": 60
        }
    },
    "My_Listener": {
        "class": "Telemetry_Listener",
        "port": 6514
    },
    "My_Consumer": {
        "class": "Telemetry_Consumer",
        "type": "Statsd",
        "host": "<IP_ADDRESS>",
        "protocol": "udp",
        "port": 8125
    },
    "Custom_Endpoints": {
        "class": "Telemetry_Endpoints",
        "items": {
             "detailedCPU": {
                 "name": "detailedCPU",
                 "path": "/mgmt/tm/sys/host-info"
             }
        }
    },
     "Custom_System_Poller1": {
      "class": "Telemetry_System_Poller",
      "interval": 60,
      "endpointList": "Custom_Endpoints"
    }
}

Observe the exported metrics missing the system hostname:

decoded output via tcpdump:
f5telemetry.hostname-unknown.detailedCPU.sys-host-info-0.sys-hostInfo-0-cpuInfo.sys-hostInfo-0-cpuInfo-0.
f5telemetry.hostname-unknown.detailedCPU.sys-host-info-0.sys-hostInfo-0-cpuInfo.sys-hostInfo-0-cpuInfo-1.
f5telemetry.hostname-unknown.detailedCPU.sys-host-info-0.sys-hostInfo-0-cpuInfo.sys-hostInfo-0-cpuInfo-2.
f5telemetry.hostname-unknown.detailedCPU.sys-host-info-0.sys-hostInfo-0-cpuInfo.sys-hostInfo-0-cpuInfo-3.

Expected Behavior
The custom endpoints output should identify the Big-IP hostname.
The output from default system poller metrics identifies the hostname as expected.
Example output from default system poller:
f5telemetry.bigip-1-lab-local.system.tmmTraffic.clientSideTraffic-bitsIn
f5telemetry.bigip-1-lab-local.system.networkInterfaces

Actual Behavior
Output from TS custom endpoint is missing Big-IP hostname field which causes issues when the TS consumer is parsing the data. Output from multiple Big-IPs mix together and you cannot identify custom endpoint metrics from the specific Big-IP that generated the metrics.
Workaround is to explicitly add an additional custom endpoint entry to look for hostname.
Using the same TS declaration as above but with the workaround included:
{
    "class": "Telemetry",
    "My_System": {
        "class": "Telemetry_System",
        "systemPoller": {
            "interval": 60
        }
    },
    "My_Listener": {
        "class": "Telemetry_Listener",
        "port": 6514
    },
    "My_Consumer": {
        "class": "Telemetry_Consumer",
        "type": "Statsd",
        "host": "<IP_ADDRESS>",
        "protocol": "udp",
        "port": 8125
    },
    "Custom_Endpoints": {
        "class": "Telemetry_Endpoints",
        "items": {
             "detailedCPU": {
                 "name": "detailedCPU",
                 "path": "/mgmt/tm/sys/host-info"
             },
             "systemHostname": {
                 "name": "system",
                 "path": "/mgmt/tm/sys/global-settings"
            }
        }
    },
     "Custom_System_Poller1": {
      "class": "Telemetry_System_Poller",
      "interval": 60,
      "endpointList": "Custom_Endpoints"
    }
}

After applying the workaround the custom endpoint output correctly identifies the Big-IP hostname:
decoded output via tcpdump:
f5telemetry.bigip-1-lab-local.detailedCPU.sys-host-info-0.sys-hostInfo-0-cpuInfo.sys-hostInfo-0-cpuInfo-0.
f5telemetry.bigip-1-lab-local.detailedCPU.sys-host-info-0.sys-hostInfo-0-cpuInfo.sys-hostInfo-0-cpuInfo-1.
f5telemetry.bigip-1-lab-local.detailedCPU.sys-host-info-0.sys-hostInfo-0-cpuInfo.sys-hostInfo-0-cpuInfo-2.
f5telemetry.bigip-1-lab-local.detailedCPU.sys-host-info-0.sys-hostInfo-0-cpuInfo.sys-hostInfo-0-cpuInfo-3.

In the TS custom endpoint documentation page it should call out you need to add a hostname entry in order to have the output correctly identify the Big-IP hostname.
TS should be modified to automatically identify the Big-IP hostname when configuring a specific custom endpoint.

This specifically affects the StatsD consumer, so it is documented there: https://clouddocs.f5.com/products/extensions/f5-telemetry-streaming/latest/setting-up-consumer.html#statsd

The statsd note you mentioned says if TS cant find the hostname for statsd output, it will use hostname-unknown.
I found that note when I was researching the problem, but the note does not mention how to workaround the problem.
To me, it's not intuitive to explicitly add the extra custom endpoint entry to query /mgmt/tm/sys/global-settings so that all the custom endpoint output have the hostname identified correctly.
The nature of custom endpoints will probably be some specific REST URI to capture something that is not included in the system poller, which will likely not include the hostname.

I have added AUTOTOOL-2029 to our internal product backlog to make it more clear in the documentation how to resolve this issue.

There is another workaround for https://github.com/F5Networks/f5-telemetry-streaming/issues/107 as well.

There is another workaround for https://github.com/F5Networks/f5-telemetry-streaming/issues/107 as well.

The documentation was updated a while ago. Closing this issue.


feat: add mentor and mentee detail

Description

Adjust the mentor component
Add company and image_url field

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] see in (https://api-stage.itseed.tw/careers)

Checklist:

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

Summary

Adjust the mentors field into lower case
Add field role for the mentee's role, such as the leader of the information group (ticket)
Add field mentors_overview for displaying the overview information about mentors. (ticket)

see API


djv.fingerprint_directory Failed fingerprinting error

Hi guys,
I'm getting the following errors. Running MAC OS and Python 2.7, I tried reinstalling ffmpeg using brew install ffmpeg, and tried different versions of numpy but with no lock. Appreciate your help:
djv.fingerprint_directory("./audio_files", [".wav"],3)
Fingerprinting channel 1/1 for ./audio_files/0126.wav
Fingerprinting channel 1/1 for ./audio_files/0116.wav
Fingerprinting channel 1/1 for ./audio_files/0132.wav
Fingerprinting channel 1/1 for ./audio_files/0130.wav
Failed fingerprinting
Traceback (most recent call last):
File "dejavu/init.py", line 77, in fingerprint_directory
song_name, hashes, file_hash = iterator.next()
File "/anaconda3/envs/python27env/lib/python2.7/multiprocessing/pool.py", line 673, in next
raise value
TypeError: numpy boolean subtract, the - operator, is deprecated, use the bitwise_xor, the ^ operator, or the logical_xor function instead.
Failed fingerprinting
Traceback (most recent call last):
File "dejavu/init.py", line 77, in fingerprint_directory
song_name, hashes, file_hash = iterator.next()
File "/anaconda3/envs/python27env/lib/python2.7/multiprocessing/pool.py", line 673, in next
raise value
TypeError: numpy boolean subtract, the - operator, is deprecated, use the bitwise_xor, the ^ operator, or the logical_xor function instead.
Failed fingerprinting
Traceback (most recent call last):
File "dejavu/init.py", line 77, in fingerprint_directory
song_name, hashes, file_hash = iterator.next()
File "/anaconda3/envs/python27env/lib/python2.7/multiprocessing/pool.py", line 673, in next
raise value
TypeError: numpy boolean subtract, the - operator, is deprecated, use the bitwise_xor, the ^ operator, or the logical_xor function instead.
Failed fingerprinting
Traceback (most recent call last):
File "dejavu/init.py", line 77, in fingerprint_directory
song_name, hashes, file_hash = iterator.next()
File "/anaconda3/envs/python27env/lib/python2.7/multiprocessing/pool.py", line 673, in next
raise value
TypeError: numpy boolean subtract, the - operator, is deprecated, use the bitwise_xor, the ^ operator, or the logical_xor function instead.

#143


allow useradd to create home directory from install target, not the $(MSCS_HOME) target

It is useful to be able to work as the minecraft user that is created from the install target in the Makefile.
However, because the install target runs the $(MSCS_HOME) target beforehand (thus creating the home directory beforehand) the useradd command fails to pull over useful shell default files (like .bashrc, .profile, etc...) and anything else that may be living in /etc/skel. I don't know if this was  intended behavior or not since the --create-home option is supposed to setup those files for a newly added user.
This PR contains two changes:

remove the call to the $(MSCS_HOME) target when running make install. The MSCS_HOME directory will still be created by the useradd command, and on most systems, i think this would be enough by itself. The useradd command would then properly setup the home directory with the system default files

add the -K UMASK=0022 option to the useradd command. This just ensures that on a system with some differing defaults it still sets up the mscs home directory with the intended permissions the same way.

This is another PR influenced by my weird use-case. I didn't see any obvious reason why the $(MSCS_HOME) target was even needed in the Makefile, so let me know if i missed something. Thanks

This change looks fine to me.  This does leave the $(MSCS_HOME) target without a use, so it should also be removed.
For a little context, this target has been in the Makefile longer than useradd has been there -- this probably should have been done when that change was made.

I think that useradd should also be taking care of ownership of $(MSCS_HOME), so we'll can't probably drop the call to chown as well.

useradd is used in the script and adduser is used in the manual install instructions.
Should the wiki be updated to match the script?

I went ahead and dropped the call to chown.
We should update the wiki to use the same directions as used in the Makefile.

I added a patch to drop the MSCS_HOME target, updated the wiki, and added another patch to the Makefile to match the way the wiki did things.


Release v0.9.0

I plan to release the minor version about once every two weeks.
However, this plugin repository has already incorporated many changes since v0.8.0. https://github.com/ota-meshi/eslint-plugin-regexp/compare/v0.8.0...master
So it hasn't been long since the release of v0.8.0, but I would like to release v0.9.0.
@RunDevelopment  Could you let me know if you think it's okay to release v0.9.0?

let me know if you think it's okay to release v0.9.0?

Sure! I don't see any reason not to publish a new version.


make deploy and purge options consistent

Is your feature request related to a problem?
Short option "-d" means different things for purge and deploy.
Currently for deploy:
     --deployments string     Only deploy a specifc deployment (You can specify multiple deployments comma-separated
  -d, --force-deploy           Forces to (re-)deploy every deployment

But for purge
 -d, --deployments string     The deployment to delete (You can specify multiple deployments comma-separated, e.g. devspace-default,devspace-database etc

Which solution do you suggest?
Use '-d' for short option for deployments for both; for --force-deploy short option should be -f.
Which alternative solutions exist?
Getting used to the inconsistency? Always using the long options?
Additional context

/kind feature

@shaunc thanks for opening this issue! Yes that is true the devspace purge command is a little special in this regard and differs from the devspace dev and devspace deploy commands. I'd rather suggest to rename the -d shortcut from the devspace purge command or even delete it completely for devspace purge, since -f for devspace deploy --force-deploy could be confusing with --force-build and --force-dependencies.

hmm... how about -i --include-dependencies for all? (can keep long form --dependencies for backward compatibility)?

@shaunc I'm not exactly sure what you mean with the flag --include-dependencies, is it running --force-deploy, --force-build and --force-dependencies together?

What I mean is to have --include-dependencies include a specifically specified set of dependencies, rather than all of them, which is the default. (For symmetry one could also add --exclude-dependencies to include all but a given list of dependencies. However, that isn't actually going to be useful that often presumably.) Include/exclude specifications for lists are a convention users are probably aware of. Then you wouldn't have to change the --force-** at all.

@shaunc Okay, maybe I'm getting something wrong here, but I thought this is about the --deployments flag?  You can specify individual dependencies via the --dependency flag for devspace deploy and devspace purge. The process how devspace is deploying things is basically like this:

For all dependencies (or only the dependencies that are defined via --dependency)
1a. Check if a dependency is cached (Skip this check if --force-dependencies is defined)
1b. If it is cached and was deployed already don't do anything.
1c. Build dependency images if necessary (Always build images if --force-build is defined)
1d. Deploy dependency deployments if necessary (Always deploy dependency deployments if --force-deploy is defined)
Build defined images in devspace.yaml if necessary (Always build images if --force-build is defined)
Deploy all deployments (or only the deployments that are defined via --deployments. If a deployment didn't change and you want to force redeployment you can specify this via --force-deploy)

So the flags --force-build and --force-deploy are applied for dependencies as well as deployments in the initially loaded devspace.yaml. How would the --include-dependencies flag be different from the --dependency flag?

ach -- sorry; yes -- take all my comments above and change dependency to deployment -- will change for legibility!

I don't think we can change the -d flag for devspace deploy because it is also in devspace dev and it is one of the most important flags for many users. A breaking change like this would not be easy.
I agree that it is inconsistent with devspace purge but expecting -d as --force-deploy for purge makes no sense, so I believe it is not really a danger of getting mixed up. The only option to resolve the inconsistency is to remove the -d shortcut for devspace purge. To prevent a breaking change right now, we could also deprecate the shortcut first and remove it later in the next major version.

Hmm.. how about adding the -I/--include-deployments as an alias? It came up for me because when working on the config of a particular deployment I often type devspace purge -d foo && devspace deploy ... and when there was another deployment that was in an odd state I didn't want to think about at the moment, I automatically added devspace purge -d foo && devspace deploy -d foo, which, it turns out, isn't what I wanted.... If I could do it with all -i instead, and then you could phase out the -d for purge.
Of course, not a big deal....

Nothing to be done here I guess... thanks for the discussion! Closing.


Compilation invalidating Docker layer cache

Im debugging a weird docker caching issue which occurs when trying to build librealsense in a container.
Relevant Dockerfile section:
# ... many previous steps

RUN git clone --depth 1 --branch v2.49.0 https://github.com/IntelRealSense/librealsense.git && \
  cd librealsense && \
  mkdir build  && cd build && \
  cmake ..

The second RUN command will never get cached, even though it (and following commands) complete successfully. When I restart the build it always restarts from the second RUN, discarding the layer cache for it for some reason.
...
#28 [25/33] RUN git clone --depth 1 --branch v2.49.0 https://github.com/IntelRealSense/librealsense.git &&   cd librealsense &&   mkdir build  && cd build &&   cmake ..   -DBUILD_UNIT_TESTS=OFF   -DBUILD_EXAMPLES=OFF   -DCMAKE_BUILD_TYPE=Release   -DFORCE_RSUSB_BACKEND=ON   -DCMAKE_PREFIX_PATH=~/apriltag
#28 sha256:ebfb42ae7cd3c464d6abc58ef92432f7de136010fff58ae1d90024e2045d273b
#28 CACHED

#29 [26/33] RUN cd librealsense/build &&   make -j2
#29 sha256:3e8f407631684baeb4c059af3aa4f8ddcfa613600e554fff4270d4b66562e2d7.
#29 0.620 [  0%] Building C object common/fw/CMakeFiles/fw.dir/empty.c.o.  -> why not cached
...

My docker command (im cross compiling for arm / Raspberry Pi on OSX 10.15.7, Docker version 20.10.7, build f0df350)
	docker buildx build -t dgorissen/clare \
	--build-arg vinodist=${vinodist} \
	--platform linux/arm/v7 \
	--progress=plain \
	--push .

Of course I can just let it re-run but it increases build times significantly. It doesnt feel like this should be related to realsense but I havent seen this issue anywhere else, with any other steps. Any thoughts?

Hi @dgorissen   I have not personally seen a Docker case on the librealsense forums involving this issue.  I did research cache invalidation in general though.  A guide in the link below suggests that the cache may be invalidated and force the build if a build argument is included in the Docker instructions.
https://blog.no42.org/code/docker-build-cache-invalidation/

Thanks @MartyG-RealSense, I had come across that two but then I would have expected other steps to show the same problem (I had one usage of ARG).
However to be sure I removed all usage of ARG & ENV and I wasnt using ADD & COPY to begin with.
I tried re-ordering some steps, did a clean build, waited to completion, then immediately ran the build command again. All steps were cached except the same compilation step. Really odd. The only thing I can think of that is different for that step is that it takes a long time to complete. But that should not matter.
I'll try to find some time to see if I can make a minimal example.

Tried one more thing. Removed any existing build cache, active buildx builders, and turned on buildkit (which was off). Then a fresh build + re-build works as expected.  Odd, so must have gotten into some weird state. Thanks for considering, closing issue.

Great to hear that you found a solution, @dgorissen  - thanks very much for the update!


PomBase Publications

The list
PomBase Publications
Needs a section
PomBase co-authored collborative papers (or similar)
for the GO, RNA central etc...
I can add a list of these if required

I can add a list of these if required

yes please ... PMIDs will do for anything that has 'em

We should add everything since 2010
AnGeLi: A Tool for the Analysis of Gene Lists from Fission Yeast.
Bitton DA, Schubert F, Dey S, Okoniewski M, Smith GC, Khadayate S, Pancaldi V, Wood V, Bähler J.
Front Genet. 2015 Nov 16;6:330. doi: 10.3389/fgene.2015.00330. eCollection 2015.
PMID: 26635866
An Ancient Yeast for Young Geneticists: A Primer on the Schizosaccharomyces pombe Model System.
Hoffman CS, Wood V, Fantes PA.
Genetics. 2015 Oct;201(2):403-23. doi: 10.1534/genetics.115.181503. Review. Erratum in: Genetics. 2016 Mar;202(3):1241.
A genome-wide resource of cell cycle and cell shape genes of fission yeast.
Hayles J, Wood V, Jeffery L, Hoe KL, Kim DU, Park HO, Salas-Pino S, Heichinger C, Nurse P.
Open Biol. 2013 May 22;3(5):130053. doi: 10.1098/rsob.130053.
PMID: 23697806
Augmented annotation of the Schizosaccharomyces pombe genome reveals additional genes required for growth and viability.
Bitton DA, Wood V, Scutt PJ, Grallert A, Yates T, Smith DL, Hagan IM, Miller CJ.
Genetics. 2011 Apr;187(4):1207-17. doi: 10.1534/genetics.110.123497. Epub 2011 Jan 26.
PMID: 21270388
The Gene Ontology Resource: 20 years and still GOing strong.
The Gene Ontology Consortium.
Nucleic Acids Res. 2018 Nov 5. doi: 10.1093/nar/gky1055. [Epub ahead of print]
PMID: 30395331
Expansion of the Gene Ontology knowledgebase and resources.
The Gene Ontology Consortium.
Nucleic Acids Res. 2017 Jan 4;45(D1):D331-D338. doi: 10.1093/nar/gkw1108. Epub 2016 Nov 29.
PMID: 27899567
Gene Ontology annotations and resources.
Nucleic Acids Res. 2013 Jan;41(Database issue):D530-5. doi: 10.1093/nar/gks1050. Epub 2012 Nov 17.
PMID: 23161678

The Gene Ontology: enhancements for 2011.
Gene Ontology Consortium.
Nucleic Acids Res. 2012 Jan;40(Database issue):D559-64. doi: 10.1093/nar/gkr1028. Epub 2011 Nov 18.
PMID: 22102568

The Gene Ontology in 2010: extensions and refinements.
Gene Ontology Consortium.
Nucleic Acids Res. 2010 Jan;38(Database issue):D331-5. doi: 10.1093/nar/gkp1018. Epub 2009 Nov 17.
PMID: 19920128
Gene Ontology Consortium: going forward.
Gene Ontology Consortium.
Nucleic Acids Res. 2015 Jan;43(Database issue):D1049-56. doi: 10.1093/nar/gku1179. Epub 2014 Nov 26.
PMID: 25428369

RNAcentral: a hub of information for non-coding RNA sequences.
The RNAcentral Constortium .
Nucleic Acids Res. 2018 Nov 5. doi: 10.1093/nar/gky1034. [Epub ahead of print]
PMID: 30395267
(it really does say the RnA central constortium!)

RNAcentral: a comprehensive database of non-coding RNA sequences.
The RNAcentral Consortium.
Nucleic Acids Res. 2017 Jan 4;45(D1):D128-D134. doi: 10.1093/nar/gkw1008. Epub 2016 Oct 28.
PMID: 27794554

24929579 ?

yup, you can come update my CV...

PHI-base?: https://academic.oup.com/nar/article/45/D1/D604/2631399

I added everything above, plus a few more I found.

impressive!


best way to edit the generated graphql aws app sync schema in amplify v2?

Environment information
I need to add additional fields into a few of the generated graphql schema endpoints. Speicfically the 'owner' field. This is so I can use them in the backend to correctly sync data to the front end via graphql.
What is the best way to achieve this? I can make the edits directly in appsync console, but feel there should be a way to do this through amplify v2 that I can keep within my ci/cd pipeline.
Description
E.g I want to add a 'owner' field that have not been added automatically for some reason (I think they should be):
input CreateMessageInput {
	type: String
	message: String
	color: String
	runId: ID
	promptId: ID
	id: ID
	owner: String
}

This way i can use the graphql directly from my backend outside of amplify and have it stay in sync with the amplify v2 on the real time updates.

Hey @cookiejest, Thanks for raising this. Could you please share your full schema?

i think my problem is i did not include a owner field in the schema itself (I thought it would be auto populated but it was not). Once I added the field the owner the app sync was then correct with owner included.
  Message: a
    .model({
      type: a.string(),
      message: a.string(),
      color: a.string(),
      runId: a.id(),
      promptId: a.id(),
      owner: a.string(),
      run: a.belongsTo('Run', 'runId'),
      prompt: a.belongsTo('Prompt', 'promptId')
    })
    .authorization((allow) => [allow.owner()])

Hey @cookiejest, Thanks for clarifying. can you please provide the aws-amplify lib versions you are using in your app?

"aws-amplify": "^6.4.3",
"@aws-amplify/backend": "^1.0.4",
"@aws-amplify/backend-cli": "^1.2.2",


Add support for a local JSON config file

The VS docs team has expressed interest in having support for a local JSON config file to test changes before pushing. Consider adding a new option that allows you to provide a path to a local JSON config file. When that option is specified, the config file in the repo isn't used.

Fixed in https://dev.azure.com/mseng/TechnicalContent/_git/dotnet-docs-tools/pullrequest/574782


BITE-1402: Fix Travis Builds

Handles the case where region specific deployment data is not in consul and ensures the tfvars data is still produced.
More information is in the ticket description: https://one-jira.pearson.com/browse/BITE-1402
https://travis-ci.com/pearsontechnology/bitesize/builds/43176682#L382 lines (382-385) show that the deploy was successful meaning tfvars was generated

LGTM

LGTM


Camelcase fix in load

Add load function for null strings, to avoid having to use sql.NullString in all type declarations.

Not sure why it shows that the line in the regular load function was added in this PR... Looking into it...


Fix issue #90. Avoid nested include.

Fix the CMakeLists file so there is only one include folder in the install directory.

LGTM. Thanks.


Automatic debug configuration for flask doesn't appear to do anything.

Testing #19547

Create a new folder.
Create a file in the folder: app.py
Contents of app.py:

from flask import Flask

app = Flask(__name__)

@app.route("/")
def hello_world():
    return "
Hello, World!
"

Test that you can manually run app.py by following the instructions at https://flask.palletsprojects.com/en/2.1.x/quickstart/#a-minimal-application
a. export FLASK_APP=app
b. flask run
Follow the steps in the test plan.
I expected my breakpoints to get hit, but they weren't

Thanks for the bug report. We had a problem with the release of the extension, but it's fixed now, you can try again. Thank you


How sign iOS build

I get always error
Signing for "SpineSimpleTest1" requires a development team. Select a development team in the project editor.
I open XCode choose company and run from XCode, and all good. But from gradle can not build. Maybe problem in few company in my account, but different projects i make for different company.
How i can sign, maybe from gradle settings?

If you are using gdx-backend-jtransc:
Check this:
https://github.com/jtransc/gdx-backend-jtransc/blob/master/gdx-backend-jtransc/resources/limebuild.cmd
https://github.com/jtransc/gdx-backend-jtransc/blob/master/gdx-backend-jtransc/src/com/jtransc/media/limelibgdx/LimeApplication.java#L45

Add settings in backend for provide team-id https://github.com/jtransc/gdx-backend-jtransc/pull/61/commits/282f5d19c85517831830259eb6d49a168edebb6a


Doesn't work on nexe

I was trying to compile my node project into .exe using Nexe. I'm clueless because node-notifier does work on node but not .exe. The .exe file doesn't display any error or something that can give me some hints about what kind of problem I encountered.
Version
"node-notifier": "^10.0.0",
"nexe": "3.3.7"

This is the error message I get when updating from 9.0.1 to 10,0,0
(node:13544) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `windows-authenticator --trace-deprecation ...` to show where the warning was created)

Hope this helps...

I think I found something. It seems to be related to the customPath option. (This also fits the release notes that mention a fix there)
My notifierOptions:
{
	"withFallback": false,
	"customPath": "X:\\xxxxxxxxxx\\dist\\snoretoast-x64.exe"
}

Debug log
node-notifier debug info (fileCommand):
[notifier path] X:\xxxxxxxxxx\dist\vendor\snoreToast\snoretoast-x64.exe

Seems that somewhere along the way the vendor\snoreToast is added.
Not sure if that's only when using an absolute path to the binary, or if it will happen to relative as well.

Although the documentation note Relative/Absolute path to binary, even when removing the sonretoast-x64.exe from the customPath, the result is the same.
So it seems the actual behavior of customPath is that it expects a folder with vendor\snoreToast\sonretoast-x64.exe rather then a path to binary itself.

Found the problem. Opened a PR

@lee1409
If your problem you're having is the same as mine, a temporary workaround can be sending customPath in the message options rather then in the WindowsToaster constructor

Alright thanks @yoavain ! Will try it when I'm available


Allow filtering/stripping of processes by name/pid

For mostly self contained processes it's useful to have a trace of only one process and it's children.
If we want scheduler/memory traces, a lot of unnecessary info gets added to the trace. Stripping this data from the protobuf or being able to filter it in the UI would be really useful.
It'd be nice to apply filters to ftrace by process name and remove any other processes from the trace.

Going to fold this into https://github.com/google/perfetto/issues/429


Test Time 3

Test Time 3

@amihaiemil this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2020-12-23T10:18:51.743345.
Estimation here is 60 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.

@MihaiDejeu please keep in mind that manual assignment of tickets is a bad practice and it is discouraged. Next time, please let me elect the assignee.

@amihaiemil thank you for resolving this ticket. I've just added it to your active invoice. You can always check all your invoices and more on the Contributor Dashboard.


Include renderer/api/buildoptions.h in all API headers

It needs to be the first #include clause in all appleseed.renderer API headers.

This produces redefinitions warnings, the definitions are also added by cmake. We don't have a safe / nice way to avoid them.


add two code snippets on the landing page

So people can see that:

Quint is different from TLA+,
It looks more like a programming language

~It would be great to have actual highlighted code instead of images. But images were the easiest to add quickly.~

yup! looks good :)


fatal: could not read Username for 'https://github.com': terminal prompts disabled

Failed (1)                                                                                ~               ○ cmp_luasnip  nvim-cmp      ■ clone failed                                                            ~                   Cloning into 'C:/Users/Jimmy/AppData/Local/nvim-data/lazy/cmp_luasnip'...                           ~                   fatal: could not read Username for 'https://github.com': terminal prompts disabled
Done with lazy.nvim, every other plugin works but jst not this. like I can download the zip from github alright but not using lazy.nvim. Also im going powershell windows

Issue with lazy.nvim not this plugin. Best bet would be to raise an issue there.


options.c: Fix conf.filenames duplication problem if logs are via pipe.

fixes allinurl/goaccess#907

Merged. Thank you!


Bug:  No setting about "empty-line-around-math-blocks"

No setting about "empty-line-around-math-blocks"
How to Reproduce

@wenbopeng, are you using the version from the master branch of this repo or are you using the latest release?

It looks like you are not on master based on the image as thetab for pasting rules. As a result, I am going to close this issue. The setting you are looking for should be released this next release. If for some reason you are using the latest from master, please reopen the issue.

I installed the latest version from the plugin store

Gotcha. Using the latest release doesn't ensure you have all rules on master. Changes are released at times and the associated docs are updated without those changes.


Update pilot,mixer,istioctl shas

Release note:

NONE

@mandarjog: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
c4455abcd1f60ed9bd04ba514528c52ab5ed8b84
link
/test e2e-suite-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mandarjog: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
c4455abcd1f60ed9bd04ba514528c52ab5ed8b84
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
c4455abcd1f60ed9bd04ba514528c52ab5ed8b84
link
/test e2e-suite-rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mandarjog: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
307c4d0b8b8d9dad45563f89b101e4f6f91cb5a2
link
/test e2e-suite-rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

merging

There was a green for rbac+auth
https://k8s-gubernator.appspot.com/build/istio-prow/pull/istio_istio/707/e2e-suite-rbac-auth/390/

@mandarjog: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
3ecc61ccdbed08ca3ade1ddfe2acf0c7db25bc38
link
/test e2e-suite-rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Flask Integration

How to install this on Flask?
Flask uses the basic configuration http://flask.pocoo.org/docs/dev/logging/
Since the install method is used, how could I get the same Console logger replaced in Flask?

Overriding the root logger, according to Using the https://github.com/xolox/python-coloredlogs#usage , worked!
thank you for the awesome library!


Status Tracking: Receive Note Change FE request and save to DB

Send the note from the FE to the BE and save it to the DB.
Sending the request is soon to be done.
The Repository is present, but need the Service and and Controller hookup

Also, update the note shown in the program admin UI.

Just need to update the browser test that verifies the note was updated.


ServiceBus subscription_receiver abandon_message until

Deferring messages is painful.
Contortions are discussed @ https://markheath.net/post/defer-processing-azure-service-bus-message.
There should be something like
receiver.abandon_message(message=message, until=datetime.utcnow() + timedelta(minutes=5))

@andrewkittredge - Thanks for bringing this to our attention! We'll discuss this asap and get back to you.

Hi @anaismiller, thank you for the feedback. This is a feature request in the Service Bus backlog and can be tracked here.
It would first have to be supported by the service before its available from the SDKs.


Shapechange spell no longer functioning with the latest patch

Mod Version <IP_ADDRESS>
Casting ShapeChange no longer brings up the list of transformation options, it just does the animation for casting the spell, consumes the 9th level slot and nothing happens.
RiceInIce.zip

Tried it without metamagic toggled on and it worked normally so it looks like the issue is specifically happens after the metamagic options show up, even if you hit ignore to not use one.

fixed in DEV.


Pretty JOSN after copy/paste from xls sheet cell. Quad quotes fix for ""companyId"":""COMPANYID"",

Test case:

Copy a cell with JSON from an Excel sheet
Paste it into the Sublime

Not planned, the simplest solution would be to strip double quotes with Sublimes Find and Replace function.
https://docs.sublimetext.io/search_and_replace/search_and_replace_overview.html?highlight=find replace


Change on single filter doesnt update

Hi,
I copied a working graph from v2 in filament v2 to current version 3.0.1 in Filament 3.027
Upon selecting single filter, there is no update request.
public ?string $filter = '2023';

/**
 * Filter Options
 */
protected function getFilters(): ?array
{
    $years = range(now()->year, 2015);

    foreach ($years as $year) {
        $newYears[$year] = $year;
    }

    return $newYears;
}

/**
 * Chart options (series, labels, types, size, animations...)
 * https://apexcharts.com/docs/options
 *
 * @return array
 */
protected function getOptions(): array
{
    $activeFilter = $this->filter;

    $data = Trend::query(Stat::where('type', 'sales')->where('system', 'MY'))
        ->between(
            start: Carbon::create($activeFilter)->startOfYear(),
            end: Carbon::create($activeFilter)->endOfYear(),
        )
        ->perMonth()
        ->sum('data');

    return [

        'chart' => [
            'type' => 'line',
            'height' => 300,
            'toolbar' => [
                'show' => false,
            ],
        ],
        'series' => [
            [
                'name' => 'RM',
                'data' => $data->map(fn (TrendValue $value) => $value->aggregate),
                'type' => 'column',
            ],
        ],
        'stroke' => [
            'width' => [0, 4],
            'curve' => 'smooth',
        ],
        'xaxis' => [
            'categories' => $data->map(fn (TrendValue $value) => Carbon::parse($value->date)->format('M')),
            'labels' => [
                'style' => [
                    'colors' => '#9ca3af',
                    'fontWeight' => 600,
                ],
            ],
        ],
        'yaxis' => [
            'labels' => [
                'style' => [
                    'colors' => '#9ca3af',
                    'fontWeight' => 600,
                ],
            ],
        ],
        'legend' => [
            'labels' => [
                'colors' => '#9ca3af',
                'fontWeight' => 600,
            ],
        ],
        'colors' => ['#6366f1', '#38bdf8'],
        'fill' => [
            'type' => 'gradient',
            'gradient' => [
                'shade' => 'dark',
                'type' => 'vertical',
                'shadeIntensity' => 0.5,
                'gradientToColors' => ['#d946ef'],
                'inverseColors' => true,
                'opacityFrom' => 1,
                'opacityTo' => 1,
                'stops' => [0, 100],
            ],
        ],
        'plotOptions' => [
            'bar' => [
                'borderRadius' => 10,
            ],
        ],
    ];
}

public function data($i)
{
    $stat = new stat;

    return $stat->select('data')
        ->whereBetween('created_at', [now()->firstOfYear()->addMonths($i - 1)->toDateString(), now()->firstOfYear()->addMonths($i - 1)->endOfMonth()->toDateString()])
        ->sum('data');
}

The documentation were just being updated with adding reactive if using getFormSchema().
Is this a bug or something i am missing when using getFilters()

Since it was too long for this issue to be fixed, I'm afraid that my PR #48 will also take a long time to be reviewed. I suggest you or everyone to publish the view and modify like my PR.

Please check the new version and open a new issue if it was necessary.


Using sequential initialization

Hi,
For optical flow methods, it is common to use the warped computed flow from previous frames in the sequence to have an improved initialization in the estimation process for the next frame. For some datasets the test sequence is not available and only single image-pairs are available.
Is that OK to use the sequence info if the dataset provides the test sequence, and not if the test sequence is not available (only single image pairs are available)?
Please note that this approach is input-type-dependent not dataset-dependent. When the previous frame is not available, naturally the flow cannot be initialized using previous test frames.
Thank you for your time.

There are two datasets for each type. Sintel and Middle-bury use sequences. Viper and Kitti provide only single image pairs.

Thank you for your answer!
I think I should clarify something: The input of the method is always 3 things in all cases and for all datasets: 2 consecutive images and an initial flow.
In the case of Sintel and Middle bury the initial flow can be estimated by forward warping the flow estimate of the previous image pair in the sequence. In other cases - if only single image-pairs are available or for the first image-pair in the sequence, since there is no previous image-pair - the zero flow is considered.
Passing zero flow is performing as if there is not prior motion, as the current image-pair is the only pair available. This is equivalent to passing the same image (as you suggested) since there is no movement between identical images. Would that be OK to consider zero initial flow for such cases?
About also submitting the single processed image pairs to Sintel and Middle bury, do you mean: we should report the accuracy gap in the technical report that needs to be submitted after the challenge's deadline.

Yes, this is fine.
@single processed image: correct, this is valuable information for your presentation/report should you win

Thank you very much for your answer!


.Net 8 testing - OWS seens to be running fine

All 12 projects have been migrated to .Net 8.  In order to test this branch, you are required to install .Net SDK 8 : https://dotnet.microsoft.com/en-us/download/dotnet/8.0

Then, ensure you are using Visual Studio 2022 (only version supporting .Net 8)

Under VSStudio 2022, under option, look for Preview features, then check Use Preview of the .Net SDK (requires restart).

I also updated my Docker Desktop to the latest version to ensure I have the latest runtime with the latest OCI version.

Part of this branch is MSSQL is now using the latest MSSQL 2022 image version and is also secured and using a UID of 1001 (mssqluser).

logging.yml also been updated to use  LS_JAVA_OPTS from 256m to 512m.

This branch needs to be tested thoroughly before a PR into Main.

Will have to wait until .Net 8 becomes a release version merging to Release Candidates is not a good idea.

I mean the Latest Release, not LTS yeah, will have to wait for the release i believe it's the end of the month or the beginning of November should be around that time.
I don't use it so it doesn't really matter to me if it's .Net 4 or 9 but if you working towards something stable using things in preview or rc generally just not a good idea, will have to see once it gets released

It's not on the main branch i'm just saying once it becomes a release version we can test it and merge it :)


Modified computational

Description
resolves #119 by modifying computational
Changes
Tests
Known Issues
Notes
Checklist

[ ] My name is on the list of contributors (CONTRIBUTORS.md) in the pull request source branch.

The only caveat that I forgot to add is that Computational process is supposed to become Computation Process and Computational Forcefield is supposed to stay the same. If you would like to make the update and merge it in that would be amazing, and if not we can merge it into a branch as is and I can work on that part.
Also, currently we are merging majority of changes into validate-nodes branch until we can get all nodes to pass all the tests and then do a big merge into develop branch
@DanielXing1103 Thank you, we super appreciate the contribution!

That is not a problem, I am glad to contribute to the project. Can you take a look at the updates and let me know if anything else needs to be changed? Thank you.

@DanielXing1103 we have to merge this into our validate-nodes branch because that is where we are putting all nodes for now and after we can confirm they are valid we can move them to develop branch. I anticipate that once we change the base from develop to validate-nodes we will probably hit a bunch of merge conflicts, but don't worryI can assist there.

Apologize for the mistakes. I have checked back at the areas that you have highlighted and I found that most of those areas have been fixed. I am new to GitHub so I am not entirely sure of why that is the case.

Apologize for the mistakes. I have checked back at the areas that you have highlighted and I found that most of those areas have been fixed. I am new to GitHub so I am not entirely sure of why that is the case.

no worries at all, you live and you learn!
We have the review process on our repository because we all make mistakes and its helpful for someone else to see our work too in case we missed something

@DanielXing1103 there is a bunch of code that we will be committing to the develop branch, this week and next week that are critical. I'm going to focus on getting those in and then come back to this after and we can get this PR in as well


Xonsh extensions are not importable in nested Xonsh session

Describe the bug
xonsh.override {
  extraPackages = ps: [ ps.psutil ];
};

Adding a package to the Xonsh environment using the above method seems to work initially, but it does not work for nested xonsh sessions (calling xonsh in xonsh).
This is especially salient for users who want to use xontribs and want to use xonsh as their nix shell (i.e., they typenix develop --command xonsh). The inner xonsh won't be able to use any of their xontribs, giving them a totally different experience than their native shell.
Steps To Reproduce
Steps to reproduce the behavior:
$ mkdir test
$ cd test
$ curl https://pastebin.com/raw/pz6a0ps5 > flake.nix
$ curl https://pastebin.com/raw/TA4R8kkr > flake.lock
$ nix build
$ export PATH=$PWD/result/bin:$PATH
$ xonsh -c 'import psutil'
$ xonsh -c 'xonsh -c "import psutil"'
xonsh: For full traceback set: $XONSH_SHOW_TRACEBACK = True
ModuleNotFoundError: No module named 'psutil'

Exporting path once, on the outside shell, is basically what home-manager does when you include xonsh in home.packages.
Expected behavior
Nested xonsh session should also be able to import psutil.
Additional context
result/bin/xonsh is a symlink to /nix/store/zdx...-python3-3.11.6-env/bin/xonsh which is a makeCWrapper around /nix/store/ri5...-xonsh-0.14.0/bin/xonsh, which is a makeWrapper around /nix/store/ri5...-xonsh-0.14.0/bin/.xonsh-wrapped.
The first, wrapper, /nix/store/zdx...-python3-3.11.6-env/bin/xonsh sets NIX_PYTHONPATH=/nix/store/zdx...-python3-3.11.6-env/lib/python3.11/site-package', in which psutil/*.py` lives.
The second wrapper, /nix/store/ri5...-xonsh-0.14.0/bin/xonsh prepends its containing directory to the PATH.
If the user addes result/bin to their PATH and types xonsh, /nix/store/zdx.../xonsh is invoked, psutil will be importable. But it will prepend to the path /nix/store/ri5...-xonsh-0.14.0/bin/xonsh to the PATH. In this shell, if they type xonsh again, /nix/store/ri5.../xonsh will be invoked and psutil will not be importable.
I am pretty sure the /nix/store/zdx.../xonsh wrapper should be the one to add itself to the PATH, which would fix this bug. It would also make invoking xonsh faster (fewer wrappers). OR none of the wrappers should add theirselves to the path, and it's the job of home-manager or the user to add xonsh to their PATH.
$ which xonsh
/home/sam/Downloads/test/result/bin/xonsh

$ readlink $(which xonsh)
/nix/store/zdx8436m5fma1xj6a8pjmlx1rbja35nx-python3-3.11.6-env/bin/xonsh

$ cat $(readlink $(which xonsh))
...
# ------------------------------------------------------------------------------------
# The C-code for this binary wrapper has been generated using the following command:

makeCWrapper '/nix/store/ri5v038ckppw0xcw3dgz8gv5ajaqpk0s-xonsh-0.14.0/bin/xonsh' \
    --set 'NIX_PYTHONPREFIX' '/nix/store/zdx8436m5fma1xj6a8pjmlx1rbja35nx-python3-3.11.6-env' \
    --set 'NIX_PYTHONEXECUTABLE' '/nix/store/zdx8436m5fma1xj6a8pjmlx1rbja35nx-python3-3.11.6-env/bin/python3.11' \
    --set 'NIX_PYTHONPATH' '/nix/store/zdx8436m5fma1xj6a8pjmlx1rbja35nx-python3-3.11.6-env/lib/python3.11/site-packages' \
    --set 'PYTHONNOUSERSITE' 'true'

# (Use `nix-shell -p makeBinaryWrapper` to get access to makeCWrapper in your shell)
# ------------------------------------------------------------------------------------
...

$ cat /nix/store/ri5v038ckppw0xcw3dgz8gv5ajaqpk0s-xonsh-0.14.0/bin/xonsh
#! /nix/store/q8qq40xg2grfh9ry1d9x4g7lq4ra7n81-bash-5.2-p21/bin/bash -e
PATH=${PATH:+':'$PATH':'}
PATH=${PATH/':''/nix/store/kckqn8my6w4brmhscdh7l04706pbwz0x-python3.11-pygments-2.16.1/bin'':'/':'}
PATH='/nix/store/kckqn8my6w4brmhscdh7l04706pbwz0x-python3.11-pygments-2.16.1/bin'$PATH
PATH=${PATH#':'}
PATH=${PATH%':'}
export PATH
PATH=${PATH:+':'$PATH':'}
PATH=${PATH/':''/nix/store/ri5v038ckppw0xcw3dgz8gv5ajaqpk0s-xonsh-0.14.0/bin'':'/':'}
PATH='/nix/store/ri5v038ckppw0xcw3dgz8gv5ajaqpk0s-xonsh-0.14.0/bin'$PATH
PATH=${PATH#':'}
PATH=${PATH%':'}
export PATH
PATH=${PATH:+':'$PATH':'}
PATH=${PATH/':''/nix/store/5k91mg4qjylxbfvrv748smfh51ppjq0g-python3-3.11.6/bin'':'/':'}
PATH='/nix/store/5k91mg4qjylxbfvrv748smfh51ppjq0g-python3-3.11.6/bin'$PATH
PATH=${PATH#':'}
PATH=${PATH%':'}
export PATH
export PYTHONNOUSERSITE='true'
exec -a "$0" "/nix/store/ri5v038ckppw0xcw3dgz8gv5ajaqpk0s-xonsh-0.14.0/bin/.xonsh-wrapped"  "$@"

$ xonsh -c 'import sys; print("\n".join(sys.path))'
... stuff
/nix/store/zdx8436m5fma1xj6a8pjmlx1rbja35nx-python3-3.11.6-env/lib/python3.11/site-packages
... stuff

Yay, we have a sys.path that contains psutil

$ xonsh -c 'print("\n".join($PATH))'
... stuff
/nix/store/ri5v038ckppw0xcw3dgz8gv5ajaqpk0s-xonsh-0.14.0/bin
... stuff
/home/sam/Downloads/test/result/bin
... old $PATH here

Oh no! this puts the 'wrong' /nix/store/ri5... entrypoint above the one we just used from /home/sam/Downloads/result/bin.

$ xonsh -c 'which xonsh'
/nix/store/ri5v038ckppw0xcw3dgz8gv5ajaqpk0s-xonsh-0.14.0/bin/xonsh

That's the wrong entrypoint, because it does not set the NIX_PYTHONPATH to include /nix/store/zdx, which has psutil.

$ xonsh -c $'xonsh -c "import sys; print(\'\\\\n\'.join(sys.path))"'
... /nix/store/zdx... path does not appear

Notify maintainers
@vrthra @adisbladis (because adisbladis wrote the xonsh wrapper).
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.64, NixOS, 24.05 (Uakari), 24.05.20231201.91050ea`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.19.2`
 - nixpkgs: `/home/sam/.nix-defexpr/channels/nixpkgs`

Add a :+1: reaction to issues you find important.

My workaround, which I don't like, is to add this to my rc.xsh:
# https://github.com/NixOS/nixpkgs/issues/276326
$PATH = [
    path for path in $PATH
    if not ((p"" / path / "xonsh").exists() and (p"" / path).parts[1] == "nix")
]

See also #280084 248978


gradle substitute module with a release version

I wanted to substitute a gradle module to a release version of it in an android project
in the app module build.gradle.
 implementation project(":mathlib")
in project build.gradle
    configurations.all {
        resolutionStrategy.dependencySubstitution {
            substitute(project(":mathlib"))
                    .using(module("com.grab:mathlib:1.0.0")).because("we use a stable version of om.grab:mathlib")
        }
    }

so in this library, I have a class Math that has a function add, in the release version this function is working fine, but in the module version this function doesn't work correctly after adding the substitute code in gradle I was expecting the app to work fine but it doesn't and it still using the module version as a dependency,

anyone can help here please


Ability to set/get entire configuration of the table as a single object?

What version of React-Table are you using?
6.7.6
What bug are you experiencing, or what feature are you proposing?
Hi,
I know this table has a capability to export default values for table and override those defaults like this:
import { ReactTableDefaults } from 'react-table'

Object.assign(ReactTableDefaults, {
  defaultPageSize: 10,
  minRows: 3,
  // etc...
})

I also know there's a possibility of accessing some of the current values (after user changed column width, sorted things, etc..) with provided callbacks
// Callbacks
  onPageChange={(pageIndex) => {...}} // Called when the page index is changed by the user
  onPageSizeChange={(pageSize, pageIndex) => {...}} // Called when the pageSize is changed by the user. The resolve page is also sent to maintain approximate position in the data
  onSortedChange={(newSorted, column, shiftKey) => {...}} // Called when a sortable column header is clicked with the column itself and if the shiftkey was held. If the column is a pivoted column, `column` will be an array of columns
  onExpandedChange={(newExpanded, index, event) => {...}} // Called when an expander is clicked. Use this to manage `expanded`
  onFilteredChange={(column, value) => {...}} // Called when a user enters a value into a filter input field or the value passed to the onFiltersChange handler by the Filter option.
  onResizedChange={(newResized, event) => {...}} // Called when a user clicks on a resizing component (the right edge of a column header)

However, I'd like the ability to be able to get all of the current values in the table, and the ability to send those values back in. Something like getTableConfig/setTableConfig. For example, this would allow people to save entire state of the table, so that people don't have to constantly sort their tables the way they like. This could also be used to synchronize the data in table with other components on the page, for example charts. If table is only showing first ten rows, the chart could reflect that and show the same rows. If user switches page in table, it could show ten different rows and once again, the chart could reflect that.
With the ability to get current configuration of the table, it allows us to extend the functionality further and it's also possible to persist all table settings.

The FAQ link above is broken... what would be the recommended way in v7 of saving internal data like column widths?


There were some minor problems with the experimental reproduction results

Dear author, first of all, thank you for your excellent work! After I finished the reproducing experiment, I found that the experimental results obtained on the ModelNet40 dataset according to the following example training and testing instructions did not seem to reach the results provided in your paper. I would like to know where I went wrong in my settings? Since I only have RTX3090 24G GPUs, I set the batch_size to 8. I wonder if this will have a bad impact on the experimental results?

Hi,
Thanks for reaching out. The difference in batch size could indeed affect the results. In our original experiments on the ModelNet40 dataset, we used a batch size of 32 on an NVIDIA RTX A6000 GPU. A smaller batch size, such as 8, can influence model convergence and performance, especially when using techniques like batch normalization. You could try adjusting the learning rate proportionally (e.g., reduce it by a factor of 4) to see if it stabilizes the training. Additionally, ensuring the same number of total epochs and other hyperparameters would help maintain consistency with our setup.


systemLogVerbosity not working

hello I am trying to enable only error log in mongoDB logs via bitnami helm chart .. I tried systemLogVerbosity: 1 but it looks like its not working.. can anyone give a hand to solve the same please?
chart using: https://charts.bitnami.com/bitnami 12.1.31
Image:
    # -- MongoDB image registry
    registry: docker.io
    # -- MongoDB image repository
    repository: zcube/bitnami-compat-mongodb
    # -- MongoDB image tag
    tag: 5.0.10-debian-11-r19

I just need s:"E" logs and not I or D* logs in mongoDB pods.
I do see this env variable is set in pods MONGODB_SYSTEM_LOG_VERBOSITY: 5 but still I see 'I' and 'D*' logs
I even tried MONGODB_SYSTEM_LOG_VERBOSITY: 1


I ran the following program in Go 1.22 (tip):
package main

func main() {
	for range 1 << 64 {
	}
}

On the Playground: https://go.dev/play/p/MCs2ntWII_I?v=gotip
What did you see happen?
The compiler crashes with the following stack trace:
# command-line-arguments
./test.go:4:6: internal compiler error:<PHONE_NUMBER>3709551616 out of range for uint

goroutine 21 [running]:
runtime/debug.Stack()
        ./src/runtime/debug/stack.go:24 +0x64
cmd/compile/internal/base.FatalfAt({0xabbaf8?, 0x0?}, {0x95b435, 0x16}, {0x40004ee6f8, 0x2, 0x2})
        ./src/cmd/compile/internal/base/print.go:225 +0x1fc
cmd/compile/internal/base.Fatalf(...)
        ./src/cmd/compile/internal/base/print.go:194
cmd/compile/internal/ir.IntVal(0x400047e480, {0xabbaf8?, 0x40000dea60?})
        ./src/cmd/compile/internal/ir/val.go:33 +0x1a0
cmd/compile/internal/ssagen.(*state).exprCheckPtr(0x4000210300, {0xac4818, 0x40004d0730}, 0x1)
        ./src/cmd/compile/internal/ssagen/ssa.go:2826 +0x9fc
cmd/compile/internal/ssagen.(*state).expr(...)
        ./src/cmd/compile/internal/ssagen/ssa.go:2756
cmd/compile/internal/ssagen.(*state).stmt(0x4000210300, {0xac4158, 0x40004d0d70})
        ./src/cmd/compile/internal/ssagen/ssa.go:1679 +0x5ce8
cmd/compile/internal/ssagen.(*state).stmtList(...)
        ./src/cmd/compile/internal/ssagen/ssa.go:1426
cmd/compile/internal/ssagen.(*state).stmt(0x4000210300, {0xac42d8, 0x40000d50a0})
        ./src/cmd/compile/internal/ssagen/ssa.go:1441 +0x210
cmd/compile/internal/ssagen.(*state).stmtList(...)
        ./src/cmd/compile/internal/ssagen/ssa.go:1426
cmd/compile/internal/ssagen.buildssa(0x40004c8fc0, 0x3)
        ./src/cmd/compile/internal/ssagen/ssa.go:555 +0x1f34
cmd/compile/internal/ssagen.Compile(0x40004c8fc0, 0x3)
        ./src/cmd/compile/internal/ssagen/pgen.go:216 +0x30
cmd/compile/internal/gc.compileFunctions.func5.1(0x40004d2080?)
        ./src/cmd/compile/internal/gc/compile.go:182 +0x3c
cmd/compile/internal/gc.compileFunctions.func3.1()
        ./src/cmd/compile/internal/gc/compile.go:164 +0x3c
created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 20
        ./src/cmd/compile/internal/gc/compile.go:163 +0x1e0

What did you expect to see?
This code should probably show a regular compiler error because the integer is out of range.
This is what the specification says:

For an integer value n, the iteration values 0 through n-1 are produced in increasing order, with the same type as n. If n <= 0, the loop does not run any iterations.

This doesn't explicitly say which type should be used for untyped integers. My assumption would be that it would be the same as this for example:
n := 5

...meaning that it would default to int (not uint as the stack trace suggests). uint would also seem reasonable to me for range loops, which would be a bit inconsistent but would make sense for range loops.
In fact, the following code does compile, but I'm not sure it should (it is out of range for int):
package main

func main() {
	for range 1 << 63 {
	}
}

cc @golang/compiler

Related: https://github.com/golang/go/issues/62466
types2 leaves 1 << 64 as untyped constant, then cmd/compile set idea type to uint. However, cmd/compile relies on types2 for reporting any overflow error mandated by the spec, causing this ICE.
cc @griesemer @mdempsky

Just checked golang.org/x/tools/go/ssa and it just lets the type silenty overflow, without error. Should I report that as a separate bug? (It does appear to use a signed integer though).

Thanks for reporting. This is both a bug in the type checkers and an issue with the spec. In fact there are more issues here. See #65137.


Having issue trying the example

Hi, I'm new to dart/flutter/mobile. I followed the example but I'm getting  UnknownError : MissingPluginException ( No implementation found for method scan on channel com.appfreesofware.barcode_scan) when I click the scan button
I'm using the Simulator to test
$ flutter --version
Flutter 0.1.4 • channel beta • https://github.com/flutter/flutter.git
Framework • revision f914e701c5 (9 days ago) • 2018-02-19 21:12:17 +0000
Engine • revision 13cf22c284
Tools • Dart 2.0.0-dev.27.0-flutter-0d5cf900b0

Thanks in advance. I might be missing something so any pointers will be highly appreciated.

I'm wondering if this is having to do with the latest Flutter SDK updates. I will try to take a look and see if I have issues running the example on the latest SDK.

Apologies, It was my mistake. I was using the emulator, I tried the example with real device and it is working fine.

I am testing with real device error is same,any suggestion will be highly appreciated

I am testing with real device error is same,any suggestion will be highly appreciated

i have same problem

huh.
any solutions? :)


Block Radix Sort improvements and Segmented Radix Sort tuning

This PR is aimed to improve performance on gfx942-based GPUs. As a side effect performance on other architectures is also impacted.
Please check the commit history for a more detailed breakdown of the changes. The most notable changes are:

Implemented a hacky way to use local search for tuning to explore configurations with many parameters.

The tuning benchmark of device segmented radix has also been changed to make use of more parameters.

Use radix rank match sub-algorithm instead of the basic one.

Change by @Snektron, I just cleaned up a bit.

Pre-exchange blocked layout to warp striped layout as this is faster than working on blocked layout.

This is required for radix rank match.

Maximise theoretical LDS-bound occupancy for different configs.

This brings our occupancy and LDS usage on-par with other libraries.

Various micro-optimizations.

@stanleytsang-amd We're still on internal review and I need to do a full benchmark sweep. I've opened this draft PR so it can already check it out and possible run a benchmark sweep as well.
Let's discuss next sync on how to proceed.

Block Radix Rank benchmark look really good on other architectures, but I'm noticing some regression in a few other algorithms due to the changes in Block Exchange. I implemented a potential fix, but need to run some benchmarks.

@stanleytsang-amd  Previous fixes seem to work, cleaned up the solution. This should be good for review. These are the numbers on gfx1030. Blue is this branch. Red is internal develop branch. Number is in bytes/second (higher is better).
Block Radix Sort

Device Radix Sort: Onesweep

Device Segmented Radix Sort: Keys

Will re-run the full benchmarks (again), because I forgot to restore some changes in Device Radix Sort causing a regression.

Thanks Nara.  Continuing our conversation from Monday, I just wanted to clarify:  For BlockRadixSort, is it still designed to be used only with specific BlockLoad/BlockStore data patterns (you mentioned certain load patterns cause the RadixSort to be unstable)?  As per https://github.com/pytorch/pytorch/blob/main/aten/src/ATen/native/cuda/SortUtils.cuh#L283.
If so, perhaps this is worth mentioning the documentation for BlockRadixSort.

Thanks Nara. Continuing our conversation from Monday, I just wanted to clarify: For BlockRadixSort, is it still designed to be used only with specific BlockLoad/BlockStore data patterns (you mentioned certain load patterns cause the RadixSort to be unstable)? As per https://github.com/pytorch/pytorch/blob/main/aten/src/ATen/native/cuda/SortUtils.cuh#L283.
If so, perhaps this is worth mentioning the documentation for BlockRadixSort.

BlockRadixSort is still stable from the input/output on the thread level. It's only due to the shuffling of inputs that happens when using a different data pattern.
We did expose another API that could be used here: block_radix_sort::sort_warp_striped_to_striped, which fully works with warp striped inputs. Unfortunately, there isn't a way for us to get that API to pytorch without extending hipCUB, unless pytorch is okay with depending on rocPRIM directly.
We'll track the documentation request separately, I don't want to bloat up this PR even more 😅.

Noticed a performance regression in the device radix sort block sort sub algorithm due to some internal coupling between that and device segmented radix sort.

Forgot to add tuning for gfx942, I'll kick it off later today and update the configs here over the weekend if I remember.

Tuning resolved issues on device radix sort. Old is without the change, new is with the change, fix is with the tuning added in https://github.com/ROCm/rocPRIM/pull/636/commits/590e78f468509c4b1671c209fb51669a4095e083.
Device Radix Sort (MI300A)

Device Segmented Radix Sort (MI300A)

@stanleytsang-amd This should do it regarding the performance on gfx942. Let me know if I missed anything or something doesn't check out.

Hi Nara, the results look great - thank you for doing this.

Can you add changelog entries for the various performance improvements/autotuning improvements in this ticket? They are quite substantial.

@stanleytsang-amd Done!

@Naraenda There's some merge conflicts that need to be resolved.

@stanleytsang-amd Rebased and also fixed some of the formatting in the changelog

Thanks Nara. Test failures are not related to this PR, they are also currently seen in develop branch with the new CI system.  Will investigate


nmpz: Implement nmpz bot

I'm not authorized to merge this pull request, so could you merge this?

@sh-mug I added you to maintainer of this repo


Strange behavior of the time picker (time duplication) when you select March 31 and then March 30

Hi, while using this great library, I noticed a strange behavior of the time picker.

pick March 31
pick March 30
We can see time duplication

Haven't noticed this with any other dates

Hey @OrestMaryniuk thanks for submitting this.
I'm a bit confused with this issue, but it turns out that this is a JS Date glitch.
new Date(2024, 2, 31, 0, 179) will give you Sun Mar 31 2024 02:59:00 GMT+0200
new Date(2024, 2, 31, 0, 180) will give you Sun Mar 31 2024 04:00:00 GMT+0200
I will think about how to change the time logic to avoid this, and also I can't find any other date with this issue


Slight optimize in  BarcodeScanningProcessor.kt

The code LGTM.  @rosariopfernandes WDYT?

@samtstern :ship: ship it!
Oh, and btw: I remember bumping into similar classes (where the constructor is only calling getInstance() from the Firebase SDKs). Should we change those as well so that it matches this one?

@rosariopfernandes nah getInstance() is not expensive, no reason to rush to optimize if we don't have other changes to make.


Use an empty slice as default value for DNS, DNSSearch and DNSOptions.

Fixes #17680
It also makes sure that already created containers return an empty array on inspect responses.
I think this is the least bad option. I'm working on an issue to explain the current issues with the api and how we're going to solve them for 1.10

@calavera can you explain why this works?

Short story
life is complicated
Long story

We deserialize the inspect response on typed structs.
Before 1.8, the container struct included Dns, we changed its name to DNS to please go-lint, keeping the api field name as Dns with a json tag.
Since the go template is executed on the typed struct, ContainerJSON in this case, {{ .HostConfig.Dns }} became an unknown field and the templates fails to execute.

Enter raw inspect:
When a template execution fails on the typed struct, we fall back to a raw check. We do this because swarm inject some fields that are not in any of our typed structs. How does this work?

We deserialize the inspect response on an interface, effectively a map[string]interface{}.
We execute the template on this interface. In this case, the template succeeds, but it returns <no value> because the template cannot find the right value for a null field. Pre 1.9, the null value for Dns was [], because you know the type when you execute the template on a typed struct, []string in this case.
Go 1.4 also returns <no value> for fields that are not in the struct. I introduced a hack in https://github.com/docker/docker/pull/17284/files#diff-ffaac1d66bac3b1d6d8af9a52b0f118fR168 to fail with the original template error when the value of a field in the raw inspect is <no value>.

The solution:
What do we want?
the value of the DNS array when we use {{.HostConfig.Dns}}, being and [] when there is nothing configured.
The simplest solution:
We let the client follow the workflow described in the previous points, but we make sure the DNS value is never null in the api response by initializing it to an empty array.

Are the DNS... fields the only ones affected?

Are the DNS... fields the only ones affected?

yes

@calavera perfect! LGTM

haha, daemon/inspect.go:142:2: can probably use "var emptySlice []string" instead

I've changed the patch to initialize those fields correctly after loading the configuration from disk. I think it makes more sense to be always consistent with their value than initialize them only in the special case of inspect.
Please, take a look.

LGTM again

LGTM


Add files via upload

Added my school :-),

@Mateusz-Berendt Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@Mateusz-Berendt You might miss my previous comment. Please react.

@Mateusz-Berendt I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for your understanding!


600 lines updated...

Thanks!

No problem, to be continued.
2015-09-10 11:13 GMT+03:00 Utku Aydın<EMAIL_ADDRESS>
Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/okulbilisim/ojs/pull/1029#issuecomment-139162599.


Feature/philip fixes

Creating TFv2 specific container and applying changes to accommodate new environment. Fixing URLs in  Listing 15.14 - 15.23.ipynb to pull from dropbox since the original had many dead links.

tested through ch06, moving on to the rest of the chapters. Works fine on Kubuntu Focus. Ch02 contains a cell in the last notebook that isn't meant to work consider removing. Also I need to shut down each kernel after running it to avoid overloading the GPU memory.

works through ch13, one note is that ch12 TensorBoard does not show (@philipsoutham noted this to me in conversation). Anyone that can fix this would be appreciated. Also in ch12 final assignment I ran out of memory and had to restart then it worked.

Works great! committing!


Add patch to fix use-after-free bug on macOS Big Sur.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

This adds an upstream patch that fixes crashes/segfaults on macOS Big Sur and newer. I came across this patch after user reports of crashes with a conda-forge package (gnuradio) that uses cairo through gtk3, and apparently it is something that homebrew already patches in their cairo package. I've been sitting on this for a little while because I couldn't get a definitive report that it works, but I've finally been able to show that it fixes a segfault in CI testing for gnuradio (here to here).

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.