Observations.dwc api return 404 for pages over 334

Copied from inaturalist/iNaturalistAPI#125 :
Hi,
I am harvesting Australian observations using the observations API and returns 404 for pages over 334 and it doesn't matter what page size I choose. Here are the api calls:
https://www.inaturalist.org/observations.dwc?page=334&max=10&place_id=6744
https://www.inaturalist.org/observations.dwc?page=334&max=100&place_id=6744
https://www.inaturalist.org/observations.dwc?page=334&max=200&place_id=6744
To more clarify my use case:
I get the number of entries using https://www.inaturalist.org/observations.json?place_id=6744 API and x-total-entries header field then calculate the number of pages by taking the page size into account.
if I call above url as json api instead of dwc (https://www.inaturalist.org/observations.json?page=334&max=10&place_id=6744)I will get following error:
{     "error": "Internal Server Error" }

We could probably use some better error handling here. In essence - we do not allow paging the results of a query past 10,000 results. This is a side effect of the configuration of Elasticsearch which has a max_result_window to prevent high memory usage for high page numbers (see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html). Ideally we'd catch that error and tell the user why they can't see more results.
The way to avoid this is to create new searches, as opposed to paging through the results of a single search.  If you're not tied to the response formats of the above APIs, I'd recommend you use the API at https://api.inaturalist.org . I'd make a call like https://api.inaturalist.org/v1/observations?place_id=6744&per_page=100&order_by=id&order=asc, get the last ID of the result set, then continue making calls like https://api.inaturalist.org/v1/observations?place_id=6744&per_page=5&id_above=5000000 using the id_above parameter with the last ID of the previous set. Since these are new searches and not pages of a single search, there is no limit to the number of observations you can fetch with this approach


Bug: nested subsegments don't work across threads

We're tracking a bug where nested subsegments don't work across threads, even when using the official suggestion in the documentation.
We've managed to reproduce the issue with some minimal code:
Code snippet
from concurrent.futures import ThreadPoolExecutor

from aws_xray_sdk.core import xray_recorder

@xray_recorder.capture("## lambda handler")
def lambda_handler(event, context):
    with ThreadPoolExecutor() as pool:
        @xray_recorder.capture("## f")
        def f():
            @xray_recorder.capture("## h")
            def h():
                pass

            def g(trace_entity):
                xray_recorder.set_trace_entity(trace_entity)
                h()
                xray_recorder.clear_trace_entities()

            curr = xray_recorder.get_trace_entity()
            pool.submit(g, curr)

This produces the following XRay traces:
XRay trace
XRay Event at (2023-04-05T16:32:52.012000) with id (1-642d8694-731f0a1a6d204264677086db) and duration (0.388s)
 - 0.388s - lambda-function-url-HelloWorldFunction-sRQB00cHvXOP [HTTP: 200]
 - 0.021s - lambda-function-url-HelloWorldFunction-sRQB00cHvXOP
   - 0.223s - Initialization
   - 0.020s - Invocation
     - 0.019s - ## lambda handler
       - 0.018s - ## f
     - 0.000s - ## h
   - 0.000s - Overhead

The expected output would be for the "h" trace to be nested under "f":
Expected output
XRay Event at (2023-04-05T16:32:52.012000) with id (1-642d8694-731f0a1a6d204264677086db) and duration (0.388s)
 - 0.388s - lambda-function-url-HelloWorldFunction-sRQB00cHvXOP [HTTP: 200]
 - 0.021s - lambda-function-url-HelloWorldFunction-sRQB00cHvXOP
   - 0.223s - Initialization
   - 0.020s - Invocation
     - 0.019s - ## lambda handler
       - 0.018s - ## f
         - 0.000s - ## h
   - 0.000s - Overhead

I suspect this _refresh_context method is the source of problem.
It tries to get a segment object from the current thread local(code). If this segment is not present, then the context is reinitialized (code) making the current entity to be the facade segment, which is essentially the Invocation subsegment in the final trace.

Thank you for the update @srprash. When I dug into the problem, I come to basically the same conclusion. However, my python skills are not strong enough to understand why the thread local attribute is not present.


[Feature Reqest] Export deadlines with iCal

Issue Description
I would love to be able to automatically export tasks from ReCodEx and add them into my Google Calendar (as I don't actually visit ReCodEx that often, especially in the last few weeks of semester)
HTTP Request Example
https://recodex.mff.cuni.cz/api/v1/export_ical?token=<token of user of subject>
Expected Behaviour
API would return tasks as iCalendar formatted events
Actual Results
Such API doesn't exist

Such feature request was already registered in web-app. Although it is a good feature, I cannot give you any estimates regarding when it will be prioritized.

I see, closing as duplicate then


feat(can): add gripper messages to adjust vref, pwm, movements

Making the gripper grip.
Relative changes in opentrons_hardware here

Pretty awesome!


tmp: add debugging logs

size-limit report 📦

Path
Size

target/wasm32-unknown-unknown/release/okp4_objectarium.wasm
438.71 KB (0%)

target/wasm32-unknown-unknown/release/okp4_law_stone.wasm
658.67 KB (0%)

target/wasm32-unknown-unknown/release/okp4_cognitarium.wasm
809.82 KB (0%)

target/wasm32-unknown-unknown/release/okp4_dataverse.wasm
483.01 KB (0%)


Adding the Belgian flag

@AndyMathys Hey! :smile:
Thank you for contributing. This looks great! Merging.
Keep contributing! :smile:

Thanks for merging it in @manrajgrover


End user can receive xDAI on Gnosis destination

Problem
End users are most often going to look for xDAI the native asset on Gnosis. We are currently providing wxDAI on Gnosis destination
Acceptance Criteria
From an end user perspective, the below criteria must be met to consider this done:

[ ] Receive xDAI by default on Gnosis
[ ] Able to receive wxDAI if desired

Proposed Solution
Insert add any changes to enable a similar end user flow to ETH

should be fixed by the commit https://github.com/CoinHippo-Labs/connext-bridge/pull/121/commits/eef279d1030bef963c1d0180571c1315c20a7cfd


loadChats give null

trying to get chat count and unread messages, I query loadChats()
['query', {type: 'chat', epoch: '4'}, null]
response is
["response", {"duplicate":"true","type":"chat","status":"17931"}, null]
other requests works fine.
any help, please?

Same here. Tried loadChats() and got null.
sendMessage() works perfect!

same problem here, any workaround/fix available?

Hey,
I'm sorry, but due to time constraints I'm only managing this project very infrequently.
As far as I know, the fact that WhatsApp replies with a duplicate message means that an identical message has previously been sent. Therefore it is cached in the WAMessageParser class and returned when client.loadChats() is called.
This does not work for all of you?


Issue

Thanks for reporting an issue, to help us file this efficiently we made this template. Feel free to ignore the template if you wish :)
If this is a bug or a problem with one of our websites or page on one of our sites, please put the URL or page address here:
Please tell us the steps to reproduce the problem, if needed:

Please tell us a little bit about how you're accessing the site or page, such as which web browser and which version of the browser:
(You can also vist https://aboutmybrowser.com/ which will give you a link you can share with us that'll tell us everything we need to know)
You can also attach a screenshot to this issue if you have a visual bug to report. That'll help us figure it out faster. http://www.take-a-screenshot.org/ has instructions on taking screenshots.
Finally, we're going to put someone's name here, so they get alerted to the new issue and can assign it to the right person. @mattl @little-wow

@attackwombat If you have an issue, please let us know :)


Migrate Vignette

[x] incorporate here
[x] descriptions
[x]  update readme [add pointer to vignette & geomxtools]
[x] confirm license information
[x] Remove DE cheat sections

Package accepted for publication to bioconductor.
Please note request to transition to summarizedExperiment framework in future releases, as well as potential need to simplify certain code sections or move them to R/


maketx: added --fixnan option

maketx gets an option to fix nan/infs in the image.  (defaults to off)

Sounds good on all accounts.  Fixing...

LGTM other than my requests to rearrange the arguments to fixNonFinite and slightly less verbose help message.  (I'm happy to go fix the maketx docs myself after you commit.)
Does this fully make our in-house customizations redundant, so we can all use the same maketx again?

Yup, this will deprecate makecolortx. (For new shows just starting we'll probably symlink makecolortx -> maketx) until pipelines reflect the new name).
:)

Hmmm... looks like ImageBuf assignment operator is not specially implemented.  So it looks like ImageBuf assignment really is doing a member by member assignment of all variables including std::vector m_pixels;
In the case where you do
ImageBuf a;
ImageBuf & b = a;
a = b;
does the compiler optimize this out?
Or should assignment operators need to check &other != this?

Um... we should probably implement operator=, and check for &src==this and take an early out in that case.
On Feb 24, 2012, at 2:49 PM, Jeremy Selan wrote:

Hmmm... looks like ImageBuf assignment operator is not specially implemented.  So it looks like ImageBuf assignment really is doing a member by member assignment of all variables including std::vector m_pixels;
In the case where you do
ImageBuf a;
ImageBuf & b = a;
a = b;
does the compiler optimize this out?
Or should assignment operators need to check &other != this?

Reply to this email directly or view it on GitHub:
https://github.com/OpenImageIO/oiio/pull/235#issuecomment-4166745

--
Larry Gritz
<EMAIL_ADDRESS>

Addressed all comments 3303668a867d8c4c16f8618c23c0366887d858c5

@lgritz - Thoughts on implementing imagebuf operator= (even a simple one) prior to the 1.0 tag?  There's also a lot of implementation in the imagebuf.h header.  It would probably make sense to move these to the .cpp side to maintain greater flexibility.

Agreed.  I can tackle that if you want.
I think that the default operator= is fine, from the point of view of your code.  It's mainly the a=a shortcut that is lacking.
On Feb 24, 2012, at 4:45 PM, Jeremy Selan wrote:

@lgritz - Thoughts on implementing imagebuf operator= (even a simple one) prior to the 1.0 tag?  There's also a lot of implementation in the imagebuf.h header.  It would probably make sense to move these to the .cpp side to maintain greater flexibility.

--
Larry Gritz
<EMAIL_ADDRESS>

Committed in 649129fcfc3290c9a438e38a63d06cf71fcde2f0
@lgritz , that would be awesome if you tacked the operator=.  I'll hold off on pushing out the spcomp2 until it's in there, ok?


As a developer, I want to have an enum of available scopes

it should contain the list defined in https://github.com/blockstack/blockstack.js/blob/afdaac019cf6d19db21f5e296f9d53c9a33cc70c/src/auth/README.md#scopes

see branch feature/scope-enum

Completed with @friedger 's kind help.


[devtools] update wndt76

What's changed, or what was fixed?

remove portals section b/c the tooling story isn't complete

Fixes: n/a
Target Live Date: 2019-05-28

[x] This has been reviewed and approved by (NAME)
[x] I have run npm test locally and all tests pass.
[x] I have added the appropriate type-something label.
[x] I've staged the site and manually verified that my content displays correctly.

CC: @petele

Whoops!
There were 5 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/updates/2019/05/devtools.md#L20 - Common typo found: 'node' Should it be 'Node'?
src/content/en/updates/2019/05/devtools.md#L21 - Common typo found: 'node' Should it be 'Node'?
src/content/en/updates/2019/05/devtools.md#L192 - Common typo found: 'node' Should it be 'Node'?
src/content/en/updates/2019/05/devtools.md#L134 - Common typo found: 'Service Worker' Should it be 'service worker'? Capitalize Service if it's the first word in the sentence.
src/content/en/updates/2019/05/devtools.md#L57 - Line must be at most 100 characters

:tada: This has been pushed live to https://developers.google.com/web/


🐞 Control Panel "There is a problem with your session" page

Describe the bug.
When a user logs in to the Control Panel, their session length is 1 hour. When this expires, they are redirected to a page that states there is a problem with their session, with a link to "reset your session":

To Reproduce

Log in to control panel
Wait an hour....
Refresh your page

Expected Behaviour
This information is not accurate - there is no "problem" with the session, it has simply expired. Therefore as a minmum, the text on this page should be updated to more accurately reflect the issue e.g. "Your session has expired, please click here to log back in".
However, now that the MFA requirement was disabled in https://github.com/ministryofjustice/analytical-platform/issues/4557 we may have the opportunity to now implement a session refresh mechanism, so that we log the user back in programatically, removing the need for the redirect. We should be able to limit this "session refresh" for to a set time period (e.g. 12 hours) before we then redirect the user, and prompt them to manually log back in.
Additional context
Some further reading:
https://auth0.com/docs/secure/tokens/refresh-tokens
https://auth0.com/blog/balance-user-experience-and-security-to-retain-customers/

Some useful (or maybe not) info to help with this task:
The MoJ Forms team carried out a spike back in early 2023 to explore this issue within their platform. The outcome of the spike is here:
https://docs.google.com/document/d/1krDU9yWu6Z_7NiJaY3vvDvOEzod0M01y-QmrScJg_p4/edit#heading=h.h535t4wxxj10
The team implemented option 3a. A link to the figma designs is here: https://www.figma.com/design/t0e1WcBWPonQeEO33QJC6n/MoJ-Forms?node-id=5569-40361&t=GXgDTD3Ta5KpYqZc-0
I was pretty sure that this approach was signed off by cyber but I can't seem to find the email. I'll reach out to Matt Tei who was the TA at the time.

Page has been updated to inform that the session has expired. Session length updated to 12 hours


Unable to locate executable file: 'iotedgedev'

Question, Bug, or Feature?
Type: Bug
Enter Task Name: AzureIoTEdgeV2

Server - Azure Pipelines
Agent - Hosted
vmImage windows-2019
agent version 2.198.3
AzureIoTEdge task version 2.199.0

Issue Description
Error: Unable to locate executable file: 'iotedgedev'. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.
log.zip

@igorzdravkovic thanks for reporting this issue. We will investigate and report findings here.

Any news on this? I have the same problem.

I got the same issue but on following agents:
ubuntu-latest -> Ubuntu 20.04
windows-latest -> windows-2022
It is working on windows-2019 and ubuntu 18
And I have also noticed that the execution time of iotedgedev Generate Deployment Manifest has become slower and slower, I think it started around 30-60s build time, but on ubuntu 18 it increased to 6.5min. So I switched to windows-2019 which executes in 2.5-3min which is still veeeeery slow for just a json formater.

hello @igorzdravkovic, @arame, and @mathiash98.
The issue has been fixed with the latest task version 2.202.0
Thank you

Closing the issue, please update if the symptoms persist.


Feature: partial implementation of the "new game" scene

This requires https://github.com/ForNeVeR/overtone/pull/50 to be merged before hands (this PRs contains the same commits)
This adds :

Documentation of text formats in Overtone.Game\Config\...
Dummy planet definition parser (more to come on future PRs !)
SoundsConfiguration reader (to map soundName to sound file path)
Hacky partial rendering of the new-game screen (misses texts and world size indicator)
Handle UI events for the new game screen + global GameState module !

I've rebased it on top of the latest master, hope it's okay for you.

I marked it as draft to prevent crossing pull requests. This is working as is

I've also cleanup up commits for upcoming PRs
Spoiler : Here is how far i've been


python310Packages.aioqsw: 0.3.1 -> 0.3.2

Changelog: https://github.com/Noltari/aioqsw/releases/tag/0.3.2
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 218255 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.qnap_qsw
python310Packages.aioqsw
python311Packages.aioqsw


Incorrect permissons with command /proximity

Can you explain the issue?

You should not be able to run the command while playing

@Alfalik Red's orb hasn't been touched but apparently in /proximity, it has.

@dentmaged you can't see if the enemy team has touches

@CaptainElliott I asked Elly about it, he wanted permissions. Look here https://github.com/twizmwazin/CardinalPGM/pull/418

This is intentional. If you have a certain permission, you can use the command, just like /tp, etc.

You should not be able to run the command while playing, even if you are admin or moderator. This is a gameplay breaking

@TiTo-418 If you are an admin or moderator, you should be mature enough to not use the command while playing.

@TiTo-418 In that case, you can also join obs to see if they have a touch. I don't think this has to be changed

A good option is to let this command only for admin rank

@twizmwazin Just for knowledge; did you finally added the Ref rank? If the answer is yes (I don't think so) what is the command to make someone ref? Thank you ;)

Please keep this on topic @MrTheSharpie
But to answer your question, no, there will not be a ref rank

Please remove the "bug" tag


gcc: 8.2.0 -> 8.3.0

https://gcc.gnu.org/ml/gcc/2019-02/msg00121.html
Motivation for this change
Bug fix release!
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Builds and runs for me on NixOS.

This pull request has been mentioned on Nix community. There might be relevant details there:
https://discourse.nixos.org/t/rationale-behind-compiler-update-in-stable-channel/2339/2

This pull request has been mentioned on Nix community. There might be relevant details there:
https://discourse.nixos.org/t/rationale-behind-compiler-update-in-stable-channel/2339/3


Animate with Cetz

Attempting to deal with a similar use case as #157, though with some additional functionality, could it be possible to use polylux animations with cetz drawings (related discussion on cetz repo)?
I tried
#slide(title: [Packages])[
  #cetz.canvas({
    import cetz.draw: *
    content((0,0), [#only(1)[#image("assets/decision-tree_1.png")]])
    // Draw a circle and place its "west" anchor at the origin.
    circle((0,0), anchor: "west")
  })
]

but no dice. I don't understand the internals of either package enough to have a sense of what to do.

#let mycontent(show-image: true) = cetz.canvas(
  {
    if show-image {
      content((0, 0), [#image("assets/decision-tree_1.png")]) // Draw a circle and place its "west" anchor at the origin.
    };
    circle((0, 0), anchor: "west")
  },
)

//First way
#slide[
  #alternatives[#mycontent(show-image: true)][#mycontent(show-image: false)]
]

//Second way that might be too clever
#range(2).map(i =>slide[#mycontent(show-image: i == 0)]).join()

Touying allows you to insert pauses in CetZ diagrams
https://github.com/touying-typ/touying

Oh, very cool, thanks for the idea! I bet I could adapt that with a for loop to add a list of images...
And thanks for the link to touying - I see that you've also got pinit support, which I'm very keen on!


GROOVY-9569: check outers and uppers for static fields

use ArrtibuteExpression for outer field
use PropertyExpression for upper field

https://issues.apache.org/jira/browse/GROOVY-9569
https://issues.apache.org/jira/browse/GROOVY-9501
https://issues.apache.org/jira/browse/GROOVY-5259

Merged. Thanks!


validation process is slow

It is slow for validation on each epoch. It takes almost the same time for training.
I don't know why not use dataloader for validation for each epoch?
Actually, the bottleneck of the network during validation is data loading.

This is an historical issue and we indeed have plan to use dataloader for validation. For COCO dataset, the validation takes about 10% of the total training time.


Automated creation of load-balanced https endpoints over all rpc and rest nodes

Would be nice to have an endpoint that balances over all the nodes

Starting to think we shouldn't focus on this currently. Don't think this is necessarily related to the registry alone, nor necessary for a mvp right now. That okay with you @sunnya97 ?

This is definitely V2

The better alternative to this is to recreate the Fallback Provider feature from ethers.js
https://docs.ethers.io/v5/api/providers/other/#FallbackProvider


New

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
System information (please complete the following information):

OS
Python version
ART version or commit number
TensorFlow / Keras / PyTorch / MXNet version

I'm closing this issue because of the empty description.


Fix route generator

Since we're code splitting reducers now, if a route is generated for a container component with a reducer, we need to add that reducer to the route!
This can only be done after #254 is merged!

@mxstbr how do you want to solve this bug? Asking by 'do you have a reducer for this component?' or by asking 'is it a component or container' or something else?

What we need to do is check in the route generator if the selected component for the route is a container that has a reducer.js file, and if it does add the code splitting code added in #254 to the route!

Done by the great @jurekbarth in #294! :tada:


Establish connection to an already connected device

I'm in the process of replacing the ble code of an app of mine (standard Android libraries) with RxAndroidBle.
There is a particular case that it seems to be not covered by this library.
I got a brodcast from the OS that a device is connected from the standard BLE panel of Android.
I got the BluetoothDevice but i don't have the GattCallback since it was connected outside of my app. So i just call device.connectGatt to get my callback. This just works and i can link my callback to the device.
In RxAndroidBLE running  rxBleClient.getBleDevice(device.address).establishConnection throws an already connected exception and i can't retrieve rxBleConnection.
I'm not saying that this is a bug, but i need to find a workaround to get past this limitation.

The library works in scope of the application. If the OS broadcasts that a device is connected and library emits BleAlreadyConnectedException it means that your app has already connected to the peripheral or at least an approach was made that was not cancelled.

Ok clear! thanks


[Fix] Re-add device to optimize_step

To avoid having to let the user move arbitary (custom) data loader types to the device, we reintroduce the 'device' arg to optimize_step which uses data_to_device method which supports a variety of qadence-compatible data types.

I see you've tagged it breaking, I'm not sure if I see why. But if it's breaking shouldn't we at least bump minor rather than patch?

@awennersteen not sure about the. breaking change either, i tested it with current flow and it seems to be fine. so patch might be enough


Strict Concurrency Warnings [Xcode 14]

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

The SnapshotHelper generated with fastlane 2.210.1 (and presumably older) is not entirely compatible with 'Complete' concurrency checking.
To reproduce, set the SWIFT_STRICT_CONCURRENCY` build setting to 'complete', and include the SnapshotHelper.swift file into your project. You'll notice a hefty amount of warnings are being spun up.
It is not clear whether these warnings are indicative of any underlying problems, but at a bare minimum are causing noise. Would be nice for us to address this in a future fastlane version 🙂

Reference to  is not concurrency-safe because it involves shared mutable state

Command executed

This is not linked to a specific action or command, but rather the inclusion of the SnapshotHelper.swift file generated by calling (bundle exec) fastlane snapshot init.
Complete output when running fastlane, including the stack trace and command used
N/A
Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
13.0

Ruby
3.0.0

Bundler?
true

Git
git version 2.35.3

Installation Source
~/.rvm/gems/ruby-3.0.0/bin/fastlane

Host
macOS 13.0 (22A5342f)

Ruby Lib Dir
~/.rvm/rubies/ruby-3.0.0/lib

OpenSSL Version
OpenSSL 1.1.1q  5 Jul 2022

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode-14.1.0-Beta.app/Contents/Developer/

Xcode Version
14.1

Swift Version
5.7.1

System Locale

Variable
Value

LANG
en_GB.UTF-8
✅

LC_ALL

LANGUAGE

fastlane gems

Gem
Version
Update-Status

fastlane
2.210.1
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.5.0

bundler
2.3.20

tsort
0.1.0

set
1.0.1

uri
0.10.1

pathname
0.1.0

rake
13.0.6

rexml
3.2.5

CFPropertyList
3.0.5

public_suffix
5.0.0

addressable
2.8.1

artifactory
3.0.15

atomos
0.1.3

aws-eventstream
1.2.0

aws-partitions
1.644.0

aws-sigv4
1.5.2

jmespath
1.6.1

aws-sdk-core
3.159.0

aws-sdk-kms
1.58.0

aws-sdk-s3
1.114.0

babosa
1.0.4

claide
1.1.0

colored
1.2

colored2
3.1.2

highline
2.0.3

commander
4.6.0

declarative
0.0.20

digest-crc
0.6.4

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

dotenv
2.8.1

emoji_regex
3.2.3

excon
0.93.0

faraday-em_http
1.0.0

faraday-em_synchrony
1.0.0

faraday-excon
1.1.0

faraday-httpclient
1.0.1

multipart-post
2.0.0

faraday-multipart
1.0.4

faraday-net_http
1.0.1

faraday-net_http_persistent
1.2.0

faraday-patron
1.0.0

faraday-rack
1.0.0

faraday-retry
1.0.3

ruby2_keywords
0.0.5

faraday
1.10.2

http-cookie
1.0.5

faraday-cookie_jar
0.0.7

faraday_middleware
1.2.0

fastimage
2.2.6

gh_inspector
1.1.3

jwt
2.5.0

memoist
0.16.2

multi_json
1.15.0

os
1.1.4

signet
0.17.0

googleauth
1.2.0

httpclient
2.8.3

mini_mime
1.1.2

trailblazer-option
0.1.2

uber
0.1.0

representable
3.2.0

retriable
3.1.2

webrick
1.7.0

google-apis-core
0.9.0

google-apis-androidpublisher_v3
0.29.0

google-apis-playcustomapp_v1
0.11.0

google-apis-iamcredentials_v1
0.15.0

google-apis-storage_v1
0.19.0

google-cloud-env
1.6.0

google-cloud-errors
1.3.0

google-cloud-core
1.6.0

google-cloud-storage
1.43.0

json
2.6.2

mini_magick
4.11.0

naturally
2.2.1

optparse
0.1.1

plist
3.6.0

rubyzip
2.3.2

security
0.1.3

simctl
1.6.8

terminal-notifier
2.0.0

unicode-display_width
1.8.0

terminal-table
1.8.0

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

word_wrap
1.0.0

nanaimo
0.3.0

xcodeproj
1.22.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.1

generated on: 2022-10-20

bot pls no close 🤣


Move precompiles into the Ethereum state

The system contracts are currently defined as precompiles and live at addresses 0x000...0 to 0x000...b.
We should research how these can be moved into being part of the Ethereum state.

just included thier wasm codeHash in an account array. ie [0,0,0,codeHash]


When using the /p command it does not show the UI

Issue description

Expected result: The UI interface to be opened
Actual result: It simply shows you the list of commands as if you were using /p help

Steps to reproduce the issue

Go to the world of plots and use /p
UI interface does not open

OS and versions

Plugin Version: Dev #805 (MyPlot v2.1.0)
PocketMine-MP: 4.2.3
PHP: 8.0.16
Using JIT: no
Server OS: linux
Game version: Win10

Other Plugins

Plugins (3): FormAPI v2.1.0, MultiWorld v1.7.0-beta4, MyPlot v2.1.0

If you remove all other plugins, does the issue still occur? Yes
If the issue is not reproducible without other plugins:

Have you asked for help in the community discord before creating an issue?
Can you provide sample, minimal reproducing code for the issue? If so, paste it in the bottom section.

Crashdump, backtrace or other files

https://streamable.com/1wqrw4 <--- Before closing the issue and saying "it works for me", please watch the video.

Just checking, is UI Forms enabled in your config?

Just checking, is UI Forms enabled in your config?

# Allows use of MyPlot forms on /plot command
# This does not add UIs for all commands. Some actions still require commands to use.
UI Forms: true


Siamese Network and Similarity Score

Please let me know which part of the code has Siamese network and it produces a similarity score between search and target image?
Thanks

Closing, since we moved this discussion to email.


chore: Update models for release 0.18.0

Description of changes
Update to latest AWS service model definitions.
New/existing dependencies impact assessment, if applicable
No new dependencies were added to this change.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/test

/test


Running NLTK on linux

I got the python2 hello world script working on localhost, but I cant seem to be able to modify the fs.json, since it causes a kernel panic.
Anyways, any tips on how to do this?

What Linux are you running? Can you upload the disk image and the fs.json so I can reproduce the issue?

Err, I just copied the arch linux demo from webiste, that took a while. its
not an image, its 9p fs, and so far i got 4gb of files, so thats an issue,
unless you have an FTP address. the fs.json is 10 megabytes.
Anyways, I can send you the files if you can supply a good gateway. I'm
getting off work right now, so, I'll be deving it tomorrow prolly.
On Tue, Nov 21, 2017 at 6:12 PM, Fabian<EMAIL_ADDRESS>wrote:

What Linux are you running? Can you upload the disk image and the fs.json
so I can reproduce the issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/copy/v86/issues/173#issuecomment-346076457, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Add7LSWSjQ_1aKriKIubBlDyNPofj2kgks5s4vZagaJpZM4Ql94H
.

Well, I'd suggest to create your own image first since I'm not in the hosting business and the Arch Linux image includes a lot of things that you probably don't want. Then you can also include anything you want.
Now, I don't know what causes the kernel panic, but I assume that you were missing or overrode some files that were in use.


docker部署出错 无法推理结果

系统：kylin v10 armV8  aarch64
镜像：FROM kumatea/pytorch
python3 /app/uie_pytorch/uie-backend-api.py
[2023-09-10 14:42:23,681] [    INFO] - >>> [PyTorchInferBackend] Creating Engine ...
[2023-09-10 14:42:39,516] [    INFO] - >>> [PyTorchInferBackend] Use CPU to inference ...
[2023-09-10 14:42:39,518] [    INFO] - >>> [PyTorchInferBackend] Engine Created ...
/usr/local/lib/python3.9/site-packages/transformers/modeling_utils.py:909: FutureWarning: The device argument is deprecated and will be removed in v5 of Transformers.
warnings.warn(
调用无结果 502bad
POST http://<IP_ADDRESS>:888/
Error: socket hang up
Request Headers
Content-Type: application/json
User-Agent: PostmanRuntime/7.32.3
Accept: /
Postman-Token: 3f204252-7d5a-4732-8268-c60829276d57
Host: <IP_ADDRESS>:888
Accept-Encoding: gzip, deflate, br
Connection: keep-alive

本地x64架构可以本地运行：
[2023-09-10 22:05:06,773] [    INFO] - >>> [PyTorchInferBackend] Creating Engine ...
[2023-09-10 22:05:07,963] [    INFO] - >>> [PyTorchInferBackend] Use CPU to inference ...
[2023-09-10 22:05:07,964] [    INFO] - >>> [PyTorchInferBackend] Engine Created ...
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.

Serving Flask app 'uie-backend-api2'
Debug mode: off
Running on all addresses (<IP_ADDRESS>)
Running on http://<IP_ADDRESS>:888
Running on http://<IP_ADDRESS>:888
Press CTRL+C to quit
C:\Users\Administrator\anaconda3\lib\site-packages\transformers\modeling_utils.py:909: FutureWarning: The device argument is deprecated and will be removed in v5 of Transformers.
warnings.warn(
<IP_ADDRESS> - - [10/Sep/2023 22:05:16] "POST / HTTP/1.1" 200 -

解决方案：使用静态图模型引擎onnx。


Sending video from inline-search

At the moment, bot down .wemb results from inline-search. Despite the correct display their previews in the search, but try sending an video/mp4 ends in fatal error.
I do not not quite understand way to send the video as a text/html. Probably, instead of a direct link to the file must specify a valid URL to a page with the widget, which will play the result. But Gelbooru gives error 403 when trying to request a heavy GIF and/or .webm directly.
I am with @Forne already tried to create a simple proxy through Gin and our attempts have not been successful. Any ideas?

Try to send the fake referer at the HTTP header when requesting the video?

@YamiOdymel I've already propose this yesterday. I'll write it as soon as I have time.


Skip previews of Storybook and Tailwind in main branch

Description

Skip the preview step on main as the final Storybook and Tailwind pages are generated by GitHub Pages workflow and it's causing the CI pipeline to fail on main.
Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Finally fixed! 😄 Thank you all for the quick reviews 🌟


Please Add: OpenStorytelling Plus

Hi!
Can you add GPT: Pull request has been sent...
https://chat.openai.com/g/g-LppT0lwkB-openstorytelling-plus
Thank you.
Bryan
@BryanHarrisScripts (Github)
@BryanRebooted (X, Youtube)
OpenStorytelling.com (Github Pages)

Resolved in your PR, so closing this.


server failed register in edas

Two situations may cause server register in edas failed
1.springboot version 2.1.X with springcloud version 0.2.1
you should change springboot version to 2.0.X or springcloud version 0.2.2+
2.you forget to configure spring.application.name in application.properties

For the 1st Question:
Spring Boot compatibility information.

Release Train
Boot Version

Greenwich
2.1.x

Finchley
2.0.x

Edgware
1.5.x

Dalston
1.5.x

0.2.1.RELEASE is build in Finchley, so you could use Spring Boot 2.0.x
For the 2nd Question:
https://github.com/spring-cloud-incubator/spring-cloud-alibaba/issues/391

when missing spring.application.name , will log
        if (StringUtils.isEmpty(registration.getServiceId())) {
            logger.info("No service to register for nacos client...");
            return;
        }

currently the log level is info, will change it to WARN level


Replicating startDestinationRoute.popUpto() from compose navigation

Hello maintainers.
Thanks a lot for this library!
It really simplifies work a lot, and I am replacing navigation-compose with it.
However, I want to know if there is a way to
replicate what startDestinationRoute.popUpto() in navigation compose does.
That is, when navigating to 3 different screens sequentially, on tapping the back button on the 3rd screen, I should come back to the first screen.
Thanks again!

Hi @KotlinGeekDev, thanks for the feedback!
Yes, it's possible. Although Appyx does not provide this, you can implement your own BackStackOperation to support this behaviour. For the reference, you could take a look at how Pop is implemented. It should be really straightforward to implement PopUpTo operation

Thanks @KovalevAndrey I will have a look.

Still trying to understand how to use it. I have a bottom nav bar where I will use it, but struggling to understand how to make it work such that it navigates to the target destination, but applies the popUpto(), when pressing the back button.
cc @KovalevAndrey

I went for a simple solution: Using a BackHandler in each target screen, with the code to navigate back to the first target screen.

@KotlinGeekDev you can actually use singleTop operation provided by Appyx. It will do what you need

@KovalevAndrey I thought the same as well, but for some reason it did not work for me.
Maybe I am doing something wrong?:thinking:

@KotlinGeekDev can you please provide details how are you using it and what's not working for you? (end result)

@KovalevAndrey Here is the code(line 104): https://github.com/KotlinGeekDev/Nosky/blob/revamp-navigation-arch/app/src/main/java/kt/nostr/nosky_compose/MainActivity.kt

I went for a simple solution: Using a BackHandler in each target screen, with the code to navigate back to the first target screen.

That is why I went with this 'simple' solution. 😅

@KotlinGeekDev please check out latest 1.x branch, launch samples.sandbox and open NavModel examples -> Backstack example. There you can play with a back stack, using singleTop operation. At the bottom of the screen you'll see visual representation of the back stack that should help with understanding of which elements are in back stack

OK @KovalevAndrey thanks. Will check it out.


Can't Draw Text with Direct2D1 & DirectWrite :(

Hello Guys,
i want to draw a text in my form, but everytime i get a Access Violation Exception if i want to create the rendertarget :(
Maybe you can help me and explain me what i do wrong?
`       private DeviceContextRenderTarget device;
private TextFormat format;
private SolidColorBrush brush;
    private void button1_Click(object sender, EventArgs e)
    {
        this.device = new DeviceContextRenderTarget(new SharpDX.Direct2D1.Factory(SharpDX.Direct2D1.FactoryType.SingleThreaded),
            new RenderTargetProperties(new PixelFormat(SharpDX.DXGI.Format.B8G8R8A8_UNorm, AlphaMode.Ignore)));
        this.format = new TextFormat(new SharpDX.DirectWrite.Factory(), "Arial", 1.0f);
        SharpDX.DXGI.Surface surface = new SharpDX.DXGI.Surface(this.Handle);
        RenderTarget renderTarget = new RenderTarget(this.device.Factory, surface, new RenderTargetProperties());
        this.brush = new SolidColorBrush(renderTarget, SharpDX.Color4.Black);

        this.device.BeginDraw();
        this.device.DrawText("Hello World", this.format, new SharpDX.RectangleF(0, 0, 100, 100), this.brush);
        this.device.EndDraw();
    }`

SharpDX.DXGI.Surface surface = new SharpDX.DXGI.Surface(this.Handle);

You can't do this. The handle of the window has nothing to do with the COM pointer of a DXGI surface. Please follow the Direct2D documentation to properly use Direct2D with a HWND.


DO_NOT_MERGE [CPF-3729] Partial builds for genJava - cut 70% off builds for small changes

This PR would have been difficult to split into multiple parts, so bear with me;
Story Time
Enter genJava

The genJava script was unaware of which files have been modified
Even if genjava.js knew what files were changed, it operates on class names from classes.js and has never needed to care about file paths.
The loadServer function in foam.js does add the source file to each model, but 163 classes were still not filtered because they were loaded from the ClassLoader.

Enter foam.apploader.ClassLoader

When a model is loaded using the ClassLoader, the result is not consistent with files.js. The reason for this is ClassLoader finds files based on the classname, and therefore doesn't support having multiple models in a file.

Enter "walking all the files and generating a map of model IDs to filenames"

Okay so this was complicated. Without invoking the classloader (that would be a bit of a catch 22) or depending on files.js (wouldn't it be nice if that was generated for us?), I saw two options for processing the javascript files:

Using a javascript AST parser
Run javascript files in an environment where foam.CLASS (and family) just reads the name of a model to store it in a map

I went the second option because I figured it would be the least horrible. It was more complicated than expected (classpaths like foam.u2.CSS being referenced outside of any functions, and similar issues), so I used a javascript native Proxy object that recurses to trick source files into thinking these variables and functions exist (so that an error doesn't terminate processing). It worked great! The only caveat is each "root variable" (ex: foam, net, com) needs to be specified. This is easy to maintain; I was able to get full coverage with just a few.
FOAMLink
I wanted the map of classes to be output to a JSON file so it could be re-used by other build tools in the future (like the javascript builder), since the file-walking and model processing adds about 2 seconds.  This meant I needed to make a node script which also meant I had to name something. I decided to call it foamlink.
foamlink.js Manifest Files
The foamlink script walks the file tree and keeps an eye out for foamlink.js files. A foamlink.js manifest contains extra information for edge-cases or files and directories that need to be ignored. Luckily these files need just a few entries to get everything working.
files.js
While files.js is still needed for the javascript builder and projects not using liveScriptBundler, it could be generated with the help of FOAMLink. This will require some additional work to figure out dependancies, for which foamlink.js files could perhaps provide manual overrides.

Right now genjava uses foamlink mode by default which could cause problems if a project's build isn't configured for it. I think I'll fix this by setting global.FOAMLINK_DATA based on the environment variable FOAMLINK_DATA rather than hardcoding a path

I fixed the genjava regression I mentioned earlier (foamlink enabled by default without build configuration). This PR will no longer affect any existing project using genjava until a path to the foamlink data file is specified with an environment variable.

 I know what the problem is now and have a hack-fix for it, tomorrow I'll implement a proper fix and push some more code


usm: process monitor: tests: More robust TestProcessMonitorInNamespace

What does this PR do?
Improves TestProcessMonitorInNamespace by checking we captured events on the target PID, and not random exec/exit events.
Also, using a slower process (sleep 1) instead of echo, to reduce the chances we got exit event before exec event

Motivation
Test flakiness

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Document response handling

Create a section in the documentation for response handling.
It should include:

Serialization (From the current quickstart section)
How connexion handles response objects
How to return status code
After #77 is merged, how to return headers

:+1: the Sphinx documentation is pretty sparse right now


Data args passed through Allocation

Pass dynamic parameters through allocation instead of using multiple 'cases';

'inline_format' is now (#define) macronized!


Module not found: Error: Can't resolve 'formex'

My installation is fresh new Phoenix 1.4, so there is a webpack.js project builder.
I added a dependency to the /assets/package.json file and it looks like this:
  "dependencies": {
    "phoenix": "file:../deps/phoenix",
    "phoenix_html": "file:../deps/phoenix_html",
    "formex": "file:../deps/formex"
  }

And added a line into /assets/js/app.js according to the documentation:
import {Collection} from 'formex'
But got the error:
ERROR in ./js/app.js
Module not found: Error: Can't resolve 'formex' in 'd:\test\hello\assets\js'

I changed the line:
import {Collection} from 'formex'
to
import {Collection} from '../../deps/formex'
And error is gone but the Add button doesn't work, there are no errors in the browser console.

Did you run npm install after including formex in package.json?

No, I didn't.
Now I ran it and changed back the line in app.js to
import {Collection} from 'formex'
And everything works, thanks!


Added slovak language support

There is already a Slovak translation in the develop branch, albeit with some differences.


adjust OpenSearch/Atom output

This PR brings the CITE CAT 3.0 testing to near completion:

passed: 123
failed: 1
skipped: 0

The atom:updated tag is failing because that is hard-coded in the unit tests.
The atom unit tests need to ignore the actual value of this element.

Just sent another update to the tests.  Let's see what Travis says now.


Adding SqlJson and Data write with SqlJson (#2752)

This PR introduces the SqlJson class along with its test.
It also adds the functionality to save SqlJson objects to Sql Server using the SqlCommand.

Can you update PR description to include new APIs added to the driver?


Bump main to 2.0.0~pre1

Branch ign-utils1 has been created for the Edifice release and 1.0.0 released from that.
The main branch now corresponds to version 2.0.0~pre1, and nightlies will soon be created from this branch.
https://github.com/ignition-tooling/release-tools/issues/421

the libignition-utils1-dev nightlies are still being build from main, and now they have this major version bump. this didn't break the ign-utils1-debbuilder jobs, but all the downstream ones are broken

 https://build.osrfoundation.org/job/ign-utils1-debbuilder/101/
 https://build.osrfoundation.org/job/ign-common4-debbuilder/293/

@scpeters, I believe we need to get this in: https://github.com/ignition-tooling/release-tools/pull/422


Spelling maps don't work

The default mappings for s (normal ]s and normal [s) don't work. Without an exclamation at the end, normal will use maps when sending keys, which means that [s and ]s will be defined in terms of themselves. This line should read:
M.nap("s", "normal! ]s", "normal! [s", "Next spelling error", "Previous spelling error")

You are right. Fixed. Thanks!!


MudTabs: Less Badge features supported

Feature request type
Enhance component
Component name
MudTabs / MudTabPanel
Is your feature request related to a problem?
Currently, only very few functions of MudBadge are supported in the MudTabPanel. Icons would be nice, for example.
Describe the solution you'd like
The full functionality of MudBadge should be supported. For this a property "Badge" should be added, which is of the type MudBadge. This is to be solved similarly to the ToolTips, which has already been implemented in some other Mud-Controls.
Current badge properties ("BadgeDot", "BadgeData" and "BadgeColor") should be marked as "Obsolete" and will be removed in later versions.
Have you seen this feature anywhere else?
No response
Describe alternatives you've considered
No response
Pull Request

[X] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

v7 is underway so breaking changes are possible


Add dark mode

Add a dark mode toggle and stylesheet

Button colors all static in dark mode unlike respective colors in light mode.

Added on-hover effects, for both text & icons.
Added smoother transitions between dark & light mode for background colours, icons & text.


ECONNREFUSED <IP_ADDRESS>:8883

Hello I want to open again an issue regarding this error.
I have seen, that you have recommended to ignore as there will be a reconnect afterward.
Yes it is so, but in my configuration, this error appears  approx. every 5 seconds and the reconnect takes another 2-3 seconds. This means 1/3 of the time, Alexa commands can not be executed and Alexa complains that service is not available.
My node red is running on Raspbian wheezy, Alexa and the Raspi are conected to the same AP, wireless connection is strong.
So do you have any other hints then just to ignore this error?
Thank you

This had nothing to do with the error.
You must have multiple instances signed in with the same username. Either different Node-RED instances or multiple config nodes.
You can only have one instance per username.
Make sure that you only have one config node and that all the device nodes are sharing the same one

Actually thinking about this some more (last update was half way up a mountain on my bike) if you are getting that error repeated (with both port 8883 & 1883), then it implies your network won't allow outbound MQTT connections. If this is the case then this node will never work.
What can you tell me about your network, is it home broadband or an office network? Is it behind a firewall? Do you need to use a proxy to access the web?

Hi Ben, thanks for your fast feedback.
Actually, it was your first assumption. I had another instance of node red for testing with a second config note. So deleting this instance fixed my problem.
My network is a home broadband and actually outbound MQTT should work. And I only get this error for port 8883, 1883 works fine
And now I do get this error only after a Deploy in Node Red. So thats OK
Thank you very much and have a nice weekend.
I will start the weekend with a bike ride as well ;-)


Use transifex for translations

Does anyone have a reason not to use transifex?

Added this repo to concrete5-packages https://www.transifex.com/concrete5/concrete5-packages/community-store/
Translations can be downloaded here http://concrete5.github.io/package-translations/
I'd suggest to add a hint to the README pointing to these locations
I'd suggest to remove the languages from this repo

I'd suggest to remove the languages from this repo

👍

Just added Danish Translation to Transifix


[exec] Implement Start, Wait & StdIOPipe methods

This change allows users to get a hold of the Std{out,err} streams of processes as io.Readers. This allows e.g. to wrap those readers with a io.limitedReader and other standard (and non-standard) mechanisms for generic io.Readers. This is currently not possible, as access to Std{out,err} is only possible via:

handing in a io.Writers
inspecting the returned []bytes from the Output/CombinedOutput methods

Specifically, we were looking into https://github.com/kubernetes/kubernetes/issues/70890 where we would jut employ an io.limitedReader to stop reading input after a certain amount of data.
/kind enhancement
/cc @mariantalla

/assign @apelisse

/lgtm
/approve


Only allow mouse button 0 to open links in 'mousedown' event

Currently, clicking any mouse button on a link will cause it to open the link; this prevents using e.g. right-click context menu on the link, and may grab mouse4/mouse5 inputs and use them as regular clicks. This change makes it so this mousedown override only applies to M1 (usually left click, but should support users that flip their mouse buttons as well).
Also fix typo for 'isReadOn(l)y'

@tulios Why does this mousedown override exist at all, when the ext already makes links clickable (and can therefore add target=_blank on those anchor tags in the first place)?

@tulios Why does this mousedown override exist at all, when the ext already makes links clickable (and can therefore add target=_blank on those anchor tags in the first place)?


KAFKA-15375: do not write clean shutdown marker file for a log dir if startup has not completed recovering it

When running in kraft mode, LogManager.startup is called in a different thread than the main broker
startup thread (by BrokerMetadataPublisher when the first metadata update is received.) If a fatal
error happens during broker startup, before LogManager.startup is completed, LogManager.shutdown may
mark log dirs as clean shutdown improperly.
This PR includes following change:

During LogManager startup time:

track hadCleanShutdwon info for each log dir
track loadLogs completion status for each log dir

During LogManager shutdown time:

do not write clean shutdown marker file for log dirs which have hadCleanShutdown==false and loadLogsCompletedFlag==false

Committer Checklist (excluded from commit message)

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

Thanks for catching this and fixing it @vincent81jiang . Do you think that this bug fix should be cherry picked to previous releases?


tf.contrib.distributions.NegativeBinomial numerical stability (inf)

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.2.1
Python version: 3
Bazel version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

Describe the problem
I'm working on a negative binomial regression model and ran into inf/nan values during training. I was able to trace it back to the NegativeBinomial implementation, and specificially when dealing with relatively large probability logits.
Example to demonstrate the issue:
import tensorflow as tf

logits = tf.constant([1.0, 5.0, 10.0, 15.0, 16.0, 17.0, 20.0, 50.0])
nb = tf.contrib.distributions.NegativeBinomial(10.0, logits)

sess = tf.Session()
x = sess.run(nb.log_prob(10.0))
print(x)

Results in
[  -4.83159161  -38.70070267  -88.56268311 -137.00408936 -147.99020386
          -inf          -inf          -inf]

Looking at the values before going to -inf (somewhere between 16.0 and 17.0) it doesn't seem to approaching any sort of limit, so I figured something else was going on.
Inside the NegativeBinomial class, the provides logits are first transformed to real probabilities by passing them through a sigmoid, which is 1.0 / (exp(-x) + 1.0). Later, in _log_unnormalized_prob, these probabilities go through a log1p(-x) function. The problem is that for big values and limited floating point precision, sigmoid will output exactly 1.0, which results in taking the log of -1.0 + 1.0, and the log of 0 yields negative infinity.
I first tried to fix it by simplifying the combination of functions and getting rid of the sigmoid.
I replaced  math_ops.log1p(-self.probs) with tf.log(1.0 / (tf.exp(self.logits) + 1.0)), which is equivalent (log((1 / (1 + exp(-x)) + 1) = log(1 / (exp(x) + 1)) but gives better numerical stability. For the same script but with higher values (1.0, 5.0, 10.0, 15.0, 16.0, 17.0, 20.0, 50.0, 70.0, 80.0, 90.0), the output now is:
[  -4.8315897   -38.70066452  -88.567276   -138.56636047 -148.56636047
 -158.56636047 -188.56636047 -488.56634521 -688.56634521 -788.56634521
          -inf]

This is better, but it still goes to -inf. Finally, I inspected the raw values of the function I changed, and noticed that it converges to -x somewhere after 15.0 as input, so my final solution looks like this:
tf.where(self.logits <= 20.0, x=tf.log(1.0 / (tf.exp(self.logits) + 1.0)), y=-self.logits)

So ultimately I changed from
def _log_unnormalized_prob(self, x):
    if self.validate_args:
        x = distribution_util.embed_check_nonnegative_integer_form(x)
    return (self.total_count * math_ops.log1p(-self.probs)
            + x * math_ops.log(self.probs))

to
def _log_unnormalized_prob(self, x):
    if self.validate_args:
        x = distribution_util.embed_check_nonnegative_integer_form(x)
    return (self.total_count
            * tf.where(self.logits <= 20.0, x=tf.log(1.0 / (tf.exp(self.logits) + 1.0)), y=-self.logits)
            + x * math_ops.log(self.probs))

which gives the correct probabilities for arbitrarily large probability logits.
I don't feel like creating a PR since I'm not convinced this is the most elegant solution, and not sure whether this problem might exist at other placed in the code base, for example other distribution types. For now, I made my own copy of BinomialDistribution with this fix included, and I'd like to invite you to verify the issue, check the math and perhaps come up with a better solution.
Thanks.

@jvdillon can you comment?

I ran into a similar but different issue with large negative logits. In this case, probs goes to 0.0 and the last log term of the expression goes to -inf. Similarly to the term I updated, the log converges to logits, so this case can be solved with a similar where op, like this.
def _log_unnormalized_prob(self, x):
    if self.validate_args:
        x = distribution_util.embed_check_nonnegative_integer_form(x)
    return (self.total_count
            * tf.where(self.logits <= 20.0, x=tf.log(1.0 / (tf.exp(self.logits) + 1.0)), y=-self.logits)
            + x * tf.where(self.logits >= -20.0, x=tf.log(self.probs), y=self.logits))

Sorry for just now seeing this. Ill push this change right now.

That's okay, I'm fine with my own version until this lands.

Fix submitted using the following logic:
def _log_unnormalized_prob(self, x):
if self.validate_args:
x = distribution_util.embed_check_nonnegative_integer_form(x)
return (self.total_count * math_ops.log_sigmoid(-self.logits)
+ x * math_ops.log_sigmoid(self.logits))

Nice, I knew there had to be a much better way. log(sigmoid(x)) is just -softplus(-x), and I can see in softplus_op.h that it deals with the same underflow / overflow issue I tried to solve here, but of course much more efficiently. Thanks!


interpreter.start does not follow transient transitions

Description
When starting an interpreted machine in a state that contains a transient transition, this transition is not executed.
While developing a state machine with a delayed transition using TDD, I stumbled across the problem that delayed transitions in the "start" state are not executed by the interpreter. I tried to use a dynamic transient state as a workaround (like mentioned in https://github.com/davidkpiano/xstate/issues/294#issuecomment-451472816), but it seems like this transition is also not executed.
Expected Result
interpret(machine).start(transientState) should follow the transient transitions.
Actual Result
It does not.
Reproduction
https://codesandbox.io/s/dreamy-paper-062hz?file=/src/index.ts
console shows restart, expected restart, then sending, later done
Additional context

IMHO it makes sense that those are not resolved because .start(rehydratedState) is mainly supposed to be used for, well, rehydration and whatever state that you have stored somewhere should be a result of already taken transitions and that would mean that for the given rehydratedState all transient transitions were already checked (before returning the final resolved state to you - the caller). So it IMHO doesn't make sense to "recheck" them. Transient transitions are always checked after regular transitions and in this case, there is no real transition taking place - you just put the service into a particular state "forcefully".

Guess that makes sense. I've resorted to manually changing the initial state in my component tests and just calling start().

@Andarist this behavior makes it very difficult to test machines. It seems that start(state) is the only way to get your machine initialized in tests. Is there any way to trigger processing after calling start(state)? It is very tedious to manually follow the transition path when the machine is very big.

When it comes to testing you might want to only test states in which you actually can "pause" the execution - it seems that you are trying to test the logic of the always transitions but you can already do that indirectly~. After all, they should be executed whenever you enter a state with such transitions so to test them you have to enter such a state in one of the tests.
To trigger those transitions you can also just do this:
service.start(state)
service.send({ type: 'COMPLETELY_UNKNOWN' })

That being said - I will give this a second thought. The idea was that .start(state) should just "restore" what you have previously persisted and if it just restores some pre-existing state then there is no sense to execute anything in such a moment as everything that had to be executed has already been executed when transitioning to that persisted state. Maybe we can reevaluate this for always transitions though.

There are two sides to the story here.

The persisted state is something that has been reached and we simply put a state machine in that state when rehydrating with .start(persistedState). From this PoV, there is no reason to re-run always transitions because they already have been taken, and re-taking them would be wasting work.
It is technically possible to adjust the persistedState, change the config of the machine or use a simplified representation of the persistedState (such as just a state value or similar). When doing those things it's somewhat easy to end up in a state that would be unreachable~. Or rather, end up in a state that if entered through a transition would result in an always transition to be taken. From this PoV, it is somewhat incorrect to stay in such a state because if we'd reach it from the actual initial state we wouldn't stay in it.

I'm not a fan of wasting work but overall the cost of this is probably super negligible. OTOH, we want to make heavy use of rehydrating states on the backend, and everything matters™.
We could somehow allow for both behaviors but that would increase the API surface and I'm not sold on the idea because it usually shouldn't matter and having one, clear, behavior is better than having two.
The presented use case (testing) isn't that compelling to me, but I'm definitely somewhat biased here by my testing preferences. There are workarounds (as mentioned above) to achieve what you want in v4 - it ain't perfect but it should work.
I think this is an interesting/unobvious problem and I don't want to diminish its importance - but it also didn't come up too often in the last 2 years. So I'm somewhat inclined to believe that this isn't a problem for the vast majority of our users.
I would keep this issue open for a while, in an attempt to gather more community feedback about this. I'm open to changing this behavior but I also don't treat such changes lightly.
Note that we plan to make the "rehydration algorithm" recursive and it's also not obvious how this would behave with it - in what order those always transitions should be taken in a bigger tree of actors? Top-down? Bottom-up? How to make such "startup" always transitions of sibling actors predictable? Do we need to temporarily block any parts of the library while rehydrating?

Transient transitions are still driven by events. To perform a transition - we need an event that triggers it. It's not an implementation limitation but rather the API constraint:
always: [
  target: '.a',
  actions: ({ event }) => {
    event // ???
  }
]

We used to resolve transient transitions with { type: '' } but that has been changed in v5 and we are resolving them with events that led to the preceding "regular" transition. For that reason, it's just quite impossible for us to resolve those transient transitions when you call createActor(machine, { state: persistedState }).start().
The mental model for persisting+rehydrating is that it's as opaque to the consumer as possible. If you persist in state A then we just take off from that point.
If you are thinking about testing scenarios in which you want to "mock" the state then perhaps we should have dedicated testing utilities for that. In them, we could do things like resolving transient transitions - given that the caller would provide some event that we should use for that.

For the reasons mentioned above - this is not planned right now. I'm open to discussing concrete use cases that need this though. If you have any - please open a discussion thread. We want to help you out and we might decide later on that some options/APIs for this might be needed. They would be different ones though than what is proposed by this issue (following transient transitions after start)


Caseless comparisons not implemented correctly? (Normalization of precomposed / non-composed Unicode text missing)

Hi,
I stumbled upon this StackOverflow question, where BurntSushi5 (I guess this is @BurntSushi) wrote the following in a comment that proposed UniCase:

I don't think that crate implements correct caseless comparisons because I don't see any normalization happening. The caseless crate does it correctly (but has a different API, so there might be some trade offs between them): docs.rs/caseless/0.2.0/caseless

Shepmaster provided an example that demonstrates the problem:
assert_eq!(UniCase::new("Åström"), UniCase::new("Åström")

...which fails with:
thread 'test:tests::unicase' panicked at 'assertion failed: `(left == right)`
  left: `"Åström"`,
 right: `"A\u{30a}stro\u{308}m"`', test/src/test.rs:112:5

I didn't find an existing issue, so I thought I'll just open one.

The Unicode normalization and case folding algorithms are separate, so this crate is correct in not applying any normalization as part of the comparison. See UTR #30: Character Foldings, Section 2.2 Relation to Normalization.
If you're looking for a caseless comparison that also has normalization options (NFD or NFKD), then yes, caseless is the right call, as it exposes the case folding algorithm in a way that lets it be composed with normalization.

If this is the correct and intended behavior of this crate, I believe it’s still necessary to explicitly call out in the crate documentation that normalization is not performed. Case-insensitive comparison that does do normalization is such a naturally reasonable approach that a “we don’t do normalization, as we never said we would do normalization” approach of documenting what this crate does seems suboptimal.

The second comment is correct, this crate uses Unicode case-folding, not normalization.


Q: Support deserialization w/o POCO annotations

I would like to deserialize data to types/classes that I can't change in order to add any annotations.
How is this being supported by EDI.Net?

Hi @cja-careon this is something that is not supported by Edi.Net.
You could potentially solve your problem by mapping with attributes to intermediate classes that you are able to annotate and then use some mapping mechanism like AutoMapper to do the conversions back and forth.


invModPUint512 hint

https://github.com/lambdaclass/cairo-vm/blob/db7fff18c9c1312024ebf4119fcdfeba23657b12/cairo_programs/inv_mod_p_uint512.cairo#L20
https://github.com/starkware-libs/cairo-lang/blob/0e4dab8a6065d80d1c726394f5d9d23cb451706a/src/starkware/starknet/security/whitelists/vrf.json#L56

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I'm working at Carbonable as backend dev.


No longer able to change database context after recent upgrade

Issue Type: Bug
In the ADS query window, earlier we were able to change database context when you run a query. Now that option is grayed out and disabled and only way to do is use "use Database";  which works but is inconvinient.
Azure Data Studio version: azuredatastudio 1.30.0 (59c4b8e90cf2d3a24bed72623197f10f8d090fdc, 2021-06-16T18:57:01.467Z)
OS version: Darwin x64 19.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz (8 x 2000)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 3

Memory (System)
32.00GB (0.59GB free)

Process Argv
-psn_0_278596

Screen Reader
no

VM
0%

Extensions (21)

Extension
Author (truncated)
Version

sqlops-combine-scripts
Bat
2.0.1

query-editor-boost
dre
0.4.0

admin-pack
Mic
0.0.2

admin-tool-ext-win
Mic
0.0.2

agent
Mic
0.48.0

azuredatastudio-postgresql
Mic
0.2.7

dacpac
Mic
1.8.0

datavirtualization
Mic
1.12.0

import
Mic
1.3.0

powershell
ms-
2020.4.0

profiler
Mic
0.11.0

query-history
Mic
0.1.0

schema-compare
Mic
1.11.0

sql-assessment
Mic
0.6.1

sql-database-projects
Mic
0.10.0

whoisactive
Mic
0.1.4

vscode-docker
ms-
0.8.2

azdata-sanddance
msr
3.2.0

simple-data-scripter
sea
0.1.3

vscodeintellicode
Vis
1.2.1

poor-sql-formatter
WSR
0.1.0

I just tried this on Mac and I was able to change the database context, could you please attach a screenshot?

for postgres

@ndwivedi after looking into the code, I guess you have enabled the accessibility support in settings, please change it to auto or off, meanwhile I will check why are we doing this.

Closing based on the previous suggestion and PR #16779.  Please let us know if the problem persists on the current insider builds or the next stable build.  Or if disabling the previously mentioned setting works around the issue.  Thanks!

Thank you that fixed that issue but now I get this error.

@ndwivedi please open a new issue and add detailed repro steps, we will look into that.


Negation of a validation rule

This follows a previous proposal.
Being able to negate validation rules would be helpful. For example, there is no rule for date "after or equal". Both after and before are strict and don't allow such validation.
Also, being able to specify parameters for the after or before rules for specifying accuracy (second, minute, day, month, or year level) would be nice.

Closing since the user appears to have deleted their github account.


misc/cgo/testshared fails on fast enough machines that don't have fine-grained file timestamps

Ever since it was introduced, one of my machines fails in misc/cgo/testshared when building git master. The failure message:
##### ../misc/cgo/testshared
ldd: warning: you do not have execution permission for `/data/code/go-lang/go/misc/cgo/testshared/pkg/linux_amd64_RaFaEwVC_dynlink/libdep.so'
/data/code/go-lang/go/misc/cgo/testshared/pkg/linux_amd64_RaFaEwVC_dynlink/dep.a was not rebuilt
2015/05/06 14:21:36 Failed: exit status 1

The ultimate cause is that this machine is fast enough to build (or finish building by writing the files out), touch a file, copy files, and rebuild, all in the same second, and my copy of the git repo is on a filesystem that only has timestamps with a one second granularity. In this situation you need to insert artificial delays of at least a second both before and after the touch-and-copy code in testshared:
diff --git a/misc/cgo/testshared/test.bash b/misc/cgo/testshared/test.bash
index 21004ad..e471403 100755
--- a/misc/cgo/testshared/test.bash
+++ b/misc/cgo/testshared/test.bash
@@ -96,15 +96,19 @@ assert_not_rebuilt () {
 }

 # If the source is newer than both the .a file and the .so, both are rebuilt.
+sleep 1
 touch src/dep/dep.go
 will_check_rebuilt $rootdir/libdep.so $rootdir/dep.a
+sleep 1
 go install -installsuffix="$mysuffix" -linkshared exe
 assert_rebuilt $rootdir/dep.a
 assert_rebuilt $rootdir/libdep.so

 # If the .a file is newer than the .so, the .so is rebuilt (but not the .a)
+sleep 1
 touch $rootdir/dep.a
 will_check_rebuilt $rootdir/libdep.so $rootdir/dep.a
+sleep 1
 go install  -installsuffix="$mysuffix" -linkshared exe
 assert_not_rebuilt $rootdir/dep.a
 assert_rebuilt $rootdir/libdep.so

The machine that this fails on is a 64-bit Fedora 21 machine using an ext3 filesystem (mounted with relatime, but I don't believe that makes any difference). On Linux, ext3 does not support nanosecond timestamps but ext4 and various other filesystems do to some extent.

Per #10571, let's not add 4 more seconds of sleep here. Death by a thousand cuts, straw camel back, etc.
I'd prefer to move this into Go code in src/cmd/dist/test.go and then it would be much easier to do things like sleep up to 1 second (measuring how long the previous commands took), and do things like check the inode for other changes, if applicable first. It's also easier to parallelize things in Go.

Most machines are fast enough to do all these steps in a second, the difference is that most people are using ext4 or something by now.  I agree with @bradfitz that sleeps are not the answer.  Maybe use https://godoc.org/os#Chtimes to push the times into the past?

I think and agree that in general moving file times backwards is the best guaranteed reliable way of doing this. You get full control without delays and without worrying about timestamp precision or the speed of operations.

But it turns out you can't push them too far into the past because then they are older than the compilers and everything gets rebuilt anyway :) Can you try the change at https://golang.org/cl/9768.

This change works for me. However, 'date -d ...' is not portable; it's a GNU date extension and is missing on (for example) FreeBSD, where 'date -d' means something completely different.
(You may already know this and just be trying out the approach to make sure it works.)

Can we please just move this to Go code in src/cmd/dist/test.go and not worry about portability of shell code? We already have a portable language.

@bradfitz wins, I rewrote it in Go.


Timeout limit

Hi! Thank you for this great piece of software. I have few questions:

Recognition fails a lot due to timeout. Would give it more time help? If secure preset needs more time, isn't a good idea at least in that case?
 If not, how many instances for a single face model would you recommend?
If I'm not wrong, some KDE / Evolution software is involved in the password managing right?
Thank you so much.

Thank you. Doubts solved.


bloom filter

We should add bloom filtering to the analysis pipeline. @wasade, is there some code in Qiime2 for the bloom filtering? BTW is the filtering removing some sequences, a percentage of those sequences or something else?

:+1:!!
Just need to delete the sequences in this fasta from the table prior to
normalization / rarefaction:
https://github.com/knightlab-analyses/bloom-analyses/blob/master/data/newbloom.all.fna
On Tue, Mar 5, 2019, 5:12 AM Antonio Gonzalez<EMAIL_ADDRESS>wrote:

We should add bloom filtering to the analysis pipeline. @wasade
https://github.com/wasade, is there some code in Qiime2 for the bloom
filtering? BTW is the filtering removing some sequences, a percentage of
those sequences or something else?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/biocore/qiita/issues/2835, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAc8stHInuWAJeKjDJwGy9FrlMinSkEuks5vTm0egaJpZM4bekkB
.

Kewl! So in theory we could simply use: qiime feature-table filter-seqs --help with a really long --p-where; right?

I'm not sure, I don't think I've ever used qiime feature-table filter-seqs directly. Keep in mind that the blooms are 150nt, so it may be necessary to trim them depending on what table is being filtered

On 03/20/19 meeting we agreed on uploading small datasets for filtering via an upload file within the command so no need to use the upload folder.

I don't know if this is helpful or just me reinventing the wheel, but it looks like implementing the bloom filter is actually pretty simple to do in Q2 (just had to do it for a project, thanks @wasade for heads up there). Steps:
(These instructions assume you're starting with rep-seqs-nonbloomfiltered.qza and table-nonbloomfiltered.qza artifacts.)

download the newbloom.all.fna file that Daniel linked above
import this file into QIIME 2:

!qiime tools import \
    --type FeatureData[Sequence] \
    --input-path newbloom.all.fna \
    --output-path ./bloom-seqs.qza

Apply the filter to your representative sequences (this assumes that the sequences you have in your dataset are also at 150nt). The "misses" (rep-seqs.qza) will be all of the putatively non-bloom sequences, and the "hits" (filtered-out-bloom-seqs.qza) will be exact matches to the bloom sequences (note the --p-perc-identity 1.0 parameter).

!qiime quality-control exclude-seqs \
    --i-query-sequences rep-seqs-nonbloomfiltered.qza \
    --i-reference-sequences bloom-seqs.qza \
    --p-perc-identity 1.0 \
    --o-sequence-misses rep-seqs.qza \
    --o-sequence-hits filtered-out-bloom-seqs.qza

Filter your feature table to just the putatively non-bloom sequences (this is just standard stuff, see e.g. this section of the q2-quality-control tutorial).

# Filter the table to only contain rep-seqs.qza features.
# (Equivalently, we could also totally pass filtered-out-bloom-seqs.qza as
# the --m-metadata-file and then use --p-exclude-ids, as shown here:
# https://docs.qiime2.org/2019.7/tutorials/quality-control/#excluding-sequences-by-alignment)
!qiime feature-table filter-features \
    --i-table table-nonbloomfiltered.qza \
    --m-metadata-file rep-seqs.qza \
    --o-filtered-table table.qza

Now you have rep-seqs.qza and table.qza artifacts that have been properly bloom-filtered!
Since this is just stringing together Q2 commands, I imagine this shouldn't be too difficult to automate (...knock on wood :)

This seems like a very valuable capability to have in q2 generally (maybe as a plugin) — if it’s not implemented that way already I think this would be very useful to have that, especially if the list of taxa is easily swappable for different amplicons etc.

On Aug 12, 2019, at 7:53 PM, Marcus Fedarko<EMAIL_ADDRESS>wrote:
I don't know if this is helpful or just me reinventing the wheel, but it looks like implementing the bloom filter is actually pretty simple to do in Q2 (just had to do it for a project, thanks @wasade for heads up there). Steps:
(These instructions assume you're starting with rep-seqs-nonbloomfiltered.qza and table-nonbloomfiltered.qza artifacts.)
• download the newbloom.all.fna file that Daniel linked above
• import this file into QIIME 2:
!
qiime tools import
--type FeatureData[Sequence]
--input-path newbloom.all.fna
--output-path ./bloom-seqs.qza
• Apply the filter to your representative sequences (this assumes that the sequences you have in your dataset are also at 150nt). The "misses" (rep-seqs.qza) will be all of the putatively non-bloom sequences, and the "hits" (filtered-out-bloom-seqs.qza) will be exact matches to the bloom sequences (note the --p-perc-identity 1.0 parameter).
!
qiime quality-control exclude-seqs
--i-query-sequences rep-seqs-nonbloomfiltered.qza
--i-reference-sequences bloom-seqs.qza
--p-perc-identity 1.0
--o-sequence-misses rep-seqs.qza
--o-sequence-hits filtered-out-bloom-seqs.qza
• Filter your feature table to just the putatively non-bloom sequences (this is just standard stuff, see e.g. this section of the q2-quality-control tutorial).
Filter the table to only contain rep-seqs.qza features.
(Equivalently, we could also totally pass filtered-out-bloom-seqs.qza as
the --m-metadata-file and then use --p-exclude-ids, as shown here:
https://docs.qiime2.org/2019.7/tutorials/quality-control/#excluding-sequences-by-alignment)
!
qiime feature-table filter-features
--i-table table-nonbloomfiltered.qza
--m-metadata-file rep-seqs.qza
--o-filtered-table table.qza
Now you have rep-seqs.qza and table.qza artifacts that have been properly bloom-filtered!
Since this is just stringing together Q2 commands, I imagine this shouldn't be too difficult to automate (...knock on wood :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I'm not 100% sure if this already exists in Q2, but this general sequence of commands should be applicable to filtering sequences from arbitrary reference FASTA files (will need to take into account the length of the reference sequences, or at least impose some checks there before doing the filtering). cc @jgauglitz, who has expressed interest in this idea with other reference sequences.

Justin and I think Austin have also expressed interest in similar extensions of the capability for amplicons. Julia is not actually cced as far as I can see there, expanded list.

On Aug 14, 2019, at 12:51 PM, Marcus Fedarko<EMAIL_ADDRESS>wrote:
I'm not 100% sure if this already exists in Q2, but this general sequence of commands should be applicable to filtering sequences from arbitrary reference FASTA files (will need to take into account the length of the reference sequences, or at least impose some checks there before doing the filtering). cc @jgauglitz, who has expressed interest in this idea with other reference sequences.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

This is something I've discussed with Austin, so makes sense that he's
inquired about it as well.
Thanks,
Julia
On Wed, Aug 14, 2019 at 2:35 PM Rob Knight<EMAIL_ADDRESS>wrote:

Justin and I think Austin have also expressed interest in similar
extensions of the capability for amplicons. Julia is not actually cced as
far as I can see there, expanded list.

On Aug 14, 2019, at 12:51 PM, Marcus Fedarko<EMAIL_ADDRESS>wrote:
I'm not 100% sure if this already exists in Q2, but this general
sequence of commands should be applicable to filtering sequences from
arbitrary reference FASTA files (will need to take into account the length
of the reference sequences, or at least impose some checks there before
doing the filtering). cc @jgauglitz, who has expressed interest in this
idea with other reference sequences.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/biocore/qiita/issues/2835?email_source=notifications&email_token=AK5OMET24KJ5CXJLWLS7GH3QER3CPA5CNFSM4G32JEA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4KFXLA#issuecomment-521427884,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK5OMEUYMY4FWCYO6SN5KZ3QER3CPANCNFSM4G32JEAQ
.

Yes, @Stephen Wandro<EMAIL_ADDRESS>and I have been doing this for
shotgun data just using taxonomy, and I've done something similar to filter
out food-related amplicons and mz;rt features, so happy to share that code.
Marcus or Justin, if you want to lead then Stephen can join as well.
Austin D. Swafford, PhD
Director of Research- Innovations, Center for Microbiome Innovation
Jacobs School of Engineering | University of California- San Diego
O:<PHONE_NUMBER>
Follow @CMIDigest
Subscribe to our mailing list
https://signup.e2ma.net/signup/1853757/1802131/
http://ow.ly/kiac30dUAnc http://ow.ly/fXyB30dUAoS
http://ow.ly/dKO130dUAuB
PLEASE TAKE NOTICE: The information transmitted is intended only for the
person or entity to which it is addressed and may contain information that
is confidential, privileged and/or otherwise exempt from disclosure under
applicable state and federal law, including, but not limited to, privacy
standards imposed pursuant to the Federal Health Insurance Portability and
Accountability Act of 1996 (“HIPAA”). Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon
this information by persons or entities other than the intended recipient
is prohibited. If you receive this transmission in error, please contact
the sender immediately and delete the material from any computer. Thank
you.
On Wed, Aug 14, 2019 at 2:35 PM Knight, Rob<EMAIL_ADDRESS>wrote:

Justin and I think Austin have also expressed interest in similar
extensions of the capability for amplicons. Julia is not actually cced as
far as I can see there, expanded list.

On Aug 14, 2019, at 12:51 PM, Marcus Fedarko<EMAIL_ADDRESS>wrote:
I'm not 100% sure if this already exists in Q2, but this general
sequence of commands should be applicable to filtering sequences from
arbitrary reference FASTA files (will need to take into account the length
of the reference sequences, or at least impose some checks there before
doing the filtering). cc @jgauglitz, who has expressed interest in this
idea with other reference sequences.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

This was added here: https://github.com/qiita-spots/qp-qiime2/pull/65 and deployed into Qiita on 2021.12


Update vhdl.json

fix snippets

I think the intention behind having the trailing semicolon is that you usually have more signals than clk and rst and the cursor will be placed on the next line; so in most cases you would want the trailing semicolon. Do you have a use-case for your change?

ah i see, that makes sense. My use case involve simple ports with only 1 input and output. Ill close this one, assuming that this is idiosyncratic.


Auth: pass a state param and check it on its return

The state param should be a JWT as described here.
When Stroom receives the accessCode it should also expect the state param, which it should then verify, and compare the rfp claim to the value it initially generated.

Must be done in conjunction with https://github.com/gchq/stroom-auth/issues/60


Beautacus: Cannot add product from pdp

Environment Details
Spartacus: latest develop
Browser: Chrome 73.0.3683.86
OS: Mac Os
Happens on: http://dev-com-17.accdemo.b2c.ydev.hybris.com:4200/electronics-spa/en/USD/
Steps to Reproduce
Search for lipsticks for eg.
On plp, you see that there's "Add to cart" button and you're able to add to cart.
Click on the first product on plp for eg.
Actual Result
On pdp, it shows out of stock.

Same product On plp:

PR: https://stash.hybris.com/projects/C3PO/repos/beautystore/pull-requests/9/overview

Changes was merged to the new github repo.

Tested on dev2. Able to add product to cart from pdp now.


When forgetting the filesystem in Monitored mode, also forget Stratagem

When the user clicks the forget action on a monitored fs:

Is Stratagem is configured for the fs, it should have it's UnconfigureStratagemJob run as part of the fs removal.
An open question is what should happen if someone attempts to remove the fs while a scan is occuring, but this can probably be handled in another issue.

chroma=> select * from chroma_core_stratagemconfiguration;
 id |       state_modified_at       |   state    | immutable_state | filesystem_id |  interval  | report_duration | purge_duration | not_deleted
----+-------------------------------+------------+-----------------+---------------+------------+-----------------+----------------+-------------
  1 | 2019-07-30 14:08:54.268877+00 | configured | f               |             1 |<PHONE_NUMBER> |                 |                | t

chroma=> select * from chroma_core_stratagemconfiguration;
 id |       state_modified_at       |  state  | immutable_state | filesystem_id |  interval  | report_duration | purge_duration | not_deleted
----+-------------------------------+---------+-----------------+---------------+------------+-----------------+----------------+-------------
  1 | 2019-07-30 14:27:58.735253+00 | removed | f               |             1 |<PHONE_NUMBER> |                 |                |


Assert fail in InstallationParseTest.java fails the build with Maven

Line 41 in InstallationWnsFull() shown commented out below...
@Test
public void InstallationWnsFull() throws IOException, SAXException, URISyntaxException {
	InputStream inputJson = this.getClass().getResourceAsStream("InstallationWnsFull");
	Installation installation = Installation.fromJson(inputJson);
	assertNotNull(installation);
	assertEquals("123", installation.getInstallationId());
	assertEquals(NotificationPlatform.Wns, installation.getPlatform());
	assertEquals("wns-push-channel1", installation.getPushChannel());
	assertNotNull(installation.getTemplates());
	assertEquals("<?xml version=\"1.0\" encoding=\"utf-8\"?>", installation.getTemplates().get("template1").getBody());
	Date expiration = installation.getExpirationTime();

    //--> assertTrue(expiration.toString().equalsIgnoreCase("Wed Nov 26 15:34:01 PST 2014"));

	String expectedResultJson = IOUtils.toString(this.getClass().getResourceAsStream("InstallationWnsFullNoSpaces"));
	String  actualResultJson = installation.toJson();
	assertEquals(expectedResultJson, actualResultJson);

I already submitted a pull request to fix this issue. See https://github.com/robatum/azure-notificationhubs-java-backend/commit/f075dbf721d0f23edee97829481404f557be1171

It's October and this issue still exists.  That's a worrying lack of upkeep.

This is fixed in #20


The UuidParamConverter service should be tagged as "request.param_converter"

If not tagged as a param converter, it cannot be used.
I'll try and submit a PR next week.


Integration with custom directory installer

Ref: https://github.com/ideaconnect/composer-custom-directory/issues/3
I see when I use that module with package that require this module all the packages that contains a type are ignored from the composer custom directory module.
A composer.json example?
{
  "require": {
    "php": ">=5.3",
    "idct/composer-custom-directory": "dev-master",
    "composer/installers": "1.0.6",
    "wpbp/pointerplus": "1.0.0",
    "wpbp/cronplus": "1.0.0",
    "wpbp/widgets-helper": "1.0.0",
    "wpbp/fakepage": "1.0.0",
    "wpbp/template": "1.0.0",
    "wpbp/debug": "1.0.0",
    "wpbp/cpt_columns": "1.0.0",
    "wpbp/requirements": "1.0.0",
    "wpbp/language": "1.0.0",
    "webdevstudios/cmb2": "<IP_ADDRESS>",
    "voceconnect/wp-contextual-help": "1.0.2",
    "nathanielks/wp-admin-notice": "dev-master",
    "origgami/cmb2-grid": "dev-master",
    "webdevstudios/cpt-core": "1.0.1",
    "webdevstudios/taxonomy_core": "0.2.4",
    "freemius/wordpress-sdk": "1.7.4",
    "julien731/wp-dismissible-notices-handler": "1.0.0",
    "julien731/wp-review-me": "2.0.0",
    "wpackagist-plugin/posts-to-posts": "*",
    "mozilla/wp-web-push": "dev-master",
    "athlan/custom-fields-permalink-plugin": "1.0.2"
  },
  "repositories": [
    {
      "url": "git@github.com:nathanielks/wordpress-admin-notice.git",
      "type": "git"
    },
    {
      "url": "git@github.com:origgami/CMB2-grid.git",
      "type": "git"
    },
    {
      "url": "https://github.com/Mte90/wp-web-push",
      "type": "vcs"
    },
    {
      "url": "git@github.com:mozilla/wp-sw-manager.git",
      "type": "git"
    },
    {
      "url": "git@github.com:marco-c/wp-web-app-manifest-generator.git",
      "type": "git"
    },
    {
      "type": "composer",
      "url": "https://wpackagist.org"
    }
  ],
  "config": {
    "vendor-dir": "composer/"
  },
  "minimum-stability": "dev",
  "extra": {
    "installer-paths": {
      "./includes/lib/{$name}": [
        "webdevstudios/cpt-core"
      ],
      "./includes/lib/{$name|F}": [
        "wpbp/language",
        "wpbp/cronplus",
        "wpbp/fakepage",
        "wpbp/template",
        "wpbp/requirements",
        "wpbp/debug",
        "webdevstudios/taxonomy_core",
        "athlan/custom-fields-permalink-plugin",
        "wpackagist-plugin/posts-to-posts",
        "mozilla/wp-web-push"
      ],
      "./includes/lib/composer-deps/{$name|F}": [
        "mozilla/wp-sw-manager",
        "lcobucci/jwt",
        "fgrosse/phpasn1",
        "mdanter/ecc",
        "spomky-labs/base64url",
        "paragonie/random_compat",
        "marco-c/wp_serve_file",
        "marco-c/wp-web-app-manifest-generator"
      ],
      "./includes/lib/Freemius": [
        "freemius/wordpress-sdk"
      ],
      "./public/includes/lib/{$name|F}": [
        "wpbp/widgets-helper"
      ],
      "./admin/includes/lib/{$name}": [
        "webdevstudios/cmb2"
      ],
      "./admin/includes/lib/{$name|F}": [
        "wpbp/pointerplus",
        "wpbp/cpt_columns",
        "origgami/cmb2-grid",
        "voceconnect/wp-contextual-help",
        "nathanielks/wp-admin-notice",
        "julien731/wp-dismissible-notices-handler",
        "julien731/wp-review-me"
      ]
    }
  },
  "autoload": {
    "files": [
      "./admin/includes/lib/cmb2/init.php",
      "./admin/includes/lib/Cmb2-grid/Cmb2GridPlugin.php",
      "./includes/lib/posts-to-posts/posts-to-posts.php"
    ]
  }
}

As you can see the package like posts-to-posts or review-me are not available in the folder chosen.
Inspecting the composer custom directory as I written in a ticket of the module's repo the package with a type are not available.
I really need a fix for that but I don't know the internal api of composer for change that that module.
Also this problems happen only when I add the installers package and I have to add because there is a plugin that require as dependence.

As I can see the problem that is installers don't support the |F and |P flags of custom directories.
Installers it's executed before the other module but cannot reconize the pattern and not rename the folder using the standard of the other module.

For fix it I created a fork of this module that contain the dynamic system of the other library.
https://github.com/WPBP/installers


Cannot find "/scripts/config/env/navigation/grid.yaml"

Hi, thank you for providing the codes and sharing your works.
However, when I trying to run the [1. Environment.ipynb] file, the error occurs due to the absence of "grid.yaml" file
in the directory of ["../scripts/config/env/navigation/grid.yaml"].
Can you provide the grid.yaml file?

Thank you very much for raising this issue.
While @HikaruAsano knows and will provide more details, I guess that the "tutorial" directory contains tutorial notebooks for jaxman, a library our codes rely on.
@HikaruAsano, do you have anything you want to add?

I found "grid.yaml" file from jaxman repo. Thank you!

Oh, yeah. Indeed, you can find "grid.yaml" in the jaxman repo 😄 Sorry for forgetting to tell you about it!


Link to kubernetes api reference 1.28 does not work

In new (k8s 1.28 updated) API Overview documentation page: the link Kubernetes API reference given in the third paragraph does not work.
(the bug is really about that link not working; the URL looks ok but it is some days I am getting a 404)

In new (k8s 1.28 updated) API Overview documentation page: the link Kubernetes API reference given in the third paragraph does not work.
(the bug is really about that link not working; the URL looks ok but it is some days I am getting a 404)

#42588

The link to "NetworkPolicy" on https://kubernetes.io/docs/concepts/services-networking/network-policies/ suffers the same fate.


ExpandButton takes full width of surrounding container when expanded

Related to:
designsystem/packages/ffe-buttons/less/base-button.less
ExpandButton when expanded is now taking the full width of the surrounding container. This behavior has been introduced in newer versions, but should should be changed back to how it was before, where the width is decided be the icon shown in the ExpandButton.
Expected behavior?
Should have the same width as the icon and include transition styling.

Actual behavior?
Takes the full full width of the surrounding container.

Steps to reproduce
Have screen size smaller than 480px. Press the "ExpandedButton", when it is clicked the button takes the full width of the surrounding container and shows an "X"-icon which should be having the same width as the icon.

Fixed in #113


Fix Generating snowflake differs

https://github.com/erictik/midjourney-api/blob/285469aaf455ceed120238ffec7b1fc32709184d/src/utls/index.ts#L10-L15
first of all, change it to Epoch.Discord
I checked and discord creates with workerId 0n, proccessId 0n, and sequence is starting from 0n (also)

DEFAULT_SEQUENCE is 0n

DEFAULT_SEQUENCE https://github.com/negezor/snowyflake/blob/master/src/constants.ts#L8 https://github.com/negezor/snowyflake/blob/master/src/snowyflake.ts#LL80C1-L82C37

ohh about this you are right, overlook, my mistake, sorry)


Import into Angular 2 project.

Hello,  I think it might be also actual to projects with React, Ionic, Typescript etc.
The error I'm getting:
ReferenceError: require is not defined(…)

Simple solution is to create data-forje.bundle.js file that will contain all required('*') modules.
Thanks again for this great package.

You can use the bower package for Ionic.
I'm using TypeScript now myself so I'd love to create type definitions for Data-Forge.


Fix getTime from server

fix getTime by fixing "getCurl".
Note;
"getCurl"  it has the wrong arguments order.

Thank you!