Wink Z-wave Light Switch Brightness Not Preserved Between Toggles

Home Assistant release with the issue:
0.73.2.
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
HassOS 1.5
Component/platform:
Wink
Leviton Z-Wave Switch
Description of problem:
When turning on Wink Dimmable lights in the Home Assistant UI the lights always go to 100% brightness.
I can dim them once on via the UI and it works.
If I turn off the light off via the UI it goes to 100 %
Screen Shots Of Workflow

Light Starts as Off

I Switch Light On With Upper Toggle

I change brightness to around 50% (with slider, wait for change)

I turn off light with toggle

I turn light back on with Upper Toggle
(Light goes back to 100% brightness)

Desired result would be for the light to return to its brightness set in step 3.
Additional information:

I just tried to recreate this with a zigbee light and a zwave switch and didn't see this. Can you check to see what the leviton light does when using the official Wink app?

In the Wink App the dimmer maintains its state between on off toggle. The Dim Percentage remains showing around the 'circle' of the light element.
I initially found this problem as I switched my google assistant integration from the Wink one to Home Assistant. When using google assistant directly with wink the turn off and on commands maintained the brightness between cycles. When using the google assistant integration with home assistant's google assistant component the turning off the light and turning it back on caused the brightness to go to full.
I have reverted my google assistant integration back to wink as to not have voice commands turn the lights all the way up.
Using the HA front end does turn the lights all the way up.
I'll grab you the state from the HA States Page.
LIGHT ON - Dimmed
light.breakfast_light
on
brightness: 122 min_mireds: 153 max_mireds: 500 manufacturer_device_model: leviton_dz1kd device_manufacturer: leviton model_name: In-Wall Dimmer - Decora Smart friendly_name: Breakfast Light supported_features: 1
LIGHT OFF
light.breakfast_light
off
manufacturer_device_model: leviton_dz1kd device_manufacturer: leviton model_name: In-Wall Dimmer - Decora Smart friendly_name: Breakfast Light supported_features: 1
Based on this it looks like the brightness attribute isn't persisted in HA.
But if the circular piece in wink shows it.

@jpreiditsch Thanks, I'll look in to this some more. I am confused why I don't see this with my switches though.

@w1ll1am23
I completed the steps as defined above.
At the end the brightness of the light was 100%  in the wink app.
Just another note, when I did step three in HA my wink app did mirror the brightness and turned up to 100%
I just did another test similar to what you described but with my google assistant connected to the wink service directly.
1 Turn on the light with the app and set the brightness.
2 Turn off the light with the app. (Keep the app open)
3 Turn on the light with Google Assistant Command
4 Turn off the light with Google Assistant Command
5 Turn on the light with the Wink app and see if the brightness from step 1 is still there.
In this case the brightness was preserved in step 3.
Is it possible that a brightness parameter is being sent to Wink for these switches on the Turn on command, when it shouldn't be?

I just might add a note if there are any other environmental possibilities.
I have local_control: True
My Wink Hub is model 'Hub'
Software version 4.0.26
I am going to try running your test suite with local control disabled to see if there is any difference

Well with the test run with local control turned off.. it does work properly. I guess the fact that LC isn't fully documented properly means that some functions may not work properly.

Unfortunately dimmable lights that I have are Leviton switches in wall switches. They all perform in the same manner :/

@jpreiditsch can you get the device JSON for one of your switches? You can get it from https://winkathome.net/Login.aspx?redirect=default.aspx find the switch and click on the little i and there is a field called JSON. There may be some sensitive info in there so clear that up before posting.

I redacted some items...
{
"object_type": "light_bulb",
"object_id": "3208749",
"uuid": "REDACTED",
"created_at":<PHONE_NUMBER>,
"updated_at":<PHONE_NUMBER>,
"icon_id": "31",
"icon_code": "light_bulb-overhead_light",
"desired_state": {
"brightness": 0.44,
"powered": false
},
"last_reading": {
"connection": true,
"connection_updated_at":<PHONE_NUMBER>.6144042,
"brightness": 0.44,
"brightness_updated_at":<PHONE_NUMBER>.6144042,
"powered": false,
"powered_updated_at":<PHONE_NUMBER>.6144042,
"desired_brightness_updated_at":<PHONE_NUMBER>.7006261,
"desired_powered_updated_at":<PHONE_NUMBER>.4055638,
"connection_changed_at":<PHONE_NUMBER>.8155184,
"brightness_changed_at":<PHONE_NUMBER>.5353158,
"powered_changed_at":<PHONE_NUMBER>.6144042,
"desired_brightness_changed_at":<PHONE_NUMBER>.394378,
"desired_powered_changed_at":<PHONE_NUMBER>.4055638
},
"subscription": {
"pubnub": {
"subscribe_key": "REDACTED",
"channel": "REDACTED"
}
},
"light_bulb_id": "3208749",
"name": "Breakfast Light",
"locale": "en_us",
"units": {},
"hidden_at": null,
"capabilities": {
"fields": [
{
"type": "boolean",
"field": "connection",
"mutability": "read-only"
},
{
"type": "percentage",
"field": "brightness",
"mutability": "read-write"
},
{
"type": "boolean",
"field": "powered",
"mutability": "read-write"
}
]
},
"triggers": [],
"manufacturer_device_model": "leviton_dz1kd",
"manufacturer_device_id": null,
"device_manufacturer": "leviton",
"model_name": "In-Wall Dimmer - Decora Smart",
"upc_id": "879",
"upc_code": "07847781336",
"primary_upc_code": "leviton_decora_dimmer_dz1kd",
"gang_id": null,
"hub_id": "34626",
"local_id": "10",
"radio_type": "zwave",
"linked_service_id": null,
"lat_lng": [
"REDACTED",
"REDACTED"
],
"location": "REDACTED",
"order": 0
}

Thanks, just wanted to confirm that the device had a local_id
So I think the official Wink app works like so,

Send local control request to the hub (device gets update)
Also send the request to the online API

Home Assistant/python-wink doesn't do this, we just send the request to the hub and if it fails, then try to send it to the online API. That seems to work fine for the device I use, but not for these leviton switches. It doesn't seem smart to have to send two request, but maybe I can add that in as an option?
Do you have the ability to modify the python-wink library files? I am not sure how HassOS is setup. I want to try to test this out, but don't want to have to push a new version of python-wink for you to test it.

I haven't done any manual deployments or modifications on my environment. Its pretty vanilla with just my own configuration. (Wife depends on it running properly or I get to hear about it)


Change trajectory related config options in pipeline.launch.py

          KTOPT creates a trajectory right? I think we can remove this

Originally posted by @sjahr in https://github.com/moveit/moveit_drake/pull/8#discussion_r1663981482

Resolved in #18


PRO-1111: Use Ethereum chain ID for Aurora native token rates

Now getting rates for Aurora's native token from Ethereum Mainnet
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Ah yes sorry, so basically currently the backend returns the wrong rates for the aurora native tokens, so I made these changes to always give us the rates of ETH.
The backend now has some fixes in QA, so once they get pushed to prod these changes should be irrelevant, and we can delete this PR

Closed as the issue has been solved in the backend, and should no longer need this workaround once the changes have been pushed onto prod.


ARROW-1473: [JAVA] Refactoring Value Vector (Implementation Phase 1)

creating the PR against refactor branch
see original PR on master for detailed discussion -- https://github.com/apache/arrow/pull/1164
cc @jacques-n , @BryanCutler , @icexelloss , @StevenMPhillips ,  @elahrvivaz

Is it possible to change he origin one so we don't lose the discussions?

I will update this PR later today or tomorrow  (just doing some cleanup, adding comments, TODOs) and then we can work towards merging this patch.

This PR is ready to be merged to java-vector-refactor branch.
No outstanding correctness failures. There are 10 test errors and all are related to getMutator(), getAccessor() functions throwing UnsupportedOperationException. The reason and solution has already been discussed on the mailing list.
Added comments, few TODOs (at the top of abstract classes BaseNullableFixedWidthVector and BaseNullableVariableWidthVector).

@siddharthteotia Can you change the base branch of https://github.com/apache/arrow/pull/1164 so we can merge that one? Having two PR of the same thing is a bit confusing.

Since all the discussion is on #1164 , I prefer to merge that one.

It won’t really matter. We should be cherry picking a single squashed commit into the branch. I can look tomorrow morning if it’s not done by then

Ok. LGTM then. +1.

Pushed as https://github.com/apache/arrow/commit/60a2ebdfc9164d2405f9656030dedfbf789997b5

Thanks @wesm  and @icexelloss . Closing this. I am changing the JIRA number in other PR to the umbrella JIRA and we can keep it open to reference and follow up on discussions,


🧠 Logic: 🔑 implement verify_signature

Implements #458.

Summary by CodeRabbit

New Feature: Added cryptographic verification functions eddsa_verify/4 and ecdsa_verify/4 to enhance security.
Improvement: Enhanced error messages in TestBech32 for better clarity.
Refactor: Reorganized global variables in atom.go for improved readability.
New Feature: Introduced TermToBytes function in util.go for flexible term-to-byte conversions.
Test: Added new test functions TestXVerify and TestTermToBytes to ensure the reliability of new features.
Improvement: Updated DIDComponents function in did.go for more secure and consistent DID string construction.
New Feature: Added utility functions in prolog.go for list checking and option retrieval.
Test: Added TestGetOption function in prolog_test.go to validate the new utility functions.
New Feature: Introduced Map function in slice.go for flexible slice mapping.
Improvement: Enhanced did_components function and added relevant test cases for better error handling.
New Feature: Introduced util package with cryptographic operations, including signature verification.

Thanks @ccamel (and coderabbit 😛) for finishing this work 😊.

@coderabbitai pause. I have to resolve branch conflicts by rebasing the code.

@coderabbitai pause


Fix misspelling of "recommended" in credential provider docs

*puts "open source contributor" on resume*

@tjhorner : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@tjhorner : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks for the contribution! I've merged your changes and they should be live soon.

Thanks for the contribution! I've merged your changes and they should be live soon.


[Android] _reactNative.NativeModules.UIManager.RCTVideo.Constants

ios is ok.when i use it in Android,throw this error:undefined is not an object(evaluating ' _reactNative.NativeModules.UIManager.RCTVideo.Constants')

@movetosun you need to follow these steps: https://github.com/react-native-community/react-native-video#android
Also you can check the setup of the react-native-video component here: https://github.com/gergob/rent/blob/master/android/settings.gradle
Also in your MainApplication.java you need add the ReactVideoPackage package in the getPackages() method:
 @Override
    protected List<ReactPackage> getPackages() {
      return Arrays.<ReactPackage>asList(
          new MainReactPackage(),
            new VectorIconsPackage(),
            new ReactVideoPackage()
      );
    }

Hi,
I have followed all the steps mentioned and verified all the files for configuration. But the error persists. iOS is working without any issues. Could you please guide what could be the issue?

react-native link is not working right. You need to do the configurations manually.


Tests: Add tests for is_sql

Codecov Report

Merging #25 (95299ea) into main (4d06cce) will increase coverage by 0.30%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main      #25      +/-   ##
==========================================
+ Coverage   77.13%   77.43%   +0.30%
==========================================
  Files           4        4
  Lines         223      226       +3
  Branches       26       26
==========================================
+ Hits          172      175       +3
  Misses         47       47
  Partials        4        4

Flag
Coverage Δ

unittests
77.43% <100.00%> (+0.30%)
:arrow_up:

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

Impacted Files
Coverage Δ

bquest/util.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


feature/TECH 290 add jira info to pr

TECH-290 Use token based password
TECH-290 Add instructions for Jira API credentials
TECH-290 Turn compose function into parameter
TECH-290 Add unit test for JiraTicket.from_issue_response
TECH-290 Set jira ticket info in PR comment

Similarly to mpl modules, we should update the PR details with card description, links to swagger (if they have), links to deployment in cluster, etc.
Should support Jira markdown

Quoted

first
second
👩💻 is tagged
!Screenshot 2023-04-19 at 11.50.50.png|width=530,height=141,alt="And a image"!


Fix fresh linter issues.

This change is

Jenkins job mixer/presubmit passed

Jenkins job mixer/presubmit passed

build mixer/e2e-smoketest


[ja] Should remove content/ja/docs/reference/kubectl/overview.md

This is a Feature Request
content/ja/docs/reference/kubectl/overview.md should be removed from ja too because it had been removed from en.
What would you like to be added
The contents of content/ja/docs/reference/kubectl/overview.md be moved to _index.md and overview.md should be removed.
Why is this needed
Because docs/reference/kubectl/overview.md have been removed from en.
Comments
/language ja
/assign

Related: https://github.com/kubernetes/website/pull/39771#issuecomment-1453229828


Feature/question result

Fixed issues (PRs without this will not be accepted)

Fixes #243

Changes

Created  notification component
Created QuestionResult.styles for styled component
Added slide up animation to QuestionResult notification

PR Checklist

[x] Does your PR contain relevant tests that pass?
[x] Is your code linted? yarn lint or yarn lint:fix
[x] Does your code build correctly in ALL projects? yarn build

Hi Tristan,
I made the changes as requested. Let me know if there are any other changes that you can think of.
Thanks,
Waqas

Hi Tristan, updated the small things that you mentioned previously. Hopefully, this is good to go now! :)


[twitter] I can view a microformats response, and Bridgy shows the post as published, but no tweet shows up

First time user here...
I've connected my blog via Bridgy's Twitter integration for POSSE, but although the post is viewable to Bridgy, I don't see the tweet in my timeline. Did I set up the correct endpoint?
Log is below:
I 2020-04-14 01:00:58.345553 Params: [('source', 'https://chrisfinazzo.com/2020/04/13/another-test/'), ('source_key', Params: [('source', 'https://chrisfinazzo.com/2020/04/13/another-test/'), ('source_key', 'agdicmlkLWd5chkLEgdUd2l0dGVyIgxjaHJpc2ZpbmF6em8M'), ('target', 'https://brid.gy/publish/twitter'), ('bridgy_omit_link', 'false')]), ('target', 'https://brid.gy/publish/twitter'), ('bridgy_omit_link', 'false')]
I 2020-04-14 01:00:58.347775 requests.head https://chrisfinazzo.com/2020/04/13/another-test/ {'headers': {'User-Agent': '...'}}
I 2020-04-14 01:00:58.708781 Source: https://brid.gy/twitter/chrisfinazzo , features ['publish', 'listen'], status enabled, poll status ok
I 2020-04-14 01:00:58.710735 Source: https://brid.gy/twitter/chrisfinazzocom , features ['publish', 'listen'], status enabled, poll status ok
D 2020-04-14 01:00:58.965276 Publish entity: Publish entity: 'agdicmlkLWd5clgLEg1QdWJsaXNoZWRQYWdlIjFodHRwczovL2NocmlzZmluYXp6by5jb20vMjAyMC8wNC8xMy9hbm90aGVyLXRlc3QvDAsSB1B1Ymxpc2gYgIDgodWxgAoM'
I 2020-04-14 01:00:59.033253 requests.get https://chrisfinazzo.com/2020/04/13/another-test/ {'headers': {'User-Agent': '...'}}
D 2020-04-14 01:00:59.254297 Parsed microformats2: {
  "items":[
    {
      "type":[
        "h-entry"
      ],
      "properties":{
        "name":[
          "Another test"
        ],
        "published":[
          "April 13, 2020"
        ],
        "content":[
          {
            "html":"",
            "value":""
          }
        ]
      }
    }
  ],
  "rels":{
    "me":[
      "https://github.com/chrisfinazzo",
      "https://twitter.com/chrisfinazzo"
    ],
    "authn":[
      "https://twitter.com/chrisfinazzo"
    ],
    "token_endpoint":[
      "https://tokens.indieauth.com/token"
    ],
    "authorization_endpoint":[
      "https://indieauth.com/auth"
    ],
    "alternate":[
      "https://chrisfinazzo.com/rss.xml"
    ],
    "apple-touch-icon":[
      "https://chrisfinazzo.com/apple-touch-icon.png"
    ],
    "shortcut":[
      "https://chrisfinazzo.com/favicon.ico"
    ],
    "icon":[
      "https://chrisfinazzo.com/favicon.ico"
    ],
    "stylesheet":[
      "https://chrisfinazzo.com/css/style.css"
    ],
    "canonical":[
      "https://chrisfinazzo.com/2020/04/13/another-test/"
    ]
  },
  "rel-urls":{
    "https://github.com/chrisfinazzo":{
      "text":"",
      "rels":[
        "me"
      ]
    },
    "https://twitter.com/chrisfinazzo":{
      "text":"",
      "rels":[
        "authn",
        "me"
      ]
    },
    "https://tokens.indieauth.com/token":...      "text":"",
      "rels":[
        "token_endpoint"
      ]
    },
    "https://indieauth.com/auth":{
      "text":"",
      "rels":[
        "authorization_endpoint"
      ]
    },
    "https://chrisfinazzo.com/rss.xml":{
      "text":"",
      "rels":[
        "alternate"
      ],
      "type":"application/rss+xml",
      "title":"RSS"
    },
    "https://chrisfinazzo.com/apple-touch-icon.png":{
      "text":"",
      "rels":[
        "apple-touch-icon"
      ]
    },
    "https://chrisfinazzo.com/favicon.ico":{
      "text":"",
      "rels":[
        "icon",
        "shortcut"
      ]
    },
    "https://chrisfinazzo.com/css/style.css":{
      "text":"",
      "rels":[
        "stylesheet"
      ],
      "type":"text/css"
    },
    "https://chrisfinazzo.com/2020/04/13/another-test/":{
      "text":"",
      "rels":[
        "canonical"
      ]
    }
  },
  "debug":{
    "description":"mf2py - microformats2 parser for python",
    "source":"https://github.com/microformats/mf2py",
    "version":"1.1.2",
    "markup parser":"lxml"
  },
  "alternates":[
    {
      "url":"https://chrisfinazzo.com/rss.xml",
      "text":"",
      "type":"application/rss+xml",
      "title":"RSS"
    }
  ]
}
E 2020-04-14 01:00:59.255919 Failed to parse datetime April 13, 2020
D 2020-04-14 01:00:59.256613 Converted to ActivityStreams object: {
  "objectType":"note",
  "published":"April 13, 2020",
  "displayName":"Another test",
  "url":"https://chrisfinazzo.com/2020/04/13/another-test/"
}
D 2020-04-14 01:00:59.376164 encoding state {'source_key': encoding state {'source_key': 'agdicmlkLWd5chkLEgdUd2l0dGVyIgxjaHJpc2ZpbmF6em8M', 'source_url': 'https://chrisfinazzo.com/2020/04/13/another-test/', 'target_url': 'https://brid.gy/publish/twitter', 'include_link': 'include'}, 'source_url': 'https://chrisfinazzo.com/2020/04/13/another-test/', 'target_url': 'https://brid.gy/publish/twitter', 'include_link': 'include'}
I 2020-04-14 01:00:59.378853 Rendering preview with template vars {'description': 'tweet:',
 'include_link': 'include',
 'preview': 'Another test (chrisfinazzo.com/2020/04/13/ano...;))',
 'source': Twitter(key=Key('Twitter', 'chrisfinazzo'), auth_entity=Key('TwitterAuth', 'chrisfinazzo'), blocked_ids=None, created=datetime.datetime(2020, 2, 3, 16, 28, 2, 49922), domain_urls=['https://chrisfinazzo.com/'], domains=['chrisfinazzo.com'], features=['publish', 'listen'], last_activities_cache_json='{"ATR<PHONE_NUMBER>012560389":1,"ATR<PHONE_NUMBER>167008773":1,"ATF<PHONE_NUMBER>012560389":2,"ATF<PHONE_NUMBER>490018308":2,"ATF<PHONE_NUMBER>296244738":2,"ATF<PHONE_NUMBER>127024130":2,"ATF<PHONE_NUMBER>875673600":1,"ATF<PHONE_NUMBER>256210432":3,"ATF<PHONE_NUMBER>088910851":1,"ATF<PHONE_NUMBER>097176065":1,"ATF<PHONE_NUMBER>370148865":1,"ATF<PHONE_NUMBER>173579265":1,"ATF<PHONE_NUMBER>390037507":1,"ATF<PHONE_NUMBER>765094912":1,"ATF<PHONE_NUMBER>167008773":1,"ATF<PHONE_NUMBER>076576260":3,"ATF<PHONE_NUMBER>160538113":1}', last_activities_etag=None, last_activity_id=None, last_feed_syndication_url=None, last_hfeed_refetch=datetime.datetime(2020, 4, 14, 0, 59, 26, 317549), last_poll_attempt=datetime.datetime(2020, 4, 14, 0, 59, 22, 384648), last_polled=datetime.datetime(2020, 4, 14, 0, 59, 22, 384648), last_public_post=datetime.datetime(2020, 4, 13, 22, 56, 27), last_syndication_url=None, last_webmention_sent=None, name='Chris Finazzo', picture='https://pbs.twimg.com/profile_images/372936826/DSC00552_2.jpg', poll_status='ok', rate_limited=False, recent_private_posts=0, seen_responses_cache_json='[{"id":"tag:twitter.com,2013:1249043324012560389_favorited_by_12097612","url":"https://twitter.com/chrisfinazzo/status/1249043324012560389#favorited-by-12097612","objectType":"activity","verb":"like","object":{"url":"https://twitter.com/chrisfinazzo/status/1249043324012560389"},"author":{"objectType":"person","displayName":"George","image":{"url":"https://pbs.twimg.com/profile_images/863187125558267904/KtzdvbkP.jpg"},"id":"tag:twitter.com,2013:walter25","numeric_id":"12097612","url":"https://twitter.com/walter25","username":"walter25"}},{"id":"tag:twitter.com,2013:1249043324012560389_favorited_by_18119839","url":"https://twitter.com/chrisfinazzo/status/1249043324012560389#favorited-by-18119839","objectType":"activity","verb":"like","object":{"url":"https://twitter.com/chrisfinazzo/status/1249043324012560389"},"author":{"objectType":"person","displayName":"Casey Liss","image":{"url":"https://pbs.twimg.com/profile_images/1080641065579937793/UY-hJh1J.jpg"},"id":"tag:twitter.com,2013:caseyliss","numeric_id":"18119839","url":"https://twitter.com/caseyliss","username":"caseyliss"}},{"id":"tag:twitter.com,2013:1249052152275914758","objectType":"activity","published":"2020-04-11T19:10:14+00:00","to":[{"objectType":"group","alias":"@public"}],"author":{"objectType":"person","displayName":"George","image":{"url":"https://pbs.twimg.com/profile_images/863187125558267904/KtzdvbkP.jpg"},"id":"tag:twitter.com,2013:walter25","numeric_id":"12097612","published":"2008-01-11T03:16:11+00:00","u...', status='enabled', superfeedr_secret=... url='https://twitter.com/chrisfinazzo', webmention_endpoint=None),
 'source_key': Rendering preview with template vars {'description': 'tweet:',
 'include_link': 'include',
 'preview': 'Another test (chrisfinazzo.com/2020/04/13/ano...;))',
 'source': Twitter(key=Key('Twitter', 'chrisfinazzo'), auth_entity=Key('TwitterAuth', 'chrisfinazzo'), blocked_ids=None, created=datetime.datetime(2020, 2, 3, 16, 28, 2, 49922), domain_urls=['https://chrisfinazzo.com/'], domains=['chrisfinazzo.com'], features=['publish', 'listen'], last_activities_cache_json='{"ATR<PHONE_NUMBER>012560389":1,"ATR<PHONE_NUMBER>167008773":1,"ATF<PHONE_NUMBER>012560389":2,"ATF<PHONE_NUMBER>490018308":2,"ATF<PHONE_NUMBER>296244738":2,"ATF<PHONE_NUMBER>127024130":2,"ATF<PHONE_NUMBER>875673600":1,"ATF<PHONE_NUMBER>256210432":3,"ATF<PHONE_NUMBER>088910851":1,"ATF<PHONE_NUMBER>097176065":1,"ATF<PHONE_NUMBER>370148865":1,"ATF<PHONE_NUMBER>173579265":1,"ATF<PHONE_NUMBER>390037507":1,"ATF<PHONE_NUMBER>765094912":1,"ATF<PHONE_NUMBER>167008773":1,"ATF<PHONE_NUMBER>076576260":3,"ATF<PHONE_NUMBER>160538113":1}', last_activities_etag=None, last_activity_id=None, last_feed_syndication_url=None, last_hfeed_refetch=datetime.datetime(2020, 4, 14, 0, 59, 26, 317549), last_poll_attempt=datetime.datetime(2020, 4, 14, 0, 59, 22, 384648), last_polled=datetime.datetime(2020, 4, 14, 0, 59, 22, 384648), last_public_post=datetime.datetime(2020, 4, 13, 22, 56, 27), last_syndication_url=None, last_webmention_sent=None, name='Chris Finazzo', picture='https://pbs.twimg.com/profile_images/372936826/DSC00552_2.jpg', poll_status='ok', rate_limited=False, recent_private_posts=0, seen_responses_cache_json='[{"id":"tag:twitter.com,2013:1249043324012560389_favorited_by_12097612","url":"https://twitter.com/chrisfinazzo/status/1249043324012560389#favorited-by-12097612","objectType":"activity","verb":"like","object":{"url":"https://twitter.com/chrisfinazzo/status/1249043324012560389"},"author":{"objectType":"person","displayName":"George","image":{"url":"https://pbs.twimg.com/profile_images/863187125558267904/KtzdvbkP.jpg"},"id":"tag:twitter.com,2013:walter25","numeric_id":"12097612","url":"https://twitter.com/walter25","username":"walter25"}},{"id":"tag:twitter.com,2013:1249043324012560389_favorited_by_18119839","url":"https://twitter.com/chrisfinazzo/status/1249043324012560389#favorited-by-18119839","objectType":"activity","verb":"like","object":{"url":"https://twitter.com/chrisfinazzo/status/1249043324012560389"},"author":{"objectType":"person","displayName":"Casey Liss","image":{"url":"https://pbs.twimg.com/profile_images/1080641065579937793/UY-hJh1J.jpg"},"id":"tag:twitter.com,2013:caseyliss","numeric_id":"18119839","url":"https://twitter.com/caseyliss","username":"caseyliss"}},{"id":"tag:twitter.com,2013:1249052152275914758","objectType":"activity","published":"2020-04-11T19:10:14+00:00","to":[{"objectType":"group","alias":"@public"}],"author":{"objectType":"person","displayName":"George","image":{"url":"https://pbs.twimg.com/profile_images/863187125558267904/KtzdvbkP.jpg"},"id":"tag:twitter.com,2013:walter25","numeric_id":"12097612","published":"2008-01-11T03:16:11+00:00","u...', status='enabled', superfeedr_secret=... url='https://twitter.com/chrisfinazzo', webmention_endpoint=None),
 'source_key': 'agdicmlkLWd5chkLEgdUd2l0dGVyIgxjaHJpc2ZpbmF6em8M',
 'source_url': 'https://chrisfinazzo.com/2020/04/13/another-test/',
 'state': '%7B%22include_link%22%3A%22include%22%2C%22source_key%22%3A%22agdicmlkLWd5chkLEgdUd2l0dGVyIgxjaHJpc2ZpbmF6em8M%22%2C%22source_url%22%3A%22https%3A%2F%2Fchrisfinazzo.com%2F2020%2F04%2F13%2Fanother-test%2F%22%2C%22target_url%22%3A%22https%3A%2F%2Fbrid.gy%2Fpublish%2Ftwitter%22%7D',
 'target_url': 'https://brid.gy/publish/twitter',
 'webmention_endpoint': 'https://brid.gy/publish/webmention'},
 'source_url': 'https://chrisfinazzo.com/2020/04/13/another-test/',
 'state': '%7B%22include_link%22%3A%22include%22%2C%22source_key%22%3A%22agdicmlkLWd5chkLEgdUd2l0dGVyIgxjaHJpc2ZpbmF6em8M%22%2C%22source_url%22%3A%22https%3A%2F%2Fchrisfinazzo.com%2F2020%2F04%2F13%2Fanother-test%2F%22%2C%22target_url%22%3A%22https%3A%2F%2Fbrid.gy%2Fpublish%2Ftwitter%22%7D',
 'target_url': 'https://brid.gy/publish/twitter',
 'webmention_endpoint': 'https://brid.gy/publish/webmention'}

hey, sorry for any confusion! looks like you clicked the Preview button, which worked, but you didn't then click Send. try that?

Hi Ryan, thanks for the quick reply, much appreciated.
I tried this with another test post - because updates are not something Bridgy can do at this point - and it works as you described. I saw the URL show up and hit "Send" from there 👍
Still, like many people, I would like to do this automatically whenever there is a new post on the site. Looking at the log, or the source, located here, is there anything I've missed or was this just a temporary hiccup on the backend? 🤔

you can definitely do it automatically! See https://brid.gy/about#webmentions

To clarify,
Bridgy requires that you include the service's webmention endpoint - e.g, https://brid.gy/publish/twitter - in a post, but also mentions that Bridgy's endpoint is https://brid.gy/publish/webmention.
I already have my own at https://webmention.io/chrisfinazzo.com/webmention, can I use this URL instead and will it work automatically if I include it in a post?
(I probably did have this working yesterday, but couldn't tell 🤦 )

you only have to include the target URL, eg https://brid.gy/publish/twitter , in your post. not the endpoint URL https://brid.gy/publish/webmention . background on the difference here: https://indieweb.org/Webmention-developer#Protocol_Summary
your own endpoint URL is for _receiving

to make this easier, if you have your web site set up to send webmentions automatically, all you have to do is include https://brid.gy/publish/twitter , and it should do the rest.

tentatively closing. feel free to reopen!

Ok, no problem.
For now, I'm just doing the curl bit myself in a shell script that's in my repo's ignore file and that works.


Use Unicode Word Boundaries as word delimiter

Currently we just use unicode.IsSpace(r) || r == '_' || r == '-' but we should rather use this http://www.unicode.org/reports/tr29/#Word_Boundaries. We could use https://github.com/blevesearch/segment for this

Decided to go with this instead of pulling in another library d9bb0591b2ca83b3c5bb601134c986dba9c0a73b


Create README

Create a README file detailing how a contributor could:

clone the repo
edit the pages
preview locally
commit changes
create a PR for review and merging

@joewxboy Please help assign this issue to me, thanks.


Add a --command-script CLI option

Is your feature request related to a problem? Please describe.
libf3d has a command API to to trigger behavior based on a string, lets add a CLI option to provide a script containing commands in a file.
Describe the solution you'd like

Add a CLI option in F3DOptionsTools:  --command-script
in F3DStarter.cxx, process the provided file and use interactor::triggerCommand to trigger the commands
Add testing and documentation

Yes, it is open! I've just assigned it to you.

Do not hesitate to join our discourse for guidance: https://discord.f3d.app

Hi @amannages
Do you need any help moving forward ?

Hello @mwestphal
Thank you for reaching out, for now since I am just beginning to work on this issue, I do not yet require any help to move forward, but I'll be sure to reach out through the discord if/when I need help.

Great! Do not hesitate :)

Hi @amannages
Do you need any help moving forward ?

@mwestphal this is fixed right?

indeed!


[PE-D][Tester B] Allow commands to use index instead of just ID

Since indexes are provided, it may be helpful to allow commands such as edit and delete using that? Typing the full student ID seems prone to mistakes. For instance, accidentally typing 12345677 instead of 12345678 could edit another student unintentionally. It would make the process more seamless, especially since contacts outside of displayed list cannot be modified anyway.

Labels: severity.VeryLow type.FeatureFlaw
original: kahsuann/ped#5

planned enhancements

close after including

feature flaw


Fix #128 Replace path with re_path in test urls

path will trigger a warning when used with a regex while
re_path is what should be used instead.

thank you @johnraz :)


feat: add retrieve api

Added an API to retrieve Documents from related Chucks.

Wait a bit, find a bug.


Reliable build process

We need a reliable build process for the workbench.
I was hoping to make this a Gradle based thing. But this seems to be beyond me.
Currently we use the export wizard within Eclipse to build the product.
This seems to be inherently unreliable and cannot be run from a script.
And I recently created a Mac version (that does not really seems to work) using this method.
Following a post to the Eclipse forum the suggestion is to use a Maven/Tycho build.
This I am investigating.

Ultimately I would like to see us get to CI scheme whereby a commit or merge of a PR triggers a build to be done automatically.
This is another reason to have something like the Maven/Tycho scheme working.

See https://www.eclipse.org/tycho/sitedocs/index.html for Tycho info and its associated repo in Github.

Eclipse Tycho build now working.
But the Mac build has issues importing.
Raised issue #32

This has now been sorted.


Deploy to Azure - site dies after 24-48 hours

Sorry if this isn't the right place to post this, but I am pulling my hair out:  I have a simple Angular app built using ASP.NET 5 rc1 (not using MVC) and then using Visual Studio 2015 to deploy to an Azure Web App.
The site works fine for 24-48 hours and at some point it fails to load/render properly.  I sense it is missing something to start or restart itself properly, but the deploy to azure docs are not complete.
My web.config looks like this:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.webServer>
    <handlers>
      <add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified"/>
    </handlers>
    <httpPlatform processPath="%DNX_PATH%" arguments="%DNX_ARGS%" stdoutLogEnabled="false" startupTimeLimit="3600"/>

    <rewrite>
      <rules>
        <!--Redirect selected traffic to index -->
        <rule name="Index Rule" stopProcessing="true">
          <match url=".*" />
          <conditions logicalGrouping="MatchAll">
            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
            <!--<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />-->
            <add input="{REQUEST_URI}" pattern="^/(blog)" negate="true" />
          </conditions>
          <action type="Rewrite" url="/index.html" />
        </rule>
      </rules>
    </rewrite>
    <staticContent>
      <remove fileExtension=".woff" />
      <mimeMap fileExtension=".woff" mimeType="application/font-woff" />
      <remove fileExtension=".woff2" />
      <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />
      <remove fileExtension=".ttf" />
      <mimeMap fileExtension=".ttf" mimeType="application/font-ttf" />
    </staticContent>
  </system.webServer>
</configuration>

and my project.json:
{
  "version": "1.0.0-*",
  "compilationOptions": {
    "emitEntryPoint": true
  },

  "dependencies": {
    "Microsoft.AspNet.Mvc": "6.0.0-rc1-final",
    "Microsoft.AspNet.IISPlatformHandler": "1.0.0-rc1-final",
    "Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-final",
    "Microsoft.AspNet.StaticFiles": "1.0.0-rc1-final"
  },

  "commands": {
    "web": "Microsoft.AspNet.Server.Kestrel"
  },

  "frameworks": {
    "dnx451": { },
    "dnxcore50": { }
  },

  "exclude": [
    "wwwroot",
    "node_modules"
  ],
  "publishExclude": [
    "**.user",
    "**.vspscc",
    "wwwroot/lib/**",
    "wwwroot/scripts/**"
  ]
}

And here is the error:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 12/31/2015 9:38:31 PM
Event time (UTC): 12/31/2015 9:38:31 PM
Event ID: f3ac130824e24d9f8b5e858c73ee3ac1
Event sequence: 1
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/580019606/ROOT-2-130960715112734726
Trust level:
Application Virtual Path: /
Application Path: D:\home\site\wwwroot\
Machine name: RD00155D84A050

Process information:
Process ID: 9288
Process name: w3wp.exe
Account name: IIS APPPOOL\cardtarget

Exception information:
Exception type: InvalidOperationException
Exception message: Couldn't determine an appropriate version of runtime to run. See http://go.microsoft.com/fwlink/?LinkId=517742 for more information. at AspNet.Loader.RuntimeLocator.LocateRuntime(MapPathHelper mapPathHelper, Boolean& isCoreClr, String& relativeAppBasePath) at AspNet.Loader.Bootstrapper.LoadApplication(String appId, String appConfigPath, IProcessHostSupportFunctions supportFunctions, LoadApplicationData* pLoadAppData, Int32 loadAppDataSize) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at System.Web.Hosting.ProcessHost.System.Web.Hosting.IProcessHostLite.ReportCustomLoaderError(String appId, Int32 hr, AppDomain newlyCreatedAppDomain) --- End of stack trace from previous location where exception was thrown --- at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters) at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)

Request information:
Request URL: http://www.cardtarget.com/?cardID=1130407470
Request path: /
User host address: <IP_ADDRESS>
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\cardtarget

Thread information:
Thread ID: 6
Thread account name: IIS APPPOOL\cardtarget
Is impersonating: False
Stack trace: at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)

------------------------------
Of course the link in the error doesn't point to anything, and all the other searches for locating the appropriate run time haven't helped.

What else is missing??  I am pulling my hair out with this and any help would be appreciated.
Bob

@bobwiller Yeah ... and what a night to have this happen, right???
There is no reported Azure issue with that exception AFAIK. It's probably a config problem with your app. The critical bit is ...
Couldn't determine an appropriate version of runtime to run ... at
AspNet.Loader.RuntimeLocator.LocateRuntime(...)

The runtime is specified in global.json, which is attached in VS to the project's properties on the Application tab of the project properties. It also appears in the VS Publish dialog.
How are you publishing your project prior to deployment to Azure? Do you have a global.json file? If so, what's in it? If so, does it match what you have in the project's properties Application tab? If so, does it also match what you have in the VS Publish dialog (if you are using VS Publish)? Finally, do a dnvm list and see which runtime is showing as active (it will have an asterisk next to it), and what is listed as the 'default' runtime?

@bobwiller Yeah ... and what a night to have this happen, right???
There is no reported Azure issue with that exception AFAIK. It's probably a config problem with your app. The critical bit is ...
Couldn't determine an appropriate version of runtime to run ... at
AspNet.Loader.RuntimeLocator.LocateRuntime(...)

The runtime is specified in global.json, which is attached in VS to the project's properties on the Application tab of the project properties. It also appears in the VS Publish dialog.
How are you publishing your project prior to deployment to Azure? Do you have a global.json file? If so, what's in it? If so, does it match what you have in the project's properties Application tab? If so, does it also match what you have in the VS Publish dialog (if you are using VS Publish)? Finally, do a dnvm list and see which runtime is showing as active (it will have an asterisk next to it), and what is listed as the 'default' runtime?

That error looks like Helios is left over (AspNet.Loader.dll) in the bin folder of your deployed application

That error looks like Helios is left over (AspNet.Loader.dll) in the bin folder of your deployed application

Oh, that's a new one!

Oh, that's a new one!

Just had the same issue about an hour ago -
@GuardRex - Here is my global.json although it does not appear to get deployed to Azure.
{
"projects": [ "src", "test" ],
"sdk": {
"version": "1.0.0-rc1-update1"
}
}
When I publish, I am simply right-clicking the project, selecting "Publish..." and doing a deployment to my Azure Web app.  On the Settings tab, my Configuration is set to "Release - Any CPU" and Target DNX Version is set to "Default (dnx-clr-win-x<IP_ADDRESS>.0-rc1-update1)"
if I use the Kudu cmd window, I get 'dnvm' is not recognized as an internal or external command.
@davidfowl: I was hoping it was going to be that easy, but AspNet.Loader.dll does not appear to be present (although this is a project I upgraded from beta 5, and had the same issues, although not as frequently)
Here is my StartUp class if this helps:
public class Startup
{
    // This method gets called by the runtime. Use this method to add services to the container.
    // For more information on how to configure your application, visit http://go.microsoft.com/fwlink/?LinkID=398940
    public void ConfigureServices(IServiceCollection services)
    {
    }

    // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
    public void Configure(IApplicationBuilder app)
    {
        app.UseIISPlatformHandler();
        app.UseDefaultFiles();
        app.UseStaticFiles();
    }

    // Entry point for the application.
    public static void Main(string[] args) => WebApplication.Run<Startup>(args);
}

}
Thanks for the replies guys, I appreciate the help so far.
Bob

Just had the same issue about an hour ago -
@GuardRex - Here is my global.json although it does not appear to get deployed to Azure.
{
"projects": [ "src", "test" ],
"sdk": {
"version": "1.0.0-rc1-update1"
}
}
When I publish, I am simply right-clicking the project, selecting "Publish..." and doing a deployment to my Azure Web app.  On the Settings tab, my Configuration is set to "Release - Any CPU" and Target DNX Version is set to "Default (dnx-clr-win-x<IP_ADDRESS>.0-rc1-update1)"
if I use the Kudu cmd window, I get 'dnvm' is not recognized as an internal or external command.
@davidfowl: I was hoping it was going to be that easy, but AspNet.Loader.dll does not appear to be present (although this is a project I upgraded from beta 5, and had the same issues, although not as frequently)
Here is my StartUp class if this helps:
public class Startup
{
    // This method gets called by the runtime. Use this method to add services to the container.
    // For more information on how to configure your application, visit http://go.microsoft.com/fwlink/?LinkID=398940
    public void ConfigureServices(IServiceCollection services)
    {
    }

    // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
    public void Configure(IApplicationBuilder app)
    {
        app.UseIISPlatformHandler();
        app.UseDefaultFiles();
        app.UseStaticFiles();
    }

    // Entry point for the application.
    public static void Main(string[] args) => WebApplication.Run<Startup>(args);
}

}
Thanks for the replies guys, I appreciate the help so far.
Bob

@bobwiller Is your delete all files checked in the publish profile. If it isn't, that could lead to the AspNet.Loader.dll persisting on the server even though it's not in your project.

@bobwiller Is your delete all files checked in the publish profile. If it isn't, that could lead to the AspNet.Loader.dll persisting on the server even though it's not in your project.

Yep! AspNet.Loader.dll is totally on your server messing things up :smile: .

Yep! AspNet.Loader.dll is totally on your server messing things up :smile: .

@bobwiller I am going to assume that this is resolved once Helios is removed from the server. Closing. Re-open it or create a new issue if you still need help.

Sorry @glennc I was traveling last week and wasn't able to respond.  This is still causing me headaches:
I went through and deleted all the files under / via FTP, and then published per @GuardRex (checking remove additional files and compile files into NuGet packages), and I still go 48-72 hours until the site stops working.  Only now, I also no longer get any errors in the event viewer.
The other thing that is different now is that when I try to publish I get the following error:
"An error was encountered when processing operation 'Delete Directory' on 'D:\home\site\wwwroot\App_Data\Jobs'."
So I need to ftp and delete that Jobs folder before republishing.
I just turned on some additional logging in the Azure portal hoping to catch what is going on, but this continues to be a problem (at least for me).  Sorry for the delay in responding.
Let me know if there is anything else I should look for, or can do from a troubleshooting perspective.
Thanks,
Bob

@bobwiller There is a report of the Azure logging causing issues (but only one report of that, so it might be nothing): https://github.com/aspnet/Hosting/issues/364#issuecomment-156365450
Is this a free tier app? There is a report of running out of space on the free tier: https://github.com/aspnet/dnx/issues/3192


(+VIRALˇ𝘝𝘐𝘋𝘌𝘖𝘴:.ＳＥＸ) Oviya Helen 𝙻𝚎𝚊𝚔𝚎𝚍 𝚅𝚒𝚍𝚎𝚘 MMS On Social Media X Twitter [LINK√FULL]

13 sec ago Oviya Helen 𝙻𝚎𝚊𝚔𝚎𝚍 𝚅𝚒𝚍𝚎𝚘 Viral On Social Media. (+VIRALˇ𝘝𝘐𝘋𝘌𝘖𝘴:.ＳＥＸ) Oviya Helen 𝙻𝚎𝚊𝚔𝚎𝚍 𝚅𝚒𝚍𝚎𝚘 MMS On Social Media X Twitter [LINK√FULL]

Oviya Helen's latest video has taken the internet by storm, igniting conversations across various social media platforms. The rising digital star, known for her engaging content—especially her recent Spiderman-themed clip—has experienced a remarkable boost in popularity, with fans eagerly seeking the full version. Viewers are flocking to Instagram, X (formerly Twitter), and Discord to engage with her latest creation.
As excitement grows, fans are passionately sharing their reactions online, emphasizing the crucial role social media plays in propelling creators like Oviya Helen into the spotlight. With her unique style and innovative approach, she has quickly made a notable impact in the digital landscape, leaving many curious about her next moves.


Is there a way to not always require a signature

I am implementing this for a delivery system.
The user has the option to sign(by drawing the signature) or they can just simply proceed to next step without a signature.
Right now if no signature is signed, this JS give an error "Please sign the document", is there a way to turn this validation off?

Yep, there's an option called validateFields, that defaults to true. Change it to false and it should make the signature pad optional.

Thank you. I missed it while going through the documentation.


"java.lang.NullPointerException" occurs when using APPROX_QUANTILE_DS

Affected Version

0.21.1
2 overlords, 2 coordinators
2 routers, 2 brokers
3 historicals, 11 middle managers

Description
Hello, I am trying to calculate quantiles using "APPROX_QUANTILE_DS()".
but java.lang.NullPointerException occurs in my query.
Exception occurs in "org.apache.datasketches.quantiles.DirectUpdateDoublesSketch.growCombinedMemBuffer".
So, I think this is due to out of memory. (There is not enough memory available for the operation)
However, increasing the memory does not solve the problem.
Also, the problem only occurs when using some service codes (e.g. 'top', 'cafe')
What I'm curious about is:

Is it a memory problem? Or do you think there is another cause?
For k=128, how much memory is needed for the quantile operation?
Should I use a different aggregator to compute the quantile?

I don't have any good ideas to solve the problem :(
my query:
SELECT COALESCE("mytable".country, '_') AS country,
  (APPROX_QUANTILE_DS("mytable".quantile_duration, 0.9)) AS quantile
FROM "mytable"
WHERE ("mytable".service_code = 'top')
AND __time >= '2021-06-01' AND __time <= '2021-06-01'
GROUP BY COALESCE("mytable".country, '_')

datasource configuration:

__time : 2021-06-01/2021-06-13
dimension: country (cardinality 239), service_code(cardinality 129) etc.
metric: quantile_duration (Apply quantilesDoublesSketch, k=128(default)) etc.
7 segments (total 1.42 GB)

full log:
at  org.apache.datasketches.quantiles.DirectUpdateDoublesSketch.growCombinedMemBuffer(DirectUpdateDoublesSketch.java:254)
at  org.apache.datasketches.quantiles.DirectUpdateDoublesSketch.growCombinedBuffer(DirectUpdateDoublesSketch.java:238)
at  org.apache.datasketches.quantiles.DoublesMergeImpl.mergeInto(DoublesMergeImpl.java:84)
at  org.apache.datasketches.quantiles.DoublesUnionImpl.updateLogic(DoublesUnionImpl.java:200)
at  org.apache.datasketches.quantiles.DoublesUnionImpl.update(DoublesUnionImpl.java:118)
at  org.apache.druid.query.aggregation.datasketches.quantiles.DoublesSketchMergeAggregator.updateUnion(DoublesSketchMergeAggregator.java:80)
at  org.apache.druid.query.aggregation.datasketches.quantiles.DoublesSketchMergeBufferAggregator.aggregate(DoublesSketchMergeBufferAggregator.java:66)
at  org.apache.druid.query.aggregation.AggregatorAdapters.aggregateBuffered(AggregatorAdapters.java:164)
at  org.apache.druid.query.groupby.epinephelinae.AbstractBufferHashGrouper.aggregate(AbstractBufferHashGrouper.java:161)
at  org.apache.druid.query.groupby.epinephelinae.SpillingGrouper.aggregate(SpillingGrouper.java:172)
at  org.apache.druid.query.groupby.epinephelinae.ConcurrentGrouper.aggregate(ConcurrentGrouper.java:269)
at  org.apache.druid.query.groupby.epinephelinae.Grouper.aggregate(Grouper.java:85)
at  org.apache.druid.query.groupby.epinephelinae.RowBasedGrouperHelper.lambda$createGrouperAccumulatorPair$2(RowBasedGrouperHelper.java:332)
at  org.apache.druid.java.util.common.guava.MappingAccumulator.accumulate(MappingAccumulator.java:40)
at  org.apache.druid.java.util.common.guava.BaseSequence.accumulate(BaseSequence.java:44)
at  org.apache.druid.java.util.common.guava.ConcatSequence.lambda$accumulate$0(ConcatSequence.java:41)
at  org.apache.druid.java.util.common.guava.MappingAccumulator.accumulate(MappingAccumulator.java:40)
at  org.apache.druid.java.util.common.guava.FilteringAccumulator.accumulate(FilteringAccumulator.java:41)
at  org.apache.druid.java.util.common.guava.MappingAccumulator.accumulate(MappingAccumulator.java:40)
at  org.apache.druid.java.util.common.guava.BaseSequence.accumulate(BaseSequence.java:44)
at  org.apache.druid.java.util.common.guava.MappedSequence.accumulate(MappedSequence.java:43)
at  org.apache.druid.java.util.common.guava.WrappingSequence$1.get(WrappingSequence.java:50)
at  org.apache.druid.java.util.common.guava.SequenceWrapper.wrap(SequenceWrapper.java:55)
at  org.apache.druid.java.util.common.guava.WrappingSequence.accumulate(WrappingSequence.java:45)
at  org.apache.druid.java.util.common.guava.FilteredSequence.accumulate(FilteredSequence.java:45)
at  org.apache.druid.java.util.common.guava.MappedSequence.accumulate(MappedSequence.java:43)
at  org.apache.druid.java.util.common.guava.ConcatSequence.accumulate(ConcatSequence.java:41)
at  org.apache.druid.java.util.common.guava.WrappingSequence$1.get(WrappingSequence.java:50)
at  org.apache.druid.java.util.common.guava.SequenceWrapper.wrap(SequenceWrapper.java:55)
at  org.apache.druid.java.util.common.guava.WrappingSequence.accumulate(WrappingSequence.java:45)
at  org.apache.druid.java.util.common.guava.WrappingSequence$1.get(WrappingSequence.java:50)
at  org.apache.druid.java.util.common.guava.SequenceWrapper.wrap(SequenceWrapper.java:55)
at  org.apache.druid.java.util.common.guava.WrappingSequence.accumulate(WrappingSequence.java:45)
at  org.apache.druid.java.util.common.guava.LazySequence.accumulate(LazySequence.java:40)
at  org.apache.druid.java.util.common.guava.WrappingSequence$1.get(WrappingSequence.java:50)
at  org.apache.druid.java.util.common.guava.SequenceWrapper.wrap(SequenceWrapper.java:55)
at  org.apache.druid.java.util.common.guava.WrappingSequence.accumulate(WrappingSequence.java:45)
at  org.apache.druid.java.util.common.guava.MappedSequence.accumulate(MappedSequence.java:43)
at  org.apache.druid.java.util.common.guava.WrappingSequence$1.get(WrappingSequence.java:50)
at  org.apache.druid.java.util.common.guava.SequenceWrapper.wrap(SequenceWrapper.java:55)
at  org.apache.druid.java.util.common.guava.WrappingSequence.accumulate(WrappingSequence.java:45)
at  org.apache.druid.java.util.common.guava.LazySequence.accumulate(LazySequence.java:40)
at  org.apache.druid.java.util.common.guava.WrappingSequence$1.get(WrappingSequence.java:50)
at  org.apache.druid.java.util.common.guava.SequenceWrapper.wrap(SequenceWrapper.java:55)
at  org.apache.druid.java.util.common.guava.WrappingSequence.accumulate(WrappingSequence.java:45)
at  org.apache.druid.query.spec.SpecificSegmentQueryRunner$1.accumulate(SpecificSegmentQueryRunner.java:87)
at  org.apache.druid.java.util.common.guava.WrappingSequence$1.get(WrappingSequence.java:50)
at  org.apache.druid.query.spec.SpecificSegmentQueryRunner.doNamed(SpecificSegmentQueryRunner.java:171)
at  org.apache.druid.query.spec.SpecificSegmentQueryRunner.access$100(SpecificSegmentQueryRunner.java:44)
at  org.apache.druid.query.spec.SpecificSegmentQueryRunner$2.wrap(SpecificSegmentQueryRunner.java:153)
at  org.apache.druid.java.util.common.guava.WrappingSequence.accumulate(WrappingSequence.java:45)
at  org.apache.druid.java.util.common.guava.WrappingSequence$1.get(WrappingSequence.java:50)
at  org.apache.druid.query.CPUTimeMetricQueryRunner$1.wrap(CPUTimeMetricQueryRunner.java:78)
at  org.apache.druid.java.util.common.guava.WrappingSequence.accumulate(WrappingSequence.java:45)
at  org.apache.druid.query.groupby.epinephelinae.GroupByMergingQueryRunnerV2$1$1$1.call(GroupByMergingQueryRunnerV2.java:247)
at  org.apache.druid.query.groupby.epinephelinae.GroupByMergingQueryRunnerV2$1$1$1.call(GroupByMergingQueryRunnerV2.java:234)
at  java.util.concurrent.FutureTask.run(FutureTask.java:266)
at  org.apache.druid.query.PrioritizedListenableFutureTask.run(PrioritizedExecutorService.java:247)
at  java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at  java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at  java.lang.Thread.run(Thread.java:748)

Any help would be greatly appreciated.

Hi @lsee9, thank you for the report. I would call this a bug of Druid because Druid should have returned a better error than NPE. To answer your questions, I think your assessment is correct about the lack of memory. Please see https://datasketches.apache.org/docs/Quantiles/OrigQuantilesSketch.html for the memory space required per k. I'm not sure why the query exploded in your case though because data seems pretty small. What was druid.processing.buffer.sizeBytes set to in your test? You could try either with a smaller k or a bigger buffer size.

Hi @jihoonson, thank you for your reply:)
I'll tell you what I tried.
My druid spec:
druid.processing.buffer.sizeBytes=1GiB
druid.processing.numMergeBuffers=10
druid.processing.numThreads=19 (20 core machine)
MaxDirectMemorySize=30g
heap size=32g

BUT, For k = 128, the problem still occurs.
Should I increase more??
And, I tried with a smaller k (k = 32, 64).
Then no error occurs.(I'm going to check a wider time range(more data)).
But the deviation of the values is too large. (e.g. quantile 0 ~ 2000 in some cases)
So I don't know if I can use this.
If you have any good ideas, please reply!

Hmm, were there lots of values per group-by key by any chance? What does this query return? (BTW, I copied the time filter from your comment, but is that correct? It is identical to __time = '2021-06-01')
SELECT COALESCE("mytable".country, '_') AS country, count(*)
FROM "mytable"
WHERE ("mytable".service_code = 'top')
AND __time >= '2021-06-01' AND __time <= '2021-06-01'
GROUP BY COALESCE("mytable".country, '_')

Yes!! the time filter is correct.
And NPE occurs when I do my query and turn off auto limit.
The result of running the query you said(ORDER BY count DESC):
{"country":"kr","EXPR$1":490}
{"country":"us","EXPR$1":221}
{"country":"jp","EXPR$1":173}
{"country":"ca","EXPR$1":165}
{"country":"au","EXPR$1":155}
{"country":"de","EXPR$1":147}
{"country":"vn","EXPR$1":138}
{"country":"sg","EXPR$1":130}
{"country":"th","EXPR$1":127}
{"country":"hk","EXPR$1":123}
{"country":"nz","EXPR$1":122}
{"country":"gb","EXPR$1":115}
{"country":"ph","EXPR$1":112}
{"country":"tw","EXPR$1":111}
{"country":"id","EXPR$1":108}
...
{"country":"re","EXPR$1":6}
{"country":"ye","EXPR$1":6}
{"country":"bm","EXPR$1":4}
{"country":"gy","EXPR$1":4}
{"country":"li","EXPR$1":4}
{"country":"mc","EXPR$1":4}
{"country":"tc","EXPR$1":4}
{"country":"kp","EXPR$1":3}
{"country":"ad","EXPR$1":2}
{"country":"so","EXPR$1":2}
{"country":"gw","EXPR$1":1}
{"country":"mq","EXPR$1":1}
{"country":"sy","EXPR$1":1}
total num country: 200

☝ The above comment is the druid table result.
This is the value after already rolling-up with quantilesDoublesSketch and becoming ingestion.
The number of rows in the original table is as follows.
query:
SELECT
  country,
  SUM("count") AS total_num_rows_original
FROM "mytable"
WHERE __time >= '2021-06-01' AND __time <= '2021-06-01' AND service_code = 'top'
GROUP BY 1
ORDER BY 2 DESC

query result:
{"country":"kr","total_num_rows_original":1082227280}
{"country":"us","total_num_rows_original":10978845}
{"country":"jp","total_num_rows_original":2896190}
{"country":"ca","total_num_rows_original":2767109}
{"country":"au","total_num_rows_original":1862148}
{"country":"vn","total_num_rows_original":1718031}
{"country":"nz","total_num_rows_original":575751}
{"country":"de","total_num_rows_original":556492}
{"country":"sg","total_num_rows_original":536305}
{"country":"id","total_num_rows_original":425479}
{"country":"hk","total_num_rows_original":373920}
{"country":"ph","total_num_rows_original":364786}
{"country":"","total_num_rows_original":361175}
{"country":"th","total_num_rows_original":360037}
{"country":"my","total_num_rows_original":333746}
{"country":"gb","total_num_rows_original":324027}
{"country":"mx","total_num_rows_original":240169}
{"country":"ae","total_num_rows_original":237182}
...
{"country":"ad","total_num_rows_original":3}
{"country":"gw","total_num_rows_original":3}
{"country":"so","total_num_rows_original":3}
{"country":"mq","total_num_rows_original":1}
{"country":"sy","total_num_rows_original":1}

If total aggregation is performed, the number of original rows is about 810 billion,
up to 20 times the value of N in table(https://datasketches.apache.org/docs/Quantiles/OrigQuantilesSketch.html)
But the number of bytes required is about 81 billion rows (2^36 ~ 2^37), increasing by 1 KB on a log scale.
Based on this calculation, 30KB to 32KB seems to be sufficient!!

I think I see what's going on :slightly_smiling_face:. Does your original query work if you add an extra filter of country <> 'kr'?

Yes, it does work if I add extra filter country <> 'kr' !
What do you think is the problem here?
Is it the big size of the original rows of table??

Yes, I think the problem is too many items per country. Druid uses a fixed-size buffer per row to keep the sketch (DoublesSketch). Since the buffer size is fixed but Druid doesn't know the number of items in advance, it estimates the buffer size to be large enough to hold one billion items in the sketch. So, when you have less items than one billion, the sketch can fit in the buffer and everything works well. The interesting part is when you have more items than one billion. In that case, Druid lets the sketch allocate extra heap memory to hold those items that don't fit in the buffer. However, DoublesSketch is not working as we expected and throws NPE when it tries to allocate more memory. This issue is filed in https://github.com/apache/datasketches-java/issues/358.
As a workaround, you could use other functions to compute approximate quantiles, such as DS_QUANTILES_SKETCH or APPROX_QUANTILE. Note that APPROX_QUANTILE uses the deprecated approximate histogram aggregator and its accuracy might be not great.

Yes, I understand!
Thanks for your help.
I'll try the other function you suggested 😄 .

Druid version 0.21.1 uses datasketches-java-1.3.0-incubating and datasketches-memory-1.2.0-incubating
Would it be possible to try reproducing this with the current code in master, which uses datasketches-java-2.0.0 and datasketches-memory-1.3.0?

Could someone point to the code that allocates this memory for BufferAggregator please?

if rebuilding Druid is an option, I would suggest increasing this constant:
https://github.com/apache/druid/blob/e9d964d504cb510226d58b2caa299cecfec99e15/extensions-core/datasketches/src/main/java/org/apache/druid/query/aggregation/datasketches/quantiles/DoublesSketchAggregatorFactory.java#L66
It will increase the size of pre-allocated buffers in BufferAggregator, but not drastically. Sketches grow very slowly at that point. I suggest this as a temporary measure until we figure out how to fix this and go through release cycles.

Hi @AlexanderSaydakov, thank you for taking a look. It does fail in the Druid master branch. You can easily reproduce it by running DoublesSketchAggregatorTest.buildingSketchesAtQueryTime() after setting DoublesSketchAggregatorFactory.MAX_STREAM_LENGTH to something very low, like 10.

Could someone point to the code that allocates this memory for BufferAggregator please?

Those buffers are allocated in DruidProcessingModule.

See comments in datasketches-java/issues#358.

Hi, @leerho, thank you for your reply.
As suggested at datasketches-java/issues#358,
If you can support a temporary hacked jar, I'd love to get it!
Please let me know if it is feasible:)

As Lee Rhodes said, it might take quite a while to fix the root cause and go through release cycles for datasketches-memory and datasketches-java. Therefore I would suggest using the workaround that I mentioned above, namely increasing the MAX_STREAM_LENGTH constant. It affects the size pre-allocated for each sketch in the BufferAggregator. The assumption was that due to data fragmentation across multiple dimensions with power-law distribution only a small number of sketches will reach that size and move to on-heap memory. Since this mechanism is broken now, let's set a much higher limit until it is fixed. And let's do it quickly before 0.22 branch is created. I can do a pull request if we agree on the value.
Here is the size of one slot in the BufferAggregator in bytes for the default sketch parameter K=128 for different values of MAX_STREAM_LENGTH:
1B (current): 24608
10B: 28704
100B: 31776
1T: 34848
I suggest setting to 1T.

@leerho @AlexanderSaydakov, do you have a rough schedule for the new release of datasketches-memory and datasketches-java? If it's going to take long, perhaps we could add a config that can temporarily live for a couple of Druid releases to control the size of MAX_STREAM_LENGTH. We could use the current size as default, but users could override it if needed to avoid this error.

This can take weeks if not months. datasketches-memory is being prepared for a major release, which is not quite ready yet, and datasketches-java depends on it, which means a sequential process with voting stage for each and so on.
I like your suggestion to make this parameter configurable. It might be useful even after we fix the root cause. So if you know how to do it quickly, please go ahead.

@AlexanderSaydakov thanks, sounds good. I will make a PR soon.

I created https://github.com/apache/druid/pull/11574.


Feature/add delivery date

This pull request introduces the delivery date feature to our application. It includes the necessary changes in app.py to handle the delivery date logic and updates to order.html for user input.
Key Changes:

Modified app.py to process and store delivery date information.
Updated order.html to include a field for users to specify their desired delivery date.

Purpose:
The addition of the delivery date feature aims to enhance user experience by allowing customers to specify a delivery date for their orders. This update aligns with our goal to provide more personalized services to our users.
Testing:

The functionality has been tested locally to ensure the correct handling of delivery dates.
Additional unit tests have been added to cover the new functionality.

Please review the changes and provide your feedback. If everything looks good, we can merge this feature into the main branch to roll it out in our next release.

All seen and approved.


Locked badges don't disappear after you acquire them

Finish a skillmap and see locked badges stay.
Screenshots

Also acquired badges should come first.

Closing as won't fix. This is likely my old badges messing up


Is it possible to have the edit effect display what is currently in the device?

I've saved a couple presets and changed their slots. When I saved the next edit, both presets got applied but the edit screen did not reflect the preset settings.

There is no way (no such command) to retrieve what's currently on the device. That only happens once on connection establishment where the amp sends all its current presets/settings. Therefore what I'm doing is to always mirror what you see on the app screen and what is on the device by sending every adjustment to make sure they stay in sync. I'm sure that's what the original app is doing as well.
It seems that you made them out of sync somehow. I don't exactly understand your steps to reproduce it. The only thing I could do is if I have a preset from the "Presets" page selected as the active one and change its channel(slot), neither the device changed its light color, nor the edit screen did. Is that what you encountered?


Dynamically communicating with the user

To be solved

When the user inputs a query on our website, the QA model should dynamically respond to it by returning an answer.

Done by deploying server on AWS


closes #437 - now display the form to edit an annotation category

All in the title

I forgot to update the tests for this pull request - please wait before merging


iptables: dynamic config from template

To avoid permissive iptables rules, the various configurations (esp. tor:base:enabled and bitcoind:ibd-clearnet) include or exclude certain rules when recreating the file iptables.rules from the template iptables.rules.template.
The build script and especially bbb-config.sh is extended to recreate and activate these rules by triggering the iptables-restore.service via systemd. This service no longer calls /sbin/iptables-restore directly but the script systemd-iptables-restore.sh that first flushes existing iptables rules.
Minor fix: also cleanup loop devices before mender-convert if trigger file is present (not just after).

Agreed. I tried this manually switching Tor / Clearnet IBD on/off repeatedly, but a real stress-test coming from the App / Middleware would be helpful once ready.


add card view to datatable

give an option to show a list of cards instead of a datatable.
Questions: Would editing still be possible? what functional differences would there be?

How would sorting work?


Question about Correspondence between Camera Pose and Target Image

Hi,
Thanks for your wonderful work!
During my exploration of the codebase, I noticed that the camera pose information is obtained from the meta_info/camera-16.pkl file, and it appears to be a fixed value for all objects. These poses are utilized in the construct_spatial_volume function. However, in the SyncDreamerTrainData module, the start_view_index is randomly selected, and the views are subsequently rearranged. This process determines the order of the target_images.
My question is: How does the rearranged order of target_images correspond to the respective poses? Given that the poses are fixed and the image order is randomized, I am curious to understand how the association between the rearranged target_images and the poses is maintained.
Thank you once again for your exceptional work, and I look forward to your reply on this matter.
Best regards

Hi, the viewpoints form a circle and are uniformly distributed on the circle so that you may start from a random index to construct camera poses, which correspond to different world coordinate systems.

Thank you for the clarification! I appreciate it.


WAD UI recorder is getting closed if I click outside the box

I want WAD UI recorder to always run and not to get closed even if I click outside the box.
Because of this I am not able to locate the elements which are under dropdown in desktop application.
How can I keep WAD UI recorder always run in background and not get closed?

@fforjan @timheuer @DHowett Can you please check this one?

omkar4289 Did you mean that WAD UI becomes hidden under your app?
Why you cannot just decrease size of your app or use second screen, or devide screen on 2 parts?

Hi @Shakevg,
WAD UI gets minimized when I click on dropdown in my application. I want WAD UI to remain opened.

This is strange behavior. Did it happen only after opening the dropdown, but working when you perform other actions?


Improve AXI Isolation

An isolated port could mean hanging the entire system. This commit
improves that by optionally terminating AXI transaction in case the
adapter is isolated.

FPGA build is running


"kernel/command-already-defined" error after upgrade

I am running LuaTeX, Version 1.0.4 (TeX Live 2017) on both OS X and FreeBSD.
After upgrading fontspec from:
Package: fontspec 2017/09/22 v2.6e Font selection for XeLaTeX and LuaLaTeX
Lua module: fontspec 2017/09/27 2.6e Font selection for XeLaTeX and LuaLaTeX

to
Package: fontspec 2017/11/05 v2.6f Font selection for XeLaTeX and LuaLaTeX
Lua module: fontspec 2017/11/05 2.6f Font selection for XeLaTeX and LuaLaTeX

I started experiencing this error:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! LaTeX error: "kernel/command-already-defined"
!
! Control sequence \latinencoding already defined.
!
! See the LaTeX3 documentation for further information.
!
! For immediate help type H <return>.
!...............................................

l.121 \tl_new:N \latinencoding

|'''''''''''''''''''''''''''''''''''''''''''''''
| This is a coding error.
|
| LaTeX has been asked to create a new control sequence '\latinencoding' but
| this name has already been used elsewhere.
|
| The current meaning is:
|   macro:->TU
|...............................................

This is with exact same (LuaLa)TeX file.
I do have full logs, before and after the upgrade, if necessary.
Is there any setting or option that should be changed to avoid the error?

It looks like this is a duplicate of #312. If true, sorry about the noise. Feel free to close this instance.

Sorry for the inconvenience. Yes, this has been fixed but I won't have the chance to upload a new version until later in the week...


Doesn't work

doesn't work after following the input schema as shown , some_option,getPrice() produces none.    get numpy128 errors using 'BT'

Thanks.
It's fixed in version 0.2.0.


Add listObjects, make sources table use it

This means that the list view and the detail view for sources is
driven by the same code. To make it happen, I had to:

Add type directly as a property. My hacks to transform
KindKustomization to Kustomization using a spread operator came back
to haunt me when this made the object be not-the-right-object. But we can
just add it on the object.
Make sourceRef actually return undefined when it's not set. We
actually use ?. intentionally here and I was breaking it.
Add UIDs - they're needed by #2649.

listObjects is really just copied from one of the many existing list
methods, and then changed to use the same type converter as
getObject.
This means that to add new kinds - e.g. for notifications - the only backend change we should need is to put them in core/server/primarykinds.go and listing, getting, and getting events should all work.

BTW, there is also an old branch named list-objects, is it relevant to this branch and is it still needed?

is the next step to apply this to automations as well?

Yes. It adds a little inventory-related wrinkle, and this PR is large enough as it is, but yeah.

there is also an old branch named list-objects, is it relevant to the current branch and is it still needed?

It was a hacky and untested prototype - it is not still needed, I'll remove it.

Rebased on top of multi-suspend/resume, have confirmed I didn't break it - merging.


Fix issue mod-kafka#10: Partition key is defined with the message to be ...

The partition key should not be part of the configuration, but a value
which may depend on the message to be sent.

Thanks for contributing

Hi,
quick question: can we implement the old behaviour as well, because we don't want to break the API.

I'm not sure to understand: If a partition key is not set when the message is sent, you want a default key is used, and the default partition key is configurable ?

Yes exactly, this would be great.


Fail to Build Docker Image

When I clone the repository and follow the instruction of installation to build docker image, (the corresponding code is docker build -t lanelet2 ., there are some error messages showing like this:

Errors << lanelet2_core:make /home/developer/workspace/logs/lanelet2_core/build.make.000.log
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
make[2]: *** [CMakeFiles/lanelet2_core.dir/src/LaneletMap.cpp.o] Error 4
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/lanelet2_core.dir/all] Error 2
make: *** [all] Error 2
cd /home/developer/workspace/build/lanelet2_core; catkin build --get-env lanelet2_core | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -
...............................................................................
Failed << lanelet2_core:make                     [ Exited with code 2 ]
..............................................................................................................
Profile:                     default
Extending:             [env] /opt/ros/melodic
Workspace:                   /home/developer/workspace
..............................................................................................................
Build Space:        [exists] /home/developer/workspace/build
Devel Space:        [exists] /home/developer/workspace/devel
Install Space:      [unused] /home/developer/workspace/install
Log Space:         [missing] /home/developer/workspace/logs
Source Space:       [exists] /home/developer/workspace/src
DESTDIR:            [unused] None
..............................................................................................................
Devel Space Layout:          linked
Install Space Layout:        None
..............................................................................................................
Additional CMake Args:       -DCMAKE_BUILD_TYPE=RelWithDebInfo
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
..............................................................................................................
Whitelisted Packages:        None
Blacklisted Packages:        None
..............................................................................................................
Workspace configuration appears valid.
NOTE: Forcing CMake to run for each package.
..............................................................................................................
[build] Found '11' packages in 0.0 seconds.
[build] Updating package table.
Starting >>> catkin_tools_prebuild
Finished <<< catkin_tools_prebuild                 [ 3.5 seconds ]
Starting >>> mrt_cmake_modules
Finished <<< mrt_cmake_modules                     [ 2.4 seconds ]
Starting >>> lanelet2_core
Failed <<< lanelet2_core                         [ 10 minutes and 28.5 seconds ]
Abandoned <<< lanelet2_io                           [ Unrelated job failed ]
Abandoned <<< lanelet2_maps                         [ Unrelated job failed ]
Abandoned <<< lanelet2_projection                   [ Unrelated job failed ]
Abandoned <<< lanelet2_traffic_rules                [ Unrelated job failed ]
Abandoned <<< lanelet2_routing                      [ Unrelated job failed ]
Abandoned <<< lanelet2_python                       [ Unrelated job failed ]
Abandoned <<< lanelet2_examples                     [ Unrelated job failed ]
Abandoned <<< lanelet2_validation                   [ Unrelated job failed ]
[build] Summary: 2 of 11 packages succeeded.
[build] Ignored: 1 packages were skipped or are blacklisted.
[build] Warnings: None.
[build] Abandoned: 8 packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 10 minutes and 34.7 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.
The command '/bin/sh -c /bin/bash -c "source /opt/ros/$ROS_DISTRO/setup.bash && catkin build --no-status"' returned a non-zero code: 1

I am wondering how to fix this bug. Any suggestions are appreciable!

This c++: internal compiler error: Killed (program cc1plus) indicates the kernel killed the compiler because he did something he shouldn't do. The most likely reason ist that he tried to allocate more memory than available.
You could try to change the last line in the dockerfile to RUN /bin/bash -c "source /opt/ros/$ROS_DISTRO/setup.bash && catkin build --no-status -j1. Compilation will take a lot longer but since there is only one compiler job running at a time, it is more likely that it will not run out of memory.

Thanks for your quick responding! I tried what you suggest several rounds, but the computer is just running for much more time without ending (around one and a half hour for one try). I am wondering whether the setup is not suitable for locally installing?
p.s.: There's just a small typo in your suggestion -- one " is missing after -j1.

Your problem sounds similar to #94. Which OS are you using? You could try to leave the "--no-status" out, to see where exactly it is stuck. The docker build should be functional, our CI is not releasing anything on the master branch without testing the docker image first. It must be something special about your system.
Since lanelet2 has been released for ROS, you could also just install the ros package in your docker container and be done (sudo apt install ros-melodic-lanelet2).


Regarding state access and update timeline

At runtime, the robot state is estimated and corrected continuously by the IMU and pointcloud callback pipeline, both running in parallel.
IMU pipeline
The IMU callback gets new IMU measurement, transforms the data using IMU->robot extrinsics and IMU intrinsics.
Then the linear acceleration and angular velocity are corrected using the last known biases: this->state.b.accel and this->state.b.gyro. The data is then pushed to the IMU data buffer.
Then, the robot state is updated by integrating the current measurement over dt (time difference since the last IMU measurement)
Lidar pipeline
The pointcloud callback gets a new lidar scan, transform the data using LIDAR-> robot extrinsics.
Then it uses measurements from the IMU data buffer to estimate the robot pose at the time of each point in the scan (starting from the last GICP-aligned state).
The estimated robot pose at the middle of the scan is used as initial guess for GICP alignment.
After GICP alignment, the robot estimated biases/velocity are corrected based on the error between the current state and GICP-aligned state.
Problems
Let's note t_k the start timestamp of scan k, Dt_k (e.g. 10ms) the total duration of the scan and l_k (e.g. 10~100ms, hopefully faster than lidar sensor frequency) the total latency of the lidar pipeline (including data transfer, processing, etc.).

The state accel/gyro biases, velocity and orientation are updated at the end of the Lidar pipeline. In other words, these values are updated at time t_k + Dt_k + l_k. However, these new bias values are meant to be applied from current scan time t_k. Since the IMU pipeline is running in parallel, all IMU measurements between t_k and t_k + Dt_k + l_k have already been integrated with the previous bias. Basically, the bias update is "lagging" by approximately 1~2 lidar scan. Obviously, such approximation is necessary if we want to publish a real-time estimate of the robot state, for example the one published by publishToROS. However I think this lag has to impact the data in the imu_buffer (used during the lidar pipeline IMU integration). For example, while the IMU pipeline would use lastest known biases to produce the current state estimate, all IMU measurements would be stored uncorrected in the imu_buffer and only corrected in the lidar pipeline during the IMU integration (using a buffer of the last few known biases).

I think there is a bigger problem with the way backpropagation is implemented, as updateState seems to mix 2 totally different states. On one hand, there is the GICP-optimized state from t_(k-1), which goes through the IMU integration to produce an estimated state at t_k, which is then corrected using GICP. On the other hand, there is the global this->state which is synchronized with IMU data. So by the time the lidar pipeline reaches the updateState function, the current state estimate is already ahead of time (approximately t_k + Dt_k + l_k). Then I find 2 problems with the updateState function:
2.1. it compares a pose estimate at time t_k with a pose estimate at time t_k + Dt_k + l_k to compute a correction.
2.2. the correction is applied on the current state, by doing as if the time difference between the two states was the lidar scan frequency (=Dt_k). Thus ignoring l_k may be actually big.
I think 2.1 can be the source of many problems. The geometric observer should rather compare poses with the same timestamp: the initial guess from IMU integration with the GICP-aligned state. Then the correction should be applied to the current state by using the time difference between the previous lidar scan t_(k-1) and the latest state stamp (=latest IMU measurement, approx. t_k + Dt_k + l_k). Indeed, the incorrected biases/velocity/orientation used from t_(k-1) to t_k have also been used after t_k. Note that if we do so, the problem 1 described above does not exist anymore.

As I get into the implementation details, I realize I missed an important detail regarding the current implementation: the current lidar pipeline does not use state but an hybrid state mixing lidarPose (which is last GICP aligned pose at t_(k-1)) and current state velocity as a starting point for IMU integration (let's ignore the fact velocity is not synchronized as explained above). So if updateState compares the estimated pose at t_k with the GICP-aligned pose at t_k,  then there is no link with state and it may slowly drift away. That is obviously not what we want.
But then, I'm wondering whether this mixed state (GICP pose + IMU integrated velocity) really makes any sense. Why not use preintegrated state directly? Of course, a snapshot at ~t_(k-1), not the latest one.
In other words, instead of keeping only the latest estimated state, all the states computed by the IMU pipeline would be stored in a queue. Then, when a new point cloud is received,  the queued state with the closest timestamp (< current scan stamp) would be used as start point of the IMU integration instead of lidarPose. The deskewing process should yield the exact same result, but the new initial estimate of the state at t_k would now really be the same "state" the IMU pipeline has been working on (it still should be close from the original lidarPose based guess)
Finally, back propagation (updateState) would be done by comparing the initial guess to the GICP aligned pose, and states further in the queue would then be corrected based on how much time has passed since t_k.
Note that are not necessarily that many states to update, since all the states up to t_k + Dt_k but one could be dropped (not necessary for the later scans)

It took me a while, but I think I have now a working implementation of this approach, including https://github.com/vectr-ucla/direct_lidar_inertial_odometry/issues/58.
With a pure discrete integration based implementation and without much tuning on the geometric observer parameters, I have measured significant improvement on the predicted pose accuracy compared to the current implementation. There are too many changes for me to make a PR, but if anyone is interested, here are the significant changes I have made to the code:

states and IMU measurements are now timestamped and stored in a queue (only the most recent are kept). All states are synchronized with IMU measurements (1 state for each measurment)
all updateState, propagateState and integrateImuInternal are replaced by a single integrateGeoDiscrete function. This function takes:

a state with timestamp t
an IMU measurement with timestamp t+dt
optionaly an estimated (from pure IMU integration) and true pose (from GICP alignment), both corresponding to time t': t < t' < t+dt

integrateGeoDiscrete returns the estimated state at time t+dt from discrete integration. If the optional estimated and true poses are provided, this integration includes all corrections factors described in https://github.com/vectr-ucla/direct_lidar_inertial_odometry/issues/58. The only difference I have with the original paper is I set angular acceleration to 0 for now, because my IMU data is way too noisy.
the IMU pipeline is still the same: when a new IMU measurement is received, it is pushed in the buffer queue, and I run integrateGeoDiscrete on the latest state to generate a real-time estimate of the current state.
the LIDAR pipeline works slightly differently:

deskewing works by first finding a prior_state in the state queue, for which prior_state.stamp < scan_stamp
then each point state is estimated using pure discrete integration , by first integrating all IMU measurements with stamp before the target point, then by running a "partial" discrete integration with the new IMU message (I have not implemented a continuous integration yet)
from the prior_state, I also calculate scan_state: the estimated robot state at scan stamp (still using a "partial" discrete integration of the next IMU measurement)
I align scan_state using GICP, the the GICP-aligned pose becomes my "true pose"
finally, I reset the state queue, by restarting from prior_state (the last state before scan stamp), then integrating a single IMU message with the estimated and true poses, then integrating all remaining IMU messages. Old IMU messages are then deleted

The reason I run a single integration with correction is because the estimated and true poses that have been computed correspond to time t', where t < t' < t+dt with t being the prior_state stamp and t+dt the IMU measurement stamp I want to integrate. According to theory, the geometric observer correction only make sense around t', so I find it is best to apply the correction only between t and t+dt. The K* parameters may be tuned to adjust correction weight.
As for the observer integration implementation, as I have explained I am only using a pure discrete implementation at the moment. Basically I consider that IMU measurement is constant from t to t+dt, and magically jumps to the next value at t+dt. Maybe a continuous integration would be more precise, but I am not sure if the system as a full analytical form.
Anyway, I think this approach is more robust than the original design. AFAIK, this implementation is also 100% deterministic.

Thanks for the extensive analysis and work @VRichardJP. A PR would certainly be appreciated if possible!


Specify null type as data type

There is currently a DB <-> Java mapping specification R2DBC Data Types Spec but it's missing the "null" type as in
SELECT null FROM xyz
Oh yeah, also just two notes:

different drivers have codecs that behave differently ->, for example, mariadb-r2dbc (but they did some work in 0.8.3-beta).
custom codecs are hard/impossible to add

Codecs are a concern of each driver implementation and R2DBC SPI doesn't want to get into that area. Bridging an existing driver (e.g. jasync, Google Spanner) does not work with codecs at all.
Besides that, R2DBC specifies an extensive list of supported types. If a database requires a null type (or a driver fails with retrieving such a value), then please file a bug report against the driver. If there's sufficient need for a null type, then we're happy to consider that case.

True, I totally agree on that one, its more that if we put it as a part of the specification(and the aim should be to have full SQL support) we get a step closer to that goal.
note: all drivers fail to retrieve a null value :)

Revisiting this one, NULL values translate directly to Java null while outbound NULL values need to be typed when sending a statement to a server. Including NULL into the list of data types would cater to databases that support untyped nulls while typed nulls do not fit this concept.
For now, we've specified how to set NULL values at https://r2dbc.io/spec/0.9.0.M1/spec/html/#statements.null
Specifying something should actually add value and we should understand what should behave in a certain way so that users of R2DBC can expect consistent behavior across drivers.

I don't remember having ever needed the java.sql.Types.NULL type from JDBC. What's it for, @riba2101? However, I do vividly remember having to specify a type with NULL bind values on PreparedStatement all the time, and/or cast the expression explicitly, such as CAST(? AS INTEGER) prior to binding NULL to it.

Hmmm tbh this should be split into multiple diff issues:

null mapping which was discussed here
date handling is handled differently in drivers, so you cant expect to change a database without code changes - this is my main concern
drivers should be forced to expose the codec configuration - this way we could simply write specific support for various DBs

to clarify:
null was acting funny - this way its described; would still be nice to do something like statement.bindNull(0)
the fact that the drivers deviate from the https://r2dbc.io/spec/0.9.0.M1/spec/html/#datatypes means that we need some type of control(ing)? im not sure if this is still valid!
https://github.com/r2dbc/r2dbc-spi/blob/main/r2dbc-spi/src/main/java/io/r2dbc/spi/R2dbcType.java and https://github.com/r2dbc/r2dbc-spi/blob/main/r2dbc-spi/src/main/java/io/r2dbc/spi/Type.java solve also a lot of other problems. so as far as im considered we can close this.


convert_model_to_tflite

I converted the model to tflite using the yolov5 repo. Then run on your repo and get the error: Invalid input tensor info (input_1:0).
We wish to be answered. Thanks very much!!!
link: https://github.com/ultralytics/yolov5/issues/251

You need to change tensor names.

This issue was closed because it has been inactive.


Add Awesome Kids

I'm trying to create a list of programming resources for kids that you can check here https://github.com/moacirosa/awesome-kids. There is a github page as well https://moacirosa.github.io/awesome-kids

Please read the instructions for creating a new list, contributing guidelines and the awesome manifest.
Especially this part:

Wait at least a couple of weeks after creating a list before submitting to give it a chance to mature.

Ping me here in a few weeks and I'll reopen ;)

Good idea, but needs more content.

It makes totally sense wait and improve it before include it. Thanks for feedback!


PowerToys v0.20.0 removes previous version + fails to install

ℹ Computer information

Windows build number: 19041.388
PowerToys version: 0.20.0
PowerToy module: n/a

📝 Provide detailed reproduction steps (if any)
Auto update:

PowerToys v0.19.2 notified me on an update, I clicked "install on next launch".
After my next boot a UAC prompt appeared for PowerToys which I accepted.
A "PowerToys Installation - Installing dotnet... (50%)" notification appeared near the notification area.
I clicked the right arrow to send it to the Action Center.
Nothing else happened.

Manual:

Download PowerToys v0.20.0 from GitHub.
Kill any "PowerToys Bootstrapper" process visible in Task Manager. (or reboot first)
Run the exe.
A "PowerToys Installation - Installing dotnet... (50%)" notification appeares near the notification area.
Click the right arrow to send it to the Action Center.
Nothing else happens.

✔ Expected result
Install PowerToys v0.20.0.
❌ Actual result
PowerToys v0.19.2 was uninstalled, and the update never installed. Later attempts to install PowerToys v0.20.0 downloaded manually from GitHub do not install anything but do leave a "PowerToys Bootstrapper" process visible in Task Manager.
I was able to manually install PowerToys v0.19.2 again and snooze updates for 5 days.
Btw "Installing dotnet..." seems like an odd action on a machine with VS2017, VS2019, VSCode and every current version of .Net already installed.
📷 Screenshots

Similar to #5397

@irongut
thank you for reporting the issue.
Closing as duplicate of https://github.com/microsoft/PowerToys/issues/5397


[fix][schema]ledger handle leak when update schema

Motivation
in the schema update, will create a ledgerHandle and write data to BK, after that ledgerHandle is no longer useful and no other object holds references to it. ledgerHandle will be recycled with GC, but ledgerHandle also hold external connections, which will cause leakage.
https://github.com/apache/pulsar/blob/40b9d7ea50cef54becb09f2543193e08375abe0b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/schema/BookkeeperSchemaStorage.java#L452-L456
Modifications
after the schema is updated, close the ledgerHandle, just like schema-read:
https://github.com/apache/pulsar/blob/40b9d7ea50cef54becb09f2543193e08375abe0b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/schema/BookkeeperSchemaStorage.java#L519-L525
Documentation

[ ] doc-required

[x] doc-not-needed

[ ] doc

[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

https://github.com/poorbarcode/pulsar/pull/6

/pulsarbot run-failure-checks


Not firing "close" event, so no close animation

I've been working on a pretty simple implementation of Vex and everything's going fine, except that for some reason it appears to be not firing the "close" event, so the "vex-closing" class isn't added, and consequently the "closing" animation isn't triggered: The modal just disappears. My code is the following:
        var modalAppend = $('.m_hero');
        var searchActivate = $('button.search-activate');
        searchActivate.click(function() {
            var searchModal = vex.dialog.prompt({
                message: false,
                placeholder: "Enter Keyword",
                className: 'm_modal__search m_modal',
                appendLocation: modalAppend,
                callback: function(value) {
                    if(value!==false){
                        location.href = "/?s=" + encodeURI(value);
                    }
                }
            });
        });

All close methods (clicking modal, clicking cancel, clicking the close button) close the modal, but the close animation never triggers. I'm using custom CSS, but I don't believe that's the problem, since I've watched the inspector while close, and the "vex-closing" class never appears.
The problem appears in up-to-date versions of both Chrome and Safari. I don't have much other Javascript running on this page, but I've tried disabling it and it didn't have any effect, so I don't think it's about script conflicting with it. Setting up different vex instances outside of that click event behave the same way, so I don't think it's the configuration of this particular item.
Thanks for any help, and let me know if you need anything else!

The problem has been fixed with this issue:
https://github.com/HubSpot/vex/issues/142
It was published on npm but not on bower it seems... Did you get the package from Bower? I did and I got the same error.
The error was on line 140 in vex.js:
https://github.com/HubSpot/vex/blob/master/js/vex.js#L140
It was referring to $vex instead of $vexContent.

npm version is at 2.3.4, which is the latest.
Bower offer only up to 2.3.3.

@belisarius
2.3.4 tag has been created, it's now available from Bower.
I thinks it fixes your problem. Let us know.

Yes, that did the trick! Thanks a bunch for your help.


Change Folder Dynamically

How can i change the folder destination dynamically of the images being uploaded?

This can be done by providing a function for params.folder. Please check the docs.


Refresh Mastodon logo.

Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/main/CONTRIBUTING.md.
[ ] I am not the sole author or employee of a company who created the topic or collection I'm changing.

I do occasional freelance work for Mastodon gGmbH; I am not the creator of the image that is being contributed, but it is free to use for this purpose.
Which change are you proposing?

[x] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[x] Image (and my file is *.png, square, dimensions 288x288, size <= 75 kB)
[ ] Content (and my changes are in index.md)

The Mastodon "branding" was updated to use a purple logo in June 2022 to move away from the blues used by other social apps at the time, per https://blog.joinmastodon.org/2022/06/mastodon-branding-updates/

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Appreciated.


Correction for raw affiliation ICAR laboratory (UMR 5191), École Normale Supérieure de Lyon, France

Correction needed for raw affiliation ICAR laboratory (UMR 5191), École Normale Supérieure de Lyon, France
raw_affiliation_name: ICAR laboratory (UMR 5191), École Normale Supérieure de Lyon, France
new_rors: 04zmssz18;04mn0nr69
previous_rors: 04zmssz18
works_examples: W4402191263
contact: a00aa4bec065e9686d490e89885f11e0:e858b09597d9d82053c71cc4b520 @ ens-lyon.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


mkctr: fix local target, support daemon-less runtimes

The canRunLocal logic seemed to be inverted. It now only builds the image that the local machine would want to run.
Also allows writing the resulting image for container runtimes that may not have a docker daemon API available when targeting local.
To use, run e.g. REPO=k8s-operator PLATFORM=local make publishdevoperator from tailscale/tailscale's Makefile.
Updates #18

btw the daemon-less support was inspired by the way kind supports the same set of CLIs: https://github.com/kubernetes-sigs/kind/tree/main/pkg/cluster/internal/providers