2 identical answers

Set C Propositional Logic
Question 4/10 – it has  2 identical correct answers to question, one normal and one is the same but with one extra pair of parentheses outside of propositional expressio. they look like "~ ... V N" and "(~ ... V N)". Here ellipsis is for Propositional variable whose name I don't remember.

More details on this: Lines 300-308 in
logicola/contentOld.tsx
https://github.com/malikpiara/logicola/blob/47cce3f32a574f23ce3630ef0834b3f2999a1cc2/contentOld.tsx#L300-L308
        id: '6.25',
        prompt: 'Either not C or N',
        options: [
          { id: 0, label: '$ \\sim C \\vee N $' },
          { id: 1, label: '$ \\sim(C \\vee N) $' },
          { id: 2, label: '$ (\\sim C \\vee \\sim N) $' },
          { id: 3, label: '$ (\\sim C \\vee N) $' },
        ],
        correctId: [3],

Here options id=0 and id=3 are identical (lines 303 and 306), while as correct answer accepted only one with parentheses.

I believe this is the same issue raised in #46 by @cwgreene
Someone else mentioned it in hacker news, along with the explanation:
https://news.ycombinator.com/item?id=40319634

Found some information on the actual notation for the book. The extra () fit the notation of the system from Gensler's book apparently. There doesn't appear to be a precedence order for the connectives, except that unary not (~) doesn't need the parens, ~P and P can both standalone.
The language he uses requires the extra parentheses whenever using any of v, ^, ->, or == (and, or, implication, equivalence/iff). This is probably a reasonable thing in context because it means the expressions can be cleanly combined as written and probably avoids confusion for students. They don't have to learn a precedence order.
So if a student ever arrives at these pair of statements:
(P v Q)
R
And they use and introduction they'll get:
((P v Q) ^ R)
No ambiguity, just combine the two as written and wrap in parens.
So I'll retract my previous feedback.

I understand this can be confusing and misleading. Especially without the original context.
How would you go about addressing this? I'm open to suggestions!

this can be confusing and misleading. Especially without the original context.

Exactly, it is confusing and misleading. I as a follower of a different school in
Logic, probably one may call it the school of Mendelson, because of our lecturers
took their notation from that textbook "Introduction to Mathematical Logic" by
Elliott Mendelson, and as far as I remember it, there is no such "parehtheses
complication" there.
Meanwhile I believe this webapp can be useful for followers and students of all logic schools,
since language of mathematics is universal. One need just not complicate the things in
very special way, requiring some special notations. But achieve consistency (in
notation) and keep it.
I recall logic textbooks from mid-20th century tend to invent each their own special
extensions of universal notation -- to service niche and complicated topics.
And this is a very simple topic compared to those.

How would you go about addressing this? I'm open to suggestions!

Since you are inviting, I will suggest.
In any case it is worth to keep only one thing instead of two identical options
within the all options of the answer.
And I believe this point is absolutely must. It will eliminate most part of student confusion.
So based on that, we here have 2 options to choose from: keep the version without parentheses or keep the version with parentheses.
The reason backing the necessity of parentheses, as I see it, reading the text of
comment you provided is:
"once the student wants to combine this existing expression into some other bigger
expression in future, she surpassingly could get confused because of possible change
in operator priorities".
I believe the student should know operator precedence in any case and use of
parenthesys anyway, and if not he/she should learn that in first place.
Maybe learn that within this same app, maybe in other place.
But in these short expressions of quiz answers it does not arise the need to combine
expressions into the bigger ones.
It is not said anywhere explicitly that we need afterwards insert them into
something other. It is expected implicitly.
I would choose to keep the simpler expression, i.e. without parentheses.
"Explicit is better than implicit.
Simple is better than complex." says The Zen of Python
Here arises next question. We had 4 options and after eliminating the identical copy
it remains only 3 options. Should we add new item instead of dropped item, or just
keep the remaining 3 and that's it?
I think both options are viable. One may erase the duplicates at first. And later
insert the absent options to complement their count to 4 items.
For task of inventing the new options some ChatGPT-type can be handy for use :)

@mnba I read your answer and I'm taking time to think it through before I come back here to reply properly. Thank you again for investing your energy and mental space here!

Logicola itself reminds the learner what constitutes a well-formed formula for the question if they get it wrong. That'd be a good place to start with addressing this. Instead of just marking the answer as incorrect (red), display hint text similar to Logicola including the definition of a wff for propositional logic.

@rabuf @mnba It took me a while but here's my suggestion to address part of the issue: #66

here's my suggestion to address part of the issue: #66
Well, any solution is better than absence of it at all. Go forward and show us some solution. It is not so good to leave the users confused and let them go away just because of small incompleteness


Use Semantic Versioning 2.0

Since the begining, org.crac used 0.x.y version, with a weak rule for version to follow semver scheme.
As more projects adopting org.crac, it's proposed to use the strict Semantic Versioning.

Hearing no objections, I'm integrating this.


Add a subcommand to forge cache that cleans Etherscan cache

Component
Forge
Describe the feature you would like
Currently forge cache clean only clears RPC cache, but it would be beneficial to also be able to clear the Etherscan verification status cache.
Additional context
The Etherscan cache is stored in ~/.foundry/cache/<chain>/etherscan.
The size of the Etherscan cache should also be present in https://github.com/foundry-rs/foundry/issues/1476

Hello, can I pick this issue? If there is any  additional info I might need let me know

Hello, can I pick this issue? If there is any additional info I might need let me know

sure!
awesome, I think this should can reuse a lot of the existing code and perhaps we add an --etherscan option to target the etherscan cache

@kris524 see this commit for relevant files https://github.com/foundry-rs/foundry/commit/3dfa6e1a8bf8cc5929f40882e5871e4e89eae4b6

@kris524 You might not have those folders because they are only created if you run a test that forks from a remote chain and from a specific block.

@kris524 How's the work going?  I'm willing to take over this issue if you'd like.  Thanks!

Go ahead, I've been too busy

@bcral Each chain cache directory may have an etherscan directory that is used for caching Etherscan verifications. We just need a way to delete them per-chain (or optionally all of them)

wouldn't it be easier to store under etherscan/<chain> instead of <chain>/etherscan ?

In addition, I checked other issues, but I don't see anything about clearing cache data by chain. Something like forge cache clean <chain_name>? Did is miss this issue, or is this something to include with this one?

the already exists, the cache command accepts optional arguments (forge cache clean --help), check the cache command in cache.rs which accepts chains.

Is the desire here to be able to independently clear only the etherscan data from the ~/.foundry/cache/chain/ folder without deleting everything else?

yes

As @onbjerg mentioned in the last comment, probably a command like: forge cache clean <chain_name> --etherscan to clear a specific chain's etherscan, and something like: forge cache clean --etherscan to clear all etherscan data regardless of chain?

exactly, adding an --etherscan flag would be the best solution.
additional relevant code: is https://github.com/foundry-rs/foundry/blob/master/evm/src/trace/identifier/etherscan.rs#L31
@onbjerg perhaps we should structure the cache layout as
cache/
    - rpc/{mainnet,...}
    - etherscan/{mainnet,...}

?

Yeah that would make sense


About model RowFlowV2

I try to play rgbd video on mobile device.
The model file of RowFlowV2 is only 70kb, and I think it can be run on a mobile phone after quantization.
But, running on cpu 10900K with onnx fp16,  1x3x536x536  one frame need 50ms.
So I don't think the current model can run on a mobile phone fast.
I check the code,   RowFlowV2 use kernel_size=(1, 9), so It is must be 9?
Have you tried using kernel_size = 1x3 ？

In the previous version, large receptive field was required because the original resolution images were input into the model. I assumed 1920x1080 for the input size.
In the current version, the resolution input to the model is 392 (by default), so I think it is possible to reduce the kernel size or the number of layers.
However, the resolution can be increased by option, so there may be a problem if it is too small.
If you limit the depth resolution in your application then kernel_size=1x3 should be fine I think.


Fixed definitions for AccessTokenBuilder

Fixed definition for AccessTokenBuilder in nullable arguments
Fixed encryption arguments in AccessTokenLoader's constructor

Hi @CvekCoding
You targeted branch 2 while your development branch is on the 3.x

@flohw oh, thanks).
I will rework it

Close, see https://github.com/lexik/LexikJWTAuthenticationBundle/pull/1211


Fix canonicalization of R2-D2 (had '-swx22' on the Droid, not the Crew)

After thinking about it a bit more, I'd like to retract the Sabine commit in this PR, since I think that Boba and Kath should get -swx suffixes, and we should stop partitioning pilots by faction when determining canonicalization.
I'll officially revert once we get buy-in from the builder/listjuggler community.

Waffle time! I was misremembering the conversation, and thought we'd agreed to suffix more than we actually had.


Apple feedback service

Is there any option provided to  fetch the current list of those devices that have repeatedly reported failed-delivery attempts?
We can access the production feedback service via feedback.push.apple.com on port 2196 and the development feedback service via feedback.sandbox.push.apple.com on port 2196.

There’s no feedback service anymore with the HTTP/2 provider API. Instead you get the feedback for each individual HTTP/2 request.


Odd question marks on this page

Hello,
please clarify the meaning of the question marks on this page, after some words, for example:

and

Is the page published too early and those still need to be checked, or something else? Please clarify.
Kind regards,
Anne H., QC

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

ID: 7fa4f84e-b21f-dbe9-20ad-23ac30f51675
Version Independent ID: 80af1509-2a9a-6c20-3272-461924fb26e9
Content: Microsoft Sentinel entity types reference
Content Source: articles/sentinel/entities-reference.md
Service: microsoft-sentinel
GitHub Login: @yelevin
Microsoft Alias: yelevin

@QueryCoordinator
Thanks for your feedback! We will investigate and update as appropriate.

@QueryCoordinator @SaibabaBalapur-MSFT The answer is literally on the same page.

#please-close

[like]  Finnish_moderator reacted to your message:

From: Yechiel Levin @.>
Sent: Tuesday, November 7, 2023 6:49:56 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Finnish_moderator @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Odd question marks on this page (Issue #116833)
@QueryCoordinatorhttps://github.com/QueryCoordinator @SaibabaBalapur-MSFThttps://github.com/SaibabaBalapur-MSFT The answer is literally on the same page.
[image]https://user-images.githubusercontent.com/61194355/281149395-d15c85ec-5720-4686-afa9-38beccf1370f.png
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/116833#issuecomment-1799536802, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5TEL252QLKDWPVPQCP7V73YDJ7FJAVCNFSM6AAAAAA7BCCOCWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJZGUZTMOBQGI.
You are receiving this because you were mentioned.Message ID: @.***>


Update constants.js

Not sure why, but i found a handful of scripts with this separate value for function disabled. Most of my scripts use your value, but in my code I setup a failback when doing a lookup and had ~10 scripts using this value to denote a disabled function

It could possibly be a bitflag instead of a simple ID, what OS filter is applied on those function steps?

function disabled
Perhaps they had an OS filter before disabling? I can test

that's what it is. The script retains the OS filter history when disabling a function

negative OSLimit value implies function is disabled
add<PHONE_NUMBER> to get the positive value that correspond with the OS before disabling the function


Remove optional require net-http-pipeline from vendored net-http-persistent.

What was the end-user problem that led to this PR?
See issue https://github.com/bundler/bundler/issues/7521.
What was your diagnosis of the problem?
My diagnosis was If you have net-http-pipeline gem installed bundler loads it and you can't vendor it.
What is your fix for the problem, implemented in this PR?
My fix is remove the optional require of net-http-pipeline.
Why did you choose this fix out of the possible options?
I chose this fix because was a recommendation in the issue by @deivid-rodriguez
Fixes #7521.

Thanks for fixing this @marciotoshio! I added one spec to verify the fix and I'll release this in a few days.

@bundlerbot merge


Implement EOPatch method to load and save from AWS S3 bucket

Adds EOPatch methods to save and load from AWS S3 bucket.
Still need to improve the code and unit tests, please contribute as soon as possible.

TODO:

[ ] Improve/extend code
[ ] Make code more elegant
[ ] Make EOTasks
[ ] Unit tests

Codecov Report

Merging #163 into develop will decrease coverage by 0.52%.
The diff coverage is 8.82%.

@@             Coverage Diff             @@
##           develop     #163      +/-   ##
===========================================
- Coverage    78.61%   78.08%   -0.53%
===========================================
  Files           42       42
  Lines         4507     4541      +34
===========================================
+ Hits          3543     3546       +3
- Misses         964      995      +31

Impacted Files
Coverage Δ

core/eolearn/core/eodata.py
83.42% <8.82%> (-4.93%)
:arrow_down:

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 561b247...71c8d39. Read the comment docs.

I miss a test that I can run and also see how it was meant to be used. If a test is not there I'd have to write my own in order to properly review the code.

It's hard to make a test, since this requires some resources on the AWS bucket side to save to/load from. I don't know how to handle this.

I miss a test that I can run and also see how it was meant to be used. If a test is not there I'd have to write my own in order to properly review the code.

Added


Using the Python pulsar client with a logger can cause arbitrary/unrelated async Python functions to return None

If a logger object (any logger object) is supplied to pulsar.Client objects in Python, its presence can cause arbitrary async Python functions to return None incorrectly.
Steps to reproduce
To reproduce, run the following:
import asyncio
import logging

from pulsar import Client

async def async_func(client, rv):
    consumer = client.subscribe('sometopic', 'somesub')
    consumer.close()
    print("async returning", rv)
    return rv

if __name__ == '__main__':
    client = Client(
        service_url='pulsar://localhost:6650/',
        logger=logging.getLogger("foo")
    )
    print("returned:", asyncio.run(async_func(client, "bar")))

Test setup
Python: 3.9
OS: MacOS 10.11
Arch: x86_64
Pulsar broker: 2.8.0 standalone, running locally
Client: 2.8.0.post0
Pathology/root cause
This appears to be due to a Boost-python issue (and, in my opinion, a pretty bad one) I found while trying to track down this behavior: https://github.com/boostorg/python/issues/374
Unless there is a way to fix that, it looks like any invocation of pulsar-client's Python logger by the C++ code can, in the right circumstances, corrupt the Python interpreter state and cause the calling async function to return None incorrectly.

Since this is a reasonably subtle and silent bug when it occurs, I suggest removing client support for a user-supplied logger.
That breaks backwards compatibility, and is not to be undertaken lightly, but the risk otherwise seems pretty significant: the bug surface is the intersection of "a custom logger is in use", "any async python function is running in my program, anywhere" and "any pulsar C++ object is destructed anywhere in the program". That's not good.

Actually, after thinking about it a bit, this may be possible for the Pulsar client to mitigate (though it still seems like a Boost problem fundamentally).
Since PyErr_Print mutates interpreter state (clears the global exception bit), calling it in the C++ python bindings is making this bug worse. Without that call, any logger interactions during C++ object destruction would still fail, and some Python internal interpreter errors would be emitted, but things would still generally work.
However, with the call to PyErr_Print, other state gets corrupted and return values get messed up.

@lbenc135 Could you help take a look?

I cannot reproduce this bug in my local env (macOS Big Sur 11.2, Boost-python 1.74). Here's my output:
async returning bar
returned: bar

I also noticed PyErr_Print is only called when exceptions are caught. Does removing the call of PyErr_Print really work?

BTW, I found https://github.com/apache/pulsar/pull/10981 might fix this issue because the Python client I used was compiled from latest master. Could you also try it?

It's weird that somehow I can reproduce this bug now, the output is
async returning bar
StopIteration: bar
returned: None
2021-08-28 19:00:00.107 ERROR [0x700004d1c000] ClientConnection:581 | [<IP_ADDRESS>:56560 -> <IP_ADDRESS>:6650] Read failed: Operation canceled

I think a temporary solution is to avoid C++ object's destructor in async functions, like
consumer = None

async def async_func(client, rv):
    global consumer # use the global variable
    consumer = client.subscribe('sometopic', 'somesub')
    consumer.close()
    print("async returning", rv)
    return rv

Does removing the call of PyErr_Print really work?

I believe so, though that only solves part of the issue. Without the call to PyErr_Print, return values aren't altered. However, the logger won't work in those situations (destruction after an async return) even without the call to PyErr_Print, as boost::python::call fails before invoking the requested function in that context.

a temporary solution is to avoid C++ object's destructor in async functions

That does indeed work. However, because the Pulsar client is heavily asynchronous, I don't think that workaround is practical. Consider a big python prorgram with lots of async code that instantiates a Pulsar client globally. Any time that client logs for any reason (not just destructors), there's a chance that the logging action happens while the interpreter is returning from an async function, in which case this bug will occur--even if the async functions running have nothing to do with Pulsar in any way. The case with a destructor is just the most reliable way to encounter this bug, not the only way.
I'm less sure about this, but I think that chance might not be as small as it sounds; it is possible that if the event loop is blocked by something (anything), pending futures whose results have not yet been consumed stay in the StopIteration-exception-pending state until a routine comes along to check on them. If that is the case, then the "coincidence" window where this bug could occur is much wider.

Yeah, I tried in my local env that removing PyErr_Print works. It's because when the LoggerWrapper is constructed in a destructor, py::call_method for logger.getEffectiveLevel failed and PyErr_Print is triggered. I'll push a PR soon.

Confirmed that #10981 does not resolve this issue. That's because the root cause is pretty broad (any time C++ code calls back into Python during a C++ destructor, not just during global finalization, the call fails--and worse, if you then call the standard "print why this failed" python utility function, it corrupts the interpreter frame).

Yeah, I just opened a PR #11840 to fix this issue, PTAL. Since the test cannot be verified in current Python2 based CI, you can verify it in your local env.

@BewareMyPower testing now.

Unfortunately I am able to reproduce the bug on your branch:
∴ python tests/benchmark/scratch.py
async returning bar
StopIteration: bar
returned: None

Additionally, in the process of debugging this issue, I found a couple more issues related to the logger argument in Python.

Annoying/potentially damages logging integrity (medium/low severity for me, unsure about others): https://github.com/apache/pulsar/issues/11845
Extremely problematic for any affected code (high severity for me, likely others too unless there is something about my installation that is very unique): https://github.com/apache/pulsar/issues/11847

I found the second issue as well. We can take a look at these two issues later.
Regarding to this issue, could you upload you code scratch.py to reproduce? In my local env, custom_logger_test.py and the code in this PR work well. Here's my code with debug level logging.
import faulthandler
import asyncio
import logging

from pulsar import Client

def test():
    client = Client(
        service_url='pulsar://localhost:6650/',
        logger=logging.getLogger("foo")
    )

    async def async_func(rv):
        consumer = client.subscribe('sometopic', 'somesub')
        consumer.close()
        print("async returning", rv)
        return rv

    print("returned:", asyncio.run(async_func("bar")))
    client.close()

if __name__ == '__main__':
    faulthandler.enable()
    logging.basicConfig(encoding='utf-8', level=logging.DEBUG)
    test()

When I ran it, the output was like
async returning bar
2021-08-31 10:10:38.706 DEBUG [0x10afd1e00] ConsumerImpl:106 | [persistent://public/default/sometopic, somesub, 0] ~ConsumerImpl
2021-08-31 10:10:38.706 DEBUG [0x10afd1e00] AckGroupingTrackerEnabled:100 | Reference to the HandlerBase is not valid.
DEBUG:foo:Ignoring timer cancelled event, code[system:89]
returned: bar

You can see there're two lines that use the default logger.
In your output, we can still see StopIteration: bar that should be printed by PyErr_Print. I didn't remove all PyErr_Print calls because I think they won't happen in some destructors. If you can provide code to reproduce, I can debug deeper for the cause.

The contents of my scratch.py were the snippet in the description of the bug.
When I run your code exactly as written, I get this output:
INFO:foo:Subscribing on Topic :sometopic
INFO:foo:Created connection for pulsar://localhost:6650/
INFO:foo:[<IP_ADDRESS>:61188 -> <IP_ADDRESS>:6650] Connected to broker
INFO:foo:[persistent://public/default/sometopic, somesub, 0] Getting connection from pool
INFO:foo:Created connection for pulsar://localhost:6650
INFO:foo:[<IP_ADDRESS>:61189 -> <IP_ADDRESS>:6650] Connected to broker through proxy. Logical broker: pulsar://localhost:6650
INFO:foo:[persistent://public/default/sometopic, somesub, 0] Created consumer on broker [<IP_ADDRESS>:61189 -> <IP_ADDRESS>:6650]
INFO:foo:[persistent://public/default/sometopic, somesub, 0] Closing consumer for topic persistent://public/default/sometopic
INFO:foo:[persistent://public/default/sometopic, somesub, 0] Closed consumer 0
async returning bar
StopIteration: bar
returned: None
INFO:foo:Closing Pulsar client
INFO:foo:[<IP_ADDRESS>:61189 -> <IP_ADDRESS>:6650] Connection closed
INFO:foo:[<IP_ADDRESS>:61188 -> <IP_ADDRESS>:6650] Connection closed

...after which the code hangs (per the other bug linked).
I'm using python 3.9.6 installed via brew, in a clean virtual environment; the only commands I've issued other than venv creation are pip install pulsar-client and pip install fastavro.

On Python 3.7.10, the bug still occurs, but I get a lot more output, which may be useful:
DEBUG:foo:Using Binary Lookup
DEBUG:asyncio:Using selector: KqueueSelector
INFO:foo:Subscribing on Topic :sometopic
INFO:foo:Created connection for pulsar://localhost:6650/
DEBUG:foo:[<none> -> pulsar://localhost:6650/] Connecting to localhost:6650
DEBUG:foo:[<none> -> pulsar://localhost:6650/] Resolved hostname localhost to <IP_ADDRESS>:6650
INFO:foo:[<IP_ADDRESS>:61246 -> <IP_ADDRESS>:6650] Connected to broker
DEBUG:foo:[<IP_ADDRESS>:61246 -> <IP_ADDRESS>:6650] Handling incoming command: CONNECTED
DEBUG:foo:Connection has max message size setting: 5242880
DEBUG:foo:Current max message size is: 5242880
DEBUG:foo:[<IP_ADDRESS>:61246 -> <IP_ADDRESS>:6650] Handling incoming command: PARTITIONED_METADATA_RESPONSE
DEBUG:foo:[<IP_ADDRESS>:61246 -> <IP_ADDRESS>:6650] Received partition-metadata response from server. req_id: 1
DEBUG:foo:PartitionMetadataLookup response for persistent://public/default/sometopic, lookup-broker-url
DEBUG:foo:BatchAcknowledgementTracker for [persistent://public/default/sometopic, somesub, 0] Constructed BatchAcknowledgementTracker
DEBUG:foo:Created negative ack tracker with delay: 60000 ms - Timer interval: 00:00:20
INFO:foo:[persistent://public/default/sometopic, somesub, 0] Getting connection from pool
DEBUG:foo:Got connection from pool for pulsar://localhost:6650/ use_count: 4 @ 0x7fdffc820200
DEBUG:foo:ACK grouping is enabled, grouping time 100ms, grouping max size 1000
DEBUG:foo:[<IP_ADDRESS>:61246 -> <IP_ADDRESS>:6650] Handling incoming command: LOOKUP_RESPONSE
DEBUG:foo:[<IP_ADDRESS>:61246 -> <IP_ADDRESS>:6650] Received lookup response from server. req_id: 2
DEBUG:foo:[<IP_ADDRESS>:61246 -> <IP_ADDRESS>:6650] Received lookup response from server. req_id: 2 -- broker-url: pulsar://localhost:6650 -- broker-tls-url:  authoritative: 1 redirect: 1
DEBUG:foo:Lookup response for persistent://public/default/sometopic, lookup-broker-url pulsar://localhost:6650
DEBUG:foo:Getting connection to broker: pulsar://localhost:6650
INFO:foo:Created connection for pulsar://localhost:6650
DEBUG:foo:[<none> -> pulsar://localhost:6650/] Connecting to localhost:6650
DEBUG:foo:[<none> -> pulsar://localhost:6650/] Resolved hostname localhost to <IP_ADDRESS>:6650
INFO:foo:[<IP_ADDRESS>:61247 -> <IP_ADDRESS>:6650] Connected to broker through proxy. Logical broker: pulsar://localhost:6650
DEBUG:foo:[<IP_ADDRESS>:61247 -> <IP_ADDRESS>:6650] Handling incoming command: CONNECTED
DEBUG:foo:Connection has max message size setting: 5242880
DEBUG:foo:Current max message size is: 5242880
DEBUG:foo:[persistent://public/default/sometopic, somesub, 0] Connected to broker: [<IP_ADDRESS>:61247 -> <IP_ADDRESS>:6650]
DEBUG:foo:[<IP_ADDRESS>:61247 -> <IP_ADDRESS>:6650] Handling incoming command: SUCCESS
DEBUG:foo:[<IP_ADDRESS>:61247 -> <IP_ADDRESS>:6650] Received success response from server. req_id: 0
INFO:foo:[persistent://public/default/sometopic, somesub, 0] Created consumer on broker [<IP_ADDRESS>:61247 -> <IP_ADDRESS>:6650]
DEBUG:foo:[persistent://public/default/sometopic, somesub, 0] Send initial flow permits: 1000
DEBUG:foo:[persistent://public/default/sometopic, somesub, 0] Send more permits: 1000
INFO:foo:[persistent://public/default/sometopic, somesub, 0] Closing consumer for topic persistent://public/default/sometopic
DEBUG:foo:[<IP_ADDRESS>:61247 -> <IP_ADDRESS>:6650] Handling incoming command: SUCCESS
DEBUG:foo:[<IP_ADDRESS>:61247 -> <IP_ADDRESS>:6650] Received success response from server. req_id: 1
INFO:foo:[persistent://public/default/sometopic, somesub, 0] Closed consumer 0
async returning bar
StopIteration: bar

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/zac.bentley/.pyenv/versions/3.7.10/lib/python3.7/logging/__init__.py", line 1365, in debug
    if self.isEnabledFor(DEBUG):
SystemError: PyEval_EvalFrameEx returned a result with an error set
DEBUG:foo:Reference to the HandlerBase is not valid.
DEBUG:foo:Ignoring timer cancelled event, code[system:89]
returned: None
INFO:foo:Closing Pulsar client
INFO:foo:[<IP_ADDRESS>:61247 -> <IP_ADDRESS>:6650] Connection closed
INFO:foo:[<IP_ADDRESS>:61246 -> <IP_ADDRESS>:6650] Connection closed

after which the code hangs (per the other bug linked).

The output looks like to be the case that you mentioned in another issue but my code has called client.close(), it should not happen.

I'm using python 3.9.6 installed via brew, in a clean virtual environment; the only commands I've issued other than venv creation are pip install pulsar-client and pip install fastavro.

How did you build the C++ library? I suspected your C++ library was not built well. I didn't use pip install. Instead I built from source using CMake in pulsar-client-cpp directory.
mkdir -p _builds
# NOTE: I installed the gtest 1.10.0 and protobuf 3.17.3 dependency into ~/software directory
# The Boost dependency was installed by brew, including Boost::python.
SOFTWARE="$HOME/software"
cd _builds
cmake .. -Wno-dev \
    -DPROTOC_PATH=$SOFTWARE/protobuf-3.17.3/bin/protoc \
    -DCMAKE_PREFIX_PATH="$SOFTWARE/gtest-1.10.0;$SOFTWARE/protobuf-3.17.3" \
    -DBUILD_PYTHON_WRAPPER=ON -DBUILD_TESTS=ON -DBUILD_PERF_TOOLS=OFF
make -j4

After compilation completed, copy the _pulsar.so from _builds/python to python directory. Then I put my Python scripts under python directory and run scripts under python directory to make Python interpreter find the local _pulsar.so instead of where pip installed.

NOTE: the picture above used INFO level instead of DEBUG level of my previous code.

BTW, here is the full output with my code before:
DEBUG:foo:Using Binary Lookup
DEBUG:asyncio:Using selector: KqueueSelector
INFO:foo:Subscribing on Topic :sometopic
INFO:foo:[<none> -> pulsar://localhost:6650/] Create ClientConnection, timeout=10000
INFO:foo:Created connection for pulsar://localhost:6650/
DEBUG:foo:[<none> -> pulsar://localhost:6650/] Resolving localhost:6650
DEBUG:foo:[<none> -> pulsar://localhost:6650/] Connecting to <IP_ADDRESS>:6650...
DEBUG:foo:[<none> -> pulsar://localhost:6650/] Resolved hostname localhost to <IP_ADDRESS>:6650
INFO:foo:[<IP_ADDRESS>:63751 -> <IP_ADDRESS>:6650] Connected to broker
DEBUG:foo:[<IP_ADDRESS>:63751 -> <IP_ADDRESS>:6650] Handling incoming command: CONNECTED
DEBUG:foo:Connection has max message size setting: 5242880
DEBUG:foo:Current max message size is: 5242880
DEBUG:foo:[<IP_ADDRESS>:63751 -> <IP_ADDRESS>:6650] Handling incoming command: PARTITIONED_METADATA_RESPONSE
DEBUG:foo:[<IP_ADDRESS>:63751 -> <IP_ADDRESS>:6650] Received partition-metadata response from server. req_id: 1
DEBUG:foo:PartitionMetadataLookup response for persistent://public/default/sometopic, lookup-broker-url
DEBUG:foo:BatchAcknowledgementTracker for [persistent://public/default/sometopic, somesub, 0] Constructed BatchAcknowledgementTracker
DEBUG:foo:Created negative ack tracker with delay: 60000 ms - Timer interval: 00:00:20
INFO:foo:[persistent://public/default/sometopic, somesub, 0] Getting connection from pool
DEBUG:foo:Got connection from pool for pulsar://localhost:6650/ use_count: 5 @ 0x7f8126855200
DEBUG:foo:ACK grouping is enabled, grouping time 100ms, grouping max size 1000
DEBUG:foo:[<IP_ADDRESS>:63751 -> <IP_ADDRESS>:6650] Handling incoming command: LOOKUP_RESPONSE
DEBUG:foo:[<IP_ADDRESS>:63751 -> <IP_ADDRESS>:6650] Received lookup response from server. req_id: 2
DEBUG:foo:[<IP_ADDRESS>:63751 -> <IP_ADDRESS>:6650] Received lookup response from server. req_id: 2 -- broker-url: pulsar://localhost:6650 -- broker-tls-url:  authoritative: 1 redirect: 1
DEBUG:foo:Lookup response for persistent://public/default/sometopic, lookup-broker-url pulsar://localhost:6650
DEBUG:foo:Getting connection to broker: pulsar://localhost:6650
INFO:foo:[<none> -> pulsar://localhost:6650/] Create ClientConnection, timeout=10000
INFO:foo:Created connection for pulsar://localhost:6650
DEBUG:foo:[<none> -> pulsar://localhost:6650/] Resolving localhost:6650
DEBUG:foo:[<none> -> pulsar://localhost:6650/] Connecting to <IP_ADDRESS>:6650...
DEBUG:foo:[<none> -> pulsar://localhost:6650/] Resolved hostname localhost to <IP_ADDRESS>:6650
INFO:foo:[<IP_ADDRESS>:63752 -> <IP_ADDRESS>:6650] Connected to broker through proxy. Logical broker: pulsar://localhost:6650
DEBUG:foo:[<IP_ADDRESS>:63752 -> <IP_ADDRESS>:6650] Handling incoming command: CONNECTED
DEBUG:foo:Connection has max message size setting: 5242880
DEBUG:foo:Current max message size is: 5242880
DEBUG:foo:[persistent://public/default/sometopic, somesub, 0] Connected to broker: [<IP_ADDRESS>:63752 -> <IP_ADDRESS>:6650]
DEBUG:foo:[<IP_ADDRESS>:63752 -> <IP_ADDRESS>:6650] Handling incoming command: SUCCESS
DEBUG:foo:[<IP_ADDRESS>:63752 -> <IP_ADDRESS>:6650] Received success response from server. req_id: 0
INFO:foo:[persistent://public/default/sometopic, somesub, 0] Created consumer on broker [<IP_ADDRESS>:63752 -> <IP_ADDRESS>:6650]
DEBUG:foo:[persistent://public/default/sometopic, somesub, 0] Send initial flow permits: 1000
DEBUG:foo:[persistent://public/default/sometopic, somesub, 0] Send more permits: 1000
INFO:foo:[persistent://public/default/sometopic, somesub, 0] Closing consumer for topic persistent://public/default/sometopic
DEBUG:foo:[<IP_ADDRESS>:63752 -> <IP_ADDRESS>:6650] Handling incoming command: SUCCESS
DEBUG:foo:[<IP_ADDRESS>:63752 -> <IP_ADDRESS>:6650] Received success response from server. req_id: 1
INFO:foo:[persistent://public/default/sometopic, somesub, 0] Closed consumer 0
async returning bar
2021-08-31 22:47:43.457 DEBUG [0x110d24e00] ConsumerImpl:106 | [persistent://public/default/sometopic, somesub, 0] ~ConsumerImpl
2021-08-31 22:47:43.457 DEBUG [0x110d24e00] AckGroupingTrackerEnabled:100 | Reference to the HandlerBase is not valid.
DEBUG:foo:Ignoring timer cancelled event, code[system:89]
returned: bar
INFO:foo:Closing Pulsar client with 0 producers and 1 consumers
DEBUG:foo:Shutting down producers and consumers for client
DEBUG:foo:0 producers and 1 consumers have been shutdown.
ERROR:foo:[<IP_ADDRESS>:63752 -> <IP_ADDRESS>:6650] Read failed: Operation canceled
INFO:foo:[<IP_ADDRESS>:63752 -> <IP_ADDRESS>:6650] Connection closed
DEBUG:foo:[<IP_ADDRESS>:63752 -> <IP_ADDRESS>:6650]  Ignoring timer cancelled event, code[system:89]
INFO:foo:[<IP_ADDRESS>:63751 -> <IP_ADDRESS>:6650] Connection closed
ERROR:foo:[<IP_ADDRESS>:63751 -> <IP_ADDRESS>:6650] Read failed: Operation canceled
DEBUG:foo:ConnectionPool is closed
DEBUG:foo:[<IP_ADDRESS>:63751 -> <IP_ADDRESS>:6650]  Ignoring timer cancelled event, code[system:89]
DEBUG:foo:ioExecutorProvider_ is closed
DEBUG:foo:listenerExecutorProvider_ is closed
DEBUG:foo:partitionListenerExecutorProvider_ is closed

And here is the output of your scratch.py:
async returning bar
returned: bar
2021-08-31 22:48:45.714 ERROR [0x700005787000] ClientConnection:572 | [<IP_ADDRESS>:63915 -> <IP_ADDRESS>:6650] Read failed: Operation canceled

I'll try to build Python client in a Ubuntu based docker image so that the code can be verified in a general environment. It might take some time.

How did you build the C++ library?

I didn't; pip install pulsar-client does not by default invoke the compiler. Instead, it downloads wheels of precompiled artifacts that were submitted by project maintainers.
However, the usual means of overriding this (pip install pulsar-client --no-binary :all:) does not work for me:
 ∴ pip install pulsar-client --no-binary :all:
ERROR: Could not find a version that satisfies the requirement pulsar-client (from versions: none)
ERROR: No matching distribution found for pulsar-client

I think this means that source artifacts are not published to PyPi, which may be a separate issue. Do you think I should open one?
Anyway, I installed protoc and googletest via Homebrew and ran your build instructions (I didn't have to set DCMAKE_PREFIX_PATH, but otherwise I did everything else the same).
Both tests passed on your branch!

I think this means that source artifacts are not published to PyPi, which may be a separate issue. Do you think I should open one?

You can open an issue or send an email for this issue. I'm not familiar with how Python client was published but someone else might know.

very sorry for wasting your time with the back-and-forth.

Never mind, glad to hear it works for you :)

Thanks again for the fix!
What's the Pulsar policy on cutting new client releases? Should your bugfix cause publication of updated Python client packages to PyPi, or should that wait until the next main Pulsar release?
Either one is fine, I just want to know whether I should publish a hand-built version of the Python client to my organization's internal package mirror or wait for PyPi to have it.

It should only be published to PyPi for stable versions. For master branch, you need to build from source.
If the related PR was already cherry-picked to branch of last stable version (branch-2.8 currently), the wheel file would be included in StreamNative's weekly release, like https://github.com/streamnative/pulsar/releases/tag/v<IP_ADDRESS>.

I did not know about the weekly releases, thanks!


Roll Flutter Engine from a1cdcb6a6687 to 59851dc85c5d (1 revision)

https://github.com/flutter/engine/compare/a1cdcb6a6687...59851dc85c5d
2024-05-14<EMAIL_ADDRESS>Roll Skia from 400c6fbeace8 to 93912d50850d (1 revision) (flutter/engine#52788)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


[feat][broker][PIP-195] Implement delayed message index bucket snapshot (create/load) - part2

Master Issue: #16763
Motivation
#16763
Modifications

Implement delayed message index bucket
Implement delayed message index bucket snapshot (create/load)
Reuse and refactor InMemoryDelayedDeliveryTracker
Reuse and refactor InMemoryDeliveryTrackerTest
Add test for BuketDelayedDeliveryTracker

Documentation

[ ] doc-required
(Your PR needs to update docs and you will update later)

[x] doc-not-needed
(Please explain why)

[ ] doc
(Your PR contains doc changes)

[ ] doc-complete
(Docs have been already added)

Matching PR in forked repository
PR in forked repository: https://github.com/coderzc/pulsar/pull/2

Dependent on #17344 and #17164

@codelipenghui @gaoran10 @Technoboy- PTAL

/pulsarbot rerun-failure-checks

I will review it again tomorrow, thanks for your great work!

Codecov Report

Merging #17611 (d007cd8) into master (6c65ca0) will increase coverage by 3.94%.
The diff coverage is 0.62%.

@@             Coverage Diff              @@
##             master   #17611      +/-   ##
============================================
+ Coverage     34.91%   38.86%   +3.94%
- Complexity     5707     6251     +544
============================================
  Files           607      609       +2
  Lines         53396    53705     +309
  Branches       5712     5752      +40
============================================
+ Hits          18644    20873    +2229
+ Misses        32119    30026    -2093
- Partials       2633     2806     +173

Flag
Coverage Δ

unittests
38.86% <0.62%> (+3.94%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...r/broker/delayed/BucketDelayedDeliveryTracker.java
0.00% <0.00%> (ø)

.../org/apache/pulsar/broker/delayed/BucketState.java
0.00% <0.00%> (ø)

...broker/delayed/InMemoryDelayedDeliveryTracker.java
0.00% <0.00%> (ø)

.../service/SystemTopicBasedTopicPoliciesService.java
51.26% <0.00%> (-0.33%)
:arrow_down:

...sistent/PersistentDispatcherMultipleConsumers.java
52.67% <0.00%> (+0.97%)
:arrow_up:

...g/apache/pulsar/compaction/CompactedTopicImpl.java
68.57% <0.00%> (+57.85%)
:arrow_up:

...rg/apache/pulsar/broker/service/BrokerService.java
49.28% <100.00%> (+1.28%)
:arrow_up:

...a/org/apache/pulsar/io/file/FileListingThread.java
80.24% <0.00%> (-2.47%)
:arrow_down:

.../java/org/apache/pulsar/broker/web/WebService.java
80.21% <0.00%> (-1.07%)
:arrow_down:

...n/java/org/apache/pulsar/broker/PulsarService.java
54.20% <0.00%> (-0.12%)
:arrow_down:

... and 92 more

/pulsarbot run-failure-checks


Added missing manufacturer_attributes

I took the liberty to add missing manufacturer attributes for the DanfossThermostatCluster. These attributes most likely got added in the 1.08 firmware. Check this document for the full list of attributes (Check here)
There seem to be some additional command in the DiagnosticCluster (see last page), which I did not include due to the lack of knowledge how to specify the oclet string correctly.

Pull Request Test Coverage Report for Build 749275909

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 83.173%

Totals

Change from base Build 738492481:
0.0%

Covered Lines:
3707

Relevant Lines:
4457

💛  - Coveralls


Does build.gradle have to be changed to use versions in README?

Ask your Question

The README states:
Modify your android/build.gradle configuration:

buildscript {
  ext {
    buildToolsVersion = "28.0.3"
    minSdkVersion = 16
    compileSdkVersion = 28
    targetSdkVersion = 28
    # Only using Android Support libraries
    supportLibVersion = "28.0.0"
  }

...

buildscript {
  ext {
    buildToolsVersion = "28.0.3"
    minSdkVersion = 16
    compileSdkVersion = 28
    targetSdkVersion = 28
    # Remove 'supportLibVersion' property and put specific versions for AndroidX libraries
    androidXCore = "1.0.2"
    // Put here other AndroidX dependencies
  }

Does this mean that each one of those properties must be set to those version numbers for the library to work? Or does the only change that needs to be made is under the comment of "# Only using Android Support libraries" and "#Remove 'supportLibVersion' property and put specific versions for AndroidX libraries"

Over time you'll have quite a lot of these. I use this module plus a pile of others and in the end I have this which works. Doesn't actually answer your question but provides perspective perhaps? Clickable links so they're easy to check for new releases whenever I do dependency update runs:

buildscript {
    ext {
        buildToolsVersion = "30.0.3"
        minSdkVersion = 16
        compileSdkVersion = 30
        targetSdkVersion = 29 // can't change until READ_PHONE_NUMBERS is handled? and location always
        kotlinVersion = "1.4.21" // https://kotlinlang.org/releases.html
        supportLibVersion = "1.3.2" // this maps to androidx.core https://developer.android.com/jetpack/androidx/releases/core
        appCompatVersion = "1.2.0" // this maps to androidx.appcompat https://developer.android.com/jetpack/androidx/releases/appcompat
        supportVersion = ext.supportLibVersion
        //noinspection GradleDependency  https://github.com/facebook/react-native/pull/30061
        // We will be able to bump to 2.3.0 with react-native 0.65.0+, fresco 2.4.0 is out maybe possible
        frescoVersion = "2.2.0" // https://github.com/facebook/fresco/releases
        fragmentVersion = "1.2.5" // https://developer.android.com/jetpack/androidx/releases/fragment
        vectordrawableVersion = "1.1.0" // https://developer.android.com/jetpack/androidx/releases/vectordrawable
        androidxAnnotationVersion = "1.1.0" // https://developer.android.com/jetpack/androidx/releases/annotation
        multidexVersion = "2.0.1" // https://developer.android.com/jetpack/androidx/releases/multidex
        googlePlayServicesLocationVersion = "17.1.0" // https://developers.google.com/android/guides/setup
        googlePlayServicesVersion = "17.6.0" // play-services-base
        googlePlayServicesAuthVersion = "19.0.0" // play-services-auth
        googlePlayServicesVisionVersion = "20.1.3" // play-services-vision
        mediaCompatVersion = "1.2.1" // https://developer.android.com/jetpack/androidx/releases/media
        supportV4Version = "1.0.0" // https://developer.android.com/jetpack/androidx/releases/legacy androidx.legacy:legacy-support-v4
        swiperefreshlayoutVersion = "1.1.0" // https://dev  eloper.android.com/jetpack/androidx/releases/swiperefreshlayout
        facebookSdkVersion = "8.2.0" // https://github.com/facebook/facebook-android-sdk/releases
        reactNativeVersion = "+"
        firebaseBomVersion = "26.4.0" // https://firebase.google.com/support/release-notes/android
        set('react-native',[versions:[firebase:[bom:"${firebaseBomVersion}"],],])
    }

note that I'm still using supportLibVersion, I guess I could convert to androidXCore but I think I have other libraries that are still looking for supportLibVersion.


Remove LIME color completely

Some people reported the appearance of eye cancer while using this color.

UNTIL: 8 o'clock PM

Remove it hard coded.


Create filtering interface and initial filter

Something that transforms IEnumerable into IEnumerable and filter out something. Maybe start with Author?

This was completed in #137


Ability to set deno version during installation or use system version

Custom deno version installation is now possible https://github.com/CSSSR/helm-deno/commit/a7223ae10d6e66491c3c6f4d049af04b48549d29


Add files via upload

Added Moberly High School

@RejectModderss The first verification stage is complete: the official domain for  Moberly High School is www.moberly.k12.mo.us, to the best of my knowledge. This is just an informational note. The pull request is still under review. The review may take some more time. I greatly appreciate your patience. Here is the proof of domain ownership: https://www.moberly.k12.mo.us/staff?page_no=2

Yeah, that is correct, but all schools in that district go under that email! So I put the High School only because it will be mainly High Schoolers who need it! Thank you for looking into it, I should have added a website, that is my bad!

@RejectModderss The first verification stage is complete: the official domain for  Moberly High School is www.moberly.k12.mo.us, to the best of my knowledge. This is just an informational note. The pull request is still under review. The review may take some more time. I greatly appreciate your patience. Here is the proof of domain ownership: https://www.moberly.k12.mo.us/staff?page_no=2

@RejectModderss Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Improved clone documentation

Improved clone documentation in relation of the default behavior of the options parameter

 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.

Hello @sebbi08 ,
Thank you for your pull request.
I've created an internal record<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards,
Niya

Oops, we mistakenly used "Fixes" instead of "Closes", so this PR was not closed when f7298c79678073c8476e09fe78c1b8a6b860a47e was submitted.


strongswan: doesn't build on master

Issue description
https://hydra.nixos.org/build/86067092
This is addressed on staging by https://github.com/NixOS/nixpkgs/pull/51787 which doesn't seem appropriate for master due to the amount of rebuilds.
The build failure is blocking two tests on the nixos-unstable channel.
Steps to reproduce
$ nix-build -A strongswan

Technical details
master

There's also https://github.com/NixOS/nixpkgs/pull/51767 which turns on pruneLibtoolFiles by default, preventing these problems more generally (would also have to go through staging of course).
Hydra has almost nothing to do at the moment though https://hydra.nixos.org/queue-summary, so we should probably start up staging-next again.


WYSIWYG editor not opening

Attempted Debugging

[X] I have read the debugging page

Searched GitHub Issues

[X] I have searched GitHub for the issue.

Describe the Scenario
After update from v21.12.5 to  v22.02 it seems that the WYSIWYG editor does not work anymore.
Everything works except if I create a new page or edit an existing page the page stays empty an no editor is seen.
If I change in the setting to 'markdown' I can edit a page or create a new one.
Exact BookStack Version
v22.02
Log Content
Nothing found in the error log
Also no error produced
PHP Version
7.4.28
Hosting Environment
Debian Bullseye

I have the same issue, opening up the browser Console gives an error (on editing a page where the WYSIWYG editor does not open):
Uncaught TypeError: Cannot read properties of undefined (reading 'registry')
at eN.setup (app.js:47:1295)
at eN.execCallback (tinymce.min.js:2:343879)
at new eN (tinymce.min.js:2:343292)
at n (tinymce.min.js:2:353313)
at Array. (tinymce.min.js:2:354874)
at jt (tinymce.min.js:2:29356)
at Object.e (tinymce.min.js:2:354723)
at C (tinymce.min.js:2:10800)
at d (tinymce.min.js:2:10946)
at a (tinymce.min.js:2:10124)
(PHP version 7.4.3 | Ubuntu 20.04.4 LTS without GUI)

Does this issue remain after a hard refresh? (Shift+R) or (Ctrl+Shift+R)

Does this issue remain after a hard refresh? (Shift+R) or (Ctrl+Shift+R)

Ah, this fixed it for me 👍

Thanks!! This fixed it for me

Thanks both for confirming. I usually update references for the editor script to force caches to be broken but forgot to do that for this release. Have tweaked this for our next patch release so users don't have to manually perform a hard refresh.


Run tekton tasks tests in parallel

This PR introduces running the Tekton tasks tests in parallel.
Due to the fact that the test outputs of the different test cases are interleaved we came up with a solution to log the outputs of each test case to their respective log file inside test/testdata/test-results.
This directory will be uploaded as an artifact after the test steps for the developer to be able to check the logs conveniently.
Ref #401
Closes #14
Tasks:

[x] Updated design documents in docs/design directory or not applicable
[x] Updated user-facing documentation in docs directory or not applicable
[x] Ran tests (e.g. make test) or not applicable
[x] Updated changelog or not applicable

Now that the tests have successfully run through we calculated that the test duration was cut down to 19m54s from 23m38s (only comparing one test run with another, though).

Really great work!
I have not looked into the details, but I have two more general questions:

Would you think it makes sense to provide a parallel and a non-parallel execution of the tests?
The test time savings are not bad, but I hoped for more tbh. I realise this is likely because the test files still run sequentially, only the test cases within one test func run in parallel. Have you thought about structuring this differently so that you can basically pick and choose how many tests of the overall set of tests you can run in parallel? Not sure how many in parallel GitHub Actions would support but maybe we are not pushing the limits here yet ;)

Would you think it makes sense to provide a parallel and a non-parallel execution of the tests?

Good idea, probably the tests read an ENV variable and based on that decide whether to execute the tests in parallel or not.

The test time savings are not bad, but I hoped for more tbh. I realise this is likely because the test files still run sequentially, only the test cases within one test func run in parallel. Have you thought about structuring this differently so that you can basically pick and choose how many tests of the overall set of tests you can run in parallel? Not sure how many in parallel GitHub Actions would support but maybe we are not pushing the limits here yet ;)

Good catch, let's try and put t.Parallel() in the test functions as well and see if that improves the execution time. In addition, we could also take a look whether we can squeeze out a bit of time out of the ODS image builds. E.g. the helm image installs sops and age using go install, however, both also publish binary releases on Github which we could just download and copy like we do for helm itself.

E.g. the helm image installs sops and age using go install, however, both also publish binary releases on Github which we could just download and copy like we do for helm itself.

Careful, this is on purpose: https://github.com/opendevstack/ods-pipeline/pull/364 (though we can also change the approach if we find a good alternative). Different topic than parallel testing anyway ;)

Careful, this is on purpose: #364 (though we can also change the approach if we find a good alternative). Different topic than parallel testing anyway ;)

age, however, in contrast to sops does release arm64 builds as well; we could at least download the binaries for age?

Closing as a consequence of https://github.com/opendevstack/ods-pipeline/pull/722. The tests are way faster now because there is less to test in this repo, hence the need for parallel tests is less.


Add background color to NavigationDrawerDestination

fixes:https://github.com/flutter/flutter/issues/138105
Pre-launch Checklist

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] I read the Tree Hygiene wiki page, which explains my responsibilities.
[ ] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[ ] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Seems some Scuba failures are caught in Google testing.

@QuncCccccc ping


Error thrown from OrderbookSync receiving change with undefined price

Using master, it seem that under some condition, OrderbookSync will attempt to process a change message that contains no price (no idea why GDAX would be sending such a message):
\node_modules\bignumber.js\bignumber.js:1223
            throw error;
            ^

BigNumber Error: new BigNumber() not a number: undefined
    at raise (\node_modules\bignumber.js\bignumber.js:1191:25)
    at \node_modules\bignumber.js\bignumber.js:1179:33
    at new BigNumber \node_modules\bignumber.js\bignumber.js:194:67)
    at BigNumber \node_modules\bignumber.js\bignumber.js:164:24)
    at Orderbook.change \node_modules\gdax\lib\orderbook.js:116:19)
    at OrderbookSync.processMessage (\node_modules\gdax\lib\orderbook_sync.js:132:14)
    at emitOne (events.js:121:20)
    at OrderbookSync.emit (events.js:211:7)
    at OrderbookSync.onMessage (\node_modules\gdax\lib\clients\websocket.js:94:12)
    at emitOne (events.js:116:13)
    at WebSocket.emit (events.js:211:7)
    at Receiver._receiver.onmessage \node_modules\ws\lib\websocket.js:145:47)
    at Receiver.dataMessage (\node_modules\ws\lib\receiver.js:430:14)
    at Receiver.getData (\node_modules\ws\lib\receiver.js:368:12)
    at Receiver.startLoop (\node_modules\ws\lib\receiver.js:164:16)
    at Receiver.add (\node_modules\ws\lib\receiver.js:138:10)
    at TLSSocket._ultron.on (\node_modules\ws\lib\websocket.js:143:54)
    at emitOne (events.js:116:13)
    at TLSSocket.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:250:11)
    at TLSSocket.Readable.push (_stream_readable.js:208:10)

I haven't yet put in debugging code to try and catch the offending change message, but since BigNumber will actually throw an error, perhaps it would be good to wrap some of the calls to it and catch the error and emit an error event from the OrderbookSync instead of throwing the error up the stack. I've had this happen a few times in the past 24 hours, crashing out the application it was running within.

I've seen this, too. I'm not sure if it's intentional or not, but occasionally the websocket will emit a change event that has a new_size and an old_size but no price.

It seems like, according to the API docs, that change events with null prices should be possible:

Any change message where the price is null indicates that the change message is for a market order. Change messages for limit orders will always have a price specified.

But it's coming across as undefined, and the Orderbook code isn't prepared to handle that.

Have any gdax team members seen this?

It looks like it is also possible that an order doesn't contain a size, along with no price or remaining_size?
{ type: 'done',
  side: 'buy',
  order_id: '4802ecfe-b91d-4716-b175-2f33cbbcf759',
  reason: 'filled',
  product_id: 'ETH-USD',
  sequence:<PHONE_NUMBER>,
  time: '2018-02-16T16:53:29.956000Z' }

Looks like there are some market orders that have change. Since the market order will not necessarily have price and size, there is potential for error. Not sure why the market orders have changes, since they should resolve immediately, but I have seen it in the full stream where a market order will be placed and at the same time stamp a change is received. Since the market orders do not have an "open" they will not be added to the order book, so the change should be ignored for the order id. The fix should be to check if order exists before converting price/size to BigNumber.


Content Suggestion: VBTC Exchange (VND-BTC

Link to Content: www.vbtc.exchange
Briefly Describe Content: VBTC is Vietnam's oldest Bitcoin Trading Platform (since 2014 - https://www.coindesk.com/first-live-bitcoin-exchange-opens-vietnam) and provides only BTC-VND orderbook
Suggested Section: https://bitcoin-only.com/#get-bitcoin

Merged


Production - Staging Environments

Hi, I'm new to ECS and I have an app running on it right now. I used this tutorial to get it working https://www.ybrikman.com/writing/2015/11/11/running-docker-aws-ground-up/. It works but every deployment is a very manual process. So I ran into this tool. It looks like exactly what I was looking for. My idea is to have CircleCi run ufo so my deployments are not manual anymore. Currently I only have CircleCi create and deploy the docker image to ECS. In looking at ufoships.com/docs, I have a question in how can I create a production and staging environment? Do they go in the same cluster? How does ufo handle them? Any help would be much appreciated.
Thanks!

@moisesrodriguez Sorry for the late response. Going to see if I can figure out how to fix my inbox noise.
RE: how can I create a production and staging environment?
Run:
ufo ship demo-web --cluster mycluster
You can also set up a AWS_PROFILE to cluster mapping so you dont always have to type it over and over.  Covered here: http://ufoships.com/docs/settings/
Internally the ship command will create the ECS cluster. You'll still need to make sure that you have container instances registered to the ECS cluster name.
RE: Do they go in the same cluster?
The ECS services can be deployed to different clusters with the --cluster option.
RE: How does ufo handle them? Any help would be much appreciated.
Hope the answers above covered it. 👍


inline values do not work in mock-debug

While debugging #18670:

VSCode Version: 1.9
OS Version: macOS

Steps to Reproduce:

install Mock debug extension
start debugging a markdown file and observe the names in the Variables view
sprinkle some variable names from the Variable view over the markdown file
start debugging

Observe: when stepping over a line containing a variable its value should be shown at the end of the line, but it is not.

@weinand Is this the same issue as with mono that mock is passing made up types as part of the name?

The problem is that the inline value feature relies on specific tokenTypes that are produced by the syntax colouring. Only tokens of type "string" or "number" are considered for inline values.
Since the Markdown file used in the mock debugger does not define these tokenTypes, inline values don't show up.
So this issue is not a bug but more a documentation problem.


Cannot create blog post with same Title

In every blogging platform, we able to create multiple post with duplication blog title, unfortunately this feature is not implemented now.
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'lorem-ipsum' for key 'ngeblog_blogs_slug_unique' (SQL: insert into `ngeblog_blogs` (`title`, `category_id`, `status`, `editor_type`, `content`, `user_id`, `slug`, `updated_at`, `created_at`) values (lorem ipsum, 1, publish, quill,
asdfasd asdf asdf asdf
, 0, generate-tahanan-lebih-dari-81-hari, 2017-12-10 01:50:59, 2017-12-10 01:50:59))

Maybe we can add some random unique number when generate the slug value, like this 👍
// src/Repositories/BlogRepository.php
$model->slug = str_random(5).'-'.str_slug($data['title']);
//or
$model->slug = time().'-'.str_slug($data['title']);

looks Make a sense..
but instead of your solution, what about if we provide slug input, so User can input slug itself. I thought this approach more better..

@antoniputra yes good. Like wordpress feature, we can create custom slug. I'm waiting for this.


How do I listen for error status?

Hello. How do I listen for error status? I tried to listen for onPlayerError, but it didn't call

I think the onPlayerError is not available in 1.x.x, closing in favor of #1266


Peer review

Hello, Group 18
-Documentation: It is great.
-Code: Yes, it is great. The code can run smoothly.
-Analysis and reasoning: The analysis and reasoning part looks good for me. Just one suggestion about the model selection. I feel that it is more reasonable to do the hyparameter tuning first and then do the decision  based on the best hyparameter scores.
-Comminication: I can see there are issues and commits. They are pretty clear and easy to follow. I have some suggestions which I found very helpful when I did my group project. First is about the issues. After each week’s meeting, it may be a good idea to have a task assignment in the issue to make sure that everyone in the group is clear about the task in the following week. Second is about the pull request. Every time creating a PR, to let others to comment and approve maybe a better idea, rather than approved by the author him/herself.
Overall, I really enjoyed to read it. Thank you guys to let me see a such interesting project! Good luck for your following work in this project.

@yzr1996 Thank you for the feedback. We have made an effort to use more GH issues for task assignment and summarising group meetings.
@yhchen20 is working on the hyper-parameter tuning.


The switch for unit tests does not work

When I try and make a test the script asks me whether it's a unit test or not. This is, I guess, to know whether to use the --unit flag in the make:test artisan command.
However, this does not work. Whatever I answer to that question, the new test is always created in app/test/Feature. I'm using version 0.9

Hi @troccoli
Thanks for pointing that out, in a few minutes packagist should have the latest version which includes the fix. So you can just update from there.

Excellent. Thank you.


Use >= instead of == for dependencies

Installing this package is difficult because it requires exact versions of all its dependencies.
It seems to work with the latest version of all its dependencies, so they may as well be changed to >=

Looks like there's an incompatibility between latest numpy and skimage. Could you test updating the optional dependencies?


Add option to toggle wrapping

Some users may want to disable the wrapping when moving tabs left/right, also I think Firefox's native shortcuts for moving tabs (Ctrl+Shift+Page Up/Ctrl+Shift+Page Down) don't use wrapping.

Thanks for the suggestion! That makes sense and will give me an excuse to build in some configuration. I'll try to get that in the next week or two.

Thanks for consideration. 👍


ValueError: Length of values does not match length of index

i got this error when im go back to deep_go_plus.py
**ValueError: Length of values does not match length of index
    154     test_df['labels'] = list(test_labels)
    155     print ('len(test_df)', len (  test_df ))
**--> 156     test_df['preds'] = list(preds)**
    157
    158     logging.info('Saving predictions')**

here is from my investigation tracing
i had set the
training_steps =5
valid_steps = 5
number of epoch = 1
as a result of that the
length of prediction --->>>> len(preds)=5
and the size of preds matrix = 4774 X 5
but df_test length = 71
and the size of df_test = 71 rows × 8 columns
so as a result of the there is incompatibility or no matching between the lengths (my understanding and my opinion from this error )
so kindly can you tell me the source of mistake that i had made
thanks

The problem is that training_steps and valid_steps need to be computed from
the lengths of train and valid data, respectively. I suggest you use the original code.
You can change the number of epochs if you like.

i made it, and it still display the error
also i wanted to mention that i has changed the model params as follows
params = {
'max_kernel': 20,
'initializer': 'glorot_normal',
'dense_depth': 0,
'nb_filters': 2,
'optimizer': Adam(lr=3e-4),
'loss': 'binary_crossentropy'
}
is that a reasion for this error

This error is because preds array does not have the same size as the test_df data frame size


WIP: Self Update Support

Introduces support for a self updater:

About page shows the option to select a version (this means that users can downgrade their version if they would like).
Available versions are pulled from https://versions.blishhud.com/all.json.
Option to open changelog and to toggle showing prerelease versions (WIP).

Self update process works as follows:

When a version is selected, Blish HUD unloads the module (so that modules can cleanly unload) and input service (so that the hooks are disabled and the debug hook application closed, if in a debug session).
Blish HUD window is closed and made unavailable.  A loading spinner is shown in the top left for the duration of the package download.
The package is downloaded to "unpack.zip" in the application directory.
Once downloaded, the checksum is compared to what was listed in the original manifest.

If checksum is invalid then the user is told the update failed and Blish HUD restarts automatically.

Blish HUD moves its own exe to rename it in the same folder to Blish HUD.exe__bak.
The new Blish HUD.exe is extracted from unpack.zip and placed in the folder.
Blish HUD restarts passing the --parentpid <current pid> to the new Blish HUD executable.

When Blish HUD launches:

If unpack.zip is found in the same directory, it is assumed that we are mid-upgrade.
We delete the Blish HUD.exe__bak.
We wait a max of 10 seconds for the previous Blish HUD instance to finish exiting (we do not force close it, we want it to exit cleanly) by checking for parentpid to stop existing.

If after 10 seconds the parentpid is still running, we will notify the user and the application exits.
Any future attempts to launch Blish HUD will attempt to complete the update so it is able to usually recover.

We remove the old content, language dlls, hook helper exe, ref.dat, etc.
We begin exporting the files found in unpack.zip to the directory.
We delete unpack.zip.
Blish HUD continues launching as it normally would from this point forward.

Remaining items:

[ ] Finalize settings context menu with "Open changelogs" and "Toggle prerequisites" support.
[ ] Enable filtering of prerequisites in version dropdown.
[ ] Show update arrow on the settings tab if an update is available.

With the direction we're taking in .NET, the embedding of the debug helper, and more, much of this work may need to be redone to account for the changes, so for now I'm going to go ahead and close and we can review again in the future.


[.NET] Support for White Space characters in Markdown

.NET spin off for #4679
Platform

.NET

Details
Add support for nbsp, ensp, and emsp by replacing them with the corresponding unicode character.

Fixed by #5358


Robotiq Gripper Serial Exception Error

Issue appears to be resolved by separating the gripper launch files, running the gripper controller on the client machine (laptop) and lowering the control frequency of the gripper.


[webview_flutter] use runJavascript()  run a javascript methods , this methods was repeatedly called in Android platform

Steps to Reproduce
When I use webviewController.runJavascript  run a javascript methods , this methods was repeatedly called in Android platform.
Expected results: javascript methods called only one time .
Actual results: javascript methods called three times .
flutter version : 3.3.2
webview_flutter version: 3.0.4

Code sample
body:WebView(
		initialUrl: "http://<IP_ADDRESS>:8080/#/",
		javascriptMode: JavascriptMode.unrestricted,
		backgroundColor:Colors.transparent,
		onWebViewCreated: (webController) {
			webviewController=webController;
		},
		onPageFinished: (url){
			webviewController.runJavascript("test()");
		},
	),

window.test=()=>{
     console.log(Date.now())
}

Screenshot

You're calling it from onPageFinished; how many times is that called? You can have multiple loads for a single URL (e.g., if there are redirects).

你是从onPageFinished; 这叫了多少次？您可以对单个 URL 进行多次加载（例如，如果有重定向）。

This is really the reason，thanks!


replace poor punctuation and naming

The name of the variable is o_O does not conform to Java's naming rules.
"..." uses the wrong punctuation

@GierSmith Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@GierSmith Thank you for signing the Contributor License Agreement!

The ... in the previous version was not an English character, my commit changed it to an English character, I think this is the correct change.

@Buzzardo - could you please take a look?


Add share campaign functionality to the Campaign page

Figure out adding Facebook, Twitter, and ?? share links

this functionality has been added


Bug - [InferenceClient] - use proxy set in var env

The AsyncInferenceClient doesn't use proxies set in environment variables.
It uses aiohttp but doesn't set the trust_env parameter to True.
this PR handle trust_env parameter to and set aiohttp client and request client
issue : AsyncInferenceClient doesn't use proxies set in environment variables #2420

hello @severo @XciD , is it possible to taking a look at this small PR, it's really helpful fix

@morgandiverrez @Benvii thanks for the PR and your inputs and sorry for the delay! I'm having a look at it right now :)

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Failing tests are unrelated so let's merge this :)


Introduce context manager and add tests to kill surviving mutants in …

…mutation testing.
Tox results:

py27: commands succeeded
py34: commands succeeded
congratulations :)

Coverage results:

---------- coverage: platform linux2, python 2.7.5-final-0 -----------
Name                         Stmts   Miss  Cover   Missing
pycsvw/init.py               2      0   100%
pycsvw/csvw.py                 178      0   100%
pycsvw/csvw_exceptions.py       27      0   100%
pycsvw/generator_utils.py       52      0   100%
pycsvw/nt_serializer.py        144      0   100%
pycsvw/rdf_utils.py             57      0   100%
pycsvw/scripts/init.py       0      0   100%
pycsvw/scripts/cli.py           26      0   100%
TOTAL                          486      0   100%

Merged


Hi

Can you create a repository specifically for discussing and chatting about Grok? I noticed that you haven't created a repository before. I can teach you how to create one if you need help！

"Please click on your own ID, for example: belyashik1, then click on Repositories, and then click on 'New'. After that, fill in the Repository name with the name you want for your repository, and add a description. Once you've finished filling in the details, select public, and click on Add a README file."

Finally, we click on 'create repository', and that's how we complete the creation of a discussion repository.


Live stream not working (504 Gateway Timeout)

I have Dahua IP cam model IPC-HFW1431S-S4 and wanted to configure live streaming in Home Assistant using Glance card. It works without any issue when I select "auto" view (still image which refreshes every 10 seconds), but not working with the "live" option - in browser console I see 504 Gateway Timeout error for request URL: https://myhome.com/api/hls/3f139d561dbb098c6ef9c99bb828df1632ccbac2fc83bf3fb1aefe1a83dcc3fe/master_playlist.m3u8
I already added ffmpeg: to configuration.yaml and restarted Home Asisstant docker container. RTSMP port number is also properly configured. I tried master and sub stream, both don't work. What else I can check?
Here is my Glance card configuration:
camera_view: live
type: picture-glance
title: Kamera 1
entities: []
camera_image: camera.dahua_cam_1_sub

I have a similar issue with Dahua DVR DHI-XVR5108HS-4KL.
I installed the Dahua integration as per instructions and added only channel 1 (only one camera) as an integration.
Now in integrations, I have 1 device with 15 entities. If I click the device I can see all the sensors working and I even see picture previews of the main stream and the two substreams.
I have ffmpeg: in the configuration.yaml file.
All great until I try to add a picture glance card on a dashboard. The Live mode shows only the first frame in the card and then is frozen. In the system log I find this error:
Logger: homeassistant.components.stream.stream.camera.homedvr_1_main
Source: components/stream/init.py:428
Integration: Stream (documentation, issues)
First occurred: 3:27:00 PM (11 occurrences)
Last logged: 3:36:11 PM
Error from stream worker: Error opening stream (HTTP_NOT_FOUND, Server returned 404 Not Found) rtsp://:@<IP_ADDRESS>:554/cam/realmonitor?channel=0&subtype=0
I've tried with the main stream and both substreams with the same result regardless (subtype= changes to 0, 1, 2 in the error log)
If I switch to Auto mode instead of Live mode in the glance card properties, there are no errors in the log, but the image in the card will refresh at 10s intervals, which is not what I want.
Any ideas?

Error from stream worker: Error opening stream (HTTP_NOT_FOUND, Server returned 404 Not Found) rtsp://:@<IP_ADDRESS>:554/cam/realmonitor?channel=0&subtype=0

I solved this by defining channel=1.
I found this explanation in the DVR web interface:
RTSP Format
rtsp://:@:/cam/realmonitor?channel=1&subtype=0
channel: Channel, 1-8; subtype: Code-Stream Type, Main Stream 0, Sub Stream 1.
And it made me realize that the first channel of the router is 1, not 0 as I previously thought.
Now I have another strange issue, When I configure a second camera, for DVR channel=2, it shows me the channel 2 image but after the next HA restart the integration moves to channel 3 showing me the wrong video stream. This doesn't happen for channel 1. That stays the same after a restart. Adding it again doesn't solve the issue. This must be a bug of some sort...


Editor: Clean Asset folder

Hi
Currently the asset folder is overwhelming, there is just too many different files
All it should contains is the assets
Effect compile log is not needed
GameSettings shouldn't be an asset
When creating a project it adds some files, they should be beter organized
meshes in a Models/ folder
materials in a Materials/ folder
Also the view of the asset folder should be cleaned a bit all the names are troncated, with doesn't help with visibility
The grid view is really confusing, i don't know what is wrong, but it is not pleasant on the eyes, makes it hard to browse it
This is super important because that's what people manipulates first in the editor, it should be clean and not overwhelming

Also would be cool when importing assets directly copy them to asset folder rather than creating reference to assets. That's so tiring to locate project and creale something like Models/Weapons/Gun01 copy assets there and then do the same thing for editor...


new fetchOptions for resolved function

I haven't looked into it yet, does undici.fetch provides its own Headers API?

I haven't looked into it yet, does undici.fetch provides its own Headers API?

even if it does, gqty won't assume the presence of those kind of globals

I haven't looked into it yet, does undici.fetch provides its own Headers API?

even if it does, gqty won't assume the presence of those kind of globals

Not necessarily a global though.
For me it takes more sense to assume RequestInit, including Header, when any kind of fetch impl is being used.

@natew does this suffice your need?

@natew :eyes:


usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN"

$ uname -a
> Linux [...] 4.10.0-32-generic #36-Ubuntu SMP Tue Aug 8 12:10:06 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -d
> Description:	Ubuntu 17.04

Doing
git clone https://github.com/mp3guy/Logger1.git
cd Logger1
mkdir build
cmake ../src

yields
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found version "4.8.7")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.62.0
-- Found the following Boost libraries:
--   thread
--   chrono
--   system
--   date_time
--   atomic
-- Boost version: 1.62.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- Boost version: 1.62.0
-- Found the following Boost libraries:
--   system
-- Boost version: 1.62.0
-- Found the following Boost libraries:
--   date_time
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'libusb-1.0'
--   Found libusb-1.0, version 1.0.21
-- Found OpenNI: /usr/lib/libOpenNI.so
-- OpenNI found (include: /usr/include/ni, lib: /usr/lib/libOpenNI.so)
-- Configuring done
-- Generating done
-- Build files have been written to: /[...]/Logger1/build

and then
make

yields
[  5%] Generating moc_main.cxx
usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN"
CMakeFiles/Logger.dir/build.make:62: recipe for target 'moc_main.cxx' failed
make[2]: *** [moc_main.cxx] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/Logger.dir/all' failed
make[1]: *** [CMakeFiles/Logger.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

https://blog.csdn.net/h321654/article/details/54582341
worked for me


fix dashboard link

cf. #3974
Ping @mattbk @rohitpaulk @aandis

Trivial fix - merging although it isn't rebased


Poll file issues

We are testing opentaxii and run in the following issue - it seems to change the < and the > inside the stixx package to &gt and &lt.
On the same linux box we run cabby and opentaxii.

If I do a poll from cabby that is running on the same box, the output works fine:

> taxii-poll --path http://<IP_ADDRESS>:9000/services/poll-a --collection collection-b --username admin --password admin > test.xml
> 2020-05-25 13:22:37,590 INFO: Polling using data binding: ALL
> 2020-05-25 13:22:37,592 INFO: Sending Poll_Request to http://<IP_ADDRESS>:9000/services/poll-a
> 2020-05-25 13:22:38,494 INFO: 1 blocks polled
> less test.xml
>
>
> <stix:STIX_Package xmlns:XXXX="https://XXXXX" xmlns:DomainNameObj="http://cybox.mitre.org/objects#DomainNameObject-1" xmlns:EmailMessageObj="http://cybox.mitre.org/objects#EmailMessageObject-2" xmlns:FileObj="http://cybox.mitre.org/objects#FileObject-2" xmlns:HTTPSessionObj="http://cybox.mitre.org/objects#HTTPSessionObject-2" xmlns:LinkObj="http://cybox.mitre.org/objects#LinkObject-1" xmlns:URIObj="http://cybox.mitre.org/objects#URIObject-2" xmlns:cybox="http://cybox.mitre.org/cybox-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:cyboxVocabs="http://cybox.mitre.org/default_vocabularies-2" xmlns:incident="http://stix.mitre.org/Incident-1" xmlns:indicator="http://stix.mitre.org/Indicator-2" xmlns:marking="http://data-marking.mitre.org/Marking-1" xmlns:stix="http://stix.mitre.org/stix-1" xmlns:stixCommon="http://stix.mitre.org/common-1" xmlns:stixVocabs="http://stix.mitre.org/default_vocabularies-1" xmlns:tlpMarking="http://data-marking.mitre.org/extensions/MarkingStructure#TLP-1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:taxii="http://taxii.mitre.org/messages/taxii_xml_binding-1" xmlns:taxii_11="http://taxii.mitre.org/messages/taxii_xml_binding-1.1" xmlns:tdq="http://taxii.mitre.org/query/taxii_default_query-1" id="XXXXX:package-747b09a8-34cb-433c-98c2-0539017317c9" timestamp="2019-02-04T19:37:33+00:00" version="1.2">
>   <stix:STIX_Header>
>     <stix:Title>"XXXXXXX" block</stix:Title>
>     <stix:Information_Source>
>       <stixCommon:Identity>
>
>

If I do a poll from our taxii client running on another box, we get this - this is from the packet capture on the linux box running opentaxxi:

> POST /services/poll-a HTTP/1.1
> X-TAXII-Content-Type: urn:taxii.mitre.org:message:xml:1.1
> X-TAXII-Protocol: urn:taxii.mitre.org:protocol:http:1.0
> X-TAXII-Services: urn:taxii.mitre.org:services:1.1
> Accept: application/xml
> Content-Type: application/xml
> authorization: Basic YWRtaW46YWRtaW4=
> Cache-Control: no-cache
> Pragma: no-cache
> User-Agent: Java/1.8.0_222
> Host: <IP_ADDRESS>:9000
> Connection: keep-alive
> Content-Length: 294
>
>
> <Poll_Request xmlns="http://taxii.mitre.org/messages/taxii_xml_binding-1.1" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" collection_name="collection-b" message_id="1">
>     <Exclusive_Begin_Timestamp>2020-05-01T15:12:23.000Z</Exclusive_Begin_Timestamp>
>     <Poll_Parameters/>
> </Poll_Request>
> HTTP/1.1 200 OK
> Server: gunicorn/20.0.4
> Date: Mon, 25 May 2020 16:04:04 GMT
> Connection: close
> Content-Type: application/xml
> Content-Length: 17440794
> X-TAXII-Content-Type: urn:taxii.mitre.org:message:xml:1.1
> X-TAXII-Protocol: urn:taxii.mitre.org:protocol:http:1.0
> X-TAXII-Services: urn:taxii.mitre.org:services:1.1
>
> <taxii_11:Poll_Response xmlns:taxii="http://taxii.mitre.org/messages/taxii_xml_binding-1" xmlns:taxii_11="http://taxii.mitre.org/messages/taxii_xml_binding-1.1" xmlns:tdq="http://taxii.mitre.org/query/taxii_default_query-1" message_id="4384624944912034411" in_response_to="1" collection_name="collection-b" more="false" result_part_number="1">
>   <taxii_11:Exclusive_Begin_Timestamp>2020-05-01T15:12:23+00:00</taxii_11:Exclusive_Begin_Timestamp>
>   <taxii_11:Content_Block>
>     <taxii_11:Content_Binding binding_id="urn:stix.mitre.org:xml:1.1.1"/>
>     <taxii_11:Content><stix:STIX_Packagexmlns:XXXX="https://XXXXX"  xmlns:DomainNameObj="http://cybox.mitre.org/objects#DomainNameObject-1" xmlns:EmailMessageObj="http://cybox.mitre.org/objects#EmailMessageObject-2" xmlns:FileObj="http://cybox.mitre.org/objects#FileObject-2" xmlns:HTTPSessionObj="http://cybox.mitre.org/objects#HTTPSessionObject-2" xmlns:LinkObj="http://cybox.mitre.org/objects#LinkObject-1" xmlns:URIObj="http://cybox.mitre.org/objects#URIObject-2" xmlns:cybox="http://cybox.mitre.org/cybox-2" xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:cyboxVocabs="http://cybox.mitre.org/default_vocabularies-2" xmlns:incident="http://stix.mitre.org/Incident-1" xmlns:indicator="http://stix.mitre.org/Indicator-2" xmlns:marking="http://data-marking.mitre.org/Marking-1" xmlns:stix="http://stix.mitre.org/stix-1" xmlns:stixCommon="http://stix.mitre.org/common-1" xmlns:stixVocabs="http://stix.mitre.org/default_vocabularies-1" xmlns:tlpMarking="http://data-marking.mitre.org/extensions/MarkingStructure#TLP-1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:taxii="http://taxii.mitre.org/messages/taxii_xml_binding-1" xmlns:taxii_11="http://taxii.mitre.org/messages/taxii_xml_binding-1.1" xmlns:tdq="http://taxii.mitre.org/query/taxii_default_query-1" id="XXXXX:package-747b09a8-34cb-433c-98c2-0539017317c9" timestamp="2019-02-04T19:37:33+00:00" version="1.2">
>   <stix:STIX_Header>
>     <stix:Title>"XXXXXXXX" block</stix:Title>
>     <stix:Information_Source>
>       <stixCommon:Identity>

that seems like a serialisation issue. Could you run Cabby command with -x -r flags and share raw xml printed to the console? This will show you what data you're getting from the server

so my other taxii client is not well implemented and doesn't conform with the standard? What is it that I have to ask them to fix?
> taxii-poll --path http://<IP_ADDRESS>:9000/services/poll-a --collection collection-a --username test --password test -x -r
>
> 2020-05-25 15:29:40,326 INFO: Polling using data binding: ALL
> 2020-05-25 15:29:40,329 INFO: Sending Poll_Request to http://<IP_ADDRESS>:9000/services/poll-a
> <taxii_11:Content_Block xmlns:taxii="http://taxii.mitre.org/messages/taxii_xml_binding-1" xmlns:taxii_11="http://taxii.mitre.org/messages/taxii_xml_binding-1.1" xmlns:tdq="http://taxii.mitre.org/query/taxii_default_query-1"><taxii_11:Content_Binding binding_id="urn:stix.mitre.org:xml:1.1.1"/><taxii_11:Content><stix:STIX_Package xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:cybox="http://cybox.mitre.org/cybox-2" xmlns:cyboxVocabs="http://cybox.mitre.org/default_vocabularies-2" xmlns:marking="http://data-marking.mitre.org/Marking-1" xmlns:simpleMarking="http://data-marking.mitre.org/extensions/MarkingStructure#Simple-1" xmlns:tlpMarking="http://data-marking.mitre.org/extensions/MarkingStructure#TLP-1" xmlns:TOUMarking="http://data-marking.mitre.org/extensions/MarkingStructure#Terms_Of_Use-1" xmlns:edge="http://soltra.com/" xmlns:indicator="http://stix.mitre.org/Indicator-2" xmlns:ttp="http://stix.mitre.org/TTP-1" xmlns:stixCommon="http://stix.mitre.org/common-1" xmlns:stixVocabs="http://stix.mitre.org/default_vocabularies-1" xmlns:stix="http://stix.mitre.org/stix-1" xmlns:opensource="http://www.hailataxii.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:taxii="http://taxii.mitre.org/messages/taxii_xml_binding-1" xmlns:taxii_11="http://taxii.mitre.org/messages/taxii_xml_binding-1.1" xmlns:tdq="http://taxii.mitre.org/query/taxii_default_query-1" id="edge:Package-7abdf984-6f51-44f1-a0db-b102e1bd4c3d" version="1.1.1" timestamp="2020-05-25T18:40:30.023134+00:00">
>     <stix:STIX_Header>
>         <stix:Handling>
>             <marking:Marking>
>                 <marking:Controlled_Structure>../../../../descendant-or-self::node()</marking:Controlled_Structure>
>                 <marking:Marking_Structure xsi:type="tlpMarking:TLPMarkingStructureType" color="WHITE"/>
>                 <marking:Marking_Structure xsi:type="TOUMarking:TermsOfUseMarkingStructureType">
>                     <TOUMarking:Terms_Of_Use>TBD</TOUMarking:Terms_Of_Use>
>                 </marking:Marking_Structure>
>                 <marking:Marking_Structure xsi:type="simpleMarking:SimpleMarkingStructureType">
>                     <simpleMarking:Statement>Unclassified (Public)</simpleMarking:Statement>
>                 </marking:Marking_Structure>
>             </marking:Marking>
>         </stix:Handling>
>     </stix:STIX_Header>
>     <stix:Indicators>
>

@ohliuw I haven't seen raw responses, but that would be my guess. It feels like (random guess) that it places STIX content in the TAXII block as text and not as XML tree structure, so all < and > get escaped, as they would in text.

I am seeing the same issue as reported above.
steps to reproduce:

Set up opentaxii completely vanilla as described in the documentation...
Then can poll phishthank with cabby for example (for the last 3 IoCs) and put them into an xml file:
taxii-poll --path http://hailataxii.com/taxii-discovery-service  --collection guest.phishtank_com -l 3 > Haila.xml
Then push the phishtank content into the taxii server:
taxii-push --path http://localhost:9000/services/inbox-a --dest collection-b --content-file Haila.xml --username admin --password admin
Then I pull the taxii from a java application.  the packet capture looks the same as above.  this is before the application that is requesting the taxii file has a chance to modify anything with in the request.

@ohliuw I haven't seen raw responses, but that would be my guess. It feels like (random guess) that it places STIX content in the TAXII block as text and not as XML tree structure, so all < and > get escaped, as they would be in text.

so is there a way to force opentaxii not to escape the < and > as &lt and &gt and to send the data as XML?  In the database they seem to be stored as XML (when cat the DB, it displays the < and >)
Also, Hailataxii doesn't do this?

@ohliuw I haven't seen raw responses, but that would be my guess. It feels like (random guess) that it places STIX content in the TAXII block as text and not as XML tree structure, so all < and > get escaped, as they would be in text.

so is there a way to force opentaxii not to escape the < and > as &lt and &gt and to send the data as XML?  In the database they seem to be stored as XML (when cat the DB, it displays the < and >)
Also, Hailataxii doesn't do this?

Yes

It is indeed a bug and we’d love to have it fixed, however it’s not a high priority for our team at the moment, so we can’t promise when it will get fixed. Still, we’re very open to external contributions - if you know how to fix this problem and you can open a PR with a fix, we will be very grateful.

#184 solves the issues described on this thread, do check it out once and let me know!

This wasn't meant to be closed by #184

The content in opentaxii gets escaped when what it is sent is not valid xml, which makes it treat it like text and thus escaping it to embed it into an xml message. In the reproducing testcase by @eric-eclecticiq  above, this is due to it sending 3 <STIX_Package> nodes in a single file, thus having 3 root nodes which isn't valid xml. This can be fixed by using the --dest-dir argument to taxii-poll and then calling taxii-push in a loop. The result is no escaped < and > in the output.
To illustrate, I've created an example script that does this and attached the output as well. I had to rename the example script to hailatest.txt, because github doesn't allow uploading .sh files. Please rename it after downloading.
hailatestoutput.txt
hailatest.txt
This usage pattern isn't clear from the cabby docs, so I'll update those instead.
I have created https://github.com/eclecticiq/cabby/issues/83 for the documentation issue.
@ohliuw if you disagree with this assessment and can provide a minimal set of reproduction steps, I'd be happy to help work it out. Feel free to re-open the ticket if that is the case.


How to whitelist tweetdeck but block twitter?

Dear @tetsuwo,
Is it possible to whitelist a subdomain but keep the main domain blocked?
In my example the subdomain is tweetdeck.twitter.com which I want to whitelist but block twitter.com.
Thankfully,
~ Robert

I also need this feature.


Add demo

Hi,
Here is a demo script for CornerNet. It visualizes the output given an image path or an image folder path, by running python demo.py --demo /path/to/image/or/folder. The first commit only shows the detection results, and the second commit supports visualizing the heatmaps.

It's a excellent prgramme

inp_height = new_height | 127
What would you like to add “|” ， 127？

inp_height = new_height | 127
What would you like to add “|” ， 127？


#351: added setter for reuseRefreshToken in AuthorizationServerEndpoints...

Added setter to AuthorizationServerEndpointsConfigurer which makes the reuse of the refresh token flexible. Choosen this above renaming the method to doNotReuseRefreshToken or setting the default value of reuseRefreshToken to false which would conflict the default value of DefaultTokenServices.

Commit bdb3390b19c54bdca3da6383ec9ad191ef4734cd makes this pull request obsolete.

Fixed already. Thanks.


2.5

[ ] Redmine Issue: https://redmine.pfsense.org/issues/NNNN
[ ] Ready for review

This PR is obviously a mistake


Issue #1976: improve error message when non-integral dimensions are given to a kernel

[Current coverage][cc-pull] is 87.26%

Merging [#1977][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master      #1977   diff @@
==========================================
  Files           302        302
  Lines         53986      53986
  Methods           0          0
  Messages          0          0
  Branches       5576       5576
==========================================
  Hits          47112      47112
  Misses         5955       5955
  Partials        919        919

Powered by Codecov. Last updated by [a2536f6...fea8df2][cc-compare]
[cc-base-branch]: https://codecov.io/gh/numba/numba/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/numba/numba/compare/a2536f6568dd93796a9c877f409803ea3aded5c9...fea8df2741d0617d4e95b4d8ac8cfe5fec46236e
[cc-pull]: https://codecov.io/gh/numba/numba/pull/1977?src=pr


out of memory since 1.9.0

I have tracked the issue in the sql.js repository because since version 1.9.0 I have had this problem, they just recently closed it but I continue with the problem.
https://github.com/sql-js/sql.js/issues/561#issuecomment-1849080965
Latest version :
https://github.com/sql-js/sql.js/issues/561#issuecomment-1905270851
@jepiqueau in the last commit I saw that you did a rollback to version 1.8.0 there is no way to use the last one?

@JuanLongines you said they fix the issue but you continue to have the issue so for the time being i stick to the 1.8.0 release. If you can share on github your app where you have still the issue using 1.9.0 i may have a look

@JuanLongines you said they fix the issue but you continue to have the issue so for the time being i stick to the 1.8.0 release. If you can share on github your app where you have still the issue using 1.9.0 i may have a look

I'm using the repository example, no additional code just updating sql.js version 1.10.2
https://github.com/jepiqueau/blog-tutorials-apps/tree/main/SQLite/Part-1/ionic7-angular-sqlite-app

@JuanLongines Did it works with sql.js version 1.10.2

Is it possible that this did not fix it?
I am still experiencing this error, even after updating to 5.5.2
I will update here if I was wrong, but if this happens to you too then maybe like this message.

yes I continue getting the same error, update to the latest versions:

and the error:

I was missing this step! Thanks a lot, especially for mentioning this again, that I have to copy the sql-wasm.wasm file.

@folsze you always have to copy the wasm file especially when the version of sql.js change that why it is better to have it in your scripts  the build script should be amended to make the copy prior to build see example on my tutorial site


Failing to parse?

Not sure what is wrong, but despite logging in and checking on multiple systems, I can't get my games to parse...

Thanks for any assitance

Need some additional information, like the match_id you're trying to parse?

Hey sorry,
It's all of my recent games, since I checked in again recently. My user
name is [CBK]Prosta-Piet, profile link
https://www.opendota.com/players/170339884,
Some of the match id's are<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>.
Thanks, cheers
On Mon, 29 May 2017 at 21:19 Howard Chung<EMAIL_ADDRESS>wrote:

Need some additional information, like the match_id you're trying to parse?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/odota/ui/issues/977#issuecomment-304718168, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AbseeFVpx3gyawoBbmodSB-R3YH4mk7sks5r-xo9gaJpZM4NpMWZ
.

It looks like Valve's missing the replays for these matches:
http://replay214.valve.net/570/3208220419_490665718.dem.bz2
http://replay214.valve.net/570/3208293690_1353487025.dem.bz2
http://replay214.valve.net/570/3204005993_2100646515.dem.bz2
Unfortunately there's not a lot I can do about this.  I've seen some Reddit threads with people describing this issue, so hopefully Valve will fix it soon.


feat(client): ts-migrate client/src/components/helpers/**

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #42256

@thecodingaviator np. I'll make the quick fix 🙏🏿

Hey there,
Technically, there is little difference, but semantically, this means the arguments do not have to be given.

Yes. I think I was trying to dodge an ts-lint error 🤣. But, definitely aware of the semantics.