KAFKA-6188; Fix windows clean log fail caused shut down

During debugging, I find that delete or rename a file before close it is illegal on windows, so I changed the function deleteSegment to add a direct close handle operation.
I have manually test it on windows, the change seems very straightforward, please review it.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Code around
https://github.com/apache/kafka/blob/5ca08daea029ea1042214d3bf30f18bd8f6cc060/core/src/main/scala/kafka/log/Log.scala#L1986
still misses the fix, we may need to fix that as well.

JDK 11 and Scala 2.12

JDK 8 and Scala 2.11

be nice to see this finished, seems like kafka on windows isn't viable without this fix?

@keithn Yes, when the  log cleaning event is  trigger, Kafka server will shut down(The default time is 168 hours after the first start up) due to file renaming exception.

What's the status with this one? Seems as the bug still exists in latest version of Kafka (2.2.1) but Bug KAFKA-6188 in Jira is shown as resolved. Also this PR, which suppose to fix it is still open...

@avivrosiqp  Seems the community is not  interested in this bug. So sad.

@prehistoric-penguin Seems weird that there is zero priority on this issue,  It seems mission critical (ie, it just doesn't work without a fix ).   Convinced me to abandon using Kafka.   If the core team aren't interested in getting this working on windows after providing all the tools to get it running on windows then hard to believe other critical problems won't get addressed quickly.  Hard to work out what parts of Kafka people actually care about and will fix.

@keithn Kafka doesn't support Windows officially, so there are several bugs on Windows, I don't suggest run Kafka on Windows personally. Linux is always the first choice to deploy a service.

But they distribute it with windows support and don't make it obvious that windows isn't really supported "officially".  It wasn't until I started reading issues that I started seeing it wasn't officially supported.

Not sure if this PR was ever merged. If yes, which release I need to download to get the fix?
If not, please reconsider. We really need to support Windows for some of our clients whom Linux and container are not the options. And without this fix the whole system is not really functional.

It's so sad that this PR is never been reviewed or mentioned.
Microsoft have maintained a Kafka branch, seems they have already fixed this issue, please take a look.

You tried your best man nice job... it's a shame they refuse to these issues the right amount of attention it deserves... Glad Microsoft stepped up
Thanks for all the help

It seems that a lot of people are struggling with this issue. See https://stackoverflow.com/q/45599625/1200885
I was wondering whether @hachikuji, @dajac or @cmccabe could reconsider merging this pull request.

It seems that a lot of people are struggling with this issue. See https://stackoverflow.com/q/45599625/1200885
I was wondering whether @hachikuji, @dajac or @cmccabe could reconsider merging this pull request.

@MPeli
I would recommend that using Linux to run Kafka Server, to make our Kafka cluster reliable and robust. Windows haven't been officially supported to run Kafka Server, the effort to run it couldn't be correctly estimated.


637 data model visualization is broken

Closes #637 check there for some investigation details.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 64.5%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
6940

Relevant Lines:
10012

💛  - Coveralls

I believe you're right and I confimed it locally, @victorgarcia98. It seems the pydot capability can be also installed by pip, and actually it does come as a dependency of the library anyway.


Live search with lunr.js

Currently it is only possible to activate search in static mode, but not in live mode.
By implementing lunr.js (or something similar), it shoud be possible to activate search in live mode.

Hello,
Tipuesearch is similar to lunr.js in terms of final user features and both are not suited for use in live mode.
The search feature requires all documentation pages to be rendered in order to be processed. This would create too much pressure on the server if all the documentation pages need to be rendered on every search.
That's why we decide to not provide that feature in live mode


Added coston 2

Description

added coston2

Looks great. Can you let me know where you found the confirmations, reorgperiod and estimateBlockTime?
I want to include it in our documentation

Honestly, I copied it from avalanche since coston is similar to avalanche


GeometryAnimation crash

Describe the bug
when i click on morphing animation i get crash
To Reproduce
Steps to reproduce the behavior:

Go to Demo
Click on Morphing Animation

Environment (please complete the following information):

IDE vs2019

System.FormatException: 'Unexpected token 'M41/416254,90C41/88876,82/5298 41/624584,57/2716 41/416254,50/99 36/29352,49/8907 36/894651,50/4264 31/567267,50/99 31/775597,44/59305 31/931627,42/43234 31/693536,36/77758 36/340008,36/79568 35/133525,36/76858 41/542523,36/58818 41/638383,32/81458 41/675605,33/50908 41/668792,29/20144 41/851382,25/46201 41/182183,18/65836 45/961941,14/23856 50/741699,9/81876 59/568752,10/59048 68/185297,10/70302 68/141127,16/44056 68/145937,20/8288 68/185297,23/58247 63/135373,24/4635 60/876109,23/24558 57/326157,24/84516 55/922779,28/231 55/756556,29/65047 56/63466,36/77758 59/21143,36/64422 64/265254,36/63978 68/690373,36/77758 67/695215,42/78657 67/742088,44/40134 66/922606,49/8464 63/245981,49/9344 61/316885,49/6976 55/810928,49/8464 55/662114,56/6024 56/168075,82/8571 55/810928,90 49/382352,90/1786 47/63649,89/97 41/416254,90z' encountered at position '2'.'

@NaBian  tnx for your commit but issue is not fixed in my pc

erm....it seems that commas were replaced with slashes, can you help me to resolve this issue? due to the cultrue environment of my pc, I can't repeat this problem.

@NaBian  yeah i can what do you need? i can start a visual studio liveshare or anything you want
https://prod.liveshare.vsengsaas.visualstudio.com/join?19F79D44B180F80D01F53354E467E90981B0

It's too late. Is tomorrow all right?

From 7am to 7pm I'm at work (GMT +3:30)
I'm online from 7pm

hi @NaBian  I think this code is not a good solution Because it makes other controls not work as well as DatePicker and anything that includes slash character (/) I think we should delete this code And we can use a better solution Like changing the way geometry is created with the help of StreamGeometry or anything else
https://github.com/HandyOrg/HandyControl/blob/cfe20a7f13822eb9450c110a6b60401a415d2eee/src/Shared/HandyControl_Shared/Tools/Helper/ConfigHelper.cs#L47

@NaBian  tnx but this fix also not work 🤔

I had a conversation about this here If you have the time please take a look at it


Revert "Initialize the project cache more selectively"

Reverts graphql/graphiql#2608

this definately seems to fix the bug locally


Revert changes to hall circle configs (and thus the hall protocol)

The stars are currently drowning in %diff-bad-ack messages. They're trying to send out urbit-meta updates so subscribers, but not all of those subscribers are running the latest arvo with the recent hall changes. This results in a mismatch in the expected message type.
In its current state, the network clearly isn't ready to receive userspace protocol updates. Not all ships are getting/running updates (see also #509 and #611), and comets weren't in the first place. There is currently no mechanism for implementing application interface versioning that would allow this to be overcome elegantly, so I think our safest bet here is to just keep interfaces consistent for now.
The changes this reverts come from #621. These were made to support the currently still in development Collections application/web interface, so nothing on the livenet depends on them. After this PR, up-to-date ships will be able to chat with out-of-date ships again.

Got the go-ahead by @belisarius222 to merge this and push it live.


Build failed messaging should print to stderr

If there is a failure when building a project during deploy I've noticed what seems to be a new feature, or at least log output:
Build failed, reverting project.

The problem is I don't think this is printed to stderr, so in my case at least a CI build within which the deploy is running doesn't know that the deploy actually failed (on some level). So unless someone reviews the log output carefully the build otherwise appears to have been successful.

This is quite an annoyance because not only CI passes, but the project deployed notification is also being sent.


swipe direction

How can I identify swipe direction at any time?
Thanks

Hi. Maybe AbstractSwipeableItemViewHolder.onSlideAmountUpdated() method can be used.
@Override
public void onSlideAmountUpdated(float horizontalAmount, float verticalAmount, boolean isSwiping) {
}

This method is mainly called during swiping. The first and second parameters can be used to determine swipe direction.
Please refer the usage in demo app by the following link. Thanks.

https://github.com/h6ah4i/android-advancedrecyclerview/blob/58e2780cc0efc5dccb4a607919f634e8c327df0d/example/src/main/java/com/h6ah4i/android/example/advrecyclerview/demo_s_viewpager/MyViewPagerSwipeableItemAdapter.java#L64


There's no way to use gesture events in ionic5.x

There's no way to use gesture events in ionic5.x。
How to use tap press rotate pinch in ionic5.x?
Hammerjs can be used in ionic4.x but not in ionic5.x
<ion-button (tap)="goBack()">
        <ion-icon slot="icon-only" name="arrow-back" color="dark"></ion-icon>
  </ion-button>

Thanks for the issue. I am going to close this as this is not a bug in Ionic Framework. HammerJS does not come pre-loaded with Ionic Framework anymore. You will need to install and configure it yourself in your application.


Change name of master.exe to something more obvious for volunteers to identify on their systems.

Volunteers on the forums were confused/bemused by the name 'master.exe' of the openifs executable. Have changed it to be more obvious.
Have also changed 'cpdn' branch in the gc_oifs43r3 repo to match.

Merged to cpdn master.


libsodium.js

I was wondering if there were any clarifications that could be made between the differences between sodium-javascript and https://github.com/jedisct1/libsodium.js.  Just the shape of the API?

I think that's compiled from the original libsodium source to wasm, whereas this is an effort at writing it from scratch in JS.

Yeah does appear to be a difference, but I was hoping to clarify if that was a sticking point or not (e.g. whether or not an approach like https://github.com/geut/sodium-javascript-plus would provide more mileage and consistency and whether or not the outcome is the goal rather than the implementation details.)


Add op_vault-round-2-op_ctv review to bitcoin-review-podcast

This PR adds op_vault-round-2-op_ctv transcript review to the bitcoin-review-podcast directory.

@markon1-a is this ready for review? Because I explicitly mentioned that for words like OP_VAULT and CTV I only gave some examples that needed to change and I didn't comment on every one.

I believe the transcript is now ready to merge. Thank you for your efforts.
For future reviews, I recommend considering the comments I have made in previous reviews. When these comments are not addressed, it becomes challenging for me to evaluate your changes, as it impacts my trust in the modifications. This, in turn, extends the evaluation time.
Additionally, I suggest choosing topics that genuinely interest you and that you are eager to read about. From your recent reviews, it seems that there might be a lack of context regarding the discussed topics. To ensure high-quality work, it is crucial to engage with the content deeply. These transcripts cover intricate Bitcoin technical topics, and a genuine interest in these areas will significantly enhance your reviews.
Thank you for your attention to these points, and I look forward to your future contributions.


Benchmarking: how do we protect the test set?

Is encoding enough, so it won't be easily scraped, or do we need to hide it away completely?

Seems to be completed by https://github.com/biocypher/biochatter/issues/64?


Add AndroidInAppWebViewOption for using Hybrid Composition

Connection with issue(s)
Add the ability to dynamically enable/disable Hybrid Composition by means of an AndroidInAppWebViewOption.
Testing and Review Notes
Steps:

Flutter version v1.20+.
Set useHybridComposition to true in example/lib/in_app_webview_example.screen.dart (at line 92 add):

android: AndroidInAppWebViewOptions(
    useHybridComposition: true,
)

Install Google gboard input method, and install chinese pinyin or chuyin input method, and launch InAppWebView with some website that needs some input.
Focus on the text field and see if it's possible to switch to pinyin input method in gboard (should be possible).
Set useHybridComposition to false in example/lib/in_app_webview_example.screen.dart.
Focus on the text field and see if it's possible to switch to pinyin input method in gboard (should not be possible).

To Do

[ ] double check the original issue to confirm it is fully satisfied
[ ] add testing notes and screenshots in PR description to help guide reviewers
[ ] request the "UX" team perform a design review (if/when applicable)

@plateaukao Don't know how it works if I would like this commit to get merged onto the branch you pushed to flutter_inappwebview, but I tried it anyways. Let me know if there is a different way I should do this.


MigrationsMap.net website out of scope

Hey @madewulf,
Looks like the domain name MigrationsMap.net is now owned by some chinese person/firm. Is the former website content still available somewhere? If it's the case, would be great to at least indicate the new location in this repository description.

The site is still available here: http://madewulf.github.io/MigrationsMap.net/#/USA/arrivals but the data is severely outdated, which is the reason I didn't renew the domain anymore.

Thanks for the new link! However, you still link to the "Chinese" site in the About section of the repository home page. What about updating that link? Same issue in the README.

I updated the links. Thanks for the feedback.


Make explicit what are the additional properties causing the validation failure

Currently, when no additional properties are allowed the validation error give you no clue about what properties are causing the failure.
With this PR I propose to add an error per property, so that we can easily know where is the problem.
For example, giving the following schema,
{
 "type": "object",
 "properties": {
   "foo": {
      "type": "object",
      "additionalProperties": false
   }
 },
 "additionalProperties": false
}

when validating this JSON,
{ "foo": { "bar": "mybar" } }
```

we will get the following ValidationError:

```csharp
{NoAdditionalPropertiesAllowed: #/foo.bar}
    Kind: NoAdditionalPropertiesAllowed
    Path: "#/foo.bar"
    Property: "bar"
```

We are really interested in having this information when running validations in our CI server.

Looking forward your feedback.

Thanks,

Roger

Its a good idea to privide more validation info.. this may be a breaking change, but i think we can live with that..

Thanks for the pr and using the project..

New version will be available soon..

Very much appreciated. Looking forward the new version. BTW, I'm working on another PR to provide ToString methods for the both ValidationError and ChildSchemaValidationError. Hopefully it will be ready tomorrow.
Regards.

Check v2.57

Check v2.57


Add option to remove parser

Currently, you need to manually break it to disable a particular format, like one of the workarounds in #104.

Closed in 493cc0415aee3473820d4286691516fd70ed89aa

Closed in 493cc0415aee3473820d4286691516fd70ed89aa


Fix reqparse (action='append' and location='json')

This fix an issue when parsing a list value inside body data (JSON).
Value returned by source.get(name) can already be a list provided inside JSON data, so it should not be wrapped into another list in this case. The value should be used as is if it's already a sequence.

Thanks for merging so fast ! Any release planned soon ?


unknown collector type "extends"

Hey guys,
Using deptrac.phar V0.8.1,  I am receiving the error below when I try to use this sintaxe which I extracted on documentation. Similar behaviour is also happening when I try to use "inherits" sintax
layers:
  - name: Model
    collectors:
      - type: extends
        extends: 'Illuminate\Database\Eloquent\Model'

In Registry.php line 28: unknown collector type "extends", possible collectors are bool, className, classNameRegex, directory, inheritanceLevel, implements, method
Am I doing something wrong?

Thanks!!!


Support fir Cisco ASA Netflow

Hi,
Do you think the plugin supports Cisco firewall - IOS 9.8?
Its seems that i have next issues:
	at org.graylog.plugins.netflow.flows.NetFlowFormatter.toMessageString(NetFlowFormatter.java:54) ~[?:?]
	at org.graylog.plugins.netflow.flows.NetFlowFormatter.toMessage(NetFlowFormatter.java:119) ~[?:?]
	at org.graylog.plugins.netflow.codecs.NetFlowCodec.lambda$decodeV9$2(NetFlowCodec.java:160) ~[?:?]
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_151]
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_151]
	at java.util.Collections$2.tryAdvance(Collections.java:4717) ~[?:1.8.0_151]
	at java.util.Collections$2.forEachRemaining(Collections.java:4725) ~[?:1.8.0_151]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[?:1.8.0_151]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:1.8.0_151]
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_151]
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_151]
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[?:1.8.0_151]
	at org.graylog.plugins.netflow.codecs.NetFlowCodec.lambda$decodeV9$3(NetFlowCodec.java:161) ~[?:?]
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_151]
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1380) ~[?:1.8.0_151]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[?:1.8.0_151]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:1.8.0_151]
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_151]
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_151]
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[?:1.8.0_151]
	at org.graylog.plugins.netflow.codecs.NetFlowCodec.decodeV9(NetFlowCodec.java:163) ~[?:?]
	at org.graylog.plugins.netflow.codecs.NetFlowCodec.decodeMessages(NetFlowCodec.java:134) ~[?:?]
	at org.graylog2.shared.buffers.processors.DecodingProcessor.processMessage(DecodingProcessor.java:148) ~[graylog.jar:?]
	at org.graylog2.shared.buffers.processors.DecodingProcessor.onEvent(DecodingProcessor.java:91) [graylog.jar:?]
	at org.graylog2.shared.buffers.processors.ProcessBufferProcessor.onEvent(ProcessBufferProcessor.java:74) [graylog.jar:?]
	at org.graylog2.shared.buffers.processors.ProcessBufferProcessor.onEvent(ProcessBufferProcessor.java:42) [graylog.jar:?]
	at com.lmax.disruptor.WorkProcessor.run(WorkProcessor.java:143) [graylog.jar:?]
	at com.codahale.metrics.InstrumentedThreadFactory$InstrumentedRunnable.run(InstrumentedThreadFactory.java:66) [graylog.jar:?]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
2018-02-07 09:08:45,042 ERROR: org.graylog2.shared.buffers.processors.DecodingProcessor - Unable to decode raw message RawMessage{id=7fdd18e0-0be6-11e8-8e32-86ed9180ca75, journalOffset=165877, codec=netflow, payloadSize=1673, timestamp=2018-02-07T09:08:45.038Z, remoteAddress=/<IP_ADDRESS>:10977} on input <5a7abcc01509a000010b2670>.
2018-02-07 09:08:45,042 ERROR: org.graylog2.shared.buffers.processors.DecodingProcessor - Error processing message RawMessage{id=7fdd18e0-0be6-11e8-8e32-86ed9180ca75, journalOffset=165877, codec=netflow, payloadSize=1673, timestamp=2018-02-07T09:08:45.038Z, remoteAddress=/<IP_ADDRESS>:10977}
java.lang.NullPointerException: null
	at org.graylog.plugins.netflow.flows.NetFlowFormatter.toMessageString(NetFlowFormatter.java:54) ~[?:?]
	at org.graylog.plugins.netflow.flows.NetFlowFormatter.toMessage(NetFlowFormatter.java:119) ~[?:?]
	at org.graylog.plugins.netflow.codecs.NetFlowCodec.lambda$decodeV9$2(NetFlowCodec.java:160) ~[?:?]
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_151]
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_151]
	at java.util.Collections$2.tryAdvance(Collections.java:4717) ~[?:1.8.0_151]
	at java.util.Collections$2.forEachRemaining(Collections.java:4725) ~[?:1.8.0_151]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[?:1.8.0_151]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:1.8.0_151]
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_151]
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_151]
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[?:1.8.0_151]
	at org.graylog.plugins.netflow.codecs.NetFlowCodec.lambda$decodeV9$3(NetFlowCodec.java:161) ~[?:?]
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_151]
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1380) ~[?:1.8.0_151]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[?:1.8.0_151]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:1.8.0_151]
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_151]
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_151]
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[?:1.8.0_151]
	at org.graylog.plugins.netflow.codecs.NetFlowCodec.decodeV9(NetFlowCodec.java:163) ~[?:?]
	at org.graylog.plugins.netflow.codecs.NetFlowCodec.decodeMessages(NetFlowCodec.java:134) ~[?:?]
	at org.graylog2.shared.buffers.processors.DecodingProcessor.processMessage(DecodingProcessor.java:148) ~[graylog.jar:?]
	at org.graylog2.shared.buffers.processors.DecodingProcessor.onEvent(DecodingProcessor.java:91) [graylog.jar:?]
	at org.graylog2.shared.buffers.processors.ProcessBufferProcessor.onEvent(ProcessBufferProcessor.java:74) [graylog.jar:?]
	at org.graylog2.shared.buffers.processors.ProcessBufferProcessor.onEvent(ProcessBufferProcessor.java:42) [graylog.jar:?]
	at com.lmax.disruptor.WorkProcessor.run(WorkProcessor.java:143) [graylog.jar:?]
	at com.codahale.metrics.InstrumentedThreadFactory$InstrumentedRunnable.run(InstrumentedThreadFactory.java:66) [graylog.jar:?]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]

Thanks
Sergiu Plotnicu

@sppwf
Which version of the plugin are you using?
Which version of Graylog are you using?
Could you provide a pcap of the NetFlow packets (recorded with Wireshark or tcpdump) so that we can reproduce the issue?

Hi,
I am using latest plugin version 0.1.1
Graylog Version is - 2.4.3
I am using containerized graylog.
Attached the Flow pcap. just one packet, hope is ok
asa_neflow.zip
Thanks

@sppwf I'm afraid that a single packet is not enough.
Ideally, the pcap would contain all of the various NetFlow v9 packet types (i. e. Template FlowSet and Data FlowSet).

Please find attached more packets.
hope this helps
asa_neflow.zip

Hi,
I am into the same issue. Mine works perfectly with IOS, but it is unable to work with ASA. Also, I installed another NetFlow collector, and this works  fine with both exporters (IOS ans ASA). My ASA runs asa991-lfbff-k8.spa, which is the latest version. Also, I have tested with several previous ASA releases, and I have gotten the same result. I am running Graylog v2.4.3+2c41897.
Any advice?
How can contribute?
Regards.

I'm having the same problem, i receive the packets in graylog but when i click on show received messages nothing is displayed..........
any idea how to fix this one???

I've got the exact same issue, used both OVA & manually installed on Ubuntu.
excerpt from logs:

2018-05-24T21:53:09.137Z ERROR [DecodingProcessor] Unable to decode raw message RawMessage{id=d8c842e0-5f9c-11e8-bd06-000c29ce27ac, journalOffset=2507, codec=netflow, payloadSize=243, timestamp=2018-05-24T21:53:09.134Z, remoteAddress=/<IP_ADDRESS>:29124} on input <5b073049268aa40ef2fc2db4>.
2018-05-24T21:53:09.138Z ERROR [DecodingProcessor] Error processing message RawMessage{id=d8c842e0-5f9c-11e8-bd06-000c29ce27ac, journalOffset=2507, codec=netflow, payloadSize=243, timestamp=2018-05-24T21:53:09.134Z, remoteAddress=/<IP_ADDRESS>:29124}

I am also having the same issue on asa ver 9.8.2

one way is to use logstash as a workarround, in my case i decided to go for syslog with grok patterns, netflow btw will increase your CPU usage on ASA....

I'll just copy the text from: https://github.com/Graylog2/graylog2-server/issues/4865#issuecomment-420155157
Please be aware that we need samples to test our tool. Yes out there are collections like http://packetlife.net/captures/protocol/udp/ but you as user would help us if you provide sample data.
We as developer do not own all the devices you have and do not count on the vendor that they will provide us with the samples of your device.

provide a pcap of the NetFlow packets (recorded with Wireshark or tcpdump) so that we can reproduce the issue?

Can confirm this issue
ASA 9.6
Graylog 2.4.6
Netflow Plugin shipped with Graylog 2.4.6
2018-09-14 07:49:00,775 ERROR: org.graylog2.shared.buffers.processors.DecodingProcessor - Unable to decode raw message RawMessage{id=e1267a48-b7e1-11e8-8485-7240a49d5857, journalOffset=1397263219, codec=netflow, payloadSize=1666, timestamp=2018-09-14T05:49:00.772Z, remoteAddress=/<IP_ADDRESS>:59063} on input <5b9b45db8573531d1ec49d2f>. 2018-09-14 07:49:00,776 ERROR: org.graylog2.shared.buffers.processors.DecodingProcessor - Error processing message RawMessage{id=e1267a48-b7e1-11e8-8485-7240a49d5857, journalOffset=1397263219, codec=netflow, payloadSize=1666, timestamp=2018-09-14T05:49:00.772Z, remoteAddress=/<IP_ADDRESS>:59063} java.lang.NullPointerException: null         at org.graylog.plugins.netflow.flows.NetFlowFormatter.toMessageString(NetFlowFormatter.java:54) ~[?:?]         at org.graylog.plugins.netflow.flows.NetFlowFormatter.toMessage(NetFlowFormatter.java:119) ~[?:?]         at org.graylog.plugins.netflow.codecs.NetFlowCodec.lambda$decodeV9$2(NetFlowCodec.java:160) ~[?:?]         at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_181]         at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_181]         at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) ~[?:1.8.0_181]         at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[?:1.8.0_181]         at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:1.8.0_181]         at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_181]         at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_181]         at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[?:1.8.0_181]         at org.graylog.plugins.netflow.codecs.NetFlowCodec.lambda$decodeV9$3(NetFlowCodec.java:161) ~[?:?]         at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_181]         at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) ~[?:1.8.0_181]         at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[?:1.8.0_181]         at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:1.8.0_181]         at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_181]         at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_181]         at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[?:1.8.0_181]         at org.graylog.plugins.netflow.codecs.NetFlowCodec.decodeV9(NetFlowCodec.java:163) ~[?:?]         at org.graylog.plugins.netflow.codecs.NetFlowCodec.decodeMessages(NetFlowCodec.java:134) ~[?:?]         at org.graylog2.shared.buffers.processors.DecodingProcessor.processMessage(DecodingProcessor.java:148) ~[graylog.jar:?]         at org.graylog2.shared.buffers.processors.DecodingProcessor.onEvent(DecodingProcessor.java:91) [graylog.jar:?]         at org.graylog2.shared.buffers.processors.ProcessBufferProcessor.onEvent(ProcessBufferProcessor.java:74) [graylog.jar:?]         at org.graylog2.shared.buffers.processors.ProcessBufferProcessor.onEvent(ProcessBufferProcessor.java:42) [graylog.jar:?]         at com.lmax.disruptor.WorkProcessor.run(WorkProcessor.java:143) [graylog.jar:?]         at com.codahale.metrics.InstrumentedThreadFactory$InstrumentedRunnable.run(InstrumentedThreadFactory.java:66) [graylog.jar:?]         at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
asa_9-6_netflow.zip

I'll just copy the text from: Graylog2/graylog2-server#4865 (comment)
Please be aware that we need samples to test our tool. Yes out there are collections like http://packetlife.net/captures/protocol/udp/ but you as user would help us if you provide sample data.
We as developer do not own all the devices you have and do not count on the vendor that they will provide us with the samples of your device.

provide a pcap of the NetFlow packets (recorded with Wireshark or tcpdump) so that we can reproduce the issue?

Hi Jan,
i could work with you regarding the netflow v9 because this is what cisco ASA firewalls are using.
do you wanna to have live meeting for this one?
Thanks,
Marius.

I can also furnish some PCAPs for an ASA v9 NetFlow if this would help.  Cisco ASR router Netflows decoded just fine.  I am also tracking the bug with Fortigate Netflow parsing issues as well :(

Everyone experiencing this issue: Could you please try if it still occurs with Graylog v3.0? The final v3.0.0 package is announced tomorrow but you can get started with it already by following the RC installation guides.
@mpfz0r fixed a lot of parsing issues here: Graylog2/graylog2-server#5507

No go on my end. Getting a test environment setup so that I can upload pcap files.
Hopefully someone can beat me to uploading them.

@themcv thanks! If you do, make sure your pcap contains template records as well.
I don't know how often a Cisco device sends out template records, maybe capture a few minutes
if it's not too big.

@mpfz0r Will do. I have to pull and reset a spare 5516-x to get the environment exactly the same. Hopefully i can get it done today to give you guys some data.

@mpfz0r I am sending you an email with the PCAP file right now. Let me know if you get it!

@mpfz0r Is the<EMAIL_ADDRESS>the best email to send it to?

@mpfz0r Is the<EMAIL_ADDRESS>the best email to send it to?

Yep, that's fine. Thank you!

@mpfz0r Great, it is sent.

@mpfz0r Hi, I've been running Graylog 2.5.x in production for a while now with a Cisco ASA 5525-X on ASA 9.6.3, recently I have upgraded to Graylog 3.0 GA. I am also experiencing these same issues, if you guys need more help from us the users please let me know!

@kkoole Are you saying that it worked on 2.5 and does not on 3.0 anymore?


Giver of a photograph!

Over the last 15 years, I’ve been repeatedly ask about how to give credit to the “giver” of a photograph. Colloquially “the source of the image”.
Some people want to use the Source_Record link in the media object, but I have issues with using that!

The Source_Record is, and should only be used, in relationship to a source citation.  This would be the “Science of Sourcing” view of this record type.

A source->media->source relationship could become a circular construct.

Without a better answer I currently use a shared NOTE to provide the information.
Personally, I rather have a different structure, possibly using the Submitter_Record, so that we can maintain an accession structure for the item, more in line with what we do at the museum and in library collections!
Thoughts

Discussed in steering committee
We agree that the provenance of a source (who handled it in what order, how it was copied/derived, etc) is not presently partof the specification and a NOTE is the best place to store it in 7.0. We plan to have a sources team work on this and related issues.

There are two types of provenance: derivation and stewardship.  Derivation refers to copies and other transformations, and has a proposal for comment at the link Luther provides above.  Stewardship refers to transfer of physical possession such as of a Family Bible, tintype photograph, etc.   A proposal for that is at https://github.com/dthaler/gedcom-citations/tree/stewardship.  Feedback welcome there.

I’m not sure either of these two additions answers my question!  Derivative provides the source of the source, stewardship provides who owns or owned a source in time.  But if we have a media object associated with a source record, who (what person) can we link to the media object that gave us the photo?   This sounds like stewardship, but to get to the repo we have to go thru the Source_record which is  how we got to the media, this could cause us to loop if not careful!  I’m suggesting we need a new record type(or direct)  to provide connection to the REPO.

this could cause us to loop if not careful!

GEDCOM already has other cases where "loops" are permitted (NOTE.SOUR.NOTE.SOUR...) so already requires being "careful".

this could cause us to loop if not careful!

GEDCOM already has other cases where "loops" are permitted (NOTE.SOUR.NOTE.SOUR...) so already requires being "careful".
(This is not a disagreement per se, just a data point to consider in the discussion.)

Personally I don't agree that a NOTE Record (or even an inline note) requires or deserves a Source!  In 40 years I've never seen a need to source a NOTE.  Normally when you need to use a citation (aka "a source"), you are quoting someone or something that is not of your own creation.  Notes in a GEDCOM IMHO should be written by the data entry person as their own thoughts about the item the note is attached.  A Source can have a Note, I use these to question the sources accuracy or to write myself a reminder to research additional information!

Let us try to handle the following situations:

the photograph was taken by a person (photographer). Could be coded by AUTH like the autor of a book
the photograph was found in a publication (book, web page, ...). Could be coded by SOUR including SOUR.PAGE where in the publication it was found
the photograph was passed to the researcher by a person, who was not the photographer. This situation could be coded using SUBM (add SUBM to OBJE record)


feat(editor/laterbinding): Added first part for SMV Later Binding Editor

closes #869 and closes #870

I did the tests in terms of clicking and UI and have two remarks there:

I saw that you have added the IED name to the list items of the FCDA, but the control block name is missing. That means that users typing in the name of the SampledValueControl element will see only the noninteractive list items and not their children. I would suggest adding the complete identity string of the SampledValueControl element to the list item value representing the FCDA as well.
On my machine, there are two scroll bars. That is a bit irritating


Wiremod dupe issues.

So this happenes with things like flying drones that have a wire camera or for a well known example, the drunk combine so lets use this as an example. i spawn it in and use it well the camera doesnt go or follow the combine ragdoll like its suppost to and i get errors like the ones here:
[Wiremod] lua/entities/gmod_wire_cameracontroller.lua:364: bad argument #1 to 'WriteFloat' (number expected, got function)
  1. WriteFloat - [C]:-1
   2. SendPositions - lua/entities/gmod_wire_cameracontroller.lua:364
    3. SyncPositions - lua/entities/gmod_wire_cameracontroller.lua:399
     4. unknown - lua/entities/gmod_wire_cameracontroller.lua:540

[Wiremod] lua/entities/gmod_wire_cameracontroller.lua:364: bad argument #1 to 'WriteFloat' (number expected, got function)
  1. WriteFloat - [C]:-1
   2. SendPositions - lua/entities/gmod_wire_cameracontroller.lua:364
    3. SyncPositions - lua/entities/gmod_wire_cameracontroller.lua:399
     4. unknown - lua/entities/gmod_wire_cameracontroller.lua:540

Wire error (Entity [89][gmod_wire_cameracontroller]):
lua/entities/gmod_wire_cameracontroller.lua:364: bad argument #1 to 'WriteFloat' (number expected, got function)
stack traceback:
	[C]: in function 'WriteFloat'
	lua/entities/gmod_wire_cameracontroller.lua:364: in function 'SendPositions'
	lua/entities/gmod_wire_cameracontroller.lua:385: in function 'SyncSettings'
	lua/entities/gmod_wire_cameracontroller.lua:631: in function 'EnableCam'
	lua/entities/gmod_wire_cameracontroller.lua:738: in function <lua/entities/gmod_wire_cameracontroller.lua:735>
	[C]: in function 'xpcall'
	lua/wire/server/wirelib.lua:62: in function 'TriggerInput'
	entities/gmod_wire_expression2/core/wirelink.lua:14: in function <entities/gmod_wire_expression2/core/wirelink.lua:12>
	[C]: in function 'pcall'
	lua/entities/gmod_wire_expression2/core/init.lua:118: in function <lua/entities/gmod_wire_expression2/core/init.lua:112>
	[C]: in function 'pcall'
	lua/entities/gmod_wire_expression2/init.lua:198: in function 'PCallHook'
	lua/entities/gmod_wire_expression2/init.lua:139: in function 'Execute'
	entities/gmod_wire_expression2/core/gametick.lua:42: in function 'v'
	lua/includes/modules/hook.lua:84: in function 'old_hook_call'
	lua/includes/modules/momo/compat.lua:30: in function <lua/includes/modules/momo/compat.lua:22>
sv: Wire error (Entity [89][gmod_wire_cameracontroller]):
lua/entities/gmod_wire_cameracontroller.lua:364: bad argument #1 to 'WriteFloat' (number expected, got function)
stack traceback:
	[C]: in function 'WriteFloat'
	lua/entities/gmod_wire_cameracontroller.lua:364: in function 'SendPositions'
	lua/entities/gmod_wire_cameracontroller.lua:385: in function 'SyncSettings'
	lua/entities/gmod_wire_cameracontroller.lua:631: in function 'EnableCam'
	lua/entities/gmod_wire_cameracontroller.lua:738: in function <lua/entities/gmod_wire_cameracontroller.lua:735>
	[C]: in function 'xpcall'
	lua/wire/server/wirelib.lua:62: in function 'TriggerInput'
	entities/gmod_wire_expression2/core/wirelink.lua:14: in function <entities/gmod_wire_expression2/core/wirelink.lua:12>
	[C]: in function 'pcall'
	lua/entities/gmod_wire_expression2/core/init.lua:118: in function <lua/entities/gmod_wire_expression2/core/init.lua:112>
	[C]: in function 'pcall'
	lua/entities/gmod_wire_expression2/init.lua:198: in function 'PCallHook'
	lua/entities/gmod_wire_expression2/init.lua:139: in function 'Execute'
	entities/gmod_wire_expression2/core/gametick.lua:42: in function 'v'
	lua/includes/modules/hook.lua:84: in function 'old_hook_call'
	lua/includes/modules/momo/compat.lua:30: in function <lua/includes/modules/momo/compat.lua:22>

Any help?

Try to format your errors a bit better next time. Nobody wants to scroll for 3 years to get down here.
The first error is caused by conflicts with another mod.  This breaks any entity that tries to use Distance for itself Of course, since Distance is a really common variable name, creating a variable with that name on every entity is really stupid. What they should be doing if they want to create variables on entities is to create a table with a unique name and store their variables in that.

Here's the solution: https://github.com/wiremod/wire/issues/783

To be clear about why this is their fault and not ours when we're both using the very common name "Distance":
We introduced the entity and they're messing with it

Why are we using the very common name Distance?

the fuck kind of question is that

@oldmud0 I thought I pre-empted that question. We made the entity thus we get to dictate which fields others can use without breaking our entity.


React Hooks must be called in the exact same order in every component render

eslint-plugin-react-hooks found en error:

React Hook "useEffect" is called conditionally. React Hooks must be called in the exact same order in every component render. (react-hooks/rules-of-hooks)

https://reactjs.org/docs/hooks-rules.html

Don’t call Hooks inside loops, conditions, or nested functions.

changing it to
useEffect(() => {
  if (resolve) {
    request()
  }
}, resolveCondition)

should fix the problem @aiven715

@abumalick thanks, will check


Minor typings fix for ViewableBuffer

subj.

Codecov Report

Merging #5913 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #5913   +/-   ##
=======================================
  Coverage   70.51%   70.51%
=======================================
  Files         207      207
  Lines       10452    10452
=======================================
  Hits         7370     7370
  Misses       3082     3082

Impacted Files
Coverage Δ

packages/core/src/geometry/ViewableBuffer.js
21.95% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


GPR curation for Glycine, serine and threonine metabolism/Valine, leucine, and isoleucine metabolism

Current behavior:

19 genes are discovered to be uncorrelated with their corresponding reactions in Glycine, serine and threonine metabolism/Valine, leucine, and isoleucine metabolism.

Gene
UniProtID
Reaction
GPR
Correlation
Manually check

ENSG00000166840
Q969I3
MAR03750: CoA + H+ + isobutyrylglycine <=> glycine + isobutyryl-CoA
ENSG00000149124 or ENSG00000156689 or ENSG00000166840
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000166840 encodes an acyltransferase that transfers an acyl group to the N-terminus of glutamine, using phenylacetyl-CoA as an acyl donor, catalyzing the reaction of an acyl-CoA and L-glutamine to form N(2)-acyl-L-glutamine, CoA, and H+. In contrast, the reaction provided involves the conversion of isobutyrylglycine to glycine and isobutyryl-CoA, which does not involve glutamine or the specific catalytic activity of the mentioned acyltransferase. Therefore, the gene's function and the specified reaction are unrelated.
No

ENSG00000138796
Q16836
MAR03757: 3-hydroxyisobutyrate + NAD+ --> 2-methyl-3-oxopropanoate + H+ + NADH
ENSG00000072506 or ENSG00000106049 or ENSG00000138796
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation. The gene ENSG00000138796 encodes for an enzyme involved in the mitochondrial fatty acid beta-oxidation, specifically catalyzing the conversion of various (3S)-3-hydroxyacyl-CoAs to their corresponding 3-oxoacyl-CoAs along with the production of NADH. The catalytic activities listed are specific to fatty acyl-CoAs of different chain lengths (C4 to C10, including hydroxybutanoyl-CoA and hydroxydecanoyl-CoA). The reaction provided, however, involves the conversion of 3-hydroxyisobutyrate to 2-methyl-3-oxopropanoate, which is not mentioned among the catalytic activities of the enzyme encoded by ENSG00000138796. Therefore, the gene is not pertinent to the provided reaction.
No

ENSG00000166840
Q969I3
MAR03772: 3-methylcrotonoylglycine + CoA + H+ <=> 3-methylcrotonyl-CoA + glycine
ENSG00000149124 or ENSG00000156689 or ENSG00000166840
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation. The gene ENSG00000166840 encodes an acyltransferase that transfers an acyl group to the N-terminus of glutamine using an acyl-CoA, such as phenylacetyl-CoA, as a donor. This specific reaction involves the transfer of an acyl group to glutamine to form N(2)-acyl-L-glutamine. However, the provided reaction involves 3-methylcrotonoylglycine and CoA reacting to form 3-methylcrotonyl-CoA and glycine, which is unrelated to the function of the acyltransferase encoded by this gene.
No

ENSG00000156689
Q8WU03
MAR03772: 3-methylcrotonoylglycine + CoA + H+ <=> 3-methylcrotonyl-CoA + glycine
ENSG00000149124 or ENSG00000156689 or ENSG00000166840
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000156689 encodes for a mitochondrial acyltransferase involved in transferring acyl groups to the N-terminus of glycine to form N-acylglycines with various substrates like arachidonoyl-CoA and medium to long-chain acyl-CoAs. However, the specified reaction involves the conversion of 3-methylcrotonoylglycine to 3-methylcrotonyl-CoA and glycine, which does not fall within the catalytic activities or substrate specificities described for this gene. Therefore, the gene's function does not align with the provided reaction.
No

ENSG00000161653
Q8N159
MAR03794: CoA + H+ + N-acetyl-L-alanine <=> acetyl-CoA + alanine
ENSG00000161653
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation. The gene ENSG00000161653 is annotated to play a role in the regulation of ureagenesis by producing N-acetylglutamate (NAG), which modulates carbamoylphosphate synthase I (CPS1) activity. Its catalytic activity involves the conversion of acetyl-CoA and L-glutamate to CoA, H+, and N-acetyl-L-glutamate. However, the provided reaction involves CoA, H+, and N-acetyl-L-alanine converting to acetyl-CoA and alanine, which does not match the substrate and product specificity of the gene's function or catalytic activity described.
No

ENSG00000111237
Q9UBQ0
MAR03843: 3-phosphoserine + H2O --> Pi + serine
ENSG00000111237 or ENSG00000146733
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000111237 is involved in processes such as cargo protein trafficking, endosome-to-plasma membrane transport, and retrieval and recycling of transmembrane proteins within the cell, as mediated by various retromer and retriever complexes. However, the reaction specified, which involves the conversion of 3-phosphoserine to serine and inorganic phosphate, is a biochemical reaction likely catalyzed by a phosphatase, not related to the functions described for ENSG00000111237.
No

ENSG00000137106
Q9UBQ7
MAR03856: H+ + methylglyoxal + NADH --> D-lactaldehyde + NAD+
ENSG00000137106
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000137106 encodes an enzyme with hydroxy-pyruvate reductase, glyoxylate reductase, and D-glycerate dehydrogenase activities, which are involved in reducing hydroxypyruvate to D-glycerate, glyoxylate to glycolate, and oxidizing D-glycerate to hydroxypyruvate. However, the reaction in question involves the conversion of methylglyoxal and NADH to D-lactaldehyde and NAD+, which is not listed among the catalytic activities associated with this enzyme. Therefore, the gene and the reaction are not related.
No

ENSG00000158578
P22557
MAR03939: 2-amino-3-oxoadipate + CoA <=> glycine + succinyl-CoA
ENSG00000023330 or ENSG00000158578 or ENSG00000178773
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000158578 encodes an enzyme that catalyzes the pyridoxal 5'-phosphate (PLP)-dependent condensation of succinyl-CoA and glycine to form aminolevulinic acid (ALA), along with CoA and CO2 as by-products. This is a different reaction from the one provided, which involves the interconversion of 2-amino-3-oxoadipate and glycine with CoA and succinyl-CoA. Therefore, the gene and the reaction are not related.
No

ENSG00000188676
Q6ZQW0
MAR06924: 4-methyl-2-oxopentanoate + O2 --> beta-hydroxy-beta-methylbutyrate + CO2
ENSG00000179148 or ENSG00000179477 or ENSG00000188676
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000188676 encodes for an enzyme that catalyzes the conversion of L-tryptophan to N-formyl-L-kynurenine, which is the first and rate-limiting step in the kynurenine pathway of tryptophan catabolism. The provided reaction involves the conversion of 4-methyl-2-oxopentanoate to beta-hydroxy-beta-methylbutyrate and CO2, which is unrelated to the tryptophan metabolism pathway. Therefore, the gene does not correspond to the reaction described.
No

ENSG00000121039
Q8IZV5
MAR06925: 4-methyl-2-oxopentanoate + H+ + NADH <=> alpha-hydroxyisocaproic acid + NAD+
ENSG00000087076 or ENSG00000099377 or ENSG00000100867 or ENSG00000109854 or ENSG00000121039 or ENSG00000138400 or ENSG00000139988 or ENSG00000145439 or ENSG00000159692 or ENSG00000160439 or ENSG00000164039 or ENSG00000167733 or ENSG00000170426 or ENSG00000170786 or ENSG00000176387 or ENSG00000183921 or ENSG00000184860 or ENSG00000186153 or ENSG00000187134 or ENSG00000197894 or ENSG00000198074 or ENSG00000198189 or ENSG00000198610 or ENSG00000204228 or ENSG00000227471 or ENSG00000240857
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000121039 encodes for a retinol dehydrogenase enzyme that specifically catalyzes the conversion of all-trans-retinol to all-trans-retinal utilizing NADP+. The reaction described involves the conversion of 4-methyl-2-oxopentanoate and NADH to alpha-hydroxyisocaproic acid and NAD+, which is a completely different substrate and cofactor system. Hence, the gene's annotated function is unrelated to the reaction given.
No

ENSG00000240857
Q9HBH5
MAR06925: 4-methyl-2-oxopentanoate + H+ + NADH <=> alpha-hydroxyisocaproic acid + NAD+
ENSG00000087076 or ENSG00000099377 or ENSG00000100867 or ENSG00000109854 or ENSG00000121039 or ENSG00000138400 or ENSG00000139988 or ENSG00000145439 or ENSG00000159692 or ENSG00000160439 or ENSG00000164039 or ENSG00000167733 or ENSG00000170426 or ENSG00000170786 or ENSG00000176387 or ENSG00000183921 or ENSG00000184860 or ENSG00000186153 or ENSG00000187134 or ENSG00000197894 or ENSG00000198074 or ENSG00000198189 or ENSG00000198610 or ENSG00000204228 or ENSG00000227471 or ENSG00000240857
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000240857 encodes for a retinol dehydrogenase, which catalyzes reactions involving the conversion of various forms of retinol to retinals with a preference for NADP as a cofactor, as evidenced by the specific reactions listed towards different retinol isomers. The reactions catalyzed involve substrates like all-trans-retinol, 9-cis-retinol, and 11-cis-retinol. In contrast, the provided reaction involves the conversion of 4-methyl-2-oxopentanoate with NADH to alpha-hydroxyisocaproic acid, a type of reaction that does not involve retinol or its derivatives and uses NADH instead of NADP. Therefore, the gene's annotated function and catalytic activities do not correlate with the provided reaction.
No

ENSG00000160439
Q8NBN7
MAR06925: 4-methyl-2-oxopentanoate + H+ + NADH <=> alpha-hydroxyisocaproic acid + NAD+
ENSG00000087076 or ENSG00000099377 or ENSG00000100867 or ENSG00000109854 or ENSG00000121039 or ENSG00000138400 or ENSG00000139988 or ENSG00000145439 or ENSG00000159692 or ENSG00000160439 or ENSG00000164039 or ENSG00000167733 or ENSG00000170426 or ENSG00000170786 or ENSG00000176387 or ENSG00000183921 or ENSG00000184860 or ENSG00000186153 or ENSG00000187134 or ENSG00000197894 or ENSG00000198074 or ENSG00000198189 or ENSG00000198610 or ENSG00000204228 or ENSG00000227471 or ENSG00000240857
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation. The gene ENSG00000160439 encodes a retinol dehydrogenase enzyme that specifically oxidizes all-trans-retinol and reduces all-trans-retinal with a clear preference for NADP, and has no activity toward steroids. However, the reaction provided involves the conversion of 4-methyl-2-oxopentanoate and NADH to alpha-hydroxyisocaproic acid and NAD+, which does not involve retinol or retinal and uses NADH instead of NADP. Therefore, the gene and the provided reaction are not related.
No

ENSG00000176387
P80365
MAR06925: 4-methyl-2-oxopentanoate + H+ + NADH <=> alpha-hydroxyisocaproic acid + NAD+
ENSG00000087076 or ENSG00000099377 or ENSG00000100867 or ENSG00000109854 or ENSG00000121039 or ENSG00000138400 or ENSG00000139988 or ENSG00000145439 or ENSG00000159692 or ENSG00000160439 or ENSG00000164039 or ENSG00000167733 or ENSG00000170426 or ENSG00000170786 or ENSG00000176387 or ENSG00000183921 or ENSG00000184860 or ENSG00000186153 or ENSG00000187134 or ENSG00000197894 or ENSG00000198074 or ENSG00000198189 or ENSG00000198610 or ENSG00000204228 or ENSG00000227471 or ENSG00000240857
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation. The gene ENSG00000176387 encodes an enzyme that catalyzes the conversion of 11beta-hydroxyglucocorticoids and 11beta-hydroxyandrogens into their respective 11-oxosteroids in the presence of NAD(+), specifically involved in the metabolism of cortisol, corticosterone, and androgens like testosterone. However, the reaction provided involves the conversion of 4-methyl-2-oxopentanoate to alpha-hydroxyisocaproic acid with NADH and NAD+ participation, which is not mentioned in the catalytic activities or functions attributed to the gene ENSG00000176387. Thus, the gene's annotated activities do not relate to the specified reaction.
No

ENSG00000139988
Q96NR8
MAR06925: 4-methyl-2-oxopentanoate + H+ + NADH <=> alpha-hydroxyisocaproic acid + NAD+
ENSG00000087076 or ENSG00000099377 or ENSG00000100867 or ENSG00000109854 or ENSG00000121039 or ENSG00000138400 or ENSG00000139988 or ENSG00000145439 or ENSG00000159692 or ENSG00000160439 or ENSG00000164039 or ENSG00000167733 or ENSG00000170426 or ENSG00000170786 or ENSG00000176387 or ENSG00000183921 or ENSG00000184860 or ENSG00000186153 or ENSG00000187134 or ENSG00000197894 or ENSG00000198074 or ENSG00000198189 or ENSG00000198610 or ENSG00000204228 or ENSG00000227471 or ENSG00000240857
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000139988 encodes for a retinoid dehydrogenase/reductase enzyme that specifically uses NADP as a cofactor and predominantly catalyzes the oxidation and reduction of various forms of retinal and lipid peroxidation products. The provided reaction involves the conversion of 4-methyl-2-oxopentanoate to alpha-hydroxyisocaproic acid using NADH, not NADP. Additionally, the enzyme described in the gene function does not exhibit activity towards the substrates involved in the provided reaction.
No

ENSG00000087076
Q9BPX1
MAR06925: 4-methyl-2-oxopentanoate + H+ + NADH <=> alpha-hydroxyisocaproic acid + NAD+
ENSG00000087076 or ENSG00000099377 or ENSG00000100867 or ENSG00000109854 or ENSG00000121039 or ENSG00000138400 or ENSG00000139988 or ENSG00000145439 or ENSG00000159692 or ENSG00000160439 or ENSG00000164039 or ENSG00000167733 or ENSG00000170426 or ENSG00000170786 or ENSG00000176387 or ENSG00000183921 or ENSG00000184860 or ENSG00000186153 or ENSG00000187134 or ENSG00000197894 or ENSG00000198074 or ENSG00000198189 or ENSG00000198610 or ENSG00000204228 or ENSG00000227471 or ENSG00000240857
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000087076 encodes an enzyme with NAD-dependent 17-beta-hydroxysteroid dehydrogenase activity, which primarily converts oestradiol to oestrone and acts on 5-androstene-3-beta,17-beta-diol. The reactions annotated for this enzyme involve the conversion of 17beta-estradiol to estrone and androst-5-en-3beta,17beta-diol to 3beta-hydroxyandrost-5-en-17-one. However, the reaction provided (4-methyl-2-oxopentanoate + H+ + NADH <=> alpha-hydroxyisocaproic acid + NAD+) does not involve substrates or products that are related to the catalytic activities described for the gene ENSG00000087076. Therefore, the gene is not related to the specified reaction.
No

ENSG00000198610
P17516
MAR06925: 4-methyl-2-oxopentanoate + H+ + NADH <=> alpha-hydroxyisocaproic acid + NAD+
ENSG00000087076 or ENSG00000099377 or ENSG00000100867 or ENSG00000109854 or ENSG00000121039 or ENSG00000138400 or ENSG00000139988 or ENSG00000145439 or ENSG00000159692 or ENSG00000160439 or ENSG00000164039 or ENSG00000167733 or ENSG00000170426 or ENSG00000170786 or ENSG00000176387 or ENSG00000183921 or ENSG00000184860 or ENSG00000186153 or ENSG00000187134 or ENSG00000197894 or ENSG00000198074 or ENSG00000198189 or ENSG00000198610 or ENSG00000204228 or ENSG00000227471 or ENSG00000240857
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation. The gene ENSG00000198610 encodes a cytosolic aldo-keto reductase that primarily catalyzes the NADH and NADPH-dependent reduction of various ketosteroids to hydroxysteroids. Its functions include transforming 5-alpha-dihydrotestosterone into less active forms, reducing estrone to estradiol with low efficiency, and metabolizing a broad spectrum of steroids and other substances like chlordecone. The primary reactions it catalyzes are specific to steroid metabolism and involve substrates such as 5alpha-dihydrotestosterone, estrone, progesterone, androsterone, and testosterone. In contrast, the provided reaction involves 4-methyl-2-oxopentanoate and alpha-hydroxyisocaproic acid, which are not related to the substrates or products typically acted upon by the enzyme encoded by this gene. Thus, the gene is not relevant to the reaction provided.
No

ENSG00000099377
Q9H2F3
MAR06925: 4-methyl-2-oxopentanoate + H+ + NADH <=> alpha-hydroxyisocaproic acid + NAD+
ENSG00000087076 or ENSG00000099377 or ENSG00000100867 or ENSG00000109854 or ENSG00000121039 or ENSG00000138400 or ENSG00000139988 or ENSG00000145439 or ENSG00000159692 or ENSG00000160439 or ENSG00000164039 or ENSG00000167733 or ENSG00000170426 or ENSG00000170786 or ENSG00000176387 or ENSG00000183921 or ENSG00000184860 or ENSG00000186153 or ENSG00000187134 or ENSG00000197894 or ENSG00000198074 or ENSG00000198189 or ENSG00000198610 or ENSG00000204228 or ENSG00000227471 or ENSG00000240857
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000099377 encodes an enzyme that is involved in the metabolism of specific hydroxylated sterols and does not metabolize various C(19/21) steroids. It plays a crucial role in hormonal steroid biosynthesis and bile acid synthesis. The provided reaction involves the conversion of 4-methyl-2-oxopentanoate to alpha-hydroxyisocaproic acid, which is not related to the hydroxylated sterol substrates or the catalytic activities associated with this gene. Therefore, the gene is not relevant to the reaction provided.
No

ENSG00000116882
Q9NYQ3
MAR07703: glycolate + O2 --> glyoxalate + H2O2
ENSG00000101323 or ENSG00000116882
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation. According to the function and catalytic activity annotations of the gene ENSG00000116882, the gene encodes an oxidase that specifically catalyzes the oxidation of medium and long-chain hydroxyacids such as 2-hydroxyhexadecanoate and 2-hydroxyoctanoate to the corresponding 2-oxoacids, producing H2O2 in the process. Importantly, the gene is noted to be inactive on glycolate and glyoxylate. The reaction provided involves the oxidation of glycolate to glyoxalate and does not correspond to the substrate specificity of the gene ENSG00000116882. Therefore, the gene is not relevant to this reaction.
No

ENSG00000166800
Q6ZMR3
MAR11476: 2-oxo-3-methylvalerate + H+ + NADH <=> NAD+ + 2-Hydroxy-3-Methyl-Valerate
ENSG00000111716 or ENSG00000134333 or ENSG00000166796 or ENSG00000166800 or ENSG00000166816 or ENSG00000171989
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000166800 encodes an enzyme that catalyzes the interconversion of L-lactate and pyruvate with NAD(+) as a coenzyme. However, the reaction provided involves the conversion of 2-oxo-3-methylvalerate to 2-Hydroxy-3-Methyl-Valerate using NADH, which is different from the lactate to pyruvate conversion that the gene's enzyme catalyzes. Therefore, the gene ENSG00000166800 is not relevant to the provided reaction.
No

LGTM! Please go ahead to make changes. In summary, we removed several wrongly associated genes for the reactions

Fixed by #885


sync release with main

:thread: Add timeout configuration for TGIS streaming request as an experiment
:sparkles: Add tgis req timeout as configurable parameter
:white_check_mark: Fix tgis client fixture for acceting kwargs
:art: Fix formatting
:bug::white_check_mark: Fix fixture for tgis tests
Expose model information for embeddings service
Bump lower caikit version
added logging around tgis timout config setting
Update caikit_nlp/toolkit/text_generation/tgis_utils.py
Update caikit_nlp/toolkit/text_generation/tgis_utils.py
fixed formatting
add get_route_info
lazily create model_connection and _client
lazy load model_connection and tgis client for peft
remove commented out code
Address review comments
Expand test_get_route_info
Lazily create generation client
Update minimum caikit-tgis-backend version
Add debug logs
Linting
linting
Update caikit_nlp/toolkit/text_generation/tgis_utils.py
review comments
remove unreachable code
RouteInfoFromBackend: Forward get_route_info and ROUTE_INFO_HEADER_KEY from backend
RouteInfoFromBackend: Bump caikit-tgis-backend
RouteInfoFromBackend: Bump caikit for context registration in backend
RouteInfoFromBackend: Remove unused imports

/lgtm
/approve


Regional symbols

Hi,
Firs of all I want to thank You for this plugin.
It works great but it isn't perfect I have problem with regional symbols like for example á,ü,č,ź maybe switching them to basic letters would be a good idea.

Sorry for being late to respond!
I have a local branch where I've broken out the actual interface to LCDSmartie into its own thing, where I've tried fixing this.
Part of the issue is that LCDSmartie mostly passes the text straight through to the display, and any display bought after (IIRC) 2006 has a different character set that can display Western European diacritics like Å, Ä, and Ö - but LCDSmartie doesn't let plugins know which character set is available, and also replaces 8 characters for compatibility with an old bug.
I'll let you know when I've gotten somewhere :)


APEXCORE-604 extend DAG API to get operators and streams from the DAG.

@PramodSSImmaneni  I have updated the pull request, please review


After helm uninstall spiderpool, spiderpool-init pod remains.

Spiderpool Version
latest
Bug Type
Installation Issue
Main CNI
any
What happened?
In https://github.com/spidernet-io/spiderpool/pull/3811, spiderpool-init was changed from Pod to job, and the "helm.sh/hook": post-install function was enabled. However, after the function was enabled, after the job was completed, it would not be deleted with helm uninstall because its default deletion mechanism was "helm.sh/hook-delete-policy": before-hook-creation. As a result, the uninstallation of spiderpool left residue.
What did you expect to happen?
succeed
How to reproduce it (as minimally and precisely as possible)
helm install
helm uninstall
Additional Context
No response

[root@controller-node-1 ~]# kubectl get po -n kube-system | grep spider
spiderpool-init-c76k2                       0/1     Completed   0                 39m


Help to create a custom tracker store

0.14.4:
3.6:
*windows, osx,
**Hi there, I am trying to create a Custom Tracker Store, cause i want to develoment a oracle application but i need to save the data
I have read Tracker Stores but I don’t understand the following:
How to extend the TrackerStore base class
Where to put my file that extends the TrackerStore base class
How to set the store_type in endpoints.yml to be the path to my module Class 4
Please can somebody show me examples of the above?
Many thanks
**:

Please ask these kind of questions in our forum


transferring a player to another dimension

What and How?
In the config file, user can write the name of the dimension that the player enters after losing all lives, and also in the config user can configure which gamemod the player willchange to.
lives:
The amount of lives a player starts with
default: 5
The maximum amount of lives a player can have
max: 10
The amount of lives that puts the player into spectator
min: 0
after_death:
in which dimension player will go after losing all lives
dimension: "some_name:dimension_name"
in what gamemode player will change after losing all lives
gamemode: "ADVENTURE"
Why?
Players need to be given a chance to regain their lives, if you implement what I wrote, server administrators will be able to make a map that players must pass in order to regain their lives and return to overworld (this is can be implemented by other plugins)
Are there alternatives?
I think you can implement it
Checks

[X] I have used the search at least once to check if my idea has already been suggested and perhaps already implemented.

Anything else
server administrators, if they want, will add the necessary dimension themselves through the datapack, as I did
world_limbo_dp.zip

oh! that's cool! But probably you need to make sure that these commands are played only after the player is revived, or if this is not possible, then with a delay of 2 ticks, so that the commands work with /gamerule doImmediateRespawn true

the power of artificial intelligence is not so great, the plugin compiles, but for some reason the execute command functions do not work limitedlives_LimConf_PlayList.zip
limited-lives-master2.zip

But probably you need to make sure that these commands are played only after the player is resoawn

Forgot about that, I now made it so that it will wait until they respawn, and if they leave instead of respawning, it will wait for them to rejoin (will break if the server restarts if the player is considered "dead" [in death screen or left the server instead of respawning], let me know if this causes issues and I'll fix it).

the power of artificial intelligence is not so great, the plugin compiles, but for some reason the execute command functions do not work

I'll release a new version with the updates later today (in a few hours probably).

if they leave instead of respawning, it will wait for them to rejoin

Wait, if someone leaves the server when they die (instead of clicking Respawn), when they rejoin, will they still be on the death screen, or will they automatically respawn?

no, they will be on death screen even if the leave server

even if server restarts, i tested it

no, they will be on death screen even if the leave server. So they anyway will press "Respawn"

Ok, that makes it a bit simpler then lmao, the restarting issue will still be there if the server restarts while they are on the death screen. Since I'm making it save the "dead players" in memory (which is reset when the server restarts).

ah that's ok, server admins can do /gamerule doImmediateRespawn true so it's "solve" issue. and a bit of AI code, maybe this code better, still don't execute commands
limitedlives_modified_code.zip
limited-lives-master3_compiled.zip

and a bit of AI code, maybe this code better, still don't execute commands

It's fine, I already wrote all of the code for it (as well as even more features), thanks though

Hi, so I'm also having issues with the commands executing so the update might take a little longer to update...

If you have problems with the implementation of features, my programmer friend can help, he has experience of creating plugins

IT'S WORKING, AI is a power
limited_lives_AI_rewriten.zip

In this version, I added settings depending on which the killer will take all lives, the last life, or will not take lives, in the zip file the modified code and compiled plugin limited_lives3_AI_rewriten.zip

In this version, I added settings depending on which the killer will take all lives, the last life, or will not take lives, in the zip file the modified code and compiled plugin limited_lives3_AI_rewriten.zip

I already added that (releasing in the next version), thanks though. By the way, I probably won't be using any of the AI code, because it's always poorly written, it doesn't know how to use my API or how to match my style.

oh ok, but you can still look at that code and see if it's so badly written, and tell me if it is, it's interesting for me

https://github.com/srnyx/limited-lives/commit/a1c3150409d4c45eb69f901c626d9d389401901e


simplifies is_valid_indexed_attestation a little

A bit torn, but I think I prefer to stay with the if not condition: return False pattern through the entire function


only webapi

Is it possible to provide an example of how to call a Web API from a Blazor page?

See: https://blazorhelpwebsite.com/ViewBlogPost/8


Cmdk UI improvements

Issue: #153
Completed Changes:

[x]   Up Arrow/Down Arrow should allow you to select entries, "Enter" should cause that entry to be selected
[x]  "New Circuit Module" and "Create New Circuit Module" should be aliases for "Blank Circuit Module" (likewise for other template types)

Additional Changes:

added a footer section to the cmdk dialog

cc: @seveibar

@mrudulpatil18 Remove the bun lockfile from the PR, as your changes doesn't include any dependency update. It's not needed

@mrudulpatil18 Remove the bun lockfile from the PR, as your changes doesn't include any dependency update. It's not needed

should be done now.
i hope i didn't mess up anything else in the process..


custom_time_between DST counting problems

Tested with custom_time_between, but most probably for other functions as well.
If you use the defaults like
{% from 'easy_time.jinja' import custom_time_between %}
{{ custom_time_between("2025-04-07", today_at('00:00'), 'week, day',
language='de')|replace('Tagen', 'Tage') }}

you get a wrong count, because target is in DST timezone. here e.g. 14 weeks = wrong
instead of setting hours and force UTC for both like this
{% from 'easy_time.jinja' import custom_time_between %}
{{ custom_time_between("2025-04-07 00:00:00", today_at('00:00'), 'week, day',
language='de', utc1=True, utc2=True)|replace('Tagen', 'Tage') }}

where you get 14 weeks and 1 day = correct
Because/Result: two dates have the same custom_time_between
{% from 'easy_time.jinja' import custom_time_between %}
{{ custom_time_between("2025-03-30", today_at('00:00'), 'week, day', language='de')|replace('Tagen', 'Tage') }}
{{ custom_time_between("2025-03-31", today_at('00:00'), 'week, day', language='de')|replace('Tagen', 'Tage') }}
{{ custom_time_between("2025-04-01", today_at('00:00'), 'week, day', language='de')|replace('Tagen', 'Tage') }}

fixed in 21.1.2


add Data field for ConnectEvent

add Data field for ConnectEvent,Used to get the server return data.

Thanks a lot! Will try to do new release during this weekend.

@larry-dev released as 0.0.4

@FZambia Thanks


feat(rtc_interface): lock command update

Signed-off-by: Fumiya Watanabe<EMAIL_ADDRESS>Description

Related links

Tests performed

Notes for reviewers

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@rej55 @tkimura4 The function worked without any problems in the actual vehicle test. Could you run evaluator with this branch at once?


Address SaaS tooling in the absence of real consensus

Something that is becoming increasingly clear is the SaaS vendors selling SBOM insight views on their "platforms."  I won't begin naming names just yet.
Given the maturity of this repo and effort, I say that a fee-based solution is a route to a misleading industry sector simply doing the same type of research. While it is true they took the time to play with the CSS and HTML to map data fields in the CycloneDX and SPDX specifications, the end users have no clue what comprehensive is when it comes to the various SBOM 'perspectives', and the vendors do not truly relay the caveats to the data that is provided.
I think there will be an inevitable need to open source the capabilities of the most robust paid option we discover; we need to ensure that there is never a financial barrier to gain equal insight if one is willing to do the additional work of setting up an open source solution and self-host.

One way to combat this is with data. The BOM Mature Model coming out of the OWASP SCVS project will likely help. Once the model is published, the community will be able to build tools which can evaluate BOM output from SBOM suppliers (or anyone else) to determine what the BOM can be used for and create automatic policy around it. It can also aid in purchasing decisions when evaluating vendors that claim to support SBOM for various use cases.
Also, for clarification... When you're referring to "SaaS", are you referring to SaaSBOMs (which only CycloneDX supports) or are you referring to traditional SBOMs being supported by a SaaS provider?

I think a SaasBOM is out of scope for this project.
We should focus on the traditional SBOM provided by a SaaS provider


Logrotate source

Description
This pr adds a new source to fix #1159. There is no support for compressed files, and it requires logrotate to keep files in lexicographic order, which is not the default configuration for logrotate, but can be enabled by setting dateext. It's the default for some other systems like log4j RollingFile, provided no more than 10 file are generated over a give period, usually a day (after 10 files, files are no longer in lexicographic order as 1 < 10 < 2, 10 won't be processed if 2 is already processed itself).
Todo: add some documentation to docs/reference/source-config.md
How was this PR tested?
This pr was tested by simulating log rotation, and with unit tests.
simulation description
export PATH="$PATH":../quickwit/target/debug
export QW_CONFIG=quickwit.yaml
export RUST_LOG=info

rm -r qwdata/
mkdir qwdata

quickwit index create --index-config ./wikipedia_index_config.yaml #

quickwit run --config=quickwit.yaml

# add entries to files with echo >>, and wait for quickwit_indexing::actors::indexing_server::IndexingServer
# to say in logs it indexed something, then verify things where indexed properly with
quickwit source describe --index wikipedia --source my-source-id
quickwit index search --index wikipedia --config=quickwit.yaml --query "teststring"

wikipedia_index_config.yaml:
#
# Index config file for wikipedia dataset.
#

version: 0

index_id: wikipedia

doc_mapping:
  field_mappings:
    - name: title
      type: text
      tokenizer: default
      record: position
      stored: true
    - name: body
      type: text
      tokenizer: default
      record: position
      stored: true
    - name: url
      type: text
      tokenizer: raw

search_settings:
  default_search_fields: [title, body]

sources:
  - source_id: my-source-id
    source_type: logrotate
    params:
      current_file: /tmp/datasets/log/latest.json
      name_pattern: rotated.*.json

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Inheritance of DBContext, error writing, causes visual studio compilation to generate errors too much

After inheriting the DbContext, add the constructor, and I know it's not right to add this.But the compiled error message can cause a lot of 421 errors.
The added code is as follows:
public UmsContext(DbContextOptions options) : base(options) {}
Exception message:

Code:
    public class UmsContext : DbContext
    {
        public UmsContext(DbContextOptions options) : base(options)
        {
        }

        public int TenantId { get; set; }

        public DbSet<UserEntity> User { get; set; }

        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            var config = new ConfigurationBuilder()
                .SetBasePath(Directory.GetCurrentDirectory())
                .AddJsonFile("appsettings.json")
                .Build();

            // define the database to use
            optionsBuilder.UseSqlServer(config.GetConnectionString("DefaultConnection"));

        }

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            modelBuilder.AddEntityConfigurationsFromAssembly(GetType().Assembly);
        }
    }

Further technical details
EF Core version: (found in project.csproj or packages.config)
Database Provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer)
Operating system:
IDE: (e.g. Visual Studio 2017 15.3.1)

None of the error in screenshot indicates there is error in EF Core code or C# code either. Like the first 4 errors in the image is showing incorrect JS file. Please find details of any EF related compilation error if any.

@smitpatel
The error reported was index.d.s and nodejs, but they were not used in the project.When I add it
”public UmsContext（DbContextOptions options）：base（options）{}“  error。
Get rid of all normal

@leehavin - Share repro code which demonstrate what you are seeing. Again there is no visible C# error here.

EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it.
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.


Issues with eslint checker for json files.

Firstly, thanks for syntastic. Secondly, thanks for your patience as I'm aware that you've dealt with these issues forever (re: eslint and pathing).
I've gone through virtually every eslint related issue already on github, to no avail. Also know that I have eslint configured and working successfully in a nearly identical fashion for javascript files. My issue is solely with json files.
configuration:
au VimEnter * let g:syntastic_json_eslint_exe = "npx --no-install eslint"
au VimEnter * let g:syntastic_javascript_eslint_exe = "npx --no-install eslint"

au VimEnter * let g:syntastic_json_checkers = [ 'eslint' ]

au VimEnter * let g:syntastic_javascript_checkers = [ 'eslint' ]

:SyntasticInfo
Syntastic version: 3.8.0-63 (Vim 800, Darwin)
Info for filetype: json
Global mode: active
Filetype json is active
The current file will be checked automatically
Available checker: jsonlint
Currently enabled checkers: -
syntastic: 3.220182: &shell = '/usr/local/bin/bash', &shellcmdflag = '-c', &shellpipe = '2>&1| tee', &shellquote = '', &shellredir = '>%s 2>&1', &shell
temp = 1, &shellxquote = '', &autochdir = 0, &shellxescape = ''

debug output from running SyntasticCheck in a json file:
syntastic: 76.129021: g:syntastic_version = '3.8.0-63 (Vim 800, Darwin)'
syntastic: 76.129197: &shell = '/usr/local/bin/bash', &shellcmdflag = '-c', &shellpipe = '2>&1| tee', &shellquote = '', &shellredir = '>%s 2>&1', &shel
ltemp = 1, &shellxquote = '', &autochdir = 0, &shellxescape = ''
syntastic: 76.129599: UpdateErrors: default checkers
syntastic: 76.129986: CacheErrors: default checkers
syntastic: 76.130775: g:syntastic_aggregate_errors = 0
syntastic: 76.131123: $TERM = 'xterm-256color'
syntastic: 76.131274: $TMPDIR = '/var/folders/sv/3941ksds4v18r9y1kyptw1jw0000gn/T/'
syntastic: 76.131449: $PATH = '/usr/local/var/rbenv/shims:/usr/local/var/nodenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt
/X11/bin:/usr/local/MacGPG2/bin:/usr/local/share/git-core/contrib/workdir'
syntastic: 76.131703: getcwd() = '/Users/jasonkarns/Projects/shutterstock/analytics-schema'
syntastic: 76.132489: CacheErrors: no checkers available for json

closing since (as discovered in other threads) i'm probably just going to switch to ALE. (not intending this as a diss to @lcd047 but just an FYI for anyone wondering why i closed this so quickly)

There is no eslint checker for json in syntastic.  However, with recent versions of syntastic you can run eslint for javascript against any file, like this:
:SyntasticCheck javascript/eslint

You can also add that to json_checkers:
let g:syntastic_json_checkers = ['javascript/eslint']

This is described in the manual (cf. :h :SyntasticCheck).
The options that apply are also those from javascript, so you probably also want something like this:
let g:syntastic_json_eslint_exe = 'npx --no-install eslint'

On a side note: you really should avoid autocmds whenever you can, for many reasons.  Something like au VimEnter * let ... is harmless (other autocmds aren't), but pointless.

i'm probably just going to switch to ALE

Of course, that works even better.

On a side note: you really should avoid autocmds whenever you can, for many reasons.

Yeah, though my configuration posted above is set in project-local .vimrc files, not the global one. And I needed those variable settings to override the ones that were set by global "/after/plugin" configs. But since the project-specific configs run before the global /after/plugin configs, they were getting overwritten. :(
Anyway, thanks for the tips. I'll at least have a way to use eslint for json when I'm on non vim8 machines!
Thanks again.


Prepare v1.6.1: Update CHANGELOG

Motivation
Add information of changes since v1.6.0.
Description
Only CHANGELOG was updated.
Test Plan
n/a
TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[x] Update documentation as needed
[x] Update changelog as needed

bors merge


Key hold down time for key remap.

Summary of the new feature/enhancement
I remap Caps Lock key to shift, but sometimes i need Caps Lock. It will be nice if i can remap  both ”Caps Lock"->"Shift" & "Caps Lock + hold down 1 secoonds“ -> "Caps Lock".

Proposed technical implementation details (optional)

actually, going to dup this against #5679 while this is newer, that has a bit more comments


[Tracking issue] Website/documentation overhaul

Our documentation has many areas which need improvement. In no particular order, following is a list of (some of) them/their solutions:

[x] Tutorial should be more visible. A button in a nav bar would do the job. (use swizzling to make the button respond to current version) - https://github.com/yewstack/yew/pull/2391
[ ] Hide version drop down on home page (needs swizzling, as far as i'm aware)
[x] Introduction pages should be category links (https://docusaurus.io/docs/sidebar#category-link) - https://github.com/yewstack/yew/pull/2321
[x] Read through getting started documentation and remove duplication - https://github.com/yewstack/yew/pull/2321
[ ] Collapsible code blocks to have the entire code there and be tested (https://github.com/facebook/docusaurus/pull/5783)
[x] Reorganize (where needed). New React docs are a good inspiration for this - https://github.com/yewstack/yew/pull/2321
[ ] Use multi-docs for router docs (https://docusaurus.io/docs/docs-multi-instance) reconsider this because of versioning
[x] Add a blog. Even if there won't be frequent posts, a blog post for release sounds good to have. - https://github.com/yewstack/yew/pull/2391
[x] https://github.com/yewstack/yew/issues/2383
[x] https://github.com/yewstack/yew/issues/2503
[ ] #2322
[ ] Fix up confusing/lacking documentation:

[ ] #2197, #905
[x] #2189
[x] #2180
[x] #1843
[x] #2376
[x] #2385
[x] #2386

Woah new react docs really look awesome!

@hamza1311 I think we need a checkbox for making variations for 2 different flavors of creating components

@hamza1311 I think we need a checkbox for making variations for 2 different flavors of creating components everywhere Preferably function components flavor shown on render

@voidpumpkin, shouldn't we be removing struct components from docs as per #2282?

@hamza1311 Oh i misunderstood that discussion completely then. Yes I'm up with removing struct components from docs (maybe just leaving a small section to cover their specifics).

Those new react docs look so good i almost want to just copy paste everything :D
But i think I'm not allowed, its very vague :( https://github.com/reactjs/reactjs.org/blob/main/LICENSE-DOCS.md

I saw that a blog was added with a placeholder post.
Could the project keep incomplete pages off of the official site until they're ready for publication?
Perhaps there can be a staging site or a test directory for posts to be worked on.

I saw that a blog was added with a placeholder post.
Could the project keep incomplete pages off of the official site until they're ready for publication?
Perhaps there can be a staging site or a test directory for posts to be worked on.

I don't think that was considered a placeholder post. We already have separate environments for PRs so I'm not sure whether we really need a persistent staging site.

We need a task to investigate/make run docs tests in wasm target as currently we cant have wasm_bindgen stuff inside code snippets.

I been 3 days looking for example nginx configs specially to doublecheck mine and see if I need to change anything since I do not want to run yew with its own webserver when nginx is capable of this for a frontend app, only the backend should be listening to a different port like :8000 https://github.com/yewstack/yew/issues/2376#issuecomment-1650603566


[BUG] <无跨域配置>

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior

Expected Behavior
后台应能配置cors白名单
Steps To Reproduce
No response
Environment
HertzBeat version(s):

Debug logs
No response
Anything else?
No response

收到🫡

done, fix by PR #338


Labeling symbol name in plot_gene_trajectory_3d

Hi,
Thank you very much for developing this amazing tools. I am new to python and I have a quick question. If there is a way to label symbol  name in the figure generated in plot_gene_trajectory_3d? And if there is a way to extract the genes information from each trajectory? Thank you very much!

Hi, thank you very much for your help! These codes work perfectly! I have another question about the function add genes bin score. As alra doesn't have package in Python, can I use 'counts' layer in this case instead of 'alra'? Thank you very much!


An error occurred when trying to connect.

Please describe what you were doing when this error happened.
Specifications

OS: win32
IPFS Desktop Version: 0.8.0
Electron Version: 5.0.2
Chrome Version: 73.0.3683.121

Error
Error: spawn powershell.exe ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:246:19)
    at onErrorNT (internal/child_process.js:429:16)
    at processTicksAndRejections (internal/process/task_queues.js:81:17)

Which version of Windows do you have? How come you don't have powershell on your system?

Anyway and just to make sure: that error does not prevent the execution, right?

@hacdias , yeah. It didn't prevent execution.

Also, could you see my previous comment, please?

@hacdias ,os: windows 10, of course I have powershell.

Is it on the PATH? I haven't been able to reproduce this on any Windows 10 machine I've tried on...

Is it on the PATH? I haven't been able to reproduce this on any Windows 10 machine I've tried on...

Currently I'm in Manjaro, I'm replying soon after checking my PATH.

Anyhow, just to let more information here:

By default we add ipfs to the PATH if it not exists. For that, on Windows, we use PowerShell.
I will hide this error when it's caused by an automatic action. If the user decides to check this option on the settings and it fails, they'll get an error message. Otherwise, it will fail silently.

Is it on the PATH? I haven't been able to reproduce this on any Windows 10 machine I've tried on...

Currently I'm in Manjaro, I'm replying soon after checking my PATH.

Found it! Actually,  C:\Windows\System32 is not in my PATH.

Anyhow, just to let more information here:

By default we add ipfs to the PATH if it not exists. For that, on Windows, we use PowerShell.
I will hide this error when it's caused by an automatic action. If the user decides to check this option on the settings and it fails, they'll get an error message. Otherwise, it will fail silently.

Idea(2) is good. It'll not gather useless bug reports.

Found it! Actually, C:\Windows\System32 is not in my PATH.

It's a bit odd not to have C:\Windows\System32 though. I don't know why that might have happened. Perhaps a corrupt PATH.

Idea(2) is good. It'll not gather useless bug reports.

That's what I'll do 😃

Found it! Actually, C:\Windows\System32 is not in my PATH.

It's a bit odd not to have C:\Windows\System32 though. I don't know why that might have happened. Perhaps a corrupt PATH.

Idea(2) is good. It'll not gather useless bug reports.

That's what I'll do 😃

Mistakenly I've cleared PATH from my system a week ago. Then rewrote the path. But I didn't notice that system32 was missing from there.


[release/1.1 backport] travis configuration updates

backports of;

https://github.com/containerd/containerd/pull/2307/commits/29c76b13d6e0e8d25dadd4bc7b1c9ae0d145b0d0 travis: update criu to 3.7 (taken from https://github.com/containerd/containerd/pull/2307)
https://github.com/containerd/containerd/pull/2437 Remove Go version check in travis
https://github.com/containerd/containerd/pull/2517 Fix loss of CRI test failure status in CI
https://github.com/containerd/containerd/pull/2651 Remove setup steps unnecessary when travis runs on darwin
https://github.com/containerd/containerd/pull/2716/commits/bd93a66fc2c6c905c8b03237a74bbf234035942e Use common project repo copies of travis scripts  (taken from https://github.com/containerd/containerd/pull/2716)
https://github.com/containerd/containerd/pull/3040 Update travis to xenial worker

LGTM
But is there something wrong with the change or is Travis having issues?

But is there something wrong with the change or is Travis having issues?

hmm.... good one; I see one job is "cancelled" for some reason (not failed). My previous PR took a very long time before it got scheduled, so perhaps there's something with travis?
Disclaimer: I can't exclude that there's something with my changes (e.g. if the CRIU bump wasn't good for this branch), so let's make sure it does a full run of CI 👍

hm.. is this a known issue, or introduced by my changes?
Test Suite Failed
--- FAIL: TestCRISuite (0.28s)
    cri_test.go:122: Failed to run tests in paralllel: exit status 1
FAIL

time="2019-04-02T04:07:31Z" level=info msg="Start snapshots syncer"
time="2019-04-02T04:07:31Z" level=info msg="Start streaming server"
time="2019-04-02T04:07:31Z" level=error msg="Failed to start streaming server" error="listen tcp <IP_ADDRESS>:10010: bind: address already in use"
time="2019-04-02T04:07:31Z" level=info msg="Stop CRI service"
time="2019-04-02T04:07:31Z" level=info msg="Event monitor stopped"
time="2019-04-02T04:07:31Z" level=info msg="Stream server stopped"
time="2019-04-02T04:07:31Z" level=fatal msg="Failed to run CRI service" error="stream server error: listen tcp <IP_ADDRESS>:10010: bind: address already in use"

Looks indeed unrelated https://github.com/containerd/containerd/pull/2577#issuecomment-415845035
I'm a bit confused though, as I'm not able to find that file, nor the test (TestCRISuite)

Ah found it; https://github.com/haircommander/cri-tools/blob/e39282439e5469b0502d2abf41c35cff4f9cb493/cmd/critest/cri_test.go#L125-L142

Looks like @Random-Liu had a PR to fix parallel tests https://github.com/kubernetes-sigs/cri-tools/pull/273. Looks like that's already included in this branch though; https://github.com/kubernetes-sigs/cri-tools/blame/v1.0.0-beta.1/pkg/framework/util.go#L66-L71

I think you are getting caught by the StreamServer* settings that changed in the CRI plugin:
release/1.1:
./vendor/github.com/containerd/cri/pkg/config/config.go:139:            StreamServerAddress:     "",
./vendor/github.com/containerd/cri/pkg/config/config.go:140:            StreamServerPort:        "10010",

master:
./vendor/github.com/containerd/cri/pkg/config/config.go:197:            StreamServerAddress: "<IP_ADDRESS>",
./vendor/github.com/containerd/cri/pkg/config/config.go:198:            StreamServerPort:    "0",

It could be that by changing the underlying Ubuntu release in the Travis config, there is now a service actually listening on 10010 that didn't exist in the older Ubuntu image? I don't believe you are hitting any issue with parallel containerd runs, as the containerd socket already in use would be hit before the CRI streaming server issue, which is what the latest Travis run shows:
time="2019-04-02T04:05:27Z" level=info msg="Start streaming server"
time="2019-04-02T04:05:27Z" level=error msg="Failed to start streaming server" error="listen tcp <IP_ADDRESS>:10010: bind: address already in use"
time="2019-04-02T04:05:27Z" level=info msg="Stop CRI service"

Hm. Good call; wasn't that actually a bug / undesired situation (the stream server being enabled by default instead of opt-in?). Wondering if that change would have to be backported to 1.1

Hm... change was in moby; https://github.com/moby/moby/pull/37519, let me dig further what was discussed in containerd

Change in containerd/cri was https://github.com/containerd/cri/pull/858
@Random-Liu do you think that should be backported to the containerd/cri 1.1 branch, or would that be a breaking change?

any update here? @thaJeztah and @Random-Liu

Going to close this for now until we figureout if we are going to backport cri changes or not


Required options do not throw error

Regression of https://github.com/dthree/vorpal/issues/60
Broken on 1.10.0, 1.11.0 and 1.12.0
Confirmed working on 1.9.0

@toddpi314 Do you have a simple example of this occurring?

Hi, here what I ve found.
vorpal     .command('createUser')     .option('--email <email>', 'Email for new user. Must be unique')     .action(function (args, callback) {         const { email } = args;         this.log('Success !!!', email, canAccessKeystone);         callback();     });
In the code above I say, that email option is required, but in console I can just write command 'createUser' and it don't throw any error. I find, that is failed when I pass option without value. For me it work a little bit strange.


popover does not hide when I click outside

I try to use mdl-popover.
When the popover is shown it does not hide when I click outside the popover area.
(only when I explicit call the toggle method)

@tb please have a look.

It works for me.
@maku, is it possible possible that some component that wrap popover does $event.stopPropagation(); and click never gets down to this callback?

@tb can it be related to the fact that global listeners are not removed on ngOnDestroy somehow?

Please see https://github.com/mseemann/angular2-mdl-ext/pull/29
I added test for popup hide and ngOnDestroy global listeners remove @nikoTM mentioned.

@tb it seems the problem depends on the change detection mechanism. When I remove changeDetection: ChangeDetectionStrategy.OnPush also the hiding works...


Update readme with more interlocks (e.g. CoSAI)

@mihaimaruseac I think it would be helpful to include the meeting update interlocks on the read me with how we think we complement each other. This may be something we do over time, but at a minimum I think we should get the CoSAI stuff added (@camaleon2016). Maybe a topic to define in our next in person meeting, or we start a PR and collaborate on it asynch?

This is a good idea, thank you. We can start with a PR now and update during the next meeting to make sure we didn't miss anything.

Additionally, we should update our MVSR, and the roadmap items we'd like to accomplish this year. One of the outcomes the Governing Board may seek during the November board meeting is publishing an updated MVSR. We may want AIML WG roadmap items to be upleveled to the OpenSSF MVSR.

Closed by #24. I added a link to the spreadsheet that lists all interlocks and only summaries for a few of them


arm64/xen: EWAOL integration

xen/arm64 for meta-leda in preparation for the upcoming BCX'22 hackathon.
This is hitherto unvalidated and therefore marked as a draft, but should hopefully act as an idea for integration.
See https://github.com/benmordaunt/sdv-hackathon-cfg3/tree/v0.2 for the parent stack.
Signed-off-by: Benjamin Mordaunt<EMAIL_ADDRESS>

Closing. Do not merge.


use aHash instead of FxHash

Signed-off-by: mak<EMAIL_ADDRESS>
#6183
What have you changed?
use aHash instead of FxHash
What is the type of the changes?
Improvement (a change which is an improvement to an existing feature)
How is the PR tested?
Please select the tests that you ran to verify your changes:

Unit test

Does this PR affect documentation (docs) or should it be mentioned in the release notes?
No. It should not change the behavior.
Does this PR affect tidb-ansible?
No

/bench +tpch +sysbench +tpcc

/bench

test failed, how can i fix it? Is there anything else affected? :(

@MaiCw4J You need to change the test suite of batch::executors::slow_hash_aggr_executor::tests::test_it_works_integration, because it depends on the hash algorithm. When hash algorithm changes, the result is changed.

@MaiCw4J You need to change the test suite of batch::executors::slow_hash_aggr_executor::tests::test_it_works_integration, because it depends on the hash algorithm. When hash algorithm changes, the result is changed.

i got it, thx

When it is available aHash takes advantage of the hardware AES instruction on X86 processors. If it is not available it falls back on a lower quality (but still DOS resistant) algorithm based on multiplication.

seem aHash hash algorithm is indeterminacy, still need to test for hash result? or add other test case? please help me again ;-)

@MaiCw4J Looks wired.. The hash function should be deterministic..

@breeswish PTAL. Is it blocked by aHash itself?

Please fix the conflicts, thank you

Closed since no further updates.