DWARF DW_FORM_ref_sig8 not supported

Describe the bug
DWARF analysis does not handle DW_FORM_ref_sig8 attribute. Getting the error Analysis Task: DWARF - One Time - DW_FORM_ref_sig8 is currently not implemented. This appears to block the DWARF analysis from completing.
To Reproduce
Initial DWARF analysis failed, Ghidra suggested setting the Preload all DIEs option. Set this option and re-ran, now getting the error described above. I unfortunately don't have a sample I can share at the moment.
Expected behavior
DWARF analysis completes, able to view DWARF info in program trees.
Screenshots
N/A
Attachments
DW_FORM_ref_sig8 is currently not implemented
java.lang.UnsupportedOperationException: DW_FORM_ref_sig8 is currently not implemented
	at ghidra.app.util.bin.format.dwarf4.attribs.DWARFAttributeFactory.read(DWARFAttributeFactory.java:155)
	at ghidra.app.util.bin.format.dwarf4.DebugInfoEntry.read(DebugInfoEntry.java:82)
	at ghidra.app.util.bin.format.dwarf4.DWARFCompilationUnit.readDIEs(DWARFCompilationUnit.java:335)
	at ghidra.app.util.bin.format.dwarf4.next.DWARFProgram.checkPreconditions(DWARFProgram.java:895)
	at ghidra.app.util.bin.format.dwarf4.next.DWARFProgram.<init>(DWARFProgram.java:215)
	at ghidra.app.plugin.core.analysis.DWARFAnalyzer.added(DWARFAnalyzer.java:133)
	at ghidra.app.plugin.core.analysis.OneShotAnalysisCommand.applyTo(OneShotAnalysisCommand.java:48)
	at ghidra.app.plugin.core.analysis.AutoAnalysisManager$AnalysisTaskWrapper.run(AutoAnalysisManager.java:688)
	at ghidra.app.plugin.core.analysis.AutoAnalysisManager.startAnalysis(AutoAnalysisManager.java:788)
	at ghidra.app.plugin.core.analysis.AutoAnalysisManager.startAnalysis(AutoAnalysisManager.java:667)
	at ghidra.app.plugin.core.analysis.AutoAnalysisManager.startAnalysis(AutoAnalysisManager.java:632)
	at ghidra.app.plugin.core.analysis.AnalysisBackgroundCommand.applyTo(AnalysisBackgroundCommand.java:58)
	at ghidra.framework.plugintool.mgr.BackgroundCommandTask.run(BackgroundCommandTask.java:102)
	at ghidra.framework.plugintool.mgr.ToolTaskManager.run(ToolTaskManager.java:315)
	at java.base/java.lang.Thread.run(Thread.java:834)

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

Environment:

Build Date: 2021-Jul-08 1512 EDT
Ghidra Version: 10.0.1
Java Home: /Users/user/work/jdk/jdk-11.0.7+10/Contents/Home
JVM Version: AdoptOpenJDK 11.0.7
OS: Mac OS X 11.2.3 x86_64 (Interestingly, Ghidra reports OS version as 10.16)
Ghidra Origin: official ghidra-sre.org distro

Additional context
N/A

There may be a larger issue for this binary if it is using other DWARF features that Ghidra doesn't implement yet.  DW_FORM_ref_sig8 is typically used when the DWARF info is split or compressed.
What toolchain & version produced the binary?
If you run "readelf -wi your_binary" you should be able to dump the raw DWARF info into a readable format.  What does the DW_AT_producer value say?  It will typically include the name of the toolchain and the compile flags.

Looks to be IAR V<IP_ADDRESS>. Ended up using pyelftools to grab some high-level info for now, but would definitely be awesome for it to parse out-of-the-gate.

This issue still seems to be present in 10.1.5 and the latest 10.3 DEV build I tested this week.
Specifically, the analysis portion fails at DWARF portion of my 32-bit ARM ELF file with the error....
"Skipping DWARF import because a precondition was not met:
Found cross-compilation unit references between DIE records, but 'preload' is not turned on
Manually re-run the DWARF analyzer after adjusting the options or start it via Dwarf_ExtractorScript"
Going into the DWARF options and setting the preload option, then re-running DWARF from the One Shot menu fails with the same error originally reported last year....
"DW_FORM_ref_sig8 is currently not implemented
java.lang.UnsupportedOperationException: DW_FORM_ref_sig8 is currently not implemented"

Support for handling the DW_FORM_ref_sig8 attribute will be part of a future DWARF5 implementation.
I'm going to reference issue #4088 as that will be the canonical issue for DWARF5 stuff.


Connection

So I start my node.js server. The first thing I need to do is "attempt" a connection to the RethinkDb database.

If I do not succeed, I need to know immediately that the connection attempt errored out.
If I do succeed, I need to know immediately.
If I do succeed, I need to know immediately if the connection is lost at any time in the future.

This is "Database driver 101" stuff. Does your utility manage it? If so....how?? (It really should be documented "Front and Center")

Not sure what you are looking for. If by a connection you mean the status of your pool, then it's documented here:
https://github.com/neumino/rethinkdbdash#advanced-details-about-the-pool
If you want to manually open a connection, then you can just use r.connect.


fix: Change to verification object

What kind of change does this PR introduce (bug fix, feature, docs update, ...)?
Change from verificationData/Function or hash/hashFunction to verification object.
Fix chai assert and debug jests.
Repair getVerificationMethod (getVerificationFunction) that said it would match signature or name
but only matched on signature.
What is the current behaviour (you can also link to an open issue here)?
The current values were recently changed from hash/hashFunction to verificationData/verificationFunction
but we also want a source property. Therefore this changes it to an object containing
{ method, source?, data }?
What is the new behaviour (if this is a feature change)?
All jests pass so it should not introduce functionality changes other than the property values.
Other information:
https://github.com/lukso-network/LIPs/blob/main/LSPs/LSP-3-Profile-Metadata.md

Codecov Report

Merging #343 (e7302e4) into develop (c3d84c1) will decrease coverage by 0.36%.
The diff coverage is 77.41%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@             Coverage Diff             @@
##           develop     #343      +/-   ##
===========================================
- Coverage    83.71%   83.36%   -0.36%
===========================================
  Files           18       18
  Lines         1130     1136       +6
  Branches       255      259       +4
===========================================
+ Hits           946      947       +1
- Misses          98      100       +2
- Partials        86       89       +3

Files
Coverage Δ

src/constants/constants.ts
100.00% <100.00%> (ø)

src/lib/getDataFromExternalSources.ts
61.29% <33.33%> (-2.05%)
:arrow_down:

src/lib/utils.ts
82.09% <81.81%> (-1.03%)
:arrow_down:

src/lib/encoder.ts
83.39% <76.92%> (-0.57%)
:arrow_down:


[PE-D][Tester B] Error thrown not specific enough [ASSIGN]

Bob is already assigned to e12 (Event1), error shown is unable to attend instead of already attending the event. When assigning to different event, error tells me already assigned to Event1, maybe can do for this also?

Labels: severity.Medium type.FunctionalityBug
original: VedJoshi/ped#8

feature flaw, to be included in planned improvements

Thanks for highlighting. We have now included it in the user guide.


[PPO] fix corner cases with PPO batch size and forward_batch_size

Fixes: https://github.com/lvwerra/trl/issues/553
When users uses different combinations of batch size and forward batch size it might lead to breaking behaviours as explained on the attached issue.
This PR fixes it by adding the suggestion proposed by one of the user which is perfectly backward compatible
cc @lvwerra

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


[Event Request] Table 337 "Reservation Entry" - OnTransferReservationOnBeforeSetSourceForNewEntry()

Hi there,
I would like to ask you to add the following publisher to the procedure TransferReservations() to Table 337 "Reservation Entry"?
OldReservEntry.TestField("Qty. per Unit of Measure", QtyPerUOM);
repeat
      OldReservEntry.TestItemFields(ItemNo, VariantCode, LocationCode);

      NewReservEntry := OldReservEntry;
      //New code - BEGIN
      OnTransferReservationOnBeforeSetSourceForNewEntry(OldReservEntry, NewReservEntry)
      //New code - END
      NewReservEntry.SetSource(SourceType, SourceSubtype, SourceID, SourceRefNo, SourceBatchName, SourceProdOrderLine);

    [IntegrationEvent(false, false)]
    local procedure OnTransferReservationOnBeforeSetSourceForNewEntry(var OldReservEntry: Record "Reservation Entry"; var NewReservEntry: Record "Reservation Entry")
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 11948.


Enhance Live/Streaming Struct to be More ObjectOriented

Proposed changes
Currently, all of the data processing for the Live processing is done outside of the struct, meaning users are manipulating buffers and the websocket directly which can be a support nightmare.
Context
NA
Possible Implementation
Implement streaming interface (io.Closer)
Other information
NA

PR merged https://github.com/deepgram-devs/deepgram-go-sdk/pull/88. Closing.


Why marathon restart container will rebuild

Marathon restart button on the interface is not restart container, but delete all containers, create again. Why is this so?

Because this is how containers are managed via marathon/mesos. If this is breaking a use case for you, can you provide some additional details on that use case?

Thank you for your reply, jdef.
The restart button is easy to cause misunderstanding. What should I do if I need to restart the selected container via marathon?
The second question, how to get ID of the selected container by Marathon API

Marathon has no equivalent of docker restart CTID. Neither does Mesos.
You'll need to ssh into the box, or else build companion tooling if you
need this exact feature.
Regarding "how to get ID of the selected container" -- I'm assuming that
you're asking about the Docker container ID (vs the Mesos container ID)?
Marathon doesn't provide an API to get either.
What is the broader use case you're attempting to implement?
On Sat, Aug 27, 2016 at 1:45 AM, mgdsxhy<EMAIL_ADDRESS>wrote:

Thank you for your reply, jdef.
The restart button is easy to cause misunderstanding. What should I do if
I need to restart the selected container via marathon?
The second question, how to get ID of the selected container by Marathon
API
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mesosphere/marathon/issues/4252#issuecomment-242898200,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACPVLJYAfU8i2ruhgbFafGnBzqGAxafwks5qj88CgaJpZM4Js5jN
.

Hi, jdef
We have a demand is can pass the marathon to restart the container, Now, we have changed the code with:
vim ./src/slave/containerizer/docker.hpp
static std::string name(const SlaveID& slaveId, const std::string& id)
{
// return DOCKER_NAME_PREFIX + slaveId.value() + DOCKER_NAME_SEPERATOR +
//  stringify(id);
return DOCKER_NAME_PREFIX + DOCKER_NAME_SEPERATOR +
stringify(id);
}
vim ../src/slave/containerizer/docker.cpp
// Declared in header, see explanation there.
const string DOCKER_NAME_PREFIX = "docker";
// Declared in header, see explanation there.
const string DOCKER_NAME_SEPERATOR = ".";
vim ../src/slave/slave.cpp
// containerId.set_value(UUID::random().toString());
// containerId.set_value(stringify(taskInfo.task_id()));         //containerId==taskId
containerId.set_value(stringify(taskInfo.task_id()).substr(int(stringify(taskInfo.task_id()).find("."))+1));   //containerId== taskId.UUID`
Now, How to compile it?

That change looks suspect to me. But I'm not a core expert. Your question
is one for the mesos-dev mailing list. Pretty sure there are docs for
compiling mesos here
http://mesos.apache.org/documentation/latest/getting-started/
On Mon, Aug 29, 2016 at 10:20 PM, mgdsxhy<EMAIL_ADDRESS>wrote:

Hi, jdef
We have a demand is can pass the marathon to restart the container, Now,
we have changed the code with:
vim ./src/slave/containerizer/docker.hpp
static std::string name(const SlaveID& slaveId, const std::string& id)
{
// return DOCKER_NAME_PREFIX + slaveId.value() + DOCKER_NAME_SEPERATOR +
// stringify(id);
return DOCKER_NAME_PREFIX + DOCKER_NAME_SEPERATOR +
stringify(id);
}
vim ../src/slave/containerizer/docker.cpp
// Declared in header, see explanation there.
const string DOCKER_NAME_PREFIX = "docker";
// Declared in header, see explanation there.
const string DOCKER_NAME_SEPERATOR = ".";
vim ../src/slave/slave.cpp
// containerId.set_value(UUID::random().toString());
// containerId.set_value(stringify(taskInfo.task_id()));
//containerId==taskId
containerId.set_value(stringify(taskInfo.task_id()).
substr(int(stringify(taskInfo.task_id()).find("."))+1)); //containerId==
taskId.UUID`
Now, How to compile it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mesosphere/marathon/issues/4252#issuecomment-243314267,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACPVLGXhQp_SapXPTR6i99bDTMD3xGyfks5qk5NogaJpZM4Js5jN
.


Bring the possibility to searchAfter.

Bring the possibility to searchAfter. It means the sortValues should be available.
It's possible using the searchResults rather than using searchs

Hi @berndruecker,
This PR brings new methods to get SearchResults instead of List to be able to searchAfter with the sortValues.


Angular Material usage

Do you think this could be portable for use with angular material framework ?

@peio72 I played with angular material framework. The calendar can be nicely embedded into content as the screenshot.
But the calendar currently depends on bootstrap. So I have to add bootstrap into the reference. Not sure if it will cause any compatibility issue.

Hello, thanx for this test. The idea would be to get rid of bootstrap and use only the angular material framework. Juste need to modify the templates using specific framework code. Could you tell me if possible and if could help for this.

I tested with my app and i can confirm bootstrap.css is creating issues with the angular material framework components. So really need a specific template version.

Yes, I think it's possible. The bootstrap css classes the calendar depends on are the grid system and some icon. As long as there's equivalent css classes, then should be easy to get rid of bootstrap.

Please could you explain how to proceed ? Which files need to be modified for new templating ?

First you need to fork my repository.
Then in the template/rcalendar folder, it stores the template html files.
In calendar.html, the div with "calendar-navbar" is using some bootstrap button icons and grid system to generate the navigation bar. You can fully replace them with angular material directives.
In month.html/week.html/day.html, the dependent bootstrap classes are "table", "table-bordered", "table-striped", "table-fixed". They just make the table occupy full width and provides the border and background colour. You can achieve the same effect by using your own styles.
After you made the change, you can run the "grunt build-tpls" to generate the minimized version in the list folder.
Feel free to let me know if you need more explanation. Thanks.

How can i work locally with the templates files ?

Ok I tried but not success manipulating your code to adapt to material design equivalent. I give up. Maybe you could be interested to port it to angular material one day.
You can have a look at this basic plugin:
https://github.com/jsmodules/angular-material-calendar

Sure, I will take a look.

@twinssbc ,  Have you looked at that plugin. I need Angular Material support too!!
Thanks for the great plugin!! :+1:

@TejasCMehta As I said in the previous comments, you can still embed the calendar into Angular Material. It just won't be that fancy like angular-material-calendar as it's using native control.
I certainly will look at porting my calendar to Angular Material, but I'm a bit busy right now, so probably won't build a version in short term.


ci-operator: create internals section

I'm planning to extend this document in different ways in the future,
make it a proper section since it's already large enough for one page.

Opening as work-in-progress because I'm not sure if/how these things work in
Hugo.

Well, that was a lot easier than expected.
https://deploy-preview-232--zealous-shirley-0f56b3.netlify.app/docs/architecture/ci-operator-internals/
/retitle ci-operator: create internals section
/woof

/approve cancel
Clicked the wrong button. Sorry.

/hold
hard to compete with the robot.


ssh2::sftp::FileType

This should be an easy one. :)
Even though FileType is mentioned in the documentation, the module it's contained in (sftp) is private:
http://alexcrichton.com/ssh2-rs/ssh2/struct.FileStat.html#method.file_type
There are already pub methods with documentation on it.
https://github.com/alexcrichton/ssh2-rs/blob/master/src/sftp.rs#L564

Oops, good catch!


add space between Express and LocalDB

according to https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/sql-server-2016-express-localdb?view=sql-server-2017 it is

SQL Server 2016 Express LocalDB

not

SQL Server 2016 ExpressLocalDB

@spottedmahn - thanks for the edit!

#sign-off


KVM wilds are not correctly retrieved

Description
KVM motorization does not return wilds correctly.
To Reproduce
Have a wild VM.
Expected behavior
Wilds should be returned with name and import template.
Details

Hypervisor: KVM
Version: 5.12, 6.2, 6.4

Progress Status

[ ] Code committed
[ ] Testing - QA
[ ] Documentation (Release notes - resolved issues, compatibility, known issues)

PRs to merge in 6.4 & master:

code
docs


use request provided locale to format numbers in result csv

Does this change the API?

@Kadrian Numbers of the resulting csv is formated according to the Accept-Language-Header of the download request.
Does the frontend preview use a fixed locale for number parsing?
If numbers contain digit grouping is independent from this PR. It influences however, how they are presented when they are activated (QueryParam pretty=true [default])

Currently, the frontend preview expects money to be decimal separator , and maybe thousand separator ., but once we can use pretty=false, I'd change it to simply parse it as as a float of "cents".
Does that make sense? I think it's a good idea to use the accept-language header for the pretty=true / default case.


If installed via jspm it does not include the typescript definition (d.ts) file

I don't know if it's the intended behaviour, but I usually expects that the d.ts file for a plugin is installed alongside the source files.
This is true for almost all the aurelia plugins (I just realized that aurelia-binding lacks the d.ts file too), but it is missing for aurelia-dialog (tested with 1.0.0-beta.1.0.0).
Is it possible to include it alongside the main dist files as other plugins do? I depend on that for a dynamic discovery script that configures my IDE automatically..
Thanks!

Please read the blog post: http://blog.durandal.io/2016/06/10/where-did-my-typescript-go/

From your post:

Make sure you have the latest version of the typings tool installed.

but I'm affected by this bug, and I'm stuck with 0.8.x version of typings tool for the time being: https://github.com/typings/typings/issues/525
Can I use typings 0.8 with aurelia repos, or not?
And please consider adding this clarification in the original post (that bug is affecting several users, and especially typings authors). Thanks!

Please see Microsoft's post from today on typing aquisition going forward: https://blogs.msdn.microsoft.com/typescript/2016/06/15/the-future-of-declaration-files/
Our repos are now setup using the typings field which is the correct way to set up a package. You can use any typing acquisition tool that you want if you aren't using npm. Another solution is to just npm install the modules and set up your Ts config to use node module resolution.

Oh well, missed that! I'll need to restructure my workflow for the third time this year.. What a lucky man I am! :-P

Just think how fun it is for us...we have 40ish repositories and we not only needed to update structure but also build configurations....

@EisenbergEffect Thanks for updating the typings! Seems like this https://github.com/aurelia/framework/issues/360 can now closed. 👍


evaluator: disjunction containing incomplete comprehension gives inappropriate error

What version of CUE are you using (cue version)?

$ cue version
cue version v0.0.0-20220801114602-5a08d2f7a9a7

       -compiler gc
     CGO_ENABLED 1
          GOARCH amd64
            GOOS linux
         GOAMD64 v1
             vcs git
    vcs.revision 5a08d2f7a9a7595def05c5486cbb5276e66391cb
        vcs.time 2022-08-01T11:46:02Z
    vcs.modified false

Does this issue reproduce with the latest release?
yes
What did you do?
exec cue export main.cue
cmp stdout expect.json

-- main.cue --
p?: []
a: [for k in p {k}] | null

-- expect.json --
{
    "a": null
}

What did you expect to see?
The above testscript should pass.
What did you see instead?
> exec cue export main.cue
[stderr]
a: incomplete value _|_(a: cannot reference optional field: p (and 1 more errors)) | null
[exit status 1]
FAIL: /tmp/testscript506054148/x.txtar/script.txtar:1: unexpected command failure
error running /tmp/x.txtar in /tmp/testscript506054148/x.txtar

Some exploration with git bisect points to https://cue-review.googlesource.com/c/cue/+/8282 as the place where this behaviour changed. Just before that, the above test passed.
The behaviour is quite sensitive. For example, this works as it should:
p?: []
a: {for k in p {(k): true}} | null

but this fails:
p?: []
a: {for k in p {x: 1}} | null

Adding the following after speaking with @rogpeppe earlier. This takes @rogpeppe's example from above and also shows the issues that exist via the API:
go mod tidy
go run main.go
cmp stdout stdout.golden

-- go.mod --
module mod.com

go 1.18

require cuelang.org/go v0.4.4-0.20220808083940-b4d1b16ccf89

-- main.go --
package main

import (
	"fmt"

	"cuelang.org/go/cue/cuecontext"
)

var cases = []struct {
	key string
	cue string
}{
	{
		// disjunction with list value and default marker
		key: "case1",
		cue: `
p?: []
x: *[ for k in p {k} ] | true
	`,
	},
	{
		// disjunction with list value and but no default marker
		key: "case2",
		cue: `
p?: []
x: [ for k in p {k} ] | true
	`,
	},
	{
		// disjunction with struct value and default marker
		key: "case3",
		cue: `
p?: []
x: *{ for k in p {k} } | true
	`},
	{
		// disjunction with struct value but no default marker
		key: "case4",
		cue: `
p?: []
x: { for k in p {k} } | true
	`,
	},
}

func main() {
	ctx := cuecontext.New()
	for _, c := range cases {
		v := ctx.CompileString(c.cue)
		x := v.Lookup("x")
		var i interface{}
		if err := x.Decode(&i); err != nil {
			fmt.Printf("%v decoder error: %v\n", c.key, err)
			continue
		}
		fmt.Printf("%v decoded value: %v\n", c.key, i)
	}
}
-- stdout.golden --
case1 decoder error: true
case2 decoded value: true
case3 decoded value: true
case4 decoded value: true

This is expected to pass, because in all cases the non-true element of the disjunction are in an incomplete error state. The decode step should eliminate that element, leaving only true. Hence, we should always decode true in all cases. Instead we see:
> go mod tidy
> go run main.go
[stdout]
case1 decoder error: x: cannot reference optional field: p (and 1 more errors)
case2 decoded value: <nil>
case3 decoded value: true
case4 decoded value: true

> cmp stdout stdout.golden
--- stdout
+++ stdout.golden
@@ -1,4 +1,4 @@
-case1 decoder error: x: cannot reference optional field: p (and 1 more errors)
-case2 decoded value: <nil>
+case1 decoder error: true
+case2 decoded value: true
 case3 decoded value: true
 case4 decoded value: true

FAIL: /tmp/testscript4054876035/repro.txtar/script.txt:3: stdout and stdout.golden differ

This appears to have been fixed. Please verify.

https://review.gerrithub.io/c/cue-lang/cue/+/543575

I've verified that @myitcv's testscript above passes (with a couple of modifications because the expected output wasn't quite right). Here's the testscript that passes:
go mod tidy
go run main.go
cmp stdout stdout.golden

-- go.mod --
module mod.com

go 1.18

require cuelang.org/go v0.4.4-0.20220915174651-ad253ed099e9

-- main.go --
package main

import (
	"fmt"

	"cuelang.org/go/cue"
	"cuelang.org/go/cue/cuecontext"
)

var cases = []struct {
	key string
	cue string
}{
	{
		// disjunction with list value and default marker
		key: "list-with-default",
		cue: `
p?: []
x: *[ for k in p {k} ] | true
	`,
	},
	{
		// disjunction with list value and but no default marker
		key: "list-no-default",
		cue: `
p?: []
x: [ for k in p {k} ] | true
	`,
	},
	{
		// disjunction with struct value and default marker
		key: "struct-with-default",
		cue: `
p?: []
x: *{ for k in p {k} } | true
	`},
	{
		// disjunction with struct value but no default marker
		key: "struct-no-default",
		cue: `
p?: []
x: { for k in p {k} } | true
	`,
	},
}

func main() {
	ctx := cuecontext.New()
	for _, c := range cases {
		v := ctx.CompileString(c.cue)
		x := v.LookupPath(cue.ParsePath("x"))
		var i interface{}
		if err := x.Decode(&i); err != nil {
			fmt.Printf("%v: decoder error: %v\n", c.key, err)
			continue
		}
		fmt.Printf("%v: decoded value: %v\n", c.key, i)
	}
}
-- stdout.golden --
list-with-default: decoded value: true
list-no-default: decoded value: true
struct-with-default: decoded value: true
struct-no-default: decoded value: true

I'm going to close this as fixed now.


What exactly is required to setup a dev environment for pghoard

I am having difficulting running the tests, do any of the developers have a dockerfile or a vagrant def or something that you could publish?  I would like to add test cases when I submit a PR, but its very difficult to get the tests working correctly.

I will see if I can come up with a vagrant or dockerfile def myself and post a PR with it if I get it working might be useful for others.

ok except for flake8 issue which I am tracking down, I managed to get a Vagrantfile definition that allows me to run the tests, pylink and hopefully flake8 when I figure out the problem, I will open a MR hopefully you will merge it as it may help others.  I will make some notes in the Readme.rst in my mr for how to use the vagrant definition.

ok so the flake8 issue was my stupid fault, I am still getting used to venv, and I accidentally setup a venv env inside the project, all good now.


Mod breaks in 1.16.2

crash-2020-08-23_16.24.59-client.txt
Tested with FabricAPI 0.18.0+build.397

This should be fixed with the new release (currently processing on curseforge).


Building carto

Hi
I build the carto sdk step by step and successfully done. Now what should I do?how can I use carto in android studio?

Thanks for your answer. There is a problem when building project in android studio:
error: no template named 'BoolArray' in namespace 'Swig'

Very difficult to suggest anything without knowing all the details. But my guess is the issue is related to wrong SWIG version. You really need to use the special modified SWIG version referred in the project README file.

Thanks for your response. Yes It was related to SWIG version


⚡ Remove the redundant stream transform

No issues were fixed by this.
New Pull Request Checklist

[x] I have read the Documentation
[x] I have searched for a similar pull request in the project and found none
[x] I have updated this branch with the latest main branch to avoid conflicts (via merge from master or rebase)
[ ] I have added the required tests to prove the fix/feature I'm adding
[ ] I have updated the documentation (if necessary)
[x] I have run the tests without failures
[x] I have updated the CHANGELOG.md in the corresponding package

Additional context and info (if any)
No semantic changes during the request.

Nice! Have similar changes on my stash. Will rebase that.


Python: wxPython cleanup

Motivation for this change
Several packages depend on wxPython which currently points to 2.8 which is broken.
This PR updates the expressions of wxPython to use buildPythonPackage, and changes the wxPython default version to 3.0. Because 2.8 is broken, it is removed.
Things done

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

[x] NixOS
[ ] OS X
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Fixes #14914.

cc @bjornfor @fpletz because this affects gnuradio.


Default RTSP connection issue..Please help...!

I'm beginner in development.
I'm not able to establish Default RTSP connection.
I have tried other rtsp demos they given auto generated rtsp url but here we have to add rtsp url.
I tried as rtsp://ip:port/live/app but still not able to connect...
I'm not able to understand what to put after adding port number and what should be the stream for running Default RTSP demo...
below is my log....
Please help......
=============================================================
java.lang.IllegalStateException: buffer is inaccessible
at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:287)
at com.pedro.encoder.BaseEncoder.processInput(BaseEncoder.java:73)
at com.pedro.encoder.BaseEncoder.inputAvailable(BaseEncoder.java:112)
at com.pedro.encoder.video.VideoEncoder$2.onInputBufferAvailable(VideoEncoder.java:478)
at android.media.MediaCodec$EventHandler.handleCallback(MediaCodec.java:1738)
at android.media.MediaCodec$EventHandler.handleMessage(MediaCodec.java:1696)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.os.HandlerThread.run(HandlerThread.java:67)
2020-03-06 11:43:22.946 14224-14635/com.pedro.rtpstreamer E/RtspClient: connection error
java.net.ConnectException: failed to connect to /<IP_ADDRESS> (port 8080) from /<IP_ADDRESS> (port 38591) after 5000ms: isConnected failed: ECONNREFUSED (Connection refused)
at libcore.io.IoBridge.isConnected(IoBridge.java:288)
at libcore.io.IoBridge.connectErrno(IoBridge.java:193)
at libcore.io.IoBridge.connect(IoBridge.java:135)
at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
at java.net.Socket.connect(Socket.java:621)
at com.pedro.rtsp.rtsp.RtspClient$1.run(RtspClient.java:147)
at java.lang.Thread.run(Thread.java:919)
Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)

As you can see in error. Your server refuse connection, it means that your configuration is not working fine. You should test it with ffmpeg to discard an error in my library and after check all is working, try with my library.
What server are you using?

Hi PerdroSG94,
Thank you for the reply...
Actually I thought it's a rtsp server application and my mobile phone should act like rtsp server but I was wrong, It's a rtsp client application and we need to setup separate rtsp server like Wowza...
Finally I'm able to run the application after setting Wowza server on my PC successfully.
One final request is please make a manual about connectivity of application using RTSP/RTMP server.


[inputs.file] Error in plugin: invalid character ':' after top-level value

Hey everyone,
I am trying to use the TICK stack to visualize some log data. Specifically logs from Okta. I pull them down using the Okta API and then I cut down the logs to only the information I want to see. I do all of that in my script here
At the end of all this, I have a file with JSON objects in to that look something like this:
"event":{"user":"John Doe","email_address":"john@gmail.com","ip_address":"<IP_ADDRESS>","state":"California","country":"United States","outcome":"SUCCESS","date":"2020-06-16T03:31:01.640Z"}
these are stored in a file at /home/italianoaj/projects/sec/parsed_okta.json
My telegraf.conf file for inputs.file looks like this:
##########################################################################
[[inputs.file]]
files = ["/home/italianoaj/projects/sec/parsed_okta.json"]
data_format = "json"
json_name_key = "event"
json_string_fields = [
"username",
"email_address",
"ip_address",
"state",
"country",
"result",
"date"
]
######################################################################
When I start telegraf I receive this error:
[inputs.file] Error in plugin: invalid character ':' after top-level value
I am using chronograf 1.7.16, influx 1.7.9, kapacitor 1.5.3, telegraf 1.13.0, and ubuntu server 18.04.
Any help would be greatly appreciated. If more information is needed please let me know.

@italianoaj It doesn't look like your JSON is valid. the "events" key should be inside of a JSON object:
{
	"event": {
		"user": "John Doe",
		"email_address"<EMAIL_ADDRESS>		"ip_address": "<IP_ADDRESS>",
		"state": "California",
		"country": "United States",
		"outcome": "SUCCESS",
		"date": "2020-06-16T03:31:01.640Z"
	}
}

@sanderson Thanks for catching that. I changed the way my JSON is formatted. Now I receive the same error but with "{" instead of ":"
Very odd.

That is odd. Do you have a link to or sample of the actual JSON file (with sensitive info removed)?

@sanderson I appreciate your assistance. I have generated a sample JSON file here
Thanks again for the help.

That still isn't valid JSON. You can use jsonlint.com to validate your JSON file.

@sanderson Thanks for your patience, that resolved the error.
However, how can I be sure the data is coming into influx? I cannot seem to find the right place.
Once again, I appreciate your assistance.

Hi @italianoaj, have you tried to Explore your data in Chronograf?
For more assistance, please check out our https://community.influxdata.com or Slack https://influxdata.com/slack. This repo is best for issues on docs.influxdata.com. Thank you!


support create k8s resource from customized template in UI

Describe the solution you'd like
User can create some deploy templates and set some reserved variables. When click Create, you are allowed to select a template that has been set in advance. You only need to fill in a few template variables
There are 2 benefits:

Improve efficiency, choose a template set in advance, you can edit a lot of items less.
Users can be restricted not to edit certain items indiscriminately

For RKE2, we have rke2 cluster templates in 2.6 which can deploy new clusters. In 2.6.1, rke2 cluster templates will have the ability to deploy resources such as Monitoring when creating via the template.

For RKE2, we have rke2 cluster templates in 2.6 which can deploy new clusters. In 2.6.1, rke2 cluster templates will have the ability to deploy resources such as Monitoring when creating via the template.

how about a deployment,a ingress,a service and so on if i want to deploy resources from a template

reopen


[Do not merge] Client server split

Use rocket for basic routing
cargo test -r -- full_flow --nocapture

Development has moved to ChihChengLiang/karma_calculator


The postComment method is not working for me

The postComment method in the API is not working for me. The response includes a success status code and and a status message stating "Comment sent successfully.", however the comment does not appear on the post. Can someone else try and see if they can reproduce this problem?
To Reproduce
Steps to reproduce the behavior:

call the postComment api method with a post ID and a comment text.
Check the post manually to see if the comment appears on the post or not.

Expected behavior
The comment should appear on the post. (I tried on posts with 0 comments)
Desktop (please complete the following information):

OS: Windows
Node: Version 10.16.3

Additional context
I tried from 2 different accounts, and the likePost and follow methods are working for me.

Did you solve it? I had the same issue

Closing as this project is no longer maintained.


Basic Instructions to install Facenet

Hi my name is Edgar Acosta. I want to run Facenet, detect face, the name of the person, and emotions. I download TensorFlow (Using container), I have python 2.7, and also iPython and Jupyter as my interactive editor. I need some advice:
To clone Facenet:
Is there any basic instructions to install and run Facenet, step by step guide?
Do I need to clone inside Tensor Flow directory?.
Do you believe my setup is OK, or do I need to install something else.?
Is there any instructions to make it up and running with my WEB Cam?
Thank you very basic questions but I am very new to this Fascinating field.
My email address is<EMAIL_ADDRESS>

step1 :   git clone fecenet;
step2:    put  facenet folder to pip library ,
step3:    run python files

Hi,
All instructions you need to set it up should be on the wiki. Have you checked that out?

Hi David, thanks for your advice.   I have nit finished yet,  and I realize that the library is not working with WebCam,  need to detect faces in WebCam, detect names and detect emotions.
Also from your last post,  in step2:  put facenet folder to pip library.   I clone Facenet in my home directory.  what does it mean to put facet to pip library?.  ... seems very dumb questions but I am not so experienced in python tools, I came from java.

@eacosta1976  You can find your answer here [https://github.com/davidsandberg/facenet/wiki/Classifier-training-of-inception-resnet-v1]

The steps of installation are:
step1 : git clone fecenet;
step2: put facenet folder to pip library ,
step3: run python files
I would like to give me a more details about this steps (instructions), i am a beginner in python and facenet.
Thank you.


zcbor.py: Add the --include-prefix option

Test it in test3_simple.
Signed-off-by: Øyvind Rønningstad<EMAIL_ADDRESS>Fixes #164

Redesigned according to discussion in #164

great works!

great works!

Great!

It will be nice to document --include-prefix  option in the readme.

See #185


incorrect preposition

to -> of

Checklist

[x] You have read the Contribution Guidlines before creating this PR.
[x] You created a branch from dev branch
[x] Blog follows Blog Guidelines.
[x] Checked for all grammatical errors in the blog.
[x] Checked for any duplicate blog entry.
[x] You PR is raised on dev branch and not onmaster.

Description of change

Author Details for Blog Post Entry

Please as per guidelines your PR should be raise on dev. Also this change is already fixed. Closing this now.


Could not determine whether value 7.1.0 is compatible with value 8.1.1 using AgpVersionCompatibilityRule.

The code does not compile with the newest version after Agp in Build->Gradle->Synch

Having the same error

have you found any solution for this?

I ended up copying the code to my project


Appstudio update test-component-pac-pitm

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-pitm-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
8 seconds
init

✅ Succeeded
20 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
15 seconds
sast-snyk-check

✅ Succeeded
43 seconds
clamav-scan

✅ Succeeded
19 seconds
inspect-image

✅ Succeeded
23 seconds
deprecated-base-image-check

✅ Succeeded
4 minutes
clair-scan

✅ Succeeded
5 seconds
sbom-json-check

✅ Succeeded
6 seconds
show-summary

✅ Succeeded
6 seconds
show-sbom

Pipelines as Code CI/test-component-pac-pitm-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
18 seconds
clone-repository

✅ Succeeded
7 seconds
sast-snyk-check

✅ Succeeded
1 minute
build-container

✅ Succeeded
11 seconds
clair-scan

✅ Succeeded
25 seconds
deprecated-base-image-check

✅ Succeeded
42 seconds
clamav-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
24 seconds
inspect-image

✅ Succeeded
7 seconds
show-sbom

✅ Succeeded
5 seconds
show-summary

Pipelines as Code CI/test-component-pac-pitm-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
18 seconds
clone-repository

✅ Succeeded
7 seconds
sast-snyk-check

✅ Succeeded
1 minute
build-container

✅ Succeeded
25 seconds
deprecated-base-image-check

✅ Succeeded
11 seconds
clair-scan

✅ Succeeded
42 seconds
clamav-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
24 seconds
inspect-image

✅ Succeeded
7 seconds
show-sbom

✅ Succeeded
5 seconds
show-summary


Feature/add fe lib

This should fix the build on Travis and provides the ability to run the app in the container locally

:rocket: deployed to http://connecting-to-services-pr-272.dev.c2s.nhschoices.net


NIFI-10623 fix flaky tests in TestHttpClient

Summary
NIFI-10623
These flaky tests were caused by the feature of Map since the order of iterating map by enhanced for loop is non-deterministic. Therefore, checksums calculated based on the stream were also non-deterministic and thus failed when using NonDex to test.
After changing the order to deterministic by first sorting keys, and adjusting the values of checksums in test cases, these tests are no longer flaky.
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

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

Pull Request Formatting

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

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

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

[x] JDK 8
[ ] JDK 11
[ ] JDK 17

Licensing

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

Documentation

[ ] Documentation formatting appears as expected in rendered files

Sorry about that, but let me explain it. This pr is related to #6507 which would ensure that this one can pass all checks since they both work on calculating checksum in deterministic(one from sending side, the other from receiving side). Unfortunately, #6507 may not be approved now and thus this one may cause some tests to fail. I'm currently working on further fixing #6507 with other approaches and if #6507 can be accepted, this one should pass tests. And I will mention to you in the future if #6507 can be accepted. Thank you for your time again!

Thanks for the reply and evaluating the options @Kerr0220. If it makes sense to combine the changes in this pull request with the changes in the other pull request so that everything passes, feel free to merge the changes so they can be reviewed together. Alternatively, if you would like to keep them separate, we can come back to this pull request and rebase it once the other changes are finalized and merged.

@Kerr0220 I am closing this PR for now, pending updates to the linked PR. Feel free to rebase this PR and reopen it once the changes in the other PR have been completed and merged.

@exceptionfactory Hi, could you please reopen this PR? I've pushed a new commit to this PR.

@exceptionfactory Could please help figure out the reason of the cancellation of ci-workflow / Ubuntu Zulu JDK 17 EN (pull_request)? Other checks can pass now except this one. :)

Thanks for the contribution @Kerr0220.
The TestHttpClient class does not fail under normal execution, so any changes must ensure consistent test behavior. These changes break other tests that depend on the current behavior as shown in the automated build results:
Error:  org.apache.nifi.remote.protocol.http.TestHttpFlowFileServerProtocol.testTransferOneFile  Time elapsed: 0.002 s  <<< ERROR!
java.io.IOException: StandardHttpFlowFileServerProtocol[CommsID=testTransferOneFile] Sent data to peer Peer[url=http://peer-host:8080/] but calculated CRC32 Checksum as 194624838 while peer calculated CRC32 Checksum as<PHONE_NUMBER>; canceling transaction and rolling back session
	at org.apache.nifi.remote.protocol.AbstractFlowFileServerProtocol.commitTransferTransaction(AbstractFlowFileServerProtocol.java:345)
	at org.apache.nifi.remote.protocol.http.StandardHttpFlowFileServerProtocol.commitTransferTransaction(StandardHttpFlowFileServerProtocol.java:203)
	at org.apache.nifi.remote.protocol.http.TestHttpFlowFileServerProtocol.testTransferOneFile(TestHttpFlowFileServerProtocol.java:312)

Please follow the pull request checklist and run a full build using mvn clean install to ensure that all tests pass.
Although there may be value in making adjustments to use LinkedHashMap and ordering in several cases, the impact is more broad than currently scoped.

This problem has been fixed now. And all 5 checks can pass. Please have a look.

@exceptionfactory That's a good idea. I will have a try!

@Kerr0220 if you are still working on this issue, please rebase against the current main branch. Changes in PR #6748 included updates to MockFlowFile that are applicable to this test class.

@Kerr0220 As mentioned recently, changes from another PR should have improved and impacted behavior for this particular pull request. At this point, it would be best to open a new pull request when you are ready for further review.


Fix time scale ticks.reverse issue

When ticks.reverse is set to true in a time scale, there are a few issues:

Bars overlap each other.
Offsets are not calculated correctly when offset is set to true
The order of bars in a group is also reversed when barThickness is set to 'flex'
A bar is not shown when barThickness is set to 'flex' and there is only a single data point

This PR fixes the issues above, and also improves the offset calculation when there is only one tick in a chart.
Master: https://jsfiddle.net/nagix/7kahbfcn/

This PR: https://jsfiddle.net/nagix/5ydbhwa7/

Thanks @nagix


Add skeleton dropwizard app

Doesn't do much but should start up, render page at / and have healthcheck.

@alexbishop1 I have force-pushed to address your comments and made a couple of other tweaks in separate comments.


na_sm_progress_expected(): Ignored expected message received (canceled?)

I am getting warnings from mercury inside the VPIC simulator that look
like this:
# NA -- Warning -- mercury/src/na/na_sm.c:2312
# na_sm_progress_expected(): Ignored expected message received (canceled?)

That started with a 1024 proc job on 32 Cray Haswell nodes
(on the LANL Trinitite Cray cluster).   I've been able to scale
down and reproduce the problem using our "nexus-runner" test program
on a single Haswell node.   Note that our code does not call the
Mercury "cancel" API.
We have not been able to trigger it on our local CMU machines.

I think this is because they are too slow/small, so I've done all
my debugging on the LANL machines.
I'm wondering if you can reproduce it on your end?  To do so you need:

    1. something like a Cray haswell node to run the test on
    2. mercury with bmi+tcp, na+sm, and ofi+tcp
           (note: on the Cray you must compile ofi with PrgEnv-gnu,
            it won't compile with the intel compiler due to atomics)
    3. our "deltafs-nexus" library and "nexus-runner" apps from github

To completely replicate our Cray environment from scratch (including
mercury and its NAs), you can use deltafs-umbrella like this (adjust
the CMAKE_INSTALL_PREFIX as needed):
    git clone https://github.com/pdlfs/deltafs-umbrella
    mkdir build && cd build
    env CC=cc CXX=CC \
      cmake -DUMBRELLA_SKIP_TESTS=ON -DMERCURY_SELF_FORWARD=ON \
      -DMERCURY_POST_LIMIT=OFF \
      -DMERCURY_CHECKSUM=ON \
      -DCMAKE_INSTALL_PREFIX=${HOME}/tmp/hgtest \
      -DCMAKE_BUILD_TYPE=RelWithDebInfo ../deltafs-umbrella
    make nexus-runner

this assumes you can "git clone" all the required remote repositories
(e.g. from github).  Everything will be installed in ${CMAKE_INSTALL_PREFIX}.
Alternately, if you've already got a mercury installed and you

just want to compile the CMU code you can just build deltafs-nexus
and nexus-runner using the normal cmake interface:
git clone https://github.com/pdlfs/deltafs-nexus
git clone https://github.com/pdlfs/nexus-runner

configure with something like this:
 env CC=cc CXX=CC cmake -DCMAKE_PREFIX_PATH=<mercury_prefix> \
    -DCMAKE_INSTALL_PREFIX=<install_dir> ...

To run the test, use the following SLURM script, checking all the "NOTE-*"
comments below:
----CUT-HERE----
#!/bin/sh
#SBATCH --job-name nexusrun
#SBATCH --time=0:03:00
#SBATCH --nodes=1
#SBATCH --constraint=haswell
#SBATCH --output /users/%u/joblogs/nexusrun-%j.out
NOTE-1: --output (above) sets output log file
NOTE-2: uncomment this to use something other than na+sm for local hops
###export NEXUS_ALT_LOCAL=ofi+tcp
NOTE-3: max value for "-n" is 32 on haswell
NOTE-4: update "${HOME}/tmp/hgtest" to match install dir for nexus-runner
srun -N 1 -n 24 --cpu_bind=core
${HOME}/tmp/hgtest/bin/nexus-runner
-q -c 1000
-t 600 -B 32k -a 128k -b 128k -d -1 -h 1024 -M 16 -m 16 -y 16 -i 72
bmi+tcp 11
^^
NOTE-5: this "11" is the IP subnet to match on
LANL cray compute nodes are on 11...*
exit 0
----CUT-HERE----
The "nexus-runner" program contains the 3 hop shuffle code.  The
above "srun" command starts the requested number of procs ("-n") on
the node.  Each proc sends 1000 messages ("-c") to some other random
proc.   Since this program is only running on one node, all communications
are local through "na+sm" (unless you set "NEXUS_ALT_LOCAL=ofi+tcp"
as per NOTE-2, in which case we use ofi+tcp over the <IP_ADDRESS> localhost
TCP network).
I have found that if I run with 16 procs "-n 16" then no errors are
generated.  As I increase the value of "-n" to 32 I start to get more
"Ignored expected message received" errors and the program hangs (prob
because messages were dropped).  If the program hangs, it is killed
by SLURM after 3 minutes (the --time value).
Here is an example log with "-n 24" (note the "MPI_size" in the output):
/users/ccranor/nov17/ofi/bin/nexus-runner options:
MPI_rank   = 0
MPI_size   = 24
hgproto    = bmi+tcp
hgsubnet   = 11
baseport   = 19900
count      = 1000
excludeself= 0
loop       = 0
quiet      = 1
minsndr    = 0
maxsndr    = 23
timestats  = off
timeout    = 600
sizes:
buftarget  = 32 / 128 / 128 (net/origin/relay)
maxrpcs    = 16 / 16 / 16 (net/origin/relay)
deliverqmx = -1
deliverthd = 1024
input      = 72
logging    = disabled
main: starting ...
main: collecting
: started bootstrap
: done local info discovery
: done remote info discovery
NA -- Warning -- /users/ccranor/src/pdlfs/build/mercury-prefix/src/mercury/src/na/na_sm.c:2312
na_sm_progress_expected(): Ignored expected message received (canceled?)

ALL: times: wall=0.786634, usr=0.308000, sys=0.060000 (secs)
ALL: minflt=3888, majflt=6, inb=0, oub=0, vcw=728, ivcw=52
main exiting...
note that the program completed in 0.786634 seconds, so it is quick
when it works correctly and it hangs quickly when there is a problem.

(this was pasted in from an email... unfortunately, github screwed up the formatting)


Advise java.jdbc instead of clojure.jdbc for Clojure.

This change is

Thanks, Raphael. I'll merge this.

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io


configure.ac: removed GObject Introspection dependency from owr-java

We don't really need introspection for owr-java, just the Owr-1.0.gir file

I couldn't figure out a good check for the .gir file, so let's just remove the gobject introspection dependency for now

I meant just adding some " around there btw :)

I didn't see your comment before I removed it, the problem was that the change was making assumptions about the folder structure of the different build targets, which I guess would be pretty broken.

True

:+1:

Merged.


Range.RemoveDuplicates does not specify default behavior

Range.RemoveDuplicates Method
columns is an optional argument to this method, but no information is given as to what happens if the argument is not supplied.

Changed to "Required", because this method could not be executed without a specified range.


Set weight for menu when set it in file metadata

Currently, we can add menu: "main" to add the post/page to the main menu. However, we cannot set its weight?
Can you add the options to add its weight?

Sorry, I find out that we can add weight to the file metadata.


Vector: newest convenience functions needed for Class as well

These functions need to be passed through to the class Vector:
contains
max
min
equal
compare
toText
foldLeft
foldRight
reverse
reversed
isEmpty

Done


[BUG] Error - connect_transport_exception handshake failed because connection reset

Describe the bug
In creating two opensearch clusters (leader is called opensearch and follower is called opensearch-rep) via helm on Azure Kubernetes Service, we generated our own certificates, enabled security plugin and also the cross cluster replication plugin. We followed the guide on https://opensearch.org/docs/latest/replication-plugin/get-started/ we always get stuck.
ADDED LEADER ALIAS
curl -XPUT -k -H 'Content-Type: application/json' -u 'USERNAME:PASSWORD' 'https://opensearch-rep.northeurope.cloudapp.azure.com:9200/_cluster/settings?pretty' -d '
{
"persistent": {
"cluster": {
"remote": {
"opensearch-leader-alias": {
"seeds": ["opensearch.northeurope.cloudapp.azure.com:9300"]
}
}
}
}
}'
CREATE INDEX ON LEADER
curl -XPUT -k -H 'Content-Type: application/json' -u 'USERNAME:PASSWORD' 'https://opensearch.northeurope.cloudapp.azure.com:9200/opensearch-leader-index-01?pretty'
START REPLICATION
curl -XPUT -k -H 'Content-Type: application/json' -u 'USERNAME:PASSWORD' 'https://opensearch-rep.northeurope.cloudapp.azure.com:9200/_plugins/_replication/opensearch-rep-01/_start?pretty' -d '
{
"leader_alias": "opensearch-leader-alias",
"leader_index": "opensearch-leader-index-01",
"use_roles":{
"leader_cluster_role": "all_access",
"follower_cluster_role": "all_access"
}
}'
ERROR RECIEVED
{
"error" : {
"root_cause" : [
{
"type" : "transport_exception",
"reason" : "handshake failed because connection reset"
}
],
"type" : "connect_transport_exception",
"reason" : "[][<IP_ADDRESS>:9300] general node connection failure",
"caused_by" : {
"type" : "transport_exception",
"reason" : "handshake failed because connection reset"
}
},
"status" : 500
}
#######################
Expected behavior
Replication should start.
Plugins
opensearch-alerting
opensearch-anomaly-detection
opensearch-asynchronous-search
opensearch-cross-cluster-replication
opensearch-index-management
opensearch-job-scheduler
opensearch-knn
opensearch-ml
opensearch-observability
opensearch-performance-analyzer
opensearch-reports-scheduler
opensearch-security
opensearch-sql
Host/Environment (please complete the following information):

OS: [Kubernetes 1.21.9 & Helm 3.8.0]
OpenSearch Version [1.3.1]

Additional context
If it's a certificate issue, I also followed the guide https://opensearch.org/docs/latest/security-plugin/configuration/generate-certificates/
Any thoughts anyone?
@rohin
@saikaranam-amazon
Kind regards,
Bankole.

@bjo004 Could you please attach the logs at the follower cluster to under the error?
Based on the error response, this is generic exception thrown at the client(remote cluster) and not replication plugin specific issue.
"type" : "transport_exception",
"reason" : "handshake failed because connection reset"
}
},
"status" : 500

Other steps to diagnose further:

Can you invoke direct search request to the leader index from the follower cluster to identify any setup level issues?
ex: GET /opensearch-leader-alias:opensearch-leader-index-01/_search?pretty

Hi @saikaranam-amazon , thanks for your response. I tore down the cluster.  Are you free for a quick session? Teams, Skype, Zoom?
Kind regards,
Bankole.

Hi @saikaranam-amazon I managed to get the cross cluster replication working with security enabled by doing the following.

Generating certs for the leader cluster
Copying those certs to the follower cluster
Making the nodes_dn field the same on both leader and follower clusters

That fixed the transport_exception error and it's now replicating.
Thanks for your response.
I've got a new issue though. I'm getting timeouts. I'll open a new issue.
Kind regards,
Bankole.

Thanks @bjo004, closing this issue as per your recent message.


[BUG]: title on question page & result page set to default "Document"

the title is not modified and  "Document" is shown on the question and result page
Steps to reproduce:
1] Submit the mail and go to Questionnaire
2] Check for the title
3] same on the result page

Assign this issue to me @Aryainguz

@Aryainguz  can you please add the SWOC tag also

@rishita0205 sure added !


Multiple query string parameters resulting in Router failure

I have multiple working examples in my current project of retrieving 1 query parameter from the url however when trying to follow the same convention for multiple query string params, I'm receiving the following error in the chrome debugger console:
Error: System.InvalidOperationException: 'Router' cannot find any component with a route for '/confirmemail'.
my page route is defined as:
@page "/confirmemail/{Token}/{UserId}"
and the @functions{...} section contains the following properties:
[Parameter] string Token { get; set; }
[Parameter] string UserId { get; set; }
I am trying to retrieve the query string parameters for a url that looks like this:
http://localhost:50466/confirmemail?Token=SomeReallyLargeToken&UserId=SomeGuidUserId
Is this currently supported? I wasn't able to find a related issue or any documentation on achieving this (other than the docs on using a single query string parameter)

@ghofman2 Did you mean to close this? Did you figure out your issue?

For others that comes here looking for an answer you might find it here: https://stackoverflow.com/questions/53786347/multiple-query-string-parameters-in-blazor-routing
If should be working by:
http://localhost:50466/confirmemail/SomeReallyLargeToken/SomeGuidUserId


Add "改竄（カイソ）" to reading_correction.tsv

Description
This PR adds "改竄（xカイソ, oカイザン）" to reading_correction.tsv
Issue IDs
Issue and/or discussion IDs related to this pull request.
(N/A)
Steps to test new behaviors (if any)
A clear and concise description about how to verify new behaviors (if any).

OS: [e.g. Windows 11, macOS 13.1, etc]
Steps:

type "かいそ"
confirm there is もしかして: 改竄 in the candidate list

Additional context
This word is causing a buzz on Twitter with very negative mentions. Adding "もしかして" might make the behavior more acceptable.
However, there could be a downside to this solution: words like ‘開祖’ and ‘海鼠’ are acceptable candidates for ‘かいそ,’ and the ‘もしかして’ candidate might hide these words. In that case, another possible solution would be to simply remove the word.

Hi ensan-hcl,
Thank you for your PR. By coincidence, we have also added the same entry at the same day as 3a665b1efdc975bc6d6316b80497bb411b6508fb.
We appreciate your contribution!

That’s great news! What a funny coincidence 🤣


Choose TransferWise balance to send payment from

I hope this is the right place for feature requests. This may be a niche use case, so I don't expect to be a priority for you, but documenting here as it came up as a nice to have in our case.
User story
As an OC Host with TransferWise, I would like to be able to make payments using any of my TransferWise balances, because my org holds many currencies and one of our Collectives have expenses with Bank Tranfer info in matching currencies. Being able to send payment in a matching currency would reduce FX fees.
At the moment, I manually login to TW and copy-paste the expense payment info in to make payment from a TW balance matching the requested currency. We are a CAD Host, so the OC-TW integration can only send from our TW CAD balance, but so I basically do a USD-to-USD transaction via the TW interface, then mark this as paid on OC to reduce fees.
Best solution for this problem
It’d be cool if the OC side would allow me to pay an expense by selecting a TW balance that matches the destination account’s currency.
I understand that the expense/invoice currency is always the Host currency at the moment. There are two possibilities:

Allow invoices in currency that the claiming party likes to receive (this may be problematic for hosts not equipped to bookkeep in multiple currencies).
Let Host choose which balance to use to settle a payment. Automatically calculate equivalent amount based on median rate.

MVP
Allow selection of TW balance to settle a payment, not just the default balance of the Host's currency.
Metrics
Our use case is in grant distribution. That's how we ended up with so much of a foreign currency in the first place. Perhaps seeing whether this is a desired feature of other Hosts with similar use case, and basing metrics on that.
Documentation
Note that we currently do have a workaround. That's to manually settle using TW interface, but not as streamlined and with more manual conversions.

Thanks for documenting this use case @benhylau! Ping @kewitz


redux wrapped components are not hot reloading

Hi @ctrlplusb
I know this is not really part of this project, but I was hoping that you might have any ideas that can help me fix this problem.
So basically I just wrapped the 'Home' component with redux like this
    function Home(props) {
      return (

          <Helmet title="Home"/>

 props.onStuff(7)}>
              X {props.stuff} Y

      );
    }

    const mapStateToProps = (state) => {
      return {
        stuff: state.products.a
      };
    };

    const mapDispatchToProps = (dispatch) => {
      return {
        onStuff: (id) => {
          dispatch({type: 'STUFF', id: id});
        }
      };
    };

    export default connect(mapStateToProps, mapDispatchToProps)(Home);

When I change the letter Y now to Z for example I expect a hot reload that keeps the state, but it actually does a full reload.
Do you know if redux is supposed to work with hot reloader 3 ? Any things that need to be added to the transforms in webpack?
I already a lot of the stuff I could find in here but nothing helped.
I tried also with const Home React.createClass({ and class Home extends React.Component { but again nothing helped.
Any idea would be appreciated, I'm getting a bit desperate with this problem.

Hi @BerndWessels
What version of React Hot Loader are you using?
I have gotten redux to work with this project. I will go and see if I can spot any amends I had to make.

Any chance you could share your src/client/index.js file?

Also I am creating a redux branch. To demo both redux implementation as well as how to do data prefetching for your components. It will be based on the new react router 4 approach though. I am about 90% through all the problems I needed to solve then will publish.

@ctrlplusb Sound great. Hope you can find a way to get redux to work with hot reloading.
Here is my src/client/index.js:
/* @flow */

import React from 'react';
import {render} from 'react-dom';
import {AppContainer} from 'react-hot-loader';
import {Provider} from 'react-redux';
import Router from 'react-router/lib/Router';
import browserHistory from 'react-router/lib/browserHistory';
import match from 'react-router/lib/match';
import routes from '../shared/universal/routes';

import configureStore from '../shared/universal/redux/store';

// Create the store.
const store = configureStore(window.__INITIAL_STATE__);

// Get the DOM Element that will host our React application.
const container = document.querySelector('#app');

function routerError(error) {
  console.error('==> Router match failed.'); // eslint-disable-line no-console
  if (error) {
    console.error(error);
  } // eslint-disable-line no-console
}

function renderApp(appRoutes) {
  // As we are using dynamic react-router routes we have to use the following
  // asynchronous routing mechanism supported by the `match` function.
  // @see https://github.com/reactjs/react-router/blob/master/docs/guides/ServerRendering.md
  match({history: browserHistory, routes: appRoutes}, (error, redirectLocation, renderProps) => {
    if (error) {
      routerError(error);
    } else if (redirectLocation) {
      return;
    } else if (renderProps) {
      render(
        <AppContainer>
          <Provider store={ store }>
            {/*
             We need to explicly render the Router component here instead of have
             this embedded within a shared App type of component as we use different
             router base components for client vs server rendering.
             */}
            <Router {...renderProps} />
          </Provider>
        </AppContainer>,
        container
      );
    } else {
      routerError();
    }
  });
}

// The following is needed so that we can support hot reloading our application.
if (process.env.NODE_ENV === 'development' && module.hot) {
  // Accept changes to this file for hot reloading.
  module.hot.accept('./index.js');
  // Any changes to our routes will cause a hotload re-render.
  module.hot.accept(
    '../shared/universal/routes',
    () => renderApp(require('../shared/universal/routes').default) // eslint-disable-line global-require
  );
}

renderApp(routes);

Almost there with the redux branch.
Your client/index.js looks fine.
For example:
/* @flow */

import { createStore, applyMiddleware, compose } from 'redux';
import thunk from 'redux-thunk';
import axios from 'axios';
import reducer from '../reducers';
import type { State } from '../reducers';
import { notEmpty } from '../utils/guards';

function configureStore(initialState: ?State) {
  const axiosConfig = process.env.IS_NODE === true
    ? { baseURL: process.env.NOW_URL || notEmpty(process.env.SERVER_URL) }
    : {};

  const enhancers = compose(
    // Middleware store enhancer.
    applyMiddleware(
      thunk.withExtraArgument({
        axios: axios.create(axiosConfig),
      })
    ),
    // Redux Dev Tools store enhancer.
    // @see https://github.com/zalmoxisus/redux-devtools-extension
    // We only want this enhancer enabled for development and when in a browser
    // with the extension installed.
    process.env.NODE_ENV === 'development'
      && typeof window !== 'undefined'
      && typeof window.devToolsExtension !== 'undefined'
      // Call the brower extension function to create the enhancer.
      ? window.devToolsExtension()
      // Else we return a no-op function.
      : f => f
  );

  const store = initialState
    ? createStore(reducer, initialState, enhancers)
    : createStore(reducer, enhancers);

  if (process.env.NODE_ENV === 'development' && module.hot) {
    // Enable Webpack hot module replacement for reducers. This is so that we
    // don't lose all of our current application state during hot reloading.
    module.hot.accept('../reducers', () => {
      const nextRootReducer = require('../reducers').default; // eslint-disable-line global-require

      store.replaceReducer(nextRootReducer);
    });
  }

  return store;
}

export default configureStore;

It's far from complete.  I want a few more parses to make it as simple as I can.
I am debating stripping out flow as I feel like it may seem quite complicated to the uninitiated.
It's on the redux branch.  I tried making edits to my connected components and their data was maintained.

FYI theredux branch appears to be working. :)

@BerndWessels - let me know if you managed to sort it.

Hi @BerndWessels
I saw your posts on the React Hot Loader issues. :)
Looks like someone pointed you in the right direction.
I am going to close this issue for now. :)

@ctrlplusb thank you. Sorry for the delay, been too busy. Looking good.


Image Ordinals not found when using ordhook+ordinals-api but they exist in Hiro explorer

I have ordhook running with ordinals-api running as an observer on port 20456. For some reason image ordinals don't seem to be getting indexed. For example https://api.hiro.so/ordinals/v1/inscriptions?id=3b6825e0c3e7401ef46ccfbe88a37d0a76db70ad9bc0ad2842704faeccce61b3i0 shows the ordinal but my local instance of ordinals-api shows no results ({"limit":20,"offset":0,"total":0,"results":[]}) when visiting http://localhost:3000/ordinals/v1/inscriptions?id=3b6825e0c3e7401ef46ccfbe88a37d0a76db70ad9bc0ad2842704faeccce61b3i0.
In my local Postgres ordinals.chain_tip shows 845758 so this inscription should be indexed. I have both ordinals and brc20 sections configured in my Ordhook.toml:
[ordinals]
# Configuration for indexing Ordinals
enabled = true
start_block = 0  # Block height to start indexing from
index_transactions = true  # Enable transaction-level indexing if needed
track_transfers = true  # Track transfer events of Ordinals

[brc20]
# Configuration for indexing BRC20 tokens
enabled = true
start_block = 0  # Block height to start indexing from
track_mints = true  # Track minting events for BRC20 tokens
track_transfers = true  # Track transfer events for BRC20 tokens
track_burns = true  # Track burning events for BRC20 tokens

Why aren't image inscriptions behing written to the database? I'm using the release version of Ordhook (v2.2.5) and the master branch of Ordinals-api. Please help.

@rafaelcr any updates here or further info I can provide to help debug? I can't understand why so many inscriptions are missing from the pg db when connecting to ordhook using the port 20456 route. Do I also need to use --post-to when running ordhook as a service in order for ordinals-api to get all of the inscriptions ordhook is finding?

hi @dwasyluk apologies for the wait. We're actually working on a full revamp of the index which will make this process much faster because you will no longer need to stream events from ordhook to the API; the API will be able to read directly from the ordhook DB.
Please follow this PR for progress on this work: https://github.com/hirosystems/ordhook/pull/375

Marking as duplicate of #390


Dojo unsupported script types.

Dojo Toolkit uses script type=”dojo/method” and script type=”dojo/aspect” since this is not a default MIME this will cause formatting issues.
dojo/method and dojo/aspect is highly used when working with Dojo Toolkit, as described in
https://dojotoolkit.org/reference-guide/1.10/dijit/Declaration.html

It can be easily fixed like so (line 502 of beautify-html.js)
 tag_complete.search(/\b(text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect)/) > -1))) {
Ideally js-beautify shouldn't attempt to format unknown types since in worst case scenario the formatting would be omitted while if wrong formatting is applied to an unknown type code will get messed up affecting its functionality.

@joselightware - Could you give an example of input, expected output, and actually output?


Git complains

We have written the needed data into your clipboard because it was too large to send. Please paste.
Issue Type: Bug
when do git changes, like revert or commit, if vs code open, it complains for rename from .git/index.lock to .git/index failed
VS Code version: Code 1.38.0 (3db7e09f3b61f915d03bbfa58e258d6eee843f35, 2019-09-03T21:49:13.459Z)
OS version: Windows_NT x64 10.0.17763
Remote OS version: Linux x64 4.4.0-17763-Microsoft

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz (8 x 2712)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.85GB (6.03GB free)

Process Argv

Screen Reader
no

VM
0%

Item
Value

Remote
WSL

OS
Linux x64 4.4.0-17763-Microsoft

CPUs
Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz (8 x 2701)

Memory (System)
15.85GB (6.03GB free)

VM
0%

Extensions (11)

Extension
Author (truncated)
Version

vscode-eslint
dba
1.9.1

terraform
mau
1.4.0

vetur
oct
0.22.2

vscode-open
san
0.1.0

stylelint
shi
0.51.0

gitblame
wad
3.0.1

classic-asp-html
jtj
0.1.1

intellij-idea-keybindings
k--
0.2.34

vscode-docker
ms-
0.7.0

remote-wsl
ms-
0.39.5

debugger-for-chrome
msj
4.11.7

Can you show me a screenshot of the complaint?

To reproduce this, I need to open a folder with vscode and wsl, and it has to be a git folder.
than I open it out side of the WSL, let's say windows git, and try to commit or push it. it will complain a lock. also, if I go back to WSL then, WSL will complain the lock as well.
Then I have to close vscode window and allow the lock to be lift. Then, I can do all git action later.
screenshot attached

Are you using VS Code Remote WSL?

yes
From Outlookhttps://aka.ms/qtex0l

From: João Moreno<EMAIL_ADDRESS>Sent: Tuesday, September 17, 2019 2:46:39 AM
To: microsoft/vscode<EMAIL_ADDRESS>Cc: Feng Huang<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [microsoft/vscode] Git complains (#80662)
Are you using VS Code Remote WSL?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode%2Fissues%2F80662%3Femail_source%3Dnotifications%26email_token%3DAA2RWSANPR66NKT4G6TBOHLQKCDN7A5CNFSM4IVLSU4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD63T5QQ%23issuecomment-532102850&data=02|01||5a7f3d700cb448519e8008d73b432da1|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637043032019182692&sdata=jWOqYGY8fsmOPWx96S7OMKccK5x%2BZCoHTUO8u6als0s%3D&reserved=0, or mute the threadhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA2RWSCZKKLHMW2QM7NXXSDQKCDN7ANCNFSM4IVLSU4A&data=02|01||5a7f3d700cb448519e8008d73b432da1|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637043032019192703&sdata=qHCYeYggx0FKu7CuTct8cU%2BPNAP5CvOU%2FbormoJAoiw%3D&reserved=0.

Is your repository inside WSL or outside?

Cloned from outside, develop in side, commit out side, triggers the issue, then no matter inside or outside, both locked and can’t commit or push.
From Outlookhttps://aka.ms/qtex0l

From: João Moreno<EMAIL_ADDRESS>Sent: Wednesday, September 18, 2019 7:23:46 AM
To: microsoft/vscode<EMAIL_ADDRESS>Cc: Feng Huang<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [microsoft/vscode] Git complains (#80662)
Is your repository inside WSL or outside?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode%2Fissues%2F80662%3Femail_source%3Dnotifications%26email_token%3DAA2RWSAESL774NR6ZKWGYGTQKIMVFA5CNFSM4IVLSU4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD673X5Q%23issuecomment-532659190&data=02|01||42a1d21470fd403c96c908d73c330dc5|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637044062272121112&sdata=F%2Fdi0T87wnAYMKcrp4jxntLO1qgV4IXJeb7u%2FMRJAMI%3D&reserved=0, or mute the threadhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA2RWSA7JJTROB3KS5W4MILQKIMVFANCNFSM4IVLSU4A&data=02|01||42a1d21470fd403c96c908d73c330dc5|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637044062272131117&sdata=3MP4C%2B3snlg9s5fM7uwI7C%2FFPTH%2BQXG2mfu%2BO2wxLsI%3D&reserved=0.

Can you re-clone the repository from inside?

It's the same.

I can't reproduce this. If you initialize the repo from within WSL, then everything works with VS Code Remote WSL. Can you show me a video reproducing the issue, with a brand new repository?

It's pretty difficult for me to record screen from my company.


doc(readme): make basic example fully compilable

Nicer for Golang newbies.

Thanks. Totally worth it.


TypeError: object pickle not returning list

Hi guys,
i'm trying to test rasa from Python, and I'm getting this error, don't know what i'm doing wrong
here is my metadata.json file
{
    "intent_classifier": "./model_20170206-173042/intent_classifier.pkl",
    "entity_extractor": "./model_20170206-173042/ner",
    "trained_at": "20170206-173042",
    "training_data": "./model_20170206-173042/training_data.json",
    "language_name": "en",
    "feature_extractor": null,
    "backend": "spacy_sklearn"
}

and here is my test.py file
from rasa_nlu.interpreters.spacy_sklearn_interpreter import SpacySklearnInterpreter
import json
metadata = json.loads(open('./model_20170206-173042/metadata.json').read())
interpreter = SpacySklearnInterpreter(**metadata)
interpreter.parse("How do I pay")
interpreter.parse("how can I track my order")

and here is the Traceback of the error
`Traceback (most recent call last):
File "/Users/me/proj/raasa/test.py", line 4, in
interpreter = SpacySklearnInterpreter(**metadata)
File "build/bdist.macosx-10.12-intel/egg/rasa_nlu/interpreters/spacy_sklearn_interpreter.py", line 15, in init
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 1378, in load
return Unpickler(file).load()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 858, in load
dispatchkey
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 1217, in load_build
setstate(state)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/ma/core.py", line 5518, in setstate
ndarray.setstate(self, (shp, typ, isf, raw))
TypeError: object pickle not returning list
`
is there anything wrong with the metadata file or is the interpreter wrong

which version are you using? Could you please update to the latest and see if the problem persists? Do you have cloudpickle installed?

@amn41 thx for the reply
py 2.7.x (obviously :) )
rasa version: <IP_ADDRESS>
cloudpicke installed

ok can you please upgrade to rasa 0.6 and try again?

yes, just did, issue still there
rasa 0.6.b0
cloudpickle is  up to date too

Do you still have this issue? closing for now but can reopen.

I have 2 system configurations and I get this error in one system configuration. The other configuration works fine for the same script. RASA_NLU version is 0.8.11 in both. I have cloud pickle installed in both with version 0.3.1. Any other things I could check ?

@ajayrfhp what is the code you are using? Please describe in detail what you are doing

I was doing intent classification and have 2 system configurations. The code is described below. This throws the 'TypeError: object pickle not returning list' at interpreter.load.
Is the error related, I think its a result of some other library update ( eg : pickle ), but I checked versions of pickle in both systems, they are same.
Rasa_version = 0.8.11
`
training_data = load_data('frame_data.json')
trainer = Trainer(RasaNLUConfig("config.json"))
trainer.train(training_data)
model_directory = trainer.persist('./models/')
metadata = Metadata.load(model_directory)
interpreter = Interpreter.load(metadata, RasaNLUConfig("config.json"))
Config.json
"pipeline": "spacy_sklearn",
"path" : "./models",
"data" : "amazon_character.json"
`


Fix typo

What changes are proposed in this pull request?
Fix typo

Re-triggering the failed jobs.

Meanwhile, @voddle would you mind pulling the latest Alluxio and merging your change? Now your PR has a conflict with the main branch.


Android Library import error and Android app always crashing

I am having problems with all the Tensorflow imports. It always says, "Cannot resolve symbol TFLiteObjectDetectionAPIModel", etc.

@AlainMindana have you been able to resolve imports?

@nauyan  Yes :)

@nauyan Yes :)

how ? pls help me

@AlainMindana  please help us ...


Setup 2 XNAT instances by the same user

Short Description
Figure out how to setup 2 XNAT instances from the same user.
Suggestions:

[ ] 2 different people set up 1 XNAT instance each
[ ] Slower to run sequentially, but could have 2 separate hosts files i.e.  hosts_1.yml and hosts_2.yml
[ ] Faster to run, but more work is putting all the groups i.e. xnat_web_1 and xnat_web_2 into the same hosts file i.e. hosts.yml
[ ] Group_vars templates could be modified to achieve this

Acceptance Criteria
No response
Dependencies
No response
Details
No response

What approach did you take in the end for running two instances? Was it easy enough, or should we look more into automating it?

What approach did you take in the end for running two instances? Was it easy enough, or should we look more into automating it?

@HChughtai ?

I ended up cloning the repository twice. I had to modify a few variables and names to prevent clashes in resources and ensure that everything was deployed to separate VPCs. So I think that should be good enough for this and just needs an update to the Terraform.


[Nette] 2.0 to 2.1

https://github.com/nette/sandbox/compare/v2.0.0...v2.1.0

Open when needed particular Rectors


Seg fault in initPriors during genotyping

Zev;
I'm running wham on some whole genome data and getting consistent segmentation faults on the genotyping step. The backtrace from the core dumps looks like:
Core was generated by `WHAM-GRAPHENING -b
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000422a7c in alignHMM::initPriors(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&) ()
#1  0x0000000000418341 in genotype(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, breakpoints*) ()
#2  0x0000000000419157 in main._omp_fn.5 ()
#3  0x000000000040539d in main ()

I'm a bit stuck about how to debug. Do you have any suggestions about what might be causing this? Thanks much.

Yikes!  That's no good.  Would it be hard to create a small bam file that generates this error?

Zev -- I can definitely work on that. I'll try to compile a version of wham with debug information and see if I can identify where it's happening. Reading the code there, it looks like it's looping through the BAM file updating priors for the HMMs, is that right? Are there assumptions of consistent read length for the prior matrix? At this point I'm just trying to think of practical ways to reduce the problem for a proper report. Thanks again.

The first call to the class that is causing the segfault is here:
https://github.com/jewmanchue/wham/blob/master/src/bin/graph-er.cpp#L4021
Its calling this function:
https://github.com/jewmanchue/wham/blob/master/src/lib/alignHMM.h#L90
This loops over the read and fills the probability matrix.
When you are in gdb if you type "frame 0" it should take you to the exact line.
Without knowing the exact line, I would guess that there is a variable read length?
I only initialize the class once and it is assuming that the read lengths are the same.

Zev -- that's right on, there are variable length reads in these datasets. I couldn't get gdb to give me the exact line with these core dumps but it sounds like we've identified the underlying issue. Is it possible to support variable read lengths here or should I be skipping genotyping in these cases?

I don't have a test set for trimmed reads, but the changes i pushed should work.  They don't break anything for NA12878.
Let me know if this opens up any other problems.
--Zev

Was the issue resolved for you?
P.S. - paper is out.

Zev -- congrats on the paper. It looks great, and thank you for citing bcbio.
Sorry I haven't followed up on this. Currently your trimming fix works great but I'm stuck with a sampling issue on hg19 and hadn't yet worked around this in bcbio because I wasn't sure of the right way. The issue with hg19 is that chrM is first (relative to GRCh37, where it comes after X and Y) so using the -u 20 workaround also sampled it, leading to a biased distribution of insert sizes and depth.
Is the best approach to use -e all,of,the,non,standard,chromosomes? This is do-able but does get a little unwieldy with hg38 where you have a ton of alts. Do you think it would make sense to have a -i argument that specifies the chromosomes to sample for the size distribution since that should be smaller than all the excluded chromosomes.
Congrats again on the paper and thanks for all the help with getting WHAM going.

I will implement -i.
I wouldn't worry too much about a biased insert size distribution.  For humans -u 20 is very safe.  I've tested this for several human populations.
--Zev

Brad,
I've added the include flag (-c).  You can use -e and -c together.  If something is on the -e list it will not be included in the -c list (although it prints to STDERR).
Let me know if you run into any other problems.  Thanks as always for your helpful suggestions.


Make parameters optional

Alamofire treats them as optional and behaves differently if they are nil, so we should allow optionals, too (I guess some servers differentiate between an empty HTTP body and a nil one).
Continued from #188.

It looks like the Endpoint main initializer still requires them as a non-optional

This is fixed by https://github.com/Moya/Moya/pull/228 – will be merged in an upcoming release (see #236).


Can't configure functions in options maps on command line or in files.

There are several places where functions are allowed in an options map.  If you configure the functions in the options map using set-options!, that works fine.  But that only works if you are using zprint as a library.  If you use the zprint as an uberjar or a pre-built graalVM binary, then the only way you can configure it is with .zprintrc files or from the command line.  In either case, functions (or any executable code snippets) are not interpreted correctly.
The challenge to "fixing" this is that allowing executable code in an options map loaded from a file opens the door to a number of unpleasant security exploits.  How to balance using functions to enrich and adapt the capabilities of zprint with the potential security issues raised by executable code loaded from files is, as yet, undetermined.
I can imagine requiring an explicit marker on the command line to allow executable code to be loaded from a .zprintrc file or the command line options map.  But would that still be too risky for people?
I'm very interested in suggestions and discussion on this topic.

Fixed this as much as possible, though it is still rather messed up in the graalVM binaries.  For now fixed as much as it is going to get in 0.5.4.


Is there a way to print each --print option  separately

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Question
Is there a way to print each --print option (e.g. title, description) separately, or rather, in a parsable way, without repeating the yt-dlp command?

-O, --print [WHEN:]TEMPLATE     ...
                                This option can be used multiple times

I am aware, but what about separating them? Multiple strings of text aren't useful if you can't distinguish what's what

They are separated by a newline. Or, you can make a print some delimiter, make a json from them, etc based on what is easy for you to parse
Examples:
❯ yt-dlp test:youtube -O title -O description
youtube-dl test video "'/\ä↭𝕐
test chars:  "'/\ä↭𝕐
test URL: https://github.com/rg3/youtube-dl/issues/1892

This is a test video for youtube-dl.

For more information, contact<EMAIL_ADDRESS>.

❯ yt-dlp test:youtube -O title= -O description=
title = 'youtube-dl test video "\'/\\ä↭𝕐'
description = 'test chars:  "\'/\\ä↭𝕐\ntest URL: https://github.com/rg3/youtube-dl/issues/1892\n\nThis is a test video for youtube-dl.\n\nFor more information, contact<EMAIL_ADDRESS>.'

❯ yt-dlp test:youtube -O title -O ---- -O description
youtube-dl test video "'/\ä↭𝕐
----
test chars:  "'/\ä↭𝕐
test URL: https://github.com/rg3/youtube-dl/issues/1892

This is a test video for youtube-dl.

For more information, contact<EMAIL_ADDRESS>.

❯ yt-dlp test:youtube -O "{\"title\": %(title)j, \"description\": %(description)j}"
{"title": "youtube-dl test video \"'/\\\u00e4\u21ad\ud835\udd50", "description": "test chars:  \"'/\\\u00e4\u21ad\ud835\udd50\ntest URL: https://github.com/rg3/youtube-dl/issues/1892\n\nThis is a test video for youtube-dl.\n\nFor more information, contact<EMAIL_ADDRESS>."}

or just parse it from -j output tbh

There is no bandwidth difference, it uses the same amount regardless, right?

Yes

Alright, thank you!


Property is not configurable

Description
Basically the exact same issue as: https://github.com/Shopify/react-native-skia/issues/1146
A few other comments suggest other people are still getting this too. The patch suggested works, but it's of course undesirable.
Version
0.1.172 and 0.1.185
Steps to reproduce

Install React Native Skia in Yarn Monorepo React Native project (Expo prebuild generated).
Build and install IOS
See failure to build Metro output.

Snack, code example, screenshot, or link to a repository

Is there any chance you could share a repository where we could reproduce the issue?

Same problem:
react: 18.2.0
react-native: 0.72.7
@shopify/react-native-skia: 1.2.3


Insert trailing comma when function breaks with single argument

Summary
Given:
def _example_function_xxxxxxx(
    variable: Optional[List[str]]
) -> List[example.ExampleConfig]:
    pass

We should be inserting a trailing comma after the argument (as long as it's a single-argument function). This was an inconsistency with Black, but also led to some internal inconsistencies, whereby we added the comma if the argument contained a trailing end-of-line comment, but not otherwise.
Closes https://github.com/astral-sh/ruff/issues/8912.
Test Plan
cargo test
Before:

project
similarity index
total files
changed files

cpython
0.75804
1799
1648

django
0.99984
2772
34

home-assistant
0.99963
10596
146

poetry
0.99925
317
12

transformers
0.99967
2657
322

twine
1.00000
33
0

typeshed
0.99980
3669
18

warehouse
0.99977
654
13

zulip
0.99970
1459
21

After:

project
similarity index
total files
changed files

cpython
0.75804
1799
1648

django
0.99984
2772
34

home-assistant
0.99955
10596
213

poetry
0.99917
317
13

transformers
0.99967
2657
324

twine
1.00000
33
0

typeshed
0.99980
3669
18

warehouse
0.99976
654
14

zulip
0.99957
1459
36

+1 for consistency

I'm now leaning towards proceeding with this change. My best guess is that Black omits the trailing comma if the annotation contains a comma, which seems incorrect to me.

I think this is a bug and we don't need to gate it with preview; perhaps if the formatter was not in beta, I would feel differently.


Aligning Nat.le

Lean4's ≤ does not match lean3's ≤ on nats. In lean3, nat.le are inductive whereas in lean4, Nat.le is defined as the boolean version returning true. I think this instance clash will cause big problems and needs to be fixed.
According to https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/mathport/near/226097604 this seems like it could be a manageable (if unpleasant) backport to mathlib, since only a few places seem to inspect the internals of ≤. However, it may be acceptable to just change the Lean4 version, i.e. with something like:
axiom Nat.le2 : Nat → Nat → Prop
axiom Nat.leOfTrue  {m n : Nat} : Nat.ble m n = true     → Nat.le2 m n
axiom Nat.leOfFalse {m n : Nat} : ¬ (Nat.ble m n = true) → ¬ Nat.le2 m n

instance (m n : Nat) : Decidable (Nat.le2 m n) :=
  if h : Nat.ble m n = true then isTrue (Nat.leOfTrue h)
  else isFalse (Nat.leOfFalse h)

Leo's call.

Here's a proof that an inductive type alignable with nat.less_than_or_equal coheres with Nat.ble, for your convenience:
namespace Nat

inductive le' (a : Nat) : Nat → Prop
  | refl : le' a a
  | step {b} : le' a b → le' a (succ b)

theorem zero_le' : (n : Nat) → le' 0 n
  | zero => le'.refl
  | succ n => le'.step (zero_le' n)

theorem succ_le'_succ : {m n : Nat} → le' m n → le' (succ m) (succ n)
  | _, _, le'.refl => le'.refl
  | _, _, le'.step h => le'.step (succ_le'_succ h)

theorem le_of_true : {m n : Nat} → ble m n = true → le' m n
  | zero, n, _ => zero_le' n
  | succ m, succ n, h => succ_le'_succ (le_of_true h)

theorem ble_self : (n : Nat) → ble n n = true
  | zero => rfl
  | succ n => ble_self n

theorem ble_succ : {m n : Nat} → ble m n = true → ble m (succ n) = true
  | zero, _, _ => rfl
  | succ m, succ n, h => @ble_succ m n h

theorem true_of_le : {m n : Nat} → le' m n → ble m n = true
  | n, _, le'.refl => ble_self n
  | m, _, @le'.step m n h => ble_succ (true_of_le h)

instance (m n : Nat) : Decidable (Nat.le' m n) :=
  if h : ble m n = true then isTrue (Nat.le_of_true h)
  else isFalse (mt true_of_le h)

end Nat


Android client opus does not support

I’m using https://github.com/haiyangwu/mediasoup-client-android for my android device.
I know opus support >= android 5.0. My sony xperia z5 android 7.0 is play ok. But my android box android 10 can’t play. I saw log “router.canConsume = false”. I searching and know new android os need change to .ogg to can play opus. But i don’t know how to implement it to my android device.
Really thanks to someone who can help me!

hey quangnv1311....

Please help me


Talk about group input in create a linode being a select or a fill ahead text box

Feature no longer exists.


Fixed errors in VB version

Corrected problems with line endings / comment wraps.

Hi there, I have tried to understand what you have corrected, but as you have changed all the spacing in the source code file, every single line looks like a change.

Hi,
That was actually what I fixed. The spacing / line breaks were out of whack and wouldn't build / compile correctly. Then I am sure some Visual Studio voodoo happened when saving as well.
Here is diffcheckers version of the two files side by side, still not great, but a little easier to see what changes I made.
https://www.diffchecker.com/loowokws
If you want I can close this pull request and mark up exactly which lines I updated.
Justin.

Hi Justin, could you please start over without moving the tab spacing? I think that will better reflect your changes.

Yes, that was on my list of things to do today. Plus I am going to use Sublime instead of Visual Studio.
Justin

From: Jaime<EMAIL_ADDRESS>Sent: 10/20/2015 12:04 AM
To<EMAIL_ADDRESS>Cc: Justin<EMAIL_ADDRESS>Subject: Re: [zipstorer] Fixed errors in VB version (#2)
Hi Justin, could you please start over without moving the tab spacing? I think that will better reflect your changes.
—
Reply to this email directly or view it on GitHubhttps://github.com/jaime-olivares/zipstorer/pull/2#issuecomment-149425527.

I have updated the file and it should give you a better overview of the changes.
Justin

Got it. Thanks for your contribution.


Try getting travis to use multiple OSs.

Windows does not support Scala, but OS X does. This requires some reworking of how deps are installed.
Ideally, travis will support JVM on Windows and we can also test there. Related: this issue and this one.

@grebe you can consider to use AppVeyor for Windows jobs - in fact, their machines are faster and you have more choice.

For example this https://github.com/ensime/scala-debugger/blob/master/appveyor.yml configuration.

@XVilka thanks for the heads up, looks like windows + jvm is supported a little better there

@colinschmidt @ucbjrl this isn't messing up the cache, right?

Sad. Do we need explicit versioning?

To expand a bit on why it breaks is that Travis includes all matrix configuration stuff in the key for the cache, thus multiple Scala versions (and probably multiple OSes) will trample on each other to create the cache.
The best solution I can think of is to put all of the dependencies in Docker, then we can use the Travis build matrix stuff and just not have to do any caching. This would also make it trivial to run regressions on different OSes, although it would not test setup instructions or anything (which I think should be included in some set of regressions, somewhere, but probably not on regular PR CI).

So should I kill this PR?

As is? Probably. If we switch to using docker (which we should, someone just has to do it), then we should revive it