#published paper

Can u provide me a link for published paper of this project?

Can u provide me a link for published paper of this project?

Bro Did you get the report or not.
if you finish or get the report please send me
email<EMAIL_ADDRESS>


Multiparty chatroom for only text chat

Can you guys guide me on how to achieve group chat via multiparty chatroom but without video calling as i look into easyApp
   easyrtc.easyApp("easyrtc.multiparty", "box0", ["box1", "box2", "box3"], loginSuccess);
it recieves my video id with recipient ids. and what if the group consist of more than 3 members lets say 50 do i need to manually set those paramters.

See demos https://github.com/priologic/easyrtc/blob/master/demos/js/demo_instant_messaging.js


translate README.md into Chinese

I've translated README.md into Chinese.It is about 157 words in the English,so I think the budget should be $32

Looks good! But I can't read Chinese. The translation needs to be peer reviewed by other native speakers. @sportshark translated the FAQ, maybe he or other Chinese speakers could review.

I can help review it

Can anybody review this? https://github.com/rchain/reference/pull/40


Cannot update avatar

I tried to run example code
After creating an avatar from webview, button "Update Avatar" showing, but when I click into this button, it take me to a create avatar.
Seem this is wrong behavior, it should bring me to update avatar page, not create page.
Do I need to do anything to make that work? Thank you

New version fixed. Close issue


Release 2.1.0

added button to enable toggling A3 content on demand
refactoring to cache song jacket lookup, making toggling ~80-90% faster (yay, slapdash performance.now() benchmarking)

Hm... smoke test LGTM, but it's weird to keep the Insufficient Data row hidden when A3 content is displayed. Fixing that.

Smoke test LGTM, including the insufficient data row 👍


Add factory reset to NEO project

The Spark MAX's exhibited weird behavior (not inverting at all, regardless of true or false) along with odd follower behavior before calling factory reset on them.

This is also important because without doing it the getPosition() and getVelocity() calls will return values that are not in RPS if other code has called set*ConversionFactor() in the past.


How to go back to home using while loop

Hi 👋
I am executing Memlab on a website locally, where the home logo's click reloads the page and goes to home URL. But since Memlab does not support reload, I figured the only way I can go back to home (the initial URL), is to page.goBack while URL !== [home URL]:

but it runs into this error:

I also tried this way

but same result :/
Would apprictae any guidance/help in this regard.
Cheers! ✌

Just to show the initial URL is the same as used in conditional expression:

btw I logged the URL and it seems it does reach the specified URL.. then not sure why it ends up reloading 🤔

There are several different errors in on your console screenshots.

The ReferenceError: addRow is not defined seems to be a bug in either Puppeteer or Chromium.
When MemLab reports Error: the page is reloaded, it means MemLab found that the JavaScript heap has been cleared and reinitialized. So it means the web page under test reloads when page.goBack() is called.

To find memory leaks in MemLab, we often recommend the following test step sequence as a good practice:
A (url) -> B (action) -> A (back)

But when this is hard to achieve (like testing your web page), you don't really have to go back to the initial state. The MemLab back callback just need to make the web page reach a state where the following conditions are satisfied:

The memory allocated in action are expected to be released.
The JS heap is not reset (by a page reload)
Depending on the logic of the app under test,back could be navigating to a different page or triggering a different interaction, for Example, something like:

A (url) -> B (action) -> C (back)

I see.. thanks for the prompt response!
btw I was wondering if it could also be due to this issue:
https://github.com/puppeteer/puppeteer/issues/257

Looks like a different issue since Puppeteer doesn't get stuck based on your description.


Better Static Allocation

What changed
#43

Visual quality improved
Speed up by parallelizing by joblib
Add verbosity

current state

Codecov Report
Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (5046601) 98.05% compared to head (001025d) 93.29%.
Report is 2 commits behind head on dev.

Files
Patch %
Lines

...trategies/MagneticAllocation/MagneticAllocation.py
70.37%
8 Missing :warning:

...AllocationCalculator/StaticAllocationCalculator.py
66.66%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #50      +/-   ##
==========================================
- Coverage   98.05%   93.29%   -4.77%
==========================================
  Files          24       24
  Lines         462      477      +15
==========================================
- Hits          453      445       -8
- Misses          9       32      +23

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Current result

Review please

MagneticAllocation become x720 faster (12m -> 3s)

current dev merged.
Revirew please

@SuperHotDogCat

All handled review again please


Web App is not authenticating to Web API

Something happened with the credentials and settings.  We can no longer view web pages that interact with the API

App configuration was invalid after the rebuild


increase modal size to 600x600

Description
The Google Sheets plugin UI is very small which makes it hard to read longer field names. Suggest increasing the modal size to 600x600 pixels.
Old:

New:

Yeah I think making this resizable like @triozer mentioned is the right move here

Supersetted by https://github.com/framer/plugins/pull/140. Thanks @marco-framer! :)


Refactor CPI

I suggest a refactoring of the CPI functionality. It is inspired by the current implementation of permutation importance in scikit-learn.
It aims at:

Sperate the model fit / predict / selection from the variable importance part (inspection)
Allow to use multiple variable importance method for a same fitted model (facilitates benchmarking)
Expose the fitting of covariate estimation. This should make clearer which features are used for the measure of importance and which data split are used to fit / predict the covariate estimator.
Leave the parallelization out of the VIM method (I think it should be done at the cross-fitting level)

I also updated the example using the diabetes dataset.
Linked to issues #12 and #13

I tried to address the different comments:

Improve the docstrings
Add tests
Rename and improve the example (adding a consistent implementation of LOCO and Permutation Importance to also evidence how the proposed implementation saves time by allowing to reuse the main predictor for various importance methods)

The coverage decrease is related to #18, we are no longer testing Dnn and ModifiedRF which were part of the previous integrated in the previous BBI. Not sure if I should address it in this PR or a subsequent one
Otherwise, this PR is ready for review @bthirion

@achamma723 your opinion is welcome.

I tried to address all your comments @bthirion
For me it is ready to merge.

Hello @jpaillard and @bthirion, I highlighted minor comments when passing, overall I think it is a great stable step for the future benchmarks. As for the cpi, now it is limited to the idea of reconstructing the variable or group of interest by the mean of the residuals, thus maybe the idea of the sampling (that existed via the Modified RF) is also interesting to push in the next steps?

Thx for the comments @achamma723. I made the modifications you suggested. Indeed it could be worth adding the sampling from nodes of the RF. Maybe we could tackle this in a following PR ?

Ready to merge on my side @bthirion

I added the additional tests and docstring @bthirion


The generated action is reversed

I generated a Text-to-Motion based on readme and the following situation occurred.

I want to know what caused it.

Can you try and uncomment those lines:
https://github.com/GuyTevet/MotionCLIP/blob/0b32d39ef3b237c0f0dd02cd779c83829dc80527/src/visualize/anim.py#L104C1-L107C40

Thanks for your help

You're welcome:)


[Feature Request] Argument filter

Hi,
Could you add a argument filter to commands ? Like ~ir hentai. Even with hentai in filtered word command is still executed :/
(btw : best bot ever thk !)

This is fixed in 1.0, it will be available for download soon:tm:

Ok thank ^:)


Request: db_subnet_group data source

I need to be able to get the subnet IDs of an existing data source. Would be great to have a db_subnet_group datasource.

Oops, wrong repository 🤦♂


Allow color to be undefined

Currently the library always set color: color: {cx.props.color.to_css_color()}
Please consider making color an optional property. This allows the color to be inherited from the parent node.

Does this solve your issue?
When merged, you can write:
MaterialIcon { name: "home" }

The icon will then have the css property: color: inherit

The PR looks perfect, thank you!


Payment cancelation

We setup all the pages in the vendr payment method for succes and error but when we make a payment and cancel/abort it during the payment process we always get redirected to the contiue page. Where i was expecting to be redirected to cancel or error url.
Have i missed something in the setup?

Did you configure the webhook notification accordion to the documentation here?
https://vendr.net/docs/payment-providers/adyen/2.0.0/adyen-checkout/getting-started/configuring-adyen/
Furthermore regarding cancel from payment window should redirect


[Enhancement]: Make ADBBridge cross-platform

Describe the new feature or enhancement
Low priority as it can be worked around somewhat easily, but would still be nice
Major part would be figuring out how to start an ADB server

ADB Bridge support is being removed next release, closing


Old parameter name in the CommandLineRunner

In the previous version of the guide, there was a QuoteClient, and the name of the parameter hasn't been changed.
Using quoteClient for a CountryClient may be confusing.
https://github.com/spring-guides/gs-consuming-web-service/blob/72c321cce6672c8956a43cf90136f720d0a3cb2b/complete/src/main/java/com/example/consumingwebservice/ConsumingWebServiceApplication.java#L18-L29

This is a good first issue for someone who would like to get started with contributing to Spring. To do it, change quoteClient to countryClient.


Java Error

No matter if I choose YES or NO... The result is the same... Can someone look at this please???

Looks like you are running out of memory with java. Open the script and look for "java -Xmx512m" and try to replace it to "java -Xmx1024m"
Hope it helps.

didnt help


fix: Wrong effective ID in unpublish notifications

As per title

coverage: 94.22% (-0.03%) from 94.245%
when pulling<PHONE_NUMBER>4c68822851412cb66a0e0f1e44c47e on fix-team-unpublish-notification
into b840054438e0a5b8c4be80ec5042d80e26cfc2d3 on master.


Reference app.js and app.css in layout

Modify backoffice.html.eex to reference app.css and app.js instead of inlining them in the html
Update README to provide instructions

For issue #49

There's quite a few functions that you can delete at lib/backoffice/layout_view.ex

Oh wow. I hadn't seen these. I'll get rid of them.


Pick "Bug Fix problem that followers may never completely coold…

…own (#28561)"
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Resolve merge conflicts from #245

In #245 several commits were reverted. I hope this PR cherry-picks them all (I skipped the reverted ones).
@MarcMazas @zosrothko please check

@zosrothko can you please merge this?


[WIP] Separate vis-specific controls from centralized controls

CATEGORY

[x] Enhancement (new features, refinement)

SUMMARY
This PR extends upon @kristw 's proof of concept that allows each visualization to define its own controls, instead of storing all controls in the centralized controls.jsx file. Shared controls defined in controls.jsx are still supported. Moving forward, we would want to create a registry for controls that are defined at the visualization level. This would allow us to move towards a modularized world where new charts can be installed and maintained as plugins, reducing bloat in our codebase.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN
Verified that the rose chart modified in this PR is working correctly*
*when the vizType bug described below does not interfere with functionality
ADDITIONAL INFORMATION

[x] Has associated issue:
This PR uncovered an issue with the vizType form data property not being updated when you switch from one visualization to another (ex. Line to Rose, Rose to Pie, etc.). This has likely gone unnoticed because chart controls used to rely on the controls.jsx index -- not vizType. This new PR requires the correct vizType to be passed in so the correct control panel config can be identified and looked up against.

The UI implications of this bug are shown in the GIF below. Note that desired behavior is for Use Area Proportions checkbox control to trigger an automatic re-render.

REVIEWERS
@kristw @williaster

Please do not merge this PR until the vizType updating issue has been fully looked into and resolved.

Codecov Report

Merging #7569 into master will decrease coverage by 0.03%.
The diff coverage is 87.09%.

@@            Coverage Diff             @@
##           master    #7569      +/-   ##
==========================================
- Coverage   65.17%   65.14%   -0.04%
==========================================
  Files         433      433
  Lines       21428    21451      +23
  Branches     2360     2375      +15
==========================================
+ Hits        13966    13974       +8
- Misses       7342     7356      +14
- Partials      120      121       +1

Impacted Files
Coverage Δ

superset/assets/src/explore/controls.jsx
42.85% <ø> (ø)
:arrow_up:

superset/assets/src/explore/store.js
92.3% <100%> (-1.45%)
:arrow_down:

.../src/explore/components/ControlPanelsContainer.jsx
68.35% <82.85%> (-11.65%)
:arrow_down:

superset/assets/src/explore/controlUtils.js
94.8% <90.47%> (-2.21%)
:arrow_down:

Continue to review full report at Codecov.

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

Codecov Report

Merging #7569 into master will decrease coverage by 0.03%.
The diff coverage is 87.09%.

@@            Coverage Diff             @@
##           master    #7569      +/-   ##
==========================================
- Coverage   65.17%   65.14%   -0.04%
==========================================
  Files         433      433
  Lines       21428    21451      +23
  Branches     2360     2375      +15
==========================================
+ Hits        13966    13974       +8
- Misses       7342     7356      +14
- Partials      120      121       +1

Impacted Files
Coverage Δ

superset/assets/src/explore/controls.jsx
42.85% <ø> (ø)
:arrow_up:

superset/assets/src/explore/store.js
92.3% <100%> (-1.45%)
:arrow_down:

.../src/explore/components/ControlPanelsContainer.jsx
68.35% <82.85%> (-11.65%)
:arrow_down:

superset/assets/src/explore/controlUtils.js
94.8% <90.47%> (-2.21%)
:arrow_down:

Continue to review full report at Codecov.

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

What is the state of this PR? What's missing to push forward and merge?

@mistercrunch There are some issues with initial states that are not propagated properly.

@kristw Fixed the vizType state issue in SHA 3c641e8. The renderTrigger property now works as intended for controls defined at the visualization level.


Rows with formulas below the list

Is your feature request related to a problem? Please describe.
There are situations where you need to display a footer with some result under the list. For example, for the price column it could be the sum, for the finished product it could be the total amount, etc.
How can this be done in the current View of List type?
Thank you.

The tabulator module has a calculation option. For each column you can state how the summary should be calculated this is then displayed below all the rows


Switch to ntkutils

If you want

Wait, can we host our own superset of tools? Could be easier in case we are making other apps too, right?

And that's why Pushbullet and a Discord webhook is powerful :wink:

If you want

I already did switch to ntkutils

Which repo? Timex or FPC?

You told about FPC lol... Let's switch to ntkutils.

Ah damn wrong repo sorry

Im happy to see my module getting more attention 😊

I am thinking of making some 80's video games with python, interested to host another module symbolizing the good old times?

Easing it out is best than getting a lot of import lines.

You want to make a module for games?

You want to make a module for games?

Yeah!

May i offer myself to set you up a python module repo? Just create one and give me collab acces!

Fine, I'll try this weekend. I just got COVID vax at school. Literally no joke, they put the needle on my left hand, so I need a two-day break and I'll be back on a nice and great Saturday.
Anyone else got that green tick for COVID vaccinations?

But I'll try learning how to make a module for this frm YT when free ;)

Fine, I'll try this weekend. I just got COVID vax at school. Literally no joke, they put the needle on my left hand, so I need a two-day break and I'll be back on a nice and great Saturday. Anyone else got that green tick for COVID vaccinations?

I took Covid vax  fews months ago, a bit hurt in the hand

Ah almost same. They injected in my left hand and now I am really careful with it, like not letting my sibling touch my hand.

May i offer myself to set you up a python module repo? Just create one and give me collab acces!

Y'know, I just realised. To publish to PyPI, I need to use twine which takes my username, so I'll have to remove access to env secrets. I mean that's danger levels, code red if my password is out. So I'll try this myself because I think I found something that can help me. But if I ever need any help, I'll ping you there.

Twine wont, but GitHub repo secrets will, right? Oh wait, I have an even better idea. But the thing is that Twine should not show my passcode as output. If it does, I'll echo all the output to the void of Linux, /dev/null.

/shrug

Tis ain't discord, lad

some guy on the internet

lol

Btw you quote like this

"Theres two infinite things on earth: The universe and the human stupidity" - Albert Einstein

Oh...  Those quote images are placed like that.

And I made that quote.


How to add custom sorting?

Hello,
I want to sort string columns in my table. But bootgrid gets results case sensitive.
For example: ['Nick', 'Amanda', 'Zoe', 'fiona'], after default sorting: ['Amanda', 'Nick',  'Zoe', 'fiona'], but I need: ['Amanda', 'fiona', 'Nick',  'Zoe']. How I can do it in bootgrid?

I recommend sanitizing the casing of your data... I was able to work around this by changing my queries to search case-insensitive and sorting case-insensitive.


simplify lexer

Codecov Report

Merging #143 (4cd1660) into main (d807577) will increase coverage by 1.28%.
The diff coverage is 99.46%.

@@            Coverage Diff             @@
##             main     #143      +/-   ##
==========================================
+ Coverage   92.19%   93.47%   +1.28%
==========================================
  Files          18       18
  Lines        5126     5092      -34
==========================================
+ Hits         4726     4760      +34
+ Misses        349      284      -65
+ Partials       51       48       -3

Impacted Files
Coverage Δ

engine/parser.go
94.71% <66.66%> (ø)

engine/lexer.go
100.00% <100.00%> (+12.12%)
:arrow_up:

Continue to review full report at Codecov.

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


Spelling fix

Description
Correct spellings

"Demonstrate"
"message"

Screenshots

Additional information
No response

Well spotted!


The option to use database dumps instead of crates.io API is not apparent

2 seconds per crate is really long if there are a lot of crates. https://crates.io/data-access
For information through the index, it would be nice to use the index before downloading the dump.

It turns out that you can do this by opting in with cargo supply-chain update. That is mentioned in the help text for commands that download data:
```The crates.io cache was not found or it is invalid.
Run cargo supply-chain update to generate it.
Fetching publisher info from crates.io
This will take roughly 2 seconds per crate due to API rate limits

However, it doesn't make it clear that it goes through a different mechanism than the API - I assumed it would try to make an API call for each crate on crates.io and chose not to run it.

I trust you that the usability issue is real, but I don't see how I can improve on this. This is currently documented in both the help text (see --help), and running the commands themselves also shows a message about it.
Any suggestions?

Well I feel silly now that you said that ... I don't know that there's much to change here, I think I should probably just read --help more carefully.

It is a well-known fact in UX design that people click through any prompts and warnings, especially on Windows, so the interfaces have evolved to avoid the need for warnings - e.g. providing an option to undo an action instead of asking for confirmation.
The fact that you didn't read --help is valuable real-world data, and indicates that at least some other people will do that. I just need to figure out how to make a UI that communicates better than the current one.

 Maybe it could default to refusing to do anything unless specifically advised to query the data from the API by an extra command line option.

To add to this discussion, I think adding a separate, prominent section in the README will definitely help. It could potentially be titled "Offline Access" or "Speeding up Data Access"?


Attempt at loading ORMPurger fails

After installing the bundle according to the documentation, and then attempting to load fixtures, I get the following error:
[Symfony\Component\Debug\Exception\ClassNotFoundException]
  Attempted to load class "OrmPurger" from namespace "Fidry\AliceDataFixtures\Bridg
  e\Doctrine\Purger".
  Did you forget a "use" statement for another namespace?

I suspect the error being related to this discussion. Am I correct in creating this issue?

Could you show which versions you're using?

I utilized the installation instructions:
composer require --dev hautelook/alice-bundle:^2.0@beta \
  nelmio/alice:^3.0@beta \
  theofidry/alice-data-fixtures:^1.0@beta \
  doctrine/data-fixtures

which got me:

hautelook/alice-bundle: v2.0.0-beta.3
theofidry/alice-data-fixtures: v1.0.0-beta.5
nelmio/alice: v3.0.0-RC.1

I think you just need to update hautelook/alice-bundle to v2.0.0-beta.4 then :)

Thanks a lot, that did the trick! Also, running the installation command from scratch now appears to install beta.4. Did you perhaps make some change on Packagist in the mean time?

Hm no that version has been published almost 10 days ago now, but glad that you sorted that out :)

I was thinking you perhaps removed beta.5 as it does not appear to be listed as the most recent package on Packagist now. In any case - thanks a lot for your help!


HSEARCH-2384 Make the Elasticsearch version used for integration tests a build parameter

This PR is based on HSEARCH-2437, so we need to merge #1206 first. => Merged
Relevant JIRA ticket: https://hibernate.atlassian.net/browse/HSEARCH-2384
Not sure about this one...
Actually, there already was a parameter to test against another Elasticsearch version (kinda): we only need to pass -DtestElasticsearchVersion=<myVersion>.
Now, I polished it a bit, notably by including the parameter in the generated doc, but there's not much to do as long as we stay on ES 2.x.
On ES 5.x though, things get a bit tricky.
First thing: we have to use maven profiles, because the plugin configuration itself will change. Most notably, some dependencies are not available in ES 5 (the DeleteQuery plugin), and the elasticsearch-maven-plugin will be in a different version. Also, we need additional dependencies because ES 5 uses log4j2.
But the worst is, there's no support from elasticsearch-maven-plugin for ES 5 yet. So I had to work it around, forking the plugin and building it if needed in the .travis.yml. From Jenkins, we can't even build yet, and locally we have to first build the elasticsearch-maven-plugin from my fork and install it in the local Maven repository.
We could keep it that way, temporarily, though I have my doubts about licensing (since we're building a modified version of one of our compile-time dependencies, there may be some legal requirements on our side). Or we can wait and see what happens to my PR (https://github.com/alexcojocaru/elasticsearch-maven-plugin/pull/19). But if it doesn't move, we'll have to do something (either maintain a fork, or setup our build environments differently).
Update: I got additional pieces of information, and it seems the future isn't very bright for elasticsearch-maven-plugin, mainly because the Elasticsearch team doesn't support embedded mode and will not publish plugins/modules JARs anymore. So the way to go is probably this: http://david.pilato.fr/blog/2016/10/18/elasticsearch-real-integration-tests-updated-for-ga/

Changed the status to "On ice" waiting for a global decision on the Es 5 support.

Now, I polished it a bit, notably by including the parameter in the generated doc, but there's not much to do as long as we stay on ES 2.x.

I'd be happy to apply this then, ES5 is out of scope for the specific issue. We also need this to be able to document that (if?) it works fine with ES 2.3, 1.5, ... and possibly setup CI jobs.

@gsmet @Sanne I refactored the PR to remove any ES 5.0-related stuff, and to support ES 2.0/2.1 (which happen to require a different configuration). Ready for review!
(FYI, the ES 5.0 stuff has been moved to my ES 5.0 branch: https://github.com/yrodiere/hibernate-search/compare/HSEARCH-2384...yrodiere:HSEARCH-2434)

cool, thanks! Reviewing..

don't we need the groovy plugin on ES 2.1 ?

It doesn't exist below version 2.2 :/ Maybe with different coordinates, I'll have a look.

Okay, it's org.elasticsearch:elasticsearch-groovy. I'll try that and force-push.

Stupid question but do we really want to spend time supporting such older versions?
 It would make us support 2.3, 2.4 (and hopefully 5) but wouldn't care about older releases of Es.

indeed, I wouldn't spend too much time supporting older versions.
If it doesn't work, fine. The PR is still valid as it does start the tests using the older version ;)
But I wondered, as the README seemed to suggest that 2.1 is supposed to work.

Yeah, I think we should get rid of that and support:

the last version supported by AWS (provided it's not too old)
the last 2.x version
eventually 5.x

And that's all. I don't think it has any value to support Elasticsearch versions which are probably not supported anymore.

@gsmet @Sanne Fixed. Or at least the server now starts with groovy support even for 2.0/2.1. May we at least keep the settings, even if we advertise we don't support it in the documentation? Please? :/

yes, happy to keep it for now. Thanks!

merged


Jquery mousedown/touchstart can't be triggered if item amount is not enough for dragging.

I'm facing a weird bug. If the item amount(or width ) is not enough for dragging, then mousedown/touchstart event won't be triggered. But, mousemove/touchmove and mouseup/touchend work fine. I'm using the option autoWidth:true and dymalically calculate the width to fill the container with 5 pieces of items. If the item amount less than 5, the item can't be dragged and then the bug happens.
My temporarily way to solve this is give the container one more invisible item and then everything works fine.

I'm having an exact issue (this is responsive/mobile related issue). How did you solve it (aside this nasty hack which I cannot use because sometimes I have only 1 item)?

If item amount is not enough, just append some invisible items before create lightslider object. I havn't found any other solution yet.


Build (after clean) stuck at Fetching repository @@local_jdk & @@rules_java~~toolchains

Expected Behavior
./tests.bash after b clean should always just work.
Actual Behavior
After I did a clean due to #626, it currently seems to be "forever stuck" here:
 ./test.bash
$ Bazel testing...
 checking cached actions
Loading: 0 packages loaded
Analyzing: 87 targets (36 packages loaded, 97 targets configured)
Analyzing: 87 targets (36 packages loaded, 97 targets configured)
    Fetching repository @@local_jdk; starting 514s
    Fetching repository @@rules_java~~toolchains~remotejdk11_linux_ppc64le_toolchain_config_repo; starting 514s

After fixing #626 with #714 and #715, this no longer happens.


Unify the way kubelet works on Flatcar/CoreOS with other OS

What this PR does / why we need it:
Unify the way kubelet works on Flatcar/CoreOS with other OS, now it uses exactly the same kubelet flags and binary download procedures.
Because of the above, hyperkube image is no longer needed so its handling is removed and CLI flag is DEPRECATED and NOOP.
Part of the https://github.com/kubermatic/kubeone/issues/125
Optional Release Note:
* `-node-hyperkube-image` flag is deprecated and has no effect
* Flatcar/CoreOS will use "normal" kubelet like all other OS

/test pull-kubermatic-machine-controller-validate-prow-yaml

/test pull-machine-controller-lint pull-machine-controller-test pull-machine-controller-verify-boilerplate pull-machine-controller-yamllint

/test pull-machine-controller-build

/retest

/retest

/retest

/retest

@kron4eg I think you should take a look at the last commit I pushed to https://github.com/kubermatic/machine-controller/pull/761

/retest

/retest

/retest

/retest

@kron4eg looks like this PR introduces some instabilities with the e2e tests, wouldn't be worthy to understand the cause before integrating it?

After some reflection and reading some documentation of container linux I think I don't fully agree that unifying the way we run the kubelet, at least in this direction, is a good thing.
I think that the philosophy of container linux is that applicative code should run in containers. Why you want to change this? What is the main driver of your change?

The second building block, Docker (docs), is where your applications and code run. It is installed on each Flatcar Container Linux machine. You should make each of your services (web server, caching, database) into a container and connect them together by reading and writing to etcd. You can quickly try out a minimal busybox container in two different ways:

https://docs.flatcar-linux.org/os/quickstart/#container-management-with-docker
This discussion also contains some interesting elements:
https://groups.google.com/forum/#!topic/coreos-dev/FHBdG9B9SAg

@irozzo-1A

We've been running kubeone coreos control-plane nodes like this since the inception
hyperkube image is deprecated. xref https://github.com/kubernetes/kubeadm/issues/1889

@irozzo-1A The first problem we have is that the hyperkube is deprecated by the upstream community. I'd also like to mention the following issue and PR:

https://github.com/kubernetes/kubernetes/issues/81760
https://github.com/kubernetes/kubernetes/pull/83454

Hyperkube is not part of the Kubernetes repository anymore, neither of the Kubernetes release cycle. Because of this, I strongly agree that we should get rid of hyperkube as soon as possible.
On the other side, I think it doesn't matter how we run it as long as we know it works. The way that @kron4eg proposed in this PR has been used by KubeOne since the beginning, even in production setups, and we never received any complaints.
To my knowledge, there is no best/recommended way to run Kubelet, so it's up to the operators what they prefer. I don't believe that we can compare Kubelet to other applications since it's a bit specific. Kubelet is often referred to as a daemon/node agent.
If we decide to run it in the container, we would have to pay a lot of attention to the security of that container, does it work properly in all setups, and so on.
On the other side, this approach is well-tested. We have to ensure that the image we use have all dependencies preinstalled or to install what's missing. A notable dependency to mention here might be conntrack because we had some problems with that one and KubeOne in the past.

@xmudrii @artiom I see your point, and I agree we need to find a solution. It's not clear to me yet if there will be an official kubelet image, and if maintainers of flatcar linux will propose a new solution themselves for the kubelet wrapper:
https://github.com/flatcar-linux/Flatcar/issues/15
My main concern is about dependencies indeed, and in container linux it's even more problematic as there is not package manager.

I don't believe that we can compare Kubelet to other applications since it's a bit specific. Kubelet is often referred to as a daemon/node agent.

The kubelet is an application like another, probably not the easiest one to run in a container (https://github.com/kubernetes/kubernetes/issues/4869),  but this is the common approach used so far for container linux and derived distros.

If we decide to run it in the container, we would have to pay a lot of attention to the security of that container, does it work properly in all setups, and so on.

Note that I did not say we should run the kubelet as a container for all distros, even if probably it would be more portable approach than ensuring dependencies relying on each distribution package management, and downloading the kubelet binary.
Regarding the security aspects I'm not sure about what you meant exactly.

On the other side, this approach is well-tested. We have to ensure that the image we use have all dependencies preinstalled or to install what's missing. A notable dependency to mention here might be conntrack because we had some problems with that one and KubeOne in the past.

In container linux kubelet was already running in a container since ages, and in OCP 4 RHCOS kubelet still runs in a container, so it is more proven to work than the approach proposed here I think.

@irozzo-1A please write a proposal, with solution and we will discuss it. In the meantime, this PR is needed for kubeone integration, for avoiding unmaintained hyperkube image and so on.
Maybe in the future there will be some solution, but it's not yet here and we can't wait.

@kron4eg Maybe I'm missing the central point here. Why kubeone would require this PR to be integrated?

@irozzo-1A please write a proposal, with solution and we will discuss it. In the meantime, this PR is needed for kubeone integration, for avoiding unmaintained hyperkube image and so on.

My proposal is quite simple, let's keep the kubelet run in a container.  If I'm not mistaken no official kubelet image is provided at the moment so either we keep using the hyperkube image (community maintained but not gone) or we maintain our own image (e.g. https://github.com/poseidon/kubelet#packages).

Maybe in the future there will be some solution, but it's not yet here and we can't wait.

This PR does not address the problem of the dependencies. I think that the most of the functionalities should work at the moment, but there will be some regressions e.g. no glusterfs client (BTW we should install it for other distros we support too :-)). Maybe the impact is limited, but it's worthy to take this into account.

@irozzo-1A

Maybe I'm missing the central point here. Why kubeone would require this PR to be integrated?

We want to unify the bootstrap scripts and have them in a single place. The plan is that KubeOne imports scripts and bootstrapping logic from machine-controller. You can find more details in the following issue: https://github.com/kubermatic/kubeone/issues/125

If I'm not mistaken no official kubelet image is provided at the moment

That's right and to my knowledge there are no plans for the official Kubelet image.

we keep using the hyperkube image (community maintained but not gone) or we maintain our image (e.g. https://github.com/poseidon/kubelet#packages).

Currently, I'm strongly against using the Hyperkube image because of the reasons stated in the previous comment. About maintaining our image, that's probably not needed at all.

This PR does not address the problem of the dependencies.

I agree regarding dependencies, but that problem also stands if we decide to use containers.
I'll try to find more references about the Hyperkube project and image status, as well as, what's the recommended way to run Kubelet on the Container Linux distros. In meanwhile, I still believe this approach is okay until we don't have a better one.

@irozzo-1A @kron4eg

I'll try to find more references about the Hyperkube project and image status, as well as, what's the recommended way to run Kubelet on the Container Linux distros.

I've searched the Kubernetes docs for a bit. I found that the recommended way to run Kubelet is to use the plain systemd service file. This can be especially important if Kubeadm is being used.
The Installing Kubeadm document uses the plain systemd unit file to run Kubelet. The systemd unit file can be found in the k/release repo.
Besides that, the Configuring each kubelet in your cluster using kubeadm document explains the relationship between kubeadm, kubelet, and systemd.
I'd like to highlight the The kubelet drop-in file for systemd part of the document, as well as, the following paragraph:

Since the kubelet is a daemon, it needs to be maintained by some kind of an init system or service manager. When the kubelet is installed using DEBs or RPMs, systemd is configured to manage the kubelet. You can use a different service manager instead, but you need to configure it manually.

As we use Kubeadm in KubeOne to provision the clusters, I think going forward with this approach is very important for us.

@xmudrii I've figured out why pull-machine-controller-e2e-digitalocean failing and that's quite interesting story.
So kubelet launched from hyperkube under RKT was able to figure out the correct local IPs somehow. But under "direct binary launch" kubelet is not able to detect correct IP, which leads to absence of correct connection between machine and node objects (the recognition of which node equals to which machine it's based on IPs https://github.com/kubermatic/machine-controller/blob/23656f1f2c518c1e555b12362501b835d36794c3/pkg/controller/machine/machine.go#L879-L885).
In addition generate kubelet CSR contains incorrect IPs and node-csr-approver rightfully refuses to approve it.
Inside the kubeone cluster this is "band-aid" with DO CCM, but in our e2e tests those machines have no CCM, and their kubelets have no --cloud-provider=external.

@xmudrii Thx for giving me more context and for your research. There are still some aspects in your reasoning that seemed to me a bit biased and/or unclear.

Currently, I'm strongly against using the Hyperkube image because of the reasons stated in the previous comment. About maintaining our image, that's probably not needed at all.

The reasons stated in previous comment are not so clear to me. I can guess that the main argument against the usage of the hyperkube image is that it is community managed it can fall behind or being discontinued. This is a fair point. Regarding the comment about maintaning our own image, well it is needed if we decide to go that way :-).

I agree regarding dependencies, but that problem also stands if we decide to use containers.

Container Linux does not come with any package manager because it relies on using containers to run applications. If we build an image with a debian base for instance we can install DEB packages, as the hyperkube image, and this basically solves the dependencies issue I was referring to. Of course we can still miss some dependencies but this is another kind of problems, and we can solve it easily.

I've searched the Kubernetes docs for a bit. I found that the recommended way to run Kubelet is to use the plain systemd service file. This can be especially important if Kubeadm is being used.

I agree that using a systemd service is good to ensure that the kubelet is always running. This is orthogonal to using or not a container. Right now the kubelet is running in a container and by a systemd unit.

The Installing Kubeadm document uses the plain systemd unit file to run Kubelet. The systemd unit file can be found in the k/release repo.

I saw this, but it does not mean that the best approach. I made the example of glusterfs client but there could be other dependencies that are not satisfied (ceph ?) by default in container linux. To be fair looking at the dependencies of the RPM and Debian packages not all dependencies that are installed in the hyperkube image are listed, and it's possible that the one listed here are satisfied by default in container linux. To be verified.

I'd like to highlight the The kubelet drop-in file for systemd part of the document, as well as, the following paragraph:

Since the kubelet is a daemon, it needs to be maintained by some kind of an init system or service manager. When the kubelet is installed using DEBs or RPMs, systemd is configured to manage the kubelet. You can use a different service manager instead, but you need to configure it manually.

Here I don't see any argument in favour or against the usage of containers. We cannot use the DEBs or RPMs of course in container linux, and we don't use them even where we could. We can take into account the conventions used by the kubeadm drop-in file and doing something compatible whatever approach we decide to pursuit.

@kron4eg  @xmudrii Let me recap the main options I think we have:

Downloading and running the kubelet binary and run it through systemd unit (solution proposed here).
Pros:

Already implemented :)
We use the same script for all distros

Cons:

We cannot easily manage kubelet dependencies as there is no package manager in container linux.

Run kubelet in container using hyperkube image through systemd unit:
Pros:

We don't need to maintain any image.
All dependencies are supposed to be cleared.

Cons:

The image is community managed, we have no guarantees on it.
The image contains several binaries and their dependencies, it's quite heavy.

Run kubelet in container using an image managed by us through systemd unit:
Pros:

We can easily ensure and we have full control on kubelet dependencies .
We can generalize this to other distros we support.

Cons:

We need to maintain the image and publish it for each kubelet release we support (not for free).
More complicated than just running a binary (see kubelet-wrapper).

Let me know if you think I missed something important.

@irozzo-1A Yes, you’ve missed the main point why it was started. To integrate with kubeone, to avoid maintaining same stuff in 2 places.
Hyperkube image debacle appeared in the middle and is not affecting targen in anyway.
I’m really getting tired of volume of dead demagoguery. There’s nothing to argue about in here. Let’s wrap it up.

@kron4eg Indeed initially I missed some context, then @xmudrii pointed me to the relevant issues.
I think that the point I raised is worth at least being considered and debated on its merits. There is no benefit in raising the tone.

@irozzo-1A yeah, the discussion here slipped somewhere else, and I apologize for that.

Given the magnitude of change we can't "just accept" this PR without broader discussion with dev team (especially since this PR breaks DO, and it's not a flake).

@irozzo-1A yeah, the discussion here slipped somewhere else, and I apologize for that.

no pb mate it arrives, I was a bit too pushy and verbose with my comments ;-)


[Shortcut Guide] Close SG window when win shortcut was pressed

Summary of the Pull Request
What is this about:
What is include in the PR:

Close SG window if

Win key was pressed and released
Win+key is pressed(e.g Win+A, Win+Shift)
ESC was pressed. Moved it from the window procedure
The shortcut is pressed again

Update ShortcutSession telemetry event with close type
Fix crash  when thumb_window is not initialized. To reproduce it start PT in debug mode, press Win+D and try to open SG window.

How does someone test / validate:
Try to close SG window with ESC key, pressing the shortcut again, pressing Win+key shortcut, pressing and releasing just win key
Quality Checklist

[ ] Linked issue: #xxx
[ ] Communication: I've discussed this with core contributors in the issue.
[ ] Tests: Added/updated and all pass
[ ] Installer: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Docs: Added/ updated
[ ] Binaries: Any new files are added to WXS / YML

[ ] No new binaries
[ ] YML for signing for new binaries
[ ] WXS for installer for new binaries

Contributor License Agreement (CLA)
A CLA must be signed. If not, go over here and sign the CLA.

Tested, it's a very nice improvement to the SG experience!


Add Python 3.10 support

NotRequired is a Python 3.11 addition. By using typing_extensions we can get support for it in Python 3.10.

(Sorry for the drive-by PR, but it was a small enough change that I figured I'd just post it. Close at your discretion)

released in 0.3.1


streaming: imbalance between local and remote inputs

@KeXiangWang discovers that there's an imbalance between local and remote inputs.
To reproduce that, here's a simple workload.
create source bid (auction INTEGER, bidder INTEGER, price INTEGER, "date_time" TIMESTAMP)
with (
  connector = 'nexmark',
  nexmark.table.type = 'Bid',
  nexmark.split.num = '3',
  nexmark.min.event.gap.in.ns = '0'
) row format json;

create materialized view mv as select * from bid order by price desc limit 100;

Under 3 nodes configuration with minimal_scheduling = true, we have 3 source actors and 1 top-n actor. The top-n actor will be placed on a random worker.
Here're the metrics: the throughput of the source actor at the node where the top-n actor resides is significantly lower than others. That is, the local exchange is more likely to be Pending than the gRPC exchange. 🤯

I've confirmed it's caused by the different behavior of local and remote exchanges, and it seems to be...

not caused by #4505
not caused by #4045, #4495
not caused by consume_budget of tokio channel

Some attempts:

Also use gRPC for local exchange:

Increase buffer size from 16 to 128

Increase buffer size from 16 to 1024

Increase local buffer size from 16 to 64, remote 16 to 32

Some observations:

By increasing the buffer size, the gap is decreased. So I guess that the upstream actor in the same runtime tends not to be scheduled, during the 16 buffered chunks consumed by the downstream, then the downstream will yield due to the empty channel. For remote exchange, however, there might be some background tasks (or even kernel I/O task?) continuously polling the gRPC stream, so we'll always get Ready and the upstream is blocked less.
After killing the meta service and no barrier is injected, they'll become balanced again. 🤔

Some thoughts for workarounds:

Always use gRPC for local exchange, except for no-shuffle. 🥵
Try a size-bounded channel to give the exact same buffer configuration for local and remote.

UPDATE:
After reverting #4505, the throughput becomes balanced.

After discussion will @BugenZhao, we found it might be caused the incorrect initial_stream_window_size setting. The doc states it was set to 65536(64KB) by default, but it was actually set to 1MB... by default.

FYI. Actually the doc I shared previously points out that the default stream window size configs in hyper library is 2MB. IIRC, 65535 is the default value in the HTTP2 specification (link).

After #6170, the back-pressure looks much more balanced. Let's close this issue.


Quickstart

I would like to get an example of #42 into the quickstart guide, but it can wait until 22.08.

I think post 22.08 will be the best time to include that.

@gpucibot merge


Raspberry Pi 3 returns defaults for si.system()

Response:
{ manufacturer: '',
model: 'Computer',
version: '',
serial: '-',
uuid: '-' }

Hi, can you please provide which linux distribution you are using?
And two more thing: can you post the output of
dmidecode -t system
and
cat /proc/cpuinfo
Thank you so much.

Raspbian Stretch https://www.raspberrypi.org/downloads/raspbian/
Looking at the code it appears to be a logic handling issue because if I execute the underlying grep commands they work:
grep Hardware /proc/cpuinfo; grep Serial /proc/cpuinfo; grep Revision /proc/cpuinfo
Hardware    : BCM2835
Serial        :<PHONE_NUMBER>fa485e
Revision    : a22082
dmidecode -t system - I'll update comment after I get it back online in a bit.

One problem here is, that I need to update model and revision values for Pi 3 and Pi Zero. Right now working on it. Result of dmidecode -t system will anyway help. Will then provide an update in one or two days.

Thanks for the update and it is a very helpful library!

Just published a fix for that. Can you please verify, if it returns now correct values?

I'm having this issue on a Raspberry Pi Zero W with version 3.40.1.
dmidecode -t system output:
# No SMBIOS nor DMI entry point found, sorry.

cat /proc/cpuinfo output:
processor       : 0
model name      : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 997.08
Features        : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2835
Revision        : 9000c1
Serial          :<PHONE_NUMBER>f48021

Will have a look on it today.

Not sure why I'm getting the error with dmidecode -t system on the Raspberry Pi but after looking at your source, I'm sure that's where it's failing.  Same issue with dmidecode on several Pi Zero W's.
I'm calling exec myself on cpuproc for the time being.

Also si.cpuFlags() should now return proper results.

si.system now does not return at all and the catch does not fire.  I've posted my test program and the output of the program from a Mac and a Pi Zero W at rgstephens/sitest. Look in the TestRuns subdirectory for the full output from the Mac & Pi Zero W.
si.cpuFlags is a null string for the Pi Zero W.

Just published a quick fox on both issues (version 3.41.2). I guess I found the two problems. Sorry! Hope that this is fixed now ... can you test it once again? Thank you in advance!!

Sorry for the inconvenience. Will check it again!

Here's the output of cat /proc/cpuinfo on a Pi Zero W
processor       : 0
model name      : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 697.95
Features        : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2835
Revision        : 9000c1
Serial          :<PHONE_NUMBER>f48021


Invite-link generation is faulty

nothing relevant in the logs (neither creation of them nor errors)

So what exactly is faulty then?

:man_shrugging: don't know yet

maybe nothing


New test vector transcript format

This PR makes the test vector file format self contained.
Previously public verification keys and the contents they were verifying were contained in separate files.

Updated, PTAL

Sharp eye. Thanks for that


Request current light state from bridge?

I'm looking at switching from homebridge-philipshue to homebridge-hue as I'd love to HomeKit-ify some tap sensors, so they also control non-hue accessories. So far this is working great.
One thing I lost in the transition though is being able to see an up-to-date current state of Hue lights within the Home app. It seems when the lights are controlled through HomeKit the last requested state is remembered, but for lights controlled via Tap switches, Alarms, or the native Hue app this is not the case.
Would you consider polling the light state from he bridge when it is requested over HomeKit?

Hi @ZoneMR
Actually I have, possibly making this dependant on the heartrate.  I haven't implemented this yet as for now heartrate is fixed in config.json.  Also, I doubt whether it's actually needed.
One of the reasons I created this plug-in, next to homekit-ifying (love that word, I'll be stealing it shamelessly) the sensors, was to receive updates in my homekit apps, without having to refresh them.  Homebridge-hue retrieves the light states from the Hue bridge every heartbeat seconds, and pushes any changed value to homekit.  When a homekit app requests value, homebridge-hue returns the latest value it retrieved from memory, rather than querying the bridge for each request.
The experience you're describing seems odd to me.  On refresh, your app should not be getting the latest update through homekit, but the latest bridge state, albeit delayed due to the heartrate interval.  Could you double-check that?  Also, you could try increasing the heartrate to reduce the delay.  I use 2 seconds myself, but I've heard others using 1 second successfully.

I agree polling the lights when values are requested shouldn't be necessary, if light status is polled regularly as part of the heartbeat. I assumed the later wasn't implemented, as it wasn't functional for me.
I have two Osram Lightify bulbs which I can control manually using a Hue Dimmer. Their latest state is never reflected in HomeKit, despite waiting ample time for their state to be synced to the bridge and then polled by homebridge-hue.
I may have some time tomorrow to dig into the code and investigate further... I wonder if this has anything to do with the bulbs in question being Osram white bulbs rather than hue colour ones.

I don't have any Osram bulbs, only some Osram on/off plugs.  I do find the bridge reports them as unreachable more often than the Philips lights, but when they are reachable, their status is updated in homekit.  I don't yet expose the reachable attributes of lights to homekit (as I do for sensors), but you can check in the (gen2) native Hue app, under settings/Light Setup.  Do you see updates of the Osram lights in the native Hue app when updating them through the dimmer?  Do you have any Philips lights as well?  If so, do they exhibit the same behaviour as the Osram lights?
If you could post a dump of your bridge config (see Troubleshooting in the README), I could have a look at the Osram lights, but I don't think white vs colour Osram bulbs should make a difference.  I have a couple of Philips white lights (dimmable only) in addition to the colour lights and they work equally well.
When you have time, please check the output of homebridge -D to check whether homebridge-hue sees the state change and updates homekit.  If it does, the issue might be with homekit or the homekit app.

Just published v0.0.18 which sets Status Fault when a light of (zigbee) sensor is unreachable.  Unfortunately, the iOS 10 Home app doesn't seem to look at this characteristic (at least for lights), but other apps do, like Elgato's Eve.

Thanks - that's perfect :) Upon further inspection it turned out my bridge had started seeing my Osram bulbs as unreachable, even though it managed to control them fine. A restart of the bulbs seems to have addressed this.
How come the iOS Home app shows bulbs as unreachable just fine if they're on the 2nd gen Hue bridge or using home bridge-philipshue? Do these report unreachable status via a different characteristic?

You guessed it, @ZoneMR .  The Gen2 bridge uses homekit accessory reachability, homebridge-hue uses the Status Fault characteristic.  Accessory reachability is available only to homebridge plug-ins using dynamic platform accessories.  Homebridge-hue still uses static platform accessories (see issue #4).
Are you sure about the homebridge-philipshue plug-in?  Looking at their source code, it would seem that they simply report the light as Off when it's unreachable.  They don't seem to report (un)reachability separately, like the Gen2 Hue bridge.

hi @ebaauw , first of all thanks for homebridge-hue, I love the many options it has.
I was (and am still) using homebridge-hue put decided to try out your project as homebridge-hue seems to get abandoned, as I want to switch to your project for my Hue (or mainly Lightify) devices.
So far it works very well - the only thing I "dislike" is that I use the Home-App respectively the Homekit-Buttons in the notification center. It is therefore problematic for me that the status of in my case the Lightify Plugs is not stated correctly. (it is however in apps like Eve, but as stated this is impractical for my usecase)
I unplugged on of my Lightify Plugs to see how your project reacts when they are not reachable.
Problem is I can turn it on and off as often as I want, it will always show the latest state I triggered and won't tell me that it couldn't actually reach the Plug.
Would it be possible for you to implement it the way homebridge-philipshue does it?
thanks in advance

Hi @GatoPharaoh
I suppose technically it would, but I'm not sure that would be a good idea.  The problem is that the reachable attribute on the Hue bridge doesn't indicate whether a light is actually reachable by the Hue bridge, only whether the Hue bridge could reach the light the last time it tried to get its state.  See my post at the Hue developer's forum.
Too often I find that the bridge reports a light as unreachable, while it can be reached just fine.  In that case, I still want to (and can!) control the light.  Marking it unreachable in HomeKit (as the gen2 Hue bridge does), would break that.  Marking it as off (as homebridge-philipshue does) would not only show an incorrect state when it's actually on, it would prevent you from turning the light off through HomeKit.  When the light is actually off, turning it on thought HomeKit would turn the light on, but still report it as off.  Also, I don't want homebridge-hue to report a different light state than the Hue app (or any other app using the Hue API).
Actually, homebridge-hue behaves just like the official Hue app: it shows a potential issue (status fault/ unreachable), but still allows you to (try to) control the light, reporting back the (updated) state from Hue bridge.  It's a pity that the built-in Home app doesn't support all the HomeKit functionality (i.c. the Status Fault characteristic), but I'm not too keen on working around its limitations.  Apple did some improvements in iOS 10.2 and I expect them to continue to do so in future iOS updates.

that makes sense - I'll open a Radar at Apple that they implement those characteristic in the Home-App
thanks for the heads up and keep up the good work :)

In this particular case: Status Fault, but there's plenty of other standard HomeKit characteristics and services they don't support, most notable:

The Stateful Programmable Switch service and Output State characteristic I use for Hue Tap and Hue Dimmer switches;
The Active characteristic I use for enable/disable sensors;
The Speaker service and Volume and Mute characteristics, I use for my Sonos plugin.

does homebridge-hue check has the status of the lights connected to the deCONZ server?
I ask this question because when I have a case that a lightbulb is not responded in the home application, I cannot change the state on or off. Only through the phoscon application when I turn it on or off then the status in the home application instantly changes and works again.
The reason a bulb is not respond is that a member of my family sometimes switches it off through a wall switch.


Error on broadcastTxCommit: failed to subscribe to tx: already subscribed

I Installed bigchaindb with docker in centos 7, an error occured during post transaction

os

Description:	CentOS Linux release 7.4.1708 (Core)

installation

curl -fOL https://raw.githubusercontent.com/bigchaindb/bigchaindb/${GIT_BRANCH}/pkg/scripts/stack.sh
bash stack.sh

code

const driver = require('bigchaindb-driver');

const API_PATH = 'http://localhost:32815/api/v1/';

const system = new driver.Ed25519Keypair();
const jiazheng = new driver.Ed25519Keypair();
const shuyun = new driver.Ed25519Keypair();

const tmp = new driver.Ed25519Keypair();
console.log(typeof tmp);
console.log(typeof tmp.privateKey);

const assetData = {
    data: {
        hash: 'cddf17fe808d5bb77fc81d82333f9bee2781cab972ff5b117b70',
        prevHash: 'cddf17fe808d5bb77fc81d82333f9bee2781cab972ff5b11',
        payload: { // TODO: 加密
            name: 'xiaoming'
        }
    }
}

const tx = driver.Transaction.makeCreateTransaction(
    assetData,
    { 'qq': '12345678' },
    [ driver.Transaction.makeOutput(driver.Transaction.makeEd25519Condition(jiazheng.publicKey)) ],
    jiazheng.publicKey
);

const txSigned = driver.Transaction.signTransaction(tx, jiazheng.privateKey);

const conn = new driver.Connection(API_PATH);
conn.postTransactionCommit(txSigned)
    .then(retrievedTx => {
        console.log(assetData);
        console.log('Transaction', retrievedTx.id, 'successfully posted.');
    });

when i execute docker logs - f bigchaindb4, i get two errors:
[2018-06-06 04:34:18] [DEBUG] (gunicorn.error) POST /api/v1/transactions (webapi     - pid: 61)
[2018-06-06 04:34:18] [DEBUG] (bigchaindb.config_utils) System already configured, skipping autoconfiguration (webapi     - pid: 61)
[2018-06-06 04:34:18] [DEBUG] (bigchaindb.backend.connection) Connection: <class 'bigchaindb.backend.localmongodb.connection.LocalMongoDBConnection'> (webapi     - pid: 61)
[2018-06-06 04:34:18] [DEBUG] (urllib3.connectionpool) Starting new HTTP connection (1): tendermint4 (webapi     - pid: 61)
[2018-06-06 04:34:18] [DEBUG] (urllib3.connectionpool) http://tendermint4:46657 "POST / HTTP/1.1" 200 229 (webapi     - pid: 61)
[2018-06-06 04:34:18] [DEBUG] (bigchaindb.tendermint.lib) {'jsonrpc': '2.0', 'id': '71920c7d-01ae-4178-8448-173da8d173d9', 'error': {'code': -32603, 'message': 'Internal error', 'data': 'Error on broadcastTxCommit: failed to subscribe to tx: already subscribed'}} (webapi     - pid: 61)
[2018-06-06 04:34:18] [ERROR] (bigchaindb.web.views.base) HTTP API error: 500 - POST:/api/v1/transactions - Internal error (webapi     - pid: 61)
[2018-06-06 04:34:28] [CRITICAL] (gunicorn.error) WORKER TIMEOUT (pid:40) (webapi     - pid: 13)
[2018-06-06 04:34:28] [INFO] (gunicorn.error) Worker exiting (pid: 40) (webapi     - pid: 40)
[2018-06-06 04:34:28] [INFO] (gunicorn.error) Booting worker with pid: 67 (webapi     - pid: 67)

or
[2018-06-06 05:59:28] [DEBUG] (gunicorn.error) POST /api/v1/transactions (webapi     - pid: 82)
[2018-06-06 05:59:28] [DEBUG] (bigchaindb.config_utils) System already configured, skipping autoconfiguration (webapi     - pid: 82)
[2018-06-06 05:59:28] [DEBUG] (bigchaindb.backend.connection) Connection: <class 'bigchaindb.backend.localmongodb.connection.LocalMongoDBConnection'> (webapi     - pid: 82)
[2018-06-06 05:59:28] [DEBUG] (urllib3.connectionpool) Starting new HTTP connection (1): tendermint4 (webapi     - pid: 82)
[2018-06-06 05:59:28] [DEBUG] (bigchaindb.tendermint.core) check_tx: b'{"inputs": [{"owners_before": ["AMsC54UUJCYnh6ZDUwMG5Ymq5Fx5mKcbDHjfKSfWxBE8"], "fulfills": null, "fulfillment": "pGSAIIsRjKyCshiALL2eAcqLEmGr2ff3xMynT_TsW_qCERjJgUDMo8AGRyBqMNoXaNWreYpySk9v1NlC0XKSjXPn-_6TBPzLD3NbYG2mpUVAIZPOJVQvaWpBINuLPyfx6LuJFVcG"}], "outputs": [{"public_keys": ["AMsC54UUJCYnh6ZDUwMG5Ymq5Fx5mKcbDHjfKSfWxBE8"], "condition": {"details": {"type": "ed25519-sha-256", "public_key": "AMsC54UUJCYnh6ZDUwMG5Ymq5Fx5mKcbDHjfKSfWxBE8"}, "uri": "ni:///sha-256;7_di2tyky0oqppd0rrQUg3-jMXnbQMf_0_gUtteEDRY?fpt=ed25519-sha-256&cost=131072"}, "amount": "1"}], "operation": "CREATE", "metadata": {"qq": "12345678"}, "asset": {"data": {"data": {"hash": "cddf17fe808d5bb77fc81d82333f9bee2781cab972ff5b117b709f9cb909bd37", "prevHash": "cddf17fe808d5bb77fc81d82333f9bee2781cab972ff5b117b709f9cb909bd36", "cardNum": "915828198511022072", "payload": {"name": "xiaoming"}}}}, "version": "2.0", "id": "9c7e7c3588eeb3e7ef16bc947a0cbd0be166848eb442ae46663a23249646ad6b"}' (MainProcess - pid: 1)
[2018-06-06 05:59:28] [DEBUG] (bigchaindb.tendermint.core) check_tx: VALID (MainProcess - pid: 1)
[2018-06-06 05:59:58] [CRITICAL] (gunicorn.error) WORKER TIMEOUT (pid:82) (webapi     - pid: 13)
[2018-06-06 05:59:58] [INFO] (gunicorn.error) Worker exiting (pid: 82) (webapi     - pid: 82)
[2018-06-06 05:59:58] [INFO] (gunicorn.error) Booting worker with pid: 88 (webapi     - pid: 88)

but it works fine on mac

Hi @lmule ,
Could you, please, post which BigchainDB version you are using? You can log into the container and run bigchaindb -v.

@ldmberman
/usr/src/app # bigchaindb -v
bigchaindb 2.0.0b1

maybe the issue of tendermint ?

I tried this on a fresh CentOS 7 and wasn't able to reproduce it. Can you provide any further details on what you are trying to do? Which GIT_BRANCH are you using?

@muawiakh  I use the master
@ldmberman  here is my tendermint4 log

Can you do a curl http://localhost:<docker port for 9984>/api/v1/transactions/<transaction_id>, what do you get as a response?
You can retrieve docker port using:
docker port bigchaindb4 9984
Try it for all bigchaindbX containers.

emmm..... sorry, there is no transaction in my db, becase i got error above while firing postTransactionCommit  :-(

@lmule would be great if you attached logs (around 10-20 lines) for each of the 4 bigchaindb and 4 tendermint containers. I would not ask if it was easy to reproduce, sorry.

This is an old issue we weren't able to reproduce, so I'm closing it. Feel free to comment on this issue or open a new one.


Squeeze axis=1, fixes #1

Fixes #1

I've fixed this in a simpler way be squeezing out the singleton venv axis at the time the objects are added to the list during stepping.


publish 1.3.0 to npm

Are you waiting on anything to publish 1.3.0 to npm? If not, could you do that? Right now I'm using a forked version of this repo because I needed a bug fix that's in 1.3.0, and I can't get 1.3.0 without forking :)

"napa": {
"angular-drag-and-drop-lists": "marceljuenemann/angular-drag-and-drop-lists"
}
You can use napa to download this version...I just did it.

1.4.0 is published to npm

great


Use session defaults

session.NewSession sets up the default credentials chain (ENV vars first, then shared credentials, then instance or task roles) and allows for us to set the ENV vars in dev and testing but fall back to the task role on the deployed container automagically. I needed to remove the ENV vars from the Dockerfile to allow for this. session.New is deprecated as it doesn't pull in that default credentials chain.
Blocked by #231

There appear to be some errors when running the tests: MissingRegion: could not find region configuration

@eefahy #231 has been merged. Do you want to rebase this?


Add sticky-csv-header CSS-only feature

Browsing big CSV files in GitHub's UI is difficult, because the table header scrolls away. This CSS-only feature makes the first line and the row numbers sticky.
Unfortunately, there are double vertical scrollbars now, but I think this still improves the usability.
Test URLs

horizontal + vertical scrolling: https://github.com/fxedel/vaterstetten-in-zahlen/blob/2c3ab1c/data/energie/mastrPhotovoltaik.csv
vertical scrolling only: https://github.com/fxedel/vaterstetten-in-zahlen/blob/2c3ab1c/data/einwohner/lfstatFortschreibungJahre.csv
horizontal scrolling only: https://github.com/microCOVID/microCOVID/blob/181201b/public/prevalence_data/US_50.csv
no scrolling: https://github.com/fxedel/vaterstetten-in-zahlen/blob/2c3ab1c/data/einwohner/lfstatVolkszaehlungen.csv
.tsv file: https://github.com/4dcu-be/GitHub-Actions-KeyForge/blob/8d53ec2/data/keyforge_decks.tsv
too large to even show the file contents: https://github.com/mattkinsey/covid19-vaccine-timeseries/blob/cf7362eb71491a1f3ba229eef80d11ca1aa27170/vacc-timeseries.csv
too large to make it beautiful and searchable: https://github.com/fxedel/vaterstetten-in-zahlen/blob/2c3ab1c/data/corona-fallzahlen/arcgisInzidenzGemeinden.csv
no commas found: https://github.com/fxedel/vaterstetten-in-zahlen/blob/2c3ab1c/data/kommunalwahl2020/raw/Open-Data-Buergermeisterwahl-Bayern1173.csv

Screenshots
Before

After

I've committed an alternative solution that lets the whole page scroll instead of only the table. However, the other elements also scroll away horizontally now. We might be able to fix that though by applying position: sticky; left: 0; to all of them.

Nice trick, but this looks broken

How about only making the row headers sticky? That would be an improvement already, even if not complete

I've changed it to make only the row headers sticky.


SwiftyAvatar

A UIImageView class for creating circular or rounded avatar images, IBDesignable to make all changes via storyboard
https://github.com/dkalaitzidis/SwiftyAvatar

Hey @dkalaitzidis, thanks for contributing! I really liked you lib specially because you took the time to implement IBDesignable, which is just awesome. Before adding into AwesomeiOS, I'd like for you to take a look at Issue 7.
Thanks 😄

@lfarah, i made the readme changes using the template. You can check it when you have the time.
Thanks

@dkalaitzidis everything looks perfect right now. Adding it to our list! 😉


Remove configuration file handling from pipeline

@bsmithgall The CLI command used a config file which I haven't accounted for yet, so #56 will fail the build test.  I was thinking of parsing the config file within the scripts code and then sending them as individual arguments to the pipeline. Maybe along the lines of moving the pipeline.set_config_from_file() code to pipeline.scripts and then writing a new function in pipeline to handle a dict of arbitrary settings?
Or.... now that I type this all out, maybe it would make more sense to keep a lot of the old config file stuff in pipeline, but rework it a bit so that using a file is optional.  I think I'll close #56 and try that.


Change engines to >=16 to enable node 18 tests/usage

Change-type: patch

@balena-ci I self-certify!

Merged with https://github.com/product-os/autumndb/pull/1554


⚠ Guya.moe Proxied has degraded performance

In 4eb580e, Guya.moe Proxied (https://ice.guya.moe/) experienced degraded performance:

HTTP code: 200
Response time: 13083 ms

Resolved: Guya.moe Proxied performance has improved in 58f2406 after 56 minutes.


[Bug iOS] iOS12 The MapPinClicked and MapPinLongClicked Event are not fired

Description
The MapPinClicked and MapPinLongClicked Event are not fired on iOS 12.
The Map can be a MKNewAnnotationContainerView or a MKAnnotationContainerView.
That's why it's not fired.
Code
in the iOS renderer ligne 300
// MKNewAnnotationContainerView is a private inner class, so you cannot compare directly
if (touch.View.Class.Name == "MKNewAnnotationContainerView")
   {
      var cgPoint = touch.LocationInView(Control);
      var location = Control.ConvertPoint(cgPoint, Control);
      if (touch.Timestamp - _touchBegan >= 1) // One second
        Element.SendMapLongClicked(new Position(location.Latitude, location.Longitude));
      else
        Element.SendMapClicked(new Position(location.Latitude, location.Longitude));
   }

I will do a PR at week-end.
regards,

I will use IsKindOfClass from the Apple Dev Documentation

I think we need to fix this soon as possible for a 2.0.1 version

Hi Phenek,
Sorry, was away last Week. Thanks for the Fix, looked good and I merged it.
Will do a new Version 2.0.1. Do you have anything else that needs to be part of that Version?

Next week I will do something but i'm not hundred percent sure, depends of my available time
A 2.0.1 released version would be appreciated anyway.


Image to text translation

Hello,
As I saw in other Issues it is possible to make a similar search for images https://github.com/openai/CLIP/issues/1#issue-779675076 and not possible to search for similar words without a given set of possible labels https://github.com/openai/CLIP/issues/27#issue-794492943
So I have done the following:

Preprocessing of the following image

iteration over each text embedding representations and computing cosine similarity with the input image

And I have obtained the following most similar tokens: amphibious topless innis enburg socialmediamarketing cumbwynonna canal titi forty stiff ldnont scarecrow chilly norwegian gophernadal strategically consolidation naver
I wonder, is there a way we can caption the image using text embedding representations from CLIP for the most similar tokens?

Hi, if I understood you correctly...
The token embedding space will not be directly comparable to the feature space. Those tokens are processed through transformer layers, and the information summarized at the EOT token is then projected to the feature space. In fact, they don't even have to be the same dimensions, which is the case for the RN50 model.
The confusion might be coming from a transformer language model's case where the unembedding layer typically shares the weights with the token embeddings, so its output feature will somewhat correlate with the embeddings of probable next tokens.
If you just need a word, you could try calculating the text features corresponding to the common words in a dictionary. It might also be possible to fine-tune a language model using something like REINFORCE to optimize for high similarity with the image, but of course, YMMV.

@jongwook So if I get this right,
if I train something like:
text→clip.encode_text(text)→embedding→decode(embedding)→text
then do:
image→clip.encode_image(image)→embedding→decode(embedding)→text
Using the same decoder both times, casually assuming the two embedding spaces to be related and decodable using the same architecture.
Would this be doable if both encoders shared the same weights?
If the two embeddings are not relatable how can we compute the similarity between the two?
Thanks a lot!


Diagnose i/o errors

This plugin parses session.log files to find lines containing BOTH the string "OSError" and "Input/output error" sequentially (case insensitive due to specificity of pattern). It then prints an error message. It has been tested on DEV.
Its functionality is otherwise identical to ErrorDiagnosticsPlugin, suggesting a potential later refactor.

@jswelling Pushed an update, please let me know if that's what you meant!


Random error when i hit a note?

Describe your bug here. Mind you, if you are modding, please try testing your bug in a clean version of the engine instead, this ensures the bug is actually caused by the engine itself. Also, if you're using an older version of JSE, please try the latest action build in the Actions tab or the latest release build. The issue has probably been fixed since that version. Oh yeah, and also be sure to check the pinned 'JS Engine: Known Issues' issue, to double check if your issue hasn't already been found!

basically i hit a note and this pops up, i checked source code and it's rating based so i changed some options and still isn't working? (maybe it's an event but that event didn't crash a single time)
I used commit 4c1fcd4
Command Prompt/Terminal/Crash logs (if existing)
1. Play a song
2. Wait until a note pops up and hit it
3. Crash

Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No.
If you use 1.12.0 or earlier, did you have Optimized Chart Loading turned on?
No
Did you check for any similar issues to what you're reporting? Check, then come back here. If there is a similar issue, then do not report the issue, otherwise it will be marked as a duplicate.
Yes

duplicate of #388

Oops


Remove Mutex around SessionContext

I think every use of SessionContext can work with a reference.

hmm, the example from datafusion api docs all uses mut SessionContext which is misleading.


style(tests/Tauto): remove Lean 3 syntax in comments and touch up style

Remove Lean 3 syntax in comments: there's no reason it should be there.
Indent the 'by' blocks according to the style guide.
Add some blank lines at beginnings of sections; that's good practice.

Thanks for the fast review and the careful correction.
bors r+


Atsc tuning fixes

I can't test actual reception yet, but I've verified that my code looks up the frequency and gets the corresponding physical channel so I'm confident it will work from my tests last weekend when the laptop was in a reception area.
However, the "--hf-band-region" does not appear to work for the tsp command, so it mapped frequency 207000000 to channel 9 which would I think be the VHF channel for Europe.

Hi,
I will integrate this one.

However, the "--hf-band-region" does not appear to work for the tsp command, so it mapped frequency 207000000 to channel 9 which would I think be the VHF channel for Europe

I do not see this. It seems to work for me. UHF example:
$ tsp -v -I dvb --uhf 30 --hf-band-region europe -O drop
* dvb: using PCTV 291e/461e BDA 28179 TVTuner (DVB-T)
* dvb: tuned to transponder --frequency 546,000,000 ...
$
$ tsp -v -I dvb --uhf 30 --hf-band-region usa -O drop
* dvb: using PCTV 291e/461e BDA 28179 TVTuner (DVB-T)
* dvb: tuned to transponder --frequency 569,000,000 ...
$

VHF example:
$ tsp -v -I dvb --vhf 9 --hf-band-region europe -O drop
* dvb: using PCTV 291e/461e BDA 28179 TVTuner (DVB-T)
* dvb: tuned to transponder --frequency 205,500,000 ...
$
$ tsp -v -I dvb --vhf 9 --hf-band-region usa -O drop
* dvb: using PCTV 291e/461e BDA 28179 TVTuner (DVB-T)
* dvb: tuned to transponder --frequency 189,000,000 ...

Hi Oliver,
I just integrated your pull request. Please note that I appreciate your coding and the way you clearly respect the coding style of the project. I have only one remark: please take care of tab characters. Visual Studio uses 4-chars tabs while most editors and operating systems uses 8-chars tabs. This means that a code which is edited by Visual Studio with default settings appears with garbage indentation in other editors. This is why I have configured VS and all other IDE's to never insert tabs, always spaces. In all environments, a space is just a space...

No problem at all - I’m aware of it, and thought I’d caught all of them as I committed but I must have missed a few.